@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.15 → 0.0.0-pr1628.17
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/api.md +18 -18
- package/components/checkbox/demo/customize.md +2 -2
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +16 -16
- package/components/combobox/demo/customize.min.js +32 -38
- package/components/combobox/demo/getting-started.md +1 -1
- package/components/combobox/demo/getting-started.min.js +32 -38
- package/components/combobox/demo/index.min.js +32 -38
- package/components/combobox/dist/auro-combobox.d.ts +5 -3
- package/components/combobox/dist/index.js +30 -36
- package/components/combobox/dist/registered.js +30 -36
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +5 -5
- package/components/counter/demo/customize.min.js +15 -13
- package/components/counter/demo/getting-started.min.js +15 -13
- package/components/counter/demo/index.min.js +15 -13
- package/components/counter/demo/voiceover.md +1 -1
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +1 -0
- package/components/counter/dist/index.js +15 -13
- package/components/counter/dist/registered.js +15 -13
- package/components/datepicker/demo/customize.min.js +22 -19
- package/components/datepicker/demo/getting-started.min.js +22 -19
- package/components/datepicker/demo/index.min.js +22 -19
- package/components/datepicker/dist/index.js +22 -19
- package/components/datepicker/dist/registered.js +22 -19
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +15 -13
- package/components/dropdown/demo/index.min.js +8 -7
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/customize.min.js +111 -117
- package/components/form/demo/getting-started.min.js +111 -117
- package/components/form/demo/index.min.js +111 -117
- package/components/form/demo/registerDemoDeps.min.js +110 -116
- package/components/form/demo/why-form.md +1 -1
- 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 +6 -6
- package/components/input/demo/customize.min.js +7 -6
- package/components/input/demo/getting-started.min.js +7 -6
- package/components/input/demo/index.min.js +7 -6
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +2 -1
- package/components/input/dist/index.js +7 -6
- package/components/input/dist/registered.js +7 -6
- package/components/layoutElement/dist/auroElement.d.ts +4 -3
- package/components/layoutElement/dist/index.js +4 -3
- package/components/layoutElement/dist/registered.js +4 -3
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/index.min.js +6 -5
- package/components/menu/dist/auro-menu.d.ts +8 -3
- package/components/menu/dist/auro-menuoption.d.ts +2 -2
- package/components/menu/dist/index.js +6 -5
- package/components/menu/dist/registered.js +6 -5
- package/components/radio/demo/api.md +16 -16
- package/components/radio/demo/customize.md +1 -1
- package/components/radio/demo/customize.min.js +4 -4
- package/components/radio/demo/getting-started.min.js +4 -4
- package/components/radio/demo/index.min.js +4 -4
- package/components/radio/dist/auro-radio-group.d.ts +2 -2
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +4 -4
- package/components/radio/dist/registered.js +4 -4
- package/components/select/demo/api.md +47 -47
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.min.js +25 -32
- package/components/select/demo/getting-started.min.js +25 -32
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +25 -32
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +23 -30
- package/components/select/dist/registered.js +23 -30
- package/custom-elements.json +25 -25
- package/package.json +1 -1
|
@@ -49,9 +49,10 @@ const a=Symbol.for(""),o$3=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
|
|
|
49
49
|
*
|
|
50
50
|
* It declares the `onDark` property and provides helpers that apply the
|
|
51
51
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
52
|
-
* to the subclass's `.wrapper` element.
|
|
53
|
-
* `shape`, and `size` properties with its own values and
|
|
54
|
-
*
|
|
52
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
53
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
54
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
55
|
+
* implements unless it overrides `render()`.
|
|
55
56
|
*
|
|
56
57
|
* **Key capabilities**
|
|
57
58
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -809,20 +810,11 @@ function guardTouchPassthrough(element) {
|
|
|
809
810
|
}
|
|
810
811
|
|
|
811
812
|
/**
|
|
812
|
-
* Restores the dropdown trigger after a fullscreen dialog closes
|
|
813
|
-
*
|
|
814
|
-
*
|
|
815
|
-
*
|
|
816
|
-
* restoration
|
|
817
|
-
* remains inside the component after the dialog closes.
|
|
818
|
-
*
|
|
819
|
-
* Removes the `inert` attribute from the trigger so it's accessible again,
|
|
820
|
-
* and restores focus to the given target after one animation frame. The rAF
|
|
821
|
-
* delay lets Lit's microtask update cycle call `dialog.close()` first. Without
|
|
822
|
-
* it, the browser's native dialog focus restoration can conflict.
|
|
823
|
-
*
|
|
824
|
-
* The focus is only applied if the dropdown is still closed at the time the
|
|
825
|
-
* rAF fires, guarding against a rapid close-then-reopen race.
|
|
813
|
+
* Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
|
|
814
|
+
* Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
|
|
815
|
+
* the given target if the dropdown is still closed and focus is inside the trigger.
|
|
816
|
+
* The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
|
|
817
|
+
* focus restoration can conflict otherwise.
|
|
826
818
|
*
|
|
827
819
|
* @param {HTMLElement} dropdown - The `auro-dropdown` element.
|
|
828
820
|
* @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
|
|
@@ -847,8 +839,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
|
|
|
847
839
|
*/let e$1 = class e extends i$1{constructor(i){if(super(i),this.it=A$1,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$1||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
|
|
848
840
|
|
|
849
841
|
/**
|
|
850
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
851
|
-
*
|
|
842
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
843
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
852
844
|
*
|
|
853
845
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
854
846
|
* @param {Object} [options] - The optional settings.
|
|
@@ -4435,8 +4427,8 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4435
4427
|
var iconVersion$2 = '9.2.0';
|
|
4436
4428
|
|
|
4437
4429
|
/**
|
|
4438
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
4439
|
-
*
|
|
4430
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
4431
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
4440
4432
|
*
|
|
4441
4433
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
4442
4434
|
* @param {Object} [options] - The optional settings.
|
|
@@ -5185,16 +5177,17 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
5185
5177
|
}
|
|
5186
5178
|
};
|
|
5187
5179
|
|
|
5188
|
-
var formkitVersion$1 = '
|
|
5180
|
+
var formkitVersion$1 = '202611121951';
|
|
5189
5181
|
|
|
5190
5182
|
/**
|
|
5191
5183
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
5192
5184
|
*
|
|
5193
5185
|
* It declares the `onDark` property and provides helpers that apply the
|
|
5194
5186
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
5195
|
-
* to the subclass's `.wrapper` element.
|
|
5196
|
-
* `shape`, and `size` properties with its own values and
|
|
5197
|
-
*
|
|
5187
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
5188
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
5189
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
5190
|
+
* implements unless it overrides `render()`.
|
|
5198
5191
|
*
|
|
5199
5192
|
* **Key capabilities**
|
|
5200
5193
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -5853,7 +5846,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5853
5846
|
/**
|
|
5854
5847
|
* Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
|
|
5855
5848
|
* Applies only when `shape` is also set.
|
|
5856
|
-
*
|
|
5849
|
+
* Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
|
|
5857
5850
|
* @relevantWhen shape !== undefined
|
|
5858
5851
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
5859
5852
|
* @category ui
|
|
@@ -7526,7 +7519,7 @@ class AuroHelpText extends i$2 {
|
|
|
7526
7519
|
}
|
|
7527
7520
|
}
|
|
7528
7521
|
|
|
7529
|
-
var formkitVersion = '
|
|
7522
|
+
var formkitVersion = '202611121951';
|
|
7530
7523
|
|
|
7531
7524
|
var styleCss$2 = i$5`.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}.body-default{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-variant-ligatures:none;font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-variant-ligatures:none;font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
7532
7525
|
|
|
@@ -7544,7 +7537,7 @@ var emphasizedColorCss = i$5`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
|
|
|
7544
7537
|
* - **Multiple selection**: Set `multiSelect` to let people choose more than one option.
|
|
7545
7538
|
* - **Validation**: Set `required` to require a selection, and `setCustomValidity` to change the error message.
|
|
7546
7539
|
* - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
|
|
7547
|
-
* - **Type-ahead**: Typing
|
|
7540
|
+
* - **Type-ahead**: Typing moves to the first available option whose text starts with the typed characters and opens the list; repeating a letter cycles through the options that start with it.
|
|
7548
7541
|
* - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
|
|
7549
7542
|
*
|
|
7550
7543
|
* **Example**
|
|
@@ -8067,7 +8060,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8067
8060
|
|
|
8068
8061
|
/**
|
|
8069
8062
|
* Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.
|
|
8070
|
-
*
|
|
8063
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.
|
|
8071
8064
|
* @category behavior
|
|
8072
8065
|
*/
|
|
8073
8066
|
value: {
|
|
@@ -8894,7 +8887,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8894
8887
|
|
|
8895
8888
|
/**
|
|
8896
8889
|
* Selects the menu option whose value matches, as setting `value` does.
|
|
8897
|
-
*
|
|
8890
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected.
|
|
8898
8891
|
* @param {string} value - The option value to select, such as `price`.
|
|
8899
8892
|
*/
|
|
8900
8893
|
setMenuValue(value) {
|
|
@@ -11013,8 +11006,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
11013
11006
|
}
|
|
11014
11007
|
|
|
11015
11008
|
/**
|
|
11016
|
-
* Checks whether the menu has
|
|
11017
|
-
* @returns {boolean} True if
|
|
11009
|
+
* Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
|
|
11010
|
+
* @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
|
|
11018
11011
|
*/
|
|
11019
11012
|
get hasLoadingPlaceholder() {
|
|
11020
11013
|
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
<p>In some cases, you need to preset the value of the component when it first renders.</p>
|
|
111
111
|
<auro-header level="4" id="us3a">Single select</auro-header>
|
|
112
112
|
<p>When a value is preset, the matching option is <code>selected</code>, and it becomes <code>active</code> when the bib opens.</p>
|
|
113
|
-
<p>
|
|
113
|
+
<p>When the menu already has options and a preset value doesn't match any of them, the value is reset to <code>undefined</code>. A value that matches an option marked <code>disabled</code> or <code>static</code> is also rejected and reset to <code>undefined</code>; a value matching a <code>hidden</code> option is still applied.</p>
|
|
114
114
|
<auro-header level="4" id="us3b">Multi-select</auro-header>
|
|
115
115
|
<p>When configured for multi-select, the preset value can include multiple options. The first selected option becomes <code>active</code> when the bib opens.</p>
|
|
116
116
|
<p>Preset values that match an option marked <code>disabled</code> or <code>static</code> are discarded. Values that match no option stay in <code>value</code>, so options added later can still be selected. If none of the preset values match a selectable option, the value is reset to <code>undefined</code>.</p>
|
|
@@ -49,9 +49,10 @@ const a=Symbol.for(""),o$3=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
|
|
|
49
49
|
*
|
|
50
50
|
* It declares the `onDark` property and provides helpers that apply the
|
|
51
51
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
52
|
-
* to the subclass's `.wrapper` element.
|
|
53
|
-
* `shape`, and `size` properties with its own values and
|
|
54
|
-
*
|
|
52
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
53
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
54
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
55
|
+
* implements unless it overrides `render()`.
|
|
55
56
|
*
|
|
56
57
|
* **Key capabilities**
|
|
57
58
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -809,20 +810,11 @@ function guardTouchPassthrough(element) {
|
|
|
809
810
|
}
|
|
810
811
|
|
|
811
812
|
/**
|
|
812
|
-
* Restores the dropdown trigger after a fullscreen dialog closes
|
|
813
|
-
*
|
|
814
|
-
*
|
|
815
|
-
*
|
|
816
|
-
* restoration
|
|
817
|
-
* remains inside the component after the dialog closes.
|
|
818
|
-
*
|
|
819
|
-
* Removes the `inert` attribute from the trigger so it's accessible again,
|
|
820
|
-
* and restores focus to the given target after one animation frame. The rAF
|
|
821
|
-
* delay lets Lit's microtask update cycle call `dialog.close()` first. Without
|
|
822
|
-
* it, the browser's native dialog focus restoration can conflict.
|
|
823
|
-
*
|
|
824
|
-
* The focus is only applied if the dropdown is still closed at the time the
|
|
825
|
-
* rAF fires, guarding against a rapid close-then-reopen race.
|
|
813
|
+
* Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
|
|
814
|
+
* Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
|
|
815
|
+
* the given target if the dropdown is still closed and focus is inside the trigger.
|
|
816
|
+
* The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
|
|
817
|
+
* focus restoration can conflict otherwise.
|
|
826
818
|
*
|
|
827
819
|
* @param {HTMLElement} dropdown - The `auro-dropdown` element.
|
|
828
820
|
* @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
|
|
@@ -847,8 +839,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
|
|
|
847
839
|
*/let e$1 = class e extends i$1{constructor(i){if(super(i),this.it=A$1,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$1||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
|
|
848
840
|
|
|
849
841
|
/**
|
|
850
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
851
|
-
*
|
|
842
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
843
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
852
844
|
*
|
|
853
845
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
854
846
|
* @param {Object} [options] - The optional settings.
|
|
@@ -4435,8 +4427,8 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4435
4427
|
var iconVersion$2 = '9.2.0';
|
|
4436
4428
|
|
|
4437
4429
|
/**
|
|
4438
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
4439
|
-
*
|
|
4430
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
4431
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
4440
4432
|
*
|
|
4441
4433
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
4442
4434
|
* @param {Object} [options] - The optional settings.
|
|
@@ -5185,16 +5177,17 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
5185
5177
|
}
|
|
5186
5178
|
};
|
|
5187
5179
|
|
|
5188
|
-
var formkitVersion$1 = '
|
|
5180
|
+
var formkitVersion$1 = '202611121951';
|
|
5189
5181
|
|
|
5190
5182
|
/**
|
|
5191
5183
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
5192
5184
|
*
|
|
5193
5185
|
* It declares the `onDark` property and provides helpers that apply the
|
|
5194
5186
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
5195
|
-
* to the subclass's `.wrapper` element.
|
|
5196
|
-
* `shape`, and `size` properties with its own values and
|
|
5197
|
-
*
|
|
5187
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
5188
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
5189
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
5190
|
+
* implements unless it overrides `render()`.
|
|
5198
5191
|
*
|
|
5199
5192
|
* **Key capabilities**
|
|
5200
5193
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -5853,7 +5846,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5853
5846
|
/**
|
|
5854
5847
|
* Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
|
|
5855
5848
|
* Applies only when `shape` is also set.
|
|
5856
|
-
*
|
|
5849
|
+
* Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
|
|
5857
5850
|
* @relevantWhen shape !== undefined
|
|
5858
5851
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
5859
5852
|
* @category ui
|
|
@@ -7526,7 +7519,7 @@ class AuroHelpText extends i$2 {
|
|
|
7526
7519
|
}
|
|
7527
7520
|
}
|
|
7528
7521
|
|
|
7529
|
-
var formkitVersion = '
|
|
7522
|
+
var formkitVersion = '202611121951';
|
|
7530
7523
|
|
|
7531
7524
|
var styleCss$2 = i$5`.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}.body-default{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-variant-ligatures:none;font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-variant-ligatures:none;font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
7532
7525
|
|
|
@@ -7544,7 +7537,7 @@ var emphasizedColorCss = i$5`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
|
|
|
7544
7537
|
* - **Multiple selection**: Set `multiSelect` to let people choose more than one option.
|
|
7545
7538
|
* - **Validation**: Set `required` to require a selection, and `setCustomValidity` to change the error message.
|
|
7546
7539
|
* - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
|
|
7547
|
-
* - **Type-ahead**: Typing
|
|
7540
|
+
* - **Type-ahead**: Typing moves to the first available option whose text starts with the typed characters and opens the list; repeating a letter cycles through the options that start with it.
|
|
7548
7541
|
* - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
|
|
7549
7542
|
*
|
|
7550
7543
|
* **Example**
|
|
@@ -8067,7 +8060,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8067
8060
|
|
|
8068
8061
|
/**
|
|
8069
8062
|
* Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.
|
|
8070
|
-
*
|
|
8063
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.
|
|
8071
8064
|
* @category behavior
|
|
8072
8065
|
*/
|
|
8073
8066
|
value: {
|
|
@@ -8894,7 +8887,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8894
8887
|
|
|
8895
8888
|
/**
|
|
8896
8889
|
* Selects the menu option whose value matches, as setting `value` does.
|
|
8897
|
-
*
|
|
8890
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected.
|
|
8898
8891
|
* @param {string} value - The option value to select, such as `price`.
|
|
8899
8892
|
*/
|
|
8900
8893
|
setMenuValue(value) {
|
|
@@ -11013,8 +11006,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
11013
11006
|
}
|
|
11014
11007
|
|
|
11015
11008
|
/**
|
|
11016
|
-
* Checks whether the menu has
|
|
11017
|
-
* @returns {boolean} True if
|
|
11009
|
+
* Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
|
|
11010
|
+
* @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
|
|
11018
11011
|
*/
|
|
11019
11012
|
get hasLoadingPlaceholder() {
|
|
11020
11013
|
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - **Multiple selection**: Set `multiSelect` to let people choose more than one option.
|
|
6
6
|
* - **Validation**: Set `required` to require a selection, and `setCustomValidity` to change the error message.
|
|
7
7
|
* - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
|
|
8
|
-
* - **Type-ahead**: Typing
|
|
8
|
+
* - **Type-ahead**: Typing moves to the first available option whose text starts with the typed characters and opens the list; repeating a letter cycles through the options that start with it.
|
|
9
9
|
* - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
|
|
10
10
|
*
|
|
11
11
|
* **Example**
|
|
@@ -362,7 +362,7 @@ export class AuroSelect extends AuroElement {
|
|
|
362
362
|
};
|
|
363
363
|
/**
|
|
364
364
|
* Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.
|
|
365
|
-
*
|
|
365
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.
|
|
366
366
|
* @category behavior
|
|
367
367
|
*/
|
|
368
368
|
value: {
|
|
@@ -444,6 +444,7 @@ export class AuroSelect extends AuroElement {
|
|
|
444
444
|
onDark: boolean | undefined;
|
|
445
445
|
isPopoverVisible: any;
|
|
446
446
|
typeaheadTimeoutMs: number | undefined;
|
|
447
|
+
layout: string | undefined;
|
|
447
448
|
shape: string | undefined;
|
|
448
449
|
size: string | undefined;
|
|
449
450
|
/**
|
|
@@ -628,7 +629,7 @@ export class AuroSelect extends AuroElement {
|
|
|
628
629
|
firstUpdated(): void;
|
|
629
630
|
/**
|
|
630
631
|
* Selects the menu option whose value matches, as setting `value` does.
|
|
631
|
-
*
|
|
632
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected.
|
|
632
633
|
* @param {string} value - The option value to select, such as `price`.
|
|
633
634
|
*/
|
|
634
635
|
setMenuValue(value: string): void;
|
|
@@ -12,9 +12,10 @@ import { ifDefined as ifDefined$1 } from 'lit-html/directives/if-defined.js';
|
|
|
12
12
|
*
|
|
13
13
|
* It declares the `onDark` property and provides helpers that apply the
|
|
14
14
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
15
|
-
* to the subclass's `.wrapper` element.
|
|
16
|
-
* `shape`, and `size` properties with its own values and
|
|
17
|
-
*
|
|
15
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
16
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
17
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
18
|
+
* implements unless it overrides `render()`.
|
|
18
19
|
*
|
|
19
20
|
* **Key capabilities**
|
|
20
21
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -772,20 +773,11 @@ function guardTouchPassthrough(element) {
|
|
|
772
773
|
}
|
|
773
774
|
|
|
774
775
|
/**
|
|
775
|
-
* Restores the dropdown trigger after a fullscreen dialog closes
|
|
776
|
-
*
|
|
777
|
-
*
|
|
778
|
-
*
|
|
779
|
-
* restoration
|
|
780
|
-
* remains inside the component after the dialog closes.
|
|
781
|
-
*
|
|
782
|
-
* Removes the `inert` attribute from the trigger so it's accessible again,
|
|
783
|
-
* and restores focus to the given target after one animation frame. The rAF
|
|
784
|
-
* delay lets Lit's microtask update cycle call `dialog.close()` first. Without
|
|
785
|
-
* it, the browser's native dialog focus restoration can conflict.
|
|
786
|
-
*
|
|
787
|
-
* The focus is only applied if the dropdown is still closed at the time the
|
|
788
|
-
* rAF fires, guarding against a rapid close-then-reopen race.
|
|
776
|
+
* Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
|
|
777
|
+
* Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
|
|
778
|
+
* the given target if the dropdown is still closed and focus is inside the trigger.
|
|
779
|
+
* The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
|
|
780
|
+
* focus restoration can conflict otherwise.
|
|
789
781
|
*
|
|
790
782
|
* @param {HTMLElement} dropdown - The `auro-dropdown` element.
|
|
791
783
|
* @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
|
|
@@ -804,8 +796,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
|
|
|
804
796
|
}
|
|
805
797
|
|
|
806
798
|
/**
|
|
807
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
808
|
-
*
|
|
799
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
800
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
809
801
|
*
|
|
810
802
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
811
803
|
* @param {Object} [options] - The optional settings.
|
|
@@ -4368,8 +4360,8 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4368
4360
|
var iconVersion$1 = '9.2.0';
|
|
4369
4361
|
|
|
4370
4362
|
/**
|
|
4371
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
4372
|
-
*
|
|
4363
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
4364
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
4373
4365
|
*
|
|
4374
4366
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
4375
4367
|
* @param {Object} [options] - The optional settings.
|
|
@@ -5118,16 +5110,17 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
5118
5110
|
}
|
|
5119
5111
|
};
|
|
5120
5112
|
|
|
5121
|
-
var formkitVersion$1 = '
|
|
5113
|
+
var formkitVersion$1 = '202611121951';
|
|
5122
5114
|
|
|
5123
5115
|
/**
|
|
5124
5116
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
5125
5117
|
*
|
|
5126
5118
|
* It declares the `onDark` property and provides helpers that apply the
|
|
5127
5119
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
5128
|
-
* to the subclass's `.wrapper` element.
|
|
5129
|
-
* `shape`, and `size` properties with its own values and
|
|
5130
|
-
*
|
|
5120
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
5121
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
5122
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
5123
|
+
* implements unless it overrides `render()`.
|
|
5131
5124
|
*
|
|
5132
5125
|
* **Key capabilities**
|
|
5133
5126
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -5786,7 +5779,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5786
5779
|
/**
|
|
5787
5780
|
* Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
|
|
5788
5781
|
* Applies only when `shape` is also set.
|
|
5789
|
-
*
|
|
5782
|
+
* Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
|
|
5790
5783
|
* @relevantWhen shape !== undefined
|
|
5791
5784
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
5792
5785
|
* @category ui
|
|
@@ -7459,7 +7452,7 @@ class AuroHelpText extends LitElement {
|
|
|
7459
7452
|
}
|
|
7460
7453
|
}
|
|
7461
7454
|
|
|
7462
|
-
var formkitVersion = '
|
|
7455
|
+
var formkitVersion = '202611121951';
|
|
7463
7456
|
|
|
7464
7457
|
var styleCss = 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}.body-default{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-variant-ligatures:none;font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-variant-ligatures:none;font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
7465
7458
|
|
|
@@ -7477,7 +7470,7 @@ var emphasizedColorCss = css`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
|
|
|
7477
7470
|
* - **Multiple selection**: Set `multiSelect` to let people choose more than one option.
|
|
7478
7471
|
* - **Validation**: Set `required` to require a selection, and `setCustomValidity` to change the error message.
|
|
7479
7472
|
* - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
|
|
7480
|
-
* - **Type-ahead**: Typing
|
|
7473
|
+
* - **Type-ahead**: Typing moves to the first available option whose text starts with the typed characters and opens the list; repeating a letter cycles through the options that start with it.
|
|
7481
7474
|
* - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
|
|
7482
7475
|
*
|
|
7483
7476
|
* **Example**
|
|
@@ -8000,7 +7993,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8000
7993
|
|
|
8001
7994
|
/**
|
|
8002
7995
|
* Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.
|
|
8003
|
-
*
|
|
7996
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.
|
|
8004
7997
|
* @category behavior
|
|
8005
7998
|
*/
|
|
8006
7999
|
value: {
|
|
@@ -8827,7 +8820,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
8827
8820
|
|
|
8828
8821
|
/**
|
|
8829
8822
|
* Selects the menu option whose value matches, as setting `value` does.
|
|
8830
|
-
*
|
|
8823
|
+
* Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected.
|
|
8831
8824
|
* @param {string} value - The option value to select, such as `price`.
|
|
8832
8825
|
*/
|
|
8833
8826
|
setMenuValue(value) {
|