@aurodesignsystem/auro-formkit 5.9.1 → 5.9.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 (127) hide show
  1. package/CHANGELOG.md +16 -4
  2. package/components/checkbox/README.md +62 -62
  3. package/components/checkbox/demo/api.js +1 -1
  4. package/components/checkbox/demo/api.md +127 -84
  5. package/components/checkbox/demo/api.min.js +125 -42
  6. package/components/checkbox/demo/index.md +9 -281
  7. package/components/checkbox/demo/index.min.js +125 -42
  8. package/components/checkbox/demo/readme.html +3 -4
  9. package/components/checkbox/demo/readme.md +62 -62
  10. package/components/checkbox/dist/auro-checkbox-group.d.ts +7 -8
  11. package/components/checkbox/dist/auro-checkbox.d.ts +74 -20
  12. package/components/checkbox/dist/index.js +125 -42
  13. package/components/checkbox/dist/registered.js +125 -42
  14. package/components/combobox/README.md +76 -74
  15. package/components/combobox/demo/api.html +1 -0
  16. package/components/combobox/demo/api.js +11 -12
  17. package/components/combobox/demo/api.md +1302 -875
  18. package/components/combobox/demo/api.min.js +348 -420
  19. package/components/combobox/demo/index.html +1 -7
  20. package/components/combobox/demo/index.js +0 -19
  21. package/components/combobox/demo/index.md +43 -723
  22. package/components/combobox/demo/index.min.js +301 -230
  23. package/components/combobox/demo/readme.html +3 -4
  24. package/components/combobox/demo/readme.md +76 -74
  25. package/components/combobox/dist/auro-combobox.d.ts +39 -40
  26. package/components/combobox/dist/index.js +159 -143
  27. package/components/combobox/dist/registered.js +159 -143
  28. package/components/counter/README.md +81 -66
  29. package/components/counter/demo/api.html +1 -2
  30. package/components/counter/demo/api.js +2 -2
  31. package/components/counter/demo/api.md +777 -259
  32. package/components/counter/demo/api.min.js +84 -112
  33. package/components/counter/demo/index.html +0 -2
  34. package/components/counter/demo/index.md +20 -329
  35. package/components/counter/demo/index.min.js +82 -93
  36. package/components/counter/demo/readme.html +3 -4
  37. package/components/counter/demo/readme.md +81 -66
  38. package/components/counter/dist/auro-counter-group.d.ts +21 -36
  39. package/components/counter/dist/auro-counter-wrapper.d.ts +1 -6
  40. package/components/counter/dist/auro-counter.d.ts +5 -8
  41. package/components/counter/dist/index.js +82 -93
  42. package/components/counter/dist/registered.js +82 -93
  43. package/components/datepicker/README.md +57 -61
  44. package/components/datepicker/demo/api.js +8 -8
  45. package/components/datepicker/demo/api.md +720 -561
  46. package/components/datepicker/demo/api.min.js +427 -2424
  47. package/components/datepicker/demo/index.md +65 -117
  48. package/components/datepicker/demo/index.min.js +427 -2424
  49. package/components/datepicker/demo/readme.html +3 -4
  50. package/components/datepicker/demo/readme.md +57 -61
  51. package/components/datepicker/dist/auro-calendar.d.ts +60 -34
  52. package/components/datepicker/dist/auro-datepicker.d.ts +31 -31
  53. package/components/datepicker/dist/index.js +256 -2253
  54. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  55. package/components/datepicker/dist/registered.js +256 -2253
  56. package/components/dropdown/README.md +78 -62
  57. package/components/dropdown/demo/api.js +4 -4
  58. package/components/dropdown/demo/api.md +520 -478
  59. package/components/dropdown/demo/api.min.js +48 -39
  60. package/components/dropdown/demo/index.md +65 -119
  61. package/components/dropdown/demo/index.min.js +38 -29
  62. package/components/dropdown/demo/readme.html +3 -4
  63. package/components/dropdown/demo/readme.md +78 -62
  64. package/components/dropdown/dist/auro-dropdown.d.ts +42 -33
  65. package/components/dropdown/dist/index.js +38 -29
  66. package/components/dropdown/dist/registered.js +38 -29
  67. package/components/form/README.md +16 -58
  68. package/components/form/demo/api.md +16 -21
  69. package/components/form/demo/api.min.js +13 -8
  70. package/components/form/demo/index.md +38 -39
  71. package/components/form/demo/index.min.js +13 -8
  72. package/components/form/demo/readme.md +16 -58
  73. package/components/form/dist/auro-form.d.ts +15 -3
  74. package/components/form/dist/index.js +13 -8
  75. package/components/form/dist/registered.js +13 -8
  76. package/components/input/README.md +55 -60
  77. package/components/input/demo/api.js +3 -5
  78. package/components/input/demo/api.md +558 -537
  79. package/components/input/demo/api.min.js +100 -113
  80. package/components/input/demo/index.js +0 -1
  81. package/components/input/demo/index.md +90 -203
  82. package/components/input/demo/index.min.js +85 -97
  83. package/components/input/demo/readme.html +3 -4
  84. package/components/input/demo/readme.md +55 -60
  85. package/components/input/dist/auro-input.d.ts +6 -5
  86. package/components/input/dist/base-input.d.ts +67 -68
  87. package/components/input/dist/index.js +85 -80
  88. package/components/input/dist/registered.js +85 -80
  89. package/components/menu/README.md +61 -61
  90. package/components/menu/demo/api.js +6 -8
  91. package/components/menu/demo/api.md +520 -572
  92. package/components/menu/demo/api.min.js +176 -92
  93. package/components/menu/demo/index.js +0 -5
  94. package/components/menu/demo/index.md +36 -119
  95. package/components/menu/demo/index.min.js +141 -96
  96. package/components/menu/demo/readme.html +3 -4
  97. package/components/menu/demo/readme.md +61 -61
  98. package/components/menu/dist/auro-menu.d.ts +70 -37
  99. package/components/menu/dist/auro-menuoption.d.ts +36 -11
  100. package/components/menu/dist/index.js +141 -45
  101. package/components/menu/dist/registered.js +141 -45
  102. package/components/radio/README.md +61 -57
  103. package/components/radio/demo/api.js +2 -2
  104. package/components/radio/demo/api.md +241 -170
  105. package/components/radio/demo/api.min.js +154 -77
  106. package/components/radio/demo/index.md +22 -99
  107. package/components/radio/demo/index.min.js +145 -68
  108. package/components/radio/demo/readme.html +3 -4
  109. package/components/radio/demo/readme.md +61 -57
  110. package/components/radio/dist/auro-radio-group.d.ts +67 -35
  111. package/components/radio/dist/auro-radio.d.ts +56 -33
  112. package/components/radio/dist/index.js +145 -68
  113. package/components/radio/dist/registered.js +145 -68
  114. package/components/select/README.md +68 -65
  115. package/components/select/demo/api.html +1 -0
  116. package/components/select/demo/api.js +7 -7
  117. package/components/select/demo/api.md +1305 -625
  118. package/components/select/demo/api.min.js +300 -199
  119. package/components/select/demo/index.html +0 -2
  120. package/components/select/demo/index.md +25 -833
  121. package/components/select/demo/index.min.js +299 -167
  122. package/components/select/demo/readme.html +3 -4
  123. package/components/select/demo/readme.md +68 -65
  124. package/components/select/dist/auro-select.d.ts +99 -90
  125. package/components/select/dist/index.js +158 -122
  126. package/components/select/dist/registered.js +158 -122
  127. package/package.json +3 -3
@@ -59,37 +59,6 @@ function resetStateExample() {
59
59
  });
60
60
  }
61
61
 
62
- function auroMenuLoadingExample() {
63
- const select = document.querySelector("#loadingExample");
64
- const menu = document.querySelector("#loadingExampleSelectMenu");
65
-
66
- const emptyMenu = () => {
67
- const menuoptions = menu.querySelectorAll('auro-menuoption');
68
- menuoptions.forEach(mo => menu.removeChild(mo));
69
- };
70
-
71
- const fillMenu = () => {
72
- menu.innerHTML += `
73
- <auro-menuoption value="stops">Stops</auro-menuoption>
74
- <auro-menuoption value="price">Price</auro-menuoption>
75
- <auro-menuoption value="duration">Duration</auro-menuoption>
76
- <auro-menuoption value="departure">Departure</auro-menuoption>
77
- <auro-menuoption value="arrival">Arrival</auro-menuoption>
78
- <auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>`;
79
- };
80
-
81
- select.addEventListener("click", () => {
82
- if (!menu.hasAttribute('loading') && !select.value) {
83
- emptyMenu();
84
- menu.setAttribute('loading', 'loading');
85
- setTimeout(() => {
86
- menu.removeAttribute('loading');
87
- fillMenu();
88
- }, 1000);
89
- }
90
- });
91
- }
92
-
93
62
  /**
94
63
  * @license
95
64
  * Copyright 2019 Google LLC
@@ -4352,7 +4321,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
4352
4321
  }
4353
4322
  };
4354
4323
 
4355
- var formkitVersion$1 = '202512120003';
4324
+ var formkitVersion$1 = '202601271813';
4356
4325
 
4357
4326
  class AuroElement extends i$3 {
4358
4327
  static get properties() {
@@ -4458,12 +4427,14 @@ class AuroElement extends i$3 {
4458
4427
  }
4459
4428
  }
4460
4429
 
4461
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4430
+ // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4462
4431
  // See LICENSE in the project root for license information.
4463
4432
 
4464
4433
 
4465
-
4466
- /*
4434
+ /**
4435
+ * The `auro-dropdown` element provides a way to place content in a bib that can be toggled.
4436
+ * @customElement auro-dropdown
4437
+ *
4467
4438
  * @slot - Default slot for the popover content.
4468
4439
  * @slot helpText - Defines the content of the helpText.
4469
4440
  * @slot trigger - Defines the content of the trigger.
@@ -4499,7 +4470,7 @@ class AuroDropdown extends AuroElement {
4499
4470
  /** @private */
4500
4471
  this.bibElement = e$1();
4501
4472
 
4502
- this.privateDefaults();
4473
+ this._intializeDefaults();
4503
4474
  }
4504
4475
 
4505
4476
  /**
@@ -4520,7 +4491,7 @@ class AuroDropdown extends AuroElement {
4520
4491
  * @private
4521
4492
  * @returns {void} Internal defaults.
4522
4493
  */
4523
- privateDefaults() {
4494
+ _intializeDefaults() {
4524
4495
  this.appearance = 'default';
4525
4496
  this.chevron = false;
4526
4497
  this.disabled = false;
@@ -4641,9 +4612,18 @@ class AuroDropdown extends AuroElement {
4641
4612
  static get properties() {
4642
4613
  return {
4643
4614
 
4615
+ /**
4616
+ * The value for the role attribute of the trigger element.
4617
+ */
4618
+ a11yRole: {
4619
+ type: String || undefined,
4620
+ attribute: false,
4621
+ reflect: false
4622
+ },
4623
+
4644
4624
  /**
4645
4625
  * Defines whether the component will be on lighter or darker backgrounds.
4646
- * @property {'default', 'inverse'}
4626
+ * @type {'default' | 'inverse'}
4647
4627
  * @default 'default'
4648
4628
  */
4649
4629
  appearance: {
@@ -4653,7 +4633,6 @@ class AuroDropdown extends AuroElement {
4653
4633
 
4654
4634
  /**
4655
4635
  * If declared, bib's position will be automatically calculated where to appear.
4656
- * @default false
4657
4636
  */
4658
4637
  autoPlacement: {
4659
4638
  type: Boolean,
@@ -4662,7 +4641,6 @@ class AuroDropdown extends AuroElement {
4662
4641
 
4663
4642
  /**
4664
4643
  * If declared, the dropdown will only show by calling the API .show() public method.
4665
- * @default false
4666
4644
  */
4667
4645
  disableEventShow: {
4668
4646
  type: Boolean,
@@ -4679,11 +4657,11 @@ class AuroDropdown extends AuroElement {
4679
4657
 
4680
4658
  /**
4681
4659
  * If declared, the dropdown displays a chevron on the right.
4682
- * @attr {Boolean} chevron
4683
4660
  */
4684
4661
  chevron: {
4685
4662
  type: Boolean,
4686
- reflect: true
4663
+ reflect: true,
4664
+ attribute: 'chevron'
4687
4665
  },
4688
4666
 
4689
4667
  /**
@@ -4720,7 +4698,7 @@ class AuroDropdown extends AuroElement {
4720
4698
  },
4721
4699
 
4722
4700
  /**
4723
- * If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both.
4701
+ * If declared, will apply error UI to the dropdown.
4724
4702
  */
4725
4703
  error: {
4726
4704
  type: Boolean,
@@ -4775,18 +4753,28 @@ class AuroDropdown extends AuroElement {
4775
4753
  },
4776
4754
 
4777
4755
  /**
4778
- * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4779
- * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4756
+ * Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4780
4757
  *
4781
4758
  * When expanded, the dropdown will automatically display in fullscreen mode
4782
4759
  * if the screen size is equal to or smaller than the selected breakpoint.
4783
- * @default sm
4760
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
4761
+ * @default 'sm'
4784
4762
  */
4785
4763
  fullscreenBreakpoint: {
4786
4764
  type: String,
4787
4765
  reflect: true
4788
4766
  },
4789
4767
 
4768
+ /**
4769
+ * Sets the layout of the dropdown.
4770
+ * @type {'classic' | 'emphasized' | 'snowflake'}
4771
+ * @default 'classic'
4772
+ */
4773
+ layout: {
4774
+ type: String,
4775
+ reflect: true
4776
+ },
4777
+
4790
4778
  /**
4791
4779
  * Defines if the trigger should size based on the parent element providing the border UI.
4792
4780
  * @private
@@ -4807,7 +4795,6 @@ class AuroDropdown extends AuroElement {
4807
4795
  /**
4808
4796
  * If declared, the bib will NOT flip to an alternate position
4809
4797
  * when there isn't enough space in the specified `placement`.
4810
- * @default false
4811
4798
  */
4812
4799
  noFlip: {
4813
4800
  type: Boolean,
@@ -4816,7 +4803,6 @@ class AuroDropdown extends AuroElement {
4816
4803
 
4817
4804
  /**
4818
4805
  * If declared, the dropdown will shift its position to avoid being cut off by the viewport.
4819
- * @default false
4820
4806
  */
4821
4807
  shift: {
4822
4808
  type: Boolean,
@@ -4849,7 +4835,7 @@ class AuroDropdown extends AuroElement {
4849
4835
  },
4850
4836
 
4851
4837
  /**
4852
- * DEPRECATED - use `appearance` instead.
4838
+ * DEPRECATED - use `appearance="inverse"` instead.
4853
4839
  */
4854
4840
  onDark: {
4855
4841
  type: Boolean,
@@ -4866,7 +4852,8 @@ class AuroDropdown extends AuroElement {
4866
4852
 
4867
4853
  /**
4868
4854
  * Position where the bib should appear relative to the trigger.
4869
- * @default bottom-start
4855
+ * @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
4856
+ * @default 'bottom-start'
4870
4857
  */
4871
4858
  placement: {
4872
4859
  type: String,
@@ -4878,15 +4865,6 @@ class AuroDropdown extends AuroElement {
4878
4865
  */
4879
4866
  tabIndex: {
4880
4867
  type: Number
4881
- },
4882
-
4883
- /**
4884
- * The value for the role attribute of the trigger element.
4885
- */
4886
- a11yRole: {
4887
- type: String || undefined,
4888
- attribute: false,
4889
- reflect: false
4890
4868
  }
4891
4869
  };
4892
4870
  }
@@ -4913,7 +4891,7 @@ class AuroDropdown extends AuroElement {
4913
4891
 
4914
4892
  /**
4915
4893
  * This will register this element with the browser.
4916
- * @param {string} [name="auro-dropdown"] - The name of element that you want to register to.
4894
+ * @param {string} [name="auro-dropdown"] - The name of the element that you want to register.
4917
4895
  *
4918
4896
  * @example
4919
4897
  * AuroDropdown.register("custom-dropdown") // this will register this element to <custom-dropdown/>
@@ -5990,19 +5968,20 @@ class AuroHelpText extends i$3 {
5990
5968
  }
5991
5969
  }
5992
5970
 
5993
- var formkitVersion = '202512120003';
5971
+ var formkitVersion = '202601271813';
5994
5972
 
5995
5973
  var styleCss$2 = i$6`.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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
5996
5974
 
5997
5975
  var emphasizedColorCss = i$6`:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}`;
5998
5976
 
5999
- // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5977
+ // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6000
5978
  // See LICENSE in the project root for license information.
6001
5979
 
6002
5980
 
6003
5981
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
6004
5982
  /**
6005
- * The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
5983
+ * The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
5984
+ * @customElement auro-select
6006
5985
  *
6007
5986
  * @slot - Default slot for the menu content.
6008
5987
  * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
@@ -6015,10 +5994,9 @@ var emphasizedColorCss = i$6`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
6015
5994
  * @event auroSelect-valueSet - Notifies that the component has a new value set.
6016
5995
  * @event input - Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object.
6017
5996
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
6018
- *
6019
5997
  * @csspart dropdownTrigger - Apply CSS to the trigger content container.
6020
5998
  * @csspart dropdownChevron - Apply CSS to the collapsed/expanded state icon container.
6021
- * @csspart dropdownSize - Apply size styles to the dropdown bib. (height, width, maxHeight, maxWidth only)
5999
+ * @csspart dropdownSize - Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only).
6022
6000
  * @csspart helpText - Apply CSS to the help text.
6023
6001
  */
6024
6002
 
@@ -6027,7 +6005,7 @@ class AuroSelect extends AuroElement$1 {
6027
6005
  constructor() {
6028
6006
  super();
6029
6007
 
6030
- this.privateDefaults();
6008
+ this._initializeDefaults();
6031
6009
 
6032
6010
  const idLength = 36;
6033
6011
  const idSubstrEnd = 8;
@@ -6101,7 +6079,7 @@ class AuroSelect extends AuroElement$1 {
6101
6079
  * @private
6102
6080
  * @returns {void} Internal defaults.
6103
6081
  */
6104
- privateDefaults() {
6082
+ _initializeDefaults() {
6105
6083
  this.appearance = 'default';
6106
6084
  this.value = undefined;
6107
6085
  this.fullscreenBreakpoint = 'sm';
@@ -6122,7 +6100,7 @@ class AuroSelect extends AuroElement$1 {
6122
6100
 
6123
6101
  /**
6124
6102
  * Defines whether the component will be on lighter or darker backgrounds.
6125
- * @property {'default', 'inverse'}
6103
+ * @type {'default' | 'inverse'}
6126
6104
  * @default 'default'
6127
6105
  */
6128
6106
  appearance: {
@@ -6130,6 +6108,14 @@ class AuroSelect extends AuroElement$1 {
6130
6108
  reflect: true
6131
6109
  },
6132
6110
 
6111
+ /**
6112
+ * If declared, bib's position will be automatically calculated where to appear.
6113
+ */
6114
+ autoPlacement: {
6115
+ type: Boolean,
6116
+ reflect: true
6117
+ },
6118
+
6133
6119
  /**
6134
6120
  * If declared, sets the autocomplete attribute for the select element.
6135
6121
  */
@@ -6139,28 +6125,27 @@ class AuroSelect extends AuroElement$1 {
6139
6125
  },
6140
6126
 
6141
6127
  /**
6142
- * If declared, the label and value will be visually hidden and the displayValue will render 100% of the time.
6128
+ * When attribute is present, element shows disabled state.
6143
6129
  */
6144
- forceDisplayValue: {
6130
+ disabled: {
6145
6131
  type: Boolean,
6146
6132
  reflect: true
6147
6133
  },
6148
6134
 
6149
6135
  /**
6150
- * If declared, bib's position will be automatically calculated where to appear.
6151
- * @default false
6136
+ * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
6152
6137
  */
6153
- autoPlacement: {
6154
- type: Boolean,
6138
+ error: {
6139
+ type: String,
6155
6140
  reflect: true
6156
6141
  },
6157
6142
 
6158
6143
  /**
6159
- * When attribute is present, element shows disabled state.
6144
+ * If declared, make the width of the bib match the width of the content, rather than the trigger.
6160
6145
  */
6161
- disabled: {
6146
+ flexMenuWidth: {
6162
6147
  type: Boolean,
6163
- reflect: true
6148
+ reflect: true,
6164
6149
  },
6165
6150
 
6166
6151
  /**
@@ -6171,6 +6156,45 @@ class AuroSelect extends AuroElement$1 {
6171
6156
  reflect: true
6172
6157
  },
6173
6158
 
6159
+ /**
6160
+ * If declared, the label and value will be visually hidden and the displayValue will render 100% of the time.
6161
+ */
6162
+ forceDisplayValue: {
6163
+ type: Boolean,
6164
+ reflect: true
6165
+ },
6166
+
6167
+ /**
6168
+ * Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6169
+ *
6170
+ * When expanded, the dropdown will automatically display in fullscreen mode
6171
+ * if the screen size is equal to or smaller than the selected breakpoint.
6172
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
6173
+ * @default 'sm'
6174
+ */
6175
+ fullscreenBreakpoint: {
6176
+ type: String,
6177
+ reflect: true
6178
+ },
6179
+
6180
+ /**
6181
+ * @private
6182
+ */
6183
+ hasDisplayValueContent: {
6184
+ type: Boolean,
6185
+ reflect: false,
6186
+ attribute: false
6187
+ },
6188
+
6189
+ /**
6190
+ * @private
6191
+ */
6192
+ hasFocus: {
6193
+ type: Boolean,
6194
+ reflect: false,
6195
+ attribute: false
6196
+ },
6197
+
6174
6198
  /**
6175
6199
  * @private
6176
6200
  */
@@ -6180,40 +6204,46 @@ class AuroSelect extends AuroElement$1 {
6180
6204
  },
6181
6205
 
6182
6206
  /**
6183
- * If declared, the popover and trigger will be set to the same width.
6207
+ * If declared, make bib.fullscreen.headline in HeadingDisplay.
6208
+ * Otherwise, Heading 600.
6184
6209
  */
6185
- matchWidth: {
6210
+ largeFullscreenHeadline: {
6186
6211
  type: Boolean,
6187
6212
  reflect: true
6188
6213
  },
6189
6214
 
6190
6215
  /**
6191
- * The name for the select element.
6216
+ * Determines the overall layout of the select component.
6217
+ * @type {'classic' | 'emphasized' | 'snowflake'}
6218
+ * @default 'classic'
6192
6219
  */
6193
- name: {
6220
+ layout: {
6194
6221
  type: String,
6195
6222
  reflect: true
6196
6223
  },
6197
6224
 
6198
6225
  /**
6199
- * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6200
- * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6201
- *
6202
- * When expanded, the dropdown will automatically display in fullscreen mode
6203
- * if the screen size is equal to or smaller than the selected breakpoint.
6204
- * @default sm
6226
+ * If declared, the popover and trigger will be set to the same width.
6205
6227
  */
6206
- fullscreenBreakpoint: {
6207
- type: String,
6228
+ matchWidth: {
6229
+ type: Boolean,
6208
6230
  reflect: true
6209
6231
  },
6210
6232
 
6211
6233
  /**
6212
- * If declared, make bib.fullscreen.headline in HeadingDisplay.
6213
- * Otherwise, Heading 600.
6234
+ * Sets multi-select mode, allowing multiple options to be selected at once.
6214
6235
  */
6215
- largeFullscreenHeadline: {
6236
+ multiSelect: {
6216
6237
  type: Boolean,
6238
+ reflect: true,
6239
+ attribute: 'multiselect'
6240
+ },
6241
+
6242
+ /**
6243
+ * The name for the select element.
6244
+ */
6245
+ name: {
6246
+ type: String,
6217
6247
  reflect: true
6218
6248
  },
6219
6249
 
@@ -6228,22 +6258,12 @@ class AuroSelect extends AuroElement$1 {
6228
6258
  /**
6229
6259
  * If declared, the bib will NOT flip to an alternate position
6230
6260
  * when there isn't enough space in the specified `placement`.
6231
- * @default false
6232
6261
  */
6233
6262
  noFlip: {
6234
6263
  type: Boolean,
6235
6264
  reflect: true
6236
6265
  },
6237
6266
 
6238
- /**
6239
- * If set, the dropdown will shift its position to avoid being cut off by the viewport.
6240
- * @default false
6241
- */
6242
- shift: {
6243
- type: Boolean,
6244
- reflect: true
6245
- },
6246
-
6247
6267
  /**
6248
6268
  * If set, disables auto-validation on blur.
6249
6269
  */
@@ -6262,13 +6282,21 @@ class AuroSelect extends AuroElement$1 {
6262
6282
  },
6263
6283
 
6264
6284
  /**
6265
- * DEPRECATED - use `appearance` instead.
6285
+ * DEPRECATED - use `appearance="inverse"` instead.
6266
6286
  */
6267
6287
  onDark: {
6268
6288
  type: Boolean,
6269
6289
  reflect: true
6270
6290
  },
6271
6291
 
6292
+ /**
6293
+ * @private
6294
+ */
6295
+ options: {
6296
+ type: Array,
6297
+ state: true
6298
+ },
6299
+
6272
6300
  /**
6273
6301
  * Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true.
6274
6302
  * @type {HTMLElement|Array<HTMLElement>}
@@ -6278,23 +6306,19 @@ class AuroSelect extends AuroElement$1 {
6278
6306
  },
6279
6307
 
6280
6308
  /**
6281
- * Position where the bib should appear relative to the trigger.
6282
- * Accepted values:
6283
- * "top" | "right" | "bottom" | "left" |
6284
- * "bottom-start" | "top-start" | "top-end" |
6285
- * "right-start" | "right-end" | "bottom-end" |
6286
- * "left-start" | "left-end".
6287
- * @default bottom-start
6309
+ * Define custom placeholder text.
6288
6310
  */
6289
- placement: {
6311
+ placeholder: {
6290
6312
  type: String,
6291
6313
  reflect: true
6292
6314
  },
6293
6315
 
6294
6316
  /**
6295
- * Define custom placeholder text.
6317
+ * Position where the bib should appear relative to the trigger.
6318
+ * @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
6319
+ * @default 'bottom-start'
6296
6320
  */
6297
- placeholder: {
6321
+ placement: {
6298
6322
  type: String,
6299
6323
  reflect: true
6300
6324
  },
@@ -6307,14 +6331,6 @@ class AuroSelect extends AuroElement$1 {
6307
6331
  reflect: true
6308
6332
  },
6309
6333
 
6310
- /**
6311
- * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
6312
- */
6313
- error: {
6314
- type: String,
6315
- reflect: true
6316
- },
6317
-
6318
6334
  /**
6319
6335
  * Sets a custom help text message to display for all validityStates.
6320
6336
  */
@@ -6337,35 +6353,33 @@ class AuroSelect extends AuroElement$1 {
6337
6353
  },
6338
6354
 
6339
6355
  /**
6340
- * Specifies the `validityState` this element is in.
6356
+ * Determines the shape of the dropdown bib.
6357
+ * @type {'classic' | 'pill' | 'pill-left' | 'pill-right' | 'snowflake'}
6341
6358
  */
6342
- validity: {
6359
+ shape: {
6343
6360
  type: String,
6344
6361
  reflect: true
6345
6362
  },
6346
6363
 
6347
6364
  /**
6348
- * Value selected for the component.
6365
+ * If set, the dropdown will shift its position to avoid being cut off by the viewport.
6349
6366
  */
6350
- value: {
6351
- type: String,
6352
- reflect: true,
6353
- attribute: 'value'
6367
+ shift: {
6368
+ type: Boolean,
6369
+ reflect: true
6354
6370
  },
6355
6371
 
6356
6372
  /**
6357
- * Sets multi-select mode, allowing multiple options to be selected at once.
6373
+ * Determines the size of the dropdown bib. Only the `emphasized` layout supports size=`xl`, while all other layouts support size=`lg`.
6374
+ * @type {'lg' | 'xl'}
6358
6375
  */
6359
- multiSelect: {
6360
- type: Boolean,
6361
- reflect: true,
6362
- attribute: 'multiselect'
6376
+ size: {
6377
+ type: String,
6378
+ reflect: true
6363
6379
  },
6364
6380
 
6365
6381
  /**
6366
6382
  * Indicates whether the input is in a dirty state (has been interacted with).
6367
- * @type {boolean}
6368
- * @default false
6369
6383
  * @private
6370
6384
  */
6371
6385
  touched: {
@@ -6375,29 +6389,20 @@ class AuroSelect extends AuroElement$1 {
6375
6389
  },
6376
6390
 
6377
6391
  /**
6378
- * @private
6379
- */
6380
- hasFocus: {
6381
- type: Boolean,
6382
- reflect: false,
6383
- attribute: false
6384
- },
6385
-
6386
- /**
6387
- * @private
6392
+ * Specifies the `validityState` this element is in.
6388
6393
  */
6389
- hasDisplayValueContent: {
6390
- type: Boolean,
6391
- reflect: false,
6392
- attribute: false
6394
+ validity: {
6395
+ type: String,
6396
+ reflect: true
6393
6397
  },
6394
6398
 
6395
6399
  /**
6396
- * @private
6400
+ * Value selected for the component.
6397
6401
  */
6398
- options: {
6399
- type: Array,
6400
- state: true
6402
+ value: {
6403
+ type: String,
6404
+ reflect: true,
6405
+ attribute: 'value'
6401
6406
  },
6402
6407
  };
6403
6408
  }
@@ -7450,12 +7455,9 @@ function dispatchMenuEvent(element, eventName, detail = null) {
7450
7455
 
7451
7456
 
7452
7457
  /**
7453
- * The auro-menu element provides users a way to define a menu option.
7458
+ * The `auro-menuoption` element provides users a way to define a menu option.
7459
+ * @customElement auro-menuoption
7454
7460
  *
7455
- * @attr {String} value - Specifies the value to be sent to a server.
7456
- * @attr {String} noCheckmark - When true, selected option will not show the checkmark.
7457
- * @attr {Boolean} disabled - When true specifies that the menuoption is disabled.
7458
- * @attr {Boolean} selected - Specifies that an option is selected.
7459
7461
  * @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
7460
7462
  * @slot - Specifies text for an option, but is not the value.
7461
7463
  */
@@ -7463,7 +7465,7 @@ class AuroMenuOption extends AuroElement$1 {
7463
7465
 
7464
7466
  /**
7465
7467
  * This will register this element with the browser.
7466
- * @param {string} [name="auro-menuoption"] - The name of element that you want to register to.
7468
+ * @param {string} [name="auro-menuoption"] - The name of the element that you want to register.
7467
7469
  *
7468
7470
  * @example
7469
7471
  * AuroMenuOption.register("custom-menuoption") // this will register this element to <custom-menuoption/>
@@ -7527,38 +7529,81 @@ class AuroMenuOption extends AuroElement$1 {
7527
7529
  static get properties() {
7528
7530
  return {
7529
7531
  ...super.properties,
7532
+
7533
+ /**
7534
+ * When true, disables the menu option.
7535
+ */
7530
7536
  disabled: {
7531
7537
  type: Boolean,
7532
7538
  reflect: true
7533
7539
  },
7540
+
7541
+ /**
7542
+ * @private
7543
+ */
7534
7544
  event: {
7535
7545
  type: String,
7536
7546
  reflect: true
7537
7547
  },
7548
+
7549
+ /**
7550
+ * @private
7551
+ */
7552
+ layout: {
7553
+ type: String
7554
+ },
7555
+
7556
+ /**
7557
+ * Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
7558
+ */
7538
7559
  key: {
7539
7560
  type: String,
7540
7561
  reflect: true
7541
7562
  },
7563
+
7564
+ /**
7565
+ * @private
7566
+ */
7542
7567
  menuService: {
7543
7568
  type: Object,
7544
7569
  state: true
7545
7570
  },
7571
+
7572
+ /**
7573
+ * @private
7574
+ */
7546
7575
  matchWord: {
7547
7576
  type: String,
7548
7577
  state: true
7549
7578
  },
7579
+
7580
+ /**
7581
+ * @private
7582
+ */
7550
7583
  noCheckmark: {
7551
7584
  type: Boolean,
7552
7585
  reflect: true
7553
7586
  },
7587
+
7588
+ /**
7589
+ * Specifies that an option is selected.
7590
+ */
7554
7591
  selected: {
7555
7592
  type: Boolean,
7556
7593
  reflect: true
7557
7594
  },
7595
+
7596
+ /**
7597
+ * Specifies the tab index of the menu option.
7598
+ */
7558
7599
  tabIndex: {
7559
7600
  type: Number,
7560
7601
  reflect: true
7561
7602
  },
7603
+
7604
+ /**
7605
+ * Specifies the value to be sent to a server.
7606
+ */
7562
7607
  value: {
7563
7608
  type: String,
7564
7609
  reflect: true
@@ -8509,19 +8554,9 @@ const MenuContext = n('menu-context');
8509
8554
 
8510
8555
 
8511
8556
  /**
8512
- * The auro-menu element provides users a way to select from a list of options.
8513
- * @attr {HTMLElement|Array<HTMLElement>} optionSelected - An array of currently selected menu options, type `HTMLElement` by default. In multi-select mode, `optionSelected` is an array of HTML elements.
8514
- * @attr {object} optionactive - Specifies the current active menuOption.
8515
- * @attr {string} matchword - Specifies a string used to highlight matched string parts in options.
8516
- * @attr {boolean} disabled - When true, the entire menu and all options are disabled;
8517
- * @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
8518
- * @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
8519
- * @attr {boolean} multiselect - When true, the selected option can be multiple options.
8520
- * @attr {boolean} selectAllMatchingOptions - When true, selects all options that match the provided value/key when setting value and multiselect is enabled.
8521
- * @attr {string} value - The value of the selected option. In multi-select mode, this is a JSON stringified array of selected option values.
8522
- * @prop {string} size - Sets the size of the menu. Accepted values are 'sm' and 'md'. Default is 'sm'.
8523
- * @prop {string} shape - Sets the shape of the menu options. Accepted values are 'box' and 'round'. Default is 'box'.
8524
- * @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
8557
+ * The `auro-menu` element provides users a way to select from a list of options.
8558
+ * @customElement auro-menu
8559
+ *
8525
8560
  * @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
8526
8561
  * @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
8527
8562
  * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
@@ -8612,58 +8647,87 @@ class AuroMenu extends AuroElement$1 {
8612
8647
  type: Boolean,
8613
8648
  reflect: true,
8614
8649
  },
8615
- noCheckmark: {
8616
- type: Boolean,
8617
- reflect: true,
8618
- attribute: 'nocheckmark'
8619
- },
8650
+
8651
+ /**
8652
+ * When true, the entire menu and all options are disabled.
8653
+ */
8620
8654
  disabled: {
8621
8655
  type: Boolean,
8622
8656
  reflect: true
8623
8657
  },
8658
+
8659
+ /**
8660
+ * Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
8661
+ */
8662
+ hasLoadingPlaceholder: {
8663
+ type: Boolean
8664
+ },
8665
+
8666
+ /**
8667
+ * @private
8668
+ */
8669
+ layout: {
8670
+ type: String
8671
+ },
8672
+
8673
+ /**
8674
+ * Indent level for submenus.
8675
+ * @private
8676
+ */
8677
+ level: {
8678
+ type: Number,
8679
+ reflect: false,
8680
+ attribute: false
8681
+ },
8682
+
8683
+ /**
8684
+ * When true, displays a loading state using the loadingIcon and loadingText slots if provided.
8685
+ */
8624
8686
  loading: {
8625
8687
  type: Boolean,
8626
8688
  reflect: true
8627
8689
  },
8628
- optionSelected: {
8629
- // Allow HTMLElement, HTMLElement[] arrays and undefined
8630
- type: Object
8631
- },
8632
- optionActive: {
8633
- type: Object,
8634
- attribute: 'optionactive'
8635
- },
8690
+
8691
+ /**
8692
+ * Specifies a string used to highlight matched string parts in options.
8693
+ */
8636
8694
  matchWord: {
8637
8695
  type: String,
8638
8696
  attribute: 'matchword'
8639
8697
  },
8698
+
8699
+ /**
8700
+ * When true, the selected option can be multiple options.
8701
+ */
8640
8702
  multiSelect: {
8641
8703
  type: Boolean,
8642
8704
  reflect: true,
8643
8705
  attribute: 'multiselect'
8644
8706
  },
8645
- selectAllMatchingOptions: {
8707
+
8708
+ /**
8709
+ * When true, selected option will not show the checkmark.
8710
+ */
8711
+ noCheckmark: {
8646
8712
  type: Boolean,
8647
8713
  reflect: true,
8714
+ attribute: 'nocheckmark'
8648
8715
  },
8649
8716
 
8650
8717
  /**
8651
- * Value selected for the component.
8718
+ * Specifies the current active menuOption.
8652
8719
  */
8653
- value: {
8654
- type: String,
8655
- reflect: true,
8656
- attribute: 'value'
8720
+ optionActive: {
8721
+ type: Object,
8722
+ attribute: 'optionactive'
8657
8723
  },
8658
8724
 
8659
8725
  /**
8660
- * Indent level for submenus.
8661
- * @private
8726
+ * An array of currently selected menu options, type `HTMLElement` by default. In multi-select mode, `optionSelected` is an array of HTML elements.
8662
8727
  */
8663
- level: {
8664
- type: Number,
8665
- reflect: false,
8666
- attribute: false
8728
+ optionSelected: {
8729
+ // Allow HTMLElement, HTMLElement[] arrays and undefined
8730
+ type: Object
8667
8731
  },
8668
8732
 
8669
8733
  /**
@@ -8674,6 +8738,43 @@ class AuroMenu extends AuroElement$1 {
8674
8738
  type: Array,
8675
8739
  reflect: false,
8676
8740
  attribute: false
8741
+ },
8742
+
8743
+ /**
8744
+ * Sets the size of the menu.
8745
+ * @type {'sm' | 'md'}
8746
+ * @default 'sm'
8747
+ */
8748
+ size: {
8749
+ type: String,
8750
+ reflect: true
8751
+ },
8752
+
8753
+ /**
8754
+ * When true, selects all options that match the provided value/key when setting value and multiselect is enabled.
8755
+ */
8756
+ selectAllMatchingOptions: {
8757
+ type: Boolean,
8758
+ reflect: true,
8759
+ },
8760
+
8761
+ /**
8762
+ * Sets the shape of the menu.
8763
+ * @type {'box' | 'round'}
8764
+ * @default 'box'
8765
+ */
8766
+ shape: {
8767
+ type: String,
8768
+ reflect: true
8769
+ },
8770
+
8771
+ /**
8772
+ * The value of the selected option. In multi-select mode, this is a JSON stringified array of selected option values.
8773
+ */
8774
+ value: {
8775
+ type: String,
8776
+ reflect: true,
8777
+ attribute: 'value'
8677
8778
  }
8678
8779
  };
8679
8780
  }
@@ -8719,7 +8820,7 @@ class AuroMenu extends AuroElement$1 {
8719
8820
 
8720
8821
  /**
8721
8822
  * This will register this element with the browser.
8722
- * @param {string} [name="auro-menu"] - The name of element that you want to register to.
8823
+ * @param {string} [name="auro-menu"] - The name of the element that you want to register.
8723
8824
  *
8724
8825
  * @example
8725
8826
  * AuroMenu.register("custom-menu") // this will register this element to <custom-menu/>
@@ -9142,7 +9243,7 @@ function initExamples(initCount) {
9142
9243
  valueAlertExample();
9143
9244
  inDialogExample();
9144
9245
  resetStateExample();
9145
- auroMenuLoadingExample();
9246
+ // auroMenuLoadingExample();
9146
9247
  } catch (err) {
9147
9248
  if (initCount <= 20) {
9148
9249
  // setTimeout handles issue where content is sometimes loaded after the functions get called