@aurodesignsystem/auro-formkit 5.1.0 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +7 -9
  2. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  3. package/components/bibtemplate/dist/index.js +14 -9
  4. package/components/bibtemplate/dist/registered.js +14 -9
  5. package/components/checkbox/demo/api.min.js +37 -9
  6. package/components/checkbox/demo/index.min.js +37 -9
  7. package/components/checkbox/dist/auro-checkbox.d.ts +7 -0
  8. package/components/checkbox/dist/index.js +37 -9
  9. package/components/checkbox/dist/registered.js +37 -9
  10. package/components/combobox/demo/api.min.js +105 -58
  11. package/components/combobox/demo/index.min.js +105 -58
  12. package/components/combobox/dist/index.js +91 -49
  13. package/components/combobox/dist/registered.js +91 -49
  14. package/components/counter/demo/api.min.js +75 -40
  15. package/components/counter/demo/index.min.js +75 -40
  16. package/components/counter/dist/iconVersion.d.ts +1 -1
  17. package/components/counter/dist/index.js +75 -40
  18. package/components/counter/dist/registered.js +75 -40
  19. package/components/datepicker/demo/api.md +1 -0
  20. package/components/datepicker/demo/api.min.js +98 -52
  21. package/components/datepicker/demo/index.min.js +98 -52
  22. package/components/datepicker/dist/index.js +98 -52
  23. package/components/datepicker/dist/registered.js +98 -52
  24. package/components/dropdown/demo/api.min.js +21 -8
  25. package/components/dropdown/demo/index.min.js +21 -8
  26. package/components/dropdown/dist/index.js +21 -8
  27. package/components/dropdown/dist/registered.js +21 -8
  28. package/components/input/demo/api.min.js +30 -17
  29. package/components/input/demo/index.min.js +30 -17
  30. package/components/input/dist/index.js +30 -17
  31. package/components/input/dist/registered.js +30 -17
  32. package/components/layoutElement/dist/auroElement.d.ts +5 -0
  33. package/components/layoutElement/dist/index.js +8 -0
  34. package/components/layoutElement/dist/registered.js +8 -0
  35. package/components/menu/demo/api.min.js +22 -9
  36. package/components/menu/demo/index.min.js +22 -9
  37. package/components/menu/dist/iconVersion.d.ts +1 -1
  38. package/components/menu/dist/index.js +22 -9
  39. package/components/menu/dist/registered.js +22 -9
  40. package/components/radio/demo/api.min.js +15 -13
  41. package/components/radio/demo/index.min.js +15 -13
  42. package/components/radio/dist/auro-radio.d.ts +1 -1
  43. package/components/radio/dist/index.js +15 -13
  44. package/components/radio/dist/registered.js +15 -13
  45. package/components/select/demo/api.min.js +66 -35
  46. package/components/select/demo/index.min.js +66 -35
  47. package/components/select/dist/index.js +52 -26
  48. package/components/select/dist/registered.js +52 -26
  49. package/package.json +1 -1
@@ -898,16 +898,16 @@ let AuroFormValidation$1 = class AuroFormValidation {
898
898
  }
899
899
 
900
900
  this.getErrorMessage(elem);
901
-
902
- elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
903
- bubbles: true,
904
- composed: true,
905
- detail: {
906
- validity: elem.validity,
907
- message: elem.errorMessage
908
- }
909
- }));
910
901
  }
902
+
903
+ elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
904
+ bubbles: true,
905
+ composed: true,
906
+ detail: {
907
+ validity: elem.validity,
908
+ message: elem.errorMessage
909
+ }
910
+ }));
911
911
  }
912
912
 
913
913
  /**
@@ -3543,7 +3543,7 @@ let AuroElement$1$3 = class AuroElement extends i$2 {
3543
3543
  }
3544
3544
  };
3545
3545
 
3546
- var error$3 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
3546
+ var error$3 = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
3547
3547
 
3548
3548
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
3549
3549
 
@@ -3643,16 +3643,21 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$1$3 {
3643
3643
 
3644
3644
  // lifecycle function
3645
3645
  async firstUpdated() {
3646
- if (!this.customSvg) {
3647
- const svg = await this.fetchIcon(this.category, this.name);
3646
+ try {
3647
+ if (!this.customSvg) {
3648
+ const svg = await this.fetchIcon(this.category, this.name);
3648
3649
 
3649
- if (svg) {
3650
- this.svg = svg;
3651
- } else if (!svg) {
3652
- const penDOM = new DOMParser().parseFromString(error$3.svg, 'text/html');
3650
+ if (svg) {
3651
+ this.svg = svg;
3652
+ } else if (!svg) {
3653
+ const penDOM = new DOMParser().parseFromString(error$3.svg, 'text/html');
3653
3654
 
3654
- this.svg = penDOM.body.firstChild;
3655
+ this.svg = penDOM.body.firstChild;
3656
+ }
3655
3657
  }
3658
+ // eslint-disable-next-line no-unused-vars
3659
+ } catch (err) {
3660
+ this.svg = undefined;
3656
3661
  }
3657
3662
  }
3658
3663
  };
@@ -4358,6 +4363,14 @@ let AuroElement$4 = class AuroElement extends i$2 {
4358
4363
  };
4359
4364
  }
4360
4365
 
4366
+ /**
4367
+ * Returns true if the element has focus.
4368
+ * @returns {boolean} - Returns true if the element has focus.
4369
+ */
4370
+ get componentHasFocus() {
4371
+ return this.matches(':focus');
4372
+ }
4373
+
4361
4374
  resetShapeClasses() {
4362
4375
  const wrapper = this.shadowRoot.querySelector('.wrapper');
4363
4376
 
@@ -10108,16 +10121,16 @@ class AuroFormValidation {
10108
10121
  }
10109
10122
 
10110
10123
  this.getErrorMessage(elem);
10111
-
10112
- elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
10113
- bubbles: true,
10114
- composed: true,
10115
- detail: {
10116
- validity: elem.validity,
10117
- message: elem.errorMessage
10118
- }
10119
- }));
10120
10124
  }
10125
+
10126
+ elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
10127
+ bubbles: true,
10128
+ composed: true,
10129
+ detail: {
10130
+ validity: elem.validity,
10131
+ message: elem.errorMessage
10132
+ }
10133
+ }));
10121
10134
  }
10122
10135
 
10123
10136
  /**
@@ -10209,6 +10222,14 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
10209
10222
  };
10210
10223
  }
10211
10224
 
10225
+ /**
10226
+ * Returns true if the element has focus.
10227
+ * @returns {boolean} - Returns true if the element has focus.
10228
+ */
10229
+ get componentHasFocus() {
10230
+ return this.matches(':focus');
10231
+ }
10232
+
10212
10233
  resetShapeClasses() {
10213
10234
  const wrapper = this.shadowRoot.querySelector('.wrapper');
10214
10235
 
@@ -11440,7 +11461,7 @@ let AuroElement$1$2 = class AuroElement extends i$2 {
11440
11461
  }
11441
11462
  };
11442
11463
 
11443
- var error$2 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
11464
+ var error$2 = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
11444
11465
 
11445
11466
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
11446
11467
 
@@ -11540,16 +11561,21 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$1$2 {
11540
11561
 
11541
11562
  // lifecycle function
11542
11563
  async firstUpdated() {
11543
- if (!this.customSvg) {
11544
- const svg = await this.fetchIcon(this.category, this.name);
11564
+ try {
11565
+ if (!this.customSvg) {
11566
+ const svg = await this.fetchIcon(this.category, this.name);
11545
11567
 
11546
- if (svg) {
11547
- this.svg = svg;
11548
- } else if (!svg) {
11549
- const penDOM = new DOMParser().parseFromString(error$2.svg, 'text/html');
11568
+ if (svg) {
11569
+ this.svg = svg;
11570
+ } else if (!svg) {
11571
+ const penDOM = new DOMParser().parseFromString(error$2.svg, 'text/html');
11550
11572
 
11551
- this.svg = penDOM.body.firstChild;
11573
+ this.svg = penDOM.body.firstChild;
11574
+ }
11552
11575
  }
11576
+ // eslint-disable-next-line no-unused-vars
11577
+ } catch (err) {
11578
+ this.svg = undefined;
11553
11579
  }
11554
11580
  }
11555
11581
  };
@@ -14938,7 +14964,7 @@ let AuroElement$2 = class AuroElement extends i$2 {
14938
14964
  }
14939
14965
  };
14940
14966
 
14941
- var error$1 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
14967
+ var error$1 = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
14942
14968
 
14943
14969
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
14944
14970
 
@@ -15038,16 +15064,21 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$2 {
15038
15064
 
15039
15065
  // lifecycle function
15040
15066
  async firstUpdated() {
15041
- if (!this.customSvg) {
15042
- const svg = await this.fetchIcon(this.category, this.name);
15067
+ try {
15068
+ if (!this.customSvg) {
15069
+ const svg = await this.fetchIcon(this.category, this.name);
15043
15070
 
15044
- if (svg) {
15045
- this.svg = svg;
15046
- } else if (!svg) {
15047
- const penDOM = new DOMParser().parseFromString(error$1.svg, 'text/html');
15071
+ if (svg) {
15072
+ this.svg = svg;
15073
+ } else if (!svg) {
15074
+ const penDOM = new DOMParser().parseFromString(error$1.svg, 'text/html');
15048
15075
 
15049
- this.svg = penDOM.body.firstChild;
15076
+ this.svg = penDOM.body.firstChild;
15077
+ }
15050
15078
  }
15079
+ // eslint-disable-next-line no-unused-vars
15080
+ } catch (err) {
15081
+ this.svg = undefined;
15051
15082
  }
15052
15083
  }
15053
15084
  };
@@ -15298,7 +15329,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
15298
15329
  }
15299
15330
  };
15300
15331
 
15301
- var iconVersion$1 = '8.1.1';
15332
+ var iconVersion$1 = '8.1.2';
15302
15333
 
15303
15334
  var styleCss$5 = i$5`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.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.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.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, 1)}.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.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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-xl{font-family:var(--wcss-accent-xl-family, "Good OT", 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", 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-md{font-family:var(--wcss-accent-md-family, "Good OT", 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", 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-xs{font-family:var(--wcss-accent-xs-family, "Good OT", 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", 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)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
15304
15335
 
@@ -15628,7 +15659,7 @@ class AuroBibtemplate extends i$2 {
15628
15659
 
15629
15660
  var bibTemplateVersion = '1.0.0';
15630
15661
 
15631
- var styleCss$4 = 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}:host{display:block;text-align:left}:host [auro-input]{--ds-auro-input-container-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host #inputInBib::part(accent-right){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
15662
+ var styleCss$4 = 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}:host{display:block;text-align:left}:host [auro-input]{--ds-auro-input-background-color: transparent;--ds-auro-input-container-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host #inputInBib::part(accent-right){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
15632
15663
 
15633
15664
  var styleEmphasizedCss = i$5`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
15634
15665
 
@@ -15668,6 +15699,14 @@ let AuroElement$1 = class AuroElement extends i$2 {
15668
15699
  };
15669
15700
  }
15670
15701
 
15702
+ /**
15703
+ * Returns true if the element has focus.
15704
+ * @returns {boolean} - Returns true if the element has focus.
15705
+ */
15706
+ get componentHasFocus() {
15707
+ return this.matches(':focus');
15708
+ }
15709
+
15671
15710
  resetShapeClasses() {
15672
15711
  const wrapper = this.shadowRoot.querySelector('.wrapper');
15673
15712
 
@@ -16493,7 +16532,7 @@ class AuroCombobox extends AuroElement$1 {
16493
16532
 
16494
16533
  // wait a frame in case the bib gets hide immediately after showing because there is no value
16495
16534
  setTimeout(() => {
16496
- if (document.activeElement === this) {
16535
+ if (this.componentHasFocus) {
16497
16536
  this.setInputFocus();
16498
16537
  }
16499
16538
  }, 0);
@@ -16658,13 +16697,16 @@ class AuroCombobox extends AuroElement$1 {
16658
16697
  * Validate every time we remove focus from the combo box.
16659
16698
  */
16660
16699
  this.addEventListener('focusout', () => {
16661
- if (document.activeElement !== this) {
16700
+ if (!this.componentHasFocus) {
16662
16701
  this.validate();
16663
16702
  }
16664
16703
  });
16665
16704
 
16666
16705
  // Handle validation messages from auroFormElement-validated event
16667
16706
  this.input.addEventListener('auroFormElement-validated', (evt) => {
16707
+ // not to bubble up input's validated event.
16708
+ evt.stopPropagation();
16709
+
16668
16710
  this.errorMessage = evt.detail.message;
16669
16711
  });
16670
16712
  }
@@ -16735,7 +16777,7 @@ class AuroCombobox extends AuroElement$1 {
16735
16777
  this.handleMenuOptions();
16736
16778
 
16737
16779
  // Validate only if the value was set programmatically
16738
- if (document.activeElement !== this) {
16780
+ if (!this.componentHasFocus) {
16739
16781
  this.validate();
16740
16782
  }
16741
16783
 
@@ -16775,7 +16817,7 @@ class AuroCombobox extends AuroElement$1 {
16775
16817
  }
16776
16818
  } else {
16777
16819
  setTimeout(() => {
16778
- if (document.activeElement !== this) {
16820
+ if (!this.componentHasFocus) {
16779
16821
  this.hideBib();
16780
16822
  }
16781
16823
  }, 0);
@@ -16896,7 +16938,7 @@ class AuroCombobox extends AuroElement$1 {
16896
16938
  }
16897
16939
 
16898
16940
  if (changedProperties.has('availableOptions')) {
16899
- if (this.availableOptions && this.availableOptions.length > 0 && document.activeElement === this) {
16941
+ if (this.availableOptions && this.availableOptions.length > 0 && this.componentHasFocus) {
16900
16942
  this.showBib();
16901
16943
  } else {
16902
16944
  this.hideBib();
@@ -17992,7 +18034,7 @@ class AuroElement extends i$2 {
17992
18034
  }
17993
18035
  }
17994
18036
 
17995
- var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
18037
+ var error = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
17996
18038
 
17997
18039
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
17998
18040
 
@@ -18092,16 +18134,21 @@ class BaseIcon extends AuroElement {
18092
18134
 
18093
18135
  // lifecycle function
18094
18136
  async firstUpdated() {
18095
- if (!this.customSvg) {
18096
- const svg = await this.fetchIcon(this.category, this.name);
18137
+ try {
18138
+ if (!this.customSvg) {
18139
+ const svg = await this.fetchIcon(this.category, this.name);
18097
18140
 
18098
- if (svg) {
18099
- this.svg = svg;
18100
- } else if (!svg) {
18101
- const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
18141
+ if (svg) {
18142
+ this.svg = svg;
18143
+ } else if (!svg) {
18144
+ const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
18102
18145
 
18103
- this.svg = penDOM.body.firstChild;
18146
+ this.svg = penDOM.body.firstChild;
18147
+ }
18104
18148
  }
18149
+ // eslint-disable-next-line no-unused-vars
18150
+ } catch (err) {
18151
+ this.svg = undefined;
18105
18152
  }
18106
18153
  }
18107
18154
  }
@@ -18352,7 +18399,7 @@ class AuroIcon extends BaseIcon {
18352
18399
  }
18353
18400
  }
18354
18401
 
18355
- var iconVersion = '8.1.1';
18402
+ var iconVersion = '8.1.2';
18356
18403
 
18357
18404
  var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
18358
18405