@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
|
@@ -114,7 +114,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
114
114
|
|
|
115
115
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
116
116
|
|
|
117
|
-
let AuroLibraryRuntimeUtils$
|
|
117
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
118
118
|
|
|
119
119
|
/* eslint-disable jsdoc/require-param */
|
|
120
120
|
|
|
@@ -593,7 +593,7 @@ const {
|
|
|
593
593
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
594
594
|
|
|
595
595
|
constructor() {
|
|
596
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
596
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
/**
|
|
@@ -4137,7 +4137,7 @@ var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4137
4137
|
|
|
4138
4138
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4139
4139
|
|
|
4140
|
-
let AuroLibraryRuntimeUtils$
|
|
4140
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
4141
4141
|
|
|
4142
4142
|
/* eslint-disable jsdoc/require-param */
|
|
4143
4143
|
|
|
@@ -4218,7 +4218,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
4218
4218
|
this.onDark = false;
|
|
4219
4219
|
this.hasTextContent = false;
|
|
4220
4220
|
|
|
4221
|
-
AuroLibraryRuntimeUtils$
|
|
4221
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
4222
4222
|
}
|
|
4223
4223
|
|
|
4224
4224
|
static get styles() {
|
|
@@ -4274,7 +4274,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
4274
4274
|
*
|
|
4275
4275
|
*/
|
|
4276
4276
|
static register(name = "auro-helptext") {
|
|
4277
|
-
AuroLibraryRuntimeUtils$
|
|
4277
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
|
|
4278
4278
|
}
|
|
4279
4279
|
|
|
4280
4280
|
updated() {
|
|
@@ -10341,9 +10341,6 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
|
10341
10341
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10342
10342
|
* @attr id
|
|
10343
10343
|
*
|
|
10344
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
10345
|
-
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
10346
|
-
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
10347
10344
|
* @slot helpText - Sets the help text displayed below the input.
|
|
10348
10345
|
* @slot label - Sets the label text for the input.
|
|
10349
10346
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -12958,7 +12955,7 @@ var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
12958
12955
|
|
|
12959
12956
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
12960
12957
|
|
|
12961
|
-
let AuroLibraryRuntimeUtils$
|
|
12958
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
12962
12959
|
|
|
12963
12960
|
/* eslint-disable jsdoc/require-param */
|
|
12964
12961
|
|
|
@@ -13039,7 +13036,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
13039
13036
|
this.onDark = false;
|
|
13040
13037
|
this.hasTextContent = false;
|
|
13041
13038
|
|
|
13042
|
-
AuroLibraryRuntimeUtils$
|
|
13039
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
13043
13040
|
}
|
|
13044
13041
|
|
|
13045
13042
|
static get styles() {
|
|
@@ -13095,7 +13092,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
13095
13092
|
*
|
|
13096
13093
|
*/
|
|
13097
13094
|
static register(name = "auro-helptext") {
|
|
13098
|
-
AuroLibraryRuntimeUtils$
|
|
13095
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
13099
13096
|
}
|
|
13100
13097
|
|
|
13101
13098
|
updated() {
|
|
@@ -13409,13 +13406,12 @@ class AuroInput extends BaseInput {
|
|
|
13409
13406
|
<${this.buttonTag}
|
|
13410
13407
|
@click="${this.handleClickClear}"
|
|
13411
13408
|
?onDark="${this.onDark}"
|
|
13409
|
+
aria-label="${i18n(this.lang, 'clearInput')}"
|
|
13412
13410
|
class="notificationBtn clearBtn"
|
|
13413
13411
|
shape="circle"
|
|
13414
13412
|
size="sm"
|
|
13415
13413
|
variant="ghost">
|
|
13416
|
-
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
13417
13414
|
<${this.iconTag}
|
|
13418
|
-
aria-hidden="true"
|
|
13419
13415
|
?customColor="${this.onDark}"
|
|
13420
13416
|
category="interface"
|
|
13421
13417
|
name="x-lg"
|
|
@@ -13438,23 +13434,18 @@ class AuroInput extends BaseInput {
|
|
|
13438
13434
|
@click="${this.handleClickShowPassword}"
|
|
13439
13435
|
?onDark="${this.onDark}"
|
|
13440
13436
|
class="notificationBtn passwordBtn"
|
|
13437
|
+
aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
|
|
13441
13438
|
shape="circle"
|
|
13442
13439
|
size="sm"
|
|
13443
13440
|
variant="ghost">
|
|
13444
|
-
<span>
|
|
13445
|
-
${this.showPassword ? u$2`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
13446
|
-
: u$2`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
13447
|
-
</span>
|
|
13448
13441
|
<${this.iconTag}
|
|
13449
13442
|
?customColor="${this.onDark}"
|
|
13450
|
-
aria-hidden="true"
|
|
13451
13443
|
?hidden=${!this.showPassword}
|
|
13452
13444
|
category="interface"
|
|
13453
13445
|
name="hide-password-stroke">
|
|
13454
13446
|
</${this.iconTag}>
|
|
13455
13447
|
<${this.iconTag}
|
|
13456
13448
|
?customColor="${this.onDark}"
|
|
13457
|
-
aria-hidden="true"
|
|
13458
13449
|
?hidden=${this.showPassword}
|
|
13459
13450
|
category="interface"
|
|
13460
13451
|
name="view-password-stroke">
|
|
@@ -13679,7 +13670,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
13679
13670
|
|
|
13680
13671
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13681
13672
|
|
|
13682
|
-
let AuroLibraryRuntimeUtils$
|
|
13673
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
13683
13674
|
|
|
13684
13675
|
/* eslint-disable jsdoc/require-param */
|
|
13685
13676
|
|
|
@@ -14262,7 +14253,7 @@ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
14262
14253
|
|
|
14263
14254
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14264
14255
|
|
|
14265
|
-
let AuroLibraryRuntimeUtils$
|
|
14256
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
14266
14257
|
|
|
14267
14258
|
/* eslint-disable jsdoc/require-param */
|
|
14268
14259
|
|
|
@@ -14357,7 +14348,7 @@ class AuroLoader extends i$2 {
|
|
|
14357
14348
|
/**
|
|
14358
14349
|
* @private
|
|
14359
14350
|
*/
|
|
14360
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
14351
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
14361
14352
|
|
|
14362
14353
|
this.orbit = false;
|
|
14363
14354
|
this.ringworm = false;
|
|
@@ -14420,7 +14411,7 @@ class AuroLoader extends i$2 {
|
|
|
14420
14411
|
*
|
|
14421
14412
|
*/
|
|
14422
14413
|
static register(name = "auro-loader") {
|
|
14423
|
-
AuroLibraryRuntimeUtils$
|
|
14414
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
14424
14415
|
}
|
|
14425
14416
|
|
|
14426
14417
|
firstUpdated() {
|
|
@@ -14700,7 +14691,7 @@ class AuroButton extends AuroElement$1$1 {
|
|
|
14700
14691
|
*
|
|
14701
14692
|
*/
|
|
14702
14693
|
static register(name = "auro-button") {
|
|
14703
|
-
AuroLibraryRuntimeUtils$
|
|
14694
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
14704
14695
|
}
|
|
14705
14696
|
|
|
14706
14697
|
/**
|
|
@@ -15037,7 +15028,7 @@ var colorCss$4 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
15037
15028
|
|
|
15038
15029
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15039
15030
|
|
|
15040
|
-
let AuroLibraryRuntimeUtils$
|
|
15031
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
15041
15032
|
|
|
15042
15033
|
/* eslint-disable jsdoc/require-param */
|
|
15043
15034
|
|
|
@@ -15119,7 +15110,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15119
15110
|
*/
|
|
15120
15111
|
privateDefaults() {
|
|
15121
15112
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
15122
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15113
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
15123
15114
|
}
|
|
15124
15115
|
|
|
15125
15116
|
// function to define props used within the scope of this component
|
|
@@ -15201,7 +15192,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15201
15192
|
*
|
|
15202
15193
|
*/
|
|
15203
15194
|
static register(name = "auro-icon") {
|
|
15204
|
-
AuroLibraryRuntimeUtils$
|
|
15195
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
15205
15196
|
}
|
|
15206
15197
|
|
|
15207
15198
|
connectedCallback() {
|
|
@@ -15271,9 +15262,79 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15271
15262
|
}
|
|
15272
15263
|
};
|
|
15273
15264
|
|
|
15274
|
-
var iconVersion$1 = '8.
|
|
15265
|
+
var iconVersion$1 = '8.0.4';
|
|
15266
|
+
|
|
15267
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15268
|
+
// See LICENSE in the project root for license information.
|
|
15269
|
+
|
|
15270
|
+
// ---------------------------------------------------------------------
|
|
15271
|
+
|
|
15272
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15275
15273
|
|
|
15276
|
-
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)}`;
|
|
15274
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
15275
|
+
|
|
15276
|
+
/* eslint-disable jsdoc/require-param */
|
|
15277
|
+
|
|
15278
|
+
/**
|
|
15279
|
+
* This will register a new custom element with the browser.
|
|
15280
|
+
* @param {String} name - The name of the custom element.
|
|
15281
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
15282
|
+
* @returns {void}
|
|
15283
|
+
*/
|
|
15284
|
+
registerComponent(name, componentClass) {
|
|
15285
|
+
if (!customElements.get(name)) {
|
|
15286
|
+
customElements.define(name, class extends componentClass {});
|
|
15287
|
+
}
|
|
15288
|
+
}
|
|
15289
|
+
|
|
15290
|
+
/**
|
|
15291
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
15292
|
+
* @returns {void}
|
|
15293
|
+
*/
|
|
15294
|
+
closestElement(
|
|
15295
|
+
selector, // selector like in .closest()
|
|
15296
|
+
base = this, // extra functionality to skip a parent
|
|
15297
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
15298
|
+
!el || el === document || el === window
|
|
15299
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
15300
|
+
: found
|
|
15301
|
+
? found // found a selector INside this element
|
|
15302
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
15303
|
+
) {
|
|
15304
|
+
return __Closest(base);
|
|
15305
|
+
}
|
|
15306
|
+
/* eslint-enable jsdoc/require-param */
|
|
15307
|
+
|
|
15308
|
+
/**
|
|
15309
|
+
* 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.
|
|
15310
|
+
* @param {Object} elem - The element to check.
|
|
15311
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
15312
|
+
* @returns {void}
|
|
15313
|
+
*/
|
|
15314
|
+
handleComponentTagRename(elem, tagName) {
|
|
15315
|
+
const tag = tagName.toLowerCase();
|
|
15316
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
15317
|
+
|
|
15318
|
+
if (elemTag !== tag) {
|
|
15319
|
+
elem.setAttribute(tag, true);
|
|
15320
|
+
}
|
|
15321
|
+
}
|
|
15322
|
+
|
|
15323
|
+
/**
|
|
15324
|
+
* Validates if an element is a specific Auro component.
|
|
15325
|
+
* @param {Object} elem - The element to validate.
|
|
15326
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
15327
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
15328
|
+
*/
|
|
15329
|
+
elementMatch(elem, tagName) {
|
|
15330
|
+
const tag = tagName.toLowerCase();
|
|
15331
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
15332
|
+
|
|
15333
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
15334
|
+
}
|
|
15335
|
+
};
|
|
15336
|
+
|
|
15337
|
+
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)}`;
|
|
15277
15338
|
|
|
15278
15339
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
15279
15340
|
// See LICENSE in the project root for license information.
|
|
@@ -15283,12 +15344,13 @@ var styleCss$5 = i$5`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
15283
15344
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
15284
15345
|
*
|
|
15285
15346
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
15347
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
15348
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
15286
15349
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
15287
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
15288
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
15289
15350
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
15290
15351
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
15291
15352
|
*/
|
|
15353
|
+
|
|
15292
15354
|
/* eslint complexity: ["error", 21] */
|
|
15293
15355
|
|
|
15294
15356
|
// build the component class
|
|
@@ -15301,7 +15363,7 @@ class AuroHeader extends i$2 {
|
|
|
15301
15363
|
/**
|
|
15302
15364
|
* @private
|
|
15303
15365
|
*/
|
|
15304
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15366
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
15305
15367
|
}
|
|
15306
15368
|
|
|
15307
15369
|
// function to define props used within the scope of this component
|
|
@@ -15322,22 +15384,6 @@ class AuroHeader extends i$2 {
|
|
|
15322
15384
|
return [styleCss$5];
|
|
15323
15385
|
}
|
|
15324
15386
|
|
|
15325
|
-
/**
|
|
15326
|
-
* Mapping of display values to their corresponding CSS classes
|
|
15327
|
-
* @private
|
|
15328
|
-
*/
|
|
15329
|
-
static get displayClassMap() {
|
|
15330
|
-
return {
|
|
15331
|
-
'display': 'heading-xl',
|
|
15332
|
-
'800': 'heading-xl',
|
|
15333
|
-
'700': 'heading-lg',
|
|
15334
|
-
'600': 'heading-md',
|
|
15335
|
-
'500': 'heading-sm',
|
|
15336
|
-
'400': 'heading-xs',
|
|
15337
|
-
'300': 'heading-2xs'
|
|
15338
|
-
};
|
|
15339
|
-
}
|
|
15340
|
-
|
|
15341
15387
|
/**
|
|
15342
15388
|
* This will register this element with the browser.
|
|
15343
15389
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -15347,7 +15393,7 @@ class AuroHeader extends i$2 {
|
|
|
15347
15393
|
*
|
|
15348
15394
|
*/
|
|
15349
15395
|
static register(name = "auro-header") {
|
|
15350
|
-
AuroLibraryRuntimeUtils$
|
|
15396
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
|
|
15351
15397
|
}
|
|
15352
15398
|
|
|
15353
15399
|
firstUpdated() {
|
|
@@ -15414,42 +15460,23 @@ class AuroHeader extends i$2 {
|
|
|
15414
15460
|
this.display = 'display';
|
|
15415
15461
|
}
|
|
15416
15462
|
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
'heading': true,
|
|
15425
|
-
[`heading--${this.display}`]: true,
|
|
15426
|
-
[headingClass]: true
|
|
15427
|
-
};
|
|
15428
|
-
|
|
15429
|
-
// Add spacing classes to the class object if they exist
|
|
15430
|
-
if (spacingClasses) {
|
|
15431
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
15432
|
-
spacingClassArray.forEach(cls => {
|
|
15433
|
-
if (cls.trim()) {
|
|
15434
|
-
classObject[cls.trim()] = true;
|
|
15435
|
-
}
|
|
15436
|
-
});
|
|
15463
|
+
switch (level) {
|
|
15464
|
+
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>`;
|
|
15465
|
+
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>`;
|
|
15466
|
+
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>`;
|
|
15467
|
+
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>`;
|
|
15468
|
+
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>`;
|
|
15469
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
15437
15470
|
}
|
|
15438
|
-
|
|
15439
|
-
const headerClasses = e(classObject);
|
|
15440
|
-
|
|
15441
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
15442
|
-
const tag = s$1(`h${headingLevel}`);
|
|
15443
|
-
return u$2`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
15444
15471
|
}
|
|
15445
|
-
|
|
15446
15472
|
// function that renders the HTML and CSS into the scope of the component
|
|
15473
|
+
|
|
15447
15474
|
render() {
|
|
15448
15475
|
return this.template(this.level);
|
|
15449
15476
|
}
|
|
15450
15477
|
}
|
|
15451
15478
|
|
|
15452
|
-
var headerVersion = '4.0.
|
|
15479
|
+
var headerVersion = '4.0.1';
|
|
15453
15480
|
|
|
15454
15481
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
15455
15482
|
// See LICENSE in the project root for license information.
|
|
@@ -15462,7 +15489,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15462
15489
|
|
|
15463
15490
|
this.large = false;
|
|
15464
15491
|
|
|
15465
|
-
AuroLibraryRuntimeUtils$
|
|
15492
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
15466
15493
|
|
|
15467
15494
|
const versioning = new AuroDependencyVersioning();
|
|
15468
15495
|
|
|
@@ -15514,7 +15541,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15514
15541
|
*
|
|
15515
15542
|
*/
|
|
15516
15543
|
static register(name = "auro-bibtemplate") {
|
|
15517
|
-
AuroLibraryRuntimeUtils$
|
|
15544
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
15518
15545
|
}
|
|
15519
15546
|
|
|
15520
15547
|
/**
|
|
@@ -15572,9 +15599,8 @@ class AuroBibtemplate extends i$2 {
|
|
|
15572
15599
|
<div id="bibTemplate" part="bibtemplate">
|
|
15573
15600
|
${this.isFullscreen ? u$2`
|
|
15574
15601
|
<div id="headerContainer">
|
|
15575
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15576
|
-
|
|
15577
|
-
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
15602
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15603
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15578
15604
|
</${this.buttonTag}>
|
|
15579
15605
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15580
15606
|
<slot name="header"></slot>
|
|
@@ -15914,8 +15940,6 @@ class AuroHelpText extends i$2 {
|
|
|
15914
15940
|
/**
|
|
15915
15941
|
* @slot - Default slot for the menu content.
|
|
15916
15942
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
15917
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button
|
|
15918
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
15919
15943
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
15920
15944
|
* @slot label - Defines the content of the label.
|
|
15921
15945
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -15964,7 +15988,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
15964
15988
|
|
|
15965
15989
|
this.validation = new AuroFormValidation$1();
|
|
15966
15990
|
|
|
15967
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15991
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
15968
15992
|
|
|
15969
15993
|
this.isHiddenWhileLoading = false;
|
|
15970
15994
|
|
|
@@ -16283,7 +16307,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16283
16307
|
*
|
|
16284
16308
|
*/
|
|
16285
16309
|
static register(name = 'auro-combobox') {
|
|
16286
|
-
AuroLibraryRuntimeUtils$
|
|
16310
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCombobox);
|
|
16287
16311
|
}
|
|
16288
16312
|
|
|
16289
16313
|
/**
|
|
@@ -16883,13 +16907,13 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16883
16907
|
|
|
16884
16908
|
this.handleMenuOptions();
|
|
16885
16909
|
break;
|
|
16886
|
-
|
|
16887
|
-
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
16888
|
-
// It's because the bib is/will be separated from dropdown to body.
|
|
16889
16910
|
case 'label':
|
|
16890
|
-
|
|
16911
|
+
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
16912
|
+
// It's because the bib is/will be separated from dropdown to body.
|
|
16913
|
+
this.transportAssignedNodes(event.target, this.inputInBib, "label");
|
|
16914
|
+
break;
|
|
16891
16915
|
case 'optionalLabel':
|
|
16892
|
-
this.transportAssignedNodes(event.target, this.inputInBib,
|
|
16916
|
+
this.transportAssignedNodes(event.target, this.inputInBib, "optionalLabel");
|
|
16893
16917
|
break;
|
|
16894
16918
|
case 'bib.fullscreen.headline':
|
|
16895
16919
|
this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
|
|
@@ -16960,7 +16984,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16960
16984
|
shape="${this.shape}"
|
|
16961
16985
|
size="${this.size}"
|
|
16962
16986
|
slot="trigger">
|
|
16963
|
-
<slot name="ariaLabel.clear" slot="ariaLabel.clear" @slotchange="${this.handleSlotChange}"></slot>
|
|
16964
16987
|
<slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
|
|
16965
16988
|
<slot name="optionalLabel" slot="optionalLabel" @slotchange="${this.handleSlotChange}"> (optional)</slot>
|
|
16966
16989
|
<slot name="displayValue" slot="displayValue"></slot>
|
|
@@ -16968,7 +16991,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16968
16991
|
|
|
16969
16992
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
16970
16993
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
16971
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close">Close</slot>
|
|
16972
16994
|
<slot></slot>
|
|
16973
16995
|
<${this.inputTag}
|
|
16974
16996
|
@input="${this.handleInputValueChange}"
|
|
@@ -17224,7 +17246,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17224
17246
|
*
|
|
17225
17247
|
*/
|
|
17226
17248
|
static register(name = "auro-menu") {
|
|
17227
|
-
AuroLibraryRuntimeUtils$
|
|
17249
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenu);
|
|
17228
17250
|
}
|
|
17229
17251
|
|
|
17230
17252
|
/**
|
|
@@ -17268,7 +17290,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17268
17290
|
}
|
|
17269
17291
|
|
|
17270
17292
|
firstUpdated() {
|
|
17271
|
-
AuroLibraryRuntimeUtils$
|
|
17293
|
+
AuroLibraryRuntimeUtils$7.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
17272
17294
|
|
|
17273
17295
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
17274
17296
|
this.initializeMenu();
|
|
@@ -18257,7 +18279,7 @@ class AuroIcon extends BaseIcon {
|
|
|
18257
18279
|
}
|
|
18258
18280
|
}
|
|
18259
18281
|
|
|
18260
|
-
var iconVersion = '8.
|
|
18282
|
+
var iconVersion = '8.0.4';
|
|
18261
18283
|
|
|
18262
18284
|
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>"};
|
|
18263
18285
|
|
|
@@ -18300,7 +18322,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18300
18322
|
/**
|
|
18301
18323
|
* @private
|
|
18302
18324
|
*/
|
|
18303
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
18325
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
18304
18326
|
}
|
|
18305
18327
|
|
|
18306
18328
|
static get properties() {
|
|
@@ -18345,7 +18367,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18345
18367
|
*
|
|
18346
18368
|
*/
|
|
18347
18369
|
static register(name = "auro-menuoption") {
|
|
18348
|
-
AuroLibraryRuntimeUtils$
|
|
18370
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenuOption);
|
|
18349
18371
|
}
|
|
18350
18372
|
|
|
18351
18373
|
firstUpdated() {
|
|
@@ -84,8 +84,6 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
86
|
<auro-combobox>
|
|
87
|
-
<span slot="ariaLabel.close">Close combobox</span>
|
|
88
|
-
<span slot="ariaLabel.clear">Clear All</span>
|
|
89
87
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
90
88
|
<span slot="label">Name</span>
|
|
91
89
|
<auro-menu>
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @slot - Default slot for the menu content.
|
|
3
3
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
4
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button
|
|
5
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
6
4
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
7
5
|
* @slot label - Defines the content of the label.
|
|
8
6
|
* @slot helpText - Defines the content of the helpText.
|