diff --git a/.github/ISSUE_TEMPLATE/3-bug_report.yml b/.github/ISSUE_TEMPLATE/3-bug_report.yml
index d194b282a..2d9b4ed0c 100644
--- a/.github/ISSUE_TEMPLATE/3-bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/3-bug_report.yml
@@ -6,6 +6,12 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this bug report!
+ - type: markdown
+ attributes:
+ value: |
+ #### If you aren't sure if something is a bug or not, please do not create an issue, instead ask in one of the following channels:
+ - [Discussions](https://github.com/huntabyte/bits-ui/discussions/new?category=help)
+ - [Discord](https://discord.gg/fdXy3Sk8Gq)
- type: textarea
id: bug-description
attributes:
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index b8593c6b6..3cbc2793a 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -4,5 +4,5 @@ contact_links:
url: https://github.com/huntabyte/bits-ui/discussions/new?category=help
about: If you can't get something to work the way you expect, open a question in our discussion forums.
- name: Discord
- url: https://hbyt.us/discord
+ url: https://discord.gg/fdXy3Sk8Gq
about: If you need to have a back-and-forth conversation, join the Discord server.
diff --git a/README.md b/README.md
index 8eeea1bc1..c98938b3e 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,8 @@
+[![](https://dcbadge.vercel.app/api/server/fdXy3Sk8Gq?style=flat)](https://discord.gg/fdXy3Sk8Gq)
+
The headless components for Svelte.
[Read the docs](https://bits-ui.com)
@@ -41,3 +43,14 @@ Built by [@huntabyte](https://github.com/huntabyte) and [community](https://gith
+
+## Community
+
+Join the Discord server to ask questions, find collaborators, or just say hi!
+
+
+
+
+
+
+
diff --git a/package.json b/package.json
index 1e1fd04f1..1e0e4b8e4 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-tailwindcss": "0.5.13",
- "svelte": "5.0.0-next.199",
+ "svelte": "5.0.0-next.208",
"svelte-eslint-parser": "^0.41.0",
"wrangler": "^3.44.0"
},
diff --git a/packages/bits-ui/CHANGELOG.md b/packages/bits-ui/CHANGELOG.md
index b2d3ba14c..6068351b4 100644
--- a/packages/bits-ui/CHANGELOG.md
+++ b/packages/bits-ui/CHANGELOG.md
@@ -1,5 +1,49 @@
# bits-ui
+## 0.21.10
+
+### Patch Changes
+
+- fix: allow overriding the combobox input id ([#553](https://github.com/huntabyte/bits-ui/pull/553))
+
+## 0.21.9
+
+### Patch Changes
+
+- feat: forward additional events from `` ([#550](https://github.com/huntabyte/bits-ui/pull/550))
+
+## 0.21.8
+
+### Patch Changes
+
+- fix: Updated `ComboboxLabelProps` to use `HTMLLabelAttributes` ([#544](https://github.com/huntabyte/bits-ui/pull/544))
+
+- fix: ContentProps type ([#545](https://github.com/huntabyte/bits-ui/pull/545))
+
+## 0.21.7
+
+### Patch Changes
+
+- chore: Updated a11y warnings for better Svelte 5 compatibility ([#529](https://github.com/huntabyte/bits-ui/pull/529))
+
+## 0.21.6
+
+### Patch Changes
+
+- chore: update peer deps to include Svelte 5 ([#525](https://github.com/huntabyte/bits-ui/pull/525))
+
+## 0.21.5
+
+### Patch Changes
+
+- chore: Replaced all self-closing non-void elements ([#518](https://github.com/huntabyte/bits-ui/pull/518))
+
+## 0.21.4
+
+### Patch Changes
+
+- Fix binding button element ([#473](https://github.com/huntabyte/bits-ui/pull/473))
+
## 0.21.3
### Patch Changes
diff --git a/packages/bits-ui/package.json b/packages/bits-ui/package.json
index 1e5677e9e..b7115e168 100644
--- a/packages/bits-ui/package.json
+++ b/packages/bits-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "bits-ui",
- "version": "0.21.4",
+ "version": "0.21.13",
"license": "MIT",
"repository": "github:huntabyte/bits-ui",
"funding": "https://github.com/sponsors/huntabyte",
@@ -44,7 +44,7 @@
"jsdom": "^24.1.0",
"publint": "^0.2.8",
"resize-observer-polyfill": "^1.5.1",
- "svelte": "5.0.0-next.199",
+ "svelte": "5.0.0-next.208",
"svelte-check": "^3.8.4",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ea0c53eee..0361303b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -13,7 +13,7 @@ importers:
version: 2.27.7
'@huntabyte/eslint-config':
specifier: ^0.3.2
- version: 0.3.2(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)(typescript@5.5.4)(vitest@2.0.4)
+ version: 0.3.2(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)(typescript@5.5.4)(vitest@2.0.4)
'@huntabyte/eslint-plugin':
specifier: ^0.1.0
version: 0.1.0(eslint@9.8.0)
@@ -25,22 +25,22 @@ importers:
version: 9.8.0
eslint-plugin-svelte:
specifier: ^2.37.0
- version: 2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199)
+ version: 2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208)
prettier:
specifier: ^3.2.5
version: 3.3.3
prettier-plugin-svelte:
specifier: ^3.2.2
- version: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.199)
+ version: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208)
prettier-plugin-tailwindcss:
specifier: 0.5.13
- version: 0.5.13(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.199))(prettier@3.3.3)
+ version: 0.5.13(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208))(prettier@3.3.3)
svelte:
- specifier: 5.0.0-next.199
- version: 5.0.0-next.199
+ specifier: 5.0.0-next.208
+ version: 5.0.0-next.208
svelte-eslint-parser:
specifier: ^0.41.0
- version: 0.41.0(svelte@5.0.0-next.199)
+ version: 0.41.0(svelte@5.0.0-next.208)
wrangler:
specifier: ^3.44.0
version: 3.67.1(@cloudflare/workers-types@4.20240725.0)
@@ -64,7 +64,7 @@ importers:
version: 1.0.0
runed:
specifier: ^0.15.0
- version: 0.15.0(svelte@5.0.0-next.199)
+ version: 0.15.0(svelte@5.0.0-next.208)
scule:
specifier: ^1.3.0
version: 1.3.0
@@ -76,17 +76,17 @@ importers:
version: 1.0.6
svelte-toolbelt:
specifier: ^0.1.0
- version: 0.1.0(svelte@5.0.0-next.199)
+ version: 0.1.0(svelte@5.0.0-next.208)
devDependencies:
'@sveltejs/kit':
specifier: ^2.5.18
- version: 2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ version: 2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
'@sveltejs/package':
specifier: ^2.3.2
- version: 2.3.2(svelte@5.0.0-next.199)(typescript@5.5.4)
+ version: 2.3.2(svelte@5.0.0-next.208)(typescript@5.5.4)
'@sveltejs/vite-plugin-svelte':
specifier: ^3.1.1
- version: 3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ version: 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
'@testing-library/dom':
specifier: ^10.3.1
version: 10.4.0
@@ -95,7 +95,7 @@ importers:
version: 6.4.8
'@testing-library/svelte':
specifier: ^5.2.1
- version: 5.2.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))(vitest@2.0.4(@types/node@20.14.13)(@vitest/ui@1.6.0)(jsdom@24.1.1))
+ version: 5.2.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))(vitest@2.0.4(@types/node@20.14.13)(@vitest/ui@1.6.0)(jsdom@24.1.1))
'@testing-library/user-event':
specifier: ^14.5.2
version: 14.5.2(@testing-library/dom@10.4.0)
@@ -130,11 +130,11 @@ importers:
specifier: ^1.5.1
version: 1.5.1
svelte:
- specifier: 5.0.0-next.199
- version: 5.0.0-next.199
+ specifier: 5.0.0-next.208
+ version: 5.0.0-next.208
svelte-check:
specifier: ^3.8.4
- version: 3.8.4(postcss-load-config@5.1.0(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.199)
+ version: 3.8.4(postcss-load-config@5.1.0(jiti@1.21.6)(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208)
tslib:
specifier: ^2.6.3
version: 2.6.3
@@ -155,26 +155,26 @@ importers:
version: 3.5.5
'@melt-ui/svelte':
specifier: 0.76.2
- version: 0.76.2(svelte@5.0.0-next.199)
+ version: 0.76.2(svelte@5.0.0-next.208)
bits-ui:
specifier: workspace:*
version: link:../../packages/bits-ui
devDependencies:
'@melt-ui/pp':
specifier: ^0.3.0
- version: 0.3.2(@melt-ui/svelte@0.76.2(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)
+ version: 0.3.2(@melt-ui/svelte@0.76.2(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)
'@prettier/sync':
specifier: 0.3.0
version: 0.3.0(prettier@3.3.3)
'@sveltejs/adapter-cloudflare':
specifier: ^4.2.0
- version: 4.7.0(@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(wrangler@3.67.1(@cloudflare/workers-types@4.20240725.0))
+ version: 4.7.0(@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(wrangler@3.67.1(@cloudflare/workers-types@4.20240725.0))
'@sveltejs/kit':
specifier: ^2.5.0
- version: 2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ version: 2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
'@sveltejs/vite-plugin-svelte':
specifier: ^3.1.0
- version: 3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ version: 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
'@tailwindcss/typography':
specifier: ^0.5.10
version: 0.5.13(tailwindcss@3.4.7)
@@ -207,13 +207,13 @@ importers:
version: 3.2.1
mdsx:
specifier: ^0.0.6
- version: 0.0.6(svelte@5.0.0-next.199)
+ version: 0.0.6(svelte@5.0.0-next.208)
mode-watcher:
specifier: ^0.2.0
- version: 0.2.2(svelte@5.0.0-next.199)
+ version: 0.2.2(svelte@5.0.0-next.208)
phosphor-svelte:
specifier: ^2.0.1
- version: 2.0.1(svelte@5.0.0-next.199)
+ version: 2.0.1(svelte@5.0.0-next.208)
postcss:
specifier: ^8.4.33
version: 8.4.40
@@ -233,14 +233,14 @@ importers:
specifier: ^1.1.1
version: 1.12.0
svelte:
- specifier: 5.0.0-next.199
- version: 5.0.0-next.199
+ specifier: 5.0.0-next.208
+ version: 5.0.0-next.208
svelte-check:
specifier: ^3.6.9
- version: 3.8.4(postcss-load-config@5.1.0(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.199)
+ version: 3.8.4(postcss-load-config@5.1.0(jiti@1.21.6)(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208)
svelte-sonner:
specifier: ^0.3.24
- version: 0.3.27(svelte@5.0.0-next.199)
+ version: 0.3.27(svelte@5.0.0-next.208)
tailwind-merge:
specifier: ^2.2.1
version: 2.4.0
@@ -4500,8 +4500,8 @@ packages:
svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0
typescript: ^4.9.4 || ^5.0.0
- svelte@5.0.0-next.199:
- resolution: {integrity: sha512-DOww/AlABK2cBQ/SIBlAT3TLT6LldmOMlPogh90cA9md5hAnxfIIQ28HgZbbgbwHAeX4+zsrX52Oke8ycV+a6A==}
+ svelte@5.0.0-next.208:
+ resolution: {integrity: sha512-gYABb68367fGnY/GIpb/j3DD5DUqhVWi6EodEBVpiRA9wLQTpY8QmuPg04xut/0EHqlFU3a40wbpjJKmpL3Y/g==}
engines: {node: '>=18'}
symbol-tree@3.2.4:
@@ -5022,12 +5022,12 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
- '@antfu/eslint-config@2.24.0(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)(typescript@5.5.4)(vitest@2.0.4)':
+ '@antfu/eslint-config@2.24.0(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)(typescript@5.5.4)(vitest@2.0.4)':
dependencies:
'@antfu/install-pkg': 0.3.3
'@clack/prompts': 0.7.0
'@stylistic/eslint-plugin': 2.6.0-beta.1(eslint@9.8.0)(typescript@5.5.4)
- '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
+ '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/parser': 8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4)
eslint: 9.8.0
eslint-config-flat-gitignore: 0.1.8
@@ -5042,7 +5042,7 @@ snapshots:
eslint-plugin-markdown: 5.1.0(eslint@9.8.0)
eslint-plugin-n: 17.10.1(eslint@9.8.0)
eslint-plugin-no-only-tests: 3.1.0
- eslint-plugin-perfectionist: 3.0.0(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.8.0))
+ eslint-plugin-perfectionist: 3.0.0(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.8.0))
eslint-plugin-regexp: 2.6.0(eslint@9.8.0)
eslint-plugin-toml: 0.11.1(eslint@9.8.0)
eslint-plugin-unicorn: 55.0.0(eslint@9.8.0)
@@ -5061,8 +5061,8 @@ snapshots:
yaml-eslint-parser: 1.2.3
yargs: 17.7.2
optionalDependencies:
- eslint-plugin-svelte: 2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199)
- svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.199)
+ eslint-plugin-svelte: 2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208)
+ svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.208)
transitivePeerDependencies:
- '@vue/compiler-sfc'
- supports-color
@@ -5735,9 +5735,9 @@ snapshots:
'@humanwhocodes/retry@0.3.0': {}
- '@huntabyte/eslint-config@0.3.2(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)(typescript@5.5.4)(vitest@2.0.4)':
+ '@huntabyte/eslint-config@0.3.2(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)(typescript@5.5.4)(vitest@2.0.4)':
dependencies:
- '@antfu/eslint-config': 2.24.0(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)(typescript@5.5.4)(vitest@2.0.4)
+ '@antfu/eslint-config': 2.24.0(@vue/compiler-sfc@3.4.34)(eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208))(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)(typescript@5.5.4)(vitest@2.0.4)
'@antfu/install-pkg': 0.3.3
'@clack/prompts': 0.7.0
'@huntabyte/eslint-plugin': 0.1.0(eslint@9.8.0)
@@ -5746,10 +5746,10 @@ snapshots:
chalk: 5.3.0
eslint: 9.8.0
eslint-flat-config-utils: 0.2.5
- eslint-plugin-svelte: 2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199)
+ eslint-plugin-svelte: 2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208)
local-pkg: 0.5.0
parse-gitignore: 2.0.0
- svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.199)
+ svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.208)
yargs: 17.7.2
transitivePeerDependencies:
- '@eslint-react/eslint-plugin'
@@ -5886,14 +5886,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@melt-ui/pp@0.3.2(@melt-ui/svelte@0.76.2(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)':
+ '@melt-ui/pp@0.3.2(@melt-ui/svelte@0.76.2(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)':
dependencies:
- '@melt-ui/svelte': 0.76.2(svelte@5.0.0-next.199)
+ '@melt-ui/svelte': 0.76.2(svelte@5.0.0-next.208)
estree-walker: 3.0.3
magic-string: 0.30.11
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
- '@melt-ui/svelte@0.76.2(svelte@5.0.0-next.199)':
+ '@melt-ui/svelte@0.76.2(svelte@5.0.0-next.208)':
dependencies:
'@floating-ui/core': 1.6.5
'@floating-ui/dom': 1.6.8
@@ -5901,7 +5901,7 @@ snapshots:
dequal: 2.0.3
focus-trap: 7.5.4
nanoid: 5.0.7
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
'@nodelib/fs.scandir@2.1.5':
dependencies:
@@ -6167,17 +6167,17 @@ snapshots:
- supports-color
- typescript
- '@sveltejs/adapter-cloudflare@4.7.0(@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(wrangler@3.67.1(@cloudflare/workers-types@4.20240725.0))':
+ '@sveltejs/adapter-cloudflare@4.7.0(@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(wrangler@3.67.1(@cloudflare/workers-types@4.20240725.0))':
dependencies:
'@cloudflare/workers-types': 4.20240725.0
- '@sveltejs/kit': 2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ '@sveltejs/kit': 2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
esbuild: 0.21.5
worktop: 0.8.0-next.18
wrangler: 3.67.1(@cloudflare/workers-types@4.20240725.0)
- '@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))':
+ '@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))':
dependencies:
- '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
'@types/cookie': 0.6.0
cookie: 0.6.0
devalue: 5.0.0
@@ -6189,39 +6189,39 @@ snapshots:
sade: 1.8.1
set-cookie-parser: 2.6.0
sirv: 2.0.4
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
tiny-glob: 0.2.9
vite: 5.3.5(@types/node@20.14.13)
- '@sveltejs/package@2.3.2(svelte@5.0.0-next.199)(typescript@5.5.4)':
+ '@sveltejs/package@2.3.2(svelte@5.0.0-next.208)(typescript@5.5.4)':
dependencies:
chokidar: 3.6.0
kleur: 4.1.5
sade: 1.8.1
semver: 7.6.3
- svelte: 5.0.0-next.199
- svelte2tsx: 0.7.13(svelte@5.0.0-next.199)(typescript@5.5.4)
+ svelte: 5.0.0-next.208
+ svelte2tsx: 0.7.13(svelte@5.0.0-next.208)(typescript@5.5.4)
transitivePeerDependencies:
- typescript
- '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))':
+ '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))':
dependencies:
- '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
debug: 4.3.6
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
vite: 5.3.5(@types/node@20.14.13)
transitivePeerDependencies:
- supports-color
- '@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))':
+ '@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))':
dependencies:
- '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))
+ '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13)))(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))
debug: 4.3.6
deepmerge: 4.3.1
kleur: 4.1.5
magic-string: 0.30.11
- svelte: 5.0.0-next.199
- svelte-hmr: 0.16.0(svelte@5.0.0-next.199)
+ svelte: 5.0.0-next.208
+ svelte-hmr: 0.16.0(svelte@5.0.0-next.208)
vite: 5.3.5(@types/node@20.14.13)
vitefu: 0.2.5(vite@5.3.5(@types/node@20.14.13))
transitivePeerDependencies:
@@ -6268,10 +6268,10 @@ snapshots:
lodash: 4.17.21
redent: 3.0.0
- '@testing-library/svelte@5.2.1(svelte@5.0.0-next.199)(vite@5.3.5(@types/node@20.14.13))(vitest@2.0.4(@types/node@20.14.13)(@vitest/ui@1.6.0)(jsdom@24.1.1))':
+ '@testing-library/svelte@5.2.1(svelte@5.0.0-next.208)(vite@5.3.5(@types/node@20.14.13))(vitest@2.0.4(@types/node@20.14.13)(@vitest/ui@1.6.0)(jsdom@24.1.1))':
dependencies:
'@testing-library/dom': 10.4.0
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
optionalDependencies:
vite: 5.3.5(@types/node@20.14.13)
vitest: 2.0.4(@types/node@20.14.13)(@vitest/ui@1.6.0)(jsdom@24.1.1)
@@ -6406,10 +6406,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/eslint-plugin@8.0.0-alpha.40(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)':
+ '@typescript-eslint/eslint-plugin@8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@eslint-community/regexpp': 4.11.0
- '@typescript-eslint/parser': 7.18.0(eslint@9.8.0)(typescript@5.5.4)
+ '@typescript-eslint/parser': 8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/scope-manager': 8.0.0-alpha.40
'@typescript-eslint/type-utils': 8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4)
@@ -7316,7 +7316,7 @@ snapshots:
eslint-plugin-no-only-tests@3.1.0: {}
- eslint-plugin-perfectionist@3.0.0(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199))(svelte@5.0.0-next.199)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.8.0)):
+ eslint-plugin-perfectionist@3.0.0(eslint@9.8.0)(svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208))(svelte@5.0.0-next.208)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.8.0)):
dependencies:
'@typescript-eslint/types': 7.18.0
'@typescript-eslint/utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4)
@@ -7324,8 +7324,8 @@ snapshots:
minimatch: 10.0.1
natural-compare-lite: 1.4.0
optionalDependencies:
- svelte: 5.0.0-next.199
- svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.199)
+ svelte: 5.0.0-next.208
+ svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.208)
vue-eslint-parser: 9.4.3(eslint@9.8.0)
transitivePeerDependencies:
- supports-color
@@ -7342,7 +7342,7 @@ snapshots:
regexp-ast-analysis: 0.7.1
scslre: 0.3.0
- eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.199):
+ eslint-plugin-svelte@2.43.0(eslint@9.8.0)(svelte@5.0.0-next.208):
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0)
'@jridgewell/sourcemap-codec': 1.5.0
@@ -7355,9 +7355,9 @@ snapshots:
postcss-safe-parser: 6.0.0(postcss@8.4.40)
postcss-selector-parser: 6.1.1
semver: 7.6.3
- svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.199)
+ svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.208)
optionalDependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
transitivePeerDependencies:
- ts-node
@@ -7396,14 +7396,14 @@ snapshots:
eslint: 9.8.0
eslint-rule-composer: 0.3.0
optionalDependencies:
- '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
+ '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.0.4):
dependencies:
'@typescript-eslint/utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4)
eslint: 9.8.0
optionalDependencies:
- '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
+ '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
vitest: 2.0.4(@types/node@20.14.13)(@vitest/ui@1.6.0)(jsdom@24.1.1)
transitivePeerDependencies:
- supports-color
@@ -8557,7 +8557,7 @@ snapshots:
dependencies:
'@types/mdast': 4.0.4
- mdsx@0.0.6(svelte@5.0.0-next.199):
+ mdsx@0.0.6(svelte@5.0.0-next.208):
dependencies:
esrap: 1.2.2
hast-util-to-html: 9.0.1
@@ -8566,7 +8566,7 @@ snapshots:
rehype-stringify: 10.0.0
remark-parse: 11.0.0
remark-rehype: 11.1.0
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
unified: 11.0.5
unist-util-visit: 5.0.0
vfile: 6.0.2
@@ -9076,9 +9076,9 @@ snapshots:
pkg-types: 1.1.3
ufo: 1.5.4
- mode-watcher@0.2.2(svelte@5.0.0-next.199):
+ mode-watcher@0.2.2(svelte@5.0.0-next.208):
dependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
mri@1.2.0: {}
@@ -9294,9 +9294,9 @@ snapshots:
estree-walker: 3.0.3
is-reference: 3.0.2
- phosphor-svelte@2.0.1(svelte@5.0.0-next.199):
+ phosphor-svelte@2.0.1(svelte@5.0.0-next.208):
dependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
picocolors@1.0.1: {}
@@ -9396,16 +9396,16 @@ snapshots:
prelude-ls@1.2.1: {}
- prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.199):
+ prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208):
dependencies:
prettier: 3.3.3
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
- prettier-plugin-tailwindcss@0.5.13(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.199))(prettier@3.3.3):
+ prettier-plugin-tailwindcss@0.5.13(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208))(prettier@3.3.3):
dependencies:
prettier: 3.3.3
optionalDependencies:
- prettier-plugin-svelte: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.199)
+ prettier-plugin-svelte: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208)
prettier@2.8.8: {}
@@ -9692,10 +9692,10 @@ snapshots:
dependencies:
queue-microtask: 1.2.3
- runed@0.15.0(svelte@5.0.0-next.199):
+ runed@0.15.0(svelte@5.0.0-next.208):
dependencies:
esm-env: 1.0.0
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
rxjs@7.8.1:
dependencies:
@@ -9919,14 +9919,14 @@ snapshots:
supports-preserve-symlinks-flag@1.0.0: {}
- svelte-check@3.8.4(postcss-load-config@5.1.0(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.199):
+ svelte-check@3.8.4(postcss-load-config@5.1.0(jiti@1.21.6)(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208):
dependencies:
'@jridgewell/trace-mapping': 0.3.25
chokidar: 3.6.0
picocolors: 1.0.1
sade: 1.8.1
- svelte: 5.0.0-next.199
- svelte-preprocess: 5.1.4(postcss-load-config@5.1.0(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.199)(typescript@5.5.4)
+ svelte: 5.0.0-next.208
+ svelte-preprocess: 5.1.4(postcss-load-config@5.1.0(jiti@1.21.6)(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4)
typescript: 5.5.4
transitivePeerDependencies:
- '@babel/core'
@@ -9939,7 +9939,7 @@ snapshots:
- stylus
- sugarss
- svelte-eslint-parser@0.41.0(svelte@5.0.0-next.199):
+ svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208):
dependencies:
eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3
@@ -9947,41 +9947,41 @@ snapshots:
postcss: 8.4.40
postcss-scss: 4.0.9(postcss@8.4.40)
optionalDependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
- svelte-hmr@0.16.0(svelte@5.0.0-next.199):
+ svelte-hmr@0.16.0(svelte@5.0.0-next.208):
dependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
- svelte-preprocess@5.1.4(postcss-load-config@5.1.0(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.199)(typescript@5.5.4):
+ svelte-preprocess@5.1.4(postcss-load-config@5.1.0(jiti@1.21.6)(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4):
dependencies:
'@types/pug': 2.0.10
detect-indent: 6.1.0
magic-string: 0.30.11
sorcery: 0.11.1
strip-indent: 3.0.0
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
optionalDependencies:
postcss: 8.4.40
postcss-load-config: 5.1.0(jiti@1.21.6)(postcss@8.4.40)
typescript: 5.5.4
- svelte-sonner@0.3.27(svelte@5.0.0-next.199):
+ svelte-sonner@0.3.27(svelte@5.0.0-next.208):
dependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
- svelte-toolbelt@0.1.0(svelte@5.0.0-next.199):
+ svelte-toolbelt@0.1.0(svelte@5.0.0-next.208):
dependencies:
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
- svelte2tsx@0.7.13(svelte@5.0.0-next.199)(typescript@5.5.4):
+ svelte2tsx@0.7.13(svelte@5.0.0-next.208)(typescript@5.5.4):
dependencies:
dedent-js: 1.0.1
pascal-case: 3.1.2
- svelte: 5.0.0-next.199
+ svelte: 5.0.0-next.208
typescript: 5.5.4
- svelte@5.0.0-next.199:
+ svelte@5.0.0-next.208:
dependencies:
'@ampproject/remapping': 2.3.0
'@jridgewell/sourcemap-codec': 1.5.0
diff --git a/sites/docs/content/components/scroll-area.md b/sites/docs/content/components/scroll-area.md
index cd8566704..7d7f8c2a2 100644
--- a/sites/docs/content/components/scroll-area.md
+++ b/sites/docs/content/components/scroll-area.md
@@ -20,7 +20,7 @@ description: Consistent scroll area across platforms.
```svelte
diff --git a/sites/docs/package.json b/sites/docs/package.json
index 7cd0fce12..986cbffc8 100644
--- a/sites/docs/package.json
+++ b/sites/docs/package.json
@@ -39,7 +39,7 @@
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"shiki": "^1.1.1",
- "svelte": "5.0.0-next.199",
+ "svelte": "5.0.0-next.208",
"svelte-check": "^3.6.9",
"svelte-sonner": "^0.3.24",
"tailwind-merge": "^2.2.1",
diff --git a/sites/docs/src/app.html b/sites/docs/src/app.html
index dab0c7940..5ac82ad6b 100644
--- a/sites/docs/src/app.html
+++ b/sites/docs/src/app.html
@@ -14,6 +14,7 @@
/>
%sveltekit.head%
+
({
description: "A function that is called when the selected date changes.",
}),
placeholder: {
- type: "DateValue",
+ type: dateValueProp,
description:
"The placeholder date, which is used to determine what month to display when no date is selected. This updates as the user navigates the calendar, and can be used to programatically control the calendar's view.",
},
@@ -135,12 +136,12 @@ export const root = createApiSchema({
description: "A function that returns whether or not a date is unavailable.",
}),
maxValue: {
- type: "DateValue",
+ type: dateValueProp,
description: "The maximum date that can be selected.",
tooltipContent: "Learn more about the `DateValue` type.",
},
minValue: {
- type: "DateValue",
+ type: dateValueProp,
description: "The minimum date that can be selected.",
},
locale: createStringProp({
@@ -195,11 +196,11 @@ export const cell = createApiSchema({
description: "A cell in the calendar grid.",
props: {
date: {
- type: "DateValue",
+ type: dateValueProp,
description: "The date for the cell.",
},
month: {
- type: "DateValue",
+ type: dateValueProp,
description: "The current month the date is being displayed in.",
},
...withChildProps({ elType: "HTMLTableCellElement" }),
diff --git a/sites/docs/src/lib/content/api-reference/date-field.ts b/sites/docs/src/lib/content/api-reference/date-field.ts
index 0df7ad3e3..ae6ffb66d 100644
--- a/sites/docs/src/lib/content/api-reference/date-field.ts
+++ b/sites/docs/src/lib/content/api-reference/date-field.ts
@@ -15,6 +15,7 @@ import {
createStringProp,
withChildProps,
} from "./helpers.js";
+import { dateValueProp } from "./extended-types/index.js";
import { enums } from "$lib/content/api-reference/helpers.js";
import * as C from "$lib/content/constants.js";
@@ -23,7 +24,7 @@ export const root = createApiSchema({
description: "The root date field component.",
props: {
value: {
- type: "DateValue",
+ type: dateValueProp,
description: "The selected date.",
bindable: true,
},
@@ -32,7 +33,7 @@ export const root = createApiSchema({
description: "A function that is called when the selected date changes.",
}),
placeholder: {
- type: "DateValue",
+ type: dateValueProp,
description:
"The placeholder date, which is used to determine what date to start the segments from when no value exists.",
bindable: true,
@@ -65,11 +66,11 @@ export const root = createApiSchema({
default: C.FALSE,
}),
maxValue: {
- type: "DateValue",
+ type: dateValueProp,
description: "The maximum valid date that can be entered.",
},
minValue: {
- type: "DateValue",
+ type: dateValueProp,
description: "The minimum valid date that can be entered.",
},
locale: createStringProp({
diff --git a/sites/docs/src/lib/content/api-reference/extended-types/date-value.ts b/sites/docs/src/lib/content/api-reference/extended-types/date-value.ts
new file mode 100644
index 000000000..6cbd77816
--- /dev/null
+++ b/sites/docs/src/lib/content/api-reference/extended-types/date-value.ts
@@ -0,0 +1,6 @@
+import type { DateValue } from "@internationalized/date";
+
+/**
+ * Represents a date and/or time in a specific calendar system.
+ * type DateValue = CalendarDate | CalendarDateTime | ZonedDateTime;
+ */
diff --git a/sites/docs/src/lib/content/api-reference/extended-types/index.ts b/sites/docs/src/lib/content/api-reference/extended-types/index.ts
index 61f8298f6..23a80a582 100644
--- a/sites/docs/src/lib/content/api-reference/extended-types/index.ts
+++ b/sites/docs/src/lib/content/api-reference/extended-types/index.ts
@@ -1,8 +1,14 @@
import rawFocusProp from "$lib/content/api-reference/extended-types/focus-target.js?raw";
import rawMonthProp from "$lib/content/api-reference/extended-types/months.js?raw";
+import rawDateValueProp from "$lib/content/api-reference/extended-types/date-value.js?raw";
import rawPageItemProp from "$lib/content/api-reference/extended-types/page-item.js?raw";
import type { PropType } from "$lib/types/index.js";
+export const dateValueProp: PropType = {
+ type: "DateValue",
+ definition: rawDateValueProp,
+};
+
export const monthsPropType: PropType = {
type: "Month[]",
definition: rawMonthProp,