@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.6 → 0.0.0-pr1628.8
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/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.md +2 -2
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.min.js +12 -9
- package/components/combobox/demo/getting-started.min.js +12 -9
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +12 -9
- package/components/combobox/dist/auro-combobox.d.ts +5 -3
- package/components/combobox/dist/index.js +12 -9
- package/components/combobox/dist/registered.js +12 -9
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.min.js +6 -6
- package/components/counter/demo/getting-started.min.js +6 -6
- package/components/counter/demo/index.min.js +6 -6
- package/components/counter/demo/why-counter.md +2 -2
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +6 -6
- package/components/counter/dist/registered.js +6 -6
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +3 -3
- package/components/datepicker/demo/customize.md +1 -1
- package/components/datepicker/demo/customize.min.js +106 -96
- 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 +106 -96
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +106 -96
- 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 +2 -2
- 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 +39 -33
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +106 -96
- package/components/datepicker/dist/registered.js +106 -96
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +4 -2
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +4 -4
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +2 -1
- package/components/dropdown/demo/getting-started.min.js +5 -4
- package/components/dropdown/demo/index.min.js +2 -1
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -0
- package/components/dropdown/dist/index.js +2 -1
- package/components/dropdown/dist/registered.js +2 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.min.js +146 -133
- package/components/form/demo/getting-started.min.js +146 -133
- package/components/form/demo/index.min.js +146 -133
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +146 -133
- package/components/input/demo/css-only.md +3 -3
- package/components/input/demo/customize.md +1 -1
- package/components/input/demo/customize.min.js +3 -3
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.min.js +3 -3
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +3 -3
- package/components/input/demo/why-input.md +1 -1
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +1 -1
- package/components/input/dist/index.js +3 -3
- package/components/input/dist/registered.js +3 -3
- package/components/menu/demo/css-only.md +1 -1
- package/components/menu/demo/getting-started.md +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- 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/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.min.js +8 -6
- package/components/select/demo/getting-started.min.js +8 -6
- package/components/select/demo/index.min.js +8 -6
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +8 -6
- package/components/select/dist/registered.js +8 -6
- package/custom-elements.json +77 -79
- 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.
|
|
@@ -10727,8 +10727,8 @@ class UtilitiesCalendarRender {
|
|
|
10727
10727
|
|
|
10728
10728
|
/**
|
|
10729
10729
|
* 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 {
|
|
10730
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
10731
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
10732
10732
|
* @private
|
|
10733
10733
|
*/
|
|
10734
10734
|
updateCentralDate(elem, date) {
|
|
@@ -10854,12 +10854,12 @@ class UtilitiesCalendarRender {
|
|
|
10854
10854
|
}
|
|
10855
10855
|
|
|
10856
10856
|
/**
|
|
10857
|
-
* Renders
|
|
10857
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
10858
10858
|
* @private
|
|
10859
10859
|
* @param {Object} elem - The auro-calendar element.
|
|
10860
10860
|
* @param {Number} month - The month the calendar displays.
|
|
10861
10861
|
* @param {Number} year - The year the calendar displays.
|
|
10862
|
-
* @returns {Object} The auro-calendar-month
|
|
10862
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
10863
10863
|
*/
|
|
10864
10864
|
renderCalendar(elem, month, year) {
|
|
10865
10865
|
return b$8`
|
|
@@ -11987,7 +11987,9 @@ class AuroCalendarCell extends i$1 {
|
|
|
11987
11987
|
}
|
|
11988
11988
|
|
|
11989
11989
|
/**
|
|
11990
|
-
*
|
|
11990
|
+
* Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
|
|
11991
|
+
* Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
|
|
11992
|
+
* `calendar-cell-activate` so the calendar makes the cell the active cell.
|
|
11991
11993
|
* @private
|
|
11992
11994
|
* @returns {void}
|
|
11993
11995
|
*/
|
|
@@ -12007,9 +12009,9 @@ class AuroCalendarCell extends i$1 {
|
|
|
12007
12009
|
}
|
|
12008
12010
|
|
|
12009
12011
|
/**
|
|
12010
|
-
*
|
|
12011
|
-
*
|
|
12012
|
-
*
|
|
12012
|
+
* Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
|
|
12013
|
+
* Doesn't set any reactive properties, because the calendar updates the range preview
|
|
12014
|
+
* directly to avoid re-rendering every cell.
|
|
12013
12015
|
* @private
|
|
12014
12016
|
* @returns {void}
|
|
12015
12017
|
*/
|
|
@@ -12020,10 +12022,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
12020
12022
|
}
|
|
12021
12023
|
|
|
12022
12024
|
/**
|
|
12023
|
-
*
|
|
12024
|
-
*
|
|
12025
|
-
* announcements and range preview updates without triggering
|
|
12026
|
-
* any Lit lifecycle updates.
|
|
12025
|
+
* Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
|
|
12026
|
+
* announce the date to screen readers and update the range preview without re-rendering the cell.
|
|
12027
12027
|
* @private
|
|
12028
12028
|
* @returns {void}
|
|
12029
12029
|
*/
|
|
@@ -12036,12 +12036,12 @@ class AuroCalendarCell extends i$1 {
|
|
|
12036
12036
|
}
|
|
12037
12037
|
|
|
12038
12038
|
/**
|
|
12039
|
-
* Checks
|
|
12040
|
-
* Out-of-range cells
|
|
12039
|
+
* Checks whether the cell's date is earlier than `min` or later than `max`.
|
|
12040
|
+
* Out-of-range cells aren't focusable and are hidden from screen readers.
|
|
12041
12041
|
* @private
|
|
12042
|
-
* @param {Object} day -
|
|
12043
|
-
* @param {Number} min - The
|
|
12044
|
-
* @param {Number} max - The
|
|
12042
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12043
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12044
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12045
12045
|
* @returns {Boolean} True if the date is out of range; false otherwise.
|
|
12046
12046
|
*/
|
|
12047
12047
|
isOutOfRange(day, min, max) {
|
|
@@ -12092,16 +12092,15 @@ class AuroCalendarCell extends i$1 {
|
|
|
12092
12092
|
}
|
|
12093
12093
|
|
|
12094
12094
|
/**
|
|
12095
|
-
* Checks
|
|
12096
|
-
*
|
|
12097
|
-
*
|
|
12098
|
-
* disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
|
|
12095
|
+
* Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
|
|
12096
|
+
* deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
|
|
12097
|
+
* it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
|
|
12099
12098
|
* @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
|
|
12099
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12100
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12101
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12102
|
+
* @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
|
|
12103
|
+
* @returns {Boolean} True if the date is turned off; false otherwise.
|
|
12105
12104
|
*/
|
|
12106
12105
|
isEnabled(day, min, max, disabledDays) {
|
|
12107
12106
|
this.removeAttribute('disabled');
|
|
@@ -12116,9 +12115,9 @@ class AuroCalendarCell extends i$1 {
|
|
|
12116
12115
|
}
|
|
12117
12116
|
|
|
12118
12117
|
/**
|
|
12119
|
-
* Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
12118
|
+
* Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
|
|
12120
12119
|
* @private
|
|
12121
|
-
* @returns {String} The unique cell ID.
|
|
12120
|
+
* @returns {String} The unique cell ID, or an empty string when the cell has no date.
|
|
12122
12121
|
*/
|
|
12123
12122
|
getCellId() {
|
|
12124
12123
|
if (!this.day || !this.day.date) return '';
|
|
@@ -12130,10 +12129,10 @@ class AuroCalendarCell extends i$1 {
|
|
|
12130
12129
|
}
|
|
12131
12130
|
|
|
12132
12131
|
/**
|
|
12133
|
-
* Generates
|
|
12134
|
-
*
|
|
12132
|
+
* Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
|
|
12133
|
+
* Adds the date slot and popover content, the range position, and the blackout label.
|
|
12135
12134
|
* @private
|
|
12136
|
-
* @returns {String} The aria-label string.
|
|
12135
|
+
* @returns {String} The `aria-label` text, or an empty string when the cell has no date.
|
|
12137
12136
|
*/
|
|
12138
12137
|
getAriaLabel() {
|
|
12139
12138
|
if (!this.day || this.day.date === undefined) return '';
|
|
@@ -12305,10 +12304,10 @@ class AuroCalendarCell extends i$1 {
|
|
|
12305
12304
|
}
|
|
12306
12305
|
|
|
12307
12306
|
/**
|
|
12308
|
-
*
|
|
12307
|
+
* Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
|
|
12309
12308
|
* @private
|
|
12310
|
-
* @param {Number} date - The date
|
|
12311
|
-
* @returns {String} The
|
|
12309
|
+
* @param {Number} date - The date, as a Unix timestamp in seconds.
|
|
12310
|
+
* @returns {String} The formatted date, or an empty string when `date` is undefined.
|
|
12312
12311
|
*/
|
|
12313
12312
|
getTitle(date) {
|
|
12314
12313
|
if (date === undefined) {
|
|
@@ -12355,7 +12354,7 @@ class AuroCalendarCell extends i$1 {
|
|
|
12355
12354
|
}
|
|
12356
12355
|
|
|
12357
12356
|
/**
|
|
12358
|
-
*
|
|
12357
|
+
* 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
12358
|
* @private
|
|
12360
12359
|
* @returns {void}
|
|
12361
12360
|
*/
|
|
@@ -12517,8 +12516,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
12517
12516
|
}
|
|
12518
12517
|
|
|
12519
12518
|
/**
|
|
12520
|
-
* Sets
|
|
12521
|
-
* and blackout
|
|
12519
|
+
* Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
|
|
12520
|
+
* whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
|
|
12522
12521
|
* @private
|
|
12523
12522
|
* @returns {void}
|
|
12524
12523
|
*/
|
|
@@ -12760,8 +12759,8 @@ const getMonthNamesFromLocale = (locale) => {
|
|
|
12760
12759
|
* Gets the localized names of the days of the week, starting from Sunday, in the given style.
|
|
12761
12760
|
* Uses UTC dates to avoid DST-related day drift across timezones.
|
|
12762
12761
|
* @private
|
|
12763
|
-
* @param {String} locale - The BCP 47 language tag for localization, such as
|
|
12764
|
-
* @param {String} weekday - The style of the weekday name:
|
|
12762
|
+
* @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
|
|
12763
|
+
* @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
|
|
12765
12764
|
* @returns {Array} An array of seven localized weekday names, starting from Sunday.
|
|
12766
12765
|
*/
|
|
12767
12766
|
const getWeekdayNames = (locale, weekday) => {
|
|
@@ -12894,10 +12893,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12894
12893
|
}
|
|
12895
12894
|
|
|
12896
12895
|
/**
|
|
12897
|
-
* Renders a day-of-week column header that shows the
|
|
12896
|
+
* 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
12897
|
* @private
|
|
12899
|
-
* @param {String} dayOfWeek - The
|
|
12900
|
-
* @param {Number} index - The index in
|
|
12898
|
+
* @param {String} dayOfWeek - The narrow day name, such as "S".
|
|
12899
|
+
* @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
|
|
12901
12900
|
* @returns {Object} The header HTML.
|
|
12902
12901
|
*/
|
|
12903
12902
|
renderDayOfWeek(dayOfWeek, index) {
|
|
@@ -12920,9 +12919,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12920
12919
|
}
|
|
12921
12920
|
|
|
12922
12921
|
/**
|
|
12923
|
-
*
|
|
12924
|
-
*
|
|
12925
|
-
* the
|
|
12922
|
+
* Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
|
|
12923
|
+
* instead of setting the base class's reactive `hoveredDate`, so the calendar can update
|
|
12924
|
+
* the range preview without re-rendering.
|
|
12926
12925
|
* @private
|
|
12927
12926
|
* @param {CustomEvent} event - The date-is-hovered event from a cell.
|
|
12928
12927
|
* @returns {void}
|
|
@@ -12934,8 +12933,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12934
12933
|
}
|
|
12935
12934
|
|
|
12936
12935
|
/**
|
|
12937
|
-
*
|
|
12938
|
-
* so the
|
|
12936
|
+
* Called when the pointer leaves the month's date grid. Fires a bubbling
|
|
12937
|
+
* `calendar-month-mouseleave` event so the calendar can clear the range preview.
|
|
12939
12938
|
* @private
|
|
12940
12939
|
* @returns {void}
|
|
12941
12940
|
*/
|
|
@@ -13312,7 +13311,8 @@ class CalendarUtilities {
|
|
|
13312
13311
|
}
|
|
13313
13312
|
|
|
13314
13313
|
/**
|
|
13315
|
-
*
|
|
13314
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
13315
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
13316
13316
|
* @private
|
|
13317
13317
|
* @returns {void}
|
|
13318
13318
|
*/
|
|
@@ -13388,7 +13388,8 @@ class CalendarUtilities {
|
|
|
13388
13388
|
}
|
|
13389
13389
|
|
|
13390
13390
|
/**
|
|
13391
|
-
*
|
|
13391
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
13392
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
13392
13393
|
* @param {Object} elem - The auro-calendar element.
|
|
13393
13394
|
* @private
|
|
13394
13395
|
* @returns {void}
|
|
@@ -13805,7 +13806,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13805
13806
|
}
|
|
13806
13807
|
|
|
13807
13808
|
/**
|
|
13808
|
-
* Called
|
|
13809
|
+
* 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
13810
|
* @param {Event} event - The `touchmove` event.
|
|
13810
13811
|
* @returns {void}
|
|
13811
13812
|
*/
|
|
@@ -13901,7 +13902,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13901
13902
|
}
|
|
13902
13903
|
}
|
|
13903
13904
|
|
|
13904
|
-
var formkitVersion$2 = '
|
|
13905
|
+
var formkitVersion$2 = '202611090134';
|
|
13905
13906
|
|
|
13906
13907
|
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
13908
|
`,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}}
|
|
@@ -14451,9 +14452,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14451
14452
|
}
|
|
14452
14453
|
|
|
14453
14454
|
/**
|
|
14454
|
-
* Renders
|
|
14455
|
+
* Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
|
|
14456
|
+
* Renders nothing until `visible` is set.
|
|
14455
14457
|
* @private
|
|
14456
|
-
* @returns {Object} The
|
|
14458
|
+
* @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
|
|
14457
14459
|
*/
|
|
14458
14460
|
renderAllCalendars() {
|
|
14459
14461
|
let renderedHtml = undefined;
|
|
@@ -14667,7 +14669,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14667
14669
|
}
|
|
14668
14670
|
|
|
14669
14671
|
/**
|
|
14670
|
-
* Shows the
|
|
14672
|
+
* Called when focus moves into the calendar grid. Shows the focus ring on the active cell
|
|
14673
|
+
* when the grid itself gets focus, not a cell inside it.
|
|
14671
14674
|
* @private
|
|
14672
14675
|
* @param {FocusEvent} [event] - The focusin event.
|
|
14673
14676
|
* @returns {void}
|
|
@@ -14696,7 +14699,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14696
14699
|
}
|
|
14697
14700
|
|
|
14698
14701
|
/**
|
|
14699
|
-
*
|
|
14702
|
+
* Called when the calendar grid or an element in it loses focus. Removes the focus ring from
|
|
14703
|
+
* every cell, and clears the range preview while the range doesn't have both dates.
|
|
14700
14704
|
* @private
|
|
14701
14705
|
* @returns {void}
|
|
14702
14706
|
*/
|
|
@@ -14787,15 +14791,17 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14787
14791
|
/**
|
|
14788
14792
|
* Computes the initial active date from data properties alone, without the DOM.
|
|
14789
14793
|
* Priority:
|
|
14790
|
-
* 1.
|
|
14791
|
-
* 2.
|
|
14792
|
-
* 3.
|
|
14793
|
-
* 4.
|
|
14794
|
-
* 5.
|
|
14795
|
-
*
|
|
14796
|
-
*
|
|
14797
|
-
*
|
|
14798
|
-
*
|
|
14794
|
+
* 1. The selected date (`dateFrom`), if it's within range.
|
|
14795
|
+
* 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
|
|
14796
|
+
* 3. Today's date, if it's enabled (in range and not a blackout date).
|
|
14797
|
+
* 4. The first enabled date in the visible months, or else their first in-range date.
|
|
14798
|
+
* 5. The first enabled date after today, scanning day by day for up to a year.
|
|
14799
|
+
* 6. The first enabled date before today, scanning day by day for up to a year.
|
|
14800
|
+
* 7. The first enabled date in a finite [min, max] range.
|
|
14801
|
+
* 7b. The first enabled date scanning forward from a finite min (unbounded max).
|
|
14802
|
+
* 7c. The first enabled date scanning backward from a finite max (unbounded min).
|
|
14803
|
+
* 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.
|
|
14804
|
+
* 9. Undefined: no valid target.
|
|
14799
14805
|
*
|
|
14800
14806
|
* @private
|
|
14801
14807
|
* @param {Object} [options] - The optional settings.
|
|
@@ -15043,9 +15049,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15043
15049
|
}
|
|
15044
15050
|
|
|
15045
15051
|
/**
|
|
15046
|
-
*
|
|
15047
|
-
*
|
|
15048
|
-
*
|
|
15052
|
+
* Called when a key is pressed while the calendar grid has focus. The arrow keys move the
|
|
15053
|
+
* active cell, into another month when needed, and Enter or Space selects the active date
|
|
15054
|
+
* unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
|
|
15049
15055
|
* @private
|
|
15050
15056
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
15051
15057
|
* @returns {void}
|
|
@@ -15177,7 +15183,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15177
15183
|
}
|
|
15178
15184
|
|
|
15179
15185
|
/**
|
|
15180
|
-
*
|
|
15186
|
+
* Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
|
|
15187
|
+
* across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
|
|
15188
|
+
* currently fires this event.
|
|
15181
15189
|
* @private
|
|
15182
15190
|
* @param {CustomEvent} event - The boundary event with direction and source date info.
|
|
15183
15191
|
* @returns {void}
|
|
@@ -15318,7 +15326,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15318
15326
|
}
|
|
15319
15327
|
|
|
15320
15328
|
/**
|
|
15321
|
-
*
|
|
15329
|
+
* Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
|
|
15330
|
+
* the active cell without moving focus to the grid.
|
|
15322
15331
|
* @private
|
|
15323
15332
|
* @param {CustomEvent} event - The activation event with target date.
|
|
15324
15333
|
* @returns {void}
|
|
@@ -15336,9 +15345,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15336
15345
|
}
|
|
15337
15346
|
|
|
15338
15347
|
/**
|
|
15339
|
-
*
|
|
15340
|
-
*
|
|
15341
|
-
* the imperative range preview if applicable.
|
|
15348
|
+
* Called when a cell's button gets focus, and after the arrow keys move the active cell.
|
|
15349
|
+
* Announces the date to screen readers through the live region and updates the range preview.
|
|
15342
15350
|
* @private
|
|
15343
15351
|
* @param {CustomEvent} event - The calendar-cell-focused event.
|
|
15344
15352
|
* @returns {void}
|
|
@@ -15520,7 +15528,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15520
15528
|
*
|
|
15521
15529
|
* The cell's `applyCommittedRangeClasses` reuses the same
|
|
15522
15530
|
* `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
|
|
15523
|
-
* uses, so
|
|
15531
|
+
* uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
|
|
15524
15532
|
* normalize their inputs (midnight-truncation, string→int) internally.
|
|
15525
15533
|
* @private
|
|
15526
15534
|
* @returns {void}
|
|
@@ -15556,8 +15564,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15556
15564
|
}
|
|
15557
15565
|
|
|
15558
15566
|
/**
|
|
15559
|
-
*
|
|
15560
|
-
*
|
|
15567
|
+
* Called when a month fires `hovered-date-changed`. Updates the range preview directly
|
|
15568
|
+
* instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
|
|
15561
15569
|
* @private
|
|
15562
15570
|
* @param {CustomEvent} event - The hovered-date-changed event from a month.
|
|
15563
15571
|
* @returns {void}
|
|
@@ -15573,7 +15581,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15573
15581
|
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
15574
15582
|
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
15575
15583
|
* ancestor by whatever delta still separates the cell from that
|
|
15576
|
-
* ancestor's viewport. Native `scrollIntoView`
|
|
15584
|
+
* ancestor's viewport. Native `scrollIntoView` isn't used because the
|
|
15577
15585
|
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
15578
15586
|
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15579
15587
|
* scrolls one of them on its own, leaving the cell short of the
|
|
@@ -15583,7 +15591,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15583
15591
|
* value) so each `scrollBy` resolves synchronously and the next
|
|
15584
15592
|
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
15585
15593
|
* accurately. This also satisfies `prefers-reduced-motion` users: the
|
|
15586
|
-
* scroll containers
|
|
15594
|
+
* scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
|
|
15587
15595
|
* is effectively instant.
|
|
15588
15596
|
*
|
|
15589
15597
|
* The active cell is looked up from the cache populated by
|
|
@@ -15798,16 +15806,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15798
15806
|
}
|
|
15799
15807
|
|
|
15800
15808
|
/**
|
|
15801
|
-
*
|
|
15802
|
-
*
|
|
15803
|
-
*
|
|
15804
|
-
*
|
|
15805
|
-
*
|
|
15806
|
-
* keyboard navigation, so the announcements were silently dropped.
|
|
15809
|
+
* Announces a date to screen readers after a 150 ms pause, so only the
|
|
15810
|
+
* last cell reached with the arrow keys is announced.
|
|
15811
|
+
* Uses the assertive live region, because VoiceOver waits for the page to
|
|
15812
|
+
* be idle before it reads a polite one, which never happens during
|
|
15813
|
+
* arrow-key navigation, so polite announcements were dropped.
|
|
15807
15814
|
*
|
|
15808
15815
|
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
15809
15816
|
* prefers `polite` for status messages. See the "Documented
|
|
15810
|
-
*
|
|
15817
|
+
* deviation" section in `components/datepicker/docs/pages/accessibility.md`.
|
|
15811
15818
|
* @private
|
|
15812
15819
|
* @param {String} dateStr - The localized date string to announce.
|
|
15813
15820
|
* @returns {void}
|
|
@@ -20049,7 +20056,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
20049
20056
|
}
|
|
20050
20057
|
};
|
|
20051
20058
|
|
|
20052
|
-
var formkitVersion$1 = '
|
|
20059
|
+
var formkitVersion$1 = '202611090134';
|
|
20053
20060
|
|
|
20054
20061
|
/**
|
|
20055
20062
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -20837,6 +20844,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20837
20844
|
/**
|
|
20838
20845
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
20839
20846
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
20847
|
+
* @default 0
|
|
20840
20848
|
* @category a11y
|
|
20841
20849
|
*/
|
|
20842
20850
|
tabIndex: {
|
|
@@ -32273,7 +32281,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
32273
32281
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
32274
32282
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
32275
32283
|
/**
|
|
32276
|
-
*
|
|
32284
|
+
* Gets the options Lit uses to create the shadow root.
|
|
32277
32285
|
* @internal
|
|
32278
32286
|
*/
|
|
32279
32287
|
static get shadowRootOptions() {
|
|
@@ -34244,7 +34252,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
34244
34252
|
}
|
|
34245
34253
|
};
|
|
34246
34254
|
|
|
34247
|
-
var formkitVersion = '
|
|
34255
|
+
var formkitVersion = '202611090134';
|
|
34248
34256
|
|
|
34249
34257
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34250
34258
|
// See LICENSE in the project root for license information.
|
|
@@ -34703,7 +34711,7 @@ class AuroInput extends BaseInput {
|
|
|
34703
34711
|
|
|
34704
34712
|
/**
|
|
34705
34713
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
34706
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
34714
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
34707
34715
|
* @private
|
|
34708
34716
|
* @returns {string}
|
|
34709
34717
|
*/
|
|
@@ -36625,7 +36633,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36625
36633
|
},
|
|
36626
36634
|
|
|
36627
36635
|
/**
|
|
36628
|
-
*
|
|
36636
|
+
* Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
|
|
36629
36637
|
* @private
|
|
36630
36638
|
*/
|
|
36631
36639
|
touched: {
|
|
@@ -36781,7 +36789,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36781
36789
|
}
|
|
36782
36790
|
|
|
36783
36791
|
/**
|
|
36784
|
-
*
|
|
36792
|
+
* Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
|
|
36785
36793
|
* @private
|
|
36786
36794
|
* @returns {void}
|
|
36787
36795
|
*/
|
|
@@ -37574,7 +37582,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37574
37582
|
* Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
|
|
37575
37583
|
* spans every datepicker instance on the page; lives on the class (not
|
|
37576
37584
|
* at module scope) so it stays an encapsulated implementation detail of
|
|
37577
|
-
* this component and
|
|
37585
|
+
* this component and doesn't interfere with WCA's class-JSDoc
|
|
37578
37586
|
* attachment.
|
|
37579
37587
|
* @private
|
|
37580
37588
|
*/
|
|
@@ -37582,7 +37590,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37582
37590
|
|
|
37583
37591
|
/**
|
|
37584
37592
|
* Logs a one-time `console.debug` when an unsupported locale falls back to
|
|
37585
|
-
* en-US
|
|
37593
|
+
* `en-US`. Deduped by the offending tag so noisy re-renders that resurface
|
|
37586
37594
|
* the same bad value stay quiet, but each new bad value still signals so
|
|
37587
37595
|
* consumers can spot the typo or missing tag.
|
|
37588
37596
|
* @private
|
|
@@ -37880,7 +37888,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37880
37888
|
}
|
|
37881
37889
|
|
|
37882
37890
|
/**
|
|
37883
|
-
*
|
|
37891
|
+
* Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
|
|
37892
|
+
* Copies the slot's content into the calendar.
|
|
37884
37893
|
*
|
|
37885
37894
|
* @private
|
|
37886
37895
|
* @method handleSlotToSlot
|
|
@@ -37893,7 +37902,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37893
37902
|
}
|
|
37894
37903
|
|
|
37895
37904
|
/**
|
|
37896
|
-
*
|
|
37905
|
+
* Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
|
|
37906
|
+
* 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
37907
|
* @param {PointerEvent} event - The pointer event object.
|
|
37898
37908
|
* @private
|
|
37899
37909
|
* @returns {void}
|
|
@@ -38263,7 +38273,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
38263
38273
|
// ------------------------------------
|
|
38264
38274
|
|
|
38265
38275
|
/**
|
|
38266
|
-
*
|
|
38276
|
+
* Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
|
|
38267
38277
|
* @private
|
|
38268
38278
|
* @param {MouseEvent} event - The mouse event from the clear button click.
|
|
38269
38279
|
* @returns {void}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<auro-header level="1" id="overview">Datepicker
|
|
1
|
+
<auro-header level="1" id="overview">Datepicker: Overview and UX guide</auro-header>
|
|
2
2
|
<div class="contentWrapper">
|
|
3
3
|
<nav>
|
|
4
4
|
<auro-nav anchorNavContent=".scrollWrapper">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
Click the input or press <kbd>Enter</kbd> / <kbd>Space</kbd> to open the calendar
|
|
42
42
|
<div class="note">
|
|
43
43
|
<p>
|
|
44
|
-
The calendar opens to the month of <code>calendarFocusDate</code> or the selected date. With neither set, it
|
|
44
|
+
The calendar opens to the month of <code>calendarFocusDate</code> or the selected date. With neither set, it opens to the month of <code>minDate</code> when that's set, and otherwise to the month of <code>centralDate</code>, which defaults to the current month. The active date is chosen in this order:
|
|
45
45
|
</p>
|
|
46
46
|
<ol>
|
|
47
47
|
<li>The selected date, if it's within the <code>minDate</code> to <code>maxDate</code> range.</li>
|