@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.13 → 0.0.0-pr1628.14
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/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 +39 -38
- package/components/combobox/demo/css-only.md +2 -2
- package/components/combobox/demo/customize.md +50 -2
- package/components/combobox/demo/customize.min.js +13 -4
- package/components/combobox/demo/design.md +2 -0
- package/components/combobox/demo/getting-started.md +9 -7
- package/components/combobox/demo/getting-started.min.js +13 -4
- package/components/combobox/demo/index.md +4 -0
- package/components/combobox/demo/index.min.js +13 -4
- package/components/combobox/dist/auro-combobox.d.ts +10 -1
- package/components/combobox/dist/index.js +13 -4
- package/components/combobox/dist/registered.js +13 -4
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/getting-started.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/accessibility.md +3 -3
- package/components/datepicker/demo/api.md +7 -8
- package/components/datepicker/demo/css-only.md +1 -1
- package/components/datepicker/demo/customize.md +2 -2
- package/components/datepicker/demo/customize.min.js +24 -24
- package/components/datepicker/demo/getting-started.md +6 -3
- package/components/datepicker/demo/getting-started.min.js +24 -24
- package/components/datepicker/demo/index.min.js +24 -24
- package/components/datepicker/demo/voiceover.md +2 -2
- package/components/datepicker/dist/auro-calendar-cell.d.ts +3 -2
- package/components/datepicker/dist/auro-calendar-month.d.ts +2 -1
- package/components/datepicker/dist/auro-calendar.d.ts +8 -7
- package/components/datepicker/dist/auro-datepicker.d.ts +6 -9
- package/components/datepicker/dist/index.js +24 -24
- package/components/datepicker/dist/registered.js +24 -24
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +1 -1
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +2 -2
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +44 -35
- package/components/form/demo/getting-started.min.js +44 -35
- package/components/form/demo/index.min.js +44 -35
- package/components/form/demo/registerDemoDeps.min.js +44 -35
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +26 -2207
- package/package.json +1 -1
|
@@ -10661,7 +10661,7 @@ class AuroDatepickerUtilities {
|
|
|
10661
10661
|
* Creates an SVG element from an icon's markup.
|
|
10662
10662
|
* @private
|
|
10663
10663
|
* @param {Object} icon - The icon object containing the SVG.
|
|
10664
|
-
* @returns {Object}
|
|
10664
|
+
* @returns {Object} The SVG element.
|
|
10665
10665
|
*/
|
|
10666
10666
|
generateIconHtml(icon) {
|
|
10667
10667
|
this.dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
@@ -10724,7 +10724,7 @@ class UtilitiesCalendarRender {
|
|
|
10724
10724
|
* Determines how many months to render based on the defined calendar range.
|
|
10725
10725
|
* @param {Object} elem - The auro-calendar element.
|
|
10726
10726
|
* @private
|
|
10727
|
-
* @returns {Number} The number of months from calendarStartDate through calendarEndDate.
|
|
10727
|
+
* @returns {Number|undefined} The number of months from `calendarStartDate` through `calendarEndDate`, or undefined when either isn't set.
|
|
10728
10728
|
*/
|
|
10729
10729
|
determineDefinedCalendarRange(elem) {
|
|
10730
10730
|
if (elem.getAttribute('calendarStartDate') && elem.getAttribute('calendarEndDate')) {
|
|
@@ -11762,6 +11762,7 @@ function isBlackoutTimestamp(dateTs, disabledDays, blackoutDates) {
|
|
|
11762
11762
|
* @event date-is-hovered - Notifies that the pointer moved over this cell's date.
|
|
11763
11763
|
* @event calendar-cell-focused - Notifies that this cell's button has received focus.
|
|
11764
11764
|
* @csspart dateSlot - The container under the day number that holds the date's `date_YYYY_MM_DD` slot content, shown only when that slot has content.
|
|
11765
|
+
* @internal
|
|
11765
11766
|
*/
|
|
11766
11767
|
class AuroCalendarCell extends LitElement {
|
|
11767
11768
|
constructor() {
|
|
@@ -12207,12 +12208,12 @@ class AuroCalendarCell extends LitElement {
|
|
|
12207
12208
|
}
|
|
12208
12209
|
|
|
12209
12210
|
/**
|
|
12210
|
-
* Checks whether the cell's date is between dateFrom and dateTo
|
|
12211
|
+
* Checks whether the cell's date is between `dateFrom` and `dateTo`.
|
|
12211
12212
|
* @private
|
|
12212
12213
|
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12213
12214
|
* @param {Number} dateFrom - The start date, as a Unix timestamp in seconds.
|
|
12214
12215
|
* @param {Number} dateTo - The end date, as a Unix timestamp in seconds.
|
|
12215
|
-
* @returns {Boolean} True if the datepicker is a range and the cell's date is after dateFrom and before dateTo
|
|
12216
|
+
* @returns {Boolean} True if the datepicker is a range and the cell's date is after `dateFrom` and, when `dateTo` is set, before `dateTo`; false otherwise.
|
|
12216
12217
|
*/
|
|
12217
12218
|
isInRange(day, dateFrom, dateTo) {
|
|
12218
12219
|
|
|
@@ -12744,6 +12745,7 @@ const getWeekdayNames = (locale, weekday) => {
|
|
|
12744
12745
|
* One month of the datepicker's calendar: a localized heading and a grid of day cells people can select.
|
|
12745
12746
|
* @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
|
|
12746
12747
|
* @event calendar-month-mouseleave - Notifies that the pointer left the month's date grid, so the calendar can clear the range preview.
|
|
12748
|
+
* @internal
|
|
12747
12749
|
*/
|
|
12748
12750
|
class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
12749
12751
|
static get styles() {
|
|
@@ -12869,7 +12871,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12869
12871
|
|
|
12870
12872
|
/**
|
|
12871
12873
|
* Gets the cells in this month that keyboard users can reach: enabled and blackout dates, but not dates before the earliest or after the latest date people can choose.
|
|
12872
|
-
* @returns {Array} The auro-formkit-calendar-cell elements.
|
|
12874
|
+
* @returns {Array} The `auro-formkit-calendar-cell` elements.
|
|
12873
12875
|
*/
|
|
12874
12876
|
getFocusableCells() {
|
|
12875
12877
|
const cells = Array.from(this.shadowRoot.querySelectorAll('auro-formkit-calendar-cell'));
|
|
@@ -13864,7 +13866,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13864
13866
|
}
|
|
13865
13867
|
}
|
|
13866
13868
|
|
|
13867
|
-
var formkitVersion$2 = '
|
|
13869
|
+
var formkitVersion$2 = '202611092100';
|
|
13868
13870
|
|
|
13869
13871
|
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}
|
|
13870
13872
|
`,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}}
|
|
@@ -13958,6 +13960,7 @@ var buttonVersion$1 = '12.3.2';
|
|
|
13958
13960
|
* @event auroCalendar-centralDateChanged - Notifies that the month shown has changed. Doesn't bubble; `event.detail.date` is the new `centralDate`.
|
|
13959
13961
|
* @event auroCalendar-dismissRequest - Notifies that someone selected the close or Done button, so the datepicker closes the dropdown.
|
|
13960
13962
|
* @event narrow-changedProperties - Notifies once, after the calendar first renders, with `event.detail.value` set to `false`. The calendar doesn't currently track whether the screen is narrow, so the event doesn't fire again.
|
|
13963
|
+
* @internal
|
|
13961
13964
|
*/
|
|
13962
13965
|
class AuroCalendar extends RangeDatepicker {
|
|
13963
13966
|
constructor() {
|
|
@@ -14123,7 +14126,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14123
14126
|
return {
|
|
14124
14127
|
|
|
14125
14128
|
/**
|
|
14126
|
-
* Doesn't currently do anything. The calendar
|
|
14129
|
+
* Doesn't currently do anything. The calendar takes its last month from `calendarEndDate` or `maxDate` on `auro-datepicker` instead.
|
|
14127
14130
|
*/
|
|
14128
14131
|
calendarEndMonth: {
|
|
14129
14132
|
type: String,
|
|
@@ -14132,7 +14135,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14132
14135
|
},
|
|
14133
14136
|
|
|
14134
14137
|
/**
|
|
14135
|
-
* Doesn't currently do anything. The calendar
|
|
14138
|
+
* Doesn't currently do anything. The calendar takes its first month from `calendarStartDate` or `minDate` on `auro-datepicker` instead.
|
|
14136
14139
|
*/
|
|
14137
14140
|
calendarStartMonth: {
|
|
14138
14141
|
type: String,
|
|
@@ -14141,7 +14144,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14141
14144
|
},
|
|
14142
14145
|
|
|
14143
14146
|
/**
|
|
14144
|
-
* Sets the date whose month the calendar shows, as an ISO date string such as `2025-04-01`. The fullscreen calendar instead starts at `calendarStartDate`, `minDate
|
|
14147
|
+
* Sets the date whose month the calendar shows, as an ISO date string such as `2025-04-01`. The fullscreen calendar instead starts at `calendarStartDate` on `auro-datepicker`, or else at `minDate` or the current month.
|
|
14145
14148
|
*/
|
|
14146
14149
|
centralDate: {
|
|
14147
14150
|
type: String,
|
|
@@ -14505,7 +14508,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14505
14508
|
}
|
|
14506
14509
|
|
|
14507
14510
|
/**
|
|
14508
|
-
* Scrolls the
|
|
14511
|
+
* Scrolls the calendar to the month of a date when the window is narrower than the calendar's mobile breakpoint. Doesn't currently scroll inside `auro-datepicker`, which doesn't set that breakpoint.
|
|
14509
14512
|
* @param {String} date - The date to scroll into view, such as `2025-04-21`.
|
|
14510
14513
|
* @returns {void}
|
|
14511
14514
|
*/
|
|
@@ -14516,7 +14519,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14516
14519
|
/**
|
|
14517
14520
|
* Gets all rendered month components.
|
|
14518
14521
|
* @private
|
|
14519
|
-
* @returns {Array} The auro-formkit-calendar-month elements.
|
|
14522
|
+
* @returns {Array} The `auro-formkit-calendar-month` elements.
|
|
14520
14523
|
*/
|
|
14521
14524
|
getMonthComponents() {
|
|
14522
14525
|
return Array.from(this.shadowRoot.querySelectorAll('auro-formkit-calendar-month'));
|
|
@@ -14566,7 +14569,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14566
14569
|
/**
|
|
14567
14570
|
* Gets all focusable cells across all rendered months.
|
|
14568
14571
|
* @private
|
|
14569
|
-
* @returns {Array} The auro-formkit-calendar-cell elements.
|
|
14572
|
+
* @returns {Array} The `auro-formkit-calendar-cell` elements.
|
|
14570
14573
|
*/
|
|
14571
14574
|
getAllFocusableCells() {
|
|
14572
14575
|
const months = this.getMonthComponents();
|
|
@@ -15446,7 +15449,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15446
15449
|
* @private
|
|
15447
15450
|
* @param {Object} [options] - The optional settings.
|
|
15448
15451
|
* @param {boolean} [options.force=false] - If true, clears classes even
|
|
15449
|
-
* when both dateFrom and dateTo are set. Month nav handlers use it to
|
|
15452
|
+
* when both `dateFrom` and `dateTo` are set. Month nav handlers use it to
|
|
15450
15453
|
* strip the imperative-only `lastHoveredDate` before the re-render.
|
|
15451
15454
|
* The other two classes (`inRange`, `rangeDepartDate`) are classMap-
|
|
15452
15455
|
* managed and get stripped as a side effect here; because classMap
|
|
@@ -19989,7 +19992,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19989
19992
|
}
|
|
19990
19993
|
};
|
|
19991
19994
|
|
|
19992
|
-
var formkitVersion$1 = '
|
|
19995
|
+
var formkitVersion$1 = '202611092100';
|
|
19993
19996
|
|
|
19994
19997
|
/**
|
|
19995
19998
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -34166,7 +34169,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
34166
34169
|
}
|
|
34167
34170
|
};
|
|
34168
34171
|
|
|
34169
|
-
var formkitVersion = '
|
|
34172
|
+
var formkitVersion = '202611092100';
|
|
34170
34173
|
|
|
34171
34174
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34172
34175
|
// See LICENSE in the project root for license information.
|
|
@@ -36470,7 +36473,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36470
36473
|
|
|
36471
36474
|
/**
|
|
36472
36475
|
* Makes a date required. When it's empty, validation fails with `valueMissing`, and in a range, both dates are required. When not set, each input's label shows "(optional)".
|
|
36473
|
-
* @relevantWhen !noValidate
|
|
36474
36476
|
* @category behavior
|
|
36475
36477
|
*/
|
|
36476
36478
|
required: {
|
|
@@ -36480,7 +36482,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36480
36482
|
|
|
36481
36483
|
/**
|
|
36482
36484
|
* Sets one error message for every kind of validation error except a blackout date, in place of the built-in messages and the other `setCustomValidity` messages. For a blackout date, use `setCustomValidityCustomError`.
|
|
36483
|
-
* @relevantWhen !noValidate
|
|
36484
36485
|
* @category behavior
|
|
36485
36486
|
*/
|
|
36486
36487
|
setCustomValidity: {
|
|
@@ -36490,7 +36491,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36490
36491
|
|
|
36491
36492
|
/**
|
|
36492
36493
|
* Sets the error message shown when `validity` is `customError`, in place of the `error` text. It also replaces the "Selected date is unavailable" message shown when someone types a blackout date.
|
|
36493
|
-
* @relevantWhen !noValidate
|
|
36494
36494
|
* @category behavior
|
|
36495
36495
|
*/
|
|
36496
36496
|
setCustomValidityCustomError: {
|
|
@@ -36500,7 +36500,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36500
36500
|
|
|
36501
36501
|
/**
|
|
36502
36502
|
* Sets the error message shown when the date is later than `maxDate` (`rangeOverflow`).
|
|
36503
|
-
* @relevantWhen !noValidate
|
|
36504
36503
|
* @category behavior
|
|
36505
36504
|
*/
|
|
36506
36505
|
setCustomValidityRangeOverflow: {
|
|
@@ -36510,7 +36509,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36510
36509
|
|
|
36511
36510
|
/**
|
|
36512
36511
|
* Sets the error message shown when the date is earlier than `minDate` (`rangeUnderflow`).
|
|
36513
|
-
* @relevantWhen !noValidate
|
|
36514
36512
|
* @category behavior
|
|
36515
36513
|
*/
|
|
36516
36514
|
setCustomValidityRangeUnderflow: {
|
|
@@ -36520,7 +36518,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36520
36518
|
|
|
36521
36519
|
/**
|
|
36522
36520
|
* Sets the error message shown when `required` is set and no date is chosen (`valueMissing`).
|
|
36523
|
-
* @relevantWhen !noValidate
|
|
36524
36521
|
* @category behavior
|
|
36525
36522
|
*/
|
|
36526
36523
|
setCustomValidityValueMissing: {
|
|
@@ -36738,9 +36735,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
36738
36735
|
}
|
|
36739
36736
|
|
|
36740
36737
|
/**
|
|
36738
|
+
* Creates a random string of lowercase letters and digits, used as each date input's `id`.
|
|
36741
36739
|
* @private
|
|
36742
|
-
* @param {Number} length - The number of characters in the returned
|
|
36743
|
-
* @returns {string}
|
|
36740
|
+
* @param {Number} length - The maximum number of characters in the returned string. The string is often shorter.
|
|
36741
|
+
* @returns {string} The random string.
|
|
36744
36742
|
*/
|
|
36745
36743
|
generateRandomString(length) {
|
|
36746
36744
|
return Math.random().toString(36).substring(2, length + 2);
|
|
@@ -37397,6 +37395,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37397
37395
|
|
|
37398
37396
|
/**
|
|
37399
37397
|
* Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date.
|
|
37398
|
+
* @internal
|
|
37399
|
+
* @returns {void}
|
|
37400
37400
|
*/
|
|
37401
37401
|
resetInputs() {
|
|
37402
37402
|
this.inputList.forEach((input) => {
|
|
@@ -37414,7 +37414,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37414
37414
|
}
|
|
37415
37415
|
|
|
37416
37416
|
/**
|
|
37417
|
-
* Clears the chosen dates
|
|
37417
|
+
* Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date.
|
|
37418
37418
|
* @returns {void}
|
|
37419
37419
|
*/
|
|
37420
37420
|
clear() {
|
|
@@ -10661,7 +10661,7 @@ class AuroDatepickerUtilities {
|
|
|
10661
10661
|
* Creates an SVG element from an icon's markup.
|
|
10662
10662
|
* @private
|
|
10663
10663
|
* @param {Object} icon - The icon object containing the SVG.
|
|
10664
|
-
* @returns {Object}
|
|
10664
|
+
* @returns {Object} The SVG element.
|
|
10665
10665
|
*/
|
|
10666
10666
|
generateIconHtml(icon) {
|
|
10667
10667
|
this.dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
@@ -10724,7 +10724,7 @@ class UtilitiesCalendarRender {
|
|
|
10724
10724
|
* Determines how many months to render based on the defined calendar range.
|
|
10725
10725
|
* @param {Object} elem - The auro-calendar element.
|
|
10726
10726
|
* @private
|
|
10727
|
-
* @returns {Number} The number of months from calendarStartDate through calendarEndDate.
|
|
10727
|
+
* @returns {Number|undefined} The number of months from `calendarStartDate` through `calendarEndDate`, or undefined when either isn't set.
|
|
10728
10728
|
*/
|
|
10729
10729
|
determineDefinedCalendarRange(elem) {
|
|
10730
10730
|
if (elem.getAttribute('calendarStartDate') && elem.getAttribute('calendarEndDate')) {
|
|
@@ -11762,6 +11762,7 @@ function isBlackoutTimestamp(dateTs, disabledDays, blackoutDates) {
|
|
|
11762
11762
|
* @event date-is-hovered - Notifies that the pointer moved over this cell's date.
|
|
11763
11763
|
* @event calendar-cell-focused - Notifies that this cell's button has received focus.
|
|
11764
11764
|
* @csspart dateSlot - The container under the day number that holds the date's `date_YYYY_MM_DD` slot content, shown only when that slot has content.
|
|
11765
|
+
* @internal
|
|
11765
11766
|
*/
|
|
11766
11767
|
class AuroCalendarCell extends LitElement {
|
|
11767
11768
|
constructor() {
|
|
@@ -12207,12 +12208,12 @@ class AuroCalendarCell extends LitElement {
|
|
|
12207
12208
|
}
|
|
12208
12209
|
|
|
12209
12210
|
/**
|
|
12210
|
-
* Checks whether the cell's date is between dateFrom and dateTo
|
|
12211
|
+
* Checks whether the cell's date is between `dateFrom` and `dateTo`.
|
|
12211
12212
|
* @private
|
|
12212
12213
|
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12213
12214
|
* @param {Number} dateFrom - The start date, as a Unix timestamp in seconds.
|
|
12214
12215
|
* @param {Number} dateTo - The end date, as a Unix timestamp in seconds.
|
|
12215
|
-
* @returns {Boolean} True if the datepicker is a range and the cell's date is after dateFrom and before dateTo
|
|
12216
|
+
* @returns {Boolean} True if the datepicker is a range and the cell's date is after `dateFrom` and, when `dateTo` is set, before `dateTo`; false otherwise.
|
|
12216
12217
|
*/
|
|
12217
12218
|
isInRange(day, dateFrom, dateTo) {
|
|
12218
12219
|
|
|
@@ -12744,6 +12745,7 @@ const getWeekdayNames = (locale, weekday) => {
|
|
|
12744
12745
|
* One month of the datepicker's calendar: a localized heading and a grid of day cells people can select.
|
|
12745
12746
|
* @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
|
|
12746
12747
|
* @event calendar-month-mouseleave - Notifies that the pointer left the month's date grid, so the calendar can clear the range preview.
|
|
12748
|
+
* @internal
|
|
12747
12749
|
*/
|
|
12748
12750
|
class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
12749
12751
|
static get styles() {
|
|
@@ -12869,7 +12871,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12869
12871
|
|
|
12870
12872
|
/**
|
|
12871
12873
|
* Gets the cells in this month that keyboard users can reach: enabled and blackout dates, but not dates before the earliest or after the latest date people can choose.
|
|
12872
|
-
* @returns {Array} The auro-formkit-calendar-cell elements.
|
|
12874
|
+
* @returns {Array} The `auro-formkit-calendar-cell` elements.
|
|
12873
12875
|
*/
|
|
12874
12876
|
getFocusableCells() {
|
|
12875
12877
|
const cells = Array.from(this.shadowRoot.querySelectorAll('auro-formkit-calendar-cell'));
|
|
@@ -13864,7 +13866,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13864
13866
|
}
|
|
13865
13867
|
}
|
|
13866
13868
|
|
|
13867
|
-
var formkitVersion$2 = '
|
|
13869
|
+
var formkitVersion$2 = '202611092100';
|
|
13868
13870
|
|
|
13869
13871
|
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}
|
|
13870
13872
|
`,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}}
|
|
@@ -13958,6 +13960,7 @@ var buttonVersion$1 = '12.3.2';
|
|
|
13958
13960
|
* @event auroCalendar-centralDateChanged - Notifies that the month shown has changed. Doesn't bubble; `event.detail.date` is the new `centralDate`.
|
|
13959
13961
|
* @event auroCalendar-dismissRequest - Notifies that someone selected the close or Done button, so the datepicker closes the dropdown.
|
|
13960
13962
|
* @event narrow-changedProperties - Notifies once, after the calendar first renders, with `event.detail.value` set to `false`. The calendar doesn't currently track whether the screen is narrow, so the event doesn't fire again.
|
|
13963
|
+
* @internal
|
|
13961
13964
|
*/
|
|
13962
13965
|
class AuroCalendar extends RangeDatepicker {
|
|
13963
13966
|
constructor() {
|
|
@@ -14123,7 +14126,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14123
14126
|
return {
|
|
14124
14127
|
|
|
14125
14128
|
/**
|
|
14126
|
-
* Doesn't currently do anything. The calendar
|
|
14129
|
+
* Doesn't currently do anything. The calendar takes its last month from `calendarEndDate` or `maxDate` on `auro-datepicker` instead.
|
|
14127
14130
|
*/
|
|
14128
14131
|
calendarEndMonth: {
|
|
14129
14132
|
type: String,
|
|
@@ -14132,7 +14135,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14132
14135
|
},
|
|
14133
14136
|
|
|
14134
14137
|
/**
|
|
14135
|
-
* Doesn't currently do anything. The calendar
|
|
14138
|
+
* Doesn't currently do anything. The calendar takes its first month from `calendarStartDate` or `minDate` on `auro-datepicker` instead.
|
|
14136
14139
|
*/
|
|
14137
14140
|
calendarStartMonth: {
|
|
14138
14141
|
type: String,
|
|
@@ -14141,7 +14144,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14141
14144
|
},
|
|
14142
14145
|
|
|
14143
14146
|
/**
|
|
14144
|
-
* Sets the date whose month the calendar shows, as an ISO date string such as `2025-04-01`. The fullscreen calendar instead starts at `calendarStartDate`, `minDate
|
|
14147
|
+
* Sets the date whose month the calendar shows, as an ISO date string such as `2025-04-01`. The fullscreen calendar instead starts at `calendarStartDate` on `auro-datepicker`, or else at `minDate` or the current month.
|
|
14145
14148
|
*/
|
|
14146
14149
|
centralDate: {
|
|
14147
14150
|
type: String,
|
|
@@ -14505,7 +14508,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14505
14508
|
}
|
|
14506
14509
|
|
|
14507
14510
|
/**
|
|
14508
|
-
* Scrolls the
|
|
14511
|
+
* Scrolls the calendar to the month of a date when the window is narrower than the calendar's mobile breakpoint. Doesn't currently scroll inside `auro-datepicker`, which doesn't set that breakpoint.
|
|
14509
14512
|
* @param {String} date - The date to scroll into view, such as `2025-04-21`.
|
|
14510
14513
|
* @returns {void}
|
|
14511
14514
|
*/
|
|
@@ -14516,7 +14519,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14516
14519
|
/**
|
|
14517
14520
|
* Gets all rendered month components.
|
|
14518
14521
|
* @private
|
|
14519
|
-
* @returns {Array} The auro-formkit-calendar-month elements.
|
|
14522
|
+
* @returns {Array} The `auro-formkit-calendar-month` elements.
|
|
14520
14523
|
*/
|
|
14521
14524
|
getMonthComponents() {
|
|
14522
14525
|
return Array.from(this.shadowRoot.querySelectorAll('auro-formkit-calendar-month'));
|
|
@@ -14566,7 +14569,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14566
14569
|
/**
|
|
14567
14570
|
* Gets all focusable cells across all rendered months.
|
|
14568
14571
|
* @private
|
|
14569
|
-
* @returns {Array} The auro-formkit-calendar-cell elements.
|
|
14572
|
+
* @returns {Array} The `auro-formkit-calendar-cell` elements.
|
|
14570
14573
|
*/
|
|
14571
14574
|
getAllFocusableCells() {
|
|
14572
14575
|
const months = this.getMonthComponents();
|
|
@@ -15446,7 +15449,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15446
15449
|
* @private
|
|
15447
15450
|
* @param {Object} [options] - The optional settings.
|
|
15448
15451
|
* @param {boolean} [options.force=false] - If true, clears classes even
|
|
15449
|
-
* when both dateFrom and dateTo are set. Month nav handlers use it to
|
|
15452
|
+
* when both `dateFrom` and `dateTo` are set. Month nav handlers use it to
|
|
15450
15453
|
* strip the imperative-only `lastHoveredDate` before the re-render.
|
|
15451
15454
|
* The other two classes (`inRange`, `rangeDepartDate`) are classMap-
|
|
15452
15455
|
* managed and get stripped as a side effect here; because classMap
|
|
@@ -19989,7 +19992,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19989
19992
|
}
|
|
19990
19993
|
};
|
|
19991
19994
|
|
|
19992
|
-
var formkitVersion$1 = '
|
|
19995
|
+
var formkitVersion$1 = '202611092100';
|
|
19993
19996
|
|
|
19994
19997
|
/**
|
|
19995
19998
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -34166,7 +34169,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
34166
34169
|
}
|
|
34167
34170
|
};
|
|
34168
34171
|
|
|
34169
|
-
var formkitVersion = '
|
|
34172
|
+
var formkitVersion = '202611092100';
|
|
34170
34173
|
|
|
34171
34174
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34172
34175
|
// See LICENSE in the project root for license information.
|
|
@@ -36470,7 +36473,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36470
36473
|
|
|
36471
36474
|
/**
|
|
36472
36475
|
* Makes a date required. When it's empty, validation fails with `valueMissing`, and in a range, both dates are required. When not set, each input's label shows "(optional)".
|
|
36473
|
-
* @relevantWhen !noValidate
|
|
36474
36476
|
* @category behavior
|
|
36475
36477
|
*/
|
|
36476
36478
|
required: {
|
|
@@ -36480,7 +36482,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36480
36482
|
|
|
36481
36483
|
/**
|
|
36482
36484
|
* Sets one error message for every kind of validation error except a blackout date, in place of the built-in messages and the other `setCustomValidity` messages. For a blackout date, use `setCustomValidityCustomError`.
|
|
36483
|
-
* @relevantWhen !noValidate
|
|
36484
36485
|
* @category behavior
|
|
36485
36486
|
*/
|
|
36486
36487
|
setCustomValidity: {
|
|
@@ -36490,7 +36491,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36490
36491
|
|
|
36491
36492
|
/**
|
|
36492
36493
|
* Sets the error message shown when `validity` is `customError`, in place of the `error` text. It also replaces the "Selected date is unavailable" message shown when someone types a blackout date.
|
|
36493
|
-
* @relevantWhen !noValidate
|
|
36494
36494
|
* @category behavior
|
|
36495
36495
|
*/
|
|
36496
36496
|
setCustomValidityCustomError: {
|
|
@@ -36500,7 +36500,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36500
36500
|
|
|
36501
36501
|
/**
|
|
36502
36502
|
* Sets the error message shown when the date is later than `maxDate` (`rangeOverflow`).
|
|
36503
|
-
* @relevantWhen !noValidate
|
|
36504
36503
|
* @category behavior
|
|
36505
36504
|
*/
|
|
36506
36505
|
setCustomValidityRangeOverflow: {
|
|
@@ -36510,7 +36509,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36510
36509
|
|
|
36511
36510
|
/**
|
|
36512
36511
|
* Sets the error message shown when the date is earlier than `minDate` (`rangeUnderflow`).
|
|
36513
|
-
* @relevantWhen !noValidate
|
|
36514
36512
|
* @category behavior
|
|
36515
36513
|
*/
|
|
36516
36514
|
setCustomValidityRangeUnderflow: {
|
|
@@ -36520,7 +36518,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36520
36518
|
|
|
36521
36519
|
/**
|
|
36522
36520
|
* Sets the error message shown when `required` is set and no date is chosen (`valueMissing`).
|
|
36523
|
-
* @relevantWhen !noValidate
|
|
36524
36521
|
* @category behavior
|
|
36525
36522
|
*/
|
|
36526
36523
|
setCustomValidityValueMissing: {
|
|
@@ -36738,9 +36735,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
36738
36735
|
}
|
|
36739
36736
|
|
|
36740
36737
|
/**
|
|
36738
|
+
* Creates a random string of lowercase letters and digits, used as each date input's `id`.
|
|
36741
36739
|
* @private
|
|
36742
|
-
* @param {Number} length - The number of characters in the returned
|
|
36743
|
-
* @returns {string}
|
|
36740
|
+
* @param {Number} length - The maximum number of characters in the returned string. The string is often shorter.
|
|
36741
|
+
* @returns {string} The random string.
|
|
36744
36742
|
*/
|
|
36745
36743
|
generateRandomString(length) {
|
|
36746
36744
|
return Math.random().toString(36).substring(2, length + 2);
|
|
@@ -37397,6 +37395,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37397
37395
|
|
|
37398
37396
|
/**
|
|
37399
37397
|
* Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date.
|
|
37398
|
+
* @internal
|
|
37399
|
+
* @returns {void}
|
|
37400
37400
|
*/
|
|
37401
37401
|
resetInputs() {
|
|
37402
37402
|
this.inputList.forEach((input) => {
|
|
@@ -37414,7 +37414,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37414
37414
|
}
|
|
37415
37415
|
|
|
37416
37416
|
/**
|
|
37417
|
-
* Clears the chosen dates
|
|
37417
|
+
* Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date.
|
|
37418
37418
|
* @returns {void}
|
|
37419
37419
|
*/
|
|
37420
37420
|
clear() {
|
|
@@ -19,7 +19,7 @@ export class AuroDatepickerUtilities {
|
|
|
19
19
|
* Creates an SVG element from an icon's markup.
|
|
20
20
|
* @private
|
|
21
21
|
* @param {Object} icon - The icon object containing the SVG.
|
|
22
|
-
* @returns {Object}
|
|
22
|
+
* @returns {Object} The SVG element.
|
|
23
23
|
*/
|
|
24
24
|
private generateIconHtml;
|
|
25
25
|
dom: Document | undefined;
|
|
@@ -18,7 +18,7 @@ export class UtilitiesCalendarRender {
|
|
|
18
18
|
* Determines how many months to render based on the defined calendar range.
|
|
19
19
|
* @param {Object} elem - The auro-calendar element.
|
|
20
20
|
* @private
|
|
21
|
-
* @returns {Number} The number of months from calendarStartDate through calendarEndDate.
|
|
21
|
+
* @returns {Number|undefined} The number of months from `calendarStartDate` through `calendarEndDate`, or undefined when either isn't set.
|
|
22
22
|
*/
|
|
23
23
|
private determineDefinedCalendarRange;
|
|
24
24
|
/**
|
|
@@ -4107,7 +4107,7 @@ class AuroHelpText extends i {
|
|
|
4107
4107
|
}
|
|
4108
4108
|
}
|
|
4109
4109
|
|
|
4110
|
-
var formkitVersion = '
|
|
4110
|
+
var formkitVersion = '202611092100';
|
|
4111
4111
|
|
|
4112
4112
|
/**
|
|
4113
4113
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4107,7 +4107,7 @@ let AuroHelpText$1 = class AuroHelpText extends i {
|
|
|
4107
4107
|
}
|
|
4108
4108
|
};
|
|
4109
4109
|
|
|
4110
|
-
var formkitVersion$1 = '
|
|
4110
|
+
var formkitVersion$1 = '202611092100';
|
|
4111
4111
|
|
|
4112
4112
|
/**
|
|
4113
4113
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -18291,7 +18291,7 @@ class AuroHelpText extends i {
|
|
|
18291
18291
|
}
|
|
18292
18292
|
}
|
|
18293
18293
|
|
|
18294
|
-
var formkitVersion = '
|
|
18294
|
+
var formkitVersion = '202611092100';
|
|
18295
18295
|
|
|
18296
18296
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18297
18297
|
// See LICENSE in the project root for license information.
|
|
@@ -4134,7 +4134,7 @@ class AuroHelpText extends i {
|
|
|
4134
4134
|
}
|
|
4135
4135
|
}
|
|
4136
4136
|
|
|
4137
|
-
var formkitVersion = '
|
|
4137
|
+
var formkitVersion = '202611092100';
|
|
4138
4138
|
|
|
4139
4139
|
/**
|
|
4140
4140
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4039,7 +4039,7 @@ class AuroHelpText extends LitElement {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
var formkitVersion = '
|
|
4042
|
+
var formkitVersion = '202611092100';
|
|
4043
4043
|
|
|
4044
4044
|
/**
|
|
4045
4045
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4039,7 +4039,7 @@ class AuroHelpText extends LitElement {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
var formkitVersion = '
|
|
4042
|
+
var formkitVersion = '202611092100';
|
|
4043
4043
|
|
|
4044
4044
|
/**
|
|
4045
4045
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|