@aurodesignsystem-dev/auro-formkit 0.0.0-pr1505.0 → 0.0.0-pr1505.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/checkbox/demo/customize.html +1 -2
- 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/customize.html +1 -2
- package/components/combobox/demo/customize.md +108 -132
- package/components/combobox/demo/customize.min.js +6 -6
- package/components/combobox/demo/getting-started.min.js +6 -6
- package/components/combobox/demo/index.min.js +6 -6
- package/components/combobox/dist/index.js +4 -4
- package/components/combobox/dist/registered.js +4 -4
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.md +2 -2
- package/components/datepicker/demo/customize.js +2 -2
- package/components/datepicker/demo/customize.md +29 -74
- package/components/datepicker/demo/customize.min.js +10 -10
- package/components/datepicker/demo/index.min.js +8 -8
- package/components/datepicker/dist/index.js +8 -8
- package/components/datepicker/dist/registered.js +8 -8
- package/components/datepicker/dist/src/auro-datepicker.d.ts +2 -2
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- 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.html +6 -6
- package/components/form/demo/customize.js +19 -0
- package/components/form/demo/customize.md +203 -51
- package/components/form/demo/customize.min.js +588 -83
- package/components/form/demo/getting-started.min.js +516 -83
- package/components/form/demo/index.min.js +516 -83
- package/components/form/demo/registerDemoDeps.min.js +153 -46
- package/components/form/dist/auro-form.d.ts +122 -4
- package/components/form/dist/index.js +363 -37
- package/components/form/dist/registered.js +363 -37
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/customize.html +1 -2
- package/components/input/demo/customize.md +2 -2
- package/components/input/demo/customize.min.js +2 -2
- package/components/input/demo/getting-started.min.js +2 -2
- package/components/input/demo/index.md +2 -2
- package/components/input/demo/index.min.js +2 -2
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/index.js +2 -2
- package/components/input/dist/registered.js +2 -2
- package/components/menu/demo/index.min.js +2 -2
- package/components/menu/dist/index.js +2 -2
- package/components/menu/dist/registered.js +2 -2
- 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 +1 -0
- package/components/select/demo/customize.html +1 -2
- package/components/select/demo/customize.md +71 -0
- package/components/select/demo/customize.min.js +135 -28
- package/components/select/demo/getting-started.min.js +135 -28
- package/components/select/demo/index.min.js +135 -28
- package/components/select/demo/keyboard-behavior.md +18 -0
- package/components/select/dist/auro-select.d.ts +38 -2
- package/components/select/dist/index.js +133 -26
- package/components/select/dist/registered.js +133 -26
- package/components/select/dist/selectUtils.d.ts +12 -0
- package/custom-elements.json +1654 -1441
- package/package.json +1 -1
|
@@ -4873,7 +4873,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
};
|
|
4875
4875
|
|
|
4876
|
-
var formkitVersion$2 = '
|
|
4876
|
+
var formkitVersion$2 = '202606222118';
|
|
4877
4877
|
|
|
4878
4878
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4879
4879
|
static get properties() {
|
|
@@ -18462,7 +18462,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18462
18462
|
}
|
|
18463
18463
|
};
|
|
18464
18464
|
|
|
18465
|
-
var formkitVersion$1 = '
|
|
18465
|
+
var formkitVersion$1 = '202606222118';
|
|
18466
18466
|
|
|
18467
18467
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18468
18468
|
// See LICENSE in the project root for license information.
|
|
@@ -18477,7 +18477,7 @@ var formkitVersion$1 = '202606171946';
|
|
|
18477
18477
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
18478
18478
|
* @slot helpText - Sets the help text displayed below the input.
|
|
18479
18479
|
* @slot label - Sets the label text for the input.
|
|
18480
|
-
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
18480
|
+
* @slot optionalLabel - Allows overriding the optional display text " (optional)", which appears next to the label.
|
|
18481
18481
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
18482
18482
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
18483
18483
|
* @csspart label - Use for customizing the style of the label element
|
|
@@ -19583,7 +19583,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19583
19583
|
}
|
|
19584
19584
|
}
|
|
19585
19585
|
|
|
19586
|
-
var formkitVersion = '
|
|
19586
|
+
var formkitVersion = '202606222118';
|
|
19587
19587
|
|
|
19588
19588
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19589
19589
|
|
|
@@ -22164,8 +22164,8 @@ class AuroMenu extends AuroElement {
|
|
|
22164
22164
|
// Malformed JSON (e.g. a literal string that happens to start with "[") falls back
|
|
22165
22165
|
// to a single-item array rather than throwing during render.
|
|
22166
22166
|
try {
|
|
22167
|
-
|
|
22168
|
-
return
|
|
22167
|
+
// any valid JSON starting with `[` ALWAYS parses to an array
|
|
22168
|
+
return JSON.parse(this.value);
|
|
22169
22169
|
} catch {
|
|
22170
22170
|
return [this.value];
|
|
22171
22171
|
}
|
|
@@ -4873,7 +4873,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
};
|
|
4875
4875
|
|
|
4876
|
-
var formkitVersion$2 = '
|
|
4876
|
+
var formkitVersion$2 = '202606222118';
|
|
4877
4877
|
|
|
4878
4878
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4879
4879
|
static get properties() {
|
|
@@ -18462,7 +18462,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18462
18462
|
}
|
|
18463
18463
|
};
|
|
18464
18464
|
|
|
18465
|
-
var formkitVersion$1 = '
|
|
18465
|
+
var formkitVersion$1 = '202606222118';
|
|
18466
18466
|
|
|
18467
18467
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18468
18468
|
// See LICENSE in the project root for license information.
|
|
@@ -18477,7 +18477,7 @@ var formkitVersion$1 = '202606171946';
|
|
|
18477
18477
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
18478
18478
|
* @slot helpText - Sets the help text displayed below the input.
|
|
18479
18479
|
* @slot label - Sets the label text for the input.
|
|
18480
|
-
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
18480
|
+
* @slot optionalLabel - Allows overriding the optional display text " (optional)", which appears next to the label.
|
|
18481
18481
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
18482
18482
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
18483
18483
|
* @csspart label - Use for customizing the style of the label element
|
|
@@ -19583,7 +19583,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19583
19583
|
}
|
|
19584
19584
|
}
|
|
19585
19585
|
|
|
19586
|
-
var formkitVersion = '
|
|
19586
|
+
var formkitVersion = '202606222118';
|
|
19587
19587
|
|
|
19588
19588
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19589
19589
|
|
|
@@ -22164,8 +22164,8 @@ class AuroMenu extends AuroElement {
|
|
|
22164
22164
|
// Malformed JSON (e.g. a literal string that happens to start with "[") falls back
|
|
22165
22165
|
// to a single-item array rather than throwing during render.
|
|
22166
22166
|
try {
|
|
22167
|
-
|
|
22168
|
-
return
|
|
22167
|
+
// any valid JSON starting with `[` ALWAYS parses to an array
|
|
22168
|
+
return JSON.parse(this.value);
|
|
22169
22169
|
} catch {
|
|
22170
22170
|
return [this.value];
|
|
22171
22171
|
}
|
|
@@ -4888,7 +4888,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4888
4888
|
}
|
|
4889
4889
|
};
|
|
4890
4890
|
|
|
4891
|
-
var formkitVersion$2 = '
|
|
4891
|
+
var formkitVersion$2 = '202606222118';
|
|
4892
4892
|
|
|
4893
4893
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4894
4894
|
static get properties() {
|
|
@@ -18477,7 +18477,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18477
18477
|
}
|
|
18478
18478
|
};
|
|
18479
18479
|
|
|
18480
|
-
var formkitVersion$1 = '
|
|
18480
|
+
var formkitVersion$1 = '202606222118';
|
|
18481
18481
|
|
|
18482
18482
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18483
18483
|
// See LICENSE in the project root for license information.
|
|
@@ -18492,7 +18492,7 @@ var formkitVersion$1 = '202606171946';
|
|
|
18492
18492
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
18493
18493
|
* @slot helpText - Sets the help text displayed below the input.
|
|
18494
18494
|
* @slot label - Sets the label text for the input.
|
|
18495
|
-
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
18495
|
+
* @slot optionalLabel - Allows overriding the optional display text " (optional)", which appears next to the label.
|
|
18496
18496
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
18497
18497
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
18498
18498
|
* @csspart label - Use for customizing the style of the label element
|
|
@@ -19598,7 +19598,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19598
19598
|
}
|
|
19599
19599
|
}
|
|
19600
19600
|
|
|
19601
|
-
var formkitVersion = '
|
|
19601
|
+
var formkitVersion = '202606222118';
|
|
19602
19602
|
|
|
19603
19603
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19604
19604
|
|
|
@@ -22179,8 +22179,8 @@ class AuroMenu extends AuroElement {
|
|
|
22179
22179
|
// Malformed JSON (e.g. a literal string that happens to start with "[") falls back
|
|
22180
22180
|
// to a single-item array rather than throwing during render.
|
|
22181
22181
|
try {
|
|
22182
|
-
|
|
22183
|
-
return
|
|
22182
|
+
// any valid JSON starting with `[` ALWAYS parses to an array
|
|
22183
|
+
return JSON.parse(this.value);
|
|
22184
22184
|
} catch {
|
|
22185
22185
|
return [this.value];
|
|
22186
22186
|
}
|
|
@@ -4806,7 +4806,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4806
4806
|
}
|
|
4807
4807
|
};
|
|
4808
4808
|
|
|
4809
|
-
var formkitVersion$2 = '
|
|
4809
|
+
var formkitVersion$2 = '202606222118';
|
|
4810
4810
|
|
|
4811
4811
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4812
4812
|
static get properties() {
|
|
@@ -18388,7 +18388,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18388
18388
|
}
|
|
18389
18389
|
};
|
|
18390
18390
|
|
|
18391
|
-
var formkitVersion$1 = '
|
|
18391
|
+
var formkitVersion$1 = '202606222118';
|
|
18392
18392
|
|
|
18393
18393
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18394
18394
|
// See LICENSE in the project root for license information.
|
|
@@ -18403,7 +18403,7 @@ var formkitVersion$1 = '202606171946';
|
|
|
18403
18403
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
18404
18404
|
* @slot helpText - Sets the help text displayed below the input.
|
|
18405
18405
|
* @slot label - Sets the label text for the input.
|
|
18406
|
-
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
18406
|
+
* @slot optionalLabel - Allows overriding the optional display text " (optional)", which appears next to the label.
|
|
18407
18407
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
18408
18408
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
18409
18409
|
* @csspart label - Use for customizing the style of the label element
|
|
@@ -19509,7 +19509,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19509
19509
|
}
|
|
19510
19510
|
}
|
|
19511
19511
|
|
|
19512
|
-
var formkitVersion = '
|
|
19512
|
+
var formkitVersion = '202606222118';
|
|
19513
19513
|
|
|
19514
19514
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19515
19515
|
|
|
@@ -4806,7 +4806,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4806
4806
|
}
|
|
4807
4807
|
};
|
|
4808
4808
|
|
|
4809
|
-
var formkitVersion$2 = '
|
|
4809
|
+
var formkitVersion$2 = '202606222118';
|
|
4810
4810
|
|
|
4811
4811
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4812
4812
|
static get properties() {
|
|
@@ -18388,7 +18388,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18388
18388
|
}
|
|
18389
18389
|
};
|
|
18390
18390
|
|
|
18391
|
-
var formkitVersion$1 = '
|
|
18391
|
+
var formkitVersion$1 = '202606222118';
|
|
18392
18392
|
|
|
18393
18393
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18394
18394
|
// See LICENSE in the project root for license information.
|
|
@@ -18403,7 +18403,7 @@ var formkitVersion$1 = '202606171946';
|
|
|
18403
18403
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
18404
18404
|
* @slot helpText - Sets the help text displayed below the input.
|
|
18405
18405
|
* @slot label - Sets the label text for the input.
|
|
18406
|
-
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
18406
|
+
* @slot optionalLabel - Allows overriding the optional display text " (optional)", which appears next to the label.
|
|
18407
18407
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
18408
18408
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
18409
18409
|
* @csspart label - Use for customizing the style of the label element
|
|
@@ -19509,7 +19509,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19509
19509
|
}
|
|
19510
19510
|
}
|
|
19511
19511
|
|
|
19512
|
-
var formkitVersion = '
|
|
19512
|
+
var formkitVersion = '202606222118';
|
|
19513
19513
|
|
|
19514
19514
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19515
19515
|
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606222118';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606222118';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606222118';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606222118';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -1049,7 +1049,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
};
|
|
1051
1051
|
|
|
1052
|
-
var formkitVersion$1 = '
|
|
1052
|
+
var formkitVersion$1 = '202606222118';
|
|
1053
1053
|
|
|
1054
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -5377,7 +5377,7 @@ class AuroHelpText extends LitElement {
|
|
|
5377
5377
|
}
|
|
5378
5378
|
}
|
|
5379
5379
|
|
|
5380
|
-
var formkitVersion = '
|
|
5380
|
+
var formkitVersion = '202606222118';
|
|
5381
5381
|
|
|
5382
5382
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5383
5383
|
static get properties() {
|
|
@@ -1049,7 +1049,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
};
|
|
1051
1051
|
|
|
1052
|
-
var formkitVersion$1 = '
|
|
1052
|
+
var formkitVersion$1 = '202606222118';
|
|
1053
1053
|
|
|
1054
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -5377,7 +5377,7 @@ class AuroHelpText extends LitElement {
|
|
|
5377
5377
|
}
|
|
5378
5378
|
}
|
|
5379
5379
|
|
|
5380
|
-
var formkitVersion = '
|
|
5380
|
+
var formkitVersion = '202606222118';
|
|
5381
5381
|
|
|
5382
5382
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5383
5383
|
static get properties() {
|
|
@@ -109,8 +109,8 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
109
109
|
| `fromLabel` | Defines the label content for the first input. |
|
|
110
110
|
| `helpText` | Defines the content of the helpText. |
|
|
111
111
|
| `label` | Defines the label content for the entire datepicker when `layout="snowflake"`. |
|
|
112
|
-
| `optionalFromLabel` | Overrides the "(optional)" text rendered next to the first input's label when the datepicker is not `required`. |
|
|
113
|
-
| `optionalToLabel` | Overrides the "(optional)" text rendered next to the second input's label when `range` is set and the datepicker is not `required`. |
|
|
112
|
+
| `optionalFromLabel` | Overrides the " (optional)" text rendered next to the first input's label when the datepicker is not `required`. |
|
|
113
|
+
| `optionalToLabel` | Overrides the " (optional)" text rendered next to the second input's label when `range` is set and the datepicker is not `required`. |
|
|
114
114
|
| `popover_YYYY_MM_DD` | Defines the content to display in the auro-calendar-cell popover for the specified date. |
|
|
115
115
|
| `toLabel` | Defines the label content for the second input when the `range` attribute is used. |
|
|
116
116
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AuroDatePicker } from '../src/auro-datepicker.js';
|
|
2
|
-
import {
|
|
2
|
+
import { localizationCalendarStringsExample } from '../apiExamples/localization-calendar-strings.js';
|
|
3
3
|
|
|
4
4
|
AuroDatePicker.register();
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ export function initExamples(initCount) {
|
|
|
7
7
|
initCount = initCount || 0;
|
|
8
8
|
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
localizationCalendarStringsExample();
|
|
11
11
|
} catch {
|
|
12
12
|
if (initCount <= 20) {
|
|
13
13
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
@@ -273,22 +273,23 @@
|
|
|
273
273
|
<auro-header level="4" id="localizationCalendar">Calendar</auro-header>
|
|
274
274
|
<auro-header level="5" id="localizationCalendarVisibleStrings">Visible Strings</auro-header>
|
|
275
275
|
<p>By default, the calendar weekday names rendered above the day grid and the month names rendered in the calendar header are derived from the active <code>locale</code> using the browser's <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl" target="_blank">Intl</auro-hyperlink> API, so they update automatically when <code>locale</code> changes. Use the <code>monthNames</code> attribute to override the derived month names — for example, to supply a translation the browser does not produce or to support a locale the browser does not recognize.</p>
|
|
276
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization-calendar-strings.html) -->
|
|
277
|
-
<!-- The below content is automatically added from ./../apiExamples/localization-calendar-strings.html -->
|
|
276
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization-calendar-strings-diff.html) -->
|
|
277
|
+
<!-- The below content is automatically added from ./../apiExamples/localization-calendar-strings-diff.html -->
|
|
278
278
|
|
|
279
279
|
<pre class="language-diff"><code class="language-diff">- <auro-datepicker>
|
|
280
|
-
+ <auro-datepicker monthNames='["
|
|
281
|
-
<span slot="fromLabel">
|
|
282
|
-
<span slot="helpText">
|
|
283
|
-
<span slot="optionalFromLabel">(
|
|
280
|
+
+ <auro-datepicker monthNames='["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]'>
|
|
281
|
+
<span slot="fromLabel">Salida</span>
|
|
282
|
+
<span slot="helpText">Seleccione un rango de fechas</span>
|
|
283
|
+
<span slot="optionalFromLabel">(opcional)</span>
|
|
284
284
|
</auro-datepicker></code></pre>
|
|
285
285
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
286
286
|
<p>The following live example sets <code>monthNames</code> imperatively on an <code>es-MX</code> picker:</p>
|
|
287
287
|
<div class="exampleWrapper">
|
|
288
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization.html) -->
|
|
289
|
-
<!-- The below content is automatically added from ./../apiExamples/localization.html -->
|
|
288
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization-calendar-strings.html) -->
|
|
289
|
+
<!-- The below content is automatically added from ./../apiExamples/localization-calendar-strings.html -->
|
|
290
290
|
<auro-datepicker
|
|
291
291
|
range
|
|
292
|
+
monthNames='["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]'
|
|
292
293
|
locale="es-MX"
|
|
293
294
|
rangeLabelStart="fecha de salida"
|
|
294
295
|
rangeLabelEnd="fecha de regreso"
|
|
@@ -312,10 +313,11 @@
|
|
|
312
313
|
</div>
|
|
313
314
|
<auro-accordion alignRight>
|
|
314
315
|
<span slot="trigger">See code</span>
|
|
315
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/localization.html) -->
|
|
316
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/localization.html -->
|
|
316
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/localization-calendar-strings.html) -->
|
|
317
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/localization-calendar-strings.html -->
|
|
317
318
|
<pre class="language-html"><code class="language-html"><auro-datepicker
|
|
318
319
|
range
|
|
320
|
+
monthNames='["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]'
|
|
319
321
|
locale="es-MX"
|
|
320
322
|
rangeLabelStart="fecha de salida"
|
|
321
323
|
rangeLabelEnd="fecha de regreso"
|
|
@@ -336,6 +338,21 @@
|
|
|
336
338
|
<span slot="bib.fullscreen.toLabel">Regreso</span>
|
|
337
339
|
</auro-datepicker></code></pre>
|
|
338
340
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
341
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/localization-calendar-strings.js) -->
|
|
342
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/localization-calendar-strings.js -->
|
|
343
|
+
<pre class="language-js"><code class="language-js">export function localizationCalendarStringsExample() {
|
|
344
|
+
const localizedDatepicker = document.querySelector("#localizationExample");
|
|
345
|
+
|
|
346
|
+
if (!localizedDatepicker) {
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
localizedDatepicker.monthNames = [
|
|
351
|
+
'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
|
|
352
|
+
'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre',
|
|
353
|
+
];
|
|
354
|
+
}</code></pre>
|
|
355
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
339
356
|
</auro-accordion>
|
|
340
357
|
<auro-header level="5" id="localizationCalendarA11yStrings">Screen Reader Strings</auro-header>
|
|
341
358
|
<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>
|
|
@@ -580,70 +597,8 @@
|
|
|
580
597
|
</div></code></pre>
|
|
581
598
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
582
599
|
</auro-accordion>
|
|
583
|
-
<auro-header level="4" id="
|
|
584
|
-
<p>
|
|
585
|
-
<p>The localized value is a compact summary — by design it uses a fixed <code>{ month: 'short', day: '2-digit' }</code> shape and does <strong>not</strong> reflect the <code>format</code> attribute. <code>format</code> governs the input mask only. To render it differently (for example, to include the year or honor a custom format), project content into the <code>displayValue</code> slot.</p>
|
|
586
|
-
<div class="exampleWrapper--ondark">
|
|
587
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake-locale.html) -->
|
|
588
|
-
<!-- The below content is automatically added from ./../apiExamples/snowflake-locale.html -->
|
|
589
|
-
<p class="body-sm" style="color: var(--ds-basic-color-texticon-inverse);"><strong><code>locale="fr-FR"</code></strong> — derives <code>dd/mm/yyyy</code> from the locale. Mask: <code>DD/MM/YYYY</code>.</p>
|
|
590
|
-
<auro-datepicker layout="snowflake" shape="snowflake" appearance="inverse" locale="fr-FR">
|
|
591
|
-
<span slot="label">Date de départ</span>
|
|
592
|
-
<span slot="bib.fullscreen.headline">Choisir une date</span>
|
|
593
|
-
<span slot="fromLabel">Date de départ</span>
|
|
594
|
-
<span slot="bib.fullscreen.fromLabel">Date de départ</span>
|
|
595
|
-
<span slot="helpText">Texte d'aide</span>
|
|
596
|
-
</auro-datepicker>
|
|
597
|
-
<p class="body-sm" style="color: var(--ds-basic-color-texticon-inverse);"><strong><code>locale="ja-JP"</code>, range</strong> — derives <code>yyyy/mm/dd</code>. Mask: <code>YYYY/MM/DD</code>.</p>
|
|
598
|
-
<auro-datepicker layout="snowflake" shape="snowflake" appearance="inverse" locale="ja-JP" range>
|
|
599
|
-
<span slot="label">出発日 / 帰国日</span>
|
|
600
|
-
<span slot="bib.fullscreen.headline">日付を選択</span>
|
|
601
|
-
<span slot="fromLabel">出発日</span>
|
|
602
|
-
<span slot="toLabel">帰国日</span>
|
|
603
|
-
<span slot="bib.fullscreen.fromLabel">出発日</span>
|
|
604
|
-
<span slot="bib.fullscreen.toLabel">帰国日</span>
|
|
605
|
-
</auro-datepicker>
|
|
606
|
-
<p class="body-sm" style="color: var(--ds-basic-color-texticon-inverse);"><strong><code>locale="fr-FR"</code> + explicit <code>format="yyyy/mm/dd"</code></strong> — explicit format wins for the mask, but the localized value is rendered the same as the first picker (it ignores <code>format</code>).</p>
|
|
607
|
-
<auro-datepicker layout="snowflake" shape="snowflake" appearance="inverse" locale="fr-FR" format="yyyy/mm/dd">
|
|
608
|
-
<span slot="label">Date avec format explicite</span>
|
|
609
|
-
<span slot="bib.fullscreen.headline">Choisir une date</span>
|
|
610
|
-
<span slot="fromLabel">Date avec format explicite</span>
|
|
611
|
-
<span slot="bib.fullscreen.fromLabel">Date avec format explicite</span>
|
|
612
|
-
</auro-datepicker>
|
|
613
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
614
|
-
</div>
|
|
615
|
-
<auro-accordion alignRight>
|
|
616
|
-
<span slot="trigger">See code</span>
|
|
617
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/snowflake-locale.html) -->
|
|
618
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/snowflake-locale.html -->
|
|
619
|
-
<pre class="language-html"><code class="language-html"><p class="body-sm" style="color: var(--ds-basic-color-texticon-inverse);"><strong><code>locale="fr-FR"</code></strong> — derives <code>dd/mm/yyyy</code> from the locale. Mask: <code>DD/MM/YYYY</code>.</p>
|
|
620
|
-
<auro-datepicker layout="snowflake" shape="snowflake" appearance="inverse" locale="fr-FR">
|
|
621
|
-
<span slot="label">Date de départ</span>
|
|
622
|
-
<span slot="bib.fullscreen.headline">Choisir une date</span>
|
|
623
|
-
<span slot="fromLabel">Date de départ</span>
|
|
624
|
-
<span slot="bib.fullscreen.fromLabel">Date de départ</span>
|
|
625
|
-
<span slot="helpText">Texte d'aide</span>
|
|
626
|
-
</auro-datepicker>
|
|
627
|
-
|
|
628
|
-
<p class="body-sm" style="color: var(--ds-basic-color-texticon-inverse);"><strong><code>locale="ja-JP"</code>, range</strong> — derives <code>yyyy/mm/dd</code>. Mask: <code>YYYY/MM/DD</code>.</p>
|
|
629
|
-
<auro-datepicker layout="snowflake" shape="snowflake" appearance="inverse" locale="ja-JP" range>
|
|
630
|
-
<span slot="label">出発日 / 帰国日</span>
|
|
631
|
-
<span slot="bib.fullscreen.headline">日付を選択</span>
|
|
632
|
-
<span slot="fromLabel">出発日</span>
|
|
633
|
-
<span slot="toLabel">帰国日</span>
|
|
634
|
-
<span slot="bib.fullscreen.fromLabel">出発日</span>
|
|
635
|
-
<span slot="bib.fullscreen.toLabel">帰国日</span>
|
|
636
|
-
</auro-datepicker>
|
|
637
|
-
|
|
638
|
-
<p class="body-sm" style="color: var(--ds-basic-color-texticon-inverse);"><strong><code>locale="fr-FR"</code> + explicit <code>format="yyyy/mm/dd"</code></strong> — explicit format wins for the mask, but the localized value is rendered the same as the first picker (it ignores <code>format</code>).</p>
|
|
639
|
-
<auro-datepicker layout="snowflake" shape="snowflake" appearance="inverse" locale="fr-FR" format="yyyy/mm/dd">
|
|
640
|
-
<span slot="label">Date avec format explicite</span>
|
|
641
|
-
<span slot="bib.fullscreen.headline">Choisir une date</span>
|
|
642
|
-
<span slot="fromLabel">Date avec format explicite</span>
|
|
643
|
-
<span slot="bib.fullscreen.fromLabel">Date avec format explicite</span>
|
|
644
|
-
</auro-datepicker></code></pre>
|
|
645
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
646
|
-
</auro-accordion>
|
|
600
|
+
<auro-header level="4" id="localizationTypography">Typography Note</auro-header>
|
|
601
|
+
<p>Full-width CJK punctuation such as <code>(</code> and <code>)</code> (U+FF08, U+FF09) carries a half-em of intrinsic side bearing baked into the glyph. When consumer-supplied content like <code><span slot="optionalFromLabel">(任意)</span></code> renders next to non-CJK label text, that built-in space can read as a visible gap. The whitespace is part of the glyph metrics, not text content — trimming the string or editing the HTML will not remove it. Any adjustment is a typographic decision for the consuming app.</p>
|
|
647
602
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
648
603
|
<auro-header level="3" id="layout">Shape, Size & Layout</auro-header>
|
|
649
604
|
<p>The <code>shape</code>, <code>size</code> and <code>layout</code> attributes work in collaboration to control the overall architecture of the component.</p>
|
|
@@ -13439,7 +13439,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13439
13439
|
}
|
|
13440
13440
|
}
|
|
13441
13441
|
|
|
13442
|
-
var formkitVersion$2 = '
|
|
13442
|
+
var formkitVersion$2 = '202606222118';
|
|
13443
13443
|
|
|
13444
13444
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-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])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
13445
13445
|
`,u$6=i$3`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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-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-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-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-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-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-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-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-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-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-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-weight:var(--wcss-heading-xs-weight, 450);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-weight:var(--wcss-heading-2xs-weight, 450);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-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-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-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-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-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-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-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,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;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;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -18974,7 +18974,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
18974
18974
|
}
|
|
18975
18975
|
};
|
|
18976
18976
|
|
|
18977
|
-
var formkitVersion$1 = '
|
|
18977
|
+
var formkitVersion$1 = '202606222118';
|
|
18978
18978
|
|
|
18979
18979
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
18980
18980
|
static get properties() {
|
|
@@ -32563,7 +32563,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
32563
32563
|
}
|
|
32564
32564
|
};
|
|
32565
32565
|
|
|
32566
|
-
var formkitVersion = '
|
|
32566
|
+
var formkitVersion = '202606222118';
|
|
32567
32567
|
|
|
32568
32568
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32569
32569
|
// See LICENSE in the project root for license information.
|
|
@@ -32578,7 +32578,7 @@ var formkitVersion = '202606171946';
|
|
|
32578
32578
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
32579
32579
|
* @slot helpText - Sets the help text displayed below the input.
|
|
32580
32580
|
* @slot label - Sets the label text for the input.
|
|
32581
|
-
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
32581
|
+
* @slot optionalLabel - Allows overriding the optional display text " (optional)", which appears next to the label.
|
|
32582
32582
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
32583
32583
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
32584
32584
|
* @csspart label - Use for customizing the style of the label element
|
|
@@ -33983,8 +33983,8 @@ const datepickerKeyboardStrategy = {
|
|
|
33983
33983
|
* @slot label - Defines the label content for the entire datepicker when `layout="snowflake"`.
|
|
33984
33984
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
33985
33985
|
* @slot fromLabel - Defines the label content for the first input.
|
|
33986
|
-
* @slot optionalFromLabel - Overrides the "(optional)" text rendered next to the first input's label when the datepicker is not `required`.
|
|
33987
|
-
* @slot optionalToLabel - Overrides the "(optional)" text rendered next to the second input's label when `range` is set and the datepicker is not `required`.
|
|
33986
|
+
* @slot optionalFromLabel - Overrides the " (optional)" text rendered next to the first input's label when the datepicker is not `required`.
|
|
33987
|
+
* @slot optionalToLabel - Overrides the " (optional)" text rendered next to the second input's label when `range` is set and the datepicker is not `required`.
|
|
33988
33988
|
* @slot date_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot.
|
|
33989
33989
|
* @slot popover_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell popover for the specified date.
|
|
33990
33990
|
* @csspart dropdown - Use for customizing the style of the dropdown.
|
|
@@ -35977,7 +35977,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35977
35977
|
}
|
|
35978
35978
|
<span slot="ariaLabel.clear">${this.runtimeUtils.getSlotText(this, 'ariaLabel.input.clear') || i18n(this.lang, 'clearInput')}</span>
|
|
35979
35979
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
35980
|
-
<
|
|
35980
|
+
<slot name="optionalFromLabel" slot="optionalLabel"> (optional)</slot>
|
|
35981
35981
|
</${this.inputTag}>
|
|
35982
35982
|
</div>
|
|
35983
35983
|
|
|
@@ -36022,7 +36022,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36022
36022
|
}
|
|
36023
36023
|
<span slot="ariaLabel.clear">${this.runtimeUtils.getSlotText(this, 'ariaLabel.input.clear') || this.runtimeUtils.getSlotText(this, 'ariaLabel.input.clear') || i18n(this.lang, 'clearInput')}</span>
|
|
36024
36024
|
<span slot="label"><slot name="toLabel"></slot></span>
|
|
36025
|
-
<
|
|
36025
|
+
<slot name="optionalToLabel" slot="optionalLabel"> (optional)</slot>
|
|
36026
36026
|
</${this.inputTag}>
|
|
36027
36027
|
</div>
|
|
36028
36028
|
` : undefined}
|
|
@@ -36223,7 +36223,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36223
36223
|
}
|
|
36224
36224
|
}
|
|
36225
36225
|
|
|
36226
|
-
function
|
|
36226
|
+
function localizationCalendarStringsExample() {
|
|
36227
36227
|
const localizedDatepicker = document.querySelector("#localizationExample");
|
|
36228
36228
|
|
|
36229
36229
|
if (!localizedDatepicker) {
|
|
@@ -36242,7 +36242,7 @@ function initExamples(initCount) {
|
|
|
36242
36242
|
initCount = initCount || 0;
|
|
36243
36243
|
|
|
36244
36244
|
try {
|
|
36245
|
-
|
|
36245
|
+
localizationCalendarStringsExample();
|
|
36246
36246
|
} catch {
|
|
36247
36247
|
if (initCount <= 20) {
|
|
36248
36248
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|