@aurodesignsystem/auro-formkit 5.9.0 → 5.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -4
- package/README.md +4 -4
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +2 -2
- package/components/bibtemplate/dist/registered.js +2 -2
- package/components/checkbox/README.md +62 -62
- package/components/checkbox/demo/api.js +1 -1
- package/components/checkbox/demo/api.md +127 -84
- package/components/checkbox/demo/api.min.js +125 -42
- package/components/checkbox/demo/index.md +9 -281
- package/components/checkbox/demo/index.min.js +125 -42
- package/components/checkbox/demo/readme.html +3 -4
- package/components/checkbox/demo/readme.md +62 -62
- package/components/checkbox/dist/auro-checkbox-group.d.ts +7 -8
- package/components/checkbox/dist/auro-checkbox.d.ts +74 -20
- package/components/checkbox/dist/index.js +125 -42
- package/components/checkbox/dist/registered.js +125 -42
- package/components/combobox/README.md +76 -74
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +11 -12
- package/components/combobox/demo/api.md +1302 -875
- package/components/combobox/demo/api.min.js +416 -492
- package/components/combobox/demo/index.html +1 -7
- package/components/combobox/demo/index.js +0 -19
- package/components/combobox/demo/index.md +43 -723
- package/components/combobox/demo/index.min.js +369 -302
- package/components/combobox/demo/readme.html +3 -4
- package/components/combobox/demo/readme.md +76 -74
- package/components/combobox/dist/auro-combobox.d.ts +42 -42
- package/components/combobox/dist/index.js +204 -210
- package/components/combobox/dist/registered.js +204 -210
- package/components/counter/README.md +81 -66
- package/components/counter/demo/api.html +1 -2
- package/components/counter/demo/api.js +2 -2
- package/components/counter/demo/api.md +777 -259
- package/components/counter/demo/api.min.js +119 -171
- package/components/counter/demo/index.html +0 -2
- package/components/counter/demo/index.md +20 -329
- package/components/counter/demo/index.min.js +117 -152
- package/components/counter/demo/readme.html +3 -4
- package/components/counter/demo/readme.md +81 -66
- package/components/counter/dist/auro-counter-group.d.ts +21 -36
- package/components/counter/dist/auro-counter-wrapper.d.ts +1 -6
- package/components/counter/dist/auro-counter.d.ts +5 -8
- package/components/counter/dist/index.js +117 -152
- package/components/counter/dist/registered.js +117 -152
- package/components/datepicker/README.md +57 -61
- package/components/datepicker/demo/api.js +8 -8
- package/components/datepicker/demo/api.md +720 -561
- package/components/datepicker/demo/api.min.js +678 -2769
- package/components/datepicker/demo/index.md +65 -117
- package/components/datepicker/demo/index.min.js +678 -2769
- package/components/datepicker/demo/readme.html +3 -4
- package/components/datepicker/demo/readme.md +57 -61
- package/components/datepicker/dist/auro-calendar.d.ts +60 -34
- package/components/datepicker/dist/auro-datepicker.d.ts +32 -32
- package/components/datepicker/dist/iconVersion.d.ts +1 -1
- package/components/datepicker/dist/index.js +505 -2596
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +505 -2596
- package/components/dropdown/README.md +78 -62
- package/components/dropdown/demo/api.js +4 -4
- package/components/dropdown/demo/api.md +520 -478
- package/components/dropdown/demo/api.min.js +80 -95
- package/components/dropdown/demo/index.md +65 -119
- package/components/dropdown/demo/index.min.js +70 -85
- package/components/dropdown/demo/readme.html +3 -4
- package/components/dropdown/demo/readme.md +78 -62
- package/components/dropdown/dist/auro-dropdown.d.ts +42 -33
- package/components/dropdown/dist/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +70 -85
- package/components/dropdown/dist/registered.js +70 -85
- package/components/form/README.md +16 -58
- package/components/form/demo/api.md +16 -21
- package/components/form/demo/api.min.js +13 -8
- package/components/form/demo/index.md +38 -39
- package/components/form/demo/index.min.js +13 -8
- package/components/form/demo/readme.md +16 -58
- package/components/form/demo/working.html +1 -1
- package/components/form/dist/auro-form.d.ts +15 -3
- package/components/form/dist/index.js +13 -8
- package/components/form/dist/registered.js +13 -8
- package/components/input/README.md +55 -60
- package/components/input/demo/api.js +3 -5
- package/components/input/demo/api.md +558 -537
- package/components/input/demo/api.min.js +102 -115
- package/components/input/demo/index.js +0 -1
- package/components/input/demo/index.md +90 -203
- package/components/input/demo/index.min.js +87 -99
- package/components/input/demo/readme.html +3 -4
- package/components/input/demo/readme.md +55 -60
- package/components/input/dist/auro-input.d.ts +6 -5
- package/components/input/dist/base-input.d.ts +68 -69
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +87 -82
- package/components/input/dist/registered.js +87 -82
- package/components/menu/README.md +61 -61
- package/components/menu/demo/api.js +6 -8
- package/components/menu/demo/api.md +520 -577
- package/components/menu/demo/api.min.js +199 -97
- package/components/menu/demo/index.js +0 -5
- package/components/menu/demo/index.md +36 -119
- package/components/menu/demo/index.min.js +164 -101
- package/components/menu/demo/readme.html +3 -4
- package/components/menu/demo/readme.md +61 -61
- package/components/menu/dist/auro-menu.context.d.ts +5 -0
- package/components/menu/dist/auro-menu.d.ts +75 -37
- package/components/menu/dist/auro-menuoption.d.ts +38 -13
- package/components/menu/dist/index.js +164 -50
- package/components/menu/dist/registered.js +164 -50
- package/components/radio/README.md +61 -57
- package/components/radio/demo/api.js +2 -2
- package/components/radio/demo/api.md +241 -170
- package/components/radio/demo/api.min.js +154 -77
- package/components/radio/demo/index.md +22 -99
- package/components/radio/demo/index.min.js +145 -68
- package/components/radio/demo/readme.html +3 -4
- package/components/radio/demo/readme.md +61 -57
- package/components/radio/dist/auro-radio-group.d.ts +67 -35
- package/components/radio/dist/auro-radio.d.ts +56 -33
- package/components/radio/dist/index.js +145 -68
- package/components/radio/dist/registered.js +145 -68
- package/components/select/README.md +68 -65
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +7 -7
- package/components/select/demo/api.md +1305 -625
- package/components/select/demo/api.min.js +357 -262
- package/components/select/demo/index.html +0 -2
- package/components/select/demo/index.md +25 -833
- package/components/select/demo/index.min.js +356 -230
- package/components/select/demo/readme.html +3 -4
- package/components/select/demo/readme.md +68 -65
- package/components/select/dist/auro-select.d.ts +99 -90
- package/components/select/dist/index.js +192 -180
- package/components/select/dist/registered.js +192 -180
- package/package.json +9 -4
|
@@ -196,11 +196,10 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
|
|
199
|
-
// Copyright (c)
|
|
199
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
200
200
|
// See LICENSE in the project root for license information.
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
// build the component class
|
|
204
203
|
class AuroCounterButton extends T$1 {
|
|
205
204
|
|
|
206
205
|
constructor() {
|
|
@@ -277,7 +276,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
277
276
|
}
|
|
278
277
|
};
|
|
279
278
|
|
|
280
|
-
let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$3='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$3 = class m extends i$2{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$3=new Map,f$5=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$3.has(t)||g$3.set(t,fetch(t).then(e)),g$3.get(t)};var w$3=i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
279
|
+
let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$3='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$3 = class m extends i$2{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$3=new Map,f$5=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$3.has(t)||g$3.set(t,fetch(t).then(e)),g$3.get(t)};var w$3=i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
281
280
|
`;let z$3 = class z extends m$3{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m$3.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w$3}async fetchIcon(t,a){let e="";e="logos"===t?await f$5(`${this.uri}/${t}/${a}.svg`):await f$5(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u$3,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}};i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
282
281
|
`;var y$3=i$5`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
283
282
|
`;var k$3=i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -1437,22 +1436,17 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1437
1436
|
}
|
|
1438
1437
|
};
|
|
1439
1438
|
|
|
1440
|
-
var formkitVersion$1 = '
|
|
1439
|
+
var formkitVersion$1 = '202601271813';
|
|
1441
1440
|
|
|
1442
|
-
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1443
1441
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1444
1442
|
// See LICENSE in the project root for license information.
|
|
1445
1443
|
|
|
1446
1444
|
|
|
1447
1445
|
/**
|
|
1448
|
-
*
|
|
1446
|
+
* The `auro-counter` element provides a flexible counter interface with increment and decrement buttons, supporting optional sub-labels and disabled states.
|
|
1447
|
+
* @customElement auro-counter
|
|
1449
1448
|
*
|
|
1450
|
-
*
|
|
1451
|
-
* supporting optional sub-labels and disabled states.
|
|
1452
|
-
*
|
|
1453
|
-
* @element auro-counter
|
|
1454
|
-
* @extends LitElement
|
|
1455
|
-
* @slot - Main label content for the counter.
|
|
1449
|
+
* @slot default - Main label content for the counter.
|
|
1456
1450
|
* @slot ariaLabel.minus - Accessible label for the decrement button.
|
|
1457
1451
|
* @slot ariaLabel.plus - Accessible label for the increment button.
|
|
1458
1452
|
* @slot helpText - Help text content for the counter.
|
|
@@ -1462,6 +1456,10 @@ class AuroCounter extends i$2 {
|
|
|
1462
1456
|
constructor() {
|
|
1463
1457
|
super();
|
|
1464
1458
|
|
|
1459
|
+
this._initializeDefaults();
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
_initializeDefaults() {
|
|
1465
1463
|
this.appearance = "default";
|
|
1466
1464
|
this.defaultSlot = undefined;
|
|
1467
1465
|
this.disabled = false;
|
|
@@ -1530,7 +1528,7 @@ class AuroCounter extends i$2 {
|
|
|
1530
1528
|
|
|
1531
1529
|
/**
|
|
1532
1530
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
1533
|
-
* @
|
|
1531
|
+
* @type {'default' | 'inverse'}
|
|
1534
1532
|
* @default 'default'
|
|
1535
1533
|
*/
|
|
1536
1534
|
appearance: {
|
|
@@ -1540,11 +1538,10 @@ class AuroCounter extends i$2 {
|
|
|
1540
1538
|
|
|
1541
1539
|
/**
|
|
1542
1540
|
* The default slot content.
|
|
1543
|
-
* @type {string}
|
|
1544
1541
|
* @private
|
|
1545
1542
|
*/
|
|
1546
1543
|
defaultSlot: {
|
|
1547
|
-
type: String
|
|
1544
|
+
type: String
|
|
1548
1545
|
},
|
|
1549
1546
|
|
|
1550
1547
|
/**
|
|
@@ -1552,7 +1549,7 @@ class AuroCounter extends i$2 {
|
|
|
1552
1549
|
*/
|
|
1553
1550
|
disabled: {
|
|
1554
1551
|
type: Boolean,
|
|
1555
|
-
reflect: true
|
|
1552
|
+
reflect: true
|
|
1556
1553
|
},
|
|
1557
1554
|
|
|
1558
1555
|
/**
|
|
@@ -1560,7 +1557,7 @@ class AuroCounter extends i$2 {
|
|
|
1560
1557
|
* @private
|
|
1561
1558
|
*/
|
|
1562
1559
|
disableMax: {
|
|
1563
|
-
type: Boolean
|
|
1560
|
+
type: Boolean
|
|
1564
1561
|
},
|
|
1565
1562
|
|
|
1566
1563
|
/**
|
|
@@ -1568,7 +1565,7 @@ class AuroCounter extends i$2 {
|
|
|
1568
1565
|
* @private
|
|
1569
1566
|
*/
|
|
1570
1567
|
disableMin: {
|
|
1571
|
-
type: Boolean
|
|
1568
|
+
type: Boolean
|
|
1572
1569
|
},
|
|
1573
1570
|
|
|
1574
1571
|
/**
|
|
@@ -1577,7 +1574,7 @@ class AuroCounter extends i$2 {
|
|
|
1577
1574
|
*/
|
|
1578
1575
|
error: {
|
|
1579
1576
|
type: String,
|
|
1580
|
-
reflect: false
|
|
1577
|
+
reflect: false
|
|
1581
1578
|
},
|
|
1582
1579
|
|
|
1583
1580
|
/**
|
|
@@ -1585,7 +1582,7 @@ class AuroCounter extends i$2 {
|
|
|
1585
1582
|
*/
|
|
1586
1583
|
max: {
|
|
1587
1584
|
type: Number,
|
|
1588
|
-
reflect: true
|
|
1585
|
+
reflect: true
|
|
1589
1586
|
},
|
|
1590
1587
|
|
|
1591
1588
|
/**
|
|
@@ -1593,11 +1590,11 @@ class AuroCounter extends i$2 {
|
|
|
1593
1590
|
*/
|
|
1594
1591
|
min: {
|
|
1595
1592
|
type: Number,
|
|
1596
|
-
reflect: true
|
|
1593
|
+
reflect: true
|
|
1597
1594
|
},
|
|
1598
1595
|
|
|
1599
1596
|
/**
|
|
1600
|
-
* DEPRECATED - use `appearance` instead.
|
|
1597
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
1601
1598
|
*/
|
|
1602
1599
|
onDark: {
|
|
1603
1600
|
type: Boolean,
|
|
@@ -1609,21 +1606,21 @@ class AuroCounter extends i$2 {
|
|
|
1609
1606
|
*/
|
|
1610
1607
|
validity: {
|
|
1611
1608
|
type: String,
|
|
1612
|
-
reflect: true
|
|
1609
|
+
reflect: true
|
|
1613
1610
|
},
|
|
1614
1611
|
|
|
1615
1612
|
/**
|
|
1616
1613
|
* The current value of the counter.
|
|
1617
1614
|
*/
|
|
1618
1615
|
value: {
|
|
1619
|
-
type: Number
|
|
1616
|
+
type: Number
|
|
1620
1617
|
},
|
|
1621
1618
|
};
|
|
1622
1619
|
}
|
|
1623
1620
|
|
|
1624
1621
|
/**
|
|
1625
1622
|
* Registers the custom element with the browser.
|
|
1626
|
-
* @param {string} [name="auro-counter"] -
|
|
1623
|
+
* @param {string} [name="auro-counter"] - The name of the element that you want to register.
|
|
1627
1624
|
* @example
|
|
1628
1625
|
* AuroCounter.register("custom-counter") // registers <custom-counter/>
|
|
1629
1626
|
*/
|
|
@@ -2009,9 +2006,8 @@ function getOppositeAxis(axis) {
|
|
|
2009
2006
|
function getAxisLength(axis) {
|
|
2010
2007
|
return axis === 'y' ? 'height' : 'width';
|
|
2011
2008
|
}
|
|
2012
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
2013
2009
|
function getSideAxis(placement) {
|
|
2014
|
-
return
|
|
2010
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
2015
2011
|
}
|
|
2016
2012
|
function getAlignmentAxis(placement) {
|
|
2017
2013
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -2036,19 +2032,19 @@ function getExpandedPlacements(placement) {
|
|
|
2036
2032
|
function getOppositeAlignmentPlacement(placement) {
|
|
2037
2033
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
2038
2034
|
}
|
|
2039
|
-
const lrPlacement = ['left', 'right'];
|
|
2040
|
-
const rlPlacement = ['right', 'left'];
|
|
2041
|
-
const tbPlacement = ['top', 'bottom'];
|
|
2042
|
-
const btPlacement = ['bottom', 'top'];
|
|
2043
2035
|
function getSideList(side, isStart, rtl) {
|
|
2036
|
+
const lr = ['left', 'right'];
|
|
2037
|
+
const rl = ['right', 'left'];
|
|
2038
|
+
const tb = ['top', 'bottom'];
|
|
2039
|
+
const bt = ['bottom', 'top'];
|
|
2044
2040
|
switch (side) {
|
|
2045
2041
|
case 'top':
|
|
2046
2042
|
case 'bottom':
|
|
2047
|
-
if (rtl) return isStart ?
|
|
2048
|
-
return isStart ?
|
|
2043
|
+
if (rtl) return isStart ? rl : lr;
|
|
2044
|
+
return isStart ? lr : rl;
|
|
2049
2045
|
case 'left':
|
|
2050
2046
|
case 'right':
|
|
2051
|
-
return isStart ?
|
|
2047
|
+
return isStart ? tb : bt;
|
|
2052
2048
|
default:
|
|
2053
2049
|
return [];
|
|
2054
2050
|
}
|
|
@@ -2489,22 +2485,16 @@ const flip$1 = function (options) {
|
|
|
2489
2485
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
2490
2486
|
const nextPlacement = placements[nextIndex];
|
|
2491
2487
|
if (nextPlacement) {
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
},
|
|
2503
|
-
reset: {
|
|
2504
|
-
placement: nextPlacement
|
|
2505
|
-
}
|
|
2506
|
-
};
|
|
2507
|
-
}
|
|
2488
|
+
// Try next placement and re-run the lifecycle.
|
|
2489
|
+
return {
|
|
2490
|
+
data: {
|
|
2491
|
+
index: nextIndex,
|
|
2492
|
+
overflows: overflowsData
|
|
2493
|
+
},
|
|
2494
|
+
reset: {
|
|
2495
|
+
placement: nextPlacement
|
|
2496
|
+
}
|
|
2497
|
+
};
|
|
2508
2498
|
}
|
|
2509
2499
|
|
|
2510
2500
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -2550,8 +2540,6 @@ const flip$1 = function (options) {
|
|
|
2550
2540
|
};
|
|
2551
2541
|
};
|
|
2552
2542
|
|
|
2553
|
-
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
2554
|
-
|
|
2555
2543
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
2556
2544
|
// Derivable.
|
|
2557
2545
|
|
|
@@ -2565,7 +2553,7 @@ async function convertValueToCoords(state, options) {
|
|
|
2565
2553
|
const side = getSide(placement);
|
|
2566
2554
|
const alignment = getAlignment(placement);
|
|
2567
2555
|
const isVertical = getSideAxis(placement) === 'y';
|
|
2568
|
-
const mainAxisMulti =
|
|
2556
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
2569
2557
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
2570
2558
|
const rawValue = evaluate(options, state);
|
|
2571
2559
|
|
|
@@ -2758,7 +2746,6 @@ function isShadowRoot(value) {
|
|
|
2758
2746
|
}
|
|
2759
2747
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
2760
2748
|
}
|
|
2761
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
2762
2749
|
function isOverflowElement(element) {
|
|
2763
2750
|
const {
|
|
2764
2751
|
overflow,
|
|
@@ -2766,32 +2753,27 @@ function isOverflowElement(element) {
|
|
|
2766
2753
|
overflowY,
|
|
2767
2754
|
display
|
|
2768
2755
|
} = getComputedStyle$1(element);
|
|
2769
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
2756
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
2770
2757
|
}
|
|
2771
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
2772
2758
|
function isTableElement(element) {
|
|
2773
|
-
return
|
|
2759
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
2774
2760
|
}
|
|
2775
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
2776
2761
|
function isTopLayer(element) {
|
|
2777
|
-
return
|
|
2762
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
2778
2763
|
try {
|
|
2779
2764
|
return element.matches(selector);
|
|
2780
|
-
} catch (
|
|
2765
|
+
} catch (e) {
|
|
2781
2766
|
return false;
|
|
2782
2767
|
}
|
|
2783
2768
|
});
|
|
2784
2769
|
}
|
|
2785
|
-
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
2786
|
-
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
2787
|
-
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
2788
2770
|
function isContainingBlock(elementOrCss) {
|
|
2789
2771
|
const webkit = isWebKit();
|
|
2790
2772
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
2791
2773
|
|
|
2792
2774
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
2793
2775
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
2794
|
-
return
|
|
2776
|
+
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
2795
2777
|
}
|
|
2796
2778
|
function getContainingBlock(element) {
|
|
2797
2779
|
let currentNode = getParentNode(element);
|
|
@@ -2809,9 +2791,8 @@ function isWebKit() {
|
|
|
2809
2791
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
2810
2792
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
2811
2793
|
}
|
|
2812
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
2813
2794
|
function isLastTraversableNode(node) {
|
|
2814
|
-
return
|
|
2795
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
2815
2796
|
}
|
|
2816
2797
|
function getComputedStyle$1(element) {
|
|
2817
2798
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -3116,7 +3097,6 @@ function getViewportRect(element, strategy) {
|
|
|
3116
3097
|
};
|
|
3117
3098
|
}
|
|
3118
3099
|
|
|
3119
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
3120
3100
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
3121
3101
|
function getInnerBoundingClientRect(element, strategy) {
|
|
3122
3102
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -3181,7 +3161,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
3181
3161
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
3182
3162
|
currentContainingBlockComputedStyle = null;
|
|
3183
3163
|
}
|
|
3184
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
3164
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
3185
3165
|
if (shouldDropCurrentNode) {
|
|
3186
3166
|
// Drop non-containing blocks.
|
|
3187
3167
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -3244,12 +3224,6 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
3244
3224
|
scrollTop: 0
|
|
3245
3225
|
};
|
|
3246
3226
|
const offsets = createCoords(0);
|
|
3247
|
-
|
|
3248
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
3249
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
3250
|
-
function setLeftRTLScrollbarOffset() {
|
|
3251
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
3252
|
-
}
|
|
3253
3227
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
3254
3228
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
3255
3229
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -3259,12 +3233,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
3259
3233
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
3260
3234
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
3261
3235
|
} else if (documentElement) {
|
|
3262
|
-
|
|
3236
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
3237
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
3238
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
3263
3239
|
}
|
|
3264
3240
|
}
|
|
3265
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
3266
|
-
setLeftRTLScrollbarOffset();
|
|
3267
|
-
}
|
|
3268
3241
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
3269
3242
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
3270
3243
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -3441,7 +3414,7 @@ function observeMove(element, onMove) {
|
|
|
3441
3414
|
// Handle <iframe>s
|
|
3442
3415
|
root: root.ownerDocument
|
|
3443
3416
|
});
|
|
3444
|
-
} catch (
|
|
3417
|
+
} catch (e) {
|
|
3445
3418
|
io = new IntersectionObserver(handleObserve, options);
|
|
3446
3419
|
}
|
|
3447
3420
|
io.observe(element);
|
|
@@ -4531,7 +4504,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
4531
4504
|
}
|
|
4532
4505
|
};
|
|
4533
4506
|
|
|
4534
|
-
let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$2='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$2 = class m extends i$2{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$2=new Map,f$2=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$2.has(t)||g$2.set(t,fetch(t).then(e)),g$2.get(t)};var w$2=i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
4507
|
+
let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$2='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$2 = class m extends i$2{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$2=new Map,f$2=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$2.has(t)||g$2.set(t,fetch(t).then(e)),g$2.get(t)};var w$2=i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
4535
4508
|
`;let z$2 = class z extends m$2{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m$2.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w$2}async fetchIcon(t,a){let e="";e="logos"===t?await f$2(`${this.uri}/${t}/${a}.svg`):await f$2(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u$2,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}};i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
4536
4509
|
`;var y$2=i$5`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
4537
4510
|
`;var k$2=i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -4555,7 +4528,7 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4555
4528
|
</div>
|
|
4556
4529
|
`}};
|
|
4557
4530
|
|
|
4558
|
-
var iconVersion$1 = '9.1.
|
|
4531
|
+
var iconVersion$1 = '9.1.1';
|
|
4559
4532
|
|
|
4560
4533
|
var styleCss$2 = i$5`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
|
|
4561
4534
|
|
|
@@ -4996,7 +4969,7 @@ class AuroHelpText extends i$2 {
|
|
|
4996
4969
|
}
|
|
4997
4970
|
}
|
|
4998
4971
|
|
|
4999
|
-
var formkitVersion = '
|
|
4972
|
+
var formkitVersion = '202601271813';
|
|
5000
4973
|
|
|
5001
4974
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5002
4975
|
static get properties() {
|
|
@@ -5102,12 +5075,14 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
5102
5075
|
}
|
|
5103
5076
|
};
|
|
5104
5077
|
|
|
5105
|
-
// Copyright (c)
|
|
5078
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5106
5079
|
// See LICENSE in the project root for license information.
|
|
5107
5080
|
|
|
5108
5081
|
|
|
5109
|
-
|
|
5110
|
-
|
|
5082
|
+
/**
|
|
5083
|
+
* The `auro-dropdown` element provides a way to place content in a bib that can be toggled.
|
|
5084
|
+
* @customElement auro-dropdown
|
|
5085
|
+
*
|
|
5111
5086
|
* @slot - Default slot for the popover content.
|
|
5112
5087
|
* @slot helpText - Defines the content of the helpText.
|
|
5113
5088
|
* @slot trigger - Defines the content of the trigger.
|
|
@@ -5143,7 +5118,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5143
5118
|
/** @private */
|
|
5144
5119
|
this.bibElement = e();
|
|
5145
5120
|
|
|
5146
|
-
this.
|
|
5121
|
+
this._intializeDefaults();
|
|
5147
5122
|
}
|
|
5148
5123
|
|
|
5149
5124
|
/**
|
|
@@ -5164,7 +5139,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5164
5139
|
* @private
|
|
5165
5140
|
* @returns {void} Internal defaults.
|
|
5166
5141
|
*/
|
|
5167
|
-
|
|
5142
|
+
_intializeDefaults() {
|
|
5168
5143
|
this.appearance = 'default';
|
|
5169
5144
|
this.chevron = false;
|
|
5170
5145
|
this.disabled = false;
|
|
@@ -5285,9 +5260,18 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5285
5260
|
static get properties() {
|
|
5286
5261
|
return {
|
|
5287
5262
|
|
|
5263
|
+
/**
|
|
5264
|
+
* The value for the role attribute of the trigger element.
|
|
5265
|
+
*/
|
|
5266
|
+
a11yRole: {
|
|
5267
|
+
type: String || undefined,
|
|
5268
|
+
attribute: false,
|
|
5269
|
+
reflect: false
|
|
5270
|
+
},
|
|
5271
|
+
|
|
5288
5272
|
/**
|
|
5289
5273
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
5290
|
-
* @
|
|
5274
|
+
* @type {'default' | 'inverse'}
|
|
5291
5275
|
* @default 'default'
|
|
5292
5276
|
*/
|
|
5293
5277
|
appearance: {
|
|
@@ -5297,7 +5281,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5297
5281
|
|
|
5298
5282
|
/**
|
|
5299
5283
|
* If declared, bib's position will be automatically calculated where to appear.
|
|
5300
|
-
* @default false
|
|
5301
5284
|
*/
|
|
5302
5285
|
autoPlacement: {
|
|
5303
5286
|
type: Boolean,
|
|
@@ -5306,7 +5289,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5306
5289
|
|
|
5307
5290
|
/**
|
|
5308
5291
|
* If declared, the dropdown will only show by calling the API .show() public method.
|
|
5309
|
-
* @default false
|
|
5310
5292
|
*/
|
|
5311
5293
|
disableEventShow: {
|
|
5312
5294
|
type: Boolean,
|
|
@@ -5323,11 +5305,11 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5323
5305
|
|
|
5324
5306
|
/**
|
|
5325
5307
|
* If declared, the dropdown displays a chevron on the right.
|
|
5326
|
-
* @attr {Boolean} chevron
|
|
5327
5308
|
*/
|
|
5328
5309
|
chevron: {
|
|
5329
5310
|
type: Boolean,
|
|
5330
|
-
reflect: true
|
|
5311
|
+
reflect: true,
|
|
5312
|
+
attribute: 'chevron'
|
|
5331
5313
|
},
|
|
5332
5314
|
|
|
5333
5315
|
/**
|
|
@@ -5364,7 +5346,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5364
5346
|
},
|
|
5365
5347
|
|
|
5366
5348
|
/**
|
|
5367
|
-
* If declared
|
|
5349
|
+
* If declared, will apply error UI to the dropdown.
|
|
5368
5350
|
*/
|
|
5369
5351
|
error: {
|
|
5370
5352
|
type: Boolean,
|
|
@@ -5419,18 +5401,28 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5419
5401
|
},
|
|
5420
5402
|
|
|
5421
5403
|
/**
|
|
5422
|
-
* Defines the screen size breakpoint
|
|
5423
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
5404
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
5424
5405
|
*
|
|
5425
5406
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
5426
5407
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
5427
|
-
* @
|
|
5408
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
5409
|
+
* @default 'sm'
|
|
5428
5410
|
*/
|
|
5429
5411
|
fullscreenBreakpoint: {
|
|
5430
5412
|
type: String,
|
|
5431
5413
|
reflect: true
|
|
5432
5414
|
},
|
|
5433
5415
|
|
|
5416
|
+
/**
|
|
5417
|
+
* Sets the layout of the dropdown.
|
|
5418
|
+
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
5419
|
+
* @default 'classic'
|
|
5420
|
+
*/
|
|
5421
|
+
layout: {
|
|
5422
|
+
type: String,
|
|
5423
|
+
reflect: true
|
|
5424
|
+
},
|
|
5425
|
+
|
|
5434
5426
|
/**
|
|
5435
5427
|
* Defines if the trigger should size based on the parent element providing the border UI.
|
|
5436
5428
|
* @private
|
|
@@ -5451,7 +5443,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5451
5443
|
/**
|
|
5452
5444
|
* If declared, the bib will NOT flip to an alternate position
|
|
5453
5445
|
* when there isn't enough space in the specified `placement`.
|
|
5454
|
-
* @default false
|
|
5455
5446
|
*/
|
|
5456
5447
|
noFlip: {
|
|
5457
5448
|
type: Boolean,
|
|
@@ -5460,7 +5451,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5460
5451
|
|
|
5461
5452
|
/**
|
|
5462
5453
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
5463
|
-
* @default false
|
|
5464
5454
|
*/
|
|
5465
5455
|
shift: {
|
|
5466
5456
|
type: Boolean,
|
|
@@ -5493,7 +5483,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5493
5483
|
},
|
|
5494
5484
|
|
|
5495
5485
|
/**
|
|
5496
|
-
* DEPRECATED - use `appearance` instead.
|
|
5486
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
5497
5487
|
*/
|
|
5498
5488
|
onDark: {
|
|
5499
5489
|
type: Boolean,
|
|
@@ -5510,7 +5500,8 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5510
5500
|
|
|
5511
5501
|
/**
|
|
5512
5502
|
* Position where the bib should appear relative to the trigger.
|
|
5513
|
-
* @
|
|
5503
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
5504
|
+
* @default 'bottom-start'
|
|
5514
5505
|
*/
|
|
5515
5506
|
placement: {
|
|
5516
5507
|
type: String,
|
|
@@ -5522,15 +5513,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5522
5513
|
*/
|
|
5523
5514
|
tabIndex: {
|
|
5524
5515
|
type: Number
|
|
5525
|
-
},
|
|
5526
|
-
|
|
5527
|
-
/**
|
|
5528
|
-
* The value for the role attribute of the trigger element.
|
|
5529
|
-
*/
|
|
5530
|
-
a11yRole: {
|
|
5531
|
-
type: String || undefined,
|
|
5532
|
-
attribute: false,
|
|
5533
|
-
reflect: false
|
|
5534
5516
|
}
|
|
5535
5517
|
};
|
|
5536
5518
|
}
|
|
@@ -5557,7 +5539,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5557
5539
|
|
|
5558
5540
|
/**
|
|
5559
5541
|
* This will register this element with the browser.
|
|
5560
|
-
* @param {string} [name="auro-dropdown"] - The name of element that you want to register
|
|
5542
|
+
* @param {string} [name="auro-dropdown"] - The name of the element that you want to register.
|
|
5561
5543
|
*
|
|
5562
5544
|
* @example
|
|
5563
5545
|
* AuroDropdown.register("custom-dropdown") // this will register this element to <custom-dropdown/>
|
|
@@ -6227,7 +6209,7 @@ let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[
|
|
|
6227
6209
|
|
|
6228
6210
|
var buttonVersion = '12.3.0';
|
|
6229
6211
|
|
|
6230
|
-
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends i$2{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
6212
|
+
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends i$2{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
6231
6213
|
`;class z extends m{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w}async fetchIcon(t,a){let e="";e="logos"===t?await f(`${this.uri}/${t}/${a}.svg`):await f(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}}i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
6232
6214
|
`;var y=i$5`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
6233
6215
|
`;var k=i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -6251,7 +6233,7 @@ class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,cl
|
|
|
6251
6233
|
</div>
|
|
6252
6234
|
`}}
|
|
6253
6235
|
|
|
6254
|
-
var iconVersion = '9.1.
|
|
6236
|
+
var iconVersion = '9.1.1';
|
|
6255
6237
|
|
|
6256
6238
|
class l{registerComponent(e,s){customElements.get(e)||customElements.define(e,class extends s{});}closestElement(e,s=this,t=(s,a=s&&s.closest(e))=>s&&s!==document&&s!==window?a||t(s.getRootNode().host):null){return t(s)}handleComponentTagRename(e,s){const t=s.toLowerCase();e.tagName.toLowerCase()!==t&&e.setAttribute(t,true);}elementMatch(e,s){const t=s.toLowerCase();return e.tagName.toLowerCase()===t||e.hasAttribute(t)}}var n=i$5`.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}:host{display:block}:host .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, .125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, .25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, .5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, .75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, .125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, .25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, .5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, .75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}
|
|
6257
6239
|
`;class c extends i$2{constructor(){super(),this.level=1,this.typography="heading",this.runtimeUtils=new l;}static get properties(){return {level:{type:Number,reflect:true,converter(e){const s=Number(e);return Number.isNaN(s)||s<1?1:s>6?6:s}},display:{type:String,reflect:true},visualLevel:{type:Number,reflect:true,converter(e){const s=Number(e);return Number.isNaN(s)||s<1?1:s>6?6:s}},typography:{type:String,reflect:true},color:{type:String,reflect:true},margin:{type:String,reflect:true},size:{type:String,reflect:true}}}static get styles(){return [n]}static get displayClassMap(){return {800:"heading-xl",700:"heading-lg",600:"heading-md",500:"heading-sm",400:"heading-xs",300:"heading-2xs",heading:{1:"heading-xl",2:"heading-lg",3:"heading-md",4:"heading-sm",5:"heading-xs",6:"heading-2xs"},display:{1:"display-2xl",2:"display-xl",3:"display-lg",4:"display-md",5:"display-sm",6:"display-xs"}}}static register(e="auro-header"){l.prototype.registerComponent(e,c);}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-header");}spacingDecision(e){if("both"===this.margin)switch(e){case "none":return "util_stackMarginnone--top util_stackMarginnone--bottom";case "25":return "util_stackMargin25--top util_stackMargin25--bottom";case "50":return "util_stackMargin50--top util_stackMargin50--bottom";case "100":return "util_stackMargin100--top util_stackMargin100--bottom";case "150":return "util_stackMargin150--top util_stackMargin150--bottom";case "200":return "util_stackMargin200--top util_stackMargin200--bottom";case "300":return "util_stackMargin300--top util_stackMargin300--bottom";case "400":return "util_stackMargin400--top util_stackMargin400--bottom";case "600":return "util_stackMargin600--top util_stackMargin600--bottom";case "800":return "util_stackMargin800--top util_stackMargin800--bottom";default:return ""}return this.spacingApplied(e)}spacingApplied(e){switch(e){case "none":return `util_stackMarginnone--${this.margin}`;case "25":return `util_stackMargin25--${this.margin}`;case "50":return `util_stackMargin50--${this.margin}`;case "100":return `util_stackMargin100--${this.margin}`;case "150":return `util_stackMargin150--${this.margin}`;case "200":return `util_stackMargin200--${this.margin}`;case "300":return `util_stackMargin300--${this.margin}`;case "400":return `util_stackMargin400--${this.margin}`;case "600":return `util_stackMarginX600--${this.margin}`;case "800":return `util_stackMargin800--${this.margin}`;default:return ""}}template(e){this.visualLevel||this.display||(this.visualLevel=this.level);const s=e||"1",l=this.spacingDecision(this.size),n=this.visualLevel?c.displayClassMap[this.typography][this.visualLevel]:c.displayClassMap[this.display],o={heading:true,[n]:true};if(l){l.split(" ").forEach(e=>{e.trim()&&(o[e.trim()]=true);});}const m=e$1(o),g=s$1(`h${s}`);return u$5`<${g} class="${m}" style="color: ${o$2(this.color?this.color:void 0)}"><slot></slot></${g}>`}render(){return this.template(this.level)}}
|
|
@@ -6415,13 +6397,8 @@ var colorCss = i$5`:host ::slotted(*:not(:first-child)){border-color:var(--ds-au
|
|
|
6415
6397
|
|
|
6416
6398
|
|
|
6417
6399
|
/**
|
|
6418
|
-
*
|
|
6419
|
-
*
|
|
6420
|
-
* This web component provides a flexible interface for grouping multiple counters, supporting
|
|
6421
|
-
* validation, custom validity messages, and disabled states based on the group's value.
|
|
6400
|
+
* Wrapper element for auro-counter elements in an application to provide layout structure for multiple counters.
|
|
6422
6401
|
*
|
|
6423
|
-
* @element auro-counter-group
|
|
6424
|
-
* @extends LitElement
|
|
6425
6402
|
* @slot Default - Slot for counter elements.
|
|
6426
6403
|
*/
|
|
6427
6404
|
class AuroCounterWrapper extends i$2 {
|
|
@@ -6560,29 +6537,14 @@ class AuroElement extends i$2 {
|
|
|
6560
6537
|
}
|
|
6561
6538
|
}
|
|
6562
6539
|
|
|
6563
|
-
/*
|
|
6564
|
-
eslint-disable
|
|
6565
|
-
lit/no-invalid-html,
|
|
6566
|
-
lit/binding-positions,
|
|
6567
|
-
max-lines,
|
|
6568
|
-
no-underscore-dangle,
|
|
6569
|
-
arrow-parens,
|
|
6570
|
-
no-confusing-arrow,
|
|
6571
|
-
curly,
|
|
6572
|
-
dot-location,
|
|
6573
|
-
no-inline-comments,
|
|
6574
|
-
line-comment-position,
|
|
6540
|
+
/* 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,
|
|
6575
6541
|
*/
|
|
6576
6542
|
|
|
6577
6543
|
|
|
6578
6544
|
/**
|
|
6579
|
-
*
|
|
6580
|
-
*
|
|
6581
|
-
* This web component provides a flexible interface for grouping multiple counters, supporting
|
|
6582
|
-
* validation, custom validity messages, and disabled states based on the group's value.
|
|
6545
|
+
* The `auro-counter-group` element provides a flexible interface for grouping multiple counters, supporting validation, custom validity messages, and disabled states based on the group's value.
|
|
6546
|
+
* @customElement auro-counter-group
|
|
6583
6547
|
*
|
|
6584
|
-
* @element auro-counter-group
|
|
6585
|
-
* @extends LitElement
|
|
6586
6548
|
* @slot default - Slot for counter elements.
|
|
6587
6549
|
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
6588
6550
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
@@ -6590,7 +6552,6 @@ class AuroElement extends i$2 {
|
|
|
6590
6552
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
6591
6553
|
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
6592
6554
|
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
6593
|
-
* @property {'classic'|'snowflake'} layout - Determines the layout style of the counter group when it is a dropdown. Options are 'classic' or 'snowflake'. Default is 'classic'.
|
|
6594
6555
|
*/
|
|
6595
6556
|
class AuroCounterGroup extends AuroElement {
|
|
6596
6557
|
constructor() {
|
|
@@ -6688,7 +6649,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6688
6649
|
|
|
6689
6650
|
/**
|
|
6690
6651
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
6691
|
-
* @
|
|
6652
|
+
* @type {'default' | 'inverse'}
|
|
6692
6653
|
* @default 'default'
|
|
6693
6654
|
*/
|
|
6694
6655
|
appearance: {
|
|
@@ -6725,12 +6686,12 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6725
6686
|
},
|
|
6726
6687
|
|
|
6727
6688
|
/**
|
|
6728
|
-
* Defines the screen size breakpoint
|
|
6729
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
6689
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
6730
6690
|
*
|
|
6731
6691
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
6732
6692
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
6733
|
-
* @
|
|
6693
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
6694
|
+
* @default 'sm'
|
|
6734
6695
|
*/
|
|
6735
6696
|
fullscreenBreakpoint: {
|
|
6736
6697
|
type: String,
|
|
@@ -6738,12 +6699,22 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6738
6699
|
},
|
|
6739
6700
|
|
|
6740
6701
|
/**
|
|
6741
|
-
*
|
|
6702
|
+
* If true, the counter group is displayed as a dropdown.
|
|
6742
6703
|
*/
|
|
6743
6704
|
isDropdown: {
|
|
6744
6705
|
type: Boolean
|
|
6745
6706
|
},
|
|
6746
6707
|
|
|
6708
|
+
/**
|
|
6709
|
+
* Determines the layout style of the counter group when it is a dropdown.
|
|
6710
|
+
* @type {'classic' | 'snowflake'}
|
|
6711
|
+
* @default 'classic'
|
|
6712
|
+
*/
|
|
6713
|
+
layout: {
|
|
6714
|
+
type: String,
|
|
6715
|
+
reflect: true
|
|
6716
|
+
},
|
|
6717
|
+
|
|
6747
6718
|
/**
|
|
6748
6719
|
* If declared, the dropdown will expand to the width of its parent container.
|
|
6749
6720
|
* Otherwise, the dropdown width will be determined by its content.
|
|
@@ -6781,7 +6752,6 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6781
6752
|
/**
|
|
6782
6753
|
* If declared, the bib will NOT flip to an alternate position
|
|
6783
6754
|
* when there isn't enough space in the specified `placement`.
|
|
6784
|
-
* @default false
|
|
6785
6755
|
*/
|
|
6786
6756
|
noFlip: {
|
|
6787
6757
|
type: Boolean,
|
|
@@ -6790,7 +6760,6 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6790
6760
|
|
|
6791
6761
|
/**
|
|
6792
6762
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
6793
|
-
* @default false
|
|
6794
6763
|
*/
|
|
6795
6764
|
shift: {
|
|
6796
6765
|
type: Boolean,
|
|
@@ -6816,12 +6785,8 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6816
6785
|
|
|
6817
6786
|
/**
|
|
6818
6787
|
* Position where the bib should appear relative to the trigger.
|
|
6819
|
-
*
|
|
6820
|
-
*
|
|
6821
|
-
* "bottom-start" | "top-start" | "top-end" |
|
|
6822
|
-
* "right-start" | "right-end" | "bottom-end" |
|
|
6823
|
-
* "left-start" | "left-end".
|
|
6824
|
-
* @default bottom-start
|
|
6788
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
6789
|
+
* @default 'bottom-start'
|
|
6825
6790
|
*/
|
|
6826
6791
|
placement: {
|
|
6827
6792
|
type: String,
|
|
@@ -6832,7 +6797,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
6832
6797
|
* The total value of the counters.
|
|
6833
6798
|
*/
|
|
6834
6799
|
total: {
|
|
6835
|
-
type: Number
|
|
6800
|
+
type: Number
|
|
6836
6801
|
},
|
|
6837
6802
|
|
|
6838
6803
|
/**
|
|
@@ -7164,7 +7129,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7164
7129
|
|
|
7165
7130
|
/**
|
|
7166
7131
|
* Registers the custom element with the browser.
|
|
7167
|
-
* @param {string} [name="auro-counter-group"] -
|
|
7132
|
+
* @param {string} [name="auro-counter-group"] - The name of the element that you want to register.
|
|
7168
7133
|
* @example
|
|
7169
7134
|
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
7170
7135
|
*/
|