@aurodesignsystem-dev/auro-formkit 0.0.0-pr750.1 → 0.0.0-pr753.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 (87) 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.html +10 -16
  8. package/components/combobox/demo/api.md +6 -12
  9. package/components/combobox/demo/api.min.js +101 -84
  10. package/components/combobox/demo/index.html +10 -16
  11. package/components/combobox/demo/index.min.js +101 -84
  12. package/components/combobox/demo/readme.html +9 -16
  13. package/components/combobox/dist/index.js +89 -47
  14. package/components/combobox/dist/registered.js +89 -47
  15. package/components/counter/demo/api.html +10 -16
  16. package/components/counter/demo/api.md +7 -140
  17. package/components/counter/demo/api.min.js +387 -557
  18. package/components/counter/demo/index.html +10 -16
  19. package/components/counter/demo/index.md +0 -82
  20. package/components/counter/demo/index.min.js +387 -557
  21. package/components/counter/demo/readme.html +9 -16
  22. package/components/counter/dist/auro-counter-group.d.ts +14 -71
  23. package/components/counter/dist/auro-counter.d.ts +0 -10
  24. package/components/counter/dist/index.js +387 -557
  25. package/components/counter/dist/registered.js +387 -557
  26. package/components/datepicker/demo/api.html +10 -16
  27. package/components/datepicker/demo/api.min.js +95 -68
  28. package/components/datepicker/demo/index.html +10 -16
  29. package/components/datepicker/demo/index.min.js +95 -68
  30. package/components/datepicker/demo/readme.html +9 -16
  31. package/components/datepicker/dist/auro-datepicker.d.ts +0 -6
  32. package/components/datepicker/dist/index.js +95 -68
  33. package/components/datepicker/dist/registered.js +95 -68
  34. package/components/dropdown/demo/api.html +10 -16
  35. package/components/dropdown/demo/api.md +268 -76
  36. package/components/dropdown/demo/api.min.js +68 -26
  37. package/components/dropdown/demo/index.html +10 -16
  38. package/components/dropdown/demo/index.md +363 -45
  39. package/components/dropdown/demo/index.min.js +68 -26
  40. package/components/dropdown/demo/readme.html +9 -16
  41. package/components/dropdown/dist/auro-dropdown.d.ts +71 -21
  42. package/components/dropdown/dist/index.js +68 -26
  43. package/components/dropdown/dist/registered.js +68 -26
  44. package/components/form/demo/api.html +9 -16
  45. package/components/form/demo/autocomplete.html +3 -19
  46. package/components/form/demo/index.html +9 -16
  47. package/components/form/demo/readme.html +9 -16
  48. package/components/form/demo/working.html +13 -19
  49. package/components/helptext/dist/index.js +1 -1
  50. package/components/helptext/dist/registered.js +1 -1
  51. package/components/input/demo/api.html +10 -16
  52. package/components/input/demo/api.md +1 -1
  53. package/components/input/demo/api.min.js +14 -14
  54. package/components/input/demo/index.html +10 -16
  55. package/components/input/demo/index.min.js +14 -14
  56. package/components/input/demo/readme.html +9 -16
  57. package/components/input/dist/base-input.d.ts +1 -1
  58. package/components/input/dist/index.js +14 -14
  59. package/components/input/dist/registered.js +14 -14
  60. package/components/menu/demo/api.html +32 -16
  61. package/components/menu/demo/api.md +1 -1
  62. package/components/menu/demo/api.min.js +12 -37
  63. package/components/menu/demo/index.html +10 -16
  64. package/components/menu/demo/index.min.js +12 -37
  65. package/components/menu/demo/readme.html +9 -16
  66. package/components/menu/dist/auro-menu.d.ts +2 -13
  67. package/components/menu/dist/index.js +12 -37
  68. package/components/menu/dist/registered.js +12 -37
  69. package/components/radio/demo/api.html +10 -16
  70. package/components/radio/demo/api.min.js +10 -10
  71. package/components/radio/demo/index.html +10 -16
  72. package/components/radio/demo/index.min.js +10 -10
  73. package/components/radio/demo/readme.html +9 -16
  74. package/components/radio/dist/auro-radio.d.ts +1 -1
  75. package/components/radio/dist/index.js +10 -10
  76. package/components/radio/dist/registered.js +10 -10
  77. package/components/select/demo/api.html +10 -16
  78. package/components/select/demo/api.md +16 -19
  79. package/components/select/demo/api.min.js +295 -136
  80. package/components/select/demo/index.html +11 -16
  81. package/components/select/demo/index.md +1 -1
  82. package/components/select/demo/index.min.js +295 -136
  83. package/components/select/demo/readme.html +9 -16
  84. package/components/select/dist/auro-select.d.ts +7 -32
  85. package/components/select/dist/index.js +283 -99
  86. package/components/select/dist/registered.js +283 -99
  87. package/package.json +25 -26
@@ -221,8 +221,8 @@ class AuroRadio extends i$2 {
221
221
  },
222
222
 
223
223
  /**
224
- * Do not add to api doc since changing of this can easily break a11y.
225
224
  * @private
225
+ * not to add to api.md since changing of this can easily break a11y.
226
226
  */
227
227
  role: {
228
228
  type: String,
@@ -418,7 +418,7 @@ class AuroRadio extends i$2 {
418
418
  */
419
419
  const a=Symbol.for(""),o=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(x);
420
420
 
421
- var styleCss$1 = i$5`: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)}`;
421
+ var styleCss$1 = i$5`: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)}`;
422
422
 
423
423
  var colorCss$1 = i$5`: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]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
424
424
 
@@ -898,19 +898,19 @@ class AuroFormValidation {
898
898
  {
899
899
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
900
900
  validity: 'tooShort',
901
- message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
901
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
902
902
  },
903
903
  {
904
904
  check: (e) => e.value?.length > e.maxLength,
905
905
  validity: 'tooLong',
906
- message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
906
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
907
907
  }
908
908
  ],
909
909
  pattern: [
910
910
  {
911
911
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
912
912
  validity: 'patternMismatch',
913
- message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
913
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
914
914
  }
915
915
  ]
916
916
  },
@@ -1105,10 +1105,10 @@ class AuroFormValidation {
1105
1105
  if (!hasValue && elem.required && elem.touched) {
1106
1106
  elem.validity = 'valueMissing';
1107
1107
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1108
- } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1108
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1109
1109
  this.validateType(elem);
1110
1110
  this.validateElementAttributes(elem);
1111
- } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1111
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1112
1112
  this.validateElementAttributes(elem);
1113
1113
  }
1114
1114
  }
@@ -1241,7 +1241,7 @@ class AuroDependencyVersioning {
1241
1241
 
1242
1242
  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)}`;
1243
1243
 
1244
- 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}`;
1244
+ 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}`;
1245
1245
 
1246
1246
  var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1247
1247
 
@@ -1878,11 +1878,11 @@ class AuroRadioGroup extends i$2 {
1878
1878
 
1879
1879
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1880
1880
  ? u`
1881
- <${this.helpTextTag} ?onDark="${this.onDark}" part="helpText">
1881
+ <${this.helpTextTag} large ?onDark="${this.onDark}" part="helpText">
1882
1882
  <slot name="helpText"></slot>
1883
1883
  </${this.helpTextTag}>`
1884
1884
  : u`
1885
- <${this.helpTextTag} ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1885
+ <${this.helpTextTag} large ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1886
1886
  ${this.errorMessage}
1887
1887
  </${this.helpTextTag}>`
1888
1888
  }
@@ -16,24 +16,17 @@
16
16
  <head>
17
17
  <meta charset="UTF-8" />
18
18
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
- <title>Auro Web Component Demo | auro-radio</title>
20
-
21
- <!-- Prism.js Stylesheet -->
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
23
-
24
- <!-- Legacy reference is still needed to support auro-radio's use of legacy token values at this time -->
25
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
-
27
- <!-- Design Token Alaska Theme -->
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
-
30
- <!-- Webcore Stylesheet Alaska Theme -->
31
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
-
33
- <!-- Demo Specific Styles -->
19
+ <title>Auro Web Component Generator | auro-radio custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
34
27
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
28
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
36
- </head>
29
+ </head>
37
30
  <body class="auro-markdown">
38
31
  <main></main>
39
32
 
@@ -69,8 +69,8 @@ export class AuroRadio extends LitElement {
69
69
  attribute: boolean;
70
70
  };
71
71
  /**
72
- * Do not add to api doc since changing of this can easily break a11y.
73
72
  * @private
73
+ * not to add to api.md since changing of this can easily break a11y.
74
74
  */
75
75
  role: {
76
76
  type: StringConstructor;
@@ -181,8 +181,8 @@ class AuroRadio extends LitElement {
181
181
  },
182
182
 
183
183
  /**
184
- * Do not add to api doc since changing of this can easily break a11y.
185
184
  * @private
185
+ * not to add to api.md since changing of this can easily break a11y.
186
186
  */
187
187
  role: {
188
188
  type: String,
@@ -371,7 +371,7 @@ class AuroRadio extends LitElement {
371
371
  }
372
372
  }
373
373
 
374
- 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)}`;
374
+ 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)}`;
375
375
 
376
376
  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]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
377
377
 
@@ -851,19 +851,19 @@ class AuroFormValidation {
851
851
  {
852
852
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
853
853
  validity: 'tooShort',
854
- message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
854
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
855
855
  },
856
856
  {
857
857
  check: (e) => e.value?.length > e.maxLength,
858
858
  validity: 'tooLong',
859
- message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
859
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
860
860
  }
861
861
  ],
862
862
  pattern: [
863
863
  {
864
864
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
865
865
  validity: 'patternMismatch',
866
- message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
866
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
867
867
  }
868
868
  ]
869
869
  },
@@ -1058,10 +1058,10 @@ class AuroFormValidation {
1058
1058
  if (!hasValue && elem.required && elem.touched) {
1059
1059
  elem.validity = 'valueMissing';
1060
1060
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1061
- } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1061
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1062
1062
  this.validateType(elem);
1063
1063
  this.validateElementAttributes(elem);
1064
- } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1064
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1065
1065
  this.validateElementAttributes(elem);
1066
1066
  }
1067
1067
  }
@@ -1194,7 +1194,7 @@ class AuroDependencyVersioning {
1194
1194
 
1195
1195
  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)}`;
1196
1196
 
1197
- 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}`;
1197
+ 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}`;
1198
1198
 
1199
1199
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1200
1200
 
@@ -1831,11 +1831,11 @@ class AuroRadioGroup extends LitElement {
1831
1831
 
1832
1832
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1833
1833
  ? html$1`
1834
- <${this.helpTextTag} ?onDark="${this.onDark}" part="helpText">
1834
+ <${this.helpTextTag} large ?onDark="${this.onDark}" part="helpText">
1835
1835
  <slot name="helpText"></slot>
1836
1836
  </${this.helpTextTag}>`
1837
1837
  : html$1`
1838
- <${this.helpTextTag} ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1838
+ <${this.helpTextTag} large ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1839
1839
  ${this.errorMessage}
1840
1840
  </${this.helpTextTag}>`
1841
1841
  }
@@ -181,8 +181,8 @@ class AuroRadio extends LitElement {
181
181
  },
182
182
 
183
183
  /**
184
- * Do not add to api doc since changing of this can easily break a11y.
185
184
  * @private
185
+ * not to add to api.md since changing of this can easily break a11y.
186
186
  */
187
187
  role: {
188
188
  type: String,
@@ -371,7 +371,7 @@ class AuroRadio extends LitElement {
371
371
  }
372
372
  }
373
373
 
374
- 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)}`;
374
+ 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)}`;
375
375
 
376
376
  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]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-radio-group-label-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
377
377
 
@@ -851,19 +851,19 @@ class AuroFormValidation {
851
851
  {
852
852
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
853
853
  validity: 'tooShort',
854
- message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
854
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
855
855
  },
856
856
  {
857
857
  check: (e) => e.value?.length > e.maxLength,
858
858
  validity: 'tooLong',
859
- message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
859
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
860
860
  }
861
861
  ],
862
862
  pattern: [
863
863
  {
864
864
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
865
865
  validity: 'patternMismatch',
866
- message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
866
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
867
867
  }
868
868
  ]
869
869
  },
@@ -1058,10 +1058,10 @@ class AuroFormValidation {
1058
1058
  if (!hasValue && elem.required && elem.touched) {
1059
1059
  elem.validity = 'valueMissing';
1060
1060
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1061
- } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1061
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1062
1062
  this.validateType(elem);
1063
1063
  this.validateElementAttributes(elem);
1064
- } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1064
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1065
1065
  this.validateElementAttributes(elem);
1066
1066
  }
1067
1067
  }
@@ -1194,7 +1194,7 @@ class AuroDependencyVersioning {
1194
1194
 
1195
1195
  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)}`;
1196
1196
 
1197
- 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}`;
1197
+ 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}`;
1198
1198
 
1199
1199
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1200
1200
 
@@ -1831,11 +1831,11 @@ class AuroRadioGroup extends LitElement {
1831
1831
 
1832
1832
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1833
1833
  ? html$1`
1834
- <${this.helpTextTag} ?onDark="${this.onDark}" part="helpText">
1834
+ <${this.helpTextTag} large ?onDark="${this.onDark}" part="helpText">
1835
1835
  <slot name="helpText"></slot>
1836
1836
  </${this.helpTextTag}>`
1837
1837
  : html$1`
1838
- <${this.helpTextTag} ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1838
+ <${this.helpTextTag} large ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1839
1839
  ${this.errorMessage}
1840
1840
  </${this.helpTextTag}>`
1841
1841
  }
@@ -16,24 +16,18 @@
16
16
  <head>
17
17
  <meta charset="UTF-8" />
18
18
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
- <title>Auro Web Component Demo | auro-select</title>
20
-
21
- <!-- Prism.js Stylesheet -->
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
23
-
24
- <!-- Legacy reference is still needed to support auro-select's use of legacy token values at this time -->
25
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
-
27
- <!-- Design Token Alaska Theme -->
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
-
30
- <!-- Webcore Stylesheet Alaska Theme -->
31
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
-
33
- <!-- Demo Specific Styles -->
19
+ <title>Auro Web Component Generator | auro-select custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
34
27
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
28
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
36
- </head>
29
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/essentials-as.css" />
30
+ </head>
37
31
  <body class="auro-markdown">
38
32
  <main></main>
39
33
 
@@ -33,7 +33,6 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
33
33
  | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
34
34
  | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
35
35
  | [optionSelected](#optionSelected) | `optionSelected` | `HTMLElement\|Array<HTMLElement>` | | Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true. |
36
- | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text. |
37
36
  | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end". |
38
37
  | [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
39
38
  | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
@@ -42,14 +41,17 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
42
41
  | [shape](#shape) | | `string` | "snowflake" | |
43
42
  | [size](#size) | | `string` | "xl" | |
44
43
  | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
45
- | [value](#value) | `value` | `string` | | Value selected for the component. |
44
+ | [value](#value) | `value` | `String\|Array<String>` | | Value selected for the component. Default type is `String`, changing to `Array<String>` when `multiSelect` is true. |
46
45
 
47
46
  ## Methods
48
47
 
49
- | Method | Type | Description |
50
- |------------|----------------------------------------|--------------------------------------------------|
51
- | [reset](#reset) | `(): void` | Resets component to initial state. |
52
- | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
48
+ | Method | Type | Description |
49
+ |----------------------|----------------------------------------|--------------------------------------------------|
50
+ | [renderAriaHtml](#renderAriaHtml) | `(): TemplateResult` | |
51
+ | [renderBACKUP](#renderBACKUP) | `(): TemplateResult` | |
52
+ | [renderNativeSelect](#renderNativeSelect) | `(): TemplateResult` | |
53
+ | [reset](#reset) | `(): void` | Resets component to initial state. |
54
+ | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
53
55
 
54
56
  ## Events
55
57
 
@@ -57,7 +59,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
57
59
  |-----------------------------|--------------------------------------------------|--------------------------------------------------|
58
60
  | `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
59
61
  | `auroSelect-valueSet` | `CustomEvent<any>` | Notifies that the component has a new value set. |
60
- | [input](#input) | `CustomEvent<{ optionSelected: any; value: string \| string[]; }>` | Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object. |
62
+ | [input](#input) | `CustomEvent<{ optionSelected: any; value: any; }>` | Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object. |
61
63
 
62
64
  ## Slots
63
65
 
@@ -69,6 +71,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
69
71
  | [helpText](#helpText) | Defines the content of the helpText. |
70
72
  | [label](#label) | Defines the content of the label. |
71
73
  | [optionalLabel](#optionalLabel) | Allows overriding the optional display text "(optional)", which appears next to the label. |
74
+ | [placeholder](#placeholder) | Defines the content of the placeholder to be shown when there is no value |
72
75
  | [valueText](#valueText) | Dropdown value text display. |
73
76
 
74
77
  ## CSS Shadow Parts
@@ -1154,8 +1157,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1154
1157
  <div style="width: 350px">
1155
1158
  <auro-select offset="20" noFlip placement="bottom-end">
1156
1159
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1157
- <span slot="label">Label</span>
1158
- <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
1160
+ <span slot="label">bottom-end bib with 20px offset and noFlip</span>
1159
1161
  <auro-menu>
1160
1162
  <auro-menuoption value="stops">Stops</auro-menuoption>
1161
1163
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1167,8 +1169,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1167
1169
  </auro-select>
1168
1170
  <auro-select offset="20" placement="bottom-end">
1169
1171
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1170
- <span slot="label">Label</span>
1171
- <span slot="helpText">bottom-end bib with 20px offset and flip</span>
1172
+ <span slot="label">bottom-end bib with 20px offset and flip</span>
1172
1173
  <auro-menu>
1173
1174
  <auro-menuoption value="stops">Stops</auro-menuoption>
1174
1175
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1180,8 +1181,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1180
1181
  </auro-select>
1181
1182
  <auro-select offset="20" noFlip placement="right" autoPlacement noFlip >
1182
1183
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1183
- <span slot="label">Label</span>
1184
- <span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
1184
+ <span slot="label">right bib with 20px offset, noFlip and autoPlacement</span>
1185
1185
  <auro-menu>
1186
1186
  <auro-menuoption value="stops">Stops</auro-menuoption>
1187
1187
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1203,8 +1203,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1203
1203
  <div style="width: 350px">
1204
1204
  <auro-select offset="20" noFlip placement="bottom-end">
1205
1205
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1206
- <span slot="label">Label</span>
1207
- <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
1206
+ <span slot="label">bottom-end bib with 20px offset and noFlip</span>
1208
1207
  <auro-menu>
1209
1208
  <auro-menuoption value="stops">Stops</auro-menuoption>
1210
1209
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1216,8 +1215,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1216
1215
  </auro-select>
1217
1216
  <auro-select offset="20" placement="bottom-end">
1218
1217
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1219
- <span slot="label">Label</span>
1220
- <span slot="helpText">bottom-end bib with 20px offset and flip</span>
1218
+ <span slot="label">bottom-end bib with 20px offset and flip</span>
1221
1219
  <auro-menu>
1222
1220
  <auro-menuoption value="stops">Stops</auro-menuoption>
1223
1221
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1229,8 +1227,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
1229
1227
  </auro-select>
1230
1228
  <auro-select offset="20" noFlip placement="right" autoPlacement noFlip >
1231
1229
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1232
- <span slot="label">Label</span>
1233
- <span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
1230
+ <span slot="label">right bib with 20px offset, noFlip and autoPlacement</span>
1234
1231
  <auro-menu>
1235
1232
  <auro-menuoption value="stops">Stops</auro-menuoption>
1236
1233
  <auro-menuoption value="price">Price</auro-menuoption>