@aurodesignsystem-dev/auro-formkit 0.0.0-pr1583.0 → 0.0.0-pr1588.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +9 -4
- package/components/checkbox/demo/getting-started.min.js +9 -4
- package/components/checkbox/demo/index.min.js +9 -4
- package/components/checkbox/dist/index.js +9 -4
- package/components/checkbox/dist/registered.js +9 -4
- package/components/combobox/demo/customize.min.js +29 -7
- package/components/combobox/demo/getting-started.min.js +29 -7
- package/components/combobox/demo/index.min.js +29 -7
- package/components/combobox/dist/index.js +29 -7
- package/components/combobox/dist/registered.js +29 -7
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +28 -6
- package/components/datepicker/demo/index.min.js +28 -6
- package/components/datepicker/dist/index.js +28 -6
- package/components/datepicker/dist/registered.js +28 -6
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +27 -5
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +109 -30
- package/components/form/demo/getting-started.min.js +109 -30
- package/components/form/demo/index.min.js +109 -30
- package/components/form/demo/registerDemoDeps.min.js +109 -30
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/customize.md +3 -3
- package/components/input/demo/customize.min.js +26 -4
- package/components/input/demo/getting-started.min.js +26 -4
- package/components/input/demo/index.min.js +26 -4
- package/components/input/dist/auro-input.d.ts +8 -0
- package/components/input/dist/base-input.d.ts +2 -0
- package/components/input/dist/index.js +26 -4
- package/components/input/dist/registered.js +26 -4
- package/components/radio/demo/customize.min.js +10 -4
- package/components/radio/demo/getting-started.min.js +10 -4
- package/components/radio/demo/index.min.js +10 -4
- package/components/radio/dist/index.js +10 -4
- package/components/radio/dist/registered.js +10 -4
- package/components/select/demo/customize.min.js +5 -3
- package/components/select/demo/getting-started.min.js +5 -3
- package/components/select/demo/index.min.js +5 -3
- package/components/select/dist/index.js +5 -3
- package/components/select/dist/registered.js +5 -3
- package/custom-elements.json +16 -4
- package/package.json +1 -1
|
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
var formkitVersion = '
|
|
1278
|
+
var formkitVersion = '202608192007';
|
|
1279
1279
|
|
|
1280
1280
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1281
|
// See LICENSE in the project root for license information.
|
|
@@ -1495,7 +1495,9 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1495
1495
|
composed: true,
|
|
1496
1496
|
}));
|
|
1497
1497
|
|
|
1498
|
-
this.
|
|
1498
|
+
if (!this.noValidate) {
|
|
1499
|
+
this.validate(true);
|
|
1500
|
+
}
|
|
1499
1501
|
}
|
|
1500
1502
|
|
|
1501
1503
|
firstUpdated() {
|
|
@@ -1506,11 +1508,14 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1506
1508
|
const checkFocusWithin = function(evt) {
|
|
1507
1509
|
if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
|
|
1508
1510
|
// if focus has left the group, cleanup and validate
|
|
1509
|
-
document.auroCheckboxGroupActive
|
|
1511
|
+
const group = document.auroCheckboxGroupActive;
|
|
1512
|
+
group.focusWithin = false;
|
|
1510
1513
|
window.removeEventListener('focusin', checkFocusWithin);
|
|
1511
1514
|
document.removeEventListener('click', checkFocusWithin);
|
|
1512
1515
|
// execute the validation
|
|
1513
|
-
|
|
1516
|
+
if (!group.noValidate) {
|
|
1517
|
+
group.validation.validate(group);
|
|
1518
|
+
}
|
|
1514
1519
|
}
|
|
1515
1520
|
};
|
|
1516
1521
|
|
|
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
var formkitVersion = '
|
|
1278
|
+
var formkitVersion = '202608192007';
|
|
1279
1279
|
|
|
1280
1280
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1281
|
// See LICENSE in the project root for license information.
|
|
@@ -1495,7 +1495,9 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1495
1495
|
composed: true,
|
|
1496
1496
|
}));
|
|
1497
1497
|
|
|
1498
|
-
this.
|
|
1498
|
+
if (!this.noValidate) {
|
|
1499
|
+
this.validate(true);
|
|
1500
|
+
}
|
|
1499
1501
|
}
|
|
1500
1502
|
|
|
1501
1503
|
firstUpdated() {
|
|
@@ -1506,11 +1508,14 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1506
1508
|
const checkFocusWithin = function(evt) {
|
|
1507
1509
|
if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
|
|
1508
1510
|
// if focus has left the group, cleanup and validate
|
|
1509
|
-
document.auroCheckboxGroupActive
|
|
1511
|
+
const group = document.auroCheckboxGroupActive;
|
|
1512
|
+
group.focusWithin = false;
|
|
1510
1513
|
window.removeEventListener('focusin', checkFocusWithin);
|
|
1511
1514
|
document.removeEventListener('click', checkFocusWithin);
|
|
1512
1515
|
// execute the validation
|
|
1513
|
-
|
|
1516
|
+
if (!group.noValidate) {
|
|
1517
|
+
group.validation.validate(group);
|
|
1518
|
+
}
|
|
1514
1519
|
}
|
|
1515
1520
|
};
|
|
1516
1521
|
|
|
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
var formkitVersion = '
|
|
1278
|
+
var formkitVersion = '202608192007';
|
|
1279
1279
|
|
|
1280
1280
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1281
|
// See LICENSE in the project root for license information.
|
|
@@ -1495,7 +1495,9 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1495
1495
|
composed: true,
|
|
1496
1496
|
}));
|
|
1497
1497
|
|
|
1498
|
-
this.
|
|
1498
|
+
if (!this.noValidate) {
|
|
1499
|
+
this.validate(true);
|
|
1500
|
+
}
|
|
1499
1501
|
}
|
|
1500
1502
|
|
|
1501
1503
|
firstUpdated() {
|
|
@@ -1506,11 +1508,14 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1506
1508
|
const checkFocusWithin = function(evt) {
|
|
1507
1509
|
if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
|
|
1508
1510
|
// if focus has left the group, cleanup and validate
|
|
1509
|
-
document.auroCheckboxGroupActive
|
|
1511
|
+
const group = document.auroCheckboxGroupActive;
|
|
1512
|
+
group.focusWithin = false;
|
|
1510
1513
|
window.removeEventListener('focusin', checkFocusWithin);
|
|
1511
1514
|
document.removeEventListener('click', checkFocusWithin);
|
|
1512
1515
|
// execute the validation
|
|
1513
|
-
|
|
1516
|
+
if (!group.noValidate) {
|
|
1517
|
+
group.validation.validate(group);
|
|
1518
|
+
}
|
|
1514
1519
|
}
|
|
1515
1520
|
};
|
|
1516
1521
|
|
|
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
|
-
var formkitVersion = '
|
|
1231
|
+
var formkitVersion = '202608192007';
|
|
1232
1232
|
|
|
1233
1233
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1234
1234
|
// See LICENSE in the project root for license information.
|
|
@@ -1448,7 +1448,9 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1448
1448
|
composed: true,
|
|
1449
1449
|
}));
|
|
1450
1450
|
|
|
1451
|
-
this.
|
|
1451
|
+
if (!this.noValidate) {
|
|
1452
|
+
this.validate(true);
|
|
1453
|
+
}
|
|
1452
1454
|
}
|
|
1453
1455
|
|
|
1454
1456
|
firstUpdated() {
|
|
@@ -1459,11 +1461,14 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1459
1461
|
const checkFocusWithin = function(evt) {
|
|
1460
1462
|
if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
|
|
1461
1463
|
// if focus has left the group, cleanup and validate
|
|
1462
|
-
document.auroCheckboxGroupActive
|
|
1464
|
+
const group = document.auroCheckboxGroupActive;
|
|
1465
|
+
group.focusWithin = false;
|
|
1463
1466
|
window.removeEventListener('focusin', checkFocusWithin);
|
|
1464
1467
|
document.removeEventListener('click', checkFocusWithin);
|
|
1465
1468
|
// execute the validation
|
|
1466
|
-
|
|
1469
|
+
if (!group.noValidate) {
|
|
1470
|
+
group.validation.validate(group);
|
|
1471
|
+
}
|
|
1467
1472
|
}
|
|
1468
1473
|
};
|
|
1469
1474
|
|
|
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
|
-
var formkitVersion = '
|
|
1231
|
+
var formkitVersion = '202608192007';
|
|
1232
1232
|
|
|
1233
1233
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1234
1234
|
// See LICENSE in the project root for license information.
|
|
@@ -1448,7 +1448,9 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1448
1448
|
composed: true,
|
|
1449
1449
|
}));
|
|
1450
1450
|
|
|
1451
|
-
this.
|
|
1451
|
+
if (!this.noValidate) {
|
|
1452
|
+
this.validate(true);
|
|
1453
|
+
}
|
|
1452
1454
|
}
|
|
1453
1455
|
|
|
1454
1456
|
firstUpdated() {
|
|
@@ -1459,11 +1461,14 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1459
1461
|
const checkFocusWithin = function(evt) {
|
|
1460
1462
|
if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
|
|
1461
1463
|
// if focus has left the group, cleanup and validate
|
|
1462
|
-
document.auroCheckboxGroupActive
|
|
1464
|
+
const group = document.auroCheckboxGroupActive;
|
|
1465
|
+
group.focusWithin = false;
|
|
1463
1466
|
window.removeEventListener('focusin', checkFocusWithin);
|
|
1464
1467
|
document.removeEventListener('click', checkFocusWithin);
|
|
1465
1468
|
// execute the validation
|
|
1466
|
-
|
|
1469
|
+
if (!group.noValidate) {
|
|
1470
|
+
group.validation.validate(group);
|
|
1471
|
+
}
|
|
1467
1472
|
}
|
|
1468
1473
|
};
|
|
1469
1474
|
|
|
@@ -4977,7 +4977,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
};
|
|
4979
4979
|
|
|
4980
|
-
var formkitVersion$2 = '
|
|
4980
|
+
var formkitVersion$2 = '202608192007';
|
|
4981
4981
|
|
|
4982
4982
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4983
4983
|
static get properties() {
|
|
@@ -17149,6 +17149,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17149
17149
|
|
|
17150
17150
|
/**
|
|
17151
17151
|
* If set, the label will remain fixed in the active position.
|
|
17152
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
17153
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
17152
17154
|
*/
|
|
17153
17155
|
activeLabel: {
|
|
17154
17156
|
type: Boolean,
|
|
@@ -18675,7 +18677,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18675
18677
|
}
|
|
18676
18678
|
};
|
|
18677
18679
|
|
|
18678
|
-
var formkitVersion$1 = '
|
|
18680
|
+
var formkitVersion$1 = '202608192007';
|
|
18679
18681
|
|
|
18680
18682
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18681
18683
|
// See LICENSE in the project root for license information.
|
|
@@ -18776,15 +18778,35 @@ class AuroInput extends BaseInput {
|
|
|
18776
18778
|
* @private
|
|
18777
18779
|
*/
|
|
18778
18780
|
get inputHidden() {
|
|
18781
|
+
// In the classic/default layout, activeLabel keeps the input row visible so
|
|
18782
|
+
// the label stays raised rather than collapsing to the centered placeholder
|
|
18783
|
+
// position. Emphasized/snowflake always render the label inside the field,
|
|
18784
|
+
// so activeLabel does not apply there. This only overrides the empty/
|
|
18785
|
+
// unfocused clause — the display-value clause (combobox/datepicker) is
|
|
18786
|
+
// preserved regardless.
|
|
18787
|
+
const activeLabelRaisesInput = this.activeLabel && this.isClassicLayout;
|
|
18788
|
+
|
|
18779
18789
|
return (
|
|
18780
18790
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
18781
18791
|
(
|
|
18792
|
+
!activeLabelRaisesInput &&
|
|
18782
18793
|
(!this.value || this.value.length === 0) &&
|
|
18783
18794
|
!this.hasFocus &&
|
|
18784
18795
|
(!this.placeholderStr || this.placeholderStr === '')
|
|
18785
18796
|
);
|
|
18786
18797
|
}
|
|
18787
18798
|
|
|
18799
|
+
/**
|
|
18800
|
+
* Whether the component is rendering the classic/default layout, meaning not
|
|
18801
|
+
* emphasized and not snowflake. Kept as a single source of truth so
|
|
18802
|
+
* layout-scoped behavior such as activeLabel stays consistent across getters.
|
|
18803
|
+
* @returns {boolean} - True for the classic/default layout.
|
|
18804
|
+
* @private
|
|
18805
|
+
*/
|
|
18806
|
+
get isClassicLayout() {
|
|
18807
|
+
return !this.layout.startsWith('emphasized') && this.layout !== 'snowflake';
|
|
18808
|
+
}
|
|
18809
|
+
|
|
18788
18810
|
/**
|
|
18789
18811
|
* Determines if the input should display in a state with no focus or value indication.
|
|
18790
18812
|
* Returns true when the input has display content without focus and has a value,
|
|
@@ -18830,7 +18852,7 @@ class AuroInput extends BaseInput {
|
|
|
18830
18852
|
}
|
|
18831
18853
|
|
|
18832
18854
|
// classic layout (default)
|
|
18833
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
18855
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
18834
18856
|
}
|
|
18835
18857
|
|
|
18836
18858
|
/**
|
|
@@ -18926,7 +18948,8 @@ class AuroInput extends BaseInput {
|
|
|
18926
18948
|
'wrapper': true,
|
|
18927
18949
|
'simple': this.simple,
|
|
18928
18950
|
'withValue': this.hasValue,
|
|
18929
|
-
'hasFocus': this.hasFocus
|
|
18951
|
+
'hasFocus': this.hasFocus,
|
|
18952
|
+
'activeLabel': this.activeLabel
|
|
18930
18953
|
};
|
|
18931
18954
|
}
|
|
18932
18955
|
|
|
@@ -19137,7 +19160,6 @@ class AuroInput extends BaseInput {
|
|
|
19137
19160
|
@input="${this.handleInput}"
|
|
19138
19161
|
.placeholder=${this.placeholderStr}
|
|
19139
19162
|
.role=${this.a11yRole}
|
|
19140
|
-
?activeLabel="${this.activeLabel}"
|
|
19141
19163
|
?disabled="${this.disabled}"
|
|
19142
19164
|
?required="${this.required}"
|
|
19143
19165
|
aria-activedescendant=${o(this.a11yActivedescendant)}
|
|
@@ -19831,7 +19853,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19831
19853
|
}
|
|
19832
19854
|
}
|
|
19833
19855
|
|
|
19834
|
-
var formkitVersion = '
|
|
19856
|
+
var formkitVersion = '202608192007';
|
|
19835
19857
|
|
|
19836
19858
|
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}`;
|
|
19837
19859
|
|
|
@@ -21526,7 +21548,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21526
21548
|
// and validating against the pre-selection value flashes a stale error
|
|
21527
21549
|
// between mousedown and mouseup. The next focusout fires after the
|
|
21528
21550
|
// dropdown closes and validates against the post-selection value.
|
|
21529
|
-
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21551
|
+
if (!this.noValidate && !this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21530
21552
|
this.validate();
|
|
21531
21553
|
}
|
|
21532
21554
|
});
|
|
@@ -4977,7 +4977,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
};
|
|
4979
4979
|
|
|
4980
|
-
var formkitVersion$2 = '
|
|
4980
|
+
var formkitVersion$2 = '202608192007';
|
|
4981
4981
|
|
|
4982
4982
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4983
4983
|
static get properties() {
|
|
@@ -17149,6 +17149,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17149
17149
|
|
|
17150
17150
|
/**
|
|
17151
17151
|
* If set, the label will remain fixed in the active position.
|
|
17152
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
17153
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
17152
17154
|
*/
|
|
17153
17155
|
activeLabel: {
|
|
17154
17156
|
type: Boolean,
|
|
@@ -18675,7 +18677,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18675
18677
|
}
|
|
18676
18678
|
};
|
|
18677
18679
|
|
|
18678
|
-
var formkitVersion$1 = '
|
|
18680
|
+
var formkitVersion$1 = '202608192007';
|
|
18679
18681
|
|
|
18680
18682
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18681
18683
|
// See LICENSE in the project root for license information.
|
|
@@ -18776,15 +18778,35 @@ class AuroInput extends BaseInput {
|
|
|
18776
18778
|
* @private
|
|
18777
18779
|
*/
|
|
18778
18780
|
get inputHidden() {
|
|
18781
|
+
// In the classic/default layout, activeLabel keeps the input row visible so
|
|
18782
|
+
// the label stays raised rather than collapsing to the centered placeholder
|
|
18783
|
+
// position. Emphasized/snowflake always render the label inside the field,
|
|
18784
|
+
// so activeLabel does not apply there. This only overrides the empty/
|
|
18785
|
+
// unfocused clause — the display-value clause (combobox/datepicker) is
|
|
18786
|
+
// preserved regardless.
|
|
18787
|
+
const activeLabelRaisesInput = this.activeLabel && this.isClassicLayout;
|
|
18788
|
+
|
|
18779
18789
|
return (
|
|
18780
18790
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
18781
18791
|
(
|
|
18792
|
+
!activeLabelRaisesInput &&
|
|
18782
18793
|
(!this.value || this.value.length === 0) &&
|
|
18783
18794
|
!this.hasFocus &&
|
|
18784
18795
|
(!this.placeholderStr || this.placeholderStr === '')
|
|
18785
18796
|
);
|
|
18786
18797
|
}
|
|
18787
18798
|
|
|
18799
|
+
/**
|
|
18800
|
+
* Whether the component is rendering the classic/default layout, meaning not
|
|
18801
|
+
* emphasized and not snowflake. Kept as a single source of truth so
|
|
18802
|
+
* layout-scoped behavior such as activeLabel stays consistent across getters.
|
|
18803
|
+
* @returns {boolean} - True for the classic/default layout.
|
|
18804
|
+
* @private
|
|
18805
|
+
*/
|
|
18806
|
+
get isClassicLayout() {
|
|
18807
|
+
return !this.layout.startsWith('emphasized') && this.layout !== 'snowflake';
|
|
18808
|
+
}
|
|
18809
|
+
|
|
18788
18810
|
/**
|
|
18789
18811
|
* Determines if the input should display in a state with no focus or value indication.
|
|
18790
18812
|
* Returns true when the input has display content without focus and has a value,
|
|
@@ -18830,7 +18852,7 @@ class AuroInput extends BaseInput {
|
|
|
18830
18852
|
}
|
|
18831
18853
|
|
|
18832
18854
|
// classic layout (default)
|
|
18833
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
18855
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
18834
18856
|
}
|
|
18835
18857
|
|
|
18836
18858
|
/**
|
|
@@ -18926,7 +18948,8 @@ class AuroInput extends BaseInput {
|
|
|
18926
18948
|
'wrapper': true,
|
|
18927
18949
|
'simple': this.simple,
|
|
18928
18950
|
'withValue': this.hasValue,
|
|
18929
|
-
'hasFocus': this.hasFocus
|
|
18951
|
+
'hasFocus': this.hasFocus,
|
|
18952
|
+
'activeLabel': this.activeLabel
|
|
18930
18953
|
};
|
|
18931
18954
|
}
|
|
18932
18955
|
|
|
@@ -19137,7 +19160,6 @@ class AuroInput extends BaseInput {
|
|
|
19137
19160
|
@input="${this.handleInput}"
|
|
19138
19161
|
.placeholder=${this.placeholderStr}
|
|
19139
19162
|
.role=${this.a11yRole}
|
|
19140
|
-
?activeLabel="${this.activeLabel}"
|
|
19141
19163
|
?disabled="${this.disabled}"
|
|
19142
19164
|
?required="${this.required}"
|
|
19143
19165
|
aria-activedescendant=${o(this.a11yActivedescendant)}
|
|
@@ -19831,7 +19853,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19831
19853
|
}
|
|
19832
19854
|
}
|
|
19833
19855
|
|
|
19834
|
-
var formkitVersion = '
|
|
19856
|
+
var formkitVersion = '202608192007';
|
|
19835
19857
|
|
|
19836
19858
|
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}`;
|
|
19837
19859
|
|
|
@@ -21526,7 +21548,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21526
21548
|
// and validating against the pre-selection value flashes a stale error
|
|
21527
21549
|
// between mousedown and mouseup. The next focusout fires after the
|
|
21528
21550
|
// dropdown closes and validates against the post-selection value.
|
|
21529
|
-
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21551
|
+
if (!this.noValidate && !this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21530
21552
|
this.validate();
|
|
21531
21553
|
}
|
|
21532
21554
|
});
|
|
@@ -4992,7 +4992,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4992
4992
|
}
|
|
4993
4993
|
};
|
|
4994
4994
|
|
|
4995
|
-
var formkitVersion$2 = '
|
|
4995
|
+
var formkitVersion$2 = '202608192007';
|
|
4996
4996
|
|
|
4997
4997
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4998
4998
|
static get properties() {
|
|
@@ -17164,6 +17164,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17164
17164
|
|
|
17165
17165
|
/**
|
|
17166
17166
|
* If set, the label will remain fixed in the active position.
|
|
17167
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
17168
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
17167
17169
|
*/
|
|
17168
17170
|
activeLabel: {
|
|
17169
17171
|
type: Boolean,
|
|
@@ -18690,7 +18692,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
18690
18692
|
}
|
|
18691
18693
|
};
|
|
18692
18694
|
|
|
18693
|
-
var formkitVersion$1 = '
|
|
18695
|
+
var formkitVersion$1 = '202608192007';
|
|
18694
18696
|
|
|
18695
18697
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18696
18698
|
// See LICENSE in the project root for license information.
|
|
@@ -18791,15 +18793,35 @@ class AuroInput extends BaseInput {
|
|
|
18791
18793
|
* @private
|
|
18792
18794
|
*/
|
|
18793
18795
|
get inputHidden() {
|
|
18796
|
+
// In the classic/default layout, activeLabel keeps the input row visible so
|
|
18797
|
+
// the label stays raised rather than collapsing to the centered placeholder
|
|
18798
|
+
// position. Emphasized/snowflake always render the label inside the field,
|
|
18799
|
+
// so activeLabel does not apply there. This only overrides the empty/
|
|
18800
|
+
// unfocused clause — the display-value clause (combobox/datepicker) is
|
|
18801
|
+
// preserved regardless.
|
|
18802
|
+
const activeLabelRaisesInput = this.activeLabel && this.isClassicLayout;
|
|
18803
|
+
|
|
18794
18804
|
return (
|
|
18795
18805
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
18796
18806
|
(
|
|
18807
|
+
!activeLabelRaisesInput &&
|
|
18797
18808
|
(!this.value || this.value.length === 0) &&
|
|
18798
18809
|
!this.hasFocus &&
|
|
18799
18810
|
(!this.placeholderStr || this.placeholderStr === '')
|
|
18800
18811
|
);
|
|
18801
18812
|
}
|
|
18802
18813
|
|
|
18814
|
+
/**
|
|
18815
|
+
* Whether the component is rendering the classic/default layout, meaning not
|
|
18816
|
+
* emphasized and not snowflake. Kept as a single source of truth so
|
|
18817
|
+
* layout-scoped behavior such as activeLabel stays consistent across getters.
|
|
18818
|
+
* @returns {boolean} - True for the classic/default layout.
|
|
18819
|
+
* @private
|
|
18820
|
+
*/
|
|
18821
|
+
get isClassicLayout() {
|
|
18822
|
+
return !this.layout.startsWith('emphasized') && this.layout !== 'snowflake';
|
|
18823
|
+
}
|
|
18824
|
+
|
|
18803
18825
|
/**
|
|
18804
18826
|
* Determines if the input should display in a state with no focus or value indication.
|
|
18805
18827
|
* Returns true when the input has display content without focus and has a value,
|
|
@@ -18845,7 +18867,7 @@ class AuroInput extends BaseInput {
|
|
|
18845
18867
|
}
|
|
18846
18868
|
|
|
18847
18869
|
// classic layout (default)
|
|
18848
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
18870
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
18849
18871
|
}
|
|
18850
18872
|
|
|
18851
18873
|
/**
|
|
@@ -18941,7 +18963,8 @@ class AuroInput extends BaseInput {
|
|
|
18941
18963
|
'wrapper': true,
|
|
18942
18964
|
'simple': this.simple,
|
|
18943
18965
|
'withValue': this.hasValue,
|
|
18944
|
-
'hasFocus': this.hasFocus
|
|
18966
|
+
'hasFocus': this.hasFocus,
|
|
18967
|
+
'activeLabel': this.activeLabel
|
|
18945
18968
|
};
|
|
18946
18969
|
}
|
|
18947
18970
|
|
|
@@ -19152,7 +19175,6 @@ class AuroInput extends BaseInput {
|
|
|
19152
19175
|
@input="${this.handleInput}"
|
|
19153
19176
|
.placeholder=${this.placeholderStr}
|
|
19154
19177
|
.role=${this.a11yRole}
|
|
19155
|
-
?activeLabel="${this.activeLabel}"
|
|
19156
19178
|
?disabled="${this.disabled}"
|
|
19157
19179
|
?required="${this.required}"
|
|
19158
19180
|
aria-activedescendant=${o(this.a11yActivedescendant)}
|
|
@@ -19846,7 +19868,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
19846
19868
|
}
|
|
19847
19869
|
}
|
|
19848
19870
|
|
|
19849
|
-
var formkitVersion = '
|
|
19871
|
+
var formkitVersion = '202608192007';
|
|
19850
19872
|
|
|
19851
19873
|
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}`;
|
|
19852
19874
|
|
|
@@ -21541,7 +21563,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21541
21563
|
// and validating against the pre-selection value flashes a stale error
|
|
21542
21564
|
// between mousedown and mouseup. The next focusout fires after the
|
|
21543
21565
|
// dropdown closes and validates against the post-selection value.
|
|
21544
|
-
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21566
|
+
if (!this.noValidate && !this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21545
21567
|
this.validate();
|
|
21546
21568
|
}
|
|
21547
21569
|
});
|
|
@@ -4910,7 +4910,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4910
4910
|
}
|
|
4911
4911
|
};
|
|
4912
4912
|
|
|
4913
|
-
var formkitVersion$2 = '
|
|
4913
|
+
var formkitVersion$2 = '202608192007';
|
|
4914
4914
|
|
|
4915
4915
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4916
4916
|
static get properties() {
|
|
@@ -17075,6 +17075,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17075
17075
|
|
|
17076
17076
|
/**
|
|
17077
17077
|
* If set, the label will remain fixed in the active position.
|
|
17078
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
17079
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
17078
17080
|
*/
|
|
17079
17081
|
activeLabel: {
|
|
17080
17082
|
type: Boolean,
|
|
@@ -18601,7 +18603,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18601
18603
|
}
|
|
18602
18604
|
};
|
|
18603
18605
|
|
|
18604
|
-
var formkitVersion$1 = '
|
|
18606
|
+
var formkitVersion$1 = '202608192007';
|
|
18605
18607
|
|
|
18606
18608
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18607
18609
|
// See LICENSE in the project root for license information.
|
|
@@ -18702,15 +18704,35 @@ class AuroInput extends BaseInput {
|
|
|
18702
18704
|
* @private
|
|
18703
18705
|
*/
|
|
18704
18706
|
get inputHidden() {
|
|
18707
|
+
// In the classic/default layout, activeLabel keeps the input row visible so
|
|
18708
|
+
// the label stays raised rather than collapsing to the centered placeholder
|
|
18709
|
+
// position. Emphasized/snowflake always render the label inside the field,
|
|
18710
|
+
// so activeLabel does not apply there. This only overrides the empty/
|
|
18711
|
+
// unfocused clause — the display-value clause (combobox/datepicker) is
|
|
18712
|
+
// preserved regardless.
|
|
18713
|
+
const activeLabelRaisesInput = this.activeLabel && this.isClassicLayout;
|
|
18714
|
+
|
|
18705
18715
|
return (
|
|
18706
18716
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
18707
18717
|
(
|
|
18718
|
+
!activeLabelRaisesInput &&
|
|
18708
18719
|
(!this.value || this.value.length === 0) &&
|
|
18709
18720
|
!this.hasFocus &&
|
|
18710
18721
|
(!this.placeholderStr || this.placeholderStr === '')
|
|
18711
18722
|
);
|
|
18712
18723
|
}
|
|
18713
18724
|
|
|
18725
|
+
/**
|
|
18726
|
+
* Whether the component is rendering the classic/default layout, meaning not
|
|
18727
|
+
* emphasized and not snowflake. Kept as a single source of truth so
|
|
18728
|
+
* layout-scoped behavior such as activeLabel stays consistent across getters.
|
|
18729
|
+
* @returns {boolean} - True for the classic/default layout.
|
|
18730
|
+
* @private
|
|
18731
|
+
*/
|
|
18732
|
+
get isClassicLayout() {
|
|
18733
|
+
return !this.layout.startsWith('emphasized') && this.layout !== 'snowflake';
|
|
18734
|
+
}
|
|
18735
|
+
|
|
18714
18736
|
/**
|
|
18715
18737
|
* Determines if the input should display in a state with no focus or value indication.
|
|
18716
18738
|
* Returns true when the input has display content without focus and has a value,
|
|
@@ -18756,7 +18778,7 @@ class AuroInput extends BaseInput {
|
|
|
18756
18778
|
}
|
|
18757
18779
|
|
|
18758
18780
|
// classic layout (default)
|
|
18759
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
18781
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
18760
18782
|
}
|
|
18761
18783
|
|
|
18762
18784
|
/**
|
|
@@ -18852,7 +18874,8 @@ class AuroInput extends BaseInput {
|
|
|
18852
18874
|
'wrapper': true,
|
|
18853
18875
|
'simple': this.simple,
|
|
18854
18876
|
'withValue': this.hasValue,
|
|
18855
|
-
'hasFocus': this.hasFocus
|
|
18877
|
+
'hasFocus': this.hasFocus,
|
|
18878
|
+
'activeLabel': this.activeLabel
|
|
18856
18879
|
};
|
|
18857
18880
|
}
|
|
18858
18881
|
|
|
@@ -19063,7 +19086,6 @@ class AuroInput extends BaseInput {
|
|
|
19063
19086
|
@input="${this.handleInput}"
|
|
19064
19087
|
.placeholder=${this.placeholderStr}
|
|
19065
19088
|
.role=${this.a11yRole}
|
|
19066
|
-
?activeLabel="${this.activeLabel}"
|
|
19067
19089
|
?disabled="${this.disabled}"
|
|
19068
19090
|
?required="${this.required}"
|
|
19069
19091
|
aria-activedescendant=${ifDefined(this.a11yActivedescendant)}
|
|
@@ -19757,7 +19779,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19757
19779
|
}
|
|
19758
19780
|
}
|
|
19759
19781
|
|
|
19760
|
-
var formkitVersion = '
|
|
19782
|
+
var formkitVersion = '202608192007';
|
|
19761
19783
|
|
|
19762
19784
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19763
19785
|
|
|
@@ -21452,7 +21474,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21452
21474
|
// and validating against the pre-selection value flashes a stale error
|
|
21453
21475
|
// between mousedown and mouseup. The next focusout fires after the
|
|
21454
21476
|
// dropdown closes and validates against the post-selection value.
|
|
21455
|
-
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21477
|
+
if (!this.noValidate && !this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
21456
21478
|
this.validate();
|
|
21457
21479
|
}
|
|
21458
21480
|
});
|