@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.13 → 0.0.0-pr1628.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.md +39 -38
- package/components/combobox/demo/css-only.md +2 -2
- package/components/combobox/demo/customize.md +50 -2
- package/components/combobox/demo/customize.min.js +13 -4
- package/components/combobox/demo/design.md +2 -0
- package/components/combobox/demo/getting-started.md +9 -7
- package/components/combobox/demo/getting-started.min.js +13 -4
- package/components/combobox/demo/index.md +4 -0
- package/components/combobox/demo/index.min.js +13 -4
- package/components/combobox/dist/auro-combobox.d.ts +10 -1
- package/components/combobox/dist/index.js +13 -4
- package/components/combobox/dist/registered.js +13 -4
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/getting-started.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/accessibility.md +3 -3
- package/components/datepicker/demo/api.md +7 -8
- package/components/datepicker/demo/css-only.md +1 -1
- package/components/datepicker/demo/customize.md +2 -2
- package/components/datepicker/demo/customize.min.js +24 -24
- package/components/datepicker/demo/getting-started.md +6 -3
- package/components/datepicker/demo/getting-started.min.js +24 -24
- package/components/datepicker/demo/index.min.js +24 -24
- package/components/datepicker/demo/voiceover.md +2 -2
- package/components/datepicker/dist/auro-calendar-cell.d.ts +3 -2
- package/components/datepicker/dist/auro-calendar-month.d.ts +2 -1
- package/components/datepicker/dist/auro-calendar.d.ts +8 -7
- package/components/datepicker/dist/auro-datepicker.d.ts +6 -9
- package/components/datepicker/dist/index.js +24 -24
- package/components/datepicker/dist/registered.js +24 -24
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +1 -1
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +2 -2
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/css-only.md +2 -2
- package/components/form/demo/customize.md +24 -12
- package/components/form/demo/customize.min.js +47 -37
- package/components/form/demo/getting-started.md +23 -11
- package/components/form/demo/getting-started.min.js +47 -37
- package/components/form/demo/index.min.js +47 -37
- package/components/form/demo/registerDemoDeps.min.js +44 -35
- package/components/form/demo/why-form.md +2 -2
- package/components/form/dist/auro-form.d.ts +3 -2
- package/components/form/dist/index.js +3 -2
- package/components/form/dist/registered.js +3 -2
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +27 -2208
- package/package.json +1 -1
|
@@ -180,6 +180,7 @@
|
|
|
180
180
|
<span slot="bib.fullscreen.headline">Left combobox header</span>
|
|
181
181
|
<span slot="label">Name</span>
|
|
182
182
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
183
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
183
184
|
<auro-menu>
|
|
184
185
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
185
186
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -201,6 +202,7 @@
|
|
|
201
202
|
<span slot="bib.fullscreen.headline">Right combobox header</span>
|
|
202
203
|
<span slot="label">Name</span>
|
|
203
204
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
205
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
204
206
|
<auro-menu>
|
|
205
207
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
206
208
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -236,6 +238,7 @@
|
|
|
236
238
|
<span slot="bib.fullscreen.headline">Left combobox header</span>
|
|
237
239
|
<span slot="label">Name</span>
|
|
238
240
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
241
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
239
242
|
<auro-menu>
|
|
240
243
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
241
244
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -257,6 +260,7 @@
|
|
|
257
260
|
<span slot="bib.fullscreen.headline">Right combobox header</span>
|
|
258
261
|
<span slot="label">Name</span>
|
|
259
262
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
263
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
260
264
|
<auro-menu>
|
|
261
265
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
262
266
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -5314,7 +5314,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5314
5314
|
}
|
|
5315
5315
|
};
|
|
5316
5316
|
|
|
5317
|
-
var formkitVersion$2 = '
|
|
5317
|
+
var formkitVersion$2 = '202611092125';
|
|
5318
5318
|
|
|
5319
5319
|
/**
|
|
5320
5320
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -19498,7 +19498,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19498
19498
|
}
|
|
19499
19499
|
};
|
|
19500
19500
|
|
|
19501
|
-
var formkitVersion$1 = '
|
|
19501
|
+
var formkitVersion$1 = '202611092125';
|
|
19502
19502
|
|
|
19503
19503
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19504
19504
|
// See LICENSE in the project root for license information.
|
|
@@ -20784,7 +20784,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20784
20784
|
}
|
|
20785
20785
|
}
|
|
20786
20786
|
|
|
20787
|
-
var formkitVersion = '
|
|
20787
|
+
var formkitVersion = '202611092125';
|
|
20788
20788
|
|
|
20789
20789
|
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}`;
|
|
20790
20790
|
|
|
@@ -21242,6 +21242,7 @@ function getOptionLabel(option) {
|
|
|
21242
21242
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
21243
21243
|
* <span slot="label">Destination</span>
|
|
21244
21244
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
21245
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
21245
21246
|
* <auro-menu>
|
|
21246
21247
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
21247
21248
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -21800,7 +21801,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21800
21801
|
|
|
21801
21802
|
/**
|
|
21802
21803
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
21803
|
-
* A value that matches
|
|
21804
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
21804
21805
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
21805
21806
|
* @category behavior
|
|
21806
21807
|
*/
|
|
@@ -22401,6 +22402,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22401
22402
|
}
|
|
22402
22403
|
|
|
22403
22404
|
/**
|
|
22405
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
22406
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
22407
|
+
* such as after a click selection closes the bib.
|
|
22404
22408
|
* @private
|
|
22405
22409
|
*/
|
|
22406
22410
|
setClearBtnFocus() {
|
|
@@ -22420,6 +22424,8 @@ class AuroCombobox extends AuroElement {
|
|
|
22420
22424
|
}
|
|
22421
22425
|
|
|
22422
22426
|
/**
|
|
22427
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
22428
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
22423
22429
|
* @private
|
|
22424
22430
|
*/
|
|
22425
22431
|
setTriggerInputFocus() {
|
|
@@ -22434,6 +22440,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22434
22440
|
}
|
|
22435
22441
|
|
|
22436
22442
|
/**
|
|
22443
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
22444
|
+
* or the trigger input otherwise.
|
|
22445
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
22437
22446
|
* @private
|
|
22438
22447
|
*/
|
|
22439
22448
|
setInputFocus() {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
16
16
|
* <span slot="label">Destination</span>
|
|
17
17
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
18
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
18
19
|
* <auro-menu>
|
|
19
20
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
20
21
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -379,7 +380,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
379
380
|
};
|
|
380
381
|
/**
|
|
381
382
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
382
|
-
* A value that matches
|
|
383
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
383
384
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
384
385
|
* @category behavior
|
|
385
386
|
*/
|
|
@@ -594,14 +595,22 @@ export class AuroCombobox extends AuroElement {
|
|
|
594
595
|
bibtemplate: any;
|
|
595
596
|
inputInBib: any;
|
|
596
597
|
/**
|
|
598
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
599
|
+
* or the trigger input otherwise.
|
|
600
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
597
601
|
* @private
|
|
598
602
|
*/
|
|
599
603
|
private setInputFocus;
|
|
600
604
|
/**
|
|
605
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
606
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
607
|
+
* such as after a click selection closes the bib.
|
|
601
608
|
* @private
|
|
602
609
|
*/
|
|
603
610
|
private setClearBtnFocus;
|
|
604
611
|
/**
|
|
612
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
613
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
605
614
|
* @private
|
|
606
615
|
*/
|
|
607
616
|
private setTriggerInputFocus;
|
|
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5232
5232
|
}
|
|
5233
5233
|
};
|
|
5234
5234
|
|
|
5235
|
-
var formkitVersion$2 = '
|
|
5235
|
+
var formkitVersion$2 = '202611092125';
|
|
5236
5236
|
|
|
5237
5237
|
/**
|
|
5238
5238
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -19409,7 +19409,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
19409
19409
|
}
|
|
19410
19410
|
};
|
|
19411
19411
|
|
|
19412
|
-
var formkitVersion$1 = '
|
|
19412
|
+
var formkitVersion$1 = '202611092125';
|
|
19413
19413
|
|
|
19414
19414
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19415
19415
|
// See LICENSE in the project root for license information.
|
|
@@ -20695,7 +20695,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
20695
20695
|
}
|
|
20696
20696
|
}
|
|
20697
20697
|
|
|
20698
|
-
var formkitVersion = '
|
|
20698
|
+
var formkitVersion = '202611092125';
|
|
20699
20699
|
|
|
20700
20700
|
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}`;
|
|
20701
20701
|
|
|
@@ -21153,6 +21153,7 @@ function getOptionLabel(option) {
|
|
|
21153
21153
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
21154
21154
|
* <span slot="label">Destination</span>
|
|
21155
21155
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
21156
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
21156
21157
|
* <auro-menu>
|
|
21157
21158
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
21158
21159
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -21711,7 +21712,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21711
21712
|
|
|
21712
21713
|
/**
|
|
21713
21714
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
21714
|
-
* A value that matches
|
|
21715
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
21715
21716
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
21716
21717
|
* @category behavior
|
|
21717
21718
|
*/
|
|
@@ -22312,6 +22313,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22312
22313
|
}
|
|
22313
22314
|
|
|
22314
22315
|
/**
|
|
22316
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
22317
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
22318
|
+
* such as after a click selection closes the bib.
|
|
22315
22319
|
* @private
|
|
22316
22320
|
*/
|
|
22317
22321
|
setClearBtnFocus() {
|
|
@@ -22331,6 +22335,8 @@ class AuroCombobox extends AuroElement {
|
|
|
22331
22335
|
}
|
|
22332
22336
|
|
|
22333
22337
|
/**
|
|
22338
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
22339
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
22334
22340
|
* @private
|
|
22335
22341
|
*/
|
|
22336
22342
|
setTriggerInputFocus() {
|
|
@@ -22345,6 +22351,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22345
22351
|
}
|
|
22346
22352
|
|
|
22347
22353
|
/**
|
|
22354
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
22355
|
+
* or the trigger input otherwise.
|
|
22356
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
22348
22357
|
* @private
|
|
22349
22358
|
*/
|
|
22350
22359
|
setInputFocus() {
|
|
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5232
5232
|
}
|
|
5233
5233
|
};
|
|
5234
5234
|
|
|
5235
|
-
var formkitVersion$2 = '
|
|
5235
|
+
var formkitVersion$2 = '202611092125';
|
|
5236
5236
|
|
|
5237
5237
|
/**
|
|
5238
5238
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -19409,7 +19409,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
19409
19409
|
}
|
|
19410
19410
|
};
|
|
19411
19411
|
|
|
19412
|
-
var formkitVersion$1 = '
|
|
19412
|
+
var formkitVersion$1 = '202611092125';
|
|
19413
19413
|
|
|
19414
19414
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19415
19415
|
// See LICENSE in the project root for license information.
|
|
@@ -20695,7 +20695,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
20695
20695
|
}
|
|
20696
20696
|
}
|
|
20697
20697
|
|
|
20698
|
-
var formkitVersion = '
|
|
20698
|
+
var formkitVersion = '202611092125';
|
|
20699
20699
|
|
|
20700
20700
|
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}`;
|
|
20701
20701
|
|
|
@@ -21153,6 +21153,7 @@ function getOptionLabel(option) {
|
|
|
21153
21153
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
21154
21154
|
* <span slot="label">Destination</span>
|
|
21155
21155
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
21156
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
21156
21157
|
* <auro-menu>
|
|
21157
21158
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
21158
21159
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -21711,7 +21712,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21711
21712
|
|
|
21712
21713
|
/**
|
|
21713
21714
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
21714
|
-
* A value that matches
|
|
21715
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
21715
21716
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
21716
21717
|
* @category behavior
|
|
21717
21718
|
*/
|
|
@@ -22312,6 +22313,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22312
22313
|
}
|
|
22313
22314
|
|
|
22314
22315
|
/**
|
|
22316
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
22317
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
22318
|
+
* such as after a click selection closes the bib.
|
|
22315
22319
|
* @private
|
|
22316
22320
|
*/
|
|
22317
22321
|
setClearBtnFocus() {
|
|
@@ -22331,6 +22335,8 @@ class AuroCombobox extends AuroElement {
|
|
|
22331
22335
|
}
|
|
22332
22336
|
|
|
22333
22337
|
/**
|
|
22338
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
22339
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
22334
22340
|
* @private
|
|
22335
22341
|
*/
|
|
22336
22342
|
setTriggerInputFocus() {
|
|
@@ -22345,6 +22351,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22345
22351
|
}
|
|
22346
22352
|
|
|
22347
22353
|
/**
|
|
22354
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
22355
|
+
* or the trigger input otherwise.
|
|
22356
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
22348
22357
|
* @private
|
|
22349
22358
|
*/
|
|
22350
22359
|
setInputFocus() {
|
|
@@ -1166,7 +1166,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
1168
|
|
|
1169
|
-
var formkitVersion$1 = '
|
|
1169
|
+
var formkitVersion$1 = '202611092125';
|
|
1170
1170
|
|
|
1171
1171
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1172
1172
|
// See LICENSE in the project root for license information.
|
|
@@ -5781,7 +5781,7 @@ class AuroHelpText extends i$1 {
|
|
|
5781
5781
|
}
|
|
5782
5782
|
}
|
|
5783
5783
|
|
|
5784
|
-
var formkitVersion = '
|
|
5784
|
+
var formkitVersion = '202611092125';
|
|
5785
5785
|
|
|
5786
5786
|
/**
|
|
5787
5787
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -1164,7 +1164,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
|
|
1167
|
-
var formkitVersion$1 = '
|
|
1167
|
+
var formkitVersion$1 = '202611092125';
|
|
1168
1168
|
|
|
1169
1169
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1170
1170
|
// See LICENSE in the project root for license information.
|
|
@@ -5779,7 +5779,7 @@ class AuroHelpText extends i$2 {
|
|
|
5779
5779
|
}
|
|
5780
5780
|
}
|
|
5781
5781
|
|
|
5782
|
-
var formkitVersion = '
|
|
5782
|
+
var formkitVersion = '202611092125';
|
|
5783
5783
|
|
|
5784
5784
|
/**
|
|
5785
5785
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -1164,7 +1164,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
|
|
1167
|
-
var formkitVersion$1 = '
|
|
1167
|
+
var formkitVersion$1 = '202611092125';
|
|
1168
1168
|
|
|
1169
1169
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1170
1170
|
// See LICENSE in the project root for license information.
|
|
@@ -5779,7 +5779,7 @@ class AuroHelpText extends i$2 {
|
|
|
5779
5779
|
}
|
|
5780
5780
|
}
|
|
5781
5781
|
|
|
5782
|
-
var formkitVersion = '
|
|
5782
|
+
var formkitVersion = '202611092125';
|
|
5783
5783
|
|
|
5784
5784
|
/**
|
|
5785
5785
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202611092125';
|
|
1118
1118
|
|
|
1119
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1120
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5711,7 +5711,7 @@ class AuroHelpText extends LitElement {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
}
|
|
5713
5713
|
|
|
5714
|
-
var formkitVersion = '
|
|
5714
|
+
var formkitVersion = '202611092125';
|
|
5715
5715
|
|
|
5716
5716
|
/**
|
|
5717
5717
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202611092125';
|
|
1118
1118
|
|
|
1119
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1120
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5711,7 +5711,7 @@ class AuroHelpText extends LitElement {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
}
|
|
5713
5713
|
|
|
5714
|
-
var formkitVersion = '
|
|
5714
|
+
var formkitVersion = '202611092125';
|
|
5715
5715
|
|
|
5716
5716
|
/**
|
|
5717
5717
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -34,9 +34,9 @@ The calendar uses the WAI-ARIA grid pattern for screen reader navigation:
|
|
|
34
34
|
| `role="grid"` | Calendar table | Identifies each month's days as a grid. The month heading above the grid is visible text that screen readers can reach, but it isn't linked to the grid as its name. The live region described below announces month changes. |
|
|
35
35
|
| `role="rowgroup"` | Body group | Groups the week rows. |
|
|
36
36
|
| `role="row"` | Week row | Groups each week of date cells. |
|
|
37
|
-
| `role="columnheader"` | Day-of-week header | Each weekday cell in the header row
|
|
37
|
+
| `role="columnheader"` | Day-of-week header | Each weekday cell in the header row shows the narrow day name, such as "S" in `en-US`, and gives screen readers the full localized day name with `aria-label`, for example `aria-label="Sunday"`. |
|
|
38
38
|
| `role="gridcell"` | In-range date cell | Each selectable date cell. Includes `aria-selected`, `aria-current="date"` (for today), and an `aria-label` on the host with the full localized date string. |
|
|
39
|
-
| Out-of-range date cell | Cells outside the
|
|
39
|
+
| Out-of-range date cell | Cells outside the `minDate` to `maxDate` range | The button uses the native `disabled` attribute (spec-compliant way to express "not actionable" on a `<button>`) and is filtered out of keyboard navigation. The host cell drops its `role` and `aria-label` so screen readers don't browse into it. No `aria-hidden` or `role="presentation"` is applied. |
|
|
40
40
|
| `aria-disabled="true"` | Blackout date cell | Cells for the dates in `blackoutDates`. Unlike out-of-range cells, blackout cells **remain reachable** with the arrow keys, so screen reader users can discover them. The cell's label adds the `blackoutLabel` text, ", unavailable" by default, to say the date can't be selected. |
|
|
41
41
|
| `aria-selected` | Date cell host | `"true"` for the selected date(s), `"false"` for all other in-range cells. |
|
|
42
42
|
| Accessible name | Date cell host | Provided via `aria-label` on the cell host element, kept in sync as the date and selection change, with the button's inner content marked `aria-hidden="true"` so screen readers don't double-announce. Localized label built from `Intl.DateTimeFormat` (weekday, month, day, year), plus any date slot content, such as a price, any popover slot content, the range position label, such as "range start", and availability status (", unavailable" for blackout dates). |
|
|
@@ -73,7 +73,7 @@ WCAG 2.1 SC 4.1.3 (Status Messages) generally recommends `aria-live="polite"` fo
|
|
|
73
73
|
- **Interruption mitigation**: The calendar waits 150 ms after the last arrow key before it announces, so screen readers hear only the final cell after a burst of arrow keys. Rapid navigation produces one announcement per pause, not one per keystroke, which minimizes the interruption cost of `assertive`.
|
|
74
74
|
- **Scope**: The same live region is reused for date selection and month-change announcements, all of which are user-initiated and expected. It's never used for background/system-generated updates.
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
If you audit against APG or WCAG 4.1.3, treat this as an intentional, documented trade-off between spec-preferred politeness and reliable VoiceOver support.
|
|
77
77
|
|
|
78
78
|
<auro-header level="2" id="accessibleLabels">Accessible labels</auro-header>
|
|
79
79
|
- The `fromLabel` slot content is used as the accessible name for the first date input. It's also forwarded to the dropdown bib as the dialog's accessible name (`aria-labelledby`).
|
|
@@ -63,12 +63,12 @@ A date field that lets people type a date or choose it from a calendar, includin
|
|
|
63
63
|
| minDateObject | | readonly | Date \| undefined | | behavior | | Gets `minDate` as a `Date` object, or `undefined` when `minDate` is empty or isn't a valid date. |
|
|
64
64
|
| noValidate | novalidate | | boolean | `false` | behavior | | Turns off the automatic validation that runs when focus leaves the datepicker. Changing the end date of a range or `blackoutDates` still validates it. |
|
|
65
65
|
| range | range | | boolean | `false` | behavior | | Lets people choose a start date and an end date. Adds a second input for the end date, and on larger screens the calendar shows two months side by side. |
|
|
66
|
-
| required | required | | boolean | `false` | behavior |
|
|
67
|
-
| setCustomValidity | setcustomvalidity | | string | | behavior |
|
|
68
|
-
| setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior |
|
|
69
|
-
| setCustomValidityRangeOverflow | setcustomvalidityrangeoverflow | | string | | behavior |
|
|
70
|
-
| setCustomValidityRangeUnderflow | setcustomvalidityrangeunderflow | | string | | behavior |
|
|
71
|
-
| setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior |
|
|
66
|
+
| required | required | | boolean | `false` | behavior | | Makes a date required. When it's empty, validation fails with `valueMissing`, and in a range, both dates are required. When not set, each input's label shows "(optional)". |
|
|
67
|
+
| setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of validation error except a blackout date, in place of the built-in messages and the other `setCustomValidity` messages. For a blackout date, use `setCustomValidityCustomError`. |
|
|
68
|
+
| setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | | Sets the error message shown when `validity` is `customError`, in place of the `error` text. It also replaces the "Selected date is unavailable" message shown when someone types a blackout date. |
|
|
69
|
+
| setCustomValidityRangeOverflow | setcustomvalidityrangeoverflow | | string | | behavior | | Sets the error message shown when the date is later than `maxDate` (`rangeOverflow`). |
|
|
70
|
+
| setCustomValidityRangeUnderflow | setcustomvalidityrangeunderflow | | string | | behavior | | Sets the error message shown when the date is earlier than `minDate` (`rangeUnderflow`). |
|
|
71
|
+
| setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | | Sets the error message shown when `required` is set and no date is chosen (`valueMissing`). |
|
|
72
72
|
| validity | validity | | string | `undefined` | behavior | | Reports the datepicker's current validation state, such as `valid`, `valueMissing`, `rangeOverflow`, or `customError`. The datepicker sets it when it validates, so read it instead of setting it. |
|
|
73
73
|
| value | value | | string | `undefined` | behavior | | Sets the chosen date, or the start date of a range, as an ISO date string such as `2025-04-21`. |
|
|
74
74
|
| valueEnd | valueend | | string | `undefined` | behavior | `range` | Sets the end date of a range, as an ISO date string such as `2025-04-28`. When it's earlier than `value`, the datepicker clears it. |
|
|
@@ -91,12 +91,11 @@ A date field that lets people type a date or choose it from a calendar, includin
|
|
|
91
91
|
|
|
92
92
|
| Name | Parameters | Return | Description |
|
|
93
93
|
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
94
|
-
| clear | None | void | Clears the chosen dates
|
|
94
|
+
| clear | None | void | Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date. |
|
|
95
95
|
| focus | `focusInput` (String) - The input to focus. Use `endDate` for the end date input of a range, or leave it out for the start date input. | void | Moves keyboard focus to the start date input, or to the end date input of a range. |
|
|
96
96
|
| hideBib | None | void | Closes the calendar if it's open. |
|
|
97
97
|
| register | `name` (string) - The tag name to register the element under. | | Registers the element with the browser under a tag name. |
|
|
98
98
|
| reset | None | void | Clears the chosen dates and the validation state. |
|
|
99
|
-
| resetInputs | None | | Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date. |
|
|
100
99
|
| resetLayoutClasses | None | void | Sets the `layout-*` class on the `.wrapper` element to match the current `layout`, such as `layout-classic`. Does nothing when `layout` isn't set or there's no `.wrapper` element. |
|
|
101
100
|
| resetShapeClasses | None | void | Sets the `shape-*` class on the `.wrapper` element to match the current `shape` and `size`, such as `shape-rounded-lg`, or to `shape-none` when either isn't set. Does nothing when there's no `.wrapper` element. |
|
|
102
101
|
| showBib | None | void | Opens the calendar if it's closed. |
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
height: var(--ds-size-600, 3rem);
|
|
14
14
|
padding: 0 var(--ds-size-200, 1rem);
|
|
15
15
|
border: 1px solid var(--ds-basic-color-border-bold, #585e67);
|
|
16
|
-
border-radius: var(--ds-border-radius,
|
|
16
|
+
border-radius: var(--ds-border-radius, 0.375rem);
|
|
17
17
|
background-color: var(--ds-basic-color-surface-default, #ffffff);
|
|
18
18
|
color: var(--ds-basic-color-texticon-default, #2a2a2a);
|
|
19
19
|
font-family: var(--ds-font-family-default, sans-serif);
|
|
@@ -892,7 +892,7 @@
|
|
|
892
892
|
<!-- The below content is automatically added from ./../apiExamples/validity.html -->
|
|
893
893
|
<auro-datepicker required setCustomValidityValueMissing="Please select a departure date.">
|
|
894
894
|
<span slot="ariaLabel.bib.close">Close calendar</span>
|
|
895
|
-
<span slot="bib.fullscreen.headline">
|
|
895
|
+
<span slot="bib.fullscreen.headline">Custom validation example</span>
|
|
896
896
|
<span slot="fromLabel">Choose a date</span>
|
|
897
897
|
<span slot="bib.fullscreen.fromLabel">Choose a date</span>
|
|
898
898
|
</auro-datepicker>
|
|
@@ -905,7 +905,7 @@
|
|
|
905
905
|
|
|
906
906
|
<pre class="language-html"><code class="language-html"><auro-datepicker required setCustomValidityValueMissing="Please select a departure date.">
|
|
907
907
|
<span slot="ariaLabel.bib.close">Close calendar</span>
|
|
908
|
-
<span slot="bib.fullscreen.headline">
|
|
908
|
+
<span slot="bib.fullscreen.headline">Custom validation example</span>
|
|
909
909
|
<span slot="fromLabel">Choose a date</span>
|
|
910
910
|
<span slot="bib.fullscreen.fromLabel">Choose a date</span>
|
|
911
911
|
</auro-datepicker></code></pre>
|