@aurodesignsystem-dev/auro-formkit 0.0.0-pr1271.10 → 0.0.0-pr1271.12
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.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +18 -3
- package/components/combobox/demo/index.min.js +18 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/api.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/api.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/api.min.js +1 -1
- 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/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/api.js +4 -5
- package/components/menu/demo/api.md +98 -8
- package/components/menu/demo/api.min.js +55 -4
- package/components/menu/demo/index.js +0 -3
- package/components/menu/demo/index.min.js +15 -0
- package/components/menu/dist/auro-menu.d.ts +6 -5
- package/components/menu/dist/auro-menuoption.d.ts +7 -5
- package/components/menu/dist/index.js +15 -0
- package/components/menu/dist/registered.js +15 -0
- package/components/radio/demo/api.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/api.min.js +17 -2
- package/components/select/demo/index.min.js +17 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { auroMenuResetExample } from '../apiExamples/reset';
|
|
4
4
|
import { auroMenuMatchWordExample } from '../apiExamples/match-word';
|
|
5
|
+
import { initKeysExample } from '../apiExamples/keys';
|
|
5
6
|
import { auroMenuLoadingExample } from '../apiExamples/loading';
|
|
6
7
|
import { initSelectAllMatchingOptionsExample } from '../apiExamples/select-all-matching-options';
|
|
7
|
-
// import { initKeysExample } from '../apiExamples/keys.js';
|
|
8
8
|
import '../src/registered.js';
|
|
9
9
|
|
|
10
10
|
export function initExamples(initCount) {
|
|
@@ -12,12 +12,11 @@ export function initExamples(initCount) {
|
|
|
12
12
|
|
|
13
13
|
try {
|
|
14
14
|
// javascript example function calls to be added here upon creation to test examples
|
|
15
|
-
|
|
16
|
-
auroMenuMatchWordExample();
|
|
17
|
-
auroMenuCustomEventExample();
|
|
15
|
+
initKeysExample();
|
|
18
16
|
auroMenuLoadingExample();
|
|
17
|
+
auroMenuMatchWordExample();
|
|
19
18
|
initSelectAllMatchingOptionsExample();
|
|
20
|
-
|
|
19
|
+
auroMenuResetExample();
|
|
21
20
|
} catch (err) {
|
|
22
21
|
if (initCount <= 20) {
|
|
23
22
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
@@ -15,7 +15,6 @@ The `auro-menu` element provides users a way to select from a list of options.
|
|
|
15
15
|
| [hasLoadingPlaceholder](#hasLoadingPlaceholder) | `hasLoadingPlaceholder` | | `boolean` | | Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state. |
|
|
16
16
|
| [index](#index) | | | `number` | | |
|
|
17
17
|
| [items](#items) | | readonly | `HTMLElement[]` | | |
|
|
18
|
-
| [layout](#layout) | | | `string` | | |
|
|
19
18
|
| [loading](#loading) | `loading` | | `boolean` | false | When true, displays a loading state using the loadingIcon and loadingText slots if provided. |
|
|
20
19
|
| [matchWord](#matchWord) | `matchword` | | `string` | "undefined" | Specifies a string used to highlight matched string parts in options. |
|
|
21
20
|
| [multiSelect](#multiSelect) | `multiselect` | | `boolean` | false | When true, the selected option can be multiple options. |
|
|
@@ -66,7 +65,7 @@ The `auro-menuoption` element provides users a way to define a menu option.
|
|
|
66
65
|
| [disabled](#disabled) | `disabled` | | `boolean` | false | When true, disables the menu option. |
|
|
67
66
|
| [iconTag](#iconTag) | | | `string` | | |
|
|
68
67
|
| [isActive](#isActive) | | readonly | `boolean` | | Returns whether the menu option is currently active and selectable.<br />An option is considered active if it is not hidden, not disabled, and not static. |
|
|
69
|
-
| [
|
|
68
|
+
| [key](#key) | `key` | | `string` | | Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used. |
|
|
70
69
|
| [selected](#selected) | `selected` | | `boolean` | false | Specifies that an option is selected. |
|
|
71
70
|
| [tabIndex](#tabIndex) | `tabIndex` | | `number` | | Specifies the tab index of the menu option. |
|
|
72
71
|
| [unsubscribe](#unsubscribe) | | | | null | |
|
|
@@ -259,6 +258,101 @@ The `auro-menuoption` element supports the placement of the `disabled` attribute
|
|
|
259
258
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
260
259
|
</auro-accordion>
|
|
261
260
|
|
|
261
|
+
### Keys
|
|
262
|
+
|
|
263
|
+
When setting the `value` property, matches are actually performed on the value of the `key` property of the `auro-menuoption` and not the `value` property. By default, the value of `key` is equal to the value of the `value` property. However, for advanced use cases, the `key` value can be overriden to allow for more specific matches.
|
|
264
|
+
|
|
265
|
+
In the below example, there is a list of "popular" options at the top, with the same values repeated underneath. To allow more specific selections, we can add a `key` attribute to the top options to allow them to be more specifically selected, or to prevent them from interfering with matches on the lower options.
|
|
266
|
+
|
|
267
|
+
In the below example, setting the value of the menu `'stops'` will select the bottom-most option with the value `'stops'`, and setting the value of menu to `'stops-top'` will select the top-most option with the value `'stops'` since the key now differs from the value. In either case, the resulting value of the menu will be `'stops'` because the resulting value of the menu is based on the `value` property and not the `key` property.
|
|
268
|
+
|
|
269
|
+
Due to a limitation with Lit change detection to the `value` property, if multiple options with the same exist and one is selected, you must first clear the current value before attempting to select another option with the same value, even if the keys are unique. See code example below.
|
|
270
|
+
|
|
271
|
+
_Note: Since the value passed to the `value` property when programmatically setting it is overwritten with the proper derived value once the menu has updated, note that it will take one lifecycle before the `value` property is updated to the value that represents the actual menu state._
|
|
272
|
+
|
|
273
|
+
<div class="exampleWrapper">
|
|
274
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/keys.html) -->
|
|
275
|
+
<!-- The below content is automatically added from ./../apiExamples/keys.html -->
|
|
276
|
+
<auro-button id="stopsTopButton">Call `menu.value = 'stops-top'`</auro-button>
|
|
277
|
+
<auro-button id="stopsButton">Call `menu.value = 'stops'`</auro-button>
|
|
278
|
+
<auro-menu id="keys-menu">
|
|
279
|
+
<auro-menuoption value="stops" key="stops-top">Stops</auro-menuoption>
|
|
280
|
+
<auro-menuoption value="price" key="price-top">Price</auro-menuoption>
|
|
281
|
+
<hr>
|
|
282
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
283
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
284
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
285
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
286
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
287
|
+
</auro-menu>
|
|
288
|
+
<p id="output" class="body-sm"></p>
|
|
289
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
290
|
+
</div>
|
|
291
|
+
<auro-accordion alignRight>
|
|
292
|
+
<span slot="trigger">See code</span>
|
|
293
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/keys.html) -->
|
|
294
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/keys.html -->
|
|
295
|
+
|
|
296
|
+
```html
|
|
297
|
+
<auro-button id="stopsTopButton">Call `menu.value = 'stops-top'`</auro-button>
|
|
298
|
+
<auro-button id="stopsButton">Call `menu.value = 'stops'`</auro-button>
|
|
299
|
+
<auro-menu id="keys-menu">
|
|
300
|
+
<auro-menuoption value="stops" key="stops-top">Stops</auro-menuoption>
|
|
301
|
+
<auro-menuoption value="price" key="price-top">Price</auro-menuoption>
|
|
302
|
+
<hr>
|
|
303
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
304
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
305
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
306
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
307
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
308
|
+
</auro-menu>
|
|
309
|
+
<p id="output" class="body-sm"></p>
|
|
310
|
+
```
|
|
311
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
312
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/keys.js) -->
|
|
313
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/keys.js -->
|
|
314
|
+
|
|
315
|
+
```js
|
|
316
|
+
export function initKeysExample() {
|
|
317
|
+
const menu = document.getElementById('keys-menu');
|
|
318
|
+
const stopsButton = document.getElementById('stopsButton');
|
|
319
|
+
const stopsTopButton = document.getElementById('stopsTopButton');
|
|
320
|
+
const output = document.getElementById('output');
|
|
321
|
+
|
|
322
|
+
const createConsoleEntry = (message) => {
|
|
323
|
+
const node = document.createElement('span');
|
|
324
|
+
node.innerHTML = message;
|
|
325
|
+
output.appendChild(node);
|
|
326
|
+
output.appendChild(document.createElement('br'));
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
const resetConsole = () => {
|
|
330
|
+
output.innerHTML = '';
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
const updateMenuValue = (value) => {
|
|
334
|
+
resetConsole();
|
|
335
|
+
createConsoleEntry(`Setting menu.value: <em>"${value}"</em>`);
|
|
336
|
+
menu.value = '';
|
|
337
|
+
menu.value = value;
|
|
338
|
+
createConsoleEntry(`menu.value before next lifecycle: <em>"${menu.value}"</em>`);
|
|
339
|
+
setTimeout(() => {
|
|
340
|
+
createConsoleEntry(`menu.value after lifecycle: <em>"${menu.value}"</em>`);
|
|
341
|
+
});
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
stopsButton.addEventListener('click', () => {
|
|
345
|
+
updateMenuValue('stops');
|
|
346
|
+
});
|
|
347
|
+
|
|
348
|
+
stopsTopButton.addEventListener('click', () => {
|
|
349
|
+
updateMenuValue('stops-top');
|
|
350
|
+
});
|
|
351
|
+
};
|
|
352
|
+
```
|
|
353
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
354
|
+
</auro-accordion>
|
|
355
|
+
|
|
262
356
|
### Loading
|
|
263
357
|
|
|
264
358
|
While content is loading, the menu can either remain empty or display a loading placeholder
|
|
@@ -266,9 +360,7 @@ While content is loading, the menu can either remain empty or display a loading
|
|
|
266
360
|
<div class="exampleWrapper">
|
|
267
361
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
|
|
268
362
|
<!-- The below content is automatically added from ./../apiExamples/loading.html -->
|
|
269
|
-
<
|
|
270
|
-
</script>
|
|
271
|
-
<auro-button common id="loadingExampleToggleButton">Toggle Loading</auro-button>
|
|
363
|
+
<auro-button id="loadingExampleToggleButton">Toggle Loading</auro-button>
|
|
272
364
|
<table id="loadingExampleTable">
|
|
273
365
|
<thead>
|
|
274
366
|
<tr>
|
|
@@ -328,9 +420,7 @@ While content is loading, the menu can either remain empty or display a loading
|
|
|
328
420
|
<!-- The below code snippet is automatically added from ./../apiExamples/loading.html -->
|
|
329
421
|
|
|
330
422
|
```html
|
|
331
|
-
<
|
|
332
|
-
</script>
|
|
333
|
-
<auro-button common id="loadingExampleToggleButton">Toggle Loading</auro-button>
|
|
423
|
+
<auro-button id="loadingExampleToggleButton">Toggle Loading</auro-button>
|
|
334
424
|
<table id="loadingExampleTable">
|
|
335
425
|
<thead>
|
|
336
426
|
<tr>
|
|
@@ -21,6 +21,43 @@ function auroMenuMatchWordExample() {
|
|
|
21
21
|
matchWordInput.addEventListener('keyup', updateMatch);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
function initKeysExample() {
|
|
25
|
+
const menu = document.getElementById('keys-menu');
|
|
26
|
+
const stopsButton = document.getElementById('stopsButton');
|
|
27
|
+
const stopsTopButton = document.getElementById('stopsTopButton');
|
|
28
|
+
const output = document.getElementById('output');
|
|
29
|
+
|
|
30
|
+
const createConsoleEntry = (message) => {
|
|
31
|
+
const node = document.createElement('span');
|
|
32
|
+
node.innerHTML = message;
|
|
33
|
+
output.appendChild(node);
|
|
34
|
+
output.appendChild(document.createElement('br'));
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const resetConsole = () => {
|
|
38
|
+
output.innerHTML = '';
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const updateMenuValue = (value) => {
|
|
42
|
+
resetConsole();
|
|
43
|
+
createConsoleEntry(`Setting menu.value: <em>"${value}"</em>`);
|
|
44
|
+
menu.value = '';
|
|
45
|
+
menu.value = value;
|
|
46
|
+
createConsoleEntry(`menu.value before next lifecycle: <em>"${menu.value}"</em>`);
|
|
47
|
+
setTimeout(() => {
|
|
48
|
+
createConsoleEntry(`menu.value after lifecycle: <em>"${menu.value}"</em>`);
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
stopsButton.addEventListener('click', () => {
|
|
53
|
+
updateMenuValue('stops');
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
stopsTopButton.addEventListener('click', () => {
|
|
57
|
+
updateMenuValue('stops-top');
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
24
61
|
function auroMenuLoadingExample() {
|
|
25
62
|
document.querySelector("#loadingExampleToggleButton").addEventListener("click", () => {
|
|
26
63
|
document.querySelectorAll("#loadingExampleTable auro-menu").forEach(menu => menu.toggleAttribute("loading"));
|
|
@@ -433,6 +470,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
433
470
|
|
|
434
471
|
/**
|
|
435
472
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
473
|
+
* @customElement auro-menuoption
|
|
436
474
|
*
|
|
437
475
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
438
476
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -525,6 +563,13 @@ class AuroMenuOption extends AuroElement {
|
|
|
525
563
|
/**
|
|
526
564
|
* @private
|
|
527
565
|
*/
|
|
566
|
+
layout: {
|
|
567
|
+
type: String
|
|
568
|
+
},
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
572
|
+
*/
|
|
528
573
|
key: {
|
|
529
574
|
type: String,
|
|
530
575
|
reflect: true
|
|
@@ -1632,6 +1677,13 @@ class AuroMenu extends AuroElement {
|
|
|
1632
1677
|
type: Boolean
|
|
1633
1678
|
},
|
|
1634
1679
|
|
|
1680
|
+
/**
|
|
1681
|
+
* @private
|
|
1682
|
+
*/
|
|
1683
|
+
layout: {
|
|
1684
|
+
type: String
|
|
1685
|
+
},
|
|
1686
|
+
|
|
1635
1687
|
/**
|
|
1636
1688
|
* Indent level for submenus.
|
|
1637
1689
|
* @private
|
|
@@ -2200,12 +2252,11 @@ function initExamples(initCount) {
|
|
|
2200
2252
|
|
|
2201
2253
|
try {
|
|
2202
2254
|
// javascript example function calls to be added here upon creation to test examples
|
|
2203
|
-
|
|
2204
|
-
auroMenuMatchWordExample();
|
|
2205
|
-
auroMenuCustomEventExample();
|
|
2255
|
+
initKeysExample();
|
|
2206
2256
|
auroMenuLoadingExample();
|
|
2257
|
+
auroMenuMatchWordExample();
|
|
2207
2258
|
initSelectAllMatchingOptionsExample();
|
|
2208
|
-
|
|
2259
|
+
auroMenuResetExample();
|
|
2209
2260
|
} catch (err) {
|
|
2210
2261
|
if (initCount <= 20) {
|
|
2211
2262
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers, no-param-reassign */
|
|
2
2
|
|
|
3
|
-
// import { initKeysExample } from '../apiExamples/keys.js';
|
|
4
|
-
|
|
5
3
|
import { AuroMenu } from '../src/auro-menu.js';
|
|
6
4
|
import { AuroMenuOption } from '../src/auro-menuoption.js';
|
|
7
5
|
|
|
@@ -15,7 +13,6 @@ export function initExamples(initCount) {
|
|
|
15
13
|
|
|
16
14
|
try {
|
|
17
15
|
// javascript example function calls to be added here upon creation to test examples
|
|
18
|
-
// initKeysExample();
|
|
19
16
|
} catch (err) {
|
|
20
17
|
if (initCount <= 20) {
|
|
21
18
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
@@ -378,6 +378,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
380
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
381
|
+
* @customElement auro-menuoption
|
|
381
382
|
*
|
|
382
383
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
383
384
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -470,6 +471,13 @@ class AuroMenuOption extends AuroElement {
|
|
|
470
471
|
/**
|
|
471
472
|
* @private
|
|
472
473
|
*/
|
|
474
|
+
layout: {
|
|
475
|
+
type: String
|
|
476
|
+
},
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
480
|
+
*/
|
|
473
481
|
key: {
|
|
474
482
|
type: String,
|
|
475
483
|
reflect: true
|
|
@@ -1577,6 +1585,13 @@ class AuroMenu extends AuroElement {
|
|
|
1577
1585
|
type: Boolean
|
|
1578
1586
|
},
|
|
1579
1587
|
|
|
1588
|
+
/**
|
|
1589
|
+
* @private
|
|
1590
|
+
*/
|
|
1591
|
+
layout: {
|
|
1592
|
+
type: String
|
|
1593
|
+
},
|
|
1594
|
+
|
|
1580
1595
|
/**
|
|
1581
1596
|
* Indent level for submenus.
|
|
1582
1597
|
* @private
|
|
@@ -34,6 +34,12 @@ export class AuroMenu extends AuroElement {
|
|
|
34
34
|
hasLoadingPlaceholder: {
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* @private
|
|
39
|
+
*/
|
|
40
|
+
layout: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
};
|
|
37
43
|
/**
|
|
38
44
|
* Indent level for submenus.
|
|
39
45
|
* @private
|
|
@@ -118,11 +124,6 @@ export class AuroMenu extends AuroElement {
|
|
|
118
124
|
reflect: boolean;
|
|
119
125
|
attribute: string;
|
|
120
126
|
};
|
|
121
|
-
layout: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
attribute: string;
|
|
124
|
-
reflect: boolean;
|
|
125
|
-
};
|
|
126
127
|
};
|
|
127
128
|
static get styles(): import("lit").CSSResult[];
|
|
128
129
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
3
|
+
* @customElement auro-menuoption
|
|
3
4
|
*
|
|
4
5
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
5
6
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -32,6 +33,12 @@ export class AuroMenuOption extends AuroElement {
|
|
|
32
33
|
/**
|
|
33
34
|
* @private
|
|
34
35
|
*/
|
|
36
|
+
layout: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
41
|
+
*/
|
|
35
42
|
key: {
|
|
36
43
|
type: StringConstructor;
|
|
37
44
|
reflect: boolean;
|
|
@@ -78,11 +85,6 @@ export class AuroMenuOption extends AuroElement {
|
|
|
78
85
|
type: StringConstructor;
|
|
79
86
|
reflect: boolean;
|
|
80
87
|
};
|
|
81
|
-
layout: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
attribute: string;
|
|
84
|
-
reflect: boolean;
|
|
85
|
-
};
|
|
86
88
|
};
|
|
87
89
|
static get styles(): import("lit").CSSResult[];
|
|
88
90
|
/**
|
|
@@ -352,6 +352,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
355
|
+
* @customElement auro-menuoption
|
|
355
356
|
*
|
|
356
357
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
357
358
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -444,6 +445,13 @@ class AuroMenuOption extends AuroElement {
|
|
|
444
445
|
/**
|
|
445
446
|
* @private
|
|
446
447
|
*/
|
|
448
|
+
layout: {
|
|
449
|
+
type: String
|
|
450
|
+
},
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
454
|
+
*/
|
|
447
455
|
key: {
|
|
448
456
|
type: String,
|
|
449
457
|
reflect: true
|
|
@@ -1551,6 +1559,13 @@ class AuroMenu extends AuroElement {
|
|
|
1551
1559
|
type: Boolean
|
|
1552
1560
|
},
|
|
1553
1561
|
|
|
1562
|
+
/**
|
|
1563
|
+
* @private
|
|
1564
|
+
*/
|
|
1565
|
+
layout: {
|
|
1566
|
+
type: String
|
|
1567
|
+
},
|
|
1568
|
+
|
|
1554
1569
|
/**
|
|
1555
1570
|
* Indent level for submenus.
|
|
1556
1571
|
* @private
|
|
@@ -299,6 +299,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
302
|
+
* @customElement auro-menuoption
|
|
302
303
|
*
|
|
303
304
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
304
305
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -391,6 +392,13 @@ class AuroMenuOption extends AuroElement {
|
|
|
391
392
|
/**
|
|
392
393
|
* @private
|
|
393
394
|
*/
|
|
395
|
+
layout: {
|
|
396
|
+
type: String
|
|
397
|
+
},
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
401
|
+
*/
|
|
394
402
|
key: {
|
|
395
403
|
type: String,
|
|
396
404
|
reflect: true
|
|
@@ -1498,6 +1506,13 @@ class AuroMenu extends AuroElement {
|
|
|
1498
1506
|
type: Boolean
|
|
1499
1507
|
},
|
|
1500
1508
|
|
|
1509
|
+
/**
|
|
1510
|
+
* @private
|
|
1511
|
+
*/
|
|
1512
|
+
layout: {
|
|
1513
|
+
type: String
|
|
1514
|
+
},
|
|
1515
|
+
|
|
1501
1516
|
/**
|
|
1502
1517
|
* Indent level for submenus.
|
|
1503
1518
|
* @private
|
|
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
|
-
var formkitVersion = '
|
|
1648
|
+
var formkitVersion = '202601091820';
|
|
1649
1649
|
|
|
1650
1650
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1651
1651
|
// See LICENSE in the project root for license information.
|
|
@@ -1620,7 +1620,7 @@ class AuroHelpText extends i$2 {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
var formkitVersion = '
|
|
1623
|
+
var formkitVersion = '202601091820';
|
|
1624
1624
|
|
|
1625
1625
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1626
1626
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202601091820';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202601091820';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -4352,7 +4352,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
4352
4352
|
}
|
|
4353
4353
|
};
|
|
4354
4354
|
|
|
4355
|
-
var formkitVersion$1 = '
|
|
4355
|
+
var formkitVersion$1 = '202601091820';
|
|
4356
4356
|
|
|
4357
4357
|
class AuroElement extends i$3 {
|
|
4358
4358
|
static get properties() {
|
|
@@ -5999,7 +5999,7 @@ class AuroHelpText extends i$3 {
|
|
|
5999
5999
|
}
|
|
6000
6000
|
}
|
|
6001
6001
|
|
|
6002
|
-
var formkitVersion = '
|
|
6002
|
+
var formkitVersion = '202601091820';
|
|
6003
6003
|
|
|
6004
6004
|
var styleCss$2 = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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-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-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-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-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-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-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-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-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-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-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-weight:var(--wcss-heading-xs-weight, 450);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-weight:var(--wcss-heading-2xs-weight, 450);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-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-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-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-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-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-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-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 [slot=displayValue]{display:none}.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%;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{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}: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}`;
|
|
6005
6005
|
|
|
@@ -7487,6 +7487,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
7487
7487
|
|
|
7488
7488
|
/**
|
|
7489
7489
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
7490
|
+
* @customElement auro-menuoption
|
|
7490
7491
|
*
|
|
7491
7492
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
7492
7493
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -7579,6 +7580,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
7579
7580
|
/**
|
|
7580
7581
|
* @private
|
|
7581
7582
|
*/
|
|
7583
|
+
layout: {
|
|
7584
|
+
type: String
|
|
7585
|
+
},
|
|
7586
|
+
|
|
7587
|
+
/**
|
|
7588
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
7589
|
+
*/
|
|
7582
7590
|
key: {
|
|
7583
7591
|
type: String,
|
|
7584
7592
|
reflect: true
|
|
@@ -8686,6 +8694,13 @@ class AuroMenu extends AuroElement$1 {
|
|
|
8686
8694
|
type: Boolean
|
|
8687
8695
|
},
|
|
8688
8696
|
|
|
8697
|
+
/**
|
|
8698
|
+
* @private
|
|
8699
|
+
*/
|
|
8700
|
+
layout: {
|
|
8701
|
+
type: String
|
|
8702
|
+
},
|
|
8703
|
+
|
|
8689
8704
|
/**
|
|
8690
8705
|
* Indent level for submenus.
|
|
8691
8706
|
* @private
|
|
@@ -4260,7 +4260,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
4260
4260
|
}
|
|
4261
4261
|
};
|
|
4262
4262
|
|
|
4263
|
-
var formkitVersion$1 = '
|
|
4263
|
+
var formkitVersion$1 = '202601091820';
|
|
4264
4264
|
|
|
4265
4265
|
class AuroElement extends i$3 {
|
|
4266
4266
|
static get properties() {
|
|
@@ -5907,7 +5907,7 @@ class AuroHelpText extends i$3 {
|
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
|
|
5910
|
-
var formkitVersion = '
|
|
5910
|
+
var formkitVersion = '202601091820';
|
|
5911
5911
|
|
|
5912
5912
|
var styleCss$2 = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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-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-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-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-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-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-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-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-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-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-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-weight:var(--wcss-heading-xs-weight, 450);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-weight:var(--wcss-heading-2xs-weight, 450);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-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-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-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-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-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-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-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 [slot=displayValue]{display:none}.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%;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{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}: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}`;
|
|
5913
5913
|
|
|
@@ -7395,6 +7395,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
7395
7395
|
|
|
7396
7396
|
/**
|
|
7397
7397
|
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
7398
|
+
* @customElement auro-menuoption
|
|
7398
7399
|
*
|
|
7399
7400
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
7400
7401
|
* @slot - Specifies text for an option, but is not the value.
|
|
@@ -7487,6 +7488,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
7487
7488
|
/**
|
|
7488
7489
|
* @private
|
|
7489
7490
|
*/
|
|
7491
|
+
layout: {
|
|
7492
|
+
type: String
|
|
7493
|
+
},
|
|
7494
|
+
|
|
7495
|
+
/**
|
|
7496
|
+
* Allows users to set a unique key for the menu option for specified option selection. If no key is provided, the value property will be used.
|
|
7497
|
+
*/
|
|
7490
7498
|
key: {
|
|
7491
7499
|
type: String,
|
|
7492
7500
|
reflect: true
|
|
@@ -8594,6 +8602,13 @@ class AuroMenu extends AuroElement$1 {
|
|
|
8594
8602
|
type: Boolean
|
|
8595
8603
|
},
|
|
8596
8604
|
|
|
8605
|
+
/**
|
|
8606
|
+
* @private
|
|
8607
|
+
*/
|
|
8608
|
+
layout: {
|
|
8609
|
+
type: String
|
|
8610
|
+
},
|
|
8611
|
+
|
|
8597
8612
|
/**
|
|
8598
8613
|
* Indent level for submenus.
|
|
8599
8614
|
* @private
|