Skip to content

Commit 2a853c1

Browse files
authored
Merge pull request #129 from skeletonlabs/dev
Merge for Release - June 4, 2024
2 parents 70dfe32 + 9542fe3 commit 2a853c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4223
-3991
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ node_modules
88
.env.*
99
!.env.example
1010
/coverage
11+
**/pagefind
1112

1213
# Ignore files for PNPM, NPM and YARN
1314
pnpm-lock.yaml
1415
package-lock.json
1516
yarn.lock
17+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ node_modules
1010
vite.config.js.timestamp-*
1111
vite.config.ts.timestamp-*
1212
/coverage
13+
**/pagefind

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ yarn.lock
55
/coverage
66
**/*.mdx
77
**/*.md
8+
**/pagefind

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![github-banner](https://github.com/skeletonlabs/floating-ui-svelte/assets/1509726/46b00221-9088-4986-86c8-60a480d9213f)
2+
13
# Floating UI Svelte
24

35
Svelte bindings for [Floating UI](https://github.com/floating-ui/floating-ui). Based on [Floating UI React](https://floating-ui.com/docs/react).

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev": "vite dev",
77
"preview": "vite preview",
88
"build": "pnpm build:docs && pnpm build:package",
9-
"build:docs": "svelte-kit sync && vite build",
9+
"build:docs": "svelte-kit sync && vite build && pagefind",
1010
"build:package": "svelte-kit sync && svelte-package && publint",
1111
"ci:publish": "pnpm build:package && changeset publish",
1212
"test": "vitest run --coverage",
@@ -39,9 +39,10 @@
3939
"@sveltejs/adapter-static": "^3.0.1",
4040
"@sveltejs/kit": "^2.0.0",
4141
"@sveltejs/package": "^2.0.0",
42-
"@sveltejs/vite-plugin-svelte": "4.0.0-next.1",
42+
"@sveltejs/vite-plugin-svelte": "4.0.0-next.2",
4343
"@testing-library/jest-dom": "^6.4.2",
4444
"@testing-library/svelte": "^5.1.0",
45+
"@testing-library/user-event": "^14.5.2",
4546
"@types/eslint": "^8.56.0",
4647
"@typescript-eslint/eslint-plugin": "^7.0.0",
4748
"@typescript-eslint/parser": "^7.0.0",
@@ -51,8 +52,10 @@
5152
"eslint": "^8.56.0",
5253
"eslint-config-prettier": "^9.1.0",
5354
"eslint-plugin-svelte": "^2.36.0-next.4",
55+
"focus-trap": "^7.5.4",
5456
"jsdom": "^24.0.0",
5557
"lucide-svelte": "^0.373.0",
58+
"pagefind": "^1.1.0",
5659
"postcss": "^8.4.32",
5760
"postcss-load-config": "^5.0.2",
5861
"prettier": "^3.1.1",
@@ -65,6 +68,7 @@
6568
"tslib": "^2.4.1",
6669
"typescript": "^5.0.0",
6770
"vite": "^5.0.11",
71+
"vite-plugin-pagefind": "^0.2.8",
6872
"vitest": "^1.2.0"
6973
},
7074
"svelte": "./dist/index.js",

pagefind.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"site": "build",
3+
"exclude_selectors": [".expressive-code"],
4+
"vite_plugin_pagefind": {
5+
"assets_dir": "static",
6+
"build_command": "pnpm build:docs",
7+
"dev_strategy": "lazy"
8+
}
9+
}

0 commit comments

Comments
 (0)