@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.12 → 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 +14 -17
- 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 +14 -17
- package/components/combobox/demo/index.md +4 -0
- package/components/combobox/demo/index.min.js +14 -17
- package/components/combobox/dist/auro-combobox.d.ts +10 -1
- package/components/combobox/dist/index.js +14 -17
- package/components/combobox/dist/registered.js +14 -17
- package/components/counter/demo/api.md +28 -28
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -11
- package/components/counter/demo/getting-started.md +2 -2
- package/components/counter/demo/getting-started.min.js +12 -11
- package/components/counter/demo/index.min.js +12 -11
- package/components/counter/demo/voiceover.md +2 -2
- package/components/counter/demo/why-counter.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +7 -6
- package/components/counter/dist/auro-counter.d.ts +3 -3
- package/components/counter/dist/index.js +12 -11
- package/components/counter/dist/registered.js +12 -11
- 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 +26 -38
- package/components/datepicker/demo/getting-started.md +6 -3
- package/components/datepicker/demo/getting-started.min.js +26 -38
- package/components/datepicker/demo/index.min.js +26 -38
- 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 +26 -38
- package/components/datepicker/dist/registered.js +26 -38
- 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 +3 -15
- 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 +60 -86
- package/components/form/demo/getting-started.min.js +60 -86
- package/components/form/demo/index.min.js +60 -86
- package/components/form/demo/registerDemoDeps.min.js +60 -86
- package/components/input/demo/api.md +12 -12
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +2 -14
- package/components/input/demo/getting-started.min.js +2 -14
- package/components/input/demo/index.min.js +2 -14
- package/components/input/demo/voiceover.md +1 -1
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/base-input.d.ts +0 -12
- package/components/input/dist/index.js +2 -14
- package/components/input/dist/registered.js +2 -14
- 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/api.md +46 -46
- package/components/select/demo/customize.md +48 -0
- package/components/select/demo/customize.min.js +4 -4
- package/components/select/demo/design.md +6 -0
- package/components/select/demo/getting-started.min.js +4 -4
- package/components/select/demo/index.md +2 -0
- package/components/select/demo/index.min.js +4 -4
- package/components/select/demo/keyboard-behavior.md +1 -1
- package/components/select/demo/voiceover.md +5 -5
- package/components/select/dist/auro-select.d.ts +2 -2
- package/components/select/dist/index.js +4 -4
- package/components/select/dist/registered.js +4 -4
- package/custom-elements.json +233 -2462
- 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`.
|
|
@@ -21645,7 +21648,7 @@ const watchedItems$1 = new Set();
|
|
|
21645
21648
|
/**
|
|
21646
21649
|
* Sets an element's `lang` to the page's language.
|
|
21647
21650
|
* @private
|
|
21648
|
-
* @param {object} item -
|
|
21651
|
+
* @param {object} item - The element to update.
|
|
21649
21652
|
* @param {string} lang - The page's current language.
|
|
21650
21653
|
*/
|
|
21651
21654
|
function setLang$1(item, lang) {
|
|
@@ -32496,7 +32499,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32496
32499
|
/**
|
|
32497
32500
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
32498
32501
|
* use `setCustomValidityForType`.
|
|
32499
|
-
* @relevantWhen !noValidate
|
|
32500
32502
|
* @category behavior
|
|
32501
32503
|
*/
|
|
32502
32504
|
customValidityTypeEmail: {
|
|
@@ -32765,7 +32767,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32765
32767
|
/**
|
|
32766
32768
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
32767
32769
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
32768
|
-
* @relevantWhen !noValidate
|
|
32769
32770
|
* @category behavior
|
|
32770
32771
|
*/
|
|
32771
32772
|
required: {
|
|
@@ -32776,7 +32777,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32776
32777
|
/**
|
|
32777
32778
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
32778
32779
|
* `error` and every other `setCustomValidity*` property.
|
|
32779
|
-
* @relevantWhen !noValidate
|
|
32780
32780
|
* @category behavior
|
|
32781
32781
|
*/
|
|
32782
32782
|
setCustomValidity: {
|
|
@@ -32787,7 +32787,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32787
32787
|
/**
|
|
32788
32788
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
32789
32789
|
* because the input never reports `badInput`.
|
|
32790
|
-
* @relevantWhen !noValidate
|
|
32791
32790
|
* @category behavior
|
|
32792
32791
|
*/
|
|
32793
32792
|
setCustomValidityBadInput: {
|
|
@@ -32797,7 +32796,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32797
32796
|
|
|
32798
32797
|
/**
|
|
32799
32798
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
32800
|
-
* @relevantWhen !noValidate
|
|
32801
32799
|
* @category behavior
|
|
32802
32800
|
*/
|
|
32803
32801
|
setCustomValidityCustomError: {
|
|
@@ -32808,7 +32806,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32808
32806
|
/**
|
|
32809
32807
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
32810
32808
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
32811
|
-
* @relevantWhen !noValidate
|
|
32812
32809
|
* @category behavior
|
|
32813
32810
|
*/
|
|
32814
32811
|
setCustomValidityForType: {
|
|
@@ -32819,7 +32816,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32819
32816
|
/**
|
|
32820
32817
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
32821
32818
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
32822
|
-
* @relevantWhen !noValidate
|
|
32823
32819
|
* @category behavior
|
|
32824
32820
|
*/
|
|
32825
32821
|
setCustomValidityPatternMismatch: {
|
|
@@ -32829,7 +32825,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32829
32825
|
|
|
32830
32826
|
/**
|
|
32831
32827
|
* Sets the error message shown when the value is above `max`.
|
|
32832
|
-
* @relevantWhen !noValidate
|
|
32833
32828
|
* @category behavior
|
|
32834
32829
|
*/
|
|
32835
32830
|
setCustomValidityRangeOverflow: {
|
|
@@ -32839,7 +32834,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32839
32834
|
|
|
32840
32835
|
/**
|
|
32841
32836
|
* Sets the error message shown when the value is below `min`.
|
|
32842
|
-
* @relevantWhen !noValidate
|
|
32843
32837
|
* @category behavior
|
|
32844
32838
|
*/
|
|
32845
32839
|
setCustomValidityRangeUnderflow: {
|
|
@@ -32850,7 +32844,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32850
32844
|
/**
|
|
32851
32845
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
32852
32846
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
32853
|
-
* @relevantWhen !noValidate
|
|
32854
32847
|
* @category behavior
|
|
32855
32848
|
*/
|
|
32856
32849
|
setCustomValidityTooLong: {
|
|
@@ -32861,7 +32854,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32861
32854
|
/**
|
|
32862
32855
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
32863
32856
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
32864
|
-
* @relevantWhen !noValidate
|
|
32865
32857
|
* @category behavior
|
|
32866
32858
|
*/
|
|
32867
32859
|
setCustomValidityTooShort: {
|
|
@@ -32871,7 +32863,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32871
32863
|
|
|
32872
32864
|
/**
|
|
32873
32865
|
* Sets the error message shown when a `required` input is left empty.
|
|
32874
|
-
* @relevantWhen !noValidate
|
|
32875
32866
|
* @category behavior
|
|
32876
32867
|
*/
|
|
32877
32868
|
setCustomValidityValueMissing: {
|
|
@@ -34178,7 +34169,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
34178
34169
|
}
|
|
34179
34170
|
};
|
|
34180
34171
|
|
|
34181
|
-
var formkitVersion = '
|
|
34172
|
+
var formkitVersion = '202611092100';
|
|
34182
34173
|
|
|
34183
34174
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34184
34175
|
// See LICENSE in the project root for license information.
|
|
@@ -35447,7 +35438,7 @@ const watchedItems = new Set();
|
|
|
35447
35438
|
/**
|
|
35448
35439
|
* Sets an element's `lang` to the page's language.
|
|
35449
35440
|
* @private
|
|
35450
|
-
* @param {object} item -
|
|
35441
|
+
* @param {object} item - The element to update.
|
|
35451
35442
|
* @param {string} lang - The page's current language.
|
|
35452
35443
|
*/
|
|
35453
35444
|
function setLang(item, lang) {
|
|
@@ -36482,7 +36473,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36482
36473
|
|
|
36483
36474
|
/**
|
|
36484
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)".
|
|
36485
|
-
* @relevantWhen !noValidate
|
|
36486
36476
|
* @category behavior
|
|
36487
36477
|
*/
|
|
36488
36478
|
required: {
|
|
@@ -36492,7 +36482,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36492
36482
|
|
|
36493
36483
|
/**
|
|
36494
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`.
|
|
36495
|
-
* @relevantWhen !noValidate
|
|
36496
36485
|
* @category behavior
|
|
36497
36486
|
*/
|
|
36498
36487
|
setCustomValidity: {
|
|
@@ -36502,7 +36491,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36502
36491
|
|
|
36503
36492
|
/**
|
|
36504
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.
|
|
36505
|
-
* @relevantWhen !noValidate
|
|
36506
36494
|
* @category behavior
|
|
36507
36495
|
*/
|
|
36508
36496
|
setCustomValidityCustomError: {
|
|
@@ -36512,7 +36500,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36512
36500
|
|
|
36513
36501
|
/**
|
|
36514
36502
|
* Sets the error message shown when the date is later than `maxDate` (`rangeOverflow`).
|
|
36515
|
-
* @relevantWhen !noValidate
|
|
36516
36503
|
* @category behavior
|
|
36517
36504
|
*/
|
|
36518
36505
|
setCustomValidityRangeOverflow: {
|
|
@@ -36522,7 +36509,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36522
36509
|
|
|
36523
36510
|
/**
|
|
36524
36511
|
* Sets the error message shown when the date is earlier than `minDate` (`rangeUnderflow`).
|
|
36525
|
-
* @relevantWhen !noValidate
|
|
36526
36512
|
* @category behavior
|
|
36527
36513
|
*/
|
|
36528
36514
|
setCustomValidityRangeUnderflow: {
|
|
@@ -36532,7 +36518,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
36532
36518
|
|
|
36533
36519
|
/**
|
|
36534
36520
|
* Sets the error message shown when `required` is set and no date is chosen (`valueMissing`).
|
|
36535
|
-
* @relevantWhen !noValidate
|
|
36536
36521
|
* @category behavior
|
|
36537
36522
|
*/
|
|
36538
36523
|
setCustomValidityValueMissing: {
|
|
@@ -36750,9 +36735,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
36750
36735
|
}
|
|
36751
36736
|
|
|
36752
36737
|
/**
|
|
36738
|
+
* Creates a random string of lowercase letters and digits, used as each date input's `id`.
|
|
36753
36739
|
* @private
|
|
36754
|
-
* @param {Number} length - The number of characters in the returned
|
|
36755
|
-
* @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.
|
|
36756
36742
|
*/
|
|
36757
36743
|
generateRandomString(length) {
|
|
36758
36744
|
return Math.random().toString(36).substring(2, length + 2);
|
|
@@ -37409,6 +37395,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37409
37395
|
|
|
37410
37396
|
/**
|
|
37411
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}
|
|
37412
37400
|
*/
|
|
37413
37401
|
resetInputs() {
|
|
37414
37402
|
this.inputList.forEach((input) => {
|
|
@@ -37426,7 +37414,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37426
37414
|
}
|
|
37427
37415
|
|
|
37428
37416
|
/**
|
|
37429
|
-
* 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.
|
|
37430
37418
|
* @returns {void}
|
|
37431
37419
|
*/
|
|
37432
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`.
|
|
@@ -5770,7 +5770,7 @@ const watchedItems = new Set();
|
|
|
5770
5770
|
/**
|
|
5771
5771
|
* Sets an element's `lang` to the page's language.
|
|
5772
5772
|
* @private
|
|
5773
|
-
* @param {object} item -
|
|
5773
|
+
* @param {object} item - The element to update.
|
|
5774
5774
|
* @param {string} lang - The page's current language.
|
|
5775
5775
|
*/
|
|
5776
5776
|
function setLang(item, lang) {
|
|
@@ -16621,7 +16621,6 @@ class BaseInput extends AuroElement {
|
|
|
16621
16621
|
/**
|
|
16622
16622
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
16623
16623
|
* use `setCustomValidityForType`.
|
|
16624
|
-
* @relevantWhen !noValidate
|
|
16625
16624
|
* @category behavior
|
|
16626
16625
|
*/
|
|
16627
16626
|
customValidityTypeEmail: {
|
|
@@ -16890,7 +16889,6 @@ class BaseInput extends AuroElement {
|
|
|
16890
16889
|
/**
|
|
16891
16890
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
16892
16891
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
16893
|
-
* @relevantWhen !noValidate
|
|
16894
16892
|
* @category behavior
|
|
16895
16893
|
*/
|
|
16896
16894
|
required: {
|
|
@@ -16901,7 +16899,6 @@ class BaseInput extends AuroElement {
|
|
|
16901
16899
|
/**
|
|
16902
16900
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
16903
16901
|
* `error` and every other `setCustomValidity*` property.
|
|
16904
|
-
* @relevantWhen !noValidate
|
|
16905
16902
|
* @category behavior
|
|
16906
16903
|
*/
|
|
16907
16904
|
setCustomValidity: {
|
|
@@ -16912,7 +16909,6 @@ class BaseInput extends AuroElement {
|
|
|
16912
16909
|
/**
|
|
16913
16910
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
16914
16911
|
* because the input never reports `badInput`.
|
|
16915
|
-
* @relevantWhen !noValidate
|
|
16916
16912
|
* @category behavior
|
|
16917
16913
|
*/
|
|
16918
16914
|
setCustomValidityBadInput: {
|
|
@@ -16922,7 +16918,6 @@ class BaseInput extends AuroElement {
|
|
|
16922
16918
|
|
|
16923
16919
|
/**
|
|
16924
16920
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
16925
|
-
* @relevantWhen !noValidate
|
|
16926
16921
|
* @category behavior
|
|
16927
16922
|
*/
|
|
16928
16923
|
setCustomValidityCustomError: {
|
|
@@ -16933,7 +16928,6 @@ class BaseInput extends AuroElement {
|
|
|
16933
16928
|
/**
|
|
16934
16929
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
16935
16930
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
16936
|
-
* @relevantWhen !noValidate
|
|
16937
16931
|
* @category behavior
|
|
16938
16932
|
*/
|
|
16939
16933
|
setCustomValidityForType: {
|
|
@@ -16944,7 +16938,6 @@ class BaseInput extends AuroElement {
|
|
|
16944
16938
|
/**
|
|
16945
16939
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
16946
16940
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
16947
|
-
* @relevantWhen !noValidate
|
|
16948
16941
|
* @category behavior
|
|
16949
16942
|
*/
|
|
16950
16943
|
setCustomValidityPatternMismatch: {
|
|
@@ -16954,7 +16947,6 @@ class BaseInput extends AuroElement {
|
|
|
16954
16947
|
|
|
16955
16948
|
/**
|
|
16956
16949
|
* Sets the error message shown when the value is above `max`.
|
|
16957
|
-
* @relevantWhen !noValidate
|
|
16958
16950
|
* @category behavior
|
|
16959
16951
|
*/
|
|
16960
16952
|
setCustomValidityRangeOverflow: {
|
|
@@ -16964,7 +16956,6 @@ class BaseInput extends AuroElement {
|
|
|
16964
16956
|
|
|
16965
16957
|
/**
|
|
16966
16958
|
* Sets the error message shown when the value is below `min`.
|
|
16967
|
-
* @relevantWhen !noValidate
|
|
16968
16959
|
* @category behavior
|
|
16969
16960
|
*/
|
|
16970
16961
|
setCustomValidityRangeUnderflow: {
|
|
@@ -16975,7 +16966,6 @@ class BaseInput extends AuroElement {
|
|
|
16975
16966
|
/**
|
|
16976
16967
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
16977
16968
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
16978
|
-
* @relevantWhen !noValidate
|
|
16979
16969
|
* @category behavior
|
|
16980
16970
|
*/
|
|
16981
16971
|
setCustomValidityTooLong: {
|
|
@@ -16986,7 +16976,6 @@ class BaseInput extends AuroElement {
|
|
|
16986
16976
|
/**
|
|
16987
16977
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
16988
16978
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
16989
|
-
* @relevantWhen !noValidate
|
|
16990
16979
|
* @category behavior
|
|
16991
16980
|
*/
|
|
16992
16981
|
setCustomValidityTooShort: {
|
|
@@ -16996,7 +16985,6 @@ class BaseInput extends AuroElement {
|
|
|
16996
16985
|
|
|
16997
16986
|
/**
|
|
16998
16987
|
* Sets the error message shown when a `required` input is left empty.
|
|
16999
|
-
* @relevantWhen !noValidate
|
|
17000
16988
|
* @category behavior
|
|
17001
16989
|
*/
|
|
17002
16990
|
setCustomValidityValueMissing: {
|
|
@@ -18303,7 +18291,7 @@ class AuroHelpText extends i {
|
|
|
18303
18291
|
}
|
|
18304
18292
|
}
|
|
18305
18293
|
|
|
18306
|
-
var formkitVersion = '
|
|
18294
|
+
var formkitVersion = '202611092100';
|
|
18307
18295
|
|
|
18308
18296
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18309
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`.
|