@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.4 → 0.0.0-pr624.40
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 +44 -31
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +44 -31
- 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 +44 -31
- package/components/checkbox/dist/registered.js +44 -31
- package/components/combobox/demo/api.md +100 -2
- package/components/combobox/demo/api.min.js +3202 -759
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +3202 -759
- package/components/combobox/dist/auro-combobox.d.ts +37 -16
- package/components/combobox/dist/index.js +3091 -789
- package/components/combobox/dist/registered.js +3091 -789
- package/components/counter/demo/api.html +1 -0
- package/components/counter/demo/api.md +21 -19
- package/components/counter/demo/api.min.js +3324 -614
- package/components/counter/demo/index.html +1 -0
- package/components/counter/demo/index.md +103 -34
- package/components/counter/demo/index.min.js +3324 -614
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +89 -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 +3324 -614
- package/components/counter/dist/registered.js +3324 -614
- package/components/datepicker/demo/api.md +36 -19
- package/components/datepicker/demo/api.min.js +11976 -8000
- package/components/datepicker/demo/index.md +80 -0
- package/components/datepicker/demo/index.min.js +11976 -8000
- 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 +12238 -8262
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +12238 -8262
- package/components/dropdown/demo/api.md +8 -9
- package/components/dropdown/demo/api.min.js +551 -147
- package/components/dropdown/demo/index.md +57 -9
- package/components/dropdown/demo/index.min.js +551 -147
- package/components/dropdown/dist/auro-dropdown.d.ts +28 -9
- package/components/dropdown/dist/auro-dropdownBib.d.ts +22 -0
- package/components/dropdown/dist/index.js +551 -147
- package/components/dropdown/dist/registered.js +551 -147
- 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 +5 -2
- package/components/input/demo/api.md +271 -176
- package/components/input/demo/api.min.js +956 -270
- package/components/input/demo/index.md +48 -32
- package/components/input/demo/index.min.js +955 -269
- package/components/input/demo/readme.md +5 -2
- package/components/input/dist/auro-input.d.ts +23 -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 +955 -269
- package/components/input/dist/registered.js +955 -269
- 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 -8
- package/components/radio/demo/api.min.js +68 -80
- package/components/radio/demo/index.min.js +68 -80
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +9 -12
- package/components/radio/dist/index.js +68 -80
- package/components/radio/dist/registered.js +68 -80
- package/components/select/demo/api.md +123 -13
- package/components/select/demo/api.min.js +3045 -456
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +323 -763
- package/components/select/demo/index.min.js +3045 -456
- 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 +2925 -477
- package/components/select/dist/registered.js +2925 -477
- 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,6 +64,13 @@ 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;
|
|
@@ -186,9 +195,10 @@ export class AuroCombobox extends AuroElement {
|
|
|
186
195
|
};
|
|
187
196
|
/**
|
|
188
197
|
* Value selected for the dropdown menu.
|
|
189
|
-
* @type {string}
|
|
190
198
|
*/
|
|
191
|
-
value:
|
|
199
|
+
value: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
};
|
|
192
202
|
/**
|
|
193
203
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
194
204
|
* Otherwise, Heading 600
|
|
@@ -266,14 +276,34 @@ export class AuroCombobox extends AuroElement {
|
|
|
266
276
|
bibtemplateTag: any;
|
|
267
277
|
inputTag: any;
|
|
268
278
|
helpTextTag: any;
|
|
279
|
+
/**
|
|
280
|
+
* Checks if the element is valid.
|
|
281
|
+
* @returns {boolean} - Returns true if the element is valid, false otherwise.
|
|
282
|
+
*/
|
|
269
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;
|
|
270
301
|
/**
|
|
271
302
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
272
303
|
* @private
|
|
273
304
|
* @returns {void}
|
|
274
305
|
*/
|
|
275
306
|
private handleMenuOptions;
|
|
276
|
-
noMatchOption: any;
|
|
277
307
|
/**
|
|
278
308
|
* Determines the element error state based on the `required` attribute and input value.
|
|
279
309
|
* @private
|
|
@@ -299,15 +329,12 @@ export class AuroCombobox extends AuroElement {
|
|
|
299
329
|
* @returns {void}
|
|
300
330
|
*/
|
|
301
331
|
private configureDropdown;
|
|
302
|
-
menuWrapper: any;
|
|
303
332
|
bibtemplate: any;
|
|
333
|
+
inputInBib: any;
|
|
304
334
|
/**
|
|
305
|
-
* When the dropdown is visible in fullscreen mode, the input is moved to the subheader slot of bibtemplate.
|
|
306
|
-
* Otherwise, it's moved back to the trigger slot.
|
|
307
335
|
* @private
|
|
308
|
-
* @returns {void}
|
|
309
336
|
*/
|
|
310
|
-
private
|
|
337
|
+
private setInputFocus;
|
|
311
338
|
/**
|
|
312
339
|
* Binds all behavior needed to the menu after rendering.
|
|
313
340
|
* @private
|
|
@@ -315,13 +342,6 @@ export class AuroCombobox extends AuroElement {
|
|
|
315
342
|
*/
|
|
316
343
|
private configureMenu;
|
|
317
344
|
menu: Element;
|
|
318
|
-
/**
|
|
319
|
-
* Dispatches input's keyboard events from host
|
|
320
|
-
* This allows key events from the input to be handled by the parent.
|
|
321
|
-
* @private
|
|
322
|
-
* @param {KeyboardEvent} event - The keyboard event.
|
|
323
|
-
*/
|
|
324
|
-
private bubbleUpInputEvent;
|
|
325
345
|
/**
|
|
326
346
|
* Binds all behavior needed to the input after rendering.
|
|
327
347
|
* @private
|
|
@@ -346,6 +366,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
346
366
|
/**
|
|
347
367
|
* Handle changes to the input value and trigger changes that should result.
|
|
348
368
|
* @private
|
|
369
|
+
* @param {Event} event - The input event triggered by the input element.
|
|
349
370
|
* @returns {void}
|
|
350
371
|
*/
|
|
351
372
|
private handleInputValueChange;
|
|
@@ -374,7 +395,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
374
395
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
375
396
|
*/
|
|
376
397
|
validate(force?: boolean): void;
|
|
377
|
-
updated(changedProperties: any): void
|
|
398
|
+
updated(changedProperties: any): Promise<void>;
|
|
378
399
|
/**
|
|
379
400
|
* Applies slotted nodes to a target element with a new slot name.
|
|
380
401
|
* @private
|