@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.5 → 0.0.0-pr1628.6
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/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +29 -14
- package/components/combobox/demo/getting-started.min.js +29 -14
- package/components/combobox/demo/index.min.js +29 -14
- package/components/combobox/dist/index.js +19 -5
- package/components/combobox/dist/registered.js +19 -5
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/getting-started.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +32 -5
- package/components/datepicker/demo/getting-started.min.js +32 -5
- package/components/datepicker/demo/index.min.js +32 -5
- package/components/datepicker/dist/index.js +32 -5
- package/components/datepicker/dist/registered.js +32 -5
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +18 -4
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +84 -28
- package/components/form/demo/getting-started.min.js +84 -28
- package/components/form/demo/index.min.js +84 -28
- package/components/form/demo/registerDemoDeps.min.js +84 -28
- package/components/input/demo/api.md +58 -58
- package/components/input/demo/customize.md +7 -7
- package/components/input/demo/customize.min.js +17 -3
- package/components/input/demo/getting-started.md +3 -3
- package/components/input/demo/getting-started.min.js +17 -3
- package/components/input/demo/index.min.js +17 -3
- package/components/input/demo/why-input.md +1 -1
- package/components/input/dist/base-input.d.ts +3 -2
- package/components/input/dist/index.js +17 -3
- package/components/input/dist/registered.js +17 -3
- package/components/input/dist/utilities.d.ts +11 -0
- package/components/menu/demo/accessibility.md +1 -1
- package/components/menu/demo/customize.md +1 -1
- package/components/menu/demo/design.md +1 -1
- package/components/menu/demo/getting-started.md +1 -1
- package/components/menu/demo/index.min.js +10 -9
- package/components/menu/demo/keyboard-behavior.md +1 -1
- package/components/menu/demo/voiceover.md +1 -1
- package/components/menu/dist/auro-menu.d.ts +9 -8
- package/components/menu/dist/auro-menuoption.d.ts +1 -1
- package/components/menu/dist/index.js +10 -9
- package/components/menu/dist/registered.js +10 -9
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +12 -11
- package/components/select/demo/getting-started.min.js +12 -11
- package/components/select/demo/index.min.js +12 -11
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +24 -15
- package/package.json +1 -1
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
* @returns {string} The locale's date format in lowercase.
|
|
6
6
|
*/
|
|
7
7
|
export function getDateFormatFromLocale(locale: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* 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.
|
|
10
|
+
*/
|
|
8
11
|
export class AuroInputUtilities {
|
|
9
12
|
/**
|
|
10
13
|
* Creates a set of date and mask helpers for one locale and format.
|
|
@@ -17,7 +20,15 @@ export class AuroInputUtilities {
|
|
|
17
20
|
format?: string | undefined;
|
|
18
21
|
});
|
|
19
22
|
locale: string;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
|
|
25
|
+
* @type {string|undefined}
|
|
26
|
+
*/
|
|
20
27
|
overrideFormat: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
|
|
30
|
+
* @type {Intl.DateTimeFormat}
|
|
31
|
+
*/
|
|
21
32
|
formatter: Intl.DateTimeFormat;
|
|
22
33
|
/**
|
|
23
34
|
* Gets the uppercase date mask for the instance's locale, such as `MM/DD/YYYY` for `en-US`.
|
|
@@ -632,7 +632,7 @@ class AuroMenu extends AuroElement {
|
|
|
632
632
|
},
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
*
|
|
635
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
636
636
|
* @private
|
|
637
637
|
*/
|
|
638
638
|
level: {
|
|
@@ -804,8 +804,8 @@ class AuroMenu extends AuroElement {
|
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
|
-
*
|
|
808
|
-
*
|
|
807
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
808
|
+
* an array of values parsed from the JSON array string.
|
|
809
809
|
* @private
|
|
810
810
|
* @returns {String|Array<String>}
|
|
811
811
|
*/
|
|
@@ -1615,7 +1615,7 @@ class AuroMenu extends AuroElement {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
1617
|
/**
|
|
1618
|
-
*
|
|
1618
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
1619
1619
|
* @private
|
|
1620
1620
|
* @param {KeyboardEvent} event - The keydown event.
|
|
1621
1621
|
*/
|
|
@@ -1641,7 +1641,7 @@ class AuroMenu extends AuroElement {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
1643
|
/**
|
|
1644
|
-
*
|
|
1644
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
1645
1645
|
* @private
|
|
1646
1646
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
1647
1647
|
*/
|
|
@@ -1661,7 +1661,7 @@ class AuroMenu extends AuroElement {
|
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
1663
|
/**
|
|
1664
|
-
*
|
|
1664
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
1665
1665
|
* @private
|
|
1666
1666
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
1667
1667
|
*/
|
|
@@ -1685,7 +1685,7 @@ class AuroMenu extends AuroElement {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
1687
1687
|
/**
|
|
1688
|
-
*
|
|
1688
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
1689
1689
|
* @private
|
|
1690
1690
|
*/
|
|
1691
1691
|
handleSlotChange() {
|
|
@@ -1781,7 +1781,7 @@ class AuroMenu extends AuroElement {
|
|
|
1781
1781
|
}
|
|
1782
1782
|
|
|
1783
1783
|
/**
|
|
1784
|
-
*
|
|
1784
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
1785
1785
|
* @private
|
|
1786
1786
|
* @param {HTMLElement} option - Option with custom event.
|
|
1787
1787
|
*/
|
|
@@ -1801,6 +1801,7 @@ class AuroMenu extends AuroElement {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
|
|
1803
1803
|
/**
|
|
1804
|
+
* Checks whether two selections hold the same options, in any order.
|
|
1804
1805
|
* @private
|
|
1805
1806
|
* @param {any} current - The current selection.
|
|
1806
1807
|
* @param {any} next - The new selection to compare.
|
|
@@ -2283,7 +2284,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
2283
2284
|
}
|
|
2284
2285
|
|
|
2285
2286
|
/**
|
|
2286
|
-
*
|
|
2287
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
2287
2288
|
* @private
|
|
2288
2289
|
*/
|
|
2289
2290
|
handleClick() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<auro-header level="1" id="overview">Menu
|
|
1
|
+
<auro-header level="1" id="overview">Menu: VoiceOver behavior</auro-header>
|
|
2
2
|
<p>This page documents the VoiceOver experience when using the <code><auro-menu></code> component. It covers announcements and interactions for menu navigation and option selection.</p>
|
|
3
3
|
<div class="note"><strong>Note:</strong> In the standard integrations (<code><auro-select></code>, <code><auro-combobox></code>), keyboard focus stays on the parent trigger or input and <strong>doesn't</strong> move into the menu. The parent captures keys and drives the menu, and the active option is announced via <code>aria-activedescendant</code> on the trigger rather than by moving DOM focus between options. The focus-on-the-menu behavior described alongside the standalone case below only applies when an author makes <code><auro-menu></code> itself focusable (for example, <code>tabindex="0"</code>).</p>
|
|
4
4
|
<auro-header level="2" id="voiceOverInteractiveAnnouncements">Interactive announcements</auro-header>
|
|
@@ -63,7 +63,7 @@ export class AuroMenu extends AuroElement {
|
|
|
63
63
|
reflect: boolean;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
67
67
|
* @private
|
|
68
68
|
*/
|
|
69
69
|
level: {
|
|
@@ -135,25 +135,25 @@ export class AuroMenu extends AuroElement {
|
|
|
135
135
|
loading: boolean;
|
|
136
136
|
multiSelect: boolean;
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
139
139
|
* @private
|
|
140
140
|
* @param {KeyboardEvent} event - The keydown event.
|
|
141
141
|
*/
|
|
142
142
|
private handleKeyDown;
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
145
145
|
* @private
|
|
146
146
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
147
147
|
*/
|
|
148
148
|
private handleMouseSelect;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
151
151
|
* @private
|
|
152
152
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
153
153
|
*/
|
|
154
154
|
private handleOptionHover;
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
157
157
|
* @private
|
|
158
158
|
*/
|
|
159
159
|
private handleSlotChange;
|
|
@@ -203,8 +203,8 @@ export class AuroMenu extends AuroElement {
|
|
|
203
203
|
*/
|
|
204
204
|
readonly get currentLabel(): string;
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
207
|
-
*
|
|
206
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
207
|
+
* an array of values parsed from the JSON array string.
|
|
208
208
|
* @private
|
|
209
209
|
* @returns {String|Array<String>}
|
|
210
210
|
*/
|
|
@@ -316,7 +316,7 @@ export class AuroMenu extends AuroElement {
|
|
|
316
316
|
*/
|
|
317
317
|
updateActiveOption(indexOrOption: number | HTMLElement): void;
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
320
320
|
* @private
|
|
321
321
|
* @param {HTMLElement} option - Option with custom event.
|
|
322
322
|
*/
|
|
@@ -328,6 +328,7 @@ export class AuroMenu extends AuroElement {
|
|
|
328
328
|
*/
|
|
329
329
|
private notifySelectionChange;
|
|
330
330
|
/**
|
|
331
|
+
* Checks whether two selections hold the same options, in any order.
|
|
331
332
|
* @private
|
|
332
333
|
* @param {any} current - The current selection.
|
|
333
334
|
* @param {any} next - The new selection to compare.
|
|
@@ -175,7 +175,7 @@ export class AuroMenuOption extends AuroElement {
|
|
|
175
175
|
*/
|
|
176
176
|
attachTo(): void;
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
179
179
|
* @private
|
|
180
180
|
*/
|
|
181
181
|
private handleClick;
|
|
@@ -637,7 +637,7 @@ class AuroMenu extends AuroElement {
|
|
|
637
637
|
},
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
|
-
*
|
|
640
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
641
641
|
* @private
|
|
642
642
|
*/
|
|
643
643
|
level: {
|
|
@@ -809,8 +809,8 @@ class AuroMenu extends AuroElement {
|
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
/**
|
|
812
|
-
*
|
|
813
|
-
*
|
|
812
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
813
|
+
* an array of values parsed from the JSON array string.
|
|
814
814
|
* @private
|
|
815
815
|
* @returns {String|Array<String>}
|
|
816
816
|
*/
|
|
@@ -1620,7 +1620,7 @@ class AuroMenu extends AuroElement {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
1622
|
/**
|
|
1623
|
-
*
|
|
1623
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
1624
1624
|
* @private
|
|
1625
1625
|
* @param {KeyboardEvent} event - The keydown event.
|
|
1626
1626
|
*/
|
|
@@ -1646,7 +1646,7 @@ class AuroMenu extends AuroElement {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
|
-
*
|
|
1649
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
1650
1650
|
* @private
|
|
1651
1651
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
1652
1652
|
*/
|
|
@@ -1666,7 +1666,7 @@ class AuroMenu extends AuroElement {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
|
|
1668
1668
|
/**
|
|
1669
|
-
*
|
|
1669
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
1670
1670
|
* @private
|
|
1671
1671
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
1672
1672
|
*/
|
|
@@ -1690,7 +1690,7 @@ class AuroMenu extends AuroElement {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
1692
|
/**
|
|
1693
|
-
*
|
|
1693
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
1694
1694
|
* @private
|
|
1695
1695
|
*/
|
|
1696
1696
|
handleSlotChange() {
|
|
@@ -1786,7 +1786,7 @@ class AuroMenu extends AuroElement {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
|
|
1788
1788
|
/**
|
|
1789
|
-
*
|
|
1789
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
1790
1790
|
* @private
|
|
1791
1791
|
* @param {HTMLElement} option - Option with custom event.
|
|
1792
1792
|
*/
|
|
@@ -1806,6 +1806,7 @@ class AuroMenu extends AuroElement {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
1809
|
+
* Checks whether two selections hold the same options, in any order.
|
|
1809
1810
|
* @private
|
|
1810
1811
|
* @param {any} current - The current selection.
|
|
1811
1812
|
* @param {any} next - The new selection to compare.
|
|
@@ -2275,7 +2276,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
2275
2276
|
}
|
|
2276
2277
|
|
|
2277
2278
|
/**
|
|
2278
|
-
*
|
|
2279
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
2279
2280
|
* @private
|
|
2280
2281
|
*/
|
|
2281
2282
|
handleClick() {
|
|
@@ -598,7 +598,7 @@ class AuroMenu extends AuroElement {
|
|
|
598
598
|
},
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
*
|
|
601
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
602
602
|
* @private
|
|
603
603
|
*/
|
|
604
604
|
level: {
|
|
@@ -770,8 +770,8 @@ class AuroMenu extends AuroElement {
|
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
773
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
774
|
+
* an array of values parsed from the JSON array string.
|
|
775
775
|
* @private
|
|
776
776
|
* @returns {String|Array<String>}
|
|
777
777
|
*/
|
|
@@ -1581,7 +1581,7 @@ class AuroMenu extends AuroElement {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
1583
|
/**
|
|
1584
|
-
*
|
|
1584
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
1585
1585
|
* @private
|
|
1586
1586
|
* @param {KeyboardEvent} event - The keydown event.
|
|
1587
1587
|
*/
|
|
@@ -1607,7 +1607,7 @@ class AuroMenu extends AuroElement {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
|
|
1609
1609
|
/**
|
|
1610
|
-
*
|
|
1610
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
1611
1611
|
* @private
|
|
1612
1612
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
1613
1613
|
*/
|
|
@@ -1627,7 +1627,7 @@ class AuroMenu extends AuroElement {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
|
|
1629
1629
|
/**
|
|
1630
|
-
*
|
|
1630
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
1631
1631
|
* @private
|
|
1632
1632
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
1633
1633
|
*/
|
|
@@ -1651,7 +1651,7 @@ class AuroMenu extends AuroElement {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
/**
|
|
1654
|
-
*
|
|
1654
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
1655
1655
|
* @private
|
|
1656
1656
|
*/
|
|
1657
1657
|
handleSlotChange() {
|
|
@@ -1747,7 +1747,7 @@ class AuroMenu extends AuroElement {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
|
|
1749
1749
|
/**
|
|
1750
|
-
*
|
|
1750
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
1751
1751
|
* @private
|
|
1752
1752
|
* @param {HTMLElement} option - Option with custom event.
|
|
1753
1753
|
*/
|
|
@@ -1767,6 +1767,7 @@ class AuroMenu extends AuroElement {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
|
|
1769
1769
|
/**
|
|
1770
|
+
* Checks whether two selections hold the same options, in any order.
|
|
1770
1771
|
* @private
|
|
1771
1772
|
* @param {any} current - The current selection.
|
|
1772
1773
|
* @param {any} next - The new selection to compare.
|
|
@@ -2236,7 +2237,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
2236
2237
|
}
|
|
2237
2238
|
|
|
2238
2239
|
/**
|
|
2239
|
-
*
|
|
2240
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
2240
2241
|
* @private
|
|
2241
2242
|
*/
|
|
2242
2243
|
handleClick() {
|
|
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
var formkitVersion = '
|
|
1341
|
+
var formkitVersion = '202611082047';
|
|
1342
1342
|
|
|
1343
1343
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1344
1344
|
// See LICENSE in the project root for license information.
|
|
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
var formkitVersion = '
|
|
1341
|
+
var formkitVersion = '202611082047';
|
|
1342
1342
|
|
|
1343
1343
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1344
1344
|
// See LICENSE in the project root for license information.
|
|
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
var formkitVersion = '
|
|
1341
|
+
var formkitVersion = '202611082047';
|
|
1342
1342
|
|
|
1343
1343
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1344
1344
|
// See LICENSE in the project root for license information.
|
|
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
var formkitVersion = '
|
|
1280
|
+
var formkitVersion = '202611082047';
|
|
1281
1281
|
|
|
1282
1282
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1283
1283
|
// See LICENSE in the project root for license information.
|
|
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
var formkitVersion = '
|
|
1280
|
+
var formkitVersion = '202611082047';
|
|
1281
1281
|
|
|
1282
1282
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1283
1283
|
// See LICENSE in the project root for license information.
|
|
@@ -5185,7 +5185,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
5185
5185
|
}
|
|
5186
5186
|
};
|
|
5187
5187
|
|
|
5188
|
-
var formkitVersion$1 = '
|
|
5188
|
+
var formkitVersion$1 = '202611082047';
|
|
5189
5189
|
|
|
5190
5190
|
/**
|
|
5191
5191
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -7525,7 +7525,7 @@ class AuroHelpText extends i$2 {
|
|
|
7525
7525
|
}
|
|
7526
7526
|
}
|
|
7527
7527
|
|
|
7528
|
-
var formkitVersion = '
|
|
7528
|
+
var formkitVersion = '202611082047';
|
|
7529
7529
|
|
|
7530
7530
|
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}`;
|
|
7531
7531
|
|
|
@@ -9796,7 +9796,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9796
9796
|
},
|
|
9797
9797
|
|
|
9798
9798
|
/**
|
|
9799
|
-
*
|
|
9799
|
+
* Holds how deeply a nested menu is indented, which sets how many spacers its options get.
|
|
9800
9800
|
* @private
|
|
9801
9801
|
*/
|
|
9802
9802
|
level: {
|
|
@@ -9968,8 +9968,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9968
9968
|
}
|
|
9969
9969
|
|
|
9970
9970
|
/**
|
|
9971
|
-
*
|
|
9972
|
-
*
|
|
9971
|
+
* Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
|
|
9972
|
+
* an array of values parsed from the JSON array string.
|
|
9973
9973
|
* @private
|
|
9974
9974
|
* @returns {String|Array<String>}
|
|
9975
9975
|
*/
|
|
@@ -10779,7 +10779,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10779
10779
|
}
|
|
10780
10780
|
|
|
10781
10781
|
/**
|
|
10782
|
-
*
|
|
10782
|
+
* Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
|
|
10783
10783
|
* @private
|
|
10784
10784
|
* @param {KeyboardEvent} event - The keydown event.
|
|
10785
10785
|
*/
|
|
@@ -10805,7 +10805,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10805
10805
|
}
|
|
10806
10806
|
|
|
10807
10807
|
/**
|
|
10808
|
-
*
|
|
10808
|
+
* Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
|
|
10809
10809
|
* @private
|
|
10810
10810
|
* @param {CustomEvent} event - The auroMenuOption-click event.
|
|
10811
10811
|
*/
|
|
@@ -10825,7 +10825,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10825
10825
|
}
|
|
10826
10826
|
|
|
10827
10827
|
/**
|
|
10828
|
-
*
|
|
10828
|
+
* Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
|
|
10829
10829
|
* @private
|
|
10830
10830
|
* @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
|
|
10831
10831
|
*/
|
|
@@ -10849,7 +10849,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10849
10849
|
}
|
|
10850
10850
|
|
|
10851
10851
|
/**
|
|
10852
|
-
*
|
|
10852
|
+
* Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
|
|
10853
10853
|
* @private
|
|
10854
10854
|
*/
|
|
10855
10855
|
handleSlotChange() {
|
|
@@ -10945,7 +10945,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10945
10945
|
}
|
|
10946
10946
|
|
|
10947
10947
|
/**
|
|
10948
|
-
*
|
|
10948
|
+
* Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
|
|
10949
10949
|
* @private
|
|
10950
10950
|
* @param {HTMLElement} option - Option with custom event.
|
|
10951
10951
|
*/
|
|
@@ -10965,6 +10965,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10965
10965
|
}
|
|
10966
10966
|
|
|
10967
10967
|
/**
|
|
10968
|
+
* Checks whether two selections hold the same options, in any order.
|
|
10968
10969
|
* @private
|
|
10969
10970
|
* @param {any} current - The current selection.
|
|
10970
10971
|
* @param {any} next - The new selection to compare.
|
|
@@ -11394,7 +11395,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
11394
11395
|
}
|
|
11395
11396
|
|
|
11396
11397
|
/**
|
|
11397
|
-
*
|
|
11398
|
+
* Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
|
|
11398
11399
|
* @private
|
|
11399
11400
|
*/
|
|
11400
11401
|
handleClick() {
|