@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
|
@@ -21,7 +21,6 @@ A baseline `<auro-select>` using `<auro-menu>` and `<auro-menuoption>` elements.
|
|
|
21
21
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
22
22
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
23
23
|
<auro-select>
|
|
24
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
25
24
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
26
25
|
<span slot="label">Select Example</span>
|
|
27
26
|
<auro-menu>
|
|
@@ -59,7 +58,6 @@ A baseline `<auro-select>` using `<auro-menu>` and `<auro-menuoption>` elements.
|
|
|
59
58
|
|
|
60
59
|
```html
|
|
61
60
|
<auro-select>
|
|
62
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
63
61
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
64
62
|
<span slot="label">Select Example</span>
|
|
65
63
|
<auro-menu>
|
|
@@ -104,7 +102,6 @@ The `classic` layout is default for `auro-select`. No customization is needed to
|
|
|
104
102
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
105
103
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
106
104
|
<auro-select>
|
|
107
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
108
105
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
109
106
|
<span slot="label">Select Example</span>
|
|
110
107
|
<auro-menu>
|
|
@@ -125,7 +122,6 @@ The `classic` layout is default for `auro-select`. No customization is needed to
|
|
|
125
122
|
|
|
126
123
|
```html
|
|
127
124
|
<auro-select>
|
|
128
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
129
125
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
130
126
|
<span slot="label">Select Example</span>
|
|
131
127
|
<auro-menu>
|
|
@@ -158,7 +154,6 @@ The `emphasized` layout supports the following sizes:
|
|
|
158
154
|
<!-- The below content is automatically added from ./../apiExamples/emphasized/basic-ondark.html -->
|
|
159
155
|
<div>
|
|
160
156
|
<auro-select layout="emphasized" shape="pill" size="xl" ondark required style="width:300px;">
|
|
161
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
162
157
|
<span slot="label">Label</span>
|
|
163
158
|
<span slot="helpText">Help Text</span>
|
|
164
159
|
<auro-menu nocheckmark>
|
|
@@ -234,7 +229,6 @@ The `emphasized` layout supports the following sizes:
|
|
|
234
229
|
```html
|
|
235
230
|
<div>
|
|
236
231
|
<auro-select layout="emphasized" shape="pill" size="xl" ondark required style="width:300px;">
|
|
237
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
238
232
|
<span slot="label">Label</span>
|
|
239
233
|
<span slot="helpText">Help Text</span>
|
|
240
234
|
<auro-menu nocheckmark>
|
|
@@ -312,7 +306,6 @@ The `snowflake` layout is a unique, one off layout that does not follow the norm
|
|
|
312
306
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic-ondark.html) -->
|
|
313
307
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/basic-ondark.html -->
|
|
314
308
|
<auro-select layout="snowflake" shape="snowflake" ondark required style="width:300px;">
|
|
315
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
316
309
|
<span slot="label">Label</span>
|
|
317
310
|
<span slot="helpText">Help Text</span>
|
|
318
311
|
<auro-menu nocheckmark>
|
|
@@ -342,7 +335,6 @@ The `snowflake` layout is a unique, one off layout that does not follow the norm
|
|
|
342
335
|
|
|
343
336
|
```html
|
|
344
337
|
<auro-select layout="snowflake" shape="snowflake" ondark required style="width:300px;">
|
|
345
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
346
338
|
<span slot="label">Label</span>
|
|
347
339
|
<span slot="helpText">Help Text</span>
|
|
348
340
|
<auro-menu nocheckmark>
|
|
@@ -559,7 +559,7 @@ const {
|
|
|
559
559
|
|
|
560
560
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
561
561
|
|
|
562
|
-
let AuroLibraryRuntimeUtils$
|
|
562
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
563
563
|
|
|
564
564
|
/* eslint-disable jsdoc/require-param */
|
|
565
565
|
|
|
@@ -629,7 +629,7 @@ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
|
629
629
|
class AuroFormValidation {
|
|
630
630
|
|
|
631
631
|
constructor() {
|
|
632
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
632
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
/**
|
|
@@ -4213,7 +4213,7 @@ var tokensCss$4 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4213
4213
|
|
|
4214
4214
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4215
4215
|
|
|
4216
|
-
let AuroLibraryRuntimeUtils$
|
|
4216
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
4217
4217
|
|
|
4218
4218
|
/* eslint-disable jsdoc/require-param */
|
|
4219
4219
|
|
|
@@ -4294,7 +4294,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4294
4294
|
this.onDark = false;
|
|
4295
4295
|
this.hasTextContent = false;
|
|
4296
4296
|
|
|
4297
|
-
AuroLibraryRuntimeUtils$
|
|
4297
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
4298
4298
|
}
|
|
4299
4299
|
|
|
4300
4300
|
static get styles() {
|
|
@@ -4350,7 +4350,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4350
4350
|
*
|
|
4351
4351
|
*/
|
|
4352
4352
|
static register(name = "auro-helptext") {
|
|
4353
|
-
AuroLibraryRuntimeUtils$
|
|
4353
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
4354
4354
|
}
|
|
4355
4355
|
|
|
4356
4356
|
updated() {
|
|
@@ -5467,7 +5467,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
5467
5467
|
|
|
5468
5468
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5469
5469
|
|
|
5470
|
-
let AuroLibraryRuntimeUtils$
|
|
5470
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
5471
5471
|
|
|
5472
5472
|
/* eslint-disable jsdoc/require-param */
|
|
5473
5473
|
|
|
@@ -6050,7 +6050,7 @@ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
6050
6050
|
|
|
6051
6051
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6052
6052
|
|
|
6053
|
-
let AuroLibraryRuntimeUtils$
|
|
6053
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
6054
6054
|
|
|
6055
6055
|
/* eslint-disable jsdoc/require-param */
|
|
6056
6056
|
|
|
@@ -6145,7 +6145,7 @@ class AuroLoader extends i$2 {
|
|
|
6145
6145
|
/**
|
|
6146
6146
|
* @private
|
|
6147
6147
|
*/
|
|
6148
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6148
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
6149
6149
|
|
|
6150
6150
|
this.orbit = false;
|
|
6151
6151
|
this.ringworm = false;
|
|
@@ -6208,7 +6208,7 @@ class AuroLoader extends i$2 {
|
|
|
6208
6208
|
*
|
|
6209
6209
|
*/
|
|
6210
6210
|
static register(name = "auro-loader") {
|
|
6211
|
-
AuroLibraryRuntimeUtils$
|
|
6211
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
6212
6212
|
}
|
|
6213
6213
|
|
|
6214
6214
|
firstUpdated() {
|
|
@@ -6488,7 +6488,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
6488
6488
|
*
|
|
6489
6489
|
*/
|
|
6490
6490
|
static register(name = "auro-button") {
|
|
6491
|
-
AuroLibraryRuntimeUtils$
|
|
6491
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
6492
6492
|
}
|
|
6493
6493
|
|
|
6494
6494
|
/**
|
|
@@ -6825,7 +6825,7 @@ var colorCss$4 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
6825
6825
|
|
|
6826
6826
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6827
6827
|
|
|
6828
|
-
let AuroLibraryRuntimeUtils$
|
|
6828
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
6829
6829
|
|
|
6830
6830
|
/* eslint-disable jsdoc/require-param */
|
|
6831
6831
|
|
|
@@ -6907,7 +6907,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6907
6907
|
*/
|
|
6908
6908
|
privateDefaults() {
|
|
6909
6909
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
6910
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6910
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
6911
6911
|
}
|
|
6912
6912
|
|
|
6913
6913
|
// function to define props used within the scope of this component
|
|
@@ -6989,7 +6989,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6989
6989
|
*
|
|
6990
6990
|
*/
|
|
6991
6991
|
static register(name = "auro-icon") {
|
|
6992
|
-
AuroLibraryRuntimeUtils$
|
|
6992
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
6993
6993
|
}
|
|
6994
6994
|
|
|
6995
6995
|
connectedCallback() {
|
|
@@ -7059,9 +7059,79 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7059
7059
|
}
|
|
7060
7060
|
};
|
|
7061
7061
|
|
|
7062
|
-
var iconVersion$1 = '8.
|
|
7062
|
+
var iconVersion$1 = '8.0.4';
|
|
7063
|
+
|
|
7064
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
7065
|
+
// See LICENSE in the project root for license information.
|
|
7066
|
+
|
|
7067
|
+
// ---------------------------------------------------------------------
|
|
7063
7068
|
|
|
7064
|
-
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)}`;
|
|
7069
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7070
|
+
|
|
7071
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
7072
|
+
|
|
7073
|
+
/* eslint-disable jsdoc/require-param */
|
|
7074
|
+
|
|
7075
|
+
/**
|
|
7076
|
+
* This will register a new custom element with the browser.
|
|
7077
|
+
* @param {String} name - The name of the custom element.
|
|
7078
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
7079
|
+
* @returns {void}
|
|
7080
|
+
*/
|
|
7081
|
+
registerComponent(name, componentClass) {
|
|
7082
|
+
if (!customElements.get(name)) {
|
|
7083
|
+
customElements.define(name, class extends componentClass {});
|
|
7084
|
+
}
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
/**
|
|
7088
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
7089
|
+
* @returns {void}
|
|
7090
|
+
*/
|
|
7091
|
+
closestElement(
|
|
7092
|
+
selector, // selector like in .closest()
|
|
7093
|
+
base = this, // extra functionality to skip a parent
|
|
7094
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
7095
|
+
!el || el === document || el === window
|
|
7096
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
7097
|
+
: found
|
|
7098
|
+
? found // found a selector INside this element
|
|
7099
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
7100
|
+
) {
|
|
7101
|
+
return __Closest(base);
|
|
7102
|
+
}
|
|
7103
|
+
/* eslint-enable jsdoc/require-param */
|
|
7104
|
+
|
|
7105
|
+
/**
|
|
7106
|
+
* 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.
|
|
7107
|
+
* @param {Object} elem - The element to check.
|
|
7108
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
7109
|
+
* @returns {void}
|
|
7110
|
+
*/
|
|
7111
|
+
handleComponentTagRename(elem, tagName) {
|
|
7112
|
+
const tag = tagName.toLowerCase();
|
|
7113
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7114
|
+
|
|
7115
|
+
if (elemTag !== tag) {
|
|
7116
|
+
elem.setAttribute(tag, true);
|
|
7117
|
+
}
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7120
|
+
/**
|
|
7121
|
+
* Validates if an element is a specific Auro component.
|
|
7122
|
+
* @param {Object} elem - The element to validate.
|
|
7123
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
7124
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
7125
|
+
*/
|
|
7126
|
+
elementMatch(elem, tagName) {
|
|
7127
|
+
const tag = tagName.toLowerCase();
|
|
7128
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7129
|
+
|
|
7130
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
7131
|
+
}
|
|
7132
|
+
};
|
|
7133
|
+
|
|
7134
|
+
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)}`;
|
|
7065
7135
|
|
|
7066
7136
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7067
7137
|
// See LICENSE in the project root for license information.
|
|
@@ -7071,12 +7141,13 @@ var styleCss$5 = i$5`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
7071
7141
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
7072
7142
|
*
|
|
7073
7143
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
7144
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
7145
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
7074
7146
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
7075
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
7076
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
7077
7147
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
7078
7148
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
7079
7149
|
*/
|
|
7150
|
+
|
|
7080
7151
|
/* eslint complexity: ["error", 21] */
|
|
7081
7152
|
|
|
7082
7153
|
// build the component class
|
|
@@ -7089,7 +7160,7 @@ class AuroHeader extends i$2 {
|
|
|
7089
7160
|
/**
|
|
7090
7161
|
* @private
|
|
7091
7162
|
*/
|
|
7092
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7163
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
7093
7164
|
}
|
|
7094
7165
|
|
|
7095
7166
|
// function to define props used within the scope of this component
|
|
@@ -7110,22 +7181,6 @@ class AuroHeader extends i$2 {
|
|
|
7110
7181
|
return [styleCss$5];
|
|
7111
7182
|
}
|
|
7112
7183
|
|
|
7113
|
-
/**
|
|
7114
|
-
* Mapping of display values to their corresponding CSS classes
|
|
7115
|
-
* @private
|
|
7116
|
-
*/
|
|
7117
|
-
static get displayClassMap() {
|
|
7118
|
-
return {
|
|
7119
|
-
'display': 'heading-xl',
|
|
7120
|
-
'800': 'heading-xl',
|
|
7121
|
-
'700': 'heading-lg',
|
|
7122
|
-
'600': 'heading-md',
|
|
7123
|
-
'500': 'heading-sm',
|
|
7124
|
-
'400': 'heading-xs',
|
|
7125
|
-
'300': 'heading-2xs'
|
|
7126
|
-
};
|
|
7127
|
-
}
|
|
7128
|
-
|
|
7129
7184
|
/**
|
|
7130
7185
|
* This will register this element with the browser.
|
|
7131
7186
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -7135,7 +7190,7 @@ class AuroHeader extends i$2 {
|
|
|
7135
7190
|
*
|
|
7136
7191
|
*/
|
|
7137
7192
|
static register(name = "auro-header") {
|
|
7138
|
-
AuroLibraryRuntimeUtils$
|
|
7193
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
|
|
7139
7194
|
}
|
|
7140
7195
|
|
|
7141
7196
|
firstUpdated() {
|
|
@@ -7202,42 +7257,23 @@ class AuroHeader extends i$2 {
|
|
|
7202
7257
|
this.display = 'display';
|
|
7203
7258
|
}
|
|
7204
7259
|
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
'heading': true,
|
|
7213
|
-
[`heading--${this.display}`]: true,
|
|
7214
|
-
[headingClass]: true
|
|
7215
|
-
};
|
|
7216
|
-
|
|
7217
|
-
// Add spacing classes to the class object if they exist
|
|
7218
|
-
if (spacingClasses) {
|
|
7219
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
7220
|
-
spacingClassArray.forEach(cls => {
|
|
7221
|
-
if (cls.trim()) {
|
|
7222
|
-
classObject[cls.trim()] = true;
|
|
7223
|
-
}
|
|
7224
|
-
});
|
|
7260
|
+
switch (level) {
|
|
7261
|
+
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>`;
|
|
7262
|
+
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>`;
|
|
7263
|
+
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>`;
|
|
7264
|
+
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>`;
|
|
7265
|
+
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>`;
|
|
7266
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
7225
7267
|
}
|
|
7226
|
-
|
|
7227
|
-
const headerClasses = e(classObject);
|
|
7228
|
-
|
|
7229
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
7230
|
-
const tag = s(`h${headingLevel}`);
|
|
7231
|
-
return u`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
7232
7268
|
}
|
|
7233
|
-
|
|
7234
7269
|
// function that renders the HTML and CSS into the scope of the component
|
|
7270
|
+
|
|
7235
7271
|
render() {
|
|
7236
7272
|
return this.template(this.level);
|
|
7237
7273
|
}
|
|
7238
7274
|
}
|
|
7239
7275
|
|
|
7240
|
-
var headerVersion = '4.0.
|
|
7276
|
+
var headerVersion = '4.0.1';
|
|
7241
7277
|
|
|
7242
7278
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7243
7279
|
// See LICENSE in the project root for license information.
|
|
@@ -7250,7 +7286,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7250
7286
|
|
|
7251
7287
|
this.large = false;
|
|
7252
7288
|
|
|
7253
|
-
AuroLibraryRuntimeUtils$
|
|
7289
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
7254
7290
|
|
|
7255
7291
|
const versioning = new AuroDependencyVersioning();
|
|
7256
7292
|
|
|
@@ -7302,7 +7338,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7302
7338
|
*
|
|
7303
7339
|
*/
|
|
7304
7340
|
static register(name = "auro-bibtemplate") {
|
|
7305
|
-
AuroLibraryRuntimeUtils$
|
|
7341
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
7306
7342
|
}
|
|
7307
7343
|
|
|
7308
7344
|
/**
|
|
@@ -7360,9 +7396,8 @@ class AuroBibtemplate extends i$2 {
|
|
|
7360
7396
|
<div id="bibTemplate" part="bibtemplate">
|
|
7361
7397
|
${this.isFullscreen ? u`
|
|
7362
7398
|
<div id="headerContainer">
|
|
7363
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
7364
|
-
|
|
7365
|
-
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
7399
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
7400
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
7366
7401
|
</${this.buttonTag}>
|
|
7367
7402
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
7368
7403
|
<slot name="header"></slot>
|
|
@@ -7606,7 +7641,6 @@ var styleCss$3 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock
|
|
|
7606
7641
|
* The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
7607
7642
|
*
|
|
7608
7643
|
* @slot - Default slot for the menu content.
|
|
7609
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
7610
7644
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
7611
7645
|
* @slot label - Defines the content of the label.
|
|
7612
7646
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -7664,7 +7698,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
7664
7698
|
/**
|
|
7665
7699
|
* @private
|
|
7666
7700
|
*/
|
|
7667
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7701
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
7668
7702
|
|
|
7669
7703
|
/**
|
|
7670
7704
|
* Generate unique names for dependency components.
|
|
@@ -8081,7 +8115,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8081
8115
|
*
|
|
8082
8116
|
*/
|
|
8083
8117
|
static register(name = "auro-select") {
|
|
8084
|
-
AuroLibraryRuntimeUtils$
|
|
8118
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroSelect);
|
|
8085
8119
|
}
|
|
8086
8120
|
|
|
8087
8121
|
/**
|
|
@@ -8733,7 +8767,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8733
8767
|
</div>
|
|
8734
8768
|
<div class="menuWrapper"></div>
|
|
8735
8769
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
|
|
8736
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
|
|
8737
8770
|
<slot></slot>
|
|
8738
8771
|
</${this.bibtemplateTag}>
|
|
8739
8772
|
<div slot="helpText">
|
|
@@ -8812,7 +8845,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8812
8845
|
</div>
|
|
8813
8846
|
<div class="menuWrapper"></div>
|
|
8814
8847
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
|
|
8815
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
|
|
8816
8848
|
<slot></slot>
|
|
8817
8849
|
</${this.bibtemplateTag}>
|
|
8818
8850
|
<div slot="helpText">
|
|
@@ -8892,7 +8924,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8892
8924
|
</div>
|
|
8893
8925
|
<div class="menuWrapper"></div>
|
|
8894
8926
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
|
|
8895
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
|
|
8896
8927
|
<slot></slot>
|
|
8897
8928
|
</${this.bibtemplateTag}>
|
|
8898
8929
|
<div slot="helpText">
|
|
@@ -9143,7 +9174,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9143
9174
|
*
|
|
9144
9175
|
*/
|
|
9145
9176
|
static register(name = "auro-menu") {
|
|
9146
|
-
AuroLibraryRuntimeUtils$
|
|
9177
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroMenu);
|
|
9147
9178
|
}
|
|
9148
9179
|
|
|
9149
9180
|
/**
|
|
@@ -9187,7 +9218,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9187
9218
|
}
|
|
9188
9219
|
|
|
9189
9220
|
firstUpdated() {
|
|
9190
|
-
AuroLibraryRuntimeUtils$
|
|
9221
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
9191
9222
|
|
|
9192
9223
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
9193
9224
|
this.initializeMenu();
|
|
@@ -10176,7 +10207,7 @@ class AuroIcon extends BaseIcon {
|
|
|
10176
10207
|
}
|
|
10177
10208
|
}
|
|
10178
10209
|
|
|
10179
|
-
var iconVersion = '8.
|
|
10210
|
+
var iconVersion = '8.0.4';
|
|
10180
10211
|
|
|
10181
10212
|
var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" 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=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
|
|
10182
10213
|
|
|
@@ -10219,7 +10250,7 @@ class AuroMenuOption extends AuroElement$4 {
|
|
|
10219
10250
|
/**
|
|
10220
10251
|
* @private
|
|
10221
10252
|
*/
|
|
10222
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
10253
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
10223
10254
|
}
|
|
10224
10255
|
|
|
10225
10256
|
static get properties() {
|
|
@@ -10264,7 +10295,7 @@ class AuroMenuOption extends AuroElement$4 {
|
|
|
10264
10295
|
*
|
|
10265
10296
|
*/
|
|
10266
10297
|
static register(name = "auro-menuoption") {
|
|
10267
|
-
AuroLibraryRuntimeUtils$
|
|
10298
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroMenuOption);
|
|
10268
10299
|
}
|
|
10269
10300
|
|
|
10270
10301
|
firstUpdated() {
|
|
@@ -84,7 +84,6 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
86
|
<auro-select>
|
|
87
|
-
<span slot="ariaLabel.close">Close Popup</span>
|
|
88
87
|
<span slot="bib.fullscreen.headline">Bib Headline</span>
|
|
89
88
|
<span slot="label">Select Example</span>
|
|
90
89
|
<auro-menu>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
3
3
|
*
|
|
4
4
|
* @slot - Default slot for the menu content.
|
|
5
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
6
5
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
7
6
|
* @slot label - Defines the content of the label.
|
|
8
7
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|