@aurodesignsystem-dev/auro-formkit 0.0.0-pr1344.1 → 0.0.0-pr1344.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/demo/api.min.js +91 -67
  6. package/components/combobox/demo/index.min.js +91 -67
  7. package/components/combobox/dist/index.js +91 -67
  8. package/components/combobox/dist/registered.js +91 -67
  9. package/components/counter/demo/api.min.js +2 -2
  10. package/components/counter/demo/index.min.js +2 -2
  11. package/components/counter/dist/index.js +2 -2
  12. package/components/counter/dist/registered.js +2 -2
  13. package/components/datepicker/demo/api.min.js +91 -67
  14. package/components/datepicker/demo/index.min.js +91 -67
  15. package/components/datepicker/dist/index.js +91 -67
  16. package/components/datepicker/dist/registered.js +91 -67
  17. package/components/dropdown/demo/api.min.js +1 -1
  18. package/components/dropdown/demo/index.min.js +1 -1
  19. package/components/dropdown/dist/index.js +1 -1
  20. package/components/dropdown/dist/registered.js +1 -1
  21. package/components/input/demo/api.md +22 -24
  22. package/components/input/demo/api.min.js +89 -65
  23. package/components/input/demo/index.min.js +89 -65
  24. package/components/input/dist/base-input.d.ts +1 -16
  25. package/components/input/dist/index.js +89 -65
  26. package/components/input/dist/registered.js +89 -65
  27. package/components/radio/demo/api.min.js +1 -1
  28. package/components/radio/demo/index.min.js +1 -1
  29. package/components/radio/dist/index.js +1 -1
  30. package/components/radio/dist/registered.js +1 -1
  31. package/components/select/demo/api.min.js +2 -2
  32. package/components/select/demo/index.min.js +2 -2
  33. package/components/select/dist/index.js +2 -2
  34. package/components/select/dist/registered.js +2 -2
  35. package/custom-elements.json +0 -70
  36. package/package.json +2 -2
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
1687
1687
  }
1688
1688
  }
1689
1689
 
1690
- var formkitVersion = '202602201749';
1690
+ var formkitVersion = '202602201815';
1691
1691
 
1692
1692
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1693
1693
  // See LICENSE in the project root for license information.
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
1679
1679
  }
1680
1680
  }
1681
1681
 
1682
- var formkitVersion = '202602201749';
1682
+ var formkitVersion = '202602201815';
1683
1683
 
1684
1684
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1685
1685
  // See LICENSE in the project root for license information.
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
1632
1632
  }
1633
1633
  }
1634
1634
 
1635
- var formkitVersion = '202602201749';
1635
+ var formkitVersion = '202602201815';
1636
1636
 
1637
1637
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
1632
1632
  }
1633
1633
  }
1634
1634
 
1635
- var formkitVersion = '202602201749';
1635
+ var formkitVersion = '202602201815';
1636
1636
 
1637
1637
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
@@ -4389,7 +4389,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
4389
4389
  }
4390
4390
  };
4391
4391
 
4392
- var formkitVersion$2 = '202602201749';
4392
+ var formkitVersion$2 = '202602201815';
4393
4393
 
4394
4394
  let AuroElement$2 = class AuroElement extends i$4 {
4395
4395
  static get properties() {
@@ -15982,6 +15982,92 @@ class UniqueId {
15982
15982
  }
15983
15983
  }
15984
15984
 
15985
+ /**
15986
+ * Class for interaction with the DOM.
15987
+ */
15988
+ class DomHandler {
15989
+ /**
15990
+ * Walk up the DOM (including Shadow DOM boundaries) to find
15991
+ * the closest ancestor with a given attribute.
15992
+ *
15993
+ * @param {Node} startNode - The node to start from
15994
+ * @param {string} attrName - Attribute name to match
15995
+ * @returns {Element|null}
15996
+ */
15997
+ closestWithAttribute(startNode, attrName) {
15998
+ let node = startNode;
15999
+
16000
+ while (node) {
16001
+ // Only check Elements
16002
+ if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
16003
+ return node;
16004
+ }
16005
+
16006
+ // Normal DOM parent
16007
+ if (node.parentNode) {
16008
+ node = node.parentNode;
16009
+ continue;
16010
+ }
16011
+
16012
+ // Cross Shadow DOM boundary
16013
+ if (node instanceof ShadowRoot) {
16014
+ node = node.host;
16015
+ continue;
16016
+ }
16017
+
16018
+ // If we're inside a shadow tree and parentNode is null
16019
+ if (node.getRootNode) {
16020
+ const root = node.getRootNode();
16021
+ if (root instanceof ShadowRoot) {
16022
+ node = root.host;
16023
+ continue;
16024
+ }
16025
+ }
16026
+
16027
+ // Nothing left to traverse
16028
+ node = null;
16029
+ }
16030
+
16031
+ return null;
16032
+ }
16033
+
16034
+ /**
16035
+ * If the locale wasn't set via attribute on `elem`,
16036
+ * then use the closest `data-locale` attribute crawling up the DOM tree.
16037
+ * If none is found, default to 'en-US'.
16038
+ */
16039
+ getLocale(elem) {
16040
+ let locale = "en-US";
16041
+
16042
+ try {
16043
+ if (elem.hasAttribute("locale")) {
16044
+ locale = elem.getAttribute("locale");
16045
+ } else {
16046
+ const closestLocaleElement = this.closestWithAttribute(
16047
+ elem,
16048
+ "data-locale",
16049
+ );
16050
+
16051
+ if (closestLocaleElement) {
16052
+ locale = closestLocaleElement.getAttribute("data-locale");
16053
+ }
16054
+ }
16055
+ } catch (error) {
16056
+ if (!elem) {
16057
+ console.debug(
16058
+ "Auro getLocale: No element provided, defaulting to 'en-US'",
16059
+ );
16060
+ } else {
16061
+ console.debug(
16062
+ "Auro getLocale: Error accessing attributes, defaulting to 'en-US'",
16063
+ );
16064
+ }
16065
+ }
16066
+
16067
+ return locale;
16068
+ }
16069
+ }
16070
+
15985
16071
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
15986
16072
  // See LICENSE in the project root for license information.
15987
16073
 
@@ -16045,6 +16131,7 @@ class BaseInput extends AuroElement$1 {
16045
16131
  'dd/mm': 'dateDDMM',
16046
16132
  'mm/dd': 'dateMMDD'
16047
16133
  };
16134
+ this.domHandler = new DomHandler();
16048
16135
  this.dvInputOnly = false;
16049
16136
  this.hasValue = false;
16050
16137
  this.inputIconName = undefined;
@@ -16479,7 +16566,7 @@ class BaseInput extends AuroElement$1 {
16479
16566
  connectedCallback() {
16480
16567
  super.connectedCallback();
16481
16568
 
16482
- this.setLocale();
16569
+ this.locale = this.domHandler.getLocale(this);
16483
16570
  }
16484
16571
 
16485
16572
  firstUpdated() {
@@ -16582,69 +16669,6 @@ class BaseInput extends AuroElement$1 {
16582
16669
  }
16583
16670
  }
16584
16671
 
16585
- /**
16586
- * MOVE THIS TO AURO-LIBRARY ???
16587
- * Walk up the DOM (including Shadow DOM boundaries) to find
16588
- * the closest ancestor with a given attribute.
16589
- *
16590
- * @param {Node} startNode - The node to start from
16591
- * @param {string} attrName - Attribute name to match
16592
- * @returns {Element|null}
16593
- */
16594
- closestWithAttribute(startNode, attrName) {
16595
- let node = startNode;
16596
-
16597
- while (node) {
16598
- // Only check Elements
16599
- if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
16600
- return node;
16601
- }
16602
-
16603
- // Normal DOM parent
16604
- if (node.parentNode) {
16605
- node = node.parentNode;
16606
- continue;
16607
- }
16608
-
16609
- // Cross Shadow DOM boundary
16610
- if (node instanceof ShadowRoot) {
16611
- node = node.host;
16612
- continue;
16613
- }
16614
-
16615
- // If we're inside a shadow tree and parentNode is null
16616
- if (node.getRootNode) {
16617
- const root = node.getRootNode();
16618
- if (root instanceof ShadowRoot) {
16619
- node = root.host;
16620
- continue;
16621
- }
16622
- }
16623
-
16624
- // Nothing left to traverse
16625
- node = null;
16626
- }
16627
-
16628
- return null;
16629
- }
16630
-
16631
- /**
16632
- * If the locale wasn't set via attribute,
16633
- * look for the closest `data-locale` attribute in the DOM and use that.
16634
- * If none is found, default to 'en-US'.
16635
- */
16636
- setLocale() {
16637
- if (!this.hasAttribute('locale')) {
16638
- const closestLocaleElement = this.closestWithAttribute(this, 'data-locale');
16639
-
16640
- if (closestLocaleElement) {
16641
- this.locale = closestLocaleElement.getAttribute('data-locale');
16642
- } else {
16643
- this.locale = 'en-US';
16644
- }
16645
- }
16646
- }
16647
-
16648
16672
  /**
16649
16673
  * LitElement lifecycle method. Called after the DOM has been updated.
16650
16674
  * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
@@ -17464,7 +17488,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
17464
17488
  }
17465
17489
  };
17466
17490
 
17467
- var formkitVersion$1 = '202602201749';
17491
+ var formkitVersion$1 = '202602201815';
17468
17492
 
17469
17493
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
17470
17494
  // See LICENSE in the project root for license information.
@@ -18548,7 +18572,7 @@ class AuroBibtemplate extends i$4 {
18548
18572
  }
18549
18573
  }
18550
18574
 
18551
- var formkitVersion = '202602201749';
18575
+ var formkitVersion = '202602201815';
18552
18576
 
18553
18577
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
18554
18578
 
@@ -4312,7 +4312,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
4312
4312
  }
4313
4313
  };
4314
4314
 
4315
- var formkitVersion$2 = '202602201749';
4315
+ var formkitVersion$2 = '202602201815';
4316
4316
 
4317
4317
  let AuroElement$2 = class AuroElement extends i$4 {
4318
4318
  static get properties() {
@@ -15905,6 +15905,92 @@ class UniqueId {
15905
15905
  }
15906
15906
  }
15907
15907
 
15908
+ /**
15909
+ * Class for interaction with the DOM.
15910
+ */
15911
+ class DomHandler {
15912
+ /**
15913
+ * Walk up the DOM (including Shadow DOM boundaries) to find
15914
+ * the closest ancestor with a given attribute.
15915
+ *
15916
+ * @param {Node} startNode - The node to start from
15917
+ * @param {string} attrName - Attribute name to match
15918
+ * @returns {Element|null}
15919
+ */
15920
+ closestWithAttribute(startNode, attrName) {
15921
+ let node = startNode;
15922
+
15923
+ while (node) {
15924
+ // Only check Elements
15925
+ if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
15926
+ return node;
15927
+ }
15928
+
15929
+ // Normal DOM parent
15930
+ if (node.parentNode) {
15931
+ node = node.parentNode;
15932
+ continue;
15933
+ }
15934
+
15935
+ // Cross Shadow DOM boundary
15936
+ if (node instanceof ShadowRoot) {
15937
+ node = node.host;
15938
+ continue;
15939
+ }
15940
+
15941
+ // If we're inside a shadow tree and parentNode is null
15942
+ if (node.getRootNode) {
15943
+ const root = node.getRootNode();
15944
+ if (root instanceof ShadowRoot) {
15945
+ node = root.host;
15946
+ continue;
15947
+ }
15948
+ }
15949
+
15950
+ // Nothing left to traverse
15951
+ node = null;
15952
+ }
15953
+
15954
+ return null;
15955
+ }
15956
+
15957
+ /**
15958
+ * If the locale wasn't set via attribute on `elem`,
15959
+ * then use the closest `data-locale` attribute crawling up the DOM tree.
15960
+ * If none is found, default to 'en-US'.
15961
+ */
15962
+ getLocale(elem) {
15963
+ let locale = "en-US";
15964
+
15965
+ try {
15966
+ if (elem.hasAttribute("locale")) {
15967
+ locale = elem.getAttribute("locale");
15968
+ } else {
15969
+ const closestLocaleElement = this.closestWithAttribute(
15970
+ elem,
15971
+ "data-locale",
15972
+ );
15973
+
15974
+ if (closestLocaleElement) {
15975
+ locale = closestLocaleElement.getAttribute("data-locale");
15976
+ }
15977
+ }
15978
+ } catch (error) {
15979
+ if (!elem) {
15980
+ console.debug(
15981
+ "Auro getLocale: No element provided, defaulting to 'en-US'",
15982
+ );
15983
+ } else {
15984
+ console.debug(
15985
+ "Auro getLocale: Error accessing attributes, defaulting to 'en-US'",
15986
+ );
15987
+ }
15988
+ }
15989
+
15990
+ return locale;
15991
+ }
15992
+ }
15993
+
15908
15994
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
15909
15995
  // See LICENSE in the project root for license information.
15910
15996
 
@@ -15968,6 +16054,7 @@ class BaseInput extends AuroElement$1 {
15968
16054
  'dd/mm': 'dateDDMM',
15969
16055
  'mm/dd': 'dateMMDD'
15970
16056
  };
16057
+ this.domHandler = new DomHandler();
15971
16058
  this.dvInputOnly = false;
15972
16059
  this.hasValue = false;
15973
16060
  this.inputIconName = undefined;
@@ -16402,7 +16489,7 @@ class BaseInput extends AuroElement$1 {
16402
16489
  connectedCallback() {
16403
16490
  super.connectedCallback();
16404
16491
 
16405
- this.setLocale();
16492
+ this.locale = this.domHandler.getLocale(this);
16406
16493
  }
16407
16494
 
16408
16495
  firstUpdated() {
@@ -16505,69 +16592,6 @@ class BaseInput extends AuroElement$1 {
16505
16592
  }
16506
16593
  }
16507
16594
 
16508
- /**
16509
- * MOVE THIS TO AURO-LIBRARY ???
16510
- * Walk up the DOM (including Shadow DOM boundaries) to find
16511
- * the closest ancestor with a given attribute.
16512
- *
16513
- * @param {Node} startNode - The node to start from
16514
- * @param {string} attrName - Attribute name to match
16515
- * @returns {Element|null}
16516
- */
16517
- closestWithAttribute(startNode, attrName) {
16518
- let node = startNode;
16519
-
16520
- while (node) {
16521
- // Only check Elements
16522
- if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
16523
- return node;
16524
- }
16525
-
16526
- // Normal DOM parent
16527
- if (node.parentNode) {
16528
- node = node.parentNode;
16529
- continue;
16530
- }
16531
-
16532
- // Cross Shadow DOM boundary
16533
- if (node instanceof ShadowRoot) {
16534
- node = node.host;
16535
- continue;
16536
- }
16537
-
16538
- // If we're inside a shadow tree and parentNode is null
16539
- if (node.getRootNode) {
16540
- const root = node.getRootNode();
16541
- if (root instanceof ShadowRoot) {
16542
- node = root.host;
16543
- continue;
16544
- }
16545
- }
16546
-
16547
- // Nothing left to traverse
16548
- node = null;
16549
- }
16550
-
16551
- return null;
16552
- }
16553
-
16554
- /**
16555
- * If the locale wasn't set via attribute,
16556
- * look for the closest `data-locale` attribute in the DOM and use that.
16557
- * If none is found, default to 'en-US'.
16558
- */
16559
- setLocale() {
16560
- if (!this.hasAttribute('locale')) {
16561
- const closestLocaleElement = this.closestWithAttribute(this, 'data-locale');
16562
-
16563
- if (closestLocaleElement) {
16564
- this.locale = closestLocaleElement.getAttribute('data-locale');
16565
- } else {
16566
- this.locale = 'en-US';
16567
- }
16568
- }
16569
- }
16570
-
16571
16595
  /**
16572
16596
  * LitElement lifecycle method. Called after the DOM has been updated.
16573
16597
  * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
@@ -17387,7 +17411,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
17387
17411
  }
17388
17412
  };
17389
17413
 
17390
- var formkitVersion$1 = '202602201749';
17414
+ var formkitVersion$1 = '202602201815';
17391
17415
 
17392
17416
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
17393
17417
  // See LICENSE in the project root for license information.
@@ -18471,7 +18495,7 @@ class AuroBibtemplate extends i$4 {
18471
18495
  }
18472
18496
  }
18473
18497
 
18474
- var formkitVersion = '202602201749';
18498
+ var formkitVersion = '202602201815';
18475
18499
 
18476
18500
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
18477
18501
 
@@ -4249,7 +4249,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4249
4249
  }
4250
4250
  };
4251
4251
 
4252
- var formkitVersion$2 = '202602201749';
4252
+ var formkitVersion$2 = '202602201815';
4253
4253
 
4254
4254
  let AuroElement$2 = class AuroElement extends LitElement {
4255
4255
  static get properties() {
@@ -15835,6 +15835,92 @@ class UniqueId {
15835
15835
  }
15836
15836
  }
15837
15837
 
15838
+ /**
15839
+ * Class for interaction with the DOM.
15840
+ */
15841
+ class DomHandler {
15842
+ /**
15843
+ * Walk up the DOM (including Shadow DOM boundaries) to find
15844
+ * the closest ancestor with a given attribute.
15845
+ *
15846
+ * @param {Node} startNode - The node to start from
15847
+ * @param {string} attrName - Attribute name to match
15848
+ * @returns {Element|null}
15849
+ */
15850
+ closestWithAttribute(startNode, attrName) {
15851
+ let node = startNode;
15852
+
15853
+ while (node) {
15854
+ // Only check Elements
15855
+ if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
15856
+ return node;
15857
+ }
15858
+
15859
+ // Normal DOM parent
15860
+ if (node.parentNode) {
15861
+ node = node.parentNode;
15862
+ continue;
15863
+ }
15864
+
15865
+ // Cross Shadow DOM boundary
15866
+ if (node instanceof ShadowRoot) {
15867
+ node = node.host;
15868
+ continue;
15869
+ }
15870
+
15871
+ // If we're inside a shadow tree and parentNode is null
15872
+ if (node.getRootNode) {
15873
+ const root = node.getRootNode();
15874
+ if (root instanceof ShadowRoot) {
15875
+ node = root.host;
15876
+ continue;
15877
+ }
15878
+ }
15879
+
15880
+ // Nothing left to traverse
15881
+ node = null;
15882
+ }
15883
+
15884
+ return null;
15885
+ }
15886
+
15887
+ /**
15888
+ * If the locale wasn't set via attribute on `elem`,
15889
+ * then use the closest `data-locale` attribute crawling up the DOM tree.
15890
+ * If none is found, default to 'en-US'.
15891
+ */
15892
+ getLocale(elem) {
15893
+ let locale = "en-US";
15894
+
15895
+ try {
15896
+ if (elem.hasAttribute("locale")) {
15897
+ locale = elem.getAttribute("locale");
15898
+ } else {
15899
+ const closestLocaleElement = this.closestWithAttribute(
15900
+ elem,
15901
+ "data-locale",
15902
+ );
15903
+
15904
+ if (closestLocaleElement) {
15905
+ locale = closestLocaleElement.getAttribute("data-locale");
15906
+ }
15907
+ }
15908
+ } catch (error) {
15909
+ if (!elem) {
15910
+ console.debug(
15911
+ "Auro getLocale: No element provided, defaulting to 'en-US'",
15912
+ );
15913
+ } else {
15914
+ console.debug(
15915
+ "Auro getLocale: Error accessing attributes, defaulting to 'en-US'",
15916
+ );
15917
+ }
15918
+ }
15919
+
15920
+ return locale;
15921
+ }
15922
+ }
15923
+
15838
15924
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
15839
15925
  // See LICENSE in the project root for license information.
15840
15926
 
@@ -15898,6 +15984,7 @@ class BaseInput extends AuroElement$1 {
15898
15984
  'dd/mm': 'dateDDMM',
15899
15985
  'mm/dd': 'dateMMDD'
15900
15986
  };
15987
+ this.domHandler = new DomHandler();
15901
15988
  this.dvInputOnly = false;
15902
15989
  this.hasValue = false;
15903
15990
  this.inputIconName = undefined;
@@ -16332,7 +16419,7 @@ class BaseInput extends AuroElement$1 {
16332
16419
  connectedCallback() {
16333
16420
  super.connectedCallback();
16334
16421
 
16335
- this.setLocale();
16422
+ this.locale = this.domHandler.getLocale(this);
16336
16423
  }
16337
16424
 
16338
16425
  firstUpdated() {
@@ -16435,69 +16522,6 @@ class BaseInput extends AuroElement$1 {
16435
16522
  }
16436
16523
  }
16437
16524
 
16438
- /**
16439
- * MOVE THIS TO AURO-LIBRARY ???
16440
- * Walk up the DOM (including Shadow DOM boundaries) to find
16441
- * the closest ancestor with a given attribute.
16442
- *
16443
- * @param {Node} startNode - The node to start from
16444
- * @param {string} attrName - Attribute name to match
16445
- * @returns {Element|null}
16446
- */
16447
- closestWithAttribute(startNode, attrName) {
16448
- let node = startNode;
16449
-
16450
- while (node) {
16451
- // Only check Elements
16452
- if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
16453
- return node;
16454
- }
16455
-
16456
- // Normal DOM parent
16457
- if (node.parentNode) {
16458
- node = node.parentNode;
16459
- continue;
16460
- }
16461
-
16462
- // Cross Shadow DOM boundary
16463
- if (node instanceof ShadowRoot) {
16464
- node = node.host;
16465
- continue;
16466
- }
16467
-
16468
- // If we're inside a shadow tree and parentNode is null
16469
- if (node.getRootNode) {
16470
- const root = node.getRootNode();
16471
- if (root instanceof ShadowRoot) {
16472
- node = root.host;
16473
- continue;
16474
- }
16475
- }
16476
-
16477
- // Nothing left to traverse
16478
- node = null;
16479
- }
16480
-
16481
- return null;
16482
- }
16483
-
16484
- /**
16485
- * If the locale wasn't set via attribute,
16486
- * look for the closest `data-locale` attribute in the DOM and use that.
16487
- * If none is found, default to 'en-US'.
16488
- */
16489
- setLocale() {
16490
- if (!this.hasAttribute('locale')) {
16491
- const closestLocaleElement = this.closestWithAttribute(this, 'data-locale');
16492
-
16493
- if (closestLocaleElement) {
16494
- this.locale = closestLocaleElement.getAttribute('data-locale');
16495
- } else {
16496
- this.locale = 'en-US';
16497
- }
16498
- }
16499
- }
16500
-
16501
16525
  /**
16502
16526
  * LitElement lifecycle method. Called after the DOM has been updated.
16503
16527
  * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
@@ -17317,7 +17341,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
17317
17341
  }
17318
17342
  };
17319
17343
 
17320
- var formkitVersion$1 = '202602201749';
17344
+ var formkitVersion$1 = '202602201815';
17321
17345
 
17322
17346
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
17323
17347
  // See LICENSE in the project root for license information.
@@ -18401,7 +18425,7 @@ class AuroBibtemplate extends LitElement {
18401
18425
  }
18402
18426
  }
18403
18427
 
18404
- var formkitVersion = '202602201749';
18428
+ var formkitVersion = '202602201815';
18405
18429
 
18406
18430
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
18407
18431