@illinois-grad/grad-vue 3.0.16 → 3.0.18

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.
@@ -22,11 +22,12 @@
22
22
  * ```
23
23
  *
24
24
  * > [!IMPORTANT]
25
- * > All items must have a focusable element for proper accessibility. If there
26
- * > is no link, it should be a button.
25
+ * > Parent items with children render a disclosure toggle button. The default
26
+ * > slot should still provide either a navigable link or meaningful label
27
+ * > content for the item row.
27
28
  * >
28
- * > To support progressive enhancement, the component applies ARIA attributes
29
- * > to the focusable elements in your HTML.
29
+ * > To support progressive enhancement, nested items remain visible until the
30
+ * > component upgrades and enables collapsible behavior.
30
31
  *
31
32
  * **Props**:
32
33
  *
@@ -39,14 +40,6 @@
39
40
  * `sessionStorage` under this key and restored on page load. This is useful
40
41
  * in Web Component / Drupal contexts where every page navigation is a full
41
42
  * refresh. Item states are keyed by the item's `label` prop.
42
- *
43
- * **Keyboard navigation** (tree-view style):
44
- *
45
- * - `Up Arrow` / `Down Arrow` - move between visible menu items.
46
- * - `Right Arrow` - expand a collapsed item; if already expanded, move to its first child.
47
- * - `Left Arrow` - collapse an expanded item; if already collapsed, move focus to its
48
- * parent.
49
- * - `Home` / `End` - jump to the first or last visible item.
50
43
  */
51
44
  declare const _default: typeof __VLS_export;
52
45
  export default _default;
@@ -2,7 +2,8 @@ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
3
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
4
4
  /**
5
- * Label for the item. Used as a stable identifier for the item.
5
+ * Label for the item. Used as a stable identifier and toggle label for
6
+ * expandable items.
6
7
  * @demo
7
8
  '
8
9
  */
@@ -21,7 +22,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
21
22
  collapse: () => any;
22
23
  }, string, import("vue").PublicProps, Readonly<{
23
24
  /**
24
- * Label for the item. Used as a stable identifier for the item.
25
+ * Label for the item. Used as a stable identifier and toggle label for
26
+ * expandable items.
25
27
  * @demo
26
28
  '
27
29
  */