@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.
- package/dist/components/GTreeMenu.vue.d.ts +5 -12
- package/dist/components/tree-menu/GTreeMenuItem.vue.d.ts +4 -2
- package/dist/{grad-vue-CLV2d1M0.js → grad-vue-B8w4p-cK.js} +865 -927
- package/dist/grad-vue-B8w4p-cK.js.map +1 -0
- package/dist/grad-vue-elements.css +30 -30
- package/dist/grad-vue-elements.js +69 -131
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.css +1 -1
- package/dist/grad-vue.js +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +3 -3
- package/dist/grad-vue-CLV2d1M0.js.map +0 -1
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* > [!IMPORTANT]
|
|
25
|
-
* >
|
|
26
|
-
* >
|
|
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,
|
|
29
|
-
* >
|
|
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
|
|
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
|
|
25
|
+
* Label for the item. Used as a stable identifier and toggle label for
|
|
26
|
+
* expandable items.
|
|
25
27
|
* @demo
|
|
26
28
|
'
|
|
27
29
|
*/
|