@aurodesignsystem/auro-formkit 4.0.1 → 5.0.0-rc-1002.1.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/CHANGELOG.md +193 -3
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +12 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1184 -105
- package/components/bibtemplate/dist/registered.js +1184 -105
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.html +16 -10
- package/components/checkbox/demo/api.md +54 -19
- package/components/checkbox/demo/api.min.js +81 -45
- package/components/checkbox/demo/index.html +16 -10
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +81 -45
- 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 +2 -2
- package/components/checkbox/dist/auro-checkbox.d.ts +10 -3
- package/components/checkbox/dist/index.js +80 -44
- package/components/checkbox/dist/registered.js +80 -44
- package/components/combobox/README.md +2 -0
- package/components/combobox/demo/api.html +16 -10
- package/components/combobox/demo/api.md +124 -7
- package/components/combobox/demo/api.min.js +4542 -1330
- package/components/combobox/demo/index.html +16 -10
- package/components/combobox/demo/index.md +108 -4
- package/components/combobox/demo/index.min.js +4542 -1330
- package/components/combobox/demo/readme.html +16 -9
- package/components/combobox/demo/readme.md +2 -0
- package/components/combobox/dist/auro-combobox.d.ts +81 -18
- package/components/combobox/dist/index.js +4588 -1520
- package/components/combobox/dist/registered.js +4588 -1520
- package/components/counter/demo/api.html +17 -10
- package/components/counter/demo/api.md +167 -21
- package/components/counter/demo/api.min.js +3621 -866
- package/components/counter/demo/index.html +17 -10
- package/components/counter/demo/index.md +191 -34
- package/components/counter/demo/index.min.js +3621 -866
- 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 +162 -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 +3619 -864
- package/components/counter/dist/registered.js +3619 -864
- package/components/datepicker/README.md +2 -1
- package/components/datepicker/demo/api.html +16 -10
- package/components/datepicker/demo/api.md +80 -30
- package/components/datepicker/demo/api.min.js +14795 -10365
- package/components/datepicker/demo/index.html +16 -10
- package/components/datepicker/demo/index.md +96 -4
- package/components/datepicker/demo/index.min.js +14795 -10365
- package/components/datepicker/demo/readme.html +16 -9
- package/components/datepicker/demo/readme.md +2 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +163 -4
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +14916 -10486
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +14916 -10486
- package/components/dropdown/demo/api.html +16 -10
- package/components/dropdown/demo/api.md +94 -262
- package/components/dropdown/demo/api.min.js +738 -259
- package/components/dropdown/demo/index.html +16 -10
- package/components/dropdown/demo/index.md +93 -266
- package/components/dropdown/demo/index.min.js +738 -259
- package/components/dropdown/demo/readme.html +16 -9
- package/components/dropdown/dist/auro-dropdown.d.ts +92 -73
- package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
- package/components/dropdown/dist/index.js +710 -231
- package/components/dropdown/dist/registered.js +710 -231
- package/components/dropdown/dist/styles/classic/style-css.d.ts +2 -0
- package/components/dropdown/dist/styles/emphasized/style-css.d.ts +2 -0
- package/components/dropdown/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/dropdown/dist/styles/snowflake/style-css.d.ts +2 -0
- package/components/form/demo/api.html +16 -9
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/api.min.js +3 -3
- package/components/form/demo/autocomplete.html +19 -3
- package/components/form/demo/index.html +16 -9
- package/components/form/demo/index.min.js +3 -3
- package/components/form/demo/readme.html +16 -9
- package/components/form/demo/working.html +19 -13
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +2 -2
- package/components/form/dist/registered.js +2 -2
- package/components/helptext/dist/auro-helptext.d.ts +0 -2
- package/components/helptext/dist/index.js +2 -4
- package/components/helptext/dist/registered.js +2 -4
- package/components/input/README.md +6 -2
- package/components/input/demo/api.html +16 -10
- package/components/input/demo/api.md +258 -144
- package/components/input/demo/api.min.js +1550 -497
- package/components/input/demo/index.html +17 -11
- package/components/input/demo/index.md +95 -27
- package/components/input/demo/index.min.js +1549 -496
- package/components/input/demo/readme.html +16 -9
- package/components/input/demo/readme.md +6 -2
- package/components/input/dist/auro-input.d.ts +139 -3
- package/components/input/dist/base-input.d.ts +80 -26
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +1504 -451
- package/components/input/dist/registered.js +1504 -451
- package/components/input/dist/styles/classic/color-css.d.ts +2 -0
- package/components/input/dist/styles/classic/style-css.d.ts +2 -0
- package/components/input/dist/styles/default/borders-css.d.ts +2 -0
- package/components/input/dist/styles/default/color-css.d.ts +2 -0
- package/components/input/dist/styles/default/mixins-css.d.ts +2 -0
- package/components/input/dist/styles/default/notificationIcons-css.d.ts +2 -0
- package/components/input/dist/styles/default/style-css.d.ts +2 -0
- package/components/input/dist/styles/emphasized/color-css.d.ts +2 -0
- package/components/input/dist/styles/emphasized/style-css.d.ts +2 -0
- package/components/input/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/input/dist/styles/snowflake/style-css.d.ts +2 -0
- package/components/layoutElement/dist/auroElement.d.ts +34 -0
- package/components/layoutElement/dist/index.d.ts +2 -0
- package/components/layoutElement/dist/index.js +98 -0
- package/components/layoutElement/dist/registered.js +98 -0
- package/components/menu/demo/api.html +17 -10
- package/components/menu/demo/api.md +65 -8
- package/components/menu/demo/api.min.js +304 -65
- package/components/menu/demo/index.html +16 -10
- package/components/menu/demo/index.min.js +304 -65
- 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 +289 -50
- package/components/menu/dist/registered.js +289 -50
- package/components/menu/dist/styles/default/color-menu-css.d.ts +2 -0
- 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.html +16 -10
- package/components/radio/demo/api.md +41 -9
- package/components/radio/demo/api.min.js +93 -95
- package/components/radio/demo/index.html +16 -10
- package/components/radio/demo/index.min.js +93 -95
- 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 +11 -12
- package/components/radio/dist/index.js +92 -94
- package/components/radio/dist/registered.js +92 -94
- package/components/select/README.md +1 -0
- package/components/select/demo/api.html +16 -10
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +156 -114
- package/components/select/demo/api.min.js +3126 -657
- package/components/select/demo/index.html +17 -10
- package/components/select/demo/index.md +398 -62
- package/components/select/demo/index.min.js +3129 -648
- package/components/select/demo/readme.html +16 -9
- package/components/select/demo/readme.md +1 -0
- package/components/select/dist/auro-select.d.ts +173 -18
- package/components/select/dist/helptextVersion.d.ts +2 -0
- package/components/select/dist/index.js +3128 -791
- package/components/select/dist/registered.js +3128 -791
- 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 +33 -32
- package/packages/build-tools/src/postinstall.mjs +0 -12
- /package/components/{dropdown/dist/styles/bibColors-css.d.ts → combobox/dist/styles/emphasized/style-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/bibStyles-css.d.ts → combobox/dist/styles/snowflake/style-css.d.ts} +0 -0
- /package/components/{input/dist/styles/borders-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{input/dist/styles/input-css.d.ts → datepicker/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{input/dist/styles/label-css.d.ts → datepicker/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/{input/dist/styles/notificationIcons-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → datepicker/dist/styles/snowflake/style-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/tokens-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
|
@@ -21,6 +21,7 @@ A baseline `<auro-select>` using `<auro-menu>` and `<auro-menuoption>` elements.
|
|
|
21
21
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
22
22
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
23
23
|
<auro-select>
|
|
24
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
24
25
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
25
26
|
<span slot="label">Select Example</span>
|
|
26
27
|
<auro-menu>
|
|
@@ -58,6 +59,7 @@ A baseline `<auro-select>` using `<auro-menu>` and `<auro-menuoption>` elements.
|
|
|
58
59
|
|
|
59
60
|
```html
|
|
60
61
|
<auro-select>
|
|
62
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
61
63
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
62
64
|
<span slot="label">Select Example</span>
|
|
63
65
|
<auro-menu>
|
|
@@ -88,6 +90,358 @@ A baseline `<auro-select>` using `<auro-menu>` and `<auro-menuoption>` elements.
|
|
|
88
90
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
89
91
|
</auro-accordion>
|
|
90
92
|
|
|
93
|
+
## Shape | Size | Layout Support
|
|
94
|
+
|
|
95
|
+
The `auro-select` component supports the `shape`, `size` and `layout` feature set. The component defaults to the `classic` shape and layout.
|
|
96
|
+
|
|
97
|
+
### Supported Combinations
|
|
98
|
+
|
|
99
|
+
#### Classic Layout (Legacy)
|
|
100
|
+
|
|
101
|
+
The `classic` layout is default for `auro-select`. No customization is needed to achieve this look.
|
|
102
|
+
|
|
103
|
+
<div class="exampleWrapper">
|
|
104
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
105
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
106
|
+
<auro-select>
|
|
107
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
108
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
109
|
+
<span slot="label">Select Example</span>
|
|
110
|
+
<auro-menu>
|
|
111
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
112
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
113
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
114
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
115
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
116
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
117
|
+
</auro-menu>
|
|
118
|
+
</auro-select>
|
|
119
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
120
|
+
</div>
|
|
121
|
+
<auro-accordion alignRight>
|
|
122
|
+
<span slot="trigger">See code</span>
|
|
123
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
124
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
125
|
+
|
|
126
|
+
```html
|
|
127
|
+
<auro-select>
|
|
128
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
129
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
130
|
+
<span slot="label">Select Example</span>
|
|
131
|
+
<auro-menu>
|
|
132
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
133
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
134
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
135
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
136
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
137
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
138
|
+
</auro-menu>
|
|
139
|
+
</auro-select>
|
|
140
|
+
```
|
|
141
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
142
|
+
</auro-accordion>
|
|
143
|
+
|
|
144
|
+
#### Emphasized Layout
|
|
145
|
+
|
|
146
|
+
The `emphasized` layout only supports `ondark` use.
|
|
147
|
+
|
|
148
|
+
The `emphasized` layout supports the following shapes:
|
|
149
|
+
- `pill`
|
|
150
|
+
- `pill-left`
|
|
151
|
+
- `pill-right`
|
|
152
|
+
|
|
153
|
+
The `emphasized` layout supports the following sizes:
|
|
154
|
+
- `xl`
|
|
155
|
+
|
|
156
|
+
<div class="exampleWrapper--ondark">
|
|
157
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/emphasized/basic-ondark.html) -->
|
|
158
|
+
<!-- The below content is automatically added from ./../apiExamples/emphasized/basic-ondark.html -->
|
|
159
|
+
<div>
|
|
160
|
+
<auro-select layout="emphasized" shape="pill" size="xl" ondark required style="width:300px;">
|
|
161
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
162
|
+
<span slot="label">Label</span>
|
|
163
|
+
<span slot="helpText">Help Text</span>
|
|
164
|
+
<auro-menu nocheckmark>
|
|
165
|
+
<auro-menuoption value="flights">
|
|
166
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
167
|
+
</auro-menuoption>
|
|
168
|
+
<auro-menuoption value="cars">
|
|
169
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
170
|
+
</auro-menuoption>
|
|
171
|
+
<auro-menuoption value="hotels">
|
|
172
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
173
|
+
</auro-menuoption>
|
|
174
|
+
<auro-menuoption value="packages">
|
|
175
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
176
|
+
</auro-menuoption>
|
|
177
|
+
<auro-menuoption value="cruises">
|
|
178
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
179
|
+
</auro-menuoption>
|
|
180
|
+
</auro-menu>
|
|
181
|
+
</auro-select>
|
|
182
|
+
</div>
|
|
183
|
+
<div style="display: flex; gap: 4px;">
|
|
184
|
+
<auro-select layout="emphasized" shape="pill-left" size="xl" ondark required style="width:300px;">
|
|
185
|
+
<span slot="label">Label</span>
|
|
186
|
+
<span slot="helpText">Help Text</span>
|
|
187
|
+
<auro-menu nocheckmark>
|
|
188
|
+
<auro-menuoption value="flights">
|
|
189
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
190
|
+
</auro-menuoption>
|
|
191
|
+
<auro-menuoption value="cars">
|
|
192
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
193
|
+
</auro-menuoption>
|
|
194
|
+
<auro-menuoption value="hotels">
|
|
195
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
196
|
+
</auro-menuoption>
|
|
197
|
+
<auro-menuoption value="packages">
|
|
198
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
199
|
+
</auro-menuoption>
|
|
200
|
+
<auro-menuoption value="cruises">
|
|
201
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
202
|
+
</auro-menuoption>
|
|
203
|
+
</auro-menu>
|
|
204
|
+
</auro-select>
|
|
205
|
+
<auro-select layout="emphasized" shape="pill-right" size="xl" ondark required style="width:300px;">
|
|
206
|
+
<span slot="label">Label</span>
|
|
207
|
+
<span slot="helpText">Help Text</span>
|
|
208
|
+
<auro-menu nocheckmark>
|
|
209
|
+
<auro-menuoption value="flights">
|
|
210
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
211
|
+
</auro-menuoption>
|
|
212
|
+
<auro-menuoption value="cars">
|
|
213
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
214
|
+
</auro-menuoption>
|
|
215
|
+
<auro-menuoption value="hotels">
|
|
216
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
217
|
+
</auro-menuoption>
|
|
218
|
+
<auro-menuoption value="packages">
|
|
219
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
220
|
+
</auro-menuoption>
|
|
221
|
+
<auro-menuoption value="cruises">
|
|
222
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
223
|
+
</auro-menuoption>
|
|
224
|
+
</auro-menu>
|
|
225
|
+
</auro-select>
|
|
226
|
+
</div>
|
|
227
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
228
|
+
</div>
|
|
229
|
+
<auro-accordion alignRight>
|
|
230
|
+
<span slot="trigger">See code</span>
|
|
231
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/emphasized/basic-ondark.html) -->
|
|
232
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/emphasized/basic-ondark.html -->
|
|
233
|
+
|
|
234
|
+
```html
|
|
235
|
+
<div>
|
|
236
|
+
<auro-select layout="emphasized" shape="pill" size="xl" ondark required style="width:300px;">
|
|
237
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
238
|
+
<span slot="label">Label</span>
|
|
239
|
+
<span slot="helpText">Help Text</span>
|
|
240
|
+
<auro-menu nocheckmark>
|
|
241
|
+
<auro-menuoption value="flights">
|
|
242
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
243
|
+
</auro-menuoption>
|
|
244
|
+
<auro-menuoption value="cars">
|
|
245
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
246
|
+
</auro-menuoption>
|
|
247
|
+
<auro-menuoption value="hotels">
|
|
248
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
249
|
+
</auro-menuoption>
|
|
250
|
+
<auro-menuoption value="packages">
|
|
251
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
252
|
+
</auro-menuoption>
|
|
253
|
+
<auro-menuoption value="cruises">
|
|
254
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
255
|
+
</auro-menuoption>
|
|
256
|
+
</auro-menu>
|
|
257
|
+
</auro-select>
|
|
258
|
+
</div>
|
|
259
|
+
<div style="display: flex; gap: 4px;">
|
|
260
|
+
<auro-select layout="emphasized" shape="pill-left" size="xl" ondark required style="width:300px;">
|
|
261
|
+
<span slot="label">Label</span>
|
|
262
|
+
<span slot="helpText">Help Text</span>
|
|
263
|
+
<auro-menu nocheckmark>
|
|
264
|
+
<auro-menuoption value="flights">
|
|
265
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
266
|
+
</auro-menuoption>
|
|
267
|
+
<auro-menuoption value="cars">
|
|
268
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
269
|
+
</auro-menuoption>
|
|
270
|
+
<auro-menuoption value="hotels">
|
|
271
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
272
|
+
</auro-menuoption>
|
|
273
|
+
<auro-menuoption value="packages">
|
|
274
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
275
|
+
</auro-menuoption>
|
|
276
|
+
<auro-menuoption value="cruises">
|
|
277
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
278
|
+
</auro-menuoption>
|
|
279
|
+
</auro-menu>
|
|
280
|
+
</auro-select>
|
|
281
|
+
<auro-select layout="emphasized" shape="pill-right" size="xl" ondark required style="width:300px;">
|
|
282
|
+
<span slot="label">Label</span>
|
|
283
|
+
<span slot="helpText">Help Text</span>
|
|
284
|
+
<auro-menu nocheckmark>
|
|
285
|
+
<auro-menuoption value="flights">
|
|
286
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
287
|
+
</auro-menuoption>
|
|
288
|
+
<auro-menuoption value="cars">
|
|
289
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
290
|
+
</auro-menuoption>
|
|
291
|
+
<auro-menuoption value="hotels">
|
|
292
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
293
|
+
</auro-menuoption>
|
|
294
|
+
<auro-menuoption value="packages">
|
|
295
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
296
|
+
</auro-menuoption>
|
|
297
|
+
<auro-menuoption value="cruises">
|
|
298
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
299
|
+
</auro-menuoption>
|
|
300
|
+
</auro-menu>
|
|
301
|
+
</auro-select>
|
|
302
|
+
</div>
|
|
303
|
+
```
|
|
304
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
305
|
+
</auro-accordion>
|
|
306
|
+
|
|
307
|
+
#### Snowflake Layout
|
|
308
|
+
|
|
309
|
+
The `snowflake` layout is a unique, one off layout that does not follow the normal pattern. There is only one way to use snowflake as shown in the following example.
|
|
310
|
+
|
|
311
|
+
<div class="exampleWrapper--ondark">
|
|
312
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic-ondark.html) -->
|
|
313
|
+
<!-- The below content is automatically added from ./../apiExamples/snowflake/basic-ondark.html -->
|
|
314
|
+
<auro-select layout="snowflake" shape="snowflake" ondark required style="width:300px;">
|
|
315
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
316
|
+
<span slot="label">Label</span>
|
|
317
|
+
<span slot="helpText">Help Text</span>
|
|
318
|
+
<auro-menu nocheckmark>
|
|
319
|
+
<auro-menuoption value="flights">
|
|
320
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
321
|
+
</auro-menuoption>
|
|
322
|
+
<auro-menuoption value="cars">
|
|
323
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
324
|
+
</auro-menuoption>
|
|
325
|
+
<auro-menuoption value="hotels">
|
|
326
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
327
|
+
</auro-menuoption>
|
|
328
|
+
<auro-menuoption value="packages">
|
|
329
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
330
|
+
</auro-menuoption>
|
|
331
|
+
<auro-menuoption value="cruises">
|
|
332
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
333
|
+
</auro-menuoption>
|
|
334
|
+
</auro-menu>
|
|
335
|
+
</auro-select>
|
|
336
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
337
|
+
</div>
|
|
338
|
+
<auro-accordion alignRight>
|
|
339
|
+
<span slot="trigger">See code</span>
|
|
340
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/snowflake/basic-ondark.html) -->
|
|
341
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/snowflake/basic-ondark.html -->
|
|
342
|
+
|
|
343
|
+
```html
|
|
344
|
+
<auro-select layout="snowflake" shape="snowflake" ondark required style="width:300px;">
|
|
345
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
346
|
+
<span slot="label">Label</span>
|
|
347
|
+
<span slot="helpText">Help Text</span>
|
|
348
|
+
<auro-menu nocheckmark>
|
|
349
|
+
<auro-menuoption value="flights">
|
|
350
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customColor></auro-icon> Flights
|
|
351
|
+
</auro-menuoption>
|
|
352
|
+
<auro-menuoption value="cars">
|
|
353
|
+
<auro-icon category="destination" name="car-rental-stroke" customColor></auro-icon> Cars
|
|
354
|
+
</auro-menuoption>
|
|
355
|
+
<auro-menuoption value="hotels">
|
|
356
|
+
<auro-icon category="destination" name="hotel-stroke" customColor></auro-icon> Hotels
|
|
357
|
+
</auro-menuoption>
|
|
358
|
+
<auro-menuoption value="packages">
|
|
359
|
+
<auro-icon category="shop" name="gift-stroke" customColor></auro-icon> Packages
|
|
360
|
+
</auro-menuoption>
|
|
361
|
+
<auro-menuoption value="cruises">
|
|
362
|
+
<auro-icon category="in-flight" name="boarding" customColor></auro-icon> Cruises
|
|
363
|
+
</auro-menuoption>
|
|
364
|
+
</auro-menu>
|
|
365
|
+
</auro-select>
|
|
366
|
+
```
|
|
367
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
368
|
+
</auro-accordion>
|
|
369
|
+
|
|
370
|
+
## Custom Value Display
|
|
371
|
+
|
|
372
|
+
The `auro-select` supports the new formkit feature set enabling customized content displayed when a value is selected.
|
|
373
|
+
|
|
374
|
+
e.g. You may have a menu option that reads "SeaTac International Airport". However, when that option is selected, you would like the value displayed in the auro-select to just be the airport code "SEA".
|
|
375
|
+
|
|
376
|
+
The custom display value content is inserted using `slot="displayValue"` on each menu option. The `auro-select` component does not style or restrict the slotted content. It is the responsibility of the implementor to insure the content fits within the auro-select container and is styled appropriately.
|
|
377
|
+
|
|
378
|
+
The following example demonstrates menu options with an icon and text. When selected, the auro-select renders an icon with no text.
|
|
379
|
+
|
|
380
|
+
<div class="exampleWrapper--ondark">
|
|
381
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/emphasized/constantDisplayValue.html) -->
|
|
382
|
+
<!-- The below content is automatically added from ./../apiExamples/emphasized/constantDisplayValue.html -->
|
|
383
|
+
<auro-select layout="emphasized" shape="pill" size="xl" value="flights" ondark forceDisplayValue style="display:inline-block;">
|
|
384
|
+
<span slot="label">Select Example</span>
|
|
385
|
+
<auro-menu nocheckmark>
|
|
386
|
+
<auro-menuoption value="flights">
|
|
387
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customcolor></auro-icon> Flights
|
|
388
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="terminal" name="plane-diag-fill" customcolor></auro-icon>
|
|
389
|
+
</auro-menuoption>
|
|
390
|
+
<auro-menuoption value="cars">
|
|
391
|
+
<auro-icon category="destination" name="car-rental-stroke" customcolor></auro-icon> Cars
|
|
392
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="destination" name="car-rental-stroke" customcolor></auro-icon>
|
|
393
|
+
</auro-menuoption>
|
|
394
|
+
<auro-menuoption value="hotels">
|
|
395
|
+
<auro-icon category="destination" name="hotel-stroke" customcolor></auro-icon> Hotels
|
|
396
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="destination" name="hotel-filled" customcolor></auro-icon>
|
|
397
|
+
</auro-menuoption>
|
|
398
|
+
<auro-menuoption value="packages">
|
|
399
|
+
<auro-icon category="shop" name="gift-stroke" customcolor></auro-icon> Packages
|
|
400
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="shop" name="gift-filled" customcolor></auro-icon>
|
|
401
|
+
</auro-menuoption>
|
|
402
|
+
<auro-menuoption value="cruises">
|
|
403
|
+
<auro-icon category="in-flight" name="boarding" customcolor></auro-icon> Cruises
|
|
404
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="in-flight" name="boarding" customcolor></auro-icon>
|
|
405
|
+
</auro-menuoption>
|
|
406
|
+
</auro-menu>
|
|
407
|
+
</auro-select>
|
|
408
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
409
|
+
</div>
|
|
410
|
+
<auro-accordion alignRight>
|
|
411
|
+
<span slot="trigger">See code</span>
|
|
412
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/emphasized/constantDisplayValue.html) -->
|
|
413
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/emphasized/constantDisplayValue.html -->
|
|
414
|
+
|
|
415
|
+
```html
|
|
416
|
+
<auro-select layout="emphasized" shape="pill" size="xl" value="flights" ondark forceDisplayValue style="display:inline-block;">
|
|
417
|
+
<span slot="label">Select Example</span>
|
|
418
|
+
<auro-menu nocheckmark>
|
|
419
|
+
<auro-menuoption value="flights">
|
|
420
|
+
<auro-icon category="terminal" name="plane-diag-stroke" customcolor></auro-icon> Flights
|
|
421
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="terminal" name="plane-diag-fill" customcolor></auro-icon>
|
|
422
|
+
</auro-menuoption>
|
|
423
|
+
<auro-menuoption value="cars">
|
|
424
|
+
<auro-icon category="destination" name="car-rental-stroke" customcolor></auro-icon> Cars
|
|
425
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="destination" name="car-rental-stroke" customcolor></auro-icon>
|
|
426
|
+
</auro-menuoption>
|
|
427
|
+
<auro-menuoption value="hotels">
|
|
428
|
+
<auro-icon category="destination" name="hotel-stroke" customcolor></auro-icon> Hotels
|
|
429
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="destination" name="hotel-filled" customcolor></auro-icon>
|
|
430
|
+
</auro-menuoption>
|
|
431
|
+
<auro-menuoption value="packages">
|
|
432
|
+
<auro-icon category="shop" name="gift-stroke" customcolor></auro-icon> Packages
|
|
433
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="shop" name="gift-filled" customcolor></auro-icon>
|
|
434
|
+
</auro-menuoption>
|
|
435
|
+
<auro-menuoption value="cruises">
|
|
436
|
+
<auro-icon category="in-flight" name="boarding" customcolor></auro-icon> Cruises
|
|
437
|
+
<auro-icon style="--ds-auro-icon-size: 40px;" slot="displayValue" category="in-flight" name="boarding" customcolor></auro-icon>
|
|
438
|
+
</auro-menuoption>
|
|
439
|
+
</auro-menu>
|
|
440
|
+
</auro-select>
|
|
441
|
+
```
|
|
442
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
443
|
+
</auro-accordion>
|
|
444
|
+
|
|
91
445
|
## placeholder
|
|
92
446
|
|
|
93
447
|
Use the `placeholder` slot to inject a custom placeholder option with the select element.
|
|
@@ -95,9 +449,9 @@ Use the `placeholder` slot to inject a custom placeholder option with the select
|
|
|
95
449
|
<div class="exampleWrapper">
|
|
96
450
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customPlaceholder.html) -->
|
|
97
451
|
<!-- The below content is automatically added from ./../apiExamples/customPlaceholder.html -->
|
|
98
|
-
<auro-select>
|
|
452
|
+
<auro-select placeholder="Please select your preferred option">
|
|
99
453
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
100
|
-
<
|
|
454
|
+
<span slot="label">Label</span>
|
|
101
455
|
<auro-menu>
|
|
102
456
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
103
457
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -115,9 +469,9 @@ Use the `placeholder` slot to inject a custom placeholder option with the select
|
|
|
115
469
|
<!-- The below code snippet is automatically added from ./../apiExamples/customPlaceholder.html -->
|
|
116
470
|
|
|
117
471
|
```html
|
|
118
|
-
<auro-select>
|
|
472
|
+
<auro-select placeholder="Please select your preferred option">
|
|
119
473
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
120
|
-
<
|
|
474
|
+
<span slot="label">Label</span>
|
|
121
475
|
<auro-menu>
|
|
122
476
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
123
477
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -138,11 +492,10 @@ The following example illustrates the use of the `label`, `placeholder` and `hel
|
|
|
138
492
|
<div class="exampleWrapper">
|
|
139
493
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/slots.html) -->
|
|
140
494
|
<!-- The below content is automatically added from ./../apiExamples/slots.html -->
|
|
141
|
-
<auro-select>
|
|
495
|
+
<auro-select placeholder="Placeholder Text">
|
|
142
496
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
143
|
-
<
|
|
144
|
-
<span slot="
|
|
145
|
-
<span slot="helpText">Preferences are maintained for future use</span>
|
|
497
|
+
<span slot="label">Label</span>
|
|
498
|
+
<span slot="helpText">Help Text</span>
|
|
146
499
|
<auro-menu>
|
|
147
500
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
148
501
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -160,11 +513,10 @@ The following example illustrates the use of the `label`, `placeholder` and `hel
|
|
|
160
513
|
<!-- The below code snippet is automatically added from ./../apiExamples/slots.html -->
|
|
161
514
|
|
|
162
515
|
```html
|
|
163
|
-
<auro-select>
|
|
516
|
+
<auro-select placeholder="Placeholder Text">
|
|
164
517
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
165
|
-
<
|
|
166
|
-
<span slot="
|
|
167
|
-
<span slot="helpText">Preferences are maintained for future use</span>
|
|
518
|
+
<span slot="label">Label</span>
|
|
519
|
+
<span slot="helpText">Help Text</span>
|
|
168
520
|
<auro-menu>
|
|
169
521
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
170
522
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -362,10 +714,9 @@ Displays an `<auro-select>` element with `<auro-icon>` elements in each option.
|
|
|
362
714
|
<div class="exampleWrapper">
|
|
363
715
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/withIcons.html) -->
|
|
364
716
|
<!-- The below content is automatically added from ./../apiExamples/withIcons.html -->
|
|
365
|
-
<auro-select>
|
|
717
|
+
<auro-select placeholder="Placeholder Text">
|
|
366
718
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
367
|
-
<
|
|
368
|
-
<span slot="label">Select Example</span>
|
|
719
|
+
<span slot="label">Label</span>
|
|
369
720
|
<auro-menu>
|
|
370
721
|
<auro-menuoption value="air">
|
|
371
722
|
<auro-icon label customColor category="health" name="air">Air</auro-icon>
|
|
@@ -392,10 +743,9 @@ Displays an `<auro-select>` element with `<auro-icon>` elements in each option.
|
|
|
392
743
|
<!-- The below code snippet is automatically added from ./../apiExamples/withIcons.html -->
|
|
393
744
|
|
|
394
745
|
```html
|
|
395
|
-
<auro-select>
|
|
746
|
+
<auro-select placeholder="Placeholder Text">
|
|
396
747
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
397
|
-
<
|
|
398
|
-
<span slot="label">Select Example</span>
|
|
748
|
+
<span slot="label">Label</span>
|
|
399
749
|
<auro-menu>
|
|
400
750
|
<auro-menuoption value="air">
|
|
401
751
|
<auro-icon label customColor category="health" name="air">Air</auro-icon>
|
|
@@ -425,10 +775,9 @@ This example shows nesting `<auro-menu>` elements to create submenus.
|
|
|
425
775
|
<div class="exampleWrapper">
|
|
426
776
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/withSubmenus.html) -->
|
|
427
777
|
<!-- The below content is automatically added from ./../apiExamples/withSubmenus.html -->
|
|
428
|
-
<auro-select>
|
|
778
|
+
<auro-select placeholder="Placeholder Text">
|
|
429
779
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
430
|
-
<
|
|
431
|
-
<span slot="label">Select Example</span>
|
|
780
|
+
<span slot="label">Label</span>
|
|
432
781
|
<auro-menu>
|
|
433
782
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
434
783
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -469,10 +818,9 @@ This example shows nesting `<auro-menu>` elements to create submenus.
|
|
|
469
818
|
<!-- The below code snippet is automatically added from ./../apiExamples/withSubmenus.html -->
|
|
470
819
|
|
|
471
820
|
```html
|
|
472
|
-
<auro-select>
|
|
821
|
+
<auro-select placeholder="Placeholder Text">
|
|
473
822
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
474
|
-
<
|
|
475
|
-
<span slot="label">Select Example</span>
|
|
823
|
+
<span slot="label">Label</span>
|
|
476
824
|
<auro-menu>
|
|
477
825
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
478
826
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -516,10 +864,9 @@ Applying the `noCheckmark` attribute will prevent the checkmark icon from being
|
|
|
516
864
|
<div class="exampleWrapper">
|
|
517
865
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/noCheckmark.html) -->
|
|
518
866
|
<!-- The below content is automatically added from ./../apiExamples/noCheckmark.html -->
|
|
519
|
-
<auro-select nocheckmark>
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
<span slot="label">nocheckmark Select Example</span>
|
|
867
|
+
<auro-select nocheckmark placeholder="Placeholder Text">
|
|
868
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
869
|
+
<span slot="label">Label</span>
|
|
523
870
|
<auro-menu>
|
|
524
871
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
525
872
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -537,10 +884,9 @@ Applying the `noCheckmark` attribute will prevent the checkmark icon from being
|
|
|
537
884
|
<!-- The below code snippet is automatically added from ./../apiExamples/noCheckmark.html -->
|
|
538
885
|
|
|
539
886
|
```html
|
|
540
|
-
<auro-select nocheckmark>
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
<span slot="label">nocheckmark Select Example</span>
|
|
887
|
+
<auro-select nocheckmark placeholder="Placeholder Text">
|
|
888
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
889
|
+
<span slot="label">Label</span>
|
|
544
890
|
<auro-menu>
|
|
545
891
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
546
892
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -563,10 +909,9 @@ Custom height dimensions are set by using the `dropdownSize` CSS Part and then a
|
|
|
563
909
|
<div class="exampleWrapper">
|
|
564
910
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/customBibHeight.html) -->
|
|
565
911
|
<!-- The below content is automatically added from ../apiExamples/customBibHeight.html -->
|
|
566
|
-
<auro-select id="customBibHeightExample">
|
|
912
|
+
<auro-select id="customBibHeightExample" placeholder="Placeholder Text">
|
|
567
913
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
568
|
-
<
|
|
569
|
-
<span slot="label">Select Example</span>
|
|
914
|
+
<span slot="label">Label</span>
|
|
570
915
|
<auro-menu>
|
|
571
916
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
572
917
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -589,10 +934,9 @@ Custom height dimensions are set by using the `dropdownSize` CSS Part and then a
|
|
|
589
934
|
<!-- The below code snippet is automatically added from ../apiExamples/customBibHeight.html -->
|
|
590
935
|
|
|
591
936
|
```html
|
|
592
|
-
<auro-select id="customBibHeightExample">
|
|
937
|
+
<auro-select id="customBibHeightExample" placeholder="Placeholder Text">
|
|
593
938
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
594
|
-
<
|
|
595
|
-
<span slot="label">Select Example</span>
|
|
939
|
+
<span slot="label">Label</span>
|
|
596
940
|
<auro-menu>
|
|
597
941
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
598
942
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -663,10 +1007,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
663
1007
|
<div class="exampleWrapper">
|
|
664
1008
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
665
1009
|
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
666
|
-
<auro-select error="Custom error message">
|
|
667
|
-
<span slot="label">error select example</span>
|
|
1010
|
+
<auro-select error="Custom error message" placeholder="Placeholder Text">
|
|
668
1011
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
669
|
-
<
|
|
1012
|
+
<span slot="label">Label</span>
|
|
670
1013
|
<auro-menu>
|
|
671
1014
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
672
1015
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -681,10 +1024,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
681
1024
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
682
1025
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
683
1026
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
684
|
-
<auro-select onDark error="Custom error message">
|
|
685
|
-
<span slot="label">error select example</span>
|
|
1027
|
+
<auro-select onDark error="Custom error message" placeholder="Placeholder Text">
|
|
686
1028
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
687
|
-
<
|
|
1029
|
+
<span slot="label">Label</span>
|
|
688
1030
|
<auro-menu>
|
|
689
1031
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
690
1032
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -702,10 +1044,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
702
1044
|
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
703
1045
|
|
|
704
1046
|
```html
|
|
705
|
-
<auro-select error="Custom error message">
|
|
706
|
-
<span slot="label">error select example</span>
|
|
1047
|
+
<auro-select error="Custom error message" placeholder="Placeholder Text">
|
|
707
1048
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
708
|
-
<
|
|
1049
|
+
<span slot="label">Label</span>
|
|
709
1050
|
<auro-menu>
|
|
710
1051
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
711
1052
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -719,10 +1060,9 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
719
1060
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
720
1061
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
721
1062
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
722
|
-
<auro-select onDark error="Custom error message">
|
|
723
|
-
<span slot="label">error select example</span>
|
|
1063
|
+
<auro-select onDark error="Custom error message" placeholder="Placeholder Text">
|
|
724
1064
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
725
|
-
<
|
|
1065
|
+
<span slot="label">Label</span>
|
|
726
1066
|
<auro-menu>
|
|
727
1067
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
728
1068
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -742,10 +1082,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
742
1082
|
<div class="exampleWrapper">
|
|
743
1083
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
744
1084
|
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
745
|
-
<auro-select disabled>
|
|
1085
|
+
<auro-select disabled placeholder="Placeholder Text">
|
|
746
1086
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
747
|
-
<
|
|
748
|
-
<span slot="label">disabled select example</span>
|
|
1087
|
+
<span slot="label">Label</span>
|
|
749
1088
|
<auro-menu>
|
|
750
1089
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
751
1090
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -760,10 +1099,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
760
1099
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
761
1100
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
|
|
762
1101
|
<!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
|
|
763
|
-
<auro-select onDark disabled>
|
|
1102
|
+
<auro-select onDark disabled placeholder="Placeholder Text">
|
|
764
1103
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
765
|
-
<
|
|
766
|
-
<span slot="label">disabled select example</span>
|
|
1104
|
+
<span slot="label">Label</span>
|
|
767
1105
|
<auro-menu>
|
|
768
1106
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
769
1107
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -781,10 +1119,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
781
1119
|
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
782
1120
|
|
|
783
1121
|
```html
|
|
784
|
-
<auro-select disabled>
|
|
1122
|
+
<auro-select disabled placeholder="Placeholder Text">
|
|
785
1123
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
786
|
-
<
|
|
787
|
-
<span slot="label">disabled select example</span>
|
|
1124
|
+
<span slot="label">Label</span>
|
|
788
1125
|
<auro-menu>
|
|
789
1126
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
790
1127
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -798,10 +1135,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
798
1135
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
799
1136
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
|
|
800
1137
|
<!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
|
|
801
|
-
<auro-select onDark disabled>
|
|
1138
|
+
<auro-select onDark disabled placeholder="Placeholder Text">
|
|
802
1139
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
803
|
-
<
|
|
804
|
-
<span slot="label">disabled select example</span>
|
|
1140
|
+
<span slot="label">Label</span>
|
|
805
1141
|
<auro-menu>
|
|
806
1142
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
807
1143
|
<auro-menuoption value="price">Price</auro-menuoption>
|