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

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 (83) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
  2. package/components/bibtemplate/dist/index.js +13 -0
  3. package/components/bibtemplate/dist/registered.js +13 -0
  4. package/components/checkbox/demo/api.md +17 -11
  5. package/components/checkbox/demo/customize.min.js +23 -6
  6. package/components/checkbox/demo/getting-started.min.js +23 -6
  7. package/components/checkbox/demo/index.min.js +23 -6
  8. package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
  9. package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
  10. package/components/checkbox/dist/index.js +23 -6
  11. package/components/checkbox/dist/registered.js +23 -6
  12. package/components/combobox/demo/api.md +26 -18
  13. package/components/combobox/demo/customize.min.js +426 -126
  14. package/components/combobox/demo/getting-started.min.js +426 -126
  15. package/components/combobox/demo/index.min.js +426 -126
  16. package/components/combobox/dist/auro-combobox.d.ts +38 -21
  17. package/components/combobox/dist/index.js +338 -111
  18. package/components/combobox/dist/registered.js +338 -111
  19. package/components/counter/demo/api.md +34 -16
  20. package/components/counter/demo/customize.min.js +204 -64
  21. package/components/counter/demo/index.min.js +204 -64
  22. package/components/counter/dist/auro-counter-button.d.ts +4 -0
  23. package/components/counter/dist/auro-counter-group.d.ts +27 -4
  24. package/components/counter/dist/auro-counter.d.ts +7 -0
  25. package/components/counter/dist/index.js +204 -64
  26. package/components/counter/dist/registered.js +204 -64
  27. package/components/datepicker/demo/api.md +55 -49
  28. package/components/datepicker/demo/customize.min.js +515 -134
  29. package/components/datepicker/demo/index.min.js +515 -134
  30. package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
  31. package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
  32. package/components/datepicker/dist/auro-calendar.d.ts +25 -6
  33. package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
  34. package/components/datepicker/dist/index.js +515 -134
  35. package/components/datepicker/dist/registered.js +515 -134
  36. package/components/dropdown/demo/api.md +25 -22
  37. package/components/dropdown/demo/customize.min.js +107 -37
  38. package/components/dropdown/demo/getting-started.min.js +245 -82
  39. package/components/dropdown/demo/index.min.js +107 -37
  40. package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
  41. package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
  42. package/components/dropdown/dist/index.js +107 -37
  43. package/components/dropdown/dist/registered.js +107 -37
  44. package/components/form/demo/customize.min.js +1518 -466
  45. package/components/form/demo/getting-started.min.js +1518 -466
  46. package/components/form/demo/index.min.js +1518 -466
  47. package/components/form/demo/registerDemoDeps.min.js +1518 -466
  48. package/components/helptext/dist/auro-helptext.d.ts +8 -7
  49. package/components/helptext/dist/index.js +7 -2
  50. package/components/helptext/dist/registered.js +7 -2
  51. package/components/input/demo/api.md +30 -30
  52. package/components/input/demo/customize.min.js +138 -45
  53. package/components/input/demo/getting-started.min.js +138 -45
  54. package/components/input/demo/index.min.js +138 -45
  55. package/components/input/dist/base-input.d.ts +79 -25
  56. package/components/input/dist/index.js +138 -45
  57. package/components/input/dist/registered.js +138 -45
  58. package/components/layoutElement/dist/auroElement.d.ts +10 -17
  59. package/components/layoutElement/dist/index.js +20 -20
  60. package/components/layoutElement/dist/registered.js +20 -20
  61. package/components/menu/demo/api.md +31 -27
  62. package/components/menu/demo/index.min.js +108 -35
  63. package/components/menu/dist/auro-menu.d.ts +26 -21
  64. package/components/menu/dist/auro-menuoption.d.ts +27 -1
  65. package/components/menu/dist/index.js +108 -35
  66. package/components/menu/dist/registered.js +108 -35
  67. package/components/radio/demo/api.md +8 -7
  68. package/components/radio/demo/customize.min.js +21 -7
  69. package/components/radio/demo/getting-started.min.js +21 -7
  70. package/components/radio/demo/index.min.js +21 -7
  71. package/components/radio/dist/auro-radio-group.d.ts +8 -3
  72. package/components/radio/dist/auro-radio.d.ts +1 -0
  73. package/components/radio/dist/index.js +21 -7
  74. package/components/radio/dist/registered.js +21 -7
  75. package/components/select/demo/api.md +18 -15
  76. package/components/select/demo/customize.min.js +259 -79
  77. package/components/select/demo/getting-started.min.js +259 -79
  78. package/components/select/demo/index.min.js +259 -79
  79. package/components/select/dist/auro-select.d.ts +17 -0
  80. package/components/select/dist/index.js +171 -64
  81. package/components/select/dist/registered.js +171 -64
  82. package/custom-elements.json +1189 -1336
  83. package/package.json +1 -1
@@ -11761,6 +11761,14 @@ function isBlackoutTimestamp(dateTs, disabledDays, blackoutDates) {
11761
11761
 
11762
11762
  /* eslint-disable curly, max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
11763
11763
 
11764
+ /**
11765
+ * The `auro-calendar-cell` component renders a single selectable day button within a calendar month grid.
11766
+ *
11767
+ * @event calendar-cell-activate - Notifies that this cell has been activated via click or tap.
11768
+ * @event date-is-hovered - Notifies that this cell's date is being hovered.
11769
+ * @event calendar-cell-focused - Notifies that this cell's button has received focus.
11770
+ * @csspart dateSlot - Use for customizing the style of the date slot content container.
11771
+ */
11764
11772
  class AuroCalendarCell extends i$1 {
11765
11773
  constructor() {
11766
11774
  super();
@@ -11773,6 +11781,8 @@ class AuroCalendarCell extends i$1 {
11773
11781
  this.min = null;
11774
11782
  this.max = null;
11775
11783
  this.disabled = false;
11784
+
11785
+ /** @type {number[]} */
11776
11786
  this.disabledDays = [];
11777
11787
  this.isCurrentDate = false;
11778
11788
  this._locale = null;
@@ -11796,31 +11806,107 @@ class AuroCalendarCell extends i$1 {
11796
11806
  static get properties() {
11797
11807
  return {
11798
11808
  // ...super.properties,
11809
+
11810
+ /**
11811
+ * The day object for this cell, containing its Unix timestamp (`date`) and day-of-month title.
11812
+ */
11799
11813
  day: { type: Object },
11814
+
11815
+ /**
11816
+ * Whether this cell's date is currently selected.
11817
+ */
11800
11818
  selected: { type: Boolean },
11801
- dateTo: { type: String },
11802
- dateFrom: { type: String },
11819
+
11820
+ /**
11821
+ * The end (return) date of the selected range as a Unix-timestamp string.
11822
+ */
11823
+ dateTo: {
11824
+ type: String,
11825
+ attribute: 'dateto'
11826
+ },
11827
+
11828
+ /**
11829
+ * The start (depart) date of the selected range as a Unix-timestamp string.
11830
+ */
11831
+ dateFrom: {
11832
+ type: String,
11833
+ attribute: 'datefrom'
11834
+ },
11835
+
11836
+ /**
11837
+ * The month this cell belongs to.
11838
+ */
11803
11839
  month: { type: String },
11840
+
11841
+ /**
11842
+ * The minimum selectable date as a Unix timestamp.
11843
+ */
11804
11844
  min: { type: Number },
11845
+
11846
+ /**
11847
+ * The maximum selectable date as a Unix timestamp.
11848
+ */
11805
11849
  max: { type: Number },
11850
+
11851
+ /**
11852
+ * Whether this cell is disabled because its date falls outside the min/max range.
11853
+ */
11806
11854
  disabled: {
11807
11855
  type: Boolean,
11808
11856
  reflect: true
11809
11857
  },
11858
+
11810
11859
  /**
11860
+ * Legacy array of Unix-timestamp dates that cannot be selected.
11811
11861
  * @deprecated Propagated from the legacy `auro-calendar.disabledDays`
11812
11862
  * Unix-timestamp array. The cell honors it for backward compatibility
11813
11863
  * (see the divergence-check fallback inside `isBlackout`), but
11814
11864
  * consumers should migrate to `auro-datepicker.blackoutDates`
11815
11865
  * (YYYY-MM-DD ISO strings). The calendar emits a one-time
11816
11866
  * deprecation warning the first time a non-empty value is observed.
11867
+ * @type {number[]}
11868
+ */
11869
+ disabledDays: {
11870
+ type: Array,
11871
+ attribute: 'disableddays'
11872
+ },
11873
+
11874
+ /**
11875
+ * Whether this cell represents the current date (today).
11876
+ */
11877
+ isCurrentDate: {
11878
+ type: Boolean,
11879
+ attribute: 'iscurrentdate'
11880
+ },
11881
+
11882
+ /**
11883
+ * The BCP 47 locale tag used to format the cell's date.
11817
11884
  */
11818
- disabledDays: { type: Array },
11819
- isCurrentDate: { type: Boolean },
11820
11885
  locale: { type: String },
11821
- dateStr: { type: String },
11822
- renderForDateSlot: { type: Boolean },
11823
- hasPopoverContent: { type: Boolean }
11886
+
11887
+ /**
11888
+ * The cell's date formatted as a `YYYY_MM_DD` slot-name string.
11889
+ */
11890
+ dateStr: {
11891
+ type: String,
11892
+ attribute: 'datestr'
11893
+ },
11894
+
11895
+ /**
11896
+ * Whether to render the numerical date off-center to leave room below for date slot content.
11897
+ */
11898
+ renderForDateSlot: {
11899
+ type: Boolean,
11900
+ attribute: 'renderfordateslot'
11901
+ },
11902
+
11903
+ /**
11904
+ * Whether this cell has popover slot content to display.
11905
+ */
11906
+ hasPopoverContent: {
11907
+ type: Boolean,
11908
+ attribute: 'haspopovercontent'
11909
+ }
11824
11910
  };
11825
11911
  }
11826
11912
 
@@ -12677,6 +12763,11 @@ const getWeekdayNames = (locale, weekday) => {
12677
12763
  };
12678
12764
 
12679
12765
 
12766
+ /**
12767
+ * The `auro-calendar-month` component renders a single localized month grid of selectable day cells within the calendar.
12768
+ * @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
12769
+ * @event calendar-month-mouseleave - Notifies that the mouse has left the month's date grid so the range hover preview can be cleared.
12770
+ */
12680
12771
  class AuroCalendarMonth extends RangeDatepickerCalendar {
12681
12772
  static get styles() {
12682
12773
  return [
@@ -12691,10 +12782,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
12691
12782
  return {
12692
12783
 
12693
12784
  /**
12694
- * @private
12785
+ * When set, the month name is displayed before the year in the header.
12695
12786
  */
12696
12787
  monthFirst: {
12697
12788
  type: Boolean,
12789
+ attribute: 'monthfirst',
12698
12790
  reflect: true
12699
12791
  },
12700
12792
 
@@ -12703,14 +12795,17 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
12703
12795
  * As wc-range-datepicker expects a `locale` prop, we use `localeCode` to avoid conflicts.
12704
12796
  */
12705
12797
  localeCode: {
12706
- type: String
12798
+ type: String,
12799
+ attribute: 'localecode'
12707
12800
  },
12708
12801
 
12709
12802
  /**
12710
12803
  * Names of all 12 months. When omitted, names are derived from `localeCode`.
12804
+ * @type {string[]}
12711
12805
  */
12712
12806
  monthNames: {
12713
- type: Array
12807
+ type: Array,
12808
+ attribute: 'monthnames'
12714
12809
  }
12715
12810
  };
12716
12811
  }
@@ -13552,6 +13647,9 @@ var headerVersion = '5.0.1';
13552
13647
  * @slot subheader - Slot for the subheader content.
13553
13648
  * @slot footer - Slot for the footer content.
13554
13649
  * @slot ariaLabel.close - Slot for the close button aria-label.
13650
+ * @csspart bibtemplate - The outermost bibtemplate container element.
13651
+ * @event close-click - Notifies when the close button is clicked.
13652
+ * @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
13555
13653
  */
13556
13654
  class AuroBibtemplate extends i$1 {
13557
13655
 
@@ -13591,10 +13689,19 @@ class AuroBibtemplate extends i$1 {
13591
13689
  // function to define props used within the scope of this component
13592
13690
  static get properties() {
13593
13691
  return {
13692
+
13693
+ /**
13694
+ * If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
13695
+ */
13594
13696
  isFullscreen: {
13595
13697
  type: Boolean,
13698
+ attribute: 'isfullscreen',
13596
13699
  reflect: true
13597
13700
  },
13701
+
13702
+ /**
13703
+ * If declared, the fullscreen headline renders using the larger display heading style.
13704
+ */
13598
13705
  large: {
13599
13706
  type: Boolean,
13600
13707
  reflect: true
@@ -13605,6 +13712,7 @@ class AuroBibtemplate extends i$1 {
13605
13712
  */
13606
13713
  showFooter: {
13607
13714
  type: Boolean,
13715
+ attribute: 'showfooter',
13608
13716
  reflect: true
13609
13717
  }
13610
13718
  };
@@ -13717,7 +13825,7 @@ class AuroBibtemplate extends i$1 {
13717
13825
  }
13718
13826
  }
13719
13827
 
13720
- var formkitVersion$2 = '202608261850';
13828
+ var formkitVersion$2 = '202608300032';
13721
13829
 
13722
13830
  let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
13723
13831
  `,u$6=i$3`.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, .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, .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, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .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, .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, .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, .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, .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, .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, .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(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
@@ -13783,8 +13891,10 @@ var buttonVersion$1 = '12.3.2';
13783
13891
 
13784
13892
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
13785
13893
  /**
13894
+ * The `auro-calendar` component renders the calendar month(s) shown inside the datepicker dropdown and manages date selection, range preview, and keyboard navigation.
13786
13895
  * @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
13787
13896
  * @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
13897
+ * @event narrow-changedProperties - Notifies that the calendar's narrow (mobile) layout state has changed.
13788
13898
  */
13789
13899
  class AuroCalendar extends RangeDatepicker {
13790
13900
  constructor() {
@@ -13859,6 +13969,10 @@ class AuroCalendar extends RangeDatepicker {
13859
13969
  // Initialize the backing field directly so the constructor's default
13860
13970
  // empty array doesn't trigger the deprecation warning. Assignments from
13861
13971
  // consumers still route through the setter below.
13972
+ /**
13973
+ * @private
13974
+ * @type {number[]}
13975
+ */
13862
13976
  this._disabledDays = [];
13863
13977
 
13864
13978
  /**
@@ -13867,7 +13981,9 @@ class AuroCalendar extends RangeDatepicker {
13867
13981
  this.numCalendars = undefined;
13868
13982
 
13869
13983
  /**
13984
+ * Captured light-DOM slot nodes, keyed by slot name, forwarded into the bib.
13870
13985
  * @private
13986
+ * @type {Record<string, Node[]>}
13871
13987
  */
13872
13988
  this.slots = {};
13873
13989
 
@@ -13946,6 +14062,7 @@ class AuroCalendar extends RangeDatepicker {
13946
14062
  */
13947
14063
  calendarEndMonth: {
13948
14064
  type: String,
14065
+ attribute: 'calendarendmonth',
13949
14066
  reflect: true
13950
14067
  },
13951
14068
 
@@ -13954,6 +14071,7 @@ class AuroCalendar extends RangeDatepicker {
13954
14071
  */
13955
14072
  calendarStartMonth: {
13956
14073
  type: String,
14074
+ attribute: 'calendarstartmonth',
13957
14075
  reflect: true
13958
14076
  },
13959
14077
 
@@ -13962,6 +14080,7 @@ class AuroCalendar extends RangeDatepicker {
13962
14080
  */
13963
14081
  centralDate: {
13964
14082
  type: String,
14083
+ attribute: 'centraldate',
13965
14084
  reflect: true
13966
14085
  },
13967
14086
 
@@ -13969,19 +14088,22 @@ class AuroCalendar extends RangeDatepicker {
13969
14088
  * The starting date of the selected range.
13970
14089
  */
13971
14090
  dateFrom: {
13972
- type: String
14091
+ type: String,
14092
+ attribute: 'datefrom'
13973
14093
  },
13974
14094
 
13975
14095
  /**
13976
14096
  * The ending date of the selected range.
13977
14097
  */
13978
14098
  dateTo: {
13979
- type: String
14099
+ type: String,
14100
+ attribute: 'dateto'
13980
14101
  },
13981
14102
 
13982
14103
  /**
13983
14104
  * Dropdown element that contains the calendar.
13984
14105
  * @private
14106
+ * @type {HTMLElement}
13985
14107
  */
13986
14108
  dropdown: {
13987
14109
  type: Object
@@ -13992,6 +14114,7 @@ class AuroCalendar extends RangeDatepicker {
13992
14114
  */
13993
14115
  isFullscreen: {
13994
14116
  type: Boolean,
14117
+ attribute: 'isfullscreen',
13995
14118
  reflect: true
13996
14119
  },
13997
14120
 
@@ -14001,6 +14124,7 @@ class AuroCalendar extends RangeDatepicker {
14001
14124
  */
14002
14125
  largeFullscreenHeadline: {
14003
14126
  type: Boolean,
14127
+ attribute: 'largefullscreenheadline',
14004
14128
  reflect: true
14005
14129
  },
14006
14130
 
@@ -14009,6 +14133,7 @@ class AuroCalendar extends RangeDatepicker {
14009
14133
  */
14010
14134
  maxDate: {
14011
14135
  type: String,
14136
+ attribute: 'maxdate',
14012
14137
  reflect: true
14013
14138
  },
14014
14139
 
@@ -14017,6 +14142,7 @@ class AuroCalendar extends RangeDatepicker {
14017
14142
  */
14018
14143
  minDate: {
14019
14144
  type: String,
14145
+ attribute: 'mindate',
14020
14146
  reflect: true
14021
14147
  },
14022
14148
 
@@ -14026,6 +14152,7 @@ class AuroCalendar extends RangeDatepicker {
14026
14152
  */
14027
14153
  mobileBreakpoint: {
14028
14154
  type: Number,
14155
+ attribute: 'mobilebreakpoint',
14029
14156
  reflect: false
14030
14157
  },
14031
14158
 
@@ -14035,7 +14162,8 @@ class AuroCalendar extends RangeDatepicker {
14035
14162
  * @private
14036
14163
  */
14037
14164
  monthFirst: {
14038
- type: Boolean
14165
+ type: Boolean,
14166
+ attribute: 'monthfirst'
14039
14167
  },
14040
14168
 
14041
14169
  /**
@@ -14043,7 +14171,8 @@ class AuroCalendar extends RangeDatepicker {
14043
14171
  * @private
14044
14172
  */
14045
14173
  numCalendars: {
14046
- type: Number
14174
+ type: Number,
14175
+ attribute: 'numcalendars'
14047
14176
  },
14048
14177
 
14049
14178
  /**
@@ -14059,14 +14188,17 @@ class AuroCalendar extends RangeDatepicker {
14059
14188
  * as wc-range-datepicker expects a `locale` prop, we use `localeCode` to avoid conflicts and pass the locale down to calendar-month elements.
14060
14189
  */
14061
14190
  localeCode: {
14062
- type: String
14191
+ type: String,
14192
+ attribute: 'localecode'
14063
14193
  },
14064
14194
 
14065
14195
  /**
14066
14196
  * Names of all 12 months. When omitted, names are derived from `localeCode`.
14197
+ * @type {string[]}
14067
14198
  */
14068
14199
  monthNames: {
14069
- type: Array
14200
+ type: Array,
14201
+ attribute: 'monthnames'
14070
14202
  }
14071
14203
  };
14072
14204
  }
@@ -18883,8 +19015,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
18883
19015
  ];
18884
19016
 
18885
19017
  /**
19018
+ * The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
18886
19019
  * @prop { String } fullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
18887
19020
  * @csspart bibContainer - Apply css to the bib container.
19021
+ * @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
19022
+ * @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
18888
19023
  */
18889
19024
 
18890
19025
  class AuroDropdownBib extends i$1 {
@@ -18899,9 +19034,17 @@ class AuroDropdownBib extends i$1 {
18899
19034
 
18900
19035
  AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
18901
19036
 
18902
- this.shape = "rounded";
18903
19037
  this.matchWidth = false;
18904
19038
  this.hasActiveDescendant = false;
19039
+
19040
+ this.initializeArchitectureDefaults();
19041
+ }
19042
+
19043
+ // The `shape` default is set in a helper (not the constructor body) so the CEM
19044
+ // analyzer keeps its `@type` union instead of inferring `string` from a
19045
+ // constructor-literal assignment. See AlaskaAirlines/discussions#653.
19046
+ initializeArchitectureDefaults() {
19047
+ this.shape = "rounded";
18905
19048
  }
18906
19049
 
18907
19050
  static get styles() {
@@ -18920,6 +19063,7 @@ class AuroDropdownBib extends i$1 {
18920
19063
  */
18921
19064
  isFullscreen: {
18922
19065
  type: Boolean,
19066
+ attribute: 'isfullscreen',
18923
19067
  reflect: true
18924
19068
  },
18925
19069
 
@@ -18945,6 +19089,7 @@ class AuroDropdownBib extends i$1 {
18945
19089
  */
18946
19090
  matchWidth: {
18947
19091
  type: Boolean,
19092
+ attribute: 'matchwidth',
18948
19093
  reflect: true
18949
19094
  },
18950
19095
 
@@ -18960,11 +19105,18 @@ class AuroDropdownBib extends i$1 {
18960
19105
  * A reference to the associated bib template element.
18961
19106
  */
18962
19107
  bibTemplate: {
18963
- type: Object
19108
+ type: Object,
19109
+ attribute: 'bibtemplate'
18964
19110
  },
18965
19111
 
19112
+ /**
19113
+ * Sets the shape of the dropdown bib.
19114
+ * @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
19115
+ * @default 'rounded'
19116
+ */
18966
19117
  shape: {
18967
19118
  type: String,
19119
+ attribute: "shape",
18968
19120
  reflect: true
18969
19121
  },
18970
19122
 
@@ -18976,7 +19128,8 @@ class AuroDropdownBib extends i$1 {
18976
19128
  * @private
18977
19129
  */
18978
19130
  dialogLabel: {
18979
- type: String
19131
+ type: String,
19132
+ attribute: 'dialoglabel'
18980
19133
  },
18981
19134
 
18982
19135
  /**
@@ -18987,7 +19140,8 @@ class AuroDropdownBib extends i$1 {
18987
19140
  * @private
18988
19141
  */
18989
19142
  dialogRole: {
18990
- type: String
19143
+ type: String,
19144
+ attribute: 'dialogrole'
18991
19145
  },
18992
19146
 
18993
19147
  /**
@@ -18995,7 +19149,8 @@ class AuroDropdownBib extends i$1 {
18995
19149
  * @private
18996
19150
  */
18997
19151
  hasActiveDescendant: {
18998
- type: Boolean
19152
+ type: Boolean,
19153
+ attribute: 'hasactivedescendant'
18999
19154
  }
19000
19155
  };
19001
19156
  }
@@ -19346,6 +19501,8 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19346
19501
  super();
19347
19502
 
19348
19503
  this.error = false;
19504
+
19505
+ /** @type {'default' | 'inverse'} */
19349
19506
  this.appearance = "default";
19350
19507
  this.onDark = false;
19351
19508
  this.hasTextContent = false;
@@ -19366,8 +19523,8 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19366
19523
  return {
19367
19524
 
19368
19525
  /**
19369
- * Defines whether the component will be on lighter or darker backgrounds.
19370
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
19526
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
19527
+ * @type {'default' | 'inverse'}
19371
19528
  * @default 'default'
19372
19529
  */
19373
19530
  appearance: {
@@ -19380,6 +19537,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19380
19537
  */
19381
19538
  slotNodes: {
19382
19539
  type: Boolean,
19540
+ attribute: 'slotnodes',
19383
19541
  },
19384
19542
 
19385
19543
  /**
@@ -19387,6 +19545,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19387
19545
  */
19388
19546
  hasTextContent: {
19389
19547
  type: Boolean,
19548
+ attribute: 'hastextcontent',
19390
19549
  },
19391
19550
 
19392
19551
  /**
@@ -19402,6 +19561,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19402
19561
  */
19403
19562
  onDark: {
19404
19563
  type: Boolean,
19564
+ attribute: 'ondark',
19405
19565
  reflect: true
19406
19566
  }
19407
19567
  };
@@ -19472,39 +19632,39 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19472
19632
  }
19473
19633
  };
19474
19634
 
19475
- var formkitVersion$1 = '202608261850';
19635
+ var formkitVersion$1 = '202608300032';
19476
19636
 
19637
+ /**
19638
+ * AuroElement is the shared base class for layout-aware Auro form components.
19639
+ *
19640
+ * It defines the common `layout`, `shape`, `size`, and `ondark` reactive
19641
+ * properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
19642
+ * `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
19643
+ * the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
19644
+ * own default and valid value set for `layout`, `shape`, and `size`.
19645
+ */
19477
19646
  let AuroElement$2 = class AuroElement extends i$1 {
19478
19647
  static get properties() {
19479
19648
  return {
19480
19649
 
19481
19650
  /**
19482
- * Defines the language of an element.
19483
- * @default {'default'}
19651
+ * When true, renders the component styled for use on a dark background.
19484
19652
  */
19485
- layout: {
19486
- type: String,
19487
- attribute: "layout",
19488
- reflect: true
19489
- },
19490
-
19491
- shape: {
19492
- type: String,
19493
- attribute: "shape",
19494
- reflect: true
19495
- },
19496
-
19497
- size: {
19498
- type: String,
19499
- attribute: "size",
19500
- reflect: true
19501
- },
19502
-
19503
19653
  onDark: {
19504
19654
  type: Boolean,
19505
19655
  attribute: "ondark",
19506
19656
  reflect: true
19507
19657
  }
19658
+
19659
+ // NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
19660
+ // Their valid value sets differ per component, and the CEM analyzer roots
19661
+ // an inherited property's `type` in the class that declares it — a base
19662
+ // declaration would force every subclass's `@type` to be discarded and
19663
+ // emitted as plain `string`. Each subclass declares its own `layout` /
19664
+ // `shape` / `size` with an exact `@type` union instead. AuroElement still
19665
+ // consumes `this.layout` / `this.shape` / `this.size` in its render and
19666
+ // architecture helpers below (subclasses guarantee the reactive props).
19667
+ // See AlaskaAirlines/discussions#653.
19508
19668
  };
19509
19669
  }
19510
19670
 
@@ -19590,6 +19750,7 @@ let AuroElement$2 = class AuroElement extends i$1 {
19590
19750
  * @slot helpText - Defines the content of the helpText.
19591
19751
  * @slot trigger - Defines the content of the trigger.
19592
19752
  * @csspart trigger - The trigger content container.
19753
+ * @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
19593
19754
  * @csspart chevron - The collapsed/expanded state icon container.
19594
19755
  * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
19595
19756
  * @csspart helpText - The helpText content container.
@@ -19614,7 +19775,7 @@ class AuroDropdown extends AuroElement$2 {
19614
19775
 
19615
19776
  /**
19616
19777
  * When true, the dropdown skips its generic focus restoration on close.
19617
- * Set by consumers (e.g. combobox) that manage their own focus routing
19778
+ * Set by consumers (for example combobox) that manage their own focus routing
19618
19779
  * via setClearBtnFocus / setInputFocus / keyboard strategy.
19619
19780
  * Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
19620
19781
  * @private
@@ -19783,7 +19944,7 @@ class AuroDropdown extends AuroElement$2 {
19783
19944
  /**
19784
19945
  * Focus the trigger content. When the trigger wrapper itself is focusable
19785
19946
  * (has tabindex), focus it directly. Otherwise, focus the first focusable
19786
- * element slotted into the trigger slot (e.g. the auro-input).
19947
+ * element slotted into the trigger slot (for example the auro-input).
19787
19948
  * @private
19788
19949
  */
19789
19950
  focusTrigger() {
@@ -19880,6 +20041,7 @@ class AuroDropdown extends AuroElement$2 {
19880
20041
  */
19881
20042
  autoPlacement: {
19882
20043
  type: Boolean,
20044
+ attribute: 'autoplacement',
19883
20045
  reflect: true
19884
20046
  },
19885
20047
 
@@ -19888,6 +20050,7 @@ class AuroDropdown extends AuroElement$2 {
19888
20050
  */
19889
20051
  desktopModal: {
19890
20052
  type: Boolean,
20053
+ attribute: 'desktopmodal',
19891
20054
  reflect: true
19892
20055
  },
19893
20056
 
@@ -19896,6 +20059,7 @@ class AuroDropdown extends AuroElement$2 {
19896
20059
  */
19897
20060
  disableEventShow: {
19898
20061
  type: Boolean,
20062
+ attribute: 'disableeventshow',
19899
20063
  reflect: true
19900
20064
  },
19901
20065
 
@@ -19929,14 +20093,16 @@ class AuroDropdown extends AuroElement$2 {
19929
20093
  */
19930
20094
  disableKeyboardHandling: {
19931
20095
  type: Boolean,
20096
+ attribute: 'disablekeyboardhandling',
19932
20097
  reflect: true
19933
20098
  },
19934
20099
 
19935
20100
  /**
19936
- * @private
20101
+ * Sets the width of the dropdown bib in pixels.
19937
20102
  */
19938
20103
  dropdownWidth: {
19939
- type: Number
20104
+ type: Number,
20105
+ attribute: 'dropdownwidth'
19940
20106
  },
19941
20107
 
19942
20108
  /**
@@ -19961,7 +20127,8 @@ class AuroDropdown extends AuroElement$2 {
19961
20127
  * Contains the help text message for the current validity error.
19962
20128
  */
19963
20129
  errorMessage: {
19964
- type: String
20130
+ type: String,
20131
+ attribute: 'errormessage'
19965
20132
  },
19966
20133
 
19967
20134
  /**
@@ -19969,6 +20136,7 @@ class AuroDropdown extends AuroElement$2 {
19969
20136
  */
19970
20137
  focusShow: {
19971
20138
  type: Boolean,
20139
+ attribute: 'focusshow',
19972
20140
  reflect: true
19973
20141
  },
19974
20142
 
@@ -19986,6 +20154,7 @@ class AuroDropdown extends AuroElement$2 {
19986
20154
  */
19987
20155
  isBibFullscreen: {
19988
20156
  type: Boolean,
20157
+ attribute: 'isbibfullscreen',
19989
20158
  reflect: true
19990
20159
  },
19991
20160
 
@@ -19994,6 +20163,7 @@ class AuroDropdown extends AuroElement$2 {
19994
20163
  */
19995
20164
  hoverToggle: {
19996
20165
  type: Boolean,
20166
+ attribute: 'hovertoggle',
19997
20167
  reflect: true
19998
20168
  },
19999
20169
 
@@ -20001,7 +20171,8 @@ class AuroDropdown extends AuroElement$2 {
20001
20171
  * @private
20002
20172
  */
20003
20173
  hasTriggerContent: {
20004
- type: Boolean
20174
+ type: Boolean,
20175
+ attribute: false
20005
20176
  },
20006
20177
 
20007
20178
  /**
@@ -20014,6 +20185,7 @@ class AuroDropdown extends AuroElement$2 {
20014
20185
  */
20015
20186
  fullscreenBreakpoint: {
20016
20187
  type: String,
20188
+ attribute: "fullscreenbreakpoint",
20017
20189
  reflect: true
20018
20190
  },
20019
20191
 
@@ -20024,6 +20196,27 @@ class AuroDropdown extends AuroElement$2 {
20024
20196
  */
20025
20197
  layout: {
20026
20198
  type: String,
20199
+ attribute: "layout",
20200
+ reflect: true
20201
+ },
20202
+
20203
+ /**
20204
+ * Sets the shape of the dropdown.
20205
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
20206
+ */
20207
+ shape: {
20208
+ type: String,
20209
+ attribute: "shape",
20210
+ reflect: true
20211
+ },
20212
+
20213
+ /**
20214
+ * Sets the size of the dropdown.
20215
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
20216
+ */
20217
+ size: {
20218
+ type: String,
20219
+ attribute: "size",
20027
20220
  reflect: true
20028
20221
  },
20029
20222
 
@@ -20033,6 +20226,7 @@ class AuroDropdown extends AuroElement$2 {
20033
20226
  */
20034
20227
  parentBorder: {
20035
20228
  type: Boolean,
20229
+ attribute: 'parentborder',
20036
20230
  reflect: true
20037
20231
  },
20038
20232
 
@@ -20041,6 +20235,7 @@ class AuroDropdown extends AuroElement$2 {
20041
20235
  */
20042
20236
  matchWidth: {
20043
20237
  type: Boolean,
20238
+ attribute: 'matchwidth',
20044
20239
  reflect: true
20045
20240
  },
20046
20241
 
@@ -20050,6 +20245,7 @@ class AuroDropdown extends AuroElement$2 {
20050
20245
  */
20051
20246
  noFlip: {
20052
20247
  type: Boolean,
20248
+ attribute: 'noflip',
20053
20249
  reflect: true
20054
20250
  },
20055
20251
 
@@ -20066,6 +20262,7 @@ class AuroDropdown extends AuroElement$2 {
20066
20262
  */
20067
20263
  noHideOnThisFocusLoss: {
20068
20264
  type: Boolean,
20265
+ attribute: 'nohideonthisfocusloss',
20069
20266
  reflect: true
20070
20267
  },
20071
20268
 
@@ -20074,6 +20271,7 @@ class AuroDropdown extends AuroElement$2 {
20074
20271
  */
20075
20272
  noToggle: {
20076
20273
  type: Boolean,
20274
+ attribute: 'notoggle',
20077
20275
  reflect: true
20078
20276
  },
20079
20277
 
@@ -20091,14 +20289,17 @@ class AuroDropdown extends AuroElement$2 {
20091
20289
  */
20092
20290
  onDark: {
20093
20291
  type: Boolean,
20292
+ attribute: 'ondark',
20094
20293
  reflect: true
20095
20294
  },
20096
20295
 
20097
20296
  /**
20098
20297
  * If declared, and a function is set, that function will execute when the slot content is updated.
20298
+ * @type {() => void}
20099
20299
  */
20100
20300
  onSlotChange: {
20101
20301
  type: Function,
20302
+ attribute: 'onslotchange',
20102
20303
  reflect: false
20103
20304
  },
20104
20305
 
@@ -20113,10 +20314,11 @@ class AuroDropdown extends AuroElement$2 {
20113
20314
  },
20114
20315
 
20115
20316
  /**
20116
- * @private
20317
+ * Sets the tabindex applied to the dropdown trigger for keyboard focus order.
20117
20318
  */
20118
20319
  tabIndex: {
20119
- type: Number
20320
+ type: Number,
20321
+ attribute: 'tabindex'
20120
20322
  },
20121
20323
 
20122
20324
  /**
@@ -20340,7 +20542,7 @@ class AuroDropdown extends AuroElement$2 {
20340
20542
  /**
20341
20543
  * @description Let subscribers know that the dropdown ID ha been generated and added.
20342
20544
  * @event auroDropdown-idAdded
20343
- * @type {Object<key: 'id', value: string>} - The ID of the dropdown bib element.
20545
+ * @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
20344
20546
  */
20345
20547
  this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
20346
20548
 
@@ -25489,37 +25691,37 @@ class AuroFormValidation {
25489
25691
  }
25490
25692
  }
25491
25693
 
25694
+ /**
25695
+ * AuroElement is the shared base class for layout-aware Auro form components.
25696
+ *
25697
+ * It defines the common `layout`, `shape`, `size`, and `ondark` reactive
25698
+ * properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
25699
+ * `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
25700
+ * the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
25701
+ * own default and valid value set for `layout`, `shape`, and `size`.
25702
+ */
25492
25703
  let AuroElement$1 = class AuroElement extends i$1 {
25493
25704
  static get properties() {
25494
25705
  return {
25495
25706
 
25496
25707
  /**
25497
- * Defines the language of an element.
25498
- * @default {'default'}
25708
+ * When true, renders the component styled for use on a dark background.
25499
25709
  */
25500
- layout: {
25501
- type: String,
25502
- attribute: "layout",
25503
- reflect: true
25504
- },
25505
-
25506
- shape: {
25507
- type: String,
25508
- attribute: "shape",
25509
- reflect: true
25510
- },
25511
-
25512
- size: {
25513
- type: String,
25514
- attribute: "size",
25515
- reflect: true
25516
- },
25517
-
25518
25710
  onDark: {
25519
25711
  type: Boolean,
25520
25712
  attribute: "ondark",
25521
25713
  reflect: true
25522
25714
  }
25715
+
25716
+ // NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
25717
+ // Their valid value sets differ per component, and the CEM analyzer roots
25718
+ // an inherited property's `type` in the class that declares it — a base
25719
+ // declaration would force every subclass's `@type` to be discarded and
25720
+ // emitted as plain `string`. Each subclass declares its own `layout` /
25721
+ // `shape` / `size` with an exact `@type` union instead. AuroElement still
25722
+ // consumes `this.layout` / `this.shape` / `this.size` in its render and
25723
+ // architecture helpers below (subclasses guarantee the reactive props).
25724
+ // See AlaskaAirlines/discussions#653.
25523
25725
  };
25524
25726
  }
25525
25727
 
@@ -31486,6 +31688,7 @@ class DomHandler {
31486
31688
  * Base class for auro-input component that provides core input functionality.
31487
31689
  * @event input - Event fires when the value of an `auro-input` has been changed.
31488
31690
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
31691
+ * @event auroInput-validityChange - Notifies that the `validity` state of the input has changed.
31489
31692
  */
31490
31693
  class BaseInput extends AuroElement$1 {
31491
31694
 
@@ -31516,7 +31719,10 @@ class BaseInput extends AuroElement$1 {
31516
31719
  // during its own update cycle sees a populated util instance.
31517
31720
  this.activeLabel = false;
31518
31721
 
31519
- /** @private */
31722
+ /**
31723
+ * @private
31724
+ * @type {string[]}
31725
+ */
31520
31726
  this.allowedInputTypes = [
31521
31727
  "text",
31522
31728
  "number",
@@ -31525,9 +31731,14 @@ class BaseInput extends AuroElement$1 {
31525
31731
  "credit-card",
31526
31732
  "tel"
31527
31733
  ];
31734
+
31735
+ /** @type {'default' | 'inverse'} */
31528
31736
  this.appearance = "default";
31529
31737
 
31530
- /** @private */
31738
+ /**
31739
+ * @private
31740
+ * @type {Record<string, string>}
31741
+ */
31531
31742
  this.dateFormatMap = {
31532
31743
  'mm/dd/yyyy': 'dateMMDDYYYY',
31533
31744
  'dd/mm/yyyy': 'dateDDMMYYYY',
@@ -31558,7 +31769,6 @@ class BaseInput extends AuroElement$1 {
31558
31769
 
31559
31770
  /** @private */
31560
31771
  this.label = 'Input label is undefined';
31561
- this.layout = 'classic';
31562
31772
  this.locale = 'en-US';
31563
31773
  this._format = undefined;
31564
31774
 
@@ -31574,17 +31784,18 @@ class BaseInput extends AuroElement$1 {
31574
31784
  this.setCustomValidityForType = undefined;
31575
31785
  // Credit Card is intentionally excluded — its mask manages the cursor
31576
31786
  // itself, and listing it here caused cursor placement issues in Safari.
31577
- /** @private */
31787
+ /**
31788
+ * @private
31789
+ * @type {string[]}
31790
+ */
31578
31791
  this.setSelectionInputTypes = [
31579
31792
  "text",
31580
31793
  "password",
31581
31794
  "email"
31582
31795
  ];
31583
- this.shape = 'classic';
31584
31796
 
31585
31797
  /** @private */
31586
31798
  this.showPassword = false;
31587
- this.size = 'lg';
31588
31799
  this.touched = false;
31589
31800
 
31590
31801
  /** @private */
@@ -31602,6 +31813,24 @@ class BaseInput extends AuroElement$1 {
31602
31813
  /** @private */
31603
31814
  this.validationCCLength = undefined;
31604
31815
  this.value = undefined;
31816
+
31817
+ this.initializeArchitectureDefaults();
31818
+ }
31819
+
31820
+ /**
31821
+ * Sets the default `layout`, `shape`, and `size` values.
31822
+ *
31823
+ * These are assigned in a helper method rather than the constructor body so
31824
+ * the CEM analyzer keeps their `@type` string-literal unions (a literal
31825
+ * assignment in the constructor would make the analyzer infer `string` and
31826
+ * override the union — see AlaskaAirlines/discussions#653, gotcha 1).
31827
+ * @private
31828
+ * @returns {void}
31829
+ */
31830
+ initializeArchitectureDefaults() {
31831
+ this.layout = 'classic';
31832
+ this.shape = 'classic';
31833
+ this.size = 'lg';
31605
31834
  }
31606
31835
 
31607
31836
  // function to define props used within the scope of this component
@@ -31609,11 +31838,45 @@ class BaseInput extends AuroElement$1 {
31609
31838
  return {
31610
31839
  ...super.properties,
31611
31840
 
31841
+ /**
31842
+ * Sets the layout variant of the input.
31843
+ * @type {'classic' | 'emphasized' | 'emphasized-left' | 'emphasized-right' | 'snowflake' | 'snowflake-left' | 'snowflake-right'}
31844
+ * @default 'classic'
31845
+ */
31846
+ layout: {
31847
+ type: String,
31848
+ attribute: "layout",
31849
+ reflect: true
31850
+ },
31851
+
31852
+ /**
31853
+ * Sets the shape of the input.
31854
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
31855
+ * @default 'classic'
31856
+ */
31857
+ shape: {
31858
+ type: String,
31859
+ attribute: "shape",
31860
+ reflect: true
31861
+ },
31862
+
31863
+ /**
31864
+ * Sets the size of the input.
31865
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
31866
+ * @default 'lg'
31867
+ */
31868
+ size: {
31869
+ type: String,
31870
+ attribute: "size",
31871
+ reflect: true
31872
+ },
31873
+
31612
31874
  /**
31613
31875
  * The value for the role attribute.
31614
31876
  */
31615
31877
  a11yRole: {
31616
31878
  type: String,
31879
+ attribute: 'a11yrole',
31617
31880
  reflect: true
31618
31881
  },
31619
31882
 
@@ -31622,6 +31885,7 @@ class BaseInput extends AuroElement$1 {
31622
31885
  */
31623
31886
  a11yControls: {
31624
31887
  type: String,
31888
+ attribute: 'a11ycontrols',
31625
31889
  reflect: true
31626
31890
  },
31627
31891
 
@@ -31630,6 +31894,7 @@ class BaseInput extends AuroElement$1 {
31630
31894
  */
31631
31895
  a11yExpanded: {
31632
31896
  type: Boolean,
31897
+ attribute: 'a11yexpanded',
31633
31898
  reflect: true
31634
31899
  },
31635
31900
 
@@ -31639,6 +31904,7 @@ class BaseInput extends AuroElement$1 {
31639
31904
  */
31640
31905
  a11yActivedescendant: {
31641
31906
  type: String,
31907
+ attribute: 'a11yactivedescendant',
31642
31908
  reflect: true
31643
31909
  },
31644
31910
 
@@ -31649,6 +31915,7 @@ class BaseInput extends AuroElement$1 {
31649
31915
  */
31650
31916
  activeLabel: {
31651
31917
  type: Boolean,
31918
+ attribute: 'activelabel',
31652
31919
  reflect: true
31653
31920
  },
31654
31921
 
@@ -31663,7 +31930,8 @@ class BaseInput extends AuroElement$1 {
31663
31930
  },
31664
31931
 
31665
31932
  /**
31666
- * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters].
31933
+ * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
31934
+ * @type {'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'}
31667
31935
  */
31668
31936
  autocapitalize: {
31669
31937
  type: String,
@@ -31680,6 +31948,7 @@ class BaseInput extends AuroElement$1 {
31680
31948
 
31681
31949
  /**
31682
31950
  * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
31951
+ * @type {'on' | 'off'}
31683
31952
  */
31684
31953
  autocorrect: {
31685
31954
  type: String,
@@ -31690,7 +31959,8 @@ class BaseInput extends AuroElement$1 {
31690
31959
  * Custom help text message for email type validity.
31691
31960
  */
31692
31961
  customValidityTypeEmail: {
31693
- type: String
31962
+ type: String,
31963
+ attribute: 'customvaliditytypeemail'
31694
31964
  },
31695
31965
 
31696
31966
  /**
@@ -31706,6 +31976,7 @@ class BaseInput extends AuroElement$1 {
31706
31976
  */
31707
31977
  dvInputOnly: {
31708
31978
  type: Boolean,
31979
+ attribute: 'dvinputonly',
31709
31980
  reflect: true
31710
31981
  },
31711
31982
 
@@ -31721,7 +31992,8 @@ class BaseInput extends AuroElement$1 {
31721
31992
  * Contains the help text message for the current validity error.
31722
31993
  */
31723
31994
  errorMessage: {
31724
- type: String
31995
+ type: String,
31996
+ attribute: 'errormessage'
31725
31997
  },
31726
31998
 
31727
31999
  /**
@@ -31757,6 +32029,7 @@ class BaseInput extends AuroElement$1 {
31757
32029
  */
31758
32030
  hideLabelVisually: {
31759
32031
  type: Boolean,
32032
+ attribute: 'hidelabelvisually',
31760
32033
  reflect: true
31761
32034
  },
31762
32035
 
@@ -31823,6 +32096,7 @@ class BaseInput extends AuroElement$1 {
31823
32096
  */
31824
32097
  maxLength: {
31825
32098
  type: Number,
32099
+ attribute: 'maxlength',
31826
32100
  reflect: true
31827
32101
  },
31828
32102
 
@@ -31838,6 +32112,7 @@ class BaseInput extends AuroElement$1 {
31838
32112
  */
31839
32113
  minLength: {
31840
32114
  type: Number,
32115
+ attribute: 'minlength',
31841
32116
  reflect: true
31842
32117
  },
31843
32118
 
@@ -31863,6 +32138,7 @@ class BaseInput extends AuroElement$1 {
31863
32138
  */
31864
32139
  noValidate: {
31865
32140
  type: Boolean,
32141
+ attribute: 'novalidate',
31866
32142
  reflect: true
31867
32143
  },
31868
32144
 
@@ -31871,6 +32147,7 @@ class BaseInput extends AuroElement$1 {
31871
32147
  */
31872
32148
  onDark: {
31873
32149
  type: Boolean,
32150
+ attribute: 'ondark',
31874
32151
  reflect: true
31875
32152
  },
31876
32153
 
@@ -31910,77 +32187,88 @@ class BaseInput extends AuroElement$1 {
31910
32187
  * Sets a custom help text message to display for all validityStates.
31911
32188
  */
31912
32189
  setCustomValidity: {
31913
- type: String
32190
+ type: String,
32191
+ attribute: 'setcustomvalidity'
31914
32192
  },
31915
32193
 
31916
32194
  /**
31917
32195
  * Custom help text message to display when validity = `badInput`.
31918
32196
  */
31919
32197
  setCustomValidityBadInput: {
31920
- type: String
32198
+ type: String,
32199
+ attribute: 'setcustomvaliditybadinput'
31921
32200
  },
31922
32201
 
31923
32202
  /**
31924
32203
  * Custom help text message to display when validity = `customError`.
31925
32204
  */
31926
32205
  setCustomValidityCustomError: {
31927
- type: String
32206
+ type: String,
32207
+ attribute: 'setcustomvaliditycustomerror'
31928
32208
  },
31929
32209
 
31930
32210
  /**
31931
32211
  * Custom help text message to display for the declared element `type` and type validity fails.
31932
32212
  */
31933
32213
  setCustomValidityForType: {
31934
- type: String
32214
+ type: String,
32215
+ attribute: 'setcustomvalidityfortype'
31935
32216
  },
31936
32217
 
31937
32218
  /**
31938
32219
  * Custom help text message to display when validity = `patternMismatch`.
31939
32220
  */
31940
32221
  setCustomValidityPatternMismatch: {
31941
- type: String
32222
+ type: String,
32223
+ attribute: 'setcustomvaliditypatternmismatch'
31942
32224
  },
31943
32225
 
31944
32226
  /**
31945
32227
  * Custom help text message to display when validity = `rangeOverflow`.
31946
32228
  */
31947
32229
  setCustomValidityRangeOverflow: {
31948
- type: String
32230
+ type: String,
32231
+ attribute: 'setcustomvalidityrangeoverflow'
31949
32232
  },
31950
32233
 
31951
32234
  /**
31952
32235
  * Custom help text message to display when validity = `rangeUnderflow`.
31953
32236
  */
31954
32237
  setCustomValidityRangeUnderflow: {
31955
- type: String
32238
+ type: String,
32239
+ attribute: 'setcustomvalidityrangeunderflow'
31956
32240
  },
31957
32241
 
31958
32242
  /**
31959
32243
  * Custom help text message to display when validity = `tooLong`.
31960
32244
  */
31961
32245
  setCustomValidityTooLong: {
31962
- type: String
32246
+ type: String,
32247
+ attribute: 'setcustomvaliditytoolong'
31963
32248
  },
31964
32249
 
31965
32250
  /**
31966
32251
  * Custom help text message to display when validity = `tooShort`.
31967
32252
  */
31968
32253
  setCustomValidityTooShort: {
31969
- type: String
32254
+ type: String,
32255
+ attribute: 'setcustomvaliditytooshort'
31970
32256
  },
31971
32257
 
31972
32258
  /**
31973
32259
  * Custom help text message to display when validity = `valueMissing`.
31974
32260
  */
31975
32261
  setCustomValidityValueMissing: {
31976
- type: String
32262
+ type: String,
32263
+ attribute: 'setcustomvalidityvaluemissing'
31977
32264
  },
31978
32265
 
31979
32266
  /**
31980
32267
  * @ignore
31981
32268
  */
31982
32269
  showPassword: {
31983
- state: true
32270
+ state: true,
32271
+ attribute: false
31984
32272
  },
31985
32273
 
31986
32274
  /**
@@ -31992,7 +32280,8 @@ class BaseInput extends AuroElement$1 {
31992
32280
  },
31993
32281
 
31994
32282
  /**
31995
- * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
32283
+ * An enumerated attribute defines whether the element may be checked for spelling errors. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
32284
+ * @type {'true' | 'false'}
31996
32285
  */
31997
32286
  spellcheck: {
31998
32287
  type: String,
@@ -32023,7 +32312,8 @@ class BaseInput extends AuroElement$1 {
32023
32312
  * Sets validation mode to re-eval with each input.
32024
32313
  */
32025
32314
  validateOnInput: {
32026
- type: Boolean
32315
+ type: Boolean,
32316
+ attribute: 'validateoninput'
32027
32317
  },
32028
32318
 
32029
32319
  /**
@@ -33077,6 +33367,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33077
33367
  super();
33078
33368
 
33079
33369
  this.error = false;
33370
+
33371
+ /** @type {'default' | 'inverse'} */
33080
33372
  this.appearance = "default";
33081
33373
  this.onDark = false;
33082
33374
  this.hasTextContent = false;
@@ -33097,8 +33389,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33097
33389
  return {
33098
33390
 
33099
33391
  /**
33100
- * Defines whether the component will be on lighter or darker backgrounds.
33101
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
33392
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
33393
+ * @type {'default' | 'inverse'}
33102
33394
  * @default 'default'
33103
33395
  */
33104
33396
  appearance: {
@@ -33111,6 +33403,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33111
33403
  */
33112
33404
  slotNodes: {
33113
33405
  type: Boolean,
33406
+ attribute: 'slotnodes',
33114
33407
  },
33115
33408
 
33116
33409
  /**
@@ -33118,6 +33411,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33118
33411
  */
33119
33412
  hasTextContent: {
33120
33413
  type: Boolean,
33414
+ attribute: 'hastextcontent',
33121
33415
  },
33122
33416
 
33123
33417
  /**
@@ -33133,6 +33427,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33133
33427
  */
33134
33428
  onDark: {
33135
33429
  type: Boolean,
33430
+ attribute: 'ondark',
33136
33431
  reflect: true
33137
33432
  }
33138
33433
  };
@@ -33203,7 +33498,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33203
33498
  }
33204
33499
  };
33205
33500
 
33206
- var formkitVersion = '202608261850';
33501
+ var formkitVersion = '202608300032';
33207
33502
 
33208
33503
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
33209
33504
  // See LICENSE in the project root for license information.
@@ -34137,6 +34432,8 @@ class AuroHelpText extends i$1 {
34137
34432
  super();
34138
34433
 
34139
34434
  this.error = false;
34435
+
34436
+ /** @type {'default' | 'inverse'} */
34140
34437
  this.appearance = "default";
34141
34438
  this.onDark = false;
34142
34439
  this.hasTextContent = false;
@@ -34157,8 +34454,8 @@ class AuroHelpText extends i$1 {
34157
34454
  return {
34158
34455
 
34159
34456
  /**
34160
- * Defines whether the component will be on lighter or darker backgrounds.
34161
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
34457
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
34458
+ * @type {'default' | 'inverse'}
34162
34459
  * @default 'default'
34163
34460
  */
34164
34461
  appearance: {
@@ -34171,6 +34468,7 @@ class AuroHelpText extends i$1 {
34171
34468
  */
34172
34469
  slotNodes: {
34173
34470
  type: Boolean,
34471
+ attribute: 'slotnodes',
34174
34472
  },
34175
34473
 
34176
34474
  /**
@@ -34178,6 +34476,7 @@ class AuroHelpText extends i$1 {
34178
34476
  */
34179
34477
  hasTextContent: {
34180
34478
  type: Boolean,
34479
+ attribute: 'hastextcontent',
34181
34480
  },
34182
34481
 
34183
34482
  /**
@@ -34193,6 +34492,7 @@ class AuroHelpText extends i$1 {
34193
34492
  */
34194
34493
  onDark: {
34195
34494
  type: Boolean,
34495
+ attribute: 'ondark',
34196
34496
  reflect: true
34197
34497
  }
34198
34498
  };
@@ -34263,37 +34563,37 @@ class AuroHelpText extends i$1 {
34263
34563
  }
34264
34564
  }
34265
34565
 
34566
+ /**
34567
+ * AuroElement is the shared base class for layout-aware Auro form components.
34568
+ *
34569
+ * It defines the common `layout`, `shape`, `size`, and `ondark` reactive
34570
+ * properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
34571
+ * `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
34572
+ * the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
34573
+ * own default and valid value set for `layout`, `shape`, and `size`.
34574
+ */
34266
34575
  class AuroElement extends i$1 {
34267
34576
  static get properties() {
34268
34577
  return {
34269
34578
 
34270
34579
  /**
34271
- * Defines the language of an element.
34272
- * @default {'default'}
34580
+ * When true, renders the component styled for use on a dark background.
34273
34581
  */
34274
- layout: {
34275
- type: String,
34276
- attribute: "layout",
34277
- reflect: true
34278
- },
34279
-
34280
- shape: {
34281
- type: String,
34282
- attribute: "shape",
34283
- reflect: true
34284
- },
34285
-
34286
- size: {
34287
- type: String,
34288
- attribute: "size",
34289
- reflect: true
34290
- },
34291
-
34292
34582
  onDark: {
34293
34583
  type: Boolean,
34294
34584
  attribute: "ondark",
34295
34585
  reflect: true
34296
34586
  }
34587
+
34588
+ // NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
34589
+ // Their valid value sets differ per component, and the CEM analyzer roots
34590
+ // an inherited property's `type` in the class that declares it — a base
34591
+ // declaration would force every subclass's `@type` to be discarded and
34592
+ // emitted as plain `string`. Each subclass declares its own `layout` /
34593
+ // `shape` / `size` with an exact `@type` union instead. AuroElement still
34594
+ // consumes `this.layout` / `this.shape` / `this.size` in its render and
34595
+ // architecture helpers below (subclasses guarantee the reactive props).
34596
+ // See AlaskaAirlines/discussions#653.
34297
34597
  };
34298
34598
  }
34299
34599
 
@@ -34711,6 +35011,10 @@ const datepickerKeyboardStrategy = {
34711
35011
  * @slot popover_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell popover for the specified date.
34712
35012
  * @csspart dropdown - Use for customizing the style of the dropdown.
34713
35013
  * @csspart trigger - Use for customizing the style of the datepicker trigger.
35014
+ * @csspart wrapper - Use for customizing the style of the trigger content wrapper.
35015
+ * @csspart mainLabel - Use for customizing the style of the main label in the snowflake layout.
35016
+ * @csspart inputSection - Use for customizing the style of the input section within the trigger.
35017
+ * @csspart accentIcon - Use for customizing the style of the leading calendar accent icon.
34714
35018
  * @csspart input - Use for customizing the style of the datepicker inputs.
34715
35019
  * @csspart calendarWrapper - Use for customizing the style of the calendar container.
34716
35020
  * @csspart calendar - Use for customizing the style of the calendar.
@@ -34720,6 +35024,7 @@ const datepickerKeyboardStrategy = {
34720
35024
  * @event auroDatePicker-monthChanged - Notifies that the visible calendar month(s) have changed.
34721
35025
  * @event auroFormElement-validated - Notifies that the component value(s) have been validated.
34722
35026
  * @event auroDatePicker-newSlotContent - Notifies that new slot content has been added to the datepicker.
35027
+ * @event input - Notifies that the datepicker's value has changed.
34723
35028
  */
34724
35029
  class AuroDatePicker extends AuroElement {
34725
35030
  static get shadowRootOptions() {
@@ -34750,6 +35055,7 @@ class AuroDatePicker extends AuroElement {
34750
35055
  // If `calendarStartDate` is set, use that as the central date. Otherwise, use the current date.
34751
35056
  this.calendarRenderUtil.updateCentralDate(this, this.calendarStartDateObject ?? new Date());
34752
35057
 
35058
+ /** @type {'default' | 'inverse'} */
34753
35059
  this.appearance = "default";
34754
35060
  this.touched = false;
34755
35061
  this.disabled = false;
@@ -34763,6 +35069,8 @@ class AuroDatePicker extends AuroElement {
34763
35069
  this.rangeLabelInRange = 'in range';
34764
35070
  this.rangeLabelAfterRange = 'after range';
34765
35071
  this.rangeLabelEndPreview = 'previewing range end';
35072
+
35073
+ /** @type {string[]} */
34766
35074
  this.blackoutDates = [];
34767
35075
  this.blackoutLabel = 'unavailable';
34768
35076
  this.navLabelPrevMonth = 'Previous month';
@@ -34789,6 +35097,7 @@ class AuroDatePicker extends AuroElement {
34789
35097
 
34790
35098
  /**
34791
35099
  * @private
35100
+ * @type {HTMLElement[]}
34792
35101
  */
34793
35102
  this.dateSlotContent = [];
34794
35103
 
@@ -34883,11 +35192,17 @@ class AuroDatePicker extends AuroElement {
34883
35192
  */
34884
35193
  this.handleClearClick = this.handleClearClick.bind(this);
34885
35194
 
34886
- // Layout Config
35195
+ this.initializeArchitectureDefaults();
35196
+ }
35197
+
35198
+ // Defaults for the inherited layout/shape/size architecture props are set in a
35199
+ // helper (not the constructor body) so the CEM analyzer keeps their `@type`
35200
+ // unions instead of inferring `string` from a constructor-literal assignment.
35201
+ // See AlaskaAirlines/discussions#653.
35202
+ initializeArchitectureDefaults() {
34887
35203
  this.layout = 'classic';
34888
35204
  this.shape = 'classic';
34889
35205
  this.size = 'lg';
34890
-
34891
35206
  }
34892
35207
 
34893
35208
  // This function is to define props used within the scope of this component
@@ -34913,6 +35228,7 @@ class AuroDatePicker extends AuroElement {
34913
35228
  */
34914
35229
  autoPlacement: {
34915
35230
  type: Boolean,
35231
+ attribute: "autoplacement",
34916
35232
  reflect: true
34917
35233
  },
34918
35234
 
@@ -34926,9 +35242,11 @@ class AuroDatePicker extends AuroElement {
34926
35242
  * `blackoutDates[i] = ...`, `blackoutDates.splice(...)`) will not
34927
35243
  * invalidate the cache and the new entries will be silently ignored.
34928
35244
  * To update, reassign the property: `el.blackoutDates = [...el.blackoutDates, '2024-12-25']`.
35245
+ * @type {string[]}
34929
35246
  */
34930
35247
  blackoutDates: {
34931
35248
  type: Array,
35249
+ attribute: 'blackoutdates',
34932
35250
  reflect: true
34933
35251
  },
34934
35252
 
@@ -34938,6 +35256,7 @@ class AuroDatePicker extends AuroElement {
34938
35256
  */
34939
35257
  blackoutLabel: {
34940
35258
  type: String,
35259
+ attribute: 'blackoutlabel',
34941
35260
  reflect: true
34942
35261
  },
34943
35262
 
@@ -34946,6 +35265,7 @@ class AuroDatePicker extends AuroElement {
34946
35265
  */
34947
35266
  calendarEndDate: {
34948
35267
  type: String,
35268
+ attribute: 'calendarenddate',
34949
35269
  reflect: true
34950
35270
  },
34951
35271
 
@@ -34955,6 +35275,7 @@ class AuroDatePicker extends AuroElement {
34955
35275
  */
34956
35276
  calendarGridLabel: {
34957
35277
  type: String,
35278
+ attribute: 'calendargridlabel',
34958
35279
  reflect: true
34959
35280
  },
34960
35281
 
@@ -34963,6 +35284,7 @@ class AuroDatePicker extends AuroElement {
34963
35284
  */
34964
35285
  calendarFocusDate: {
34965
35286
  type: String,
35287
+ attribute: 'calendarfocusdate',
34966
35288
  reflect: true
34967
35289
  },
34968
35290
 
@@ -34971,6 +35293,7 @@ class AuroDatePicker extends AuroElement {
34971
35293
  */
34972
35294
  calendarStartDate: {
34973
35295
  type: String,
35296
+ attribute: 'calendarstartdate',
34974
35297
  reflect: true
34975
35298
  },
34976
35299
 
@@ -34978,7 +35301,8 @@ class AuroDatePicker extends AuroElement {
34978
35301
  * The date that determines the currently visible month.
34979
35302
  */
34980
35303
  centralDate: {
34981
- type: String
35304
+ type: String,
35305
+ attribute: 'centraldate'
34982
35306
  },
34983
35307
 
34984
35308
  /**
@@ -34994,6 +35318,7 @@ class AuroDatePicker extends AuroElement {
34994
35318
  */
34995
35319
  dvInputOnly: {
34996
35320
  type: Boolean,
35321
+ attribute: 'dvinputonly',
34997
35322
  reflect: true
34998
35323
  },
34999
35324
 
@@ -35031,6 +35356,7 @@ class AuroDatePicker extends AuroElement {
35031
35356
  */
35032
35357
  fullscreenBreakpoint: {
35033
35358
  type: String,
35359
+ attribute: "fullscreenbreakpoint",
35034
35360
  reflect: true
35035
35361
  },
35036
35362
 
@@ -35039,11 +35365,13 @@ class AuroDatePicker extends AuroElement {
35039
35365
  */
35040
35366
  hasAllValues: {
35041
35367
  type: Boolean,
35368
+ attribute: false,
35042
35369
  reflect: false
35043
35370
  },
35044
35371
 
35045
35372
  hasFocus: {
35046
35373
  type: Boolean,
35374
+ attribute: false,
35047
35375
  reflect: false,
35048
35376
  },
35049
35377
 
@@ -35052,10 +35380,14 @@ class AuroDatePicker extends AuroElement {
35052
35380
  */
35053
35381
  hasValue: {
35054
35382
  type: Boolean,
35383
+ attribute: false,
35055
35384
  reflect: false,
35056
35385
  },
35057
35386
 
35058
- /** Exposes inputmode attribute for input. */
35387
+ /**
35388
+ * Sets the `inputmode` attribute on the underlying input, hinting at the virtual keyboard to display.
35389
+ * @type {'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'}
35390
+ */
35059
35391
  inputmode: {
35060
35392
  type: String,
35061
35393
  attribute: true,
@@ -35068,6 +35400,7 @@ class AuroDatePicker extends AuroElement {
35068
35400
  */
35069
35401
  largeFullscreenHeadline: {
35070
35402
  type: Boolean,
35403
+ attribute: 'largefullscreenheadline',
35071
35404
  reflect: true
35072
35405
  },
35073
35406
 
@@ -35078,6 +35411,29 @@ class AuroDatePicker extends AuroElement {
35078
35411
  */
35079
35412
  layout: {
35080
35413
  type: String,
35414
+ attribute: "layout",
35415
+ reflect: true
35416
+ },
35417
+
35418
+ /**
35419
+ * Sets the shape of the datepicker.
35420
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
35421
+ * @default 'classic'
35422
+ */
35423
+ shape: {
35424
+ type: String,
35425
+ attribute: "shape",
35426
+ reflect: true
35427
+ },
35428
+
35429
+ /**
35430
+ * Sets the size of the datepicker.
35431
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
35432
+ * @default 'lg'
35433
+ */
35434
+ size: {
35435
+ type: String,
35436
+ attribute: "size",
35081
35437
  reflect: true
35082
35438
  },
35083
35439
 
@@ -35086,6 +35442,7 @@ class AuroDatePicker extends AuroElement {
35086
35442
  */
35087
35443
  maxDate: {
35088
35444
  type: String,
35445
+ attribute: 'maxdate',
35089
35446
  reflect: true
35090
35447
  },
35091
35448
 
@@ -35094,22 +35451,26 @@ class AuroDatePicker extends AuroElement {
35094
35451
  */
35095
35452
  minDate: {
35096
35453
  type: String,
35454
+ attribute: 'mindate',
35097
35455
  reflect: true
35098
35456
  },
35099
35457
 
35100
35458
  /**
35101
- * @private
35459
+ * When set, the calendar displays the month before the year in the header.
35102
35460
  */
35103
35461
  monthFirst: {
35104
- type: Boolean
35462
+ type: Boolean,
35463
+ attribute: 'monthfirst'
35105
35464
  },
35106
35465
 
35107
35466
  /**
35108
35467
  * Names of all 12 months to render in the calendar.
35109
35468
  * When omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`).
35469
+ * @type {string[]}
35110
35470
  */
35111
35471
  monthNames: {
35112
- type: Array
35472
+ type: Array,
35473
+ attribute: 'monthnames'
35113
35474
  },
35114
35475
 
35115
35476
  /**
@@ -35118,6 +35479,7 @@ class AuroDatePicker extends AuroElement {
35118
35479
  */
35119
35480
  navLabelNextMonth: {
35120
35481
  type: String,
35482
+ attribute: 'navlabelnextmonth',
35121
35483
  reflect: true
35122
35484
  },
35123
35485
 
@@ -35127,6 +35489,7 @@ class AuroDatePicker extends AuroElement {
35127
35489
  */
35128
35490
  navLabelPrevMonth: {
35129
35491
  type: String,
35492
+ attribute: 'navlabelprevmonth',
35130
35493
  reflect: true
35131
35494
  },
35132
35495
 
@@ -35136,6 +35499,7 @@ class AuroDatePicker extends AuroElement {
35136
35499
  */
35137
35500
  noFlip: {
35138
35501
  type: Boolean,
35502
+ attribute: 'noflip',
35139
35503
  reflect: true
35140
35504
  },
35141
35505
 
@@ -35144,6 +35508,7 @@ class AuroDatePicker extends AuroElement {
35144
35508
  */
35145
35509
  noValidate: {
35146
35510
  type: Boolean,
35511
+ attribute: 'novalidate',
35147
35512
  reflect: true
35148
35513
  },
35149
35514
 
@@ -35161,6 +35526,7 @@ class AuroDatePicker extends AuroElement {
35161
35526
  */
35162
35527
  onDark: {
35163
35528
  type: Boolean,
35529
+ attribute: 'ondark',
35164
35530
  reflect: true
35165
35531
  },
35166
35532
 
@@ -35179,6 +35545,7 @@ class AuroDatePicker extends AuroElement {
35179
35545
  */
35180
35546
  placeholderEndDate: {
35181
35547
  type: String,
35548
+ attribute: 'placeholderenddate',
35182
35549
  reflect: true
35183
35550
  },
35184
35551
 
@@ -35209,6 +35576,7 @@ class AuroDatePicker extends AuroElement {
35209
35576
  */
35210
35577
  rangeLabelAfterRange: {
35211
35578
  type: String,
35579
+ attribute: 'rangelabelafterrange',
35212
35580
  reflect: true
35213
35581
  },
35214
35582
 
@@ -35218,6 +35586,7 @@ class AuroDatePicker extends AuroElement {
35218
35586
  */
35219
35587
  rangeLabelBeforeRange: {
35220
35588
  type: String,
35589
+ attribute: 'rangelabelbeforerange',
35221
35590
  reflect: true
35222
35591
  },
35223
35592
 
@@ -35227,6 +35596,7 @@ class AuroDatePicker extends AuroElement {
35227
35596
  */
35228
35597
  rangeLabelEnd: {
35229
35598
  type: String,
35599
+ attribute: 'rangelabelend',
35230
35600
  reflect: true
35231
35601
  },
35232
35602
 
@@ -35238,6 +35608,7 @@ class AuroDatePicker extends AuroElement {
35238
35608
  */
35239
35609
  rangeLabelEndPreview: {
35240
35610
  type: String,
35611
+ attribute: 'rangelabelendpreview',
35241
35612
  reflect: true
35242
35613
  },
35243
35614
 
@@ -35247,6 +35618,7 @@ class AuroDatePicker extends AuroElement {
35247
35618
  */
35248
35619
  rangeLabelInRange: {
35249
35620
  type: String,
35621
+ attribute: 'rangelabelinrange',
35250
35622
  reflect: true
35251
35623
  },
35252
35624
 
@@ -35256,15 +35628,18 @@ class AuroDatePicker extends AuroElement {
35256
35628
  */
35257
35629
  rangeLabelStart: {
35258
35630
  type: String,
35631
+ attribute: 'rangelabelstart',
35259
35632
  reflect: true
35260
35633
  },
35261
35634
 
35262
35635
  /**
35263
35636
  * Dates that the user should have for reference as part of their decision-making when selecting a date.
35264
35637
  * This should be a JSON string array of ISO date strings (`YYYY-MM-DD`).
35638
+ * @type {string[]}
35265
35639
  */
35266
35640
  referenceDates: {
35267
35641
  type: Array,
35642
+ attribute: 'referencedates',
35268
35643
  reflect: true
35269
35644
  },
35270
35645
 
@@ -35280,7 +35655,8 @@ class AuroDatePicker extends AuroElement {
35280
35655
  * Sets a custom help text message to display for all validityStates.
35281
35656
  */
35282
35657
  setCustomValidity: {
35283
- type: String
35658
+ type: String,
35659
+ attribute: 'setcustomvalidity'
35284
35660
  },
35285
35661
 
35286
35662
  /**
@@ -35288,28 +35664,32 @@ class AuroDatePicker extends AuroElement {
35288
35664
  * Also used as the validation message when a blackout date is typed into the input.
35289
35665
  */
35290
35666
  setCustomValidityCustomError: {
35291
- type: String
35667
+ type: String,
35668
+ attribute: 'setcustomvaliditycustomerror'
35292
35669
  },
35293
35670
 
35294
35671
  /**
35295
35672
  * Custom help text message to display when validity = `rangeOverflow`.
35296
35673
  */
35297
35674
  setCustomValidityRangeOverflow: {
35298
- type: String
35675
+ type: String,
35676
+ attribute: 'setcustomvalidityrangeoverflow'
35299
35677
  },
35300
35678
 
35301
35679
  /**
35302
35680
  * Custom help text message to display when validity = `rangeUnderflow`.
35303
35681
  */
35304
35682
  setCustomValidityRangeUnderflow: {
35305
- type: String
35683
+ type: String,
35684
+ attribute: 'setcustomvalidityrangeunderflow'
35306
35685
  },
35307
35686
 
35308
35687
  /**
35309
35688
  * Custom help text message to display when validity = `valueMissing`.
35310
35689
  */
35311
35690
  setCustomValidityValueMissing: {
35312
- type: String
35691
+ type: String,
35692
+ attribute: 'setcustomvalidityvaluemissing'
35313
35693
  },
35314
35694
 
35315
35695
  /**
@@ -35357,7 +35737,8 @@ class AuroDatePicker extends AuroElement {
35357
35737
  * Value selected for the second datepicker when using date range.
35358
35738
  */
35359
35739
  valueEnd: {
35360
- type: String
35740
+ type: String,
35741
+ attribute: 'valueend'
35361
35742
  }
35362
35743
  };
35363
35744
  }