@aurodesignsystem-dev/auro-formkit 0.0.0-pr1578.1 → 0.0.0-pr1582.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +24 -6
- package/components/combobox/demo/getting-started.min.js +24 -6
- package/components/combobox/demo/index.min.js +24 -6
- package/components/combobox/dist/index.js +24 -6
- package/components/combobox/dist/registered.js +24 -6
- package/components/counter/demo/customize.min.js +12 -3
- package/components/counter/demo/index.min.js +12 -3
- package/components/counter/dist/index.js +12 -3
- package/components/counter/dist/registered.js +12 -3
- package/components/datepicker/demo/customize.min.js +24 -6
- package/components/datepicker/demo/index.min.js +24 -6
- package/components/datepicker/dist/index.js +24 -6
- package/components/datepicker/dist/registered.js +24 -6
- package/components/dropdown/demo/customize.min.js +10 -1
- package/components/dropdown/demo/getting-started.min.js +23 -5
- package/components/dropdown/demo/index.min.js +10 -1
- package/components/dropdown/dist/index.js +10 -1
- package/components/dropdown/dist/registered.js +10 -1
- package/components/form/demo/customize.min.js +86 -23
- package/components/form/demo/getting-started.min.js +86 -23
- package/components/form/demo/index.min.js +86 -23
- package/components/form/demo/registerDemoDeps.min.js +86 -23
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/customize.md +1 -1
- package/components/input/demo/customize.min.js +13 -4
- package/components/input/demo/getting-started.min.js +13 -4
- package/components/input/demo/index.min.js +13 -4
- package/components/input/dist/base-input.d.ts +2 -0
- package/components/input/dist/index.js +13 -4
- package/components/input/dist/registered.js +13 -4
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +11 -2
- package/components/select/demo/getting-started.min.js +11 -2
- package/components/select/demo/index.min.js +11 -2
- package/components/select/dist/index.js +11 -2
- package/components/select/dist/registered.js +11 -2
- package/custom-elements.json +4 -4
- package/package.json +1 -1
|
@@ -10813,6 +10813,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10813
10813
|
|
|
10814
10814
|
/**
|
|
10815
10815
|
* If set, the label will remain fixed in the active position.
|
|
10816
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
10817
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
10816
10818
|
*/
|
|
10817
10819
|
activeLabel: {
|
|
10818
10820
|
type: Boolean,
|
|
@@ -12339,7 +12341,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12339
12341
|
}
|
|
12340
12342
|
};
|
|
12341
12343
|
|
|
12342
|
-
var formkitVersion$8 = '
|
|
12344
|
+
var formkitVersion$8 = '202608102106';
|
|
12343
12345
|
|
|
12344
12346
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12345
12347
|
// See LICENSE in the project root for license information.
|
|
@@ -12440,6 +12442,13 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12440
12442
|
* @private
|
|
12441
12443
|
*/
|
|
12442
12444
|
get inputHidden() {
|
|
12445
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
12446
|
+
// raised in the active position (classic/default layout) instead of
|
|
12447
|
+
// collapsing to the centered placeholder position.
|
|
12448
|
+
if (this.activeLabel) {
|
|
12449
|
+
return false;
|
|
12450
|
+
}
|
|
12451
|
+
|
|
12443
12452
|
return (
|
|
12444
12453
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
12445
12454
|
(
|
|
@@ -12494,7 +12503,7 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12494
12503
|
}
|
|
12495
12504
|
|
|
12496
12505
|
// classic layout (default)
|
|
12497
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
12506
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
12498
12507
|
}
|
|
12499
12508
|
|
|
12500
12509
|
/**
|
|
@@ -12590,7 +12599,8 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12590
12599
|
'wrapper': true,
|
|
12591
12600
|
'simple': this.simple,
|
|
12592
12601
|
'withValue': this.hasValue,
|
|
12593
|
-
'hasFocus': this.hasFocus
|
|
12602
|
+
'hasFocus': this.hasFocus,
|
|
12603
|
+
'activeLabel': this.activeLabel
|
|
12594
12604
|
};
|
|
12595
12605
|
}
|
|
12596
12606
|
|
|
@@ -12801,7 +12811,6 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12801
12811
|
@input="${this.handleInput}"
|
|
12802
12812
|
.placeholder=${this.placeholderStr}
|
|
12803
12813
|
.role=${this.a11yRole}
|
|
12804
|
-
?activeLabel="${this.activeLabel}"
|
|
12805
12814
|
?disabled="${this.disabled}"
|
|
12806
12815
|
?required="${this.required}"
|
|
12807
12816
|
aria-activedescendant=${o$4(this.a11yActivedescendant)}
|
|
@@ -26771,7 +26780,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26771
26780
|
}
|
|
26772
26781
|
};
|
|
26773
26782
|
|
|
26774
|
-
var formkitVersion$2$1 = '
|
|
26783
|
+
var formkitVersion$2$1 = '202608102106';
|
|
26775
26784
|
|
|
26776
26785
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$4`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
26777
26786
|
`,u$4$2=i$4`.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, .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, .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, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .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, .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, .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, .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, .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, .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, .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(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -32502,7 +32511,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32502
32511
|
}
|
|
32503
32512
|
};
|
|
32504
32513
|
|
|
32505
|
-
var formkitVersion$1$3 = '
|
|
32514
|
+
var formkitVersion$1$3 = '202608102106';
|
|
32506
32515
|
|
|
32507
32516
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32508
32517
|
static get properties() {
|
|
@@ -33204,6 +33213,15 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33204
33213
|
|
|
33205
33214
|
connectedCallback() {
|
|
33206
33215
|
super.connectedCallback();
|
|
33216
|
+
// Re-register trigger event listeners removed by floater.disconnect() in
|
|
33217
|
+
// disconnectedCallback(). Fires when a parent element (e.g. auro-drawer)
|
|
33218
|
+
// moves this element to a new DOM location. firstUpdated() won't re-run,
|
|
33219
|
+
// so without this the trigger click/keydown handlers are permanently gone.
|
|
33220
|
+
// Guard on floater.element so this is a no-op on the initial connect
|
|
33221
|
+
// (before firstUpdated() has called configure()).
|
|
33222
|
+
if (this.floater?.element) {
|
|
33223
|
+
this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
|
|
33224
|
+
}
|
|
33207
33225
|
}
|
|
33208
33226
|
|
|
33209
33227
|
disconnectedCallback() {
|
|
@@ -44658,6 +44676,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44658
44676
|
|
|
44659
44677
|
/**
|
|
44660
44678
|
* If set, the label will remain fixed in the active position.
|
|
44679
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
44680
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
44661
44681
|
*/
|
|
44662
44682
|
activeLabel: {
|
|
44663
44683
|
type: Boolean,
|
|
@@ -46184,7 +46204,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46184
46204
|
}
|
|
46185
46205
|
};
|
|
46186
46206
|
|
|
46187
|
-
var formkitVersion$7 = '
|
|
46207
|
+
var formkitVersion$7 = '202608102106';
|
|
46188
46208
|
|
|
46189
46209
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46190
46210
|
// See LICENSE in the project root for license information.
|
|
@@ -46285,6 +46305,13 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46285
46305
|
* @private
|
|
46286
46306
|
*/
|
|
46287
46307
|
get inputHidden() {
|
|
46308
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
46309
|
+
// raised in the active position (classic/default layout) instead of
|
|
46310
|
+
// collapsing to the centered placeholder position.
|
|
46311
|
+
if (this.activeLabel) {
|
|
46312
|
+
return false;
|
|
46313
|
+
}
|
|
46314
|
+
|
|
46288
46315
|
return (
|
|
46289
46316
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
46290
46317
|
(
|
|
@@ -46339,7 +46366,7 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46339
46366
|
}
|
|
46340
46367
|
|
|
46341
46368
|
// classic layout (default)
|
|
46342
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
46369
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
46343
46370
|
}
|
|
46344
46371
|
|
|
46345
46372
|
/**
|
|
@@ -46435,7 +46462,8 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46435
46462
|
'wrapper': true,
|
|
46436
46463
|
'simple': this.simple,
|
|
46437
46464
|
'withValue': this.hasValue,
|
|
46438
|
-
'hasFocus': this.hasFocus
|
|
46465
|
+
'hasFocus': this.hasFocus,
|
|
46466
|
+
'activeLabel': this.activeLabel
|
|
46439
46467
|
};
|
|
46440
46468
|
}
|
|
46441
46469
|
|
|
@@ -46646,7 +46674,6 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46646
46674
|
@input="${this.handleInput}"
|
|
46647
46675
|
.placeholder=${this.placeholderStr}
|
|
46648
46676
|
.role=${this.a11yRole}
|
|
46649
|
-
?activeLabel="${this.activeLabel}"
|
|
46650
46677
|
?disabled="${this.disabled}"
|
|
46651
46678
|
?required="${this.required}"
|
|
46652
46679
|
aria-activedescendant=${o$4(this.a11yActivedescendant)}
|
|
@@ -51166,7 +51193,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
51166
51193
|
}
|
|
51167
51194
|
};
|
|
51168
51195
|
|
|
51169
|
-
var formkitVersion$1$2 = '
|
|
51196
|
+
var formkitVersion$1$2 = '202608102106';
|
|
51170
51197
|
|
|
51171
51198
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51172
51199
|
// See LICENSE in the project root for license information.
|
|
@@ -51571,7 +51598,7 @@ class AuroCounter extends i$2 {
|
|
|
51571
51598
|
aria-valuemax="${this.max}"
|
|
51572
51599
|
aria-valuemin="${this.min}"
|
|
51573
51600
|
aria-valuenow="${this.value}"
|
|
51574
|
-
aria-valuetext="${this.value !== undefined ? this.value : this.min}"
|
|
51601
|
+
aria-valuetext="'${this.value !== undefined ? this.value : this.min}'"
|
|
51575
51602
|
role="spinbutton"
|
|
51576
51603
|
tabindex="${this.disabled ? '-1' : '0'}"
|
|
51577
51604
|
>
|
|
@@ -55319,7 +55346,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55319
55346
|
}
|
|
55320
55347
|
};
|
|
55321
55348
|
|
|
55322
|
-
var formkitVersion$6 = '
|
|
55349
|
+
var formkitVersion$6 = '202608102106';
|
|
55323
55350
|
|
|
55324
55351
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55325
55352
|
static get properties() {
|
|
@@ -56021,6 +56048,15 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56021
56048
|
|
|
56022
56049
|
connectedCallback() {
|
|
56023
56050
|
super.connectedCallback();
|
|
56051
|
+
// Re-register trigger event listeners removed by floater.disconnect() in
|
|
56052
|
+
// disconnectedCallback(). Fires when a parent element (e.g. auro-drawer)
|
|
56053
|
+
// moves this element to a new DOM location. firstUpdated() won't re-run,
|
|
56054
|
+
// so without this the trigger click/keydown handlers are permanently gone.
|
|
56055
|
+
// Guard on floater.element so this is a no-op on the initial connect
|
|
56056
|
+
// (before firstUpdated() has called configure()).
|
|
56057
|
+
if (this.floater?.element) {
|
|
56058
|
+
this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
|
|
56059
|
+
}
|
|
56024
56060
|
}
|
|
56025
56061
|
|
|
56026
56062
|
disconnectedCallback() {
|
|
@@ -59373,7 +59409,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59373
59409
|
}
|
|
59374
59410
|
};
|
|
59375
59411
|
|
|
59376
|
-
var formkitVersion$5 = '
|
|
59412
|
+
var formkitVersion$5 = '202608102106';
|
|
59377
59413
|
|
|
59378
59414
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59379
59415
|
// See LICENSE in the project root for license information.
|
|
@@ -61138,7 +61174,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
61138
61174
|
}
|
|
61139
61175
|
};
|
|
61140
61176
|
|
|
61141
|
-
var formkitVersion$4 = '
|
|
61177
|
+
var formkitVersion$4 = '202608102106';
|
|
61142
61178
|
|
|
61143
61179
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
61144
61180
|
// See LICENSE in the project root for license information.
|
|
@@ -66457,7 +66493,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66457
66493
|
}
|
|
66458
66494
|
};
|
|
66459
66495
|
|
|
66460
|
-
var formkitVersion$2 = '
|
|
66496
|
+
var formkitVersion$2 = '202608102106';
|
|
66461
66497
|
|
|
66462
66498
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66463
66499
|
static get properties() {
|
|
@@ -67159,6 +67195,15 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67159
67195
|
|
|
67160
67196
|
connectedCallback() {
|
|
67161
67197
|
super.connectedCallback();
|
|
67198
|
+
// Re-register trigger event listeners removed by floater.disconnect() in
|
|
67199
|
+
// disconnectedCallback(). Fires when a parent element (e.g. auro-drawer)
|
|
67200
|
+
// moves this element to a new DOM location. firstUpdated() won't re-run,
|
|
67201
|
+
// so without this the trigger click/keydown handlers are permanently gone.
|
|
67202
|
+
// Guard on floater.element so this is a no-op on the initial connect
|
|
67203
|
+
// (before firstUpdated() has called configure()).
|
|
67204
|
+
if (this.floater?.element) {
|
|
67205
|
+
this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
|
|
67206
|
+
}
|
|
67162
67207
|
}
|
|
67163
67208
|
|
|
67164
67209
|
disconnectedCallback() {
|
|
@@ -78613,6 +78658,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78613
78658
|
|
|
78614
78659
|
/**
|
|
78615
78660
|
* If set, the label will remain fixed in the active position.
|
|
78661
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
78662
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
78616
78663
|
*/
|
|
78617
78664
|
activeLabel: {
|
|
78618
78665
|
type: Boolean,
|
|
@@ -80139,7 +80186,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
80139
80186
|
}
|
|
80140
80187
|
};
|
|
80141
80188
|
|
|
80142
|
-
var formkitVersion$1$1 = '
|
|
80189
|
+
var formkitVersion$1$1 = '202608102106';
|
|
80143
80190
|
|
|
80144
80191
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
80145
80192
|
// See LICENSE in the project root for license information.
|
|
@@ -80240,6 +80287,13 @@ class AuroInput extends BaseInput {
|
|
|
80240
80287
|
* @private
|
|
80241
80288
|
*/
|
|
80242
80289
|
get inputHidden() {
|
|
80290
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
80291
|
+
// raised in the active position (classic/default layout) instead of
|
|
80292
|
+
// collapsing to the centered placeholder position.
|
|
80293
|
+
if (this.activeLabel) {
|
|
80294
|
+
return false;
|
|
80295
|
+
}
|
|
80296
|
+
|
|
80243
80297
|
return (
|
|
80244
80298
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
80245
80299
|
(
|
|
@@ -80294,7 +80348,7 @@ class AuroInput extends BaseInput {
|
|
|
80294
80348
|
}
|
|
80295
80349
|
|
|
80296
80350
|
// classic layout (default)
|
|
80297
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
80351
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
80298
80352
|
}
|
|
80299
80353
|
|
|
80300
80354
|
/**
|
|
@@ -80390,7 +80444,8 @@ class AuroInput extends BaseInput {
|
|
|
80390
80444
|
'wrapper': true,
|
|
80391
80445
|
'simple': this.simple,
|
|
80392
80446
|
'withValue': this.hasValue,
|
|
80393
|
-
'hasFocus': this.hasFocus
|
|
80447
|
+
'hasFocus': this.hasFocus,
|
|
80448
|
+
'activeLabel': this.activeLabel
|
|
80394
80449
|
};
|
|
80395
80450
|
}
|
|
80396
80451
|
|
|
@@ -80601,7 +80656,6 @@ class AuroInput extends BaseInput {
|
|
|
80601
80656
|
@input="${this.handleInput}"
|
|
80602
80657
|
.placeholder=${this.placeholderStr}
|
|
80603
80658
|
.role=${this.a11yRole}
|
|
80604
|
-
?activeLabel="${this.activeLabel}"
|
|
80605
80659
|
?disabled="${this.disabled}"
|
|
80606
80660
|
?required="${this.required}"
|
|
80607
80661
|
aria-activedescendant=${o$4(this.a11yActivedescendant)}
|
|
@@ -81295,7 +81349,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
81295
81349
|
}
|
|
81296
81350
|
};
|
|
81297
81351
|
|
|
81298
|
-
var formkitVersion$3 = '
|
|
81352
|
+
var formkitVersion$3 = '202608102106';
|
|
81299
81353
|
|
|
81300
81354
|
var styleCss$1$3 = i$4`.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}`;
|
|
81301
81355
|
|
|
@@ -90170,7 +90224,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
90170
90224
|
}
|
|
90171
90225
|
};
|
|
90172
90226
|
|
|
90173
|
-
var formkitVersion$1 = '
|
|
90227
|
+
var formkitVersion$1 = '202608102106';
|
|
90174
90228
|
|
|
90175
90229
|
class AuroElement extends i$2 {
|
|
90176
90230
|
static get properties() {
|
|
@@ -90872,6 +90926,15 @@ class AuroDropdown extends AuroElement {
|
|
|
90872
90926
|
|
|
90873
90927
|
connectedCallback() {
|
|
90874
90928
|
super.connectedCallback();
|
|
90929
|
+
// Re-register trigger event listeners removed by floater.disconnect() in
|
|
90930
|
+
// disconnectedCallback(). Fires when a parent element (e.g. auro-drawer)
|
|
90931
|
+
// moves this element to a new DOM location. firstUpdated() won't re-run,
|
|
90932
|
+
// so without this the trigger click/keydown handlers are permanently gone.
|
|
90933
|
+
// Guard on floater.element so this is a no-op on the initial connect
|
|
90934
|
+
// (before firstUpdated() has called configure()).
|
|
90935
|
+
if (this.floater?.element) {
|
|
90936
|
+
this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
|
|
90937
|
+
}
|
|
90875
90938
|
}
|
|
90876
90939
|
|
|
90877
90940
|
disconnectedCallback() {
|
|
@@ -92272,7 +92335,7 @@ class AuroHelpText extends i$2 {
|
|
|
92272
92335
|
}
|
|
92273
92336
|
}
|
|
92274
92337
|
|
|
92275
|
-
var formkitVersion = '
|
|
92338
|
+
var formkitVersion = '202608102106';
|
|
92276
92339
|
|
|
92277
92340
|
var styleCss = i$4`.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);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-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, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-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{max-width:100%}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{overflow:hidden;height:auto;text-overflow:ellipsis;white-space:nowrap}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}`;
|
|
92278
92341
|
|
|
@@ -13,7 +13,7 @@ The `auro-input` element provides users a way to enter data into a text field.
|
|
|
13
13
|
| `a11yControls` | `a11yControls` | | `string` | | The value for the aria-controls attribute. |
|
|
14
14
|
| `a11yExpanded` | `a11yExpanded` | | `boolean` | | The value for the aria-expanded attribute. |
|
|
15
15
|
| `a11yRole` | `a11yRole` | | `string` | | The value for the role attribute. |
|
|
16
|
-
| `activeLabel` | `activeLabel` | | `boolean` | false | If set, the label will remain fixed in the active position. |
|
|
16
|
+
| `activeLabel` | `activeLabel` | | `boolean` | false | If set, the label will remain fixed in the active position.<br />Only applies to the classic/default layout; the emphasized and snowflake<br />layouts always render the label inside the field, so this has no effect there. |
|
|
17
17
|
| `appearance` | `appearance` | | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
18
18
|
| `autocapitalize` | `autocapitalize` | | `string` | | An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]. |
|
|
19
19
|
| `autocomplete` | `autocomplete` | | `string` | | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<section>
|
|
45
45
|
<auro-header level="2" id="appearance">Appearance</auro-header>
|
|
46
46
|
<auro-header level="3" id="activeLabel">Active Label</auro-header>
|
|
47
|
-
<p>Use the <code>activeLabel</code> attribute to make the label stay fixed in the active position.</p>
|
|
47
|
+
<p>Use the <code>activeLabel</code> attribute to make the label stay fixed in the active position. This applies to the classic/default layout only; the emphasized and snowflake layouts always render the label inside the field and are unaffected.</p>
|
|
48
48
|
<div class="exampleWrapper">
|
|
49
49
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/active-label.html) -->
|
|
50
50
|
<!-- The below content is automatically added from ../apiExamples/active-label.html -->
|
|
@@ -10742,6 +10742,8 @@ class BaseInput extends AuroElement {
|
|
|
10742
10742
|
|
|
10743
10743
|
/**
|
|
10744
10744
|
* If set, the label will remain fixed in the active position.
|
|
10745
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
10746
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
10745
10747
|
*/
|
|
10746
10748
|
activeLabel: {
|
|
10747
10749
|
type: Boolean,
|
|
@@ -12268,7 +12270,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12270
|
}
|
|
12269
12271
|
}
|
|
12270
12272
|
|
|
12271
|
-
var formkitVersion = '
|
|
12273
|
+
var formkitVersion = '202608102106';
|
|
12272
12274
|
|
|
12273
12275
|
/**
|
|
12274
12276
|
* @license
|
|
@@ -12381,6 +12383,13 @@ class AuroInput extends BaseInput {
|
|
|
12381
12383
|
* @private
|
|
12382
12384
|
*/
|
|
12383
12385
|
get inputHidden() {
|
|
12386
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
12387
|
+
// raised in the active position (classic/default layout) instead of
|
|
12388
|
+
// collapsing to the centered placeholder position.
|
|
12389
|
+
if (this.activeLabel) {
|
|
12390
|
+
return false;
|
|
12391
|
+
}
|
|
12392
|
+
|
|
12384
12393
|
return (
|
|
12385
12394
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
12386
12395
|
(
|
|
@@ -12435,7 +12444,7 @@ class AuroInput extends BaseInput {
|
|
|
12435
12444
|
}
|
|
12436
12445
|
|
|
12437
12446
|
// classic layout (default)
|
|
12438
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
12447
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
12439
12448
|
}
|
|
12440
12449
|
|
|
12441
12450
|
/**
|
|
@@ -12531,7 +12540,8 @@ class AuroInput extends BaseInput {
|
|
|
12531
12540
|
'wrapper': true,
|
|
12532
12541
|
'simple': this.simple,
|
|
12533
12542
|
'withValue': this.hasValue,
|
|
12534
|
-
'hasFocus': this.hasFocus
|
|
12543
|
+
'hasFocus': this.hasFocus,
|
|
12544
|
+
'activeLabel': this.activeLabel
|
|
12535
12545
|
};
|
|
12536
12546
|
}
|
|
12537
12547
|
|
|
@@ -12742,7 +12752,6 @@ class AuroInput extends BaseInput {
|
|
|
12742
12752
|
@input="${this.handleInput}"
|
|
12743
12753
|
.placeholder=${this.placeholderStr}
|
|
12744
12754
|
.role=${this.a11yRole}
|
|
12745
|
-
?activeLabel="${this.activeLabel}"
|
|
12746
12755
|
?disabled="${this.disabled}"
|
|
12747
12756
|
?required="${this.required}"
|
|
12748
12757
|
aria-activedescendant=${o$2(this.a11yActivedescendant)}
|
|
@@ -10742,6 +10742,8 @@ class BaseInput extends AuroElement {
|
|
|
10742
10742
|
|
|
10743
10743
|
/**
|
|
10744
10744
|
* If set, the label will remain fixed in the active position.
|
|
10745
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
10746
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
10745
10747
|
*/
|
|
10746
10748
|
activeLabel: {
|
|
10747
10749
|
type: Boolean,
|
|
@@ -12268,7 +12270,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12270
|
}
|
|
12269
12271
|
}
|
|
12270
12272
|
|
|
12271
|
-
var formkitVersion = '
|
|
12273
|
+
var formkitVersion = '202608102106';
|
|
12272
12274
|
|
|
12273
12275
|
/**
|
|
12274
12276
|
* @license
|
|
@@ -12381,6 +12383,13 @@ class AuroInput extends BaseInput {
|
|
|
12381
12383
|
* @private
|
|
12382
12384
|
*/
|
|
12383
12385
|
get inputHidden() {
|
|
12386
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
12387
|
+
// raised in the active position (classic/default layout) instead of
|
|
12388
|
+
// collapsing to the centered placeholder position.
|
|
12389
|
+
if (this.activeLabel) {
|
|
12390
|
+
return false;
|
|
12391
|
+
}
|
|
12392
|
+
|
|
12384
12393
|
return (
|
|
12385
12394
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
12386
12395
|
(
|
|
@@ -12435,7 +12444,7 @@ class AuroInput extends BaseInput {
|
|
|
12435
12444
|
}
|
|
12436
12445
|
|
|
12437
12446
|
// classic layout (default)
|
|
12438
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
12447
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
12439
12448
|
}
|
|
12440
12449
|
|
|
12441
12450
|
/**
|
|
@@ -12531,7 +12540,8 @@ class AuroInput extends BaseInput {
|
|
|
12531
12540
|
'wrapper': true,
|
|
12532
12541
|
'simple': this.simple,
|
|
12533
12542
|
'withValue': this.hasValue,
|
|
12534
|
-
'hasFocus': this.hasFocus
|
|
12543
|
+
'hasFocus': this.hasFocus,
|
|
12544
|
+
'activeLabel': this.activeLabel
|
|
12535
12545
|
};
|
|
12536
12546
|
}
|
|
12537
12547
|
|
|
@@ -12742,7 +12752,6 @@ class AuroInput extends BaseInput {
|
|
|
12742
12752
|
@input="${this.handleInput}"
|
|
12743
12753
|
.placeholder=${this.placeholderStr}
|
|
12744
12754
|
.role=${this.a11yRole}
|
|
12745
|
-
?activeLabel="${this.activeLabel}"
|
|
12746
12755
|
?disabled="${this.disabled}"
|
|
12747
12756
|
?required="${this.required}"
|
|
12748
12757
|
aria-activedescendant=${o$2(this.a11yActivedescendant)}
|
|
@@ -10742,6 +10742,8 @@ class BaseInput extends AuroElement {
|
|
|
10742
10742
|
|
|
10743
10743
|
/**
|
|
10744
10744
|
* If set, the label will remain fixed in the active position.
|
|
10745
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
10746
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
10745
10747
|
*/
|
|
10746
10748
|
activeLabel: {
|
|
10747
10749
|
type: Boolean,
|
|
@@ -12268,7 +12270,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12270
|
}
|
|
12269
12271
|
}
|
|
12270
12272
|
|
|
12271
|
-
var formkitVersion = '
|
|
12273
|
+
var formkitVersion = '202608102106';
|
|
12272
12274
|
|
|
12273
12275
|
/**
|
|
12274
12276
|
* @license
|
|
@@ -12381,6 +12383,13 @@ class AuroInput extends BaseInput {
|
|
|
12381
12383
|
* @private
|
|
12382
12384
|
*/
|
|
12383
12385
|
get inputHidden() {
|
|
12386
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
12387
|
+
// raised in the active position (classic/default layout) instead of
|
|
12388
|
+
// collapsing to the centered placeholder position.
|
|
12389
|
+
if (this.activeLabel) {
|
|
12390
|
+
return false;
|
|
12391
|
+
}
|
|
12392
|
+
|
|
12384
12393
|
return (
|
|
12385
12394
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
12386
12395
|
(
|
|
@@ -12435,7 +12444,7 @@ class AuroInput extends BaseInput {
|
|
|
12435
12444
|
}
|
|
12436
12445
|
|
|
12437
12446
|
// classic layout (default)
|
|
12438
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
12447
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
12439
12448
|
}
|
|
12440
12449
|
|
|
12441
12450
|
/**
|
|
@@ -12531,7 +12540,8 @@ class AuroInput extends BaseInput {
|
|
|
12531
12540
|
'wrapper': true,
|
|
12532
12541
|
'simple': this.simple,
|
|
12533
12542
|
'withValue': this.hasValue,
|
|
12534
|
-
'hasFocus': this.hasFocus
|
|
12543
|
+
'hasFocus': this.hasFocus,
|
|
12544
|
+
'activeLabel': this.activeLabel
|
|
12535
12545
|
};
|
|
12536
12546
|
}
|
|
12537
12547
|
|
|
@@ -12742,7 +12752,6 @@ class AuroInput extends BaseInput {
|
|
|
12742
12752
|
@input="${this.handleInput}"
|
|
12743
12753
|
.placeholder=${this.placeholderStr}
|
|
12744
12754
|
.role=${this.a11yRole}
|
|
12745
|
-
?activeLabel="${this.activeLabel}"
|
|
12746
12755
|
?disabled="${this.disabled}"
|
|
12747
12756
|
?required="${this.required}"
|
|
12748
12757
|
aria-activedescendant=${o$2(this.a11yActivedescendant)}
|
|
@@ -44,6 +44,8 @@ export default class BaseInput extends AuroElement {
|
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* If set, the label will remain fixed in the active position.
|
|
47
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
48
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
47
49
|
*/
|
|
48
50
|
activeLabel: {
|
|
49
51
|
type: BooleanConstructor;
|
|
@@ -10684,6 +10684,8 @@ class BaseInput extends AuroElement {
|
|
|
10684
10684
|
|
|
10685
10685
|
/**
|
|
10686
10686
|
* If set, the label will remain fixed in the active position.
|
|
10687
|
+
* Only applies to the classic/default layout; the emphasized and snowflake
|
|
10688
|
+
* layouts always render the label inside the field, so this has no effect there.
|
|
10687
10689
|
*/
|
|
10688
10690
|
activeLabel: {
|
|
10689
10691
|
type: Boolean,
|
|
@@ -12210,7 +12212,7 @@ class AuroHelpText extends LitElement {
|
|
|
12210
12212
|
}
|
|
12211
12213
|
}
|
|
12212
12214
|
|
|
12213
|
-
var formkitVersion = '
|
|
12215
|
+
var formkitVersion = '202608102106';
|
|
12214
12216
|
|
|
12215
12217
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12216
12218
|
// See LICENSE in the project root for license information.
|
|
@@ -12311,6 +12313,13 @@ class AuroInput extends BaseInput {
|
|
|
12311
12313
|
* @private
|
|
12312
12314
|
*/
|
|
12313
12315
|
get inputHidden() {
|
|
12316
|
+
// When activeLabel is set, keep the input row visible so the label stays
|
|
12317
|
+
// raised in the active position (classic/default layout) instead of
|
|
12318
|
+
// collapsing to the centered placeholder position.
|
|
12319
|
+
if (this.activeLabel) {
|
|
12320
|
+
return false;
|
|
12321
|
+
}
|
|
12322
|
+
|
|
12314
12323
|
return (
|
|
12315
12324
|
this.hasDisplayValueContent && !this.hasFocus && this.hasValue) ||
|
|
12316
12325
|
(
|
|
@@ -12365,7 +12374,7 @@ class AuroInput extends BaseInput {
|
|
|
12365
12374
|
}
|
|
12366
12375
|
|
|
12367
12376
|
// classic layout (default)
|
|
12368
|
-
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
|
|
12377
|
+
return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus && !this.activeLabel) ? 'body-default' : 'body-xs';
|
|
12369
12378
|
}
|
|
12370
12379
|
|
|
12371
12380
|
/**
|
|
@@ -12461,7 +12470,8 @@ class AuroInput extends BaseInput {
|
|
|
12461
12470
|
'wrapper': true,
|
|
12462
12471
|
'simple': this.simple,
|
|
12463
12472
|
'withValue': this.hasValue,
|
|
12464
|
-
'hasFocus': this.hasFocus
|
|
12473
|
+
'hasFocus': this.hasFocus,
|
|
12474
|
+
'activeLabel': this.activeLabel
|
|
12465
12475
|
};
|
|
12466
12476
|
}
|
|
12467
12477
|
|
|
@@ -12672,7 +12682,6 @@ class AuroInput extends BaseInput {
|
|
|
12672
12682
|
@input="${this.handleInput}"
|
|
12673
12683
|
.placeholder=${this.placeholderStr}
|
|
12674
12684
|
.role=${this.a11yRole}
|
|
12675
|
-
?activeLabel="${this.activeLabel}"
|
|
12676
12685
|
?disabled="${this.disabled}"
|
|
12677
12686
|
?required="${this.required}"
|
|
12678
12687
|
aria-activedescendant=${ifDefined(this.a11yActivedescendant)}
|