@aurodesignsystem-dev/auro-formkit 0.0.0-pr788.0 → 0.0.0-pr792.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/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +99 -64
- package/components/bibtemplate/dist/registered.js +99 -64
- package/components/combobox/README.md +0 -2
- package/components/combobox/demo/api.md +0 -6
- package/components/combobox/demo/api.min.js +120 -98
- package/components/combobox/demo/index.md +0 -12
- package/components/combobox/demo/index.min.js +120 -98
- package/components/combobox/demo/readme.md +0 -2
- package/components/combobox/dist/auro-combobox.d.ts +0 -2
- package/components/combobox/dist/index.js +115 -93
- package/components/combobox/dist/registered.js +115 -93
- package/components/counter/demo/api.md +0 -9
- package/components/counter/demo/api.min.js +119 -86
- package/components/counter/demo/index.md +0 -6
- package/components/counter/demo/index.min.js +119 -86
- package/components/counter/dist/auro-counter-group.d.ts +0 -1
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +119 -86
- package/components/counter/dist/registered.js +119 -86
- package/components/datepicker/README.md +0 -1
- package/components/datepicker/demo/api.md +0 -11
- package/components/datepicker/demo/api.min.js +100 -77
- package/components/datepicker/demo/index.md +0 -12
- package/components/datepicker/demo/index.min.js +100 -77
- package/components/datepicker/demo/readme.md +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -1
- package/components/datepicker/dist/index.js +100 -77
- package/components/datepicker/dist/registered.js +100 -77
- package/components/input/README.md +0 -1
- package/components/input/demo/api.md +6 -14
- package/components/input/demo/api.min.js +2 -11
- package/components/input/demo/index.md +0 -7
- package/components/input/demo/index.min.js +2 -11
- package/components/input/demo/readme.md +0 -1
- package/components/input/dist/base-input.d.ts +0 -3
- package/components/input/dist/index.js +2 -11
- package/components/input/dist/registered.js +2 -11
- package/components/menu/demo/api.min.js +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/select/README.md +0 -1
- package/components/select/demo/api.md +0 -3
- package/components/select/demo/api.min.js +110 -79
- package/components/select/demo/index.md +0 -8
- package/components/select/demo/index.min.js +110 -79
- package/components/select/demo/readme.md +0 -1
- package/components/select/dist/auro-select.d.ts +0 -1
- package/components/select/dist/index.js +105 -74
- package/components/select/dist/registered.js +105 -74
- package/package.json +1 -1
|
@@ -568,7 +568,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
568
568
|
|
|
569
569
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
570
570
|
|
|
571
|
-
let AuroLibraryRuntimeUtils$
|
|
571
|
+
let AuroLibraryRuntimeUtils$8 = class AuroLibraryRuntimeUtils {
|
|
572
572
|
|
|
573
573
|
/* eslint-disable jsdoc/require-param */
|
|
574
574
|
|
|
@@ -646,7 +646,7 @@ var shapeSize$1 = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-s
|
|
|
646
646
|
|
|
647
647
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
648
648
|
|
|
649
|
-
let AuroLibraryRuntimeUtils$
|
|
649
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
650
650
|
|
|
651
651
|
/* eslint-disable jsdoc/require-param */
|
|
652
652
|
|
|
@@ -741,7 +741,7 @@ let AuroLoader$1 = class AuroLoader extends i$2 {
|
|
|
741
741
|
/**
|
|
742
742
|
* @private
|
|
743
743
|
*/
|
|
744
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
744
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
745
745
|
|
|
746
746
|
this.orbit = false;
|
|
747
747
|
this.ringworm = false;
|
|
@@ -804,7 +804,7 @@ let AuroLoader$1 = class AuroLoader extends i$2 {
|
|
|
804
804
|
*
|
|
805
805
|
*/
|
|
806
806
|
static register(name = "auro-loader") {
|
|
807
|
-
AuroLibraryRuntimeUtils$
|
|
807
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroLoader);
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
firstUpdated() {
|
|
@@ -1084,7 +1084,7 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
|
|
|
1084
1084
|
*
|
|
1085
1085
|
*/
|
|
1086
1086
|
static register(name = "auro-button") {
|
|
1087
|
-
AuroLibraryRuntimeUtils$
|
|
1087
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroButton);
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
@@ -1289,7 +1289,7 @@ class AuroCounterButton extends AuroButton$1 {
|
|
|
1289
1289
|
*
|
|
1290
1290
|
*/
|
|
1291
1291
|
static register(name = "auro-counter-button") {
|
|
1292
|
-
AuroLibraryRuntimeUtils$
|
|
1292
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroCounterButton);
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
@@ -1460,7 +1460,7 @@ var colorCss$8 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
1460
1460
|
|
|
1461
1461
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
1462
1462
|
|
|
1463
|
-
let AuroLibraryRuntimeUtils$
|
|
1463
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
1464
1464
|
|
|
1465
1465
|
/* eslint-disable jsdoc/require-param */
|
|
1466
1466
|
|
|
@@ -1542,7 +1542,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1542
1542
|
*/
|
|
1543
1543
|
privateDefaults() {
|
|
1544
1544
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
1545
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
1545
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
1548
|
// function to define props used within the scope of this component
|
|
@@ -1624,7 +1624,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1624
1624
|
*
|
|
1625
1625
|
*/
|
|
1626
1626
|
static register(name = "auro-icon") {
|
|
1627
|
-
AuroLibraryRuntimeUtils$
|
|
1627
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroIcon);
|
|
1628
1628
|
}
|
|
1629
1629
|
|
|
1630
1630
|
connectedCallback() {
|
|
@@ -1694,7 +1694,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
};
|
|
1696
1696
|
|
|
1697
|
-
var iconVersion$2 = '8.
|
|
1697
|
+
var iconVersion$2 = '8.0.4';
|
|
1698
1698
|
|
|
1699
1699
|
class DateFormatter {
|
|
1700
1700
|
|
|
@@ -2112,7 +2112,7 @@ const {
|
|
|
2112
2112
|
class AuroFormValidation {
|
|
2113
2113
|
|
|
2114
2114
|
constructor() {
|
|
2115
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
2115
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$8();
|
|
2116
2116
|
}
|
|
2117
2117
|
|
|
2118
2118
|
/**
|
|
@@ -2528,7 +2528,7 @@ var tokensCss$4 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
2528
2528
|
|
|
2529
2529
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2530
2530
|
|
|
2531
|
-
let AuroLibraryRuntimeUtils$
|
|
2531
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
2532
2532
|
|
|
2533
2533
|
/* eslint-disable jsdoc/require-param */
|
|
2534
2534
|
|
|
@@ -2609,7 +2609,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
2609
2609
|
this.onDark = false;
|
|
2610
2610
|
this.hasTextContent = false;
|
|
2611
2611
|
|
|
2612
|
-
AuroLibraryRuntimeUtils$
|
|
2612
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
2613
2613
|
}
|
|
2614
2614
|
|
|
2615
2615
|
static get styles() {
|
|
@@ -2665,7 +2665,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
2665
2665
|
*
|
|
2666
2666
|
*/
|
|
2667
2667
|
static register(name = "auro-helptext") {
|
|
2668
|
-
AuroLibraryRuntimeUtils$
|
|
2668
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
2669
2669
|
}
|
|
2670
2670
|
|
|
2671
2671
|
updated() {
|
|
@@ -2893,7 +2893,7 @@ class AuroCounter extends i$2 {
|
|
|
2893
2893
|
* AuroCounter.register("custom-counter") // registers <custom-counter/>
|
|
2894
2894
|
*/
|
|
2895
2895
|
static register(name = "auro-counter") {
|
|
2896
|
-
AuroLibraryRuntimeUtils$
|
|
2896
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroCounter);
|
|
2897
2897
|
}
|
|
2898
2898
|
|
|
2899
2899
|
static get styles() {
|
|
@@ -6290,7 +6290,7 @@ var tokensCss$3 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
6290
6290
|
|
|
6291
6291
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6292
6292
|
|
|
6293
|
-
let AuroLibraryRuntimeUtils$
|
|
6293
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
6294
6294
|
|
|
6295
6295
|
/* eslint-disable jsdoc/require-param */
|
|
6296
6296
|
|
|
@@ -6371,7 +6371,7 @@ class AuroHelpText extends i$2 {
|
|
|
6371
6371
|
this.onDark = false;
|
|
6372
6372
|
this.hasTextContent = false;
|
|
6373
6373
|
|
|
6374
|
-
AuroLibraryRuntimeUtils$
|
|
6374
|
+
AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
6375
6375
|
}
|
|
6376
6376
|
|
|
6377
6377
|
static get styles() {
|
|
@@ -6427,7 +6427,7 @@ class AuroHelpText extends i$2 {
|
|
|
6427
6427
|
*
|
|
6428
6428
|
*/
|
|
6429
6429
|
static register(name = "auro-helptext") {
|
|
6430
|
-
AuroLibraryRuntimeUtils$
|
|
6430
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHelpText);
|
|
6431
6431
|
}
|
|
6432
6432
|
|
|
6433
6433
|
updated() {
|
|
@@ -7544,7 +7544,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
7544
7544
|
|
|
7545
7545
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7546
7546
|
|
|
7547
|
-
let AuroLibraryRuntimeUtils$
|
|
7547
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
7548
7548
|
|
|
7549
7549
|
/* eslint-disable jsdoc/require-param */
|
|
7550
7550
|
|
|
@@ -8127,7 +8127,7 @@ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
8127
8127
|
|
|
8128
8128
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8129
8129
|
|
|
8130
|
-
let AuroLibraryRuntimeUtils$
|
|
8130
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
8131
8131
|
|
|
8132
8132
|
/* eslint-disable jsdoc/require-param */
|
|
8133
8133
|
|
|
@@ -8222,7 +8222,7 @@ class AuroLoader extends i$2 {
|
|
|
8222
8222
|
/**
|
|
8223
8223
|
* @private
|
|
8224
8224
|
*/
|
|
8225
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
8225
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
8226
8226
|
|
|
8227
8227
|
this.orbit = false;
|
|
8228
8228
|
this.ringworm = false;
|
|
@@ -8285,7 +8285,7 @@ class AuroLoader extends i$2 {
|
|
|
8285
8285
|
*
|
|
8286
8286
|
*/
|
|
8287
8287
|
static register(name = "auro-loader") {
|
|
8288
|
-
AuroLibraryRuntimeUtils$
|
|
8288
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
8289
8289
|
}
|
|
8290
8290
|
|
|
8291
8291
|
firstUpdated() {
|
|
@@ -8565,7 +8565,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
8565
8565
|
*
|
|
8566
8566
|
*/
|
|
8567
8567
|
static register(name = "auro-button") {
|
|
8568
|
-
AuroLibraryRuntimeUtils$
|
|
8568
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
8569
8569
|
}
|
|
8570
8570
|
|
|
8571
8571
|
/**
|
|
@@ -8902,7 +8902,7 @@ var colorCss$4 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
8902
8902
|
|
|
8903
8903
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8904
8904
|
|
|
8905
|
-
class AuroLibraryRuntimeUtils {
|
|
8905
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
8906
8906
|
|
|
8907
8907
|
/* eslint-disable jsdoc/require-param */
|
|
8908
8908
|
|
|
@@ -8963,7 +8963,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
8963
8963
|
|
|
8964
8964
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
8965
8965
|
}
|
|
8966
|
-
}
|
|
8966
|
+
};
|
|
8967
8967
|
|
|
8968
8968
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8969
8969
|
// See LICENSE in the project root for license information.
|
|
@@ -8984,7 +8984,7 @@ class AuroIcon extends BaseIcon {
|
|
|
8984
8984
|
*/
|
|
8985
8985
|
privateDefaults() {
|
|
8986
8986
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
8987
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
8987
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
8988
8988
|
}
|
|
8989
8989
|
|
|
8990
8990
|
// function to define props used within the scope of this component
|
|
@@ -9066,7 +9066,7 @@ class AuroIcon extends BaseIcon {
|
|
|
9066
9066
|
*
|
|
9067
9067
|
*/
|
|
9068
9068
|
static register(name = "auro-icon") {
|
|
9069
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
9069
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
9070
9070
|
}
|
|
9071
9071
|
|
|
9072
9072
|
connectedCallback() {
|
|
@@ -9136,9 +9136,79 @@ class AuroIcon extends BaseIcon {
|
|
|
9136
9136
|
}
|
|
9137
9137
|
}
|
|
9138
9138
|
|
|
9139
|
-
var iconVersion = '8.
|
|
9139
|
+
var iconVersion = '8.0.4';
|
|
9140
|
+
|
|
9141
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9142
|
+
// See LICENSE in the project root for license information.
|
|
9143
|
+
|
|
9144
|
+
// ---------------------------------------------------------------------
|
|
9145
|
+
|
|
9146
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9147
|
+
|
|
9148
|
+
class AuroLibraryRuntimeUtils {
|
|
9140
9149
|
|
|
9141
|
-
var styleCss$5 = i$5`.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)}`;
|
|
9150
|
+
/* eslint-disable jsdoc/require-param */
|
|
9151
|
+
|
|
9152
|
+
/**
|
|
9153
|
+
* This will register a new custom element with the browser.
|
|
9154
|
+
* @param {String} name - The name of the custom element.
|
|
9155
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
9156
|
+
* @returns {void}
|
|
9157
|
+
*/
|
|
9158
|
+
registerComponent(name, componentClass) {
|
|
9159
|
+
if (!customElements.get(name)) {
|
|
9160
|
+
customElements.define(name, class extends componentClass {});
|
|
9161
|
+
}
|
|
9162
|
+
}
|
|
9163
|
+
|
|
9164
|
+
/**
|
|
9165
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
9166
|
+
* @returns {void}
|
|
9167
|
+
*/
|
|
9168
|
+
closestElement(
|
|
9169
|
+
selector, // selector like in .closest()
|
|
9170
|
+
base = this, // extra functionality to skip a parent
|
|
9171
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9172
|
+
!el || el === document || el === window
|
|
9173
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
9174
|
+
: found
|
|
9175
|
+
? found // found a selector INside this element
|
|
9176
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9177
|
+
) {
|
|
9178
|
+
return __Closest(base);
|
|
9179
|
+
}
|
|
9180
|
+
/* eslint-enable jsdoc/require-param */
|
|
9181
|
+
|
|
9182
|
+
/**
|
|
9183
|
+
* 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.
|
|
9184
|
+
* @param {Object} elem - The element to check.
|
|
9185
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9186
|
+
* @returns {void}
|
|
9187
|
+
*/
|
|
9188
|
+
handleComponentTagRename(elem, tagName) {
|
|
9189
|
+
const tag = tagName.toLowerCase();
|
|
9190
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9191
|
+
|
|
9192
|
+
if (elemTag !== tag) {
|
|
9193
|
+
elem.setAttribute(tag, true);
|
|
9194
|
+
}
|
|
9195
|
+
}
|
|
9196
|
+
|
|
9197
|
+
/**
|
|
9198
|
+
* Validates if an element is a specific Auro component.
|
|
9199
|
+
* @param {Object} elem - The element to validate.
|
|
9200
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
9201
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9202
|
+
*/
|
|
9203
|
+
elementMatch(elem, tagName) {
|
|
9204
|
+
const tag = tagName.toLowerCase();
|
|
9205
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9206
|
+
|
|
9207
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
9208
|
+
}
|
|
9209
|
+
}
|
|
9210
|
+
|
|
9211
|
+
var styleCss$5 = i$5`.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)}`;
|
|
9142
9212
|
|
|
9143
9213
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9144
9214
|
// See LICENSE in the project root for license information.
|
|
@@ -9148,12 +9218,13 @@ var styleCss$5 = i$5`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
9148
9218
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
9149
9219
|
*
|
|
9150
9220
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
9221
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
9222
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
9151
9223
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
9152
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
9153
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
9154
9224
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
9155
9225
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
9156
9226
|
*/
|
|
9227
|
+
|
|
9157
9228
|
/* eslint complexity: ["error", 21] */
|
|
9158
9229
|
|
|
9159
9230
|
// build the component class
|
|
@@ -9166,7 +9237,7 @@ class AuroHeader extends i$2 {
|
|
|
9166
9237
|
/**
|
|
9167
9238
|
* @private
|
|
9168
9239
|
*/
|
|
9169
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
9240
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
9170
9241
|
}
|
|
9171
9242
|
|
|
9172
9243
|
// function to define props used within the scope of this component
|
|
@@ -9187,22 +9258,6 @@ class AuroHeader extends i$2 {
|
|
|
9187
9258
|
return [styleCss$5];
|
|
9188
9259
|
}
|
|
9189
9260
|
|
|
9190
|
-
/**
|
|
9191
|
-
* Mapping of display values to their corresponding CSS classes
|
|
9192
|
-
* @private
|
|
9193
|
-
*/
|
|
9194
|
-
static get displayClassMap() {
|
|
9195
|
-
return {
|
|
9196
|
-
'display': 'heading-xl',
|
|
9197
|
-
'800': 'heading-xl',
|
|
9198
|
-
'700': 'heading-lg',
|
|
9199
|
-
'600': 'heading-md',
|
|
9200
|
-
'500': 'heading-sm',
|
|
9201
|
-
'400': 'heading-xs',
|
|
9202
|
-
'300': 'heading-2xs'
|
|
9203
|
-
};
|
|
9204
|
-
}
|
|
9205
|
-
|
|
9206
9261
|
/**
|
|
9207
9262
|
* This will register this element with the browser.
|
|
9208
9263
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -9212,7 +9267,7 @@ class AuroHeader extends i$2 {
|
|
|
9212
9267
|
*
|
|
9213
9268
|
*/
|
|
9214
9269
|
static register(name = "auro-header") {
|
|
9215
|
-
AuroLibraryRuntimeUtils
|
|
9270
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
9216
9271
|
}
|
|
9217
9272
|
|
|
9218
9273
|
firstUpdated() {
|
|
@@ -9279,42 +9334,23 @@ class AuroHeader extends i$2 {
|
|
|
9279
9334
|
this.display = 'display';
|
|
9280
9335
|
}
|
|
9281
9336
|
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
'heading': true,
|
|
9290
|
-
[`heading--${this.display}`]: true,
|
|
9291
|
-
[headingClass]: true
|
|
9292
|
-
};
|
|
9293
|
-
|
|
9294
|
-
// Add spacing classes to the class object if they exist
|
|
9295
|
-
if (spacingClasses) {
|
|
9296
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
9297
|
-
spacingClassArray.forEach(cls => {
|
|
9298
|
-
if (cls.trim()) {
|
|
9299
|
-
classObject[cls.trim()] = true;
|
|
9300
|
-
}
|
|
9301
|
-
});
|
|
9337
|
+
switch (level) {
|
|
9338
|
+
case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h2>`;
|
|
9339
|
+
case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h3>`;
|
|
9340
|
+
case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h4>`;
|
|
9341
|
+
case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h5>`;
|
|
9342
|
+
case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h6>`;
|
|
9343
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
9302
9344
|
}
|
|
9303
|
-
|
|
9304
|
-
const headerClasses = e(classObject);
|
|
9305
|
-
|
|
9306
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
9307
|
-
const tag = s(`h${headingLevel}`);
|
|
9308
|
-
return u`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
9309
9345
|
}
|
|
9310
|
-
|
|
9311
9346
|
// function that renders the HTML and CSS into the scope of the component
|
|
9347
|
+
|
|
9312
9348
|
render() {
|
|
9313
9349
|
return this.template(this.level);
|
|
9314
9350
|
}
|
|
9315
9351
|
}
|
|
9316
9352
|
|
|
9317
|
-
var headerVersion = '4.0.
|
|
9353
|
+
var headerVersion = '4.0.1';
|
|
9318
9354
|
|
|
9319
9355
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9320
9356
|
// See LICENSE in the project root for license information.
|
|
@@ -9327,7 +9363,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
9327
9363
|
|
|
9328
9364
|
this.large = false;
|
|
9329
9365
|
|
|
9330
|
-
AuroLibraryRuntimeUtils$
|
|
9366
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
9331
9367
|
|
|
9332
9368
|
const versioning = new AuroDependencyVersioning();
|
|
9333
9369
|
|
|
@@ -9379,7 +9415,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
9379
9415
|
*
|
|
9380
9416
|
*/
|
|
9381
9417
|
static register(name = "auro-bibtemplate") {
|
|
9382
|
-
AuroLibraryRuntimeUtils$
|
|
9418
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
9383
9419
|
}
|
|
9384
9420
|
|
|
9385
9421
|
/**
|
|
@@ -9437,9 +9473,8 @@ class AuroBibtemplate extends i$2 {
|
|
|
9437
9473
|
<div id="bibTemplate" part="bibtemplate">
|
|
9438
9474
|
${this.isFullscreen ? u`
|
|
9439
9475
|
<div id="headerContainer">
|
|
9440
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9441
|
-
|
|
9442
|
-
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
9476
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9477
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
9443
9478
|
</${this.buttonTag}>
|
|
9444
9479
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9445
9480
|
<slot name="header"></slot>
|
|
@@ -9499,7 +9534,7 @@ class AuroCounterWrapper extends i$2 {
|
|
|
9499
9534
|
* AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
|
|
9500
9535
|
*/
|
|
9501
9536
|
static register(name = "auro-counter-wrapper") {
|
|
9502
|
-
AuroLibraryRuntimeUtils$
|
|
9537
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroCounterWrapper);
|
|
9503
9538
|
}
|
|
9504
9539
|
|
|
9505
9540
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -9633,7 +9668,6 @@ class AuroElement extends i$2 {
|
|
|
9633
9668
|
* @element auro-counter-group
|
|
9634
9669
|
* @extends LitElement
|
|
9635
9670
|
* @slot default - Slot for counter elements.
|
|
9636
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
9637
9671
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
9638
9672
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
9639
9673
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -10196,7 +10230,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10196
10230
|
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
10197
10231
|
*/
|
|
10198
10232
|
static register(name = "auro-counter-group") {
|
|
10199
|
-
AuroLibraryRuntimeUtils$
|
|
10233
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroCounterGroup);
|
|
10200
10234
|
}
|
|
10201
10235
|
|
|
10202
10236
|
/**
|
|
@@ -10321,7 +10355,6 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10321
10355
|
renderBibTemplate() {
|
|
10322
10356
|
return u`
|
|
10323
10357
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
10324
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close"></slot>
|
|
10325
10358
|
${this.renderCounterGroup(true)}
|
|
10326
10359
|
</${this.bibtemplateTag}>
|
|
10327
10360
|
`;
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* @element auro-counter-group
|
|
8
8
|
* @extends LitElement
|
|
9
9
|
* @slot default - Slot for counter elements.
|
|
10
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
11
10
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
12
11
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
13
12
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "8.
|
|
1
|
+
declare const _default: "8.0.4";
|
|
2
2
|
export default _default;
|