@aurodesignsystem/auro-formkit 2.2.1-beta.3 → 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 +68 -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
@@ -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
  /**
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
106
106
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
107
107
 
108
108
  ```html
109
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.1-beta.2/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.1/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -22,7 +22,8 @@
22
22
  type="text/css"
23
23
  href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
24
  />
25
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css">
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">
26
27
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
27
28
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
28
29
  </head>
@@ -13,6 +13,7 @@ The auro-checkbox-group element is a wrapper for auro-checkbox element.
13
13
  | [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
14
14
  | [horizontal](#horizontal) | `horizontal` | `boolean` | false | If set, checkboxes will be aligned horizontally. |
15
15
  | [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
16
+ | [onDark](#onDark) | `onDark` | `boolean` | false | Sets onDark styles for component. |
16
17
  | [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the element. Used for client-side validation. |
17
18
  | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
18
19
  | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
@@ -54,6 +55,7 @@ Custom element for the purpose of allowing users to select one or more options o
54
55
  | [error](#error) | `error` | `boolean` | false | If set to true, the checkbox will be displayed with an error state. |
55
56
  | [id](#id) | `id` | `string` | | Sets the individual `id` per element. |
56
57
  | [name](#name) | `name` | `string` | | Accepts any string and is used to identify related checkboxes when submitting form data. |
58
+ | [onDark](#onDark) | `onDark` | `boolean` | false | Sets onDark styles for component. |
57
59
  | [value](#value) | `value` | `string` | | Sets the element's input value. Must be unique within an auro-checkbox-group element. |
58
60
 
59
61
  ## Methods
@@ -96,7 +98,19 @@ Custom element for the purpose of allowing users to select one or more options o
96
98
  <auro-checkbox value="value4" name="basic" id="checkbox-basic4">Checkbox option</auro-checkbox>
97
99
  </auro-checkbox-group>
98
100
  <!-- AURO-GENERATED-CONTENT:END -->
99
- </div>
101
+ </div>
102
+ <div class="exampleWrapper--ondark" aria-hidden>
103
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
104
+ <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
105
+ <auro-checkbox-group onDark>
106
+ <span slot="legend">Form label goes here</span>
107
+ <auro-checkbox value="value1" name="basic" id="checkbox-basic1">Checkbox option</auro-checkbox>
108
+ <auro-checkbox value="value2" name="basic" id="checkbox-basic2" checked>Checkbox option</auro-checkbox>
109
+ <auro-checkbox value="value3" name="basic" id="checkbox-basic3">Checkbox option</auro-checkbox>
110
+ <auro-checkbox value="value4" name="basic" id="checkbox-basic4">Checkbox option</auro-checkbox>
111
+ </auro-checkbox-group>
112
+ <!-- AURO-GENERATED-CONTENT:END -->
113
+ </div>
100
114
  <auro-accordion alignRight>
101
115
  <span slot="trigger">See code</span>
102
116
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
@@ -112,12 +126,55 @@ Custom element for the purpose of allowing users to select one or more options o
112
126
  </auro-checkbox-group>
113
127
  ```
114
128
  <!-- AURO-GENERATED-CONTENT:END -->
129
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
130
+ <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
131
+ <auro-checkbox-group onDark>
132
+ <span slot="legend">Form label goes here</span>
133
+ <auro-checkbox value="value1" name="basic" id="checkbox-basic1">Checkbox option</auro-checkbox>
134
+ <auro-checkbox value="value2" name="basic" id="checkbox-basic2" checked>Checkbox option</auro-checkbox>
135
+ <auro-checkbox value="value3" name="basic" id="checkbox-basic3">Checkbox option</auro-checkbox>
136
+ <auro-checkbox value="value4" name="basic" id="checkbox-basic4">Checkbox option</auro-checkbox>
137
+ </auro-checkbox-group>
138
+ <!-- AURO-GENERATED-CONTENT:END -->
115
139
  </auro-accordion>
116
140
 
117
141
  ### Disabled
118
142
 
119
143
  Use the `disabled` attribute to disable individual `<auro-checkbox>` elements or the entire `<auro-checkbox-group>`.
120
144
 
145
+ #### Disabled Checkbox within Group
146
+
147
+ The `disabled` attribute used to disable a single `<auro-checkbox>` element.
148
+
149
+ <div class="exampleWrapper">
150
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
151
+ <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
152
+ <auro-checkbox-group>
153
+ <span slot="legend">Form label goes here</span>
154
+ <auro-checkbox value="disabled-value1" name="disabled" id="checkbox-disabled1">Checkbox option</auro-checkbox>
155
+ <auro-checkbox value="disabled-value2" name="disabled" id="checkbox-disabled2" checked disabled>Disabled checkbox option</auro-checkbox>
156
+ <auro-checkbox value="disabled-value3" name="disabled" id="checkbox-disabled3" disabled>Disabled checkbox option</auro-checkbox>
157
+ <auro-checkbox value="disabled-value4" name="disabled" id="checkbox-disabled4" checked>Checkbox option</auro-checkbox>
158
+ </auro-checkbox-group>
159
+ <!-- AURO-GENERATED-CONTENT:END -->
160
+ </div>
161
+ <auro-accordion alignRight>
162
+ <span slot="trigger">See code</span>
163
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
164
+ <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
165
+
166
+ ```html
167
+ <auro-checkbox-group>
168
+ <span slot="legend">Form label goes here</span>
169
+ <auro-checkbox value="disabled-value1" name="disabled" id="checkbox-disabled1">Checkbox option</auro-checkbox>
170
+ <auro-checkbox value="disabled-value2" name="disabled" id="checkbox-disabled2" checked disabled>Disabled checkbox option</auro-checkbox>
171
+ <auro-checkbox value="disabled-value3" name="disabled" id="checkbox-disabled3" disabled>Disabled checkbox option</auro-checkbox>
172
+ <auro-checkbox value="disabled-value4" name="disabled" id="checkbox-disabled4" checked>Checkbox option</auro-checkbox>
173
+ </auro-checkbox-group>
174
+ ```
175
+ <!-- AURO-GENERATED-CONTENT:END -->
176
+ </auro-accordion>
177
+
121
178
  #### Disabled Group
122
179
 
123
180
  The `disabled` attribute used to disable the entire `<auro-checkbox-group>`.
@@ -134,6 +191,18 @@ The `disabled` attribute used to disable the entire `<auro-checkbox-group>`.
134
191
  </auro-checkbox-group>
135
192
  <!-- AURO-GENERATED-CONTENT:END -->
136
193
  </div>
194
+ <div class="exampleWrapper--ondark" aria-hidden>
195
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
196
+ <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
197
+ <auro-checkbox-group onDark disabled>
198
+ <span slot="legend">Form label goes here</span>
199
+ <auro-checkbox value="disabled-value1" name="disabledGroup" id="checkbox-disabledGroup1">Disabled checkbox option</auro-checkbox>
200
+ <auro-checkbox value="disabled-value2" name="disabledGroup" id="checkbox-disabledGroup2" checked>Disabled checkbox option</auro-checkbox>
201
+ <auro-checkbox value="disabled-value3" name="disabledGroup" id="checkbox-disabledGroup3">Disabled checkbox option</auro-checkbox>
202
+ <auro-checkbox value="disabled-value4" name="disabledGroup" id="checkbox-disabledGroup4">Disabled checkbox option</auro-checkbox>
203
+ </auro-checkbox-group>
204
+ <!-- AURO-GENERATED-CONTENT:END -->
205
+ </div>
137
206
  <auro-accordion alignRight>
138
207
  <span slot="trigger">See code</span>
139
208
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabledGroup.html) -->
@@ -149,39 +218,75 @@ The `disabled` attribute used to disable the entire `<auro-checkbox-group>`.
149
218
  </auro-checkbox-group>
150
219
  ```
151
220
  <!-- AURO-GENERATED-CONTENT:END -->
221
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
222
+ <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
223
+ <auro-checkbox-group onDark disabled>
224
+ <span slot="legend">Form label goes here</span>
225
+ <auro-checkbox value="disabled-value1" name="disabledGroup" id="checkbox-disabledGroup1">Disabled checkbox option</auro-checkbox>
226
+ <auro-checkbox value="disabled-value2" name="disabledGroup" id="checkbox-disabledGroup2" checked>Disabled checkbox option</auro-checkbox>
227
+ <auro-checkbox value="disabled-value3" name="disabledGroup" id="checkbox-disabledGroup3">Disabled checkbox option</auro-checkbox>
228
+ <auro-checkbox value="disabled-value4" name="disabledGroup" id="checkbox-disabledGroup4">Disabled checkbox option</auro-checkbox>
229
+ </auro-checkbox-group>
230
+ <!-- AURO-GENERATED-CONTENT:END -->
152
231
  </auro-accordion>
153
232
 
154
- #### Disabled Checkbox within Group
233
+ ### Error
155
234
 
156
- The `disabled` attribute used to disable a single `<auro-checkbox>` element.
235
+ Use the `error` attribute to force an error state on the element.
236
+
237
+ #### Checkbox Group with Error
238
+
239
+ The `error` attribute used to set error state on the entire `<auro-checkbox-group>`. If using the `error` attribute on an `<auro-checkbox-group>`, a string with the error message needs to be passed along with the attribute.
157
240
 
158
241
  <div class="exampleWrapper">
159
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
160
- <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
161
- <auro-checkbox-group>
242
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/errorGroup.html) -->
243
+ <!-- The below content is automatically added from ./../apiExamples/errorGroup.html -->
244
+ <auro-checkbox-group error="custom error">
162
245
  <span slot="legend">Form label goes here</span>
163
- <auro-checkbox value="disabled-value1" name="disabled" id="checkbox-disabled1">Checkbox option</auro-checkbox>
164
- <auro-checkbox value="disabled-value2" name="disabled" id="checkbox-disabled2" checked disabled>Disabled checkbox option</auro-checkbox>
165
- <auro-checkbox value="disabled-value3" name="disabled" id="checkbox-disabled3" disabled>Disabled checkbox option</auro-checkbox>
166
- <auro-checkbox value="disabled-value4" name="disabled" id="checkbox-disabled4" checked>Checkbox option</auro-checkbox>
246
+ <auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox>
247
+ <auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox>
248
+ <auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox>
249
+ <auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox>
250
+ </auro-checkbox-group>
251
+ <!-- AURO-GENERATED-CONTENT:END -->
252
+ </div>
253
+ <div class="exampleWrapper--ondark" aria-hidden>
254
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
255
+ <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
256
+ <auro-checkbox-group onDark error="custom error">
257
+ <span slot="legend">Form label goes here</span>
258
+ <auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox>
259
+ <auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox>
260
+ <auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox>
261
+ <auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox>
167
262
  </auro-checkbox-group>
168
263
  <!-- AURO-GENERATED-CONTENT:END -->
169
264
  </div>
170
265
  <auro-accordion alignRight>
171
266
  <span slot="trigger">See code</span>
172
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
173
- <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
267
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/errorGroup.html) -->
268
+ <!-- The below code snippet is automatically added from ./../apiExamples/errorGroup.html -->
174
269
 
175
270
  ```html
176
- <auro-checkbox-group>
271
+ <auro-checkbox-group error="custom error">
177
272
  <span slot="legend">Form label goes here</span>
178
- <auro-checkbox value="disabled-value1" name="disabled" id="checkbox-disabled1">Checkbox option</auro-checkbox>
179
- <auro-checkbox value="disabled-value2" name="disabled" id="checkbox-disabled2" checked disabled>Disabled checkbox option</auro-checkbox>
180
- <auro-checkbox value="disabled-value3" name="disabled" id="checkbox-disabled3" disabled>Disabled checkbox option</auro-checkbox>
181
- <auro-checkbox value="disabled-value4" name="disabled" id="checkbox-disabled4" checked>Checkbox option</auro-checkbox>
273
+ <auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox>
274
+ <auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox>
275
+ <auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox>
276
+ <auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox>
182
277
  </auro-checkbox-group>
183
278
  ```
184
279
  <!-- AURO-GENERATED-CONTENT:END -->
280
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
281
+ <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
282
+ <auro-checkbox-group onDark error="custom error">
283
+ <span slot="legend">Form label goes here</span>
284
+ <auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox>
285
+ <auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox>
286
+ <auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox>
287
+ <auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox>
288
+ </auro-checkbox-group>
289
+ <!-- AURO-GENERATED-CONTENT:END -->
185
290
  </auro-accordion>
186
291
 
187
292
  ### Form Validation
@@ -223,41 +328,6 @@ When present, the `required` attribute specifies that at least one or more `<aur
223
328
  <!-- AURO-GENERATED-CONTENT:END -->
224
329
  </auro-accordion>
225
330
 
226
- #### Error
227
-
228
- Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
229
-
230
- A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
231
-
232
- <div class="exampleWrapper">
233
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/errorGroup.html) -->
234
- <!-- The below content is automatically added from ./../apiExamples/errorGroup.html -->
235
- <auro-checkbox-group error="custom error">
236
- <span slot="legend">Form label goes here</span>
237
- <auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox>
238
- <auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox>
239
- <auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox>
240
- <auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox>
241
- </auro-checkbox-group>
242
- <!-- AURO-GENERATED-CONTENT:END -->
243
- </div>
244
- <auro-accordion alignRight>
245
- <span slot="trigger">See code</span>
246
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/errorGroup.html) -->
247
- <!-- The below code snippet is automatically added from ./../apiExamples/errorGroup.html -->
248
-
249
- ```html
250
- <auro-checkbox-group error="custom error">
251
- <span slot="legend">Form label goes here</span>
252
- <auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox>
253
- <auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox>
254
- <auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox>
255
- <auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox>
256
- </auro-checkbox-group>
257
- ```
258
- <!-- AURO-GENERATED-CONTENT:END -->
259
- </auro-accordion>
260
-
261
331
  ### Functional Examples
262
332
 
263
333
  #### Reset State
@@ -318,15 +388,16 @@ The component may be restyled using the following code sample and changing the v
318
388
  <!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
319
389
 
320
390
  ```scss
321
- @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
391
+ @import "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska";
392
+ @import "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables";
322
393
 
323
394
  :host {
324
- --ds-auro-checkbox-border-color: var(--ds-color-border-primary-default, #{$ds-color-border-primary-default});
325
- --ds-auro-checkbox-checkmark-color: var(--ds-color-icon-emphasis-inverse, #{$ds-color-icon-emphasis-inverse});
326
- --ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
327
- --ds-auro-checkbox-label-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
395
+ --ds-auro-checkbox-border-color: var(--ds-basic-color-border-bold, #{$ds-basic-color-border-bold});
396
+ --ds-auro-checkbox-checkmark-color: var(--ds-advanced-color-boolean-indicator, #{$ds-advanced-color-boolean-indicator});
397
+ --ds-auro-checkbox-container-color: var(--ds-advanced-color-boolean-isfalse, #{$ds-advanced-color-boolean-isfalse});
398
+ --ds-auro-checkbox-label-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
328
399
  --ds-auro-checkbox-outline-color: transparent;
329
- --ds-auro-checkbox-group-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
400
+ --ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
330
401
  }
331
402
  ```
332
403
  <!-- AURO-GENERATED-CONTENT:END -->