@illinois-grad/grad-vue 7.1.1 → 7.1.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.
- package/custom-elements.json +9 -0
- package/dist/components/GPopover.vue.d.ts +12 -1
- package/dist/{grad-vue-BqBZYXQU.js → grad-vue-D3cnBp2w.js} +120 -100
- package/dist/grad-vue-D3cnBp2w.js.map +1 -0
- package/dist/grad-vue-elements.css +29 -29
- package/dist/grad-vue-elements.js +107 -87
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.js +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
- package/dist/grad-vue-BqBZYXQU.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -1410,6 +1410,15 @@
|
|
|
1410
1410
|
"name": "GPopoverElement",
|
|
1411
1411
|
"tagName": "g-popover",
|
|
1412
1412
|
"members": [
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "field",
|
|
1415
|
+
"name": "ariaLabelledby",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "string"
|
|
1418
|
+
},
|
|
1419
|
+
"optional": true,
|
|
1420
|
+
"description": "ID of the element that labels the dialog. Defaults to the trigger."
|
|
1421
|
+
},
|
|
1413
1422
|
{
|
|
1414
1423
|
"kind": "field",
|
|
1415
1424
|
"name": "minimal",
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* **Slot** `trigger` is optional. When provided, it should contain an
|
|
6
6
|
* interactive element for opening the popover and it is used for
|
|
7
7
|
* `aria-labelledby`. The trigger is passed a prop `toggle` which is a function
|
|
8
|
-
* that toggles the popover's open state
|
|
8
|
+
* that toggles the popover's open state, `open` for its current state, and
|
|
9
|
+
* `popoverId` for linking the trigger to the dialog with `aria-controls`.
|
|
9
10
|
*
|
|
10
11
|
* Without a trigger slot, open the popover programmatically via `show()` or
|
|
11
12
|
* `toggle()` on the component instance / custom element.
|
|
@@ -28,6 +29,10 @@
|
|
|
28
29
|
declare const _default: typeof __VLS_export;
|
|
29
30
|
export default _default;
|
|
30
31
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
32
|
+
/**
|
|
33
|
+
* ID of the element that labels the dialog. Defaults to the trigger.
|
|
34
|
+
*/
|
|
35
|
+
ariaLabelledby?: string;
|
|
31
36
|
/**
|
|
32
37
|
* Render without padding
|
|
33
38
|
* @demo
|
|
@@ -48,6 +53,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
48
53
|
show: (...args: any[]) => void;
|
|
49
54
|
hide: (...args: any[]) => void;
|
|
50
55
|
}, string, import("vue").PublicProps, Readonly<{
|
|
56
|
+
/**
|
|
57
|
+
* ID of the element that labels the dialog. Defaults to the trigger.
|
|
58
|
+
*/
|
|
59
|
+
ariaLabelledby?: string;
|
|
51
60
|
/**
|
|
52
61
|
* Render without padding
|
|
53
62
|
* @demo
|
|
@@ -69,6 +78,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
69
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
70
79
|
trigger?: (props: {
|
|
71
80
|
toggle: () => void;
|
|
81
|
+
open: boolean;
|
|
82
|
+
popoverId: string;
|
|
72
83
|
}) => any;
|
|
73
84
|
} & {
|
|
74
85
|
default?: (props: {}) => any;
|