@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.0 → 0.0.0-pr1628.10
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/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/accessibility.md +1 -1
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +13 -12
- package/components/combobox/demo/customize.min.js +79 -59
- package/components/combobox/demo/getting-started.md +4 -4
- package/components/combobox/demo/getting-started.min.js +79 -59
- package/components/combobox/demo/index.md +2 -2
- package/components/combobox/demo/index.min.js +79 -59
- package/components/combobox/demo/voiceover.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +35 -31
- package/components/combobox/dist/index.js +68 -49
- package/components/combobox/dist/registered.js +68 -49
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/api.md +18 -18
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +28 -28
- package/components/counter/demo/design.md +1 -1
- package/components/counter/demo/getting-started.md +29 -2
- package/components/counter/demo/getting-started.min.js +28 -28
- package/components/counter/demo/index.min.js +28 -28
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +13 -14
- package/components/counter/dist/auro-counter.d.ts +1 -1
- package/components/counter/dist/index.js +28 -28
- package/components/counter/dist/registered.js +28 -28
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +5 -5
- package/components/datepicker/demo/api.md +3 -3
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +12 -12
- package/components/datepicker/demo/customize.min.js +186 -132
- package/components/datepicker/demo/design.md +11 -11
- package/components/datepicker/demo/getting-started.md +4 -4
- package/components/datepicker/demo/getting-started.min.js +186 -132
- package/components/datepicker/demo/index.md +5 -5
- package/components/datepicker/demo/index.min.js +186 -132
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +4 -4
- package/components/datepicker/demo/why-datepicker.md +3 -3
- 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 +44 -43
- package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
- package/components/datepicker/dist/index.js +186 -132
- package/components/datepicker/dist/registered.js +186 -132
- package/components/datepicker/dist/utilities.d.ts +4 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
- package/components/dropdown/demo/api.md +7 -7
- package/components/dropdown/demo/css-only.md +2 -2
- package/components/dropdown/demo/customize.md +1 -1
- package/components/dropdown/demo/customize.min.js +10 -9
- package/components/dropdown/demo/design.md +4 -4
- package/components/dropdown/demo/getting-started.min.js +31 -16
- package/components/dropdown/demo/index.min.js +10 -9
- 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 +9 -8
- package/components/dropdown/dist/index.js +10 -9
- package/components/dropdown/dist/registered.js +10 -9
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +7 -7
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +345 -257
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +345 -257
- package/components/form/demo/index.md +2 -2
- package/components/form/demo/index.min.js +345 -257
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +343 -255
- package/components/form/demo/voiceover.md +3 -3
- package/components/form/demo/why-form.md +1 -1
- package/components/form/dist/auro-form.d.ts +2 -2
- package/components/form/dist/index.js +2 -2
- package/components/form/dist/registered.js +2 -2
- package/components/input/demo/api.md +58 -58
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +11 -11
- package/components/input/demo/customize.min.js +21 -7
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +5 -5
- package/components/input/demo/getting-started.min.js +21 -7
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +21 -7
- package/components/input/demo/why-input.md +3 -3
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +6 -5
- package/components/input/dist/index.js +21 -7
- package/components/input/dist/registered.js +21 -7
- package/components/input/dist/utilities.d.ts +11 -0
- package/components/menu/demo/accessibility.md +1 -1
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/customize.md +1 -1
- package/components/menu/demo/design.md +1 -1
- package/components/menu/demo/getting-started.md +3 -3
- package/components/menu/demo/index.min.js +11 -10
- package/components/menu/demo/keyboard-behavior.md +1 -1
- package/components/menu/demo/voiceover.md +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +10 -9
- package/components/menu/dist/auro-menuoption.d.ts +1 -1
- package/components/menu/dist/index.js +11 -10
- package/components/menu/dist/registered.js +11 -10
- package/components/radio/demo/accessibility.md +1 -1
- package/components/radio/demo/api.md +10 -10
- package/components/radio/demo/customize.md +15 -5
- package/components/radio/demo/customize.min.js +10 -12
- package/components/radio/demo/design.md +1 -1
- package/components/radio/demo/getting-started.md +6 -6
- package/components/radio/demo/getting-started.min.js +10 -12
- package/components/radio/demo/index.md +1 -1
- package/components/radio/demo/index.min.js +10 -12
- package/components/radio/demo/keyboard-behavior.md +1 -1
- package/components/radio/demo/voiceover.md +1 -1
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +6 -8
- package/components/radio/dist/auro-radio.d.ts +3 -3
- package/components/radio/dist/index.js +10 -12
- package/components/radio/dist/registered.js +10 -12
- package/components/select/demo/api.md +1 -1
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +27 -24
- package/components/select/demo/getting-started.min.js +27 -24
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +27 -24
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +16 -14
- package/components/select/dist/registered.js +16 -14
- package/custom-elements.json +159 -143
- package/package.json +1 -1
|
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
var formkitVersion = '
|
|
1337
|
+
var formkitVersion = '202611091558';
|
|
1338
1338
|
|
|
1339
1339
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1340
1340
|
// See LICENSE in the project root for license information.
|
|
@@ -1370,7 +1370,7 @@ var formkitVersion = '202611081705';
|
|
|
1370
1370
|
* @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
|
|
1371
1371
|
* @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
|
|
1372
1372
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
1373
|
-
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
|
|
1373
|
+
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
|
|
1374
1374
|
*/
|
|
1375
1375
|
|
|
1376
1376
|
class AuroCheckboxGroup extends LitElement {
|
|
@@ -1540,7 +1540,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1542
1542
|
* `setCustomValidity` takes priority when both are set.
|
|
1543
|
-
* @relevantWhen error
|
|
1543
|
+
* @relevantWhen error !== undefined
|
|
1544
1544
|
* @category behavior
|
|
1545
1545
|
*/
|
|
1546
1546
|
setCustomValidityCustomError: {
|
|
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
var formkitVersion = '
|
|
1337
|
+
var formkitVersion = '202611091558';
|
|
1338
1338
|
|
|
1339
1339
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1340
1340
|
// See LICENSE in the project root for license information.
|
|
@@ -1370,7 +1370,7 @@ var formkitVersion = '202611081705';
|
|
|
1370
1370
|
* @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
|
|
1371
1371
|
* @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
|
|
1372
1372
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
1373
|
-
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
|
|
1373
|
+
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
|
|
1374
1374
|
*/
|
|
1375
1375
|
|
|
1376
1376
|
class AuroCheckboxGroup extends LitElement {
|
|
@@ -1540,7 +1540,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1542
1542
|
* `setCustomValidity` takes priority when both are set.
|
|
1543
|
-
* @relevantWhen error
|
|
1543
|
+
* @relevantWhen error !== undefined
|
|
1544
1544
|
* @category behavior
|
|
1545
1545
|
*/
|
|
1546
1546
|
setCustomValidityCustomError: {
|
|
@@ -28,7 +28,7 @@ Each menu option exposes the following ARIA attributes:
|
|
|
28
28
|
| `aria-posinset` | `{index}` | The 1-based position of the option within the set. |
|
|
29
29
|
|
|
30
30
|
<auro-header level="3" id="helpTextAndErrors">Help text and errors</auro-header>
|
|
31
|
-
-
|
|
31
|
+
- The input doesn't currently reference the `helpText` slot content with `aria-describedby`, so screen readers don't read the help text when the input gets focus. While the combobox is invalid, they read the error message instead.
|
|
32
32
|
- When validation fails, the error message is rendered with `role="alert"` and `aria-live="assertive"` so screen readers announce it immediately.
|
|
33
33
|
|
|
34
34
|
<auro-header level="2" id="activeDescendant">Active descendant</auro-header>
|
|
@@ -34,12 +34,12 @@ A text field with a list of options that narrows as people type, so they can cho
|
|
|
34
34
|
| dvInputOnly | dvinputonly | | boolean | | ui | | Keeps the label visible while `displayValue` content is shown in place of the value.<br>Without it, the `displayValue` content hides both the label and the value. |
|
|
35
35
|
| fullscreenBreakpoint | fullscreenbreakpoint | | `xs` \| `sm` \| `md` \| `lg` \| `xl` \| `disabled` | `sm` | ui | | Sets the screen width, such as `sm`, at or below which the open bib fills the screen as a modal dialog.<br>Use `disabled` to keep the bib from ever going fullscreen. |
|
|
36
36
|
| largeFullscreenHeadline | largefullscreenheadline | | boolean | | ui | | Shows the `bib.fullscreen.headline` text in a larger heading style. Applies only when the bib is fullscreen. |
|
|
37
|
-
| layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.
|
|
37
|
+
| layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,<br>and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options. |
|
|
38
38
|
| noFlip | noflip | | boolean | | ui | | Keeps the bib at its `placement` when there isn't enough space, instead of flipping it to the opposite side. |
|
|
39
39
|
| offset | offset | | number | `0` | ui | | Sets the gap between the trigger and the bib in pixels, such as `8`. |
|
|
40
40
|
| placeholder | placeholder | | string | | ui | | Sets hint text shown in the empty input, such as `Search airports`.<br>When not set and `type="date"`, the input shows the date format, such as `MM/DD/YYYY`. |
|
|
41
41
|
| placement | placement | | `top` \| `right` \| `bottom` \| `left` \| `bottom-start` \| `top-start` \| `top-end` \| `right-start` \| `right-end` \| `bottom-end` \| `left-start` \| `left-end` | `bottom-start` | ui | | Sets where the bib opens relative to the trigger, such as `bottom-start` for below the trigger, lined up with its start edge.<br>The bib flips to the opposite side when there isn't room, unless `noFlip` is set. |
|
|
42
|
-
| shape | shape | | `box` \| `classic` \| `pill` \| `pill-left` \| `pill-right` \| `rounded` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. In the `snowflake` layout, the menu options use the
|
|
42
|
+
| shape | shape | | `box` \| `classic` \| `pill` \| `pill-left` \| `pill-right` \| `rounded` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the<br>`emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the<br>same shape unless the `<auro-menu>` sets its own `shape`. |
|
|
43
43
|
| shift | shift | | boolean | | ui | | Slides the bib along the trigger's edge to keep it inside the viewport. |
|
|
44
44
|
| size | size | | `xs` \| `sm` \| `md` \| `lg` \| `xl` | `xl` | ui | | Sets the height of the trigger. The menu options don't follow it: they use `lg` in the<br>`emphasized` layout and `md` otherwise. |
|
|
45
45
|
| triggerIcon | triggericon | | boolean | | ui | `type === 'credit-card'` | Shows a card icon in the input that changes to the detected card brand, such as Visa, as the user types.<br>Applies only when `type="credit-card"`. |
|
|
@@ -103,7 +103,7 @@ A text field with a list of options that narrows as people type, so they can cho
|
|
|
103
103
|
| label | ui | Yes | | Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. |
|
|
104
104
|
| optionalLabel | ui | | `!required` | Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". |
|
|
105
105
|
| ariaLabel.bib.close | a11y | Yes | | Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". |
|
|
106
|
-
| ariaLabel.input.clear | a11y |
|
|
106
|
+
| ariaLabel.input.clear | a11y | Yes | | 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. |
|
|
107
107
|
|
|
108
108
|
### CSS shadow parts
|
|
109
109
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<auro-header level="1">CSS only with native input and datalist</auro-header>
|
|
2
2
|
<p>For situations where the <code><auro-combobox></code> web component can't be used, a native HTML <code><input type="text"></code> paired with a <code><datalist></code> element can be styled with the Auro Design System tokens to approximate the visual appearance of <code>auro-combobox</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>.combobox</code> class, so the styling must be authored manually using Auro design tokens.</p>
|
|
3
3
|
<auro-header level="2">Styling a native input with datalist</auro-header>
|
|
4
|
-
<p>
|
|
4
|
+
<p>Restyle the native input 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 replicates the size, border, and focus-state colors used by the <code>auro-combobox</code> trigger input.</p>
|
|
5
5
|
<pre><code>/* Color tokens */
|
|
6
6
|
@import "./node_modules/@aurodesignsystem/design-tokens/dist/themes/alaska/CSSCustomProperties--alaska.css";
|
|
7
7
|
/* Size, border-radius, and typography tokens */
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<auro-header level="2">What you lose without auro-combobox</auro-header>
|
|
84
84
|
<p>While the CSS above replicates the <strong>visual styling</strong> of the <code>auro-combobox</code> trigger, the following functionality built into the <code>auro-combobox</code> web component is <strong>not available</strong> when using plain HTML with a <code><datalist></code>:</p>
|
|
85
85
|
<auro-header level="3">Filter vs. suggestion behavior</auro-header>
|
|
86
|
-
<p><code>auro-combobox</code> exposes a <code>behavior</code> attribute (<code>filter</code> or <code>suggestion</code>) that controls whether the user must select a menu option or may submit a freeform typed value. Native <code><datalist></code> always behaves like suggestion mode
|
|
86
|
+
<p><code>auro-combobox</code> exposes a <code>behavior</code> attribute (<code>filter</code> or <code>suggestion</code>) that controls whether the user must select a menu option or may submit a freeform typed value. Native <code><datalist></code> always behaves like suggestion mode, so requiring the user to choose from the list takes custom JavaScript that compares the input value against the option set.</p>
|
|
87
87
|
<auro-header level="3">Custom filtering and matching</auro-header>
|
|
88
88
|
<p><code>auro-combobox</code> filters options against the typed value and supports a <code>suggest</code> attribute on each menu option for additional matching keywords, plus <code>persistent</code>, <code>static</code>, and <code>nomatch</code> options that change how the list reacts to input. <code><datalist></code> matching is browser-controlled, varies across browsers, and can't be extended with synonyms, persistent items, or a "no match" placeholder.</p>
|
|
89
89
|
<auro-header level="3">Highlighted match text</auro-header>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<auro-header level="3">Rich option content and display value</auro-header>
|
|
102
102
|
<p><code>auro-combobox</code> works with <code>auro-menuoption</code> elements that can contain markup, icons, and a <code>displayValue</code> slot that lets the visible trigger content differ from the underlying value (paired with <code>persistInput</code> for advanced filter UIs). <code><datalist></code> options are plain strings: no markup, no icons, and the visible value always equals the submitted value.</p>
|
|
103
103
|
<auro-header level="3">Coordinated value and option-selected state</auro-header>
|
|
104
|
-
<p><code>auro-combobox</code> exposes both <code>value</code> (the selected option's value) and <code>optionSelected</code> (a reference to the chosen <code>auro-menuoption</code> element), and fires <code>input</code> and <code>inputValue</code> events with structured detail. With native HTML, you only get the input's string value
|
|
104
|
+
<p><code>auro-combobox</code> exposes both <code>value</code> (the selected option's value, or the typed text when no option is chosen) and <code>optionSelected</code> (a reference to the chosen <code>auro-menuoption</code> element), and fires <code>input</code> and <code>inputValue</code> events with structured detail. With native HTML, you only get the input's string value, because the browser doesn't report which datalist option the user picked.</p>
|
|
105
105
|
<auro-header level="3">Form integration events</auro-header>
|
|
106
106
|
<p><code>auro-combobox</code> dispatches <code>auroFormElement-validated</code> events so parent <code>auro-form</code> elements can coordinate validation across all child fields. Native inputs participate in form submission but don't emit the structured validation events that the Auro form system expects.</p>
|
|
107
107
|
<auro-header level="3">Reset behavior</auro-header>
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
240
240
|
<span slot="label">Label</span>
|
|
241
241
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
242
|
-
<span slot="helpText">
|
|
242
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and doesn't flip</span>
|
|
243
243
|
<auro-menu>
|
|
244
244
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
245
245
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
254
254
|
<span slot="label">Label</span>
|
|
255
255
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
256
|
-
<span slot="helpText">
|
|
256
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and flips when there isn't room</span>
|
|
257
257
|
<auro-menu>
|
|
258
258
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
259
259
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
268
268
|
<span slot="label">Label</span>
|
|
269
269
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
270
|
-
<span slot="helpText">right
|
|
270
|
+
<span slot="helpText">Bib placed to the right of the trigger, 20px away, and doesn't flip</span>
|
|
271
271
|
<auro-menu>
|
|
272
272
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
273
273
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
282
282
|
<span slot="label">Label</span>
|
|
283
283
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
284
|
-
<span slot="helpText">
|
|
284
|
+
<span slot="helpText">Bib placed below the trigger at its start edge, 20px away, shifts to stay in view, and doesn't flip</span>
|
|
285
285
|
<auro-menu>
|
|
286
286
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
287
287
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
304
304
|
<span slot="label">Label</span>
|
|
305
305
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
306
|
-
<span slot="helpText">
|
|
306
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and doesn't flip</span>
|
|
307
307
|
<auro-menu>
|
|
308
308
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
309
309
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
318
318
|
<span slot="label">Label</span>
|
|
319
319
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
320
|
-
<span slot="helpText">
|
|
320
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and flips when there isn't room</span>
|
|
321
321
|
<auro-menu>
|
|
322
322
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
323
323
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
332
332
|
<span slot="label">Label</span>
|
|
333
333
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
334
|
-
<span slot="helpText">right
|
|
334
|
+
<span slot="helpText">Bib placed to the right of the trigger, 20px away, and doesn't flip</span>
|
|
335
335
|
<auro-menu>
|
|
336
336
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
337
337
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
346
346
|
<span slot="label">Label</span>
|
|
347
347
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
348
|
-
<span slot="helpText">
|
|
348
|
+
<span slot="helpText">Bib placed below the trigger at its start edge, 20px away, shifts to stay in view, and doesn't flip</span>
|
|
349
349
|
<auro-menu>
|
|
350
350
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
351
351
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -587,6 +587,7 @@
|
|
|
587
587
|
<tr><td><code>dropdownTrigger</code></td><td>Doesn't currently style anything, because the dropdown inside the combobox doesn't render a <code>trigger</code> part.</td></tr>
|
|
588
588
|
<tr><td><code>dropdownChevron</code></td><td>Doesn't currently style anything, because the combobox doesn't show a chevron.</td></tr>
|
|
589
589
|
<tr><td><code>dropdownSize</code></td><td>The element that sets the bib's size. Only <code>height</code>, <code>width</code>, <code>max-height</code>, and <code>max-width</code> apply.</td></tr>
|
|
590
|
+
<tr><td><code>dropdownBibTemplate</code></td><td>The container inside the bib that holds the options and, in the fullscreen bib, the headline, close button, and input.</td></tr>
|
|
590
591
|
<tr><td><code>helpText</code></td><td>The help text and error message below the combobox.</td></tr>
|
|
591
592
|
</tbody>
|
|
592
593
|
</table>
|
|
@@ -839,7 +840,7 @@
|
|
|
839
840
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-filter.html) -->
|
|
840
841
|
<!-- The below content is automatically added from ./../apiExamples/no-filter.html -->
|
|
841
842
|
<auro-combobox noFilter>
|
|
842
|
-
<span slot="bib.fullscreen.headline">
|
|
843
|
+
<span slot="bib.fullscreen.headline">Combobox without filtering</span>
|
|
843
844
|
<span slot="label">Name</span>
|
|
844
845
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
845
846
|
<auro-menu>
|
|
@@ -858,7 +859,7 @@
|
|
|
858
859
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-filter.html) -->
|
|
859
860
|
<!-- The below code snippet is automatically added from ./../apiExamples/no-filter.html -->
|
|
860
861
|
<pre class="language-html"><code class="language-html"><auro-combobox noFilter>
|
|
861
|
-
<span slot="bib.fullscreen.headline">
|
|
862
|
+
<span slot="bib.fullscreen.headline">Combobox without filtering</span>
|
|
862
863
|
<span slot="label">Name</span>
|
|
863
864
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
864
865
|
<auro-menu>
|
|
@@ -1167,7 +1168,7 @@
|
|
|
1167
1168
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-validate.html) -->
|
|
1168
1169
|
<!-- The below content is automatically added from ./../apiExamples/no-validate.html -->
|
|
1169
1170
|
<auro-combobox required noValidate>
|
|
1170
|
-
<span slot="bib.fullscreen.headline">
|
|
1171
|
+
<span slot="bib.fullscreen.headline">Combobox without validation</span>
|
|
1171
1172
|
<span slot="label">Name</span>
|
|
1172
1173
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
1173
1174
|
<auro-menu>
|
|
@@ -1187,7 +1188,7 @@
|
|
|
1187
1188
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-validate.html) -->
|
|
1188
1189
|
<!-- The below code snippet is automatically added from ./../apiExamples/no-validate.html -->
|
|
1189
1190
|
<pre class="language-html"><code class="language-html"><auro-combobox required noValidate>
|
|
1190
|
-
<span slot="bib.fullscreen.headline">
|
|
1191
|
+
<span slot="bib.fullscreen.headline">Combobox without validation</span>
|
|
1191
1192
|
<span slot="label">Name</span>
|
|
1192
1193
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
1193
1194
|
<auro-menu>
|