@illinois-grad/grad-vue 3.0.1 → 3.0.3
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/custom-elements.json +10 -0
- package/dist/components/GTreeMenu.vue.d.ts +18 -0
- package/dist/components/tree-menu/GTreeMenuItem.vue.d.ts +6 -4
- package/dist/{grad-vue-CCVxlgyA.js → grad-vue-SX-RHHr3.js} +260 -207
- package/dist/grad-vue-SX-RHHr3.js.map +1 -0
- package/dist/grad-vue-elements.css +36 -58
- package/dist/grad-vue-elements.js +162 -105
- 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 +5 -5
- package/dist/grad-vue-CCVxlgyA.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -2868,6 +2868,16 @@
|
|
|
2868
2868
|
},
|
|
2869
2869
|
"optional": true,
|
|
2870
2870
|
"description": "When provided, expanded/collapsed states are saved to `sessionStorage` under this key and restored on page load. Item states are keyed by each the `label` prop."
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"kind": "field",
|
|
2874
|
+
"name": "showExpandAll",
|
|
2875
|
+
"type": {
|
|
2876
|
+
"text": "boolean"
|
|
2877
|
+
},
|
|
2878
|
+
"optional": true,
|
|
2879
|
+
"description": "Show an expand/collapse all button",
|
|
2880
|
+
"default": "false"
|
|
2871
2881
|
}
|
|
2872
2882
|
],
|
|
2873
2883
|
"events": []
|
|
@@ -21,6 +21,13 @@
|
|
|
21
21
|
* </GTreeMenu>
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
|
+
* > [!IMPORTANT]
|
|
25
|
+
* > All items must have a focusable element for proper accessibility. If there
|
|
26
|
+
* > is no link, it should be a button.
|
|
27
|
+
* >
|
|
28
|
+
* > To support progressive enhancement, the component applies ARIA attributes
|
|
29
|
+
* > to the focusable elements in your HTML.
|
|
30
|
+
*
|
|
24
31
|
* **Props**:
|
|
25
32
|
*
|
|
26
33
|
* - `heading` - optional heading and accessible name for the nav landmark.
|
|
@@ -65,6 +72,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
65
72
|
* the `label` prop.
|
|
66
73
|
*/
|
|
67
74
|
storageKey?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Show an expand/collapse all button
|
|
77
|
+
* @demo
|
|
78
|
+
*/
|
|
79
|
+
showExpandAll?: boolean;
|
|
68
80
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
69
81
|
/**
|
|
70
82
|
* Heading and accessible name for the nav landmark
|
|
@@ -87,9 +99,15 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
87
99
|
* the `label` prop.
|
|
88
100
|
*/
|
|
89
101
|
storageKey?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Show an expand/collapse all button
|
|
104
|
+
* @demo
|
|
105
|
+
*/
|
|
106
|
+
showExpandAll?: boolean;
|
|
90
107
|
}> & Readonly<{}>, {
|
|
91
108
|
theme: "light" | "dark";
|
|
92
109
|
listType: "ul" | "ol";
|
|
110
|
+
showExpandAll: boolean;
|
|
93
111
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
94
112
|
default?: (props: {}) => any;
|
|
95
113
|
}>;
|
|
@@ -2,8 +2,9 @@ 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
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Label for the item. Used as a stable identifier for the item.
|
|
6
|
+
* @demo
|
|
7
|
+
'
|
|
7
8
|
*/
|
|
8
9
|
label?: string;
|
|
9
10
|
/**
|
|
@@ -20,8 +21,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
20
21
|
collapse: () => any;
|
|
21
22
|
}, string, import("vue").PublicProps, Readonly<{
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
24
|
+
* Label for the item. Used as a stable identifier for the item.
|
|
25
|
+
* @demo
|
|
26
|
+
'
|
|
25
27
|
*/
|
|
26
28
|
label?: string;
|
|
27
29
|
/**
|