@aurodesignsystem-dev/auro-formkit 0.0.0-pr1608.1 → 0.0.0-pr1609.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/accessibility.md +4 -15
- package/components/checkbox/demo/customize.min.js +17 -53
- package/components/checkbox/demo/getting-started.min.js +17 -53
- package/components/checkbox/demo/index.min.js +17 -53
- package/components/checkbox/dist/auro-checkbox-group.d.ts +0 -13
- package/components/checkbox/dist/index.js +17 -53
- package/components/checkbox/dist/registered.js +17 -53
- package/components/combobox/demo/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +22 -296
- package/components/counter/demo/getting-started.min.js +22 -296
- package/components/counter/demo/index.min.js +22 -296
- package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +0 -1
- package/components/counter/dist/index.js +22 -296
- package/components/counter/dist/registered.js +22 -296
- package/components/datepicker/demo/customize.min.js +3 -3
- package/components/datepicker/demo/getting-started.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +2 -2
- 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 +68 -416
- package/components/form/demo/getting-started.min.js +68 -416
- package/components/form/demo/index.min.js +68 -416
- package/components/form/demo/registerDemoDeps.min.js +68 -416
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/accessibility.md +4 -13
- package/components/radio/demo/customize.min.js +16 -54
- package/components/radio/demo/getting-started.min.js +16 -54
- package/components/radio/demo/index.min.js +16 -54
- package/components/radio/dist/auro-radio-group.d.ts +0 -13
- package/components/radio/dist/index.js +16 -54
- package/components/radio/dist/registered.js +16 -54
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +1 -23
- package/package.json +1 -1
|
@@ -11605,7 +11605,7 @@ function getDateFormatFromLocale$3 (locale) {
|
|
|
11605
11605
|
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
11606
11606
|
* for external libraries or complex algorithms.
|
|
11607
11607
|
*/
|
|
11608
|
-
let UniqueId$
|
|
11608
|
+
let UniqueId$2 = class UniqueId {
|
|
11609
11609
|
/**
|
|
11610
11610
|
* Creates a unique hash based on the current timestamp.
|
|
11611
11611
|
* @returns {Function} Timestamp as a base-36 string
|
|
@@ -11820,7 +11820,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11820
11820
|
this.touched = false;
|
|
11821
11821
|
|
|
11822
11822
|
/** @private */
|
|
11823
|
-
this.uniqueId = new UniqueId$
|
|
11823
|
+
this.uniqueId = new UniqueId$2().create();
|
|
11824
11824
|
|
|
11825
11825
|
/** @private */
|
|
11826
11826
|
this.util = new AuroInputUtilities$3({
|
|
@@ -13521,7 +13521,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13521
13521
|
}
|
|
13522
13522
|
};
|
|
13523
13523
|
|
|
13524
|
-
var formkitVersion$8 = '
|
|
13524
|
+
var formkitVersion$8 = '202609022123';
|
|
13525
13525
|
|
|
13526
13526
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13527
13527
|
// See LICENSE in the project root for license information.
|
|
@@ -28084,7 +28084,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
28084
28084
|
}
|
|
28085
28085
|
};
|
|
28086
28086
|
|
|
28087
|
-
var formkitVersion$2$1 = '
|
|
28087
|
+
var formkitVersion$2$1 = '202609022123';
|
|
28088
28088
|
|
|
28089
28089
|
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$2`${s$3(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$6`: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}
|
|
28090
28090
|
`,u$4$2=i$6`.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}}
|
|
@@ -33970,7 +33970,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33970
33970
|
}
|
|
33971
33971
|
};
|
|
33972
33972
|
|
|
33973
|
-
var formkitVersion$1$3 = '
|
|
33973
|
+
var formkitVersion$1$3 = '202609022123';
|
|
33974
33974
|
|
|
33975
33975
|
/**
|
|
33976
33976
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -45916,7 +45916,7 @@ function getDateFormatFromLocale$2 (locale) {
|
|
|
45916
45916
|
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
45917
45917
|
* for external libraries or complex algorithms.
|
|
45918
45918
|
*/
|
|
45919
|
-
let UniqueId$
|
|
45919
|
+
let UniqueId$1 = class UniqueId {
|
|
45920
45920
|
/**
|
|
45921
45921
|
* Creates a unique hash based on the current timestamp.
|
|
45922
45922
|
* @returns {Function} Timestamp as a base-36 string
|
|
@@ -46131,7 +46131,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46131
46131
|
this.touched = false;
|
|
46132
46132
|
|
|
46133
46133
|
/** @private */
|
|
46134
|
-
this.uniqueId = new UniqueId$
|
|
46134
|
+
this.uniqueId = new UniqueId$1().create();
|
|
46135
46135
|
|
|
46136
46136
|
/** @private */
|
|
46137
46137
|
this.util = new AuroInputUtilities$2({
|
|
@@ -47832,7 +47832,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47832
47832
|
}
|
|
47833
47833
|
};
|
|
47834
47834
|
|
|
47835
|
-
var formkitVersion$7 = '
|
|
47835
|
+
var formkitVersion$7 = '202609022123';
|
|
47836
47836
|
|
|
47837
47837
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47838
47838
|
// See LICENSE in the project root for license information.
|
|
@@ -52938,7 +52938,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
52938
52938
|
}
|
|
52939
52939
|
};
|
|
52940
52940
|
|
|
52941
|
-
var formkitVersion$1$2 = '
|
|
52941
|
+
var formkitVersion$1$2 = '202609022123';
|
|
52942
52942
|
|
|
52943
52943
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52944
52944
|
// See LICENSE in the project root for license information.
|
|
@@ -56319,7 +56319,7 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
56319
56319
|
};
|
|
56320
56320
|
|
|
56321
56321
|
// Selectors for focusable elements
|
|
56322
|
-
const FOCUSABLE_SELECTORS$
|
|
56322
|
+
const FOCUSABLE_SELECTORS$3 = [
|
|
56323
56323
|
"a[href]",
|
|
56324
56324
|
"button:not([disabled])",
|
|
56325
56325
|
"textarea:not([disabled])",
|
|
@@ -56333,7 +56333,7 @@ const FOCUSABLE_SELECTORS$1$1 = [
|
|
|
56333
56333
|
];
|
|
56334
56334
|
|
|
56335
56335
|
// List of custom components that are known to be focusable
|
|
56336
|
-
const FOCUSABLE_COMPONENTS$
|
|
56336
|
+
const FOCUSABLE_COMPONENTS$3 = [
|
|
56337
56337
|
"auro-checkbox",
|
|
56338
56338
|
"auro-radio",
|
|
56339
56339
|
"auro-dropdown",
|
|
@@ -56355,12 +56355,12 @@ const FOCUSABLE_COMPONENTS$1$1 = [
|
|
|
56355
56355
|
* @param {HTMLElement} element The element to check for focusability.
|
|
56356
56356
|
* @returns {boolean} True if the element is a focusable custom component, false otherwise.
|
|
56357
56357
|
*/
|
|
56358
|
-
function isFocusableComponent$
|
|
56358
|
+
function isFocusableComponent$3(element) {
|
|
56359
56359
|
const componentName = element.tagName.toLowerCase();
|
|
56360
56360
|
|
|
56361
56361
|
// Guard Clause: Element is a focusable component
|
|
56362
56362
|
if (
|
|
56363
|
-
!FOCUSABLE_COMPONENTS$
|
|
56363
|
+
!FOCUSABLE_COMPONENTS$3.some(
|
|
56364
56364
|
(name) => element.hasAttribute(name) || componentName === name,
|
|
56365
56365
|
)
|
|
56366
56366
|
)
|
|
@@ -56384,7 +56384,7 @@ function isFocusableComponent$1$1(element) {
|
|
|
56384
56384
|
* @param {HTMLElement} element The element whose tabindex to read.
|
|
56385
56385
|
* @returns {?number} The numeric tabindex or null if missing/invalid.
|
|
56386
56386
|
*/
|
|
56387
|
-
function getNumericTabIndex$
|
|
56387
|
+
function getNumericTabIndex$3(element) {
|
|
56388
56388
|
const raw = element.getAttribute("tabindex");
|
|
56389
56389
|
if (raw == null) return null;
|
|
56390
56390
|
|
|
@@ -56400,7 +56400,7 @@ function getNumericTabIndex$1$1(element) {
|
|
|
56400
56400
|
* @param {HTMLElement} container The container to search within
|
|
56401
56401
|
* @returns {Array<HTMLElement>} An array of focusable elements within the container.
|
|
56402
56402
|
*/
|
|
56403
|
-
function getFocusableElements$
|
|
56403
|
+
function getFocusableElements$3(container) {
|
|
56404
56404
|
// Get elements in DOM order by walking the tree
|
|
56405
56405
|
const orderedFocusableElements = [];
|
|
56406
56406
|
|
|
@@ -56409,7 +56409,7 @@ function getFocusableElements$1$1(container) {
|
|
|
56409
56409
|
// Check if current element is focusable
|
|
56410
56410
|
if (root.nodeType === Node.ELEMENT_NODE) {
|
|
56411
56411
|
// Check if this is a custom component that is focusable
|
|
56412
|
-
const isComponentFocusable = isFocusableComponent$
|
|
56412
|
+
const isComponentFocusable = isFocusableComponent$3(root);
|
|
56413
56413
|
|
|
56414
56414
|
if (isComponentFocusable) {
|
|
56415
56415
|
// Add the component itself as a focusable element and don't traverse its shadow DOM
|
|
@@ -56418,7 +56418,7 @@ function getFocusableElements$1$1(container) {
|
|
|
56418
56418
|
}
|
|
56419
56419
|
|
|
56420
56420
|
// Check if the element itself matches any selector
|
|
56421
|
-
for (const selector of FOCUSABLE_SELECTORS$
|
|
56421
|
+
for (const selector of FOCUSABLE_SELECTORS$3) {
|
|
56422
56422
|
if (root.matches?.(selector)) {
|
|
56423
56423
|
orderedFocusableElements.push(root);
|
|
56424
56424
|
break; // Once we know it's focusable, no need to check other selectors
|
|
@@ -56472,20 +56472,20 @@ function getFocusableElements$1$1(container) {
|
|
|
56472
56472
|
|
|
56473
56473
|
// First extract elements with valid positive tabindex
|
|
56474
56474
|
const elementsWithTabindex = uniqueElements.filter((el) => {
|
|
56475
|
-
const tabindex = getNumericTabIndex$
|
|
56475
|
+
const tabindex = getNumericTabIndex$3(el);
|
|
56476
56476
|
return tabindex !== null && tabindex > 0;
|
|
56477
56477
|
});
|
|
56478
56478
|
|
|
56479
56479
|
// Sort these elements by their tabindex value
|
|
56480
56480
|
elementsWithTabindex.sort((a, b) => {
|
|
56481
|
-
const aIndex = getNumericTabIndex$
|
|
56482
|
-
const bIndex = getNumericTabIndex$
|
|
56481
|
+
const aIndex = getNumericTabIndex$3(a) ?? 0;
|
|
56482
|
+
const bIndex = getNumericTabIndex$3(b) ?? 0;
|
|
56483
56483
|
return aIndex - bIndex;
|
|
56484
56484
|
});
|
|
56485
56485
|
|
|
56486
56486
|
// Elements without tabindex (preserving their original order)
|
|
56487
56487
|
const elementsWithoutTabindex = uniqueElements.filter((el) => {
|
|
56488
|
-
const tabindex = getNumericTabIndex$
|
|
56488
|
+
const tabindex = getNumericTabIndex$3(el);
|
|
56489
56489
|
|
|
56490
56490
|
// Elements without tabindex or with tabindex of 0 stay in DOM order
|
|
56491
56491
|
return tabindex === null || tabindex === 0;
|
|
@@ -57280,7 +57280,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
57280
57280
|
}
|
|
57281
57281
|
};
|
|
57282
57282
|
|
|
57283
|
-
var formkitVersion$6 = '
|
|
57283
|
+
var formkitVersion$6 = '202609022123';
|
|
57284
57284
|
|
|
57285
57285
|
/**
|
|
57286
57286
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -57580,7 +57580,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57580
57580
|
*/
|
|
57581
57581
|
focus() {
|
|
57582
57582
|
if (this.isPopoverVisible && this.bibContent) {
|
|
57583
|
-
const focusables = getFocusableElements$
|
|
57583
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
57584
57584
|
if (focusables.length > 0) {
|
|
57585
57585
|
focusables[0].focus();
|
|
57586
57586
|
}
|
|
@@ -57612,7 +57612,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57612
57612
|
// wrappers like <div> containing a <button>). If none found, try
|
|
57613
57613
|
// focusing the element directly (works for custom elements like
|
|
57614
57614
|
// auro-input that have delegatesFocus or a custom focus() method).
|
|
57615
|
-
const descendants = getFocusableElements$
|
|
57615
|
+
const descendants = getFocusableElements$3(el);
|
|
57616
57616
|
if (descendants.length > 0) {
|
|
57617
57617
|
descendants[0].focus();
|
|
57618
57618
|
return;
|
|
@@ -57624,7 +57624,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57624
57624
|
}
|
|
57625
57625
|
}
|
|
57626
57626
|
// Fallback: try DOM children (non-slotted content)
|
|
57627
|
-
const focusables = getFocusableElements$
|
|
57627
|
+
const focusables = getFocusableElements$3(this.trigger);
|
|
57628
57628
|
if (focusables.length > 0) {
|
|
57629
57629
|
focusables[0].focus();
|
|
57630
57630
|
}
|
|
@@ -58303,7 +58303,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58303
58303
|
}
|
|
58304
58304
|
|
|
58305
58305
|
// Collect focusable elements from the bib content.
|
|
58306
|
-
const focusables = getFocusableElements$
|
|
58306
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
58307
58307
|
|
|
58308
58308
|
// Fallback: try from slotted content directly
|
|
58309
58309
|
if (!focusables.length) {
|
|
@@ -58312,7 +58312,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58312
58312
|
|
|
58313
58313
|
for (const node of assignedNodes) {
|
|
58314
58314
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
58315
|
-
focusables.push(...getFocusableElements$
|
|
58315
|
+
focusables.push(...getFocusableElements$3(node));
|
|
58316
58316
|
}
|
|
58317
58317
|
}
|
|
58318
58318
|
}
|
|
@@ -58372,7 +58372,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58372
58372
|
|
|
58373
58373
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
58374
58374
|
requestAnimationFrame(() => {
|
|
58375
|
-
const focusables = getFocusableElements$
|
|
58375
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
58376
58376
|
if (focusables.length) {
|
|
58377
58377
|
focusables[0].focus();
|
|
58378
58378
|
}
|
|
@@ -58385,7 +58385,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58385
58385
|
// popover asynchronously — a synchronous focus() would target
|
|
58386
58386
|
// zero-dimension elements and be silently ignored.
|
|
58387
58387
|
requestAnimationFrame(() => {
|
|
58388
|
-
const focusables = getFocusableElements$
|
|
58388
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
58389
58389
|
if (focusables.length) {
|
|
58390
58390
|
focusables[0].focus();
|
|
58391
58391
|
}
|
|
@@ -58603,7 +58603,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
58603
58603
|
if (triggerContentNodes) {
|
|
58604
58604
|
|
|
58605
58605
|
// See if any of them are focusable elements
|
|
58606
|
-
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$
|
|
58606
|
+
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$3(node).length > 0);
|
|
58607
58607
|
|
|
58608
58608
|
// If any of them are focusable elements
|
|
58609
58609
|
if (this.triggerContentFocusable) {
|
|
@@ -59365,241 +59365,9 @@ let AuroElement$4 = class AuroElement extends i$3 {
|
|
|
59365
59365
|
}
|
|
59366
59366
|
};
|
|
59367
59367
|
|
|
59368
|
-
// Selectors for focusable elements
|
|
59369
|
-
const FOCUSABLE_SELECTORS$3 = [
|
|
59370
|
-
"a[href]",
|
|
59371
|
-
"button:not([disabled])",
|
|
59372
|
-
"textarea:not([disabled])",
|
|
59373
|
-
"input:not([disabled])",
|
|
59374
|
-
"select:not([disabled])",
|
|
59375
|
-
'[role="tab"]:not([disabled])',
|
|
59376
|
-
'[role="link"]:not([disabled])',
|
|
59377
|
-
'[role="button"]:not([disabled])',
|
|
59378
|
-
'[tabindex]:not([tabindex="-1"])',
|
|
59379
|
-
'[contenteditable]:not([contenteditable="false"])',
|
|
59380
|
-
];
|
|
59381
|
-
|
|
59382
|
-
// List of custom components that are known to be focusable
|
|
59383
|
-
const FOCUSABLE_COMPONENTS$3 = [
|
|
59384
|
-
"auro-checkbox",
|
|
59385
|
-
"auro-radio",
|
|
59386
|
-
"auro-dropdown",
|
|
59387
|
-
"auro-button",
|
|
59388
|
-
"auro-combobox",
|
|
59389
|
-
"auro-input",
|
|
59390
|
-
"auro-counter",
|
|
59391
|
-
// 'auro-menu', // Auro menu is not focusable by default, it uses a different interaction model
|
|
59392
|
-
"auro-select",
|
|
59393
|
-
"auro-datepicker",
|
|
59394
|
-
"auro-hyperlink",
|
|
59395
|
-
"auro-accordion",
|
|
59396
|
-
];
|
|
59397
|
-
|
|
59398
|
-
/**
|
|
59399
|
-
* Determines if a given element is a custom focusable component.
|
|
59400
|
-
* Returns true if the element matches a known focusable component and is not disabled.
|
|
59401
|
-
*
|
|
59402
|
-
* @param {HTMLElement} element The element to check for focusability.
|
|
59403
|
-
* @returns {boolean} True if the element is a focusable custom component, false otherwise.
|
|
59404
|
-
*/
|
|
59405
|
-
function isFocusableComponent$3(element) {
|
|
59406
|
-
const componentName = element.tagName.toLowerCase();
|
|
59407
|
-
|
|
59408
|
-
// Guard Clause: Element is a focusable component
|
|
59409
|
-
if (
|
|
59410
|
-
!FOCUSABLE_COMPONENTS$3.some(
|
|
59411
|
-
(name) => element.hasAttribute(name) || componentName === name,
|
|
59412
|
-
)
|
|
59413
|
-
)
|
|
59414
|
-
return false;
|
|
59415
|
-
|
|
59416
|
-
// Guard Clause: Element is not disabled
|
|
59417
|
-
if (element.hasAttribute("disabled")) return false;
|
|
59418
|
-
|
|
59419
|
-
// Guard Clause: The element is a hyperlink and has no href attribute
|
|
59420
|
-
if (componentName.match("hyperlink") && !element.hasAttribute("href"))
|
|
59421
|
-
return false;
|
|
59422
|
-
|
|
59423
|
-
// If all guard clauses pass, the element is a focusable component
|
|
59424
|
-
return true;
|
|
59425
|
-
}
|
|
59426
|
-
|
|
59427
|
-
/**
|
|
59428
|
-
* Safely get a numeric tabindex for an element.
|
|
59429
|
-
* Returns a number if the tabindex is a valid integer, otherwise null.
|
|
59430
|
-
*
|
|
59431
|
-
* @param {HTMLElement} element The element whose tabindex to read.
|
|
59432
|
-
* @returns {?number} The numeric tabindex or null if missing/invalid.
|
|
59433
|
-
*/
|
|
59434
|
-
function getNumericTabIndex$3(element) {
|
|
59435
|
-
const raw = element.getAttribute("tabindex");
|
|
59436
|
-
if (raw == null) return null;
|
|
59437
|
-
|
|
59438
|
-
const value = Number.parseInt(raw, 10);
|
|
59439
|
-
return Number.isNaN(value) ? null : value;
|
|
59440
|
-
}
|
|
59441
|
-
|
|
59442
|
-
/**
|
|
59443
|
-
* Retrieves all focusable elements within the container in DOM order, including those in shadow DOM and slots.
|
|
59444
|
-
* Returns a unique, ordered array of elements that can receive focus.
|
|
59445
|
-
* Also sorts elements with tabindex first, preserving their order.
|
|
59446
|
-
*
|
|
59447
|
-
* @param {HTMLElement} container The container to search within
|
|
59448
|
-
* @returns {Array<HTMLElement>} An array of focusable elements within the container.
|
|
59449
|
-
*/
|
|
59450
|
-
function getFocusableElements$3(container) {
|
|
59451
|
-
// Get elements in DOM order by walking the tree
|
|
59452
|
-
const orderedFocusableElements = [];
|
|
59453
|
-
|
|
59454
|
-
// Define a recursive function to collect focusable elements in DOM order
|
|
59455
|
-
const collectFocusableElements = (root) => {
|
|
59456
|
-
// Check if current element is focusable
|
|
59457
|
-
if (root.nodeType === Node.ELEMENT_NODE) {
|
|
59458
|
-
// Check if this is a custom component that is focusable
|
|
59459
|
-
const isComponentFocusable = isFocusableComponent$3(root);
|
|
59460
|
-
|
|
59461
|
-
if (isComponentFocusable) {
|
|
59462
|
-
// Add the component itself as a focusable element and don't traverse its shadow DOM
|
|
59463
|
-
orderedFocusableElements.push(root);
|
|
59464
|
-
return; // Skip traversing inside this component
|
|
59465
|
-
}
|
|
59466
|
-
|
|
59467
|
-
// Check if the element itself matches any selector
|
|
59468
|
-
for (const selector of FOCUSABLE_SELECTORS$3) {
|
|
59469
|
-
if (root.matches?.(selector)) {
|
|
59470
|
-
orderedFocusableElements.push(root);
|
|
59471
|
-
break; // Once we know it's focusable, no need to check other selectors
|
|
59472
|
-
}
|
|
59473
|
-
}
|
|
59474
|
-
|
|
59475
|
-
// Process shadow DOM only for non-Auro components
|
|
59476
|
-
if (root.shadowRoot) {
|
|
59477
|
-
// Process shadow DOM children in order
|
|
59478
|
-
if (root.shadowRoot.children) {
|
|
59479
|
-
Array.from(root.shadowRoot.children).forEach((child) => {
|
|
59480
|
-
collectFocusableElements(child);
|
|
59481
|
-
});
|
|
59482
|
-
}
|
|
59483
|
-
}
|
|
59484
|
-
|
|
59485
|
-
// Process slots and their assigned nodes in order
|
|
59486
|
-
if (root.tagName === "SLOT") {
|
|
59487
|
-
const assignedNodes = root.assignedNodes({ flatten: true });
|
|
59488
|
-
for (const node of assignedNodes) {
|
|
59489
|
-
collectFocusableElements(node);
|
|
59490
|
-
}
|
|
59491
|
-
} else {
|
|
59492
|
-
// Process light DOM children in order
|
|
59493
|
-
if (root.children) {
|
|
59494
|
-
Array.from(root.children).forEach((child) => {
|
|
59495
|
-
collectFocusableElements(child);
|
|
59496
|
-
});
|
|
59497
|
-
}
|
|
59498
|
-
}
|
|
59499
|
-
}
|
|
59500
|
-
};
|
|
59501
|
-
|
|
59502
|
-
// Start the traversal from the container
|
|
59503
|
-
collectFocusableElements(container);
|
|
59504
|
-
|
|
59505
|
-
// Remove duplicates that might have been collected through different paths
|
|
59506
|
-
// while preserving order
|
|
59507
|
-
const uniqueElements = [];
|
|
59508
|
-
const seen = new Set();
|
|
59509
|
-
|
|
59510
|
-
for (const element of orderedFocusableElements) {
|
|
59511
|
-
if (!seen.has(element)) {
|
|
59512
|
-
seen.add(element);
|
|
59513
|
-
uniqueElements.push(element);
|
|
59514
|
-
}
|
|
59515
|
-
}
|
|
59516
|
-
|
|
59517
|
-
// Move tab-indexed elements to the front while preserving their order
|
|
59518
|
-
// This ensures that elements with tabindex are prioritized in the focus order
|
|
59519
|
-
|
|
59520
|
-
// First extract elements with valid positive tabindex
|
|
59521
|
-
const elementsWithTabindex = uniqueElements.filter((el) => {
|
|
59522
|
-
const tabindex = getNumericTabIndex$3(el);
|
|
59523
|
-
return tabindex !== null && tabindex > 0;
|
|
59524
|
-
});
|
|
59525
|
-
|
|
59526
|
-
// Sort these elements by their tabindex value
|
|
59527
|
-
elementsWithTabindex.sort((a, b) => {
|
|
59528
|
-
const aIndex = getNumericTabIndex$3(a) ?? 0;
|
|
59529
|
-
const bIndex = getNumericTabIndex$3(b) ?? 0;
|
|
59530
|
-
return aIndex - bIndex;
|
|
59531
|
-
});
|
|
59532
|
-
|
|
59533
|
-
// Elements without tabindex (preserving their original order)
|
|
59534
|
-
const elementsWithoutTabindex = uniqueElements.filter((el) => {
|
|
59535
|
-
const tabindex = getNumericTabIndex$3(el);
|
|
59536
|
-
|
|
59537
|
-
// Elements without tabindex or with tabindex of 0 stay in DOM order
|
|
59538
|
-
return tabindex === null || tabindex === 0;
|
|
59539
|
-
});
|
|
59540
|
-
|
|
59541
|
-
// Combine both arrays with tabindex elements first
|
|
59542
|
-
const tabIndexedUniqueElements = [
|
|
59543
|
-
...elementsWithTabindex,
|
|
59544
|
-
...elementsWithoutTabindex,
|
|
59545
|
-
];
|
|
59546
|
-
|
|
59547
|
-
return tabIndexedUniqueElements;
|
|
59548
|
-
}
|
|
59549
|
-
|
|
59550
59368
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
59551
59369
|
// See LICENSE in the project root for license information.
|
|
59552
59370
|
|
|
59553
|
-
|
|
59554
|
-
/**
|
|
59555
|
-
* Whether `el` is currently visible enough to receive focus. Prefers the
|
|
59556
|
-
* browser's `checkVisibility()`; otherwise combines a display/visibility check
|
|
59557
|
-
* with an ancestor-hidden probe that keeps position:fixed elements visible.
|
|
59558
|
-
* @param {Element} el - The element to test.
|
|
59559
|
-
* @returns {boolean}
|
|
59560
|
-
*/
|
|
59561
|
-
function isVisibleForFocus$1(el) {
|
|
59562
|
-
if (typeof el.checkVisibility === 'function') {
|
|
59563
|
-
return el.checkVisibility();
|
|
59564
|
-
}
|
|
59565
|
-
const style = el.ownerDocument.defaultView.getComputedStyle(el);
|
|
59566
|
-
if (style.display === 'none' || style.visibility === 'hidden') {
|
|
59567
|
-
return false;
|
|
59568
|
-
}
|
|
59569
|
-
return el.offsetParent !== null || style.position === 'fixed';
|
|
59570
|
-
}
|
|
59571
|
-
|
|
59572
|
-
/**
|
|
59573
|
-
* Return the tab stop that comes before the counter-group in page tab order,
|
|
59574
|
-
* skipping any hidden entries the walker doesn't filter itself. The group host
|
|
59575
|
-
* itself is not a tab stop; its focusables (the internal dropdown and the
|
|
59576
|
-
* counters) are, so anchor the search on the group's earliest focusable.
|
|
59577
|
-
* @param {Element} component - The auro-counter-group host element.
|
|
59578
|
-
* @returns {Element|null}
|
|
59579
|
-
*/
|
|
59580
|
-
function getPreviousTabStop$1(component) {
|
|
59581
|
-
const tabStops = getFocusableElements$3(component.ownerDocument.body);
|
|
59582
|
-
const counters = component.counters || [];
|
|
59583
|
-
const owned = [
|
|
59584
|
-
component,
|
|
59585
|
-
component.dropdown,
|
|
59586
|
-
...counters
|
|
59587
|
-
].filter(Boolean);
|
|
59588
|
-
let groupStart = tabStops.length;
|
|
59589
|
-
owned.forEach((node) => {
|
|
59590
|
-
const index = tabStops.indexOf(node);
|
|
59591
|
-
if (index >= 0 && index < groupStart) {
|
|
59592
|
-
groupStart = index;
|
|
59593
|
-
}
|
|
59594
|
-
});
|
|
59595
|
-
for (let index = groupStart - 1; index >= 0; index -= 1) {
|
|
59596
|
-
if (isVisibleForFocus$1(tabStops[index])) {
|
|
59597
|
-
return tabStops[index];
|
|
59598
|
-
}
|
|
59599
|
-
}
|
|
59600
|
-
return null;
|
|
59601
|
-
}
|
|
59602
|
-
|
|
59603
59371
|
const counterGroupKeyboardStrategy = {
|
|
59604
59372
|
Escape(component, evt) {
|
|
59605
59373
|
if (!component.dropdown || !component.dropdown.isPopoverVisible) {
|
|
@@ -59613,48 +59381,6 @@ const counterGroupKeyboardStrategy = {
|
|
|
59613
59381
|
|
|
59614
59382
|
component.dropdown.hide();
|
|
59615
59383
|
},
|
|
59616
|
-
|
|
59617
|
-
Tab(component, evt, ctx) {
|
|
59618
|
-
// Forward Tab already exits past the bib content and the focusout handler
|
|
59619
|
-
// closes the bib. Fullscreen relies on the dialog's native focus trapping.
|
|
59620
|
-
if (!ctx.isExpanded || ctx.isModal || !evt.shiftKey) {
|
|
59621
|
-
return;
|
|
59622
|
-
}
|
|
59623
|
-
|
|
59624
|
-
// The trigger precedes the bib content in the flattened tab order, so a
|
|
59625
|
-
// native Shift+Tab off the first counter lands back on the trigger and
|
|
59626
|
-
// leaves the bib open. Only intercept when focus is on the first focusable
|
|
59627
|
-
// in the bib; otherwise let the browser move to the previous counter.
|
|
59628
|
-
// `composedPath()` reports the real event origin through every shadow
|
|
59629
|
-
// boundary, unlike `document.activeElement`, which retargets to the first
|
|
59630
|
-
// slotted counter and cannot tell the counters apart.
|
|
59631
|
-
const focusables = getFocusableElements$3(component.dropdown.bibContent);
|
|
59632
|
-
if (!focusables.length) {
|
|
59633
|
-
return;
|
|
59634
|
-
}
|
|
59635
|
-
|
|
59636
|
-
const path = evt.composedPath();
|
|
59637
|
-
const activeIndex = focusables.findIndex((el) => path.includes(el));
|
|
59638
|
-
if (activeIndex !== 0) {
|
|
59639
|
-
return;
|
|
59640
|
-
}
|
|
59641
|
-
|
|
59642
|
-
const previousTabStop = getPreviousTabStop$1(component);
|
|
59643
|
-
|
|
59644
|
-
// Always suppress the native Shift+Tab. Otherwise it fires against the bib
|
|
59645
|
-
// as it is torn down and lands focus on the trigger (which precedes the
|
|
59646
|
-
// first counter), re-opening the exact loop this handler prevents. When
|
|
59647
|
-
// nothing precedes the group, focus falls to the body instead of the
|
|
59648
|
-
// trigger, which reads as exiting the group backward.
|
|
59649
|
-
evt.preventDefault();
|
|
59650
|
-
component.hideBib();
|
|
59651
|
-
|
|
59652
|
-
if (!previousTabStop) {
|
|
59653
|
-
return;
|
|
59654
|
-
}
|
|
59655
|
-
|
|
59656
|
-
doubleRaf$2(() => previousTabStop.focus());
|
|
59657
|
-
},
|
|
59658
59384
|
};
|
|
59659
59385
|
|
|
59660
59386
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions, max-lines, no-underscore-dangle, arrow-parens, no-confusing-arrow, curly, dot-location, no-inline-comments, line-comment-position,
|
|
@@ -61505,22 +61231,6 @@ let AuroDependencyVersioning$6 = class AuroDependencyVersioning {
|
|
|
61505
61231
|
}
|
|
61506
61232
|
};
|
|
61507
61233
|
|
|
61508
|
-
/**
|
|
61509
|
-
* Class for generating unique hashes based on the current timestamp.
|
|
61510
|
-
* This can be used to create unique identifiers for elements or data within an application,
|
|
61511
|
-
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
61512
|
-
* for external libraries or complex algorithms.
|
|
61513
|
-
*/
|
|
61514
|
-
let UniqueId$2 = class UniqueId {
|
|
61515
|
-
/**
|
|
61516
|
-
* Creates a unique hash based on the current timestamp.
|
|
61517
|
-
* @returns {Function} Timestamp as a base-36 string
|
|
61518
|
-
*/
|
|
61519
|
-
create() {
|
|
61520
|
-
return Date.now().toString(36);
|
|
61521
|
-
}
|
|
61522
|
-
};
|
|
61523
|
-
|
|
61524
61234
|
var colorCss$7 = i$6`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]),:host([appearance=inverse]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]),:host([appearance=inverse][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
61525
61235
|
|
|
61526
61236
|
var styleCss$7 = i$6`.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}:host{position:relative;display:block}.helptext-wrapper{display:none}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
@@ -61755,7 +61465,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
61755
61465
|
}
|
|
61756
61466
|
};
|
|
61757
61467
|
|
|
61758
|
-
var formkitVersion$5 = '
|
|
61468
|
+
var formkitVersion$5 = '202609022123';
|
|
61759
61469
|
|
|
61760
61470
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
61761
61471
|
// See LICENSE in the project root for license information.
|
|
@@ -61826,11 +61536,6 @@ class AuroRadioGroup extends i$3 {
|
|
|
61826
61536
|
* @private
|
|
61827
61537
|
*/
|
|
61828
61538
|
this.helpTextTag = versioning.generateTag('auro-formkit-radio-helptext', formkitVersion$5, AuroHelpText$5);
|
|
61829
|
-
|
|
61830
|
-
/**
|
|
61831
|
-
* @private
|
|
61832
|
-
*/
|
|
61833
|
-
this.uniqueId = new UniqueId$2().create();
|
|
61834
61539
|
}
|
|
61835
61540
|
|
|
61836
61541
|
static get styles() {
|
|
@@ -62083,30 +61788,20 @@ class AuroRadioGroup extends i$3 {
|
|
|
62083
61788
|
}
|
|
62084
61789
|
|
|
62085
61790
|
if (changedProperties.has('validity')) {
|
|
62086
|
-
this.
|
|
62087
|
-
|
|
62088
|
-
}
|
|
62089
|
-
|
|
62090
|
-
/**
|
|
62091
|
-
* Method for mirroring the group's invalid state onto each radio input.
|
|
62092
|
-
* `validity` — not `error` — is the authoritative invalid state, and it has to be
|
|
62093
|
-
* re-applied from `handleItems()` as well, because a slot change or a reconnect can
|
|
62094
|
-
* happen without `validity` itself changing.
|
|
62095
|
-
* @private
|
|
62096
|
-
* @returns {void}
|
|
62097
|
-
*/
|
|
62098
|
-
syncItemValidity() {
|
|
62099
|
-
const invalid = Boolean(this.error) || Boolean(this.validity && this.validity !== 'valid');
|
|
61791
|
+
if (this.validity && this.validity !== 'valid') {
|
|
61792
|
+
this.setAttribute('aria-invalid', 'true');
|
|
62100
61793
|
|
|
62101
|
-
|
|
62102
|
-
|
|
62103
|
-
|
|
62104
|
-
el.setAttribute('aria-invalid', 'true');
|
|
61794
|
+
this.items.forEach((el) => {
|
|
61795
|
+
el.setAttribute('error', true);
|
|
61796
|
+
});
|
|
62105
61797
|
} else {
|
|
62106
|
-
|
|
62107
|
-
|
|
61798
|
+
this.removeAttribute('aria-invalid');
|
|
61799
|
+
|
|
61800
|
+
this.items.forEach((el) => {
|
|
61801
|
+
el.removeAttribute('error');
|
|
61802
|
+
});
|
|
62108
61803
|
}
|
|
62109
|
-
}
|
|
61804
|
+
}
|
|
62110
61805
|
}
|
|
62111
61806
|
|
|
62112
61807
|
/**
|
|
@@ -62162,9 +61857,8 @@ class AuroRadioGroup extends i$3 {
|
|
|
62162
61857
|
|
|
62163
61858
|
this.items.forEach((el) => {
|
|
62164
61859
|
el.required = this.required;
|
|
61860
|
+
el.error = Boolean(this.error);
|
|
62165
61861
|
});
|
|
62166
|
-
|
|
62167
|
-
this.syncItemValidity();
|
|
62168
61862
|
}
|
|
62169
61863
|
|
|
62170
61864
|
/**
|
|
@@ -62309,13 +62003,7 @@ class AuroRadioGroup extends i$3 {
|
|
|
62309
62003
|
};
|
|
62310
62004
|
|
|
62311
62005
|
return u$c`
|
|
62312
|
-
<fieldset
|
|
62313
|
-
class="${e$2(groupClasses)}"
|
|
62314
|
-
part="radio-group"
|
|
62315
|
-
role="radiogroup"
|
|
62316
|
-
aria-invalid="${o$4(this.validity && this.validity !== 'valid' ? 'true' : undefined)}"
|
|
62317
|
-
aria-describedby="${this.uniqueId}"
|
|
62318
|
-
>
|
|
62006
|
+
<fieldset class="${e$2(groupClasses)}" part="radio-group" role="radiogroup">
|
|
62319
62007
|
<legend class="${e$2(legendClasses)}">
|
|
62320
62008
|
<slot name="legend" @slotchange=${this.handleLegendSlotChange}></slot>
|
|
62321
62009
|
${this.required ? undefined : u$c`<slot name="optionalLabel"> (optional)</slot>`}
|
|
@@ -62325,11 +62013,11 @@ class AuroRadioGroup extends i$3 {
|
|
|
62325
62013
|
|
|
62326
62014
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
62327
62015
|
? u$c`
|
|
62328
|
-
<${this.helpTextTag}
|
|
62016
|
+
<${this.helpTextTag} appearance="${this.onDark ? 'inverse' : this.appearance}" part="helpText">
|
|
62329
62017
|
<slot name="helpText"></slot>
|
|
62330
62018
|
</${this.helpTextTag}>`
|
|
62331
62019
|
: u$c`
|
|
62332
|
-
<${this.helpTextTag}
|
|
62020
|
+
<${this.helpTextTag} appearance="${this.onDark ? 'inverse' : this.appearance}" role="alert" error aria-live="assertive" part="helpText">
|
|
62333
62021
|
${this.errorMessage}
|
|
62334
62022
|
</${this.helpTextTag}>`
|
|
62335
62023
|
}
|
|
@@ -63333,22 +63021,6 @@ let AuroDependencyVersioning$5 = class AuroDependencyVersioning {
|
|
|
63333
63021
|
}
|
|
63334
63022
|
};
|
|
63335
63023
|
|
|
63336
|
-
/**
|
|
63337
|
-
* Class for generating unique hashes based on the current timestamp.
|
|
63338
|
-
* This can be used to create unique identifiers for elements or data within an application,
|
|
63339
|
-
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
63340
|
-
* for external libraries or complex algorithms.
|
|
63341
|
-
*/
|
|
63342
|
-
let UniqueId$1 = class UniqueId {
|
|
63343
|
-
/**
|
|
63344
|
-
* Creates a unique hash based on the current timestamp.
|
|
63345
|
-
* @returns {Function} Timestamp as a base-36 string
|
|
63346
|
-
*/
|
|
63347
|
-
create() {
|
|
63348
|
-
return Date.now().toString(36);
|
|
63349
|
-
}
|
|
63350
|
-
};
|
|
63351
|
-
|
|
63352
63024
|
var styleCss$1$4 = i$6`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
|
|
63353
63025
|
|
|
63354
63026
|
var colorCss$1$4 = i$6`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]),:host([appearance=inverse]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
|
|
@@ -63587,7 +63259,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
63587
63259
|
}
|
|
63588
63260
|
};
|
|
63589
63261
|
|
|
63590
|
-
var formkitVersion$4 = '
|
|
63262
|
+
var formkitVersion$4 = '202609022123';
|
|
63591
63263
|
|
|
63592
63264
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
63593
63265
|
// See LICENSE in the project root for license information.
|
|
@@ -63664,11 +63336,6 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
63664
63336
|
* @private
|
|
63665
63337
|
*/
|
|
63666
63338
|
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext', formkitVersion$4, AuroHelpText$4);
|
|
63667
|
-
|
|
63668
|
-
/**
|
|
63669
|
-
* @private
|
|
63670
|
-
*/
|
|
63671
|
-
this.uniqueId = new UniqueId$1().create();
|
|
63672
63339
|
}
|
|
63673
63340
|
|
|
63674
63341
|
static get styles() {
|
|
@@ -63920,29 +63587,6 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
63920
63587
|
this.handlePreselectedItems();
|
|
63921
63588
|
|
|
63922
63589
|
this.validate();
|
|
63923
|
-
this.syncCheckboxValidity();
|
|
63924
|
-
}
|
|
63925
|
-
|
|
63926
|
-
/**
|
|
63927
|
-
* Method for mirroring the group's invalid state onto each checkbox.
|
|
63928
|
-
* `validity` is the authoritative invalid state, and it has to be re-applied from
|
|
63929
|
-
* `handleItems()` as well, because a slot change can happen without `validity` itself
|
|
63930
|
-
* changing — a checkbox slotted into an already-invalid group would otherwise be missed.
|
|
63931
|
-
* @private
|
|
63932
|
-
* @returns {void}
|
|
63933
|
-
*/
|
|
63934
|
-
syncCheckboxValidity() {
|
|
63935
|
-
const invalid = Boolean(this.validity && this.validity !== 'valid');
|
|
63936
|
-
|
|
63937
|
-
this.checkboxes.forEach((el) => {
|
|
63938
|
-
if (invalid) {
|
|
63939
|
-
el.setAttribute('error', true);
|
|
63940
|
-
el.setAttribute('aria-invalid', 'true');
|
|
63941
|
-
} else {
|
|
63942
|
-
el.removeAttribute('error');
|
|
63943
|
-
el.removeAttribute('aria-invalid');
|
|
63944
|
-
}
|
|
63945
|
-
});
|
|
63946
63590
|
}
|
|
63947
63591
|
|
|
63948
63592
|
/**
|
|
@@ -63974,7 +63618,13 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
63974
63618
|
}
|
|
63975
63619
|
|
|
63976
63620
|
if (changedProperties.has('validity')) {
|
|
63977
|
-
this.
|
|
63621
|
+
this.checkboxes.forEach((el) => {
|
|
63622
|
+
if (this.validity && this.validity !== 'valid') {
|
|
63623
|
+
el.setAttribute('error', true);
|
|
63624
|
+
} else {
|
|
63625
|
+
el.removeAttribute('error');
|
|
63626
|
+
}
|
|
63627
|
+
});
|
|
63978
63628
|
}
|
|
63979
63629
|
|
|
63980
63630
|
if (changedProperties.has('required')) {
|
|
@@ -63998,6 +63648,12 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
63998
63648
|
}
|
|
63999
63649
|
|
|
64000
63650
|
if (changedProperties.has('error')) {
|
|
63651
|
+
if (this.error) {
|
|
63652
|
+
this.setAttribute('aria-invalid', true);
|
|
63653
|
+
} else {
|
|
63654
|
+
this.removeAttribute('aria-invalid');
|
|
63655
|
+
}
|
|
63656
|
+
|
|
64001
63657
|
this.validate(true);
|
|
64002
63658
|
}
|
|
64003
63659
|
}
|
|
@@ -64016,11 +63672,7 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
64016
63672
|
};
|
|
64017
63673
|
|
|
64018
63674
|
return u$c`
|
|
64019
|
-
<fieldset
|
|
64020
|
-
class="${e$2(groupClasses)}"
|
|
64021
|
-
aria-invalid="${o$4(this.validity && this.validity !== 'valid' ? 'true' : undefined)}"
|
|
64022
|
-
aria-describedby="${this.uniqueId}"
|
|
64023
|
-
>
|
|
63675
|
+
<fieldset class="${e$2(groupClasses)}">
|
|
64024
63676
|
<legend>
|
|
64025
63677
|
<slot name="legend"></slot>
|
|
64026
63678
|
${this.required ? undefined : u$c`<slot name="optionalLabel"> (optional)</slot>`}
|
|
@@ -64030,11 +63682,11 @@ class AuroCheckboxGroup extends i$3 {
|
|
|
64030
63682
|
|
|
64031
63683
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
64032
63684
|
? u$c`
|
|
64033
|
-
<${this.helpTextTag}
|
|
63685
|
+
<${this.helpTextTag} part="helpText" appearance="${this.onDark ? 'inverse' : this.appearance}">
|
|
64034
63686
|
<slot name="helpText"></slot>
|
|
64035
63687
|
</${this.helpTextTag}>`
|
|
64036
63688
|
: u$c`
|
|
64037
|
-
<${this.helpTextTag}
|
|
63689
|
+
<${this.helpTextTag} error appearance="${this.onDark ? 'inverse' : this.appearance}"" role="alert" aria-live="assertive" part="helpText">
|
|
64038
63690
|
${this.errorMessage}
|
|
64039
63691
|
</${this.helpTextTag}>`
|
|
64040
63692
|
}
|
|
@@ -69076,7 +68728,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
69076
68728
|
}
|
|
69077
68729
|
};
|
|
69078
68730
|
|
|
69079
|
-
var formkitVersion$2 = '
|
|
68731
|
+
var formkitVersion$2 = '202609022123';
|
|
69080
68732
|
|
|
69081
68733
|
/**
|
|
69082
68734
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -82938,7 +82590,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
82938
82590
|
}
|
|
82939
82591
|
};
|
|
82940
82592
|
|
|
82941
|
-
var formkitVersion$1$1 = '
|
|
82593
|
+
var formkitVersion$1$1 = '202609022123';
|
|
82942
82594
|
|
|
82943
82595
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
82944
82596
|
// See LICENSE in the project root for license information.
|
|
@@ -84130,7 +83782,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
84130
83782
|
}
|
|
84131
83783
|
};
|
|
84132
83784
|
|
|
84133
|
-
var formkitVersion$3 = '
|
|
83785
|
+
var formkitVersion$3 = '202609022123';
|
|
84134
83786
|
|
|
84135
83787
|
var styleCss$1$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}`;
|
|
84136
83788
|
|
|
@@ -93709,7 +93361,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
93709
93361
|
}
|
|
93710
93362
|
};
|
|
93711
93363
|
|
|
93712
|
-
var formkitVersion$1 = '
|
|
93364
|
+
var formkitVersion$1 = '202609022123';
|
|
93713
93365
|
|
|
93714
93366
|
/**
|
|
93715
93367
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -95882,7 +95534,7 @@ class AuroHelpText extends i$3 {
|
|
|
95882
95534
|
}
|
|
95883
95535
|
}
|
|
95884
95536
|
|
|
95885
|
-
var formkitVersion = '
|
|
95537
|
+
var formkitVersion = '202609022123';
|
|
95886
95538
|
|
|
95887
95539
|
var styleCss = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);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}`;
|
|
95888
95540
|
|