diff --git a/examples/lit-ts/package.json b/examples/lit-ts/package.json index c79a70e24f..35565b2ef7 100644 --- a/examples/lit-ts/package.json +++ b/examples/lit-ts/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@lit/context": "1.1.2", "@open-wc/lit-helpers": "^0.7.0", "@types/textarea-caret": "^3.0.3", diff --git a/examples/next-ts/package.json b/examples/next-ts/package.json index 0f7ddcfbc2..4c6d871828 100644 --- a/examples/next-ts/package.json +++ b/examples/next-ts/package.json @@ -10,7 +10,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@tanstack/react-virtual": "3.10.8", "@types/textarea-caret": "3.0.3", "@zag-js/accordion": "workspace:*", diff --git a/examples/nuxt-ts/package.json b/examples/nuxt-ts/package.json index f29acdb2fb..28046b3d5e 100644 --- a/examples/nuxt-ts/package.json +++ b/examples/nuxt-ts/package.json @@ -9,7 +9,7 @@ "postinstall": "nuxt prepare" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@zag-js/accordion": "workspace:*", "@zag-js/anatomy": "workspace:*", "@zag-js/anatomy-icons": "workspace:*", diff --git a/examples/preact-ts/package.json b/examples/preact-ts/package.json index e8dd5c8c1d..6831bb0eca 100644 --- a/examples/preact-ts/package.json +++ b/examples/preact-ts/package.json @@ -8,7 +8,7 @@ "preview": "vite preview" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@zag-js/accordion": "workspace:*", "@zag-js/anatomy": "workspace:*", "@zag-js/anatomy-icons": "workspace:*", diff --git a/examples/solid-ts/package.json b/examples/solid-ts/package.json index 614337eac9..1773a42960 100644 --- a/examples/solid-ts/package.json +++ b/examples/solid-ts/package.json @@ -9,7 +9,7 @@ "version": "vinxi version" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@solidjs/meta": "0.29.4", "@solidjs/router": "0.14.7", "@solidjs/start": "1.0.8", diff --git a/examples/svelte-ts/package.json b/examples/svelte-ts/package.json index dad868707e..a171ebe22c 100644 --- a/examples/svelte-ts/package.json +++ b/examples/svelte-ts/package.json @@ -10,7 +10,7 @@ "check": "svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@zag-js/accordion": "workspace:*", "@zag-js/anatomy": "workspace:*", "@zag-js/anatomy-icons": "workspace:*", diff --git a/examples/vanilla-ts/package.json b/examples/vanilla-ts/package.json index 658e7df0b3..a95a34cc35 100644 --- a/examples/vanilla-ts/package.json +++ b/examples/vanilla-ts/package.json @@ -13,7 +13,7 @@ "vite": "^5.4.8" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@zag-js/accordion": "workspace:*", "@zag-js/anatomy": "workspace:*", "@zag-js/anatomy-icons": "workspace:*", diff --git a/packages/machines/date-picker/package.json b/packages/machines/date-picker/package.json index 718cbef41b..93e6b5b1f1 100644 --- a/packages/machines/date-picker/package.json +++ b/packages/machines/date-picker/package.json @@ -51,7 +51,7 @@ "@internationalized/date": ">=3.0.0" }, "devDependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "clean-package": "2.2.0" }, "clean-package": "../../../clean-package.config.json" diff --git a/packages/machines/time-picker/package.json b/packages/machines/time-picker/package.json index cb31f2d1ee..5170024b2d 100644 --- a/packages/machines/time-picker/package.json +++ b/packages/machines/time-picker/package.json @@ -47,7 +47,7 @@ "@internationalized/date": ">=3.0.0" }, "devDependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "clean-package": "2.2.0" }, "clean-package": "../../../clean-package.config.json" diff --git a/packages/utilities/date-utils/package.json b/packages/utilities/date-utils/package.json index 07b0f48fe8..717cab4723 100644 --- a/packages/utilities/date-utils/package.json +++ b/packages/utilities/date-utils/package.json @@ -34,7 +34,7 @@ "@internationalized/date": ">=3.0.0" }, "devDependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "clean-package": "2.2.0" } } diff --git a/packages/utilities/date-utils/src/pagination.ts b/packages/utilities/date-utils/src/pagination.ts index c600d332fc..6dbe1a9df6 100644 --- a/packages/utilities/date-utils/src/pagination.ts +++ b/packages/utilities/date-utils/src/pagination.ts @@ -212,7 +212,6 @@ export function getSectionEnd( if (visibleDuration.weeks) { return adjust({ - //@ts-expect-error - endOfWeek is loosely typed focusedDate: endOfWeek(focusedDate, locale), startDate, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e55d96902..f558cb90c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -141,8 +141,8 @@ importers: examples/lit-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@lit/context': specifier: 1.1.2 version: 1.1.2 @@ -394,8 +394,8 @@ importers: examples/next-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@tanstack/react-virtual': specifier: 3.10.8 version: 3.10.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -686,8 +686,8 @@ importers: examples/nuxt-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@zag-js/accordion': specifier: workspace:* version: link:../../packages/machines/accordion @@ -942,8 +942,8 @@ importers: examples/preact-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@zag-js/accordion': specifier: workspace:* version: link:../../packages/machines/accordion @@ -1463,8 +1463,8 @@ importers: examples/solid-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@solidjs/meta': specifier: 0.29.4 version: 0.29.4(solid-js@1.9.1) @@ -1712,8 +1712,8 @@ importers: examples/svelte-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@zag-js/accordion': specifier: workspace:* version: link:../../packages/machines/accordion @@ -1977,8 +1977,8 @@ importers: examples/vanilla-ts: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@zag-js/accordion': specifier: workspace:* version: link:../../packages/machines/accordion @@ -2651,8 +2651,8 @@ importers: version: link:../../utilities/core devDependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 clean-package: specifier: 2.2.0 version: 2.2.0 @@ -3368,8 +3368,8 @@ importers: version: link:../../utilities/core devDependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 clean-package: specifier: 2.2.0 version: 2.2.0 @@ -3608,8 +3608,8 @@ importers: packages/utilities/date-utils: devDependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 clean-package: specifier: 2.2.0 version: 2.2.0 @@ -3820,8 +3820,8 @@ importers: starters/react: dependencies: '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@tanstack/react-virtual': specifier: 3.10.8 version: 3.10.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -4085,8 +4085,8 @@ importers: specifier: 11.13.0 version: 11.13.0(@emotion/react@11.13.3(@types/react@18.3.11)(react@18.3.1))(@types/react@18.3.11)(react@18.3.1) '@internationalized/date': - specifier: 3.5.5 - version: 3.5.5 + specifier: 3.5.6 + version: 3.5.6 '@stackblitz/sdk': specifier: ^1.11.0 version: 1.11.0 @@ -5728,8 +5728,8 @@ packages: resolution: {integrity: sha512-79hP/VWdZ2UVc9bFGJnoQ/lQMpL74mGgzSYX1xUqCVk7/v73vJCMw1VuyWN1jGkZ9B3z7THAbySqGbCNefcjfA==} engines: {node: '>=18'} - '@internationalized/date@3.5.5': - resolution: {integrity: sha512-H+CfYvOZ0LTJeeLOqm19E3uj/4YjrmOFtBufDHPfvtI80hFAMqtrp7oCACpe4Cil5l8S0Qu/9dYfZc/5lY8WQQ==} + '@internationalized/date@3.5.6': + resolution: {integrity: sha512-jLxQjefH9VI5P9UQuqB6qNKnvFt1Ky1TPIzHGsIlCi7sZZoMR8SdYbBGRvM0y+Jtb+ez4ieBzmiAUcpmPYpyOw==} '@internationalized/number@3.5.4': resolution: {integrity: sha512-h9huwWjNqYyE2FXZZewWqmCdkw1HeFds5q4Siuoms3hUQC5iPJK3aBmkFZoDSLN4UD0Bl8G22L/NdHpeOr+/7A==} @@ -14598,7 +14598,7 @@ snapshots: '@inquirer/figures@1.0.5': {} - '@internationalized/date@3.5.5': + '@internationalized/date@3.5.6': dependencies: '@swc/helpers': 0.5.12 @@ -18103,7 +18103,7 @@ snapshots: '@typescript-eslint/parser': 8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.12.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@1.21.6)) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-jsx-a11y: 6.9.0(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-react: 7.37.0(eslint@9.12.0(jiti@1.21.6)) @@ -18139,12 +18139,12 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@1.21.6)): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)): dependencies: debug: 4.3.6 enhanced-resolve: 5.17.1 eslint: 9.12.0(jiti@1.21.6) - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.12.0(jiti@1.21.6)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@9.12.0(jiti@1.21.6)) fast-glob: 3.3.2 get-tsconfig: 4.7.6 @@ -18156,14 +18156,14 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.12.0(jiti@1.21.6)): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.12.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@1.21.6)) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)) transitivePeerDependencies: - supports-color @@ -18189,7 +18189,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.12.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.12.0(jiti@1.21.6)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6)) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 diff --git a/starters/react/package.json b/starters/react/package.json index 7987e027d1..02b8cd53e3 100644 --- a/starters/react/package.json +++ b/starters/react/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@tanstack/react-virtual": "3.10.8", "@zag-js/accordion": "workspace:*", "@zag-js/anatomy": "workspace:*", diff --git a/website/package.json b/website/package.json index 97978f5803..cf4b656671 100644 --- a/website/package.json +++ b/website/package.json @@ -16,7 +16,7 @@ "contributors:gen": "all-contributors generate" }, "dependencies": { - "@internationalized/date": "3.5.5", + "@internationalized/date": "3.5.6", "@chakra-ui/cli": "2.4.1", "@chakra-ui/icon": "3.2.0", "@chakra-ui/layout": "2.3.1",