@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.12 → 0.0.0-pr624.14

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 (47) hide show
  1. package/components/bibtemplate/dist/index.js +79 -9
  2. package/components/bibtemplate/dist/registered.js +79 -9
  3. package/components/checkbox/demo/api.md +6 -7
  4. package/components/checkbox/demo/api.min.js +1 -1
  5. package/components/checkbox/demo/index.min.js +1 -1
  6. package/components/checkbox/dist/index.js +1 -1
  7. package/components/checkbox/dist/registered.js +1 -1
  8. package/components/combobox/demo/api.min.js +291 -41
  9. package/components/combobox/demo/index.min.js +291 -41
  10. package/components/combobox/dist/index.js +286 -36
  11. package/components/combobox/dist/registered.js +286 -36
  12. package/components/counter/demo/api.min.js +271 -21
  13. package/components/counter/demo/index.min.js +271 -21
  14. package/components/counter/dist/index.js +271 -21
  15. package/components/counter/dist/registered.js +271 -21
  16. package/components/datepicker/demo/api.md +13 -14
  17. package/components/datepicker/demo/api.min.js +560 -60
  18. package/components/datepicker/demo/index.min.js +560 -60
  19. package/components/datepicker/dist/index.js +560 -60
  20. package/components/datepicker/dist/registered.js +560 -60
  21. package/components/dropdown/demo/api.md +2 -2
  22. package/components/dropdown/demo/api.min.js +1 -1
  23. package/components/dropdown/demo/index.min.js +1 -1
  24. package/components/dropdown/dist/index.js +1 -1
  25. package/components/dropdown/dist/registered.js +1 -1
  26. package/components/form/demo/api.min.js +1 -1
  27. package/components/form/demo/index.min.js +1 -1
  28. package/components/form/dist/index.js +1 -1
  29. package/components/form/dist/registered.js +1 -1
  30. package/components/helptext/dist/index.js +1 -1
  31. package/components/helptext/dist/registered.js +1 -1
  32. package/components/input/demo/api.md +1 -1
  33. package/components/input/demo/api.min.js +194 -14
  34. package/components/input/demo/index.min.js +194 -14
  35. package/components/input/dist/index.js +194 -14
  36. package/components/input/dist/registered.js +194 -14
  37. package/components/menu/demo/api.md +5 -5
  38. package/components/radio/demo/api.md +2 -2
  39. package/components/radio/demo/api.min.js +1 -1
  40. package/components/radio/demo/index.min.js +1 -1
  41. package/components/radio/dist/index.js +1 -1
  42. package/components/radio/dist/registered.js +1 -1
  43. package/components/select/demo/api.min.js +91 -21
  44. package/components/select/demo/index.min.js +91 -21
  45. package/components/select/dist/index.js +87 -17
  46. package/components/select/dist/registered.js +87 -17
  47. package/package.json +3 -1
@@ -13,7 +13,7 @@ var styleButtonCss = css`:focus:not(:focus-visible){outline:3px solid transparen
13
13
  // See LICENSE in the project root for license information.
14
14
 
15
15
 
16
- let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
16
+ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
17
17
 
18
18
  /**
19
19
  * Generates a unique string to be used for child auro element naming.
@@ -56,7 +56,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
56
56
 
57
57
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
58
58
 
59
- let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
59
+ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
60
60
 
61
61
  /* eslint-disable jsdoc/require-param */
62
62
 
@@ -125,6 +125,76 @@ var colorCss$8 = css`[auro-loader]{color:var(--ds-auro-button-loader-color)}.aur
125
125
 
126
126
  var tokensCss$6 = css`:host{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-tap-color:transparent}`;
127
127
 
128
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
129
+ // See LICENSE in the project root for license information.
130
+
131
+ // ---------------------------------------------------------------------
132
+
133
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
134
+
135
+ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
136
+
137
+ /* eslint-disable jsdoc/require-param */
138
+
139
+ /**
140
+ * This will register a new custom element with the browser.
141
+ * @param {String} name - The name of the custom element.
142
+ * @param {Object} componentClass - The class to register as a custom element.
143
+ * @returns {void}
144
+ */
145
+ registerComponent(name, componentClass) {
146
+ if (!customElements.get(name)) {
147
+ customElements.define(name, class extends componentClass {});
148
+ }
149
+ }
150
+
151
+ /**
152
+ * Finds and returns the closest HTML Element based on a selector.
153
+ * @returns {void}
154
+ */
155
+ closestElement(
156
+ selector, // selector like in .closest()
157
+ base = this, // extra functionality to skip a parent
158
+ __Closest = (el, found = el && el.closest(selector)) =>
159
+ !el || el === document || el === window
160
+ ? null // standard .closest() returns null for non-found selectors also
161
+ : found
162
+ ? found // found a selector INside this element
163
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
164
+ ) {
165
+ return __Closest(base);
166
+ }
167
+ /* eslint-enable jsdoc/require-param */
168
+
169
+ /**
170
+ * 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.
171
+ * @param {Object} elem - The element to check.
172
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
173
+ * @returns {void}
174
+ */
175
+ handleComponentTagRename(elem, tagName) {
176
+ const tag = tagName.toLowerCase();
177
+ const elemTag = elem.tagName.toLowerCase();
178
+
179
+ if (elemTag !== tag) {
180
+ elem.setAttribute(tag, true);
181
+ }
182
+ }
183
+
184
+ /**
185
+ * Validates if an element is a specific Auro component.
186
+ * @param {Object} elem - The element to validate.
187
+ * @param {String} tagName - The name of the Auro component to check against.
188
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
189
+ */
190
+ elementMatch(elem, tagName) {
191
+ const tag = tagName.toLowerCase();
192
+ const elemTag = elem.tagName.toLowerCase();
193
+
194
+ return elemTag === tag || elem.hasAttribute(tag);
195
+ }
196
+ };
197
+
128
198
  var styleCss$8 = css`:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
129
199
 
130
200
  var colorCss$7 = css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
@@ -157,7 +227,7 @@ class AuroLoader extends LitElement {
157
227
  /**
158
228
  * @private
159
229
  */
160
- this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
230
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
161
231
 
162
232
  this.orbit = false;
163
233
  this.ringworm = false;
@@ -220,7 +290,7 @@ class AuroLoader extends LitElement {
220
290
  *
221
291
  */
222
292
  static register(name = "auro-loader") {
223
- AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroLoader);
293
+ AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroLoader);
224
294
  }
225
295
 
226
296
  firstUpdated() {
@@ -326,7 +396,7 @@ class AuroButton extends LitElement {
326
396
  /**
327
397
  * Generate unique names for dependency components.
328
398
  */
329
- const versioning = new AuroDependencyVersioning$2();
399
+ const versioning = new AuroDependencyVersioning$3();
330
400
 
331
401
  /**
332
402
  * @private
@@ -524,7 +594,7 @@ class AuroButton extends LitElement {
524
594
  *
525
595
  */
526
596
  static register(name = "auro-button") {
527
- AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroButton);
597
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroButton);
528
598
  }
529
599
 
530
600
  /**
@@ -614,6 +684,76 @@ class AuroButton extends LitElement {
614
684
  }
615
685
  }
616
686
 
687
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
688
+ // See LICENSE in the project root for license information.
689
+
690
+ // ---------------------------------------------------------------------
691
+
692
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
693
+
694
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
695
+
696
+ /* eslint-disable jsdoc/require-param */
697
+
698
+ /**
699
+ * This will register a new custom element with the browser.
700
+ * @param {String} name - The name of the custom element.
701
+ * @param {Object} componentClass - The class to register as a custom element.
702
+ * @returns {void}
703
+ */
704
+ registerComponent(name, componentClass) {
705
+ if (!customElements.get(name)) {
706
+ customElements.define(name, class extends componentClass {});
707
+ }
708
+ }
709
+
710
+ /**
711
+ * Finds and returns the closest HTML Element based on a selector.
712
+ * @returns {void}
713
+ */
714
+ closestElement(
715
+ selector, // selector like in .closest()
716
+ base = this, // extra functionality to skip a parent
717
+ __Closest = (el, found = el && el.closest(selector)) =>
718
+ !el || el === document || el === window
719
+ ? null // standard .closest() returns null for non-found selectors also
720
+ : found
721
+ ? found // found a selector INside this element
722
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
723
+ ) {
724
+ return __Closest(base);
725
+ }
726
+ /* eslint-enable jsdoc/require-param */
727
+
728
+ /**
729
+ * 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.
730
+ * @param {Object} elem - The element to check.
731
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
732
+ * @returns {void}
733
+ */
734
+ handleComponentTagRename(elem, tagName) {
735
+ const tag = tagName.toLowerCase();
736
+ const elemTag = elem.tagName.toLowerCase();
737
+
738
+ if (elemTag !== tag) {
739
+ elem.setAttribute(tag, true);
740
+ }
741
+ }
742
+
743
+ /**
744
+ * Validates if an element is a specific Auro component.
745
+ * @param {Object} elem - The element to validate.
746
+ * @param {String} tagName - The name of the Auro component to check against.
747
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
748
+ */
749
+ elementMatch(elem, tagName) {
750
+ const tag = tagName.toLowerCase();
751
+ const elemTag = elem.tagName.toLowerCase();
752
+
753
+ return elemTag === tag || elem.hasAttribute(tag);
754
+ }
755
+ };
756
+
617
757
  // Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
618
758
  // See LICENSE in the project root for license information.
619
759
 
@@ -648,6 +788,46 @@ if (!customElements.get("auro-counter-button")) {
648
788
  customElements.define("auro-counter-button", AuroCounterButton);
649
789
  }
650
790
 
791
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
792
+ // See LICENSE in the project root for license information.
793
+
794
+
795
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
796
+
797
+ /**
798
+ * Generates a unique string to be used for child auro element naming.
799
+ * @private
800
+ * @param {string} baseName - Defines the first part of the unique element name.
801
+ * @param {string} version - Version of the component that will be appended to the baseName.
802
+ * @returns {string} - Unique string to be used for naming.
803
+ */
804
+ generateElementName(baseName, version) {
805
+ let result = baseName;
806
+
807
+ result += '-';
808
+ result += version.replace(/[.]/g, '_');
809
+
810
+ return result;
811
+ }
812
+
813
+ /**
814
+ * Generates a unique string to be used for child auro element naming.
815
+ * @param {string} baseName - Defines the first part of the unique element name.
816
+ * @param {string} version - Version of the component that will be appended to the baseName.
817
+ * @returns {string} - Unique string to be used for naming.
818
+ */
819
+ generateTag(baseName, version, tagClass) {
820
+ const elementName = this.generateElementName(baseName, version);
821
+ const tag = literal`${unsafeStatic(elementName)}`;
822
+
823
+ if (!customElements.get(elementName)) {
824
+ customElements.define(elementName, class extends tagClass {});
825
+ }
826
+
827
+ return tag;
828
+ }
829
+ };
830
+
651
831
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
652
832
  // See LICENSE in the project root for license information.
653
833
 
@@ -1845,7 +2025,7 @@ var minusIcon = {"role":"img","color":"currentColor","title":"","desc":"","width
1845
2025
 
1846
2026
  var colorCss$5 = css`.label{color:var(--ds-auro-counter-label-text-color)}[name=description]::slotted(*){color:var(--ds-auro-counter-description-text-color)}.controlIcon{color:var(--ds-auro-counter-icon-color)}.quantityWrapper{background-color:var(--ds-auro-counter-control-background-color);color:var(--ds-auro-counter-quantity-text-color)}:host::part(counterControl):focus-visible{outline-color:var(--ds-auro-counter-control-border-color)}[disabled],:host([disabled]){--ds-auro-counter-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}[onDark],:host([onDark]){--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff)}[onDark][disabled],:host([onDark][disabled]){--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-counter-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
1847
2027
 
1848
- var styleCss$6 = css`.counter{display:flex;align-items:center;justify-content:space-between;column-gap:var(--ds-size-150, 0.75rem)}.content{display:flex;flex-flow:column}[name=description]::slotted(*){display:block;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}.quantityWrapper{width:var(--ds-size-400, 2rem);height:calc(var(--ds-size-25, 0.125rem) + var(--ds-size-400, 2rem));align-content:center;cursor:default;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);text-align:center}:host{position:relative}:host::part(counterControl){display:flex;border-radius:var(--ds-size-500, 2.5rem);line-height:0;touch-action:manipulation}:host::part(counterControl):focus-visible{outline-offset:0;outline-style:solid;outline-width:var(--ds-size-25, 0.125rem)}:host::part(controlMinus){--ds-auro-counter-control-border-radius: var(--ds-size-500, 2.5rem) 0 0 var(--ds-size-500, 2.5rem);--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host::part(controlPlus){--ds-auro-counter-control-border-radius: 0 var(--ds-size-500, 2.5rem) var(--ds-size-500, 2.5rem) 0;--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem)}auro-counter-button{display:flex}`;
2028
+ var styleCss$6 = css`.counter{display:flex;align-items:center;justify-content:space-between;column-gap:var(--ds-size-150, 0.75rem)}.content{display:flex;flex-flow:column}[name=description]::slotted(*){display:block;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}.quantityWrapper{width:var(--ds-size-400, 2rem);height:calc(var(--ds-size-25, 0.125rem) + var(--ds-size-400, 2rem));align-content:center;cursor:default;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px;text-align:center}:host{position:relative}:host::part(counterControl){display:flex;border-radius:var(--ds-size-500, 2.5rem);line-height:0;touch-action:manipulation}:host::part(counterControl):focus-visible{outline-offset:0;outline-style:solid;outline-width:var(--ds-size-25, 0.125rem)}:host::part(controlMinus){--ds-auro-counter-control-border-radius: var(--ds-size-500, 2.5rem) 0 0 var(--ds-size-500, 2.5rem);--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host::part(controlPlus){--ds-auro-counter-control-border-radius: 0 var(--ds-size-500, 2.5rem) var(--ds-size-500, 2.5rem) 0;--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem)}auro-counter-button{display:flex}`;
1849
2029
 
1850
2030
  /* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
1851
2031
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -2189,7 +2369,7 @@ var styleCss$5 = css`:host{position:relative;display:block}[slot=trigger],::slot
2189
2369
 
2190
2370
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
2191
2371
 
2192
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
2372
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
2193
2373
 
2194
2374
  /* eslint-disable jsdoc/require-param */
2195
2375
 
@@ -4886,7 +5066,7 @@ class AuroDropdownBib extends LitElement {
4886
5066
  */
4887
5067
  this._mobileBreakpointValue = undefined;
4888
5068
 
4889
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
5069
+ AuroLibraryRuntimeUtils$2$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
4890
5070
  }
4891
5071
 
4892
5072
  static get styles() {
@@ -5040,7 +5220,7 @@ var styleSnowflakeCss = css`:host{display:block}.wrapper{display:flex;flex-direc
5040
5220
 
5041
5221
  var colorCss$4 = css`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
5042
5222
 
5043
- var styleCss$4 = css`.helptext-wrapper{display:none;font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px)}:host([large]) .helptext-wrapper{font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-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}`;
5223
+ var styleCss$4 = css`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
5044
5224
 
5045
5225
  var tokensCss$3 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
5046
5226
 
@@ -5439,7 +5619,7 @@ class AuroDropdown extends AuroElement$2 {
5439
5619
  /**
5440
5620
  * @private
5441
5621
  */
5442
- this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
5622
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
5443
5623
 
5444
5624
  /**
5445
5625
  * @private
@@ -5790,7 +5970,7 @@ class AuroDropdown extends AuroElement$2 {
5790
5970
  *
5791
5971
  */
5792
5972
  static register(name = "auro-dropdown") {
5793
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDropdown);
5973
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
5794
5974
  }
5795
5975
 
5796
5976
  /**
@@ -6360,7 +6540,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
6360
6540
 
6361
6541
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6362
6542
 
6363
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6543
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
6364
6544
 
6365
6545
  /* eslint-disable jsdoc/require-param */
6366
6546
 
@@ -6624,7 +6804,7 @@ var colorCss$2 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
6624
6804
 
6625
6805
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6626
6806
 
6627
- class AuroLibraryRuntimeUtils {
6807
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6628
6808
 
6629
6809
  /* eslint-disable jsdoc/require-param */
6630
6810
 
@@ -6685,7 +6865,7 @@ class AuroLibraryRuntimeUtils {
6685
6865
 
6686
6866
  return elemTag === tag || elem.hasAttribute(tag);
6687
6867
  }
6688
- }
6868
+ };
6689
6869
 
6690
6870
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6691
6871
  // See LICENSE in the project root for license information.
@@ -6706,7 +6886,7 @@ class AuroIcon extends BaseIcon {
6706
6886
  */
6707
6887
  privateDefaults() {
6708
6888
  this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
6709
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
6889
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6710
6890
  }
6711
6891
 
6712
6892
  // function to define props used within the scope of this component
@@ -6788,7 +6968,7 @@ class AuroIcon extends BaseIcon {
6788
6968
  *
6789
6969
  */
6790
6970
  static register(name = "auro-icon") {
6791
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
6971
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
6792
6972
  }
6793
6973
 
6794
6974
  connectedCallback() {
@@ -6856,6 +7036,76 @@ class AuroIcon extends BaseIcon {
6856
7036
 
6857
7037
  var iconVersion = '8.0.3';
6858
7038
 
7039
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
7040
+ // See LICENSE in the project root for license information.
7041
+
7042
+ // ---------------------------------------------------------------------
7043
+
7044
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
7045
+
7046
+ class AuroLibraryRuntimeUtils {
7047
+
7048
+ /* eslint-disable jsdoc/require-param */
7049
+
7050
+ /**
7051
+ * This will register a new custom element with the browser.
7052
+ * @param {String} name - The name of the custom element.
7053
+ * @param {Object} componentClass - The class to register as a custom element.
7054
+ * @returns {void}
7055
+ */
7056
+ registerComponent(name, componentClass) {
7057
+ if (!customElements.get(name)) {
7058
+ customElements.define(name, class extends componentClass {});
7059
+ }
7060
+ }
7061
+
7062
+ /**
7063
+ * Finds and returns the closest HTML Element based on a selector.
7064
+ * @returns {void}
7065
+ */
7066
+ closestElement(
7067
+ selector, // selector like in .closest()
7068
+ base = this, // extra functionality to skip a parent
7069
+ __Closest = (el, found = el && el.closest(selector)) =>
7070
+ !el || el === document || el === window
7071
+ ? null // standard .closest() returns null for non-found selectors also
7072
+ : found
7073
+ ? found // found a selector INside this element
7074
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
7075
+ ) {
7076
+ return __Closest(base);
7077
+ }
7078
+ /* eslint-enable jsdoc/require-param */
7079
+
7080
+ /**
7081
+ * 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.
7082
+ * @param {Object} elem - The element to check.
7083
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
7084
+ * @returns {void}
7085
+ */
7086
+ handleComponentTagRename(elem, tagName) {
7087
+ const tag = tagName.toLowerCase();
7088
+ const elemTag = elem.tagName.toLowerCase();
7089
+
7090
+ if (elemTag !== tag) {
7091
+ elem.setAttribute(tag, true);
7092
+ }
7093
+ }
7094
+
7095
+ /**
7096
+ * Validates if an element is a specific Auro component.
7097
+ * @param {Object} elem - The element to validate.
7098
+ * @param {String} tagName - The name of the Auro component to check against.
7099
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
7100
+ */
7101
+ elementMatch(elem, tagName) {
7102
+ const tag = tagName.toLowerCase();
7103
+ const elemTag = elem.tagName.toLowerCase();
7104
+
7105
+ return elemTag === tag || elem.hasAttribute(tag);
7106
+ }
7107
+ }
7108
+
6859
7109
  var styleCss$3 = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
6860
7110
 
6861
7111
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -6885,7 +7135,7 @@ class AuroHeader extends LitElement {
6885
7135
  /**
6886
7136
  * @private
6887
7137
  */
6888
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
7138
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
6889
7139
  }
6890
7140
 
6891
7141
  // function to define props used within the scope of this component
@@ -6915,7 +7165,7 @@ class AuroHeader extends LitElement {
6915
7165
  *
6916
7166
  */
6917
7167
  static register(name = "auro-header") {
6918
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroHeader);
7168
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
6919
7169
  }
6920
7170
 
6921
7171
  firstUpdated() {
@@ -7011,7 +7261,7 @@ class AuroBibtemplate extends LitElement {
7011
7261
 
7012
7262
  this.large = false;
7013
7263
 
7014
- AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
7264
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
7015
7265
 
7016
7266
  const versioning = new AuroDependencyVersioning();
7017
7267
  this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
@@ -7050,7 +7300,7 @@ class AuroBibtemplate extends LitElement {
7050
7300
  *
7051
7301
  */
7052
7302
  static register(name = "auro-bibtemplate") {
7053
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroBibtemplate);
7303
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
7054
7304
  }
7055
7305
 
7056
7306
  /**
@@ -1462,26 +1462,25 @@ The component may be restyled using the following code sample and changing the v
1462
1462
  ```scss
1463
1463
  /* stylelint-disable color-function-notation */
1464
1464
 
1465
- @import "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska";
1466
- @import "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables";
1465
+ @use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
1467
1466
 
1468
1467
  :host {
1469
- --ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
1470
- --ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #{$ds-basic-color-border-bold});
1471
- --ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{$ds-basic-color-surface-default});
1472
- --ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{$ds-basic-color-border-divider});
1473
- --ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{$ds-basic-color-texticon-muted});
1468
+ --ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
1469
+ --ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
1470
+ --ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
1471
+ --ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
1472
+ --ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
1474
1473
  --ds-auro-calendar-nav-btn-border-color: transparent;
1475
- --ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #{$ds-basic-color-brand-primary});
1474
+ --ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #{v.$ds-basic-color-brand-primary});
1476
1475
  --ds-auro-calendar-nav-btn-container-color: transparent;
1477
- --ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #{$ds-basic-color-surface-default});
1478
- --ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, #{$ds-basic-color-border-divider});
1479
- --ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
1476
+ --ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
1477
+ --ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
1478
+ --ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
1480
1479
  --ds-auro-calendar-cell-border-color: transparent;
1481
1480
  --ds-auro-calendar-cell-container-color: transparent;
1482
- --ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #{$ds-advanced-color-shared-background-muted});
1483
- --ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
1484
- --ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #{$ds-basic-color-texticon-default});
1481
+ --ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #{v.$ds-advanced-color-shared-background-muted});
1482
+ --ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
1483
+ --ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
1485
1484
  }
1486
1485
  ```
1487
1486
  <!-- AURO-GENERATED-CONTENT:END -->