@aurodesignsystem-dev/auro-formkit 0.0.0-pr1507.0 → 0.0.0-pr1508.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/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/demo/customize.html +1 -2
- package/components/checkbox/demo/customize.min.js +8 -6
- package/components/checkbox/demo/getting-started.min.js +8 -6
- package/components/checkbox/demo/index.min.js +8 -6
- package/components/checkbox/dist/index.js +8 -6
- package/components/checkbox/dist/registered.js +8 -6
- package/components/combobox/demo/customize.html +1 -2
- package/components/combobox/demo/customize.md +105 -137
- package/components/combobox/demo/customize.min.js +506 -568
- package/components/combobox/demo/getting-started.min.js +506 -564
- package/components/combobox/demo/index.min.js +506 -564
- package/components/combobox/demo/keyboard-behavior.md +2 -142
- package/components/combobox/demo/why-combobox.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +30 -14
- package/components/combobox/dist/index.js +505 -563
- package/components/combobox/dist/registered.js +505 -563
- package/components/counter/demo/customize.min.js +26 -8
- package/components/counter/demo/index.min.js +26 -8
- package/components/counter/dist/index.js +26 -8
- package/components/counter/dist/registered.js +26 -8
- package/components/datepicker/demo/accessibility.md +2 -1
- package/components/datepicker/demo/api.md +65 -62
- package/components/datepicker/demo/customize.md +150 -39
- package/components/datepicker/demo/customize.min.js +988 -500
- package/components/datepicker/demo/index.min.js +988 -482
- package/components/datepicker/dist/{src/auro-calendar-cell.d.ts → auro-calendar-cell.d.ts} +20 -3
- package/components/datepicker/dist/{src/auro-calendar.d.ts → auro-calendar.d.ts} +121 -7
- package/components/datepicker/dist/{src/auro-datepicker.d.ts → auro-datepicker.d.ts} +80 -5
- package/components/datepicker/dist/blackoutUtils.d.ts +43 -0
- package/components/datepicker/dist/index.js +988 -482
- package/components/datepicker/dist/registered.js +988 -482
- package/components/dropdown/demo/customize.min.js +10 -1
- package/components/dropdown/demo/getting-started.min.js +10 -1
- package/components/dropdown/demo/index.min.js +10 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -0
- package/components/dropdown/dist/index.js +10 -1
- package/components/dropdown/dist/registered.js +10 -1
- package/components/form/demo/customize.html +6 -6
- package/components/form/demo/customize.md +203 -51
- package/components/form/demo/customize.min.js +2357 -1419
- package/components/form/demo/getting-started.min.js +2285 -1419
- package/components/form/demo/index.min.js +2285 -1419
- package/components/form/demo/registerDemoDeps.min.js +1922 -1382
- package/components/form/dist/auro-form.d.ts +122 -4
- package/components/form/dist/index.js +363 -37
- package/components/form/dist/registered.js +363 -37
- package/components/input/demo/api.md +5 -5
- package/components/input/demo/customize.html +1 -2
- package/components/input/demo/customize.md +62 -61
- package/components/input/demo/customize.min.js +177 -241
- package/components/input/demo/getting-started.min.js +177 -241
- package/components/input/demo/index.min.js +177 -241
- package/components/input/dist/base-input.d.ts +34 -93
- package/components/input/dist/index.js +190 -242
- package/components/input/dist/registered.js +177 -241
- package/components/radio/demo/customize.min.js +8 -6
- package/components/radio/demo/getting-started.min.js +8 -6
- package/components/radio/demo/index.min.js +8 -6
- package/components/radio/dist/index.js +8 -6
- package/components/radio/dist/registered.js +8 -6
- package/components/select/demo/customize.html +1 -2
- package/components/select/demo/customize.md +86 -0
- package/components/select/demo/customize.min.js +202 -68
- package/components/select/demo/getting-started.min.js +204 -115
- package/components/select/demo/index.min.js +202 -68
- package/components/select/demo/keyboard-behavior.md +18 -4
- package/components/select/dist/auro-select.d.ts +20 -8
- package/components/select/dist/index.js +202 -68
- package/components/select/dist/registered.js +202 -68
- package/custom-elements.json +1035 -604
- package/package.json +6 -2
- package/components/checkbox/demo/customize.js +0 -22
- package/components/checkbox/demo/demo-support.js +0 -1
- package/components/checkbox/demo/getting-started.js +0 -22
- package/components/checkbox/demo/index.js +0 -8
- package/components/checkbox/demo/styles.scss +0 -1
- package/components/combobox/demo/customize.js +0 -24
- package/components/combobox/demo/demo-support.js +0 -1
- package/components/combobox/demo/getting-started.js +0 -21
- package/components/combobox/demo/index.js +0 -23
- package/components/combobox/demo/styles.scss +0 -1
- package/components/counter/demo/customize.js +0 -21
- package/components/counter/demo/demo-support.js +0 -1
- package/components/counter/demo/index.js +0 -21
- package/components/counter/demo/styles.scss +0 -1
- package/components/datepicker/demo/customize.js +0 -19
- package/components/datepicker/demo/demo-support.js +0 -1
- package/components/datepicker/demo/index.js +0 -23
- package/components/datepicker/demo/styles.scss +0 -1
- package/components/dropdown/demo/customize.js +0 -9
- package/components/dropdown/demo/demo-support.js +0 -1
- package/components/dropdown/demo/getting-started.js +0 -9
- package/components/dropdown/demo/index.js +0 -16
- package/components/dropdown/demo/styles.scss +0 -1
- package/components/form/demo/customize.js +0 -9
- package/components/form/demo/demo-support.js +0 -1
- package/components/form/demo/getting-started.js +0 -9
- package/components/form/demo/index.js +0 -5
- package/components/form/demo/registerDemoDeps.js +0 -23
- package/components/form/demo/styles.scss +0 -1
- package/components/input/demo/customize.js +0 -25
- package/components/input/demo/demo-support.js +0 -1
- package/components/input/demo/getting-started.js +0 -8
- package/components/input/demo/index.js +0 -8
- package/components/input/demo/styles.css +0 -974
- package/components/input/demo/styles.scss +0 -1
- package/components/menu/demo/demo-support.js +0 -1
- package/components/menu/demo/index.js +0 -25
- package/components/menu/demo/styles.scss +0 -1
- package/components/radio/demo/customize.js +0 -22
- package/components/radio/demo/demo-support.js +0 -1
- package/components/radio/demo/getting-started.js +0 -24
- package/components/radio/demo/index.js +0 -8
- package/components/radio/demo/styles.scss +0 -1
- package/components/select/demo/customize.js +0 -11
- package/components/select/demo/demo-support.js +0 -1
- package/components/select/demo/getting-started.js +0 -26
- package/components/select/demo/index.js +0 -11
- package/components/select/demo/styles.scss +0 -1
- /package/components/datepicker/dist/{src/auro-calendar-month.d.ts → auro-calendar-month.d.ts} +0 -0
- /package/components/datepicker/dist/{src/buttonVersion.d.ts → buttonVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/datepickerKeyboardStrategy.d.ts → datepickerKeyboardStrategy.d.ts} +0 -0
- /package/components/datepicker/dist/{src/iconVersion.d.ts → iconVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/components/datepicker/dist/{src/popoverVersion.d.ts → popoverVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/classic/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/classic/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/shapeSize-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/snowflake/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/snowflake/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/tokens-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/utilities.d.ts → utilities.d.ts} +0 -0
- /package/components/datepicker/dist/{src/utilitiesCalendar.d.ts → utilitiesCalendar.d.ts} +0 -0
- /package/components/datepicker/dist/{src/utilitiesCalendarRender.d.ts → utilitiesCalendarRender.d.ts} +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/day.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker-cell.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker.d.ts +0 -0
|
@@ -813,15 +813,17 @@ class AuroFormValidation {
|
|
|
813
813
|
);
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
816
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
817
|
+
|
|
818
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
819
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
820
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
821
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
822
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
819
823
|
hasValue = false;
|
|
820
824
|
}
|
|
821
825
|
}
|
|
822
826
|
|
|
823
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
824
|
-
|
|
825
827
|
if (isCombobox) {
|
|
826
828
|
|
|
827
829
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1212,7 +1214,7 @@ class AuroHelpText extends i$2 {
|
|
|
1212
1214
|
}
|
|
1213
1215
|
}
|
|
1214
1216
|
|
|
1215
|
-
var formkitVersion = '
|
|
1217
|
+
var formkitVersion = '202607010100';
|
|
1216
1218
|
|
|
1217
1219
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1218
1220
|
// See LICENSE in the project root for license information.
|
|
@@ -813,15 +813,17 @@ class AuroFormValidation {
|
|
|
813
813
|
);
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
816
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
817
|
+
|
|
818
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
819
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
820
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
821
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
822
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
819
823
|
hasValue = false;
|
|
820
824
|
}
|
|
821
825
|
}
|
|
822
826
|
|
|
823
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
824
|
-
|
|
825
827
|
if (isCombobox) {
|
|
826
828
|
|
|
827
829
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1212,7 +1214,7 @@ class AuroHelpText extends i$2 {
|
|
|
1212
1214
|
}
|
|
1213
1215
|
}
|
|
1214
1216
|
|
|
1215
|
-
var formkitVersion = '
|
|
1217
|
+
var formkitVersion = '202607010100';
|
|
1216
1218
|
|
|
1217
1219
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1218
1220
|
// See LICENSE in the project root for license information.
|
|
@@ -813,15 +813,17 @@ class AuroFormValidation {
|
|
|
813
813
|
);
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
816
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
817
|
+
|
|
818
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
819
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
820
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
821
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
822
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
819
823
|
hasValue = false;
|
|
820
824
|
}
|
|
821
825
|
}
|
|
822
826
|
|
|
823
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
824
|
-
|
|
825
827
|
if (isCombobox) {
|
|
826
828
|
|
|
827
829
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1212,7 +1214,7 @@ class AuroHelpText extends i$2 {
|
|
|
1212
1214
|
}
|
|
1213
1215
|
}
|
|
1214
1216
|
|
|
1215
|
-
var formkitVersion = '
|
|
1217
|
+
var formkitVersion = '202607010100';
|
|
1216
1218
|
|
|
1217
1219
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1218
1220
|
// See LICENSE in the project root for license information.
|
|
@@ -752,15 +752,17 @@ class AuroFormValidation {
|
|
|
752
752
|
);
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
755
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
756
|
+
|
|
757
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
758
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
759
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
760
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
761
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
758
762
|
hasValue = false;
|
|
759
763
|
}
|
|
760
764
|
}
|
|
761
765
|
|
|
762
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
763
|
-
|
|
764
766
|
if (isCombobox) {
|
|
765
767
|
|
|
766
768
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1151,7 +1153,7 @@ class AuroHelpText extends LitElement {
|
|
|
1151
1153
|
}
|
|
1152
1154
|
}
|
|
1153
1155
|
|
|
1154
|
-
var formkitVersion = '
|
|
1156
|
+
var formkitVersion = '202607010100';
|
|
1155
1157
|
|
|
1156
1158
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1157
1159
|
// See LICENSE in the project root for license information.
|
|
@@ -752,15 +752,17 @@ class AuroFormValidation {
|
|
|
752
752
|
);
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
755
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
756
|
+
|
|
757
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
758
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
759
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
760
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
761
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
758
762
|
hasValue = false;
|
|
759
763
|
}
|
|
760
764
|
}
|
|
761
765
|
|
|
762
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
763
|
-
|
|
764
766
|
if (isCombobox) {
|
|
765
767
|
|
|
766
768
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1151,7 +1153,7 @@ class AuroHelpText extends LitElement {
|
|
|
1151
1153
|
}
|
|
1152
1154
|
}
|
|
1153
1155
|
|
|
1154
|
-
var formkitVersion = '
|
|
1156
|
+
var formkitVersion = '202607010100';
|
|
1155
1157
|
|
|
1156
1158
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1157
1159
|
// See LICENSE in the project root for license information.
|
|
@@ -41,12 +41,11 @@
|
|
|
41
41
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-hyperlink@latest/+esm" type="module"></script>
|
|
42
42
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
43
43
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
|
|
44
|
-
<script type="module">
|
|
44
|
+
<script type="module" data-demo-script="true">
|
|
45
45
|
import { renderPage } from './demo-support.min.js';
|
|
46
46
|
await renderPage('./customize.md');
|
|
47
47
|
import { initExamples } from "./customize.min.js";
|
|
48
48
|
initExamples();
|
|
49
49
|
</script>
|
|
50
|
-
<script src="./customize.min.js" data-demo-script="true" type="module"></script>
|
|
51
50
|
</body>
|
|
52
51
|
</html>
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
<auro-anchorlink fluid href="#typeAhead" class="level2 body-xs">Type-Ahead</auro-anchorlink>
|
|
26
26
|
<auro-anchorlink fluid href="#disableComponent" class="level2 body-xs">Disable Component</auro-anchorlink>
|
|
27
27
|
<auro-anchorlink fluid href="#disableOptions" class="level2 body-xs">Disable Option(s)</auro-anchorlink>
|
|
28
|
+
<auro-anchorlink fluid href="#submenus" class="level2 body-xs">Submenus</auro-anchorlink>
|
|
28
29
|
<auro-anchorlink fluid href="#requireSelection" class="level2 body-xs">Require Selection</auro-anchorlink>
|
|
29
30
|
<auro-anchorlink fluid href="#forceError" class="level2 body-xs">Force Error State</auro-anchorlink>
|
|
30
31
|
<auro-anchorlink fluid href="#customValidation" class="level2 body-xs">Custom Validation</auro-anchorlink>
|
|
@@ -905,6 +906,91 @@
|
|
|
905
906
|
</auro-select></code></pre>
|
|
906
907
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
907
908
|
</auro-accordion>
|
|
909
|
+
<auro-header level="3" id="submenus">Submenus</auro-header>
|
|
910
|
+
<p>Options may be organized into nested groups by placing additional <code><auro-menu></code> elements inside the top-level <code><auro-menu></code>. Use <code><hr></code> elements to add visual dividers between groups. Nested groups receive an indent and an <code>aria-label="submenu"</code> so that assistive technologies can announce the grouping.</p>
|
|
911
|
+
<div class="exampleWrapper">
|
|
912
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/with-submenus.html) -->
|
|
913
|
+
<!-- The below content is automatically added from ./../apiExamples/with-submenus.html -->
|
|
914
|
+
<auro-select placeholder="Placeholder Text">
|
|
915
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
916
|
+
<span slot="label">Label</span>
|
|
917
|
+
<auro-menu>
|
|
918
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
919
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
920
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
921
|
+
<hr>
|
|
922
|
+
<auro-menu>
|
|
923
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
924
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
925
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
926
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
927
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
928
|
+
<hr>
|
|
929
|
+
<auro-menu>
|
|
930
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
931
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
932
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
933
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
934
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
935
|
+
</auro-menu>
|
|
936
|
+
</auro-menu>
|
|
937
|
+
<hr>
|
|
938
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
939
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
940
|
+
<hr>
|
|
941
|
+
<auro-menu>
|
|
942
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
943
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
944
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
945
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
946
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
947
|
+
</auro-menu>
|
|
948
|
+
</auro-menu>
|
|
949
|
+
</auro-select>
|
|
950
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
951
|
+
</div>
|
|
952
|
+
<auro-accordion alignRight>
|
|
953
|
+
<span slot="trigger">See code</span>
|
|
954
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/with-submenus.html) -->
|
|
955
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/with-submenus.html -->
|
|
956
|
+
<pre class="language-html"><code class="language-html"><auro-select placeholder="Placeholder Text">
|
|
957
|
+
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
958
|
+
<span slot="label">Label</span>
|
|
959
|
+
<auro-menu>
|
|
960
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
961
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
962
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
963
|
+
<hr>
|
|
964
|
+
<auro-menu>
|
|
965
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
966
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
967
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
968
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
969
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
970
|
+
<hr>
|
|
971
|
+
<auro-menu>
|
|
972
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
973
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
974
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
975
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
976
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
977
|
+
</auro-menu>
|
|
978
|
+
</auro-menu>
|
|
979
|
+
<hr>
|
|
980
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
981
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
982
|
+
<hr>
|
|
983
|
+
<auro-menu>
|
|
984
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
985
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
986
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
987
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
988
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
989
|
+
</auro-menu>
|
|
990
|
+
</auro-menu>
|
|
991
|
+
</auro-select></code></pre>
|
|
992
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
993
|
+
</auro-accordion>
|
|
908
994
|
<auro-header level="3" id="requireSelection">Require selection of an option</auro-header>
|
|
909
995
|
<p>Certain use cases may require the guest to make a selection from the component in order to continue the intended work flow (e.g. form submission).</p>
|
|
910
996
|
<p>When the component is marked required:</p>
|