@aurodesignsystem-dev/auro-formkit 0.0.0-pr757.1 → 0.0.0-pr773.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 (52) hide show
  1. package/components/bibtemplate/dist/index.js +1 -1
  2. package/components/bibtemplate/dist/registered.js +1 -1
  3. package/components/checkbox/demo/api.min.js +9 -9
  4. package/components/checkbox/demo/index.min.js +9 -9
  5. package/components/checkbox/dist/index.js +9 -9
  6. package/components/checkbox/dist/registered.js +9 -9
  7. package/components/combobox/demo/api.min.js +79 -96
  8. package/components/combobox/demo/index.min.js +79 -96
  9. package/components/combobox/dist/index.js +43 -85
  10. package/components/combobox/dist/registered.js +43 -85
  11. package/components/counter/demo/api.md +1 -1
  12. package/components/counter/demo/api.min.js +35 -77
  13. package/components/counter/demo/index.min.js +35 -77
  14. package/components/counter/dist/auro-counter-group.d.ts +1 -1
  15. package/components/counter/dist/index.js +35 -77
  16. package/components/counter/dist/registered.js +35 -77
  17. package/components/datepicker/demo/api.min.js +64 -91
  18. package/components/datepicker/demo/index.min.js +64 -91
  19. package/components/datepicker/dist/auro-datepicker.d.ts +6 -0
  20. package/components/datepicker/dist/index.js +64 -91
  21. package/components/datepicker/dist/registered.js +64 -91
  22. package/components/dropdown/demo/api.md +60 -266
  23. package/components/dropdown/demo/api.min.js +25 -67
  24. package/components/dropdown/demo/index.md +45 -363
  25. package/components/dropdown/demo/index.min.js +25 -67
  26. package/components/dropdown/dist/auro-dropdown.d.ts +21 -71
  27. package/components/dropdown/dist/index.js +25 -67
  28. package/components/dropdown/dist/registered.js +25 -67
  29. package/components/helptext/dist/index.js +1 -1
  30. package/components/helptext/dist/registered.js +1 -1
  31. package/components/input/demo/api.min.js +11 -11
  32. package/components/input/demo/index.min.js +11 -11
  33. package/components/input/dist/index.js +11 -11
  34. package/components/input/dist/registered.js +11 -11
  35. package/components/menu/demo/api.md +1 -1
  36. package/components/menu/demo/api.min.js +36 -11
  37. package/components/menu/demo/index.min.js +36 -11
  38. package/components/menu/dist/auro-menu.d.ts +13 -2
  39. package/components/menu/dist/index.js +36 -11
  40. package/components/menu/dist/registered.js +36 -11
  41. package/components/radio/demo/api.min.js +10 -10
  42. package/components/radio/demo/index.min.js +10 -10
  43. package/components/radio/dist/auro-radio.d.ts +1 -1
  44. package/components/radio/dist/index.js +10 -10
  45. package/components/radio/dist/registered.js +10 -10
  46. package/components/select/demo/api.md +2 -2
  47. package/components/select/demo/api.min.js +98 -168
  48. package/components/select/demo/index.min.js +98 -168
  49. package/components/select/dist/auro-select.d.ts +13 -3
  50. package/components/select/dist/index.js +62 -157
  51. package/components/select/dist/registered.js +62 -157
  52. package/package.json +1 -1
@@ -1895,7 +1895,7 @@ class AuroBibtemplate extends LitElement {
1895
1895
  <div id="bibTemplate" part="bibtemplate">
1896
1896
  ${this.isFullscreen ? html$1`
1897
1897
  <div id="headerContainer">
1898
- <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1898
+ <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1899
1899
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
1900
1900
  </${this.buttonTag}>
1901
1901
  <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
@@ -1895,7 +1895,7 @@ class AuroBibtemplate extends LitElement {
1895
1895
  <div id="bibTemplate" part="bibtemplate">
1896
1896
  ${this.isFullscreen ? html$1`
1897
1897
  <div id="headerContainer">
1898
- <${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1898
+ <${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
1899
1899
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
1900
1900
  </${this.buttonTag}>
1901
1901
  <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
@@ -883,19 +883,19 @@ class AuroFormValidation {
883
883
  {
884
884
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
885
885
  validity: 'tooShort',
886
- message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
886
+ message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
887
887
  },
888
888
  {
889
889
  check: (e) => e.value?.length > e.maxLength,
890
890
  validity: 'tooLong',
891
- message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
891
+ message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
892
892
  }
893
893
  ],
894
894
  pattern: [
895
895
  {
896
896
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
897
897
  validity: 'patternMismatch',
898
- message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
898
+ message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
899
899
  }
900
900
  ]
901
901
  },
@@ -1090,10 +1090,10 @@ class AuroFormValidation {
1090
1090
  if (!hasValue && elem.required && elem.touched) {
1091
1091
  elem.validity = 'valueMissing';
1092
1092
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1093
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1093
+ } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1094
1094
  this.validateType(elem);
1095
1095
  this.validateElementAttributes(elem);
1096
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1096
+ } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1097
1097
  this.validateElementAttributes(elem);
1098
1098
  }
1099
1099
  }
@@ -1224,13 +1224,13 @@ class AuroDependencyVersioning {
1224
1224
  }
1225
1225
  }
1226
1226
 
1227
- var styleCss$1 = i$5`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
1227
+ var styleCss$1 = i$5`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
1228
1228
 
1229
1229
  var colorCss$1 = i$5`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
1230
1230
 
1231
1231
  var colorCss = 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)}`;
1232
1232
 
1233
- var styleCss = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
1233
+ var styleCss = 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}`;
1234
1234
 
1235
1235
  var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1236
1236
 
@@ -1821,11 +1821,11 @@ class AuroCheckboxGroup extends i$2 {
1821
1821
 
1822
1822
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1823
1823
  ? u`
1824
- <${this.helpTextTag} large part="helpText" ?onDark="${this.onDark}">
1824
+ <${this.helpTextTag} part="helpText" ?onDark="${this.onDark}">
1825
1825
  <slot name="helpText"></slot>
1826
1826
  </${this.helpTextTag}>`
1827
1827
  : u`
1828
- <${this.helpTextTag} error large ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1828
+ <${this.helpTextTag} error ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1829
1829
  ${this.errorMessage}
1830
1830
  </${this.helpTextTag}>`
1831
1831
  }
@@ -875,19 +875,19 @@ class AuroFormValidation {
875
875
  {
876
876
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
877
877
  validity: 'tooShort',
878
- message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
878
+ message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
879
879
  },
880
880
  {
881
881
  check: (e) => e.value?.length > e.maxLength,
882
882
  validity: 'tooLong',
883
- message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
883
+ message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
884
884
  }
885
885
  ],
886
886
  pattern: [
887
887
  {
888
888
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
889
889
  validity: 'patternMismatch',
890
- message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
890
+ message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
891
891
  }
892
892
  ]
893
893
  },
@@ -1082,10 +1082,10 @@ class AuroFormValidation {
1082
1082
  if (!hasValue && elem.required && elem.touched) {
1083
1083
  elem.validity = 'valueMissing';
1084
1084
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1085
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1085
+ } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1086
1086
  this.validateType(elem);
1087
1087
  this.validateElementAttributes(elem);
1088
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1088
+ } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1089
1089
  this.validateElementAttributes(elem);
1090
1090
  }
1091
1091
  }
@@ -1216,13 +1216,13 @@ class AuroDependencyVersioning {
1216
1216
  }
1217
1217
  }
1218
1218
 
1219
- var styleCss$1 = i$5`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
1219
+ var styleCss$1 = i$5`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
1220
1220
 
1221
1221
  var colorCss$1 = i$5`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
1222
1222
 
1223
1223
  var colorCss = 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)}`;
1224
1224
 
1225
- var styleCss = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
1225
+ var styleCss = 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}`;
1226
1226
 
1227
1227
  var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1228
1228
 
@@ -1813,11 +1813,11 @@ class AuroCheckboxGroup extends i$2 {
1813
1813
 
1814
1814
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1815
1815
  ? u`
1816
- <${this.helpTextTag} large part="helpText" ?onDark="${this.onDark}">
1816
+ <${this.helpTextTag} part="helpText" ?onDark="${this.onDark}">
1817
1817
  <slot name="helpText"></slot>
1818
1818
  </${this.helpTextTag}>`
1819
1819
  : u`
1820
- <${this.helpTextTag} error large ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1820
+ <${this.helpTextTag} error ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1821
1821
  ${this.errorMessage}
1822
1822
  </${this.helpTextTag}>`
1823
1823
  }
@@ -828,19 +828,19 @@ class AuroFormValidation {
828
828
  {
829
829
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
830
830
  validity: 'tooShort',
831
- message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
831
+ message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
832
832
  },
833
833
  {
834
834
  check: (e) => e.value?.length > e.maxLength,
835
835
  validity: 'tooLong',
836
- message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
836
+ message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
837
837
  }
838
838
  ],
839
839
  pattern: [
840
840
  {
841
841
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
842
842
  validity: 'patternMismatch',
843
- message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
843
+ message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
844
844
  }
845
845
  ]
846
846
  },
@@ -1035,10 +1035,10 @@ class AuroFormValidation {
1035
1035
  if (!hasValue && elem.required && elem.touched) {
1036
1036
  elem.validity = 'valueMissing';
1037
1037
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1038
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1038
+ } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1039
1039
  this.validateType(elem);
1040
1040
  this.validateElementAttributes(elem);
1041
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1041
+ } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1042
1042
  this.validateElementAttributes(elem);
1043
1043
  }
1044
1044
  }
@@ -1169,13 +1169,13 @@ class AuroDependencyVersioning {
1169
1169
  }
1170
1170
  }
1171
1171
 
1172
- var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
1172
+ var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
1173
1173
 
1174
1174
  var colorCss$1 = css`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
1175
1175
 
1176
1176
  var colorCss = css`: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)}`;
1177
1177
 
1178
- var styleCss = css`.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}`;
1178
+ var styleCss = css`: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}`;
1179
1179
 
1180
1180
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1181
1181
 
@@ -1766,11 +1766,11 @@ class AuroCheckboxGroup extends LitElement {
1766
1766
 
1767
1767
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1768
1768
  ? html$1`
1769
- <${this.helpTextTag} large part="helpText" ?onDark="${this.onDark}">
1769
+ <${this.helpTextTag} part="helpText" ?onDark="${this.onDark}">
1770
1770
  <slot name="helpText"></slot>
1771
1771
  </${this.helpTextTag}>`
1772
1772
  : html$1`
1773
- <${this.helpTextTag} error large ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1773
+ <${this.helpTextTag} error ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1774
1774
  ${this.errorMessage}
1775
1775
  </${this.helpTextTag}>`
1776
1776
  }
@@ -828,19 +828,19 @@ class AuroFormValidation {
828
828
  {
829
829
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
830
830
  validity: 'tooShort',
831
- message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
831
+ message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
832
832
  },
833
833
  {
834
834
  check: (e) => e.value?.length > e.maxLength,
835
835
  validity: 'tooLong',
836
- message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
836
+ message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
837
837
  }
838
838
  ],
839
839
  pattern: [
840
840
  {
841
841
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
842
842
  validity: 'patternMismatch',
843
- message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
843
+ message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
844
844
  }
845
845
  ]
846
846
  },
@@ -1035,10 +1035,10 @@ class AuroFormValidation {
1035
1035
  if (!hasValue && elem.required && elem.touched) {
1036
1036
  elem.validity = 'valueMissing';
1037
1037
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1038
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1038
+ } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1039
1039
  this.validateType(elem);
1040
1040
  this.validateElementAttributes(elem);
1041
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1041
+ } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1042
1042
  this.validateElementAttributes(elem);
1043
1043
  }
1044
1044
  }
@@ -1169,13 +1169,13 @@ class AuroDependencyVersioning {
1169
1169
  }
1170
1170
  }
1171
1171
 
1172
- var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
1172
+ var styleCss$1 = css`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
1173
1173
 
1174
1174
  var colorCss$1 = css`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
1175
1175
 
1176
1176
  var colorCss = css`: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)}`;
1177
1177
 
1178
- var styleCss = css`.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}`;
1178
+ var styleCss = css`: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}`;
1179
1179
 
1180
1180
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1181
1181
 
@@ -1766,11 +1766,11 @@ class AuroCheckboxGroup extends LitElement {
1766
1766
 
1767
1767
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1768
1768
  ? html$1`
1769
- <${this.helpTextTag} large part="helpText" ?onDark="${this.onDark}">
1769
+ <${this.helpTextTag} part="helpText" ?onDark="${this.onDark}">
1770
1770
  <slot name="helpText"></slot>
1771
1771
  </${this.helpTextTag}>`
1772
1772
  : html$1`
1773
- <${this.helpTextTag} error large ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1773
+ <${this.helpTextTag} error ?onDark="${this.onDark}" role="alert" aria-live="assertive" part="helpText">
1774
1774
  ${this.errorMessage}
1775
1775
  </${this.helpTextTag}>`
1776
1776
  }