@illinois-grad/grad-vue 7.1.0 → 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.
@@ -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",
@@ -127,10 +127,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
127
127
  onMouseenter?: ((...args: any[]) => any) | undefined;
128
128
  onMouseleave?: ((...args: any[]) => any) | undefined;
129
129
  }>, {
130
- size: "tiny" | "small" | "medium" | "large";
130
+ size: "medium" | "tiny" | "small" | "large";
131
131
  type: "button" | "submit" | "reset";
132
132
  text: boolean;
133
- theme: "primary" | "secondary" | "accent" | "danger" | "none";
133
+ theme: "none" | "primary" | "secondary" | "danger" | "accent";
134
134
  outlined: boolean;
135
135
  disabled: boolean;
136
136
  to: string | Record<string, any>;
@@ -90,7 +90,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
90
90
  }> & Readonly<{
91
91
  onClose?: ((...args: any[]) => any) | undefined;
92
92
  }>, {
93
- size: "small" | "medium" | "large" | "full";
93
+ size: "medium" | "small" | "large" | "full";
94
94
  describedby: string;
95
95
  hiddenLabel: boolean;
96
96
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -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;
@@ -50,5 +50,5 @@ declare const __VLS_export: import("vue").DefineComponent<{
50
50
  }> & Readonly<{}>, {
51
51
  label: string;
52
52
  value: number;
53
- size: "tiny" | "small" | "medium" | "large";
53
+ size: "medium" | "tiny" | "small" | "large";
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -102,7 +102,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
102
102
  }> & Readonly<{
103
103
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
104
104
  }>, {
105
- size: "small" | "medium" | "large";
105
+ size: "medium" | "small" | "large";
106
106
  required: boolean;
107
107
  name: string;
108
108
  disabled: boolean;
@@ -115,7 +115,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
115
115
  storageKey?: string;
116
116
  }> & Readonly<{}>, {
117
117
  width: string;
118
- theme: "light" | "dark";
118
+ theme: "dark" | "light";
119
119
  sidebarKey: string;
120
120
  backgroundColor: string;
121
121
  backgroundImage: string;
@@ -141,7 +141,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
141
141
  }> & Readonly<{
142
142
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
143
143
  }>, {
144
- theme: "light" | "dark";
144
+ theme: "dark" | "light";
145
145
  compact: boolean;
146
146
  offset: number;
147
147
  spy: boolean;
@@ -118,8 +118,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
118
118
  */
119
119
  smallHeading?: boolean;
120
120
  }> & Readonly<{}>, {
121
- theme: "light" | "dark";
122
- listType: "ul" | "ol";
121
+ theme: "dark" | "light";
122
+ listType: "ol" | "ul";
123
123
  showExpandAll: boolean;
124
124
  headingLevel: "h2" | "h3";
125
125
  smallHeading: boolean;
@@ -17,7 +17,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
17
17
  */
18
18
  listType?: "ul" | "ol";
19
19
  }> & Readonly<{}>, {
20
- listType: "ul" | "ol";
20
+ listType: "ol" | "ul";
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
22
22
  default?: (props: {}) => any;
23
23
  }>;