@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.7 → 0.0.0-pr1628.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- 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 +2 -2
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.min.js +12 -9
- package/components/combobox/demo/getting-started.min.js +12 -9
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +12 -9
- package/components/combobox/dist/auro-combobox.d.ts +5 -3
- package/components/combobox/dist/index.js +12 -9
- package/components/combobox/dist/registered.js +12 -9
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.min.js +6 -6
- package/components/counter/demo/getting-started.min.js +6 -6
- package/components/counter/demo/index.min.js +6 -6
- package/components/counter/demo/why-counter.md +2 -2
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +6 -6
- package/components/counter/dist/registered.js +6 -6
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +3 -3
- package/components/datepicker/demo/customize.md +1 -1
- package/components/datepicker/demo/customize.min.js +106 -96
- package/components/datepicker/demo/design.md +2 -2
- package/components/datepicker/demo/getting-started.md +1 -1
- package/components/datepicker/demo/getting-started.min.js +106 -96
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +106 -96
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +3 -3
- package/components/datepicker/demo/why-datepicker.md +2 -2
- package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
- package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
- package/components/datepicker/dist/auro-calendar.d.ts +39 -33
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +106 -96
- package/components/datepicker/dist/registered.js +106 -96
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +4 -2
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +4 -4
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +2 -1
- package/components/dropdown/demo/getting-started.min.js +5 -4
- package/components/dropdown/demo/index.min.js +2 -1
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -0
- package/components/dropdown/dist/index.js +2 -1
- package/components/dropdown/dist/registered.js +2 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.min.js +136 -124
- package/components/form/demo/getting-started.min.js +136 -124
- package/components/form/demo/index.min.js +136 -124
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +136 -124
- package/components/input/demo/css-only.md +3 -3
- package/components/input/demo/customize.md +1 -1
- package/components/input/demo/customize.min.js +3 -3
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.min.js +3 -3
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +3 -3
- package/components/input/demo/why-input.md +1 -1
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +1 -1
- package/components/input/dist/index.js +3 -3
- package/components/input/dist/registered.js +3 -3
- package/components/menu/demo/css-only.md +1 -1
- package/components/menu/demo/getting-started.md +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/customize.md +14 -4
- package/components/radio/demo/customize.min.js +4 -6
- package/components/radio/demo/getting-started.md +2 -2
- package/components/radio/demo/getting-started.min.js +4 -6
- package/components/radio/demo/index.min.js +4 -6
- package/components/radio/dist/auro-radio-group.d.ts +3 -5
- package/components/radio/dist/index.js +4 -6
- package/components/radio/dist/registered.js +4 -6
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.min.js +4 -3
- package/components/select/demo/getting-started.min.js +4 -3
- package/components/select/demo/index.min.js +4 -3
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/index.js +4 -3
- package/components/select/dist/registered.js +4 -3
- package/custom-elements.json +66 -68
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ A trigger that opens a panel, called the bib, to show interactive content, such
|
|
|
24
24
|
| Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
|
|
25
25
|
| ----------------------- | ----------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | -------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
26
26
|
| a11yRole | | | string | `button` | a11y | | Sets the ARIA role of the trigger, such as `combobox` when the trigger shows a chosen value and opens a list of options (the trigger's `role`).<br>Applies only when the `trigger` slot content isn't focusable.<br>With any role other than `button`, the trigger also gets `aria-expanded` and `aria-controls`, and `combobox` adds `aria-haspopup="listbox"`. |
|
|
27
|
-
| tabIndex | tabindex | | number |
|
|
27
|
+
| tabIndex | tabindex | | number | `0` | a11y | | Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).<br>Applies only when the `trigger` slot content isn't focusable. |
|
|
28
28
|
| appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors for the background the dropdown sits on.<br>Use `inverse` on dark backgrounds and `default` everywhere else. |
|
|
29
29
|
| chevron | chevron | | boolean | | ui | | Shows a chevron after the trigger content that points up while the bib is open and down while it's closed. |
|
|
30
30
|
| desktopModal | desktopmodal | | boolean | | ui | | Makes the open bib act as a modal dialog when it isn't fullscreen.<br>Keyboard focus stays in the bib, and the rest of the page can't be used until the bib closes. |
|
|
@@ -4107,7 +4107,7 @@ class AuroHelpText extends i {
|
|
|
4107
4107
|
}
|
|
4108
4108
|
}
|
|
4109
4109
|
|
|
4110
|
-
var formkitVersion = '
|
|
4110
|
+
var formkitVersion = '202611090134';
|
|
4111
4111
|
|
|
4112
4112
|
/**
|
|
4113
4113
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4895,6 +4895,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4895
4895
|
/**
|
|
4896
4896
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
4897
4897
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
4898
|
+
* @default 0
|
|
4898
4899
|
* @category a11y
|
|
4899
4900
|
*/
|
|
4900
4901
|
tabIndex: {
|
|
@@ -4107,7 +4107,7 @@ let AuroHelpText$1 = class AuroHelpText extends i {
|
|
|
4107
4107
|
}
|
|
4108
4108
|
};
|
|
4109
4109
|
|
|
4110
|
-
var formkitVersion$1 = '
|
|
4110
|
+
var formkitVersion$1 = '202611090134';
|
|
4111
4111
|
|
|
4112
4112
|
/**
|
|
4113
4113
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4895,6 +4895,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
4895
4895
|
/**
|
|
4896
4896
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
4897
4897
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
4898
|
+
* @default 0
|
|
4898
4899
|
* @category a11y
|
|
4899
4900
|
*/
|
|
4900
4901
|
tabIndex: {
|
|
@@ -16331,7 +16332,7 @@ class BaseInput extends AuroElement {
|
|
|
16331
16332
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
16332
16333
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
16333
16334
|
/**
|
|
16334
|
-
*
|
|
16335
|
+
* Gets the options Lit uses to create the shadow root.
|
|
16335
16336
|
* @internal
|
|
16336
16337
|
*/
|
|
16337
16338
|
static get shadowRootOptions() {
|
|
@@ -18302,7 +18303,7 @@ class AuroHelpText extends i {
|
|
|
18302
18303
|
}
|
|
18303
18304
|
}
|
|
18304
18305
|
|
|
18305
|
-
var formkitVersion = '
|
|
18306
|
+
var formkitVersion = '202611090134';
|
|
18306
18307
|
|
|
18307
18308
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18308
18309
|
// See LICENSE in the project root for license information.
|
|
@@ -18761,7 +18762,7 @@ class AuroInput extends BaseInput {
|
|
|
18761
18762
|
|
|
18762
18763
|
/**
|
|
18763
18764
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
18764
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
18765
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
18765
18766
|
* @private
|
|
18766
18767
|
* @returns {string}
|
|
18767
18768
|
*/
|
|
@@ -4134,7 +4134,7 @@ class AuroHelpText extends i {
|
|
|
4134
4134
|
}
|
|
4135
4135
|
}
|
|
4136
4136
|
|
|
4137
|
-
var formkitVersion = '
|
|
4137
|
+
var formkitVersion = '202611090134';
|
|
4138
4138
|
|
|
4139
4139
|
/**
|
|
4140
4140
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4922,6 +4922,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4922
4922
|
/**
|
|
4923
4923
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
4924
4924
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
4925
|
+
* @default 0
|
|
4925
4926
|
* @category a11y
|
|
4926
4927
|
*/
|
|
4927
4928
|
tabIndex: {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
<p>For example, a mobile phone or a very small desktop browser window.</p>
|
|
50
50
|
<ol>
|
|
51
51
|
<li><strong>Focus trigger:</strong> Announces the trigger label and state.</li>
|
|
52
|
-
<li><strong>Open | Expand:</strong> Opens a fullscreen modal
|
|
52
|
+
<li><strong>Open | Expand:</strong> Opens a fullscreen modal and keeps focus in the bib content.</li>
|
|
53
53
|
<li><strong>Navigate bib content:</strong> Swipe or Tab through focusable elements.</li>
|
|
54
54
|
<li><strong>Close:</strong> Activate a close button in the bib content, such as the one <code>auro-bibtemplate</code> provides, or use the scrub gesture (two-finger zigzag) to dismiss.</li>
|
|
55
55
|
</ol>
|
|
@@ -342,6 +342,7 @@ export class AuroDropdown extends AuroElement {
|
|
|
342
342
|
/**
|
|
343
343
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
344
344
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
345
|
+
* @default 0
|
|
345
346
|
* @category a11y
|
|
346
347
|
*/
|
|
347
348
|
tabIndex: {
|
|
@@ -4039,7 +4039,7 @@ class AuroHelpText extends LitElement {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
var formkitVersion = '
|
|
4042
|
+
var formkitVersion = '202611090134';
|
|
4043
4043
|
|
|
4044
4044
|
/**
|
|
4045
4045
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4827,6 +4827,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4827
4827
|
/**
|
|
4828
4828
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
4829
4829
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
4830
|
+
* @default 0
|
|
4830
4831
|
* @category a11y
|
|
4831
4832
|
*/
|
|
4832
4833
|
tabIndex: {
|
|
@@ -4039,7 +4039,7 @@ class AuroHelpText extends LitElement {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
var formkitVersion = '
|
|
4042
|
+
var formkitVersion = '202611090134';
|
|
4043
4043
|
|
|
4044
4044
|
/**
|
|
4045
4045
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -4827,6 +4827,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4827
4827
|
/**
|
|
4828
4828
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
4829
4829
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
4830
|
+
* @default 0
|
|
4830
4831
|
* @category a11y
|
|
4831
4832
|
*/
|
|
4832
4833
|
tabIndex: {
|
|
@@ -35,5 +35,5 @@ Use `<auro-form>` when you build a form from Auro form elements and want their v
|
|
|
35
35
|
|
|
36
36
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeGettingStarted.md) -->
|
|
37
37
|
<!-- The below content is automatically added from ./docs/partials/readmeGettingStarted.md -->
|
|
38
|
-
For
|
|
38
|
+
For getting started instructions, visit the [`auro-form` getting started page](https://auro.alaskaair.com/components/auro/form/getting-started).
|
|
39
39
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<auro-header level="1">CSS only with native form</auro-header>
|
|
2
2
|
<p>When you can't use the <code><auro-form></code> web component, lay out a native HTML <code><form></code> element with the Auro Design System tokens instead. <code>auro-form</code> has no styles of its own and doesn't lay out its children, so the CSS below is a suggested starting point, not a copy of <code>auro-form</code>. Unlike <auro-hyperlink href="https://auro.alaskaair.com/components/auro/hyperlink/css-only" target="_blank">auro-hyperlink</auro-hyperlink>, <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">Web Core Style Sheets</auro-hyperlink> doesn't provide a prebuilt <code>.form</code> class. The native <code><form></code> element provides the structural container and browser-native constraint validation, but it doesn't provide the cross-field coordination that <code>auro-form</code> adds.</p>
|
|
3
3
|
<auro-header level="2">Styling a native form</auro-header>
|
|
4
|
-
<p>Lay out the native form with the Auro design tokens published by <auro-hyperlink href="https://
|
|
4
|
+
<p>Lay out the native form with the Auro design tokens published by <auro-hyperlink href="https://github.com/AlaskaAirlines/AuroDesignTokens" target="_blank">@aurodesignsystem/design-tokens</auro-hyperlink>. The pattern below gives fields and actions consistent spacing.</p>
|
|
5
5
|
<pre><code>@import "./node_modules/@aurodesignsystem/design-tokens/dist/legacy/auro-classic/CSSCustomProperties.css";
|
|
6
6
|
.form {
|
|
7
7
|
display: flex;
|