@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
|
@@ -256,7 +256,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
256
256
|
|
|
257
257
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
258
258
|
|
|
259
|
-
let AuroLibraryRuntimeUtils$
|
|
259
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
260
260
|
|
|
261
261
|
/* eslint-disable jsdoc/require-param */
|
|
262
262
|
|
|
@@ -735,7 +735,7 @@ const {
|
|
|
735
735
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
736
736
|
|
|
737
737
|
constructor() {
|
|
738
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
738
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
/**
|
|
@@ -4279,7 +4279,7 @@ var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4279
4279
|
|
|
4280
4280
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4281
4281
|
|
|
4282
|
-
let AuroLibraryRuntimeUtils$
|
|
4282
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
4283
4283
|
|
|
4284
4284
|
/* eslint-disable jsdoc/require-param */
|
|
4285
4285
|
|
|
@@ -4360,7 +4360,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
4360
4360
|
this.onDark = false;
|
|
4361
4361
|
this.hasTextContent = false;
|
|
4362
4362
|
|
|
4363
|
-
AuroLibraryRuntimeUtils$
|
|
4363
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
4364
4364
|
}
|
|
4365
4365
|
|
|
4366
4366
|
static get styles() {
|
|
@@ -4416,7 +4416,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
4416
4416
|
*
|
|
4417
4417
|
*/
|
|
4418
4418
|
static register(name = "auro-helptext") {
|
|
4419
|
-
AuroLibraryRuntimeUtils$
|
|
4419
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
|
|
4420
4420
|
}
|
|
4421
4421
|
|
|
4422
4422
|
updated() {
|
|
@@ -10483,9 +10483,6 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
|
10483
10483
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10484
10484
|
* @attr id
|
|
10485
10485
|
*
|
|
10486
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
10487
|
-
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
10488
|
-
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
10489
10486
|
* @slot helpText - Sets the help text displayed below the input.
|
|
10490
10487
|
* @slot label - Sets the label text for the input.
|
|
10491
10488
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -13100,7 +13097,7 @@ var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
13100
13097
|
|
|
13101
13098
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13102
13099
|
|
|
13103
|
-
let AuroLibraryRuntimeUtils$
|
|
13100
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
13104
13101
|
|
|
13105
13102
|
/* eslint-disable jsdoc/require-param */
|
|
13106
13103
|
|
|
@@ -13181,7 +13178,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
13181
13178
|
this.onDark = false;
|
|
13182
13179
|
this.hasTextContent = false;
|
|
13183
13180
|
|
|
13184
|
-
AuroLibraryRuntimeUtils$
|
|
13181
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
13185
13182
|
}
|
|
13186
13183
|
|
|
13187
13184
|
static get styles() {
|
|
@@ -13237,7 +13234,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
13237
13234
|
*
|
|
13238
13235
|
*/
|
|
13239
13236
|
static register(name = "auro-helptext") {
|
|
13240
|
-
AuroLibraryRuntimeUtils$
|
|
13237
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
13241
13238
|
}
|
|
13242
13239
|
|
|
13243
13240
|
updated() {
|
|
@@ -13551,13 +13548,12 @@ class AuroInput extends BaseInput {
|
|
|
13551
13548
|
<${this.buttonTag}
|
|
13552
13549
|
@click="${this.handleClickClear}"
|
|
13553
13550
|
?onDark="${this.onDark}"
|
|
13551
|
+
aria-label="${i18n(this.lang, 'clearInput')}"
|
|
13554
13552
|
class="notificationBtn clearBtn"
|
|
13555
13553
|
shape="circle"
|
|
13556
13554
|
size="sm"
|
|
13557
13555
|
variant="ghost">
|
|
13558
|
-
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
13559
13556
|
<${this.iconTag}
|
|
13560
|
-
aria-hidden="true"
|
|
13561
13557
|
?customColor="${this.onDark}"
|
|
13562
13558
|
category="interface"
|
|
13563
13559
|
name="x-lg"
|
|
@@ -13580,23 +13576,18 @@ class AuroInput extends BaseInput {
|
|
|
13580
13576
|
@click="${this.handleClickShowPassword}"
|
|
13581
13577
|
?onDark="${this.onDark}"
|
|
13582
13578
|
class="notificationBtn passwordBtn"
|
|
13579
|
+
aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
|
|
13583
13580
|
shape="circle"
|
|
13584
13581
|
size="sm"
|
|
13585
13582
|
variant="ghost">
|
|
13586
|
-
<span>
|
|
13587
|
-
${this.showPassword ? u$2`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
13588
|
-
: u$2`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
13589
|
-
</span>
|
|
13590
13583
|
<${this.iconTag}
|
|
13591
13584
|
?customColor="${this.onDark}"
|
|
13592
|
-
aria-hidden="true"
|
|
13593
13585
|
?hidden=${!this.showPassword}
|
|
13594
13586
|
category="interface"
|
|
13595
13587
|
name="hide-password-stroke">
|
|
13596
13588
|
</${this.iconTag}>
|
|
13597
13589
|
<${this.iconTag}
|
|
13598
13590
|
?customColor="${this.onDark}"
|
|
13599
|
-
aria-hidden="true"
|
|
13600
13591
|
?hidden=${this.showPassword}
|
|
13601
13592
|
category="interface"
|
|
13602
13593
|
name="view-password-stroke">
|
|
@@ -13821,7 +13812,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
13821
13812
|
|
|
13822
13813
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13823
13814
|
|
|
13824
|
-
let AuroLibraryRuntimeUtils$
|
|
13815
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
13825
13816
|
|
|
13826
13817
|
/* eslint-disable jsdoc/require-param */
|
|
13827
13818
|
|
|
@@ -14404,7 +14395,7 @@ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
14404
14395
|
|
|
14405
14396
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14406
14397
|
|
|
14407
|
-
let AuroLibraryRuntimeUtils$
|
|
14398
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
14408
14399
|
|
|
14409
14400
|
/* eslint-disable jsdoc/require-param */
|
|
14410
14401
|
|
|
@@ -14499,7 +14490,7 @@ class AuroLoader extends i$2 {
|
|
|
14499
14490
|
/**
|
|
14500
14491
|
* @private
|
|
14501
14492
|
*/
|
|
14502
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
14493
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
14503
14494
|
|
|
14504
14495
|
this.orbit = false;
|
|
14505
14496
|
this.ringworm = false;
|
|
@@ -14562,7 +14553,7 @@ class AuroLoader extends i$2 {
|
|
|
14562
14553
|
*
|
|
14563
14554
|
*/
|
|
14564
14555
|
static register(name = "auro-loader") {
|
|
14565
|
-
AuroLibraryRuntimeUtils$
|
|
14556
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
14566
14557
|
}
|
|
14567
14558
|
|
|
14568
14559
|
firstUpdated() {
|
|
@@ -14842,7 +14833,7 @@ class AuroButton extends AuroElement$1$1 {
|
|
|
14842
14833
|
*
|
|
14843
14834
|
*/
|
|
14844
14835
|
static register(name = "auro-button") {
|
|
14845
|
-
AuroLibraryRuntimeUtils$
|
|
14836
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
14846
14837
|
}
|
|
14847
14838
|
|
|
14848
14839
|
/**
|
|
@@ -15179,7 +15170,7 @@ var colorCss$4 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
15179
15170
|
|
|
15180
15171
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15181
15172
|
|
|
15182
|
-
let AuroLibraryRuntimeUtils$
|
|
15173
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
15183
15174
|
|
|
15184
15175
|
/* eslint-disable jsdoc/require-param */
|
|
15185
15176
|
|
|
@@ -15261,7 +15252,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15261
15252
|
*/
|
|
15262
15253
|
privateDefaults() {
|
|
15263
15254
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
15264
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15255
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
15265
15256
|
}
|
|
15266
15257
|
|
|
15267
15258
|
// function to define props used within the scope of this component
|
|
@@ -15343,7 +15334,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15343
15334
|
*
|
|
15344
15335
|
*/
|
|
15345
15336
|
static register(name = "auro-icon") {
|
|
15346
|
-
AuroLibraryRuntimeUtils$
|
|
15337
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
15347
15338
|
}
|
|
15348
15339
|
|
|
15349
15340
|
connectedCallback() {
|
|
@@ -15413,9 +15404,79 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15413
15404
|
}
|
|
15414
15405
|
};
|
|
15415
15406
|
|
|
15416
|
-
var iconVersion$1 = '8.
|
|
15407
|
+
var iconVersion$1 = '8.0.4';
|
|
15408
|
+
|
|
15409
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15410
|
+
// See LICENSE in the project root for license information.
|
|
15411
|
+
|
|
15412
|
+
// ---------------------------------------------------------------------
|
|
15413
|
+
|
|
15414
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15417
15415
|
|
|
15418
|
-
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)}`;
|
|
15416
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
15417
|
+
|
|
15418
|
+
/* eslint-disable jsdoc/require-param */
|
|
15419
|
+
|
|
15420
|
+
/**
|
|
15421
|
+
* This will register a new custom element with the browser.
|
|
15422
|
+
* @param {String} name - The name of the custom element.
|
|
15423
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
15424
|
+
* @returns {void}
|
|
15425
|
+
*/
|
|
15426
|
+
registerComponent(name, componentClass) {
|
|
15427
|
+
if (!customElements.get(name)) {
|
|
15428
|
+
customElements.define(name, class extends componentClass {});
|
|
15429
|
+
}
|
|
15430
|
+
}
|
|
15431
|
+
|
|
15432
|
+
/**
|
|
15433
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
15434
|
+
* @returns {void}
|
|
15435
|
+
*/
|
|
15436
|
+
closestElement(
|
|
15437
|
+
selector, // selector like in .closest()
|
|
15438
|
+
base = this, // extra functionality to skip a parent
|
|
15439
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
15440
|
+
!el || el === document || el === window
|
|
15441
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
15442
|
+
: found
|
|
15443
|
+
? found // found a selector INside this element
|
|
15444
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
15445
|
+
) {
|
|
15446
|
+
return __Closest(base);
|
|
15447
|
+
}
|
|
15448
|
+
/* eslint-enable jsdoc/require-param */
|
|
15449
|
+
|
|
15450
|
+
/**
|
|
15451
|
+
* 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.
|
|
15452
|
+
* @param {Object} elem - The element to check.
|
|
15453
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
15454
|
+
* @returns {void}
|
|
15455
|
+
*/
|
|
15456
|
+
handleComponentTagRename(elem, tagName) {
|
|
15457
|
+
const tag = tagName.toLowerCase();
|
|
15458
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
15459
|
+
|
|
15460
|
+
if (elemTag !== tag) {
|
|
15461
|
+
elem.setAttribute(tag, true);
|
|
15462
|
+
}
|
|
15463
|
+
}
|
|
15464
|
+
|
|
15465
|
+
/**
|
|
15466
|
+
* Validates if an element is a specific Auro component.
|
|
15467
|
+
* @param {Object} elem - The element to validate.
|
|
15468
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
15469
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
15470
|
+
*/
|
|
15471
|
+
elementMatch(elem, tagName) {
|
|
15472
|
+
const tag = tagName.toLowerCase();
|
|
15473
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
15474
|
+
|
|
15475
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
15476
|
+
}
|
|
15477
|
+
};
|
|
15478
|
+
|
|
15479
|
+
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)}`;
|
|
15419
15480
|
|
|
15420
15481
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
15421
15482
|
// See LICENSE in the project root for license information.
|
|
@@ -15425,12 +15486,13 @@ var styleCss$5 = i$5`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
15425
15486
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
15426
15487
|
*
|
|
15427
15488
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
15489
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
15490
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
15428
15491
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
15429
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
15430
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
15431
15492
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
15432
15493
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
15433
15494
|
*/
|
|
15495
|
+
|
|
15434
15496
|
/* eslint complexity: ["error", 21] */
|
|
15435
15497
|
|
|
15436
15498
|
// build the component class
|
|
@@ -15443,7 +15505,7 @@ class AuroHeader extends i$2 {
|
|
|
15443
15505
|
/**
|
|
15444
15506
|
* @private
|
|
15445
15507
|
*/
|
|
15446
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15508
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
15447
15509
|
}
|
|
15448
15510
|
|
|
15449
15511
|
// function to define props used within the scope of this component
|
|
@@ -15464,22 +15526,6 @@ class AuroHeader extends i$2 {
|
|
|
15464
15526
|
return [styleCss$5];
|
|
15465
15527
|
}
|
|
15466
15528
|
|
|
15467
|
-
/**
|
|
15468
|
-
* Mapping of display values to their corresponding CSS classes
|
|
15469
|
-
* @private
|
|
15470
|
-
*/
|
|
15471
|
-
static get displayClassMap() {
|
|
15472
|
-
return {
|
|
15473
|
-
'display': 'heading-xl',
|
|
15474
|
-
'800': 'heading-xl',
|
|
15475
|
-
'700': 'heading-lg',
|
|
15476
|
-
'600': 'heading-md',
|
|
15477
|
-
'500': 'heading-sm',
|
|
15478
|
-
'400': 'heading-xs',
|
|
15479
|
-
'300': 'heading-2xs'
|
|
15480
|
-
};
|
|
15481
|
-
}
|
|
15482
|
-
|
|
15483
15529
|
/**
|
|
15484
15530
|
* This will register this element with the browser.
|
|
15485
15531
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -15489,7 +15535,7 @@ class AuroHeader extends i$2 {
|
|
|
15489
15535
|
*
|
|
15490
15536
|
*/
|
|
15491
15537
|
static register(name = "auro-header") {
|
|
15492
|
-
AuroLibraryRuntimeUtils$
|
|
15538
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
|
|
15493
15539
|
}
|
|
15494
15540
|
|
|
15495
15541
|
firstUpdated() {
|
|
@@ -15556,42 +15602,23 @@ class AuroHeader extends i$2 {
|
|
|
15556
15602
|
this.display = 'display';
|
|
15557
15603
|
}
|
|
15558
15604
|
|
|
15559
|
-
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
'heading': true,
|
|
15567
|
-
[`heading--${this.display}`]: true,
|
|
15568
|
-
[headingClass]: true
|
|
15569
|
-
};
|
|
15570
|
-
|
|
15571
|
-
// Add spacing classes to the class object if they exist
|
|
15572
|
-
if (spacingClasses) {
|
|
15573
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
15574
|
-
spacingClassArray.forEach(cls => {
|
|
15575
|
-
if (cls.trim()) {
|
|
15576
|
-
classObject[cls.trim()] = true;
|
|
15577
|
-
}
|
|
15578
|
-
});
|
|
15605
|
+
switch (level) {
|
|
15606
|
+
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>`;
|
|
15607
|
+
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>`;
|
|
15608
|
+
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>`;
|
|
15609
|
+
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>`;
|
|
15610
|
+
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>`;
|
|
15611
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
15579
15612
|
}
|
|
15580
|
-
|
|
15581
|
-
const headerClasses = e(classObject);
|
|
15582
|
-
|
|
15583
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
15584
|
-
const tag = s$1(`h${headingLevel}`);
|
|
15585
|
-
return u$2`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
15586
15613
|
}
|
|
15587
|
-
|
|
15588
15614
|
// function that renders the HTML and CSS into the scope of the component
|
|
15615
|
+
|
|
15589
15616
|
render() {
|
|
15590
15617
|
return this.template(this.level);
|
|
15591
15618
|
}
|
|
15592
15619
|
}
|
|
15593
15620
|
|
|
15594
|
-
var headerVersion = '4.0.
|
|
15621
|
+
var headerVersion = '4.0.1';
|
|
15595
15622
|
|
|
15596
15623
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
15597
15624
|
// See LICENSE in the project root for license information.
|
|
@@ -15604,7 +15631,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15604
15631
|
|
|
15605
15632
|
this.large = false;
|
|
15606
15633
|
|
|
15607
|
-
AuroLibraryRuntimeUtils$
|
|
15634
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
15608
15635
|
|
|
15609
15636
|
const versioning = new AuroDependencyVersioning();
|
|
15610
15637
|
|
|
@@ -15656,7 +15683,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15656
15683
|
*
|
|
15657
15684
|
*/
|
|
15658
15685
|
static register(name = "auro-bibtemplate") {
|
|
15659
|
-
AuroLibraryRuntimeUtils$
|
|
15686
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
15660
15687
|
}
|
|
15661
15688
|
|
|
15662
15689
|
/**
|
|
@@ -15714,9 +15741,8 @@ class AuroBibtemplate extends i$2 {
|
|
|
15714
15741
|
<div id="bibTemplate" part="bibtemplate">
|
|
15715
15742
|
${this.isFullscreen ? u$2`
|
|
15716
15743
|
<div id="headerContainer">
|
|
15717
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15718
|
-
|
|
15719
|
-
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
15744
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15745
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15720
15746
|
</${this.buttonTag}>
|
|
15721
15747
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15722
15748
|
<slot name="header"></slot>
|
|
@@ -16056,8 +16082,6 @@ class AuroHelpText extends i$2 {
|
|
|
16056
16082
|
/**
|
|
16057
16083
|
* @slot - Default slot for the menu content.
|
|
16058
16084
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
16059
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button
|
|
16060
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
16061
16085
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
16062
16086
|
* @slot label - Defines the content of the label.
|
|
16063
16087
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -16106,7 +16130,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16106
16130
|
|
|
16107
16131
|
this.validation = new AuroFormValidation$1();
|
|
16108
16132
|
|
|
16109
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
16133
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
16110
16134
|
|
|
16111
16135
|
this.isHiddenWhileLoading = false;
|
|
16112
16136
|
|
|
@@ -16425,7 +16449,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16425
16449
|
*
|
|
16426
16450
|
*/
|
|
16427
16451
|
static register(name = 'auro-combobox') {
|
|
16428
|
-
AuroLibraryRuntimeUtils$
|
|
16452
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCombobox);
|
|
16429
16453
|
}
|
|
16430
16454
|
|
|
16431
16455
|
/**
|
|
@@ -17025,13 +17049,13 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17025
17049
|
|
|
17026
17050
|
this.handleMenuOptions();
|
|
17027
17051
|
break;
|
|
17028
|
-
|
|
17029
|
-
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
17030
|
-
// It's because the bib is/will be separated from dropdown to body.
|
|
17031
17052
|
case 'label':
|
|
17032
|
-
|
|
17053
|
+
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
17054
|
+
// It's because the bib is/will be separated from dropdown to body.
|
|
17055
|
+
this.transportAssignedNodes(event.target, this.inputInBib, "label");
|
|
17056
|
+
break;
|
|
17033
17057
|
case 'optionalLabel':
|
|
17034
|
-
this.transportAssignedNodes(event.target, this.inputInBib,
|
|
17058
|
+
this.transportAssignedNodes(event.target, this.inputInBib, "optionalLabel");
|
|
17035
17059
|
break;
|
|
17036
17060
|
case 'bib.fullscreen.headline':
|
|
17037
17061
|
this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
|
|
@@ -17102,7 +17126,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17102
17126
|
shape="${this.shape}"
|
|
17103
17127
|
size="${this.size}"
|
|
17104
17128
|
slot="trigger">
|
|
17105
|
-
<slot name="ariaLabel.clear" slot="ariaLabel.clear" @slotchange="${this.handleSlotChange}"></slot>
|
|
17106
17129
|
<slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
|
|
17107
17130
|
<slot name="optionalLabel" slot="optionalLabel" @slotchange="${this.handleSlotChange}"> (optional)</slot>
|
|
17108
17131
|
<slot name="displayValue" slot="displayValue"></slot>
|
|
@@ -17110,7 +17133,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17110
17133
|
|
|
17111
17134
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
17112
17135
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
17113
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
|
|
17114
17136
|
<slot></slot>
|
|
17115
17137
|
<${this.inputTag}
|
|
17116
17138
|
@input="${this.handleInputValueChange}"
|
|
@@ -17366,7 +17388,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17366
17388
|
*
|
|
17367
17389
|
*/
|
|
17368
17390
|
static register(name = "auro-menu") {
|
|
17369
|
-
AuroLibraryRuntimeUtils$
|
|
17391
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenu);
|
|
17370
17392
|
}
|
|
17371
17393
|
|
|
17372
17394
|
/**
|
|
@@ -17410,7 +17432,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17410
17432
|
}
|
|
17411
17433
|
|
|
17412
17434
|
firstUpdated() {
|
|
17413
|
-
AuroLibraryRuntimeUtils$
|
|
17435
|
+
AuroLibraryRuntimeUtils$7.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
17414
17436
|
|
|
17415
17437
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
17416
17438
|
this.initializeMenu();
|
|
@@ -18399,7 +18421,7 @@ class AuroIcon extends BaseIcon {
|
|
|
18399
18421
|
}
|
|
18400
18422
|
}
|
|
18401
18423
|
|
|
18402
|
-
var iconVersion = '8.
|
|
18424
|
+
var iconVersion = '8.0.4';
|
|
18403
18425
|
|
|
18404
18426
|
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>"};
|
|
18405
18427
|
|
|
@@ -18442,7 +18464,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18442
18464
|
/**
|
|
18443
18465
|
* @private
|
|
18444
18466
|
*/
|
|
18445
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
18467
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
18446
18468
|
}
|
|
18447
18469
|
|
|
18448
18470
|
static get properties() {
|
|
@@ -18487,7 +18509,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18487
18509
|
*
|
|
18488
18510
|
*/
|
|
18489
18511
|
static register(name = "auro-menuoption") {
|
|
18490
|
-
AuroLibraryRuntimeUtils$
|
|
18512
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenuOption);
|
|
18491
18513
|
}
|
|
18492
18514
|
|
|
18493
18515
|
firstUpdated() {
|
|
@@ -28,8 +28,6 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
28
28
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/basic.html) -->
|
|
29
29
|
<!-- The below content is automatically added from ./../apiExamples/classic/basic.html -->
|
|
30
30
|
<auro-combobox layout="classic" shape="classic" size="lg" placeholder="Placeholder content" required style="width: 249px;">
|
|
31
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
32
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
33
31
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
34
32
|
<span slot="label">Name</span>
|
|
35
33
|
<auro-menu>
|
|
@@ -50,8 +48,6 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
50
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/onDark.html) -->
|
|
51
49
|
<!-- The below content is automatically added from ./../apiExamples/classic/onDark.html -->
|
|
52
50
|
<auro-combobox layout="classic" shape="classic" size="lg" placeholder="Placeholder content" ondark required style="width: 249px;">
|
|
53
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
54
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
55
51
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
56
52
|
<span slot="label">Name</span>
|
|
57
53
|
<auro-menu>
|
|
@@ -75,8 +71,6 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
75
71
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/emphasized/basic.html) -->
|
|
76
72
|
<!-- The below content is automatically added from ./../apiExamples/emphasized/basic.html -->
|
|
77
73
|
<auro-combobox layout="emphasized" value="Oranges" shape="pill" size="xl" placeholder="Placeholder content" required ondark style="width: 249px;">
|
|
78
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
79
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
80
74
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
81
75
|
<span slot="label">Name</span>
|
|
82
76
|
<auro-menu>
|
|
@@ -106,8 +100,6 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
106
100
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic.html) -->
|
|
107
101
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/basic.html -->
|
|
108
102
|
<auro-combobox layout="snowflake" shape="snowflake" size="lg" placeholder="Placeholder content" required ondark style="width: 249px;">
|
|
109
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
110
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
111
103
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
112
104
|
<span slot="label">Name</span>
|
|
113
105
|
<auro-menu>
|
|
@@ -128,8 +120,6 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
128
120
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
129
121
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
130
122
|
<auro-combobox>
|
|
131
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
132
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
133
123
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
134
124
|
<span slot="label">Name</span>
|
|
135
125
|
<auro-menu>
|
|
@@ -167,8 +157,6 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
167
157
|
|
|
168
158
|
```html
|
|
169
159
|
<auro-combobox>
|
|
170
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
171
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
172
160
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
173
161
|
<span slot="label">Name</span>
|
|
174
162
|
<auro-menu>
|