@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.8 → 0.0.0-pr624.81
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 +12 -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 +1262 -81
- package/components/bibtemplate/dist/registered.js +1262 -81
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.html +16 -10
- package/components/checkbox/demo/api.md +49 -15
- package/components/checkbox/demo/api.min.js +74 -46
- package/components/checkbox/demo/index.html +16 -10
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +74 -46
- package/components/checkbox/demo/readme.html +16 -9
- 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 +73 -45
- package/components/checkbox/dist/registered.js +73 -45
- package/components/combobox/demo/api.html +16 -10
- package/components/combobox/demo/api.md +115 -8
- package/components/combobox/demo/api.min.js +3148 -929
- package/components/combobox/demo/index.html +16 -10
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +3148 -929
- package/components/combobox/demo/readme.html +16 -9
- package/components/combobox/dist/auro-combobox.d.ts +44 -12
- package/components/combobox/dist/index.js +2895 -816
- package/components/combobox/dist/registered.js +2895 -816
- package/components/counter/demo/api.html +17 -10
- package/components/counter/demo/api.md +158 -21
- package/components/counter/demo/api.min.js +3413 -729
- package/components/counter/demo/index.html +17 -10
- package/components/counter/demo/index.md +185 -34
- package/components/counter/demo/index.min.js +3413 -729
- package/components/counter/demo/readme.html +16 -9
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +161 -11
- package/components/counter/dist/auro-counter.d.ts +16 -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 +3416 -732
- package/components/counter/dist/registered.js +3416 -732
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.html +16 -10
- package/components/datepicker/demo/api.md +59 -28
- package/components/datepicker/demo/api.min.js +7096 -3260
- package/components/datepicker/demo/index.html +16 -10
- package/components/datepicker/demo/index.md +75 -8
- package/components/datepicker/demo/index.min.js +7096 -3260
- package/components/datepicker/demo/readme.html +16 -9
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +151 -12
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +6810 -2974
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +6810 -2974
- package/components/dropdown/demo/api.html +16 -10
- package/components/dropdown/demo/api.md +82 -275
- package/components/dropdown/demo/api.min.js +450 -261
- package/components/dropdown/demo/index.html +16 -10
- package/components/dropdown/demo/index.md +92 -362
- package/components/dropdown/demo/index.min.js +450 -261
- package/components/dropdown/demo/readme.html +16 -9
- package/components/dropdown/dist/auro-dropdown.d.ts +43 -83
- package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
- package/components/dropdown/dist/index.js +449 -260
- package/components/dropdown/dist/registered.js +449 -260
- package/components/form/demo/api.html +16 -9
- package/components/form/demo/api.min.js +2 -2
- package/components/form/demo/autocomplete.html +19 -3
- package/components/form/demo/index.html +16 -9
- package/components/form/demo/index.min.js +2 -2
- package/components/form/demo/readme.html +16 -9
- package/components/form/demo/working.html +19 -13
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/auro-helptext.d.ts +0 -2
- package/components/helptext/dist/index.js +3 -5
- package/components/helptext/dist/registered.js +3 -5
- package/components/input/README.md +5 -2
- package/components/input/demo/api.html +16 -10
- package/components/input/demo/api.md +228 -130
- package/components/input/demo/api.min.js +908 -248
- package/components/input/demo/index.html +16 -10
- package/components/input/demo/index.md +48 -32
- package/components/input/demo/index.min.js +908 -248
- package/components/input/demo/readme.html +16 -9
- package/components/input/demo/readme.md +5 -2
- package/components/input/dist/auro-input.d.ts +3 -3
- package/components/input/dist/base-input.d.ts +38 -10
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +907 -247
- package/components/input/dist/registered.js +907 -247
- package/components/layoutElement/dist/index.js +11 -8
- package/components/layoutElement/dist/registered.js +97 -0
- package/components/menu/demo/api.html +17 -10
- package/components/menu/demo/api.md +65 -8
- package/components/menu/demo/api.min.js +298 -63
- package/components/menu/demo/index.html +16 -10
- package/components/menu/demo/index.min.js +298 -63
- package/components/menu/demo/readme.html +16 -9
- package/components/menu/dist/auro-menu.d.ts +53 -7
- package/components/menu/dist/auro-menuoption.d.ts +21 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +283 -48
- package/components/menu/dist/registered.js +283 -48
- 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/menu/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/radio/demo/api.html +16 -10
- package/components/radio/demo/api.md +39 -9
- package/components/radio/demo/api.min.js +92 -96
- package/components/radio/demo/index.html +16 -10
- package/components/radio/demo/index.min.js +92 -96
- package/components/radio/demo/readme.html +16 -9
- 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 +91 -95
- package/components/radio/dist/registered.js +91 -95
- package/components/select/demo/api.html +16 -10
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +150 -121
- package/components/select/demo/api.min.js +2213 -693
- package/components/select/demo/index.html +17 -11
- package/components/select/demo/index.md +1066 -259
- package/components/select/demo/index.min.js +2214 -682
- package/components/select/demo/readme.html +16 -9
- package/components/select/dist/auro-select.d.ts +59 -21
- package/components/select/dist/index.js +2108 -716
- package/components/select/dist/registered.js +2108 -716
- package/package.json +31 -28
- /package/components/{datepicker/dist/styles/default/color-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/classic}/color-css.d.ts +0 -0
- /package/components/datepicker/dist/styles/{emphasized → classic}/style-css.d.ts +0 -0
- /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
- /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-css.d.ts} +0 -0
|
@@ -20,12 +20,11 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
20
20
|
| [autocomplete](#autocomplete) | `autocomplete` | `string` | | If declared, sets the autocomplete attribute for the select element. |
|
|
21
21
|
| [disabled](#disabled) | `disabled` | `boolean` | | When attribute is present, element shows disabled state. |
|
|
22
22
|
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
|
|
23
|
-
| [flexMenuWidth](#flexMenuWidth) | `flexMenuWidth` | `boolean` | | If set, makes dropdown width match the size of the content, rather than the width of the trigger. |
|
|
24
23
|
| [forceDisplayValue](#forceDisplayValue) | `forceDisplayValue` | `boolean` | false | If declared, the label and value will be visually hidden and the displayValue will render 100% of the time. |
|
|
25
24
|
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
26
25
|
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
27
|
-
| [layout](#layout) | | `string` | "
|
|
28
|
-
| [matchWidth](#matchWidth) | `matchWidth` | `boolean` |
|
|
26
|
+
| [layout](#layout) | | `string` | "snowflake" | |
|
|
27
|
+
| [matchWidth](#matchWidth) | `matchWidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
|
|
29
28
|
| [multiSelect](#multiSelect) | `multiselect` | `boolean` | | Sets multi-select mode, allowing multiple options to be selected at once. |
|
|
30
29
|
| [name](#name) | `name` | `string` | | The name for the select element. |
|
|
31
30
|
| [noCheckmark](#noCheckmark) | `noCheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
|
|
@@ -34,25 +33,25 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
34
33
|
| [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
|
|
35
34
|
| [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
|
|
36
35
|
| [optionSelected](#optionSelected) | `optionSelected` | `HTMLElement\|Array<HTMLElement>` | | Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true. |
|
|
37
|
-
| [
|
|
36
|
+
| [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text. |
|
|
37
|
+
| [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end". |
|
|
38
38
|
| [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
|
|
39
39
|
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
40
40
|
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
41
41
|
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
42
|
-
| [shape](#shape) | | `string` | "
|
|
42
|
+
| [shape](#shape) | | `string` | "snowflake" | |
|
|
43
43
|
| [size](#size) | | `string` | "xl" | |
|
|
44
44
|
| [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
45
|
-
| [value](#value) | `value` | `
|
|
45
|
+
| [value](#value) | `value` | `string` | | Value selected for the component. |
|
|
46
46
|
|
|
47
47
|
## Methods
|
|
48
48
|
|
|
49
|
-
| Method
|
|
50
|
-
|
|
51
|
-
| [
|
|
52
|
-
| [
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
49
|
+
| Method | Type | Description |
|
|
50
|
+
|------------|----------------------------------------|--------------------------------------------------|
|
|
51
|
+
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
52
|
+
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
53
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
54
|
+
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
56
55
|
|
|
57
56
|
## Events
|
|
58
57
|
|
|
@@ -60,7 +59,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
60
59
|
|-----------------------------|--------------------------------------------------|--------------------------------------------------|
|
|
61
60
|
| `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
|
|
62
61
|
| `auroSelect-valueSet` | `CustomEvent<any>` | Notifies that the component has a new value set. |
|
|
63
|
-
| [input](#input) | `CustomEvent<{ optionSelected: any; value:
|
|
62
|
+
| [input](#input) | `CustomEvent<{ optionSelected: any; value: string \| string[]; }>` | Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object. |
|
|
64
63
|
|
|
65
64
|
## Slots
|
|
66
65
|
|
|
@@ -68,9 +67,10 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
68
67
|
|---------------------------|--------------------------------------------------|
|
|
69
68
|
| | Default slot for the menu content. |
|
|
70
69
|
| `bib.fullscreen.headline` | Defines the headline to display above menu-options |
|
|
70
|
+
| [displayValue](#displayValue) | Allows custom HTML content to display the selected value when select is not focused. |
|
|
71
71
|
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
72
72
|
| [label](#label) | Defines the content of the label. |
|
|
73
|
-
| [
|
|
73
|
+
| [optionalLabel](#optionalLabel) | Allows overriding the optional display text "(optional)", which appears next to the label. |
|
|
74
74
|
| [valueText](#valueText) | Dropdown value text display. |
|
|
75
75
|
|
|
76
76
|
## CSS Shadow Parts
|
|
@@ -410,10 +410,9 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
|
|
|
410
410
|
<div class="exampleWrapper">
|
|
411
411
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
412
412
|
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
413
|
-
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
413
|
+
<auro-select required setCustomValidityValueMissing="Custom required validation error message." placeholder="Placeholder Text">
|
|
414
414
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
415
|
-
<span slot="label">
|
|
416
|
-
<label slot="placeholder">Placeholder Text</label>
|
|
415
|
+
<span slot="label">Label</span>
|
|
417
416
|
<auro-menu>
|
|
418
417
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
419
418
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -431,10 +430,53 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
|
|
|
431
430
|
<!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
|
|
432
431
|
|
|
433
432
|
```html
|
|
434
|
-
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
433
|
+
<auro-select required setCustomValidityValueMissing="Custom required validation error message." placeholder="Placeholder Text">
|
|
435
434
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
436
|
-
<span slot="label">
|
|
437
|
-
<
|
|
435
|
+
<span slot="label">Label</span>
|
|
436
|
+
<auro-menu>
|
|
437
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
438
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
439
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
440
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
441
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
442
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
443
|
+
</auro-menu>
|
|
444
|
+
</auro-select>
|
|
445
|
+
```
|
|
446
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
447
|
+
</auro-accordion>
|
|
448
|
+
|
|
449
|
+
### Custom optional label <a name="optionalLabel"></a>
|
|
450
|
+
The `<auro-select>` supports an `optionalLabel` slot, where users can can override the default `(optional)` notification text.
|
|
451
|
+
|
|
452
|
+
<div class="exampleWrapper">
|
|
453
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/optionalLabel.html) -->
|
|
454
|
+
<!-- The below content is automatically added from ./../apiExamples/optionalLabel.html -->
|
|
455
|
+
<auro-select>
|
|
456
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
457
|
+
<span slot="label">Please select a preference</span>
|
|
458
|
+
<span slot="optionalLabel" style="color: grey; font-size: small"> - optional</span>
|
|
459
|
+
<auro-menu>
|
|
460
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
461
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
462
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
463
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
464
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
465
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
466
|
+
</auro-menu>
|
|
467
|
+
</auro-select>
|
|
468
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
469
|
+
</div>
|
|
470
|
+
<auro-accordion alignRight>
|
|
471
|
+
<span slot="trigger">See code</span>
|
|
472
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/optionalLabel.html) -->
|
|
473
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/optionalLabel.html -->
|
|
474
|
+
|
|
475
|
+
```html
|
|
476
|
+
<auro-select>
|
|
477
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
478
|
+
<span slot="label">Please select a preference</span>
|
|
479
|
+
<span slot="optionalLabel" style="color: grey; font-size: small"> - optional</span>
|
|
438
480
|
<auro-menu>
|
|
439
481
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
440
482
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -454,10 +496,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
454
496
|
<div class="exampleWrapper">
|
|
455
497
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
456
498
|
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
457
|
-
<auro-select error="Custom error message">
|
|
458
|
-
<span slot="label">error select example</span>
|
|
499
|
+
<auro-select error="Custom error message" placeholder="Placeholder Text">
|
|
459
500
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
460
|
-
<
|
|
501
|
+
<span slot="label">Label</span>
|
|
461
502
|
<auro-menu>
|
|
462
503
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
463
504
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -472,10 +513,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
472
513
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
473
514
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
474
515
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
475
|
-
<auro-select onDark error="Custom error message">
|
|
476
|
-
<span slot="label">error select example</span>
|
|
516
|
+
<auro-select onDark error="Custom error message" placeholder="Placeholder Text">
|
|
477
517
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
478
|
-
<
|
|
518
|
+
<span slot="label">Label</span>
|
|
479
519
|
<auro-menu>
|
|
480
520
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
481
521
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -493,10 +533,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
493
533
|
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
494
534
|
|
|
495
535
|
```html
|
|
496
|
-
<auro-select error="Custom error message">
|
|
497
|
-
<span slot="label">error select example</span>
|
|
536
|
+
<auro-select error="Custom error message" placeholder="Placeholder Text">
|
|
498
537
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
499
|
-
<
|
|
538
|
+
<span slot="label">Label</span>
|
|
500
539
|
<auro-menu>
|
|
501
540
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
502
541
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -510,10 +549,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
510
549
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
511
550
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
512
551
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
513
|
-
<auro-select onDark error="Custom error message">
|
|
514
|
-
<span slot="label">error select example</span>
|
|
552
|
+
<auro-select onDark error="Custom error message" placeholder="Placeholder Text">
|
|
515
553
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
516
|
-
<
|
|
554
|
+
<span slot="label">Label</span>
|
|
517
555
|
<auro-menu>
|
|
518
556
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
519
557
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -532,10 +570,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
532
570
|
<div class="exampleWrapper">
|
|
533
571
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
534
572
|
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
535
|
-
<auro-select disabled>
|
|
573
|
+
<auro-select disabled placeholder="Placeholder Text">
|
|
536
574
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
537
|
-
<
|
|
538
|
-
<span slot="label">disabled select example</span>
|
|
575
|
+
<span slot="label">Label</span>
|
|
539
576
|
<auro-menu>
|
|
540
577
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
541
578
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -550,10 +587,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
550
587
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
551
588
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
|
|
552
589
|
<!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
|
|
553
|
-
<auro-select onDark disabled>
|
|
590
|
+
<auro-select onDark disabled placeholder="Placeholder Text">
|
|
554
591
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
555
|
-
<
|
|
556
|
-
<span slot="label">disabled select example</span>
|
|
592
|
+
<span slot="label">Label</span>
|
|
557
593
|
<auro-menu>
|
|
558
594
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
559
595
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -571,10 +607,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
571
607
|
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
572
608
|
|
|
573
609
|
```html
|
|
574
|
-
<auro-select disabled>
|
|
610
|
+
<auro-select disabled placeholder="Placeholder Text">
|
|
575
611
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
576
|
-
<
|
|
577
|
-
<span slot="label">disabled select example</span>
|
|
612
|
+
<span slot="label">Label</span>
|
|
578
613
|
<auro-menu>
|
|
579
614
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
580
615
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -588,10 +623,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
588
623
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
589
624
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
|
|
590
625
|
<!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
|
|
591
|
-
<auro-select onDark disabled>
|
|
626
|
+
<auro-select onDark disabled placeholder="Placeholder Text">
|
|
592
627
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
593
|
-
<
|
|
594
|
-
<span slot="label">disabled select example</span>
|
|
628
|
+
<span slot="label">Label</span>
|
|
595
629
|
<auro-menu>
|
|
596
630
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
597
631
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -648,10 +682,9 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
648
682
|
<div class="exampleWrapper">
|
|
649
683
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
|
|
650
684
|
<!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
651
|
-
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
652
|
-
<span slot="label">flexMenuWidth select example</span>
|
|
685
|
+
<auro-select flexMenuWidth id="flexMenuWidthExample" placeholder="Placeholder Text">
|
|
653
686
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
654
|
-
<
|
|
687
|
+
<span slot="label">Label</span>
|
|
655
688
|
<auro-menu>
|
|
656
689
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
657
690
|
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
@@ -673,10 +706,9 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
673
706
|
<!-- The below code snippet is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
674
707
|
|
|
675
708
|
```html
|
|
676
|
-
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
677
|
-
<span slot="label">flexMenuWidth select example</span>
|
|
709
|
+
<auro-select flexMenuWidth id="flexMenuWidthExample" placeholder="Placeholder Text">
|
|
678
710
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
679
|
-
<
|
|
711
|
+
<span slot="label">Label</span>
|
|
680
712
|
<auro-menu>
|
|
681
713
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
682
714
|
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
@@ -739,16 +771,15 @@ Use the `label` slot to give your users contextual information about their selec
|
|
|
739
771
|
</auro-accordion>
|
|
740
772
|
|
|
741
773
|
#### helpText <a name="helpText"></a>
|
|
742
|
-
Use the `
|
|
774
|
+
Use the `helpText` slot to provide additional information back to your user about their selection option(s).
|
|
743
775
|
|
|
744
776
|
<div class="exampleWrapper">
|
|
745
777
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
746
778
|
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
747
|
-
<auro-select>
|
|
779
|
+
<auro-select placeholder="Placeholder Text">
|
|
748
780
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
749
|
-
<
|
|
781
|
+
<span slot="label">Label</span>
|
|
750
782
|
<span slot="helpText">Custom help text message.</span>
|
|
751
|
-
<span slot="label">helpText select example</span>
|
|
752
783
|
<auro-menu>
|
|
753
784
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
754
785
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -766,11 +797,10 @@ Use the `helptext` slot to provide additional information back to your user abou
|
|
|
766
797
|
<!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
|
|
767
798
|
|
|
768
799
|
```html
|
|
769
|
-
<auro-select>
|
|
800
|
+
<auro-select placeholder="Placeholder Text">
|
|
770
801
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
771
|
-
<
|
|
802
|
+
<span slot="label">Label</span>
|
|
772
803
|
<span slot="helpText">Custom help text message.</span>
|
|
773
|
-
<span slot="label">helpText select example</span>
|
|
774
804
|
<auro-menu>
|
|
775
805
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
776
806
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -795,9 +825,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
|
|
|
795
825
|
<!-- The below content is automatically added from ./../apiExamples/resetState.html -->
|
|
796
826
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
797
827
|
<br/><br/>
|
|
798
|
-
<auro-select id="resetStateExample" value="price">
|
|
828
|
+
<auro-select id="resetStateExample" value="price" placeholder="Placeholder Text">
|
|
799
829
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
800
|
-
<
|
|
830
|
+
<span slot="label">Label</span>
|
|
801
831
|
<span slot="label">Name</span>
|
|
802
832
|
<auro-menu>
|
|
803
833
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -818,9 +848,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
|
|
|
818
848
|
```html
|
|
819
849
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
820
850
|
<br/><br/>
|
|
821
|
-
<auro-select id="resetStateExample" value="price">
|
|
851
|
+
<auro-select id="resetStateExample" value="price" placeholder="Placeholder Text">
|
|
822
852
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
823
|
-
<
|
|
853
|
+
<span slot="label">Label</span>
|
|
824
854
|
<span slot="label">Name</span>
|
|
825
855
|
<auro-menu>
|
|
826
856
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -855,10 +885,9 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
855
885
|
<div class="exampleWrapper">
|
|
856
886
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
|
|
857
887
|
<!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
858
|
-
<auro-select id="valueExtraction">
|
|
888
|
+
<auro-select id="valueExtraction" placeholder="Placeholder Text">
|
|
859
889
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
860
|
-
<
|
|
861
|
-
<span slot="label">Select Example</span>
|
|
890
|
+
<span slot="label">Label</span>
|
|
862
891
|
<auro-menu>
|
|
863
892
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
864
893
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -877,10 +906,9 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
877
906
|
<!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
878
907
|
|
|
879
908
|
```html
|
|
880
|
-
<auro-select id="valueExtraction">
|
|
909
|
+
<auro-select id="valueExtraction" placeholder="Placeholder Text">
|
|
881
910
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
882
|
-
<
|
|
883
|
-
<span slot="label">Select Example</span>
|
|
911
|
+
<span slot="label">Label</span>
|
|
884
912
|
<auro-menu>
|
|
885
913
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
886
914
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -919,10 +947,9 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
919
947
|
<div class="exampleWrapper">
|
|
920
948
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
|
|
921
949
|
<!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
922
|
-
<auro-select id="primaryError">
|
|
950
|
+
<auro-select id="primaryError" placeholder="Placeholder Text">
|
|
923
951
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
924
|
-
<
|
|
925
|
-
<span slot="label">Select Example</span>
|
|
952
|
+
<span slot="label">Label</span>
|
|
926
953
|
<auro-menu>
|
|
927
954
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
928
955
|
<auro-menuoption value="2">2</auro-menuoption>
|
|
@@ -940,10 +967,9 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
940
967
|
<!-- The below code snippet is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
941
968
|
|
|
942
969
|
```html
|
|
943
|
-
<auro-select id="primaryError">
|
|
970
|
+
<auro-select id="primaryError" placeholder="Placeholder Text">
|
|
944
971
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
945
|
-
<
|
|
946
|
-
<span slot="label">Select Example</span>
|
|
972
|
+
<span slot="label">Label</span>
|
|
947
973
|
<auro-menu>
|
|
948
974
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
949
975
|
<auro-menuoption value="2">2</auro-menuoption>
|
|
@@ -1042,57 +1068,56 @@ export function auroMenuLoadingExample() {
|
|
|
1042
1068
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1043
1069
|
</auro-accordion>
|
|
1044
1070
|
|
|
1045
|
-
###
|
|
1046
|
-
The label for selected option can be customized using `
|
|
1047
|
-
This slot can be manipulated on the `input` event which delivers the new value and selected `auro-menuoption` element in the `detail` object.
|
|
1071
|
+
### displayValue <a name="displayValue"></a>
|
|
1072
|
+
The label for selected option can be customized using `displayValue` slot under `<menuoption>.
|
|
1048
1073
|
|
|
1049
1074
|
<div class="exampleWrapper">
|
|
1050
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
1051
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
1052
|
-
<auro-select id="
|
|
1075
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/displayValue.html) -->
|
|
1076
|
+
<!-- The below content is automatically added from ./../apiExamples/displayValue.html -->
|
|
1077
|
+
<auro-select id="displayValueExample" autocomplete="address-level1">
|
|
1053
1078
|
<span slot="bib.fullscreen.headline">Select Your Gender</span>
|
|
1054
1079
|
<span slot="label">Gender</span>
|
|
1055
|
-
<span slot="
|
|
1080
|
+
<span slot="displayValue"></span>
|
|
1056
1081
|
<auro-menu>
|
|
1057
|
-
<auro-menuoption value="m" data-display="Male">M - Male
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
<auro-menuoption value="
|
|
1082
|
+
<auro-menuoption value="m" data-display="Male">M - Male
|
|
1083
|
+
<span slot="displayValue">Male</span>
|
|
1084
|
+
</auro-menuoption>
|
|
1085
|
+
<auro-menuoption value="f" data-display="Female">F - Female
|
|
1086
|
+
<span slot="displayValue">Female</span>
|
|
1087
|
+
</auro-menuoption>
|
|
1088
|
+
<auro-menuoption value="x" data-display="Unspecified">X - Unspecified
|
|
1089
|
+
<span slot="displayValue">Unspecified</span>
|
|
1090
|
+
</auro-menuoption>
|
|
1091
|
+
<auro-menuoption value="u" data-display="Undisclosed">U - Undisclosed
|
|
1092
|
+
<span slot="displayValue">Undisclosed</span>
|
|
1093
|
+
</auro-menuoption>
|
|
1061
1094
|
</auro-menu>
|
|
1062
1095
|
</auro-select>
|
|
1063
1096
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1064
1097
|
</div>
|
|
1065
1098
|
<auro-accordion alignRight>
|
|
1066
1099
|
<span slot="trigger">See code</span>
|
|
1067
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
1068
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
1069
|
-
|
|
1070
|
-
```js
|
|
1071
|
-
export function valueTextExample() {
|
|
1072
|
-
const onValueTextSelectInput = (e) => {
|
|
1073
|
-
const valueText = e.target.querySelector("[slot=valueText]");
|
|
1074
|
-
|
|
1075
|
-
valueText.textContent = e.detail.optionSelected.dataset.display;
|
|
1076
|
-
};
|
|
1077
|
-
|
|
1078
|
-
const select = document.querySelector("#valueTextExample");
|
|
1079
|
-
select.addEventListener('input', onValueTextSelectInput);
|
|
1080
|
-
}
|
|
1081
|
-
```
|
|
1082
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1083
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueText.html) -->
|
|
1084
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/valueText.html -->
|
|
1100
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/displayValue.html) -->
|
|
1101
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/displayValue.html -->
|
|
1085
1102
|
|
|
1086
1103
|
```html
|
|
1087
|
-
<auro-select id="
|
|
1104
|
+
<auro-select id="displayValueExample" autocomplete="address-level1">
|
|
1088
1105
|
<span slot="bib.fullscreen.headline">Select Your Gender</span>
|
|
1089
1106
|
<span slot="label">Gender</span>
|
|
1090
|
-
<span slot="
|
|
1107
|
+
<span slot="displayValue"></span>
|
|
1091
1108
|
<auro-menu>
|
|
1092
|
-
<auro-menuoption value="m" data-display="Male">M - Male
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
<auro-menuoption value="
|
|
1109
|
+
<auro-menuoption value="m" data-display="Male">M - Male
|
|
1110
|
+
<span slot="displayValue">Male</span>
|
|
1111
|
+
</auro-menuoption>
|
|
1112
|
+
<auro-menuoption value="f" data-display="Female">F - Female
|
|
1113
|
+
<span slot="displayValue">Female</span>
|
|
1114
|
+
</auro-menuoption>
|
|
1115
|
+
<auro-menuoption value="x" data-display="Unspecified">X - Unspecified
|
|
1116
|
+
<span slot="displayValue">Unspecified</span>
|
|
1117
|
+
</auro-menuoption>
|
|
1118
|
+
<auro-menuoption value="u" data-display="Undisclosed">U - Undisclosed
|
|
1119
|
+
<span slot="displayValue">Undisclosed</span>
|
|
1120
|
+
</auro-menuoption>
|
|
1096
1121
|
</auro-menu>
|
|
1097
1122
|
</auro-select>
|
|
1098
1123
|
```
|
|
@@ -1113,7 +1138,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1113
1138
|
<div style="width: 350px">
|
|
1114
1139
|
<auro-select offset="20" noFlip placement="bottom-end">
|
|
1115
1140
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1116
|
-
<span slot="label">
|
|
1141
|
+
<span slot="label">Label</span>
|
|
1142
|
+
<span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
|
|
1117
1143
|
<auro-menu>
|
|
1118
1144
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1119
1145
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1125,7 +1151,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1125
1151
|
</auro-select>
|
|
1126
1152
|
<auro-select offset="20" placement="bottom-end">
|
|
1127
1153
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1128
|
-
<span slot="label">
|
|
1154
|
+
<span slot="label">Label</span>
|
|
1155
|
+
<span slot="helpText">bottom-end bib with 20px offset and flip</span>
|
|
1129
1156
|
<auro-menu>
|
|
1130
1157
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1131
1158
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1137,7 +1164,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1137
1164
|
</auro-select>
|
|
1138
1165
|
<auro-select offset="20" noFlip placement="right" autoPlacement noFlip >
|
|
1139
1166
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1140
|
-
<span slot="label">
|
|
1167
|
+
<span slot="label">Label</span>
|
|
1168
|
+
<span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
|
|
1141
1169
|
<auro-menu>
|
|
1142
1170
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1143
1171
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1159,7 +1187,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1159
1187
|
<div style="width: 350px">
|
|
1160
1188
|
<auro-select offset="20" noFlip placement="bottom-end">
|
|
1161
1189
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1162
|
-
<span slot="label">
|
|
1190
|
+
<span slot="label">Label</span>
|
|
1191
|
+
<span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
|
|
1163
1192
|
<auro-menu>
|
|
1164
1193
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1165
1194
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1171,7 +1200,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1171
1200
|
</auro-select>
|
|
1172
1201
|
<auro-select offset="20" placement="bottom-end">
|
|
1173
1202
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1174
|
-
<span slot="label">
|
|
1203
|
+
<span slot="label">Label</span>
|
|
1204
|
+
<span slot="helpText">bottom-end bib with 20px offset and flip</span>
|
|
1175
1205
|
<auro-menu>
|
|
1176
1206
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1177
1207
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1183,7 +1213,8 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1183
1213
|
</auro-select>
|
|
1184
1214
|
<auro-select offset="20" noFlip placement="right" autoPlacement noFlip >
|
|
1185
1215
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1186
|
-
<span slot="label">
|
|
1216
|
+
<span slot="label">Label</span>
|
|
1217
|
+
<span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
|
|
1187
1218
|
<auro-menu>
|
|
1188
1219
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1189
1220
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1325,10 +1356,9 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
|
|
|
1325
1356
|
<div class="exampleWrapper">
|
|
1326
1357
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
|
|
1327
1358
|
<!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
|
|
1328
|
-
<auro-select id="valueAlert">
|
|
1329
|
-
<span slot="label">Select Example</span>
|
|
1359
|
+
<auro-select id="valueAlert" placeholder="Placeholder Text">
|
|
1330
1360
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1331
|
-
<
|
|
1361
|
+
<span slot="label">Label</span>
|
|
1332
1362
|
<auro-menu id="valueAlertMenu">
|
|
1333
1363
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1334
1364
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1346,10 +1376,9 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
|
|
|
1346
1376
|
<!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.html -->
|
|
1347
1377
|
|
|
1348
1378
|
```html
|
|
1349
|
-
<auro-select id="valueAlert">
|
|
1350
|
-
<span slot="label">Select Example</span>
|
|
1379
|
+
<auro-select id="valueAlert" placeholder="Placeholder Text">
|
|
1351
1380
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1352
|
-
<
|
|
1381
|
+
<span slot="label">Label</span>
|
|
1353
1382
|
<auro-menu id="valueAlertMenu">
|
|
1354
1383
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1355
1384
|
<auro-menuoption value="price">Price</auro-menuoption>
|