@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.1 → 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/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +50 -32
- package/components/combobox/demo/getting-started.min.js +50 -32
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +50 -32
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +39 -22
- package/components/combobox/dist/registered.js +39 -22
- 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 +316 -230
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +316 -230
- package/components/form/demo/index.md +2 -2
- package/components/form/demo/index.min.js +316 -230
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +314 -228
- 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 +148 -132
- package/package.json +1 -1
|
@@ -131,7 +131,7 @@ let AuroLibraryRuntimeUtils$b = class AuroLibraryRuntimeUtils {
|
|
|
131
131
|
* - **Collects values**: The form always gathers the value of every named, enabled Auro form element inside it, such as `auro-input` or `auro-select`, into one object in `value`.
|
|
132
132
|
* - **Tracks validity and changes**: The form always reports whether its fields pass validation in `validity`, and whether any field has changed from its starting value in `isInitialState`.
|
|
133
133
|
* - **Manages submit and reset buttons**: The form always turns on a `button` or `auro-button` with `type="submit"` only while no enabled field is invalid or required but empty, and one with `type="reset"` only when the form has changed or holds a value.
|
|
134
|
-
* - **Submits on Enter**: Pressing Enter in a named, enabled form element
|
|
134
|
+
* - **Submits on Enter**: Pressing Enter in a named, enabled form element runs `submit()`, except on the clear button in `auro-input` or `auro-combobox`.
|
|
135
135
|
* - **Skips disabled fields**: The form always leaves fields with the `disabled` attribute out of `value`, validation, and the `submit` event.
|
|
136
136
|
*
|
|
137
137
|
* **Example**
|
|
@@ -148,7 +148,7 @@ let AuroLibraryRuntimeUtils$b = class AuroLibraryRuntimeUtils {
|
|
|
148
148
|
*
|
|
149
149
|
* @slot default - Named Auro form elements, such as `auro-input` and `auro-select`, plus the submit and reset buttons the form controls. Fields can be nested in other elements, such as a `div` or `fieldset`. {@requiredWhen always} {@category ui}
|
|
150
150
|
*
|
|
151
|
-
* @event input -
|
|
151
|
+
* @event input - Bubbles up from a child form element when it receives user input; the form doesn't fire `input` itself. `auro-counter-group` doesn't currently bubble its `input` event, so listen for `change` to catch every field.
|
|
152
152
|
* @event change - Fires when a child form element's value changes, and when the form rebuilds its state, such as after its content changes or a reset.
|
|
153
153
|
* @event reset - Fires after the form resets. The event's `detail.previousValue` holds the form's values from just before the reset.
|
|
154
154
|
* @event submit - Fires when the form is submitted and no enabled field is invalid or required but empty. The event's `detail.value` holds the form's current values.
|
|
@@ -11361,6 +11361,9 @@ function cleanEscapedString$5(input) {
|
|
|
11361
11361
|
return input.match(escapedStringRegExp$5)[1].replace(doubleQuoteRegExp$5, "'");
|
|
11362
11362
|
}
|
|
11363
11363
|
|
|
11364
|
+
/**
|
|
11365
|
+
* 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.
|
|
11366
|
+
*/
|
|
11364
11367
|
let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
11365
11368
|
|
|
11366
11369
|
/**
|
|
@@ -11380,7 +11383,17 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
11380
11383
|
} else {
|
|
11381
11384
|
this.locale = 'en-US';
|
|
11382
11385
|
}
|
|
11386
|
+
|
|
11387
|
+
/**
|
|
11388
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
11389
|
+
* @type {string|undefined}
|
|
11390
|
+
*/
|
|
11383
11391
|
this.overrideFormat = config.format;
|
|
11392
|
+
|
|
11393
|
+
/**
|
|
11394
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
11395
|
+
* @type {Intl.DateTimeFormat}
|
|
11396
|
+
*/
|
|
11384
11397
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
11385
11398
|
|
|
11386
11399
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -11811,7 +11824,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11811
11824
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
11812
11825
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
11813
11826
|
/**
|
|
11814
|
-
*
|
|
11827
|
+
* Gets the options Lit uses to create the shadow root.
|
|
11815
11828
|
* @internal
|
|
11816
11829
|
*/
|
|
11817
11830
|
static get shadowRootOptions() {
|
|
@@ -11971,8 +11984,9 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11971
11984
|
},
|
|
11972
11985
|
|
|
11973
11986
|
/**
|
|
11974
|
-
* Sets the shape of the field's border.
|
|
11975
|
-
* and `pill
|
|
11987
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
11988
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
11989
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
11976
11990
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
11977
11991
|
* @default 'classic'
|
|
11978
11992
|
* @category ui
|
|
@@ -11984,8 +11998,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11984
11998
|
},
|
|
11985
11999
|
|
|
11986
12000
|
/**
|
|
11987
|
-
* Sets the field's
|
|
11988
|
-
* emphasized layouts support only `xl`.
|
|
12001
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
12002
|
+
* and the emphasized layouts support only `xl`.
|
|
11989
12003
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
11990
12004
|
* @default 'lg'
|
|
11991
12005
|
* @category ui
|
|
@@ -13781,7 +13795,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13781
13795
|
}
|
|
13782
13796
|
};
|
|
13783
13797
|
|
|
13784
|
-
var formkitVersion$8 = '
|
|
13798
|
+
var formkitVersion$8 = '202611091558';
|
|
13785
13799
|
|
|
13786
13800
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13787
13801
|
// See LICENSE in the project root for license information.
|
|
@@ -14240,7 +14254,7 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
14240
14254
|
|
|
14241
14255
|
/**
|
|
14242
14256
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
14243
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
14257
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
14244
14258
|
* @private
|
|
14245
14259
|
* @returns {string}
|
|
14246
14260
|
*/
|
|
@@ -24895,6 +24909,9 @@ try {
|
|
|
24895
24909
|
globalThis.IMask = IMask$1;
|
|
24896
24910
|
} catch {}
|
|
24897
24911
|
|
|
24912
|
+
/**
|
|
24913
|
+
* 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.
|
|
24914
|
+
*/
|
|
24898
24915
|
let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
24899
24916
|
|
|
24900
24917
|
/**
|
|
@@ -24914,7 +24931,17 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
24914
24931
|
} else {
|
|
24915
24932
|
this.locale = 'en-US';
|
|
24916
24933
|
}
|
|
24934
|
+
|
|
24935
|
+
/**
|
|
24936
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
24937
|
+
* @type {string|undefined}
|
|
24938
|
+
*/
|
|
24917
24939
|
this.overrideFormat = config.format;
|
|
24940
|
+
|
|
24941
|
+
/**
|
|
24942
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
24943
|
+
* @type {Intl.DateTimeFormat}
|
|
24944
|
+
*/
|
|
24918
24945
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
24919
24946
|
|
|
24920
24947
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -25228,6 +25255,9 @@ function getDateFormatFromLocale$1 (locale) {
|
|
|
25228
25255
|
/* eslint-disable array-element-newline, dot-location */
|
|
25229
25256
|
|
|
25230
25257
|
|
|
25258
|
+
/**
|
|
25259
|
+
* Date helpers the datepicker and its calendar share, such as finding the first day of a month and counting the months between two dates.
|
|
25260
|
+
*/
|
|
25231
25261
|
class AuroDatepickerUtilities {
|
|
25232
25262
|
|
|
25233
25263
|
/**
|
|
@@ -25268,7 +25298,7 @@ class AuroDatepickerUtilities {
|
|
|
25268
25298
|
}
|
|
25269
25299
|
|
|
25270
25300
|
/**
|
|
25271
|
-
*
|
|
25301
|
+
* Checks whether two dates are the same moment in time.
|
|
25272
25302
|
* @private
|
|
25273
25303
|
* @param {Object} date1 - The first date to compare.
|
|
25274
25304
|
* @param {Object} date2 - The second date to compare.
|
|
@@ -25279,15 +25309,23 @@ class AuroDatepickerUtilities {
|
|
|
25279
25309
|
}
|
|
25280
25310
|
}
|
|
25281
25311
|
|
|
25312
|
+
/**
|
|
25313
|
+
* Helpers the datepicker and its calendar use to set the month the calendar shows, and to choose and render the calendar's months.
|
|
25314
|
+
*/
|
|
25282
25315
|
class UtilitiesCalendarRender {
|
|
25283
25316
|
constructor() {
|
|
25317
|
+
|
|
25318
|
+
/**
|
|
25319
|
+
* The date helpers these methods use.
|
|
25320
|
+
* @private
|
|
25321
|
+
*/
|
|
25284
25322
|
this.util = new AuroDatepickerUtilities();
|
|
25285
25323
|
}
|
|
25286
25324
|
|
|
25287
25325
|
/**
|
|
25288
25326
|
* Sets `centralDate` to the first day of the date's month, when the date is valid.
|
|
25289
|
-
* @param {Object} elem - The element to set
|
|
25290
|
-
* @param {
|
|
25327
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
25328
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
25291
25329
|
* @private
|
|
25292
25330
|
*/
|
|
25293
25331
|
updateCentralDate(elem, date) {
|
|
@@ -25413,12 +25451,12 @@ class UtilitiesCalendarRender {
|
|
|
25413
25451
|
}
|
|
25414
25452
|
|
|
25415
25453
|
/**
|
|
25416
|
-
* Renders
|
|
25454
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
25417
25455
|
* @private
|
|
25418
25456
|
* @param {Object} elem - The auro-calendar element.
|
|
25419
25457
|
* @param {Number} month - The month the calendar displays.
|
|
25420
25458
|
* @param {Number} year - The year the calendar displays.
|
|
25421
|
-
* @returns {Object} The auro-calendar-month
|
|
25459
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
25422
25460
|
*/
|
|
25423
25461
|
renderCalendar(elem, month, year) {
|
|
25424
25462
|
return b$a`
|
|
@@ -25714,12 +25752,12 @@ class RangeDatepickerCalendar extends i$3 {
|
|
|
25714
25752
|
super();
|
|
25715
25753
|
|
|
25716
25754
|
/**
|
|
25717
|
-
*
|
|
25755
|
+
* Sets the chosen date, or the start date of a range, as a Unix timestamp in seconds.
|
|
25718
25756
|
*/
|
|
25719
25757
|
this.dateFrom = null;
|
|
25720
25758
|
|
|
25721
25759
|
/**
|
|
25722
|
-
*
|
|
25760
|
+
* Sets the end date of a range, as a Unix timestamp in seconds.
|
|
25723
25761
|
*/
|
|
25724
25762
|
this.dateTo = null;
|
|
25725
25763
|
this.hoveredDate = null;
|
|
@@ -25733,12 +25771,12 @@ class RangeDatepickerCalendar extends i$3 {
|
|
|
25733
25771
|
this.disabledDays = [];
|
|
25734
25772
|
|
|
25735
25773
|
/**
|
|
25736
|
-
*
|
|
25774
|
+
* Sets the latest date people can choose, as a Unix timestamp in seconds.
|
|
25737
25775
|
*/
|
|
25738
25776
|
this.max = null;
|
|
25739
25777
|
|
|
25740
25778
|
/**
|
|
25741
|
-
*
|
|
25779
|
+
* Sets the earliest date people can choose, as a Unix timestamp in seconds.
|
|
25742
25780
|
*/
|
|
25743
25781
|
this.min = null;
|
|
25744
25782
|
this.yearsList = [];
|
|
@@ -26540,7 +26578,9 @@ class AuroCalendarCell extends i$3 {
|
|
|
26540
26578
|
}
|
|
26541
26579
|
|
|
26542
26580
|
/**
|
|
26543
|
-
*
|
|
26581
|
+
* Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
|
|
26582
|
+
* Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
|
|
26583
|
+
* `calendar-cell-activate` so the calendar makes the cell the active cell.
|
|
26544
26584
|
* @private
|
|
26545
26585
|
* @returns {void}
|
|
26546
26586
|
*/
|
|
@@ -26560,9 +26600,9 @@ class AuroCalendarCell extends i$3 {
|
|
|
26560
26600
|
}
|
|
26561
26601
|
|
|
26562
26602
|
/**
|
|
26563
|
-
*
|
|
26564
|
-
*
|
|
26565
|
-
*
|
|
26603
|
+
* Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
|
|
26604
|
+
* Doesn't set any reactive properties, because the calendar updates the range preview
|
|
26605
|
+
* directly to avoid re-rendering every cell.
|
|
26566
26606
|
* @private
|
|
26567
26607
|
* @returns {void}
|
|
26568
26608
|
*/
|
|
@@ -26573,10 +26613,8 @@ class AuroCalendarCell extends i$3 {
|
|
|
26573
26613
|
}
|
|
26574
26614
|
|
|
26575
26615
|
/**
|
|
26576
|
-
*
|
|
26577
|
-
*
|
|
26578
|
-
* announcements and range preview updates without triggering
|
|
26579
|
-
* any Lit lifecycle updates.
|
|
26616
|
+
* Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
|
|
26617
|
+
* announce the date to screen readers and update the range preview without re-rendering the cell.
|
|
26580
26618
|
* @private
|
|
26581
26619
|
* @returns {void}
|
|
26582
26620
|
*/
|
|
@@ -26589,12 +26627,12 @@ class AuroCalendarCell extends i$3 {
|
|
|
26589
26627
|
}
|
|
26590
26628
|
|
|
26591
26629
|
/**
|
|
26592
|
-
* Checks
|
|
26593
|
-
* Out-of-range cells
|
|
26630
|
+
* Checks whether the cell's date is earlier than `min` or later than `max`.
|
|
26631
|
+
* Out-of-range cells aren't focusable and are hidden from screen readers.
|
|
26594
26632
|
* @private
|
|
26595
|
-
* @param {Object} day -
|
|
26596
|
-
* @param {Number} min - The
|
|
26597
|
-
* @param {Number} max - The
|
|
26633
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
26634
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
26635
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
26598
26636
|
* @returns {Boolean} True if the date is out of range; false otherwise.
|
|
26599
26637
|
*/
|
|
26600
26638
|
isOutOfRange(day, min, max) {
|
|
@@ -26645,16 +26683,15 @@ class AuroCalendarCell extends i$3 {
|
|
|
26645
26683
|
}
|
|
26646
26684
|
|
|
26647
26685
|
/**
|
|
26648
|
-
* Checks
|
|
26649
|
-
*
|
|
26650
|
-
*
|
|
26651
|
-
* disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
|
|
26686
|
+
* Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
|
|
26687
|
+
* deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
|
|
26688
|
+
* it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
|
|
26652
26689
|
* @private
|
|
26653
|
-
* @param {Object} day -
|
|
26654
|
-
* @param {Number} min - The
|
|
26655
|
-
* @param {Number} max - The
|
|
26656
|
-
* @param {Array} disabledDays -
|
|
26657
|
-
* @returns {Boolean} True if the date is
|
|
26690
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
26691
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
26692
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
26693
|
+
* @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
|
|
26694
|
+
* @returns {Boolean} True if the date is turned off; false otherwise.
|
|
26658
26695
|
*/
|
|
26659
26696
|
isEnabled(day, min, max, disabledDays) {
|
|
26660
26697
|
this.removeAttribute('disabled');
|
|
@@ -26669,9 +26706,9 @@ class AuroCalendarCell extends i$3 {
|
|
|
26669
26706
|
}
|
|
26670
26707
|
|
|
26671
26708
|
/**
|
|
26672
|
-
* Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
26709
|
+
* Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
|
|
26673
26710
|
* @private
|
|
26674
|
-
* @returns {String} The unique cell ID.
|
|
26711
|
+
* @returns {String} The unique cell ID, or an empty string when the cell has no date.
|
|
26675
26712
|
*/
|
|
26676
26713
|
getCellId() {
|
|
26677
26714
|
if (!this.day || !this.day.date) return '';
|
|
@@ -26683,10 +26720,10 @@ class AuroCalendarCell extends i$3 {
|
|
|
26683
26720
|
}
|
|
26684
26721
|
|
|
26685
26722
|
/**
|
|
26686
|
-
* Generates
|
|
26687
|
-
*
|
|
26723
|
+
* Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
|
|
26724
|
+
* Adds the date slot and popover content, the range position, and the blackout label.
|
|
26688
26725
|
* @private
|
|
26689
|
-
* @returns {String} The aria-label string.
|
|
26726
|
+
* @returns {String} The `aria-label` text, or an empty string when the cell has no date.
|
|
26690
26727
|
*/
|
|
26691
26728
|
getAriaLabel() {
|
|
26692
26729
|
if (!this.day || this.day.date === undefined) return '';
|
|
@@ -26858,10 +26895,10 @@ class AuroCalendarCell extends i$3 {
|
|
|
26858
26895
|
}
|
|
26859
26896
|
|
|
26860
26897
|
/**
|
|
26861
|
-
*
|
|
26898
|
+
* Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
|
|
26862
26899
|
* @private
|
|
26863
|
-
* @param {Number} date - The date
|
|
26864
|
-
* @returns {String} The
|
|
26900
|
+
* @param {Number} date - The date, as a Unix timestamp in seconds.
|
|
26901
|
+
* @returns {String} The formatted date, or an empty string when `date` is undefined.
|
|
26865
26902
|
*/
|
|
26866
26903
|
getTitle(date) {
|
|
26867
26904
|
if (date === undefined) {
|
|
@@ -26908,7 +26945,7 @@ class AuroCalendarCell extends i$3 {
|
|
|
26908
26945
|
}
|
|
26909
26946
|
|
|
26910
26947
|
/**
|
|
26911
|
-
*
|
|
26948
|
+
* 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`.
|
|
26912
26949
|
* @private
|
|
26913
26950
|
* @returns {void}
|
|
26914
26951
|
*/
|
|
@@ -27070,8 +27107,8 @@ class AuroCalendarCell extends i$3 {
|
|
|
27070
27107
|
}
|
|
27071
27108
|
|
|
27072
27109
|
/**
|
|
27073
|
-
* Sets
|
|
27074
|
-
* and blackout
|
|
27110
|
+
* Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
|
|
27111
|
+
* whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
|
|
27075
27112
|
* @private
|
|
27076
27113
|
* @returns {void}
|
|
27077
27114
|
*/
|
|
@@ -27313,8 +27350,8 @@ const getMonthNamesFromLocale = (locale) => {
|
|
|
27313
27350
|
* Gets the localized names of the days of the week, starting from Sunday, in the given style.
|
|
27314
27351
|
* Uses UTC dates to avoid DST-related day drift across timezones.
|
|
27315
27352
|
* @private
|
|
27316
|
-
* @param {String} locale - The BCP 47 language tag for localization, such as
|
|
27317
|
-
* @param {String} weekday - The style of the weekday name:
|
|
27353
|
+
* @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
|
|
27354
|
+
* @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
|
|
27318
27355
|
* @returns {Array} An array of seven localized weekday names, starting from Sunday.
|
|
27319
27356
|
*/
|
|
27320
27357
|
const getWeekdayNames = (locale, weekday) => {
|
|
@@ -27447,10 +27484,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
27447
27484
|
}
|
|
27448
27485
|
|
|
27449
27486
|
/**
|
|
27450
|
-
* Renders a day-of-week column header that shows the
|
|
27487
|
+
* 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`.
|
|
27451
27488
|
* @private
|
|
27452
|
-
* @param {String} dayOfWeek - The
|
|
27453
|
-
* @param {Number} index - The index in
|
|
27489
|
+
* @param {String} dayOfWeek - The narrow day name, such as "S".
|
|
27490
|
+
* @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
|
|
27454
27491
|
* @returns {Object} The header HTML.
|
|
27455
27492
|
*/
|
|
27456
27493
|
renderDayOfWeek(dayOfWeek, index) {
|
|
@@ -27473,9 +27510,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
27473
27510
|
}
|
|
27474
27511
|
|
|
27475
27512
|
/**
|
|
27476
|
-
*
|
|
27477
|
-
*
|
|
27478
|
-
* the
|
|
27513
|
+
* Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
|
|
27514
|
+
* instead of setting the base class's reactive `hoveredDate`, so the calendar can update
|
|
27515
|
+
* the range preview without re-rendering.
|
|
27479
27516
|
* @private
|
|
27480
27517
|
* @param {CustomEvent} event - The date-is-hovered event from a cell.
|
|
27481
27518
|
* @returns {void}
|
|
@@ -27487,8 +27524,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
27487
27524
|
}
|
|
27488
27525
|
|
|
27489
27526
|
/**
|
|
27490
|
-
*
|
|
27491
|
-
* so the
|
|
27527
|
+
* Called when the pointer leaves the month's date grid. Fires a bubbling
|
|
27528
|
+
* `calendar-month-mouseleave` event so the calendar can clear the range preview.
|
|
27492
27529
|
* @private
|
|
27493
27530
|
* @returns {void}
|
|
27494
27531
|
*/
|
|
@@ -27589,37 +27626,37 @@ class RangeDatepicker extends i$3 {
|
|
|
27589
27626
|
super();
|
|
27590
27627
|
|
|
27591
27628
|
/**
|
|
27592
|
-
*
|
|
27629
|
+
* Sets dates people can't select, as Unix timestamps in seconds.
|
|
27593
27630
|
*/
|
|
27594
27631
|
this.disabledDays = [];
|
|
27595
27632
|
|
|
27596
27633
|
/**
|
|
27597
|
-
*
|
|
27634
|
+
* 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.
|
|
27598
27635
|
*/
|
|
27599
27636
|
this.enableYearChange = false;
|
|
27600
27637
|
|
|
27601
27638
|
/**
|
|
27602
|
-
*
|
|
27639
|
+
* Shows one month at a time, even on screens wider than 650 pixels.
|
|
27603
27640
|
*/
|
|
27604
27641
|
this.forceNarrow = false;
|
|
27605
27642
|
|
|
27606
27643
|
/**
|
|
27607
|
-
*
|
|
27644
|
+
* Sets the date-fns locale object used for the month and weekday names, such as `enUS`. Uses `enUS` when not set.
|
|
27608
27645
|
*/
|
|
27609
27646
|
this.locale = null;
|
|
27610
27647
|
|
|
27611
27648
|
/**
|
|
27612
|
-
*
|
|
27649
|
+
* Sets the latest date people can choose, as a Unix timestamp in seconds.
|
|
27613
27650
|
*/
|
|
27614
27651
|
this.max = '8640000000000';
|
|
27615
27652
|
|
|
27616
27653
|
/**
|
|
27617
|
-
*
|
|
27654
|
+
* Sets the earliest date people can choose, as a Unix timestamp in seconds.
|
|
27618
27655
|
*/
|
|
27619
27656
|
this.min = '-8640000000000';
|
|
27620
27657
|
|
|
27621
27658
|
/**
|
|
27622
|
-
*
|
|
27659
|
+
* Lets people choose only one date instead of a start date and an end date.
|
|
27623
27660
|
*/
|
|
27624
27661
|
this.noRange = false;
|
|
27625
27662
|
this.dateFrom = null;
|
|
@@ -27835,8 +27872,16 @@ var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Direct
|
|
|
27835
27872
|
|
|
27836
27873
|
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>"};
|
|
27837
27874
|
|
|
27875
|
+
/**
|
|
27876
|
+
* 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.
|
|
27877
|
+
*/
|
|
27838
27878
|
class CalendarUtilities {
|
|
27839
27879
|
constructor() {
|
|
27880
|
+
|
|
27881
|
+
/**
|
|
27882
|
+
* The date helpers these methods use.
|
|
27883
|
+
* @private
|
|
27884
|
+
*/
|
|
27840
27885
|
this.util = new AuroDatepickerUtilities();
|
|
27841
27886
|
}
|
|
27842
27887
|
|
|
@@ -27862,7 +27907,8 @@ class CalendarUtilities {
|
|
|
27862
27907
|
}
|
|
27863
27908
|
|
|
27864
27909
|
/**
|
|
27865
|
-
*
|
|
27910
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
27911
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
27866
27912
|
* @private
|
|
27867
27913
|
* @returns {void}
|
|
27868
27914
|
*/
|
|
@@ -27938,7 +27984,8 @@ class CalendarUtilities {
|
|
|
27938
27984
|
}
|
|
27939
27985
|
|
|
27940
27986
|
/**
|
|
27941
|
-
*
|
|
27987
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
27988
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
27942
27989
|
* @param {Object} elem - The auro-calendar element.
|
|
27943
27990
|
* @private
|
|
27944
27991
|
* @returns {void}
|
|
@@ -28349,7 +28396,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
28349
28396
|
}
|
|
28350
28397
|
|
|
28351
28398
|
/**
|
|
28352
|
-
* Called
|
|
28399
|
+
* 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.
|
|
28353
28400
|
* @param {Event} event - The `touchmove` event.
|
|
28354
28401
|
* @returns {void}
|
|
28355
28402
|
*/
|
|
@@ -28445,7 +28492,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
28445
28492
|
}
|
|
28446
28493
|
};
|
|
28447
28494
|
|
|
28448
|
-
var formkitVersion$2$1 = '
|
|
28495
|
+
var formkitVersion$2$1 = '202611091558';
|
|
28449
28496
|
|
|
28450
28497
|
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$2`${s$3(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$6`: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}
|
|
28451
28498
|
`,u$4$2=i$6`.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}}
|
|
@@ -28538,7 +28585,7 @@ var buttonVersion$1$1 = '12.3.2';
|
|
|
28538
28585
|
* @event auroCalendar-dateSelected - Notifies that someone selected a date in the calendar.
|
|
28539
28586
|
* @event auroCalendar-centralDateChanged - Notifies that the month shown has changed. Doesn't bubble; `event.detail.date` is the new `centralDate`.
|
|
28540
28587
|
* @event auroCalendar-dismissRequest - Notifies that someone selected the close or Done button, so the datepicker closes the dropdown.
|
|
28541
|
-
* @event narrow-changedProperties - Notifies
|
|
28588
|
+
* @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.
|
|
28542
28589
|
*/
|
|
28543
28590
|
class AuroCalendar extends RangeDatepicker {
|
|
28544
28591
|
constructor() {
|
|
@@ -28609,18 +28656,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28609
28656
|
*/
|
|
28610
28657
|
this.calendarRangeMonths = null;
|
|
28611
28658
|
|
|
28612
|
-
/**
|
|
28613
|
-
* @deprecated Use `auro-datepicker.blackoutDates` (an array of
|
|
28614
|
-
* `YYYY-MM-DD` ISO strings) instead. This legacy array of Unix
|
|
28615
|
-
* timestamps is still honored for backward compatibility but emits a
|
|
28616
|
-
* one-time `console.debug` the first time a non-empty value is observed.
|
|
28617
|
-
* Support will be removed in a future major release.
|
|
28618
|
-
* @private
|
|
28619
|
-
*/
|
|
28620
28659
|
// Initialize the backing field directly so the constructor's default
|
|
28621
28660
|
// empty array doesn't trigger the deprecation warning. Assignments from
|
|
28622
28661
|
// consumers still route through the setter below.
|
|
28623
28662
|
/**
|
|
28663
|
+
* Deprecated: Use `blackoutDates` on `auro-datepicker` instead.
|
|
28664
|
+
* 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.
|
|
28665
|
+
* @deprecated Use `blackoutDates` on `auro-datepicker` instead.
|
|
28624
28666
|
* @private
|
|
28625
28667
|
* @type {number[]}
|
|
28626
28668
|
*/
|
|
@@ -28797,7 +28839,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28797
28839
|
},
|
|
28798
28840
|
|
|
28799
28841
|
/**
|
|
28800
|
-
*
|
|
28842
|
+
* Sets the window width, in pixels, below which `scrollMonthIntoView()` scrolls to a month. The datepicker doesn't currently set it.
|
|
28801
28843
|
* @private
|
|
28802
28844
|
*/
|
|
28803
28845
|
mobileBreakpoint: {
|
|
@@ -28995,9 +29037,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28995
29037
|
}
|
|
28996
29038
|
|
|
28997
29039
|
/**
|
|
28998
|
-
* Renders
|
|
29040
|
+
* Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
|
|
29041
|
+
* Renders nothing until `visible` is set.
|
|
28999
29042
|
* @private
|
|
29000
|
-
* @returns {Object} The
|
|
29043
|
+
* @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
|
|
29001
29044
|
*/
|
|
29002
29045
|
renderAllCalendars() {
|
|
29003
29046
|
let renderedHtml = undefined;
|
|
@@ -29211,7 +29254,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29211
29254
|
}
|
|
29212
29255
|
|
|
29213
29256
|
/**
|
|
29214
|
-
* Shows the
|
|
29257
|
+
* Called when focus moves into the calendar grid. Shows the focus ring on the active cell
|
|
29258
|
+
* when the grid itself gets focus, not a cell inside it.
|
|
29215
29259
|
* @private
|
|
29216
29260
|
* @param {FocusEvent} [event] - The focusin event.
|
|
29217
29261
|
* @returns {void}
|
|
@@ -29240,7 +29284,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29240
29284
|
}
|
|
29241
29285
|
|
|
29242
29286
|
/**
|
|
29243
|
-
*
|
|
29287
|
+
* Called when the calendar grid or an element in it loses focus. Removes the focus ring from
|
|
29288
|
+
* every cell, and clears the range preview while the range doesn't have both dates.
|
|
29244
29289
|
* @private
|
|
29245
29290
|
* @returns {void}
|
|
29246
29291
|
*/
|
|
@@ -29331,15 +29376,17 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29331
29376
|
/**
|
|
29332
29377
|
* Computes the initial active date from data properties alone, without the DOM.
|
|
29333
29378
|
* Priority:
|
|
29334
|
-
* 1.
|
|
29335
|
-
* 2.
|
|
29336
|
-
* 3.
|
|
29337
|
-
* 4.
|
|
29338
|
-
* 5.
|
|
29339
|
-
*
|
|
29340
|
-
*
|
|
29341
|
-
*
|
|
29342
|
-
*
|
|
29379
|
+
* 1. The selected date (`dateFrom`), if it's within range.
|
|
29380
|
+
* 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
|
|
29381
|
+
* 3. Today's date, if it's enabled (in range and not a blackout date).
|
|
29382
|
+
* 4. The first enabled date in the visible months, or else their first in-range date.
|
|
29383
|
+
* 5. The first enabled date after today, scanning day by day for up to a year.
|
|
29384
|
+
* 6. The first enabled date before today, scanning day by day for up to a year.
|
|
29385
|
+
* 7. The first enabled date in a finite [min, max] range.
|
|
29386
|
+
* 7b. The first enabled date scanning forward from a finite min (unbounded max).
|
|
29387
|
+
* 7c. The first enabled date scanning backward from a finite max (unbounded min).
|
|
29388
|
+
* 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.
|
|
29389
|
+
* 9. Undefined: no valid target.
|
|
29343
29390
|
*
|
|
29344
29391
|
* @private
|
|
29345
29392
|
* @param {Object} [options] - The optional settings.
|
|
@@ -29587,9 +29634,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29587
29634
|
}
|
|
29588
29635
|
|
|
29589
29636
|
/**
|
|
29590
|
-
*
|
|
29591
|
-
*
|
|
29592
|
-
*
|
|
29637
|
+
* Called when a key is pressed while the calendar grid has focus. The arrow keys move the
|
|
29638
|
+
* active cell, into another month when needed, and Enter or Space selects the active date
|
|
29639
|
+
* unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
|
|
29593
29640
|
* @private
|
|
29594
29641
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
29595
29642
|
* @returns {void}
|
|
@@ -29721,7 +29768,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29721
29768
|
}
|
|
29722
29769
|
|
|
29723
29770
|
/**
|
|
29724
|
-
*
|
|
29771
|
+
* Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
|
|
29772
|
+
* across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
|
|
29773
|
+
* currently fires this event.
|
|
29725
29774
|
* @private
|
|
29726
29775
|
* @param {CustomEvent} event - The boundary event with direction and source date info.
|
|
29727
29776
|
* @returns {void}
|
|
@@ -29862,7 +29911,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29862
29911
|
}
|
|
29863
29912
|
|
|
29864
29913
|
/**
|
|
29865
|
-
*
|
|
29914
|
+
* Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
|
|
29915
|
+
* the active cell without moving focus to the grid.
|
|
29866
29916
|
* @private
|
|
29867
29917
|
* @param {CustomEvent} event - The activation event with target date.
|
|
29868
29918
|
* @returns {void}
|
|
@@ -29880,9 +29930,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29880
29930
|
}
|
|
29881
29931
|
|
|
29882
29932
|
/**
|
|
29883
|
-
*
|
|
29884
|
-
*
|
|
29885
|
-
* the imperative range preview if applicable.
|
|
29933
|
+
* Called when a cell's button gets focus, and after the arrow keys move the active cell.
|
|
29934
|
+
* Announces the date to screen readers through the live region and updates the range preview.
|
|
29886
29935
|
* @private
|
|
29887
29936
|
* @param {CustomEvent} event - The calendar-cell-focused event.
|
|
29888
29937
|
* @returns {void}
|
|
@@ -30064,7 +30113,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
30064
30113
|
*
|
|
30065
30114
|
* The cell's `applyCommittedRangeClasses` reuses the same
|
|
30066
30115
|
* `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
|
|
30067
|
-
* uses, so
|
|
30116
|
+
* uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
|
|
30068
30117
|
* normalize their inputs (midnight-truncation, string→int) internally.
|
|
30069
30118
|
* @private
|
|
30070
30119
|
* @returns {void}
|
|
@@ -30100,8 +30149,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
30100
30149
|
}
|
|
30101
30150
|
|
|
30102
30151
|
/**
|
|
30103
|
-
*
|
|
30104
|
-
*
|
|
30152
|
+
* Called when a month fires `hovered-date-changed`. Updates the range preview directly
|
|
30153
|
+
* instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
|
|
30105
30154
|
* @private
|
|
30106
30155
|
* @param {CustomEvent} event - The hovered-date-changed event from a month.
|
|
30107
30156
|
* @returns {void}
|
|
@@ -30117,7 +30166,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
30117
30166
|
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
30118
30167
|
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
30119
30168
|
* ancestor by whatever delta still separates the cell from that
|
|
30120
|
-
* ancestor's viewport. Native `scrollIntoView`
|
|
30169
|
+
* ancestor's viewport. Native `scrollIntoView` isn't used because the
|
|
30121
30170
|
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
30122
30171
|
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
30123
30172
|
* scrolls one of them on its own, leaving the cell short of the
|
|
@@ -30127,7 +30176,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
30127
30176
|
* value) so each `scrollBy` resolves synchronously and the next
|
|
30128
30177
|
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
30129
30178
|
* accurately. This also satisfies `prefers-reduced-motion` users: the
|
|
30130
|
-
* scroll containers
|
|
30179
|
+
* scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
|
|
30131
30180
|
* is effectively instant.
|
|
30132
30181
|
*
|
|
30133
30182
|
* The active cell is looked up from the cache populated by
|
|
@@ -30342,16 +30391,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
30342
30391
|
}
|
|
30343
30392
|
|
|
30344
30393
|
/**
|
|
30345
|
-
*
|
|
30346
|
-
*
|
|
30347
|
-
*
|
|
30348
|
-
*
|
|
30349
|
-
*
|
|
30350
|
-
* keyboard navigation, so the announcements were silently dropped.
|
|
30394
|
+
* Announces a date to screen readers after a 150 ms pause, so only the
|
|
30395
|
+
* last cell reached with the arrow keys is announced.
|
|
30396
|
+
* Uses the assertive live region, because VoiceOver waits for the page to
|
|
30397
|
+
* be idle before it reads a polite one, which never happens during
|
|
30398
|
+
* arrow-key navigation, so polite announcements were dropped.
|
|
30351
30399
|
*
|
|
30352
30400
|
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
30353
30401
|
* prefers `polite` for status messages. See the "Documented
|
|
30354
|
-
*
|
|
30402
|
+
* deviation" section in `components/datepicker/docs/pages/accessibility.md`.
|
|
30355
30403
|
* @private
|
|
30356
30404
|
* @param {String} dateStr - The localized date string to announce.
|
|
30357
30405
|
* @returns {void}
|
|
@@ -34569,7 +34617,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
34569
34617
|
}
|
|
34570
34618
|
};
|
|
34571
34619
|
|
|
34572
|
-
var formkitVersion$1$3 = '
|
|
34620
|
+
var formkitVersion$1$3 = '202611091558';
|
|
34573
34621
|
|
|
34574
34622
|
/**
|
|
34575
34623
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -34735,8 +34783,8 @@ let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
|
34735
34783
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
34736
34784
|
* @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.
|
|
34737
34785
|
* @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.
|
|
34738
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
34739
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
34786
|
+
* @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.
|
|
34787
|
+
* @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`.
|
|
34740
34788
|
* @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`.
|
|
34741
34789
|
*/
|
|
34742
34790
|
let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
@@ -35065,6 +35113,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
35065
35113
|
/**
|
|
35066
35114
|
* Removes the trigger's border, background, and shadow.
|
|
35067
35115
|
* Applies only when `shape` and `size` are both set.
|
|
35116
|
+
* @relevantWhen shape !== undefined
|
|
35068
35117
|
* @category ui
|
|
35069
35118
|
*/
|
|
35070
35119
|
simple: {
|
|
@@ -35357,6 +35406,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
35357
35406
|
/**
|
|
35358
35407
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
35359
35408
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
35409
|
+
* @default 0
|
|
35360
35410
|
* @category a11y
|
|
35361
35411
|
*/
|
|
35362
35412
|
tabIndex: {
|
|
@@ -36048,7 +36098,6 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
36048
36098
|
*
|
|
36049
36099
|
* @private
|
|
36050
36100
|
* @method handleDefaultSlot
|
|
36051
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
36052
36101
|
*/
|
|
36053
36102
|
handleDefaultSlot() {
|
|
36054
36103
|
|
|
@@ -36061,7 +36110,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
36061
36110
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
36062
36111
|
* @private
|
|
36063
36112
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
36064
|
-
* @returns {
|
|
36113
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
36065
36114
|
*/
|
|
36066
36115
|
renderBasicHtml(helpTextClasses) {
|
|
36067
36116
|
return u$c`
|
|
@@ -36123,7 +36172,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
36123
36172
|
/**
|
|
36124
36173
|
* Renders the classic layout.
|
|
36125
36174
|
* @private
|
|
36126
|
-
* @returns {
|
|
36175
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
36127
36176
|
*/
|
|
36128
36177
|
renderLayoutClassic() {
|
|
36129
36178
|
// TODO: check with Doug why this was never used?
|
|
@@ -36139,7 +36188,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
36139
36188
|
/**
|
|
36140
36189
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
36141
36190
|
* @private
|
|
36142
|
-
* @returns {
|
|
36191
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
36143
36192
|
*/
|
|
36144
36193
|
renderLayoutSnowflake() {
|
|
36145
36194
|
const helpTextClasses = {
|
|
@@ -36156,7 +36205,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
36156
36205
|
/**
|
|
36157
36206
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
36158
36207
|
* @private
|
|
36159
|
-
* @returns {
|
|
36208
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
36160
36209
|
*/
|
|
36161
36210
|
renderLayoutEmphasized() {
|
|
36162
36211
|
const helpTextClasses = {
|
|
@@ -36174,7 +36223,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
36174
36223
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
36175
36224
|
* @private
|
|
36176
36225
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
36177
|
-
* @returns {
|
|
36226
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
36178
36227
|
*/
|
|
36179
36228
|
renderLayout(ForcedLayout) {
|
|
36180
36229
|
const layout = ForcedLayout || this.layout;
|
|
@@ -46323,6 +46372,9 @@ function cleanEscapedString$4(input) {
|
|
|
46323
46372
|
return input.match(escapedStringRegExp$4)[1].replace(doubleQuoteRegExp$4, "'");
|
|
46324
46373
|
}
|
|
46325
46374
|
|
|
46375
|
+
/**
|
|
46376
|
+
* 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.
|
|
46377
|
+
*/
|
|
46326
46378
|
let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
46327
46379
|
|
|
46328
46380
|
/**
|
|
@@ -46342,7 +46394,17 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
46342
46394
|
} else {
|
|
46343
46395
|
this.locale = 'en-US';
|
|
46344
46396
|
}
|
|
46397
|
+
|
|
46398
|
+
/**
|
|
46399
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
46400
|
+
* @type {string|undefined}
|
|
46401
|
+
*/
|
|
46345
46402
|
this.overrideFormat = config.format;
|
|
46403
|
+
|
|
46404
|
+
/**
|
|
46405
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
46406
|
+
* @type {Intl.DateTimeFormat}
|
|
46407
|
+
*/
|
|
46346
46408
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
46347
46409
|
|
|
46348
46410
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -46773,7 +46835,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46773
46835
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
46774
46836
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
46775
46837
|
/**
|
|
46776
|
-
*
|
|
46838
|
+
* Gets the options Lit uses to create the shadow root.
|
|
46777
46839
|
* @internal
|
|
46778
46840
|
*/
|
|
46779
46841
|
static get shadowRootOptions() {
|
|
@@ -46933,8 +46995,9 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46933
46995
|
},
|
|
46934
46996
|
|
|
46935
46997
|
/**
|
|
46936
|
-
* Sets the shape of the field's border.
|
|
46937
|
-
* and `pill
|
|
46998
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
46999
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
47000
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
46938
47001
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
46939
47002
|
* @default 'classic'
|
|
46940
47003
|
* @category ui
|
|
@@ -46946,8 +47009,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46946
47009
|
},
|
|
46947
47010
|
|
|
46948
47011
|
/**
|
|
46949
|
-
* Sets the field's
|
|
46950
|
-
* emphasized layouts support only `xl`.
|
|
47012
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
47013
|
+
* and the emphasized layouts support only `xl`.
|
|
46951
47014
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
46952
47015
|
* @default 'lg'
|
|
46953
47016
|
* @category ui
|
|
@@ -48743,7 +48806,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
48743
48806
|
}
|
|
48744
48807
|
};
|
|
48745
48808
|
|
|
48746
|
-
var formkitVersion$7 = '
|
|
48809
|
+
var formkitVersion$7 = '202611091558';
|
|
48747
48810
|
|
|
48748
48811
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
48749
48812
|
// See LICENSE in the project root for license information.
|
|
@@ -49202,7 +49265,7 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
49202
49265
|
|
|
49203
49266
|
/**
|
|
49204
49267
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
49205
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
49268
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
49206
49269
|
* @private
|
|
49207
49270
|
* @returns {string}
|
|
49208
49271
|
*/
|
|
@@ -50262,6 +50325,9 @@ function applyKeyboardStrategy$4(component, strategy, options = {}) {
|
|
|
50262
50325
|
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
50263
50326
|
// added, handlers should go here following the same strategy pattern used by
|
|
50264
50327
|
// auro-select (selectKeyboardStrategy.js) and auro-combobox (comboboxKeyboardStrategy.js).
|
|
50328
|
+
/**
|
|
50329
|
+
* 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.
|
|
50330
|
+
*/
|
|
50265
50331
|
const datepickerKeyboardStrategy = {
|
|
50266
50332
|
Escape(component, evt, ctx) {
|
|
50267
50333
|
if (!ctx.isExpanded) {
|
|
@@ -50336,7 +50402,7 @@ const datepickerKeyboardStrategy = {
|
|
|
50336
50402
|
* - **Limits and unavailable dates**: `minDate` and `maxDate` turn off dates outside a range, and `blackoutDates` marks single dates people can't select.
|
|
50337
50403
|
* - **Validation**: `required` shows an error when no date is chosen, and the `setCustomValidity` attributes replace the built-in error messages.
|
|
50338
50404
|
* - **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.
|
|
50339
|
-
* - **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate
|
|
50405
|
+
* - **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.
|
|
50340
50406
|
* - **Fullscreen on small screens**: `fullscreenBreakpoint` sets the screen size at or below which the calendar opens fullscreen.
|
|
50341
50407
|
*
|
|
50342
50408
|
* **Example**
|
|
@@ -50793,7 +50859,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50793
50859
|
},
|
|
50794
50860
|
|
|
50795
50861
|
/**
|
|
50796
|
-
* Sets the shape of the
|
|
50862
|
+
* Sets the shape of the date field. Use `classic` (the default) with the `classic` layout, and `snowflake` with the `snowflake` layout.
|
|
50797
50863
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
50798
50864
|
* @default 'classic'
|
|
50799
50865
|
* @category ui
|
|
@@ -50805,7 +50871,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50805
50871
|
},
|
|
50806
50872
|
|
|
50807
50873
|
/**
|
|
50808
|
-
* Sets the
|
|
50874
|
+
* 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`.
|
|
50809
50875
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
50810
50876
|
* @default 'lg'
|
|
50811
50877
|
* @category ui
|
|
@@ -51121,7 +51187,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
51121
51187
|
},
|
|
51122
51188
|
|
|
51123
51189
|
/**
|
|
51124
|
-
*
|
|
51190
|
+
* Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
|
|
51125
51191
|
* @private
|
|
51126
51192
|
*/
|
|
51127
51193
|
touched: {
|
|
@@ -51277,7 +51343,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
51277
51343
|
}
|
|
51278
51344
|
|
|
51279
51345
|
/**
|
|
51280
|
-
*
|
|
51346
|
+
* Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
|
|
51281
51347
|
* @private
|
|
51282
51348
|
* @returns {void}
|
|
51283
51349
|
*/
|
|
@@ -52070,7 +52136,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
52070
52136
|
* Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
|
|
52071
52137
|
* spans every datepicker instance on the page; lives on the class (not
|
|
52072
52138
|
* at module scope) so it stays an encapsulated implementation detail of
|
|
52073
|
-
* this component and
|
|
52139
|
+
* this component and doesn't interfere with WCA's class-JSDoc
|
|
52074
52140
|
* attachment.
|
|
52075
52141
|
* @private
|
|
52076
52142
|
*/
|
|
@@ -52078,7 +52144,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
52078
52144
|
|
|
52079
52145
|
/**
|
|
52080
52146
|
* Logs a one-time `console.debug` when an unsupported locale falls back to
|
|
52081
|
-
* en-US
|
|
52147
|
+
* `en-US`. Deduped by the offending tag so noisy re-renders that resurface
|
|
52082
52148
|
* the same bad value stay quiet, but each new bad value still signals so
|
|
52083
52149
|
* consumers can spot the typo or missing tag.
|
|
52084
52150
|
* @private
|
|
@@ -52376,7 +52442,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
52376
52442
|
}
|
|
52377
52443
|
|
|
52378
52444
|
/**
|
|
52379
|
-
*
|
|
52445
|
+
* Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
|
|
52446
|
+
* Copies the slot's content into the calendar.
|
|
52380
52447
|
*
|
|
52381
52448
|
* @private
|
|
52382
52449
|
* @method handleSlotToSlot
|
|
@@ -52389,7 +52456,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
52389
52456
|
}
|
|
52390
52457
|
|
|
52391
52458
|
/**
|
|
52392
|
-
*
|
|
52459
|
+
* Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
|
|
52460
|
+
* 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.
|
|
52393
52461
|
* @param {PointerEvent} event - The pointer event object.
|
|
52394
52462
|
* @private
|
|
52395
52463
|
* @returns {void}
|
|
@@ -52759,7 +52827,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
52759
52827
|
// ------------------------------------
|
|
52760
52828
|
|
|
52761
52829
|
/**
|
|
52762
|
-
*
|
|
52830
|
+
* Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
|
|
52763
52831
|
* @private
|
|
52764
52832
|
* @param {MouseEvent} event - The mouse event from the clear button click.
|
|
52765
52833
|
* @returns {void}
|
|
@@ -54054,7 +54122,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
54054
54122
|
}
|
|
54055
54123
|
};
|
|
54056
54124
|
|
|
54057
|
-
var formkitVersion$1$2 = '
|
|
54125
|
+
var formkitVersion$1$2 = '202611091558';
|
|
54058
54126
|
|
|
54059
54127
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
54060
54128
|
// See LICENSE in the project root for license information.
|
|
@@ -54119,7 +54187,7 @@ const keyboardStrategy = {
|
|
|
54119
54187
|
* @csspart controlPlus - The plus button, which raises the value by 1.
|
|
54120
54188
|
* @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
|
|
54121
54189
|
*
|
|
54122
|
-
* @event input -
|
|
54190
|
+
* @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.
|
|
54123
54191
|
*/
|
|
54124
54192
|
class AuroCounter extends i$3 {
|
|
54125
54193
|
|
|
@@ -54240,7 +54308,7 @@ class AuroCounter extends i$3 {
|
|
|
54240
54308
|
},
|
|
54241
54309
|
|
|
54242
54310
|
/**
|
|
54243
|
-
*
|
|
54311
|
+
* Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
|
|
54244
54312
|
* @private
|
|
54245
54313
|
*/
|
|
54246
54314
|
defaultSlot: {
|
|
@@ -54278,7 +54346,7 @@ class AuroCounter extends i$3 {
|
|
|
54278
54346
|
},
|
|
54279
54347
|
|
|
54280
54348
|
/**
|
|
54281
|
-
* Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set
|
|
54349
|
+
* 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`.
|
|
54282
54350
|
* @category behavior
|
|
54283
54351
|
*/
|
|
54284
54352
|
error: {
|
|
@@ -58651,7 +58719,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
58651
58719
|
}
|
|
58652
58720
|
};
|
|
58653
58721
|
|
|
58654
|
-
var formkitVersion$6 = '
|
|
58722
|
+
var formkitVersion$6 = '202611091558';
|
|
58655
58723
|
|
|
58656
58724
|
/**
|
|
58657
58725
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -58817,8 +58885,8 @@ let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
|
58817
58885
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
58818
58886
|
* @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.
|
|
58819
58887
|
* @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.
|
|
58820
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
58821
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
58888
|
+
* @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.
|
|
58889
|
+
* @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`.
|
|
58822
58890
|
* @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`.
|
|
58823
58891
|
*/
|
|
58824
58892
|
let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
@@ -59147,6 +59215,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59147
59215
|
/**
|
|
59148
59216
|
* Removes the trigger's border, background, and shadow.
|
|
59149
59217
|
* Applies only when `shape` and `size` are both set.
|
|
59218
|
+
* @relevantWhen shape !== undefined
|
|
59150
59219
|
* @category ui
|
|
59151
59220
|
*/
|
|
59152
59221
|
simple: {
|
|
@@ -59439,6 +59508,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
59439
59508
|
/**
|
|
59440
59509
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
59441
59510
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
59511
|
+
* @default 0
|
|
59442
59512
|
* @category a11y
|
|
59443
59513
|
*/
|
|
59444
59514
|
tabIndex: {
|
|
@@ -60130,7 +60200,6 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
60130
60200
|
*
|
|
60131
60201
|
* @private
|
|
60132
60202
|
* @method handleDefaultSlot
|
|
60133
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
60134
60203
|
*/
|
|
60135
60204
|
handleDefaultSlot() {
|
|
60136
60205
|
|
|
@@ -60143,7 +60212,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
60143
60212
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
60144
60213
|
* @private
|
|
60145
60214
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
60146
|
-
* @returns {
|
|
60215
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
60147
60216
|
*/
|
|
60148
60217
|
renderBasicHtml(helpTextClasses) {
|
|
60149
60218
|
return u$c`
|
|
@@ -60205,7 +60274,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
60205
60274
|
/**
|
|
60206
60275
|
* Renders the classic layout.
|
|
60207
60276
|
* @private
|
|
60208
|
-
* @returns {
|
|
60277
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
60209
60278
|
*/
|
|
60210
60279
|
renderLayoutClassic() {
|
|
60211
60280
|
// TODO: check with Doug why this was never used?
|
|
@@ -60221,7 +60290,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
60221
60290
|
/**
|
|
60222
60291
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
60223
60292
|
* @private
|
|
60224
|
-
* @returns {
|
|
60293
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
60225
60294
|
*/
|
|
60226
60295
|
renderLayoutSnowflake() {
|
|
60227
60296
|
const helpTextClasses = {
|
|
@@ -60238,7 +60307,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
60238
60307
|
/**
|
|
60239
60308
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
60240
60309
|
* @private
|
|
60241
|
-
* @returns {
|
|
60310
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
60242
60311
|
*/
|
|
60243
60312
|
renderLayoutEmphasized() {
|
|
60244
60313
|
const helpTextClasses = {
|
|
@@ -60256,7 +60325,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
60256
60325
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
60257
60326
|
* @private
|
|
60258
60327
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
60259
|
-
* @returns {
|
|
60328
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
60260
60329
|
*/
|
|
60261
60330
|
renderLayout(ForcedLayout) {
|
|
60262
60331
|
const layout = ForcedLayout || this.layout;
|
|
@@ -60641,7 +60710,7 @@ let AuroBibtemplate$2 = class AuroBibtemplate extends i$3 {
|
|
|
60641
60710
|
}
|
|
60642
60711
|
|
|
60643
60712
|
/**
|
|
60644
|
-
* Called
|
|
60713
|
+
* 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.
|
|
60645
60714
|
* @param {Event} event - The `touchmove` event.
|
|
60646
60715
|
* @returns {void}
|
|
60647
60716
|
*/
|
|
@@ -61252,7 +61321,7 @@ const counterGroupKeyboardStrategy = {
|
|
|
61252
61321
|
* @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.
|
|
61253
61322
|
*
|
|
61254
61323
|
* @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
61255
|
-
* @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
|
|
61324
|
+
* @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.
|
|
61256
61325
|
*/
|
|
61257
61326
|
class AuroCounterGroup extends AuroElement$4 {
|
|
61258
61327
|
constructor() {
|
|
@@ -61384,8 +61453,8 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
61384
61453
|
},
|
|
61385
61454
|
|
|
61386
61455
|
/**
|
|
61387
|
-
*
|
|
61388
|
-
*
|
|
61456
|
+
* Holds the error message shown while the group is invalid.
|
|
61457
|
+
* Validation sets it, and it isn't available to consumers.
|
|
61389
61458
|
* @private
|
|
61390
61459
|
*/
|
|
61391
61460
|
errorMessage: {
|
|
@@ -61582,7 +61651,7 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
61582
61651
|
},
|
|
61583
61652
|
|
|
61584
61653
|
/**
|
|
61585
|
-
*
|
|
61654
|
+
* Holds the text in the `valueText` slot.
|
|
61586
61655
|
* @category behavior
|
|
61587
61656
|
* @private
|
|
61588
61657
|
*/
|
|
@@ -61595,9 +61664,8 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
61595
61664
|
}
|
|
61596
61665
|
|
|
61597
61666
|
/**
|
|
61598
|
-
*
|
|
61599
|
-
*
|
|
61600
|
-
* 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.
|
|
61667
|
+
* Turns a counter's minus and plus buttons on or off based on the group's total.
|
|
61668
|
+
* 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`.
|
|
61601
61669
|
*
|
|
61602
61670
|
* @param {HTMLElement} counter - The counter element to potentially disable.
|
|
61603
61671
|
* @private
|
|
@@ -61654,9 +61722,9 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
61654
61722
|
};
|
|
61655
61723
|
|
|
61656
61724
|
/**
|
|
61657
|
-
* Synchronously recomputes this.validity
|
|
61658
|
-
* validity of the child counters. Extracted from updateValidity() so that
|
|
61659
|
-
* validate() can re-apply this aggregation immediately after the shared
|
|
61725
|
+
* Synchronously recomputes `this.validity` and `this.errorMessage` from the current
|
|
61726
|
+
* validity of the child counters. Extracted from `updateValidity()` so that
|
|
61727
|
+
* `validate()` can re-apply this aggregation immediately after the shared
|
|
61660
61728
|
* validation engine runs, instead of waiting on a deferred timer.
|
|
61661
61729
|
* @returns {void}
|
|
61662
61730
|
* @private
|
|
@@ -61741,9 +61809,9 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
61741
61809
|
}
|
|
61742
61810
|
|
|
61743
61811
|
/**
|
|
61744
|
-
*
|
|
61745
|
-
*
|
|
61746
|
-
* and
|
|
61812
|
+
* Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
|
|
61813
|
+
* adds `input` and `auroFormElement-validated` listeners to each counter, and
|
|
61814
|
+
* updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
|
|
61747
61815
|
* @private
|
|
61748
61816
|
*/
|
|
61749
61817
|
configureDropdownCounters() {
|
|
@@ -61775,7 +61843,7 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
61775
61843
|
}
|
|
61776
61844
|
|
|
61777
61845
|
/**
|
|
61778
|
-
*
|
|
61846
|
+
* 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.
|
|
61779
61847
|
* @private
|
|
61780
61848
|
*/
|
|
61781
61849
|
configureBibtemplate() {
|
|
@@ -62429,7 +62497,7 @@ class AuroRadio extends i$3 {
|
|
|
62429
62497
|
},
|
|
62430
62498
|
|
|
62431
62499
|
/**
|
|
62432
|
-
* ID
|
|
62500
|
+
* Holds the ID of the inner `<input>` element, which its `<label>` points to.
|
|
62433
62501
|
* @private
|
|
62434
62502
|
*/
|
|
62435
62503
|
inputId: {
|
|
@@ -62475,7 +62543,7 @@ class AuroRadio extends i$3 {
|
|
|
62475
62543
|
},
|
|
62476
62544
|
|
|
62477
62545
|
/**
|
|
62478
|
-
* Kept out of the API docs, because changing it can easily break accessibility.
|
|
62546
|
+
* Sets the host's ARIA role, `radio`. Kept out of the API docs, because changing it can easily break accessibility.
|
|
62479
62547
|
* @private
|
|
62480
62548
|
*/
|
|
62481
62549
|
role: {
|
|
@@ -62484,7 +62552,7 @@ class AuroRadio extends i$3 {
|
|
|
62484
62552
|
},
|
|
62485
62553
|
|
|
62486
62554
|
/**
|
|
62487
|
-
*
|
|
62555
|
+
* Records whether someone has interacted with the radio button.
|
|
62488
62556
|
* @private
|
|
62489
62557
|
*/
|
|
62490
62558
|
touched: {
|
|
@@ -63481,7 +63549,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
63481
63549
|
}
|
|
63482
63550
|
};
|
|
63483
63551
|
|
|
63484
|
-
var formkitVersion$5 = '
|
|
63552
|
+
var formkitVersion$5 = '202611091558';
|
|
63485
63553
|
|
|
63486
63554
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
63487
63555
|
// See LICENSE in the project root for license information.
|
|
@@ -63516,7 +63584,7 @@ var formkitVersion$5 = '202611081756';
|
|
|
63516
63584
|
* @csspart radio-group - The `<fieldset>` element, with `role="radiogroup"`, that wraps the legend and the radio buttons.
|
|
63517
63585
|
* @csspart helpText - The help text element below the group, which shows the help text or the error message.
|
|
63518
63586
|
* @slot {HTMLSlotElement} legend - Label for the group, such as "Seat preference". Screen readers announce it as the group's name. {@requiredWhen always} {@category ui}
|
|
63519
|
-
* @slot {HTMLSlotElement} optionalLabel - Text shown after the legend when the group isn't `required`, such as "
|
|
63587
|
+
* @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}
|
|
63520
63588
|
* @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}
|
|
63521
63589
|
* @slot default - The `auro-radio` elements in the group.
|
|
63522
63590
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
@@ -63626,7 +63694,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
63626
63694
|
},
|
|
63627
63695
|
|
|
63628
63696
|
/**
|
|
63629
|
-
*
|
|
63697
|
+
* Records whether the `legend` slot has content.
|
|
63630
63698
|
* @private
|
|
63631
63699
|
*/
|
|
63632
63700
|
hasLegend: {
|
|
@@ -63677,8 +63745,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
63677
63745
|
|
|
63678
63746
|
/**
|
|
63679
63747
|
* Requires a selection in the group and hides the "(optional)" text after the legend.
|
|
63680
|
-
*
|
|
63681
|
-
* @relevantWhen !noValidate
|
|
63748
|
+
* Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
63682
63749
|
* @category behavior
|
|
63683
63750
|
*/
|
|
63684
63751
|
required: {
|
|
@@ -63689,7 +63756,6 @@ class AuroRadioGroup extends i$3 {
|
|
|
63689
63756
|
/**
|
|
63690
63757
|
* Sets one error message for every kind of error, such as "Choose an option".
|
|
63691
63758
|
* It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
63692
|
-
* @relevantWhen !noValidate
|
|
63693
63759
|
* @category behavior
|
|
63694
63760
|
*/
|
|
63695
63761
|
setCustomValidity: {
|
|
@@ -63700,7 +63766,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
63700
63766
|
/**
|
|
63701
63767
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
63702
63768
|
* `setCustomValidity` takes priority when both are set.
|
|
63703
|
-
* @relevantWhen
|
|
63769
|
+
* @relevantWhen error
|
|
63704
63770
|
* @category behavior
|
|
63705
63771
|
*/
|
|
63706
63772
|
setCustomValidityCustomError: {
|
|
@@ -63711,7 +63777,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
63711
63777
|
/**
|
|
63712
63778
|
* Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".
|
|
63713
63779
|
* The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
63714
|
-
* @relevantWhen
|
|
63780
|
+
* @relevantWhen required
|
|
63715
63781
|
* @category behavior
|
|
63716
63782
|
*/
|
|
63717
63783
|
setCustomValidityValueMissing: {
|
|
@@ -63720,7 +63786,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
63720
63786
|
},
|
|
63721
63787
|
|
|
63722
63788
|
/**
|
|
63723
|
-
*
|
|
63789
|
+
* Records whether someone has interacted with the group.
|
|
63724
63790
|
* @private
|
|
63725
63791
|
*/
|
|
63726
63792
|
touched: {
|
|
@@ -65468,7 +65534,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
65468
65534
|
}
|
|
65469
65535
|
};
|
|
65470
65536
|
|
|
65471
|
-
var formkitVersion$4 = '
|
|
65537
|
+
var formkitVersion$4 = '202611091558';
|
|
65472
65538
|
|
|
65473
65539
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
65474
65540
|
// See LICENSE in the project root for license information.
|
|
@@ -65504,7 +65570,7 @@ var formkitVersion$4 = '202611081756';
|
|
|
65504
65570
|
* @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}
|
|
65505
65571
|
* @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
|
|
65506
65572
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
65507
|
-
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
|
|
65573
|
+
* @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`.
|
|
65508
65574
|
*/
|
|
65509
65575
|
|
|
65510
65576
|
class AuroCheckboxGroup extends i$3 {
|
|
@@ -65674,7 +65740,7 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
65674
65740
|
/**
|
|
65675
65741
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
65676
65742
|
* `setCustomValidity` takes priority when both are set.
|
|
65677
|
-
* @relevantWhen error
|
|
65743
|
+
* @relevantWhen error !== undefined
|
|
65678
65744
|
* @category behavior
|
|
65679
65745
|
*/
|
|
65680
65746
|
setCustomValidityCustomError: {
|
|
@@ -71218,7 +71284,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
71218
71284
|
}
|
|
71219
71285
|
};
|
|
71220
71286
|
|
|
71221
|
-
var formkitVersion$2 = '
|
|
71287
|
+
var formkitVersion$2 = '202611091558';
|
|
71222
71288
|
|
|
71223
71289
|
/**
|
|
71224
71290
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -71384,8 +71450,8 @@ let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
|
71384
71450
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
71385
71451
|
* @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.
|
|
71386
71452
|
* @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.
|
|
71387
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
71388
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
71453
|
+
* @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.
|
|
71454
|
+
* @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`.
|
|
71389
71455
|
* @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`.
|
|
71390
71456
|
*/
|
|
71391
71457
|
let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
@@ -71714,6 +71780,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
71714
71780
|
/**
|
|
71715
71781
|
* Removes the trigger's border, background, and shadow.
|
|
71716
71782
|
* Applies only when `shape` and `size` are both set.
|
|
71783
|
+
* @relevantWhen shape !== undefined
|
|
71717
71784
|
* @category ui
|
|
71718
71785
|
*/
|
|
71719
71786
|
simple: {
|
|
@@ -72006,6 +72073,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72006
72073
|
/**
|
|
72007
72074
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
72008
72075
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
72076
|
+
* @default 0
|
|
72009
72077
|
* @category a11y
|
|
72010
72078
|
*/
|
|
72011
72079
|
tabIndex: {
|
|
@@ -72697,7 +72765,6 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72697
72765
|
*
|
|
72698
72766
|
* @private
|
|
72699
72767
|
* @method handleDefaultSlot
|
|
72700
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
72701
72768
|
*/
|
|
72702
72769
|
handleDefaultSlot() {
|
|
72703
72770
|
|
|
@@ -72710,7 +72777,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72710
72777
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
72711
72778
|
* @private
|
|
72712
72779
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
72713
|
-
* @returns {
|
|
72780
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
72714
72781
|
*/
|
|
72715
72782
|
renderBasicHtml(helpTextClasses) {
|
|
72716
72783
|
return u$c`
|
|
@@ -72772,7 +72839,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72772
72839
|
/**
|
|
72773
72840
|
* Renders the classic layout.
|
|
72774
72841
|
* @private
|
|
72775
|
-
* @returns {
|
|
72842
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
72776
72843
|
*/
|
|
72777
72844
|
renderLayoutClassic() {
|
|
72778
72845
|
// TODO: check with Doug why this was never used?
|
|
@@ -72788,7 +72855,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72788
72855
|
/**
|
|
72789
72856
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
72790
72857
|
* @private
|
|
72791
|
-
* @returns {
|
|
72858
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
72792
72859
|
*/
|
|
72793
72860
|
renderLayoutSnowflake() {
|
|
72794
72861
|
const helpTextClasses = {
|
|
@@ -72805,7 +72872,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72805
72872
|
/**
|
|
72806
72873
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
72807
72874
|
* @private
|
|
72808
|
-
* @returns {
|
|
72875
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
72809
72876
|
*/
|
|
72810
72877
|
renderLayoutEmphasized() {
|
|
72811
72878
|
const helpTextClasses = {
|
|
@@ -72823,7 +72890,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
72823
72890
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
72824
72891
|
* @private
|
|
72825
72892
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
72826
|
-
* @returns {
|
|
72893
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
72827
72894
|
*/
|
|
72828
72895
|
renderLayout(ForcedLayout) {
|
|
72829
72896
|
const layout = ForcedLayout || this.layout;
|
|
@@ -82972,6 +83039,9 @@ function cleanEscapedString(input) {
|
|
|
82972
83039
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
82973
83040
|
}
|
|
82974
83041
|
|
|
83042
|
+
/**
|
|
83043
|
+
* 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.
|
|
83044
|
+
*/
|
|
82975
83045
|
class AuroInputUtilities {
|
|
82976
83046
|
|
|
82977
83047
|
/**
|
|
@@ -82991,7 +83061,17 @@ class AuroInputUtilities {
|
|
|
82991
83061
|
} else {
|
|
82992
83062
|
this.locale = 'en-US';
|
|
82993
83063
|
}
|
|
83064
|
+
|
|
83065
|
+
/**
|
|
83066
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
83067
|
+
* @type {string|undefined}
|
|
83068
|
+
*/
|
|
82994
83069
|
this.overrideFormat = config.format;
|
|
83070
|
+
|
|
83071
|
+
/**
|
|
83072
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
83073
|
+
* @type {Intl.DateTimeFormat}
|
|
83074
|
+
*/
|
|
82995
83075
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
82996
83076
|
|
|
82997
83077
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -83422,7 +83502,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
83422
83502
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
83423
83503
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
83424
83504
|
/**
|
|
83425
|
-
*
|
|
83505
|
+
* Gets the options Lit uses to create the shadow root.
|
|
83426
83506
|
* @internal
|
|
83427
83507
|
*/
|
|
83428
83508
|
static get shadowRootOptions() {
|
|
@@ -83582,8 +83662,9 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
83582
83662
|
},
|
|
83583
83663
|
|
|
83584
83664
|
/**
|
|
83585
|
-
* Sets the shape of the field's border.
|
|
83586
|
-
* and `pill
|
|
83665
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
83666
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
83667
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
83587
83668
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
83588
83669
|
* @default 'classic'
|
|
83589
83670
|
* @category ui
|
|
@@ -83595,8 +83676,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
83595
83676
|
},
|
|
83596
83677
|
|
|
83597
83678
|
/**
|
|
83598
|
-
* Sets the field's
|
|
83599
|
-
* emphasized layouts support only `xl`.
|
|
83679
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
83680
|
+
* and the emphasized layouts support only `xl`.
|
|
83600
83681
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
83601
83682
|
* @default 'lg'
|
|
83602
83683
|
* @category ui
|
|
@@ -85392,7 +85473,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
85392
85473
|
}
|
|
85393
85474
|
};
|
|
85394
85475
|
|
|
85395
|
-
var formkitVersion$1$1 = '
|
|
85476
|
+
var formkitVersion$1$1 = '202611091558';
|
|
85396
85477
|
|
|
85397
85478
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
85398
85479
|
// See LICENSE in the project root for license information.
|
|
@@ -85851,7 +85932,7 @@ class AuroInput extends BaseInput {
|
|
|
85851
85932
|
|
|
85852
85933
|
/**
|
|
85853
85934
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
85854
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
85935
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
85855
85936
|
* @private
|
|
85856
85937
|
* @returns {string}
|
|
85857
85938
|
*/
|
|
@@ -86582,7 +86663,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
86582
86663
|
}
|
|
86583
86664
|
|
|
86584
86665
|
/**
|
|
86585
|
-
* Called
|
|
86666
|
+
* 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.
|
|
86586
86667
|
* @param {Event} event - The `touchmove` event.
|
|
86587
86668
|
* @returns {void}
|
|
86588
86669
|
*/
|
|
@@ -86678,7 +86759,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
86678
86759
|
}
|
|
86679
86760
|
};
|
|
86680
86761
|
|
|
86681
|
-
var formkitVersion$3 = '
|
|
86762
|
+
var formkitVersion$3 = '202611091558';
|
|
86682
86763
|
|
|
86683
86764
|
var styleCss$1$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}: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}`;
|
|
86684
86765
|
|
|
@@ -87147,7 +87228,7 @@ function getOptionLabel(option) {
|
|
|
87147
87228
|
*
|
|
87148
87229
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
87149
87230
|
* @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}
|
|
87150
|
-
* @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}
|
|
87231
|
+
* @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}
|
|
87151
87232
|
* @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}
|
|
87152
87233
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
87153
87234
|
* @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}
|
|
@@ -87429,7 +87510,8 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
87429
87510
|
},
|
|
87430
87511
|
|
|
87431
87512
|
/**
|
|
87432
|
-
* Sets the overall style of the combobox.
|
|
87513
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
87514
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
87433
87515
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
87434
87516
|
* @default 'classic'
|
|
87435
87517
|
* @category ui
|
|
@@ -87441,8 +87523,9 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
87441
87523
|
},
|
|
87442
87524
|
|
|
87443
87525
|
/**
|
|
87444
|
-
* Sets the shape of the trigger.
|
|
87445
|
-
*
|
|
87526
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
87527
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
87528
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
87446
87529
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
87447
87530
|
* @default 'classic'
|
|
87448
87531
|
* @category ui
|
|
@@ -89871,7 +89954,7 @@ let menuInstanceIdCounter = 0;
|
|
|
89871
89954
|
*
|
|
89872
89955
|
* @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`.
|
|
89873
89956
|
* @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`.
|
|
89874
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
89957
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
89875
89958
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
89876
89959
|
* @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.
|
|
89877
89960
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|
|
@@ -90016,7 +90099,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
90016
90099
|
},
|
|
90017
90100
|
|
|
90018
90101
|
/**
|
|
90019
|
-
*
|
|
90102
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
90020
90103
|
* @private
|
|
90021
90104
|
*/
|
|
90022
90105
|
level: {
|
|
@@ -90188,8 +90271,8 @@ class AuroMenu extends AuroElement$2 {
|
|
|
90188
90271
|
}
|
|
90189
90272
|
|
|
90190
90273
|
/**
|
|
90191
|
-
*
|
|
90192
|
-
*
|
|
90274
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
90275
|
+
* an array of values parsed from the JSON array string.
|
|
90193
90276
|
* @private
|
|
90194
90277
|
* @returns {String|Array<String>}
|
|
90195
90278
|
*/
|
|
@@ -90999,7 +91082,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
90999
91082
|
}
|
|
91000
91083
|
|
|
91001
91084
|
/**
|
|
91002
|
-
*
|
|
91085
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
91003
91086
|
* @private
|
|
91004
91087
|
* @param {KeyboardEvent} event - The keydown event.
|
|
91005
91088
|
*/
|
|
@@ -91025,7 +91108,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
91025
91108
|
}
|
|
91026
91109
|
|
|
91027
91110
|
/**
|
|
91028
|
-
*
|
|
91111
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
91029
91112
|
* @private
|
|
91030
91113
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
91031
91114
|
*/
|
|
@@ -91045,7 +91128,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
91045
91128
|
}
|
|
91046
91129
|
|
|
91047
91130
|
/**
|
|
91048
|
-
*
|
|
91131
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
91049
91132
|
* @private
|
|
91050
91133
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
91051
91134
|
*/
|
|
@@ -91069,7 +91152,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
91069
91152
|
}
|
|
91070
91153
|
|
|
91071
91154
|
/**
|
|
91072
|
-
*
|
|
91155
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
91073
91156
|
* @private
|
|
91074
91157
|
*/
|
|
91075
91158
|
handleSlotChange() {
|
|
@@ -91165,7 +91248,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
91165
91248
|
}
|
|
91166
91249
|
|
|
91167
91250
|
/**
|
|
91168
|
-
*
|
|
91251
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
91169
91252
|
* @private
|
|
91170
91253
|
* @param {HTMLElement} option - Option with custom event.
|
|
91171
91254
|
*/
|
|
@@ -91185,6 +91268,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
91185
91268
|
}
|
|
91186
91269
|
|
|
91187
91270
|
/**
|
|
91271
|
+
* Checks whether two selections hold the same options, in any order.
|
|
91188
91272
|
* @private
|
|
91189
91273
|
* @param {any} current - The current selection.
|
|
91190
91274
|
* @param {any} next - The new selection to compare.
|
|
@@ -91654,7 +91738,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
91654
91738
|
}
|
|
91655
91739
|
|
|
91656
91740
|
/**
|
|
91657
|
-
*
|
|
91741
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
91658
91742
|
* @private
|
|
91659
91743
|
*/
|
|
91660
91744
|
handleClick() {
|
|
@@ -96830,7 +96914,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
96830
96914
|
}
|
|
96831
96915
|
};
|
|
96832
96916
|
|
|
96833
|
-
var formkitVersion$1 = '
|
|
96917
|
+
var formkitVersion$1 = '202611091558';
|
|
96834
96918
|
|
|
96835
96919
|
/**
|
|
96836
96920
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -96996,8 +97080,8 @@ class AuroElement extends i$3 {
|
|
|
96996
97080
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
96997
97081
|
* @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.
|
|
96998
97082
|
* @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.
|
|
96999
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
97000
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
97083
|
+
* @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.
|
|
97084
|
+
* @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`.
|
|
97001
97085
|
* @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`.
|
|
97002
97086
|
*/
|
|
97003
97087
|
class AuroDropdown extends AuroElement {
|
|
@@ -97326,6 +97410,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97326
97410
|
/**
|
|
97327
97411
|
* Removes the trigger's border, background, and shadow.
|
|
97328
97412
|
* Applies only when `shape` and `size` are both set.
|
|
97413
|
+
* @relevantWhen shape !== undefined
|
|
97329
97414
|
* @category ui
|
|
97330
97415
|
*/
|
|
97331
97416
|
simple: {
|
|
@@ -97618,6 +97703,7 @@ class AuroDropdown extends AuroElement {
|
|
|
97618
97703
|
/**
|
|
97619
97704
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
97620
97705
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
97706
|
+
* @default 0
|
|
97621
97707
|
* @category a11y
|
|
97622
97708
|
*/
|
|
97623
97709
|
tabIndex: {
|
|
@@ -98309,7 +98395,6 @@ class AuroDropdown extends AuroElement {
|
|
|
98309
98395
|
*
|
|
98310
98396
|
* @private
|
|
98311
98397
|
* @method handleDefaultSlot
|
|
98312
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
98313
98398
|
*/
|
|
98314
98399
|
handleDefaultSlot() {
|
|
98315
98400
|
|
|
@@ -98322,7 +98407,7 @@ class AuroDropdown extends AuroElement {
|
|
|
98322
98407
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
98323
98408
|
* @private
|
|
98324
98409
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
98325
|
-
* @returns {
|
|
98410
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
98326
98411
|
*/
|
|
98327
98412
|
renderBasicHtml(helpTextClasses) {
|
|
98328
98413
|
return u$c`
|
|
@@ -98384,7 +98469,7 @@ class AuroDropdown extends AuroElement {
|
|
|
98384
98469
|
/**
|
|
98385
98470
|
* Renders the classic layout.
|
|
98386
98471
|
* @private
|
|
98387
|
-
* @returns {
|
|
98472
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
98388
98473
|
*/
|
|
98389
98474
|
renderLayoutClassic() {
|
|
98390
98475
|
// TODO: check with Doug why this was never used?
|
|
@@ -98400,7 +98485,7 @@ class AuroDropdown extends AuroElement {
|
|
|
98400
98485
|
/**
|
|
98401
98486
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
98402
98487
|
* @private
|
|
98403
|
-
* @returns {
|
|
98488
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
98404
98489
|
*/
|
|
98405
98490
|
renderLayoutSnowflake() {
|
|
98406
98491
|
const helpTextClasses = {
|
|
@@ -98417,7 +98502,7 @@ class AuroDropdown extends AuroElement {
|
|
|
98417
98502
|
/**
|
|
98418
98503
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
98419
98504
|
* @private
|
|
98420
|
-
* @returns {
|
|
98505
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
98421
98506
|
*/
|
|
98422
98507
|
renderLayoutEmphasized() {
|
|
98423
98508
|
const helpTextClasses = {
|
|
@@ -98435,7 +98520,7 @@ class AuroDropdown extends AuroElement {
|
|
|
98435
98520
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
98436
98521
|
* @private
|
|
98437
98522
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
98438
|
-
* @returns {
|
|
98523
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
98439
98524
|
*/
|
|
98440
98525
|
renderLayout(ForcedLayout) {
|
|
98441
98526
|
const layout = ForcedLayout || this.layout;
|
|
@@ -98820,7 +98905,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
98820
98905
|
}
|
|
98821
98906
|
|
|
98822
98907
|
/**
|
|
98823
|
-
* Called
|
|
98908
|
+
* 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.
|
|
98824
98909
|
* @param {Event} event - The `touchmove` event.
|
|
98825
98910
|
* @returns {void}
|
|
98826
98911
|
*/
|
|
@@ -99170,7 +99255,7 @@ class AuroHelpText extends i$3 {
|
|
|
99170
99255
|
}
|
|
99171
99256
|
}
|
|
99172
99257
|
|
|
99173
|
-
var formkitVersion = '
|
|
99258
|
+
var formkitVersion = '202611091558';
|
|
99174
99259
|
|
|
99175
99260
|
var styleCss = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-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}`;
|
|
99176
99261
|
|
|
@@ -99348,6 +99433,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
99348
99433
|
|
|
99349
99434
|
/**
|
|
99350
99435
|
* Deprecated: Use `placement` instead.
|
|
99436
|
+
* Moves the bib to whichever side of the trigger has the most space.
|
|
99351
99437
|
* The bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set.
|
|
99352
99438
|
* @deprecated Use `placement` instead.
|
|
99353
99439
|
* @category ui
|
|
@@ -99677,7 +99763,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
99677
99763
|
},
|
|
99678
99764
|
|
|
99679
99765
|
/**
|
|
99680
|
-
*
|
|
99766
|
+
* Records whether focus has moved into the select since it was created or last reset.
|
|
99681
99767
|
* @private
|
|
99682
99768
|
*/
|
|
99683
99769
|
touched: {
|
|
@@ -99965,7 +100051,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
99965
100051
|
}
|
|
99966
100052
|
|
|
99967
100053
|
/**
|
|
99968
|
-
* Updates the
|
|
100054
|
+
* Updates the value and `displayValue` content shown in the trigger to match `optionSelected`.
|
|
99969
100055
|
* @private
|
|
99970
100056
|
* @returns {void}
|
|
99971
100057
|
*/
|
|
@@ -100050,7 +100136,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
100050
100136
|
}
|
|
100051
100137
|
|
|
100052
100138
|
/**
|
|
100053
|
-
* Sets aria-setsize and aria-posinset on each menu option so screen readers
|
|
100139
|
+
* Sets `aria-setsize` and `aria-posinset` on each menu option so screen readers
|
|
100054
100140
|
* can announce position even when the listbox context is broken by
|
|
100055
100141
|
* shadow DOM boundaries.
|
|
100056
100142
|
* @private
|