@aurodesignsystem/auro-formkit 5.7.0 → 5.8.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +12 -22
  2. package/components/checkbox/demo/api.min.js +66 -2
  3. package/components/checkbox/demo/index.min.js +66 -2
  4. package/components/checkbox/dist/index.js +66 -2
  5. package/components/checkbox/dist/registered.js +66 -2
  6. package/components/combobox/demo/api.md +230 -38
  7. package/components/combobox/demo/api.min.js +155 -6
  8. package/components/combobox/demo/index.md +104 -0
  9. package/components/combobox/demo/index.min.js +155 -6
  10. package/components/combobox/dist/auro-combobox.d.ts +18 -1
  11. package/components/combobox/dist/index.js +155 -6
  12. package/components/combobox/dist/registered.js +155 -6
  13. package/components/counter/demo/api.min.js +69 -5
  14. package/components/counter/demo/index.min.js +69 -5
  15. package/components/counter/dist/index.js +69 -5
  16. package/components/counter/dist/registered.js +69 -5
  17. package/components/datepicker/demo/api.md +40 -0
  18. package/components/datepicker/demo/api.min.js +173 -10
  19. package/components/datepicker/demo/index.min.js +173 -10
  20. package/components/datepicker/dist/auro-calendar-cell.d.ts +6 -0
  21. package/components/datepicker/dist/auro-datepicker.d.ts +8 -0
  22. package/components/datepicker/dist/index.js +173 -10
  23. package/components/datepicker/dist/registered.js +173 -10
  24. package/components/input/demo/api.min.js +67 -3
  25. package/components/input/demo/index.min.js +67 -3
  26. package/components/input/dist/index.js +67 -3
  27. package/components/input/dist/registered.js +67 -3
  28. package/components/radio/demo/api.min.js +97 -5
  29. package/components/radio/demo/index.min.js +97 -5
  30. package/components/radio/dist/auro-radio-group.d.ts +14 -0
  31. package/components/radio/dist/index.js +97 -5
  32. package/components/radio/dist/registered.js +97 -5
  33. package/components/select/demo/api.min.js +67 -3
  34. package/components/select/demo/index.min.js +67 -3
  35. package/components/select/dist/index.js +67 -3
  36. package/components/select/dist/registered.js +67 -3
  37. package/package.json +1 -1
@@ -394,7 +394,7 @@ class AuroRadio extends LitElement {
394
394
  }
395
395
  }
396
396
 
397
- var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}fieldset{all:unset}.displayFlex legend+slot{display:flex;white-space:nowrap}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
397
+ var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}fieldset{all:unset}.displayFlex legend+slot{display:flex;white-space:nowrap}legend{margin-bottom:var(--ds-size-150, 0.75rem)}.hidden{display:none}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
398
398
 
399
399
  var colorCss$1 = css`:host legend{color:var(--ds-auro-radio-group-label-color)}:host([disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]),:host([appearance=inverse]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
400
400
 
@@ -903,6 +903,52 @@ class AuroFormValidation {
903
903
  message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
904
904
  }
905
905
  ]
906
+ },
907
+ combobox: {
908
+ filter: [
909
+ {
910
+ check: (e) => {
911
+
912
+ // Guard Clause: If the behavior is not 'filter', skip this validation
913
+ if (e.behavior !== 'filter') return false;
914
+
915
+ // Get the current input value
916
+ const currentInputValue = e.input.value;
917
+
918
+ // Skip validation if the input has no value
919
+ if (!currentInputValue) return false;
920
+
921
+ /**
922
+ * Let's check if the option selected and combobox value match.
923
+ */
924
+
925
+ // Guard Clause: If there is no option selected fail the validation
926
+ if (!e.optionSelected) return true;
927
+
928
+ // Guard Clause: If there is no value fail the validation
929
+ if (!e.value) return true;
930
+
931
+ // Guard Clause: If the selected option's value doesn't match the input value fail the validation
932
+ if (e.optionSelected.value !== e.value) return true;
933
+
934
+ /**
935
+ * Now let's make sure the user hasn't change the value in the input after selecting an option.
936
+ * This is to make sure there's no user confusion if they select an option but then change the value to something else.
937
+ */
938
+
939
+ // Guard Clause: If the current input value doesn't match the option selected value fail the validation
940
+ if (currentInputValue && currentInputValue !== e.optionSelected.value) return true;
941
+
942
+ // Guard Clause: If the current input value doesn't match the combobox value fail the validation
943
+ if (currentInputValue && currentInputValue !== e.value) return true;
944
+
945
+ // If all the checks passed the validation passes
946
+ return false;
947
+ },
948
+ validity: 'valueMissing',
949
+ message: e => e.getAttribute('setCustomValidityValueMissingFilter') || e.setCustomValidity || ''
950
+ }
951
+ ]
906
952
  }
907
953
  };
908
954
 
@@ -911,6 +957,8 @@ class AuroFormValidation {
911
957
  elementType = 'input';
912
958
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
913
959
  elementType = 'counter';
960
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox')) {
961
+ elementType = 'combobox';
914
962
  }
915
963
 
916
964
  if (elementType) {
@@ -1097,6 +1145,15 @@ class AuroFormValidation {
1097
1145
  }
1098
1146
  }
1099
1147
 
1148
+ const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1149
+
1150
+ if (isCombobox) {
1151
+
1152
+ if (!elem.persistInput || elem.behavior === "filter") {
1153
+ hasValue = elem.input.value?.length > 0;
1154
+ }
1155
+ }
1156
+
1100
1157
  if (!hasValue && elem.required && elem.touched) {
1101
1158
  elem.validity = 'valueMissing';
1102
1159
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
@@ -1105,6 +1162,11 @@ class AuroFormValidation {
1105
1162
  this.validateElementAttributes(elem);
1106
1163
  } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1107
1164
  this.validateElementAttributes(elem);
1165
+ } else if (isCombobox) {
1166
+ this.validateElementAttributes(elem);
1167
+
1168
+ // Don't run extra validation for cases where the combobox is not being used as a filter
1169
+ validationShouldRun = elem.behavior !== 'filter';
1108
1170
  }
1109
1171
  }
1110
1172
 
@@ -1112,8 +1174,8 @@ class AuroFormValidation {
1112
1174
 
1113
1175
  const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1114
1176
 
1115
- // Don't reset combobox validity if persistValue is set since we can't use the input value to validate
1116
- if (!isCombobox || isCombobox && !elem.persistValue) {
1177
+ // Don't reset combobox validity if persistInput is set since we can't use the input value to validate
1178
+ if (!isCombobox || isCombobox && !elem.persistInput) {
1117
1179
 
1118
1180
  // run validation on all inputs since we're going to use them to set the validity of this component
1119
1181
  this.auroInputElements.forEach(input => input.validate());
@@ -1186,6 +1248,8 @@ class AuroFormValidation {
1186
1248
  if (input.validationMessage.length > 0) {
1187
1249
  elem.errorMessage = input.validationMessage;
1188
1250
  }
1251
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
1252
+ elem.errorMessage = elem.input?.inputElement?.validationMessage;
1189
1253
  } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
1190
1254
  const firstInput = this.inputElements[0];
1191
1255
 
@@ -1514,6 +1578,7 @@ class AuroRadioGroup extends LitElement {
1514
1578
  this.optionSelected = undefined;
1515
1579
  this.onDark = false;
1516
1580
  this.touched = false;
1581
+ this.hasLegend = false;
1517
1582
 
1518
1583
  /**
1519
1584
  * @private
@@ -1618,6 +1683,18 @@ class AuroRadioGroup extends LitElement {
1618
1683
  type: Boolean,
1619
1684
  reflect: true,
1620
1685
  attribute: false
1686
+ },
1687
+
1688
+ /**
1689
+ * Indicates whether the legend slot is set or not.
1690
+ * @type {boolean}
1691
+ * @default false
1692
+ * @private
1693
+ */
1694
+ hasLegend: {
1695
+ type: Boolean,
1696
+ reflect: false,
1697
+ attribute: false
1621
1698
  }
1622
1699
  };
1623
1700
  }
@@ -1806,6 +1883,18 @@ class AuroRadioGroup extends LitElement {
1806
1883
  this.handleItems();
1807
1884
  }
1808
1885
 
1886
+ /**
1887
+ * Method for handling legend slot changes.
1888
+ * @private
1889
+ * @returns {void}
1890
+ */
1891
+ handleLegendSlotChange() {
1892
+ const slot = this.shadowRoot.querySelector('slot[name="legend"]');
1893
+ if (slot) {
1894
+ this.hasLegend = slot.assignedNodes().length > 0;
1895
+ }
1896
+ }
1897
+
1809
1898
  /**
1810
1899
  * Method for initializing the tab index of the checked radio input.
1811
1900
  * @private
@@ -1920,11 +2009,14 @@ class AuroRadioGroup extends LitElement {
1920
2009
  const groupClasses = {
1921
2010
  'displayFlex': this.horizontal && this.items.length <= this.max
1922
2011
  };
2012
+ const legendClasses = {
2013
+ 'hidden': !this.hasLegend && this.required
2014
+ };
1923
2015
 
1924
2016
  return html$1`
1925
2017
  <fieldset class="${classMap(groupClasses)}" part="radio-group" role="radiogroup">
1926
- <legend>
1927
- <slot name="legend"></slot>
2018
+ <legend class="${classMap(legendClasses)}">
2019
+ <slot name="legend" @slotchange=${this.handleLegendSlotChange}></slot>
1928
2020
  ${this.required ? undefined : html$1`<slot name="optionalLabel"> (optional)</slot>`}
1929
2021
  </legend>
1930
2022
  <slot @slotchange=${this.handleSlotChange}></slot>
@@ -394,7 +394,7 @@ class AuroRadio extends LitElement {
394
394
  }
395
395
  }
396
396
 
397
- var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}fieldset{all:unset}.displayFlex legend+slot{display:flex;white-space:nowrap}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
397
+ var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}fieldset{all:unset}.displayFlex legend+slot{display:flex;white-space:nowrap}legend{margin-bottom:var(--ds-size-150, 0.75rem)}.hidden{display:none}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
398
398
 
399
399
  var colorCss$1 = css`:host legend{color:var(--ds-auro-radio-group-label-color)}:host([disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]),:host([appearance=inverse]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
400
400
 
@@ -903,6 +903,52 @@ class AuroFormValidation {
903
903
  message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
904
904
  }
905
905
  ]
906
+ },
907
+ combobox: {
908
+ filter: [
909
+ {
910
+ check: (e) => {
911
+
912
+ // Guard Clause: If the behavior is not 'filter', skip this validation
913
+ if (e.behavior !== 'filter') return false;
914
+
915
+ // Get the current input value
916
+ const currentInputValue = e.input.value;
917
+
918
+ // Skip validation if the input has no value
919
+ if (!currentInputValue) return false;
920
+
921
+ /**
922
+ * Let's check if the option selected and combobox value match.
923
+ */
924
+
925
+ // Guard Clause: If there is no option selected fail the validation
926
+ if (!e.optionSelected) return true;
927
+
928
+ // Guard Clause: If there is no value fail the validation
929
+ if (!e.value) return true;
930
+
931
+ // Guard Clause: If the selected option's value doesn't match the input value fail the validation
932
+ if (e.optionSelected.value !== e.value) return true;
933
+
934
+ /**
935
+ * Now let's make sure the user hasn't change the value in the input after selecting an option.
936
+ * This is to make sure there's no user confusion if they select an option but then change the value to something else.
937
+ */
938
+
939
+ // Guard Clause: If the current input value doesn't match the option selected value fail the validation
940
+ if (currentInputValue && currentInputValue !== e.optionSelected.value) return true;
941
+
942
+ // Guard Clause: If the current input value doesn't match the combobox value fail the validation
943
+ if (currentInputValue && currentInputValue !== e.value) return true;
944
+
945
+ // If all the checks passed the validation passes
946
+ return false;
947
+ },
948
+ validity: 'valueMissing',
949
+ message: e => e.getAttribute('setCustomValidityValueMissingFilter') || e.setCustomValidity || ''
950
+ }
951
+ ]
906
952
  }
907
953
  };
908
954
 
@@ -911,6 +957,8 @@ class AuroFormValidation {
911
957
  elementType = 'input';
912
958
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
913
959
  elementType = 'counter';
960
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox')) {
961
+ elementType = 'combobox';
914
962
  }
915
963
 
916
964
  if (elementType) {
@@ -1097,6 +1145,15 @@ class AuroFormValidation {
1097
1145
  }
1098
1146
  }
1099
1147
 
1148
+ const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1149
+
1150
+ if (isCombobox) {
1151
+
1152
+ if (!elem.persistInput || elem.behavior === "filter") {
1153
+ hasValue = elem.input.value?.length > 0;
1154
+ }
1155
+ }
1156
+
1100
1157
  if (!hasValue && elem.required && elem.touched) {
1101
1158
  elem.validity = 'valueMissing';
1102
1159
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
@@ -1105,6 +1162,11 @@ class AuroFormValidation {
1105
1162
  this.validateElementAttributes(elem);
1106
1163
  } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1107
1164
  this.validateElementAttributes(elem);
1165
+ } else if (isCombobox) {
1166
+ this.validateElementAttributes(elem);
1167
+
1168
+ // Don't run extra validation for cases where the combobox is not being used as a filter
1169
+ validationShouldRun = elem.behavior !== 'filter';
1108
1170
  }
1109
1171
  }
1110
1172
 
@@ -1112,8 +1174,8 @@ class AuroFormValidation {
1112
1174
 
1113
1175
  const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1114
1176
 
1115
- // Don't reset combobox validity if persistValue is set since we can't use the input value to validate
1116
- if (!isCombobox || isCombobox && !elem.persistValue) {
1177
+ // Don't reset combobox validity if persistInput is set since we can't use the input value to validate
1178
+ if (!isCombobox || isCombobox && !elem.persistInput) {
1117
1179
 
1118
1180
  // run validation on all inputs since we're going to use them to set the validity of this component
1119
1181
  this.auroInputElements.forEach(input => input.validate());
@@ -1186,6 +1248,8 @@ class AuroFormValidation {
1186
1248
  if (input.validationMessage.length > 0) {
1187
1249
  elem.errorMessage = input.validationMessage;
1188
1250
  }
1251
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
1252
+ elem.errorMessage = elem.input?.inputElement?.validationMessage;
1189
1253
  } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
1190
1254
  const firstInput = this.inputElements[0];
1191
1255
 
@@ -1514,6 +1578,7 @@ class AuroRadioGroup extends LitElement {
1514
1578
  this.optionSelected = undefined;
1515
1579
  this.onDark = false;
1516
1580
  this.touched = false;
1581
+ this.hasLegend = false;
1517
1582
 
1518
1583
  /**
1519
1584
  * @private
@@ -1618,6 +1683,18 @@ class AuroRadioGroup extends LitElement {
1618
1683
  type: Boolean,
1619
1684
  reflect: true,
1620
1685
  attribute: false
1686
+ },
1687
+
1688
+ /**
1689
+ * Indicates whether the legend slot is set or not.
1690
+ * @type {boolean}
1691
+ * @default false
1692
+ * @private
1693
+ */
1694
+ hasLegend: {
1695
+ type: Boolean,
1696
+ reflect: false,
1697
+ attribute: false
1621
1698
  }
1622
1699
  };
1623
1700
  }
@@ -1806,6 +1883,18 @@ class AuroRadioGroup extends LitElement {
1806
1883
  this.handleItems();
1807
1884
  }
1808
1885
 
1886
+ /**
1887
+ * Method for handling legend slot changes.
1888
+ * @private
1889
+ * @returns {void}
1890
+ */
1891
+ handleLegendSlotChange() {
1892
+ const slot = this.shadowRoot.querySelector('slot[name="legend"]');
1893
+ if (slot) {
1894
+ this.hasLegend = slot.assignedNodes().length > 0;
1895
+ }
1896
+ }
1897
+
1809
1898
  /**
1810
1899
  * Method for initializing the tab index of the checked radio input.
1811
1900
  * @private
@@ -1920,11 +2009,14 @@ class AuroRadioGroup extends LitElement {
1920
2009
  const groupClasses = {
1921
2010
  'displayFlex': this.horizontal && this.items.length <= this.max
1922
2011
  };
2012
+ const legendClasses = {
2013
+ 'hidden': !this.hasLegend && this.required
2014
+ };
1923
2015
 
1924
2016
  return html$1`
1925
2017
  <fieldset class="${classMap(groupClasses)}" part="radio-group" role="radiogroup">
1926
- <legend>
1927
- <slot name="legend"></slot>
2018
+ <legend class="${classMap(legendClasses)}">
2019
+ <slot name="legend" @slotchange=${this.handleLegendSlotChange}></slot>
1928
2020
  ${this.required ? undefined : html$1`<slot name="optionalLabel"> (optional)</slot>`}
1929
2021
  </legend>
1930
2022
  <slot @slotchange=${this.handleSlotChange}></slot>
@@ -832,6 +832,52 @@ class AuroFormValidation {
832
832
  message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
833
833
  }
834
834
  ]
835
+ },
836
+ combobox: {
837
+ filter: [
838
+ {
839
+ check: (e) => {
840
+
841
+ // Guard Clause: If the behavior is not 'filter', skip this validation
842
+ if (e.behavior !== 'filter') return false;
843
+
844
+ // Get the current input value
845
+ const currentInputValue = e.input.value;
846
+
847
+ // Skip validation if the input has no value
848
+ if (!currentInputValue) return false;
849
+
850
+ /**
851
+ * Let's check if the option selected and combobox value match.
852
+ */
853
+
854
+ // Guard Clause: If there is no option selected fail the validation
855
+ if (!e.optionSelected) return true;
856
+
857
+ // Guard Clause: If there is no value fail the validation
858
+ if (!e.value) return true;
859
+
860
+ // Guard Clause: If the selected option's value doesn't match the input value fail the validation
861
+ if (e.optionSelected.value !== e.value) return true;
862
+
863
+ /**
864
+ * Now let's make sure the user hasn't change the value in the input after selecting an option.
865
+ * This is to make sure there's no user confusion if they select an option but then change the value to something else.
866
+ */
867
+
868
+ // Guard Clause: If the current input value doesn't match the option selected value fail the validation
869
+ if (currentInputValue && currentInputValue !== e.optionSelected.value) return true;
870
+
871
+ // Guard Clause: If the current input value doesn't match the combobox value fail the validation
872
+ if (currentInputValue && currentInputValue !== e.value) return true;
873
+
874
+ // If all the checks passed the validation passes
875
+ return false;
876
+ },
877
+ validity: 'valueMissing',
878
+ message: e => e.getAttribute('setCustomValidityValueMissingFilter') || e.setCustomValidity || ''
879
+ }
880
+ ]
835
881
  }
836
882
  };
837
883
 
@@ -840,6 +886,8 @@ class AuroFormValidation {
840
886
  elementType = 'input';
841
887
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
842
888
  elementType = 'counter';
889
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox')) {
890
+ elementType = 'combobox';
843
891
  }
844
892
 
845
893
  if (elementType) {
@@ -1026,6 +1074,15 @@ class AuroFormValidation {
1026
1074
  }
1027
1075
  }
1028
1076
 
1077
+ const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1078
+
1079
+ if (isCombobox) {
1080
+
1081
+ if (!elem.persistInput || elem.behavior === "filter") {
1082
+ hasValue = elem.input.value?.length > 0;
1083
+ }
1084
+ }
1085
+
1029
1086
  if (!hasValue && elem.required && elem.touched) {
1030
1087
  elem.validity = 'valueMissing';
1031
1088
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
@@ -1034,6 +1091,11 @@ class AuroFormValidation {
1034
1091
  this.validateElementAttributes(elem);
1035
1092
  } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1036
1093
  this.validateElementAttributes(elem);
1094
+ } else if (isCombobox) {
1095
+ this.validateElementAttributes(elem);
1096
+
1097
+ // Don't run extra validation for cases where the combobox is not being used as a filter
1098
+ validationShouldRun = elem.behavior !== 'filter';
1037
1099
  }
1038
1100
  }
1039
1101
 
@@ -1041,8 +1103,8 @@ class AuroFormValidation {
1041
1103
 
1042
1104
  const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1043
1105
 
1044
- // Don't reset combobox validity if persistValue is set since we can't use the input value to validate
1045
- if (!isCombobox || isCombobox && !elem.persistValue) {
1106
+ // Don't reset combobox validity if persistInput is set since we can't use the input value to validate
1107
+ if (!isCombobox || isCombobox && !elem.persistInput) {
1046
1108
 
1047
1109
  // run validation on all inputs since we're going to use them to set the validity of this component
1048
1110
  this.auroInputElements.forEach(input => input.validate());
@@ -1115,6 +1177,8 @@ class AuroFormValidation {
1115
1177
  if (input.validationMessage.length > 0) {
1116
1178
  elem.errorMessage = input.validationMessage;
1117
1179
  }
1180
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
1181
+ elem.errorMessage = elem.input?.inputElement?.validationMessage;
1118
1182
  } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
1119
1183
  const firstInput = this.inputElements[0];
1120
1184
 
@@ -5958,7 +6022,7 @@ class AuroHelpText extends i$2 {
5958
6022
 
5959
6023
  var helpTextVersion = '1.0.0';
5960
6024
 
5961
- var styleCss$2 = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[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{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;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:var(--ds-size-100, 0.5rem)}.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{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}: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],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
6025
+ var styleCss$2 = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[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);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;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:var(--ds-size-100, 0.5rem)}.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{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-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],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
5962
6026
 
5963
6027
  var emphasizedColorCss = i$5`:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}`;
5964
6028