@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.8 → 0.0.0-pr1628.9
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/README.md +1 -1
- package/components/checkbox/demo/accessibility.md +2 -2
- package/components/checkbox/demo/api.md +17 -17
- package/components/checkbox/demo/customize.md +16 -16
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/design.md +24 -24
- package/components/checkbox/demo/getting-started.md +33 -27
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +1 -1
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +13 -13
- package/components/combobox/demo/getting-started.min.js +13 -13
- package/components/combobox/demo/index.min.js +13 -13
- package/components/combobox/dist/auro-combobox.d.ts +1 -1
- package/components/combobox/dist/index.js +12 -12
- package/components/combobox/dist/registered.js +12 -12
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +8 -8
- package/components/counter/demo/getting-started.min.js +8 -8
- package/components/counter/demo/index.min.js +8 -8
- package/components/counter/demo/why-counter.md +1 -1
- package/components/counter/dist/index.js +8 -8
- package/components/counter/dist/registered.js +8 -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 +25 -20
- package/components/datepicker/demo/getting-started.min.js +25 -20
- package/components/datepicker/demo/index.min.js +25 -20
- package/components/datepicker/demo/why-datepicker.md +1 -1
- package/components/datepicker/dist/auro-calendar.d.ts +4 -9
- package/components/datepicker/dist/index.js +25 -20
- package/components/datepicker/dist/registered.js +25 -20
- package/components/datepicker/dist/utilitiesCalendar.d.ts +5 -2
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +5 -2
- package/components/dropdown/demo/customize.min.js +7 -7
- package/components/dropdown/demo/getting-started.min.js +10 -10
- package/components/dropdown/demo/index.min.js +7 -7
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/demo/why-dropdown.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +6 -6
- package/components/dropdown/dist/index.js +7 -7
- package/components/dropdown/dist/registered.js +7 -7
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +62 -57
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +62 -57
- package/components/form/demo/index.min.js +62 -57
- package/components/form/demo/registerDemoDeps.min.js +61 -56
- package/components/form/demo/voiceover.md +2 -2
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/css-only.md +1 -1
- package/components/input/demo/customize.md +3 -3
- package/components/input/demo/customize.min.js +3 -3
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/getting-started.min.js +3 -3
- package/components/input/demo/index.min.js +3 -3
- package/components/input/demo/why-input.md +1 -1
- package/components/input/dist/base-input.d.ts +2 -2
- package/components/input/dist/index.js +3 -3
- package/components/input/dist/registered.js +3 -3
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +3 -3
- package/components/menu/demo/getting-started.md +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/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/demo/why-radio.md +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +9 -9
- package/components/select/demo/getting-started.min.js +9 -9
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +9 -9
- package/components/select/dist/index.js +8 -8
- package/components/select/dist/registered.js +8 -8
- package/custom-elements.json +23 -17
- package/package.json +1 -1
|
@@ -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 = '202611090436';
|
|
5236
5236
|
|
|
5237
5237
|
/**
|
|
5238
5238
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5728,6 +5728,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5728
5728
|
/**
|
|
5729
5729
|
* Removes the trigger's border, background, and shadow.
|
|
5730
5730
|
* Applies only when `shape` and `size` are both set.
|
|
5731
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
5731
5732
|
* @category ui
|
|
5732
5733
|
*/
|
|
5733
5734
|
simple: {
|
|
@@ -6712,7 +6713,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6712
6713
|
*
|
|
6713
6714
|
* @private
|
|
6714
6715
|
* @method handleDefaultSlot
|
|
6715
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6716
6716
|
*/
|
|
6717
6717
|
handleDefaultSlot() {
|
|
6718
6718
|
|
|
@@ -6725,7 +6725,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6725
6725
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6726
6726
|
* @private
|
|
6727
6727
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6728
|
-
* @returns {
|
|
6728
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6729
6729
|
*/
|
|
6730
6730
|
renderBasicHtml(helpTextClasses) {
|
|
6731
6731
|
return html`
|
|
@@ -6787,7 +6787,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6787
6787
|
/**
|
|
6788
6788
|
* Renders the classic layout.
|
|
6789
6789
|
* @private
|
|
6790
|
-
* @returns {
|
|
6790
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6791
6791
|
*/
|
|
6792
6792
|
renderLayoutClassic() {
|
|
6793
6793
|
// TODO: check with Doug why this was never used?
|
|
@@ -6803,7 +6803,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6803
6803
|
/**
|
|
6804
6804
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6805
6805
|
* @private
|
|
6806
|
-
* @returns {
|
|
6806
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6807
6807
|
*/
|
|
6808
6808
|
renderLayoutSnowflake() {
|
|
6809
6809
|
const helpTextClasses = {
|
|
@@ -6820,7 +6820,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6820
6820
|
/**
|
|
6821
6821
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6822
6822
|
* @private
|
|
6823
|
-
* @returns {
|
|
6823
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6824
6824
|
*/
|
|
6825
6825
|
renderLayoutEmphasized() {
|
|
6826
6826
|
const helpTextClasses = {
|
|
@@ -6838,7 +6838,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6838
6838
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6839
6839
|
* @private
|
|
6840
6840
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6841
|
-
* @returns {
|
|
6841
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6842
6842
|
*/
|
|
6843
6843
|
renderLayout(ForcedLayout) {
|
|
6844
6844
|
const layout = ForcedLayout || this.layout;
|
|
@@ -17624,8 +17624,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17624
17624
|
},
|
|
17625
17625
|
|
|
17626
17626
|
/**
|
|
17627
|
-
* Sets the field's
|
|
17628
|
-
* emphasized layouts support only `xl`.
|
|
17627
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
17628
|
+
* and the emphasized layouts support only `xl`.
|
|
17629
17629
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
17630
17630
|
* @default 'lg'
|
|
17631
17631
|
* @category ui
|
|
@@ -19421,7 +19421,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
19421
19421
|
}
|
|
19422
19422
|
};
|
|
19423
19423
|
|
|
19424
|
-
var formkitVersion$1 = '
|
|
19424
|
+
var formkitVersion$1 = '202611090436';
|
|
19425
19425
|
|
|
19426
19426
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19427
19427
|
// See LICENSE in the project root for license information.
|
|
@@ -20707,7 +20707,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
20707
20707
|
}
|
|
20708
20708
|
}
|
|
20709
20709
|
|
|
20710
|
-
var formkitVersion = '
|
|
20710
|
+
var formkitVersion = '202611090436';
|
|
20711
20711
|
|
|
20712
20712
|
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}`;
|
|
20713
20713
|
|
|
@@ -21176,7 +21176,7 @@ function getOptionLabel(option) {
|
|
|
21176
21176
|
*
|
|
21177
21177
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
21178
21178
|
* @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
|
|
21179
|
-
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
|
|
21179
|
+
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
|
|
21180
21180
|
* @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
|
|
21181
21181
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
21182
21182
|
* @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom-tokens.html) -->
|
|
114
114
|
<!-- The below content is automatically added from ./../apiExamples/custom-tokens.html -->
|
|
115
115
|
<style>
|
|
116
|
-
#customTokensCounter {
|
|
116
|
+
#customTokensCounter auro-counter {
|
|
117
117
|
--ds-auro-counter-control-background-color: #e8d5f5;
|
|
118
118
|
--ds-auro-counter-control-border-color: #7b2d8e;
|
|
119
119
|
--ds-auro-counter-icon-color: #7b2d8e;
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom-tokens.html) -->
|
|
143
143
|
<!-- The below code snippet is automatically added from ./../apiExamples/custom-tokens.html -->
|
|
144
144
|
<pre class="language-html"><code class="language-html"><style>
|
|
145
|
-
#customTokensCounter {
|
|
145
|
+
#customTokensCounter auro-counter {
|
|
146
146
|
--ds-auro-counter-control-background-color: #e8d5f5;
|
|
147
147
|
--ds-auro-counter-control-border-color: #7b2d8e;
|
|
148
148
|
--ds-auro-counter-icon-color: #7b2d8e;
|
|
@@ -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 = '202611090436';
|
|
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 = '202611090436';
|
|
5785
5785
|
|
|
5786
5786
|
/**
|
|
5787
5787
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6277,6 +6277,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6277
6277
|
/**
|
|
6278
6278
|
* Removes the trigger's border, background, and shadow.
|
|
6279
6279
|
* Applies only when `shape` and `size` are both set.
|
|
6280
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
6280
6281
|
* @category ui
|
|
6281
6282
|
*/
|
|
6282
6283
|
simple: {
|
|
@@ -7261,7 +7262,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7261
7262
|
*
|
|
7262
7263
|
* @private
|
|
7263
7264
|
* @method handleDefaultSlot
|
|
7264
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
7265
7265
|
*/
|
|
7266
7266
|
handleDefaultSlot() {
|
|
7267
7267
|
|
|
@@ -7274,7 +7274,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7274
7274
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
7275
7275
|
* @private
|
|
7276
7276
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
7277
|
-
* @returns {
|
|
7277
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
7278
7278
|
*/
|
|
7279
7279
|
renderBasicHtml(helpTextClasses) {
|
|
7280
7280
|
return u$6`
|
|
@@ -7336,7 +7336,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7336
7336
|
/**
|
|
7337
7337
|
* Renders the classic layout.
|
|
7338
7338
|
* @private
|
|
7339
|
-
* @returns {
|
|
7339
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
7340
7340
|
*/
|
|
7341
7341
|
renderLayoutClassic() {
|
|
7342
7342
|
// TODO: check with Doug why this was never used?
|
|
@@ -7352,7 +7352,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7352
7352
|
/**
|
|
7353
7353
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
7354
7354
|
* @private
|
|
7355
|
-
* @returns {
|
|
7355
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
7356
7356
|
*/
|
|
7357
7357
|
renderLayoutSnowflake() {
|
|
7358
7358
|
const helpTextClasses = {
|
|
@@ -7369,7 +7369,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7369
7369
|
/**
|
|
7370
7370
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
7371
7371
|
* @private
|
|
7372
|
-
* @returns {
|
|
7372
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
7373
7373
|
*/
|
|
7374
7374
|
renderLayoutEmphasized() {
|
|
7375
7375
|
const helpTextClasses = {
|
|
@@ -7387,7 +7387,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7387
7387
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
7388
7388
|
* @private
|
|
7389
7389
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
7390
|
-
* @returns {
|
|
7390
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
7391
7391
|
*/
|
|
7392
7392
|
renderLayout(ForcedLayout) {
|
|
7393
7393
|
const layout = ForcedLayout || this.layout;
|
|
@@ -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 = '202611090436';
|
|
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 = '202611090436';
|
|
5783
5783
|
|
|
5784
5784
|
/**
|
|
5785
5785
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6275,6 +6275,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6275
6275
|
/**
|
|
6276
6276
|
* Removes the trigger's border, background, and shadow.
|
|
6277
6277
|
* Applies only when `shape` and `size` are both set.
|
|
6278
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
6278
6279
|
* @category ui
|
|
6279
6280
|
*/
|
|
6280
6281
|
simple: {
|
|
@@ -7259,7 +7260,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7259
7260
|
*
|
|
7260
7261
|
* @private
|
|
7261
7262
|
* @method handleDefaultSlot
|
|
7262
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
7263
7263
|
*/
|
|
7264
7264
|
handleDefaultSlot() {
|
|
7265
7265
|
|
|
@@ -7272,7 +7272,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7272
7272
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
7273
7273
|
* @private
|
|
7274
7274
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
7275
|
-
* @returns {
|
|
7275
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
7276
7276
|
*/
|
|
7277
7277
|
renderBasicHtml(helpTextClasses) {
|
|
7278
7278
|
return u$5`
|
|
@@ -7334,7 +7334,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7334
7334
|
/**
|
|
7335
7335
|
* Renders the classic layout.
|
|
7336
7336
|
* @private
|
|
7337
|
-
* @returns {
|
|
7337
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
7338
7338
|
*/
|
|
7339
7339
|
renderLayoutClassic() {
|
|
7340
7340
|
// TODO: check with Doug why this was never used?
|
|
@@ -7350,7 +7350,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7350
7350
|
/**
|
|
7351
7351
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
7352
7352
|
* @private
|
|
7353
|
-
* @returns {
|
|
7353
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
7354
7354
|
*/
|
|
7355
7355
|
renderLayoutSnowflake() {
|
|
7356
7356
|
const helpTextClasses = {
|
|
@@ -7367,7 +7367,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7367
7367
|
/**
|
|
7368
7368
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
7369
7369
|
* @private
|
|
7370
|
-
* @returns {
|
|
7370
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
7371
7371
|
*/
|
|
7372
7372
|
renderLayoutEmphasized() {
|
|
7373
7373
|
const helpTextClasses = {
|
|
@@ -7385,7 +7385,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7385
7385
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
7386
7386
|
* @private
|
|
7387
7387
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
7388
|
-
* @returns {
|
|
7388
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
7389
7389
|
*/
|
|
7390
7390
|
renderLayout(ForcedLayout) {
|
|
7391
7391
|
const layout = ForcedLayout || this.layout;
|
|
@@ -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 = '202611090436';
|
|
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 = '202611090436';
|
|
5783
5783
|
|
|
5784
5784
|
/**
|
|
5785
5785
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6275,6 +6275,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6275
6275
|
/**
|
|
6276
6276
|
* Removes the trigger's border, background, and shadow.
|
|
6277
6277
|
* Applies only when `shape` and `size` are both set.
|
|
6278
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
6278
6279
|
* @category ui
|
|
6279
6280
|
*/
|
|
6280
6281
|
simple: {
|
|
@@ -7259,7 +7260,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7259
7260
|
*
|
|
7260
7261
|
* @private
|
|
7261
7262
|
* @method handleDefaultSlot
|
|
7262
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
7263
7263
|
*/
|
|
7264
7264
|
handleDefaultSlot() {
|
|
7265
7265
|
|
|
@@ -7272,7 +7272,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7272
7272
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
7273
7273
|
* @private
|
|
7274
7274
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
7275
|
-
* @returns {
|
|
7275
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
7276
7276
|
*/
|
|
7277
7277
|
renderBasicHtml(helpTextClasses) {
|
|
7278
7278
|
return u$5`
|
|
@@ -7334,7 +7334,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7334
7334
|
/**
|
|
7335
7335
|
* Renders the classic layout.
|
|
7336
7336
|
* @private
|
|
7337
|
-
* @returns {
|
|
7337
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
7338
7338
|
*/
|
|
7339
7339
|
renderLayoutClassic() {
|
|
7340
7340
|
// TODO: check with Doug why this was never used?
|
|
@@ -7350,7 +7350,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7350
7350
|
/**
|
|
7351
7351
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
7352
7352
|
* @private
|
|
7353
|
-
* @returns {
|
|
7353
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
7354
7354
|
*/
|
|
7355
7355
|
renderLayoutSnowflake() {
|
|
7356
7356
|
const helpTextClasses = {
|
|
@@ -7367,7 +7367,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7367
7367
|
/**
|
|
7368
7368
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
7369
7369
|
* @private
|
|
7370
|
-
* @returns {
|
|
7370
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
7371
7371
|
*/
|
|
7372
7372
|
renderLayoutEmphasized() {
|
|
7373
7373
|
const helpTextClasses = {
|
|
@@ -7385,7 +7385,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7385
7385
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
7386
7386
|
* @private
|
|
7387
7387
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
7388
|
-
* @returns {
|
|
7388
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
7389
7389
|
*/
|
|
7390
7390
|
renderLayout(ForcedLayout) {
|
|
7391
7391
|
const layout = ForcedLayout || this.layout;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<li>An aggregate <code>total</code> computed from all child counters</li>
|
|
26
26
|
<li>Group-level <code>min</code> and <code>max</code> constraints applied across all children</li>
|
|
27
27
|
<li>A <code>value</code> object with named entries, such as <code>{ adults: 2, children: 1 }</code></li>
|
|
28
|
-
<li>Dynamic button disabling: when the group total reaches max
|
|
28
|
+
<li>Dynamic button disabling: when the group total reaches <code>max</code>, all increment buttons disable; when it reaches <code>min</code>, all decrement buttons disable</li>
|
|
29
29
|
<li>Group-level validation that aggregates individual counter errors</li>
|
|
30
30
|
<li>Optional dropdown presentation with <code>isDropdown</code> for compact UI</li>
|
|
31
31
|
</ul>
|
|
@@ -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 = '202611090436';
|
|
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 = '202611090436';
|
|
5715
5715
|
|
|
5716
5716
|
/**
|
|
5717
5717
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6207,6 +6207,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6207
6207
|
/**
|
|
6208
6208
|
* Removes the trigger's border, background, and shadow.
|
|
6209
6209
|
* Applies only when `shape` and `size` are both set.
|
|
6210
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
6210
6211
|
* @category ui
|
|
6211
6212
|
*/
|
|
6212
6213
|
simple: {
|
|
@@ -7191,7 +7192,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7191
7192
|
*
|
|
7192
7193
|
* @private
|
|
7193
7194
|
* @method handleDefaultSlot
|
|
7194
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
7195
7195
|
*/
|
|
7196
7196
|
handleDefaultSlot() {
|
|
7197
7197
|
|
|
@@ -7204,7 +7204,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7204
7204
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
7205
7205
|
* @private
|
|
7206
7206
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
7207
|
-
* @returns {
|
|
7207
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
7208
7208
|
*/
|
|
7209
7209
|
renderBasicHtml(helpTextClasses) {
|
|
7210
7210
|
return html`
|
|
@@ -7266,7 +7266,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7266
7266
|
/**
|
|
7267
7267
|
* Renders the classic layout.
|
|
7268
7268
|
* @private
|
|
7269
|
-
* @returns {
|
|
7269
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
7270
7270
|
*/
|
|
7271
7271
|
renderLayoutClassic() {
|
|
7272
7272
|
// TODO: check with Doug why this was never used?
|
|
@@ -7282,7 +7282,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7282
7282
|
/**
|
|
7283
7283
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
7284
7284
|
* @private
|
|
7285
|
-
* @returns {
|
|
7285
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
7286
7286
|
*/
|
|
7287
7287
|
renderLayoutSnowflake() {
|
|
7288
7288
|
const helpTextClasses = {
|
|
@@ -7299,7 +7299,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7299
7299
|
/**
|
|
7300
7300
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
7301
7301
|
* @private
|
|
7302
|
-
* @returns {
|
|
7302
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
7303
7303
|
*/
|
|
7304
7304
|
renderLayoutEmphasized() {
|
|
7305
7305
|
const helpTextClasses = {
|
|
@@ -7317,7 +7317,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7317
7317
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
7318
7318
|
* @private
|
|
7319
7319
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
7320
|
-
* @returns {
|
|
7320
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
7321
7321
|
*/
|
|
7322
7322
|
renderLayout(ForcedLayout) {
|
|
7323
7323
|
const layout = ForcedLayout || this.layout;
|
|
@@ -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 = '202611090436';
|
|
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 = '202611090436';
|
|
5715
5715
|
|
|
5716
5716
|
/**
|
|
5717
5717
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6207,6 +6207,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6207
6207
|
/**
|
|
6208
6208
|
* Removes the trigger's border, background, and shadow.
|
|
6209
6209
|
* Applies only when `shape` and `size` are both set.
|
|
6210
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
6210
6211
|
* @category ui
|
|
6211
6212
|
*/
|
|
6212
6213
|
simple: {
|
|
@@ -7191,7 +7192,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7191
7192
|
*
|
|
7192
7193
|
* @private
|
|
7193
7194
|
* @method handleDefaultSlot
|
|
7194
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
7195
7195
|
*/
|
|
7196
7196
|
handleDefaultSlot() {
|
|
7197
7197
|
|
|
@@ -7204,7 +7204,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7204
7204
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
7205
7205
|
* @private
|
|
7206
7206
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
7207
|
-
* @returns {
|
|
7207
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
7208
7208
|
*/
|
|
7209
7209
|
renderBasicHtml(helpTextClasses) {
|
|
7210
7210
|
return html`
|
|
@@ -7266,7 +7266,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7266
7266
|
/**
|
|
7267
7267
|
* Renders the classic layout.
|
|
7268
7268
|
* @private
|
|
7269
|
-
* @returns {
|
|
7269
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
7270
7270
|
*/
|
|
7271
7271
|
renderLayoutClassic() {
|
|
7272
7272
|
// TODO: check with Doug why this was never used?
|
|
@@ -7282,7 +7282,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7282
7282
|
/**
|
|
7283
7283
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
7284
7284
|
* @private
|
|
7285
|
-
* @returns {
|
|
7285
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
7286
7286
|
*/
|
|
7287
7287
|
renderLayoutSnowflake() {
|
|
7288
7288
|
const helpTextClasses = {
|
|
@@ -7299,7 +7299,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7299
7299
|
/**
|
|
7300
7300
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
7301
7301
|
* @private
|
|
7302
|
-
* @returns {
|
|
7302
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
7303
7303
|
*/
|
|
7304
7304
|
renderLayoutEmphasized() {
|
|
7305
7305
|
const helpTextClasses = {
|
|
@@ -7317,7 +7317,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
7317
7317
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
7318
7318
|
* @private
|
|
7319
7319
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
7320
|
-
* @returns {
|
|
7320
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
7321
7321
|
*/
|
|
7322
7322
|
renderLayout(ForcedLayout) {
|
|
7323
7323
|
const layout = ForcedLayout || this.layout;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<auro-header level="3">Blackout dates</auro-header>
|
|
61
61
|
<p>Native date inputs have no mechanism to mark specific dates as unavailable. <code>min</code> and <code>max</code> can restrict to a contiguous range, but they can't express "these specific dates within the range are not selectable." <code>auro-datepicker</code> supports a <code>blackoutDates</code> array of ISO date strings that are visually styled as unavailable, announced to screen readers with a customizable label, reachable with the arrow keys but not selectable, and validated on typed input to surface a <code>customError</code> validity state.</p>
|
|
62
62
|
<auro-header level="3">Custom validation</auro-header>
|
|
63
|
-
<p>Native date validation is limited to <code>required</code>, <code>min</code>, and <code>max</code>, and error messages are browser-controlled. <code>auro-datepicker</code> integrates with the Auro form validation system, exposing per-constraint setters (<code>setCustomValidityValueMissing</code>, <code>setCustomValidityRangeOverflow</code>, <code>setCustomValidityRangeUnderflow</code>, <code>setCustomValidityCustomError</code>), running validation when focus leaves the datepicker, when the end date of a range changes, and when <code>blackoutDates</code> changes, dispatching <code>auroFormElement-validated</code> events, and
|
|
63
|
+
<p>Native date validation is limited to <code>required</code>, <code>min</code>, and <code>max</code>, and error messages are browser-controlled. <code>auro-datepicker</code> integrates with the Auro form validation system, exposing per-constraint setters (<code>setCustomValidityValueMissing</code>, <code>setCustomValidityRangeOverflow</code>, <code>setCustomValidityRangeUnderflow</code>, <code>setCustomValidityCustomError</code>), running validation when focus leaves the datepicker, when the end date of a range changes, and when <code>blackoutDates</code> changes, dispatching <code>auroFormElement-validated</code> events, and showing the error message below the datepicker in place of the help text.</p>
|
|
64
64
|
<auro-header level="3">Responsive layout</auro-header>
|
|
65
65
|
<p>Native date inputs render a small, browser-controlled popup that can't be styled or repositioned. <code>auro-datepicker</code> adapts to viewport size: on desktop the calendar opens in a dropdown positioned next to the input and always behaves as a modal, keeping focus inside the calendar and making the rest of the page inert; on mobile it opens as a fullscreen dialog via <code>showModal()</code> with a configurable <code>fullscreenBreakpoint</code>; and on desktop range mode it can display two months side-by-side.</p>
|
|
66
66
|
<auro-header level="3">Localization</auro-header>
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
<p>The component supports localization of the date format, the calendar's month and weekday names, and most visible strings and screen reader announcements. A few strings don't currently have a slot or attribute, such as the calendar's Done button and the word "selected" in date selection announcements, so they're always in English.</p>
|
|
272
272
|
<auro-header level="4" id="localizationTrigger">Trigger</auro-header>
|
|
273
273
|
<auro-header level="5" id="localizationTriggerVisibleStrings">Visible strings</auro-header>
|
|
274
|
-
<p>The
|
|
274
|
+
<p>The labels, help text, and headline in the input, trigger, and fullscreen calendar aren't derived from <code>locale</code>. Each one has a named slot, so pass a <code><span></code> with the matching <code>slot</code> attribute to supply its translation.</p>
|
|
275
275
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization-visible-strings.html) -->
|
|
276
276
|
<!-- The below content is automatically added from ./../apiExamples/localization-visible-strings.html -->
|
|
277
277
|
<pre class="language-diff"><code class="language-diff"> <auro-datepicker>
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
</auro-datepicker>
|
|
414
414
|
+ </div></code></pre>
|
|
415
415
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
416
|
-
<p>If <code>format</code> is set alongside <code>locale</code>, <code>format</code>
|
|
416
|
+
<p>If <code>format</code> is set alongside <code>locale</code>, <code>format</code> wins. When <code>locale</code> changes later, <code>format</code> changes with it only if it still matches the previous locale's format.</p>
|
|
417
417
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization-locale-formatted.html) -->
|
|
418
418
|
<!-- The below content is automatically added from ./../apiExamples/localization-locale-formatted.html -->
|
|
419
419
|
<pre class="language-diff"><code class="language-diff"> <auro-datepicker
|