@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.1
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/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +26 -18
- package/components/combobox/demo/customize.min.js +426 -126
- package/components/combobox/demo/getting-started.min.js +426 -126
- package/components/combobox/demo/index.min.js +426 -126
- package/components/combobox/dist/auro-combobox.d.ts +38 -21
- package/components/combobox/dist/index.js +338 -111
- package/components/combobox/dist/registered.js +338 -111
- package/components/counter/demo/api.md +34 -16
- package/components/counter/demo/customize.min.js +204 -64
- package/components/counter/demo/index.min.js +204 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +27 -4
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +204 -64
- package/components/counter/dist/registered.js +204 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +515 -134
- package/components/datepicker/demo/index.min.js +515 -134
- package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
- package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
- package/components/datepicker/dist/auro-calendar.d.ts +25 -6
- package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
- package/components/datepicker/dist/index.js +515 -134
- package/components/datepicker/dist/registered.js +515 -134
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +107 -37
- package/components/dropdown/demo/getting-started.min.js +245 -82
- package/components/dropdown/demo/index.min.js +107 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +107 -37
- package/components/dropdown/dist/registered.js +107 -37
- package/components/form/demo/customize.min.js +1518 -466
- package/components/form/demo/getting-started.min.js +1518 -466
- package/components/form/demo/index.min.js +1518 -466
- package/components/form/demo/registerDemoDeps.min.js +1518 -466
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +138 -45
- package/components/input/demo/getting-started.min.js +138 -45
- package/components/input/demo/index.min.js +138 -45
- package/components/input/dist/base-input.d.ts +79 -25
- package/components/input/dist/index.js +138 -45
- package/components/input/dist/registered.js +138 -45
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +31 -27
- package/components/menu/demo/index.min.js +108 -35
- package/components/menu/dist/auro-menu.d.ts +26 -21
- package/components/menu/dist/auro-menuoption.d.ts +27 -1
- package/components/menu/dist/index.js +108 -35
- package/components/menu/dist/registered.js +108 -35
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +21 -7
- package/components/radio/demo/getting-started.min.js +21 -7
- package/components/radio/demo/index.min.js +21 -7
- package/components/radio/dist/auro-radio-group.d.ts +8 -3
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +21 -7
- package/components/radio/dist/registered.js +21 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +259 -79
- package/components/select/demo/getting-started.min.js +259 -79
- package/components/select/demo/index.min.js +259 -79
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +171 -64
- package/components/select/dist/registered.js +171 -64
- package/custom-elements.json +1189 -1336
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* @slot label - Defines the content of the label.
|
|
11
11
|
* @slot helpText - Defines the content of the helpText.
|
|
12
12
|
* @slot displayValue - Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.
|
|
13
|
+
* @csspart helpText - The help text and error message content container.
|
|
13
14
|
* @event auroCombobox-valueSet - (Deprecated) Notifies that the component has a new value set.
|
|
14
15
|
* @event input - Notifies that the component has a new value set.
|
|
15
16
|
* @event inputValue - Notifies that the components internal HTML5 input value has changed.
|
|
@@ -19,13 +20,10 @@ export class AuroCombobox extends AuroElement {
|
|
|
19
20
|
static get properties(): {
|
|
20
21
|
/**
|
|
21
22
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
22
|
-
* @
|
|
23
|
+
* @type {'default' | 'inverse'}
|
|
23
24
|
* @default 'default'
|
|
24
25
|
*/
|
|
25
|
-
appearance:
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
reflect: boolean;
|
|
28
|
-
};
|
|
26
|
+
appearance: "default" | "inverse";
|
|
29
27
|
/**
|
|
30
28
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
31
29
|
*/
|
|
@@ -38,19 +36,16 @@ export class AuroCombobox extends AuroElement {
|
|
|
38
36
|
*/
|
|
39
37
|
autoPlacement: {
|
|
40
38
|
type: BooleanConstructor;
|
|
39
|
+
attribute: string;
|
|
41
40
|
reflect: boolean;
|
|
42
41
|
};
|
|
43
42
|
/**
|
|
44
43
|
* Array of available options to display in the dropdown.
|
|
45
44
|
* This array contains all non-hidden options (e.g., hidden by filtering on input value).
|
|
46
45
|
* @private
|
|
46
|
+
* @type {HTMLElement[]}
|
|
47
47
|
*/
|
|
48
|
-
availableOptions:
|
|
49
|
-
state: boolean;
|
|
50
|
-
type: ArrayConstructor;
|
|
51
|
-
reflect: boolean;
|
|
52
|
-
hasChanged(newVal: any, oldVal: any): any;
|
|
53
|
-
};
|
|
48
|
+
availableOptions: HTMLElement[];
|
|
54
49
|
/**
|
|
55
50
|
* Sets the behavior of the combobox, "filter" or "suggestion".
|
|
56
51
|
* "filter" requires the user to select an option from the menu.
|
|
@@ -96,6 +91,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
96
91
|
*/
|
|
97
92
|
dvInputOnly: {
|
|
98
93
|
type: BooleanConstructor;
|
|
94
|
+
attribute: string;
|
|
99
95
|
reflect: boolean;
|
|
100
96
|
};
|
|
101
97
|
/**
|
|
@@ -124,12 +120,25 @@ export class AuroCombobox extends AuroElement {
|
|
|
124
120
|
* @default 'classic'
|
|
125
121
|
*/
|
|
126
122
|
layout: "classic" | "emphasized" | "snowflake";
|
|
123
|
+
/**
|
|
124
|
+
* Sets the shape of the combobox.
|
|
125
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
126
|
+
* @default 'classic'
|
|
127
|
+
*/
|
|
128
|
+
shape: "box" | "classic" | "pill" | "pill-left" | "pill-right" | "rounded" | "snowflake";
|
|
129
|
+
/**
|
|
130
|
+
* Sets the size of the combobox.
|
|
131
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
132
|
+
* @default 'xl'
|
|
133
|
+
*/
|
|
134
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
127
135
|
/**
|
|
128
136
|
* If declared, the popover and trigger will be set to the same width.
|
|
129
137
|
* @private
|
|
130
138
|
*/
|
|
131
139
|
matchWidth: {
|
|
132
140
|
type: BooleanConstructor;
|
|
141
|
+
attribute: string;
|
|
133
142
|
reflect: boolean;
|
|
134
143
|
};
|
|
135
144
|
/**
|
|
@@ -137,6 +146,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
137
146
|
*/
|
|
138
147
|
noFilter: {
|
|
139
148
|
type: BooleanConstructor;
|
|
149
|
+
attribute: string;
|
|
140
150
|
reflect: boolean;
|
|
141
151
|
};
|
|
142
152
|
/**
|
|
@@ -145,6 +155,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
145
155
|
*/
|
|
146
156
|
noFlip: {
|
|
147
157
|
type: BooleanConstructor;
|
|
158
|
+
attribute: string;
|
|
148
159
|
reflect: boolean;
|
|
149
160
|
};
|
|
150
161
|
/**
|
|
@@ -159,6 +170,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
159
170
|
*/
|
|
160
171
|
noValidate: {
|
|
161
172
|
type: BooleanConstructor;
|
|
173
|
+
attribute: string;
|
|
162
174
|
reflect: boolean;
|
|
163
175
|
};
|
|
164
176
|
/**
|
|
@@ -174,6 +186,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
174
186
|
*/
|
|
175
187
|
onDark: {
|
|
176
188
|
type: BooleanConstructor;
|
|
189
|
+
attribute: string;
|
|
177
190
|
reflect: boolean;
|
|
178
191
|
};
|
|
179
192
|
/**
|
|
@@ -188,6 +201,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
188
201
|
*/
|
|
189
202
|
persistInput: {
|
|
190
203
|
type: BooleanConstructor;
|
|
204
|
+
attribute: string;
|
|
191
205
|
reflect: boolean;
|
|
192
206
|
};
|
|
193
207
|
/**
|
|
@@ -215,24 +229,28 @@ export class AuroCombobox extends AuroElement {
|
|
|
215
229
|
*/
|
|
216
230
|
setCustomValidity: {
|
|
217
231
|
type: StringConstructor;
|
|
232
|
+
attribute: string;
|
|
218
233
|
};
|
|
219
234
|
/**
|
|
220
235
|
* Custom help text message to display when validity = `customError`.
|
|
221
236
|
*/
|
|
222
237
|
setCustomValidityCustomError: {
|
|
223
238
|
type: StringConstructor;
|
|
239
|
+
attribute: string;
|
|
224
240
|
};
|
|
225
241
|
/**
|
|
226
242
|
* Custom help text message to display when validity = `valueMissing`.
|
|
227
243
|
*/
|
|
228
244
|
setCustomValidityValueMissing: {
|
|
229
245
|
type: StringConstructor;
|
|
246
|
+
attribute: string;
|
|
230
247
|
};
|
|
231
248
|
/**
|
|
232
249
|
* Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = "filter".
|
|
233
250
|
*/
|
|
234
251
|
setCustomValidityValueMissingFilter: {
|
|
235
252
|
type: StringConstructor;
|
|
253
|
+
attribute: string;
|
|
236
254
|
};
|
|
237
255
|
/**
|
|
238
256
|
* Indicates whether the combobox is in a dirty state (has been interacted with).
|
|
@@ -250,20 +268,20 @@ export class AuroCombobox extends AuroElement {
|
|
|
250
268
|
*/
|
|
251
269
|
triggerIcon: {
|
|
252
270
|
type: BooleanConstructor;
|
|
271
|
+
attribute: string;
|
|
253
272
|
reflect: boolean;
|
|
254
273
|
};
|
|
255
274
|
/**
|
|
256
275
|
* Applies the defined value as the type attribute on `auro-input`.
|
|
276
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'}
|
|
257
277
|
*/
|
|
258
|
-
type:
|
|
259
|
-
type: StringConstructor;
|
|
260
|
-
reflect: boolean;
|
|
261
|
-
};
|
|
278
|
+
type: "text" | "password" | "email" | "credit-card" | "tel" | "number" | "date";
|
|
262
279
|
/**
|
|
263
280
|
* Specifies the value of the input element within the combobox.
|
|
264
281
|
*/
|
|
265
282
|
typedValue: {
|
|
266
283
|
type: StringConstructor;
|
|
284
|
+
attribute: string;
|
|
267
285
|
reflect: boolean;
|
|
268
286
|
};
|
|
269
287
|
/**
|
|
@@ -285,6 +303,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
285
303
|
*/
|
|
286
304
|
largeFullscreenHeadline: {
|
|
287
305
|
type: BooleanConstructor;
|
|
306
|
+
attribute: string;
|
|
288
307
|
reflect: boolean;
|
|
289
308
|
};
|
|
290
309
|
/**
|
|
@@ -299,12 +318,9 @@ export class AuroCombobox extends AuroElement {
|
|
|
299
318
|
/**
|
|
300
319
|
* Specifies the currently active option.
|
|
301
320
|
* @private
|
|
321
|
+
* @type {HTMLElement}
|
|
302
322
|
*/
|
|
303
|
-
optionActive:
|
|
304
|
-
type: ObjectConstructor;
|
|
305
|
-
reflect: boolean;
|
|
306
|
-
attribute: boolean;
|
|
307
|
-
};
|
|
323
|
+
optionActive: HTMLElement;
|
|
308
324
|
};
|
|
309
325
|
static get styles(): import("lit").CSSResult[];
|
|
310
326
|
/**
|
|
@@ -321,7 +337,8 @@ export class AuroCombobox extends AuroElement {
|
|
|
321
337
|
* @returns {void} Internal defaults.
|
|
322
338
|
*/
|
|
323
339
|
private _initializeDefaults;
|
|
324
|
-
|
|
340
|
+
/** @type {'default' | 'inverse'} */
|
|
341
|
+
appearance: "default" | "inverse" | undefined;
|
|
325
342
|
disabled: boolean | undefined;
|
|
326
343
|
msgSelectionMissing: string | undefined;
|
|
327
344
|
noFilter: boolean | undefined;
|