@aurodesignsystem/auro-formkit 2.2.1 → 3.0.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 (137) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  3. package/components/bibtemplate/dist/index.js +18 -178
  4. package/components/bibtemplate/dist/registered.js +18 -178
  5. package/components/checkbox/README.md +1 -1
  6. package/components/checkbox/demo/api.html +2 -1
  7. package/components/checkbox/demo/api.md +129 -58
  8. package/components/checkbox/demo/api.min.js +41 -8
  9. package/components/checkbox/demo/index.html +2 -1
  10. package/components/checkbox/demo/index.md +116 -50
  11. package/components/checkbox/demo/index.min.js +41 -8
  12. package/components/checkbox/demo/readme.html +2 -1
  13. package/components/checkbox/demo/readme.md +1 -1
  14. package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
  15. package/components/checkbox/dist/auro-checkbox.d.ts +8 -0
  16. package/components/checkbox/dist/index.js +41 -8
  17. package/components/checkbox/dist/registered.js +41 -8
  18. package/components/combobox/README.md +1 -1
  19. package/components/combobox/demo/api.html +2 -1
  20. package/components/combobox/demo/api.md +102 -1
  21. package/components/combobox/demo/api.min.js +238 -988
  22. package/components/combobox/demo/index.html +2 -4
  23. package/components/combobox/demo/index.md +32 -0
  24. package/components/combobox/demo/index.min.js +238 -988
  25. package/components/combobox/demo/readme.html +2 -1
  26. package/components/combobox/demo/readme.md +1 -1
  27. package/components/combobox/dist/auro-combobox.d.ts +8 -0
  28. package/components/combobox/dist/index.js +196 -786
  29. package/components/combobox/dist/registered.js +196 -786
  30. package/components/counter/README.md +1 -1
  31. package/components/counter/demo/api.html +2 -1
  32. package/components/counter/demo/api.md +29 -10
  33. package/components/counter/demo/api.min.js +187 -785
  34. package/components/counter/demo/index.html +2 -1
  35. package/components/counter/demo/index.md +104 -8
  36. package/components/counter/demo/index.min.js +187 -785
  37. package/components/counter/demo/readme.html +2 -1
  38. package/components/counter/demo/readme.md +1 -1
  39. package/components/counter/dist/auro-counter-group.d.ts +10 -2
  40. package/components/counter/dist/auro-counter.d.ts +1 -0
  41. package/components/counter/dist/iconVersion.d.ts +1 -1
  42. package/components/counter/dist/index.js +187 -785
  43. package/components/counter/dist/registered.js +187 -785
  44. package/components/datepicker/README.md +1 -1
  45. package/components/datepicker/demo/api.html +2 -4
  46. package/components/datepicker/demo/api.md +15 -14
  47. package/components/datepicker/demo/api.min.js +286 -1036
  48. package/components/datepicker/demo/index.html +2 -4
  49. package/components/datepicker/demo/index.md +38 -0
  50. package/components/datepicker/demo/index.min.js +286 -1036
  51. package/components/datepicker/demo/readme.html +2 -1
  52. package/components/datepicker/demo/readme.md +1 -1
  53. package/components/datepicker/dist/auro-datepicker.d.ts +8 -0
  54. package/components/datepicker/dist/index.js +286 -1036
  55. package/components/datepicker/dist/registered.js +286 -1036
  56. package/components/dropdown/README.md +1 -1
  57. package/components/dropdown/demo/api.html +2 -1
  58. package/components/dropdown/demo/api.md +173 -82
  59. package/components/dropdown/demo/api.min.js +41 -183
  60. package/components/dropdown/demo/index.html +2 -1
  61. package/components/dropdown/demo/index.md +86 -4
  62. package/components/dropdown/demo/index.min.js +41 -183
  63. package/components/dropdown/demo/readme.html +2 -1
  64. package/components/dropdown/demo/readme.md +1 -1
  65. package/components/dropdown/dist/auro-dropdown.d.ts +8 -0
  66. package/components/dropdown/dist/auro-dropdownBib.d.ts +2 -2
  67. package/components/dropdown/dist/index.js +41 -183
  68. package/components/dropdown/dist/registered.js +41 -183
  69. package/components/form/README.md +1 -1
  70. package/components/form/demo/api.html +2 -1
  71. package/components/form/demo/api.min.js +1 -1
  72. package/components/form/demo/index.html +2 -1
  73. package/components/form/demo/index.min.js +1 -1
  74. package/components/form/demo/readme.html +2 -1
  75. package/components/form/demo/readme.md +1 -1
  76. package/components/form/demo/working.html +2 -1
  77. package/components/form/dist/index.js +1 -1
  78. package/components/form/dist/registered.js +1 -1
  79. package/components/helptext/dist/auro-helptext.d.ts +8 -0
  80. package/components/helptext/dist/index.js +11 -2
  81. package/components/helptext/dist/registered.js +11 -2
  82. package/components/input/README.md +1 -1
  83. package/components/input/demo/api.html +2 -1
  84. package/components/input/demo/api.js +2 -0
  85. package/components/input/demo/api.md +108 -18
  86. package/components/input/demo/api.min.js +117 -402
  87. package/components/input/demo/index.html +2 -1
  88. package/components/input/demo/index.md +30 -0
  89. package/components/input/demo/index.min.js +103 -402
  90. package/components/input/demo/readme.html +2 -1
  91. package/components/input/demo/readme.md +1 -1
  92. package/components/input/dist/base-input.d.ts +8 -0
  93. package/components/input/dist/buttonVersion.d.ts +1 -1
  94. package/components/input/dist/iconVersion.d.ts +1 -1
  95. package/components/input/dist/index.js +103 -402
  96. package/components/input/dist/registered.js +103 -402
  97. package/components/menu/README.md +1 -1
  98. package/components/menu/demo/api.html +2 -1
  99. package/components/menu/demo/api.md +6 -2
  100. package/components/menu/demo/api.min.js +23 -183
  101. package/components/menu/demo/index.html +2 -1
  102. package/components/menu/demo/index.min.js +23 -183
  103. package/components/menu/demo/readme.html +2 -1
  104. package/components/menu/demo/readme.md +1 -1
  105. package/components/menu/dist/iconVersion.d.ts +1 -1
  106. package/components/menu/dist/index.js +23 -183
  107. package/components/menu/dist/registered.js +23 -183
  108. package/components/radio/README.md +1 -1
  109. package/components/radio/demo/api.html +2 -1
  110. package/components/radio/demo/api.md +160 -56
  111. package/components/radio/demo/api.min.js +35 -8
  112. package/components/radio/demo/index.html +2 -1
  113. package/components/radio/demo/index.md +43 -12
  114. package/components/radio/demo/index.min.js +35 -8
  115. package/components/radio/demo/readme.html +2 -1
  116. package/components/radio/demo/readme.md +1 -1
  117. package/components/radio/dist/auro-radio-group.d.ts +6 -0
  118. package/components/radio/dist/auro-radio.d.ts +6 -0
  119. package/components/radio/dist/index.js +35 -8
  120. package/components/radio/dist/registered.js +35 -8
  121. package/components/select/README.md +1 -1
  122. package/components/select/demo/api.html +2 -1
  123. package/components/select/demo/api.js +0 -2
  124. package/components/select/demo/api.md +112 -35
  125. package/components/select/demo/api.min.js +116 -589
  126. package/components/select/demo/index.html +2 -1
  127. package/components/select/demo/index.md +100 -0
  128. package/components/select/demo/index.min.js +116 -576
  129. package/components/select/demo/readme.html +2 -1
  130. package/components/select/demo/readme.md +1 -1
  131. package/components/select/dist/auro-select.d.ts +8 -0
  132. package/components/select/dist/index.js +91 -391
  133. package/components/select/dist/registered.js +91 -391
  134. package/package.json +23 -23
  135. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +0 -2
  136. package/components/select/dist/styles/color-css.d.ts +0 -2
  137. package/components/select/dist/styles/tokens-css.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [3.0.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.2.1...v3.0.0) (2025-04-29)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * address focus border issue in input components ([a3dd710](https://github.com/AlaskaAirlines/auro-formkit/commit/a3dd7104e23a969b6526308079f8e2300627e19a))
9
+ * address incorrect names for combobox tags ([5047d45](https://github.com/AlaskaAirlines/auro-formkit/commit/5047d452f568229e099fa2799054ff01ef7cac5f))
10
+ * make input height correct size ([623ab34](https://github.com/AlaskaAirlines/auro-formkit/commit/623ab346f6a9433f4c5bed0ee514f52721a23559))
11
+ * update improper fallback reference ([5258046](https://github.com/AlaskaAirlines/auro-formkit/commit/525804665ce1e89a5211c245480ff6cfa02662cd))
12
+
13
+
14
+ ### Features
15
+
16
+ * add on dark support for checkbox ([b452aa1](https://github.com/AlaskaAirlines/auro-formkit/commit/b452aa1aaa8dcbaf3fdbbadf86222a48164c4826))
17
+ * add on dark support for combobox ([b097007](https://github.com/AlaskaAirlines/auro-formkit/commit/b097007a09a751c834e58063a332f053665aa478))
18
+ * add on dark support for counter ([f6217bb](https://github.com/AlaskaAirlines/auro-formkit/commit/f6217bbc7527e15aa9ddeb94fd10bc4c03949053))
19
+ * add on dark support for datepicker ([bd7ff92](https://github.com/AlaskaAirlines/auro-formkit/commit/bd7ff920400157de5477799134d1bd084f3eb7aa))
20
+ * add on dark support for dropdown ([8cb4012](https://github.com/AlaskaAirlines/auro-formkit/commit/8cb40121b4ec02d23e368960f52a5fe5cf4b123e))
21
+ * add on dark support for helptext component ([ab35af7](https://github.com/AlaskaAirlines/auro-formkit/commit/ab35af7f7f04586c056d30cb99184d04ca19504d))
22
+ * add on dark support for input ([7470eb2](https://github.com/AlaskaAirlines/auro-formkit/commit/7470eb2209e0ad3e95548f47f959a60ea107b2e8))
23
+ * add on dark support for radio ([3eaf0bb](https://github.com/AlaskaAirlines/auro-formkit/commit/3eaf0bbf5e9ed46c985ae9d79184104787a871f1))
24
+ * add on dark support for select ([8348500](https://github.com/AlaskaAirlines/auro-formkit/commit/83485000ad0e0645244a74442335744c2541ff69))
25
+
26
+
27
+ ### Performance Improvements
28
+
29
+ * update bibtemplate to use new design tokens ([8daa331](https://github.com/AlaskaAirlines/auro-formkit/commit/8daa331c089f61c2cee02b3df3016fe0e221e63b))
30
+ * update color tokenimports for form ([0fe05d9](https://github.com/AlaskaAirlines/auro-formkit/commit/0fe05d93da5daad8f11a75eb786fc3f70ad00ec8))
31
+ * update color tokens for alert icon ([ecb14c8](https://github.com/AlaskaAirlines/auro-formkit/commit/ecb14c8138483bafb1b7f3c086ba319a16ea9e99))
32
+ * update color tokens for helptext component ([d55b747](https://github.com/AlaskaAirlines/auro-formkit/commit/d55b747a7af5e9a9dcc54d1eedf0fed6ab835447))
33
+ * update color tokens for theme support in combobox [#432](https://github.com/AlaskaAirlines/auro-formkit/issues/432) ([cecf6fa](https://github.com/AlaskaAirlines/auro-formkit/commit/cecf6fa14a71a10a952b3386b834f52cf2f95990))
34
+ * update color tokens for theme support in counter [#433](https://github.com/AlaskaAirlines/auro-formkit/issues/433) ([f261afd](https://github.com/AlaskaAirlines/auro-formkit/commit/f261afd43ecd88e8693b28d53830cdd6f06f5875))
35
+ * update color tokens for theme support in datepicker [#434](https://github.com/AlaskaAirlines/auro-formkit/issues/434) ([e44b3d8](https://github.com/AlaskaAirlines/auro-formkit/commit/e44b3d83b7496de8614d11ac0d1c0e1068cd5ac2))
36
+ * update color tokens for theme support in dropdown [#435](https://github.com/AlaskaAirlines/auro-formkit/issues/435) ([f8c76c2](https://github.com/AlaskaAirlines/auro-formkit/commit/f8c76c244d33c26bad1a9bb256eeca434d10b27d))
37
+ * update color tokens for theme support in select [#439](https://github.com/AlaskaAirlines/auro-formkit/issues/439) ([fdda13b](https://github.com/AlaskaAirlines/auro-formkit/commit/fdda13b5efdb91f9b5f2346a74b6b2c36e74fd5b))
38
+ * update color tokens in checkbox for theme support [#431](https://github.com/AlaskaAirlines/auro-formkit/issues/431) ([48b9d59](https://github.com/AlaskaAirlines/auro-formkit/commit/48b9d5933bdc4e6aea94350b8e4b129d1bf313f1))
39
+ * update color tokens in input for theme support [#436](https://github.com/AlaskaAirlines/auro-formkit/issues/436) ([3dcde5e](https://github.com/AlaskaAirlines/auro-formkit/commit/3dcde5eae8b4ce479dba6a8b1310a987a60fca99))
40
+ * update color tokens in menu for theme support [#437](https://github.com/AlaskaAirlines/auro-formkit/issues/437) ([94f441a](https://github.com/AlaskaAirlines/auro-formkit/commit/94f441a01e9e7eddac382b5ab27d48f1a778f18e))
41
+ * update color tokens in radio for theme support [#438](https://github.com/AlaskaAirlines/auro-formkit/issues/438) ([d32c3fc](https://github.com/AlaskaAirlines/auro-formkit/commit/d32c3fc9f49574d3dd1a03a452f7b2bb3f2bd13f))
42
+ * update counter to use theming token structure ([fabba60](https://github.com/AlaskaAirlines/auro-formkit/commit/fabba60cebf900af6ec2ea82756b6c78dfd3ca57))
43
+ * update dependencies ([8f48297](https://github.com/AlaskaAirlines/auro-formkit/commit/8f482976c7b224a19f34f028972c2e670dfc863b))
44
+ * update remaining references to old design tokens ([85eb8ef](https://github.com/AlaskaAirlines/auro-formkit/commit/85eb8efbbe6f285e88957aac306806ef993429e7))
45
+ * update to v5.10.0 of design tokens ([2b691ca](https://github.com/AlaskaAirlines/auro-formkit/commit/2b691caf9a9b336899fdb288bbca522a59984688))
46
+
47
+
48
+ ### BREAKING CHANGES
49
+
50
+ * All theme tokens now are inherited from dropdown.
51
+
3
52
  ## [2.2.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.2.0...v2.2.1) (2025-04-22)
4
53
 
5
54
 
@@ -1,2 +1,2 @@
1
- declare const _default: "7.0.1";
1
+ declare const _default: "8.0.1";
2
2
  export default _default;
@@ -5,9 +5,9 @@ import { ifDefined } from 'lit/directives/if-defined.js';
5
5
 
6
6
  var colorCss$1 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
7
7
 
8
- var styleCss$2 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
8
+ var styleCss$2 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
9
9
 
10
- var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
10
+ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
11
11
 
12
12
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
13
13
  // See LICENSE in the project root for license information.
@@ -16,7 +16,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
16
16
 
17
17
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
18
18
 
19
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
19
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
20
20
 
21
21
  /* eslint-disable jsdoc/require-param */
22
22
 
@@ -185,7 +185,7 @@ const cacheFetch = (uri, options = {}) => {
185
185
  return _fetchMap.get(uri);
186
186
  };
187
187
 
188
- var styleCss$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
188
+ var styleCss$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
189
189
 
190
190
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
191
191
  // See LICENSE in the project root for license information.
@@ -193,7 +193,6 @@ var styleCss$1 = css`:focus:not(:focus-visible){outline:3px solid transparent}.u
193
193
 
194
194
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
195
195
  /**
196
- * @attr {Boolean} onDark - Set value for on-dark version of auro-icon
197
196
  * @slot - Hidden from visibility, used for a11y if icon description is needed
198
197
  */
199
198
 
@@ -208,6 +207,10 @@ class BaseIcon extends AuroElement {
208
207
  static get properties() {
209
208
  return {
210
209
  ...super.properties,
210
+
211
+ /**
212
+ * Set value for on-dark version of auro-icon.
213
+ */
211
214
  onDark: {
212
215
  type: Boolean,
213
216
  reflect: true
@@ -266,81 +269,11 @@ class BaseIcon extends AuroElement {
266
269
  }
267
270
  }
268
271
 
269
- var tokensCss = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
270
-
271
- var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
272
-
273
- // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
274
- // See LICENSE in the project root for license information.
275
-
276
- // ---------------------------------------------------------------------
277
-
278
- /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
279
-
280
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
281
-
282
- /* eslint-disable jsdoc/require-param */
283
-
284
- /**
285
- * This will register a new custom element with the browser.
286
- * @param {String} name - The name of the custom element.
287
- * @param {Object} componentClass - The class to register as a custom element.
288
- * @returns {void}
289
- */
290
- registerComponent(name, componentClass) {
291
- if (!customElements.get(name)) {
292
- customElements.define(name, class extends componentClass {});
293
- }
294
- }
295
-
296
- /**
297
- * Finds and returns the closest HTML Element based on a selector.
298
- * @returns {void}
299
- */
300
- closestElement(
301
- selector, // selector like in .closest()
302
- base = this, // extra functionality to skip a parent
303
- __Closest = (el, found = el && el.closest(selector)) =>
304
- !el || el === document || el === window
305
- ? null // standard .closest() returns null for non-found selectors also
306
- : found
307
- ? found // found a selector INside this element
308
- : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
309
- ) {
310
- return __Closest(base);
311
- }
312
- /* eslint-enable jsdoc/require-param */
313
-
314
- /**
315
- * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
316
- * @param {Object} elem - The element to check.
317
- * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
318
- * @returns {void}
319
- */
320
- handleComponentTagRename(elem, tagName) {
321
- const tag = tagName.toLowerCase();
322
- const elemTag = elem.tagName.toLowerCase();
323
-
324
- if (elemTag !== tag) {
325
- elem.setAttribute(tag, true);
326
- }
327
- }
328
-
329
- /**
330
- * Validates if an element is a specific Auro component.
331
- * @param {Object} elem - The element to validate.
332
- * @param {String} tagName - The name of the Auro component to check against.
333
- * @returns {Boolean} - Returns true if the element is the specified Auro component.
334
- */
335
- elementMatch(elem, tagName) {
336
- const tag = tagName.toLowerCase();
337
- const elemTag = elem.tagName.toLowerCase();
272
+ var tokensCss = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
338
273
 
339
- return elemTag === tag || elem.hasAttribute(tag);
340
- }
341
- };
274
+ var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=fareOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-emerald, #139142)}:host(:not([onDark])[variant=fareOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=fareOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
342
275
 
343
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
276
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
344
277
  // See LICENSE in the project root for license information.
345
278
 
346
279
 
@@ -348,6 +281,7 @@ class AuroIcon extends BaseIcon {
348
281
  constructor() {
349
282
  super();
350
283
 
284
+ this.variant = undefined;
351
285
  this.privateDefaults();
352
286
  }
353
287
 
@@ -357,20 +291,6 @@ class AuroIcon extends BaseIcon {
357
291
  * @returns {void}
358
292
  */
359
293
  privateDefaults() {
360
- this.accent = false;
361
- this.customColor = false;
362
- this.customSvg = false;
363
- this.disabled = false;
364
- this.emphasis = false;
365
- this.error = false;
366
- this.info = false;
367
- this.label = false;
368
- this.primary = false;
369
- this.secondary = false;
370
- this.subtle = false;
371
- this.success = false;
372
- this.tertiary = false;
373
- this.warning = false;
374
294
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
375
295
  this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
376
296
  }
@@ -380,14 +300,6 @@ class AuroIcon extends BaseIcon {
380
300
  return {
381
301
  ...super.properties,
382
302
 
383
- /**
384
- * Sets the icon to use the accent style.
385
- */
386
- accent: {
387
- type: Boolean,
388
- reflect: true
389
- },
390
-
391
303
  /**
392
304
  * Set aria-hidden value. Default is `true`. Option is `false`.
393
305
  */
@@ -418,38 +330,6 @@ class AuroIcon extends BaseIcon {
418
330
  type: Boolean
419
331
  },
420
332
 
421
- /**
422
- * Sets the icon to use the disabled style.
423
- */
424
- disabled: {
425
- type: Boolean,
426
- reflect: true
427
- },
428
-
429
- /**
430
- * Sets the icon to use the emphasis style.
431
- */
432
- emphasis: {
433
- type: Boolean,
434
- reflect: true
435
- },
436
-
437
- /**
438
- * Sets the icon to use the error style.
439
- */
440
- error: {
441
- type: Boolean,
442
- reflect: true
443
- },
444
-
445
- /**
446
- * Sets the icon to use the info style.
447
- */
448
- info: {
449
- type: Boolean,
450
- reflect: true
451
- },
452
-
453
333
  /**
454
334
  * Exposes content in slot as icon label.
455
335
  */
@@ -467,50 +347,10 @@ class AuroIcon extends BaseIcon {
467
347
  },
468
348
 
469
349
  /**
470
- * DEPRECATED: Sets the icon to use the baseline primary icon style.
471
- */
472
- primary: {
473
- type: Boolean,
474
- reflect: true
475
- },
476
-
477
- /**
478
- * Sets the icon to use the secondary style.
479
- */
480
- secondary: {
481
- type: Boolean,
482
- reflect: true
483
- },
484
-
485
- /**
486
- * Sets the icon to use the subtle style.
487
- */
488
- subtle: {
489
- type: Boolean,
490
- reflect: true
491
- },
492
-
493
- /**
494
- * Sets the icon to use the success style.
495
- */
496
- success: {
497
- type: Boolean,
498
- reflect: true
499
- },
500
-
501
- /**
502
- * Sets the icon to use the tertiary style.
350
+ * The style of the icon. The accepted variants are `accent1`, `disabled`, `muted`, `statusDefault`, `statusInfo`, `statusSuccess`, `statusWarning`, `statusError`, `statusInfoSubtle`, `statusSuccessSubtle`, `statusWarningSubtle`, `statusErrorSubtle`, `fareBasicEconomy`, `fareBusiness`, `fareEconomy`, `fareFirst`, `farePremiumEconomy`, `fareOneWorldEmerald`, `fareOneWorldSapphire`, `fareOneWorldRuby`.
503
351
  */
504
- tertiary: {
505
- type: Boolean,
506
- reflect: true
507
- },
508
-
509
- /**
510
- * Sets the icon to use the warning style.
511
- */
512
- warning: {
513
- type: Boolean,
352
+ variant: {
353
+ type: String,
514
354
  reflect: true
515
355
  }
516
356
  };
@@ -600,7 +440,7 @@ class AuroIcon extends BaseIcon {
600
440
  }
601
441
  }
602
442
 
603
- var iconVersion = '7.0.1';
443
+ var iconVersion = '8.0.1';
604
444
 
605
445
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
606
446
  // See LICENSE in the project root for license information.
@@ -825,7 +665,7 @@ class AuroBibtemplate extends LitElement {
825
665
  constructor() {
826
666
  super();
827
667
 
828
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
668
+ AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
829
669
 
830
670
  const versioning = new AuroDependencyVersioning();
831
671
  this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
@@ -864,7 +704,7 @@ class AuroBibtemplate extends LitElement {
864
704
  *
865
705
  */
866
706
  static register(name = "auro-bibtemplate") {
867
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
707
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroBibtemplate);
868
708
  }
869
709
 
870
710
  /**