@aurodesignsystem-dev/auro-formkit 0.0.0-pr740.9 → 0.0.0-pr750.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 (94) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +6 -0
  2. package/components/bibtemplate/dist/index.js +25 -1
  3. package/components/bibtemplate/dist/registered.js +25 -1
  4. package/components/checkbox/demo/api.html +16 -10
  5. package/components/checkbox/demo/api.min.js +23 -16
  6. package/components/checkbox/demo/index.html +16 -10
  7. package/components/checkbox/demo/index.min.js +23 -16
  8. package/components/checkbox/demo/readme.html +16 -9
  9. package/components/checkbox/dist/index.js +23 -16
  10. package/components/checkbox/dist/registered.js +23 -16
  11. package/components/combobox/demo/api.html +16 -10
  12. package/components/combobox/demo/api.md +12 -6
  13. package/components/combobox/demo/api.min.js +442 -148
  14. package/components/combobox/demo/index.html +16 -10
  15. package/components/combobox/demo/index.min.js +442 -148
  16. package/components/combobox/demo/readme.html +16 -9
  17. package/components/combobox/dist/index.js +405 -136
  18. package/components/combobox/dist/registered.js +405 -136
  19. package/components/counter/demo/api.html +17 -10
  20. package/components/counter/demo/api.md +140 -7
  21. package/components/counter/demo/api.min.js +1171 -1016
  22. package/components/counter/demo/index.html +17 -10
  23. package/components/counter/demo/index.md +86 -0
  24. package/components/counter/demo/index.min.js +1171 -1016
  25. package/components/counter/demo/readme.html +16 -9
  26. package/components/counter/dist/auro-counter-group.d.ts +64 -23
  27. package/components/counter/dist/auro-counter.d.ts +10 -0
  28. package/components/counter/dist/index.js +1171 -1016
  29. package/components/counter/dist/registered.js +1171 -1016
  30. package/components/datepicker/demo/api.html +16 -10
  31. package/components/datepicker/demo/api.min.js +403 -123
  32. package/components/datepicker/demo/index.html +16 -10
  33. package/components/datepicker/demo/index.min.js +403 -123
  34. package/components/datepicker/demo/readme.html +16 -9
  35. package/components/datepicker/dist/auro-datepicker.d.ts +6 -0
  36. package/components/datepicker/dist/index.js +403 -123
  37. package/components/datepicker/dist/registered.js +403 -123
  38. package/components/dropdown/demo/api.html +16 -10
  39. package/components/dropdown/demo/api.md +77 -269
  40. package/components/dropdown/demo/api.min.js +336 -96
  41. package/components/dropdown/demo/index.html +16 -10
  42. package/components/dropdown/demo/index.md +45 -363
  43. package/components/dropdown/demo/index.min.js +336 -96
  44. package/components/dropdown/demo/readme.html +16 -9
  45. package/components/dropdown/dist/auro-dropdown.d.ts +35 -67
  46. package/components/dropdown/dist/auro-dropdownBib.d.ts +0 -6
  47. package/components/dropdown/dist/index.js +336 -96
  48. package/components/dropdown/dist/registered.js +336 -96
  49. package/components/form/demo/api.html +16 -9
  50. package/components/form/demo/autocomplete.html +19 -3
  51. package/components/form/demo/index.html +16 -9
  52. package/components/form/demo/readme.html +16 -9
  53. package/components/form/demo/working.html +19 -13
  54. package/components/helptext/dist/index.js +1 -1
  55. package/components/helptext/dist/registered.js +1 -1
  56. package/components/input/demo/api.html +16 -10
  57. package/components/input/demo/api.md +1 -1
  58. package/components/input/demo/api.min.js +14 -14
  59. package/components/input/demo/index.html +16 -10
  60. package/components/input/demo/index.min.js +14 -14
  61. package/components/input/demo/readme.html +16 -9
  62. package/components/input/dist/base-input.d.ts +1 -1
  63. package/components/input/dist/index.js +14 -14
  64. package/components/input/dist/registered.js +14 -14
  65. package/components/menu/demo/api.html +16 -32
  66. package/components/menu/demo/api.md +1 -1
  67. package/components/menu/demo/api.min.js +37 -12
  68. package/components/menu/demo/index.html +16 -10
  69. package/components/menu/demo/index.min.js +37 -12
  70. package/components/menu/demo/readme.html +16 -9
  71. package/components/menu/dist/auro-menu.d.ts +13 -2
  72. package/components/menu/dist/index.js +37 -12
  73. package/components/menu/dist/registered.js +37 -12
  74. package/components/radio/demo/api.html +16 -10
  75. package/components/radio/demo/api.md +0 -1
  76. package/components/radio/demo/api.min.js +61 -76
  77. package/components/radio/demo/index.html +16 -10
  78. package/components/radio/demo/index.min.js +61 -76
  79. package/components/radio/demo/readme.html +16 -9
  80. package/components/radio/dist/auro-radio.d.ts +8 -11
  81. package/components/radio/dist/index.js +61 -76
  82. package/components/radio/dist/registered.js +61 -76
  83. package/components/select/demo/api.html +16 -10
  84. package/components/select/demo/api.js +0 -2
  85. package/components/select/demo/api.md +53 -51
  86. package/components/select/demo/api.min.js +520 -358
  87. package/components/select/demo/index.html +16 -11
  88. package/components/select/demo/index.md +6 -158
  89. package/components/select/demo/index.min.js +520 -346
  90. package/components/select/demo/readme.html +16 -9
  91. package/components/select/dist/auro-select.d.ts +33 -8
  92. package/components/select/dist/index.js +483 -334
  93. package/components/select/dist/registered.js +483 -334
  94. package/package.json +26 -25
@@ -266,7 +266,6 @@ function dispatchMenuEvent(element, eventName, detail = null) {
266
266
  * @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
267
267
  * @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
268
268
  * @attr {boolean} multiselect - When true, the selected option can be multiple options.
269
- * @attr {String|Array<string>} value - Value selected for the menu, type `string` by default. In multi-select mode, `value` is an array of strings.
270
269
  * @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
271
270
  * @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
272
271
  * @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
@@ -379,9 +378,14 @@ class AuroMenu extends AuroElement$1 {
379
378
  reflect: true,
380
379
  attribute: 'multiselect'
381
380
  },
381
+
382
+ /**
383
+ * Value selected for the component.
384
+ */
382
385
  value: {
383
- // Allow string, string[] arrays and undefined
384
- type: Object
386
+ type: String,
387
+ reflect: true,
388
+ attribute: 'value'
385
389
  },
386
390
 
387
391
  /**
@@ -416,6 +420,25 @@ class AuroMenu extends AuroElement$1 {
416
420
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroMenu);
417
421
  }
418
422
 
423
+ /**
424
+ * Formatted value based on `multiSelect` state.
425
+ * Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
426
+ * @private
427
+ * @returns {String|Array<String>}
428
+ */
429
+ get formattedValue() {
430
+ if (this.multiSelect) {
431
+ if (!this.value) {
432
+ return undefined;
433
+ }
434
+ if (this.value.startsWith("[")) {
435
+ return JSON.parse(this.value);
436
+ }
437
+ return [this.value];
438
+ }
439
+ return this.value;
440
+ }
441
+
419
442
  // Lifecycle Methods
420
443
 
421
444
  connectedCallback() {
@@ -458,7 +481,7 @@ class AuroMenu extends AuroElement$1 {
458
481
  updated(changedProperties) {
459
482
  super.updated(changedProperties);
460
483
 
461
- if (changedProperties.has('multiSelect')) {
484
+ if (changedProperties.has('multiSelect') && !changedProperties.has("value")) {
462
485
  // Reset selection if multiSelect mode changes
463
486
  this.clearSelection();
464
487
  }
@@ -472,7 +495,7 @@ class AuroMenu extends AuroElement$1 {
472
495
  } else {
473
496
  if (this.multiSelect) {
474
497
  // In multiselect mode, this.value should be an array of strings
475
- const valueArray = Array.isArray(this.value) ? this.value : [this.value];
498
+ const valueArray = this.formattedValue;
476
499
  const matchingOptions = this.items.filter((item) => valueArray.includes(item.value));
477
500
 
478
501
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
@@ -639,14 +662,14 @@ class AuroMenu extends AuroElement$1 {
639
662
  */
640
663
  handleSelectState(option) {
641
664
  if (this.multiSelect) {
642
- const currentValue = this.value || [];
665
+ const currentValue = this.formattedValue || [];
643
666
  const currentSelected = this.optionSelected || [];
644
667
 
645
668
  if (!currentValue.includes(option.value)) {
646
- this.value = [
669
+ this.value = JSON.stringify([
647
670
  ...currentValue,
648
671
  option.value
649
- ];
672
+ ]);
650
673
  }
651
674
  if (!currentSelected.includes(option)) {
652
675
  this.optionSelected = [
@@ -669,13 +692,15 @@ class AuroMenu extends AuroElement$1 {
669
692
  * @param {HTMLElement} option - The menuoption to be deselected.
670
693
  */
671
694
  handleDeselectState(option) {
672
- if (this.multiSelect && Array.isArray(this.value)) {
695
+ if (this.multiSelect) {
673
696
  // Remove this option from array
674
- this.value = this.value.filter((val) => val !== option.value);
697
+ const newFormattedValue = (this.formattedValue || []).filter((val) => val !== option.value);
675
698
 
676
699
  // If array is empty after removal, set back to undefined
677
- if (this.value.length === 0) {
700
+ if (newFormattedValue && newFormattedValue.length === 0) {
678
701
  this.value = undefined;
702
+ } else {
703
+ this.value = JSON.stringify(newFormattedValue);
679
704
  }
680
705
 
681
706
  this.optionSelected = this.optionSelected.filter((val) => val !== option);
@@ -1026,7 +1051,7 @@ class AuroMenu extends AuroElement$1 {
1026
1051
  }
1027
1052
  }
1028
1053
 
1029
- var styleCss$1 = css`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
1054
+ var styleCss$1 = css`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-150, 0.75rem) + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-150, 0.75rem) + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
1030
1055
 
1031
1056
  var colorCss$1 = css`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
1032
1057
 
@@ -225,7 +225,6 @@ function dispatchMenuEvent(element, eventName, detail = null) {
225
225
  * @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
226
226
  * @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
227
227
  * @attr {boolean} multiselect - When true, the selected option can be multiple options.
228
- * @attr {String|Array<string>} value - Value selected for the menu, type `string` by default. In multi-select mode, `value` is an array of strings.
229
228
  * @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
230
229
  * @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
231
230
  * @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
@@ -338,9 +337,14 @@ class AuroMenu extends AuroElement$1 {
338
337
  reflect: true,
339
338
  attribute: 'multiselect'
340
339
  },
340
+
341
+ /**
342
+ * Value selected for the component.
343
+ */
341
344
  value: {
342
- // Allow string, string[] arrays and undefined
343
- type: Object
345
+ type: String,
346
+ reflect: true,
347
+ attribute: 'value'
344
348
  },
345
349
 
346
350
  /**
@@ -375,6 +379,25 @@ class AuroMenu extends AuroElement$1 {
375
379
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroMenu);
376
380
  }
377
381
 
382
+ /**
383
+ * Formatted value based on `multiSelect` state.
384
+ * Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
385
+ * @private
386
+ * @returns {String|Array<String>}
387
+ */
388
+ get formattedValue() {
389
+ if (this.multiSelect) {
390
+ if (!this.value) {
391
+ return undefined;
392
+ }
393
+ if (this.value.startsWith("[")) {
394
+ return JSON.parse(this.value);
395
+ }
396
+ return [this.value];
397
+ }
398
+ return this.value;
399
+ }
400
+
378
401
  // Lifecycle Methods
379
402
 
380
403
  connectedCallback() {
@@ -417,7 +440,7 @@ class AuroMenu extends AuroElement$1 {
417
440
  updated(changedProperties) {
418
441
  super.updated(changedProperties);
419
442
 
420
- if (changedProperties.has('multiSelect')) {
443
+ if (changedProperties.has('multiSelect') && !changedProperties.has("value")) {
421
444
  // Reset selection if multiSelect mode changes
422
445
  this.clearSelection();
423
446
  }
@@ -431,7 +454,7 @@ class AuroMenu extends AuroElement$1 {
431
454
  } else {
432
455
  if (this.multiSelect) {
433
456
  // In multiselect mode, this.value should be an array of strings
434
- const valueArray = Array.isArray(this.value) ? this.value : [this.value];
457
+ const valueArray = this.formattedValue;
435
458
  const matchingOptions = this.items.filter((item) => valueArray.includes(item.value));
436
459
 
437
460
  this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
@@ -598,14 +621,14 @@ class AuroMenu extends AuroElement$1 {
598
621
  */
599
622
  handleSelectState(option) {
600
623
  if (this.multiSelect) {
601
- const currentValue = this.value || [];
624
+ const currentValue = this.formattedValue || [];
602
625
  const currentSelected = this.optionSelected || [];
603
626
 
604
627
  if (!currentValue.includes(option.value)) {
605
- this.value = [
628
+ this.value = JSON.stringify([
606
629
  ...currentValue,
607
630
  option.value
608
- ];
631
+ ]);
609
632
  }
610
633
  if (!currentSelected.includes(option)) {
611
634
  this.optionSelected = [
@@ -628,13 +651,15 @@ class AuroMenu extends AuroElement$1 {
628
651
  * @param {HTMLElement} option - The menuoption to be deselected.
629
652
  */
630
653
  handleDeselectState(option) {
631
- if (this.multiSelect && Array.isArray(this.value)) {
654
+ if (this.multiSelect) {
632
655
  // Remove this option from array
633
- this.value = this.value.filter((val) => val !== option.value);
656
+ const newFormattedValue = (this.formattedValue || []).filter((val) => val !== option.value);
634
657
 
635
658
  // If array is empty after removal, set back to undefined
636
- if (this.value.length === 0) {
659
+ if (newFormattedValue && newFormattedValue.length === 0) {
637
660
  this.value = undefined;
661
+ } else {
662
+ this.value = JSON.stringify(newFormattedValue);
638
663
  }
639
664
 
640
665
  this.optionSelected = this.optionSelected.filter((val) => val !== option);
@@ -985,7 +1010,7 @@ class AuroMenu extends AuroElement$1 {
985
1010
  }
986
1011
  }
987
1012
 
988
- var styleCss$1 = css`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
1013
+ var styleCss$1 = css`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-150, 0.75rem) + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + var(--ds-size-150, 0.75rem) + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
989
1014
 
990
1015
  var colorCss$1 = css`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
991
1016
 
@@ -15,18 +15,24 @@
15
15
  <head>
16
16
  <meta charset="UTF-8" />
17
17
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
18
- <title>Auro Web Component Generator | auro-radio custom element</title>
19
- <link
20
- rel="stylesheet"
21
- type="text/css"
22
- href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
23
- />
24
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
25
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
18
+ <title>Auro Web Component Demo | auro-radio</title>
19
+
20
+ <!-- Prism.js Stylesheet -->
21
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
22
+
23
+ <!-- Legacy reference is still needed to support auro-radio's use of legacy token values at this time -->
24
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
25
+
26
+ <!-- Design Token Alaska Theme -->
27
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
28
+
29
+ <!-- Webcore Stylesheet Alaska Theme -->
30
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
31
+
32
+ <!-- Demo Specific Styles -->
26
33
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
27
34
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/essentials-as.css" />
29
- </head>
35
+ </head>
30
36
  <body class="auro-markdown">
31
37
  <main></main>
32
38
 
@@ -62,7 +62,6 @@
62
62
  | [name](#name) | `name` | `string` | | |
63
63
  | [onDark](#onDark) | `onDark` | `Boolean` | false | If set to true, the component will render with a dark theme. |
64
64
  | [required](#required) | `required` | `Boolean` | false | Defines element as required. |
65
- | [tabIndex](#tabIndex) | `tabIndex` | `number` | -1 | |
66
65
  | [value](#value) | `value` | `string` | | |
67
66
 
68
67
  ## Methods
@@ -146,6 +146,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
146
146
  }
147
147
  };
148
148
 
149
+ /* eslint-disable max-lines */
149
150
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
150
151
  // See LICENSE in the project root for license information.
151
152
 
@@ -180,8 +181,8 @@ class AuroRadio extends i$2 {
180
181
  this.required = false;
181
182
  this.error = false;
182
183
  this.onDark = false;
183
- this.tabIndex = -1;
184
184
  this.touched = false;
185
+ this.role = 'radio';
185
186
 
186
187
  /**
187
188
  * @private
@@ -223,10 +224,6 @@ class AuroRadio extends i$2 {
223
224
  label: { type: String },
224
225
  name: { type: String },
225
226
  value: { type: String },
226
- tabIndex: {
227
- type: Number,
228
- reflect: true
229
- },
230
227
 
231
228
  /**
232
229
  * Whether or not the radio button has been touched by the user.
@@ -246,6 +243,15 @@ class AuroRadio extends i$2 {
246
243
  type: String,
247
244
  reflect: false,
248
245
  attribute: false
246
+ },
247
+
248
+ /**
249
+ * Do not add to api doc since changing of this can easily break a11y.
250
+ * @private
251
+ */
252
+ role: {
253
+ type: String,
254
+ reflect: true
249
255
  }
250
256
  };
251
257
  }
@@ -271,7 +277,6 @@ class AuroRadio extends i$2 {
271
277
  handleChange(event) {
272
278
  this.checked = event.target.checked;
273
279
  const customEvent = new CustomEvent(event.type, event);
274
-
275
280
  this.dispatchEvent(customEvent);
276
281
  }
277
282
 
@@ -330,7 +335,27 @@ class AuroRadio extends i$2 {
330
335
  }
331
336
 
332
337
  updated(changedProperties) {
338
+ if (changedProperties.has('error') || changedProperties.has('validity')) {
339
+ this.setAttribute('aria-invalid', this.error || this.validity !== 'valid' ? 'true' : 'false');
340
+ }
341
+
342
+ if (changedProperties.has('required')) {
343
+ this.setAttribute('aria-required', this.isRequired(this.required));
344
+ }
345
+
346
+ if (changedProperties.has('disabled')) {
347
+ if (this.disabled) {
348
+ this.setAttribute('aria-disabled', '');
349
+ } else {
350
+ this.removeAttribute('aria-disabled');
351
+ }
352
+ }
353
+
333
354
  if (changedProperties.has('checked')) {
355
+ this.setAttribute('aria-checked', this.checked ? 'true' : 'false');
356
+ // eslint-disable-next-line no-magic-numbers
357
+ this.setAttribute('tabindex', this.checked ? 0 : -1);
358
+
334
359
  this.dispatchEvent(new CustomEvent('resetRadio', {
335
360
  bubbles: true,
336
361
  composed: true
@@ -345,20 +370,6 @@ class AuroRadio extends i$2 {
345
370
  }
346
371
  }
347
372
 
348
- /**
349
- * Method for handling content when it is invalid accessibility wise.
350
- * @private
351
- * @param {Boolean} error - The element's error attribute.
352
- * @returns {void}
353
- */
354
- invalid(error) {
355
- if (error) {
356
- return 'true';
357
- }
358
-
359
- return 'false';
360
- }
361
-
362
373
  /**
363
374
  * Method for handling passing the required status to aria.
364
375
  * @private
@@ -377,6 +388,7 @@ class AuroRadio extends i$2 {
377
388
  // Add the tag name as an attribute if it is different than the component name
378
389
  this.runtimeUtils.handleComponentTagRename(this, 'auro-radio');
379
390
 
391
+ this.addEventListener('focus', this.handleFocus);
380
392
  this.addEventListener('blur', this.handleBlur);
381
393
 
382
394
  this.input = this.shadowRoot.querySelector('input');
@@ -401,27 +413,21 @@ class AuroRadio extends i$2 {
401
413
  return x`
402
414
  <div class="ods-inputGroup rdoGroup" part="radio">
403
415
  <input
404
- class="util_displayHiddenVisually ods-inputOption rdo--input"
416
+ class="util_displayHidden ods-inputOption rdo--input"
405
417
  part="radio-input"
406
- @focus="${this.handleFocus}"
407
418
  @input="${this.handleInput}"
408
419
  @change="${this.handleChange}"
409
420
  ?disabled="${this.disabled}"
410
- aria-invalid="${this.invalid(this.error)}"
411
- aria-required="${this.isRequired(this.required)}"
412
421
  .checked="${this.checked}"
413
422
  id="${this.inputId}"
414
423
  name="${o$1(this.name)}"
415
424
  type="radio"
416
425
  .value="${this.value}"
426
+ aria-hidden="true"
417
427
  tabindex="-1"
418
428
  />
419
429
 
420
- <label
421
- for="${this.inputId}"
422
- class="${e(labelClasses)}"
423
- part="radio-label"
424
- >
430
+ <label for="${this.inputId}" class="${e(labelClasses)}" part="radio-label">
425
431
  <slot>${this.label}</slot>
426
432
  </label>
427
433
  </div>
@@ -437,7 +443,7 @@ class AuroRadio extends i$2 {
437
443
  */
438
444
  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);
439
445
 
440
- 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)}`;
446
+ 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)}`;
441
447
 
442
448
  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)}`;
443
449
 
@@ -917,19 +923,19 @@ class AuroFormValidation {
917
923
  {
918
924
  check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
919
925
  validity: 'tooShort',
920
- message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
926
+ message: e => e.getAttribute('setCustomValidityTooShort') || e.setCustomValidity || ''
921
927
  },
922
928
  {
923
929
  check: (e) => e.value?.length > e.maxLength,
924
930
  validity: 'tooLong',
925
- message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
931
+ message: e => e.getAttribute('setCustomValidityTooLong') || e.setCustomValidity || ''
926
932
  }
927
933
  ],
928
934
  pattern: [
929
935
  {
930
936
  check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
931
937
  validity: 'patternMismatch',
932
- message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
938
+ message: e => e.getAttribute('setCustomValidityPatternMismatch') || e.setCustomValidity || ''
933
939
  }
934
940
  ]
935
941
  },
@@ -1124,10 +1130,10 @@ class AuroFormValidation {
1124
1130
  if (!hasValue && elem.required && elem.touched) {
1125
1131
  elem.validity = 'valueMissing';
1126
1132
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1127
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1133
+ } else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1128
1134
  this.validateType(elem);
1129
1135
  this.validateElementAttributes(elem);
1130
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1136
+ } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1131
1137
  this.validateElementAttributes(elem);
1132
1138
  }
1133
1139
  }
@@ -1260,7 +1266,7 @@ class AuroDependencyVersioning {
1260
1266
 
1261
1267
  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)}`;
1262
1268
 
1263
- 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}`;
1269
+ 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}`;
1264
1270
 
1265
1271
  var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
1266
1272
 
@@ -1741,15 +1747,6 @@ class AuroRadioGroup extends i$2 {
1741
1747
  if (this.items.length === 0) {
1742
1748
  this.handleItems();
1743
1749
  }
1744
-
1745
- // handle tab index
1746
- this.items.forEach((item) => {
1747
- item.tabIndex = -1;
1748
- });
1749
-
1750
- if (!this.disabled) {
1751
- this.items[this.index].tabIndex = 0;
1752
- }
1753
1750
  }
1754
1751
 
1755
1752
  /**
@@ -1793,10 +1790,7 @@ class AuroRadioGroup extends i$2 {
1793
1790
  const nextEnabledIndex = this.items.findIndex((item) => !item.hasAttribute('disabled'));
1794
1791
 
1795
1792
  this.index = index >= 0 ? index : nextEnabledIndex;
1796
-
1797
- if (this.index >= 0) {
1798
- this.items[this.index].tabIndex = 0;
1799
- }
1793
+ this.items[this.index].setAttribute('tabindex', 0);
1800
1794
  }
1801
1795
  }
1802
1796
 
@@ -1810,20 +1804,10 @@ class AuroRadioGroup extends i$2 {
1810
1804
  this.index = this.items.indexOf(event.target);
1811
1805
 
1812
1806
  this.items.forEach((item) => {
1813
- if (item === event.target) {
1814
- item.tabIndex = 0;
1815
- if (event.target.value) {
1816
- this.value = event.target.value;
1817
- }
1818
- } else {
1819
- const sdInput = item.shadowRoot.querySelector('input');
1820
-
1821
- sdInput.checked = false;
1822
- item.checked = false;
1823
- item.tabIndex = -1;
1824
- }
1807
+ item.checked = item === event.target;
1825
1808
  });
1826
1809
 
1810
+ this.value = event.target.value;
1827
1811
  this.optionSelected = event.target;
1828
1812
 
1829
1813
  this.validation.validate(this);
@@ -1836,7 +1820,7 @@ class AuroRadioGroup extends i$2 {
1836
1820
  * @returns {void}
1837
1821
  */
1838
1822
  selectItem(index) {
1839
- const sdItem = this.items[index].shadowRoot.querySelector('input');
1823
+ const sdItem = this.items[index];
1840
1824
 
1841
1825
  sdItem.click();
1842
1826
  sdItem.focus();
@@ -1855,17 +1839,18 @@ class AuroRadioGroup extends i$2 {
1855
1839
 
1856
1840
  for (currIndex; currIndex < this.items.length; moveDirection === "Down" ? currIndex += 1 : currIndex -= 1) {
1857
1841
  currIndex = currIndex === -1 ? this.items.length - 1 : currIndex;
1858
- const sdItem = this.items[currIndex].shadowRoot.querySelector('input');
1859
-
1860
- if (this.disabled || this.items.every((item) => item.disabled === true)) {
1861
- sdItem.focus();
1862
- break;
1863
- }
1864
- if (!sdItem.disabled) {
1865
- sdItem.click();
1866
- sdItem.focus();
1867
- this.index = currIndex;
1868
- break;
1842
+ const sdItem = this.items[currIndex];
1843
+ if (sdItem) {
1844
+ if (this.disabled || this.items.every((item) => item.disabled === true)) {
1845
+ sdItem.focus();
1846
+ break;
1847
+ }
1848
+ if (!sdItem.disabled) {
1849
+ sdItem.click();
1850
+ sdItem.focus();
1851
+ this.index = currIndex;
1852
+ break;
1853
+ }
1869
1854
  }
1870
1855
  }
1871
1856
  }
@@ -1908,7 +1893,7 @@ class AuroRadioGroup extends i$2 {
1908
1893
  };
1909
1894
 
1910
1895
  return u`
1911
- <fieldset class="${e(groupClasses)}" part="radio-group">
1896
+ <fieldset class="${e(groupClasses)}" part="radio-group" role="radiogroup">
1912
1897
  <legend>
1913
1898
  <slot name="legend"></slot>
1914
1899
  ${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
@@ -1918,11 +1903,11 @@ class AuroRadioGroup extends i$2 {
1918
1903
 
1919
1904
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
1920
1905
  ? u`
1921
- <${this.helpTextTag} large ?onDark="${this.onDark}" part="helpText">
1906
+ <${this.helpTextTag} ?onDark="${this.onDark}" part="helpText">
1922
1907
  <slot name="helpText"></slot>
1923
1908
  </${this.helpTextTag}>`
1924
1909
  : u`
1925
- <${this.helpTextTag} large ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1910
+ <${this.helpTextTag} ?onDark="${this.onDark}" role="alert" error aria-live="assertive" part="helpText">
1926
1911
  ${this.errorMessage}
1927
1912
  </${this.helpTextTag}>`
1928
1913
  }
@@ -16,18 +16,24 @@
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 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">
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 -->
27
34
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
28
35
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
29
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/essentials-as.css" />
30
- </head>
36
+ </head>
31
37
  <body class="auro-markdown">
32
38
  <main></main>
33
39