@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.3 → 0.0.0-pr624.31
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 +13 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1292 -79
- package/components/bibtemplate/dist/registered.js +1292 -79
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +47 -14
- package/components/checkbox/demo/api.min.js +35 -29
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +35 -29
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +3 -3
- package/components/checkbox/dist/index.js +35 -29
- package/components/checkbox/dist/registered.js +35 -29
- package/components/combobox/demo/api.md +101 -2
- package/components/combobox/demo/api.min.js +2935 -794
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +2935 -794
- package/components/combobox/dist/auro-combobox.d.ts +45 -16
- package/components/combobox/dist/index.js +2832 -832
- package/components/combobox/dist/registered.js +2832 -832
- package/components/counter/demo/api.md +21 -19
- package/components/counter/demo/api.min.js +3648 -929
- package/components/counter/demo/index.md +99 -34
- package/components/counter/demo/index.min.js +3648 -929
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +105 -6
- package/components/counter/dist/auro-counter.d.ts +6 -0
- package/components/counter/dist/helptextVersion.d.ts +2 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +3648 -929
- package/components/counter/dist/registered.js +3648 -929
- package/components/datepicker/demo/api.md +36 -19
- package/components/datepicker/demo/api.min.js +14662 -10980
- package/components/datepicker/demo/index.md +80 -0
- package/components/datepicker/demo/index.min.js +14662 -10980
- package/components/datepicker/dist/auro-datepicker.d.ts +71 -3
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +11706 -8024
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +11706 -8024
- package/components/dropdown/demo/api.md +6 -7
- package/components/dropdown/demo/api.min.js +238 -144
- package/components/dropdown/demo/index.md +57 -9
- package/components/dropdown/demo/index.min.js +238 -144
- package/components/dropdown/dist/auro-dropdown.d.ts +10 -9
- package/components/dropdown/dist/auro-dropdownBib.d.ts +22 -0
- package/components/dropdown/dist/index.js +238 -144
- package/components/dropdown/dist/registered.js +238 -144
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/index.js +2 -2
- package/components/helptext/dist/registered.js +2 -2
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +133 -97
- package/components/input/demo/api.min.js +972 -269
- package/components/input/demo/index.md +14 -14
- package/components/input/demo/index.min.js +971 -268
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/auro-input.d.ts +197 -15
- package/components/input/dist/base-input.d.ts +32 -8
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +971 -268
- package/components/input/dist/registered.js +971 -268
- package/components/layoutElement/dist/index.js +13 -10
- package/components/menu/demo/api.html +38 -0
- package/components/menu/demo/api.md +68 -7
- package/components/menu/demo/api.min.js +278 -42
- package/components/menu/demo/index.min.js +278 -42
- package/components/menu/dist/auro-menu.d.ts +28 -5
- package/components/menu/dist/auro-menuoption.d.ts +15 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +278 -42
- package/components/menu/dist/registered.js +278 -42
- package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
- package/components/radio/demo/api.md +7 -7
- package/components/radio/demo/api.min.js +16 -13
- package/components/radio/demo/index.min.js +16 -13
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +16 -13
- package/components/radio/dist/registered.js +16 -13
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +124 -13
- package/components/select/demo/api.min.js +2802 -538
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +325 -763
- package/components/select/demo/index.min.js +2795 -543
- package/components/select/dist/auro-select.d.ts +112 -11
- package/components/select/dist/helptextVersion.d.ts +2 -0
- package/components/select/dist/index.js +2538 -427
- package/components/select/dist/registered.js +2538 -427
- package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/select/dist/styles/tokens-css.d.ts +2 -0
- package/package.json +6 -4
- /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
- /package/components/{dropdown/dist/styles/default/bibStyles-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default/style-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-css.d.ts} +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @slot - Default slot for the menu content.
|
|
3
|
+
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
3
4
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
4
5
|
* @slot label - Defines the content of the label.
|
|
5
6
|
* @slot helpText - Defines the content of the helpText.
|
|
7
|
+
* @slot displayValue - Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.
|
|
6
8
|
* @event auroCombobox-valueSet - Notifies that the component has a new value set.
|
|
7
9
|
* @event auroFormElement-validated - Notifies that the component value(s) have been validated.
|
|
8
10
|
*/
|
|
@@ -62,12 +64,26 @@ export class AuroCombobox extends AuroElement {
|
|
|
62
64
|
type: StringConstructor;
|
|
63
65
|
reflect: boolean;
|
|
64
66
|
};
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the input mask format.
|
|
69
|
+
*/
|
|
70
|
+
format: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
reflect: boolean;
|
|
73
|
+
};
|
|
65
74
|
/** Exposes inputmode attribute for input. */
|
|
66
75
|
inputmode: {
|
|
67
76
|
type: StringConstructor;
|
|
68
77
|
attribute: boolean;
|
|
69
78
|
reflect: boolean;
|
|
70
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* If declared, the popover and trigger will be set to the same width.
|
|
82
|
+
*/
|
|
83
|
+
matchWidth: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
reflect: boolean;
|
|
86
|
+
};
|
|
71
87
|
/**
|
|
72
88
|
* If set, combobox will not filter menuoptions based in input.
|
|
73
89
|
*/
|
|
@@ -179,9 +195,10 @@ export class AuroCombobox extends AuroElement {
|
|
|
179
195
|
};
|
|
180
196
|
/**
|
|
181
197
|
* Value selected for the dropdown menu.
|
|
182
|
-
* @type {string}
|
|
183
198
|
*/
|
|
184
|
-
value:
|
|
199
|
+
value: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
};
|
|
185
202
|
/**
|
|
186
203
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
187
204
|
* Otherwise, Heading 600
|
|
@@ -222,6 +239,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
222
239
|
*
|
|
223
240
|
*/
|
|
224
241
|
static register(name?: string): void;
|
|
242
|
+
matchWidth: boolean;
|
|
225
243
|
/**
|
|
226
244
|
* @private
|
|
227
245
|
* @returns {void} Internal defaults.
|
|
@@ -258,14 +276,34 @@ export class AuroCombobox extends AuroElement {
|
|
|
258
276
|
bibtemplateTag: any;
|
|
259
277
|
inputTag: any;
|
|
260
278
|
helpTextTag: any;
|
|
279
|
+
/**
|
|
280
|
+
* Checks if the element is valid.
|
|
281
|
+
* @returns {boolean} - Returns true if the element is valid, false otherwise.
|
|
282
|
+
*/
|
|
261
283
|
isValid(): boolean;
|
|
284
|
+
/**
|
|
285
|
+
* Updates the filter for the available options based on the input value.
|
|
286
|
+
* @private
|
|
287
|
+
*/
|
|
288
|
+
private updateFilter;
|
|
289
|
+
noMatchOption: any;
|
|
290
|
+
/**
|
|
291
|
+
* Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.
|
|
292
|
+
* @private
|
|
293
|
+
* @returns {void}
|
|
294
|
+
*/
|
|
295
|
+
private syncValuesAndStates;
|
|
296
|
+
/**
|
|
297
|
+
* Resets the menu matchWord to true.
|
|
298
|
+
* @private
|
|
299
|
+
*/
|
|
300
|
+
private resetMenuMatchword;
|
|
262
301
|
/**
|
|
263
302
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
264
303
|
* @private
|
|
265
304
|
* @returns {void}
|
|
266
305
|
*/
|
|
267
306
|
private handleMenuOptions;
|
|
268
|
-
noMatchOption: any;
|
|
269
307
|
/**
|
|
270
308
|
* Determines the element error state based on the `required` attribute and input value.
|
|
271
309
|
* @private
|
|
@@ -291,15 +329,12 @@ export class AuroCombobox extends AuroElement {
|
|
|
291
329
|
* @returns {void}
|
|
292
330
|
*/
|
|
293
331
|
private configureDropdown;
|
|
294
|
-
menuWrapper: any;
|
|
295
332
|
bibtemplate: any;
|
|
333
|
+
inputInBib: any;
|
|
296
334
|
/**
|
|
297
|
-
* When the dropdown is visible in fullscreen mode, the input is moved to the subheader slot of bibtemplate.
|
|
298
|
-
* Otherwise, it's moved back to the trigger slot.
|
|
299
335
|
* @private
|
|
300
|
-
* @returns {void}
|
|
301
336
|
*/
|
|
302
|
-
private
|
|
337
|
+
private setInputFocus;
|
|
303
338
|
/**
|
|
304
339
|
* Binds all behavior needed to the menu after rendering.
|
|
305
340
|
* @private
|
|
@@ -307,13 +342,6 @@ export class AuroCombobox extends AuroElement {
|
|
|
307
342
|
*/
|
|
308
343
|
private configureMenu;
|
|
309
344
|
menu: Element;
|
|
310
|
-
/**
|
|
311
|
-
* Dispatches input's keyboard events from host
|
|
312
|
-
* This allows key events from the input to be handled by the parent.
|
|
313
|
-
* @private
|
|
314
|
-
* @param {KeyboardEvent} event - The keyboard event.
|
|
315
|
-
*/
|
|
316
|
-
private bubbleUpInputEvent;
|
|
317
345
|
/**
|
|
318
346
|
* Binds all behavior needed to the input after rendering.
|
|
319
347
|
* @private
|
|
@@ -338,6 +366,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
338
366
|
/**
|
|
339
367
|
* Handle changes to the input value and trigger changes that should result.
|
|
340
368
|
* @private
|
|
369
|
+
* @param {Event} event - The input event triggered by the input element.
|
|
341
370
|
* @returns {void}
|
|
342
371
|
*/
|
|
343
372
|
private handleInputValueChange;
|
|
@@ -366,7 +395,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
366
395
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
367
396
|
*/
|
|
368
397
|
validate(force?: boolean): void;
|
|
369
|
-
updated(changedProperties: any): void
|
|
398
|
+
updated(changedProperties: any): Promise<void>;
|
|
370
399
|
/**
|
|
371
400
|
* Applies slotted nodes to a target element with a new slot name.
|
|
372
401
|
* @private
|