@vuetify/v0 0.0.24 → 0.1.1

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.
@@ -1,4 +1,4 @@
1
- import { n as DeepPartial } from "./index-ZW2YLa57.mjs";
1
+ import { r as DeepPartial } from "./index-DlxrzbvZ.mjs";
2
2
 
3
3
  //#region src/utilities/helpers.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { Ref, ShallowRef, h } from "vue";
1
+ import { h } from "vue";
2
2
 
3
3
  //#region src/types/index.d.ts
4
4
 
@@ -70,23 +70,24 @@ type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]> }
70
70
  */
71
71
  type MaybeArray<T> = T | T[];
72
72
  /**
73
- * Value that may be wrapped in a Vue ref
74
- *
75
- * @template T The base value type
73
+ * Keyboard activation mode for navigable components
76
74
  *
77
75
  * @remarks
78
- * Accepts raw values, refs, readonly refs, shallow refs, or getter functions.
79
- * Used by observer composables for flexible target parameters.
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.
80
81
  *
81
82
  * @example
82
- * ```ts
83
- * function observe(target: MaybeRef<Element>) { ... }
84
- * observe(element) // raw value
85
- * observe(ref(element)) // Ref
86
- * observe(shallowRef(element)) // ShallowRef
87
- * observe(() => element) // getter function
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>
88
89
  * ```
89
90
  */
90
- type MaybeRef$1<T> = T | Ref<T> | Readonly<Ref<T>> | ShallowRef<T> | Readonly<ShallowRef<T>> | (() => T);
91
+ type Activation = 'automatic' | 'manual';
91
92
  //#endregion
92
- export { MaybeArray as a, ID as i, DeepPartial as n, MaybeRef$1 as o, GenericObject as r, UnknownObject as s, 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 };