@aurodesignsystem-dev/auro-formkit 0.0.0-pr808.1 → 0.0.0-pr811.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +60 -96
- package/components/bibtemplate/dist/registered.js +60 -96
- package/components/combobox/demo/api.min.js +79 -111
- package/components/combobox/demo/index.min.js +79 -111
- package/components/combobox/dist/index.js +75 -107
- package/components/combobox/dist/registered.js +75 -107
- package/components/counter/demo/api.min.js +80 -116
- package/components/counter/demo/index.min.js +80 -116
- package/components/counter/dist/index.js +80 -116
- package/components/counter/dist/registered.js +80 -116
- package/components/datepicker/demo/api.min.js +65 -97
- package/components/datepicker/demo/index.min.js +65 -97
- package/components/datepicker/dist/index.js +65 -97
- package/components/datepicker/dist/registered.js +65 -97
- package/components/dropdown/demo/api.min.js +1 -1
- 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/input/demo/api.min.js +5 -1
- package/components/input/demo/index.min.js +5 -1
- package/components/input/dist/index.js +5 -1
- package/components/input/dist/registered.js +5 -1
- package/components/select/demo/api.min.js +92 -113
- package/components/select/demo/index.min.js +92 -113
- package/components/select/dist/index.js +88 -109
- package/components/select/dist/registered.js +88 -109
- package/package.json +1 -1
|
@@ -521,7 +521,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
521
521
|
|
|
522
522
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
523
523
|
|
|
524
|
-
let AuroLibraryRuntimeUtils$
|
|
524
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
525
525
|
|
|
526
526
|
/* eslint-disable jsdoc/require-param */
|
|
527
527
|
|
|
@@ -599,7 +599,7 @@ var shapeSize$1 = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-s
|
|
|
599
599
|
|
|
600
600
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
601
601
|
|
|
602
|
-
let AuroLibraryRuntimeUtils$
|
|
602
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
603
603
|
|
|
604
604
|
/* eslint-disable jsdoc/require-param */
|
|
605
605
|
|
|
@@ -694,7 +694,7 @@ let AuroLoader$1 = class AuroLoader extends LitElement {
|
|
|
694
694
|
/**
|
|
695
695
|
* @private
|
|
696
696
|
*/
|
|
697
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
697
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
698
698
|
|
|
699
699
|
this.orbit = false;
|
|
700
700
|
this.ringworm = false;
|
|
@@ -757,7 +757,7 @@ let AuroLoader$1 = class AuroLoader extends LitElement {
|
|
|
757
757
|
*
|
|
758
758
|
*/
|
|
759
759
|
static register(name = "auro-loader") {
|
|
760
|
-
AuroLibraryRuntimeUtils$
|
|
760
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroLoader);
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
firstUpdated() {
|
|
@@ -1037,7 +1037,7 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
|
|
|
1037
1037
|
*
|
|
1038
1038
|
*/
|
|
1039
1039
|
static register(name = "auro-button") {
|
|
1040
|
-
AuroLibraryRuntimeUtils$
|
|
1040
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroButton);
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
1043
|
/**
|
|
@@ -1242,7 +1242,7 @@ class AuroCounterButton extends AuroButton$1 {
|
|
|
1242
1242
|
*
|
|
1243
1243
|
*/
|
|
1244
1244
|
static register(name = "auro-counter-button") {
|
|
1245
|
-
AuroLibraryRuntimeUtils$
|
|
1245
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCounterButton);
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
@@ -1413,7 +1413,7 @@ var colorCss$8 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
1413
1413
|
|
|
1414
1414
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
1415
1415
|
|
|
1416
|
-
let AuroLibraryRuntimeUtils$
|
|
1416
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
1417
1417
|
|
|
1418
1418
|
/* eslint-disable jsdoc/require-param */
|
|
1419
1419
|
|
|
@@ -1495,7 +1495,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1495
1495
|
*/
|
|
1496
1496
|
privateDefaults() {
|
|
1497
1497
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
1498
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
1498
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
1501
|
// function to define props used within the scope of this component
|
|
@@ -1577,7 +1577,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1577
1577
|
*
|
|
1578
1578
|
*/
|
|
1579
1579
|
static register(name = "auro-icon") {
|
|
1580
|
-
AuroLibraryRuntimeUtils$
|
|
1580
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroIcon);
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
1583
|
connectedCallback() {
|
|
@@ -2065,7 +2065,7 @@ const {
|
|
|
2065
2065
|
class AuroFormValidation {
|
|
2066
2066
|
|
|
2067
2067
|
constructor() {
|
|
2068
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
2068
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
2069
2069
|
}
|
|
2070
2070
|
|
|
2071
2071
|
/**
|
|
@@ -2481,7 +2481,7 @@ var tokensCss$4 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
2481
2481
|
|
|
2482
2482
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2483
2483
|
|
|
2484
|
-
let AuroLibraryRuntimeUtils$
|
|
2484
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
2485
2485
|
|
|
2486
2486
|
/* eslint-disable jsdoc/require-param */
|
|
2487
2487
|
|
|
@@ -2560,7 +2560,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
2560
2560
|
this.onDark = false;
|
|
2561
2561
|
this.hasTextContent = false;
|
|
2562
2562
|
|
|
2563
|
-
AuroLibraryRuntimeUtils$
|
|
2563
|
+
AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
2564
2564
|
}
|
|
2565
2565
|
|
|
2566
2566
|
static get styles() {
|
|
@@ -2616,7 +2616,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
2616
2616
|
*
|
|
2617
2617
|
*/
|
|
2618
2618
|
static register(name = "auro-helptext") {
|
|
2619
|
-
AuroLibraryRuntimeUtils$
|
|
2619
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHelpText);
|
|
2620
2620
|
}
|
|
2621
2621
|
|
|
2622
2622
|
updated() {
|
|
@@ -2844,7 +2844,7 @@ class AuroCounter extends LitElement {
|
|
|
2844
2844
|
* AuroCounter.register("custom-counter") // registers <custom-counter/>
|
|
2845
2845
|
*/
|
|
2846
2846
|
static register(name = "auro-counter") {
|
|
2847
|
-
AuroLibraryRuntimeUtils$
|
|
2847
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCounter);
|
|
2848
2848
|
}
|
|
2849
2849
|
|
|
2850
2850
|
static get styles() {
|
|
@@ -6224,7 +6224,7 @@ var shapeSizeCss = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic
|
|
|
6224
6224
|
|
|
6225
6225
|
var colorCss$1$1 = css`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
|
|
6226
6226
|
|
|
6227
|
-
var styleCss$1$1 = css`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
6227
|
+
var styleCss$1$1 = css`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;box-sizing:border-box;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
6228
6228
|
|
|
6229
6229
|
var classicColorCss = css``;
|
|
6230
6230
|
|
|
@@ -6247,7 +6247,7 @@ var tokensCss$3 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
6247
6247
|
|
|
6248
6248
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6249
6249
|
|
|
6250
|
-
let AuroLibraryRuntimeUtils$
|
|
6250
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
6251
6251
|
|
|
6252
6252
|
/* eslint-disable jsdoc/require-param */
|
|
6253
6253
|
|
|
@@ -6326,7 +6326,7 @@ class AuroHelpText extends LitElement {
|
|
|
6326
6326
|
this.onDark = false;
|
|
6327
6327
|
this.hasTextContent = false;
|
|
6328
6328
|
|
|
6329
|
-
AuroLibraryRuntimeUtils$
|
|
6329
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
6330
6330
|
}
|
|
6331
6331
|
|
|
6332
6332
|
static get styles() {
|
|
@@ -6382,7 +6382,7 @@ class AuroHelpText extends LitElement {
|
|
|
6382
6382
|
*
|
|
6383
6383
|
*/
|
|
6384
6384
|
static register(name = "auro-helptext") {
|
|
6385
|
-
AuroLibraryRuntimeUtils$
|
|
6385
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
|
|
6386
6386
|
}
|
|
6387
6387
|
|
|
6388
6388
|
updated() {
|
|
@@ -7445,7 +7445,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
7445
7445
|
|
|
7446
7446
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7447
7447
|
|
|
7448
|
-
let AuroLibraryRuntimeUtils$
|
|
7448
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
7449
7449
|
|
|
7450
7450
|
/* eslint-disable jsdoc/require-param */
|
|
7451
7451
|
|
|
@@ -8028,7 +8028,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
8028
8028
|
|
|
8029
8029
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8030
8030
|
|
|
8031
|
-
let AuroLibraryRuntimeUtils$
|
|
8031
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
8032
8032
|
|
|
8033
8033
|
/* eslint-disable jsdoc/require-param */
|
|
8034
8034
|
|
|
@@ -8123,7 +8123,7 @@ class AuroLoader extends LitElement {
|
|
|
8123
8123
|
/**
|
|
8124
8124
|
* @private
|
|
8125
8125
|
*/
|
|
8126
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
8126
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
8127
8127
|
|
|
8128
8128
|
this.orbit = false;
|
|
8129
8129
|
this.ringworm = false;
|
|
@@ -8186,7 +8186,7 @@ class AuroLoader extends LitElement {
|
|
|
8186
8186
|
*
|
|
8187
8187
|
*/
|
|
8188
8188
|
static register(name = "auro-loader") {
|
|
8189
|
-
AuroLibraryRuntimeUtils$
|
|
8189
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
8190
8190
|
}
|
|
8191
8191
|
|
|
8192
8192
|
firstUpdated() {
|
|
@@ -8466,7 +8466,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
8466
8466
|
*
|
|
8467
8467
|
*/
|
|
8468
8468
|
static register(name = "auro-button") {
|
|
8469
|
-
AuroLibraryRuntimeUtils$
|
|
8469
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
|
|
8470
8470
|
}
|
|
8471
8471
|
|
|
8472
8472
|
/**
|
|
@@ -8803,7 +8803,7 @@ var colorCss$4 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
8803
8803
|
|
|
8804
8804
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8805
8805
|
|
|
8806
|
-
|
|
8806
|
+
class AuroLibraryRuntimeUtils {
|
|
8807
8807
|
|
|
8808
8808
|
/* eslint-disable jsdoc/require-param */
|
|
8809
8809
|
|
|
@@ -8864,7 +8864,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
8864
8864
|
|
|
8865
8865
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
8866
8866
|
}
|
|
8867
|
-
}
|
|
8867
|
+
}
|
|
8868
8868
|
|
|
8869
8869
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8870
8870
|
// See LICENSE in the project root for license information.
|
|
@@ -8885,7 +8885,7 @@ class AuroIcon extends BaseIcon {
|
|
|
8885
8885
|
*/
|
|
8886
8886
|
privateDefaults() {
|
|
8887
8887
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
8888
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
8888
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
8889
8889
|
}
|
|
8890
8890
|
|
|
8891
8891
|
// function to define props used within the scope of this component
|
|
@@ -8967,7 +8967,7 @@ class AuroIcon extends BaseIcon {
|
|
|
8967
8967
|
*
|
|
8968
8968
|
*/
|
|
8969
8969
|
static register(name = "auro-icon") {
|
|
8970
|
-
AuroLibraryRuntimeUtils
|
|
8970
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
8971
8971
|
}
|
|
8972
8972
|
|
|
8973
8973
|
connectedCallback() {
|
|
@@ -9039,77 +9039,7 @@ class AuroIcon extends BaseIcon {
|
|
|
9039
9039
|
|
|
9040
9040
|
var iconVersion = '8.1.0';
|
|
9041
9041
|
|
|
9042
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9043
|
-
// See LICENSE in the project root for license information.
|
|
9044
|
-
|
|
9045
|
-
// ---------------------------------------------------------------------
|
|
9046
|
-
|
|
9047
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9048
|
-
|
|
9049
|
-
class AuroLibraryRuntimeUtils {
|
|
9050
|
-
|
|
9051
|
-
/* eslint-disable jsdoc/require-param */
|
|
9052
|
-
|
|
9053
|
-
/**
|
|
9054
|
-
* This will register a new custom element with the browser.
|
|
9055
|
-
* @param {String} name - The name of the custom element.
|
|
9056
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
9057
|
-
* @returns {void}
|
|
9058
|
-
*/
|
|
9059
|
-
registerComponent(name, componentClass) {
|
|
9060
|
-
if (!customElements.get(name)) {
|
|
9061
|
-
customElements.define(name, class extends componentClass {});
|
|
9062
|
-
}
|
|
9063
|
-
}
|
|
9064
|
-
|
|
9065
|
-
/**
|
|
9066
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
9067
|
-
* @returns {void}
|
|
9068
|
-
*/
|
|
9069
|
-
closestElement(
|
|
9070
|
-
selector, // selector like in .closest()
|
|
9071
|
-
base = this, // extra functionality to skip a parent
|
|
9072
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9073
|
-
!el || el === document || el === window
|
|
9074
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
9075
|
-
: found
|
|
9076
|
-
? found // found a selector INside this element
|
|
9077
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9078
|
-
) {
|
|
9079
|
-
return __Closest(base);
|
|
9080
|
-
}
|
|
9081
|
-
/* eslint-enable jsdoc/require-param */
|
|
9082
|
-
|
|
9083
|
-
/**
|
|
9084
|
-
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
9085
|
-
* @param {Object} elem - The element to check.
|
|
9086
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9087
|
-
* @returns {void}
|
|
9088
|
-
*/
|
|
9089
|
-
handleComponentTagRename(elem, tagName) {
|
|
9090
|
-
const tag = tagName.toLowerCase();
|
|
9091
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9092
|
-
|
|
9093
|
-
if (elemTag !== tag) {
|
|
9094
|
-
elem.setAttribute(tag, true);
|
|
9095
|
-
}
|
|
9096
|
-
}
|
|
9097
|
-
|
|
9098
|
-
/**
|
|
9099
|
-
* Validates if an element is a specific Auro component.
|
|
9100
|
-
* @param {Object} elem - The element to validate.
|
|
9101
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
9102
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9103
|
-
*/
|
|
9104
|
-
elementMatch(elem, tagName) {
|
|
9105
|
-
const tag = tagName.toLowerCase();
|
|
9106
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9107
|
-
|
|
9108
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
9109
|
-
}
|
|
9110
|
-
}
|
|
9111
|
-
|
|
9112
|
-
var styleCss$5 = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.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, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.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)}`;
|
|
9042
|
+
var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.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.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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-xl{font-family:var(--wcss-accent-xl-family, "Good OT", 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", 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-md{font-family:var(--wcss-accent-md-family, "Good OT", 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", 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-xs{font-family:var(--wcss-accent-xs-family, "Good OT", 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", 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)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.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, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.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)}`;
|
|
9113
9043
|
|
|
9114
9044
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9115
9045
|
// See LICENSE in the project root for license information.
|
|
@@ -9119,13 +9049,12 @@ var styleCss$5 = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-head
|
|
|
9119
9049
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
9120
9050
|
*
|
|
9121
9051
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
9122
|
-
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
9123
|
-
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
9124
9052
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
9053
|
+
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
9054
|
+
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
9125
9055
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
9126
9056
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
9127
9057
|
*/
|
|
9128
|
-
|
|
9129
9058
|
/* eslint complexity: ["error", 21] */
|
|
9130
9059
|
|
|
9131
9060
|
// build the component class
|
|
@@ -9138,7 +9067,7 @@ class AuroHeader extends LitElement {
|
|
|
9138
9067
|
/**
|
|
9139
9068
|
* @private
|
|
9140
9069
|
*/
|
|
9141
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
9070
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
9142
9071
|
}
|
|
9143
9072
|
|
|
9144
9073
|
// function to define props used within the scope of this component
|
|
@@ -9159,6 +9088,22 @@ class AuroHeader extends LitElement {
|
|
|
9159
9088
|
return [styleCss$5];
|
|
9160
9089
|
}
|
|
9161
9090
|
|
|
9091
|
+
/**
|
|
9092
|
+
* Mapping of display values to their corresponding CSS classes
|
|
9093
|
+
* @private
|
|
9094
|
+
*/
|
|
9095
|
+
static get displayClassMap() {
|
|
9096
|
+
return {
|
|
9097
|
+
'display': 'heading-xl',
|
|
9098
|
+
'800': 'heading-xl',
|
|
9099
|
+
'700': 'heading-lg',
|
|
9100
|
+
'600': 'heading-md',
|
|
9101
|
+
'500': 'heading-sm',
|
|
9102
|
+
'400': 'heading-xs',
|
|
9103
|
+
'300': 'heading-2xs'
|
|
9104
|
+
};
|
|
9105
|
+
}
|
|
9106
|
+
|
|
9162
9107
|
/**
|
|
9163
9108
|
* This will register this element with the browser.
|
|
9164
9109
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -9168,7 +9113,7 @@ class AuroHeader extends LitElement {
|
|
|
9168
9113
|
*
|
|
9169
9114
|
*/
|
|
9170
9115
|
static register(name = "auro-header") {
|
|
9171
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
9116
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHeader);
|
|
9172
9117
|
}
|
|
9173
9118
|
|
|
9174
9119
|
firstUpdated() {
|
|
@@ -9235,23 +9180,42 @@ class AuroHeader extends LitElement {
|
|
|
9235
9180
|
this.display = 'display';
|
|
9236
9181
|
}
|
|
9237
9182
|
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9183
|
+
const headingLevel = level || '1';
|
|
9184
|
+
const spacingClasses = this.spacingDecision(this.size);
|
|
9185
|
+
|
|
9186
|
+
// Get the CSS class based on the display prop
|
|
9187
|
+
const headingClass = AuroHeader.displayClassMap[this.display];
|
|
9188
|
+
|
|
9189
|
+
const classObject = {
|
|
9190
|
+
'heading': true,
|
|
9191
|
+
[`heading--${this.display}`]: true,
|
|
9192
|
+
[headingClass]: true
|
|
9193
|
+
};
|
|
9194
|
+
|
|
9195
|
+
// Add spacing classes to the class object if they exist
|
|
9196
|
+
if (spacingClasses) {
|
|
9197
|
+
const spacingClassArray = spacingClasses.split(' ');
|
|
9198
|
+
spacingClassArray.forEach(cls => {
|
|
9199
|
+
if (cls.trim()) {
|
|
9200
|
+
classObject[cls.trim()] = true;
|
|
9201
|
+
}
|
|
9202
|
+
});
|
|
9245
9203
|
}
|
|
9204
|
+
|
|
9205
|
+
const headerClasses = classMap(classObject);
|
|
9206
|
+
|
|
9207
|
+
// unsafeStatic dynamically creates tag names at runtime
|
|
9208
|
+
const tag = unsafeStatic(`h${headingLevel}`);
|
|
9209
|
+
return html$1`<${tag} class="${headerClasses}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
9246
9210
|
}
|
|
9211
|
+
|
|
9247
9212
|
// function that renders the HTML and CSS into the scope of the component
|
|
9248
|
-
|
|
9249
9213
|
render() {
|
|
9250
9214
|
return this.template(this.level);
|
|
9251
9215
|
}
|
|
9252
9216
|
}
|
|
9253
9217
|
|
|
9254
|
-
var headerVersion = '4.0.
|
|
9218
|
+
var headerVersion = '4.0.2';
|
|
9255
9219
|
|
|
9256
9220
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9257
9221
|
// See LICENSE in the project root for license information.
|
|
@@ -9264,7 +9228,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9264
9228
|
|
|
9265
9229
|
this.large = false;
|
|
9266
9230
|
|
|
9267
|
-
AuroLibraryRuntimeUtils$
|
|
9231
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
9268
9232
|
|
|
9269
9233
|
const versioning = new AuroDependencyVersioning();
|
|
9270
9234
|
|
|
@@ -9316,7 +9280,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9316
9280
|
*
|
|
9317
9281
|
*/
|
|
9318
9282
|
static register(name = "auro-bibtemplate") {
|
|
9319
|
-
AuroLibraryRuntimeUtils$
|
|
9283
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
|
|
9320
9284
|
}
|
|
9321
9285
|
|
|
9322
9286
|
/**
|
|
@@ -9435,7 +9399,7 @@ class AuroCounterWrapper extends LitElement {
|
|
|
9435
9399
|
* AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
|
|
9436
9400
|
*/
|
|
9437
9401
|
static register(name = "auro-counter-wrapper") {
|
|
9438
|
-
AuroLibraryRuntimeUtils$
|
|
9402
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCounterWrapper);
|
|
9439
9403
|
}
|
|
9440
9404
|
|
|
9441
9405
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -10131,7 +10095,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10131
10095
|
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
10132
10096
|
*/
|
|
10133
10097
|
static register(name = "auro-counter-group") {
|
|
10134
|
-
AuroLibraryRuntimeUtils$
|
|
10098
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCounterGroup);
|
|
10135
10099
|
}
|
|
10136
10100
|
|
|
10137
10101
|
/**
|