@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
@@ -4260,7 +4260,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
4260
4260
  }
4261
4261
  };
4262
4262
 
4263
- var formkitVersion$1 = '202512120003';
4263
+ var formkitVersion$1 = '202601271813';
4264
4264
 
4265
4265
  class AuroElement extends i$3 {
4266
4266
  static get properties() {
@@ -4366,12 +4366,14 @@ class AuroElement extends i$3 {
4366
4366
  }
4367
4367
  }
4368
4368
 
4369
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4369
+ // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4370
4370
  // See LICENSE in the project root for license information.
4371
4371
 
4372
4372
 
4373
-
4374
- /*
4373
+ /**
4374
+ * The `auro-dropdown` element provides a way to place content in a bib that can be toggled.
4375
+ * @customElement auro-dropdown
4376
+ *
4375
4377
  * @slot - Default slot for the popover content.
4376
4378
  * @slot helpText - Defines the content of the helpText.
4377
4379
  * @slot trigger - Defines the content of the trigger.
@@ -4407,7 +4409,7 @@ class AuroDropdown extends AuroElement {
4407
4409
  /** @private */
4408
4410
  this.bibElement = e$1();
4409
4411
 
4410
- this.privateDefaults();
4412
+ this._intializeDefaults();
4411
4413
  }
4412
4414
 
4413
4415
  /**
@@ -4428,7 +4430,7 @@ class AuroDropdown extends AuroElement {
4428
4430
  * @private
4429
4431
  * @returns {void} Internal defaults.
4430
4432
  */
4431
- privateDefaults() {
4433
+ _intializeDefaults() {
4432
4434
  this.appearance = 'default';
4433
4435
  this.chevron = false;
4434
4436
  this.disabled = false;
@@ -4549,9 +4551,18 @@ class AuroDropdown extends AuroElement {
4549
4551
  static get properties() {
4550
4552
  return {
4551
4553
 
4554
+ /**
4555
+ * The value for the role attribute of the trigger element.
4556
+ */
4557
+ a11yRole: {
4558
+ type: String || undefined,
4559
+ attribute: false,
4560
+ reflect: false
4561
+ },
4562
+
4552
4563
  /**
4553
4564
  * Defines whether the component will be on lighter or darker backgrounds.
4554
- * @property {'default', 'inverse'}
4565
+ * @type {'default' | 'inverse'}
4555
4566
  * @default 'default'
4556
4567
  */
4557
4568
  appearance: {
@@ -4561,7 +4572,6 @@ class AuroDropdown extends AuroElement {
4561
4572
 
4562
4573
  /**
4563
4574
  * If declared, bib's position will be automatically calculated where to appear.
4564
- * @default false
4565
4575
  */
4566
4576
  autoPlacement: {
4567
4577
  type: Boolean,
@@ -4570,7 +4580,6 @@ class AuroDropdown extends AuroElement {
4570
4580
 
4571
4581
  /**
4572
4582
  * If declared, the dropdown will only show by calling the API .show() public method.
4573
- * @default false
4574
4583
  */
4575
4584
  disableEventShow: {
4576
4585
  type: Boolean,
@@ -4587,11 +4596,11 @@ class AuroDropdown extends AuroElement {
4587
4596
 
4588
4597
  /**
4589
4598
  * If declared, the dropdown displays a chevron on the right.
4590
- * @attr {Boolean} chevron
4591
4599
  */
4592
4600
  chevron: {
4593
4601
  type: Boolean,
4594
- reflect: true
4602
+ reflect: true,
4603
+ attribute: 'chevron'
4595
4604
  },
4596
4605
 
4597
4606
  /**
@@ -4628,7 +4637,7 @@ class AuroDropdown extends AuroElement {
4628
4637
  },
4629
4638
 
4630
4639
  /**
4631
- * If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both.
4640
+ * If declared, will apply error UI to the dropdown.
4632
4641
  */
4633
4642
  error: {
4634
4643
  type: Boolean,
@@ -4683,18 +4692,28 @@ class AuroDropdown extends AuroElement {
4683
4692
  },
4684
4693
 
4685
4694
  /**
4686
- * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4687
- * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4695
+ * Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4688
4696
  *
4689
4697
  * When expanded, the dropdown will automatically display in fullscreen mode
4690
4698
  * if the screen size is equal to or smaller than the selected breakpoint.
4691
- * @default sm
4699
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
4700
+ * @default 'sm'
4692
4701
  */
4693
4702
  fullscreenBreakpoint: {
4694
4703
  type: String,
4695
4704
  reflect: true
4696
4705
  },
4697
4706
 
4707
+ /**
4708
+ * Sets the layout of the dropdown.
4709
+ * @type {'classic' | 'emphasized' | 'snowflake'}
4710
+ * @default 'classic'
4711
+ */
4712
+ layout: {
4713
+ type: String,
4714
+ reflect: true
4715
+ },
4716
+
4698
4717
  /**
4699
4718
  * Defines if the trigger should size based on the parent element providing the border UI.
4700
4719
  * @private
@@ -4715,7 +4734,6 @@ class AuroDropdown extends AuroElement {
4715
4734
  /**
4716
4735
  * If declared, the bib will NOT flip to an alternate position
4717
4736
  * when there isn't enough space in the specified `placement`.
4718
- * @default false
4719
4737
  */
4720
4738
  noFlip: {
4721
4739
  type: Boolean,
@@ -4724,7 +4742,6 @@ class AuroDropdown extends AuroElement {
4724
4742
 
4725
4743
  /**
4726
4744
  * If declared, the dropdown will shift its position to avoid being cut off by the viewport.
4727
- * @default false
4728
4745
  */
4729
4746
  shift: {
4730
4747
  type: Boolean,
@@ -4757,7 +4774,7 @@ class AuroDropdown extends AuroElement {
4757
4774
  },
4758
4775
 
4759
4776
  /**
4760
- * DEPRECATED - use `appearance` instead.
4777
+ * DEPRECATED - use `appearance="inverse"` instead.
4761
4778
  */
4762
4779
  onDark: {
4763
4780
  type: Boolean,
@@ -4774,7 +4791,8 @@ class AuroDropdown extends AuroElement {
4774
4791
 
4775
4792
  /**
4776
4793
  * Position where the bib should appear relative to the trigger.
4777
- * @default bottom-start
4794
+ * @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
4795
+ * @default 'bottom-start'
4778
4796
  */
4779
4797
  placement: {
4780
4798
  type: String,
@@ -4786,15 +4804,6 @@ class AuroDropdown extends AuroElement {
4786
4804
  */
4787
4805
  tabIndex: {
4788
4806
  type: Number
4789
- },
4790
-
4791
- /**
4792
- * The value for the role attribute of the trigger element.
4793
- */
4794
- a11yRole: {
4795
- type: String || undefined,
4796
- attribute: false,
4797
- reflect: false
4798
4807
  }
4799
4808
  };
4800
4809
  }
@@ -4821,7 +4830,7 @@ class AuroDropdown extends AuroElement {
4821
4830
 
4822
4831
  /**
4823
4832
  * This will register this element with the browser.
4824
- * @param {string} [name="auro-dropdown"] - The name of element that you want to register to.
4833
+ * @param {string} [name="auro-dropdown"] - The name of the element that you want to register.
4825
4834
  *
4826
4835
  * @example
4827
4836
  * AuroDropdown.register("custom-dropdown") // this will register this element to <custom-dropdown/>
@@ -5898,19 +5907,20 @@ class AuroHelpText extends i$3 {
5898
5907
  }
5899
5908
  }
5900
5909
 
5901
- var formkitVersion = '202512120003';
5910
+ var formkitVersion = '202601271813';
5902
5911
 
5903
5912
  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}`;
5904
5913
 
5905
5914
  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))}`;
5906
5915
 
5907
- // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5916
+ // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5908
5917
  // See LICENSE in the project root for license information.
5909
5918
 
5910
5919
 
5911
5920
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
5912
5921
  /**
5913
- * The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
5922
+ * The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
5923
+ * @customElement auro-select
5914
5924
  *
5915
5925
  * @slot - Default slot for the menu content.
5916
5926
  * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
@@ -5923,10 +5933,9 @@ var emphasizedColorCss = i$6`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
5923
5933
  * @event auroSelect-valueSet - Notifies that the component has a new value set.
5924
5934
  * @event input - Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object.
5925
5935
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
5926
- *
5927
5936
  * @csspart dropdownTrigger - Apply CSS to the trigger content container.
5928
5937
  * @csspart dropdownChevron - Apply CSS to the collapsed/expanded state icon container.
5929
- * @csspart dropdownSize - Apply size styles to the dropdown bib. (height, width, maxHeight, maxWidth only)
5938
+ * @csspart dropdownSize - Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only).
5930
5939
  * @csspart helpText - Apply CSS to the help text.
5931
5940
  */
5932
5941
 
@@ -5935,7 +5944,7 @@ class AuroSelect extends AuroElement$1 {
5935
5944
  constructor() {
5936
5945
  super();
5937
5946
 
5938
- this.privateDefaults();
5947
+ this._initializeDefaults();
5939
5948
 
5940
5949
  const idLength = 36;
5941
5950
  const idSubstrEnd = 8;
@@ -6009,7 +6018,7 @@ class AuroSelect extends AuroElement$1 {
6009
6018
  * @private
6010
6019
  * @returns {void} Internal defaults.
6011
6020
  */
6012
- privateDefaults() {
6021
+ _initializeDefaults() {
6013
6022
  this.appearance = 'default';
6014
6023
  this.value = undefined;
6015
6024
  this.fullscreenBreakpoint = 'sm';
@@ -6030,7 +6039,7 @@ class AuroSelect extends AuroElement$1 {
6030
6039
 
6031
6040
  /**
6032
6041
  * Defines whether the component will be on lighter or darker backgrounds.
6033
- * @property {'default', 'inverse'}
6042
+ * @type {'default' | 'inverse'}
6034
6043
  * @default 'default'
6035
6044
  */
6036
6045
  appearance: {
@@ -6038,6 +6047,14 @@ class AuroSelect extends AuroElement$1 {
6038
6047
  reflect: true
6039
6048
  },
6040
6049
 
6050
+ /**
6051
+ * If declared, bib's position will be automatically calculated where to appear.
6052
+ */
6053
+ autoPlacement: {
6054
+ type: Boolean,
6055
+ reflect: true
6056
+ },
6057
+
6041
6058
  /**
6042
6059
  * If declared, sets the autocomplete attribute for the select element.
6043
6060
  */
@@ -6047,28 +6064,27 @@ class AuroSelect extends AuroElement$1 {
6047
6064
  },
6048
6065
 
6049
6066
  /**
6050
- * If declared, the label and value will be visually hidden and the displayValue will render 100% of the time.
6067
+ * When attribute is present, element shows disabled state.
6051
6068
  */
6052
- forceDisplayValue: {
6069
+ disabled: {
6053
6070
  type: Boolean,
6054
6071
  reflect: true
6055
6072
  },
6056
6073
 
6057
6074
  /**
6058
- * If declared, bib's position will be automatically calculated where to appear.
6059
- * @default false
6075
+ * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
6060
6076
  */
6061
- autoPlacement: {
6062
- type: Boolean,
6077
+ error: {
6078
+ type: String,
6063
6079
  reflect: true
6064
6080
  },
6065
6081
 
6066
6082
  /**
6067
- * When attribute is present, element shows disabled state.
6083
+ * If declared, make the width of the bib match the width of the content, rather than the trigger.
6068
6084
  */
6069
- disabled: {
6085
+ flexMenuWidth: {
6070
6086
  type: Boolean,
6071
- reflect: true
6087
+ reflect: true,
6072
6088
  },
6073
6089
 
6074
6090
  /**
@@ -6079,6 +6095,45 @@ class AuroSelect extends AuroElement$1 {
6079
6095
  reflect: true
6080
6096
  },
6081
6097
 
6098
+ /**
6099
+ * If declared, the label and value will be visually hidden and the displayValue will render 100% of the time.
6100
+ */
6101
+ forceDisplayValue: {
6102
+ type: Boolean,
6103
+ reflect: true
6104
+ },
6105
+
6106
+ /**
6107
+ * Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6108
+ *
6109
+ * When expanded, the dropdown will automatically display in fullscreen mode
6110
+ * if the screen size is equal to or smaller than the selected breakpoint.
6111
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
6112
+ * @default 'sm'
6113
+ */
6114
+ fullscreenBreakpoint: {
6115
+ type: String,
6116
+ reflect: true
6117
+ },
6118
+
6119
+ /**
6120
+ * @private
6121
+ */
6122
+ hasDisplayValueContent: {
6123
+ type: Boolean,
6124
+ reflect: false,
6125
+ attribute: false
6126
+ },
6127
+
6128
+ /**
6129
+ * @private
6130
+ */
6131
+ hasFocus: {
6132
+ type: Boolean,
6133
+ reflect: false,
6134
+ attribute: false
6135
+ },
6136
+
6082
6137
  /**
6083
6138
  * @private
6084
6139
  */
@@ -6088,40 +6143,46 @@ class AuroSelect extends AuroElement$1 {
6088
6143
  },
6089
6144
 
6090
6145
  /**
6091
- * If declared, the popover and trigger will be set to the same width.
6146
+ * If declared, make bib.fullscreen.headline in HeadingDisplay.
6147
+ * Otherwise, Heading 600.
6092
6148
  */
6093
- matchWidth: {
6149
+ largeFullscreenHeadline: {
6094
6150
  type: Boolean,
6095
6151
  reflect: true
6096
6152
  },
6097
6153
 
6098
6154
  /**
6099
- * The name for the select element.
6155
+ * Determines the overall layout of the select component.
6156
+ * @type {'classic' | 'emphasized' | 'snowflake'}
6157
+ * @default 'classic'
6100
6158
  */
6101
- name: {
6159
+ layout: {
6102
6160
  type: String,
6103
6161
  reflect: true
6104
6162
  },
6105
6163
 
6106
6164
  /**
6107
- * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6108
- * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6109
- *
6110
- * When expanded, the dropdown will automatically display in fullscreen mode
6111
- * if the screen size is equal to or smaller than the selected breakpoint.
6112
- * @default sm
6165
+ * If declared, the popover and trigger will be set to the same width.
6113
6166
  */
6114
- fullscreenBreakpoint: {
6115
- type: String,
6167
+ matchWidth: {
6168
+ type: Boolean,
6116
6169
  reflect: true
6117
6170
  },
6118
6171
 
6119
6172
  /**
6120
- * If declared, make bib.fullscreen.headline in HeadingDisplay.
6121
- * Otherwise, Heading 600.
6173
+ * Sets multi-select mode, allowing multiple options to be selected at once.
6122
6174
  */
6123
- largeFullscreenHeadline: {
6175
+ multiSelect: {
6124
6176
  type: Boolean,
6177
+ reflect: true,
6178
+ attribute: 'multiselect'
6179
+ },
6180
+
6181
+ /**
6182
+ * The name for the select element.
6183
+ */
6184
+ name: {
6185
+ type: String,
6125
6186
  reflect: true
6126
6187
  },
6127
6188
 
@@ -6136,22 +6197,12 @@ class AuroSelect extends AuroElement$1 {
6136
6197
  /**
6137
6198
  * If declared, the bib will NOT flip to an alternate position
6138
6199
  * when there isn't enough space in the specified `placement`.
6139
- * @default false
6140
6200
  */
6141
6201
  noFlip: {
6142
6202
  type: Boolean,
6143
6203
  reflect: true
6144
6204
  },
6145
6205
 
6146
- /**
6147
- * If set, the dropdown will shift its position to avoid being cut off by the viewport.
6148
- * @default false
6149
- */
6150
- shift: {
6151
- type: Boolean,
6152
- reflect: true
6153
- },
6154
-
6155
6206
  /**
6156
6207
  * If set, disables auto-validation on blur.
6157
6208
  */
@@ -6170,13 +6221,21 @@ class AuroSelect extends AuroElement$1 {
6170
6221
  },
6171
6222
 
6172
6223
  /**
6173
- * DEPRECATED - use `appearance` instead.
6224
+ * DEPRECATED - use `appearance="inverse"` instead.
6174
6225
  */
6175
6226
  onDark: {
6176
6227
  type: Boolean,
6177
6228
  reflect: true
6178
6229
  },
6179
6230
 
6231
+ /**
6232
+ * @private
6233
+ */
6234
+ options: {
6235
+ type: Array,
6236
+ state: true
6237
+ },
6238
+
6180
6239
  /**
6181
6240
  * Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true.
6182
6241
  * @type {HTMLElement|Array<HTMLElement>}
@@ -6186,23 +6245,19 @@ class AuroSelect extends AuroElement$1 {
6186
6245
  },
6187
6246
 
6188
6247
  /**
6189
- * Position where the bib should appear relative to the trigger.
6190
- * Accepted values:
6191
- * "top" | "right" | "bottom" | "left" |
6192
- * "bottom-start" | "top-start" | "top-end" |
6193
- * "right-start" | "right-end" | "bottom-end" |
6194
- * "left-start" | "left-end".
6195
- * @default bottom-start
6248
+ * Define custom placeholder text.
6196
6249
  */
6197
- placement: {
6250
+ placeholder: {
6198
6251
  type: String,
6199
6252
  reflect: true
6200
6253
  },
6201
6254
 
6202
6255
  /**
6203
- * Define custom placeholder text.
6256
+ * Position where the bib should appear relative to the trigger.
6257
+ * @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
6258
+ * @default 'bottom-start'
6204
6259
  */
6205
- placeholder: {
6260
+ placement: {
6206
6261
  type: String,
6207
6262
  reflect: true
6208
6263
  },
@@ -6215,14 +6270,6 @@ class AuroSelect extends AuroElement$1 {
6215
6270
  reflect: true
6216
6271
  },
6217
6272
 
6218
- /**
6219
- * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
6220
- */
6221
- error: {
6222
- type: String,
6223
- reflect: true
6224
- },
6225
-
6226
6273
  /**
6227
6274
  * Sets a custom help text message to display for all validityStates.
6228
6275
  */
@@ -6245,35 +6292,33 @@ class AuroSelect extends AuroElement$1 {
6245
6292
  },
6246
6293
 
6247
6294
  /**
6248
- * Specifies the `validityState` this element is in.
6295
+ * Determines the shape of the dropdown bib.
6296
+ * @type {'classic' | 'pill' | 'pill-left' | 'pill-right' | 'snowflake'}
6249
6297
  */
6250
- validity: {
6298
+ shape: {
6251
6299
  type: String,
6252
6300
  reflect: true
6253
6301
  },
6254
6302
 
6255
6303
  /**
6256
- * Value selected for the component.
6304
+ * If set, the dropdown will shift its position to avoid being cut off by the viewport.
6257
6305
  */
6258
- value: {
6259
- type: String,
6260
- reflect: true,
6261
- attribute: 'value'
6306
+ shift: {
6307
+ type: Boolean,
6308
+ reflect: true
6262
6309
  },
6263
6310
 
6264
6311
  /**
6265
- * Sets multi-select mode, allowing multiple options to be selected at once.
6312
+ * Determines the size of the dropdown bib. Only the `emphasized` layout supports size=`xl`, while all other layouts support size=`lg`.
6313
+ * @type {'lg' | 'xl'}
6266
6314
  */
6267
- multiSelect: {
6268
- type: Boolean,
6269
- reflect: true,
6270
- attribute: 'multiselect'
6315
+ size: {
6316
+ type: String,
6317
+ reflect: true
6271
6318
  },
6272
6319
 
6273
6320
  /**
6274
6321
  * Indicates whether the input is in a dirty state (has been interacted with).
6275
- * @type {boolean}
6276
- * @default false
6277
6322
  * @private
6278
6323
  */
6279
6324
  touched: {
@@ -6283,29 +6328,20 @@ class AuroSelect extends AuroElement$1 {
6283
6328
  },
6284
6329
 
6285
6330
  /**
6286
- * @private
6287
- */
6288
- hasFocus: {
6289
- type: Boolean,
6290
- reflect: false,
6291
- attribute: false
6292
- },
6293
-
6294
- /**
6295
- * @private
6331
+ * Specifies the `validityState` this element is in.
6296
6332
  */
6297
- hasDisplayValueContent: {
6298
- type: Boolean,
6299
- reflect: false,
6300
- attribute: false
6333
+ validity: {
6334
+ type: String,
6335
+ reflect: true
6301
6336
  },
6302
6337
 
6303
6338
  /**
6304
- * @private
6339
+ * Value selected for the component.
6305
6340
  */
6306
- options: {
6307
- type: Array,
6308
- state: true
6341
+ value: {
6342
+ type: String,
6343
+ reflect: true,
6344
+ attribute: 'value'
6309
6345
  },
6310
6346
  };
6311
6347
  }
@@ -7358,12 +7394,9 @@ function dispatchMenuEvent(element, eventName, detail = null) {
7358
7394
 
7359
7395
 
7360
7396
  /**
7361
- * The auro-menu element provides users a way to define a menu option.
7397
+ * The `auro-menuoption` element provides users a way to define a menu option.
7398
+ * @customElement auro-menuoption
7362
7399
  *
7363
- * @attr {String} value - Specifies the value to be sent to a server.
7364
- * @attr {String} noCheckmark - When true, selected option will not show the checkmark.
7365
- * @attr {Boolean} disabled - When true specifies that the menuoption is disabled.
7366
- * @attr {Boolean} selected - Specifies that an option is selected.
7367
7400
  * @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
7368
7401
  * @slot - Specifies text for an option, but is not the value.
7369
7402
  */
@@ -7371,7 +7404,7 @@ class AuroMenuOption extends AuroElement$1 {
7371
7404
 
7372
7405
  /**
7373
7406
  * This will register this element with the browser.
7374
- * @param {string} [name="auro-menuoption"] - The name of element that you want to register to.
7407
+ * @param {string} [name="auro-menuoption"] - The name of the element that you want to register.
7375
7408
  *
7376
7409
  * @example
7377
7410
  * AuroMenuOption.register("custom-menuoption") // this will register this element to <custom-menuoption/>
@@ -7435,38 +7468,81 @@ class AuroMenuOption extends AuroElement$1 {
7435
7468
  static get properties() {
7436
7469
  return {
7437
7470
  ...super.properties,
7471
+
7472
+ /**
7473
+ * When true, disables the menu option.
7474
+ */
7438
7475
  disabled: {
7439
7476
  type: Boolean,
7440
7477
  reflect: true
7441
7478
  },
7479
+
7480
+ /**
7481
+ * @private
7482
+ */
7442
7483
  event: {
7443
7484
  type: String,
7444
7485
  reflect: true
7445
7486
  },
7487
+
7488
+ /**
7489
+ * @private
7490
+ */
7491
+ layout: {
7492
+ type: String
7493
+ },
7494
+
7495
+ /**
7496
+ * 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.
7497
+ */
7446
7498
  key: {
7447
7499
  type: String,
7448
7500
  reflect: true
7449
7501
  },
7502
+
7503
+ /**
7504
+ * @private
7505
+ */
7450
7506
  menuService: {
7451
7507
  type: Object,
7452
7508
  state: true
7453
7509
  },
7510
+
7511
+ /**
7512
+ * @private
7513
+ */
7454
7514
  matchWord: {
7455
7515
  type: String,
7456
7516
  state: true
7457
7517
  },
7518
+
7519
+ /**
7520
+ * @private
7521
+ */
7458
7522
  noCheckmark: {
7459
7523
  type: Boolean,
7460
7524
  reflect: true
7461
7525
  },
7526
+
7527
+ /**
7528
+ * Specifies that an option is selected.
7529
+ */
7462
7530
  selected: {
7463
7531
  type: Boolean,
7464
7532
  reflect: true
7465
7533
  },
7534
+
7535
+ /**
7536
+ * Specifies the tab index of the menu option.
7537
+ */
7466
7538
  tabIndex: {
7467
7539
  type: Number,
7468
7540
  reflect: true
7469
7541
  },
7542
+
7543
+ /**
7544
+ * Specifies the value to be sent to a server.
7545
+ */
7470
7546
  value: {
7471
7547
  type: String,
7472
7548
  reflect: true
@@ -8417,19 +8493,9 @@ const MenuContext = n('menu-context');
8417
8493
 
8418
8494
 
8419
8495
  /**
8420
- * The auro-menu element provides users a way to select from a list of options.
8421
- * @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.
8422
- * @attr {object} optionactive - Specifies the current active menuOption.
8423
- * @attr {string} matchword - Specifies a string used to highlight matched string parts in options.
8424
- * @attr {boolean} disabled - When true, the entire menu and all options are disabled;
8425
- * @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
8426
- * @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
8427
- * @attr {boolean} multiselect - When true, the selected option can be multiple options.
8428
- * @attr {boolean} selectAllMatchingOptions - When true, selects all options that match the provided value/key when setting value and multiselect is enabled.
8429
- * @attr {string} value - The value of the selected option. In multi-select mode, this is a JSON stringified array of selected option values.
8430
- * @prop {string} size - Sets the size of the menu. Accepted values are 'sm' and 'md'. Default is 'sm'.
8431
- * @prop {string} shape - Sets the shape of the menu options. Accepted values are 'box' and 'round'. Default is 'box'.
8432
- * @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
8496
+ * The `auro-menu` element provides users a way to select from a list of options.
8497
+ * @customElement auro-menu
8498
+ *
8433
8499
  * @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
8434
8500
  * @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
8435
8501
  * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
@@ -8520,58 +8586,87 @@ class AuroMenu extends AuroElement$1 {
8520
8586
  type: Boolean,
8521
8587
  reflect: true,
8522
8588
  },
8523
- noCheckmark: {
8524
- type: Boolean,
8525
- reflect: true,
8526
- attribute: 'nocheckmark'
8527
- },
8589
+
8590
+ /**
8591
+ * When true, the entire menu and all options are disabled.
8592
+ */
8528
8593
  disabled: {
8529
8594
  type: Boolean,
8530
8595
  reflect: true
8531
8596
  },
8597
+
8598
+ /**
8599
+ * Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
8600
+ */
8601
+ hasLoadingPlaceholder: {
8602
+ type: Boolean
8603
+ },
8604
+
8605
+ /**
8606
+ * @private
8607
+ */
8608
+ layout: {
8609
+ type: String
8610
+ },
8611
+
8612
+ /**
8613
+ * Indent level for submenus.
8614
+ * @private
8615
+ */
8616
+ level: {
8617
+ type: Number,
8618
+ reflect: false,
8619
+ attribute: false
8620
+ },
8621
+
8622
+ /**
8623
+ * When true, displays a loading state using the loadingIcon and loadingText slots if provided.
8624
+ */
8532
8625
  loading: {
8533
8626
  type: Boolean,
8534
8627
  reflect: true
8535
8628
  },
8536
- optionSelected: {
8537
- // Allow HTMLElement, HTMLElement[] arrays and undefined
8538
- type: Object
8539
- },
8540
- optionActive: {
8541
- type: Object,
8542
- attribute: 'optionactive'
8543
- },
8629
+
8630
+ /**
8631
+ * Specifies a string used to highlight matched string parts in options.
8632
+ */
8544
8633
  matchWord: {
8545
8634
  type: String,
8546
8635
  attribute: 'matchword'
8547
8636
  },
8637
+
8638
+ /**
8639
+ * When true, the selected option can be multiple options.
8640
+ */
8548
8641
  multiSelect: {
8549
8642
  type: Boolean,
8550
8643
  reflect: true,
8551
8644
  attribute: 'multiselect'
8552
8645
  },
8553
- selectAllMatchingOptions: {
8646
+
8647
+ /**
8648
+ * When true, selected option will not show the checkmark.
8649
+ */
8650
+ noCheckmark: {
8554
8651
  type: Boolean,
8555
8652
  reflect: true,
8653
+ attribute: 'nocheckmark'
8556
8654
  },
8557
8655
 
8558
8656
  /**
8559
- * Value selected for the component.
8657
+ * Specifies the current active menuOption.
8560
8658
  */
8561
- value: {
8562
- type: String,
8563
- reflect: true,
8564
- attribute: 'value'
8659
+ optionActive: {
8660
+ type: Object,
8661
+ attribute: 'optionactive'
8565
8662
  },
8566
8663
 
8567
8664
  /**
8568
- * Indent level for submenus.
8569
- * @private
8665
+ * An array of currently selected menu options, type `HTMLElement` by default. In multi-select mode, `optionSelected` is an array of HTML elements.
8570
8666
  */
8571
- level: {
8572
- type: Number,
8573
- reflect: false,
8574
- attribute: false
8667
+ optionSelected: {
8668
+ // Allow HTMLElement, HTMLElement[] arrays and undefined
8669
+ type: Object
8575
8670
  },
8576
8671
 
8577
8672
  /**
@@ -8582,6 +8677,43 @@ class AuroMenu extends AuroElement$1 {
8582
8677
  type: Array,
8583
8678
  reflect: false,
8584
8679
  attribute: false
8680
+ },
8681
+
8682
+ /**
8683
+ * Sets the size of the menu.
8684
+ * @type {'sm' | 'md'}
8685
+ * @default 'sm'
8686
+ */
8687
+ size: {
8688
+ type: String,
8689
+ reflect: true
8690
+ },
8691
+
8692
+ /**
8693
+ * When true, selects all options that match the provided value/key when setting value and multiselect is enabled.
8694
+ */
8695
+ selectAllMatchingOptions: {
8696
+ type: Boolean,
8697
+ reflect: true,
8698
+ },
8699
+
8700
+ /**
8701
+ * Sets the shape of the menu.
8702
+ * @type {'box' | 'round'}
8703
+ * @default 'box'
8704
+ */
8705
+ shape: {
8706
+ type: String,
8707
+ reflect: true
8708
+ },
8709
+
8710
+ /**
8711
+ * The value of the selected option. In multi-select mode, this is a JSON stringified array of selected option values.
8712
+ */
8713
+ value: {
8714
+ type: String,
8715
+ reflect: true,
8716
+ attribute: 'value'
8585
8717
  }
8586
8718
  };
8587
8719
  }
@@ -8627,7 +8759,7 @@ class AuroMenu extends AuroElement$1 {
8627
8759
 
8628
8760
  /**
8629
8761
  * This will register this element with the browser.
8630
- * @param {string} [name="auro-menu"] - The name of element that you want to register to.
8762
+ * @param {string} [name="auro-menu"] - The name of the element that you want to register.
8631
8763
  *
8632
8764
  * @example
8633
8765
  * AuroMenu.register("custom-menu") // this will register this element to <custom-menu/>