@aurodesignsystem-dev/auro-formkit 0.0.0-pr750.1 → 0.0.0-pr754.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/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/demo/api.html +10 -16
- package/components/checkbox/demo/api.min.js +11 -11
- package/components/checkbox/demo/index.html +10 -16
- package/components/checkbox/demo/index.min.js +11 -11
- package/components/checkbox/demo/readme.html +9 -16
- package/components/checkbox/dist/index.js +11 -11
- package/components/checkbox/dist/registered.js +11 -11
- package/components/combobox/demo/api.html +10 -16
- package/components/combobox/demo/api.md +6 -12
- package/components/combobox/demo/api.min.js +89 -48
- package/components/combobox/demo/index.html +10 -16
- package/components/combobox/demo/index.min.js +89 -48
- package/components/combobox/demo/readme.html +9 -16
- package/components/combobox/dist/index.js +88 -46
- package/components/combobox/dist/registered.js +88 -46
- package/components/counter/demo/api.html +10 -16
- package/components/counter/demo/api.md +7 -140
- package/components/counter/demo/api.min.js +386 -556
- package/components/counter/demo/index.html +10 -16
- package/components/counter/demo/index.md +0 -82
- package/components/counter/demo/index.min.js +386 -556
- package/components/counter/demo/readme.html +9 -16
- package/components/counter/dist/auro-counter-group.d.ts +14 -71
- package/components/counter/dist/auro-counter.d.ts +0 -10
- package/components/counter/dist/index.js +386 -556
- package/components/counter/dist/registered.js +386 -556
- package/components/datepicker/demo/api.html +10 -16
- package/components/datepicker/demo/api.min.js +94 -67
- package/components/datepicker/demo/index.html +10 -16
- package/components/datepicker/demo/index.min.js +94 -67
- package/components/datepicker/demo/readme.html +9 -16
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -6
- package/components/datepicker/dist/index.js +94 -67
- package/components/datepicker/dist/registered.js +94 -67
- package/components/dropdown/demo/api.html +10 -16
- package/components/dropdown/demo/api.md +268 -76
- package/components/dropdown/demo/api.min.js +67 -25
- package/components/dropdown/demo/index.html +10 -16
- package/components/dropdown/demo/index.md +363 -45
- package/components/dropdown/demo/index.min.js +67 -25
- package/components/dropdown/demo/readme.html +9 -16
- package/components/dropdown/dist/auro-dropdown.d.ts +71 -21
- package/components/dropdown/dist/index.js +67 -25
- package/components/dropdown/dist/registered.js +67 -25
- package/components/form/demo/api.html +9 -16
- package/components/form/demo/autocomplete.html +3 -19
- package/components/form/demo/index.html +9 -16
- package/components/form/demo/readme.html +9 -16
- package/components/form/demo/working.html +13 -19
- package/components/helptext/dist/index.js +1 -1
- package/components/helptext/dist/registered.js +1 -1
- package/components/input/demo/api.html +10 -16
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/api.min.js +14 -14
- package/components/input/demo/index.html +10 -16
- package/components/input/demo/index.min.js +14 -14
- package/components/input/demo/readme.html +9 -16
- package/components/input/dist/base-input.d.ts +1 -1
- package/components/input/dist/index.js +14 -14
- package/components/input/dist/registered.js +14 -14
- package/components/menu/demo/api.html +32 -16
- package/components/menu/demo/api.md +15 -14
- package/components/menu/demo/api.min.js +1 -2
- package/components/menu/demo/index.html +10 -16
- package/components/menu/demo/index.min.js +1 -2
- package/components/menu/demo/readme.html +9 -16
- package/components/menu/dist/auro-menu.d.ts +1 -2
- package/components/menu/dist/index.js +1 -2
- package/components/menu/dist/registered.js +1 -2
- package/components/radio/demo/api.html +10 -16
- package/components/radio/demo/api.min.js +10 -10
- package/components/radio/demo/index.html +10 -16
- package/components/radio/demo/index.min.js +10 -10
- package/components/radio/demo/readme.html +9 -16
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +10 -10
- package/components/radio/dist/registered.js +10 -10
- package/components/select/demo/api.html +10 -16
- package/components/select/demo/api.md +36 -41
- package/components/select/demo/api.min.js +103 -61
- package/components/select/demo/index.html +11 -16
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +103 -61
- package/components/select/demo/readme.html +9 -16
- package/components/select/dist/auro-select.d.ts +2 -9
- package/components/select/dist/index.js +102 -59
- package/components/select/dist/registered.js +102 -59
- package/package.json +3 -4
|
@@ -781,19 +781,19 @@ class AuroFormValidation {
|
|
|
781
781
|
{
|
|
782
782
|
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
783
783
|
validity: 'tooShort',
|
|
784
|
-
message: e => e.
|
|
784
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
check: (e) => e.value?.length > e.maxLength,
|
|
788
788
|
validity: 'tooLong',
|
|
789
|
-
message: e => e.
|
|
789
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
790
790
|
}
|
|
791
791
|
],
|
|
792
792
|
pattern: [
|
|
793
793
|
{
|
|
794
794
|
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
795
795
|
validity: 'patternMismatch',
|
|
796
|
-
message: e => e.
|
|
796
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
797
797
|
}
|
|
798
798
|
]
|
|
799
799
|
},
|
|
@@ -988,10 +988,10 @@ class AuroFormValidation {
|
|
|
988
988
|
if (!hasValue && elem.required && elem.touched) {
|
|
989
989
|
elem.validity = 'valueMissing';
|
|
990
990
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
991
|
-
} else if (
|
|
991
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
992
992
|
this.validateType(elem);
|
|
993
993
|
this.validateElementAttributes(elem);
|
|
994
|
-
} else if (
|
|
994
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
995
995
|
this.validateElementAttributes(elem);
|
|
996
996
|
}
|
|
997
997
|
}
|
|
@@ -4265,7 +4265,7 @@ var dropdownVersion$1 = '3.0.0';
|
|
|
4265
4265
|
|
|
4266
4266
|
var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
4267
4267
|
|
|
4268
|
-
var colorCss$1$2 = i$5`:host(:not([
|
|
4268
|
+
var colorCss$1$2 = i$5`:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
|
|
4269
4269
|
|
|
4270
4270
|
var classicColorCss = i$5``;
|
|
4271
4271
|
|
|
@@ -4277,7 +4277,7 @@ var styleSnowflakeCss = i$5`:host{display:block}.wrapper{display:flex;flex:1;fle
|
|
|
4277
4277
|
|
|
4278
4278
|
var colorCss$5 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
4279
4279
|
|
|
4280
|
-
var styleCss$6 = i$5
|
|
4280
|
+
var styleCss$6 = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
4281
4281
|
|
|
4282
4282
|
var tokensCss$4 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
4283
4283
|
|
|
@@ -4582,8 +4582,10 @@ let AuroElement$3 = class AuroElement extends i$2 {
|
|
|
4582
4582
|
// See LICENSE in the project root for license information.
|
|
4583
4583
|
|
|
4584
4584
|
|
|
4585
|
-
|
|
4585
|
+
/**
|
|
4586
|
+
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
4586
4587
|
* @slot - Default slot for the popover content.
|
|
4588
|
+
* @slot label - Defines the content of the label.
|
|
4587
4589
|
* @slot helpText - Defines the content of the helpText.
|
|
4588
4590
|
* @slot trigger - Defines the content of the trigger.
|
|
4589
4591
|
* @csspart trigger - The trigger content container.
|
|
@@ -4602,22 +4604,18 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4602
4604
|
this.matchWidth = false;
|
|
4603
4605
|
this.noHideOnThisFocusLoss = false;
|
|
4604
4606
|
|
|
4605
|
-
this.errorMessage =
|
|
4607
|
+
this.errorMessage = ''; // TODO - check with Doug if there is still more to do here
|
|
4606
4608
|
|
|
4607
4609
|
// Layout Config
|
|
4608
|
-
this.layout =
|
|
4609
|
-
this.shape =
|
|
4610
|
-
this.size =
|
|
4610
|
+
this.layout = 'classic';
|
|
4611
|
+
this.shape = 'classic';
|
|
4612
|
+
this.size = 'xl';
|
|
4611
4613
|
|
|
4612
4614
|
this.parentBorder = false;
|
|
4613
4615
|
|
|
4614
4616
|
this.privateDefaults();
|
|
4615
4617
|
}
|
|
4616
4618
|
|
|
4617
|
-
/**
|
|
4618
|
-
* @private
|
|
4619
|
-
* @returns {object} Class definition for the wrapper element.
|
|
4620
|
-
*/
|
|
4621
4619
|
get commonWrapperClasses() {
|
|
4622
4620
|
return {
|
|
4623
4621
|
'trigger': true,
|
|
@@ -4637,8 +4635,12 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4637
4635
|
this.disabled = false;
|
|
4638
4636
|
this.disableFocusTrap = false;
|
|
4639
4637
|
this.error = false;
|
|
4638
|
+
this.inset = false;
|
|
4639
|
+
this.rounded = false;
|
|
4640
4640
|
this.tabIndex = 0;
|
|
4641
4641
|
this.noToggle = false;
|
|
4642
|
+
this.a11yAutocomplete = 'none';
|
|
4643
|
+
this.labeled = true;
|
|
4642
4644
|
this.a11yRole = 'button';
|
|
4643
4645
|
this.onDark = false;
|
|
4644
4646
|
this.showTriggerBorders = true;
|
|
@@ -4760,27 +4762,26 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4760
4762
|
},
|
|
4761
4763
|
|
|
4762
4764
|
/**
|
|
4763
|
-
* If declared,
|
|
4764
|
-
* @default false
|
|
4765
|
+
* If declared, applies a border around the trigger slot.
|
|
4765
4766
|
*/
|
|
4766
|
-
|
|
4767
|
+
simple: {
|
|
4767
4768
|
type: Boolean,
|
|
4768
4769
|
reflect: true
|
|
4769
4770
|
},
|
|
4770
4771
|
|
|
4771
4772
|
/**
|
|
4772
|
-
* If declared,
|
|
4773
|
+
* If declared, the dropdown displays a chevron on the right.
|
|
4774
|
+
* @attr {Boolean} chevron
|
|
4773
4775
|
*/
|
|
4774
|
-
|
|
4776
|
+
chevron: {
|
|
4775
4777
|
type: Boolean,
|
|
4776
4778
|
reflect: true
|
|
4777
4779
|
},
|
|
4778
4780
|
|
|
4779
4781
|
/**
|
|
4780
|
-
* If declared, the dropdown
|
|
4781
|
-
* @attr {Boolean} chevron
|
|
4782
|
+
* If declared, the dropdown will be styled with the common theme.
|
|
4782
4783
|
*/
|
|
4783
|
-
|
|
4784
|
+
common: {
|
|
4784
4785
|
type: Boolean,
|
|
4785
4786
|
reflect: true
|
|
4786
4787
|
},
|
|
@@ -4794,7 +4795,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4794
4795
|
},
|
|
4795
4796
|
|
|
4796
4797
|
/**
|
|
4797
|
-
* If
|
|
4798
|
+
* If declare, the focus trap inside of bib will be turned off.
|
|
4798
4799
|
*/
|
|
4799
4800
|
disableFocusTrap: {
|
|
4800
4801
|
type: Boolean,
|
|
@@ -4841,6 +4842,22 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4841
4842
|
reflect: true
|
|
4842
4843
|
},
|
|
4843
4844
|
|
|
4845
|
+
/**
|
|
4846
|
+
* Makes the trigger to be full width of its parent container.
|
|
4847
|
+
*/
|
|
4848
|
+
fluid: {
|
|
4849
|
+
type: Boolean,
|
|
4850
|
+
reflect: true
|
|
4851
|
+
},
|
|
4852
|
+
|
|
4853
|
+
/**
|
|
4854
|
+
* If declared, will apply padding around trigger slot content.
|
|
4855
|
+
*/
|
|
4856
|
+
inset: {
|
|
4857
|
+
type: Boolean,
|
|
4858
|
+
reflect: true
|
|
4859
|
+
},
|
|
4860
|
+
|
|
4844
4861
|
/**
|
|
4845
4862
|
* If true, the dropdown bib is displayed.
|
|
4846
4863
|
*/
|
|
@@ -4884,6 +4901,15 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4884
4901
|
reflect: true
|
|
4885
4902
|
},
|
|
4886
4903
|
|
|
4904
|
+
/**
|
|
4905
|
+
* Defines if there is a label preset.
|
|
4906
|
+
* @private
|
|
4907
|
+
*/
|
|
4908
|
+
labeled: {
|
|
4909
|
+
type: Boolean,
|
|
4910
|
+
reflect: true
|
|
4911
|
+
},
|
|
4912
|
+
|
|
4887
4913
|
/**
|
|
4888
4914
|
* Defines if the trigger should size based on the parent element providing the border UI.
|
|
4889
4915
|
* @private
|
|
@@ -4944,9 +4970,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4944
4970
|
reflect: true
|
|
4945
4971
|
},
|
|
4946
4972
|
|
|
4947
|
-
/**
|
|
4948
|
-
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
4949
|
-
*/
|
|
4950
4973
|
onSlotChange: {
|
|
4951
4974
|
type: Function,
|
|
4952
4975
|
reflect: false
|
|
@@ -4961,6 +4984,14 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4961
4984
|
reflect: true
|
|
4962
4985
|
},
|
|
4963
4986
|
|
|
4987
|
+
/**
|
|
4988
|
+
* If declared, will apply border-radius to trigger and default slots.
|
|
4989
|
+
*/
|
|
4990
|
+
rounded: {
|
|
4991
|
+
type: Boolean,
|
|
4992
|
+
reflect: true
|
|
4993
|
+
},
|
|
4994
|
+
|
|
4964
4995
|
/**
|
|
4965
4996
|
* @private
|
|
4966
4997
|
*/
|
|
@@ -4975,14 +5006,22 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4975
5006
|
type: String || undefined,
|
|
4976
5007
|
attribute: false,
|
|
4977
5008
|
reflect: false
|
|
5009
|
+
},
|
|
5010
|
+
|
|
5011
|
+
/**
|
|
5012
|
+
* The value for the aria-autocomplete attribute of the trigger element.
|
|
5013
|
+
*/
|
|
5014
|
+
a11yAutocomplete: {
|
|
5015
|
+
type: String,
|
|
5016
|
+
attribute: false,
|
|
4978
5017
|
}
|
|
4979
5018
|
};
|
|
4980
5019
|
}
|
|
4981
5020
|
|
|
4982
5021
|
static get styles() {
|
|
4983
5022
|
return [
|
|
4984
|
-
tokensCss$1$2,
|
|
4985
5023
|
colorCss$1$2,
|
|
5024
|
+
tokensCss$1$2,
|
|
4986
5025
|
|
|
4987
5026
|
// default layout
|
|
4988
5027
|
classicColorCss,
|
|
@@ -5422,7 +5461,10 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5422
5461
|
id="bib"
|
|
5423
5462
|
shape="${this.shape}"
|
|
5424
5463
|
?data-show="${this.isPopoverVisible}"
|
|
5425
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
5464
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
5465
|
+
?common="${this.common}"
|
|
5466
|
+
?rounded="${this.common || this.rounded}"
|
|
5467
|
+
?inset="${this.common || this.inset}">
|
|
5426
5468
|
<div class="slotContent">
|
|
5427
5469
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
5428
5470
|
</div>
|
|
@@ -7403,7 +7445,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7403
7445
|
<div id="bibTemplate" part="bibtemplate">
|
|
7404
7446
|
${this.isFullscreen ? u`
|
|
7405
7447
|
<div id="headerContainer">
|
|
7406
|
-
<${this.buttonTag} id="closeButton"
|
|
7448
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
7407
7449
|
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
7408
7450
|
</${this.buttonTag}>
|
|
7409
7451
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
@@ -7431,7 +7473,7 @@ var bibTemplateVersion = '1.0.0';
|
|
|
7431
7473
|
|
|
7432
7474
|
var colorCss$3 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
7433
7475
|
|
|
7434
|
-
var styleCss$4 = i$5
|
|
7476
|
+
var styleCss$4 = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
7435
7477
|
|
|
7436
7478
|
var tokensCss$2 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
7437
7479
|
|
|
@@ -7637,7 +7679,7 @@ class AuroHelpText extends i$2 {
|
|
|
7637
7679
|
|
|
7638
7680
|
var helpTextVersion = '1.0.0';
|
|
7639
7681
|
|
|
7640
|
-
var styleCss$3 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:
|
|
7682
|
+
var styleCss$3 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color)}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}.mainContent{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:8px}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent,:host([layout*=snowflake]) .triggerContent{padding:0 8px 0 24px}:host([layout*=snowflake]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}:host([layout*=emphasized]) [auro-dropdown] label.withValue{font-size:var(--ds-text-body-size-xs);line-height:20px}:host([layout*=classic]) .triggerContent{padding:0 8px}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host([layout*=classic]) label.withValue{font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([layout*=classic]) .value{height:auto;font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([disabled]) *{user-select:none}`;
|
|
7641
7683
|
|
|
7642
7684
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7643
7685
|
// See LICENSE in the project root for license information.
|
|
@@ -7652,6 +7694,7 @@ var styleCss$3 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock
|
|
|
7652
7694
|
* @slot label - Defines the content of the label.
|
|
7653
7695
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
7654
7696
|
* @slot helpText - Defines the content of the helpText.
|
|
7697
|
+
* @slot placeholder - Defines the content of the placeholder to be shown when there is no value
|
|
7655
7698
|
* @slot valueText - Dropdown value text display.
|
|
7656
7699
|
* @slot displayValue - Allows custom HTML content to display the selected value when select is not focused.
|
|
7657
7700
|
* @event auroSelect-valueSet - Notifies that the component has a new value set.
|
|
@@ -7921,14 +7964,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
7921
7964
|
reflect: true
|
|
7922
7965
|
},
|
|
7923
7966
|
|
|
7924
|
-
/**
|
|
7925
|
-
* Define custom placeholder text.
|
|
7926
|
-
*/
|
|
7927
|
-
placeholder: {
|
|
7928
|
-
type: String,
|
|
7929
|
-
reflect: true
|
|
7930
|
-
},
|
|
7931
|
-
|
|
7932
7967
|
/**
|
|
7933
7968
|
* Populates the `required` attribute on the element. Used for client-side validation.
|
|
7934
7969
|
*/
|
|
@@ -8035,7 +8070,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8035
8070
|
/**
|
|
8036
8071
|
* Formatted value based on `multiSelect` state.
|
|
8037
8072
|
* Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
|
|
8038
|
-
* @private
|
|
8039
8073
|
* @returns {String|Array<String>}
|
|
8040
8074
|
*/
|
|
8041
8075
|
get formattedValue() {
|
|
@@ -8059,7 +8093,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8059
8093
|
get commonLabelClasses() {
|
|
8060
8094
|
return {
|
|
8061
8095
|
'is-disabled': this.disabled,
|
|
8062
|
-
'withValue': this.
|
|
8096
|
+
'withValue': this.value && this.value.length > 0,
|
|
8063
8097
|
'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
|
|
8064
8098
|
};
|
|
8065
8099
|
}
|
|
@@ -8687,7 +8721,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8687
8721
|
: u`
|
|
8688
8722
|
<${this.helpTextTag} error ?onDark="${this.onDark}">
|
|
8689
8723
|
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
8690
|
-
${this.errorMessage}
|
|
8724
|
+
ERROR MESSAGE ${this.errorMessage}
|
|
8691
8725
|
</p>
|
|
8692
8726
|
</${this.helpTextTag}>
|
|
8693
8727
|
`
|
|
@@ -8702,14 +8736,14 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8702
8736
|
*/
|
|
8703
8737
|
renderLayoutEmphasized() {
|
|
8704
8738
|
const placeholderClass = {
|
|
8705
|
-
|
|
8739
|
+
hidden: this.value,
|
|
8706
8740
|
};
|
|
8707
8741
|
|
|
8708
8742
|
const displayValueClasses = {
|
|
8709
8743
|
'displayValue': true,
|
|
8710
8744
|
'hasContent': this.hasDisplayValueContent,
|
|
8711
8745
|
'hasFocus': this.isPopoverVisible,
|
|
8712
|
-
'withValue': this.
|
|
8746
|
+
'withValue': this.value && this.value.length > 0,
|
|
8713
8747
|
'force': this.forceDisplayValue,
|
|
8714
8748
|
};
|
|
8715
8749
|
|
|
@@ -8736,6 +8770,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8736
8770
|
.offset="${this.offset}"
|
|
8737
8771
|
.placement="${this.placement}"
|
|
8738
8772
|
chevron
|
|
8773
|
+
fluid
|
|
8739
8774
|
for="selectMenu"
|
|
8740
8775
|
layout="${this.layout}"
|
|
8741
8776
|
part="dropdown"
|
|
@@ -8752,9 +8787,11 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8752
8787
|
${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
|
|
8753
8788
|
</label>
|
|
8754
8789
|
<div class="value" id="value"></div>
|
|
8755
|
-
|
|
8756
|
-
${
|
|
8757
|
-
|
|
8790
|
+
${this.value ? undefined : u`
|
|
8791
|
+
<div id="placeholder" class="${e(placeholderClass)}">
|
|
8792
|
+
<slot name="placeholder"></slot>
|
|
8793
|
+
</div>
|
|
8794
|
+
`}
|
|
8758
8795
|
</div>
|
|
8759
8796
|
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
8760
8797
|
<slot name="displayValue"></slot>
|
|
@@ -8781,14 +8818,14 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8781
8818
|
*/
|
|
8782
8819
|
renderLayoutSnowflake() {
|
|
8783
8820
|
const placeholderClass = {
|
|
8784
|
-
|
|
8821
|
+
hidden: this.value,
|
|
8785
8822
|
};
|
|
8786
8823
|
|
|
8787
8824
|
const displayValueClasses = {
|
|
8788
8825
|
'displayValue': true,
|
|
8789
8826
|
'hasContent': this.hasDisplayValueContent,
|
|
8790
8827
|
'hasFocus': this.isPopoverVisible,
|
|
8791
|
-
'withValue': this.
|
|
8828
|
+
'withValue': this.value && this.value.length > 0,
|
|
8792
8829
|
'force': this.forceDisplayValue,
|
|
8793
8830
|
};
|
|
8794
8831
|
|
|
@@ -8814,6 +8851,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8814
8851
|
.offset="${this.offset}"
|
|
8815
8852
|
.placement="${this.placement}"
|
|
8816
8853
|
chevron
|
|
8854
|
+
fluid
|
|
8817
8855
|
for="selectMenu"
|
|
8818
8856
|
layout="${this.layout}"
|
|
8819
8857
|
part="dropdown"
|
|
@@ -8830,9 +8868,11 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8830
8868
|
${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
|
|
8831
8869
|
</label>
|
|
8832
8870
|
<div class="value" id="value"></div>
|
|
8833
|
-
|
|
8834
|
-
${
|
|
8835
|
-
|
|
8871
|
+
${this.value ? undefined : u`
|
|
8872
|
+
<div id="placeholder" class="${e(placeholderClass)}">
|
|
8873
|
+
<slot name="placeholder"></slot>
|
|
8874
|
+
</div>
|
|
8875
|
+
`}
|
|
8836
8876
|
</div>
|
|
8837
8877
|
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
8838
8878
|
<slot name="displayValue"></slot>
|
|
@@ -8860,14 +8900,14 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8860
8900
|
*/
|
|
8861
8901
|
renderLayoutClassic() {
|
|
8862
8902
|
const placeholderClass = {
|
|
8863
|
-
|
|
8903
|
+
hidden: this.value,
|
|
8864
8904
|
};
|
|
8865
8905
|
|
|
8866
8906
|
const displayValueClasses = {
|
|
8867
8907
|
'displayValue': true,
|
|
8868
8908
|
'hasContent': this.hasDisplayValueContent,
|
|
8869
8909
|
'hasFocus': this.isPopoverVisible,
|
|
8870
|
-
'withValue': this.
|
|
8910
|
+
'withValue': this.value && this.value.length > 0,
|
|
8871
8911
|
'force': this.forceDisplayValue,
|
|
8872
8912
|
};
|
|
8873
8913
|
|
|
@@ -8893,6 +8933,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8893
8933
|
.offset="${this.offset}"
|
|
8894
8934
|
.placement="${this.placement}"
|
|
8895
8935
|
chevron
|
|
8936
|
+
fluid
|
|
8896
8937
|
for="selectMenu"
|
|
8897
8938
|
layout="${this.layout}"
|
|
8898
8939
|
part="dropdown"
|
|
@@ -8909,9 +8950,11 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8909
8950
|
${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
|
|
8910
8951
|
</label>
|
|
8911
8952
|
<div class="value" id="value"></div>
|
|
8912
|
-
|
|
8913
|
-
${
|
|
8914
|
-
|
|
8953
|
+
${this.value ? undefined : u`
|
|
8954
|
+
<div id="placeholder" class="${e(placeholderClass)}">
|
|
8955
|
+
<slot name="placeholder"></slot>
|
|
8956
|
+
</div>
|
|
8957
|
+
`}
|
|
8915
8958
|
</div>
|
|
8916
8959
|
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
8917
8960
|
<slot name="displayValue"></slot>
|
|
@@ -9177,7 +9220,6 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9177
9220
|
/**
|
|
9178
9221
|
* Formatted value based on `multiSelect` state.
|
|
9179
9222
|
* Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
|
|
9180
|
-
* @private
|
|
9181
9223
|
* @returns {String|Array<String>}
|
|
9182
9224
|
*/
|
|
9183
9225
|
get formattedValue() {
|
|
@@ -9805,7 +9847,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9805
9847
|
}
|
|
9806
9848
|
}
|
|
9807
9849
|
|
|
9808
|
-
var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) +
|
|
9850
|
+
var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
9809
9851
|
|
|
9810
9852
|
var colorCss$1 = i$5`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
|
|
9811
9853
|
|
|
@@ -16,24 +16,19 @@
|
|
|
16
16
|
<head>
|
|
17
17
|
<meta charset="UTF-8" />
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
|
-
<title>Auro Web Component
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<link rel="stylesheet"
|
|
26
|
-
|
|
27
|
-
<!-- Design Token Alaska Theme -->
|
|
28
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
|
|
29
|
-
|
|
30
|
-
<!-- Webcore Stylesheet Alaska Theme -->
|
|
31
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
|
|
32
|
-
|
|
33
|
-
<!-- Demo Specific Styles -->
|
|
19
|
+
<title>Auro Web Component Generator | auro-select custom element</title>
|
|
20
|
+
<link
|
|
21
|
+
rel="stylesheet"
|
|
22
|
+
type="text/css"
|
|
23
|
+
href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
|
|
24
|
+
/>
|
|
25
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
|
|
26
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
|
|
34
27
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
|
|
35
28
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
|
|
36
|
-
|
|
29
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/essentials-as.css" />
|
|
30
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@8.0.3/dist/auro-icon__bundled.js" type="module"></script>
|
|
31
|
+
</head>
|
|
37
32
|
<body class="auro-markdown">
|
|
38
33
|
<main></main>
|
|
39
34
|
|
|
@@ -22,7 +22,7 @@ A baseline `<auro-select>` using `<auro-menu>` and `<auro-menuoption>` elements.
|
|
|
22
22
|
<!-- The below content is automatically added from ./../apiExamples/classic/basic.html -->
|
|
23
23
|
<auro-select placeholder="Placeholder content">
|
|
24
24
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
25
|
-
<span slot="label">Name
|
|
25
|
+
<span slot="label">Name</span>
|
|
26
26
|
<auro-menu>
|
|
27
27
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
28
28
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|