@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.1 → 0.0.0-pr1628.11
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 +4 -4
- 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 +4 -4
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +4 -4
- 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 +4 -4
- package/components/checkbox/dist/registered.js +4 -4
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +53 -35
- package/components/combobox/demo/getting-started.min.js +53 -35
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +53 -35
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +42 -25
- package/components/combobox/dist/registered.js +42 -25
- 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 +30 -30
- 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 +30 -30
- package/components/counter/demo/index.min.js +30 -30
- 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 +30 -30
- package/components/counter/dist/registered.js +30 -30
- 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 +189 -135
- 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 +189 -135
- package/components/datepicker/demo/index.md +5 -5
- package/components/datepicker/demo/index.min.js +189 -135
- 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 +189 -135
- package/components/datepicker/dist/registered.js +189 -135
- 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 +11 -10
- package/components/dropdown/demo/design.md +4 -4
- package/components/dropdown/demo/getting-started.min.js +33 -18
- package/components/dropdown/demo/index.min.js +11 -10
- 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 +11 -10
- package/components/dropdown/dist/registered.js +11 -10
- 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 +329 -243
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +329 -243
- package/components/form/demo/index.md +2 -2
- package/components/form/demo/index.min.js +329 -243
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +327 -241
- 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/helptext/dist/auro-helptext.d.ts +1 -1
- package/components/helptext/dist/index.js +1 -1
- package/components/helptext/dist/registered.js +1 -1
- 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 +22 -8
- 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 +22 -8
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +22 -8
- 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 +22 -8
- package/components/input/dist/registered.js +22 -8
- 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 +11 -13
- 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 +11 -13
- package/components/radio/demo/index.md +1 -1
- package/components/radio/demo/index.min.js +11 -13
- 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 +11 -13
- package/components/radio/dist/registered.js +11 -13
- 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 +29 -26
- package/components/select/demo/getting-started.min.js +29 -26
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +29 -26
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +18 -16
- package/components/select/dist/registered.js +18 -16
- package/custom-elements.json +149 -133
- package/package.json +1 -1
|
@@ -5261,7 +5261,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5261
5261
|
}
|
|
5262
5262
|
|
|
5263
5263
|
/**
|
|
5264
|
-
* Called when the slot
|
|
5264
|
+
* Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
|
|
5265
5265
|
* @param {Event} [event] - The `slotchange` event, when called from one.
|
|
5266
5266
|
* @returns {void}
|
|
5267
5267
|
*/
|
|
@@ -5314,7 +5314,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5314
5314
|
}
|
|
5315
5315
|
};
|
|
5316
5316
|
|
|
5317
|
-
var formkitVersion$2 = '
|
|
5317
|
+
var formkitVersion$2 = '202611091610';
|
|
5318
5318
|
|
|
5319
5319
|
/**
|
|
5320
5320
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5480,8 +5480,8 @@ let AuroElement$2 = class AuroElement extends i$3 {
|
|
|
5480
5480
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
5481
5481
|
* @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
|
|
5482
5482
|
* @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
|
|
5483
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
5484
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
5483
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
|
|
5484
|
+
* @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
|
|
5485
5485
|
* @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
|
|
5486
5486
|
*/
|
|
5487
5487
|
class AuroDropdown extends AuroElement$2 {
|
|
@@ -5810,6 +5810,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5810
5810
|
/**
|
|
5811
5811
|
* Removes the trigger's border, background, and shadow.
|
|
5812
5812
|
* Applies only when `shape` and `size` are both set.
|
|
5813
|
+
* @relevantWhen shape !== undefined
|
|
5813
5814
|
* @category ui
|
|
5814
5815
|
*/
|
|
5815
5816
|
simple: {
|
|
@@ -6102,6 +6103,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6102
6103
|
/**
|
|
6103
6104
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
6104
6105
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
6106
|
+
* @default 0
|
|
6105
6107
|
* @category a11y
|
|
6106
6108
|
*/
|
|
6107
6109
|
tabIndex: {
|
|
@@ -6793,7 +6795,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6793
6795
|
*
|
|
6794
6796
|
* @private
|
|
6795
6797
|
* @method handleDefaultSlot
|
|
6796
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6797
6798
|
*/
|
|
6798
6799
|
handleDefaultSlot() {
|
|
6799
6800
|
|
|
@@ -6806,7 +6807,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6806
6807
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6807
6808
|
* @private
|
|
6808
6809
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6809
|
-
* @returns {
|
|
6810
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6810
6811
|
*/
|
|
6811
6812
|
renderBasicHtml(helpTextClasses) {
|
|
6812
6813
|
return u$7`
|
|
@@ -6868,7 +6869,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6868
6869
|
/**
|
|
6869
6870
|
* Renders the classic layout.
|
|
6870
6871
|
* @private
|
|
6871
|
-
* @returns {
|
|
6872
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6872
6873
|
*/
|
|
6873
6874
|
renderLayoutClassic() {
|
|
6874
6875
|
// TODO: check with Doug why this was never used?
|
|
@@ -6884,7 +6885,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6884
6885
|
/**
|
|
6885
6886
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6886
6887
|
* @private
|
|
6887
|
-
* @returns {
|
|
6888
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6888
6889
|
*/
|
|
6889
6890
|
renderLayoutSnowflake() {
|
|
6890
6891
|
const helpTextClasses = {
|
|
@@ -6901,7 +6902,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6901
6902
|
/**
|
|
6902
6903
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6903
6904
|
* @private
|
|
6904
|
-
* @returns {
|
|
6905
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6905
6906
|
*/
|
|
6906
6907
|
renderLayoutEmphasized() {
|
|
6907
6908
|
const helpTextClasses = {
|
|
@@ -6919,7 +6920,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6919
6920
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6920
6921
|
* @private
|
|
6921
6922
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6922
|
-
* @returns {
|
|
6923
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6923
6924
|
*/
|
|
6924
6925
|
renderLayout(ForcedLayout) {
|
|
6925
6926
|
const layout = ForcedLayout || this.layout;
|
|
@@ -17075,6 +17076,9 @@ function cleanEscapedString(input) {
|
|
|
17075
17076
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
17076
17077
|
}
|
|
17077
17078
|
|
|
17079
|
+
/**
|
|
17080
|
+
* Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
|
|
17081
|
+
*/
|
|
17078
17082
|
class AuroInputUtilities {
|
|
17079
17083
|
|
|
17080
17084
|
/**
|
|
@@ -17094,7 +17098,17 @@ class AuroInputUtilities {
|
|
|
17094
17098
|
} else {
|
|
17095
17099
|
this.locale = 'en-US';
|
|
17096
17100
|
}
|
|
17101
|
+
|
|
17102
|
+
/**
|
|
17103
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
17104
|
+
* @type {string|undefined}
|
|
17105
|
+
*/
|
|
17097
17106
|
this.overrideFormat = config.format;
|
|
17107
|
+
|
|
17108
|
+
/**
|
|
17109
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
17110
|
+
* @type {Intl.DateTimeFormat}
|
|
17111
|
+
*/
|
|
17098
17112
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
17099
17113
|
|
|
17100
17114
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -17525,7 +17539,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17525
17539
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
17526
17540
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
17527
17541
|
/**
|
|
17528
|
-
*
|
|
17542
|
+
* Gets the options Lit uses to create the shadow root.
|
|
17529
17543
|
* @internal
|
|
17530
17544
|
*/
|
|
17531
17545
|
static get shadowRootOptions() {
|
|
@@ -17685,8 +17699,9 @@ class BaseInput extends AuroElement$1 {
|
|
|
17685
17699
|
},
|
|
17686
17700
|
|
|
17687
17701
|
/**
|
|
17688
|
-
* Sets the shape of the field's border.
|
|
17689
|
-
* and `pill
|
|
17702
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
17703
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
17704
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
17690
17705
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
17691
17706
|
* @default 'classic'
|
|
17692
17707
|
* @category ui
|
|
@@ -17698,8 +17713,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17698
17713
|
},
|
|
17699
17714
|
|
|
17700
17715
|
/**
|
|
17701
|
-
* Sets the field's
|
|
17702
|
-
* emphasized layouts support only `xl`.
|
|
17716
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
17717
|
+
* and the emphasized layouts support only `xl`.
|
|
17703
17718
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
17704
17719
|
* @default 'lg'
|
|
17705
17720
|
* @category ui
|
|
@@ -19442,7 +19457,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19442
19457
|
}
|
|
19443
19458
|
|
|
19444
19459
|
/**
|
|
19445
|
-
* Called when the slot
|
|
19460
|
+
* Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
|
|
19446
19461
|
* @param {Event} [event] - The `slotchange` event, when called from one.
|
|
19447
19462
|
* @returns {void}
|
|
19448
19463
|
*/
|
|
@@ -19495,7 +19510,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19495
19510
|
}
|
|
19496
19511
|
};
|
|
19497
19512
|
|
|
19498
|
-
var formkitVersion$1 = '
|
|
19513
|
+
var formkitVersion$1 = '202611091610';
|
|
19499
19514
|
|
|
19500
19515
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19501
19516
|
// See LICENSE in the project root for license information.
|
|
@@ -19954,7 +19969,7 @@ class AuroInput extends BaseInput {
|
|
|
19954
19969
|
|
|
19955
19970
|
/**
|
|
19956
19971
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
19957
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
19972
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
19958
19973
|
* @private
|
|
19959
19974
|
* @returns {string}
|
|
19960
19975
|
*/
|
|
@@ -20685,7 +20700,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20685
20700
|
}
|
|
20686
20701
|
|
|
20687
20702
|
/**
|
|
20688
|
-
* Called
|
|
20703
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
20689
20704
|
* @param {Event} event - The `touchmove` event.
|
|
20690
20705
|
* @returns {void}
|
|
20691
20706
|
*/
|
|
@@ -20781,7 +20796,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20781
20796
|
}
|
|
20782
20797
|
}
|
|
20783
20798
|
|
|
20784
|
-
var formkitVersion = '
|
|
20799
|
+
var formkitVersion = '202611091610';
|
|
20785
20800
|
|
|
20786
20801
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
20787
20802
|
|
|
@@ -21120,7 +21135,7 @@ class AuroHelpText extends i$3 {
|
|
|
21120
21135
|
}
|
|
21121
21136
|
|
|
21122
21137
|
/**
|
|
21123
|
-
* Called when the slot
|
|
21138
|
+
* Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
|
|
21124
21139
|
* @param {Event} [event] - The `slotchange` event, when called from one.
|
|
21125
21140
|
* @returns {void}
|
|
21126
21141
|
*/
|
|
@@ -21250,7 +21265,7 @@ function getOptionLabel(option) {
|
|
|
21250
21265
|
*
|
|
21251
21266
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
21252
21267
|
* @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
|
|
21253
|
-
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
|
|
21268
|
+
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
|
|
21254
21269
|
* @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
|
|
21255
21270
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
21256
21271
|
* @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
|
|
@@ -21532,7 +21547,8 @@ class AuroCombobox extends AuroElement {
|
|
|
21532
21547
|
},
|
|
21533
21548
|
|
|
21534
21549
|
/**
|
|
21535
|
-
* Sets the overall style of the combobox.
|
|
21550
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
21551
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
21536
21552
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
21537
21553
|
* @default 'classic'
|
|
21538
21554
|
* @category ui
|
|
@@ -21544,8 +21560,9 @@ class AuroCombobox extends AuroElement {
|
|
|
21544
21560
|
},
|
|
21545
21561
|
|
|
21546
21562
|
/**
|
|
21547
|
-
* Sets the shape of the trigger.
|
|
21548
|
-
*
|
|
21563
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
21564
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
21565
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
21549
21566
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
21550
21567
|
* @default 'classic'
|
|
21551
21568
|
* @category ui
|
|
@@ -23765,7 +23782,7 @@ let menuInstanceIdCounter = 0;
|
|
|
23765
23782
|
*
|
|
23766
23783
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
|
|
23767
23784
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
|
|
23768
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
23785
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
23769
23786
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
23770
23787
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
|
|
23771
23788
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|
|
@@ -23910,7 +23927,7 @@ class AuroMenu extends AuroElement {
|
|
|
23910
23927
|
},
|
|
23911
23928
|
|
|
23912
23929
|
/**
|
|
23913
|
-
*
|
|
23930
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
23914
23931
|
* @private
|
|
23915
23932
|
*/
|
|
23916
23933
|
level: {
|
|
@@ -24082,8 +24099,8 @@ class AuroMenu extends AuroElement {
|
|
|
24082
24099
|
}
|
|
24083
24100
|
|
|
24084
24101
|
/**
|
|
24085
|
-
*
|
|
24086
|
-
*
|
|
24102
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
24103
|
+
* an array of values parsed from the JSON array string.
|
|
24087
24104
|
* @private
|
|
24088
24105
|
* @returns {String|Array<String>}
|
|
24089
24106
|
*/
|
|
@@ -24893,7 +24910,7 @@ class AuroMenu extends AuroElement {
|
|
|
24893
24910
|
}
|
|
24894
24911
|
|
|
24895
24912
|
/**
|
|
24896
|
-
*
|
|
24913
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
24897
24914
|
* @private
|
|
24898
24915
|
* @param {KeyboardEvent} event - The keydown event.
|
|
24899
24916
|
*/
|
|
@@ -24919,7 +24936,7 @@ class AuroMenu extends AuroElement {
|
|
|
24919
24936
|
}
|
|
24920
24937
|
|
|
24921
24938
|
/**
|
|
24922
|
-
*
|
|
24939
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
24923
24940
|
* @private
|
|
24924
24941
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
24925
24942
|
*/
|
|
@@ -24939,7 +24956,7 @@ class AuroMenu extends AuroElement {
|
|
|
24939
24956
|
}
|
|
24940
24957
|
|
|
24941
24958
|
/**
|
|
24942
|
-
*
|
|
24959
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
24943
24960
|
* @private
|
|
24944
24961
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
24945
24962
|
*/
|
|
@@ -24963,7 +24980,7 @@ class AuroMenu extends AuroElement {
|
|
|
24963
24980
|
}
|
|
24964
24981
|
|
|
24965
24982
|
/**
|
|
24966
|
-
*
|
|
24983
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
24967
24984
|
* @private
|
|
24968
24985
|
*/
|
|
24969
24986
|
handleSlotChange() {
|
|
@@ -25059,7 +25076,7 @@ class AuroMenu extends AuroElement {
|
|
|
25059
25076
|
}
|
|
25060
25077
|
|
|
25061
25078
|
/**
|
|
25062
|
-
*
|
|
25079
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
25063
25080
|
* @private
|
|
25064
25081
|
* @param {HTMLElement} option - Option with custom event.
|
|
25065
25082
|
*/
|
|
@@ -25079,6 +25096,7 @@ class AuroMenu extends AuroElement {
|
|
|
25079
25096
|
}
|
|
25080
25097
|
|
|
25081
25098
|
/**
|
|
25099
|
+
* Checks whether two selections hold the same options, in any order.
|
|
25082
25100
|
* @private
|
|
25083
25101
|
* @param {any} current - The current selection.
|
|
25084
25102
|
* @param {any} next - The new selection to compare.
|
|
@@ -25508,7 +25526,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
25508
25526
|
}
|
|
25509
25527
|
|
|
25510
25528
|
/**
|
|
25511
|
-
*
|
|
25529
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
25512
25530
|
* @private
|
|
25513
25531
|
*/
|
|
25514
25532
|
handleClick() {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
*
|
|
27
27
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
28
28
|
* @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
|
|
29
|
-
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
|
|
29
|
+
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
|
|
30
30
|
* @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
|
|
31
31
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
32
32
|
* @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
|
|
@@ -159,15 +159,17 @@ export class AuroCombobox extends AuroElement {
|
|
|
159
159
|
reflect: boolean;
|
|
160
160
|
};
|
|
161
161
|
/**
|
|
162
|
-
* Sets the overall style of the combobox.
|
|
162
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
163
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
163
164
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
164
165
|
* @default 'classic'
|
|
165
166
|
* @category ui
|
|
166
167
|
*/
|
|
167
168
|
layout: "classic" | "emphasized" | "snowflake";
|
|
168
169
|
/**
|
|
169
|
-
* Sets the shape of the trigger.
|
|
170
|
-
*
|
|
170
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
171
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
172
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
171
173
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
172
174
|
* @default 'classic'
|
|
173
175
|
* @category ui
|
|
@@ -5179,7 +5179,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5179
5179
|
}
|
|
5180
5180
|
|
|
5181
5181
|
/**
|
|
5182
|
-
* Called when the slot
|
|
5182
|
+
* Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
|
|
5183
5183
|
* @param {Event} [event] - The `slotchange` event, when called from one.
|
|
5184
5184
|
* @returns {void}
|
|
5185
5185
|
*/
|
|
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5232
5232
|
}
|
|
5233
5233
|
};
|
|
5234
5234
|
|
|
5235
|
-
var formkitVersion$2 = '
|
|
5235
|
+
var formkitVersion$2 = '202611091610';
|
|
5236
5236
|
|
|
5237
5237
|
/**
|
|
5238
5238
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5398,8 +5398,8 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
5398
5398
|
* @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
|
|
5399
5399
|
* @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
|
|
5400
5400
|
* @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
|
|
5401
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
|
|
5402
|
-
* @event auroDropdown-toggled - Notifies that the bib opened or closed.
|
|
5401
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
|
|
5402
|
+
* @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
|
|
5403
5403
|
* @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
|
|
5404
5404
|
*/
|
|
5405
5405
|
class AuroDropdown extends AuroElement$2 {
|
|
@@ -5728,6 +5728,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5728
5728
|
/**
|
|
5729
5729
|
* Removes the trigger's border, background, and shadow.
|
|
5730
5730
|
* Applies only when `shape` and `size` are both set.
|
|
5731
|
+
* @relevantWhen shape !== undefined
|
|
5731
5732
|
* @category ui
|
|
5732
5733
|
*/
|
|
5733
5734
|
simple: {
|
|
@@ -6020,6 +6021,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6020
6021
|
/**
|
|
6021
6022
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
6022
6023
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
6024
|
+
* @default 0
|
|
6023
6025
|
* @category a11y
|
|
6024
6026
|
*/
|
|
6025
6027
|
tabIndex: {
|
|
@@ -6711,7 +6713,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6711
6713
|
*
|
|
6712
6714
|
* @private
|
|
6713
6715
|
* @method handleDefaultSlot
|
|
6714
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6715
6716
|
*/
|
|
6716
6717
|
handleDefaultSlot() {
|
|
6717
6718
|
|
|
@@ -6724,7 +6725,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6724
6725
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6725
6726
|
* @private
|
|
6726
6727
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6727
|
-
* @returns {
|
|
6728
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6728
6729
|
*/
|
|
6729
6730
|
renderBasicHtml(helpTextClasses) {
|
|
6730
6731
|
return html`
|
|
@@ -6786,7 +6787,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6786
6787
|
/**
|
|
6787
6788
|
* Renders the classic layout.
|
|
6788
6789
|
* @private
|
|
6789
|
-
* @returns {
|
|
6790
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6790
6791
|
*/
|
|
6791
6792
|
renderLayoutClassic() {
|
|
6792
6793
|
// TODO: check with Doug why this was never used?
|
|
@@ -6802,7 +6803,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6802
6803
|
/**
|
|
6803
6804
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6804
6805
|
* @private
|
|
6805
|
-
* @returns {
|
|
6806
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6806
6807
|
*/
|
|
6807
6808
|
renderLayoutSnowflake() {
|
|
6808
6809
|
const helpTextClasses = {
|
|
@@ -6819,7 +6820,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6819
6820
|
/**
|
|
6820
6821
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6821
6822
|
* @private
|
|
6822
|
-
* @returns {
|
|
6823
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6823
6824
|
*/
|
|
6824
6825
|
renderLayoutEmphasized() {
|
|
6825
6826
|
const helpTextClasses = {
|
|
@@ -6837,7 +6838,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6837
6838
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6838
6839
|
* @private
|
|
6839
6840
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6840
|
-
* @returns {
|
|
6841
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6841
6842
|
*/
|
|
6842
6843
|
renderLayout(ForcedLayout) {
|
|
6843
6844
|
const layout = ForcedLayout || this.layout;
|
|
@@ -16986,6 +16987,9 @@ function cleanEscapedString(input) {
|
|
|
16986
16987
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
16987
16988
|
}
|
|
16988
16989
|
|
|
16990
|
+
/**
|
|
16991
|
+
* Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
|
|
16992
|
+
*/
|
|
16989
16993
|
class AuroInputUtilities {
|
|
16990
16994
|
|
|
16991
16995
|
/**
|
|
@@ -17005,7 +17009,17 @@ class AuroInputUtilities {
|
|
|
17005
17009
|
} else {
|
|
17006
17010
|
this.locale = 'en-US';
|
|
17007
17011
|
}
|
|
17012
|
+
|
|
17013
|
+
/**
|
|
17014
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
17015
|
+
* @type {string|undefined}
|
|
17016
|
+
*/
|
|
17008
17017
|
this.overrideFormat = config.format;
|
|
17018
|
+
|
|
17019
|
+
/**
|
|
17020
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
17021
|
+
* @type {Intl.DateTimeFormat}
|
|
17022
|
+
*/
|
|
17009
17023
|
this.formatter = new Intl.DateTimeFormat(this.locale);
|
|
17010
17024
|
|
|
17011
17025
|
// Bindings - many of these are passed into IMask callbacks,
|
|
@@ -17436,7 +17450,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17436
17450
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
17437
17451
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
17438
17452
|
/**
|
|
17439
|
-
*
|
|
17453
|
+
* Gets the options Lit uses to create the shadow root.
|
|
17440
17454
|
* @internal
|
|
17441
17455
|
*/
|
|
17442
17456
|
static get shadowRootOptions() {
|
|
@@ -17596,8 +17610,9 @@ class BaseInput extends AuroElement$1 {
|
|
|
17596
17610
|
},
|
|
17597
17611
|
|
|
17598
17612
|
/**
|
|
17599
|
-
* Sets the shape of the field's border.
|
|
17600
|
-
* and `pill
|
|
17613
|
+
* Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
|
|
17614
|
+
* and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
|
|
17615
|
+
* The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
|
|
17601
17616
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
17602
17617
|
* @default 'classic'
|
|
17603
17618
|
* @category ui
|
|
@@ -17609,8 +17624,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17609
17624
|
},
|
|
17610
17625
|
|
|
17611
17626
|
/**
|
|
17612
|
-
* Sets the field's
|
|
17613
|
-
* emphasized layouts support only `xl`.
|
|
17627
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
17628
|
+
* and the emphasized layouts support only `xl`.
|
|
17614
17629
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
17615
17630
|
* @default 'lg'
|
|
17616
17631
|
* @category ui
|
|
@@ -19353,7 +19368,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
19353
19368
|
}
|
|
19354
19369
|
|
|
19355
19370
|
/**
|
|
19356
|
-
* Called when the slot
|
|
19371
|
+
* Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
|
|
19357
19372
|
* @param {Event} [event] - The `slotchange` event, when called from one.
|
|
19358
19373
|
* @returns {void}
|
|
19359
19374
|
*/
|
|
@@ -19406,7 +19421,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
19406
19421
|
}
|
|
19407
19422
|
};
|
|
19408
19423
|
|
|
19409
|
-
var formkitVersion$1 = '
|
|
19424
|
+
var formkitVersion$1 = '202611091610';
|
|
19410
19425
|
|
|
19411
19426
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19412
19427
|
// See LICENSE in the project root for license information.
|
|
@@ -19865,7 +19880,7 @@ class AuroInput extends BaseInput {
|
|
|
19865
19880
|
|
|
19866
19881
|
/**
|
|
19867
19882
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
19868
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
19883
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
19869
19884
|
* @private
|
|
19870
19885
|
* @returns {string}
|
|
19871
19886
|
*/
|
|
@@ -20596,7 +20611,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
20596
20611
|
}
|
|
20597
20612
|
|
|
20598
20613
|
/**
|
|
20599
|
-
* Called
|
|
20614
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
20600
20615
|
* @param {Event} event - The `touchmove` event.
|
|
20601
20616
|
* @returns {void}
|
|
20602
20617
|
*/
|
|
@@ -20692,7 +20707,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
20692
20707
|
}
|
|
20693
20708
|
}
|
|
20694
20709
|
|
|
20695
|
-
var formkitVersion = '
|
|
20710
|
+
var formkitVersion = '202611091610';
|
|
20696
20711
|
|
|
20697
20712
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
20698
20713
|
|
|
@@ -21031,7 +21046,7 @@ class AuroHelpText extends LitElement {
|
|
|
21031
21046
|
}
|
|
21032
21047
|
|
|
21033
21048
|
/**
|
|
21034
|
-
* Called when the slot
|
|
21049
|
+
* Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
|
|
21035
21050
|
* @param {Event} [event] - The `slotchange` event, when called from one.
|
|
21036
21051
|
* @returns {void}
|
|
21037
21052
|
*/
|
|
@@ -21161,7 +21176,7 @@ function getOptionLabel(option) {
|
|
|
21161
21176
|
*
|
|
21162
21177
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
21163
21178
|
* @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
|
|
21164
|
-
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
|
|
21179
|
+
* @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
|
|
21165
21180
|
* @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
|
|
21166
21181
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
21167
21182
|
* @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
|
|
@@ -21443,7 +21458,8 @@ class AuroCombobox extends AuroElement {
|
|
|
21443
21458
|
},
|
|
21444
21459
|
|
|
21445
21460
|
/**
|
|
21446
|
-
* Sets the overall style of the combobox.
|
|
21461
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
21462
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
21447
21463
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
21448
21464
|
* @default 'classic'
|
|
21449
21465
|
* @category ui
|
|
@@ -21455,8 +21471,9 @@ class AuroCombobox extends AuroElement {
|
|
|
21455
21471
|
},
|
|
21456
21472
|
|
|
21457
21473
|
/**
|
|
21458
|
-
* Sets the shape of the trigger.
|
|
21459
|
-
*
|
|
21474
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
21475
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
21476
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
21460
21477
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
21461
21478
|
* @default 'classic'
|
|
21462
21479
|
* @category ui
|