@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
|
@@ -4197,7 +4197,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
4197
4197
|
}
|
|
4198
4198
|
};
|
|
4199
4199
|
|
|
4200
|
-
var formkitVersion$1 = '
|
|
4200
|
+
var formkitVersion$1 = '202601271813';
|
|
4201
4201
|
|
|
4202
4202
|
class AuroElement extends LitElement {
|
|
4203
4203
|
static get properties() {
|
|
@@ -4303,12 +4303,14 @@ class AuroElement extends LitElement {
|
|
|
4303
4303
|
}
|
|
4304
4304
|
}
|
|
4305
4305
|
|
|
4306
|
-
// Copyright (c)
|
|
4306
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4307
4307
|
// See LICENSE in the project root for license information.
|
|
4308
4308
|
|
|
4309
4309
|
|
|
4310
|
-
|
|
4311
|
-
|
|
4310
|
+
/**
|
|
4311
|
+
* The `auro-dropdown` element provides a way to place content in a bib that can be toggled.
|
|
4312
|
+
* @customElement auro-dropdown
|
|
4313
|
+
*
|
|
4312
4314
|
* @slot - Default slot for the popover content.
|
|
4313
4315
|
* @slot helpText - Defines the content of the helpText.
|
|
4314
4316
|
* @slot trigger - Defines the content of the trigger.
|
|
@@ -4344,7 +4346,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4344
4346
|
/** @private */
|
|
4345
4347
|
this.bibElement = createRef();
|
|
4346
4348
|
|
|
4347
|
-
this.
|
|
4349
|
+
this._intializeDefaults();
|
|
4348
4350
|
}
|
|
4349
4351
|
|
|
4350
4352
|
/**
|
|
@@ -4365,7 +4367,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4365
4367
|
* @private
|
|
4366
4368
|
* @returns {void} Internal defaults.
|
|
4367
4369
|
*/
|
|
4368
|
-
|
|
4370
|
+
_intializeDefaults() {
|
|
4369
4371
|
this.appearance = 'default';
|
|
4370
4372
|
this.chevron = false;
|
|
4371
4373
|
this.disabled = false;
|
|
@@ -4486,9 +4488,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4486
4488
|
static get properties() {
|
|
4487
4489
|
return {
|
|
4488
4490
|
|
|
4491
|
+
/**
|
|
4492
|
+
* The value for the role attribute of the trigger element.
|
|
4493
|
+
*/
|
|
4494
|
+
a11yRole: {
|
|
4495
|
+
type: String || undefined,
|
|
4496
|
+
attribute: false,
|
|
4497
|
+
reflect: false
|
|
4498
|
+
},
|
|
4499
|
+
|
|
4489
4500
|
/**
|
|
4490
4501
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
4491
|
-
* @
|
|
4502
|
+
* @type {'default' | 'inverse'}
|
|
4492
4503
|
* @default 'default'
|
|
4493
4504
|
*/
|
|
4494
4505
|
appearance: {
|
|
@@ -4498,7 +4509,6 @@ class AuroDropdown extends AuroElement {
|
|
|
4498
4509
|
|
|
4499
4510
|
/**
|
|
4500
4511
|
* If declared, bib's position will be automatically calculated where to appear.
|
|
4501
|
-
* @default false
|
|
4502
4512
|
*/
|
|
4503
4513
|
autoPlacement: {
|
|
4504
4514
|
type: Boolean,
|
|
@@ -4507,7 +4517,6 @@ class AuroDropdown extends AuroElement {
|
|
|
4507
4517
|
|
|
4508
4518
|
/**
|
|
4509
4519
|
* If declared, the dropdown will only show by calling the API .show() public method.
|
|
4510
|
-
* @default false
|
|
4511
4520
|
*/
|
|
4512
4521
|
disableEventShow: {
|
|
4513
4522
|
type: Boolean,
|
|
@@ -4524,11 +4533,11 @@ class AuroDropdown extends AuroElement {
|
|
|
4524
4533
|
|
|
4525
4534
|
/**
|
|
4526
4535
|
* If declared, the dropdown displays a chevron on the right.
|
|
4527
|
-
* @attr {Boolean} chevron
|
|
4528
4536
|
*/
|
|
4529
4537
|
chevron: {
|
|
4530
4538
|
type: Boolean,
|
|
4531
|
-
reflect: true
|
|
4539
|
+
reflect: true,
|
|
4540
|
+
attribute: 'chevron'
|
|
4532
4541
|
},
|
|
4533
4542
|
|
|
4534
4543
|
/**
|
|
@@ -4565,7 +4574,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4565
4574
|
},
|
|
4566
4575
|
|
|
4567
4576
|
/**
|
|
4568
|
-
* If declared
|
|
4577
|
+
* If declared, will apply error UI to the dropdown.
|
|
4569
4578
|
*/
|
|
4570
4579
|
error: {
|
|
4571
4580
|
type: Boolean,
|
|
@@ -4620,18 +4629,28 @@ class AuroDropdown extends AuroElement {
|
|
|
4620
4629
|
},
|
|
4621
4630
|
|
|
4622
4631
|
/**
|
|
4623
|
-
* Defines the screen size breakpoint
|
|
4624
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
4632
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
4625
4633
|
*
|
|
4626
4634
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
4627
4635
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
4628
|
-
* @
|
|
4636
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
4637
|
+
* @default 'sm'
|
|
4629
4638
|
*/
|
|
4630
4639
|
fullscreenBreakpoint: {
|
|
4631
4640
|
type: String,
|
|
4632
4641
|
reflect: true
|
|
4633
4642
|
},
|
|
4634
4643
|
|
|
4644
|
+
/**
|
|
4645
|
+
* Sets the layout of the dropdown.
|
|
4646
|
+
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
4647
|
+
* @default 'classic'
|
|
4648
|
+
*/
|
|
4649
|
+
layout: {
|
|
4650
|
+
type: String,
|
|
4651
|
+
reflect: true
|
|
4652
|
+
},
|
|
4653
|
+
|
|
4635
4654
|
/**
|
|
4636
4655
|
* Defines if the trigger should size based on the parent element providing the border UI.
|
|
4637
4656
|
* @private
|
|
@@ -4652,7 +4671,6 @@ class AuroDropdown extends AuroElement {
|
|
|
4652
4671
|
/**
|
|
4653
4672
|
* If declared, the bib will NOT flip to an alternate position
|
|
4654
4673
|
* when there isn't enough space in the specified `placement`.
|
|
4655
|
-
* @default false
|
|
4656
4674
|
*/
|
|
4657
4675
|
noFlip: {
|
|
4658
4676
|
type: Boolean,
|
|
@@ -4661,7 +4679,6 @@ class AuroDropdown extends AuroElement {
|
|
|
4661
4679
|
|
|
4662
4680
|
/**
|
|
4663
4681
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
4664
|
-
* @default false
|
|
4665
4682
|
*/
|
|
4666
4683
|
shift: {
|
|
4667
4684
|
type: Boolean,
|
|
@@ -4694,7 +4711,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4694
4711
|
},
|
|
4695
4712
|
|
|
4696
4713
|
/**
|
|
4697
|
-
* DEPRECATED - use `appearance` instead.
|
|
4714
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
4698
4715
|
*/
|
|
4699
4716
|
onDark: {
|
|
4700
4717
|
type: Boolean,
|
|
@@ -4711,7 +4728,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4711
4728
|
|
|
4712
4729
|
/**
|
|
4713
4730
|
* Position where the bib should appear relative to the trigger.
|
|
4714
|
-
* @
|
|
4731
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
4732
|
+
* @default 'bottom-start'
|
|
4715
4733
|
*/
|
|
4716
4734
|
placement: {
|
|
4717
4735
|
type: String,
|
|
@@ -4723,15 +4741,6 @@ class AuroDropdown extends AuroElement {
|
|
|
4723
4741
|
*/
|
|
4724
4742
|
tabIndex: {
|
|
4725
4743
|
type: Number
|
|
4726
|
-
},
|
|
4727
|
-
|
|
4728
|
-
/**
|
|
4729
|
-
* The value for the role attribute of the trigger element.
|
|
4730
|
-
*/
|
|
4731
|
-
a11yRole: {
|
|
4732
|
-
type: String || undefined,
|
|
4733
|
-
attribute: false,
|
|
4734
|
-
reflect: false
|
|
4735
4744
|
}
|
|
4736
4745
|
};
|
|
4737
4746
|
}
|
|
@@ -4758,7 +4767,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4758
4767
|
|
|
4759
4768
|
/**
|
|
4760
4769
|
* This will register this element with the browser.
|
|
4761
|
-
* @param {string} [name="auro-dropdown"] - The name of element that you want to register
|
|
4770
|
+
* @param {string} [name="auro-dropdown"] - The name of the element that you want to register.
|
|
4762
4771
|
*
|
|
4763
4772
|
* @example
|
|
4764
4773
|
* AuroDropdown.register("custom-dropdown") // this will register this element to <custom-dropdown/>
|
|
@@ -5835,19 +5844,20 @@ class AuroHelpText extends LitElement {
|
|
|
5835
5844
|
}
|
|
5836
5845
|
}
|
|
5837
5846
|
|
|
5838
|
-
var formkitVersion = '
|
|
5847
|
+
var formkitVersion = '202601271813';
|
|
5839
5848
|
|
|
5840
5849
|
var styleCss = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-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}`;
|
|
5841
5850
|
|
|
5842
5851
|
var emphasizedColorCss = css`:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}`;
|
|
5843
5852
|
|
|
5844
|
-
// Copyright (c)
|
|
5853
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5845
5854
|
// See LICENSE in the project root for license information.
|
|
5846
5855
|
|
|
5847
5856
|
|
|
5848
5857
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
5849
5858
|
/**
|
|
5850
|
-
* The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
5859
|
+
* The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
5860
|
+
* @customElement auro-select
|
|
5851
5861
|
*
|
|
5852
5862
|
* @slot - Default slot for the menu content.
|
|
5853
5863
|
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
@@ -5860,10 +5870,9 @@ var emphasizedColorCss = css`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
|
|
|
5860
5870
|
* @event auroSelect-valueSet - Notifies that the component has a new value set.
|
|
5861
5871
|
* @event input - Notifies every time the value prop of the element is changed. The updated `value` and `optionSelected` will be delivered in `detail` object.
|
|
5862
5872
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
5863
|
-
*
|
|
5864
5873
|
* @csspart dropdownTrigger - Apply CSS to the trigger content container.
|
|
5865
5874
|
* @csspart dropdownChevron - Apply CSS to the collapsed/expanded state icon container.
|
|
5866
|
-
* @csspart dropdownSize - Apply size styles to the dropdown bib
|
|
5875
|
+
* @csspart dropdownSize - Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only).
|
|
5867
5876
|
* @csspart helpText - Apply CSS to the help text.
|
|
5868
5877
|
*/
|
|
5869
5878
|
|
|
@@ -5872,7 +5881,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
5872
5881
|
constructor() {
|
|
5873
5882
|
super();
|
|
5874
5883
|
|
|
5875
|
-
this.
|
|
5884
|
+
this._initializeDefaults();
|
|
5876
5885
|
|
|
5877
5886
|
const idLength = 36;
|
|
5878
5887
|
const idSubstrEnd = 8;
|
|
@@ -5946,7 +5955,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
5946
5955
|
* @private
|
|
5947
5956
|
* @returns {void} Internal defaults.
|
|
5948
5957
|
*/
|
|
5949
|
-
|
|
5958
|
+
_initializeDefaults() {
|
|
5950
5959
|
this.appearance = 'default';
|
|
5951
5960
|
this.value = undefined;
|
|
5952
5961
|
this.fullscreenBreakpoint = 'sm';
|
|
@@ -5967,7 +5976,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
5967
5976
|
|
|
5968
5977
|
/**
|
|
5969
5978
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
5970
|
-
* @
|
|
5979
|
+
* @type {'default' | 'inverse'}
|
|
5971
5980
|
* @default 'default'
|
|
5972
5981
|
*/
|
|
5973
5982
|
appearance: {
|
|
@@ -5975,6 +5984,14 @@ class AuroSelect extends AuroElement$1 {
|
|
|
5975
5984
|
reflect: true
|
|
5976
5985
|
},
|
|
5977
5986
|
|
|
5987
|
+
/**
|
|
5988
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
5989
|
+
*/
|
|
5990
|
+
autoPlacement: {
|
|
5991
|
+
type: Boolean,
|
|
5992
|
+
reflect: true
|
|
5993
|
+
},
|
|
5994
|
+
|
|
5978
5995
|
/**
|
|
5979
5996
|
* If declared, sets the autocomplete attribute for the select element.
|
|
5980
5997
|
*/
|
|
@@ -5984,28 +6001,27 @@ class AuroSelect extends AuroElement$1 {
|
|
|
5984
6001
|
},
|
|
5985
6002
|
|
|
5986
6003
|
/**
|
|
5987
|
-
*
|
|
6004
|
+
* When attribute is present, element shows disabled state.
|
|
5988
6005
|
*/
|
|
5989
|
-
|
|
6006
|
+
disabled: {
|
|
5990
6007
|
type: Boolean,
|
|
5991
6008
|
reflect: true
|
|
5992
6009
|
},
|
|
5993
6010
|
|
|
5994
6011
|
/**
|
|
5995
|
-
*
|
|
5996
|
-
* @default false
|
|
6012
|
+
* When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
5997
6013
|
*/
|
|
5998
|
-
|
|
5999
|
-
type:
|
|
6014
|
+
error: {
|
|
6015
|
+
type: String,
|
|
6000
6016
|
reflect: true
|
|
6001
6017
|
},
|
|
6002
6018
|
|
|
6003
6019
|
/**
|
|
6004
|
-
*
|
|
6020
|
+
* If declared, make the width of the bib match the width of the content, rather than the trigger.
|
|
6005
6021
|
*/
|
|
6006
|
-
|
|
6022
|
+
flexMenuWidth: {
|
|
6007
6023
|
type: Boolean,
|
|
6008
|
-
reflect: true
|
|
6024
|
+
reflect: true,
|
|
6009
6025
|
},
|
|
6010
6026
|
|
|
6011
6027
|
/**
|
|
@@ -6016,6 +6032,45 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6016
6032
|
reflect: true
|
|
6017
6033
|
},
|
|
6018
6034
|
|
|
6035
|
+
/**
|
|
6036
|
+
* If declared, the label and value will be visually hidden and the displayValue will render 100% of the time.
|
|
6037
|
+
*/
|
|
6038
|
+
forceDisplayValue: {
|
|
6039
|
+
type: Boolean,
|
|
6040
|
+
reflect: true
|
|
6041
|
+
},
|
|
6042
|
+
|
|
6043
|
+
/**
|
|
6044
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
6045
|
+
*
|
|
6046
|
+
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
6047
|
+
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
6048
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
6049
|
+
* @default 'sm'
|
|
6050
|
+
*/
|
|
6051
|
+
fullscreenBreakpoint: {
|
|
6052
|
+
type: String,
|
|
6053
|
+
reflect: true
|
|
6054
|
+
},
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* @private
|
|
6058
|
+
*/
|
|
6059
|
+
hasDisplayValueContent: {
|
|
6060
|
+
type: Boolean,
|
|
6061
|
+
reflect: false,
|
|
6062
|
+
attribute: false
|
|
6063
|
+
},
|
|
6064
|
+
|
|
6065
|
+
/**
|
|
6066
|
+
* @private
|
|
6067
|
+
*/
|
|
6068
|
+
hasFocus: {
|
|
6069
|
+
type: Boolean,
|
|
6070
|
+
reflect: false,
|
|
6071
|
+
attribute: false
|
|
6072
|
+
},
|
|
6073
|
+
|
|
6019
6074
|
/**
|
|
6020
6075
|
* @private
|
|
6021
6076
|
*/
|
|
@@ -6025,40 +6080,46 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6025
6080
|
},
|
|
6026
6081
|
|
|
6027
6082
|
/**
|
|
6028
|
-
* If declared,
|
|
6083
|
+
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
6084
|
+
* Otherwise, Heading 600.
|
|
6029
6085
|
*/
|
|
6030
|
-
|
|
6086
|
+
largeFullscreenHeadline: {
|
|
6031
6087
|
type: Boolean,
|
|
6032
6088
|
reflect: true
|
|
6033
6089
|
},
|
|
6034
6090
|
|
|
6035
6091
|
/**
|
|
6036
|
-
*
|
|
6092
|
+
* Determines the overall layout of the select component.
|
|
6093
|
+
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
6094
|
+
* @default 'classic'
|
|
6037
6095
|
*/
|
|
6038
|
-
|
|
6096
|
+
layout: {
|
|
6039
6097
|
type: String,
|
|
6040
6098
|
reflect: true
|
|
6041
6099
|
},
|
|
6042
6100
|
|
|
6043
6101
|
/**
|
|
6044
|
-
*
|
|
6045
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
6046
|
-
*
|
|
6047
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
6048
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
6049
|
-
* @default sm
|
|
6102
|
+
* If declared, the popover and trigger will be set to the same width.
|
|
6050
6103
|
*/
|
|
6051
|
-
|
|
6052
|
-
type:
|
|
6104
|
+
matchWidth: {
|
|
6105
|
+
type: Boolean,
|
|
6053
6106
|
reflect: true
|
|
6054
6107
|
},
|
|
6055
6108
|
|
|
6056
6109
|
/**
|
|
6057
|
-
*
|
|
6058
|
-
* Otherwise, Heading 600.
|
|
6110
|
+
* Sets multi-select mode, allowing multiple options to be selected at once.
|
|
6059
6111
|
*/
|
|
6060
|
-
|
|
6112
|
+
multiSelect: {
|
|
6061
6113
|
type: Boolean,
|
|
6114
|
+
reflect: true,
|
|
6115
|
+
attribute: 'multiselect'
|
|
6116
|
+
},
|
|
6117
|
+
|
|
6118
|
+
/**
|
|
6119
|
+
* The name for the select element.
|
|
6120
|
+
*/
|
|
6121
|
+
name: {
|
|
6122
|
+
type: String,
|
|
6062
6123
|
reflect: true
|
|
6063
6124
|
},
|
|
6064
6125
|
|
|
@@ -6073,22 +6134,12 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6073
6134
|
/**
|
|
6074
6135
|
* If declared, the bib will NOT flip to an alternate position
|
|
6075
6136
|
* when there isn't enough space in the specified `placement`.
|
|
6076
|
-
* @default false
|
|
6077
6137
|
*/
|
|
6078
6138
|
noFlip: {
|
|
6079
6139
|
type: Boolean,
|
|
6080
6140
|
reflect: true
|
|
6081
6141
|
},
|
|
6082
6142
|
|
|
6083
|
-
/**
|
|
6084
|
-
* If set, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
6085
|
-
* @default false
|
|
6086
|
-
*/
|
|
6087
|
-
shift: {
|
|
6088
|
-
type: Boolean,
|
|
6089
|
-
reflect: true
|
|
6090
|
-
},
|
|
6091
|
-
|
|
6092
6143
|
/**
|
|
6093
6144
|
* If set, disables auto-validation on blur.
|
|
6094
6145
|
*/
|
|
@@ -6107,13 +6158,21 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6107
6158
|
},
|
|
6108
6159
|
|
|
6109
6160
|
/**
|
|
6110
|
-
* DEPRECATED - use `appearance` instead.
|
|
6161
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
6111
6162
|
*/
|
|
6112
6163
|
onDark: {
|
|
6113
6164
|
type: Boolean,
|
|
6114
6165
|
reflect: true
|
|
6115
6166
|
},
|
|
6116
6167
|
|
|
6168
|
+
/**
|
|
6169
|
+
* @private
|
|
6170
|
+
*/
|
|
6171
|
+
options: {
|
|
6172
|
+
type: Array,
|
|
6173
|
+
state: true
|
|
6174
|
+
},
|
|
6175
|
+
|
|
6117
6176
|
/**
|
|
6118
6177
|
* Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true.
|
|
6119
6178
|
* @type {HTMLElement|Array<HTMLElement>}
|
|
@@ -6123,23 +6182,19 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6123
6182
|
},
|
|
6124
6183
|
|
|
6125
6184
|
/**
|
|
6126
|
-
*
|
|
6127
|
-
* Accepted values:
|
|
6128
|
-
* "top" | "right" | "bottom" | "left" |
|
|
6129
|
-
* "bottom-start" | "top-start" | "top-end" |
|
|
6130
|
-
* "right-start" | "right-end" | "bottom-end" |
|
|
6131
|
-
* "left-start" | "left-end".
|
|
6132
|
-
* @default bottom-start
|
|
6185
|
+
* Define custom placeholder text.
|
|
6133
6186
|
*/
|
|
6134
|
-
|
|
6187
|
+
placeholder: {
|
|
6135
6188
|
type: String,
|
|
6136
6189
|
reflect: true
|
|
6137
6190
|
},
|
|
6138
6191
|
|
|
6139
6192
|
/**
|
|
6140
|
-
*
|
|
6193
|
+
* Position where the bib should appear relative to the trigger.
|
|
6194
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
6195
|
+
* @default 'bottom-start'
|
|
6141
6196
|
*/
|
|
6142
|
-
|
|
6197
|
+
placement: {
|
|
6143
6198
|
type: String,
|
|
6144
6199
|
reflect: true
|
|
6145
6200
|
},
|
|
@@ -6152,14 +6207,6 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6152
6207
|
reflect: true
|
|
6153
6208
|
},
|
|
6154
6209
|
|
|
6155
|
-
/**
|
|
6156
|
-
* When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
6157
|
-
*/
|
|
6158
|
-
error: {
|
|
6159
|
-
type: String,
|
|
6160
|
-
reflect: true
|
|
6161
|
-
},
|
|
6162
|
-
|
|
6163
6210
|
/**
|
|
6164
6211
|
* Sets a custom help text message to display for all validityStates.
|
|
6165
6212
|
*/
|
|
@@ -6182,35 +6229,33 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6182
6229
|
},
|
|
6183
6230
|
|
|
6184
6231
|
/**
|
|
6185
|
-
*
|
|
6232
|
+
* Determines the shape of the dropdown bib.
|
|
6233
|
+
* @type {'classic' | 'pill' | 'pill-left' | 'pill-right' | 'snowflake'}
|
|
6186
6234
|
*/
|
|
6187
|
-
|
|
6235
|
+
shape: {
|
|
6188
6236
|
type: String,
|
|
6189
6237
|
reflect: true
|
|
6190
6238
|
},
|
|
6191
6239
|
|
|
6192
6240
|
/**
|
|
6193
|
-
*
|
|
6241
|
+
* If set, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
6194
6242
|
*/
|
|
6195
|
-
|
|
6196
|
-
type:
|
|
6197
|
-
reflect: true
|
|
6198
|
-
attribute: 'value'
|
|
6243
|
+
shift: {
|
|
6244
|
+
type: Boolean,
|
|
6245
|
+
reflect: true
|
|
6199
6246
|
},
|
|
6200
6247
|
|
|
6201
6248
|
/**
|
|
6202
|
-
*
|
|
6249
|
+
* Determines the size of the dropdown bib. Only the `emphasized` layout supports size=`xl`, while all other layouts support size=`lg`.
|
|
6250
|
+
* @type {'lg' | 'xl'}
|
|
6203
6251
|
*/
|
|
6204
|
-
|
|
6205
|
-
type:
|
|
6206
|
-
reflect: true
|
|
6207
|
-
attribute: 'multiselect'
|
|
6252
|
+
size: {
|
|
6253
|
+
type: String,
|
|
6254
|
+
reflect: true
|
|
6208
6255
|
},
|
|
6209
6256
|
|
|
6210
6257
|
/**
|
|
6211
6258
|
* Indicates whether the input is in a dirty state (has been interacted with).
|
|
6212
|
-
* @type {boolean}
|
|
6213
|
-
* @default false
|
|
6214
6259
|
* @private
|
|
6215
6260
|
*/
|
|
6216
6261
|
touched: {
|
|
@@ -6220,29 +6265,20 @@ class AuroSelect extends AuroElement$1 {
|
|
|
6220
6265
|
},
|
|
6221
6266
|
|
|
6222
6267
|
/**
|
|
6223
|
-
*
|
|
6224
|
-
*/
|
|
6225
|
-
hasFocus: {
|
|
6226
|
-
type: Boolean,
|
|
6227
|
-
reflect: false,
|
|
6228
|
-
attribute: false
|
|
6229
|
-
},
|
|
6230
|
-
|
|
6231
|
-
/**
|
|
6232
|
-
* @private
|
|
6268
|
+
* Specifies the `validityState` this element is in.
|
|
6233
6269
|
*/
|
|
6234
|
-
|
|
6235
|
-
type:
|
|
6236
|
-
reflect:
|
|
6237
|
-
attribute: false
|
|
6270
|
+
validity: {
|
|
6271
|
+
type: String,
|
|
6272
|
+
reflect: true
|
|
6238
6273
|
},
|
|
6239
6274
|
|
|
6240
6275
|
/**
|
|
6241
|
-
*
|
|
6276
|
+
* Value selected for the component.
|
|
6242
6277
|
*/
|
|
6243
|
-
|
|
6244
|
-
type:
|
|
6245
|
-
|
|
6278
|
+
value: {
|
|
6279
|
+
type: String,
|
|
6280
|
+
reflect: true,
|
|
6281
|
+
attribute: 'value'
|
|
6246
6282
|
},
|
|
6247
6283
|
};
|
|
6248
6284
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem/auro-formkit",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.2",
|
|
4
4
|
"description": "A collection of web components used to build forms.",
|
|
5
5
|
"homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"@aurodesignsystem/version": "*",
|
|
70
70
|
"@aurodesignsystem/auro-button": "^12.3.0",
|
|
71
71
|
"@aurodesignsystem/auro-library": "^5.5.4",
|
|
72
|
-
"@aurodesignsystem/design-tokens": "^8.
|
|
72
|
+
"@aurodesignsystem/design-tokens": "^8.9.0",
|
|
73
73
|
"@aurodesignsystem/eslint-config": "^1.3.5",
|
|
74
|
-
"@aurodesignsystem/webcorestylesheets": "^10.1.
|
|
74
|
+
"@aurodesignsystem/webcorestylesheets": "^10.1.4",
|
|
75
75
|
"@commitlint/cli": "^19.8.1",
|
|
76
76
|
"@commitlint/config-conventional": "^19.8.1",
|
|
77
77
|
"@open-wc/testing": "^4.0.0",
|