@aurodesignsystem-dev/auro-formkit 0.0.0-pr1508.0 → 0.0.0-pr1508.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/demo/customize.min.js +8 -6
- package/components/checkbox/demo/getting-started.min.js +8 -6
- package/components/checkbox/demo/index.min.js +8 -6
- package/components/checkbox/dist/index.js +8 -6
- package/components/checkbox/dist/registered.js +8 -6
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/customize.md +2 -10
- package/components/combobox/demo/customize.min.js +386 -305
- package/components/combobox/demo/getting-started.min.js +386 -301
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +386 -301
- package/components/combobox/demo/keyboard-behavior.md +2 -142
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/demo/why-combobox.md +2 -2
- package/components/combobox/dist/auro-combobox.d.ts +23 -16
- package/components/combobox/dist/index.js +385 -300
- package/components/combobox/dist/registered.js +385 -300
- package/components/counter/demo/customize.min.js +18 -8
- package/components/counter/demo/index.min.js +18 -8
- package/components/counter/dist/index.js +18 -8
- package/components/counter/dist/registered.js +18 -8
- package/components/datepicker/demo/accessibility.md +2 -1
- package/components/datepicker/demo/api.md +63 -62
- package/components/datepicker/demo/customize.md +12 -1
- package/components/datepicker/demo/customize.min.js +932 -335
- package/components/datepicker/demo/index.min.js +932 -335
- package/components/datepicker/dist/{src/auro-calendar-cell.d.ts → auro-calendar-cell.d.ts} +20 -3
- package/components/datepicker/dist/{src/auro-calendar.d.ts → auro-calendar.d.ts} +121 -7
- package/components/datepicker/dist/{src/auro-datepicker.d.ts → auro-datepicker.d.ts} +78 -5
- package/components/datepicker/dist/blackoutUtils.d.ts +43 -0
- package/components/datepicker/dist/index.js +932 -335
- package/components/datepicker/dist/registered.js +932 -335
- package/components/dropdown/demo/customize.min.js +2 -1
- package/components/dropdown/demo/getting-started.min.js +2 -1
- package/components/dropdown/demo/index.min.js +2 -1
- package/components/dropdown/dist/index.js +2 -1
- package/components/dropdown/dist/registered.js +2 -1
- package/components/form/demo/customize.min.js +1690 -826
- package/components/form/demo/getting-started.min.js +1690 -826
- package/components/form/demo/index.min.js +1690 -826
- package/components/form/demo/registerDemoDeps.min.js +1690 -826
- package/components/input/demo/api.md +5 -5
- package/components/input/demo/customize.md +8 -8
- package/components/input/demo/customize.min.js +137 -95
- package/components/input/demo/getting-started.min.js +137 -95
- package/components/input/demo/index.min.js +137 -95
- package/components/input/dist/base-input.d.ts +33 -44
- package/components/input/dist/index.js +150 -96
- package/components/input/dist/registered.js +137 -95
- package/components/radio/demo/customize.min.js +8 -6
- package/components/radio/demo/getting-started.min.js +8 -6
- package/components/radio/demo/index.min.js +8 -6
- package/components/radio/dist/index.js +8 -6
- package/components/radio/dist/registered.js +8 -6
- package/components/select/demo/customize.md +86 -0
- package/components/select/demo/customize.min.js +194 -68
- package/components/select/demo/getting-started.min.js +196 -115
- package/components/select/demo/index.min.js +194 -68
- package/components/select/demo/keyboard-behavior.md +18 -4
- package/components/select/dist/auro-select.d.ts +20 -8
- package/components/select/dist/index.js +194 -68
- package/components/select/dist/registered.js +194 -68
- package/custom-elements.json +2365 -1819
- package/package.json +6 -2
- package/components/checkbox/demo/customize.js +0 -22
- package/components/checkbox/demo/demo-support.js +0 -1
- package/components/checkbox/demo/getting-started.js +0 -22
- package/components/checkbox/demo/index.js +0 -8
- package/components/checkbox/demo/styles.scss +0 -1
- package/components/combobox/demo/customize.js +0 -24
- package/components/combobox/demo/demo-support.js +0 -1
- package/components/combobox/demo/getting-started.js +0 -21
- package/components/combobox/demo/index.js +0 -23
- package/components/combobox/demo/styles.scss +0 -1
- package/components/counter/demo/customize.js +0 -21
- package/components/counter/demo/demo-support.js +0 -1
- package/components/counter/demo/index.js +0 -21
- package/components/counter/demo/styles.scss +0 -1
- package/components/datepicker/demo/customize.js +0 -17
- package/components/datepicker/demo/demo-support.js +0 -1
- package/components/datepicker/demo/index.js +0 -23
- package/components/datepicker/demo/styles.scss +0 -1
- package/components/dropdown/demo/customize.js +0 -9
- package/components/dropdown/demo/demo-support.js +0 -1
- package/components/dropdown/demo/getting-started.js +0 -9
- package/components/dropdown/demo/index.js +0 -16
- package/components/dropdown/demo/styles.scss +0 -1
- package/components/form/demo/customize.js +0 -28
- package/components/form/demo/demo-support.js +0 -1
- package/components/form/demo/getting-started.js +0 -9
- package/components/form/demo/index.js +0 -5
- package/components/form/demo/registerDemoDeps.js +0 -23
- package/components/form/demo/styles.scss +0 -1
- package/components/input/demo/customize.js +0 -25
- package/components/input/demo/demo-support.js +0 -1
- package/components/input/demo/getting-started.js +0 -8
- package/components/input/demo/index.js +0 -8
- package/components/input/demo/styles.css +0 -974
- package/components/input/demo/styles.scss +0 -1
- package/components/menu/demo/demo-support.js +0 -1
- package/components/menu/demo/index.js +0 -25
- package/components/menu/demo/styles.scss +0 -1
- package/components/radio/demo/customize.js +0 -22
- package/components/radio/demo/demo-support.js +0 -1
- package/components/radio/demo/getting-started.js +0 -24
- package/components/radio/demo/index.js +0 -8
- package/components/radio/demo/styles.scss +0 -1
- package/components/select/demo/customize.js +0 -11
- package/components/select/demo/demo-support.js +0 -1
- package/components/select/demo/getting-started.js +0 -26
- package/components/select/demo/index.js +0 -11
- package/components/select/demo/styles.scss +0 -1
- /package/components/datepicker/dist/{src/auro-calendar-month.d.ts → auro-calendar-month.d.ts} +0 -0
- /package/components/datepicker/dist/{src/buttonVersion.d.ts → buttonVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/datepickerKeyboardStrategy.d.ts → datepickerKeyboardStrategy.d.ts} +0 -0
- /package/components/datepicker/dist/{src/iconVersion.d.ts → iconVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/components/datepicker/dist/{src/popoverVersion.d.ts → popoverVersion.d.ts} +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/classic/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/classic/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/color-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/shapeSize-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/snowflake/color-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/snowflake/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-cell-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-auro-calendar-month-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/style-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/styles → styles}/tokens-css.d.ts +0 -0
- /package/components/datepicker/dist/{src/utilities.d.ts → utilities.d.ts} +0 -0
- /package/components/datepicker/dist/{src/utilitiesCalendar.d.ts → utilitiesCalendar.d.ts} +0 -0
- /package/components/datepicker/dist/{src/utilitiesCalendarRender.d.ts → utilitiesCalendarRender.d.ts} +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/day.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker-cell.d.ts +0 -0
- /package/components/datepicker/dist/{src/vendor → vendor}/wc-range-datepicker/range-datepicker.d.ts +0 -0
|
@@ -620,15 +620,17 @@ class AuroFormValidation {
|
|
|
620
620
|
);
|
|
621
621
|
}
|
|
622
622
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
624
|
+
|
|
625
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
626
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
627
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
628
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
629
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
626
630
|
hasValue = false;
|
|
627
631
|
}
|
|
628
632
|
}
|
|
629
633
|
|
|
630
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
631
|
-
|
|
632
634
|
if (isCombobox) {
|
|
633
635
|
|
|
634
636
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1099,7 +1101,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1101
|
}
|
|
1100
1102
|
};
|
|
1101
1103
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1104
|
+
var formkitVersion$1 = '202607010104';
|
|
1103
1105
|
|
|
1104
1106
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1107
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5447,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5447
|
}
|
|
5446
5448
|
}
|
|
5447
5449
|
|
|
5448
|
-
var formkitVersion = '
|
|
5450
|
+
var formkitVersion = '202607010104';
|
|
5449
5451
|
|
|
5450
5452
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5453
|
static get properties() {
|
|
@@ -6717,6 +6719,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6717
6719
|
role="${o$2(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
6718
6720
|
aria-expanded="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
6719
6721
|
aria-controls="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
6722
|
+
aria-haspopup="${o$2(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
6720
6723
|
aria-labelledby="${o$2(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
6721
6724
|
aria-disabled="${o$2(this.disabled ? 'true' : undefined)}"
|
|
6722
6725
|
@focusin="${this.handleFocusin}"
|
|
@@ -6843,7 +6846,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6843
6846
|
|
|
6844
6847
|
var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
6845
6848
|
|
|
6846
|
-
var styleCss$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1
|
|
6849
|
+
var styleCss$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{padding:var(--ds-size-200, 1rem)}`;
|
|
6847
6850
|
|
|
6848
6851
|
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
6849
6852
|
|
|
@@ -7849,6 +7852,13 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7849
7852
|
*/
|
|
7850
7853
|
configureDropdownCounters() {
|
|
7851
7854
|
this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$);
|
|
7855
|
+
|
|
7856
|
+
// Counter rows are slotted into the bib through multiple shadow roots
|
|
7857
|
+
// (dropdown → bib → bibtemplate → counter-group → counter), so the floater's
|
|
7858
|
+
// `:focus-within` focus-loss check fails to match the dropdown host in Chromium
|
|
7859
|
+
// and the bib auto-closes immediately after opening. Mirrors auro-select.
|
|
7860
|
+
this.dropdown.noHideOnThisFocusLoss = true;
|
|
7861
|
+
|
|
7852
7862
|
this.dropdown.requestUpdate();
|
|
7853
7863
|
|
|
7854
7864
|
const counterWrapper = this.shadowRoot.querySelector('auro-counter-wrapper');
|
|
@@ -620,15 +620,17 @@ class AuroFormValidation {
|
|
|
620
620
|
);
|
|
621
621
|
}
|
|
622
622
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
624
|
+
|
|
625
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
626
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
627
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
628
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
629
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
626
630
|
hasValue = false;
|
|
627
631
|
}
|
|
628
632
|
}
|
|
629
633
|
|
|
630
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
631
|
-
|
|
632
634
|
if (isCombobox) {
|
|
633
635
|
|
|
634
636
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1099,7 +1101,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1101
|
}
|
|
1100
1102
|
};
|
|
1101
1103
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1104
|
+
var formkitVersion$1 = '202607010104';
|
|
1103
1105
|
|
|
1104
1106
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1107
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5447,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5447
|
}
|
|
5446
5448
|
}
|
|
5447
5449
|
|
|
5448
|
-
var formkitVersion = '
|
|
5450
|
+
var formkitVersion = '202607010104';
|
|
5449
5451
|
|
|
5450
5452
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5453
|
static get properties() {
|
|
@@ -6717,6 +6719,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6717
6719
|
role="${o$2(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
6718
6720
|
aria-expanded="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
6719
6721
|
aria-controls="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
6722
|
+
aria-haspopup="${o$2(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
6720
6723
|
aria-labelledby="${o$2(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
6721
6724
|
aria-disabled="${o$2(this.disabled ? 'true' : undefined)}"
|
|
6722
6725
|
@focusin="${this.handleFocusin}"
|
|
@@ -6843,7 +6846,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6843
6846
|
|
|
6844
6847
|
var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
6845
6848
|
|
|
6846
|
-
var styleCss$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1
|
|
6849
|
+
var styleCss$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{padding:var(--ds-size-200, 1rem)}`;
|
|
6847
6850
|
|
|
6848
6851
|
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
6849
6852
|
|
|
@@ -7849,6 +7852,13 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7849
7852
|
*/
|
|
7850
7853
|
configureDropdownCounters() {
|
|
7851
7854
|
this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$);
|
|
7855
|
+
|
|
7856
|
+
// Counter rows are slotted into the bib through multiple shadow roots
|
|
7857
|
+
// (dropdown → bib → bibtemplate → counter-group → counter), so the floater's
|
|
7858
|
+
// `:focus-within` focus-loss check fails to match the dropdown host in Chromium
|
|
7859
|
+
// and the bib auto-closes immediately after opening. Mirrors auro-select.
|
|
7860
|
+
this.dropdown.noHideOnThisFocusLoss = true;
|
|
7861
|
+
|
|
7852
7862
|
this.dropdown.requestUpdate();
|
|
7853
7863
|
|
|
7854
7864
|
const counterWrapper = this.shadowRoot.querySelector('auro-counter-wrapper');
|
|
@@ -576,15 +576,17 @@ class AuroFormValidation {
|
|
|
576
576
|
);
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
579
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
580
|
+
|
|
581
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
582
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
583
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
584
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
585
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
582
586
|
hasValue = false;
|
|
583
587
|
}
|
|
584
588
|
}
|
|
585
589
|
|
|
586
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
587
|
-
|
|
588
590
|
if (isCombobox) {
|
|
589
591
|
|
|
590
592
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1049,7 +1051,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1049
1051
|
}
|
|
1050
1052
|
};
|
|
1051
1053
|
|
|
1052
|
-
var formkitVersion$1 = '
|
|
1054
|
+
var formkitVersion$1 = '202607010104';
|
|
1053
1055
|
|
|
1054
1056
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1057
|
// See LICENSE in the project root for license information.
|
|
@@ -5377,7 +5379,7 @@ class AuroHelpText extends LitElement {
|
|
|
5377
5379
|
}
|
|
5378
5380
|
}
|
|
5379
5381
|
|
|
5380
|
-
var formkitVersion = '
|
|
5382
|
+
var formkitVersion = '202607010104';
|
|
5381
5383
|
|
|
5382
5384
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5383
5385
|
static get properties() {
|
|
@@ -6649,6 +6651,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6649
6651
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
6650
6652
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
6651
6653
|
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
6654
|
+
aria-haspopup="${ifDefined(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
6652
6655
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
6653
6656
|
aria-disabled="${ifDefined(this.disabled ? 'true' : undefined)}"
|
|
6654
6657
|
@focusin="${this.handleFocusin}"
|
|
@@ -6775,7 +6778,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6775
6778
|
|
|
6776
6779
|
var colorCss$1 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
6777
6780
|
|
|
6778
|
-
var styleCss$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1
|
|
6781
|
+
var styleCss$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{padding:var(--ds-size-200, 1rem)}`;
|
|
6779
6782
|
|
|
6780
6783
|
var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
6781
6784
|
|
|
@@ -7781,6 +7784,13 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7781
7784
|
*/
|
|
7782
7785
|
configureDropdownCounters() {
|
|
7783
7786
|
this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$);
|
|
7787
|
+
|
|
7788
|
+
// Counter rows are slotted into the bib through multiple shadow roots
|
|
7789
|
+
// (dropdown → bib → bibtemplate → counter-group → counter), so the floater's
|
|
7790
|
+
// `:focus-within` focus-loss check fails to match the dropdown host in Chromium
|
|
7791
|
+
// and the bib auto-closes immediately after opening. Mirrors auro-select.
|
|
7792
|
+
this.dropdown.noHideOnThisFocusLoss = true;
|
|
7793
|
+
|
|
7784
7794
|
this.dropdown.requestUpdate();
|
|
7785
7795
|
|
|
7786
7796
|
const counterWrapper = this.shadowRoot.querySelector('auro-counter-wrapper');
|
|
@@ -576,15 +576,17 @@ class AuroFormValidation {
|
|
|
576
576
|
);
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
579
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
580
|
+
|
|
581
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
582
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
583
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
584
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
585
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
582
586
|
hasValue = false;
|
|
583
587
|
}
|
|
584
588
|
}
|
|
585
589
|
|
|
586
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
587
|
-
|
|
588
590
|
if (isCombobox) {
|
|
589
591
|
|
|
590
592
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -1049,7 +1051,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1049
1051
|
}
|
|
1050
1052
|
};
|
|
1051
1053
|
|
|
1052
|
-
var formkitVersion$1 = '
|
|
1054
|
+
var formkitVersion$1 = '202607010104';
|
|
1053
1055
|
|
|
1054
1056
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1057
|
// See LICENSE in the project root for license information.
|
|
@@ -5377,7 +5379,7 @@ class AuroHelpText extends LitElement {
|
|
|
5377
5379
|
}
|
|
5378
5380
|
}
|
|
5379
5381
|
|
|
5380
|
-
var formkitVersion = '
|
|
5382
|
+
var formkitVersion = '202607010104';
|
|
5381
5383
|
|
|
5382
5384
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5383
5385
|
static get properties() {
|
|
@@ -6649,6 +6651,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6649
6651
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
6650
6652
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
6651
6653
|
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
6654
|
+
aria-haspopup="${ifDefined(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
6652
6655
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
6653
6656
|
aria-disabled="${ifDefined(this.disabled ? 'true' : undefined)}"
|
|
6654
6657
|
@focusin="${this.handleFocusin}"
|
|
@@ -6775,7 +6778,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6775
6778
|
|
|
6776
6779
|
var colorCss$1 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
6777
6780
|
|
|
6778
|
-
var styleCss$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1
|
|
6781
|
+
var styleCss$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{padding:var(--ds-size-200, 1rem)}`;
|
|
6779
6782
|
|
|
6780
6783
|
var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
6781
6784
|
|
|
@@ -7781,6 +7784,13 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7781
7784
|
*/
|
|
7782
7785
|
configureDropdownCounters() {
|
|
7783
7786
|
this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$);
|
|
7787
|
+
|
|
7788
|
+
// Counter rows are slotted into the bib through multiple shadow roots
|
|
7789
|
+
// (dropdown → bib → bibtemplate → counter-group → counter), so the floater's
|
|
7790
|
+
// `:focus-within` focus-loss check fails to match the dropdown host in Chromium
|
|
7791
|
+
// and the bib auto-closes immediately after opening. Mirrors auro-select.
|
|
7792
|
+
this.dropdown.noHideOnThisFocusLoss = true;
|
|
7793
|
+
|
|
7784
7794
|
this.dropdown.requestUpdate();
|
|
7785
7795
|
|
|
7786
7796
|
const counterWrapper = this.shadowRoot.querySelector('auro-counter-wrapper');
|
|
@@ -83,7 +83,8 @@ When `range` is set, each date cell's label includes its position relative to th
|
|
|
83
83
|
| `rangeLabelEnd` | "range end" | Announced for the range end date. |
|
|
84
84
|
| `rangeLabelBeforeRange` | "before range" | Announced for dates before the range start. |
|
|
85
85
|
| `rangeLabelInRange` | "in range" | Announced for dates within the selected range. |
|
|
86
|
-
| `rangeLabelAfterRange` | "after range" | Announced for dates after
|
|
86
|
+
| `rangeLabelAfterRange` | "after range" | Announced for dates after a fully selected range. |
|
|
87
|
+
| `rangeLabelEndPreview` | "previewing range end" | Announced for the focused cell while picking the range end (`dateFrom` set, `dateTo` not yet selected) so AT users know that pressing Enter would commit this cell as the range end. |
|
|
87
88
|
|
|
88
89
|
<auro-header level="2" id="fullscreenBehavior">Fullscreen (Modal) Behavior</auro-header>
|
|
89
90
|
On smaller viewports, the calendar bib opens as a fullscreen modal dialog:
|
|
@@ -7,68 +7,69 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Modifiers | Type | Default
|
|
11
|
-
|
|
12
|
-
| `appearance` | `appearance` | | `'default' \| 'inverse'` | "'default'"
|
|
13
|
-
| `autoPlacement` | `autoPlacement` | | `boolean` | "false"
|
|
14
|
-
| `blackoutDates` | `blackoutDates` | | `array` | []
|
|
15
|
-
| `blackoutLabel` | `blackoutLabel` | | `string` | "unavailable" | Label announced for blackout (disabled but in-range) date cells. |
|
|
16
|
-
| `calendarEndDate` | `calendarEndDate` | | `string` | "undefined"
|
|
17
|
-
| `calendarEndDateObject` | | readonly | `Date \| undefined` |
|
|
18
|
-
| `calendarFocusDate` | `calendarFocusDate` | | `string` | "value"
|
|
19
|
-
| `calendarFocusDateObject` | | readonly | `Date \| undefined` |
|
|
20
|
-
| `calendarGridLabel` | `calendarGridLabel` | | `string` | "Calendar days of the month" | Accessible label for the calendar grid containing the days of the month. |
|
|
21
|
-
| `calendarStartDate` | `calendarStartDate` | | `string` | "undefined"
|
|
22
|
-
| `calendarStartDateObject` | | readonly | `Date \| undefined` |
|
|
23
|
-
| `centralDate` | `centralDate` | | `string` |
|
|
24
|
-
| `centralDateObject` | | readonly | `Date \| undefined` |
|
|
25
|
-
| `disabled` | `disabled` | | `boolean` | false
|
|
26
|
-
| `dvInputOnly` | `dvInputOnly` | | `boolean` | false
|
|
27
|
-
| `error` | `error` | | `string` |
|
|
28
|
-
| `format` | `format` | | `string` |
|
|
29
|
-
| `fullscreenBreakpoint` | `fullscreenBreakpoint` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'"
|
|
30
|
-
| `hasError` | | readonly | `boolean` |
|
|
31
|
-
| `inputmode` | `inputmode` | | `string` |
|
|
32
|
-
| `largeFullscreenHeadline` | `largeFullscreenHeadline` | | `boolean` | false
|
|
33
|
-
| `layout` | `layout` | | `'classic' \| 'snowflake'` | "'classic'"
|
|
34
|
-
| `locale` | `locale` | | `string` |
|
|
35
|
-
| `maxDate` | `maxDate` | | `string` |
|
|
36
|
-
| `maxDateObject` | | readonly | `Date \| undefined` |
|
|
37
|
-
| `minDate` | `minDate` | | `string` |
|
|
38
|
-
| `minDateObject` | | readonly | `Date \| undefined` |
|
|
39
|
-
| `monthNames` | `monthNames` | | `array` |
|
|
40
|
-
| `navLabelNextMonth` | `navLabelNextMonth` | | `string` | "Next month" | Accessible label for the next month navigation button. |
|
|
41
|
-
| `navLabelPrevMonth` | `navLabelPrevMonth` | | `string` | "Previous month" | Accessible label for the previous month navigation button. |
|
|
42
|
-
| `noFlip` | `noFlip` | | `boolean` | false
|
|
43
|
-
| `noValidate` | `noValidate` | | `boolean` | false
|
|
44
|
-
| `offset` | `offset` | | `number` | "0"
|
|
45
|
-
| `onDark` | `onDark` | | `boolean` | false
|
|
46
|
-
| `placeholder` | `placeholder` | | `string` |
|
|
47
|
-
| `placeholderEndDate` | `placeholderEndDate` | | `string` |
|
|
48
|
-
| `placement` | `placement` | | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'"
|
|
49
|
-
| `range` | `range` | | `boolean` | false
|
|
50
|
-
| `rangeLabelAfterRange` | `rangeLabelAfterRange` | | `string` | "after range" | Label announced for cells after
|
|
51
|
-
| `rangeLabelBeforeRange` | `rangeLabelBeforeRange` | | `string` | "before range" | Label announced for cells before the range start. |
|
|
52
|
-
| `rangeLabelEnd` | `rangeLabelEnd` | | `string` | "range end" | Label announced for the range end date cell. |
|
|
53
|
-
| `
|
|
54
|
-
| `
|
|
55
|
-
| `
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
58
|
-
| `
|
|
59
|
-
| `
|
|
60
|
-
| `
|
|
61
|
-
| `
|
|
62
|
-
| `
|
|
63
|
-
| `
|
|
64
|
-
| `
|
|
65
|
-
| `
|
|
66
|
-
| `
|
|
67
|
-
| `
|
|
68
|
-
| `
|
|
69
|
-
| `
|
|
70
|
-
| `
|
|
71
|
-
| `
|
|
10
|
+
| Property | Attribute | Modifiers | Type | Default | Description |
|
|
11
|
+
|-----------------------------------|-----------------------------------|-----------|--------------------------------------------------|--------------------------------|--------------------------------------------------|
|
|
12
|
+
| `appearance` | `appearance` | | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
13
|
+
| `autoPlacement` | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
14
|
+
| `blackoutDates` | `blackoutDates` | | `array` | [] | Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD). |
|
|
15
|
+
| `blackoutLabel` | `blackoutLabel` | | `string` | "'unavailable'" | Label announced for blackout (disabled but in-range) date cells. |
|
|
16
|
+
| `calendarEndDate` | `calendarEndDate` | | `string` | "undefined" | The last date that may be displayed in the calendar. |
|
|
17
|
+
| `calendarEndDateObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `calendarEndDate`. Returns `undefined` when `calendarEndDate` is empty or not a valid date. |
|
|
18
|
+
| `calendarFocusDate` | `calendarFocusDate` | | `string` | "value" | The date that will first be visually rendered to the user in the calendar. |
|
|
19
|
+
| `calendarFocusDateObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `calendarFocusDate`. Returns `undefined` when `calendarFocusDate` is empty or not a valid date. |
|
|
20
|
+
| `calendarGridLabel` | `calendarGridLabel` | | `string` | "'Calendar days of the month'" | Accessible label for the calendar grid containing the days of the month. |
|
|
21
|
+
| `calendarStartDate` | `calendarStartDate` | | `string` | "undefined" | The first date that may be displayed in the calendar. |
|
|
22
|
+
| `calendarStartDateObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `calendarStartDate`. Returns `undefined` when `calendarStartDate` is empty or not a valid date. |
|
|
23
|
+
| `centralDate` | `centralDate` | | `string` | | The date that determines the currently visible month. |
|
|
24
|
+
| `centralDateObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `centralDate`. Returns `undefined` when `centralDate` is empty or not a valid date. |
|
|
25
|
+
| `disabled` | `disabled` | | `boolean` | false | If set, disables the datepicker. |
|
|
26
|
+
| `dvInputOnly` | `dvInputOnly` | | `boolean` | false | If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked. |
|
|
27
|
+
| `error` | `error` | | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
28
|
+
| `format` | `format` | | `string` | | Specifies the date format. The default is `mm/dd/yyyy`. |
|
|
29
|
+
| `fullscreenBreakpoint` | `fullscreenBreakpoint` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
30
|
+
| `hasError` | | readonly | `boolean` | | Returns `true` when the datepicker has an active validation error. |
|
|
31
|
+
| `inputmode` | `inputmode` | | `string` | | Exposes inputmode attribute for input. |
|
|
32
|
+
| `largeFullscreenHeadline` | `largeFullscreenHeadline` | | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
33
|
+
| `layout` | `layout` | | `'classic' \| 'snowflake'` | "'classic'" | Sets the layout of the datepicker. |
|
|
34
|
+
| `locale` | `locale` | | `string` | | Defines the locale of the element. Used to derive the date format when `format` is not explicitly set. |
|
|
35
|
+
| `maxDate` | `maxDate` | | `string` | | Maximum date. All dates after will be disabled. |
|
|
36
|
+
| `maxDateObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `maxDate`. Returns `undefined` when `maxDate` is empty or not a valid date. |
|
|
37
|
+
| `minDate` | `minDate` | | `string` | | Minimum date. All dates before will be disabled. |
|
|
38
|
+
| `minDateObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `minDate`. Returns `undefined` when `minDate` is empty or not a valid date. |
|
|
39
|
+
| `monthNames` | `monthNames` | | `array` | | Names of all 12 months to render in the calendar.<br />When omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`). |
|
|
40
|
+
| `navLabelNextMonth` | `navLabelNextMonth` | | `string` | "'Next month'" | Accessible label for the next month navigation button. |
|
|
41
|
+
| `navLabelPrevMonth` | `navLabelPrevMonth` | | `string` | "'Previous month'" | Accessible label for the previous month navigation button. |
|
|
42
|
+
| `noFlip` | `noFlip` | | `boolean` | false | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
43
|
+
| `noValidate` | `noValidate` | | `boolean` | false | If set, disables auto-validation on blur. |
|
|
44
|
+
| `offset` | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
|
|
45
|
+
| `onDark` | `onDark` | | `boolean` | false | DEPRECATED - use `appearance="inverse"` instead. |
|
|
46
|
+
| `placeholder` | `placeholder` | | `string` | | Placeholder text to display in the input(s) when no value is set. |
|
|
47
|
+
| `placeholderEndDate` | `placeholderEndDate` | | `string` | | Optional placeholder text to display in the second input when using date range.<br />By default, datepicker will use `placeholder` for both inputs if placeholder is<br />specified, but placeholderEndDate is not. |
|
|
48
|
+
| `placement` | `placement` | | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
|
|
49
|
+
| `range` | `range` | | `boolean` | false | If set, turns on date range functionality in auro-calendar. |
|
|
50
|
+
| `rangeLabelAfterRange` | `rangeLabelAfterRange` | | `string` | "'after range'" | Label announced for cells after a fully selected range (both<br />`dateFrom` and `dateTo` are set). While a range is still being<br />picked (`dateFrom` set, `dateTo` unset), focused cells past the<br />start use `rangeLabelEndPreview` instead. |
|
|
51
|
+
| `rangeLabelBeforeRange` | `rangeLabelBeforeRange` | | `string` | "'before range'" | Label announced for cells before the range start. |
|
|
52
|
+
| `rangeLabelEnd` | `rangeLabelEnd` | | `string` | "'range end'" | Label announced for the range end date cell. |
|
|
53
|
+
| `rangeLabelEndPreview` | `rangeLabelEndPreview` | | `string` | "'previewing range end'" | Label announced for the focused cell while previewing a range end<br />(dateFrom set, dateTo not yet selected). Tells AT users that<br />pressing Enter would commit this cell as the range end. |
|
|
54
|
+
| `rangeLabelInRange` | `rangeLabelInRange` | | `string` | "'in range'" | Label announced for cells within the selected range. |
|
|
55
|
+
| `rangeLabelStart` | `rangeLabelStart` | | `string` | "'range start'" | Label announced for the range start date cell. |
|
|
56
|
+
| `referenceDates` | `referenceDates` | | `array` | | Dates that the user should have for reference as part of their decision-making when selecting a date.<br />This should be a JSON string array of ISO date strings (`YYYY-MM-DD`). |
|
|
57
|
+
| `required` | `required` | | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
58
|
+
| `setCustomValidity` | `setCustomValidity` | | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
59
|
+
| `setCustomValidityCustomError` | `setCustomValidityCustomError` | | `string` | | Custom help text message to display when validity = `customError`.<br />Also used as the validation message when a blackout date is typed into the input. |
|
|
60
|
+
| `setCustomValidityRangeOverflow` | `setCustomValidityRangeOverflow` | | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
|
|
61
|
+
| `setCustomValidityRangeUnderflow` | `setCustomValidityRangeUnderflow` | | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
|
|
62
|
+
| `setCustomValidityValueMissing` | `setCustomValidityValueMissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
63
|
+
| `shape` | | | `string` | "classic" | |
|
|
64
|
+
| `shift` | `shift` | | `boolean` | false | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
65
|
+
| `size` | | | `string` | "lg" | |
|
|
66
|
+
| `stacked` | `stacked` | | `boolean` | false | Set true to make datepicker stacked style. |
|
|
67
|
+
| `validity` | `validity` | | `string` | "undefined" | Specifies the `validityState` this element is in. |
|
|
68
|
+
| `value` | `value` | | `string` | "undefined" | Value selected for the datepicker. |
|
|
69
|
+
| `valueEnd` | `valueEnd` | | `string` | "undefined" | Value selected for the second datepicker when using date range. |
|
|
70
|
+
| `valueEndObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `valueEnd`. Returns `undefined` when `valueEnd` is empty or not a valid date. |
|
|
71
|
+
| `valueObject` | | readonly | `Date \| undefined` | | Read-only `Date` object derived from `value`. Returns `undefined` when `value` is empty or not a valid date. |
|
|
72
|
+
| `values` | | readonly | `string[]` | | A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern". |
|
|
72
73
|
|
|
73
74
|
## Methods
|
|
74
75
|
|
|
@@ -296,6 +296,7 @@
|
|
|
296
296
|
rangeLabelBeforeRange="antes de la salida"
|
|
297
297
|
rangeLabelInRange="entre vuelos"
|
|
298
298
|
rangeLabelAfterRange="después del regreso"
|
|
299
|
+
rangeLabelEndPreview="previsualizando fecha de regreso"
|
|
299
300
|
navLabelPrevMonth="Ir al mes anterior"
|
|
300
301
|
navLabelNextMonth="Ir al mes siguiente"
|
|
301
302
|
calendarGridLabel="Días del mes del calendario"
|
|
@@ -324,6 +325,7 @@
|
|
|
324
325
|
rangeLabelBeforeRange="antes de la salida"
|
|
325
326
|
rangeLabelInRange="entre vuelos"
|
|
326
327
|
rangeLabelAfterRange="después del regreso"
|
|
328
|
+
rangeLabelEndPreview="previsualizando fecha de regreso"
|
|
327
329
|
navLabelPrevMonth="Ir al mes anterior"
|
|
328
330
|
navLabelNextMonth="Ir al mes siguiente"
|
|
329
331
|
calendarGridLabel="Días del mes del calendario"
|
|
@@ -340,7 +342,7 @@
|
|
|
340
342
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
341
343
|
</auro-accordion>
|
|
342
344
|
<auro-header level="5" id="localizationCalendarA11yStrings">Screen Reader Strings</auro-header>
|
|
343
|
-
<p>Assistive-technology announcements — range descriptors (<code>rangeLabelStart</code>, <code>rangeLabelEnd</code>, <code>rangeLabelBeforeRange</code>, <code>rangeLabelInRange</code>, <code>rangeLabelAfterRange</code>), month navigation labels (<code>navLabelPrevMonth</code>, <code>navLabelNextMonth</code>), and the calendar grid label (<code>calendarGridLabel</code>) — are exposed as individual attributes so they can be translated independently of the visible UI. These strings are not derived from <code>locale</code>; supply translated values for every language you support.</p>
|
|
345
|
+
<p>Assistive-technology announcements — range descriptors (<code>rangeLabelStart</code>, <code>rangeLabelEnd</code>, <code>rangeLabelEndPreview</code>, <code>rangeLabelBeforeRange</code>, <code>rangeLabelInRange</code>, <code>rangeLabelAfterRange</code>), month navigation labels (<code>navLabelPrevMonth</code>, <code>navLabelNextMonth</code>), and the calendar grid label (<code>calendarGridLabel</code>) — are exposed as individual attributes so they can be translated independently of the visible UI. These strings are not derived from <code>locale</code>; supply translated values for every language you support.</p>
|
|
344
346
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization-screenreader-strings.html) -->
|
|
345
347
|
<!-- The below content is automatically added from ./../apiExamples/localization-screenreader-strings.html -->
|
|
346
348
|
|
|
@@ -352,6 +354,7 @@
|
|
|
352
354
|
+ rangeLabelBeforeRange="vor dem Zeitraum"
|
|
353
355
|
+ rangeLabelInRange="im Zeitraum"
|
|
354
356
|
+ rangeLabelAfterRange="nach dem Zeitraum"
|
|
357
|
+
+ rangeLabelEndPreview="Vorschau Enddatum"
|
|
355
358
|
+ navLabelPrevMonth="Vorheriger Monat"
|
|
356
359
|
+ navLabelNextMonth="Nächster Monat"
|
|
357
360
|
+ calendarGridLabel="Kalendertage des Monats">
|
|
@@ -412,6 +415,7 @@
|
|
|
412
415
|
rangeLabelBeforeRange="vor dem Zeitraum"
|
|
413
416
|
rangeLabelInRange="im Zeitraum"
|
|
414
417
|
rangeLabelAfterRange="nach dem Zeitraum"
|
|
418
|
+
rangeLabelEndPreview="Vorschau Enddatum"
|
|
415
419
|
navLabelPrevMonth="Vorheriger Monat"
|
|
416
420
|
navLabelNextMonth="Nächster Monat"
|
|
417
421
|
calendarGridLabel="Kalendertage des Monats">
|
|
@@ -433,6 +437,7 @@
|
|
|
433
437
|
rangeLabelBeforeRange="在此期间之前"
|
|
434
438
|
rangeLabelInRange="在此期间内"
|
|
435
439
|
rangeLabelAfterRange="在此期间之后"
|
|
440
|
+
rangeLabelEndPreview="预览结束日期"
|
|
436
441
|
navLabelPrevMonth="上个月"
|
|
437
442
|
navLabelNextMonth="下个月"
|
|
438
443
|
calendarGridLabel="本月的日历天数">
|
|
@@ -453,6 +458,7 @@
|
|
|
453
458
|
rangeLabelBeforeRange="vor dem Zeitraum"
|
|
454
459
|
rangeLabelInRange="im Zeitraum"
|
|
455
460
|
rangeLabelAfterRange="nach dem Zeitraum"
|
|
461
|
+
rangeLabelEndPreview="Vorschau Enddatum"
|
|
456
462
|
navLabelPrevMonth="Vorheriger Monat"
|
|
457
463
|
navLabelNextMonth="Nächster Monat"
|
|
458
464
|
calendarGridLabel="Kalendertage des Monats">
|
|
@@ -475,6 +481,7 @@
|
|
|
475
481
|
rangeLabelBeforeRange="この期間の前"
|
|
476
482
|
rangeLabelInRange="この期間内"
|
|
477
483
|
rangeLabelAfterRange="この期間の後"
|
|
484
|
+
rangeLabelEndPreview="終了日プレビュー"
|
|
478
485
|
navLabelPrevMonth="前の月"
|
|
479
486
|
navLabelNextMonth="次の月"
|
|
480
487
|
calendarGridLabel="カレンダーの日付">
|
|
@@ -504,6 +511,7 @@
|
|
|
504
511
|
rangeLabelBeforeRange="vor dem Zeitraum"
|
|
505
512
|
rangeLabelInRange="im Zeitraum"
|
|
506
513
|
rangeLabelAfterRange="nach dem Zeitraum"
|
|
514
|
+
rangeLabelEndPreview="Vorschau Enddatum"
|
|
507
515
|
navLabelPrevMonth="Vorheriger Monat"
|
|
508
516
|
navLabelNextMonth="Nächster Monat"
|
|
509
517
|
calendarGridLabel="Kalendertage des Monats">
|
|
@@ -525,6 +533,7 @@
|
|
|
525
533
|
rangeLabelBeforeRange="在此期间之前"
|
|
526
534
|
rangeLabelInRange="在此期间内"
|
|
527
535
|
rangeLabelAfterRange="在此期间之后"
|
|
536
|
+
rangeLabelEndPreview="预览结束日期"
|
|
528
537
|
navLabelPrevMonth="上个月"
|
|
529
538
|
navLabelNextMonth="下个月"
|
|
530
539
|
calendarGridLabel="本月的日历天数">
|
|
@@ -545,6 +554,7 @@
|
|
|
545
554
|
rangeLabelBeforeRange="vor dem Zeitraum"
|
|
546
555
|
rangeLabelInRange="im Zeitraum"
|
|
547
556
|
rangeLabelAfterRange="nach dem Zeitraum"
|
|
557
|
+
rangeLabelEndPreview="Vorschau Enddatum"
|
|
548
558
|
navLabelPrevMonth="Vorheriger Monat"
|
|
549
559
|
navLabelNextMonth="Nächster Monat"
|
|
550
560
|
calendarGridLabel="Kalendertage des Monats">
|
|
@@ -567,6 +577,7 @@
|
|
|
567
577
|
rangeLabelBeforeRange="この期間の前"
|
|
568
578
|
rangeLabelInRange="この期間内"
|
|
569
579
|
rangeLabelAfterRange="この期間の後"
|
|
580
|
+
rangeLabelEndPreview="終了日プレビュー"
|
|
570
581
|
navLabelPrevMonth="前の月"
|
|
571
582
|
navLabelNextMonth="次の月"
|
|
572
583
|
calendarGridLabel="カレンダーの日付">
|