@aurodesignsystem-dev/auro-formkit 0.0.0-pr788.0 → 0.0.0-pr792.0
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/buttonVersion.d.ts +1 -1
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +120 -135
- package/components/bibtemplate/dist/registered.js +120 -135
- package/components/checkbox/demo/api.md +1 -2
- package/components/checkbox/demo/api.min.js +0 -7
- package/components/checkbox/demo/index.min.js +0 -7
- package/components/checkbox/dist/index.js +0 -7
- package/components/checkbox/dist/registered.js +0 -7
- package/components/combobox/README.md +0 -2
- package/components/combobox/demo/api.md +0 -8
- package/components/combobox/demo/api.min.js +168 -251
- package/components/combobox/demo/index.md +0 -12
- package/components/combobox/demo/index.min.js +168 -251
- package/components/combobox/demo/readme.md +0 -2
- package/components/combobox/dist/auro-combobox.d.ts +4 -4
- package/components/combobox/dist/index.js +163 -246
- package/components/combobox/dist/registered.js +163 -246
- package/components/counter/demo/api.md +0 -11
- package/components/counter/demo/api.min.js +160 -254
- package/components/counter/demo/index.md +0 -6
- package/components/counter/demo/index.min.js +160 -254
- package/components/counter/dist/auro-counter-group.d.ts +0 -11
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +160 -254
- package/components/counter/dist/registered.js +160 -254
- package/components/datepicker/README.md +0 -1
- package/components/datepicker/demo/api.md +0 -13
- package/components/datepicker/demo/api.min.js +177 -378
- package/components/datepicker/demo/index.md +0 -12
- package/components/datepicker/demo/index.min.js +177 -378
- package/components/datepicker/demo/readme.md +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -11
- package/components/datepicker/dist/index.js +177 -378
- package/components/datepicker/dist/registered.js +177 -378
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/api.min.js +0 -7
- package/components/dropdown/demo/index.min.js +0 -7
- package/components/dropdown/dist/index.js +0 -7
- package/components/dropdown/dist/registered.js +0 -7
- package/components/input/README.md +0 -1
- package/components/input/demo/api.md +6 -14
- package/components/input/demo/api.min.js +26 -85
- package/components/input/demo/index.md +0 -7
- package/components/input/demo/index.min.js +26 -85
- package/components/input/demo/readme.md +0 -1
- package/components/input/dist/base-input.d.ts +0 -3
- package/components/input/dist/index.js +26 -85
- package/components/input/dist/registered.js +26 -85
- package/components/menu/demo/api.min.js +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.md +1 -32
- package/components/radio/demo/api.min.js +2 -2
- package/components/radio/demo/index.min.js +2 -2
- package/components/radio/dist/index.js +2 -2
- package/components/radio/dist/registered.js +2 -2
- package/components/select/README.md +0 -1
- package/components/select/demo/api.md +64 -49
- package/components/select/demo/api.min.js +142 -178
- package/components/select/demo/index.md +137 -1065
- package/components/select/demo/index.min.js +142 -178
- package/components/select/demo/readme.md +0 -1
- package/components/select/dist/auro-select.d.ts +5 -11
- package/components/select/dist/index.js +137 -173
- package/components/select/dist/registered.js +137 -173
- package/package.json +1 -1
|
@@ -48,9 +48,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
48
48
|
|
|
49
49
|
| Method | Type | Description |
|
|
50
50
|
|------------|----------------------------------------|--------------------------------------------------|
|
|
51
|
-
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
52
51
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
53
|
-
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
54
52
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
55
53
|
|
|
56
54
|
## Events
|
|
@@ -66,7 +64,6 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
66
64
|
| Name | Description |
|
|
67
65
|
|---------------------------|--------------------------------------------------|
|
|
68
66
|
| | Default slot for the menu content. |
|
|
69
|
-
| `ariaLabel.close` | Sets aria-label on close button in fullscreen bib |
|
|
70
67
|
| `bib.fullscreen.headline` | Defines the headline to display above menu-options |
|
|
71
68
|
| [displayValue](#displayValue) | Allows custom HTML content to display the selected value when select is not focused. |
|
|
72
69
|
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
@@ -91,7 +88,6 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
|
|
|
91
88
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
92
89
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
93
90
|
<auro-select>
|
|
94
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
95
91
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
96
92
|
<span slot="label">Select Example</span>
|
|
97
93
|
<auro-menu>
|
|
@@ -129,7 +125,6 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
|
|
|
129
125
|
|
|
130
126
|
```html
|
|
131
127
|
<auro-select>
|
|
132
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
133
128
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
134
129
|
<span slot="label">Select Example</span>
|
|
135
130
|
<auro-menu>
|
|
@@ -413,9 +408,10 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
|
|
|
413
408
|
<div class="exampleWrapper">
|
|
414
409
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
415
410
|
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
416
|
-
<auro-select required setCustomValidityValueMissing="Custom required validation error message."
|
|
411
|
+
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
417
412
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
418
|
-
<span slot="label">
|
|
413
|
+
<span slot="label">required field</span>
|
|
414
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
419
415
|
<auro-menu>
|
|
420
416
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
421
417
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -433,9 +429,10 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
|
|
|
433
429
|
<!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
|
|
434
430
|
|
|
435
431
|
```html
|
|
436
|
-
<auro-select required setCustomValidityValueMissing="Custom required validation error message."
|
|
432
|
+
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
437
433
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
438
|
-
<span slot="label">
|
|
434
|
+
<span slot="label">required field</span>
|
|
435
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
439
436
|
<auro-menu>
|
|
440
437
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
441
438
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -499,9 +496,10 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
499
496
|
<div class="exampleWrapper">
|
|
500
497
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
501
498
|
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
502
|
-
<auro-select error="Custom error message"
|
|
499
|
+
<auro-select error="Custom error message">
|
|
500
|
+
<span slot="label">error select example</span>
|
|
503
501
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
504
|
-
<
|
|
502
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
505
503
|
<auro-menu>
|
|
506
504
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
507
505
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -516,9 +514,10 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
516
514
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
517
515
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
518
516
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
519
|
-
<auro-select onDark error="Custom error message"
|
|
517
|
+
<auro-select onDark error="Custom error message">
|
|
518
|
+
<span slot="label">error select example</span>
|
|
520
519
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
521
|
-
<
|
|
520
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
522
521
|
<auro-menu>
|
|
523
522
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
524
523
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -536,9 +535,10 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
536
535
|
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
537
536
|
|
|
538
537
|
```html
|
|
539
|
-
<auro-select error="Custom error message"
|
|
538
|
+
<auro-select error="Custom error message">
|
|
539
|
+
<span slot="label">error select example</span>
|
|
540
540
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
541
|
-
<
|
|
541
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
542
542
|
<auro-menu>
|
|
543
543
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
544
544
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -552,9 +552,10 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
552
552
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
553
553
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
554
554
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
555
|
-
<auro-select onDark error="Custom error message"
|
|
555
|
+
<auro-select onDark error="Custom error message">
|
|
556
|
+
<span slot="label">error select example</span>
|
|
556
557
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
557
|
-
<
|
|
558
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
558
559
|
<auro-menu>
|
|
559
560
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
560
561
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -573,9 +574,10 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
573
574
|
<div class="exampleWrapper">
|
|
574
575
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
575
576
|
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
576
|
-
<auro-select disabled
|
|
577
|
+
<auro-select disabled>
|
|
577
578
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
578
|
-
<
|
|
579
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
580
|
+
<span slot="label">disabled select example</span>
|
|
579
581
|
<auro-menu>
|
|
580
582
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
581
583
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -590,9 +592,10 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
590
592
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
591
593
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
|
|
592
594
|
<!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
|
|
593
|
-
<auro-select onDark disabled
|
|
595
|
+
<auro-select onDark disabled>
|
|
594
596
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
595
|
-
<
|
|
597
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
598
|
+
<span slot="label">disabled select example</span>
|
|
596
599
|
<auro-menu>
|
|
597
600
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
598
601
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -610,9 +613,10 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
610
613
|
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
611
614
|
|
|
612
615
|
```html
|
|
613
|
-
<auro-select disabled
|
|
616
|
+
<auro-select disabled>
|
|
614
617
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
615
|
-
<
|
|
618
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
619
|
+
<span slot="label">disabled select example</span>
|
|
616
620
|
<auro-menu>
|
|
617
621
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
618
622
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -626,9 +630,10 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
626
630
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
627
631
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
|
|
628
632
|
<!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
|
|
629
|
-
<auro-select onDark disabled
|
|
633
|
+
<auro-select onDark disabled>
|
|
630
634
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
631
|
-
<
|
|
635
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
636
|
+
<span slot="label">disabled select example</span>
|
|
632
637
|
<auro-menu>
|
|
633
638
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
634
639
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -685,9 +690,10 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
685
690
|
<div class="exampleWrapper">
|
|
686
691
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
|
|
687
692
|
<!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
688
|
-
<auro-select flexMenuWidth id="flexMenuWidthExample"
|
|
693
|
+
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
694
|
+
<span slot="label">flexMenuWidth select example</span>
|
|
689
695
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
690
|
-
<
|
|
696
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
691
697
|
<auro-menu>
|
|
692
698
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
693
699
|
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
@@ -709,9 +715,10 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
709
715
|
<!-- The below code snippet is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
710
716
|
|
|
711
717
|
```html
|
|
712
|
-
<auro-select flexMenuWidth id="flexMenuWidthExample"
|
|
718
|
+
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
719
|
+
<span slot="label">flexMenuWidth select example</span>
|
|
713
720
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
714
|
-
<
|
|
721
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
715
722
|
<auro-menu>
|
|
716
723
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
717
724
|
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
@@ -779,10 +786,11 @@ Use the `helpText` slot to provide additional information back to your user abou
|
|
|
779
786
|
<div class="exampleWrapper">
|
|
780
787
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
781
788
|
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
782
|
-
<auro-select
|
|
789
|
+
<auro-select>
|
|
783
790
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
784
|
-
<
|
|
791
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
785
792
|
<span slot="helpText">Custom help text message.</span>
|
|
793
|
+
<span slot="label">helpText select example</span>
|
|
786
794
|
<auro-menu>
|
|
787
795
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
788
796
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -800,10 +808,11 @@ Use the `helpText` slot to provide additional information back to your user abou
|
|
|
800
808
|
<!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
|
|
801
809
|
|
|
802
810
|
```html
|
|
803
|
-
<auro-select
|
|
811
|
+
<auro-select>
|
|
804
812
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
805
|
-
<
|
|
813
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
806
814
|
<span slot="helpText">Custom help text message.</span>
|
|
815
|
+
<span slot="label">helpText select example</span>
|
|
807
816
|
<auro-menu>
|
|
808
817
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
809
818
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -828,9 +837,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
|
|
|
828
837
|
<!-- The below content is automatically added from ./../apiExamples/resetState.html -->
|
|
829
838
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
830
839
|
<br/><br/>
|
|
831
|
-
<auro-select id="resetStateExample" value="price"
|
|
840
|
+
<auro-select id="resetStateExample" value="price">
|
|
832
841
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
833
|
-
<
|
|
842
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
834
843
|
<span slot="label">Name</span>
|
|
835
844
|
<auro-menu>
|
|
836
845
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -851,9 +860,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
|
|
|
851
860
|
```html
|
|
852
861
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
853
862
|
<br/><br/>
|
|
854
|
-
<auro-select id="resetStateExample" value="price"
|
|
863
|
+
<auro-select id="resetStateExample" value="price">
|
|
855
864
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
856
|
-
<
|
|
865
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
857
866
|
<span slot="label">Name</span>
|
|
858
867
|
<auro-menu>
|
|
859
868
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
@@ -888,9 +897,10 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
888
897
|
<div class="exampleWrapper">
|
|
889
898
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
|
|
890
899
|
<!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
891
|
-
<auro-select id="valueExtraction"
|
|
900
|
+
<auro-select id="valueExtraction">
|
|
892
901
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
893
|
-
<
|
|
902
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
903
|
+
<span slot="label">Select Example</span>
|
|
894
904
|
<auro-menu>
|
|
895
905
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
896
906
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -909,9 +919,10 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
909
919
|
<!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
910
920
|
|
|
911
921
|
```html
|
|
912
|
-
<auro-select id="valueExtraction"
|
|
922
|
+
<auro-select id="valueExtraction">
|
|
913
923
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
914
|
-
<
|
|
924
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
925
|
+
<span slot="label">Select Example</span>
|
|
915
926
|
<auro-menu>
|
|
916
927
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
917
928
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -950,9 +961,10 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
950
961
|
<div class="exampleWrapper">
|
|
951
962
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
|
|
952
963
|
<!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
953
|
-
<auro-select id="primaryError"
|
|
964
|
+
<auro-select id="primaryError">
|
|
954
965
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
955
|
-
<
|
|
966
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
967
|
+
<span slot="label">Select Example</span>
|
|
956
968
|
<auro-menu>
|
|
957
969
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
958
970
|
<auro-menuoption value="2">2</auro-menuoption>
|
|
@@ -970,9 +982,10 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
970
982
|
<!-- The below code snippet is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
971
983
|
|
|
972
984
|
```html
|
|
973
|
-
<auro-select id="primaryError"
|
|
985
|
+
<auro-select id="primaryError">
|
|
974
986
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
975
|
-
<
|
|
987
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
988
|
+
<span slot="label">Select Example</span>
|
|
976
989
|
<auro-menu>
|
|
977
990
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
978
991
|
<auro-menuoption value="2">2</auro-menuoption>
|
|
@@ -1359,9 +1372,10 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
|
|
|
1359
1372
|
<div class="exampleWrapper">
|
|
1360
1373
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
|
|
1361
1374
|
<!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
|
|
1362
|
-
<auro-select id="valueAlert"
|
|
1375
|
+
<auro-select id="valueAlert">
|
|
1376
|
+
<span slot="label">Select Example</span>
|
|
1363
1377
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1364
|
-
<
|
|
1378
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
1365
1379
|
<auro-menu id="valueAlertMenu">
|
|
1366
1380
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1367
1381
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -1379,9 +1393,10 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
|
|
|
1379
1393
|
<!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.html -->
|
|
1380
1394
|
|
|
1381
1395
|
```html
|
|
1382
|
-
<auro-select id="valueAlert"
|
|
1396
|
+
<auro-select id="valueAlert">
|
|
1397
|
+
<span slot="label">Select Example</span>
|
|
1383
1398
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
1384
|
-
<
|
|
1399
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
1385
1400
|
<auro-menu id="valueAlertMenu">
|
|
1386
1401
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
1387
1402
|
<auro-menuoption value="price">Price</auro-menuoption>
|