@aurodesignsystem/auro-formkit 5.9.1 → 5.9.2
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/CHANGELOG.md +16 -4
- package/components/checkbox/README.md +62 -62
- package/components/checkbox/demo/api.js +1 -1
- package/components/checkbox/demo/api.md +127 -84
- package/components/checkbox/demo/api.min.js +125 -42
- package/components/checkbox/demo/index.md +9 -281
- package/components/checkbox/demo/index.min.js +125 -42
- package/components/checkbox/demo/readme.html +3 -4
- package/components/checkbox/demo/readme.md +62 -62
- package/components/checkbox/dist/auro-checkbox-group.d.ts +7 -8
- package/components/checkbox/dist/auro-checkbox.d.ts +74 -20
- package/components/checkbox/dist/index.js +125 -42
- package/components/checkbox/dist/registered.js +125 -42
- package/components/combobox/README.md +76 -74
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +11 -12
- package/components/combobox/demo/api.md +1302 -875
- package/components/combobox/demo/api.min.js +348 -420
- package/components/combobox/demo/index.html +1 -7
- package/components/combobox/demo/index.js +0 -19
- package/components/combobox/demo/index.md +43 -723
- package/components/combobox/demo/index.min.js +301 -230
- package/components/combobox/demo/readme.html +3 -4
- package/components/combobox/demo/readme.md +76 -74
- package/components/combobox/dist/auro-combobox.d.ts +39 -40
- package/components/combobox/dist/index.js +159 -143
- package/components/combobox/dist/registered.js +159 -143
- package/components/counter/README.md +81 -66
- package/components/counter/demo/api.html +1 -2
- package/components/counter/demo/api.js +2 -2
- package/components/counter/demo/api.md +777 -259
- package/components/counter/demo/api.min.js +84 -112
- package/components/counter/demo/index.html +0 -2
- package/components/counter/demo/index.md +20 -329
- package/components/counter/demo/index.min.js +82 -93
- package/components/counter/demo/readme.html +3 -4
- package/components/counter/demo/readme.md +81 -66
- package/components/counter/dist/auro-counter-group.d.ts +21 -36
- package/components/counter/dist/auro-counter-wrapper.d.ts +1 -6
- package/components/counter/dist/auro-counter.d.ts +5 -8
- package/components/counter/dist/index.js +82 -93
- package/components/counter/dist/registered.js +82 -93
- package/components/datepicker/README.md +57 -61
- package/components/datepicker/demo/api.js +8 -8
- package/components/datepicker/demo/api.md +720 -561
- package/components/datepicker/demo/api.min.js +427 -2424
- package/components/datepicker/demo/index.md +65 -117
- package/components/datepicker/demo/index.min.js +427 -2424
- package/components/datepicker/demo/readme.html +3 -4
- package/components/datepicker/demo/readme.md +57 -61
- package/components/datepicker/dist/auro-calendar.d.ts +60 -34
- package/components/datepicker/dist/auro-datepicker.d.ts +31 -31
- package/components/datepicker/dist/index.js +256 -2253
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +256 -2253
- package/components/dropdown/README.md +78 -62
- package/components/dropdown/demo/api.js +4 -4
- package/components/dropdown/demo/api.md +520 -478
- package/components/dropdown/demo/api.min.js +48 -39
- package/components/dropdown/demo/index.md +65 -119
- package/components/dropdown/demo/index.min.js +38 -29
- package/components/dropdown/demo/readme.html +3 -4
- package/components/dropdown/demo/readme.md +78 -62
- package/components/dropdown/dist/auro-dropdown.d.ts +42 -33
- package/components/dropdown/dist/index.js +38 -29
- package/components/dropdown/dist/registered.js +38 -29
- package/components/form/README.md +16 -58
- package/components/form/demo/api.md +16 -21
- package/components/form/demo/api.min.js +13 -8
- package/components/form/demo/index.md +38 -39
- package/components/form/demo/index.min.js +13 -8
- package/components/form/demo/readme.md +16 -58
- package/components/form/dist/auro-form.d.ts +15 -3
- package/components/form/dist/index.js +13 -8
- package/components/form/dist/registered.js +13 -8
- package/components/input/README.md +55 -60
- package/components/input/demo/api.js +3 -5
- package/components/input/demo/api.md +558 -537
- package/components/input/demo/api.min.js +100 -113
- package/components/input/demo/index.js +0 -1
- package/components/input/demo/index.md +90 -203
- package/components/input/demo/index.min.js +85 -97
- package/components/input/demo/readme.html +3 -4
- package/components/input/demo/readme.md +55 -60
- package/components/input/dist/auro-input.d.ts +6 -5
- package/components/input/dist/base-input.d.ts +67 -68
- package/components/input/dist/index.js +85 -80
- package/components/input/dist/registered.js +85 -80
- package/components/menu/README.md +61 -61
- package/components/menu/demo/api.js +6 -8
- package/components/menu/demo/api.md +520 -572
- package/components/menu/demo/api.min.js +176 -92
- package/components/menu/demo/index.js +0 -5
- package/components/menu/demo/index.md +36 -119
- package/components/menu/demo/index.min.js +141 -96
- package/components/menu/demo/readme.html +3 -4
- package/components/menu/demo/readme.md +61 -61
- package/components/menu/dist/auro-menu.d.ts +70 -37
- package/components/menu/dist/auro-menuoption.d.ts +36 -11
- package/components/menu/dist/index.js +141 -45
- package/components/menu/dist/registered.js +141 -45
- package/components/radio/README.md +61 -57
- package/components/radio/demo/api.js +2 -2
- package/components/radio/demo/api.md +241 -170
- package/components/radio/demo/api.min.js +154 -77
- package/components/radio/demo/index.md +22 -99
- package/components/radio/demo/index.min.js +145 -68
- package/components/radio/demo/readme.html +3 -4
- package/components/radio/demo/readme.md +61 -57
- package/components/radio/dist/auro-radio-group.d.ts +67 -35
- package/components/radio/dist/auro-radio.d.ts +56 -33
- package/components/radio/dist/index.js +145 -68
- package/components/radio/dist/registered.js +145 -68
- package/components/select/README.md +68 -65
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +7 -7
- package/components/select/demo/api.md +1305 -625
- package/components/select/demo/api.min.js +300 -199
- package/components/select/demo/index.html +0 -2
- package/components/select/demo/index.md +25 -833
- package/components/select/demo/index.min.js +299 -167
- package/components/select/demo/readme.html +3 -4
- package/components/select/demo/readme.md +68 -65
- package/components/select/dist/auro-select.d.ts +99 -90
- package/components/select/dist/index.js +158 -122
- package/components/select/dist/registered.js +158 -122
- package/package.json +3 -3
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
function persistentExample() {
|
|
2
|
-
const persistentExample = document.querySelector('#persistent');
|
|
3
|
-
|
|
4
|
-
persistentExample.addEventListener('addNewAddress', () => {
|
|
5
|
-
console.warn('addNewAddress event fired');
|
|
6
|
-
alert(`addNewAddress event fired`);
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function swapValueExample() {
|
|
11
|
-
const btn = document.querySelector('#swapExampleBtn');
|
|
12
|
-
const comboboxOne = document.querySelector('#swapExampleLeft');
|
|
13
|
-
const comboboxTwo = document.querySelector('#swapExampleRight');
|
|
14
|
-
|
|
15
|
-
btn.addEventListener('click', () => {
|
|
16
|
-
const valueOne = comboboxOne.value;
|
|
17
|
-
const valueTwo = comboboxTwo.value;
|
|
18
|
-
|
|
19
|
-
comboboxOne.value = valueTwo;
|
|
20
|
-
comboboxTwo.value = valueOne;
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
1
|
/**
|
|
25
2
|
* @license
|
|
26
3
|
* Copyright 2019 Google LLC
|
|
@@ -4175,7 +4152,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4175
4152
|
}
|
|
4176
4153
|
};
|
|
4177
4154
|
|
|
4178
|
-
var formkitVersion$2 = '
|
|
4155
|
+
var formkitVersion$2 = '202601271813';
|
|
4179
4156
|
|
|
4180
4157
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4181
4158
|
static get properties() {
|
|
@@ -4281,12 +4258,14 @@ let AuroElement$2 = class AuroElement extends i$3 {
|
|
|
4281
4258
|
}
|
|
4282
4259
|
};
|
|
4283
4260
|
|
|
4284
|
-
// Copyright (c)
|
|
4261
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4285
4262
|
// See LICENSE in the project root for license information.
|
|
4286
4263
|
|
|
4287
4264
|
|
|
4288
|
-
|
|
4289
|
-
|
|
4265
|
+
/**
|
|
4266
|
+
* The `auro-dropdown` element provides a way to place content in a bib that can be toggled.
|
|
4267
|
+
* @customElement auro-dropdown
|
|
4268
|
+
*
|
|
4290
4269
|
* @slot - Default slot for the popover content.
|
|
4291
4270
|
* @slot helpText - Defines the content of the helpText.
|
|
4292
4271
|
* @slot trigger - Defines the content of the trigger.
|
|
@@ -4322,7 +4301,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4322
4301
|
/** @private */
|
|
4323
4302
|
this.bibElement = e$1();
|
|
4324
4303
|
|
|
4325
|
-
this.
|
|
4304
|
+
this._intializeDefaults();
|
|
4326
4305
|
}
|
|
4327
4306
|
|
|
4328
4307
|
/**
|
|
@@ -4343,7 +4322,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4343
4322
|
* @private
|
|
4344
4323
|
* @returns {void} Internal defaults.
|
|
4345
4324
|
*/
|
|
4346
|
-
|
|
4325
|
+
_intializeDefaults() {
|
|
4347
4326
|
this.appearance = 'default';
|
|
4348
4327
|
this.chevron = false;
|
|
4349
4328
|
this.disabled = false;
|
|
@@ -4464,9 +4443,18 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4464
4443
|
static get properties() {
|
|
4465
4444
|
return {
|
|
4466
4445
|
|
|
4446
|
+
/**
|
|
4447
|
+
* The value for the role attribute of the trigger element.
|
|
4448
|
+
*/
|
|
4449
|
+
a11yRole: {
|
|
4450
|
+
type: String || undefined,
|
|
4451
|
+
attribute: false,
|
|
4452
|
+
reflect: false
|
|
4453
|
+
},
|
|
4454
|
+
|
|
4467
4455
|
/**
|
|
4468
4456
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
4469
|
-
* @
|
|
4457
|
+
* @type {'default' | 'inverse'}
|
|
4470
4458
|
* @default 'default'
|
|
4471
4459
|
*/
|
|
4472
4460
|
appearance: {
|
|
@@ -4476,7 +4464,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4476
4464
|
|
|
4477
4465
|
/**
|
|
4478
4466
|
* If declared, bib's position will be automatically calculated where to appear.
|
|
4479
|
-
* @default false
|
|
4480
4467
|
*/
|
|
4481
4468
|
autoPlacement: {
|
|
4482
4469
|
type: Boolean,
|
|
@@ -4485,7 +4472,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4485
4472
|
|
|
4486
4473
|
/**
|
|
4487
4474
|
* If declared, the dropdown will only show by calling the API .show() public method.
|
|
4488
|
-
* @default false
|
|
4489
4475
|
*/
|
|
4490
4476
|
disableEventShow: {
|
|
4491
4477
|
type: Boolean,
|
|
@@ -4502,11 +4488,11 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4502
4488
|
|
|
4503
4489
|
/**
|
|
4504
4490
|
* If declared, the dropdown displays a chevron on the right.
|
|
4505
|
-
* @attr {Boolean} chevron
|
|
4506
4491
|
*/
|
|
4507
4492
|
chevron: {
|
|
4508
4493
|
type: Boolean,
|
|
4509
|
-
reflect: true
|
|
4494
|
+
reflect: true,
|
|
4495
|
+
attribute: 'chevron'
|
|
4510
4496
|
},
|
|
4511
4497
|
|
|
4512
4498
|
/**
|
|
@@ -4543,7 +4529,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4543
4529
|
},
|
|
4544
4530
|
|
|
4545
4531
|
/**
|
|
4546
|
-
* If declared
|
|
4532
|
+
* If declared, will apply error UI to the dropdown.
|
|
4547
4533
|
*/
|
|
4548
4534
|
error: {
|
|
4549
4535
|
type: Boolean,
|
|
@@ -4598,18 +4584,28 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4598
4584
|
},
|
|
4599
4585
|
|
|
4600
4586
|
/**
|
|
4601
|
-
* Defines the screen size breakpoint
|
|
4602
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
4587
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
4603
4588
|
*
|
|
4604
4589
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
4605
4590
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
4606
|
-
* @
|
|
4591
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
4592
|
+
* @default 'sm'
|
|
4607
4593
|
*/
|
|
4608
4594
|
fullscreenBreakpoint: {
|
|
4609
4595
|
type: String,
|
|
4610
4596
|
reflect: true
|
|
4611
4597
|
},
|
|
4612
4598
|
|
|
4599
|
+
/**
|
|
4600
|
+
* Sets the layout of the dropdown.
|
|
4601
|
+
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
4602
|
+
* @default 'classic'
|
|
4603
|
+
*/
|
|
4604
|
+
layout: {
|
|
4605
|
+
type: String,
|
|
4606
|
+
reflect: true
|
|
4607
|
+
},
|
|
4608
|
+
|
|
4613
4609
|
/**
|
|
4614
4610
|
* Defines if the trigger should size based on the parent element providing the border UI.
|
|
4615
4611
|
* @private
|
|
@@ -4630,7 +4626,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4630
4626
|
/**
|
|
4631
4627
|
* If declared, the bib will NOT flip to an alternate position
|
|
4632
4628
|
* when there isn't enough space in the specified `placement`.
|
|
4633
|
-
* @default false
|
|
4634
4629
|
*/
|
|
4635
4630
|
noFlip: {
|
|
4636
4631
|
type: Boolean,
|
|
@@ -4639,7 +4634,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4639
4634
|
|
|
4640
4635
|
/**
|
|
4641
4636
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
4642
|
-
* @default false
|
|
4643
4637
|
*/
|
|
4644
4638
|
shift: {
|
|
4645
4639
|
type: Boolean,
|
|
@@ -4672,7 +4666,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4672
4666
|
},
|
|
4673
4667
|
|
|
4674
4668
|
/**
|
|
4675
|
-
* DEPRECATED - use `appearance` instead.
|
|
4669
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
4676
4670
|
*/
|
|
4677
4671
|
onDark: {
|
|
4678
4672
|
type: Boolean,
|
|
@@ -4689,7 +4683,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4689
4683
|
|
|
4690
4684
|
/**
|
|
4691
4685
|
* Position where the bib should appear relative to the trigger.
|
|
4692
|
-
* @
|
|
4686
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
4687
|
+
* @default 'bottom-start'
|
|
4693
4688
|
*/
|
|
4694
4689
|
placement: {
|
|
4695
4690
|
type: String,
|
|
@@ -4701,15 +4696,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4701
4696
|
*/
|
|
4702
4697
|
tabIndex: {
|
|
4703
4698
|
type: Number
|
|
4704
|
-
},
|
|
4705
|
-
|
|
4706
|
-
/**
|
|
4707
|
-
* The value for the role attribute of the trigger element.
|
|
4708
|
-
*/
|
|
4709
|
-
a11yRole: {
|
|
4710
|
-
type: String || undefined,
|
|
4711
|
-
attribute: false,
|
|
4712
|
-
reflect: false
|
|
4713
4699
|
}
|
|
4714
4700
|
};
|
|
4715
4701
|
}
|
|
@@ -4736,7 +4722,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
4736
4722
|
|
|
4737
4723
|
/**
|
|
4738
4724
|
* This will register this element with the browser.
|
|
4739
|
-
* @param {string} [name="auro-dropdown"] - The name of element that you want to register
|
|
4725
|
+
* @param {string} [name="auro-dropdown"] - The name of the element that you want to register.
|
|
4740
4726
|
*
|
|
4741
4727
|
* @example
|
|
4742
4728
|
* AuroDropdown.register("custom-dropdown") // this will register this element to <custom-dropdown/>
|
|
@@ -5243,7 +5229,7 @@ var emphasizedStyleCss = i$6`:host([layout*=emphasized][shape*=pill]:not([layout
|
|
|
5243
5229
|
|
|
5244
5230
|
var emphasizedColorCss = i$6`.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{--auro-input-border-color: var(--ds-auro-input-border-color)}`;
|
|
5245
5231
|
|
|
5246
|
-
var snowflakeStyleCss = i$6`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-dropdown-emphasized-background: #00274A1a;--ds-advanced-color-dropdown-emphasized-background-hover: #00274A33;--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #676767;--ds-advanced-color-shared-emphasized-background: rgba(1, 66, 106, 0.1);--ds-advanced-color-shared-emphasized-background-hover: rgba(1, 66, 106, 0.2);--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ffffff;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: 1.3;--ds-basic-type-brand-line-height-secondary: 1;--ds-basic-type-brand-letter-spacing-primary: 0;--ds-basic-type-brand-letter-spacing-secondary: 0.05em;--ds-basic-type-brand-letter-spacing-tertiary: 0.10em;--ds-basic-type-family-accent: "Good OT";--ds-basic-type-family-accent-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular";--ds-basic-type-family-body-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular";--ds-basic-type-family-display-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular";--ds-basic-type-family-heading-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: 0.05em;--ds-basic-type-letter-spacing-accent2: 0.10em;--ds-basic-type-letter-spacing-body: 0;--ds-basic-type-letter-spacing-display: 0;--ds-basic-type-letter-spacing-heading: 0;--ds-basic-type-line-height-accent: 1.3;--ds-basic-type-line-height-accent2: 1;--ds-basic-type-line-height-body: 1.625rem;--ds-basic-type-line-height-body2: 1.5rem;--ds-basic-type-line-height-body3: 1.25rem;--ds-basic-type-line-height-body4: 1rem;--ds-basic-type-line-height-body5: 0.875rem;--ds-basic-type-line-height-display: 1.3;--ds-basic-type-line-height-heading: 1.3;--ds-basic-type-weight-accent: 450;--ds-basic-type-weight-accent2: 500;--ds-basic-type-weight-body: 450;--ds-basic-type-weight-display: 300;--ds-basic-type-weight-heading: 300;--ds-basic-type-weight-heading2: 450}:host([layout*=snowflake]) .leftIndent{margin-left:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-200, 1rem)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:var(--ds-size-50, 0.25rem)}.layout-snowflake input{transition:all 1ms linear;text-align:center}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;overflow:hidden}.layout-snowflake .displayValue{display:none;width:100%}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake.withValue:hover .alertNotification{display:none}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-200, 1rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
|
|
5232
|
+
var snowflakeStyleCss = i$6`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-dropdown-emphasized-background: #00274A1a;--ds-advanced-color-dropdown-emphasized-background-hover: #00274A33;--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-footer-background: #01426a;--ds-advanced-color-footer-foreground: #00274a;--ds-advanced-color-footer-pattern: #ffffff;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #676767;--ds-advanced-color-shared-emphasized-background: rgba(1, 66, 106, 0.1);--ds-advanced-color-shared-emphasized-background-hover: rgba(1, 66, 106, 0.2);--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ffffff;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral: #f2f2f2;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: 1.3;--ds-basic-type-brand-line-height-secondary: 1;--ds-basic-type-brand-letter-spacing-primary: 0;--ds-basic-type-brand-letter-spacing-secondary: 0.05em;--ds-basic-type-brand-letter-spacing-tertiary: 0.10em;--ds-basic-type-family-accent: "Good OT";--ds-basic-type-family-accent-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular";--ds-basic-type-family-body-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular";--ds-basic-type-family-display-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular";--ds-basic-type-family-heading-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: 0.05em;--ds-basic-type-letter-spacing-accent2: 0.10em;--ds-basic-type-letter-spacing-body: 0;--ds-basic-type-letter-spacing-display: 0;--ds-basic-type-letter-spacing-heading: 0;--ds-basic-type-line-height-accent: 1.3;--ds-basic-type-line-height-accent2: 1;--ds-basic-type-line-height-body: 1.625rem;--ds-basic-type-line-height-body2: 1.5rem;--ds-basic-type-line-height-body3: 1.25rem;--ds-basic-type-line-height-body4: 1rem;--ds-basic-type-line-height-body5: 0.875rem;--ds-basic-type-line-height-display: 1.3;--ds-basic-type-line-height-heading: 1.3;--ds-basic-type-weight-accent: 450;--ds-basic-type-weight-accent2: 500;--ds-basic-type-weight-body: 450;--ds-basic-type-weight-body2: 700;--ds-basic-type-weight-display: 300;--ds-basic-type-weight-heading: 300;--ds-basic-type-weight-heading2: 450}:host([layout*=snowflake]) .leftIndent{margin-left:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-200, 1rem)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:var(--ds-size-50, 0.25rem)}.layout-snowflake input{transition:all 1ms linear;text-align:center}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;overflow:hidden}.layout-snowflake .displayValue{display:none;width:100%}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake.withValue:hover .alertNotification{display:none}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-200, 1rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
|
|
5247
5233
|
|
|
5248
5234
|
const watchedItems = new Set();
|
|
5249
5235
|
|
|
@@ -10275,19 +10261,16 @@ let AuroElement$1 = class AuroElement extends i$3 {
|
|
|
10275
10261
|
|
|
10276
10262
|
|
|
10277
10263
|
/**
|
|
10278
|
-
*
|
|
10279
|
-
*
|
|
10280
|
-
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10281
|
-
* @attr id
|
|
10264
|
+
* The `auro-input` element provides users a way to enter data into a text field.
|
|
10265
|
+
* @customElement auro-input
|
|
10282
10266
|
*
|
|
10283
10267
|
* @slot ariaLabel.clear - Sets aria-label on clear button for screen reader to read
|
|
10284
10268
|
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
10285
10269
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
10286
10270
|
* @slot helpText - Sets the help text displayed below the input.
|
|
10287
10271
|
* @slot label - Sets the label text for the input.
|
|
10288
|
-
* @slot
|
|
10272
|
+
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
10289
10273
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
10290
|
-
*
|
|
10291
10274
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
10292
10275
|
* @csspart label - Use for customizing the style of the label element
|
|
10293
10276
|
* @csspart helpText - Use for customizing the style of the helpText element
|
|
@@ -10305,6 +10288,15 @@ class BaseInput extends AuroElement$1 {
|
|
|
10305
10288
|
constructor() {
|
|
10306
10289
|
super();
|
|
10307
10290
|
|
|
10291
|
+
this._initializeDefaults();
|
|
10292
|
+
}
|
|
10293
|
+
|
|
10294
|
+
/**
|
|
10295
|
+
* Internal Defaults.
|
|
10296
|
+
* @private
|
|
10297
|
+
* @returns {void}
|
|
10298
|
+
*/
|
|
10299
|
+
_initializeDefaults() {
|
|
10308
10300
|
this.activeLabel = false;
|
|
10309
10301
|
this.appearance = "default";
|
|
10310
10302
|
this.icon = false;
|
|
@@ -10334,15 +10326,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
10334
10326
|
*/
|
|
10335
10327
|
this.size = 'lg';
|
|
10336
10328
|
|
|
10337
|
-
this.privateDefaults();
|
|
10338
|
-
}
|
|
10339
|
-
|
|
10340
|
-
/**
|
|
10341
|
-
* Internal Defaults.
|
|
10342
|
-
* @private
|
|
10343
|
-
* @returns {void}
|
|
10344
|
-
*/
|
|
10345
|
-
privateDefaults() {
|
|
10346
10329
|
this.touched = false;
|
|
10347
10330
|
this.util = new AuroInputUtilities();
|
|
10348
10331
|
this.validation = new AuroFormValidation();
|
|
@@ -10403,17 +10386,17 @@ class BaseInput extends AuroElement$1 {
|
|
|
10403
10386
|
...super.properties,
|
|
10404
10387
|
|
|
10405
10388
|
/**
|
|
10406
|
-
*
|
|
10389
|
+
* The value for the role attribute.
|
|
10407
10390
|
*/
|
|
10408
|
-
|
|
10409
|
-
type:
|
|
10391
|
+
a11yRole: {
|
|
10392
|
+
type: String,
|
|
10410
10393
|
reflect: true
|
|
10411
10394
|
},
|
|
10412
10395
|
|
|
10413
10396
|
/**
|
|
10414
|
-
* The value for the
|
|
10397
|
+
* The value for the aria-controls attribute.
|
|
10415
10398
|
*/
|
|
10416
|
-
|
|
10399
|
+
a11yControls: {
|
|
10417
10400
|
type: String,
|
|
10418
10401
|
reflect: true
|
|
10419
10402
|
},
|
|
@@ -10426,14 +10409,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
10426
10409
|
reflect: true
|
|
10427
10410
|
},
|
|
10428
10411
|
|
|
10429
|
-
/**
|
|
10430
|
-
* The value for the aria-controls attribute.
|
|
10431
|
-
*/
|
|
10432
|
-
a11yControls: {
|
|
10433
|
-
type: String,
|
|
10434
|
-
reflect: true
|
|
10435
|
-
},
|
|
10436
|
-
|
|
10437
10412
|
/**
|
|
10438
10413
|
* If set, the label will remain fixed in the active position.
|
|
10439
10414
|
*/
|
|
@@ -10444,7 +10419,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
10444
10419
|
|
|
10445
10420
|
/**
|
|
10446
10421
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
10447
|
-
* @
|
|
10422
|
+
* @type {'default' | 'inverse'}
|
|
10448
10423
|
* @default 'default'
|
|
10449
10424
|
*/
|
|
10450
10425
|
appearance: {
|
|
@@ -10476,6 +10451,13 @@ class BaseInput extends AuroElement$1 {
|
|
|
10476
10451
|
reflect: true
|
|
10477
10452
|
},
|
|
10478
10453
|
|
|
10454
|
+
/**
|
|
10455
|
+
* Custom help text message for email type validity.
|
|
10456
|
+
*/
|
|
10457
|
+
customValidityTypeEmail: {
|
|
10458
|
+
type: String
|
|
10459
|
+
},
|
|
10460
|
+
|
|
10479
10461
|
/**
|
|
10480
10462
|
* If set, disables the input.
|
|
10481
10463
|
*/
|
|
@@ -10484,6 +10466,14 @@ class BaseInput extends AuroElement$1 {
|
|
|
10484
10466
|
reflect: true
|
|
10485
10467
|
},
|
|
10486
10468
|
|
|
10469
|
+
/**
|
|
10470
|
+
* If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked.
|
|
10471
|
+
*/
|
|
10472
|
+
dvInputOnly: {
|
|
10473
|
+
type: Boolean,
|
|
10474
|
+
reflect: true
|
|
10475
|
+
},
|
|
10476
|
+
|
|
10487
10477
|
/**
|
|
10488
10478
|
* When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
10489
10479
|
*/
|
|
@@ -10508,20 +10498,18 @@ class BaseInput extends AuroElement$1 {
|
|
|
10508
10498
|
},
|
|
10509
10499
|
|
|
10510
10500
|
/**
|
|
10511
|
-
*
|
|
10512
|
-
* Flag to indicate if the input currently has value.
|
|
10501
|
+
* Flag to indicate if the input currently has focus.
|
|
10513
10502
|
*/
|
|
10514
|
-
|
|
10503
|
+
hasFocus: {
|
|
10515
10504
|
type: Boolean,
|
|
10516
10505
|
reflect: false,
|
|
10517
10506
|
attribute: false
|
|
10518
10507
|
},
|
|
10519
10508
|
|
|
10520
10509
|
/**
|
|
10521
|
-
*
|
|
10522
|
-
* Flag to indicate if the input currently has focus.
|
|
10510
|
+
* Flag to indicate if the input currently has value.
|
|
10523
10511
|
*/
|
|
10524
|
-
|
|
10512
|
+
hasValue: {
|
|
10525
10513
|
type: Boolean,
|
|
10526
10514
|
reflect: false,
|
|
10527
10515
|
attribute: false
|
|
@@ -10535,6 +10523,23 @@ class BaseInput extends AuroElement$1 {
|
|
|
10535
10523
|
reflect: true
|
|
10536
10524
|
},
|
|
10537
10525
|
|
|
10526
|
+
/**
|
|
10527
|
+
* The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10528
|
+
*/
|
|
10529
|
+
id: {
|
|
10530
|
+
type: String
|
|
10531
|
+
},
|
|
10532
|
+
|
|
10533
|
+
/**
|
|
10534
|
+
* The id for input node.
|
|
10535
|
+
* @private
|
|
10536
|
+
*/
|
|
10537
|
+
inputId: {
|
|
10538
|
+
type: String,
|
|
10539
|
+
reflect: false,
|
|
10540
|
+
attribute: false
|
|
10541
|
+
},
|
|
10542
|
+
|
|
10538
10543
|
/** Exposes inputmode attribute for input. */
|
|
10539
10544
|
inputmode: {
|
|
10540
10545
|
type: String,
|
|
@@ -10605,7 +10610,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
10605
10610
|
},
|
|
10606
10611
|
|
|
10607
10612
|
/**
|
|
10608
|
-
* DEPRECATED - use `appearance` instead.
|
|
10613
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
10609
10614
|
*/
|
|
10610
10615
|
onDark: {
|
|
10611
10616
|
type: Boolean,
|
|
@@ -10644,13 +10649,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
10644
10649
|
reflect: true
|
|
10645
10650
|
},
|
|
10646
10651
|
|
|
10647
|
-
/**
|
|
10648
|
-
* @ignore
|
|
10649
|
-
*/
|
|
10650
|
-
showPassword: {
|
|
10651
|
-
state: true
|
|
10652
|
-
},
|
|
10653
|
-
|
|
10654
10652
|
/**
|
|
10655
10653
|
* Sets a custom help text message to display for all validityStates.
|
|
10656
10654
|
*/
|
|
@@ -10715,18 +10713,18 @@ class BaseInput extends AuroElement$1 {
|
|
|
10715
10713
|
},
|
|
10716
10714
|
|
|
10717
10715
|
/**
|
|
10718
|
-
*
|
|
10716
|
+
* @ignore
|
|
10719
10717
|
*/
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
reflect: true
|
|
10718
|
+
showPassword: {
|
|
10719
|
+
state: true
|
|
10723
10720
|
},
|
|
10724
10721
|
|
|
10725
10722
|
/**
|
|
10726
|
-
*
|
|
10723
|
+
* Simple makes the input render without a border.
|
|
10727
10724
|
*/
|
|
10728
|
-
|
|
10729
|
-
type:
|
|
10725
|
+
simple: {
|
|
10726
|
+
type: Boolean,
|
|
10727
|
+
reflect: true
|
|
10730
10728
|
},
|
|
10731
10729
|
|
|
10732
10730
|
/**
|
|
@@ -10738,18 +10736,23 @@ class BaseInput extends AuroElement$1 {
|
|
|
10738
10736
|
},
|
|
10739
10737
|
|
|
10740
10738
|
/**
|
|
10741
|
-
*
|
|
10739
|
+
* Indicates whether the input is in a dirty state (has been interacted with).
|
|
10740
|
+
* @private
|
|
10742
10741
|
*/
|
|
10743
|
-
|
|
10744
|
-
type:
|
|
10745
|
-
reflect: true
|
|
10742
|
+
touched: {
|
|
10743
|
+
type: Boolean,
|
|
10744
|
+
reflect: true,
|
|
10745
|
+
attribute: false
|
|
10746
10746
|
},
|
|
10747
10747
|
|
|
10748
10748
|
/**
|
|
10749
|
-
* Populates the `
|
|
10749
|
+
* Populates the `type` attribute on the input.
|
|
10750
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
|
|
10751
|
+
* @default 'text'
|
|
10750
10752
|
*/
|
|
10751
|
-
|
|
10752
|
-
type: String
|
|
10753
|
+
type: {
|
|
10754
|
+
type: String,
|
|
10755
|
+
reflect: true
|
|
10753
10756
|
},
|
|
10754
10757
|
|
|
10755
10758
|
/**
|
|
@@ -10768,25 +10771,10 @@ class BaseInput extends AuroElement$1 {
|
|
|
10768
10771
|
},
|
|
10769
10772
|
|
|
10770
10773
|
/**
|
|
10771
|
-
*
|
|
10772
|
-
* @type {boolean}
|
|
10773
|
-
* @default false
|
|
10774
|
-
* @private
|
|
10775
|
-
*/
|
|
10776
|
-
touched: {
|
|
10777
|
-
type: Boolean,
|
|
10778
|
-
reflect: true,
|
|
10779
|
-
attribute: false
|
|
10780
|
-
},
|
|
10781
|
-
|
|
10782
|
-
/**
|
|
10783
|
-
* The id for input node.
|
|
10784
|
-
* @private
|
|
10774
|
+
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
10785
10775
|
*/
|
|
10786
|
-
|
|
10787
|
-
type: String
|
|
10788
|
-
reflect: false,
|
|
10789
|
-
attribute: false
|
|
10776
|
+
value: {
|
|
10777
|
+
type: String
|
|
10790
10778
|
}
|
|
10791
10779
|
};
|
|
10792
10780
|
}
|
|
@@ -11095,7 +11083,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
11095
11083
|
}
|
|
11096
11084
|
|
|
11097
11085
|
/**
|
|
11098
|
-
* @param {Event} event - The input event
|
|
11086
|
+
* @param {Event} event - The input event.
|
|
11099
11087
|
* @private
|
|
11100
11088
|
* @returns {void}
|
|
11101
11089
|
*/
|
|
@@ -11800,13 +11788,12 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
11800
11788
|
}
|
|
11801
11789
|
};
|
|
11802
11790
|
|
|
11803
|
-
var formkitVersion$1 = '
|
|
11791
|
+
var formkitVersion$1 = '202601271813';
|
|
11804
11792
|
|
|
11805
11793
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11806
11794
|
// See LICENSE in the project root for license information.
|
|
11807
11795
|
|
|
11808
11796
|
|
|
11809
|
-
// build the component class
|
|
11810
11797
|
class AuroInput extends BaseInput {
|
|
11811
11798
|
|
|
11812
11799
|
constructor() {
|
|
@@ -11978,6 +11965,10 @@ class AuroInput extends BaseInput {
|
|
|
11978
11965
|
};
|
|
11979
11966
|
}
|
|
11980
11967
|
|
|
11968
|
+
/**
|
|
11969
|
+
* Common display value wrapper classes.
|
|
11970
|
+
* @private
|
|
11971
|
+
*/
|
|
11981
11972
|
get commonDisplayValueWrapperClasses() {
|
|
11982
11973
|
return {
|
|
11983
11974
|
'displayValueWrapper': true,
|
|
@@ -12025,7 +12016,7 @@ class AuroInput extends BaseInput {
|
|
|
12025
12016
|
|
|
12026
12017
|
/**
|
|
12027
12018
|
* This will register this element with the browser.
|
|
12028
|
-
* @param {string} [name="auro-input"] - The name of element that you want to register
|
|
12019
|
+
* @param {string} [name="auro-input"] - The name of the element that you want to register.
|
|
12029
12020
|
*
|
|
12030
12021
|
* @example
|
|
12031
12022
|
* AuroInput.register("custom-input") // this will register this element to <custom-input/>
|
|
@@ -12790,7 +12781,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
12790
12781
|
}
|
|
12791
12782
|
}
|
|
12792
12783
|
|
|
12793
|
-
var formkitVersion = '
|
|
12784
|
+
var formkitVersion = '202601271813';
|
|
12794
12785
|
|
|
12795
12786
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12796
12787
|
|
|
@@ -13130,12 +13121,15 @@ class AuroHelpText extends i$3 {
|
|
|
13130
13121
|
}
|
|
13131
13122
|
}
|
|
13132
13123
|
|
|
13133
|
-
// Copyright (c)
|
|
13124
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13134
13125
|
// See LICENSE in the project root for license information.
|
|
13135
13126
|
|
|
13136
13127
|
|
|
13137
13128
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
13138
13129
|
/**
|
|
13130
|
+
* The `auro-combobox` element provides users with a way to select an option from a list of filtered or suggested options based on user input.
|
|
13131
|
+
* @customElement auro-combobox
|
|
13132
|
+
*
|
|
13139
13133
|
* @slot - Default slot for the menu content.
|
|
13140
13134
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
13141
13135
|
* @slot ariaLabel.input.clear - Sets aria-label on clear button
|
|
@@ -13149,13 +13143,19 @@ class AuroHelpText extends i$3 {
|
|
|
13149
13143
|
* @event inputValue - Notifies that the components internal HTML5 input value has changed.
|
|
13150
13144
|
* @event auroFormElement-validated - Notifies that the component value(s) have been validated.
|
|
13151
13145
|
*/
|
|
13152
|
-
|
|
13153
|
-
// build the component class
|
|
13154
13146
|
class AuroCombobox extends AuroElement {
|
|
13155
13147
|
|
|
13156
13148
|
constructor() {
|
|
13157
13149
|
super();
|
|
13158
13150
|
|
|
13151
|
+
this._initializeDefaults();
|
|
13152
|
+
}
|
|
13153
|
+
|
|
13154
|
+
/**
|
|
13155
|
+
* @private
|
|
13156
|
+
* @returns {void} Internal defaults.
|
|
13157
|
+
*/
|
|
13158
|
+
_initializeDefaults() {
|
|
13159
13159
|
// Defaults that effect the combobox behavior and state
|
|
13160
13160
|
this.appearance = "default";
|
|
13161
13161
|
this.disabled = false;
|
|
@@ -13186,14 +13186,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13186
13186
|
this.shift = false;
|
|
13187
13187
|
this.autoPlacement = false;
|
|
13188
13188
|
|
|
13189
|
-
|
|
13190
|
-
}
|
|
13191
|
-
|
|
13192
|
-
/**
|
|
13193
|
-
* @private
|
|
13194
|
-
* @returns {void} Internal defaults.
|
|
13195
|
-
*/
|
|
13196
|
-
privateDefaults() {
|
|
13189
|
+
// Private properties that manage internal state
|
|
13197
13190
|
const versioning = new AuroDependencyVersioning$3();
|
|
13198
13191
|
|
|
13199
13192
|
this.dropdownTag = versioning.generateTag('auro-formkit-combobox-dropdown', formkitVersion, AuroDropdown);
|
|
@@ -13224,7 +13217,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13224
13217
|
|
|
13225
13218
|
/**
|
|
13226
13219
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
13227
|
-
* @property {'default'
|
|
13220
|
+
* @property {'default' | 'inverse'}
|
|
13228
13221
|
* @default 'default'
|
|
13229
13222
|
*/
|
|
13230
13223
|
appearance: {
|
|
@@ -13234,7 +13227,6 @@ class AuroCombobox extends AuroElement {
|
|
|
13234
13227
|
|
|
13235
13228
|
/**
|
|
13236
13229
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
13237
|
-
* @default false
|
|
13238
13230
|
*/
|
|
13239
13231
|
autocomplete: {
|
|
13240
13232
|
type: String,
|
|
@@ -13263,7 +13255,8 @@ class AuroCombobox extends AuroElement {
|
|
|
13263
13255
|
* Sets the behavior of the combobox, "filter" or "suggestion".
|
|
13264
13256
|
* "filter" requires the user to select an option from the menu.
|
|
13265
13257
|
* "suggestion" allows the user to enter a value not present in the menu options.
|
|
13266
|
-
* @
|
|
13258
|
+
* @type {'filter' | 'suggestion'}
|
|
13259
|
+
* @default 'suggestion'
|
|
13267
13260
|
*/
|
|
13268
13261
|
behavior: {
|
|
13269
13262
|
type: String,
|
|
@@ -13337,8 +13330,19 @@ class AuroCombobox extends AuroElement {
|
|
|
13337
13330
|
reflect: true
|
|
13338
13331
|
},
|
|
13339
13332
|
|
|
13333
|
+
/**
|
|
13334
|
+
* Sets the layout of the combobox.
|
|
13335
|
+
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
13336
|
+
* @default 'classic'
|
|
13337
|
+
*/
|
|
13338
|
+
layout: {
|
|
13339
|
+
type: String,
|
|
13340
|
+
reflect: true
|
|
13341
|
+
},
|
|
13342
|
+
|
|
13340
13343
|
/**
|
|
13341
13344
|
* If declared, the popover and trigger will be set to the same width.
|
|
13345
|
+
* @private
|
|
13342
13346
|
*/
|
|
13343
13347
|
matchWidth: {
|
|
13344
13348
|
type: Boolean,
|
|
@@ -13356,7 +13360,6 @@ class AuroCombobox extends AuroElement {
|
|
|
13356
13360
|
/**
|
|
13357
13361
|
* If declared, the bib will NOT flip to an alternate position
|
|
13358
13362
|
* when there isn't enough space in the specified `placement`.
|
|
13359
|
-
* @default false
|
|
13360
13363
|
*/
|
|
13361
13364
|
noFlip: {
|
|
13362
13365
|
type: Boolean,
|
|
@@ -13365,7 +13368,6 @@ class AuroCombobox extends AuroElement {
|
|
|
13365
13368
|
|
|
13366
13369
|
/**
|
|
13367
13370
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
13368
|
-
* @default false
|
|
13369
13371
|
*/
|
|
13370
13372
|
shift: {
|
|
13371
13373
|
type: Boolean,
|
|
@@ -13390,7 +13392,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13390
13392
|
},
|
|
13391
13393
|
|
|
13392
13394
|
/**
|
|
13393
|
-
* DEPRECATED - use `appearance` instead.
|
|
13395
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
13394
13396
|
*/
|
|
13395
13397
|
onDark: {
|
|
13396
13398
|
type: Boolean,
|
|
@@ -13409,28 +13411,21 @@ class AuroCombobox extends AuroElement {
|
|
|
13409
13411
|
* If declared, selecting a menu option will not change the input value. By doing so,
|
|
13410
13412
|
* the current menu filter will be preserved and the user can continue from their last
|
|
13411
13413
|
* filter state. It is recommended to use this in combination with the `displayValue` slot.
|
|
13412
|
-
* @type {Boolean}
|
|
13413
13414
|
*/
|
|
13414
13415
|
persistInput: {
|
|
13415
13416
|
type: Boolean,
|
|
13416
13417
|
reflect: true
|
|
13417
13418
|
},
|
|
13418
13419
|
|
|
13419
|
-
/* eslint-disable jsdoc/require-description-complete-sentence */
|
|
13420
13420
|
/**
|
|
13421
13421
|
* Position where the bib should appear relative to the trigger.
|
|
13422
|
-
*
|
|
13423
|
-
*
|
|
13424
|
-
* "bottom-start" | "top-start" | "top-end" |
|
|
13425
|
-
* "right-start" | "right-end" | "bottom-end" |
|
|
13426
|
-
* "left-start" | "left-end"
|
|
13427
|
-
* @default bottom-start
|
|
13422
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
13423
|
+
* @default 'bottom-start'
|
|
13428
13424
|
*/
|
|
13429
13425
|
placement: {
|
|
13430
13426
|
type: String,
|
|
13431
13427
|
reflect: true
|
|
13432
13428
|
},
|
|
13433
|
-
/* eslint-enable jsdoc/require-description-complete-sentence */
|
|
13434
13429
|
|
|
13435
13430
|
/**
|
|
13436
13431
|
* Define custom placeholder text, only supported by date input formats.
|
|
@@ -13478,8 +13473,6 @@ class AuroCombobox extends AuroElement {
|
|
|
13478
13473
|
|
|
13479
13474
|
/**
|
|
13480
13475
|
* Indicates whether the combobox is in a dirty state (has been interacted with).
|
|
13481
|
-
* @type {boolean}
|
|
13482
|
-
* @default false
|
|
13483
13476
|
* @private
|
|
13484
13477
|
*/
|
|
13485
13478
|
touched: {
|
|
@@ -13497,7 +13490,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13497
13490
|
},
|
|
13498
13491
|
|
|
13499
13492
|
/**
|
|
13500
|
-
* Applies the defined value as the type attribute on auro-input
|
|
13493
|
+
* Applies the defined value as the type attribute on `auro-input`.
|
|
13501
13494
|
*/
|
|
13502
13495
|
type: {
|
|
13503
13496
|
type: String,
|
|
@@ -13539,12 +13532,12 @@ class AuroCombobox extends AuroElement {
|
|
|
13539
13532
|
/* eslint-enable jsdoc/require-description-complete-sentence */
|
|
13540
13533
|
|
|
13541
13534
|
/**
|
|
13542
|
-
* Defines the screen size
|
|
13543
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
13535
|
+
* Defines the screen size breakpointat which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
13544
13536
|
*
|
|
13545
13537
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
13546
13538
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
13547
|
-
* @
|
|
13539
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
13540
|
+
* @default 'sm'
|
|
13548
13541
|
*/
|
|
13549
13542
|
fullscreenBreakpoint: {
|
|
13550
13543
|
type: String,
|
|
@@ -13605,7 +13598,7 @@ class AuroCombobox extends AuroElement {
|
|
|
13605
13598
|
|
|
13606
13599
|
/**
|
|
13607
13600
|
* This will register this element with the browser.
|
|
13608
|
-
* @param {string} [name='auro-combobox'] - The name of element that you want to register
|
|
13601
|
+
* @param {string} [name='auro-combobox'] - The name of the element that you want to register.
|
|
13609
13602
|
*
|
|
13610
13603
|
* @example
|
|
13611
13604
|
* AuroCombobox.register('custom-combobox') // this will register this element to <custom-combobox/>
|
|
@@ -14584,12 +14577,9 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
14584
14577
|
|
|
14585
14578
|
|
|
14586
14579
|
/**
|
|
14587
|
-
* The auro-
|
|
14580
|
+
* The `auro-menuoption` element provides users a way to define a menu option.
|
|
14581
|
+
* @customElement auro-menuoption
|
|
14588
14582
|
*
|
|
14589
|
-
* @attr {String} value - Specifies the value to be sent to a server.
|
|
14590
|
-
* @attr {String} noCheckmark - When true, selected option will not show the checkmark.
|
|
14591
|
-
* @attr {Boolean} disabled - When true specifies that the menuoption is disabled.
|
|
14592
|
-
* @attr {Boolean} selected - Specifies that an option is selected.
|
|
14593
14583
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
14594
14584
|
* @slot - Specifies text for an option, but is not the value.
|
|
14595
14585
|
*/
|
|
@@ -14597,7 +14587,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
14597
14587
|
|
|
14598
14588
|
/**
|
|
14599
14589
|
* This will register this element with the browser.
|
|
14600
|
-
* @param {string} [name="auro-menuoption"] - The name of element that you want to register
|
|
14590
|
+
* @param {string} [name="auro-menuoption"] - The name of the element that you want to register.
|
|
14601
14591
|
*
|
|
14602
14592
|
* @example
|
|
14603
14593
|
* AuroMenuOption.register("custom-menuoption") // this will register this element to <custom-menuoption/>
|
|
@@ -14661,38 +14651,81 @@ class AuroMenuOption extends AuroElement {
|
|
|
14661
14651
|
static get properties() {
|
|
14662
14652
|
return {
|
|
14663
14653
|
...super.properties,
|
|
14654
|
+
|
|
14655
|
+
/**
|
|
14656
|
+
* When true, disables the menu option.
|
|
14657
|
+
*/
|
|
14664
14658
|
disabled: {
|
|
14665
14659
|
type: Boolean,
|
|
14666
14660
|
reflect: true
|
|
14667
14661
|
},
|
|
14662
|
+
|
|
14663
|
+
/**
|
|
14664
|
+
* @private
|
|
14665
|
+
*/
|
|
14668
14666
|
event: {
|
|
14669
14667
|
type: String,
|
|
14670
14668
|
reflect: true
|
|
14671
14669
|
},
|
|
14670
|
+
|
|
14671
|
+
/**
|
|
14672
|
+
* @private
|
|
14673
|
+
*/
|
|
14674
|
+
layout: {
|
|
14675
|
+
type: String
|
|
14676
|
+
},
|
|
14677
|
+
|
|
14678
|
+
/**
|
|
14679
|
+
* 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.
|
|
14680
|
+
*/
|
|
14672
14681
|
key: {
|
|
14673
14682
|
type: String,
|
|
14674
14683
|
reflect: true
|
|
14675
14684
|
},
|
|
14685
|
+
|
|
14686
|
+
/**
|
|
14687
|
+
* @private
|
|
14688
|
+
*/
|
|
14676
14689
|
menuService: {
|
|
14677
14690
|
type: Object,
|
|
14678
14691
|
state: true
|
|
14679
14692
|
},
|
|
14693
|
+
|
|
14694
|
+
/**
|
|
14695
|
+
* @private
|
|
14696
|
+
*/
|
|
14680
14697
|
matchWord: {
|
|
14681
14698
|
type: String,
|
|
14682
14699
|
state: true
|
|
14683
14700
|
},
|
|
14701
|
+
|
|
14702
|
+
/**
|
|
14703
|
+
* @private
|
|
14704
|
+
*/
|
|
14684
14705
|
noCheckmark: {
|
|
14685
14706
|
type: Boolean,
|
|
14686
14707
|
reflect: true
|
|
14687
14708
|
},
|
|
14709
|
+
|
|
14710
|
+
/**
|
|
14711
|
+
* Specifies that an option is selected.
|
|
14712
|
+
*/
|
|
14688
14713
|
selected: {
|
|
14689
14714
|
type: Boolean,
|
|
14690
14715
|
reflect: true
|
|
14691
14716
|
},
|
|
14717
|
+
|
|
14718
|
+
/**
|
|
14719
|
+
* Specifies the tab index of the menu option.
|
|
14720
|
+
*/
|
|
14692
14721
|
tabIndex: {
|
|
14693
14722
|
type: Number,
|
|
14694
14723
|
reflect: true
|
|
14695
14724
|
},
|
|
14725
|
+
|
|
14726
|
+
/**
|
|
14727
|
+
* Specifies the value to be sent to a server.
|
|
14728
|
+
*/
|
|
14696
14729
|
value: {
|
|
14697
14730
|
type: String,
|
|
14698
14731
|
reflect: true
|
|
@@ -15643,19 +15676,9 @@ const MenuContext = n('menu-context');
|
|
|
15643
15676
|
|
|
15644
15677
|
|
|
15645
15678
|
/**
|
|
15646
|
-
* The auro-menu element provides users a way to select from a list of options.
|
|
15647
|
-
* @
|
|
15648
|
-
*
|
|
15649
|
-
* @attr {string} matchword - Specifies a string used to highlight matched string parts in options.
|
|
15650
|
-
* @attr {boolean} disabled - When true, the entire menu and all options are disabled;
|
|
15651
|
-
* @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
|
|
15652
|
-
* @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
|
|
15653
|
-
* @attr {boolean} multiselect - When true, the selected option can be multiple options.
|
|
15654
|
-
* @attr {boolean} selectAllMatchingOptions - When true, selects all options that match the provided value/key when setting value and multiselect is enabled.
|
|
15655
|
-
* @attr {string} value - The value of the selected option. In multi-select mode, this is a JSON stringified array of selected option values.
|
|
15656
|
-
* @prop {string} size - Sets the size of the menu. Accepted values are 'sm' and 'md'. Default is 'sm'.
|
|
15657
|
-
* @prop {string} shape - Sets the shape of the menu options. Accepted values are 'box' and 'round'. Default is 'box'.
|
|
15658
|
-
* @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
|
|
15679
|
+
* The `auro-menu` element provides users a way to select from a list of options.
|
|
15680
|
+
* @customElement auro-menu
|
|
15681
|
+
*
|
|
15659
15682
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
15660
15683
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
15661
15684
|
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
@@ -15746,58 +15769,87 @@ class AuroMenu extends AuroElement {
|
|
|
15746
15769
|
type: Boolean,
|
|
15747
15770
|
reflect: true,
|
|
15748
15771
|
},
|
|
15749
|
-
|
|
15750
|
-
|
|
15751
|
-
|
|
15752
|
-
|
|
15753
|
-
},
|
|
15772
|
+
|
|
15773
|
+
/**
|
|
15774
|
+
* When true, the entire menu and all options are disabled.
|
|
15775
|
+
*/
|
|
15754
15776
|
disabled: {
|
|
15755
15777
|
type: Boolean,
|
|
15756
15778
|
reflect: true
|
|
15757
15779
|
},
|
|
15780
|
+
|
|
15781
|
+
/**
|
|
15782
|
+
* Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
|
|
15783
|
+
*/
|
|
15784
|
+
hasLoadingPlaceholder: {
|
|
15785
|
+
type: Boolean
|
|
15786
|
+
},
|
|
15787
|
+
|
|
15788
|
+
/**
|
|
15789
|
+
* @private
|
|
15790
|
+
*/
|
|
15791
|
+
layout: {
|
|
15792
|
+
type: String
|
|
15793
|
+
},
|
|
15794
|
+
|
|
15795
|
+
/**
|
|
15796
|
+
* Indent level for submenus.
|
|
15797
|
+
* @private
|
|
15798
|
+
*/
|
|
15799
|
+
level: {
|
|
15800
|
+
type: Number,
|
|
15801
|
+
reflect: false,
|
|
15802
|
+
attribute: false
|
|
15803
|
+
},
|
|
15804
|
+
|
|
15805
|
+
/**
|
|
15806
|
+
* When true, displays a loading state using the loadingIcon and loadingText slots if provided.
|
|
15807
|
+
*/
|
|
15758
15808
|
loading: {
|
|
15759
15809
|
type: Boolean,
|
|
15760
15810
|
reflect: true
|
|
15761
15811
|
},
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
optionActive: {
|
|
15767
|
-
type: Object,
|
|
15768
|
-
attribute: 'optionactive'
|
|
15769
|
-
},
|
|
15812
|
+
|
|
15813
|
+
/**
|
|
15814
|
+
* Specifies a string used to highlight matched string parts in options.
|
|
15815
|
+
*/
|
|
15770
15816
|
matchWord: {
|
|
15771
15817
|
type: String,
|
|
15772
15818
|
attribute: 'matchword'
|
|
15773
15819
|
},
|
|
15820
|
+
|
|
15821
|
+
/**
|
|
15822
|
+
* When true, the selected option can be multiple options.
|
|
15823
|
+
*/
|
|
15774
15824
|
multiSelect: {
|
|
15775
15825
|
type: Boolean,
|
|
15776
15826
|
reflect: true,
|
|
15777
15827
|
attribute: 'multiselect'
|
|
15778
15828
|
},
|
|
15779
|
-
|
|
15829
|
+
|
|
15830
|
+
/**
|
|
15831
|
+
* When true, selected option will not show the checkmark.
|
|
15832
|
+
*/
|
|
15833
|
+
noCheckmark: {
|
|
15780
15834
|
type: Boolean,
|
|
15781
15835
|
reflect: true,
|
|
15836
|
+
attribute: 'nocheckmark'
|
|
15782
15837
|
},
|
|
15783
15838
|
|
|
15784
15839
|
/**
|
|
15785
|
-
*
|
|
15840
|
+
* Specifies the current active menuOption.
|
|
15786
15841
|
*/
|
|
15787
|
-
|
|
15788
|
-
type:
|
|
15789
|
-
|
|
15790
|
-
attribute: 'value'
|
|
15842
|
+
optionActive: {
|
|
15843
|
+
type: Object,
|
|
15844
|
+
attribute: 'optionactive'
|
|
15791
15845
|
},
|
|
15792
15846
|
|
|
15793
15847
|
/**
|
|
15794
|
-
*
|
|
15795
|
-
* @private
|
|
15848
|
+
* An array of currently selected menu options, type `HTMLElement` by default. In multi-select mode, `optionSelected` is an array of HTML elements.
|
|
15796
15849
|
*/
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
attribute: false
|
|
15850
|
+
optionSelected: {
|
|
15851
|
+
// Allow HTMLElement, HTMLElement[] arrays and undefined
|
|
15852
|
+
type: Object
|
|
15801
15853
|
},
|
|
15802
15854
|
|
|
15803
15855
|
/**
|
|
@@ -15808,6 +15860,43 @@ class AuroMenu extends AuroElement {
|
|
|
15808
15860
|
type: Array,
|
|
15809
15861
|
reflect: false,
|
|
15810
15862
|
attribute: false
|
|
15863
|
+
},
|
|
15864
|
+
|
|
15865
|
+
/**
|
|
15866
|
+
* Sets the size of the menu.
|
|
15867
|
+
* @type {'sm' | 'md'}
|
|
15868
|
+
* @default 'sm'
|
|
15869
|
+
*/
|
|
15870
|
+
size: {
|
|
15871
|
+
type: String,
|
|
15872
|
+
reflect: true
|
|
15873
|
+
},
|
|
15874
|
+
|
|
15875
|
+
/**
|
|
15876
|
+
* When true, selects all options that match the provided value/key when setting value and multiselect is enabled.
|
|
15877
|
+
*/
|
|
15878
|
+
selectAllMatchingOptions: {
|
|
15879
|
+
type: Boolean,
|
|
15880
|
+
reflect: true,
|
|
15881
|
+
},
|
|
15882
|
+
|
|
15883
|
+
/**
|
|
15884
|
+
* Sets the shape of the menu.
|
|
15885
|
+
* @type {'box' | 'round'}
|
|
15886
|
+
* @default 'box'
|
|
15887
|
+
*/
|
|
15888
|
+
shape: {
|
|
15889
|
+
type: String,
|
|
15890
|
+
reflect: true
|
|
15891
|
+
},
|
|
15892
|
+
|
|
15893
|
+
/**
|
|
15894
|
+
* The value of the selected option. In multi-select mode, this is a JSON stringified array of selected option values.
|
|
15895
|
+
*/
|
|
15896
|
+
value: {
|
|
15897
|
+
type: String,
|
|
15898
|
+
reflect: true,
|
|
15899
|
+
attribute: 'value'
|
|
15811
15900
|
}
|
|
15812
15901
|
};
|
|
15813
15902
|
}
|
|
@@ -15853,7 +15942,7 @@ class AuroMenu extends AuroElement {
|
|
|
15853
15942
|
|
|
15854
15943
|
/**
|
|
15855
15944
|
* This will register this element with the browser.
|
|
15856
|
-
* @param {string} [name="auro-menu"] - The name of element that you want to register
|
|
15945
|
+
* @param {string} [name="auro-menu"] - The name of the element that you want to register.
|
|
15857
15946
|
*
|
|
15858
15947
|
* @example
|
|
15859
15948
|
* AuroMenu.register("custom-menu") // this will register this element to <custom-menu/>
|
|
@@ -16265,24 +16354,6 @@ AuroMenuOption.register();
|
|
|
16265
16354
|
|
|
16266
16355
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers, no-param-reassign */
|
|
16267
16356
|
|
|
16357
|
+
|
|
16268
16358
|
AuroCombobox.register();
|
|
16269
16359
|
AuroCombobox.register('custom-combobox');
|
|
16270
|
-
|
|
16271
|
-
function initExamples(initCount) {
|
|
16272
|
-
initCount = initCount || 0;
|
|
16273
|
-
|
|
16274
|
-
try {
|
|
16275
|
-
// javascript example function calls to be added here upon creation to test examples
|
|
16276
|
-
persistentExample();
|
|
16277
|
-
swapValueExample();
|
|
16278
|
-
} catch (err) {
|
|
16279
|
-
if (initCount <= 20) {
|
|
16280
|
-
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
16281
|
-
setTimeout(() => {
|
|
16282
|
-
initExamples(initCount + 1);
|
|
16283
|
-
}, 100);
|
|
16284
|
-
}
|
|
16285
|
-
}
|
|
16286
|
-
}
|
|
16287
|
-
|
|
16288
|
-
export { initExamples };
|