@vuetify/v0 0.0.24-beta.1 → 0.1.0

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 (33) hide show
  1. package/README.md +2 -2
  2. package/dist/adapter-L4Php1_S.d.mts +97 -0
  3. package/dist/browser/index.js +1318 -842
  4. package/dist/components/index.d.mts +4 -4
  5. package/dist/components/index.mjs +6 -6
  6. package/dist/{components-Dd4KKVtk.mjs → components-V4KaMfn-.mjs} +442 -117
  7. package/dist/composables/index.d.mts +5 -4
  8. package/dist/composables/index.mjs +4 -4
  9. package/dist/constants/index.d.mts +1 -1
  10. package/dist/constants/index.mjs +3 -3
  11. package/dist/date/index.d.mts +124 -0
  12. package/dist/date/index.mjs +7514 -0
  13. package/dist/{globals-CiCJWcbb.mjs → globals-CgcVstn0.mjs} +1 -1
  14. package/dist/{index-CAEB2sxS.d.mts → index-CSjKBMhp.d.mts} +738 -349
  15. package/dist/{index-C8YcMooA.d.mts → index-CoO8LW8o.d.mts} +13 -9
  16. package/dist/{index-DYSwiS9k.d.mts → index-DlxrzbvZ.d.mts} +21 -1
  17. package/dist/{index-rcTqb9U3.d.mts → index-DsiFkTD8.d.mts} +662 -306
  18. package/dist/{index-Bby5ljat.d.mts → index-t-t6sAn3.d.mts} +222 -41
  19. package/dist/index.d.mts +8 -7
  20. package/dist/index.mjs +7 -7
  21. package/dist/json/attributes.json +104 -0
  22. package/dist/json/importMap.json +20 -0
  23. package/dist/json/tags.json +46 -0
  24. package/dist/json/web-types.json +309 -9
  25. package/dist/types/index.d.mts +2 -2
  26. package/dist/{useClickOutside-BfEvdnA4.mjs → useClickOutside-Cj8CguMD.mjs} +844 -699
  27. package/dist/utilities/index.d.mts +3 -3
  28. package/dist/utilities/index.mjs +2 -2
  29. package/dist/{utilities-9i1hJnMd.mjs → utilities-B58TiS_S.mjs} +41 -34
  30. package/package.json +21 -3
  31. /package/dist/{constants-3l8TGg5J.mjs → constants-DHKqjdjH.mjs} +0 -0
  32. /package/dist/{htmlElements-CXObxj0V.mjs → htmlElements-DO9n35bD.mjs} +0 -0
  33. /package/dist/{index-DMQJJUrv.d.mts → index-cPmI99rd.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import { n as DeepPartial } from "./index-DYSwiS9k.mjs";
1
+ import { r as DeepPartial } from "./index-DlxrzbvZ.mjs";
2
2
 
3
3
  //#region src/utilities/helpers.d.ts
4
4
 
@@ -199,21 +199,25 @@ declare function isSymbol(item: unknown): item is symbol;
199
199
  declare function isNaN(item: unknown): item is number;
200
200
  declare function mergeDeep<T extends object>(target: T, ...sources: DeepPartial<T>[]): T;
201
201
  /**
202
- * Generates a random 7-character alphanumeric ID
202
+ * Generates a unique ID, using Vue's useId when in component context
203
203
  *
204
- * @returns A random string of 7 characters (a-z, 0-9)
204
+ * @returns A unique string ID
205
205
  *
206
206
  * @remarks
207
- * Uses `Math.random()` converted to base-36. Not cryptographically secure.
208
- * Suitable for unique keys in UI components, not for security purposes.
207
+ * - In component setup/lifecycle: Uses Vue's `useId()` for SSR-safe hydration
208
+ * - Outside components: Falls back to sequential counter (`v0-0`, `v0-1`, ...)
209
+ * - Vapor mode compatible
209
210
  *
210
211
  * @example
211
212
  * ```ts
212
- * genId() // 'k7x9m2p'
213
- * genId() // 'a3b8c1d'
213
+ * // In component setup - SSR safe
214
+ * const id = useId() // 'v:0', 'v:1', etc. (Vue's format)
215
+ *
216
+ * // Outside component - counter fallback
217
+ * const id = useId() // 'v0-0', 'v0-1', etc.
214
218
  * ```
215
219
  */
216
- declare function genId(): string;
220
+ declare function useId(): string;
217
221
  /**
218
222
  * Clamps a value between a minimum and maximum
219
223
  *
@@ -271,4 +275,4 @@ declare function debounce<T extends (...args: any[]) => any>(fn: T, delay: numbe
271
275
  declare function instanceExists(): boolean;
272
276
  declare function instanceName(): string | undefined;
273
277
  //#endregion
274
- export { isUndefined as _, genId as a, isFunction as c, isNullOrUndefined as d, isNumber as f, isSymbol as g, isString as h, debounce as i, isNaN as l, isPrimitive as m, instanceName as n, isArray as o, isObject as p, clamp as r, isBoolean as s, instanceExists as t, isNull as u, mergeDeep as v, range as y };
278
+ export { mergeDeep as _, isArray as a, isNaN as c, isNumber as d, isObject as f, isUndefined as g, isSymbol as h, debounce as i, isNull as l, isString as m, instanceName as n, isBoolean as o, isPrimitive as p, clamp as r, isFunction as s, instanceExists as t, isNullOrUndefined as u, range as v, useId as y };
@@ -69,5 +69,25 @@ type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]> }
69
69
  * ```
70
70
  */
71
71
  type MaybeArray<T> = T | T[];
72
+ /**
73
+ * Keyboard activation mode for navigable components
74
+ *
75
+ * @remarks
76
+ * Controls when selection occurs during keyboard navigation:
77
+ * - `automatic` (default): Selection follows focus (arrow keys select).
78
+ * This is the WAI-ARIA standard for radio groups.
79
+ * - `manual`: Arrow keys move focus only; Enter/Space required to select.
80
+ * Use for toolbar contexts or when deliberate selection is preferred.
81
+ *
82
+ * @example
83
+ * ```vue
84
+ * <template>
85
+ * <Radio.Group v-model="selected" activation="manual">
86
+ * <Radio.Root value="a">Option A</Radio.Root>
87
+ * </Radio.Group>
88
+ * </template>
89
+ * ```
90
+ */
91
+ type Activation = 'automatic' | 'manual';
72
92
  //#endregion
73
- export { MaybeArray as a, ID as i, DeepPartial as n, UnknownObject as o, GenericObject as r, DOMElement as t };
93
+ export { ID as a, GenericObject as i, DOMElement as n, MaybeArray as o, DeepPartial as r, UnknownObject as s, Activation as t };