@aurodesignsystem/auro-formkit 2.0.0-beta.50 → 2.0.0-beta.52
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 +24 -0
- package/components/checkbox/README.md +1 -1
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.md +1 -1
- package/components/combobox/demo/api.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/auro-combobox.d.ts +2 -2
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.md +10 -10
- package/components/counter/demo/api.min.js +3 -3
- package/components/counter/demo/index.min.js +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +2 -2
- package/components/counter/dist/index.js +3 -3
- package/components/counter/dist/registered.js +3 -3
- package/components/datepicker/README.md +8 -8
- package/components/datepicker/demo/api.md +125 -124
- package/components/datepicker/demo/api.min.js +14 -14
- package/components/datepicker/demo/index.md +12 -12
- package/components/datepicker/demo/index.min.js +14 -14
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +4 -4
- package/components/datepicker/dist/index.js +14 -14
- package/components/datepicker/dist/registered.js +14 -14
- package/components/dropdown/README.md +1 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/working.html +2 -2
- package/components/input/README.md +1 -1
- package/components/menu/README.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/select/README.md +5 -3
- package/components/select/demo/api.md +101 -21
- package/components/select/demo/api.min.js +1058 -195
- package/components/select/demo/index.md +20 -0
- package/components/select/demo/index.min.js +1058 -195
- package/components/select/dist/auro-select.d.ts +38 -2
- package/components/select/dist/bibtemplateVersion.d.ts +2 -0
- package/components/select/dist/index.js +1069 -206
- package/components/select/dist/registered.js +1069 -206
- package/package.json +1 -1
|
@@ -14,21 +14,23 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
| Property | Attribute | Type | Default
|
|
18
|
-
|
|
19
|
-
| [disabled](#disabled) | `disabled` | `boolean` |
|
|
20
|
-
| [error](#error) | `error` | `string` |
|
|
21
|
-
| [flexMenuWidth](#flexMenuWidth) | `flexMenuWidth` | `boolean` |
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [
|
|
30
|
-
| [
|
|
31
|
-
| [
|
|
17
|
+
| Property | Attribute | Type | Default | Description |
|
|
18
|
+
|---------------------------------|---------------------------------|-----------|---------|--------------------------------------------------|
|
|
19
|
+
| [disabled](#disabled) | `disabled` | `boolean` | | When attribute is present, element shows disabled state. |
|
|
20
|
+
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
|
|
21
|
+
| [flexMenuWidth](#flexMenuWidth) | `flexMenuWidth` | `boolean` | | If set, makes dropdown width match the size of the content, rather than the width of the trigger. |
|
|
22
|
+
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.<br />When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
|
|
23
|
+
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
|
|
24
|
+
| [multiSelect](#multiSelect) | `multiselect` | `boolean` | | Sets multi-select mode, allowing multiple options to be selected at once. |
|
|
25
|
+
| [noCheckmark](#noCheckmark) | `noCheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
|
|
26
|
+
| [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
|
|
27
|
+
| [optionSelected](#optionSelected) | `optionSelected` | | | Specifies the current selected menuOption. |
|
|
28
|
+
| [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
|
|
29
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
30
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
31
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
32
|
+
| [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
33
|
+
| [value](#value) | `value` | | | Value selected for the component. |
|
|
32
34
|
|
|
33
35
|
## Methods
|
|
34
36
|
|
|
@@ -47,12 +49,13 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
47
49
|
|
|
48
50
|
## Slots
|
|
49
51
|
|
|
50
|
-
| Name
|
|
51
|
-
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
52
|
+
| Name | Description |
|
|
53
|
+
|---------------------------|--------------------------------------------------|
|
|
54
|
+
| | Default slot for the menu content. |
|
|
55
|
+
| `bib.fullscreen.headline` | Defines the headline to display above menu-options |
|
|
56
|
+
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
57
|
+
| [label](#label) | Defines the content of the label. |
|
|
58
|
+
| [placeholder](#placeholder) | Defines the content of the placeholder to be shown when there is no value |
|
|
56
59
|
|
|
57
60
|
## CSS Shadow Parts
|
|
58
61
|
|
|
@@ -71,6 +74,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
|
|
|
71
74
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
72
75
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
73
76
|
<auro-select>
|
|
77
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
74
78
|
<auro-menu>
|
|
75
79
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
76
80
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -89,6 +93,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
|
|
|
89
93
|
|
|
90
94
|
```html
|
|
91
95
|
<auro-select>
|
|
96
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
92
97
|
<auro-menu>
|
|
93
98
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
94
99
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -116,6 +121,7 @@ To pre-set the value of auro-select on load, use the `value` property. The `sele
|
|
|
116
121
|
<auro-button id="invalidValueExampleBtn">Set Value to Invalid Option</auro-button>
|
|
117
122
|
<br/><br/>
|
|
118
123
|
<auro-select id="valueExample" value='["price"]'>
|
|
124
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
119
125
|
<span slot="label">Name</span>
|
|
120
126
|
<auro-menu>
|
|
121
127
|
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
@@ -138,6 +144,7 @@ To pre-set the value of auro-select on load, use the `value` property. The `sele
|
|
|
138
144
|
<auro-button id="invalidValueExampleBtn">Set Value to Invalid Option</auro-button>
|
|
139
145
|
<br/><br/>
|
|
140
146
|
<auro-select id="valueExample" value='["price"]'>
|
|
147
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
141
148
|
<span slot="label">Name</span>
|
|
142
149
|
<auro-menu>
|
|
143
150
|
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
@@ -178,6 +185,7 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
|
|
|
178
185
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
179
186
|
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
180
187
|
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
188
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
181
189
|
<label slot="placeholder">Placeholder Text</label>
|
|
182
190
|
<auro-menu>
|
|
183
191
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -197,6 +205,7 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
|
|
|
197
205
|
|
|
198
206
|
```html
|
|
199
207
|
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
208
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
200
209
|
<label slot="placeholder">Placeholder Text</label>
|
|
201
210
|
<auro-menu>
|
|
202
211
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -223,6 +232,7 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
223
232
|
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
224
233
|
<br /><br />
|
|
225
234
|
<auro-select id="errorExample" error="Custom error message">
|
|
235
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
226
236
|
<label slot="placeholder">Placeholder Text</label>
|
|
227
237
|
<auro-menu>
|
|
228
238
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -245,6 +255,7 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
245
255
|
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
246
256
|
<br /><br />
|
|
247
257
|
<auro-select id="errorExample" error="Custom error message">
|
|
258
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
248
259
|
<label slot="placeholder">Placeholder Text</label>
|
|
249
260
|
<auro-menu>
|
|
250
261
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -266,6 +277,7 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
266
277
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
267
278
|
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
268
279
|
<auro-select disabled>
|
|
280
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
269
281
|
<label slot="placeholder">Placeholder Text</label>
|
|
270
282
|
<auro-menu>
|
|
271
283
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -285,6 +297,7 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
285
297
|
|
|
286
298
|
```html
|
|
287
299
|
<auro-select disabled>
|
|
300
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
288
301
|
<label slot="placeholder">Placeholder Text</label>
|
|
289
302
|
<auro-menu>
|
|
290
303
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -306,6 +319,7 @@ Sets multi-select mode, allowing multiple options to be selected at once.
|
|
|
306
319
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/multiselect.html) -->
|
|
307
320
|
<!-- The below content is automatically added from ./../apiExamples/multiselect.html -->
|
|
308
321
|
<auro-select multiselect>
|
|
322
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
309
323
|
<label slot="placeholder">Select one or more options</label>
|
|
310
324
|
<auro-menu>
|
|
311
325
|
<auro-menuoption value="1">Option 1</auro-menuoption>
|
|
@@ -322,6 +336,7 @@ Sets multi-select mode, allowing multiple options to be selected at once.
|
|
|
322
336
|
|
|
323
337
|
```html
|
|
324
338
|
<auro-select multiselect>
|
|
339
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
325
340
|
<label slot="placeholder">Select one or more options</label>
|
|
326
341
|
<auro-menu>
|
|
327
342
|
<auro-menuoption value="1">Option 1</auro-menuoption>
|
|
@@ -340,6 +355,7 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
340
355
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
|
|
341
356
|
<!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
342
357
|
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
358
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
343
359
|
<label slot="placeholder">Placeholder Text</label>
|
|
344
360
|
<auro-menu>
|
|
345
361
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
@@ -363,6 +379,7 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
363
379
|
|
|
364
380
|
```html
|
|
365
381
|
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
382
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
366
383
|
<label slot="placeholder">Placeholder Text</label>
|
|
367
384
|
<auro-menu>
|
|
368
385
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
@@ -390,6 +407,7 @@ Use the `label` slot to give your users contextual information about their selec
|
|
|
390
407
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/label.html) -->
|
|
391
408
|
<!-- The below content is automatically added from ./../apiExamples/label.html -->
|
|
392
409
|
<auro-select>
|
|
410
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
393
411
|
<span slot="label">Please select a preference</span>
|
|
394
412
|
<auro-menu>
|
|
395
413
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -409,6 +427,7 @@ Use the `label` slot to give your users contextual information about their selec
|
|
|
409
427
|
|
|
410
428
|
```html
|
|
411
429
|
<auro-select>
|
|
430
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
412
431
|
<span slot="label">Please select a preference</span>
|
|
413
432
|
<auro-menu>
|
|
414
433
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -430,6 +449,7 @@ Use the `helptext` slot to provide additional information back to your user abou
|
|
|
430
449
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
431
450
|
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
432
451
|
<auro-select>
|
|
452
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
433
453
|
<label slot="placeholder">Placeholder Text</label>
|
|
434
454
|
<span slot="helpText">Custom help text message.</span>
|
|
435
455
|
<auro-menu>
|
|
@@ -450,6 +470,7 @@ Use the `helptext` slot to provide additional information back to your user abou
|
|
|
450
470
|
|
|
451
471
|
```html
|
|
452
472
|
<auro-select>
|
|
473
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
453
474
|
<label slot="placeholder">Placeholder Text</label>
|
|
454
475
|
<span slot="helpText">Custom help text message.</span>
|
|
455
476
|
<auro-menu>
|
|
@@ -477,6 +498,7 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
|
|
|
477
498
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
478
499
|
<br/><br/>
|
|
479
500
|
<auro-select id="resetStateExample" value='["price"]'>
|
|
501
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
480
502
|
<label slot="placeholder">Placeholder Text</label>
|
|
481
503
|
<span slot="label">Name</span>
|
|
482
504
|
<auro-menu>
|
|
@@ -499,6 +521,7 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
|
|
|
499
521
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
500
522
|
<br/><br/>
|
|
501
523
|
<auro-select id="resetStateExample" value='["price"]'>
|
|
524
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
502
525
|
<label slot="placeholder">Placeholder Text</label>
|
|
503
526
|
<span slot="label">Name</span>
|
|
504
527
|
<auro-menu>
|
|
@@ -535,6 +558,7 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
535
558
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
|
|
536
559
|
<!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
537
560
|
<auro-select id="valueExtraction">
|
|
561
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
538
562
|
<label slot="placeholder">Placeholder Text</label>
|
|
539
563
|
<auro-menu>
|
|
540
564
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -555,6 +579,7 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
555
579
|
|
|
556
580
|
```html
|
|
557
581
|
<auro-select id="valueExtraction">
|
|
582
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
558
583
|
<label slot="placeholder">Placeholder Text</label>
|
|
559
584
|
<auro-menu>
|
|
560
585
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -595,6 +620,7 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
595
620
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
|
|
596
621
|
<!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
597
622
|
<auro-select id="primaryError">
|
|
623
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
598
624
|
<label slot="placeholder">Placeholder Text</label>
|
|
599
625
|
<auro-menu>
|
|
600
626
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
@@ -614,6 +640,7 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
614
640
|
|
|
615
641
|
```html
|
|
616
642
|
<auro-select id="primaryError">
|
|
643
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
617
644
|
<label slot="placeholder">Placeholder Text</label>
|
|
618
645
|
<auro-menu>
|
|
619
646
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
@@ -652,6 +679,7 @@ While content is loading, the menu can either remain empty or display a loading
|
|
|
652
679
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
|
|
653
680
|
<!-- The below content is automatically added from ./../apiExamples/loading.html -->
|
|
654
681
|
<auro-select id="loadingExample">
|
|
682
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
655
683
|
<span slot="label">Please select a preference</span>
|
|
656
684
|
<auro-menu id="loadingExampleSelectMenu">
|
|
657
685
|
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
@@ -702,6 +730,7 @@ export function auroMenuLoadingExample() {
|
|
|
702
730
|
|
|
703
731
|
```html
|
|
704
732
|
<auro-select id="loadingExample">
|
|
733
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
705
734
|
<span slot="label">Please select a preference</span>
|
|
706
735
|
<auro-menu id="loadingExampleSelectMenu">
|
|
707
736
|
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
@@ -711,6 +740,53 @@ export function auroMenuLoadingExample() {
|
|
|
711
740
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
712
741
|
</auro-accordion>
|
|
713
742
|
|
|
743
|
+
### Dropdown with fullscreen bib
|
|
744
|
+
|
|
745
|
+
You can make the dropdown open in fullscreen at a specific breakpoint by setting `fullscreenBreakpoint`.
|
|
746
|
+
|
|
747
|
+
The default value of `fullscreenBreakpoint` is `sm`.
|
|
748
|
+
|
|
749
|
+
Breakpoint token can be found [here](https://auro.alaskaair.com/getting-started/developers/design-tokens)
|
|
750
|
+
|
|
751
|
+
To support fullcreen bib, setting `bib.fullscreen.headline` is **STRONGLY RECOMMENDED**.
|
|
752
|
+
|
|
753
|
+
<div class="exampleWrapper">
|
|
754
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fullscreenBreakpoint.html) -->
|
|
755
|
+
<!-- The below content is automatically added from ./../apiExamples/fullscreenBreakpoint.html -->
|
|
756
|
+
<auro-select fullscreenBreakpoint="lg">
|
|
757
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
758
|
+
<auro-menu>
|
|
759
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
760
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
761
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
762
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
763
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
764
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
765
|
+
</auro-menu>
|
|
766
|
+
</auro-select>
|
|
767
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
768
|
+
</div>
|
|
769
|
+
<auro-accordion alignRight>
|
|
770
|
+
<span slot="trigger">See code</span>
|
|
771
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fullscreenBreakpoint.html) -->
|
|
772
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/fullscreenBreakpoint.html -->
|
|
773
|
+
|
|
774
|
+
```html
|
|
775
|
+
<auro-select fullscreenBreakpoint="lg">
|
|
776
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
777
|
+
<auro-menu>
|
|
778
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
779
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
780
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
781
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
782
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
783
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
784
|
+
</auro-menu>
|
|
785
|
+
</auro-select>
|
|
786
|
+
```
|
|
787
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
788
|
+
</auro-accordion>
|
|
789
|
+
|
|
714
790
|
#### in Dialog
|
|
715
791
|
|
|
716
792
|
The component can be in a dialog.
|
|
@@ -724,6 +800,7 @@ The component can be in a dialog.
|
|
|
724
800
|
<span slot="header">Select in Dialog</span>
|
|
725
801
|
<div slot="content">
|
|
726
802
|
<auro-select id="valueExample" value='["price"]'>
|
|
803
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
727
804
|
<span slot="label">Name</span>
|
|
728
805
|
<auro-menu>
|
|
729
806
|
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
@@ -751,6 +828,7 @@ The component can be in a dialog.
|
|
|
751
828
|
<span slot="header">Select in Dialog</span>
|
|
752
829
|
<div slot="content">
|
|
753
830
|
<auro-select id="valueExample" value='["price"]'>
|
|
831
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
754
832
|
<span slot="label">Name</span>
|
|
755
833
|
<auro-menu>
|
|
756
834
|
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
@@ -788,6 +866,7 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
|
|
|
788
866
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
|
|
789
867
|
<!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
|
|
790
868
|
<auro-select id="valueAlert">
|
|
869
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
791
870
|
<label slot="placeholder">Placeholder Text</label>
|
|
792
871
|
<auro-menu id="valueAlertMenu">
|
|
793
872
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -807,6 +886,7 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
|
|
|
807
886
|
|
|
808
887
|
```html
|
|
809
888
|
<auro-select id="valueAlert">
|
|
889
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
810
890
|
<label slot="placeholder">Placeholder Text</label>
|
|
811
891
|
<auro-menu id="valueAlertMenu">
|
|
812
892
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|