@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
|
@@ -10670,7 +10670,7 @@ class AuroDatepickerUtilities {
|
|
|
10670
10670
|
}
|
|
10671
10671
|
|
|
10672
10672
|
/**
|
|
10673
|
-
*
|
|
10673
|
+
* Checks whether two dates are the same moment in time.
|
|
10674
10674
|
* @private
|
|
10675
10675
|
* @param {Object} date1 - The first date to compare.
|
|
10676
10676
|
* @param {Object} date2 - The second date to compare.
|
|
@@ -10691,8 +10691,8 @@ class UtilitiesCalendarRender {
|
|
|
10691
10691
|
|
|
10692
10692
|
/**
|
|
10693
10693
|
* Sets `centralDate` to the first day of the date's month, when the date is valid.
|
|
10694
|
-
* @param {Object} elem - The element to set
|
|
10695
|
-
* @param {
|
|
10694
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
10695
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
10696
10696
|
* @private
|
|
10697
10697
|
*/
|
|
10698
10698
|
updateCentralDate(elem, date) {
|
|
@@ -10818,12 +10818,12 @@ class UtilitiesCalendarRender {
|
|
|
10818
10818
|
}
|
|
10819
10819
|
|
|
10820
10820
|
/**
|
|
10821
|
-
* Renders
|
|
10821
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
10822
10822
|
* @private
|
|
10823
10823
|
* @param {Object} elem - The auro-calendar element.
|
|
10824
10824
|
* @param {Number} month - The month the calendar displays.
|
|
10825
10825
|
* @param {Number} year - The year the calendar displays.
|
|
10826
|
-
* @returns {Object} The auro-calendar-month
|
|
10826
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
10827
10827
|
*/
|
|
10828
10828
|
renderCalendar(elem, month, year) {
|
|
10829
10829
|
return html`
|
|
@@ -11945,7 +11945,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
11945
11945
|
}
|
|
11946
11946
|
|
|
11947
11947
|
/**
|
|
11948
|
-
*
|
|
11948
|
+
* Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
|
|
11949
|
+
* Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
|
|
11950
|
+
* `calendar-cell-activate` so the calendar makes the cell the active cell.
|
|
11949
11951
|
* @private
|
|
11950
11952
|
* @returns {void}
|
|
11951
11953
|
*/
|
|
@@ -11965,9 +11967,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
11965
11967
|
}
|
|
11966
11968
|
|
|
11967
11969
|
/**
|
|
11968
|
-
*
|
|
11969
|
-
*
|
|
11970
|
-
*
|
|
11970
|
+
* Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
|
|
11971
|
+
* Doesn't set any reactive properties, because the calendar updates the range preview
|
|
11972
|
+
* directly to avoid re-rendering every cell.
|
|
11971
11973
|
* @private
|
|
11972
11974
|
* @returns {void}
|
|
11973
11975
|
*/
|
|
@@ -11978,10 +11980,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
11978
11980
|
}
|
|
11979
11981
|
|
|
11980
11982
|
/**
|
|
11981
|
-
*
|
|
11982
|
-
*
|
|
11983
|
-
* announcements and range preview updates without triggering
|
|
11984
|
-
* any Lit lifecycle updates.
|
|
11983
|
+
* Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
|
|
11984
|
+
* announce the date to screen readers and update the range preview without re-rendering the cell.
|
|
11985
11985
|
* @private
|
|
11986
11986
|
* @returns {void}
|
|
11987
11987
|
*/
|
|
@@ -11994,12 +11994,12 @@ class AuroCalendarCell extends LitElement {
|
|
|
11994
11994
|
}
|
|
11995
11995
|
|
|
11996
11996
|
/**
|
|
11997
|
-
* Checks
|
|
11998
|
-
* Out-of-range cells
|
|
11997
|
+
* Checks whether the cell's date is earlier than `min` or later than `max`.
|
|
11998
|
+
* Out-of-range cells aren't focusable and are hidden from screen readers.
|
|
11999
11999
|
* @private
|
|
12000
|
-
* @param {Object} day -
|
|
12001
|
-
* @param {Number} min - The
|
|
12002
|
-
* @param {Number} max - The
|
|
12000
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12001
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12002
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12003
12003
|
* @returns {Boolean} True if the date is out of range; false otherwise.
|
|
12004
12004
|
*/
|
|
12005
12005
|
isOutOfRange(day, min, max) {
|
|
@@ -12050,16 +12050,15 @@ class AuroCalendarCell extends LitElement {
|
|
|
12050
12050
|
}
|
|
12051
12051
|
|
|
12052
12052
|
/**
|
|
12053
|
-
* Checks
|
|
12054
|
-
*
|
|
12055
|
-
*
|
|
12056
|
-
* disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
|
|
12053
|
+
* Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
|
|
12054
|
+
* deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
|
|
12055
|
+
* it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
|
|
12057
12056
|
* @private
|
|
12058
|
-
* @param {Object} day -
|
|
12059
|
-
* @param {Number} min - The
|
|
12060
|
-
* @param {Number} max - The
|
|
12061
|
-
* @param {Array} disabledDays -
|
|
12062
|
-
* @returns {Boolean} True if the date is
|
|
12057
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12058
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12059
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12060
|
+
* @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
|
|
12061
|
+
* @returns {Boolean} True if the date is turned off; false otherwise.
|
|
12063
12062
|
*/
|
|
12064
12063
|
isEnabled(day, min, max, disabledDays) {
|
|
12065
12064
|
this.removeAttribute('disabled');
|
|
@@ -12074,9 +12073,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
12074
12073
|
}
|
|
12075
12074
|
|
|
12076
12075
|
/**
|
|
12077
|
-
* Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
12076
|
+
* Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
|
|
12078
12077
|
* @private
|
|
12079
|
-
* @returns {String} The unique cell ID.
|
|
12078
|
+
* @returns {String} The unique cell ID, or an empty string when the cell has no date.
|
|
12080
12079
|
*/
|
|
12081
12080
|
getCellId() {
|
|
12082
12081
|
if (!this.day || !this.day.date) return '';
|
|
@@ -12088,10 +12087,10 @@ class AuroCalendarCell extends LitElement {
|
|
|
12088
12087
|
}
|
|
12089
12088
|
|
|
12090
12089
|
/**
|
|
12091
|
-
* Generates
|
|
12092
|
-
*
|
|
12090
|
+
* Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
|
|
12091
|
+
* Adds the date slot and popover content, the range position, and the blackout label.
|
|
12093
12092
|
* @private
|
|
12094
|
-
* @returns {String} The aria-label string.
|
|
12093
|
+
* @returns {String} The `aria-label` text, or an empty string when the cell has no date.
|
|
12095
12094
|
*/
|
|
12096
12095
|
getAriaLabel() {
|
|
12097
12096
|
if (!this.day || this.day.date === undefined) return '';
|
|
@@ -12263,10 +12262,10 @@ class AuroCalendarCell extends LitElement {
|
|
|
12263
12262
|
}
|
|
12264
12263
|
|
|
12265
12264
|
/**
|
|
12266
|
-
*
|
|
12265
|
+
* Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
|
|
12267
12266
|
* @private
|
|
12268
|
-
* @param {Number} date - The date
|
|
12269
|
-
* @returns {String} The
|
|
12267
|
+
* @param {Number} date - The date, as a Unix timestamp in seconds.
|
|
12268
|
+
* @returns {String} The formatted date, or an empty string when `date` is undefined.
|
|
12270
12269
|
*/
|
|
12271
12270
|
getTitle(date) {
|
|
12272
12271
|
if (date === undefined) {
|
|
@@ -12313,7 +12312,7 @@ class AuroCalendarCell extends LitElement {
|
|
|
12313
12312
|
}
|
|
12314
12313
|
|
|
12315
12314
|
/**
|
|
12316
|
-
*
|
|
12315
|
+
* 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`.
|
|
12317
12316
|
* @private
|
|
12318
12317
|
* @returns {void}
|
|
12319
12318
|
*/
|
|
@@ -12475,8 +12474,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
12475
12474
|
}
|
|
12476
12475
|
|
|
12477
12476
|
/**
|
|
12478
|
-
* Sets
|
|
12479
|
-
* and blackout
|
|
12477
|
+
* Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
|
|
12478
|
+
* whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
|
|
12480
12479
|
* @private
|
|
12481
12480
|
* @returns {void}
|
|
12482
12481
|
*/
|
|
@@ -12718,8 +12717,8 @@ const getMonthNamesFromLocale = (locale) => {
|
|
|
12718
12717
|
* Gets the localized names of the days of the week, starting from Sunday, in the given style.
|
|
12719
12718
|
* Uses UTC dates to avoid DST-related day drift across timezones.
|
|
12720
12719
|
* @private
|
|
12721
|
-
* @param {String} locale - The BCP 47 language tag for localization, such as
|
|
12722
|
-
* @param {String} weekday - The style of the weekday name:
|
|
12720
|
+
* @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
|
|
12721
|
+
* @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
|
|
12723
12722
|
* @returns {Array} An array of seven localized weekday names, starting from Sunday.
|
|
12724
12723
|
*/
|
|
12725
12724
|
const getWeekdayNames = (locale, weekday) => {
|
|
@@ -12852,10 +12851,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12852
12851
|
}
|
|
12853
12852
|
|
|
12854
12853
|
/**
|
|
12855
|
-
* Renders a day-of-week column header that shows the
|
|
12854
|
+
* 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`.
|
|
12856
12855
|
* @private
|
|
12857
|
-
* @param {String} dayOfWeek - The
|
|
12858
|
-
* @param {Number} index - The index in
|
|
12856
|
+
* @param {String} dayOfWeek - The narrow day name, such as "S".
|
|
12857
|
+
* @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
|
|
12859
12858
|
* @returns {Object} The header HTML.
|
|
12860
12859
|
*/
|
|
12861
12860
|
renderDayOfWeek(dayOfWeek, index) {
|
|
@@ -12878,9 +12877,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12878
12877
|
}
|
|
12879
12878
|
|
|
12880
12879
|
/**
|
|
12881
|
-
*
|
|
12882
|
-
*
|
|
12883
|
-
* the
|
|
12880
|
+
* Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
|
|
12881
|
+
* instead of setting the base class's reactive `hoveredDate`, so the calendar can update
|
|
12882
|
+
* the range preview without re-rendering.
|
|
12884
12883
|
* @private
|
|
12885
12884
|
* @param {CustomEvent} event - The date-is-hovered event from a cell.
|
|
12886
12885
|
* @returns {void}
|
|
@@ -12892,8 +12891,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12892
12891
|
}
|
|
12893
12892
|
|
|
12894
12893
|
/**
|
|
12895
|
-
*
|
|
12896
|
-
* so the
|
|
12894
|
+
* Called when the pointer leaves the month's date grid. Fires a bubbling
|
|
12895
|
+
* `calendar-month-mouseleave` event so the calendar can clear the range preview.
|
|
12897
12896
|
* @private
|
|
12898
12897
|
* @returns {void}
|
|
12899
12898
|
*/
|
|
@@ -13270,7 +13269,8 @@ class CalendarUtilities {
|
|
|
13270
13269
|
}
|
|
13271
13270
|
|
|
13272
13271
|
/**
|
|
13273
|
-
*
|
|
13272
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
13273
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
13274
13274
|
* @private
|
|
13275
13275
|
* @returns {void}
|
|
13276
13276
|
*/
|
|
@@ -13346,7 +13346,8 @@ class CalendarUtilities {
|
|
|
13346
13346
|
}
|
|
13347
13347
|
|
|
13348
13348
|
/**
|
|
13349
|
-
*
|
|
13349
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
13350
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
13350
13351
|
* @param {Object} elem - The auro-calendar element.
|
|
13351
13352
|
* @private
|
|
13352
13353
|
* @returns {void}
|
|
@@ -13757,7 +13758,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13757
13758
|
}
|
|
13758
13759
|
|
|
13759
13760
|
/**
|
|
13760
|
-
* Called
|
|
13761
|
+
* 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.
|
|
13761
13762
|
* @param {Event} event - The `touchmove` event.
|
|
13762
13763
|
* @returns {void}
|
|
13763
13764
|
*/
|
|
@@ -13853,7 +13854,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13853
13854
|
}
|
|
13854
13855
|
}
|
|
13855
13856
|
|
|
13856
|
-
var formkitVersion$2 = '
|
|
13857
|
+
var formkitVersion$2 = '202611090134';
|
|
13857
13858
|
|
|
13858
13859
|
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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let h$1 = 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$1=css`: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}
|
|
13859
13860
|
`,u$4=css`.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}}
|
|
@@ -14403,9 +14404,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14403
14404
|
}
|
|
14404
14405
|
|
|
14405
14406
|
/**
|
|
14406
|
-
* Renders
|
|
14407
|
+
* Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
|
|
14408
|
+
* Renders nothing until `visible` is set.
|
|
14407
14409
|
* @private
|
|
14408
|
-
* @returns {Object} The
|
|
14410
|
+
* @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
|
|
14409
14411
|
*/
|
|
14410
14412
|
renderAllCalendars() {
|
|
14411
14413
|
let renderedHtml = undefined;
|
|
@@ -14619,7 +14621,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14619
14621
|
}
|
|
14620
14622
|
|
|
14621
14623
|
/**
|
|
14622
|
-
* Shows the
|
|
14624
|
+
* Called when focus moves into the calendar grid. Shows the focus ring on the active cell
|
|
14625
|
+
* when the grid itself gets focus, not a cell inside it.
|
|
14623
14626
|
* @private
|
|
14624
14627
|
* @param {FocusEvent} [event] - The focusin event.
|
|
14625
14628
|
* @returns {void}
|
|
@@ -14648,7 +14651,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14648
14651
|
}
|
|
14649
14652
|
|
|
14650
14653
|
/**
|
|
14651
|
-
*
|
|
14654
|
+
* Called when the calendar grid or an element in it loses focus. Removes the focus ring from
|
|
14655
|
+
* every cell, and clears the range preview while the range doesn't have both dates.
|
|
14652
14656
|
* @private
|
|
14653
14657
|
* @returns {void}
|
|
14654
14658
|
*/
|
|
@@ -14739,15 +14743,17 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14739
14743
|
/**
|
|
14740
14744
|
* Computes the initial active date from data properties alone, without the DOM.
|
|
14741
14745
|
* Priority:
|
|
14742
|
-
* 1.
|
|
14743
|
-
* 2.
|
|
14744
|
-
* 3.
|
|
14745
|
-
* 4.
|
|
14746
|
-
* 5.
|
|
14747
|
-
*
|
|
14748
|
-
*
|
|
14749
|
-
*
|
|
14750
|
-
*
|
|
14746
|
+
* 1. The selected date (`dateFrom`), if it's within range.
|
|
14747
|
+
* 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
|
|
14748
|
+
* 3. Today's date, if it's enabled (in range and not a blackout date).
|
|
14749
|
+
* 4. The first enabled date in the visible months, or else their first in-range date.
|
|
14750
|
+
* 5. The first enabled date after today, scanning day by day for up to a year.
|
|
14751
|
+
* 6. The first enabled date before today, scanning day by day for up to a year.
|
|
14752
|
+
* 7. The first enabled date in a finite [min, max] range.
|
|
14753
|
+
* 7b. The first enabled date scanning forward from a finite min (unbounded max).
|
|
14754
|
+
* 7c. The first enabled date scanning backward from a finite max (unbounded min).
|
|
14755
|
+
* 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.
|
|
14756
|
+
* 9. Undefined: no valid target.
|
|
14751
14757
|
*
|
|
14752
14758
|
* @private
|
|
14753
14759
|
* @param {Object} [options] - The optional settings.
|
|
@@ -14995,9 +15001,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14995
15001
|
}
|
|
14996
15002
|
|
|
14997
15003
|
/**
|
|
14998
|
-
*
|
|
14999
|
-
*
|
|
15000
|
-
*
|
|
15004
|
+
* Called when a key is pressed while the calendar grid has focus. The arrow keys move the
|
|
15005
|
+
* active cell, into another month when needed, and Enter or Space selects the active date
|
|
15006
|
+
* unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
|
|
15001
15007
|
* @private
|
|
15002
15008
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
15003
15009
|
* @returns {void}
|
|
@@ -15129,7 +15135,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15129
15135
|
}
|
|
15130
15136
|
|
|
15131
15137
|
/**
|
|
15132
|
-
*
|
|
15138
|
+
* Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
|
|
15139
|
+
* across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
|
|
15140
|
+
* currently fires this event.
|
|
15133
15141
|
* @private
|
|
15134
15142
|
* @param {CustomEvent} event - The boundary event with direction and source date info.
|
|
15135
15143
|
* @returns {void}
|
|
@@ -15270,7 +15278,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15270
15278
|
}
|
|
15271
15279
|
|
|
15272
15280
|
/**
|
|
15273
|
-
*
|
|
15281
|
+
* Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
|
|
15282
|
+
* the active cell without moving focus to the grid.
|
|
15274
15283
|
* @private
|
|
15275
15284
|
* @param {CustomEvent} event - The activation event with target date.
|
|
15276
15285
|
* @returns {void}
|
|
@@ -15288,9 +15297,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15288
15297
|
}
|
|
15289
15298
|
|
|
15290
15299
|
/**
|
|
15291
|
-
*
|
|
15292
|
-
*
|
|
15293
|
-
* the imperative range preview if applicable.
|
|
15300
|
+
* Called when a cell's button gets focus, and after the arrow keys move the active cell.
|
|
15301
|
+
* Announces the date to screen readers through the live region and updates the range preview.
|
|
15294
15302
|
* @private
|
|
15295
15303
|
* @param {CustomEvent} event - The calendar-cell-focused event.
|
|
15296
15304
|
* @returns {void}
|
|
@@ -15472,7 +15480,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15472
15480
|
*
|
|
15473
15481
|
* The cell's `applyCommittedRangeClasses` reuses the same
|
|
15474
15482
|
* `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
|
|
15475
|
-
* uses, so
|
|
15483
|
+
* uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
|
|
15476
15484
|
* normalize their inputs (midnight-truncation, string→int) internally.
|
|
15477
15485
|
* @private
|
|
15478
15486
|
* @returns {void}
|
|
@@ -15508,8 +15516,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15508
15516
|
}
|
|
15509
15517
|
|
|
15510
15518
|
/**
|
|
15511
|
-
*
|
|
15512
|
-
*
|
|
15519
|
+
* Called when a month fires `hovered-date-changed`. Updates the range preview directly
|
|
15520
|
+
* instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
|
|
15513
15521
|
* @private
|
|
15514
15522
|
* @param {CustomEvent} event - The hovered-date-changed event from a month.
|
|
15515
15523
|
* @returns {void}
|
|
@@ -15525,7 +15533,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15525
15533
|
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
15526
15534
|
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
15527
15535
|
* ancestor by whatever delta still separates the cell from that
|
|
15528
|
-
* ancestor's viewport. Native `scrollIntoView`
|
|
15536
|
+
* ancestor's viewport. Native `scrollIntoView` isn't used because the
|
|
15529
15537
|
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
15530
15538
|
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15531
15539
|
* scrolls one of them on its own, leaving the cell short of the
|
|
@@ -15535,7 +15543,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15535
15543
|
* value) so each `scrollBy` resolves synchronously and the next
|
|
15536
15544
|
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
15537
15545
|
* accurately. This also satisfies `prefers-reduced-motion` users: the
|
|
15538
|
-
* scroll containers
|
|
15546
|
+
* scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
|
|
15539
15547
|
* is effectively instant.
|
|
15540
15548
|
*
|
|
15541
15549
|
* The active cell is looked up from the cache populated by
|
|
@@ -15750,16 +15758,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15750
15758
|
}
|
|
15751
15759
|
|
|
15752
15760
|
/**
|
|
15753
|
-
*
|
|
15754
|
-
*
|
|
15755
|
-
*
|
|
15756
|
-
*
|
|
15757
|
-
*
|
|
15758
|
-
* keyboard navigation, so the announcements were silently dropped.
|
|
15761
|
+
* Announces a date to screen readers after a 150 ms pause, so only the
|
|
15762
|
+
* last cell reached with the arrow keys is announced.
|
|
15763
|
+
* Uses the assertive live region, because VoiceOver waits for the page to
|
|
15764
|
+
* be idle before it reads a polite one, which never happens during
|
|
15765
|
+
* arrow-key navigation, so polite announcements were dropped.
|
|
15759
15766
|
*
|
|
15760
15767
|
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
15761
15768
|
* prefers `polite` for status messages. See the "Documented
|
|
15762
|
-
*
|
|
15769
|
+
* deviation" section in `components/datepicker/docs/pages/accessibility.md`.
|
|
15763
15770
|
* @private
|
|
15764
15771
|
* @param {String} dateStr - The localized date string to announce.
|
|
15765
15772
|
* @returns {void}
|
|
@@ -19977,7 +19984,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19977
19984
|
}
|
|
19978
19985
|
};
|
|
19979
19986
|
|
|
19980
|
-
var formkitVersion$1 = '
|
|
19987
|
+
var formkitVersion$1 = '202611090134';
|
|
19981
19988
|
|
|
19982
19989
|
/**
|
|
19983
19990
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -20765,6 +20772,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20765
20772
|
/**
|
|
20766
20773
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
20767
20774
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
20775
|
+
* @default 0
|
|
20768
20776
|
* @category a11y
|
|
20769
20777
|
*/
|
|
20770
20778
|
tabIndex: {
|
|
@@ -32194,7 +32202,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
32194
32202
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
32195
32203
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
32196
32204
|
/**
|
|
32197
|
-
*
|
|
32205
|
+
* Gets the options Lit uses to create the shadow root.
|
|
32198
32206
|
* @internal
|
|
32199
32207
|
*/
|
|
32200
32208
|
static get shadowRootOptions() {
|
|
@@ -34165,7 +34173,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
34165
34173
|
}
|
|
34166
34174
|
};
|
|
34167
34175
|
|
|
34168
|
-
var formkitVersion = '
|
|
34176
|
+
var formkitVersion = '202611090134';
|
|
34169
34177
|
|
|
34170
34178
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34171
34179
|
// See LICENSE in the project root for license information.
|
|
@@ -34624,7 +34632,7 @@ class AuroInput extends BaseInput {
|
|
|
34624
34632
|
|
|
34625
34633
|
/**
|
|
34626
34634
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
34627
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
34635
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
34628
34636
|
* @private
|
|
34629
34637
|
* @returns {string}
|
|
34630
34638
|
*/
|
|
@@ -36546,7 +36554,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36546
36554
|
},
|
|
36547
36555
|
|
|
36548
36556
|
/**
|
|
36549
|
-
*
|
|
36557
|
+
* Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
|
|
36550
36558
|
* @private
|
|
36551
36559
|
*/
|
|
36552
36560
|
touched: {
|
|
@@ -36702,7 +36710,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36702
36710
|
}
|
|
36703
36711
|
|
|
36704
36712
|
/**
|
|
36705
|
-
*
|
|
36713
|
+
* Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
|
|
36706
36714
|
* @private
|
|
36707
36715
|
* @returns {void}
|
|
36708
36716
|
*/
|
|
@@ -37495,7 +37503,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37495
37503
|
* Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
|
|
37496
37504
|
* spans every datepicker instance on the page; lives on the class (not
|
|
37497
37505
|
* at module scope) so it stays an encapsulated implementation detail of
|
|
37498
|
-
* this component and
|
|
37506
|
+
* this component and doesn't interfere with WCA's class-JSDoc
|
|
37499
37507
|
* attachment.
|
|
37500
37508
|
* @private
|
|
37501
37509
|
*/
|
|
@@ -37503,7 +37511,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37503
37511
|
|
|
37504
37512
|
/**
|
|
37505
37513
|
* Logs a one-time `console.debug` when an unsupported locale falls back to
|
|
37506
|
-
* en-US
|
|
37514
|
+
* `en-US`. Deduped by the offending tag so noisy re-renders that resurface
|
|
37507
37515
|
* the same bad value stay quiet, but each new bad value still signals so
|
|
37508
37516
|
* consumers can spot the typo or missing tag.
|
|
37509
37517
|
* @private
|
|
@@ -37801,7 +37809,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37801
37809
|
}
|
|
37802
37810
|
|
|
37803
37811
|
/**
|
|
37804
|
-
*
|
|
37812
|
+
* Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
|
|
37813
|
+
* Copies the slot's content into the calendar.
|
|
37805
37814
|
*
|
|
37806
37815
|
* @private
|
|
37807
37816
|
* @method handleSlotToSlot
|
|
@@ -37814,7 +37823,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37814
37823
|
}
|
|
37815
37824
|
|
|
37816
37825
|
/**
|
|
37817
|
-
*
|
|
37826
|
+
* Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
|
|
37827
|
+
* 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.
|
|
37818
37828
|
* @param {PointerEvent} event - The pointer event object.
|
|
37819
37829
|
* @private
|
|
37820
37830
|
* @returns {void}
|
|
@@ -38184,7 +38194,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
38184
38194
|
// ------------------------------------
|
|
38185
38195
|
|
|
38186
38196
|
/**
|
|
38187
|
-
*
|
|
38197
|
+
* Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
|
|
38188
38198
|
* @private
|
|
38189
38199
|
* @param {MouseEvent} event - The mouse event from the clear button click.
|
|
38190
38200
|
* @returns {void}
|
|
@@ -25,7 +25,7 @@ export class AuroDatepickerUtilities {
|
|
|
25
25
|
dom: Document | undefined;
|
|
26
26
|
svg: ChildNode | null | undefined;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Checks whether two dates are the same moment in time.
|
|
29
29
|
* @private
|
|
30
30
|
* @param {Object} date1 - The first date to compare.
|
|
31
31
|
* @param {Object} date2 - The second date to compare.
|
|
@@ -11,7 +11,8 @@ export class CalendarUtilities {
|
|
|
11
11
|
*/
|
|
12
12
|
scrollMonthIntoView(elem: Object, date: string): void;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
15
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
15
16
|
* @private
|
|
16
17
|
* @returns {void}
|
|
17
18
|
*/
|
|
@@ -23,7 +24,8 @@ export class CalendarUtilities {
|
|
|
23
24
|
*/
|
|
24
25
|
assessNavigationButtonVisibility(elem: Object): void;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
28
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
27
29
|
* @param {Object} elem - The auro-calendar element.
|
|
28
30
|
* @private
|
|
29
31
|
* @returns {void}
|
|
@@ -5,8 +5,8 @@ export class UtilitiesCalendarRender {
|
|
|
5
5
|
util: AuroDatepickerUtilities;
|
|
6
6
|
/**
|
|
7
7
|
* Sets `centralDate` to the first day of the date's month, when the date is valid.
|
|
8
|
-
* @param {Object} elem - The element to set
|
|
9
|
-
* @param {
|
|
8
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
9
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
10
10
|
* @private
|
|
11
11
|
*/
|
|
12
12
|
private updateCentralDate;
|
|
@@ -41,12 +41,12 @@ export class UtilitiesCalendarRender {
|
|
|
41
41
|
*/
|
|
42
42
|
private setFirstRenderableMonthDate;
|
|
43
43
|
/**
|
|
44
|
-
* Renders
|
|
44
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
45
45
|
* @private
|
|
46
46
|
* @param {Object} elem - The auro-calendar element.
|
|
47
47
|
* @param {Number} month - The month the calendar displays.
|
|
48
48
|
* @param {Number} year - The year the calendar displays.
|
|
49
|
-
* @returns {Object} The auro-calendar-month
|
|
49
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
50
50
|
*/
|
|
51
51
|
private renderCalendar;
|
|
52
52
|
}
|