@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.0 → 0.0.0-pr1628.10
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.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/accessibility.md +2 -2
- package/components/checkbox/demo/api.md +17 -17
- package/components/checkbox/demo/customize.md +16 -16
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/design.md +24 -24
- package/components/checkbox/demo/getting-started.md +33 -27
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/accessibility.md +1 -1
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +13 -12
- package/components/combobox/demo/customize.min.js +79 -59
- package/components/combobox/demo/getting-started.md +4 -4
- package/components/combobox/demo/getting-started.min.js +79 -59
- package/components/combobox/demo/index.md +2 -2
- package/components/combobox/demo/index.min.js +79 -59
- package/components/combobox/demo/voiceover.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +35 -31
- package/components/combobox/dist/index.js +68 -49
- package/components/combobox/dist/registered.js +68 -49
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/api.md +18 -18
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +28 -28
- package/components/counter/demo/design.md +1 -1
- package/components/counter/demo/getting-started.md +29 -2
- package/components/counter/demo/getting-started.min.js +28 -28
- package/components/counter/demo/index.min.js +28 -28
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +13 -14
- package/components/counter/dist/auro-counter.d.ts +1 -1
- package/components/counter/dist/index.js +28 -28
- package/components/counter/dist/registered.js +28 -28
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +5 -5
- package/components/datepicker/demo/api.md +3 -3
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +12 -12
- package/components/datepicker/demo/customize.min.js +186 -132
- package/components/datepicker/demo/design.md +11 -11
- package/components/datepicker/demo/getting-started.md +4 -4
- package/components/datepicker/demo/getting-started.min.js +186 -132
- package/components/datepicker/demo/index.md +5 -5
- package/components/datepicker/demo/index.min.js +186 -132
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +4 -4
- package/components/datepicker/demo/why-datepicker.md +3 -3
- package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
- package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
- package/components/datepicker/dist/auro-calendar.d.ts +44 -43
- package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
- package/components/datepicker/dist/index.js +186 -132
- package/components/datepicker/dist/registered.js +186 -132
- package/components/datepicker/dist/utilities.d.ts +4 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
- package/components/dropdown/demo/api.md +7 -7
- package/components/dropdown/demo/css-only.md +2 -2
- package/components/dropdown/demo/customize.md +1 -1
- package/components/dropdown/demo/customize.min.js +10 -9
- package/components/dropdown/demo/design.md +4 -4
- package/components/dropdown/demo/getting-started.min.js +31 -16
- package/components/dropdown/demo/index.min.js +10 -9
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/demo/why-dropdown.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
- package/components/dropdown/dist/index.js +10 -9
- package/components/dropdown/dist/registered.js +10 -9
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +7 -7
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +345 -257
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +345 -257
- package/components/form/demo/index.md +2 -2
- package/components/form/demo/index.min.js +345 -257
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +343 -255
- package/components/form/demo/voiceover.md +3 -3
- package/components/form/demo/why-form.md +1 -1
- package/components/form/dist/auro-form.d.ts +2 -2
- package/components/form/dist/index.js +2 -2
- package/components/form/dist/registered.js +2 -2
- package/components/input/demo/api.md +58 -58
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +11 -11
- package/components/input/demo/customize.min.js +21 -7
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +5 -5
- package/components/input/demo/getting-started.min.js +21 -7
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +21 -7
- package/components/input/demo/why-input.md +3 -3
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +6 -5
- package/components/input/dist/index.js +21 -7
- package/components/input/dist/registered.js +21 -7
- package/components/input/dist/utilities.d.ts +11 -0
- package/components/menu/demo/accessibility.md +1 -1
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/customize.md +1 -1
- package/components/menu/demo/design.md +1 -1
- package/components/menu/demo/getting-started.md +3 -3
- package/components/menu/demo/index.min.js +11 -10
- package/components/menu/demo/keyboard-behavior.md +1 -1
- package/components/menu/demo/voiceover.md +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +10 -9
- package/components/menu/dist/auro-menuoption.d.ts +1 -1
- package/components/menu/dist/index.js +11 -10
- package/components/menu/dist/registered.js +11 -10
- package/components/radio/demo/accessibility.md +1 -1
- package/components/radio/demo/api.md +10 -10
- package/components/radio/demo/customize.md +15 -5
- package/components/radio/demo/customize.min.js +10 -12
- package/components/radio/demo/design.md +1 -1
- package/components/radio/demo/getting-started.md +6 -6
- package/components/radio/demo/getting-started.min.js +10 -12
- package/components/radio/demo/index.md +1 -1
- package/components/radio/demo/index.min.js +10 -12
- package/components/radio/demo/keyboard-behavior.md +1 -1
- package/components/radio/demo/voiceover.md +1 -1
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +6 -8
- package/components/radio/dist/auro-radio.d.ts +3 -3
- package/components/radio/dist/index.js +10 -12
- package/components/radio/dist/registered.js +10 -12
- package/components/select/demo/api.md +1 -1
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +27 -24
- package/components/select/demo/getting-started.min.js +27 -24
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +27 -24
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +16 -14
- package/components/select/dist/registered.js +16 -14
- package/custom-elements.json +159 -143
- package/package.json +1 -1
|
@@ -10282,6 +10282,9 @@ function cleanEscapedString$5(input) {
|
|
|
10282
10282
|
return input.match(escapedStringRegExp$5)[1].replace(doubleQuoteRegExp$5, "'");
|
|
10283
10283
|
}
|
|
10284
10284
|
|
|
10285
|
+
/**
|
|
10286
|
+
* Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
|
|
10287
|
+
*/
|
|
10285
10288
|
let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
10286
10289
|
|
|
10287
10290
|
/**
|
|
@@ -10301,7 +10304,17 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
10301
10304
|
} else {
|
|
10302
10305
|
this.locale = 'en-US';
|
|
10303
10306
|
}
|
|
10307
|
+
|
|
10308
|
+
/**
|
|
10309
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
10310
|
+
* @type {string|undefined}
|
|
10311
|
+
*/
|
|
10304
10312
|
this.overrideFormat = config.format;
|
|
10313
|
+
|
|
10314
|
+
/**
|
|
10315
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
10316
|
+
* @type {Intl.DateTimeFormat}
|
|
10317
|
+
*/
|
|
10305
10318
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
10306
10319
|
|
|
10307
10320
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -10732,7 +10745,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10732
10745
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
10733
10746
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
10734
10747
|
/**
|
|
10735
|
-
*
|
|
10748
|
+
* Gets the options Lit uses to create the shadow root.
|
|
10736
10749
|
* @internal
|
|
10737
10750
|
*/
|
|
10738
10751
|
static get shadowRootOptions() {
|
|
@@ -10892,8 +10905,9 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10892
10905
|
},
|
|
10893
10906
|
|
|
10894
10907
|
/**
|
|
10895
|
-
* Sets the shape of the field's border.
|
|
10896
|
-
* and `pill
|
|
10908
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
10909
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
10910
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
10897
10911
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
10898
10912
|
* @default 'classic'
|
|
10899
10913
|
* @category ui
|
|
@@ -10905,8 +10919,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10905
10919
|
},
|
|
10906
10920
|
|
|
10907
10921
|
/**
|
|
10908
|
-
* Sets the field's
|
|
10909
|
-
* emphasized layouts support only `xl`.
|
|
10922
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
10923
|
+
* and the emphasized layouts support only `xl`.
|
|
10910
10924
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
10911
10925
|
* @default 'lg'
|
|
10912
10926
|
* @category ui
|
|
@@ -12702,7 +12716,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12702
12716
|
}
|
|
12703
12717
|
};
|
|
12704
12718
|
|
|
12705
|
-
var formkitVersion$8 = '
|
|
12719
|
+
var formkitVersion$8 = '202611091558';
|
|
12706
12720
|
|
|
12707
12721
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12708
12722
|
// See LICENSE in the project root for license information.
|
|
@@ -13161,7 +13175,7 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
13161
13175
|
|
|
13162
13176
|
/**
|
|
13163
13177
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
13164
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
13178
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
13165
13179
|
* @private
|
|
13166
13180
|
* @returns {string}
|
|
13167
13181
|
*/
|
|
@@ -23816,6 +23830,9 @@ try {
|
|
|
23816
23830
|
globalThis.IMask = IMask$1;
|
|
23817
23831
|
} catch {}
|
|
23818
23832
|
|
|
23833
|
+
/**
|
|
23834
|
+
* Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
|
|
23835
|
+
*/
|
|
23819
23836
|
let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
23820
23837
|
|
|
23821
23838
|
/**
|
|
@@ -23835,7 +23852,17 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
23835
23852
|
} else {
|
|
23836
23853
|
this.locale = 'en-US';
|
|
23837
23854
|
}
|
|
23855
|
+
|
|
23856
|
+
/**
|
|
23857
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
23858
|
+
* @type {string|undefined}
|
|
23859
|
+
*/
|
|
23838
23860
|
this.overrideFormat = config.format;
|
|
23861
|
+
|
|
23862
|
+
/**
|
|
23863
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
23864
|
+
* @type {Intl.DateTimeFormat}
|
|
23865
|
+
*/
|
|
23839
23866
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
23840
23867
|
|
|
23841
23868
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -24149,6 +24176,9 @@ function getDateFormatFromLocale$1 (locale) {
|
|
|
24149
24176
|
/* eslint-disable array-element-newline, dot-location */
|
|
24150
24177
|
|
|
24151
24178
|
|
|
24179
|
+
/**
|
|
24180
|
+
* Date helpers the datepicker and its calendar share, such as finding the first day of a month and counting the months between two dates.
|
|
24181
|
+
*/
|
|
24152
24182
|
class AuroDatepickerUtilities {
|
|
24153
24183
|
|
|
24154
24184
|
/**
|
|
@@ -24189,7 +24219,7 @@ class AuroDatepickerUtilities {
|
|
|
24189
24219
|
}
|
|
24190
24220
|
|
|
24191
24221
|
/**
|
|
24192
|
-
*
|
|
24222
|
+
* Checks whether two dates are the same moment in time.
|
|
24193
24223
|
* @private
|
|
24194
24224
|
* @param {Object} date1 - The first date to compare.
|
|
24195
24225
|
* @param {Object} date2 - The second date to compare.
|
|
@@ -24200,15 +24230,23 @@ class AuroDatepickerUtilities {
|
|
|
24200
24230
|
}
|
|
24201
24231
|
}
|
|
24202
24232
|
|
|
24233
|
+
/**
|
|
24234
|
+
* Helpers the datepicker and its calendar use to set the month the calendar shows, and to choose and render the calendar's months.
|
|
24235
|
+
*/
|
|
24203
24236
|
class UtilitiesCalendarRender {
|
|
24204
24237
|
constructor() {
|
|
24238
|
+
|
|
24239
|
+
/**
|
|
24240
|
+
* The date helpers these methods use.
|
|
24241
|
+
* @private
|
|
24242
|
+
*/
|
|
24205
24243
|
this.util = new AuroDatepickerUtilities();
|
|
24206
24244
|
}
|
|
24207
24245
|
|
|
24208
24246
|
/**
|
|
24209
24247
|
* Sets `centralDate` to the first day of the date's month, when the date is valid.
|
|
24210
|
-
* @param {Object} elem - The element to set
|
|
24211
|
-
* @param {
|
|
24248
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
24249
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
24212
24250
|
* @private
|
|
24213
24251
|
*/
|
|
24214
24252
|
updateCentralDate(elem, date) {
|
|
@@ -24334,12 +24372,12 @@ class UtilitiesCalendarRender {
|
|
|
24334
24372
|
}
|
|
24335
24373
|
|
|
24336
24374
|
/**
|
|
24337
|
-
* Renders
|
|
24375
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
24338
24376
|
* @private
|
|
24339
24377
|
* @param {Object} elem - The auro-calendar element.
|
|
24340
24378
|
* @param {Number} month - The month the calendar displays.
|
|
24341
24379
|
* @param {Number} year - The year the calendar displays.
|
|
24342
|
-
* @returns {Object} The auro-calendar-month
|
|
24380
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
24343
24381
|
*/
|
|
24344
24382
|
renderCalendar(elem, month, year) {
|
|
24345
24383
|
return b$b`
|
|
@@ -24635,12 +24673,12 @@ class RangeDatepickerCalendar extends i$2 {
|
|
|
24635
24673
|
super();
|
|
24636
24674
|
|
|
24637
24675
|
/**
|
|
24638
|
-
*
|
|
24676
|
+
* Sets the chosen date, or the start date of a range, as a Unix timestamp in seconds.
|
|
24639
24677
|
*/
|
|
24640
24678
|
this.dateFrom = null;
|
|
24641
24679
|
|
|
24642
24680
|
/**
|
|
24643
|
-
*
|
|
24681
|
+
* Sets the end date of a range, as a Unix timestamp in seconds.
|
|
24644
24682
|
*/
|
|
24645
24683
|
this.dateTo = null;
|
|
24646
24684
|
this.hoveredDate = null;
|
|
@@ -24654,12 +24692,12 @@ class RangeDatepickerCalendar extends i$2 {
|
|
|
24654
24692
|
this.disabledDays = [];
|
|
24655
24693
|
|
|
24656
24694
|
/**
|
|
24657
|
-
*
|
|
24695
|
+
* Sets the latest date people can choose, as a Unix timestamp in seconds.
|
|
24658
24696
|
*/
|
|
24659
24697
|
this.max = null;
|
|
24660
24698
|
|
|
24661
24699
|
/**
|
|
24662
|
-
*
|
|
24700
|
+
* Sets the earliest date people can choose, as a Unix timestamp in seconds.
|
|
24663
24701
|
*/
|
|
24664
24702
|
this.min = null;
|
|
24665
24703
|
this.yearsList = [];
|
|
@@ -25461,7 +25499,9 @@ class AuroCalendarCell extends i$2 {
|
|
|
25461
25499
|
}
|
|
25462
25500
|
|
|
25463
25501
|
/**
|
|
25464
|
-
*
|
|
25502
|
+
* Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
|
|
25503
|
+
* Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
|
|
25504
|
+
* `calendar-cell-activate` so the calendar makes the cell the active cell.
|
|
25465
25505
|
* @private
|
|
25466
25506
|
* @returns {void}
|
|
25467
25507
|
*/
|
|
@@ -25481,9 +25521,9 @@ class AuroCalendarCell extends i$2 {
|
|
|
25481
25521
|
}
|
|
25482
25522
|
|
|
25483
25523
|
/**
|
|
25484
|
-
*
|
|
25485
|
-
*
|
|
25486
|
-
*
|
|
25524
|
+
* Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
|
|
25525
|
+
* Doesn't set any reactive properties, because the calendar updates the range preview
|
|
25526
|
+
* directly to avoid re-rendering every cell.
|
|
25487
25527
|
* @private
|
|
25488
25528
|
* @returns {void}
|
|
25489
25529
|
*/
|
|
@@ -25494,10 +25534,8 @@ class AuroCalendarCell extends i$2 {
|
|
|
25494
25534
|
}
|
|
25495
25535
|
|
|
25496
25536
|
/**
|
|
25497
|
-
*
|
|
25498
|
-
*
|
|
25499
|
-
* announcements and range preview updates without triggering
|
|
25500
|
-
* any Lit lifecycle updates.
|
|
25537
|
+
* Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
|
|
25538
|
+
* announce the date to screen readers and update the range preview without re-rendering the cell.
|
|
25501
25539
|
* @private
|
|
25502
25540
|
* @returns {void}
|
|
25503
25541
|
*/
|
|
@@ -25510,12 +25548,12 @@ class AuroCalendarCell extends i$2 {
|
|
|
25510
25548
|
}
|
|
25511
25549
|
|
|
25512
25550
|
/**
|
|
25513
|
-
* Checks
|
|
25514
|
-
* Out-of-range cells
|
|
25551
|
+
* Checks whether the cell's date is earlier than `min` or later than `max`.
|
|
25552
|
+
* Out-of-range cells aren't focusable and are hidden from screen readers.
|
|
25515
25553
|
* @private
|
|
25516
|
-
* @param {Object} day -
|
|
25517
|
-
* @param {Number} min - The
|
|
25518
|
-
* @param {Number} max - The
|
|
25554
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
25555
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
25556
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
25519
25557
|
* @returns {Boolean} True if the date is out of range; false otherwise.
|
|
25520
25558
|
*/
|
|
25521
25559
|
isOutOfRange(day, min, max) {
|
|
@@ -25566,16 +25604,15 @@ class AuroCalendarCell extends i$2 {
|
|
|
25566
25604
|
}
|
|
25567
25605
|
|
|
25568
25606
|
/**
|
|
25569
|
-
* Checks
|
|
25570
|
-
*
|
|
25571
|
-
*
|
|
25572
|
-
* disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
|
|
25607
|
+
* Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
|
|
25608
|
+
* deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
|
|
25609
|
+
* it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
|
|
25573
25610
|
* @private
|
|
25574
|
-
* @param {Object} day -
|
|
25575
|
-
* @param {Number} min - The
|
|
25576
|
-
* @param {Number} max - The
|
|
25577
|
-
* @param {Array} disabledDays -
|
|
25578
|
-
* @returns {Boolean} True if the date is
|
|
25611
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
25612
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
25613
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
25614
|
+
* @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
|
|
25615
|
+
* @returns {Boolean} True if the date is turned off; false otherwise.
|
|
25579
25616
|
*/
|
|
25580
25617
|
isEnabled(day, min, max, disabledDays) {
|
|
25581
25618
|
this.removeAttribute('disabled');
|
|
@@ -25590,9 +25627,9 @@ class AuroCalendarCell extends i$2 {
|
|
|
25590
25627
|
}
|
|
25591
25628
|
|
|
25592
25629
|
/**
|
|
25593
|
-
* Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
25630
|
+
* Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
|
|
25594
25631
|
* @private
|
|
25595
|
-
* @returns {String} The unique cell ID.
|
|
25632
|
+
* @returns {String} The unique cell ID, or an empty string when the cell has no date.
|
|
25596
25633
|
*/
|
|
25597
25634
|
getCellId() {
|
|
25598
25635
|
if (!this.day || !this.day.date) return '';
|
|
@@ -25604,10 +25641,10 @@ class AuroCalendarCell extends i$2 {
|
|
|
25604
25641
|
}
|
|
25605
25642
|
|
|
25606
25643
|
/**
|
|
25607
|
-
* Generates
|
|
25608
|
-
*
|
|
25644
|
+
* Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
|
|
25645
|
+
* Adds the date slot and popover content, the range position, and the blackout label.
|
|
25609
25646
|
* @private
|
|
25610
|
-
* @returns {String} The aria-label string.
|
|
25647
|
+
* @returns {String} The `aria-label` text, or an empty string when the cell has no date.
|
|
25611
25648
|
*/
|
|
25612
25649
|
getAriaLabel() {
|
|
25613
25650
|
if (!this.day || this.day.date === undefined) return '';
|
|
@@ -25779,10 +25816,10 @@ class AuroCalendarCell extends i$2 {
|
|
|
25779
25816
|
}
|
|
25780
25817
|
|
|
25781
25818
|
/**
|
|
25782
|
-
*
|
|
25819
|
+
* Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
|
|
25783
25820
|
* @private
|
|
25784
|
-
* @param {Number} date - The date
|
|
25785
|
-
* @returns {String} The
|
|
25821
|
+
* @param {Number} date - The date, as a Unix timestamp in seconds.
|
|
25822
|
+
* @returns {String} The formatted date, or an empty string when `date` is undefined.
|
|
25786
25823
|
*/
|
|
25787
25824
|
getTitle(date) {
|
|
25788
25825
|
if (date === undefined) {
|
|
@@ -25829,7 +25866,7 @@ class AuroCalendarCell extends i$2 {
|
|
|
25829
25866
|
}
|
|
25830
25867
|
|
|
25831
25868
|
/**
|
|
25832
|
-
*
|
|
25869
|
+
* Removes the cell's copied slot content, then copies in the `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` content for the cell's date from `auro-datepicker`.
|
|
25833
25870
|
* @private
|
|
25834
25871
|
* @returns {void}
|
|
25835
25872
|
*/
|
|
@@ -25991,8 +26028,8 @@ class AuroCalendarCell extends i$2 {
|
|
|
25991
26028
|
}
|
|
25992
26029
|
|
|
25993
26030
|
/**
|
|
25994
|
-
* Sets
|
|
25995
|
-
* and blackout
|
|
26031
|
+
* Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
|
|
26032
|
+
* whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
|
|
25996
26033
|
* @private
|
|
25997
26034
|
* @returns {void}
|
|
25998
26035
|
*/
|
|
@@ -26234,8 +26271,8 @@ const getMonthNamesFromLocale = (locale) => {
|
|
|
26234
26271
|
* Gets the localized names of the days of the week, starting from Sunday, in the given style.
|
|
26235
26272
|
* Uses UTC dates to avoid DST-related day drift across timezones.
|
|
26236
26273
|
* @private
|
|
26237
|
-
* @param {String} locale - The BCP 47 language tag for localization, such as
|
|
26238
|
-
* @param {String} weekday - The style of the weekday name:
|
|
26274
|
+
* @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
|
|
26275
|
+
* @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
|
|
26239
26276
|
* @returns {Array} An array of seven localized weekday names, starting from Sunday.
|
|
26240
26277
|
*/
|
|
26241
26278
|
const getWeekdayNames = (locale, weekday) => {
|
|
@@ -26368,10 +26405,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
26368
26405
|
}
|
|
26369
26406
|
|
|
26370
26407
|
/**
|
|
26371
|
-
* Renders a day-of-week column header that shows the
|
|
26408
|
+
* Renders a day-of-week column header that shows the narrow day name, such as "S" for Sunday in `en-US`, and gives screen readers the full name with `aria-label`.
|
|
26372
26409
|
* @private
|
|
26373
|
-
* @param {String} dayOfWeek - The
|
|
26374
|
-
* @param {Number} index - The index in
|
|
26410
|
+
* @param {String} dayOfWeek - The narrow day name, such as "S".
|
|
26411
|
+
* @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
|
|
26375
26412
|
* @returns {Object} The header HTML.
|
|
26376
26413
|
*/
|
|
26377
26414
|
renderDayOfWeek(dayOfWeek, index) {
|
|
@@ -26394,9 +26431,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
26394
26431
|
}
|
|
26395
26432
|
|
|
26396
26433
|
/**
|
|
26397
|
-
*
|
|
26398
|
-
*
|
|
26399
|
-
* the
|
|
26434
|
+
* Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
|
|
26435
|
+
* instead of setting the base class's reactive `hoveredDate`, so the calendar can update
|
|
26436
|
+
* the range preview without re-rendering.
|
|
26400
26437
|
* @private
|
|
26401
26438
|
* @param {CustomEvent} event - The date-is-hovered event from a cell.
|
|
26402
26439
|
* @returns {void}
|
|
@@ -26408,8 +26445,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
26408
26445
|
}
|
|
26409
26446
|
|
|
26410
26447
|
/**
|
|
26411
|
-
*
|
|
26412
|
-
* so the
|
|
26448
|
+
* Called when the pointer leaves the month's date grid. Fires a bubbling
|
|
26449
|
+
* `calendar-month-mouseleave` event so the calendar can clear the range preview.
|
|
26413
26450
|
* @private
|
|
26414
26451
|
* @returns {void}
|
|
26415
26452
|
*/
|
|
@@ -26510,37 +26547,37 @@ class RangeDatepicker extends i$2 {
|
|
|
26510
26547
|
super();
|
|
26511
26548
|
|
|
26512
26549
|
/**
|
|
26513
|
-
*
|
|
26550
|
+
* Sets dates people can't select, as Unix timestamps in seconds.
|
|
26514
26551
|
*/
|
|
26515
26552
|
this.disabledDays = [];
|
|
26516
26553
|
|
|
26517
26554
|
/**
|
|
26518
|
-
*
|
|
26555
|
+
* Shows the previous and next month buttons on every month, and lets each month change on its own. It doesn't currently show a control for choosing the year.
|
|
26519
26556
|
*/
|
|
26520
26557
|
this.enableYearChange = false;
|
|
26521
26558
|
|
|
26522
26559
|
/**
|
|
26523
|
-
*
|
|
26560
|
+
* Shows one month at a time, even on screens wider than 650 pixels.
|
|
26524
26561
|
*/
|
|
26525
26562
|
this.forceNarrow = false;
|
|
26526
26563
|
|
|
26527
26564
|
/**
|
|
26528
|
-
*
|
|
26565
|
+
* Sets the date-fns locale object used for the month and weekday names, such as `enUS`. Uses `enUS` when not set.
|
|
26529
26566
|
*/
|
|
26530
26567
|
this.locale = null;
|
|
26531
26568
|
|
|
26532
26569
|
/**
|
|
26533
|
-
*
|
|
26570
|
+
* Sets the latest date people can choose, as a Unix timestamp in seconds.
|
|
26534
26571
|
*/
|
|
26535
26572
|
this.max = '8640000000000';
|
|
26536
26573
|
|
|
26537
26574
|
/**
|
|
26538
|
-
*
|
|
26575
|
+
* Sets the earliest date people can choose, as a Unix timestamp in seconds.
|
|
26539
26576
|
*/
|
|
26540
26577
|
this.min = '-8640000000000';
|
|
26541
26578
|
|
|
26542
26579
|
/**
|
|
26543
|
-
*
|
|
26580
|
+
* Lets people choose only one date instead of a start date and an end date.
|
|
26544
26581
|
*/
|
|
26545
26582
|
this.noRange = false;
|
|
26546
26583
|
this.dateFrom = null;
|
|
@@ -26756,8 +26793,16 @@ var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Direct
|
|
|
26756
26793
|
|
|
26757
26794
|
var chevronRight = {"role":"img","color":"currentColor","title":"","desc":"Directional indicator; right.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"chevron-right","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"chevron-right__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"chevron-right__desc\">Directional indicator; right.</desc><path d=\"m9.605 17.551-.084-.072a.75.75 0 0 1-.072-.977l.072-.084 4.47-4.47-4.47-4.47a.75.75 0 0 1-.072-.976l.072-.084a.75.75 0 0 1 .977-.073l.084.073 4.823 4.823a1 1 0 0 1 0 1.415l-4.823 4.823a.75.75 0 0 1-.977.072\"/></svg>"};
|
|
26758
26795
|
|
|
26796
|
+
/**
|
|
26797
|
+
* Helpers the datepicker's calendar uses to change the month it shows, show or hide the previous and next month buttons, and scroll to a month.
|
|
26798
|
+
*/
|
|
26759
26799
|
class CalendarUtilities {
|
|
26760
26800
|
constructor() {
|
|
26801
|
+
|
|
26802
|
+
/**
|
|
26803
|
+
* The date helpers these methods use.
|
|
26804
|
+
* @private
|
|
26805
|
+
*/
|
|
26761
26806
|
this.util = new AuroDatepickerUtilities();
|
|
26762
26807
|
}
|
|
26763
26808
|
|
|
@@ -26783,7 +26828,8 @@ class CalendarUtilities {
|
|
|
26783
26828
|
}
|
|
26784
26829
|
|
|
26785
26830
|
/**
|
|
26786
|
-
*
|
|
26831
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
26832
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
26787
26833
|
* @private
|
|
26788
26834
|
* @returns {void}
|
|
26789
26835
|
*/
|
|
@@ -26859,7 +26905,8 @@ class CalendarUtilities {
|
|
|
26859
26905
|
}
|
|
26860
26906
|
|
|
26861
26907
|
/**
|
|
26862
|
-
*
|
|
26908
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
26909
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
26863
26910
|
* @param {Object} elem - The auro-calendar element.
|
|
26864
26911
|
* @private
|
|
26865
26912
|
* @returns {void}
|
|
@@ -27270,7 +27317,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
27270
27317
|
}
|
|
27271
27318
|
|
|
27272
27319
|
/**
|
|
27273
|
-
* Called
|
|
27320
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
27274
27321
|
* @param {Event} event - The `touchmove` event.
|
|
27275
27322
|
* @returns {void}
|
|
27276
27323
|
*/
|
|
@@ -27366,7 +27413,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
27366
27413
|
}
|
|
27367
27414
|
};
|
|
27368
27415
|
|
|
27369
|
-
var formkitVersion$2$1 = '
|
|
27416
|
+
var formkitVersion$2$1 = '202611091558';
|
|
27370
27417
|
|
|
27371
27418
|
let l$1$2 = class l{generateElementName(e,t){let s=e;return s+="-",s+=t.replace(/[.]/g,"_"),s}generateTag(s,o,a){const r=this.generateElementName(s,o),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let h$1$2 = class h{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,s=(t,o=t&&t.closest(e))=>t&&t!==document&&t!==window?o||s(t.getRootNode().host):null){return s(t)}handleComponentTagRename(e,t){const s=t.toLowerCase();e.tagName.toLowerCase()!==s&&e.setAttribute(s,true);}elementMatch(e,t){const s=t.toLowerCase();return e.tagName.toLowerCase()===s||e.hasAttribute(s)}getSlotText(e,t){const s=e.shadowRoot?.querySelector(`slot[name="${t}"]`),o=(s?.assignedNodes({flatten:true})||[]).map(e=>e.textContent?.trim()).join(" ").trim();return o||null}};let d$1$2 = class d{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,s=(t,o=t&&t.closest(e))=>t&&t!==document&&t!==window?o||s(t.getRootNode().host):null){return s(t)}handleComponentTagRename(e,t){const s=t.toLowerCase();e.tagName.toLowerCase()!==s&&e.setAttribute(s,true);}elementMatch(e,t){const s=t.toLowerCase();return e.tagName.toLowerCase()===s||e.hasAttribute(s)}getSlotText(e,t){const s=e.shadowRoot?.querySelector(`slot[name="${t}"]`);return (s?.assignedNodes({flatten:true})||[]).map(e=>e.textContent?.trim()).join(" ").trim()||null}};var c$1$3=i$4`:host{color:var(--ds-auro-loader-color)}:host>.loader-shape>span{border-color:var(--ds-auro-loader-border-color);background-color:var(--ds-auro-loader-background-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])>.loader-shape>span{--ds-auro-loader-background-color: transparent}:host([orbit])>.loader-shape>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>.loader-shape>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
27372
27419
|
`,u$4$2=i$4`.body-default{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-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{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-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{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-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{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-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-font-size, .875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{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-sm-emphasized-font-size, .875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{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-xs-font-size, .75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{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-xs-emphasized-font-size, .75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-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-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, .875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{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-emphasized-font-size, .625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);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-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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{position:relative;display:inline-flex;flex-direction:column;align-items:center}:host([message-position=top]){flex-direction:column-reverse}:host([message-position=left]){flex-direction:row-reverse}:host([message-position=right]){flex-direction:row}:host([has-message]){gap:var(--ds-auro-loader-message-spacing)}.loader-shape{position:relative;display:inline-block;width:2rem;height:2rem;flex-shrink:0;font-size:0}.loader-shape>span{position:absolute;top:0;left:0;display:inline-block;width:2rem;height:2rem;box-sizing:border-box;border-width:0;border-style:solid;border-radius:100%;float:none}:host([xs])>.loader-shape{width:1.2rem;height:1.2rem}:host([xs])>.loader-shape>span{width:1.2rem;height:1.2rem}:host([sm])>.loader-shape{width:3rem;height:3rem}:host([sm])>.loader-shape>span{width:3rem;height:3rem}:host([md])>.loader-shape{width:5rem;height:5rem}:host([md])>.loader-shape>span{width:5rem;height:5rem}:host([lg])>.loader-shape{width:8rem;height:8rem}:host([lg])>.loader-shape>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]){position:relative}:host([pulse])>.loader-shape{position:relative;width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>.loader-shape>span{position:relative;width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse])>.loader-shape>span:nth-child(1){animation-delay:-.4s}:host([pulse])>.loader-shape>span:nth-child(2){animation-delay:-.2s}:host([pulse])>.loader-shape>span:nth-child(3){animation-delay:0ms}:host([pulse][xs])>.loader-shape{width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>.loader-shape>span{width:.65rem;height:.65rem;margin:var(--margin-xs)}:host([pulse][sm])>.loader-shape{width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>.loader-shape>span{width:2rem;height:2rem;margin:var(--margin-sm)}:host([pulse][md])>.loader-shape{width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>.loader-shape>span{width:3rem;height:3rem;margin:var(--margin-md)}:host([pulse][lg])>.loader-shape{width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>.loader-shape>span{width:5rem;height:5rem;margin:var(--margin-lg)}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]){opacity:1}:host([orbit])>.loader-shape>span{border-width:5px;opacity:1}:host([orbit])>.loader-shape>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>.loader-shape>span{border-width:8px}:host([orbit][md])>.loader-shape>span{border-width:13px}:host([orbit][lg])>.loader-shape>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>.loader-shape>svg{width:100%;height:100%;animation:rotate 2s linear infinite;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{animation:ringworm 1.5s ease-in-out infinite;stroke-dashoffset:0;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;display:block;overflow:hidden;width:100%;height:0;font-size:unset}:host([laser])>.no-animation,:host([laser])>.message-region{display:none}:host([laser])>.loader-shape>span{position:fixed;z-index:100;width:100%;height:.25rem;border-radius:0}:host([laser])>.loader-shape>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>.loader-shape>span:nth-child(2){width:50%;border-color:currentcolor;animation:laser 2s linear infinite;opacity:1}:host([laser][sm])>.loader-shape>span:nth-child(2){width:20%}:host([laser][md])>.loader-shape>span:nth-child(2){width:30%}:host([laser][lg])>.loader-shape>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>.loader-shape>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}.message-region{min-width:0;color:var(--ds-auro-loader-message-color)}.message-list{padding:0;margin:0}slot[name=message]::slotted([hidden]){display:none!important}:host>.no-animation{display:none;min-width:0}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>.loader-shape{display:none}:host>.loader-shape>span{opacity:1}:host>.no-animation{display:block}:host([has-default-content])>.message-region{display:none}:host([has-message]:not([has-default-content]))>.no-animation{display:none}}
|
|
@@ -27459,7 +27506,7 @@ var buttonVersion$1$1 = '12.3.2';
|
|
|
27459
27506
|
* @event auroCalendar-dateSelected - Notifies that someone selected a date in the calendar.
|
|
27460
27507
|
* @event auroCalendar-centralDateChanged - Notifies that the month shown has changed. Doesn't bubble; `event.detail.date` is the new `centralDate`.
|
|
27461
27508
|
* @event auroCalendar-dismissRequest - Notifies that someone selected the close or Done button, so the datepicker closes the dropdown.
|
|
27462
|
-
* @event narrow-changedProperties - Notifies
|
|
27509
|
+
* @event narrow-changedProperties - Notifies once, after the calendar first renders, with `event.detail.value` set to `false`. The calendar doesn't currently track whether the screen is narrow, so the event doesn't fire again.
|
|
27463
27510
|
*/
|
|
27464
27511
|
class AuroCalendar extends RangeDatepicker {
|
|
27465
27512
|
constructor() {
|
|
@@ -27530,18 +27577,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27530
27577
|
*/
|
|
27531
27578
|
this.calendarRangeMonths = null;
|
|
27532
27579
|
|
|
27533
|
-
/**
|
|
27534
|
-
* @deprecated Use `auro-datepicker.blackoutDates` (an array of
|
|
27535
|
-
* `YYYY-MM-DD` ISO strings) instead. This legacy array of Unix
|
|
27536
|
-
* timestamps is still honored for backward compatibility but emits a
|
|
27537
|
-
* one-time `console.debug` the first time a non-empty value is observed.
|
|
27538
|
-
* Support will be removed in a future major release.
|
|
27539
|
-
* @private
|
|
27540
|
-
*/
|
|
27541
27580
|
// Initialize the backing field directly so the constructor's default
|
|
27542
27581
|
// empty array doesn't trigger the deprecation warning. Assignments from
|
|
27543
27582
|
// consumers still route through the setter below.
|
|
27544
27583
|
/**
|
|
27584
|
+
* Deprecated: Use `blackoutDates` on `auro-datepicker` instead.
|
|
27585
|
+
* Holds the dates set with the deprecated `disabledDays`, as Unix timestamps in seconds. The calendar still honors them, and the first non-empty value logs a one-time console message.
|
|
27586
|
+
* @deprecated Use `blackoutDates` on `auro-datepicker` instead.
|
|
27545
27587
|
* @private
|
|
27546
27588
|
* @type {number[]}
|
|
27547
27589
|
*/
|
|
@@ -27718,7 +27760,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27718
27760
|
},
|
|
27719
27761
|
|
|
27720
27762
|
/**
|
|
27721
|
-
*
|
|
27763
|
+
* Sets the window width, in pixels, below which `scrollMonthIntoView()` scrolls to a month. The datepicker doesn't currently set it.
|
|
27722
27764
|
* @private
|
|
27723
27765
|
*/
|
|
27724
27766
|
mobileBreakpoint: {
|
|
@@ -27916,9 +27958,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27916
27958
|
}
|
|
27917
27959
|
|
|
27918
27960
|
/**
|
|
27919
|
-
* Renders
|
|
27961
|
+
* Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
|
|
27962
|
+
* Renders nothing until `visible` is set.
|
|
27920
27963
|
* @private
|
|
27921
|
-
* @returns {Object} The
|
|
27964
|
+
* @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
|
|
27922
27965
|
*/
|
|
27923
27966
|
renderAllCalendars() {
|
|
27924
27967
|
let renderedHtml = undefined;
|
|
@@ -28132,7 +28175,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28132
28175
|
}
|
|
28133
28176
|
|
|
28134
28177
|
/**
|
|
28135
|
-
* Shows the
|
|
28178
|
+
* Called when focus moves into the calendar grid. Shows the focus ring on the active cell
|
|
28179
|
+
* when the grid itself gets focus, not a cell inside it.
|
|
28136
28180
|
* @private
|
|
28137
28181
|
* @param {FocusEvent} [event] - The focusin event.
|
|
28138
28182
|
* @returns {void}
|
|
@@ -28161,7 +28205,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28161
28205
|
}
|
|
28162
28206
|
|
|
28163
28207
|
/**
|
|
28164
|
-
*
|
|
28208
|
+
* Called when the calendar grid or an element in it loses focus. Removes the focus ring from
|
|
28209
|
+
* every cell, and clears the range preview while the range doesn't have both dates.
|
|
28165
28210
|
* @private
|
|
28166
28211
|
* @returns {void}
|
|
28167
28212
|
*/
|
|
@@ -28252,15 +28297,17 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28252
28297
|
/**
|
|
28253
28298
|
* Computes the initial active date from data properties alone, without the DOM.
|
|
28254
28299
|
* Priority:
|
|
28255
|
-
* 1.
|
|
28256
|
-
* 2.
|
|
28257
|
-
* 3.
|
|
28258
|
-
* 4.
|
|
28259
|
-
* 5.
|
|
28260
|
-
*
|
|
28261
|
-
*
|
|
28262
|
-
*
|
|
28263
|
-
*
|
|
28300
|
+
* 1. The selected date (`dateFrom`), if it's within range.
|
|
28301
|
+
* 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
|
|
28302
|
+
* 3. Today's date, if it's enabled (in range and not a blackout date).
|
|
28303
|
+
* 4. The first enabled date in the visible months, or else their first in-range date.
|
|
28304
|
+
* 5. The first enabled date after today, scanning day by day for up to a year.
|
|
28305
|
+
* 6. The first enabled date before today, scanning day by day for up to a year.
|
|
28306
|
+
* 7. The first enabled date in a finite [min, max] range.
|
|
28307
|
+
* 7b. The first enabled date scanning forward from a finite min (unbounded max).
|
|
28308
|
+
* 7c. The first enabled date scanning backward from a finite max (unbounded min).
|
|
28309
|
+
* 8. An in-range date, even if it's a blackout date, so focus can land somewhere: min when it's finite, or else today.
|
|
28310
|
+
* 9. Undefined: no valid target.
|
|
28264
28311
|
*
|
|
28265
28312
|
* @private
|
|
28266
28313
|
* @param {Object} [options] - The optional settings.
|
|
@@ -28508,9 +28555,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28508
28555
|
}
|
|
28509
28556
|
|
|
28510
28557
|
/**
|
|
28511
|
-
*
|
|
28512
|
-
*
|
|
28513
|
-
*
|
|
28558
|
+
* Called when a key is pressed while the calendar grid has focus. The arrow keys move the
|
|
28559
|
+
* active cell, into another month when needed, and Enter or Space selects the active date
|
|
28560
|
+
* unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
|
|
28514
28561
|
* @private
|
|
28515
28562
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
28516
28563
|
* @returns {void}
|
|
@@ -28642,7 +28689,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28642
28689
|
}
|
|
28643
28690
|
|
|
28644
28691
|
/**
|
|
28645
|
-
*
|
|
28692
|
+
* Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
|
|
28693
|
+
* across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
|
|
28694
|
+
* currently fires this event.
|
|
28646
28695
|
* @private
|
|
28647
28696
|
* @param {CustomEvent} event - The boundary event with direction and source date info.
|
|
28648
28697
|
* @returns {void}
|
|
@@ -28783,7 +28832,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28783
28832
|
}
|
|
28784
28833
|
|
|
28785
28834
|
/**
|
|
28786
|
-
*
|
|
28835
|
+
* Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
|
|
28836
|
+
* the active cell without moving focus to the grid.
|
|
28787
28837
|
* @private
|
|
28788
28838
|
* @param {CustomEvent} event - The activation event with target date.
|
|
28789
28839
|
* @returns {void}
|
|
@@ -28801,9 +28851,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28801
28851
|
}
|
|
28802
28852
|
|
|
28803
28853
|
/**
|
|
28804
|
-
*
|
|
28805
|
-
*
|
|
28806
|
-
* the imperative range preview if applicable.
|
|
28854
|
+
* Called when a cell's button gets focus, and after the arrow keys move the active cell.
|
|
28855
|
+
* Announces the date to screen readers through the live region and updates the range preview.
|
|
28807
28856
|
* @private
|
|
28808
28857
|
* @param {CustomEvent} event - The calendar-cell-focused event.
|
|
28809
28858
|
* @returns {void}
|
|
@@ -28985,7 +29034,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28985
29034
|
*
|
|
28986
29035
|
* The cell's `applyCommittedRangeClasses` reuses the same
|
|
28987
29036
|
* `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
|
|
28988
|
-
* uses, so
|
|
29037
|
+
* uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
|
|
28989
29038
|
* normalize their inputs (midnight-truncation, string→int) internally.
|
|
28990
29039
|
* @private
|
|
28991
29040
|
* @returns {void}
|
|
@@ -29021,8 +29070,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29021
29070
|
}
|
|
29022
29071
|
|
|
29023
29072
|
/**
|
|
29024
|
-
*
|
|
29025
|
-
*
|
|
29073
|
+
* Called when a month fires `hovered-date-changed`. Updates the range preview directly
|
|
29074
|
+
* instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
|
|
29026
29075
|
* @private
|
|
29027
29076
|
* @param {CustomEvent} event - The hovered-date-changed event from a month.
|
|
29028
29077
|
* @returns {void}
|
|
@@ -29038,7 +29087,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29038
29087
|
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
29039
29088
|
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
29040
29089
|
* ancestor by whatever delta still separates the cell from that
|
|
29041
|
-
* ancestor's viewport. Native `scrollIntoView`
|
|
29090
|
+
* ancestor's viewport. Native `scrollIntoView` isn't used because the
|
|
29042
29091
|
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
29043
29092
|
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
29044
29093
|
* scrolls one of them on its own, leaving the cell short of the
|
|
@@ -29048,7 +29097,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29048
29097
|
* value) so each `scrollBy` resolves synchronously and the next
|
|
29049
29098
|
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
29050
29099
|
* accurately. This also satisfies `prefers-reduced-motion` users: the
|
|
29051
|
-
* scroll containers
|
|
29100
|
+
* scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
|
|
29052
29101
|
* is effectively instant.
|
|
29053
29102
|
*
|
|
29054
29103
|
* The active cell is looked up from the cache populated by
|
|
@@ -29263,16 +29312,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29263
29312
|
}
|
|
29264
29313
|
|
|
29265
29314
|
/**
|
|
29266
|
-
*
|
|
29267
|
-
*
|
|
29268
|
-
*
|
|
29269
|
-
*
|
|
29270
|
-
*
|
|
29271
|
-
* keyboard navigation, so the announcements were silently dropped.
|
|
29315
|
+
* Announces a date to screen readers after a 150 ms pause, so only the
|
|
29316
|
+
* last cell reached with the arrow keys is announced.
|
|
29317
|
+
* Uses the assertive live region, because VoiceOver waits for the page to
|
|
29318
|
+
* be idle before it reads a polite one, which never happens during
|
|
29319
|
+
* arrow-key navigation, so polite announcements were dropped.
|
|
29272
29320
|
*
|
|
29273
29321
|
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
29274
29322
|
* prefers `polite` for status messages. See the "Documented
|
|
29275
|
-
*
|
|
29323
|
+
* deviation" section in `components/datepicker/docs/pages/accessibility.md`.
|
|
29276
29324
|
* @private
|
|
29277
29325
|
* @param {String} dateStr - The localized date string to announce.
|
|
29278
29326
|
* @returns {void}
|
|
@@ -33490,7 +33538,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
33490
33538
|
}
|
|
33491
33539
|
};
|
|
33492
33540
|
|
|
33493
|
-
var formkitVersion$1$3 = '
|
|
33541
|
+
var formkitVersion$1$3 = '202611091558';
|
|
33494
33542
|
|
|
33495
33543
|
/**
|
|
33496
33544
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -33656,8 +33704,8 @@ let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
|
33656
33704
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
33657
33705
|
* @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
|
|
33658
33706
|
* @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
|
|
33659
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
33660
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
33707
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
|
|
33708
|
+
* @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
|
|
33661
33709
|
* @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
|
|
33662
33710
|
*/
|
|
33663
33711
|
let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
@@ -33986,6 +34034,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33986
34034
|
/**
|
|
33987
34035
|
* Removes the trigger's border, background, and shadow.
|
|
33988
34036
|
* Applies only when `shape` and `size` are both set.
|
|
34037
|
+
* @relevantWhen shape !== undefined
|
|
33989
34038
|
* @category ui
|
|
33990
34039
|
*/
|
|
33991
34040
|
simple: {
|
|
@@ -34278,6 +34327,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34278
34327
|
/**
|
|
34279
34328
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
34280
34329
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
34330
|
+
* @default 0
|
|
34281
34331
|
* @category a11y
|
|
34282
34332
|
*/
|
|
34283
34333
|
tabIndex: {
|
|
@@ -34969,7 +35019,6 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34969
35019
|
*
|
|
34970
35020
|
* @private
|
|
34971
35021
|
* @method handleDefaultSlot
|
|
34972
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
34973
35022
|
*/
|
|
34974
35023
|
handleDefaultSlot() {
|
|
34975
35024
|
|
|
@@ -34982,7 +35031,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34982
35031
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
34983
35032
|
* @private
|
|
34984
35033
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
34985
|
-
* @returns {
|
|
35034
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
34986
35035
|
*/
|
|
34987
35036
|
renderBasicHtml(helpTextClasses) {
|
|
34988
35037
|
return u$d`
|
|
@@ -35044,7 +35093,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
35044
35093
|
/**
|
|
35045
35094
|
* Renders the classic layout.
|
|
35046
35095
|
* @private
|
|
35047
|
-
* @returns {
|
|
35096
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
35048
35097
|
*/
|
|
35049
35098
|
renderLayoutClassic() {
|
|
35050
35099
|
// TODO: check with Doug why this was never used?
|
|
@@ -35060,7 +35109,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
35060
35109
|
/**
|
|
35061
35110
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
35062
35111
|
* @private
|
|
35063
|
-
* @returns {
|
|
35112
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
35064
35113
|
*/
|
|
35065
35114
|
renderLayoutSnowflake() {
|
|
35066
35115
|
const helpTextClasses = {
|
|
@@ -35077,7 +35126,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
35077
35126
|
/**
|
|
35078
35127
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
35079
35128
|
* @private
|
|
35080
|
-
* @returns {
|
|
35129
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
35081
35130
|
*/
|
|
35082
35131
|
renderLayoutEmphasized() {
|
|
35083
35132
|
const helpTextClasses = {
|
|
@@ -35095,7 +35144,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
35095
35144
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
35096
35145
|
* @private
|
|
35097
35146
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
35098
|
-
* @returns {
|
|
35147
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
35099
35148
|
*/
|
|
35100
35149
|
renderLayout(ForcedLayout) {
|
|
35101
35150
|
const layout = ForcedLayout || this.layout;
|
|
@@ -45244,6 +45293,9 @@ function cleanEscapedString$4(input) {
|
|
|
45244
45293
|
return input.match(escapedStringRegExp$4)[1].replace(doubleQuoteRegExp$4, "'");
|
|
45245
45294
|
}
|
|
45246
45295
|
|
|
45296
|
+
/**
|
|
45297
|
+
* Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
|
|
45298
|
+
*/
|
|
45247
45299
|
let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
45248
45300
|
|
|
45249
45301
|
/**
|
|
@@ -45263,7 +45315,17 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
45263
45315
|
} else {
|
|
45264
45316
|
this.locale = 'en-US';
|
|
45265
45317
|
}
|
|
45318
|
+
|
|
45319
|
+
/**
|
|
45320
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
45321
|
+
* @type {string|undefined}
|
|
45322
|
+
*/
|
|
45266
45323
|
this.overrideFormat = config.format;
|
|
45324
|
+
|
|
45325
|
+
/**
|
|
45326
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
45327
|
+
* @type {Intl.DateTimeFormat}
|
|
45328
|
+
*/
|
|
45267
45329
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
45268
45330
|
|
|
45269
45331
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -45694,7 +45756,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45694
45756
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
45695
45757
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
45696
45758
|
/**
|
|
45697
|
-
*
|
|
45759
|
+
* Gets the options Lit uses to create the shadow root.
|
|
45698
45760
|
* @internal
|
|
45699
45761
|
*/
|
|
45700
45762
|
static get shadowRootOptions() {
|
|
@@ -45854,8 +45916,9 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45854
45916
|
},
|
|
45855
45917
|
|
|
45856
45918
|
/**
|
|
45857
|
-
* Sets the shape of the field's border.
|
|
45858
|
-
* and `pill
|
|
45919
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
45920
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
45921
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
45859
45922
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
45860
45923
|
* @default 'classic'
|
|
45861
45924
|
* @category ui
|
|
@@ -45867,8 +45930,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45867
45930
|
},
|
|
45868
45931
|
|
|
45869
45932
|
/**
|
|
45870
|
-
* Sets the field's
|
|
45871
|
-
* emphasized layouts support only `xl`.
|
|
45933
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
45934
|
+
* and the emphasized layouts support only `xl`.
|
|
45872
45935
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
45873
45936
|
* @default 'lg'
|
|
45874
45937
|
* @category ui
|
|
@@ -47664,7 +47727,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
47664
47727
|
}
|
|
47665
47728
|
};
|
|
47666
47729
|
|
|
47667
|
-
var formkitVersion$7 = '
|
|
47730
|
+
var formkitVersion$7 = '202611091558';
|
|
47668
47731
|
|
|
47669
47732
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47670
47733
|
// See LICENSE in the project root for license information.
|
|
@@ -48123,7 +48186,7 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
48123
48186
|
|
|
48124
48187
|
/**
|
|
48125
48188
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
48126
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
48189
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
48127
48190
|
* @private
|
|
48128
48191
|
* @returns {string}
|
|
48129
48192
|
*/
|
|
@@ -49183,6 +49246,9 @@ function applyKeyboardStrategy$4(component, strategy, options = {}) {
|
|
|
49183
49246
|
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
49184
49247
|
// added, handlers should go here following the same strategy pattern used by
|
|
49185
49248
|
// auro-select (selectKeyboardStrategy.js) and auro-combobox (comboboxKeyboardStrategy.js).
|
|
49249
|
+
/**
|
|
49250
|
+
* Holds the datepicker's keyboard handlers, one function each for `Escape`, `Enter`, and the space bar. Escape closes the open calendar without closing a dialog or drawer around it, and Enter or Space opens the closed calendar unless the clear button has focus.
|
|
49251
|
+
*/
|
|
49186
49252
|
const datepickerKeyboardStrategy = {
|
|
49187
49253
|
Escape(component, evt, ctx) {
|
|
49188
49254
|
if (!ctx.isExpanded) {
|
|
@@ -49257,7 +49323,7 @@ const datepickerKeyboardStrategy = {
|
|
|
49257
49323
|
* - **Limits and unavailable dates**: `minDate` and `maxDate` turn off dates outside a range, and `blackoutDates` marks single dates people can't select.
|
|
49258
49324
|
* - **Validation**: `required` shows an error when no date is chosen, and the `setCustomValidity` attributes replace the built-in error messages.
|
|
49259
49325
|
* - **Content on dates**: The `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` slots add content to a date in the calendar, such as a price.
|
|
49260
|
-
* - **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate
|
|
49326
|
+
* - **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate most other text, except the calendar's Done button and the word "selected" in screen reader announcements.
|
|
49261
49327
|
* - **Fullscreen on small screens**: `fullscreenBreakpoint` sets the screen size at or below which the calendar opens fullscreen.
|
|
49262
49328
|
*
|
|
49263
49329
|
* **Example**
|
|
@@ -49714,7 +49780,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49714
49780
|
},
|
|
49715
49781
|
|
|
49716
49782
|
/**
|
|
49717
|
-
* Sets the shape of the
|
|
49783
|
+
* Sets the shape of the date field. Use `classic` (the default) with the `classic` layout, and `snowflake` with the `snowflake` layout.
|
|
49718
49784
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
49719
49785
|
* @default 'classic'
|
|
49720
49786
|
* @category ui
|
|
@@ -49726,7 +49792,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49726
49792
|
},
|
|
49727
49793
|
|
|
49728
49794
|
/**
|
|
49729
|
-
* Sets the
|
|
49795
|
+
* Sets the height of the date field, from `xs`, the shortest, to `xl`, the tallest. The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them. The `rounded` shape supports only `lg`, and the `pill`, `pill-left`, and `pill-right` shapes support only `md` and `xl`.
|
|
49730
49796
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
49731
49797
|
* @default 'lg'
|
|
49732
49798
|
* @category ui
|
|
@@ -50042,7 +50108,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50042
50108
|
},
|
|
50043
50109
|
|
|
50044
50110
|
/**
|
|
50045
|
-
*
|
|
50111
|
+
* Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
|
|
50046
50112
|
* @private
|
|
50047
50113
|
*/
|
|
50048
50114
|
touched: {
|
|
@@ -50198,7 +50264,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50198
50264
|
}
|
|
50199
50265
|
|
|
50200
50266
|
/**
|
|
50201
|
-
*
|
|
50267
|
+
* Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
|
|
50202
50268
|
* @private
|
|
50203
50269
|
* @returns {void}
|
|
50204
50270
|
*/
|
|
@@ -50991,7 +51057,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50991
51057
|
* Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
|
|
50992
51058
|
* spans every datepicker instance on the page; lives on the class (not
|
|
50993
51059
|
* at module scope) so it stays an encapsulated implementation detail of
|
|
50994
|
-
* this component and
|
|
51060
|
+
* this component and doesn't interfere with WCA's class-JSDoc
|
|
50995
51061
|
* attachment.
|
|
50996
51062
|
* @private
|
|
50997
51063
|
*/
|
|
@@ -50999,7 +51065,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50999
51065
|
|
|
51000
51066
|
/**
|
|
51001
51067
|
* Logs a one-time `console.debug` when an unsupported locale falls back to
|
|
51002
|
-
* en-US
|
|
51068
|
+
* `en-US`. Deduped by the offending tag so noisy re-renders that resurface
|
|
51003
51069
|
* the same bad value stay quiet, but each new bad value still signals so
|
|
51004
51070
|
* consumers can spot the typo or missing tag.
|
|
51005
51071
|
* @private
|
|
@@ -51297,7 +51363,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
51297
51363
|
}
|
|
51298
51364
|
|
|
51299
51365
|
/**
|
|
51300
|
-
*
|
|
51366
|
+
* Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
|
|
51367
|
+
* Copies the slot's content into the calendar.
|
|
51301
51368
|
*
|
|
51302
51369
|
* @private
|
|
51303
51370
|
* @method handleSlotToSlot
|
|
@@ -51310,7 +51377,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
51310
51377
|
}
|
|
51311
51378
|
|
|
51312
51379
|
/**
|
|
51313
|
-
*
|
|
51380
|
+
* Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
|
|
51381
|
+
* and in the `snowflake` layout, moves focus to the start date input when the click isn't on an input or the calendar and no input has focus.
|
|
51314
51382
|
* @param {PointerEvent} event - The pointer event object.
|
|
51315
51383
|
* @private
|
|
51316
51384
|
* @returns {void}
|
|
@@ -51680,7 +51748,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
51680
51748
|
// ------------------------------------
|
|
51681
51749
|
|
|
51682
51750
|
/**
|
|
51683
|
-
*
|
|
51751
|
+
* Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
|
|
51684
51752
|
* @private
|
|
51685
51753
|
* @param {MouseEvent} event - The mouse event from the clear button click.
|
|
51686
51754
|
* @returns {void}
|
|
@@ -52975,7 +53043,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
52975
53043
|
}
|
|
52976
53044
|
};
|
|
52977
53045
|
|
|
52978
|
-
var formkitVersion$1$2 = '
|
|
53046
|
+
var formkitVersion$1$2 = '202611091558';
|
|
52979
53047
|
|
|
52980
53048
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52981
53049
|
// See LICENSE in the project root for license information.
|
|
@@ -53040,7 +53108,7 @@ const keyboardStrategy = {
|
|
|
53040
53108
|
* @csspart controlPlus - The plus button, which raises the value by 1.
|
|
53041
53109
|
* @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
|
|
53042
53110
|
*
|
|
53043
|
-
* @event input -
|
|
53111
|
+
* @event input - Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself.
|
|
53044
53112
|
*/
|
|
53045
53113
|
class AuroCounter extends i$2 {
|
|
53046
53114
|
|
|
@@ -53161,7 +53229,7 @@ class AuroCounter extends i$2 {
|
|
|
53161
53229
|
},
|
|
53162
53230
|
|
|
53163
53231
|
/**
|
|
53164
|
-
*
|
|
53232
|
+
* Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
|
|
53165
53233
|
* @private
|
|
53166
53234
|
*/
|
|
53167
53235
|
defaultSlot: {
|
|
@@ -53199,7 +53267,7 @@ class AuroCounter extends i$2 {
|
|
|
53199
53267
|
},
|
|
53200
53268
|
|
|
53201
53269
|
/**
|
|
53202
|
-
* Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set
|
|
53270
|
+
* Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`.
|
|
53203
53271
|
* @category behavior
|
|
53204
53272
|
*/
|
|
53205
53273
|
error: {
|
|
@@ -57572,7 +57640,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
57572
57640
|
}
|
|
57573
57641
|
};
|
|
57574
57642
|
|
|
57575
|
-
var formkitVersion$6 = '
|
|
57643
|
+
var formkitVersion$6 = '202611091558';
|
|
57576
57644
|
|
|
57577
57645
|
/**
|
|
57578
57646
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -57738,8 +57806,8 @@ let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
|
57738
57806
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
57739
57807
|
* @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
|
|
57740
57808
|
* @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
|
|
57741
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
57742
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
57809
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
|
|
57810
|
+
* @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
|
|
57743
57811
|
* @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
|
|
57744
57812
|
*/
|
|
57745
57813
|
let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
@@ -58068,6 +58136,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58068
58136
|
/**
|
|
58069
58137
|
* Removes the trigger's border, background, and shadow.
|
|
58070
58138
|
* Applies only when `shape` and `size` are both set.
|
|
58139
|
+
* @relevantWhen shape !== undefined
|
|
58071
58140
|
* @category ui
|
|
58072
58141
|
*/
|
|
58073
58142
|
simple: {
|
|
@@ -58360,6 +58429,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58360
58429
|
/**
|
|
58361
58430
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
58362
58431
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
58432
|
+
* @default 0
|
|
58363
58433
|
* @category a11y
|
|
58364
58434
|
*/
|
|
58365
58435
|
tabIndex: {
|
|
@@ -59051,7 +59121,6 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59051
59121
|
*
|
|
59052
59122
|
* @private
|
|
59053
59123
|
* @method handleDefaultSlot
|
|
59054
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
59055
59124
|
*/
|
|
59056
59125
|
handleDefaultSlot() {
|
|
59057
59126
|
|
|
@@ -59064,7 +59133,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59064
59133
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
59065
59134
|
* @private
|
|
59066
59135
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
59067
|
-
* @returns {
|
|
59136
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
59068
59137
|
*/
|
|
59069
59138
|
renderBasicHtml(helpTextClasses) {
|
|
59070
59139
|
return u$d`
|
|
@@ -59126,7 +59195,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59126
59195
|
/**
|
|
59127
59196
|
* Renders the classic layout.
|
|
59128
59197
|
* @private
|
|
59129
|
-
* @returns {
|
|
59198
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
59130
59199
|
*/
|
|
59131
59200
|
renderLayoutClassic() {
|
|
59132
59201
|
// TODO: check with Doug why this was never used?
|
|
@@ -59142,7 +59211,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59142
59211
|
/**
|
|
59143
59212
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
59144
59213
|
* @private
|
|
59145
|
-
* @returns {
|
|
59214
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
59146
59215
|
*/
|
|
59147
59216
|
renderLayoutSnowflake() {
|
|
59148
59217
|
const helpTextClasses = {
|
|
@@ -59159,7 +59228,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59159
59228
|
/**
|
|
59160
59229
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
59161
59230
|
* @private
|
|
59162
|
-
* @returns {
|
|
59231
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
59163
59232
|
*/
|
|
59164
59233
|
renderLayoutEmphasized() {
|
|
59165
59234
|
const helpTextClasses = {
|
|
@@ -59177,7 +59246,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59177
59246
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
59178
59247
|
* @private
|
|
59179
59248
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
59180
|
-
* @returns {
|
|
59249
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
59181
59250
|
*/
|
|
59182
59251
|
renderLayout(ForcedLayout) {
|
|
59183
59252
|
const layout = ForcedLayout || this.layout;
|
|
@@ -59562,7 +59631,7 @@ let AuroBibtemplate$2 = class AuroBibtemplate extends i$2 {
|
|
|
59562
59631
|
}
|
|
59563
59632
|
|
|
59564
59633
|
/**
|
|
59565
|
-
* Called
|
|
59634
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
59566
59635
|
* @param {Event} event - The `touchmove` event.
|
|
59567
59636
|
* @returns {void}
|
|
59568
59637
|
*/
|
|
@@ -60173,7 +60242,7 @@ const counterGroupKeyboardStrategy = {
|
|
|
60173
60242
|
* @csspart helpText - The paragraph that shows the help text, or the combined error message while a counter is invalid. Rendered only when `isDropdown` is set.
|
|
60174
60243
|
*
|
|
60175
60244
|
* @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
60176
|
-
* @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
|
|
60245
|
+
* @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself.
|
|
60177
60246
|
*/
|
|
60178
60247
|
class AuroCounterGroup extends AuroElement$4 {
|
|
60179
60248
|
constructor() {
|
|
@@ -60305,8 +60374,8 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
60305
60374
|
},
|
|
60306
60375
|
|
|
60307
60376
|
/**
|
|
60308
|
-
*
|
|
60309
|
-
*
|
|
60377
|
+
* Holds the error message shown while the group is invalid.
|
|
60378
|
+
* Validation sets it, and it isn't available to consumers.
|
|
60310
60379
|
* @private
|
|
60311
60380
|
*/
|
|
60312
60381
|
errorMessage: {
|
|
@@ -60503,7 +60572,7 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
60503
60572
|
},
|
|
60504
60573
|
|
|
60505
60574
|
/**
|
|
60506
|
-
*
|
|
60575
|
+
* Holds the text in the `valueText` slot.
|
|
60507
60576
|
* @category behavior
|
|
60508
60577
|
* @private
|
|
60509
60578
|
*/
|
|
@@ -60516,9 +60585,8 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
60516
60585
|
}
|
|
60517
60586
|
|
|
60518
60587
|
/**
|
|
60519
|
-
*
|
|
60520
|
-
*
|
|
60521
|
-
* If the total value is at or below the minimum, the counter's decrement button is disabled; if at or above the maximum, the increment button is disabled.
|
|
60588
|
+
* Turns a counter's minus and plus buttons on or off based on the group's total.
|
|
60589
|
+
* The minus button turns off when the total is at or below `min`; otherwise, the plus button turns off when the total is at or above `max`.
|
|
60522
60590
|
*
|
|
60523
60591
|
* @param {HTMLElement} counter - The counter element to potentially disable.
|
|
60524
60592
|
* @private
|
|
@@ -60575,9 +60643,9 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
60575
60643
|
};
|
|
60576
60644
|
|
|
60577
60645
|
/**
|
|
60578
|
-
* Synchronously recomputes this.validity
|
|
60579
|
-
* validity of the child counters. Extracted from updateValidity() so that
|
|
60580
|
-
* validate() can re-apply this aggregation immediately after the shared
|
|
60646
|
+
* Synchronously recomputes `this.validity` and `this.errorMessage` from the current
|
|
60647
|
+
* validity of the child counters. Extracted from `updateValidity()` so that
|
|
60648
|
+
* `validate()` can re-apply this aggregation immediately after the shared
|
|
60581
60649
|
* validation engine runs, instead of waiting on a deferred timer.
|
|
60582
60650
|
* @returns {void}
|
|
60583
60651
|
* @private
|
|
@@ -60662,9 +60730,9 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
60662
60730
|
}
|
|
60663
60731
|
|
|
60664
60732
|
/**
|
|
60665
|
-
*
|
|
60666
|
-
*
|
|
60667
|
-
* and
|
|
60733
|
+
* Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
|
|
60734
|
+
* adds `input` and `auroFormElement-validated` listeners to each counter, and
|
|
60735
|
+
* updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
|
|
60668
60736
|
* @private
|
|
60669
60737
|
*/
|
|
60670
60738
|
configureDropdownCounters() {
|
|
@@ -60696,7 +60764,7 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
60696
60764
|
}
|
|
60697
60765
|
|
|
60698
60766
|
/**
|
|
60699
|
-
*
|
|
60767
|
+
* Finds the bib template, closes the dropdown when its close button is clicked, and moves focus to the close button when the fullscreen dropdown opens.
|
|
60700
60768
|
* @private
|
|
60701
60769
|
*/
|
|
60702
60770
|
configureBibtemplate() {
|
|
@@ -61350,7 +61418,7 @@ class AuroRadio extends i$2 {
|
|
|
61350
61418
|
},
|
|
61351
61419
|
|
|
61352
61420
|
/**
|
|
61353
|
-
* ID
|
|
61421
|
+
* Holds the ID of the inner `<input>` element, which its `<label>` points to.
|
|
61354
61422
|
* @private
|
|
61355
61423
|
*/
|
|
61356
61424
|
inputId: {
|
|
@@ -61396,7 +61464,7 @@ class AuroRadio extends i$2 {
|
|
|
61396
61464
|
},
|
|
61397
61465
|
|
|
61398
61466
|
/**
|
|
61399
|
-
* Kept out of the API docs, because changing it can easily break accessibility.
|
|
61467
|
+
* Sets the host's ARIA role, `radio`. Kept out of the API docs, because changing it can easily break accessibility.
|
|
61400
61468
|
* @private
|
|
61401
61469
|
*/
|
|
61402
61470
|
role: {
|
|
@@ -61405,7 +61473,7 @@ class AuroRadio extends i$2 {
|
|
|
61405
61473
|
},
|
|
61406
61474
|
|
|
61407
61475
|
/**
|
|
61408
|
-
*
|
|
61476
|
+
* Records whether someone has interacted with the radio button.
|
|
61409
61477
|
* @private
|
|
61410
61478
|
*/
|
|
61411
61479
|
touched: {
|
|
@@ -62402,7 +62470,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
62402
62470
|
}
|
|
62403
62471
|
};
|
|
62404
62472
|
|
|
62405
|
-
var formkitVersion$5 = '
|
|
62473
|
+
var formkitVersion$5 = '202611091558';
|
|
62406
62474
|
|
|
62407
62475
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
62408
62476
|
// See LICENSE in the project root for license information.
|
|
@@ -62437,7 +62505,7 @@ var formkitVersion$5 = '202611081705';
|
|
|
62437
62505
|
* @csspart radio-group - The `<fieldset>` element, with `role="radiogroup"`, that wraps the legend and the radio buttons.
|
|
62438
62506
|
* @csspart helpText - The help text element below the group, which shows the help text or the error message.
|
|
62439
62507
|
* @slot {HTMLSlotElement} legend - Label for the group, such as "Seat preference". Screen readers announce it as the group's name. {@requiredWhen always} {@category ui}
|
|
62440
|
-
* @slot {HTMLSlotElement} optionalLabel - Text shown after the legend when the group isn't `required`, such as "
|
|
62508
|
+
* @slot {HTMLSlotElement} optionalLabel - Text shown after the legend when the group isn't `required`, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
|
|
62441
62509
|
* @slot {HTMLSlotElement} helpText - Help text shown below the group, such as "Choose one". While the group shows an error, the error message replaces it. {@category ui}
|
|
62442
62510
|
* @slot default - The `auro-radio` elements in the group.
|
|
62443
62511
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
@@ -62547,7 +62615,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
62547
62615
|
},
|
|
62548
62616
|
|
|
62549
62617
|
/**
|
|
62550
|
-
*
|
|
62618
|
+
* Records whether the `legend` slot has content.
|
|
62551
62619
|
* @private
|
|
62552
62620
|
*/
|
|
62553
62621
|
hasLegend: {
|
|
@@ -62598,8 +62666,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
62598
62666
|
|
|
62599
62667
|
/**
|
|
62600
62668
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
62601
|
-
*
|
|
62602
|
-
* @relevantWhen !noValidate
|
|
62669
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
62603
62670
|
* @category behavior
|
|
62604
62671
|
*/
|
|
62605
62672
|
required: {
|
|
@@ -62610,7 +62677,6 @@ class AuroRadioGroup extends i$2 {
|
|
|
62610
62677
|
/**
|
|
62611
62678
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
62612
62679
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
62613
|
-
* @relevantWhen !noValidate
|
|
62614
62680
|
* @category behavior
|
|
62615
62681
|
*/
|
|
62616
62682
|
setCustomValidity: {
|
|
@@ -62621,7 +62687,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
62621
62687
|
/**
|
|
62622
62688
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
62623
62689
|
* `setCustomValidity` takes priority when both are set.
|
|
62624
|
-
* @relevantWhen
|
|
62690
|
+
* @relevantWhen error
|
|
62625
62691
|
* @category behavior
|
|
62626
62692
|
*/
|
|
62627
62693
|
setCustomValidityCustomError: {
|
|
@@ -62632,7 +62698,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
62632
62698
|
/**
|
|
62633
62699
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
62634
62700
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
62635
|
-
* @relevantWhen
|
|
62701
|
+
* @relevantWhen required
|
|
62636
62702
|
* @category behavior
|
|
62637
62703
|
*/
|
|
62638
62704
|
setCustomValidityValueMissing: {
|
|
@@ -62641,7 +62707,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
62641
62707
|
},
|
|
62642
62708
|
|
|
62643
62709
|
/**
|
|
62644
|
-
*
|
|
62710
|
+
* Records whether someone has interacted with the group.
|
|
62645
62711
|
* @private
|
|
62646
62712
|
*/
|
|
62647
62713
|
touched: {
|
|
@@ -64389,7 +64455,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
64389
64455
|
}
|
|
64390
64456
|
};
|
|
64391
64457
|
|
|
64392
|
-
var formkitVersion$4 = '
|
|
64458
|
+
var formkitVersion$4 = '202611091558';
|
|
64393
64459
|
|
|
64394
64460
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
64395
64461
|
// See LICENSE in the project root for license information.
|
|
@@ -64425,7 +64491,7 @@ var formkitVersion$4 = '202611081705';
|
|
|
64425
64491
|
* @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
|
|
64426
64492
|
* @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
|
|
64427
64493
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
64428
|
-
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
|
|
64494
|
+
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
|
|
64429
64495
|
*/
|
|
64430
64496
|
|
|
64431
64497
|
class AuroCheckboxGroup extends i$2 {
|
|
@@ -64595,7 +64661,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
64595
64661
|
/**
|
|
64596
64662
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
64597
64663
|
* `setCustomValidity` takes priority when both are set.
|
|
64598
|
-
* @relevantWhen error
|
|
64664
|
+
* @relevantWhen error !== undefined
|
|
64599
64665
|
* @category behavior
|
|
64600
64666
|
*/
|
|
64601
64667
|
setCustomValidityCustomError: {
|
|
@@ -70139,7 +70205,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
70139
70205
|
}
|
|
70140
70206
|
};
|
|
70141
70207
|
|
|
70142
|
-
var formkitVersion$2 = '
|
|
70208
|
+
var formkitVersion$2 = '202611091558';
|
|
70143
70209
|
|
|
70144
70210
|
/**
|
|
70145
70211
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -70305,8 +70371,8 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
|
70305
70371
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
70306
70372
|
* @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
|
|
70307
70373
|
* @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
|
|
70308
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
70309
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
70374
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
|
|
70375
|
+
* @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
|
|
70310
70376
|
* @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
|
|
70311
70377
|
*/
|
|
70312
70378
|
let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
@@ -70635,6 +70701,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
70635
70701
|
/**
|
|
70636
70702
|
* Removes the trigger's border, background, and shadow.
|
|
70637
70703
|
* Applies only when `shape` and `size` are both set.
|
|
70704
|
+
* @relevantWhen shape !== undefined
|
|
70638
70705
|
* @category ui
|
|
70639
70706
|
*/
|
|
70640
70707
|
simple: {
|
|
@@ -70927,6 +70994,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
70927
70994
|
/**
|
|
70928
70995
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
70929
70996
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
70997
|
+
* @default 0
|
|
70930
70998
|
* @category a11y
|
|
70931
70999
|
*/
|
|
70932
71000
|
tabIndex: {
|
|
@@ -71618,7 +71686,6 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71618
71686
|
*
|
|
71619
71687
|
* @private
|
|
71620
71688
|
* @method handleDefaultSlot
|
|
71621
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
71622
71689
|
*/
|
|
71623
71690
|
handleDefaultSlot() {
|
|
71624
71691
|
|
|
@@ -71631,7 +71698,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71631
71698
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
71632
71699
|
* @private
|
|
71633
71700
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
71634
|
-
* @returns {
|
|
71701
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
71635
71702
|
*/
|
|
71636
71703
|
renderBasicHtml(helpTextClasses) {
|
|
71637
71704
|
return u$d`
|
|
@@ -71693,7 +71760,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71693
71760
|
/**
|
|
71694
71761
|
* Renders the classic layout.
|
|
71695
71762
|
* @private
|
|
71696
|
-
* @returns {
|
|
71763
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
71697
71764
|
*/
|
|
71698
71765
|
renderLayoutClassic() {
|
|
71699
71766
|
// TODO: check with Doug why this was never used?
|
|
@@ -71709,7 +71776,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71709
71776
|
/**
|
|
71710
71777
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
71711
71778
|
* @private
|
|
71712
|
-
* @returns {
|
|
71779
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
71713
71780
|
*/
|
|
71714
71781
|
renderLayoutSnowflake() {
|
|
71715
71782
|
const helpTextClasses = {
|
|
@@ -71726,7 +71793,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71726
71793
|
/**
|
|
71727
71794
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
71728
71795
|
* @private
|
|
71729
|
-
* @returns {
|
|
71796
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
71730
71797
|
*/
|
|
71731
71798
|
renderLayoutEmphasized() {
|
|
71732
71799
|
const helpTextClasses = {
|
|
@@ -71744,7 +71811,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71744
71811
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
71745
71812
|
* @private
|
|
71746
71813
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
71747
|
-
* @returns {
|
|
71814
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
71748
71815
|
*/
|
|
71749
71816
|
renderLayout(ForcedLayout) {
|
|
71750
71817
|
const layout = ForcedLayout || this.layout;
|
|
@@ -81893,6 +81960,9 @@ function cleanEscapedString(input) {
|
|
|
81893
81960
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
81894
81961
|
}
|
|
81895
81962
|
|
|
81963
|
+
/**
|
|
81964
|
+
* Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
|
|
81965
|
+
*/
|
|
81896
81966
|
class AuroInputUtilities {
|
|
81897
81967
|
|
|
81898
81968
|
/**
|
|
@@ -81912,7 +81982,17 @@ class AuroInputUtilities {
|
|
|
81912
81982
|
} else {
|
|
81913
81983
|
this.locale = 'en-US';
|
|
81914
81984
|
}
|
|
81985
|
+
|
|
81986
|
+
/**
|
|
81987
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
81988
|
+
* @type {string|undefined}
|
|
81989
|
+
*/
|
|
81915
81990
|
this.overrideFormat = config.format;
|
|
81991
|
+
|
|
81992
|
+
/**
|
|
81993
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
81994
|
+
* @type {Intl.DateTimeFormat}
|
|
81995
|
+
*/
|
|
81916
81996
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
81917
81997
|
|
|
81918
81998
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -82343,7 +82423,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
82343
82423
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
82344
82424
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
82345
82425
|
/**
|
|
82346
|
-
*
|
|
82426
|
+
* Gets the options Lit uses to create the shadow root.
|
|
82347
82427
|
* @internal
|
|
82348
82428
|
*/
|
|
82349
82429
|
static get shadowRootOptions() {
|
|
@@ -82503,8 +82583,9 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
82503
82583
|
},
|
|
82504
82584
|
|
|
82505
82585
|
/**
|
|
82506
|
-
* Sets the shape of the field's border.
|
|
82507
|
-
* and `pill
|
|
82586
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
82587
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
82588
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
82508
82589
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
82509
82590
|
* @default 'classic'
|
|
82510
82591
|
* @category ui
|
|
@@ -82516,8 +82597,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
82516
82597
|
},
|
|
82517
82598
|
|
|
82518
82599
|
/**
|
|
82519
|
-
* Sets the field's
|
|
82520
|
-
* emphasized layouts support only `xl`.
|
|
82600
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
82601
|
+
* and the emphasized layouts support only `xl`.
|
|
82521
82602
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
82522
82603
|
* @default 'lg'
|
|
82523
82604
|
* @category ui
|
|
@@ -84313,7 +84394,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
84313
84394
|
}
|
|
84314
84395
|
};
|
|
84315
84396
|
|
|
84316
|
-
var formkitVersion$1$1 = '
|
|
84397
|
+
var formkitVersion$1$1 = '202611091558';
|
|
84317
84398
|
|
|
84318
84399
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
84319
84400
|
// See LICENSE in the project root for license information.
|
|
@@ -84772,7 +84853,7 @@ class AuroInput extends BaseInput {
|
|
|
84772
84853
|
|
|
84773
84854
|
/**
|
|
84774
84855
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
84775
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
84856
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
84776
84857
|
* @private
|
|
84777
84858
|
* @returns {string}
|
|
84778
84859
|
*/
|
|
@@ -85503,7 +85584,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
85503
85584
|
}
|
|
85504
85585
|
|
|
85505
85586
|
/**
|
|
85506
|
-
* Called
|
|
85587
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
85507
85588
|
* @param {Event} event - The `touchmove` event.
|
|
85508
85589
|
* @returns {void}
|
|
85509
85590
|
*/
|
|
@@ -85599,7 +85680,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
85599
85680
|
}
|
|
85600
85681
|
};
|
|
85601
85682
|
|
|
85602
|
-
var formkitVersion$3 = '
|
|
85683
|
+
var formkitVersion$3 = '202611091558';
|
|
85603
85684
|
|
|
85604
85685
|
var styleCss$1$3 = i$4`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
85605
85686
|
|
|
@@ -86068,7 +86149,7 @@ function getOptionLabel(option) {
|
|
|
86068
86149
|
*
|
|
86069
86150
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
86070
86151
|
* @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
|
|
86071
|
-
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
|
|
86152
|
+
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
|
|
86072
86153
|
* @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
|
|
86073
86154
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
86074
86155
|
* @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
|
|
@@ -86171,9 +86252,9 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86171
86252
|
}
|
|
86172
86253
|
|
|
86173
86254
|
/**
|
|
86174
|
-
* Wraps setTimeout and records the timer
|
|
86175
|
-
* can cancel any outstanding callbacks. The
|
|
86176
|
-
* once the callback fires so the set doesn't
|
|
86255
|
+
* Wraps `setTimeout` and records the timer ID so `disconnectedCallback`
|
|
86256
|
+
* can cancel any outstanding callbacks. The ID is removed from the set
|
|
86257
|
+
* once the callback fires, so the set doesn't keep growing.
|
|
86177
86258
|
* @param {Function} fn - The callback to run.
|
|
86178
86259
|
* @param {number} ms - The delay in milliseconds.
|
|
86179
86260
|
* @returns {number} The timer id.
|
|
@@ -86231,7 +86312,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86231
86312
|
},
|
|
86232
86313
|
|
|
86233
86314
|
/**
|
|
86234
|
-
*
|
|
86315
|
+
* Holds the options shown in the menu: every option that isn't hidden,
|
|
86235
86316
|
* such as by filtering on the typed text, plus `persistent` options.
|
|
86236
86317
|
* @private
|
|
86237
86318
|
* @type {HTMLElement[]}
|
|
@@ -86288,7 +86369,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86288
86369
|
},
|
|
86289
86370
|
|
|
86290
86371
|
/**
|
|
86291
|
-
* ID
|
|
86372
|
+
* Holds the dropdown's ID, which the trigger input uses for `aria-controls`.
|
|
86292
86373
|
* @private
|
|
86293
86374
|
*/
|
|
86294
86375
|
dropdownId: {
|
|
@@ -86298,7 +86379,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86298
86379
|
},
|
|
86299
86380
|
|
|
86300
86381
|
/**
|
|
86301
|
-
*
|
|
86382
|
+
* Records whether the bib is open.
|
|
86302
86383
|
* @private
|
|
86303
86384
|
*/
|
|
86304
86385
|
dropdownOpen: {
|
|
@@ -86350,7 +86431,8 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86350
86431
|
},
|
|
86351
86432
|
|
|
86352
86433
|
/**
|
|
86353
|
-
* Sets the overall style of the combobox.
|
|
86434
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
86435
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
86354
86436
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
86355
86437
|
* @default 'classic'
|
|
86356
86438
|
* @category ui
|
|
@@ -86362,8 +86444,9 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86362
86444
|
},
|
|
86363
86445
|
|
|
86364
86446
|
/**
|
|
86365
|
-
* Sets the shape of the trigger.
|
|
86366
|
-
*
|
|
86447
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
86448
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
86449
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
86367
86450
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
86368
86451
|
* @default 'classic'
|
|
86369
86452
|
* @category ui
|
|
@@ -86647,7 +86730,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86647
86730
|
},
|
|
86648
86731
|
|
|
86649
86732
|
/**
|
|
86650
|
-
*
|
|
86733
|
+
* Holds the active (highlighted) option.
|
|
86651
86734
|
* @private
|
|
86652
86735
|
* @type {HTMLElement}
|
|
86653
86736
|
*/
|
|
@@ -86824,7 +86907,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86824
86907
|
}
|
|
86825
86908
|
|
|
86826
86909
|
/**
|
|
86827
|
-
*
|
|
86910
|
+
* Sets the menu's `matchWord` to the input text, then updates the input text and `displayValue` content from the selected option's label, or from `value` when no option is selected.
|
|
86828
86911
|
* @private
|
|
86829
86912
|
* @returns {void}
|
|
86830
86913
|
*/
|
|
@@ -86904,7 +86987,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86904
86987
|
}
|
|
86905
86988
|
|
|
86906
86989
|
/**
|
|
86907
|
-
* Writes nextValue to the trigger input and the bib input when their current
|
|
86990
|
+
* Writes `nextValue` to the trigger input and the bib input when their current
|
|
86908
86991
|
* value differs, then re-asserts imask after Lit's update flushes.
|
|
86909
86992
|
* @param {string} nextValue - The value to write to both inputs.
|
|
86910
86993
|
* @returns {Promise<void>} The promise that resolves after both inputs flush and imask
|
|
@@ -86957,10 +87040,10 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
86957
87040
|
* @param {boolean} [options.preferComboboxValue=false] - If true,
|
|
86958
87041
|
* matches the selected option against `this.value` first. If false,
|
|
86959
87042
|
* matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount
|
|
86960
|
-
* because under `persistInput` the consumer's typedValue prop can drift
|
|
87043
|
+
* because under `persistInput` the consumer's `typedValue` prop can drift
|
|
86961
87044
|
* from the framework value (Svelte `{#key}` re-mount after a swap, or
|
|
86962
87045
|
* SPA preselect after route change) and the old input-first match would
|
|
86963
|
-
* then pick the stale text. Only handleSlotChange passes this; typing
|
|
87046
|
+
* then pick the stale text. Only `handleSlotChange` passes this; typing
|
|
86964
87047
|
* and clearing paths keep the input-first match so user clears aren't
|
|
86965
87048
|
* undone.
|
|
86966
87049
|
* @returns {void}
|
|
@@ -87566,20 +87649,20 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
87566
87649
|
|
|
87567
87650
|
/**
|
|
87568
87651
|
* Flags genuine clear-button activations on an auro-input so the SPA-preselect
|
|
87569
|
-
* guard in handleInputValueChange doesn't swallow them.
|
|
87652
|
+
* guard in `handleInputValueChange` doesn't swallow them.
|
|
87570
87653
|
*
|
|
87571
|
-
* The auro-input clear button fires an `isProgrammatic` input event (
|
|
87572
|
-
* notifyValueChanged) that
|
|
87573
|
-
*
|
|
87574
|
-
*
|
|
87575
|
-
*
|
|
87654
|
+
* The auro-input clear button fires an `isProgrammatic` input event (through
|
|
87655
|
+
* `notifyValueChanged`) that has the same shape as the SPA-preselect echo
|
|
87656
|
+
* that guard bails on (`isProgrammatic`, a set value, and an empty input).
|
|
87657
|
+
* Without this one-shot flag, clicking clear would leave `value` and
|
|
87658
|
+
* `optionSelected` stale (AB#1634257).
|
|
87576
87659
|
*
|
|
87577
|
-
* Delegated on the shadow root so it works
|
|
87578
|
-
*
|
|
87579
|
-
*
|
|
87580
|
-
* the
|
|
87581
|
-
* (handleClickClear) fires its synchronous input event,
|
|
87582
|
-
* handleInputValueChange reads the flag.
|
|
87660
|
+
* Delegated on the shadow root so it works whenever `.clearBtn` renders
|
|
87661
|
+
* (it only exists after a value is set), and covers both real clicks and
|
|
87662
|
+
* programmatic `clearBtn.click()` calls, which no `focusin` precedes.
|
|
87663
|
+
* Registered in the capture phase so the flag is set before the button's own
|
|
87664
|
+
* `@click` handler (`handleClickClear`) fires its synchronous input event,
|
|
87665
|
+
* which is when `handleInputValueChange` reads the flag.
|
|
87583
87666
|
* @private
|
|
87584
87667
|
* @param {Element} inputEl - The auro-input whose clear button to track.
|
|
87585
87668
|
* @returns {void}
|
|
@@ -87640,7 +87723,9 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
87640
87723
|
}
|
|
87641
87724
|
|
|
87642
87725
|
/**
|
|
87643
|
-
*
|
|
87726
|
+
* Called when the text in the trigger input or the fullscreen bib input changes.
|
|
87727
|
+
* Keeps both inputs and `value` in sync, clears the combobox when the input is emptied,
|
|
87728
|
+
* validates when focus is outside the combobox unless `noValidate` is set, and fires `inputValue`.
|
|
87644
87729
|
* @private
|
|
87645
87730
|
* @param {Event} event - The input event triggered by the input element.
|
|
87646
87731
|
* @returns {void}
|
|
@@ -87750,9 +87835,9 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
87750
87835
|
}
|
|
87751
87836
|
|
|
87752
87837
|
/**
|
|
87753
|
-
*
|
|
87754
|
-
* Refreshes menu options and filtering,
|
|
87755
|
-
*
|
|
87838
|
+
* Called when the text in the trigger input changes.
|
|
87839
|
+
* Refreshes the menu's options and filtering, passes the change to `handleInputValueChange`,
|
|
87840
|
+
* and keeps focus in the fullscreen bib input while that bib is open.
|
|
87756
87841
|
* @private
|
|
87757
87842
|
* @param {Event} event - The input event from the trigger input element.
|
|
87758
87843
|
* @returns {void}
|
|
@@ -88790,7 +88875,7 @@ let menuInstanceIdCounter = 0;
|
|
|
88790
88875
|
*
|
|
88791
88876
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
|
|
88792
88877
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
|
|
88793
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
88878
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
88794
88879
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
88795
88880
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
|
|
88796
88881
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|
|
@@ -88935,7 +89020,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
88935
89020
|
},
|
|
88936
89021
|
|
|
88937
89022
|
/**
|
|
88938
|
-
*
|
|
89023
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
88939
89024
|
* @private
|
|
88940
89025
|
*/
|
|
88941
89026
|
level: {
|
|
@@ -89107,8 +89192,8 @@ class AuroMenu extends AuroElement$2 {
|
|
|
89107
89192
|
}
|
|
89108
89193
|
|
|
89109
89194
|
/**
|
|
89110
|
-
*
|
|
89111
|
-
*
|
|
89195
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
89196
|
+
* an array of values parsed from the JSON array string.
|
|
89112
89197
|
* @private
|
|
89113
89198
|
* @returns {String|Array<String>}
|
|
89114
89199
|
*/
|
|
@@ -89918,7 +90003,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
89918
90003
|
}
|
|
89919
90004
|
|
|
89920
90005
|
/**
|
|
89921
|
-
*
|
|
90006
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
89922
90007
|
* @private
|
|
89923
90008
|
* @param {KeyboardEvent} event - The keydown event.
|
|
89924
90009
|
*/
|
|
@@ -89944,7 +90029,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
89944
90029
|
}
|
|
89945
90030
|
|
|
89946
90031
|
/**
|
|
89947
|
-
*
|
|
90032
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
89948
90033
|
* @private
|
|
89949
90034
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
89950
90035
|
*/
|
|
@@ -89964,7 +90049,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
89964
90049
|
}
|
|
89965
90050
|
|
|
89966
90051
|
/**
|
|
89967
|
-
*
|
|
90052
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
89968
90053
|
* @private
|
|
89969
90054
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
89970
90055
|
*/
|
|
@@ -89988,7 +90073,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
89988
90073
|
}
|
|
89989
90074
|
|
|
89990
90075
|
/**
|
|
89991
|
-
*
|
|
90076
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
89992
90077
|
* @private
|
|
89993
90078
|
*/
|
|
89994
90079
|
handleSlotChange() {
|
|
@@ -90084,7 +90169,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
90084
90169
|
}
|
|
90085
90170
|
|
|
90086
90171
|
/**
|
|
90087
|
-
*
|
|
90172
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
90088
90173
|
* @private
|
|
90089
90174
|
* @param {HTMLElement} option - Option with custom event.
|
|
90090
90175
|
*/
|
|
@@ -90104,6 +90189,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
90104
90189
|
}
|
|
90105
90190
|
|
|
90106
90191
|
/**
|
|
90192
|
+
* Checks whether two selections hold the same options, in any order.
|
|
90107
90193
|
* @private
|
|
90108
90194
|
* @param {any} current - The current selection.
|
|
90109
90195
|
* @param {any} next - The new selection to compare.
|
|
@@ -90573,7 +90659,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
90573
90659
|
}
|
|
90574
90660
|
|
|
90575
90661
|
/**
|
|
90576
|
-
*
|
|
90662
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
90577
90663
|
* @private
|
|
90578
90664
|
*/
|
|
90579
90665
|
handleClick() {
|
|
@@ -95749,7 +95835,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
95749
95835
|
}
|
|
95750
95836
|
};
|
|
95751
95837
|
|
|
95752
|
-
var formkitVersion$1 = '
|
|
95838
|
+
var formkitVersion$1 = '202611091558';
|
|
95753
95839
|
|
|
95754
95840
|
/**
|
|
95755
95841
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -95915,8 +96001,8 @@ class AuroElement extends i$2 {
|
|
|
95915
96001
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
95916
96002
|
* @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
|
|
95917
96003
|
* @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
|
|
95918
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
95919
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
96004
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
|
|
96005
|
+
* @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
|
|
95920
96006
|
* @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
|
|
95921
96007
|
*/
|
|
95922
96008
|
class AuroDropdown extends AuroElement {
|
|
@@ -96245,6 +96331,7 @@ class AuroDropdown extends AuroElement {
|
|
|
96245
96331
|
/**
|
|
96246
96332
|
* Removes the trigger's border, background, and shadow.
|
|
96247
96333
|
* Applies only when `shape` and `size` are both set.
|
|
96334
|
+
* @relevantWhen shape !== undefined
|
|
96248
96335
|
* @category ui
|
|
96249
96336
|
*/
|
|
96250
96337
|
simple: {
|
|
@@ -96537,6 +96624,7 @@ class AuroDropdown extends AuroElement {
|
|
|
96537
96624
|
/**
|
|
96538
96625
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
96539
96626
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
96627
|
+
* @default 0
|
|
96540
96628
|
* @category a11y
|
|
96541
96629
|
*/
|
|
96542
96630
|
tabIndex: {
|
|
@@ -97228,7 +97316,6 @@ class AuroDropdown extends AuroElement {
|
|
|
97228
97316
|
*
|
|
97229
97317
|
* @private
|
|
97230
97318
|
* @method handleDefaultSlot
|
|
97231
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
97232
97319
|
*/
|
|
97233
97320
|
handleDefaultSlot() {
|
|
97234
97321
|
|
|
@@ -97241,7 +97328,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97241
97328
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
97242
97329
|
* @private
|
|
97243
97330
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
97244
|
-
* @returns {
|
|
97331
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
97245
97332
|
*/
|
|
97246
97333
|
renderBasicHtml(helpTextClasses) {
|
|
97247
97334
|
return u$d`
|
|
@@ -97303,7 +97390,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97303
97390
|
/**
|
|
97304
97391
|
* Renders the classic layout.
|
|
97305
97392
|
* @private
|
|
97306
|
-
* @returns {
|
|
97393
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
97307
97394
|
*/
|
|
97308
97395
|
renderLayoutClassic() {
|
|
97309
97396
|
// TODO: check with Doug why this was never used?
|
|
@@ -97319,7 +97406,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97319
97406
|
/**
|
|
97320
97407
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
97321
97408
|
* @private
|
|
97322
|
-
* @returns {
|
|
97409
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
97323
97410
|
*/
|
|
97324
97411
|
renderLayoutSnowflake() {
|
|
97325
97412
|
const helpTextClasses = {
|
|
@@ -97336,7 +97423,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97336
97423
|
/**
|
|
97337
97424
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
97338
97425
|
* @private
|
|
97339
|
-
* @returns {
|
|
97426
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
97340
97427
|
*/
|
|
97341
97428
|
renderLayoutEmphasized() {
|
|
97342
97429
|
const helpTextClasses = {
|
|
@@ -97354,7 +97441,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97354
97441
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
97355
97442
|
* @private
|
|
97356
97443
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
97357
|
-
* @returns {
|
|
97444
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
97358
97445
|
*/
|
|
97359
97446
|
renderLayout(ForcedLayout) {
|
|
97360
97447
|
const layout = ForcedLayout || this.layout;
|
|
@@ -97739,7 +97826,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
97739
97826
|
}
|
|
97740
97827
|
|
|
97741
97828
|
/**
|
|
97742
|
-
* Called
|
|
97829
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
97743
97830
|
* @param {Event} event - The `touchmove` event.
|
|
97744
97831
|
* @returns {void}
|
|
97745
97832
|
*/
|
|
@@ -98089,7 +98176,7 @@ class AuroHelpText extends i$2 {
|
|
|
98089
98176
|
}
|
|
98090
98177
|
}
|
|
98091
98178
|
|
|
98092
|
-
var formkitVersion = '
|
|
98179
|
+
var formkitVersion = '202611091558';
|
|
98093
98180
|
|
|
98094
98181
|
var styleCss = i$4`.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-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-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{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-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{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-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{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-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{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-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{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-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{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-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-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-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{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-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);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-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.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%;box-sizing:border-box;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{cursor:text}: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}`;
|
|
98095
98182
|
|
|
@@ -98267,6 +98354,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
98267
98354
|
|
|
98268
98355
|
/**
|
|
98269
98356
|
* Deprecated: Use `placement` instead.
|
|
98357
|
+
* Moves the bib to whichever side of the trigger has the most space.
|
|
98270
98358
|
* The bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set.
|
|
98271
98359
|
* @deprecated Use `placement` instead.
|
|
98272
98360
|
* @category ui
|
|
@@ -98596,7 +98684,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
98596
98684
|
},
|
|
98597
98685
|
|
|
98598
98686
|
/**
|
|
98599
|
-
*
|
|
98687
|
+
* Records whether focus has moved into the select since it was created or last reset.
|
|
98600
98688
|
* @private
|
|
98601
98689
|
*/
|
|
98602
98690
|
touched: {
|
|
@@ -98884,7 +98972,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
98884
98972
|
}
|
|
98885
98973
|
|
|
98886
98974
|
/**
|
|
98887
|
-
* Updates the
|
|
98975
|
+
* Updates the value and `displayValue` content shown in the trigger to match `optionSelected`.
|
|
98888
98976
|
* @private
|
|
98889
98977
|
* @returns {void}
|
|
98890
98978
|
*/
|
|
@@ -98969,7 +99057,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
98969
99057
|
}
|
|
98970
99058
|
|
|
98971
99059
|
/**
|
|
98972
|
-
* Sets aria-setsize and aria-posinset on each menu option so screen readers
|
|
99060
|
+
* Sets `aria-setsize` and `aria-posinset` on each menu option so screen readers
|
|
98973
99061
|
* can announce position even when the listbox context is broken by
|
|
98974
99062
|
* shadow DOM boundaries.
|
|
98975
99063
|
* @private
|