@lumx/vue 4.11.0-next.1 → 4.11.0-next.2

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.
@@ -16,10 +16,17 @@ export interface UseRovingTabIndexContainerOptions {
16
16
  * Disabled items are skipped during keyboard navigation.
17
17
  */
18
18
  itemDisabledSelector?: string;
19
+ /**
20
+ * Attribute name indicating the selected item (e.g. `'aria-selected'`, `'aria-checked'`).
21
+ * When set, the roving tabindex will keep `tabindex="0"` in sync with the item
22
+ * whose attribute value is `"true"`.
23
+ * Default: `'aria-selected'`.
24
+ */
25
+ itemSelectedAttr?: string;
19
26
  }
20
27
  /**
21
28
  * Vue composable equivalent of React's useRovingTabIndexContainer.
22
29
  * Sets up roving tab index keyboard navigation on a container element.
23
30
  * Automatically tears down when the container is removed or the composable is unmounted.
24
31
  */
25
- export declare function useRovingTabIndexContainer({ containerRef, itemSelector, onItemFocused, direction, itemDisabledSelector, }: UseRovingTabIndexContainerOptions): void;
32
+ export declare function useRovingTabIndexContainer({ containerRef, itemSelector, onItemFocused, direction, itemDisabledSelector, itemSelectedAttr, }: UseRovingTabIndexContainerOptions): void;