@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
|
@@ -51,7 +51,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
51
51
|
|
|
52
52
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
53
53
|
|
|
54
|
-
let AuroLibraryRuntimeUtils$
|
|
54
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
55
55
|
|
|
56
56
|
/* eslint-disable jsdoc/require-param */
|
|
57
57
|
|
|
@@ -530,7 +530,7 @@ const {
|
|
|
530
530
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
531
531
|
|
|
532
532
|
constructor() {
|
|
533
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
533
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
/**
|
|
@@ -4068,7 +4068,7 @@ var tokensCss$6 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4068
4068
|
|
|
4069
4069
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4070
4070
|
|
|
4071
|
-
let AuroLibraryRuntimeUtils$
|
|
4071
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
4072
4072
|
|
|
4073
4073
|
/* eslint-disable jsdoc/require-param */
|
|
4074
4074
|
|
|
@@ -4149,7 +4149,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4149
4149
|
this.onDark = false;
|
|
4150
4150
|
this.hasTextContent = false;
|
|
4151
4151
|
|
|
4152
|
-
AuroLibraryRuntimeUtils$
|
|
4152
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
4153
4153
|
}
|
|
4154
4154
|
|
|
4155
4155
|
static get styles() {
|
|
@@ -4205,7 +4205,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4205
4205
|
*
|
|
4206
4206
|
*/
|
|
4207
4207
|
static register(name = "auro-helptext") {
|
|
4208
|
-
AuroLibraryRuntimeUtils$
|
|
4208
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
|
|
4209
4209
|
}
|
|
4210
4210
|
|
|
4211
4211
|
updated() {
|
|
@@ -10259,9 +10259,6 @@ let AuroElement$2$1 = class AuroElement extends LitElement {
|
|
|
10259
10259
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10260
10260
|
* @attr id
|
|
10261
10261
|
*
|
|
10262
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
10263
|
-
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
10264
|
-
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
10265
10262
|
* @slot helpText - Sets the help text displayed below the input.
|
|
10266
10263
|
* @slot label - Sets the label text for the input.
|
|
10267
10264
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -12876,7 +12873,7 @@ var tokensCss$5 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
12876
12873
|
|
|
12877
12874
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
12878
12875
|
|
|
12879
|
-
let AuroLibraryRuntimeUtils$
|
|
12876
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
12880
12877
|
|
|
12881
12878
|
/* eslint-disable jsdoc/require-param */
|
|
12882
12879
|
|
|
@@ -12957,7 +12954,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12957
12954
|
this.onDark = false;
|
|
12958
12955
|
this.hasTextContent = false;
|
|
12959
12956
|
|
|
12960
|
-
AuroLibraryRuntimeUtils$
|
|
12957
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
12961
12958
|
}
|
|
12962
12959
|
|
|
12963
12960
|
static get styles() {
|
|
@@ -13013,7 +13010,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
13013
13010
|
*
|
|
13014
13011
|
*/
|
|
13015
13012
|
static register(name = "auro-helptext") {
|
|
13016
|
-
AuroLibraryRuntimeUtils$
|
|
13013
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
13017
13014
|
}
|
|
13018
13015
|
|
|
13019
13016
|
updated() {
|
|
@@ -13327,13 +13324,12 @@ class AuroInput extends BaseInput {
|
|
|
13327
13324
|
<${this.buttonTag}
|
|
13328
13325
|
@click="${this.handleClickClear}"
|
|
13329
13326
|
?onDark="${this.onDark}"
|
|
13327
|
+
aria-label="${i18n(this.lang, 'clearInput')}"
|
|
13330
13328
|
class="notificationBtn clearBtn"
|
|
13331
13329
|
shape="circle"
|
|
13332
13330
|
size="sm"
|
|
13333
13331
|
variant="ghost">
|
|
13334
|
-
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
13335
13332
|
<${this.iconTag}
|
|
13336
|
-
aria-hidden="true"
|
|
13337
13333
|
?customColor="${this.onDark}"
|
|
13338
13334
|
category="interface"
|
|
13339
13335
|
name="x-lg"
|
|
@@ -13356,23 +13352,18 @@ class AuroInput extends BaseInput {
|
|
|
13356
13352
|
@click="${this.handleClickShowPassword}"
|
|
13357
13353
|
?onDark="${this.onDark}"
|
|
13358
13354
|
class="notificationBtn passwordBtn"
|
|
13355
|
+
aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
|
|
13359
13356
|
shape="circle"
|
|
13360
13357
|
size="sm"
|
|
13361
13358
|
variant="ghost">
|
|
13362
|
-
<span>
|
|
13363
|
-
${this.showPassword ? html`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
13364
|
-
: html`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
13365
|
-
</span>
|
|
13366
13359
|
<${this.iconTag}
|
|
13367
13360
|
?customColor="${this.onDark}"
|
|
13368
|
-
aria-hidden="true"
|
|
13369
13361
|
?hidden=${!this.showPassword}
|
|
13370
13362
|
category="interface"
|
|
13371
13363
|
name="hide-password-stroke">
|
|
13372
13364
|
</${this.iconTag}>
|
|
13373
13365
|
<${this.iconTag}
|
|
13374
13366
|
?customColor="${this.onDark}"
|
|
13375
|
-
aria-hidden="true"
|
|
13376
13367
|
?hidden=${this.showPassword}
|
|
13377
13368
|
category="interface"
|
|
13378
13369
|
name="view-password-stroke">
|
|
@@ -13597,7 +13588,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
13597
13588
|
|
|
13598
13589
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13599
13590
|
|
|
13600
|
-
let AuroLibraryRuntimeUtils$
|
|
13591
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
13601
13592
|
|
|
13602
13593
|
/* eslint-disable jsdoc/require-param */
|
|
13603
13594
|
|
|
@@ -14180,7 +14171,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
14180
14171
|
|
|
14181
14172
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14182
14173
|
|
|
14183
|
-
let AuroLibraryRuntimeUtils$
|
|
14174
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
14184
14175
|
|
|
14185
14176
|
/* eslint-disable jsdoc/require-param */
|
|
14186
14177
|
|
|
@@ -14275,7 +14266,7 @@ class AuroLoader extends LitElement {
|
|
|
14275
14266
|
/**
|
|
14276
14267
|
* @private
|
|
14277
14268
|
*/
|
|
14278
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
14269
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
14279
14270
|
|
|
14280
14271
|
this.orbit = false;
|
|
14281
14272
|
this.ringworm = false;
|
|
@@ -14338,7 +14329,7 @@ class AuroLoader extends LitElement {
|
|
|
14338
14329
|
*
|
|
14339
14330
|
*/
|
|
14340
14331
|
static register(name = "auro-loader") {
|
|
14341
|
-
AuroLibraryRuntimeUtils$
|
|
14332
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
14342
14333
|
}
|
|
14343
14334
|
|
|
14344
14335
|
firstUpdated() {
|
|
@@ -14618,7 +14609,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
14618
14609
|
*
|
|
14619
14610
|
*/
|
|
14620
14611
|
static register(name = "auro-button") {
|
|
14621
|
-
AuroLibraryRuntimeUtils$
|
|
14612
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
14622
14613
|
}
|
|
14623
14614
|
|
|
14624
14615
|
/**
|
|
@@ -14955,7 +14946,7 @@ var colorCss$4 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
14955
14946
|
|
|
14956
14947
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14957
14948
|
|
|
14958
|
-
let AuroLibraryRuntimeUtils$
|
|
14949
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
14959
14950
|
|
|
14960
14951
|
/* eslint-disable jsdoc/require-param */
|
|
14961
14952
|
|
|
@@ -15037,7 +15028,7 @@ class AuroIcon extends BaseIcon {
|
|
|
15037
15028
|
*/
|
|
15038
15029
|
privateDefaults() {
|
|
15039
15030
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
15040
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15031
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
15041
15032
|
}
|
|
15042
15033
|
|
|
15043
15034
|
// function to define props used within the scope of this component
|
|
@@ -15119,7 +15110,7 @@ class AuroIcon extends BaseIcon {
|
|
|
15119
15110
|
*
|
|
15120
15111
|
*/
|
|
15121
15112
|
static register(name = "auro-icon") {
|
|
15122
|
-
AuroLibraryRuntimeUtils$
|
|
15113
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
15123
15114
|
}
|
|
15124
15115
|
|
|
15125
15116
|
connectedCallback() {
|
|
@@ -15189,9 +15180,79 @@ class AuroIcon extends BaseIcon {
|
|
|
15189
15180
|
}
|
|
15190
15181
|
}
|
|
15191
15182
|
|
|
15192
|
-
var iconVersion = '8.
|
|
15183
|
+
var iconVersion = '8.0.4';
|
|
15184
|
+
|
|
15185
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15186
|
+
// See LICENSE in the project root for license information.
|
|
15187
|
+
|
|
15188
|
+
// ---------------------------------------------------------------------
|
|
15189
|
+
|
|
15190
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15193
15191
|
|
|
15194
|
-
var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
15192
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
15193
|
+
|
|
15194
|
+
/* eslint-disable jsdoc/require-param */
|
|
15195
|
+
|
|
15196
|
+
/**
|
|
15197
|
+
* This will register a new custom element with the browser.
|
|
15198
|
+
* @param {String} name - The name of the custom element.
|
|
15199
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
15200
|
+
* @returns {void}
|
|
15201
|
+
*/
|
|
15202
|
+
registerComponent(name, componentClass) {
|
|
15203
|
+
if (!customElements.get(name)) {
|
|
15204
|
+
customElements.define(name, class extends componentClass {});
|
|
15205
|
+
}
|
|
15206
|
+
}
|
|
15207
|
+
|
|
15208
|
+
/**
|
|
15209
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
15210
|
+
* @returns {void}
|
|
15211
|
+
*/
|
|
15212
|
+
closestElement(
|
|
15213
|
+
selector, // selector like in .closest()
|
|
15214
|
+
base = this, // extra functionality to skip a parent
|
|
15215
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
15216
|
+
!el || el === document || el === window
|
|
15217
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
15218
|
+
: found
|
|
15219
|
+
? found // found a selector INside this element
|
|
15220
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
15221
|
+
) {
|
|
15222
|
+
return __Closest(base);
|
|
15223
|
+
}
|
|
15224
|
+
/* eslint-enable jsdoc/require-param */
|
|
15225
|
+
|
|
15226
|
+
/**
|
|
15227
|
+
* 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.
|
|
15228
|
+
* @param {Object} elem - The element to check.
|
|
15229
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
15230
|
+
* @returns {void}
|
|
15231
|
+
*/
|
|
15232
|
+
handleComponentTagRename(elem, tagName) {
|
|
15233
|
+
const tag = tagName.toLowerCase();
|
|
15234
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
15235
|
+
|
|
15236
|
+
if (elemTag !== tag) {
|
|
15237
|
+
elem.setAttribute(tag, true);
|
|
15238
|
+
}
|
|
15239
|
+
}
|
|
15240
|
+
|
|
15241
|
+
/**
|
|
15242
|
+
* Validates if an element is a specific Auro component.
|
|
15243
|
+
* @param {Object} elem - The element to validate.
|
|
15244
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
15245
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
15246
|
+
*/
|
|
15247
|
+
elementMatch(elem, tagName) {
|
|
15248
|
+
const tag = tagName.toLowerCase();
|
|
15249
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
15250
|
+
|
|
15251
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
15252
|
+
}
|
|
15253
|
+
};
|
|
15254
|
+
|
|
15255
|
+
var styleCss$5 = css`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
15195
15256
|
|
|
15196
15257
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
15197
15258
|
// See LICENSE in the project root for license information.
|
|
@@ -15201,12 +15262,13 @@ var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
15201
15262
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
15202
15263
|
*
|
|
15203
15264
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
15265
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
15266
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
15204
15267
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
15205
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
15206
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
15207
15268
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
15208
15269
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
15209
15270
|
*/
|
|
15271
|
+
|
|
15210
15272
|
/* eslint complexity: ["error", 21] */
|
|
15211
15273
|
|
|
15212
15274
|
// build the component class
|
|
@@ -15219,7 +15281,7 @@ class AuroHeader extends LitElement {
|
|
|
15219
15281
|
/**
|
|
15220
15282
|
* @private
|
|
15221
15283
|
*/
|
|
15222
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15284
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
15223
15285
|
}
|
|
15224
15286
|
|
|
15225
15287
|
// function to define props used within the scope of this component
|
|
@@ -15240,22 +15302,6 @@ class AuroHeader extends LitElement {
|
|
|
15240
15302
|
return [styleCss$5];
|
|
15241
15303
|
}
|
|
15242
15304
|
|
|
15243
|
-
/**
|
|
15244
|
-
* Mapping of display values to their corresponding CSS classes
|
|
15245
|
-
* @private
|
|
15246
|
-
*/
|
|
15247
|
-
static get displayClassMap() {
|
|
15248
|
-
return {
|
|
15249
|
-
'display': 'heading-xl',
|
|
15250
|
-
'800': 'heading-xl',
|
|
15251
|
-
'700': 'heading-lg',
|
|
15252
|
-
'600': 'heading-md',
|
|
15253
|
-
'500': 'heading-sm',
|
|
15254
|
-
'400': 'heading-xs',
|
|
15255
|
-
'300': 'heading-2xs'
|
|
15256
|
-
};
|
|
15257
|
-
}
|
|
15258
|
-
|
|
15259
15305
|
/**
|
|
15260
15306
|
* This will register this element with the browser.
|
|
15261
15307
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -15265,7 +15311,7 @@ class AuroHeader extends LitElement {
|
|
|
15265
15311
|
*
|
|
15266
15312
|
*/
|
|
15267
15313
|
static register(name = "auro-header") {
|
|
15268
|
-
AuroLibraryRuntimeUtils$
|
|
15314
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
|
|
15269
15315
|
}
|
|
15270
15316
|
|
|
15271
15317
|
firstUpdated() {
|
|
@@ -15332,42 +15378,23 @@ class AuroHeader extends LitElement {
|
|
|
15332
15378
|
this.display = 'display';
|
|
15333
15379
|
}
|
|
15334
15380
|
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
|
|
15342
|
-
'heading': true,
|
|
15343
|
-
[`heading--${this.display}`]: true,
|
|
15344
|
-
[headingClass]: true
|
|
15345
|
-
};
|
|
15346
|
-
|
|
15347
|
-
// Add spacing classes to the class object if they exist
|
|
15348
|
-
if (spacingClasses) {
|
|
15349
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
15350
|
-
spacingClassArray.forEach(cls => {
|
|
15351
|
-
if (cls.trim()) {
|
|
15352
|
-
classObject[cls.trim()] = true;
|
|
15353
|
-
}
|
|
15354
|
-
});
|
|
15381
|
+
switch (level) {
|
|
15382
|
+
case '2': return html$1`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h2>`;
|
|
15383
|
+
case '3': return html$1`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h3>`;
|
|
15384
|
+
case '4': return html$1`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h4>`;
|
|
15385
|
+
case '5': return html$1`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h5>`;
|
|
15386
|
+
case '6': return html$1`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h6>`;
|
|
15387
|
+
default: return html$1`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
15355
15388
|
}
|
|
15356
|
-
|
|
15357
|
-
const headerClasses = classMap(classObject);
|
|
15358
|
-
|
|
15359
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
15360
|
-
const tag = unsafeStatic(`h${headingLevel}`);
|
|
15361
|
-
return html`<${tag} class="${headerClasses}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
15362
15389
|
}
|
|
15363
|
-
|
|
15364
15390
|
// function that renders the HTML and CSS into the scope of the component
|
|
15391
|
+
|
|
15365
15392
|
render() {
|
|
15366
15393
|
return this.template(this.level);
|
|
15367
15394
|
}
|
|
15368
15395
|
}
|
|
15369
15396
|
|
|
15370
|
-
var headerVersion = '4.0.
|
|
15397
|
+
var headerVersion = '4.0.1';
|
|
15371
15398
|
|
|
15372
15399
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
15373
15400
|
// See LICENSE in the project root for license information.
|
|
@@ -15380,7 +15407,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
15380
15407
|
|
|
15381
15408
|
this.large = false;
|
|
15382
15409
|
|
|
15383
|
-
AuroLibraryRuntimeUtils$
|
|
15410
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
15384
15411
|
|
|
15385
15412
|
const versioning = new AuroDependencyVersioning();
|
|
15386
15413
|
|
|
@@ -15432,7 +15459,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
15432
15459
|
*
|
|
15433
15460
|
*/
|
|
15434
15461
|
static register(name = "auro-bibtemplate") {
|
|
15435
|
-
AuroLibraryRuntimeUtils$
|
|
15462
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
15436
15463
|
}
|
|
15437
15464
|
|
|
15438
15465
|
/**
|
|
@@ -15490,9 +15517,8 @@ class AuroBibtemplate extends LitElement {
|
|
|
15490
15517
|
<div id="bibTemplate" part="bibtemplate">
|
|
15491
15518
|
${this.isFullscreen ? html`
|
|
15492
15519
|
<div id="headerContainer">
|
|
15493
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15494
|
-
|
|
15495
|
-
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
15520
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15521
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15496
15522
|
</${this.buttonTag}>
|
|
15497
15523
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15498
15524
|
<slot name="header"></slot>
|
|
@@ -15832,8 +15858,6 @@ class AuroHelpText extends LitElement {
|
|
|
15832
15858
|
/**
|
|
15833
15859
|
* @slot - Default slot for the menu content.
|
|
15834
15860
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
15835
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button
|
|
15836
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
15837
15861
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
15838
15862
|
* @slot label - Defines the content of the label.
|
|
15839
15863
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -15882,7 +15906,7 @@ class AuroCombobox extends AuroElement {
|
|
|
15882
15906
|
|
|
15883
15907
|
this.validation = new AuroFormValidation$1();
|
|
15884
15908
|
|
|
15885
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15909
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
15886
15910
|
|
|
15887
15911
|
this.isHiddenWhileLoading = false;
|
|
15888
15912
|
|
|
@@ -16201,7 +16225,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16201
16225
|
*
|
|
16202
16226
|
*/
|
|
16203
16227
|
static register(name = 'auro-combobox') {
|
|
16204
|
-
AuroLibraryRuntimeUtils$
|
|
16228
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCombobox);
|
|
16205
16229
|
}
|
|
16206
16230
|
|
|
16207
16231
|
/**
|
|
@@ -16801,13 +16825,13 @@ class AuroCombobox extends AuroElement {
|
|
|
16801
16825
|
|
|
16802
16826
|
this.handleMenuOptions();
|
|
16803
16827
|
break;
|
|
16804
|
-
|
|
16805
|
-
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
16806
|
-
// It's because the bib is/will be separated from dropdown to body.
|
|
16807
16828
|
case 'label':
|
|
16808
|
-
|
|
16829
|
+
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
16830
|
+
// It's because the bib is/will be separated from dropdown to body.
|
|
16831
|
+
this.transportAssignedNodes(event.target, this.inputInBib, "label");
|
|
16832
|
+
break;
|
|
16809
16833
|
case 'optionalLabel':
|
|
16810
|
-
this.transportAssignedNodes(event.target, this.inputInBib,
|
|
16834
|
+
this.transportAssignedNodes(event.target, this.inputInBib, "optionalLabel");
|
|
16811
16835
|
break;
|
|
16812
16836
|
case 'bib.fullscreen.headline':
|
|
16813
16837
|
this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
|
|
@@ -16878,7 +16902,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16878
16902
|
shape="${this.shape}"
|
|
16879
16903
|
size="${this.size}"
|
|
16880
16904
|
slot="trigger">
|
|
16881
|
-
<slot name="ariaLabel.clear" slot="ariaLabel.clear" @slotchange="${this.handleSlotChange}"></slot>
|
|
16882
16905
|
<slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
|
|
16883
16906
|
<slot name="optionalLabel" slot="optionalLabel" @slotchange="${this.handleSlotChange}"> (optional)</slot>
|
|
16884
16907
|
<slot name="displayValue" slot="displayValue"></slot>
|
|
@@ -16886,7 +16909,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16886
16909
|
|
|
16887
16910
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
16888
16911
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
16889
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
|
|
16890
16912
|
<slot></slot>
|
|
16891
16913
|
<${this.inputTag}
|
|
16892
16914
|
@input="${this.handleInputValueChange}"
|