@aurodesignsystem-dev/auro-formkit 0.0.0-pr754.0 → 0.0.0-pr754.2
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.min.js +9 -9
- package/components/checkbox/demo/index.min.js +9 -9
- package/components/checkbox/dist/index.js +9 -9
- package/components/checkbox/dist/registered.js +9 -9
- package/components/combobox/demo/api.md +12 -6
- package/components/combobox/demo/api.min.js +43 -84
- package/components/combobox/demo/index.min.js +43 -84
- package/components/combobox/dist/index.js +42 -84
- package/components/combobox/dist/registered.js +42 -84
- package/components/counter/demo/api.md +140 -7
- package/components/counter/demo/api.min.js +555 -385
- package/components/counter/demo/index.md +82 -0
- package/components/counter/demo/index.min.js +555 -385
- package/components/counter/dist/auro-counter-group.d.ts +71 -14
- package/components/counter/dist/auro-counter.d.ts +10 -0
- package/components/counter/dist/index.js +555 -385
- package/components/counter/dist/registered.js +555 -385
- package/components/datepicker/demo/api.min.js +42 -84
- package/components/datepicker/demo/index.min.js +42 -84
- package/components/datepicker/dist/index.js +42 -84
- package/components/datepicker/dist/registered.js +42 -84
- package/components/dropdown/demo/api.md +76 -268
- package/components/dropdown/demo/api.min.js +25 -67
- package/components/dropdown/demo/index.md +45 -363
- package/components/dropdown/demo/index.min.js +25 -67
- package/components/dropdown/dist/auro-dropdown.d.ts +21 -71
- package/components/dropdown/dist/index.js +25 -67
- package/components/dropdown/dist/registered.js +25 -67
- package/components/helptext/dist/index.js +1 -1
- package/components/helptext/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/api.min.js +10 -10
- package/components/input/demo/index.min.js +10 -10
- package/components/input/dist/base-input.d.ts +1 -1
- package/components/input/dist/index.js +10 -10
- package/components/input/dist/registered.js +10 -10
- package/components/menu/demo/api.md +14 -15
- package/components/menu/demo/api.min.js +1 -0
- package/components/menu/demo/index.min.js +1 -0
- package/components/menu/dist/auro-menu.d.ts +2 -1
- package/components/menu/dist/index.js +1 -0
- package/components/menu/dist/registered.js +1 -0
- package/components/radio/demo/api.min.js +9 -9
- package/components/radio/demo/index.min.js +9 -9
- package/components/radio/dist/index.js +9 -9
- package/components/radio/dist/registered.js +9 -9
- package/components/select/demo/api.md +41 -36
- package/components/select/demo/api.min.js +60 -102
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +60 -102
- package/components/select/dist/auro-select.d.ts +9 -2
- package/components/select/dist/index.js +59 -102
- package/components/select/dist/registered.js +59 -102
- package/package.json +2 -2
|
@@ -795,19 +795,19 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
795
795
|
{
|
|
796
796
|
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
797
797
|
validity: 'tooShort',
|
|
798
|
-
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
798
|
+
message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
|
|
799
799
|
},
|
|
800
800
|
{
|
|
801
801
|
check: (e) => e.value?.length > e.maxLength,
|
|
802
802
|
validity: 'tooLong',
|
|
803
|
-
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
803
|
+
message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
|
|
804
804
|
}
|
|
805
805
|
],
|
|
806
806
|
pattern: [
|
|
807
807
|
{
|
|
808
808
|
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
809
809
|
validity: 'patternMismatch',
|
|
810
|
-
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
810
|
+
message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
|
|
811
811
|
}
|
|
812
812
|
]
|
|
813
813
|
},
|
|
@@ -1002,10 +1002,10 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
1002
1002
|
if (!hasValue && elem.required && elem.touched) {
|
|
1003
1003
|
elem.validity = 'valueMissing';
|
|
1004
1004
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
1005
|
-
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
1005
|
+
} else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
1006
1006
|
this.validateType(elem);
|
|
1007
1007
|
this.validateElementAttributes(elem);
|
|
1008
|
-
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
1008
|
+
} else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
|
|
1009
1009
|
this.validateElementAttributes(elem);
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
@@ -4239,7 +4239,7 @@ var dropdownVersion$1 = '3.0.0';
|
|
|
4239
4239
|
|
|
4240
4240
|
var shapeSizeCss$1 = 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}`;
|
|
4241
4241
|
|
|
4242
|
-
var colorCss$1$3 = 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)}`;
|
|
4242
|
+
var colorCss$1$3 = i$5`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}: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)}`;
|
|
4243
4243
|
|
|
4244
4244
|
var classicColorCss$1 = i$5``;
|
|
4245
4245
|
|
|
@@ -4251,7 +4251,7 @@ var styleSnowflakeCss$1 = i$5`:host{display:block}.wrapper{display:flex;flex:1;f
|
|
|
4251
4251
|
|
|
4252
4252
|
var colorCss$6 = 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)}`;
|
|
4253
4253
|
|
|
4254
|
-
var styleCss$7 = i$5
|
|
4254
|
+
var styleCss$7 = i$5`:host{position:relative;display:block}.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}`;
|
|
4255
4255
|
|
|
4256
4256
|
var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
4257
4257
|
|
|
@@ -4556,10 +4556,8 @@ let AuroElement$4 = class AuroElement extends i$2 {
|
|
|
4556
4556
|
// See LICENSE in the project root for license information.
|
|
4557
4557
|
|
|
4558
4558
|
|
|
4559
|
-
|
|
4560
|
-
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
4559
|
+
/*
|
|
4561
4560
|
* @slot - Default slot for the popover content.
|
|
4562
|
-
* @slot label - Defines the content of the label.
|
|
4563
4561
|
* @slot helpText - Defines the content of the helpText.
|
|
4564
4562
|
* @slot trigger - Defines the content of the trigger.
|
|
4565
4563
|
* @csspart trigger - The trigger content container.
|
|
@@ -4578,18 +4576,22 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4578
4576
|
this.matchWidth = false;
|
|
4579
4577
|
this.noHideOnThisFocusLoss = false;
|
|
4580
4578
|
|
|
4581
|
-
this.errorMessage =
|
|
4579
|
+
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
4582
4580
|
|
|
4583
4581
|
// Layout Config
|
|
4584
|
-
this.layout =
|
|
4585
|
-
this.shape =
|
|
4586
|
-
this.size =
|
|
4582
|
+
this.layout = undefined;
|
|
4583
|
+
this.shape = undefined;
|
|
4584
|
+
this.size = undefined;
|
|
4587
4585
|
|
|
4588
4586
|
this.parentBorder = false;
|
|
4589
4587
|
|
|
4590
4588
|
this.privateDefaults();
|
|
4591
4589
|
}
|
|
4592
4590
|
|
|
4591
|
+
/**
|
|
4592
|
+
* @private
|
|
4593
|
+
* @returns {object} Class definition for the wrapper element.
|
|
4594
|
+
*/
|
|
4593
4595
|
get commonWrapperClasses() {
|
|
4594
4596
|
return {
|
|
4595
4597
|
'trigger': true,
|
|
@@ -4609,12 +4611,8 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4609
4611
|
this.disabled = false;
|
|
4610
4612
|
this.disableFocusTrap = false;
|
|
4611
4613
|
this.error = false;
|
|
4612
|
-
this.inset = false;
|
|
4613
|
-
this.rounded = false;
|
|
4614
4614
|
this.tabIndex = 0;
|
|
4615
4615
|
this.noToggle = false;
|
|
4616
|
-
this.a11yAutocomplete = 'none';
|
|
4617
|
-
this.labeled = true;
|
|
4618
4616
|
this.a11yRole = 'button';
|
|
4619
4617
|
this.onDark = false;
|
|
4620
4618
|
this.showTriggerBorders = true;
|
|
@@ -4736,26 +4734,27 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4736
4734
|
},
|
|
4737
4735
|
|
|
4738
4736
|
/**
|
|
4739
|
-
* If declared,
|
|
4737
|
+
* If declared, the dropdown will only show by calling the API .show() public method.
|
|
4738
|
+
* @default false
|
|
4740
4739
|
*/
|
|
4741
|
-
|
|
4740
|
+
disableEventShow: {
|
|
4742
4741
|
type: Boolean,
|
|
4743
4742
|
reflect: true
|
|
4744
4743
|
},
|
|
4745
4744
|
|
|
4746
4745
|
/**
|
|
4747
|
-
* If declared,
|
|
4748
|
-
* @attr {Boolean} chevron
|
|
4746
|
+
* If declared, applies a border around the trigger slot.
|
|
4749
4747
|
*/
|
|
4750
|
-
|
|
4748
|
+
simple: {
|
|
4751
4749
|
type: Boolean,
|
|
4752
4750
|
reflect: true
|
|
4753
4751
|
},
|
|
4754
4752
|
|
|
4755
4753
|
/**
|
|
4756
|
-
* If declared, the dropdown
|
|
4754
|
+
* If declared, the dropdown displays a chevron on the right.
|
|
4755
|
+
* @attr {Boolean} chevron
|
|
4757
4756
|
*/
|
|
4758
|
-
|
|
4757
|
+
chevron: {
|
|
4759
4758
|
type: Boolean,
|
|
4760
4759
|
reflect: true
|
|
4761
4760
|
},
|
|
@@ -4769,7 +4768,7 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4769
4768
|
},
|
|
4770
4769
|
|
|
4771
4770
|
/**
|
|
4772
|
-
* If
|
|
4771
|
+
* If declared, the focus trap inside of bib will be turned off.
|
|
4773
4772
|
*/
|
|
4774
4773
|
disableFocusTrap: {
|
|
4775
4774
|
type: Boolean,
|
|
@@ -4816,22 +4815,6 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4816
4815
|
reflect: true
|
|
4817
4816
|
},
|
|
4818
4817
|
|
|
4819
|
-
/**
|
|
4820
|
-
* Makes the trigger to be full width of its parent container.
|
|
4821
|
-
*/
|
|
4822
|
-
fluid: {
|
|
4823
|
-
type: Boolean,
|
|
4824
|
-
reflect: true
|
|
4825
|
-
},
|
|
4826
|
-
|
|
4827
|
-
/**
|
|
4828
|
-
* If declared, will apply padding around trigger slot content.
|
|
4829
|
-
*/
|
|
4830
|
-
inset: {
|
|
4831
|
-
type: Boolean,
|
|
4832
|
-
reflect: true
|
|
4833
|
-
},
|
|
4834
|
-
|
|
4835
4818
|
/**
|
|
4836
4819
|
* If true, the dropdown bib is displayed.
|
|
4837
4820
|
*/
|
|
@@ -4875,15 +4858,6 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4875
4858
|
reflect: true
|
|
4876
4859
|
},
|
|
4877
4860
|
|
|
4878
|
-
/**
|
|
4879
|
-
* Defines if there is a label preset.
|
|
4880
|
-
* @private
|
|
4881
|
-
*/
|
|
4882
|
-
labeled: {
|
|
4883
|
-
type: Boolean,
|
|
4884
|
-
reflect: true
|
|
4885
|
-
},
|
|
4886
|
-
|
|
4887
4861
|
/**
|
|
4888
4862
|
* Defines if the trigger should size based on the parent element providing the border UI.
|
|
4889
4863
|
* @private
|
|
@@ -4944,6 +4918,9 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4944
4918
|
reflect: true
|
|
4945
4919
|
},
|
|
4946
4920
|
|
|
4921
|
+
/**
|
|
4922
|
+
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
4923
|
+
*/
|
|
4947
4924
|
onSlotChange: {
|
|
4948
4925
|
type: Function,
|
|
4949
4926
|
reflect: false
|
|
@@ -4958,14 +4935,6 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4958
4935
|
reflect: true
|
|
4959
4936
|
},
|
|
4960
4937
|
|
|
4961
|
-
/**
|
|
4962
|
-
* If declared, will apply border-radius to trigger and default slots.
|
|
4963
|
-
*/
|
|
4964
|
-
rounded: {
|
|
4965
|
-
type: Boolean,
|
|
4966
|
-
reflect: true
|
|
4967
|
-
},
|
|
4968
|
-
|
|
4969
4938
|
/**
|
|
4970
4939
|
* @private
|
|
4971
4940
|
*/
|
|
@@ -4980,22 +4949,14 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4980
4949
|
type: String || undefined,
|
|
4981
4950
|
attribute: false,
|
|
4982
4951
|
reflect: false
|
|
4983
|
-
},
|
|
4984
|
-
|
|
4985
|
-
/**
|
|
4986
|
-
* The value for the aria-autocomplete attribute of the trigger element.
|
|
4987
|
-
*/
|
|
4988
|
-
a11yAutocomplete: {
|
|
4989
|
-
type: String,
|
|
4990
|
-
attribute: false,
|
|
4991
4952
|
}
|
|
4992
4953
|
};
|
|
4993
4954
|
}
|
|
4994
4955
|
|
|
4995
4956
|
static get styles() {
|
|
4996
4957
|
return [
|
|
4997
|
-
colorCss$1$3,
|
|
4998
4958
|
tokensCss$1$3,
|
|
4959
|
+
colorCss$1$3,
|
|
4999
4960
|
|
|
5000
4961
|
// default layout
|
|
5001
4962
|
classicColorCss$1,
|
|
@@ -5435,10 +5396,7 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
5435
5396
|
id="bib"
|
|
5436
5397
|
shape="${this.shape}"
|
|
5437
5398
|
?data-show="${this.isPopoverVisible}"
|
|
5438
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
5439
|
-
?common="${this.common}"
|
|
5440
|
-
?rounded="${this.common || this.rounded}"
|
|
5441
|
-
?inset="${this.common || this.inset}">
|
|
5399
|
+
?isfullscreen="${this.isBibFullscreen}">
|
|
5442
5400
|
<div class="slotContent">
|
|
5443
5401
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
5444
5402
|
</div>
|
|
@@ -5546,11 +5504,11 @@ var styleCss$4$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlo
|
|
|
5546
5504
|
|
|
5547
5505
|
var styleDefaultCss = i$5`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
5548
5506
|
|
|
5549
|
-
var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper .displayValue{background-color:var(--ds-auro-input-background-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-
|
|
5507
|
+
var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper .displayValue{background-color:var(--ds-auro-input-background-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([ondark])[disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-input-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
|
|
5550
5508
|
|
|
5551
5509
|
var tokensCss$4 = i$5`:host(:not([ondark])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: transparent}`;
|
|
5552
5510
|
|
|
5553
|
-
var classicStyleCss = i$5`.layout-classic{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-input-outline-color)}.layout-classic .mainContent{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;cursor:text}.layout-classic .mainContent label{cursor:text;font-size:var(--ds-text-body-size-xs);line-height:20px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent input{height:auto;font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);justify-self:flex-start;line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;padding-bottom:0;line-height:0}.layout-classic .accents{padding:
|
|
5511
|
+
var classicStyleCss = i$5`.layout-classic{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-input-outline-color)}.layout-classic .mainContent{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;cursor:text}.layout-classic .mainContent label{cursor:text;font-size:var(--ds-text-body-size-xs);line-height:20px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent input{height:auto;font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);justify-self:flex-start;line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;padding-bottom:0;line-height:0}.layout-classic .accents .typeIcon>*{margin-left:8px}.layout-classic .accents.left{padding-right:8px}.layout-classic .accents.right{padding-left:8px}.layout-classic .accents.right .notification{margin-right:8px}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}`;
|
|
5554
5512
|
|
|
5555
5513
|
var classicColorCss = i$5`.layout-classic label{color:var(--ds-auro-input-label-text-color)}.layout-classic:focus-within{--ds-auro-input-outline-color: var(--ds-auro-input-border-color)}:host(:not([ondark])) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a);--ds-auro-input-outline-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-outline-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([layout*=classic]:not([ondark]):is([validity]:not([validity=valid]))){--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic]:not([ondark]):is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
|
|
5556
5514
|
|
|
@@ -10073,19 +10031,19 @@ class AuroFormValidation {
|
|
|
10073
10031
|
{
|
|
10074
10032
|
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
10075
10033
|
validity: 'tooShort',
|
|
10076
|
-
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
10034
|
+
message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
|
|
10077
10035
|
},
|
|
10078
10036
|
{
|
|
10079
10037
|
check: (e) => e.value?.length > e.maxLength,
|
|
10080
10038
|
validity: 'tooLong',
|
|
10081
|
-
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
10039
|
+
message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
|
|
10082
10040
|
}
|
|
10083
10041
|
],
|
|
10084
10042
|
pattern: [
|
|
10085
10043
|
{
|
|
10086
10044
|
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
10087
10045
|
validity: 'patternMismatch',
|
|
10088
|
-
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
10046
|
+
message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
|
|
10089
10047
|
}
|
|
10090
10048
|
]
|
|
10091
10049
|
},
|
|
@@ -10280,10 +10238,10 @@ class AuroFormValidation {
|
|
|
10280
10238
|
if (!hasValue && elem.required && elem.touched) {
|
|
10281
10239
|
elem.validity = 'valueMissing';
|
|
10282
10240
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
10283
|
-
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
10241
|
+
} else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
10284
10242
|
this.validateType(elem);
|
|
10285
10243
|
this.validateElementAttributes(elem);
|
|
10286
|
-
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
10244
|
+
} else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
|
|
10287
10245
|
this.validateElementAttributes(elem);
|
|
10288
10246
|
}
|
|
10289
10247
|
}
|
|
@@ -10765,7 +10723,7 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10765
10723
|
},
|
|
10766
10724
|
|
|
10767
10725
|
/**
|
|
10768
|
-
* Define custom placeholder text
|
|
10726
|
+
* Define custom placeholder text.
|
|
10769
10727
|
*/
|
|
10770
10728
|
placeholder: {
|
|
10771
10729
|
type: String,
|
|
@@ -13025,7 +12983,7 @@ var buttonVersion$1 = '11.0.0';
|
|
|
13025
12983
|
|
|
13026
12984
|
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)}`;
|
|
13027
12985
|
|
|
13028
|
-
var styleCss$6 = i$5
|
|
12986
|
+
var styleCss$6 = i$5`:host{position:relative;display:block}.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}`;
|
|
13029
12987
|
|
|
13030
12988
|
var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
13031
12989
|
|
|
@@ -13302,7 +13260,7 @@ class AuroInput extends BaseInput {
|
|
|
13302
13260
|
*/
|
|
13303
13261
|
get commonInputClasses() {
|
|
13304
13262
|
return {
|
|
13305
|
-
'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
|
|
13263
|
+
'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
|
|
13306
13264
|
};
|
|
13307
13265
|
}
|
|
13308
13266
|
|
|
@@ -15641,7 +15599,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15641
15599
|
<div id="bibTemplate" part="bibtemplate">
|
|
15642
15600
|
${this.isFullscreen ? u$2`
|
|
15643
15601
|
<div id="headerContainer">
|
|
15644
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15602
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15645
15603
|
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15646
15604
|
</${this.buttonTag}>
|
|
15647
15605
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
@@ -15770,7 +15728,7 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
15770
15728
|
|
|
15771
15729
|
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)}`;
|
|
15772
15730
|
|
|
15773
|
-
var styleCss$3 = i$5
|
|
15731
|
+
var styleCss$3 = i$5`:host{position:relative;display:block}.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}`;
|
|
15774
15732
|
|
|
15775
15733
|
var tokensCss$2 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
15776
15734
|
|
|
@@ -17289,6 +17247,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17289
17247
|
/**
|
|
17290
17248
|
* Formatted value based on `multiSelect` state.
|
|
17291
17249
|
* Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
|
|
17250
|
+
* @private
|
|
17292
17251
|
* @returns {String|Array<String>}
|
|
17293
17252
|
*/
|
|
17294
17253
|
get formattedValue() {
|