@vuetify/v0 1.0.0-rc.7 → 1.0.0-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/{adapter-CMdKyFLz.d.mts → adapter-CVNRHfrz.d.mts} +1 -1
  2. package/dist/browser/index.d.ts +33 -33
  3. package/dist/browser/index.js +164 -108
  4. package/dist/components/index.d.mts +1 -1
  5. package/dist/components/index.mjs +1 -1
  6. package/dist/{components-D87gpuRI.mjs → components-Cl9fclA1.mjs} +17 -20
  7. package/dist/composables/index.d.mts +6 -6
  8. package/dist/composables/index.mjs +21 -21
  9. package/dist/{composables-DAc4DbYb.mjs → composables-CU2JD9oM.mjs} +13 -11
  10. package/dist/constants/index.mjs +1 -1
  11. package/dist/{createDataTable-C86TFzxJ.mjs → createDataTable-BaYtcmAO.mjs} +3 -3
  12. package/dist/{createGroup-DKVmhWJZ.mjs → createGroup-5UjYS6_G.mjs} +1 -1
  13. package/dist/{createRegistry-DaRYxox5.mjs → createRegistry-C_M475FE.mjs} +23 -13
  14. package/dist/{createSelection-CZFfJnBv.mjs → createSelection-BokWvmnd.mjs} +27 -13
  15. package/dist/{createSingle-D08Et-36.mjs → createSingle-DTqmo-GH.mjs} +1 -1
  16. package/dist/{createTokens-BY_7TedA.mjs → createTokens-q-A6Ywox.mjs} +7 -7
  17. package/dist/data-table/index.d.mts +1 -1
  18. package/dist/data-table/index.mjs +1 -1
  19. package/dist/date/index.mjs +1 -1
  20. package/dist/features/adapters/posthog/index.mjs +1 -1
  21. package/dist/features/index.d.mts +1 -1
  22. package/dist/features/index.mjs +1 -1
  23. package/dist/{globals-Djy_aCgG.mjs → globals-C0tKiM_M.mjs} +1 -1
  24. package/dist/{index-B5ybQyJO.d.mts → index-BwNRi6BK.d.mts} +9 -7
  25. package/dist/{index-CIf2yTGR.d.mts → index-CrFFilCd.d.mts} +2 -2
  26. package/dist/{index-CfSenWTN.d.mts → index-DCtHbY0a.d.mts} +1 -1
  27. package/dist/{index-CUdlfMMw.d.mts → index-DOjheBVl.d.mts} +103 -106
  28. package/dist/{index-DTYOP7ci.d.mts → index-RGiSdjYt.d.mts} +8 -7
  29. package/dist/index.d.mts +7 -7
  30. package/dist/index.mjs +23 -23
  31. package/dist/json/web-types.json +1 -1
  32. package/dist/locale/adapters/index.d.mts +2 -2
  33. package/dist/locale/adapters/index.mjs +1 -1
  34. package/dist/locale/adapters/v0/index.d.mts +1 -1
  35. package/dist/locale/adapters/v0/index.mjs +1 -1
  36. package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
  37. package/dist/locale/index.d.mts +3 -3
  38. package/dist/locale/index.mjs +2 -2
  39. package/dist/locale/messages/en/index.d.mts +3 -0
  40. package/dist/locale/messages/en/index.mjs +1 -0
  41. package/dist/logger/adapters/index.mjs +1 -1
  42. package/dist/logger/adapters/v0/index.mjs +1 -1
  43. package/dist/logger/index.d.mts +1 -1
  44. package/dist/logger/index.mjs +2 -2
  45. package/dist/notifications/index.d.mts +1 -1
  46. package/dist/notifications/index.mjs +2 -2
  47. package/dist/palettes/ant/index.d.mts +1 -1
  48. package/dist/palettes/index.d.mts +2 -2
  49. package/dist/palettes/material/index.d.mts +1 -1
  50. package/dist/palettes/md1/index.d.mts +1 -1
  51. package/dist/palettes/md2/index.d.mts +1 -1
  52. package/dist/palettes/radix/index.d.mts +1 -1
  53. package/dist/palettes/tailwind/index.d.mts +1 -1
  54. package/dist/permissions/adapters/index.d.mts +1 -1
  55. package/dist/permissions/adapters/v0/index.d.mts +1 -1
  56. package/dist/permissions/index.d.mts +1 -1
  57. package/dist/permissions/index.mjs +1 -1
  58. package/dist/rules/index.d.mts +1 -1
  59. package/dist/rules/index.mjs +1 -1
  60. package/dist/storage/index.d.mts +1 -1
  61. package/dist/storage/index.mjs +1 -1
  62. package/dist/theme/adapters/index.d.mts +1 -1
  63. package/dist/theme/adapters/index.mjs +2 -2
  64. package/dist/theme/adapters/unhead/index.d.mts +1 -1
  65. package/dist/theme/adapters/unhead/index.mjs +1 -1
  66. package/dist/theme/adapters/v0/index.d.mts +1 -1
  67. package/dist/theme/adapters/v0/index.mjs +1 -1
  68. package/dist/theme/index.d.mts +1 -1
  69. package/dist/theme/index.mjs +3 -3
  70. package/dist/{unhead-CAPMhSV7.mjs → unhead-BXJ8cqN-.mjs} +1 -1
  71. package/dist/{useEventListener-BtOsc1qg.mjs → useEventListener-UJ8VS4eS.mjs} +1 -1
  72. package/dist/{useFeatures-B5I-8W8H.mjs → useFeatures-Cn-HGB7v.mjs} +4 -4
  73. package/dist/{useLocale-AKOyyv43.mjs → useLocale-BFKJosku.mjs} +4 -4
  74. package/dist/{useLogger-bHW-Guij.mjs → useLogger-DGG3fsnB.mjs} +2 -2
  75. package/dist/{useNotifications-P-1VQHi8.mjs → useNotifications-DO10ylRQ.mjs} +3 -3
  76. package/dist/{usePermissions-nuWucbL_.mjs → usePermissions-BC-ppxf2.mjs} +2 -2
  77. package/dist/{useRovingFocus-BfbmLJoo.mjs → useRovingFocus-BWww4Lm1.mjs} +109 -76
  78. package/dist/{useRules-SLj8Le-M.mjs → useRules-CMDEY2-D.mjs} +2 -2
  79. package/dist/{useStorage-B4eV6lZZ.mjs → useStorage-BkutRChm.mjs} +3 -3
  80. package/dist/{useTheme-SVM2VmlS.mjs → useTheme-CJ5fgT5y.mjs} +4 -4
  81. package/dist/utilities/index.mjs +1 -1
  82. package/dist/{v0-DcTsWvzJ.d.mts → v0-C0OfckSF.d.mts} +1 -1
  83. package/dist/{v0-D5BwU_Up.mjs → v0-DUvaNE4R.mjs} +1 -1
  84. package/dist/{v0-BoEyw8RC.mjs → v0-M7azful7.mjs} +1 -1
  85. package/dist/{v0-gVrU_ObF.mjs → v0-sTRNcP5u.mjs} +1 -1
  86. package/package.json +7 -2
@@ -1,5 +1,5 @@
1
1
  import { a as ID } from "./index-CyNk9FpR.mjs";
2
- import { c as TokenTicket, i as TokenContext } from "./index-CIf2yTGR.mjs";
2
+ import { c as TokenTicket, i as TokenContext } from "./index-CrFFilCd.mjs";
3
3
  import { Ref } from "vue";
4
4
 
5
5
  //#region src/composables/useLocale/adapters/adapter.d.ts
@@ -946,7 +946,7 @@ interface RegistryTicket<V = unknown> {
946
946
  /**
947
947
  * The index of the ticket in the registry.
948
948
  *
949
- * @remarks Automatically managed by the registry. Assigned at registration and updated during reindexing; a supplied index is ignored — use `move()` to position a ticket. It's not recommended to manually set this. A ticket read via `values()`/`entries()` immediately after `unregister()`/`offboard()` may carry a stale index until the next position-reading call (`register`/`upsert`/`browse`/`lookup`/`move`/`reorder`/`seek`) drains the deferred reindex.
949
+ * @remarks Automatically managed by the registry. Assigned at registration and updated during reindexing; a supplied index is ignored — use `move()` to position a ticket. It's not recommended to manually set this. When a removal defers its reindex — a tail-block removal, or a registry with no index-derived values — a ticket read via `values()`/`entries()` may carry a stale index until the next position-reading call (`register`/`upsert`/`browse`/`lookup`/`move`/`reorder`/`seek`) drains it. A mid-list `unregister`/`offboard` that shifts index-derived survivors reindexes eagerly, so those reads are already current.
950
950
  */
951
951
  index: number;
952
952
  /** The value associated with the ticket. If not provided, it defaults to the index. */
@@ -1464,12 +1464,13 @@ interface RegistryContext<Z extends RegistryTicketInput = RegistryTicketInput, E
1464
1464
  * @param ids An array of ticket IDs to unregister.
1465
1465
  * @returns An array of `Partial<Z>` — the inputs that were registered, with
1466
1466
  * registry-managed fields (`index`, `valueIsIndex`, `unregister`) stripped.
1467
- * The `id` is preserved only when `valueIsIndex` was false (i.e. the user
1468
- * supplied a meaningful value); otherwise the id is stripped so the receiving
1469
- * registry can assign a fresh one. Order matches the input `ids` array. Missing
1470
- * ids are silently skipped the returned array may be shorter than `ids`.
1471
- * @remarks Unregisters multiple tickets in a single operation with optimized
1472
- * reindexing. The inverse of `onboard`: onboard takes inputs and returns outputs;
1467
+ * A user-supplied `id` is preserved so identity survives the transfer; an
1468
+ * auto-generated `id` is stripped so the receiving registry can assign a fresh
1469
+ * one. The `value` is stripped only when it was index-derived (`valueIsIndex`).
1470
+ * Order matches the input `ids` array. Missing ids are silently skipped the
1471
+ * returned array may be shorter than `ids`.
1472
+ * @remarks Unregisters multiple tickets in a single compaction pass, reindexing
1473
+ * eagerly only when index-derived survivors shift. The inverse of `onboard`: onboard takes inputs and returns outputs;
1473
1474
  * offboard takes ids and returns the inputs back. Pair with `onboard` on a
1474
1475
  * different registry to move tickets across registries.
1475
1476
  *
@@ -1790,7 +1791,9 @@ interface ModelContext<Z extends ModelTicketInput = ModelTicketInput, E extends
1790
1791
  * Unselect a ticket by ID
1791
1792
  *
1792
1793
  * @param id The ID of the ticket to unselect.
1793
- * @remarks Removes the ID from `selectedIds`. No-op if the model instance is disabled.
1794
+ * @remarks Removes the ID from `selectedIds`.
1795
+ * No-op if the model instance is disabled, the ticket doesn't exist, or the ticket is disabled.
1796
+ * Wholesale operations (`apply`, `reset`, `clear`) bypass this guard so disabled ids can always drain.
1794
1797
  *
1795
1798
  * @example
1796
1799
  * ```ts
@@ -1805,7 +1808,7 @@ interface ModelContext<Z extends ModelTicketInput = ModelTicketInput, E extends
1805
1808
  *
1806
1809
  * @param id The ID of the ticket to toggle.
1807
1810
  * @remarks Calls `select(id)` if not selected, `unselect(id)` if already selected.
1808
- * No-op if the model instance is disabled.
1811
+ * No-op if the model instance is disabled or the ticket is disabled.
1809
1812
  *
1810
1813
  * @example
1811
1814
  * ```ts
@@ -2352,11 +2355,11 @@ interface AvatarImageSlotProps {
2352
2355
  }
2353
2356
  declare const _default$12: typeof __VLS_export$157;
2354
2357
  declare const __VLS_export$157: __VLS_WithSlots$118<_$vue.DefineComponent<AvatarImageProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
2355
- load: (e: Event) => any;
2356
2358
  error: (e: Event) => any;
2359
+ load: (e: Event) => any;
2357
2360
  }, string, _$vue.PublicProps, Readonly<AvatarImageProps> & Readonly<{
2358
- onLoad?: ((e: Event) => any) | undefined;
2359
2361
  onError?: ((e: Event) => any) | undefined;
2362
+ onLoad?: ((e: Event) => any) | undefined;
2360
2363
  }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>, {
2361
2364
  default: (props: AvatarImageSlotProps) => any;
2362
2365
  }>;
@@ -2673,11 +2676,11 @@ declare const Avatar: {
2673
2676
  */
2674
2677
  Image: {
2675
2678
  new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<AvatarImageProps> & Readonly<{
2676
- onLoad?: ((e: Event) => any) | undefined;
2677
2679
  onError?: ((e: Event) => any) | undefined;
2680
+ onLoad?: ((e: Event) => any) | undefined;
2678
2681
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
2679
- load: (e: Event) => any;
2680
2682
  error: (e: Event) => any;
2683
+ load: (e: Event) => any;
2681
2684
  }, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
2682
2685
  P: {};
2683
2686
  B: {};
@@ -2686,18 +2689,18 @@ declare const Avatar: {
2686
2689
  M: {};
2687
2690
  Defaults: {};
2688
2691
  }, Readonly<AvatarImageProps> & Readonly<{
2689
- onLoad?: ((e: Event) => any) | undefined;
2690
2692
  onError?: ((e: Event) => any) | undefined;
2693
+ onLoad?: ((e: Event) => any) | undefined;
2691
2694
  }>, {}, {}, {}, {}, {}>;
2692
2695
  __isFragment?: never;
2693
2696
  __isTeleport?: never;
2694
2697
  __isSuspense?: never;
2695
2698
  } & _$vue.ComponentOptionsBase<Readonly<AvatarImageProps> & Readonly<{
2696
- onLoad?: ((e: Event) => any) | undefined;
2697
2699
  onError?: ((e: Event) => any) | undefined;
2700
+ onLoad?: ((e: Event) => any) | undefined;
2698
2701
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
2699
- load: (e: Event) => any;
2700
2702
  error: (e: Event) => any;
2703
+ load: (e: Event) => any;
2701
2704
  }, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
2702
2705
  $slots: {
2703
2706
  default: (props: AvatarImageSlotProps) => any;
@@ -8361,12 +8364,12 @@ interface ImageImgSlotProps {
8361
8364
  }
8362
8365
  declare const _default$70: typeof __VLS_export$98;
8363
8366
  declare const __VLS_export$98: __VLS_WithSlots$73<_$vue.DefineComponent<ImageImgProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
8364
- load: (e: Event) => any;
8365
8367
  error: (e: Event) => any;
8368
+ load: (e: Event) => any;
8366
8369
  loadstart: (src: string) => any;
8367
8370
  }, string, _$vue.PublicProps, Readonly<ImageImgProps> & Readonly<{
8368
- onLoad?: ((e: Event) => any) | undefined;
8369
8371
  onError?: ((e: Event) => any) | undefined;
8372
+ onLoad?: ((e: Event) => any) | undefined;
8370
8373
  onLoadstart?: ((src: string) => any) | undefined;
8371
8374
  }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>, {
8372
8375
  default: (props: ImageImgSlotProps) => any;
@@ -8483,12 +8486,12 @@ declare const Image: {
8483
8486
  */
8484
8487
  Img: {
8485
8488
  new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<ImageImgProps> & Readonly<{
8486
- onLoad?: ((e: Event) => any) | undefined;
8487
8489
  onError?: ((e: Event) => any) | undefined;
8490
+ onLoad?: ((e: Event) => any) | undefined;
8488
8491
  onLoadstart?: ((src: string) => any) | undefined;
8489
8492
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
8490
- load: (e: Event) => any;
8491
8493
  error: (e: Event) => any;
8494
+ load: (e: Event) => any;
8492
8495
  loadstart: (src: string) => any;
8493
8496
  }, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
8494
8497
  P: {};
@@ -8498,20 +8501,20 @@ declare const Image: {
8498
8501
  M: {};
8499
8502
  Defaults: {};
8500
8503
  }, Readonly<ImageImgProps> & Readonly<{
8501
- onLoad?: ((e: Event) => any) | undefined;
8502
8504
  onError?: ((e: Event) => any) | undefined;
8505
+ onLoad?: ((e: Event) => any) | undefined;
8503
8506
  onLoadstart?: ((src: string) => any) | undefined;
8504
8507
  }>, {}, {}, {}, {}, {}>;
8505
8508
  __isFragment?: never;
8506
8509
  __isTeleport?: never;
8507
8510
  __isSuspense?: never;
8508
8511
  } & _$vue.ComponentOptionsBase<Readonly<ImageImgProps> & Readonly<{
8509
- onLoad?: ((e: Event) => any) | undefined;
8510
8512
  onError?: ((e: Event) => any) | undefined;
8513
+ onLoad?: ((e: Event) => any) | undefined;
8511
8514
  onLoadstart?: ((src: string) => any) | undefined;
8512
8515
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
8513
- load: (e: Event) => any;
8514
8516
  error: (e: Event) => any;
8517
+ load: (e: Event) => any;
8515
8518
  loadstart: (src: string) => any;
8516
8519
  }, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
8517
8520
  $slots: {
@@ -11540,7 +11543,7 @@ interface SliderContext extends Omit<ModelContext<SliderTicketInput, SliderTicke
11540
11543
  * @param value Raw value to set.
11541
11544
  *
11542
11545
  * @remarks
11543
- * No-op when `readonly` is `true`. The value is snapped to step, clamped to min/max,
11546
+ * No-op when `disabled` or `readonly` is `true`. The value is snapped to step, clamped to min/max,
11544
11547
  * and constrained by adjacent thumbs when `crossover` is `false`.
11545
11548
  *
11546
11549
  * @see {@link up} and {@link down} for relative adjustments.
@@ -11817,7 +11820,7 @@ interface TokenAlias<T = unknown> {
11817
11820
  $deprecated?: boolean | string;
11818
11821
  }
11819
11822
  type TokenPrimitive = string | number | boolean | null | Function;
11820
- type TokenValue = TokenPrimitive | TokenAlias;
11823
+ type TokenValue = TokenPrimitive | TokenAlias | TokenCollection;
11821
11824
  interface TokenCollection {
11822
11825
  [key: string]: TokenValue | TokenCollection;
11823
11826
  }
@@ -22539,12 +22542,9 @@ interface SwitchThumbSlotProps {
22539
22542
  isChecked: boolean;
22540
22543
  /** Whether the parent switch is in a mixed/indeterminate state */
22541
22544
  isMixed: boolean;
22542
- /** Pre-computed data attributes and visibility style for styling */
22545
+ /** Pre-computed data attributes for styling */
22543
22546
  attrs: {
22544
22547
  'data-state': SwitchState;
22545
- 'style': {
22546
- visibility: 'visible' | 'hidden';
22547
- };
22548
22548
  };
22549
22549
  }
22550
22550
  declare const _default$146: typeof __VLS_export$22;
@@ -22820,10 +22820,10 @@ declare const Switch: {
22820
22820
  };
22821
22821
  });
22822
22822
  /**
22823
- * Sliding knob indicator for switches.
22823
+ * Sliding knob for switches.
22824
22824
  *
22825
- * Renders as a span with `data-state` attribute for CSS styling.
22826
- * Hidden via `visibility: hidden` when unchecked and not mixed.
22825
+ * Renders as a span with a `data-state` attribute for CSS styling.
22826
+ * Always visible; drive its off/on position and color from `data-state`.
22827
22827
  * Must be used within a Switch.Root or Switch.SelectAll.
22828
22828
  *
22829
22829
  * @see https://0.vuetifyjs.com/components/forms/switch
@@ -24854,7 +24854,7 @@ declare const selfClosingTags: ["area", "base", "br", "col", "embed", "hr", "img
24854
24854
  * Set of HTML elements that are self-closing (void elements)
24855
24855
  * These elements cannot have children and don't need closing tags
24856
24856
  */
24857
- declare const SELF_CLOSING_TAGS: Set<"area" | "base" | "br" | "col" | "embed" | "hr" | "img" | "input" | "link" | "meta" | "source" | "track" | "wbr">;
24857
+ declare const SELF_CLOSING_TAGS: Set<"input" | "area" | "base" | "br" | "col" | "embed" | "hr" | "img" | "link" | "meta" | "source" | "track" | "wbr">;
24858
24858
  /**
24859
24859
  * Check if an element is self-closing
24860
24860
  */