@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.7 → 0.0.0-pr1628.9
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 +22 -19
- package/components/combobox/demo/getting-started.min.js +22 -19
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +22 -19
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +21 -18
- package/components/combobox/dist/registered.js +21 -18
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -12
- package/components/counter/demo/getting-started.min.js +12 -12
- package/components/counter/demo/index.min.js +12 -12
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +12 -12
- package/components/counter/dist/registered.js +12 -12
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +3 -3
- package/components/datepicker/demo/customize.min.js +128 -113
- package/components/datepicker/demo/design.md +2 -2
- package/components/datepicker/demo/getting-started.md +1 -1
- package/components/datepicker/demo/getting-started.min.js +128 -113
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +128 -113
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +3 -3
- 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 +43 -42
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +128 -113
- package/components/datepicker/dist/registered.js +128 -113
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +9 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +9 -6
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +13 -12
- package/components/dropdown/demo/index.min.js +8 -7
- 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 +7 -6
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +185 -168
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +185 -168
- package/components/form/demo/index.min.js +185 -168
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +184 -167
- package/components/form/demo/voiceover.md +2 -2
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +5 -5
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/getting-started.min.js +5 -5
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +5 -5
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/index.js +5 -5
- package/components/input/dist/registered.js +5 -5
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/getting-started.md +2 -2
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/customize.md +14 -4
- package/components/radio/demo/customize.min.js +4 -6
- package/components/radio/demo/getting-started.md +2 -2
- package/components/radio/demo/getting-started.min.js +4 -6
- package/components/radio/demo/index.min.js +4 -6
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +3 -5
- package/components/radio/dist/index.js +4 -6
- package/components/radio/dist/registered.js +4 -6
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +11 -10
- package/components/select/demo/getting-started.min.js +11 -10
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +11 -10
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/index.js +10 -9
- package/components/select/dist/registered.js +10 -9
- package/custom-elements.json +88 -84
- package/package.json +1 -1
|
@@ -10687,7 +10687,7 @@ class AuroDatepickerUtilities {
|
|
|
10687
10687
|
}
|
|
10688
10688
|
|
|
10689
10689
|
/**
|
|
10690
|
-
*
|
|
10690
|
+
* Checks whether two dates are the same moment in time.
|
|
10691
10691
|
* @private
|
|
10692
10692
|
* @param {Object} date1 - The first date to compare.
|
|
10693
10693
|
* @param {Object} date2 - The second date to compare.
|
|
@@ -10722,13 +10722,18 @@ const t$1=globalThis,e$3=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
|
|
|
10722
10722
|
*/
|
|
10723
10723
|
class UtilitiesCalendarRender {
|
|
10724
10724
|
constructor() {
|
|
10725
|
+
|
|
10726
|
+
/**
|
|
10727
|
+
* The date helpers these methods use.
|
|
10728
|
+
* @private
|
|
10729
|
+
*/
|
|
10725
10730
|
this.util = new AuroDatepickerUtilities();
|
|
10726
10731
|
}
|
|
10727
10732
|
|
|
10728
10733
|
/**
|
|
10729
10734
|
* Sets `centralDate` to the first day of the date's month, when the date is valid.
|
|
10730
|
-
* @param {Object} elem - The element to set
|
|
10731
|
-
* @param {
|
|
10735
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
10736
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
10732
10737
|
* @private
|
|
10733
10738
|
*/
|
|
10734
10739
|
updateCentralDate(elem, date) {
|
|
@@ -10854,12 +10859,12 @@ class UtilitiesCalendarRender {
|
|
|
10854
10859
|
}
|
|
10855
10860
|
|
|
10856
10861
|
/**
|
|
10857
|
-
* Renders
|
|
10862
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
10858
10863
|
* @private
|
|
10859
10864
|
* @param {Object} elem - The auro-calendar element.
|
|
10860
10865
|
* @param {Number} month - The month the calendar displays.
|
|
10861
10866
|
* @param {Number} year - The year the calendar displays.
|
|
10862
|
-
* @returns {Object} The auro-calendar-month
|
|
10867
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
10863
10868
|
*/
|
|
10864
10869
|
renderCalendar(elem, month, year) {
|
|
10865
10870
|
return b$8`
|
|
@@ -11987,7 +11992,9 @@ class AuroCalendarCell extends i$1 {
|
|
|
11987
11992
|
}
|
|
11988
11993
|
|
|
11989
11994
|
/**
|
|
11990
|
-
*
|
|
11995
|
+
* Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
|
|
11996
|
+
* Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
|
|
11997
|
+
* `calendar-cell-activate` so the calendar makes the cell the active cell.
|
|
11991
11998
|
* @private
|
|
11992
11999
|
* @returns {void}
|
|
11993
12000
|
*/
|
|
@@ -12007,9 +12014,9 @@ class AuroCalendarCell extends i$1 {
|
|
|
12007
12014
|
}
|
|
12008
12015
|
|
|
12009
12016
|
/**
|
|
12010
|
-
*
|
|
12011
|
-
*
|
|
12012
|
-
*
|
|
12017
|
+
* Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
|
|
12018
|
+
* Doesn't set any reactive properties, because the calendar updates the range preview
|
|
12019
|
+
* directly to avoid re-rendering every cell.
|
|
12013
12020
|
* @private
|
|
12014
12021
|
* @returns {void}
|
|
12015
12022
|
*/
|
|
@@ -12020,10 +12027,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
12020
12027
|
}
|
|
12021
12028
|
|
|
12022
12029
|
/**
|
|
12023
|
-
*
|
|
12024
|
-
*
|
|
12025
|
-
* announcements and range preview updates without triggering
|
|
12026
|
-
* any Lit lifecycle updates.
|
|
12030
|
+
* Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
|
|
12031
|
+
* announce the date to screen readers and update the range preview without re-rendering the cell.
|
|
12027
12032
|
* @private
|
|
12028
12033
|
* @returns {void}
|
|
12029
12034
|
*/
|
|
@@ -12036,12 +12041,12 @@ class AuroCalendarCell extends i$1 {
|
|
|
12036
12041
|
}
|
|
12037
12042
|
|
|
12038
12043
|
/**
|
|
12039
|
-
* Checks
|
|
12040
|
-
* Out-of-range cells
|
|
12044
|
+
* Checks whether the cell's date is earlier than `min` or later than `max`.
|
|
12045
|
+
* Out-of-range cells aren't focusable and are hidden from screen readers.
|
|
12041
12046
|
* @private
|
|
12042
|
-
* @param {Object} day -
|
|
12043
|
-
* @param {Number} min - The
|
|
12044
|
-
* @param {Number} max - The
|
|
12047
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12048
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12049
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12045
12050
|
* @returns {Boolean} True if the date is out of range; false otherwise.
|
|
12046
12051
|
*/
|
|
12047
12052
|
isOutOfRange(day, min, max) {
|
|
@@ -12092,16 +12097,15 @@ class AuroCalendarCell extends i$1 {
|
|
|
12092
12097
|
}
|
|
12093
12098
|
|
|
12094
12099
|
/**
|
|
12095
|
-
* Checks
|
|
12096
|
-
*
|
|
12097
|
-
*
|
|
12098
|
-
* disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
|
|
12100
|
+
* Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
|
|
12101
|
+
* deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
|
|
12102
|
+
* it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
|
|
12099
12103
|
* @private
|
|
12100
|
-
* @param {Object} day -
|
|
12101
|
-
* @param {Number} min - The
|
|
12102
|
-
* @param {Number} max - The
|
|
12103
|
-
* @param {Array} disabledDays -
|
|
12104
|
-
* @returns {Boolean} True if the date is
|
|
12104
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12105
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12106
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12107
|
+
* @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
|
|
12108
|
+
* @returns {Boolean} True if the date is turned off; false otherwise.
|
|
12105
12109
|
*/
|
|
12106
12110
|
isEnabled(day, min, max, disabledDays) {
|
|
12107
12111
|
this.removeAttribute('disabled');
|
|
@@ -12116,9 +12120,9 @@ class AuroCalendarCell extends i$1 {
|
|
|
12116
12120
|
}
|
|
12117
12121
|
|
|
12118
12122
|
/**
|
|
12119
|
-
* Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
12123
|
+
* Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
|
|
12120
12124
|
* @private
|
|
12121
|
-
* @returns {String} The unique cell ID.
|
|
12125
|
+
* @returns {String} The unique cell ID, or an empty string when the cell has no date.
|
|
12122
12126
|
*/
|
|
12123
12127
|
getCellId() {
|
|
12124
12128
|
if (!this.day || !this.day.date) return '';
|
|
@@ -12130,10 +12134,10 @@ class AuroCalendarCell extends i$1 {
|
|
|
12130
12134
|
}
|
|
12131
12135
|
|
|
12132
12136
|
/**
|
|
12133
|
-
* Generates
|
|
12134
|
-
*
|
|
12137
|
+
* Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
|
|
12138
|
+
* Adds the date slot and popover content, the range position, and the blackout label.
|
|
12135
12139
|
* @private
|
|
12136
|
-
* @returns {String} The aria-label string.
|
|
12140
|
+
* @returns {String} The `aria-label` text, or an empty string when the cell has no date.
|
|
12137
12141
|
*/
|
|
12138
12142
|
getAriaLabel() {
|
|
12139
12143
|
if (!this.day || this.day.date === undefined) return '';
|
|
@@ -12305,10 +12309,10 @@ class AuroCalendarCell extends i$1 {
|
|
|
12305
12309
|
}
|
|
12306
12310
|
|
|
12307
12311
|
/**
|
|
12308
|
-
*
|
|
12312
|
+
* Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
|
|
12309
12313
|
* @private
|
|
12310
|
-
* @param {Number} date - The date
|
|
12311
|
-
* @returns {String} The
|
|
12314
|
+
* @param {Number} date - The date, as a Unix timestamp in seconds.
|
|
12315
|
+
* @returns {String} The formatted date, or an empty string when `date` is undefined.
|
|
12312
12316
|
*/
|
|
12313
12317
|
getTitle(date) {
|
|
12314
12318
|
if (date === undefined) {
|
|
@@ -12355,7 +12359,7 @@ class AuroCalendarCell extends i$1 {
|
|
|
12355
12359
|
}
|
|
12356
12360
|
|
|
12357
12361
|
/**
|
|
12358
|
-
*
|
|
12362
|
+
* 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`.
|
|
12359
12363
|
* @private
|
|
12360
12364
|
* @returns {void}
|
|
12361
12365
|
*/
|
|
@@ -12517,8 +12521,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
12517
12521
|
}
|
|
12518
12522
|
|
|
12519
12523
|
/**
|
|
12520
|
-
* Sets
|
|
12521
|
-
* and blackout
|
|
12524
|
+
* Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
|
|
12525
|
+
* whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
|
|
12522
12526
|
* @private
|
|
12523
12527
|
* @returns {void}
|
|
12524
12528
|
*/
|
|
@@ -12760,8 +12764,8 @@ const getMonthNamesFromLocale = (locale) => {
|
|
|
12760
12764
|
* Gets the localized names of the days of the week, starting from Sunday, in the given style.
|
|
12761
12765
|
* Uses UTC dates to avoid DST-related day drift across timezones.
|
|
12762
12766
|
* @private
|
|
12763
|
-
* @param {String} locale - The BCP 47 language tag for localization, such as
|
|
12764
|
-
* @param {String} weekday - The style of the weekday name:
|
|
12767
|
+
* @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
|
|
12768
|
+
* @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
|
|
12765
12769
|
* @returns {Array} An array of seven localized weekday names, starting from Sunday.
|
|
12766
12770
|
*/
|
|
12767
12771
|
const getWeekdayNames = (locale, weekday) => {
|
|
@@ -12894,10 +12898,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12894
12898
|
}
|
|
12895
12899
|
|
|
12896
12900
|
/**
|
|
12897
|
-
* Renders a day-of-week column header that shows the
|
|
12901
|
+
* 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`.
|
|
12898
12902
|
* @private
|
|
12899
|
-
* @param {String} dayOfWeek - The
|
|
12900
|
-
* @param {Number} index - The index in
|
|
12903
|
+
* @param {String} dayOfWeek - The narrow day name, such as "S".
|
|
12904
|
+
* @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
|
|
12901
12905
|
* @returns {Object} The header HTML.
|
|
12902
12906
|
*/
|
|
12903
12907
|
renderDayOfWeek(dayOfWeek, index) {
|
|
@@ -12920,9 +12924,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12920
12924
|
}
|
|
12921
12925
|
|
|
12922
12926
|
/**
|
|
12923
|
-
*
|
|
12924
|
-
*
|
|
12925
|
-
* the
|
|
12927
|
+
* Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
|
|
12928
|
+
* instead of setting the base class's reactive `hoveredDate`, so the calendar can update
|
|
12929
|
+
* the range preview without re-rendering.
|
|
12926
12930
|
* @private
|
|
12927
12931
|
* @param {CustomEvent} event - The date-is-hovered event from a cell.
|
|
12928
12932
|
* @returns {void}
|
|
@@ -12934,8 +12938,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12934
12938
|
}
|
|
12935
12939
|
|
|
12936
12940
|
/**
|
|
12937
|
-
*
|
|
12938
|
-
* so the
|
|
12941
|
+
* Called when the pointer leaves the month's date grid. Fires a bubbling
|
|
12942
|
+
* `calendar-month-mouseleave` event so the calendar can clear the range preview.
|
|
12939
12943
|
* @private
|
|
12940
12944
|
* @returns {void}
|
|
12941
12945
|
*/
|
|
@@ -13287,6 +13291,11 @@ var chevronRight = {"role":"img","color":"currentColor","title":"","desc":"Direc
|
|
|
13287
13291
|
*/
|
|
13288
13292
|
class CalendarUtilities {
|
|
13289
13293
|
constructor() {
|
|
13294
|
+
|
|
13295
|
+
/**
|
|
13296
|
+
* The date helpers these methods use.
|
|
13297
|
+
* @private
|
|
13298
|
+
*/
|
|
13290
13299
|
this.util = new AuroDatepickerUtilities();
|
|
13291
13300
|
}
|
|
13292
13301
|
|
|
@@ -13312,7 +13321,8 @@ class CalendarUtilities {
|
|
|
13312
13321
|
}
|
|
13313
13322
|
|
|
13314
13323
|
/**
|
|
13315
|
-
*
|
|
13324
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
13325
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
13316
13326
|
* @private
|
|
13317
13327
|
* @returns {void}
|
|
13318
13328
|
*/
|
|
@@ -13388,7 +13398,8 @@ class CalendarUtilities {
|
|
|
13388
13398
|
}
|
|
13389
13399
|
|
|
13390
13400
|
/**
|
|
13391
|
-
*
|
|
13401
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
13402
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
13392
13403
|
* @param {Object} elem - The auro-calendar element.
|
|
13393
13404
|
* @private
|
|
13394
13405
|
* @returns {void}
|
|
@@ -13805,7 +13816,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13805
13816
|
}
|
|
13806
13817
|
|
|
13807
13818
|
/**
|
|
13808
|
-
* Called
|
|
13819
|
+
* 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.
|
|
13809
13820
|
* @param {Event} event - The `touchmove` event.
|
|
13810
13821
|
* @returns {void}
|
|
13811
13822
|
*/
|
|
@@ -13901,7 +13912,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13901
13912
|
}
|
|
13902
13913
|
}
|
|
13903
13914
|
|
|
13904
|
-
var formkitVersion$2 = '
|
|
13915
|
+
var formkitVersion$2 = '202611090436';
|
|
13905
13916
|
|
|
13906
13917
|
let l$1 = class l{generateElementName(e,t){let s=e;return s+="-",s+=t.replace(/[.]/g,"_"),s}generateTag(s,o,a){const r=this.generateElementName(s,o),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let h$4 = 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 = 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$3=i$3`: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}
|
|
13907
13918
|
`,u$6=i$3`.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}}
|
|
@@ -14065,18 +14076,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14065
14076
|
*/
|
|
14066
14077
|
this.calendarRangeMonths = null;
|
|
14067
14078
|
|
|
14068
|
-
/**
|
|
14069
|
-
* @deprecated Use `auro-datepicker.blackoutDates` (an array of
|
|
14070
|
-
* `YYYY-MM-DD` ISO strings) instead. This legacy array of Unix
|
|
14071
|
-
* timestamps is still honored for backward compatibility but emits a
|
|
14072
|
-
* one-time `console.debug` the first time a non-empty value is observed.
|
|
14073
|
-
* Support will be removed in a future major release.
|
|
14074
|
-
* @private
|
|
14075
|
-
*/
|
|
14076
14079
|
// Initialize the backing field directly so the constructor's default
|
|
14077
14080
|
// empty array doesn't trigger the deprecation warning. Assignments from
|
|
14078
14081
|
// consumers still route through the setter below.
|
|
14079
14082
|
/**
|
|
14083
|
+
* Deprecated: Use `blackoutDates` on `auro-datepicker` instead.
|
|
14084
|
+
* 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.
|
|
14085
|
+
* @deprecated Use `blackoutDates` on `auro-datepicker` instead.
|
|
14080
14086
|
* @private
|
|
14081
14087
|
* @type {number[]}
|
|
14082
14088
|
*/
|
|
@@ -14253,7 +14259,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14253
14259
|
},
|
|
14254
14260
|
|
|
14255
14261
|
/**
|
|
14256
|
-
*
|
|
14262
|
+
* Sets the window width, in pixels, below which `scrollMonthIntoView()` scrolls to a month. The datepicker doesn't currently set it.
|
|
14257
14263
|
* @private
|
|
14258
14264
|
*/
|
|
14259
14265
|
mobileBreakpoint: {
|
|
@@ -14451,9 +14457,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14451
14457
|
}
|
|
14452
14458
|
|
|
14453
14459
|
/**
|
|
14454
|
-
* Renders
|
|
14460
|
+
* Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
|
|
14461
|
+
* Renders nothing until `visible` is set.
|
|
14455
14462
|
* @private
|
|
14456
|
-
* @returns {Object} The
|
|
14463
|
+
* @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
|
|
14457
14464
|
*/
|
|
14458
14465
|
renderAllCalendars() {
|
|
14459
14466
|
let renderedHtml = undefined;
|
|
@@ -14667,7 +14674,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14667
14674
|
}
|
|
14668
14675
|
|
|
14669
14676
|
/**
|
|
14670
|
-
* Shows the
|
|
14677
|
+
* Called when focus moves into the calendar grid. Shows the focus ring on the active cell
|
|
14678
|
+
* when the grid itself gets focus, not a cell inside it.
|
|
14671
14679
|
* @private
|
|
14672
14680
|
* @param {FocusEvent} [event] - The focusin event.
|
|
14673
14681
|
* @returns {void}
|
|
@@ -14696,7 +14704,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14696
14704
|
}
|
|
14697
14705
|
|
|
14698
14706
|
/**
|
|
14699
|
-
*
|
|
14707
|
+
* Called when the calendar grid or an element in it loses focus. Removes the focus ring from
|
|
14708
|
+
* every cell, and clears the range preview while the range doesn't have both dates.
|
|
14700
14709
|
* @private
|
|
14701
14710
|
* @returns {void}
|
|
14702
14711
|
*/
|
|
@@ -14787,15 +14796,17 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14787
14796
|
/**
|
|
14788
14797
|
* Computes the initial active date from data properties alone, without the DOM.
|
|
14789
14798
|
* Priority:
|
|
14790
|
-
* 1.
|
|
14791
|
-
* 2.
|
|
14792
|
-
* 3.
|
|
14793
|
-
* 4.
|
|
14794
|
-
* 5.
|
|
14795
|
-
*
|
|
14796
|
-
*
|
|
14797
|
-
*
|
|
14798
|
-
*
|
|
14799
|
+
* 1. The selected date (`dateFrom`), if it's within range.
|
|
14800
|
+
* 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
|
|
14801
|
+
* 3. Today's date, if it's enabled (in range and not a blackout date).
|
|
14802
|
+
* 4. The first enabled date in the visible months, or else their first in-range date.
|
|
14803
|
+
* 5. The first enabled date after today, scanning day by day for up to a year.
|
|
14804
|
+
* 6. The first enabled date before today, scanning day by day for up to a year.
|
|
14805
|
+
* 7. The first enabled date in a finite [min, max] range.
|
|
14806
|
+
* 7b. The first enabled date scanning forward from a finite min (unbounded max).
|
|
14807
|
+
* 7c. The first enabled date scanning backward from a finite max (unbounded min).
|
|
14808
|
+
* 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.
|
|
14809
|
+
* 9. Undefined: no valid target.
|
|
14799
14810
|
*
|
|
14800
14811
|
* @private
|
|
14801
14812
|
* @param {Object} [options] - The optional settings.
|
|
@@ -15043,9 +15054,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15043
15054
|
}
|
|
15044
15055
|
|
|
15045
15056
|
/**
|
|
15046
|
-
*
|
|
15047
|
-
*
|
|
15048
|
-
*
|
|
15057
|
+
* Called when a key is pressed while the calendar grid has focus. The arrow keys move the
|
|
15058
|
+
* active cell, into another month when needed, and Enter or Space selects the active date
|
|
15059
|
+
* unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
|
|
15049
15060
|
* @private
|
|
15050
15061
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
15051
15062
|
* @returns {void}
|
|
@@ -15177,7 +15188,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15177
15188
|
}
|
|
15178
15189
|
|
|
15179
15190
|
/**
|
|
15180
|
-
*
|
|
15191
|
+
* Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
|
|
15192
|
+
* across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
|
|
15193
|
+
* currently fires this event.
|
|
15181
15194
|
* @private
|
|
15182
15195
|
* @param {CustomEvent} event - The boundary event with direction and source date info.
|
|
15183
15196
|
* @returns {void}
|
|
@@ -15318,7 +15331,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15318
15331
|
}
|
|
15319
15332
|
|
|
15320
15333
|
/**
|
|
15321
|
-
*
|
|
15334
|
+
* Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
|
|
15335
|
+
* the active cell without moving focus to the grid.
|
|
15322
15336
|
* @private
|
|
15323
15337
|
* @param {CustomEvent} event - The activation event with target date.
|
|
15324
15338
|
* @returns {void}
|
|
@@ -15336,9 +15350,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15336
15350
|
}
|
|
15337
15351
|
|
|
15338
15352
|
/**
|
|
15339
|
-
*
|
|
15340
|
-
*
|
|
15341
|
-
* the imperative range preview if applicable.
|
|
15353
|
+
* Called when a cell's button gets focus, and after the arrow keys move the active cell.
|
|
15354
|
+
* Announces the date to screen readers through the live region and updates the range preview.
|
|
15342
15355
|
* @private
|
|
15343
15356
|
* @param {CustomEvent} event - The calendar-cell-focused event.
|
|
15344
15357
|
* @returns {void}
|
|
@@ -15520,7 +15533,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15520
15533
|
*
|
|
15521
15534
|
* The cell's `applyCommittedRangeClasses` reuses the same
|
|
15522
15535
|
* `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
|
|
15523
|
-
* uses, so
|
|
15536
|
+
* uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
|
|
15524
15537
|
* normalize their inputs (midnight-truncation, string→int) internally.
|
|
15525
15538
|
* @private
|
|
15526
15539
|
* @returns {void}
|
|
@@ -15556,8 +15569,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15556
15569
|
}
|
|
15557
15570
|
|
|
15558
15571
|
/**
|
|
15559
|
-
*
|
|
15560
|
-
*
|
|
15572
|
+
* Called when a month fires `hovered-date-changed`. Updates the range preview directly
|
|
15573
|
+
* instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
|
|
15561
15574
|
* @private
|
|
15562
15575
|
* @param {CustomEvent} event - The hovered-date-changed event from a month.
|
|
15563
15576
|
* @returns {void}
|
|
@@ -15573,7 +15586,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15573
15586
|
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
15574
15587
|
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
15575
15588
|
* ancestor by whatever delta still separates the cell from that
|
|
15576
|
-
* ancestor's viewport. Native `scrollIntoView`
|
|
15589
|
+
* ancestor's viewport. Native `scrollIntoView` isn't used because the
|
|
15577
15590
|
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
15578
15591
|
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15579
15592
|
* scrolls one of them on its own, leaving the cell short of the
|
|
@@ -15583,7 +15596,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15583
15596
|
* value) so each `scrollBy` resolves synchronously and the next
|
|
15584
15597
|
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
15585
15598
|
* accurately. This also satisfies `prefers-reduced-motion` users: the
|
|
15586
|
-
* scroll containers
|
|
15599
|
+
* scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
|
|
15587
15600
|
* is effectively instant.
|
|
15588
15601
|
*
|
|
15589
15602
|
* The active cell is looked up from the cache populated by
|
|
@@ -15798,16 +15811,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15798
15811
|
}
|
|
15799
15812
|
|
|
15800
15813
|
/**
|
|
15801
|
-
*
|
|
15802
|
-
*
|
|
15803
|
-
*
|
|
15804
|
-
*
|
|
15805
|
-
*
|
|
15806
|
-
* keyboard navigation, so the announcements were silently dropped.
|
|
15814
|
+
* Announces a date to screen readers after a 150 ms pause, so only the
|
|
15815
|
+
* last cell reached with the arrow keys is announced.
|
|
15816
|
+
* Uses the assertive live region, because VoiceOver waits for the page to
|
|
15817
|
+
* be idle before it reads a polite one, which never happens during
|
|
15818
|
+
* arrow-key navigation, so polite announcements were dropped.
|
|
15807
15819
|
*
|
|
15808
15820
|
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
15809
15821
|
* prefers `polite` for status messages. See the "Documented
|
|
15810
|
-
*
|
|
15822
|
+
* deviation" section in `components/datepicker/docs/pages/accessibility.md`.
|
|
15811
15823
|
* @private
|
|
15812
15824
|
* @param {String} dateStr - The localized date string to announce.
|
|
15813
15825
|
* @returns {void}
|
|
@@ -20049,7 +20061,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
20049
20061
|
}
|
|
20050
20062
|
};
|
|
20051
20063
|
|
|
20052
|
-
var formkitVersion$1 = '
|
|
20064
|
+
var formkitVersion$1 = '202611090436';
|
|
20053
20065
|
|
|
20054
20066
|
/**
|
|
20055
20067
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -20545,6 +20557,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20545
20557
|
/**
|
|
20546
20558
|
* Removes the trigger's border, background, and shadow.
|
|
20547
20559
|
* Applies only when `shape` and `size` are both set.
|
|
20560
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
20548
20561
|
* @category ui
|
|
20549
20562
|
*/
|
|
20550
20563
|
simple: {
|
|
@@ -20837,6 +20850,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20837
20850
|
/**
|
|
20838
20851
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
20839
20852
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
20853
|
+
* @default 0
|
|
20840
20854
|
* @category a11y
|
|
20841
20855
|
*/
|
|
20842
20856
|
tabIndex: {
|
|
@@ -21528,7 +21542,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21528
21542
|
*
|
|
21529
21543
|
* @private
|
|
21530
21544
|
* @method handleDefaultSlot
|
|
21531
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
21532
21545
|
*/
|
|
21533
21546
|
handleDefaultSlot() {
|
|
21534
21547
|
|
|
@@ -21541,7 +21554,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21541
21554
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
21542
21555
|
* @private
|
|
21543
21556
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
21544
|
-
* @returns {
|
|
21557
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
21545
21558
|
*/
|
|
21546
21559
|
renderBasicHtml(helpTextClasses) {
|
|
21547
21560
|
return u$a`
|
|
@@ -21603,7 +21616,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21603
21616
|
/**
|
|
21604
21617
|
* Renders the classic layout.
|
|
21605
21618
|
* @private
|
|
21606
|
-
* @returns {
|
|
21619
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
21607
21620
|
*/
|
|
21608
21621
|
renderLayoutClassic() {
|
|
21609
21622
|
// TODO: check with Doug why this was never used?
|
|
@@ -21619,7 +21632,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21619
21632
|
/**
|
|
21620
21633
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
21621
21634
|
* @private
|
|
21622
|
-
* @returns {
|
|
21635
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
21623
21636
|
*/
|
|
21624
21637
|
renderLayoutSnowflake() {
|
|
21625
21638
|
const helpTextClasses = {
|
|
@@ -21636,7 +21649,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21636
21649
|
/**
|
|
21637
21650
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
21638
21651
|
* @private
|
|
21639
|
-
* @returns {
|
|
21652
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
21640
21653
|
*/
|
|
21641
21654
|
renderLayoutEmphasized() {
|
|
21642
21655
|
const helpTextClasses = {
|
|
@@ -21654,7 +21667,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21654
21667
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
21655
21668
|
* @private
|
|
21656
21669
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
21657
|
-
* @returns {
|
|
21670
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
21658
21671
|
*/
|
|
21659
21672
|
renderLayout(ForcedLayout) {
|
|
21660
21673
|
const layout = ForcedLayout || this.layout;
|
|
@@ -32273,7 +32286,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
32273
32286
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
32274
32287
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
32275
32288
|
/**
|
|
32276
|
-
*
|
|
32289
|
+
* Gets the options Lit uses to create the shadow root.
|
|
32277
32290
|
* @internal
|
|
32278
32291
|
*/
|
|
32279
32292
|
static get shadowRootOptions() {
|
|
@@ -32447,8 +32460,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
32447
32460
|
},
|
|
32448
32461
|
|
|
32449
32462
|
/**
|
|
32450
|
-
* Sets the field's
|
|
32451
|
-
* emphasized layouts support only `xl`.
|
|
32463
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
32464
|
+
* and the emphasized layouts support only `xl`.
|
|
32452
32465
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
32453
32466
|
* @default 'lg'
|
|
32454
32467
|
* @category ui
|
|
@@ -34244,7 +34257,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
34244
34257
|
}
|
|
34245
34258
|
};
|
|
34246
34259
|
|
|
34247
|
-
var formkitVersion = '
|
|
34260
|
+
var formkitVersion = '202611090436';
|
|
34248
34261
|
|
|
34249
34262
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34250
34263
|
// See LICENSE in the project root for license information.
|
|
@@ -34703,7 +34716,7 @@ class AuroInput extends BaseInput {
|
|
|
34703
34716
|
|
|
34704
34717
|
/**
|
|
34705
34718
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
34706
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
34719
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
34707
34720
|
* @private
|
|
34708
34721
|
* @returns {string}
|
|
34709
34722
|
*/
|
|
@@ -36625,7 +36638,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36625
36638
|
},
|
|
36626
36639
|
|
|
36627
36640
|
/**
|
|
36628
|
-
*
|
|
36641
|
+
* Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
|
|
36629
36642
|
* @private
|
|
36630
36643
|
*/
|
|
36631
36644
|
touched: {
|
|
@@ -36781,7 +36794,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36781
36794
|
}
|
|
36782
36795
|
|
|
36783
36796
|
/**
|
|
36784
|
-
*
|
|
36797
|
+
* Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
|
|
36785
36798
|
* @private
|
|
36786
36799
|
* @returns {void}
|
|
36787
36800
|
*/
|
|
@@ -37574,7 +37587,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37574
37587
|
* Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
|
|
37575
37588
|
* spans every datepicker instance on the page; lives on the class (not
|
|
37576
37589
|
* at module scope) so it stays an encapsulated implementation detail of
|
|
37577
|
-
* this component and
|
|
37590
|
+
* this component and doesn't interfere with WCA's class-JSDoc
|
|
37578
37591
|
* attachment.
|
|
37579
37592
|
* @private
|
|
37580
37593
|
*/
|
|
@@ -37582,7 +37595,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37582
37595
|
|
|
37583
37596
|
/**
|
|
37584
37597
|
* Logs a one-time `console.debug` when an unsupported locale falls back to
|
|
37585
|
-
* en-US
|
|
37598
|
+
* `en-US`. Deduped by the offending tag so noisy re-renders that resurface
|
|
37586
37599
|
* the same bad value stay quiet, but each new bad value still signals so
|
|
37587
37600
|
* consumers can spot the typo or missing tag.
|
|
37588
37601
|
* @private
|
|
@@ -37880,7 +37893,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37880
37893
|
}
|
|
37881
37894
|
|
|
37882
37895
|
/**
|
|
37883
|
-
*
|
|
37896
|
+
* Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
|
|
37897
|
+
* Copies the slot's content into the calendar.
|
|
37884
37898
|
*
|
|
37885
37899
|
* @private
|
|
37886
37900
|
* @method handleSlotToSlot
|
|
@@ -37893,7 +37907,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37893
37907
|
}
|
|
37894
37908
|
|
|
37895
37909
|
/**
|
|
37896
|
-
*
|
|
37910
|
+
* Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
|
|
37911
|
+
* 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.
|
|
37897
37912
|
* @param {PointerEvent} event - The pointer event object.
|
|
37898
37913
|
* @private
|
|
37899
37914
|
* @returns {void}
|
|
@@ -38263,7 +38278,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
38263
38278
|
// ------------------------------------
|
|
38264
38279
|
|
|
38265
38280
|
/**
|
|
38266
|
-
*
|
|
38281
|
+
* Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
|
|
38267
38282
|
* @private
|
|
38268
38283
|
* @param {MouseEvent} event - The mouse event from the clear button click.
|
|
38269
38284
|
* @returns {void}
|