@aurodesignsystem-dev/auro-formkit 0.0.0-pr807.2 → 0.0.0-pr808.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/index.js +96 -60
- package/components/bibtemplate/dist/registered.js +96 -60
- package/components/checkbox/demo/api.md +6 -7
- package/components/checkbox/demo/api.min.js +8 -5
- package/components/checkbox/demo/index.min.js +8 -5
- package/components/checkbox/dist/auro-checkbox.d.ts +0 -3
- package/components/checkbox/dist/index.js +8 -5
- package/components/checkbox/dist/registered.js +8 -5
- package/components/combobox/demo/api.min.js +111 -79
- package/components/combobox/demo/index.min.js +111 -79
- package/components/combobox/dist/index.js +107 -75
- package/components/combobox/dist/registered.js +107 -75
- package/components/counter/demo/api.min.js +116 -80
- package/components/counter/demo/index.min.js +116 -80
- package/components/counter/dist/index.js +116 -80
- package/components/counter/dist/registered.js +116 -80
- package/components/datepicker/demo/api.min.js +97 -65
- package/components/datepicker/demo/index.min.js +97 -65
- package/components/datepicker/dist/index.js +97 -65
- package/components/datepicker/dist/registered.js +97 -65
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/input/demo/api.min.js +1 -5
- package/components/input/demo/index.min.js +1 -5
- package/components/input/dist/index.js +1 -5
- package/components/input/dist/registered.js +1 -5
- package/components/radio/demo/api.md +0 -2
- package/components/radio/demo/api.min.js +1 -3
- package/components/radio/demo/index.min.js +1 -3
- package/components/radio/dist/auro-radio.d.ts +0 -2
- package/components/radio/dist/index.js +1 -3
- package/components/radio/dist/registered.js +1 -3
- package/components/select/demo/api.min.js +113 -92
- package/components/select/demo/index.min.js +113 -92
- package/components/select/dist/index.js +109 -88
- package/components/select/dist/registered.js +109 -88
- package/package.json +1 -1
|
@@ -559,7 +559,7 @@ const {
|
|
|
559
559
|
|
|
560
560
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
561
561
|
|
|
562
|
-
let AuroLibraryRuntimeUtils$
|
|
562
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
563
563
|
|
|
564
564
|
/* eslint-disable jsdoc/require-param */
|
|
565
565
|
|
|
@@ -629,7 +629,7 @@ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
|
629
629
|
class AuroFormValidation {
|
|
630
630
|
|
|
631
631
|
constructor() {
|
|
632
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
632
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
/**
|
|
@@ -4194,7 +4194,7 @@ var shapeSizeCss$1 = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-class
|
|
|
4194
4194
|
|
|
4195
4195
|
var colorCss$1$2 = i$5`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
|
|
4196
4196
|
|
|
4197
|
-
var styleCss$1$2 = i$5`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;
|
|
4197
|
+
var styleCss$1$2 = i$5`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
4198
4198
|
|
|
4199
4199
|
var classicColorCss = i$5``;
|
|
4200
4200
|
|
|
@@ -4217,7 +4217,7 @@ var tokensCss$4 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4217
4217
|
|
|
4218
4218
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4219
4219
|
|
|
4220
|
-
let AuroLibraryRuntimeUtils$
|
|
4220
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
4221
4221
|
|
|
4222
4222
|
/* eslint-disable jsdoc/require-param */
|
|
4223
4223
|
|
|
@@ -4296,7 +4296,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4296
4296
|
this.onDark = false;
|
|
4297
4297
|
this.hasTextContent = false;
|
|
4298
4298
|
|
|
4299
|
-
AuroLibraryRuntimeUtils$
|
|
4299
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
4300
4300
|
}
|
|
4301
4301
|
|
|
4302
4302
|
static get styles() {
|
|
@@ -4352,7 +4352,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4352
4352
|
*
|
|
4353
4353
|
*/
|
|
4354
4354
|
static register(name = "auro-helptext") {
|
|
4355
|
-
AuroLibraryRuntimeUtils$
|
|
4355
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
4356
4356
|
}
|
|
4357
4357
|
|
|
4358
4358
|
updated() {
|
|
@@ -5415,7 +5415,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
5415
5415
|
|
|
5416
5416
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5417
5417
|
|
|
5418
|
-
let AuroLibraryRuntimeUtils$
|
|
5418
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
5419
5419
|
|
|
5420
5420
|
/* eslint-disable jsdoc/require-param */
|
|
5421
5421
|
|
|
@@ -5998,7 +5998,7 @@ var shapeSize = i$5`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
5998
5998
|
|
|
5999
5999
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6000
6000
|
|
|
6001
|
-
let AuroLibraryRuntimeUtils$
|
|
6001
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
6002
6002
|
|
|
6003
6003
|
/* eslint-disable jsdoc/require-param */
|
|
6004
6004
|
|
|
@@ -6093,7 +6093,7 @@ class AuroLoader extends i$2 {
|
|
|
6093
6093
|
/**
|
|
6094
6094
|
* @private
|
|
6095
6095
|
*/
|
|
6096
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6096
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
6097
6097
|
|
|
6098
6098
|
this.orbit = false;
|
|
6099
6099
|
this.ringworm = false;
|
|
@@ -6156,7 +6156,7 @@ class AuroLoader extends i$2 {
|
|
|
6156
6156
|
*
|
|
6157
6157
|
*/
|
|
6158
6158
|
static register(name = "auro-loader") {
|
|
6159
|
-
AuroLibraryRuntimeUtils$
|
|
6159
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
6160
6160
|
}
|
|
6161
6161
|
|
|
6162
6162
|
firstUpdated() {
|
|
@@ -6436,7 +6436,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
6436
6436
|
*
|
|
6437
6437
|
*/
|
|
6438
6438
|
static register(name = "auro-button") {
|
|
6439
|
-
AuroLibraryRuntimeUtils$
|
|
6439
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
6440
6440
|
}
|
|
6441
6441
|
|
|
6442
6442
|
/**
|
|
@@ -6773,7 +6773,7 @@ var colorCss$4 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
6773
6773
|
|
|
6774
6774
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6775
6775
|
|
|
6776
|
-
let AuroLibraryRuntimeUtils$
|
|
6776
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
6777
6777
|
|
|
6778
6778
|
/* eslint-disable jsdoc/require-param */
|
|
6779
6779
|
|
|
@@ -6855,7 +6855,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6855
6855
|
*/
|
|
6856
6856
|
privateDefaults() {
|
|
6857
6857
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
6858
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6858
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
6859
6859
|
}
|
|
6860
6860
|
|
|
6861
6861
|
// function to define props used within the scope of this component
|
|
@@ -6937,7 +6937,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6937
6937
|
*
|
|
6938
6938
|
*/
|
|
6939
6939
|
static register(name = "auro-icon") {
|
|
6940
|
-
AuroLibraryRuntimeUtils$
|
|
6940
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
6941
6941
|
}
|
|
6942
6942
|
|
|
6943
6943
|
connectedCallback() {
|
|
@@ -7009,7 +7009,77 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7009
7009
|
|
|
7010
7010
|
var iconVersion$1 = '8.1.0';
|
|
7011
7011
|
|
|
7012
|
-
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)}`;
|
|
7012
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
7013
|
+
// See LICENSE in the project root for license information.
|
|
7014
|
+
|
|
7015
|
+
// ---------------------------------------------------------------------
|
|
7016
|
+
|
|
7017
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7018
|
+
|
|
7019
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
7020
|
+
|
|
7021
|
+
/* eslint-disable jsdoc/require-param */
|
|
7022
|
+
|
|
7023
|
+
/**
|
|
7024
|
+
* This will register a new custom element with the browser.
|
|
7025
|
+
* @param {String} name - The name of the custom element.
|
|
7026
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
7027
|
+
* @returns {void}
|
|
7028
|
+
*/
|
|
7029
|
+
registerComponent(name, componentClass) {
|
|
7030
|
+
if (!customElements.get(name)) {
|
|
7031
|
+
customElements.define(name, class extends componentClass {});
|
|
7032
|
+
}
|
|
7033
|
+
}
|
|
7034
|
+
|
|
7035
|
+
/**
|
|
7036
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
7037
|
+
* @returns {void}
|
|
7038
|
+
*/
|
|
7039
|
+
closestElement(
|
|
7040
|
+
selector, // selector like in .closest()
|
|
7041
|
+
base = this, // extra functionality to skip a parent
|
|
7042
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
7043
|
+
!el || el === document || el === window
|
|
7044
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
7045
|
+
: found
|
|
7046
|
+
? found // found a selector INside this element
|
|
7047
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
7048
|
+
) {
|
|
7049
|
+
return __Closest(base);
|
|
7050
|
+
}
|
|
7051
|
+
/* eslint-enable jsdoc/require-param */
|
|
7052
|
+
|
|
7053
|
+
/**
|
|
7054
|
+
* 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.
|
|
7055
|
+
* @param {Object} elem - The element to check.
|
|
7056
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
7057
|
+
* @returns {void}
|
|
7058
|
+
*/
|
|
7059
|
+
handleComponentTagRename(elem, tagName) {
|
|
7060
|
+
const tag = tagName.toLowerCase();
|
|
7061
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7062
|
+
|
|
7063
|
+
if (elemTag !== tag) {
|
|
7064
|
+
elem.setAttribute(tag, true);
|
|
7065
|
+
}
|
|
7066
|
+
}
|
|
7067
|
+
|
|
7068
|
+
/**
|
|
7069
|
+
* Validates if an element is a specific Auro component.
|
|
7070
|
+
* @param {Object} elem - The element to validate.
|
|
7071
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
7072
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
7073
|
+
*/
|
|
7074
|
+
elementMatch(elem, tagName) {
|
|
7075
|
+
const tag = tagName.toLowerCase();
|
|
7076
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7077
|
+
|
|
7078
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
7079
|
+
}
|
|
7080
|
+
};
|
|
7081
|
+
|
|
7082
|
+
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)}`;
|
|
7013
7083
|
|
|
7014
7084
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7015
7085
|
// See LICENSE in the project root for license information.
|
|
@@ -7019,12 +7089,13 @@ var styleCss$5 = i$5`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
7019
7089
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
7020
7090
|
*
|
|
7021
7091
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
7092
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
7093
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
7022
7094
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
7023
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
7024
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
7025
7095
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
7026
7096
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
7027
7097
|
*/
|
|
7098
|
+
|
|
7028
7099
|
/* eslint complexity: ["error", 21] */
|
|
7029
7100
|
|
|
7030
7101
|
// build the component class
|
|
@@ -7037,7 +7108,7 @@ class AuroHeader extends i$2 {
|
|
|
7037
7108
|
/**
|
|
7038
7109
|
* @private
|
|
7039
7110
|
*/
|
|
7040
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7111
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
7041
7112
|
}
|
|
7042
7113
|
|
|
7043
7114
|
// function to define props used within the scope of this component
|
|
@@ -7058,22 +7129,6 @@ class AuroHeader extends i$2 {
|
|
|
7058
7129
|
return [styleCss$5];
|
|
7059
7130
|
}
|
|
7060
7131
|
|
|
7061
|
-
/**
|
|
7062
|
-
* Mapping of display values to their corresponding CSS classes
|
|
7063
|
-
* @private
|
|
7064
|
-
*/
|
|
7065
|
-
static get displayClassMap() {
|
|
7066
|
-
return {
|
|
7067
|
-
'display': 'heading-xl',
|
|
7068
|
-
'800': 'heading-xl',
|
|
7069
|
-
'700': 'heading-lg',
|
|
7070
|
-
'600': 'heading-md',
|
|
7071
|
-
'500': 'heading-sm',
|
|
7072
|
-
'400': 'heading-xs',
|
|
7073
|
-
'300': 'heading-2xs'
|
|
7074
|
-
};
|
|
7075
|
-
}
|
|
7076
|
-
|
|
7077
7132
|
/**
|
|
7078
7133
|
* This will register this element with the browser.
|
|
7079
7134
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -7083,7 +7138,7 @@ class AuroHeader extends i$2 {
|
|
|
7083
7138
|
*
|
|
7084
7139
|
*/
|
|
7085
7140
|
static register(name = "auro-header") {
|
|
7086
|
-
AuroLibraryRuntimeUtils$
|
|
7141
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
|
|
7087
7142
|
}
|
|
7088
7143
|
|
|
7089
7144
|
firstUpdated() {
|
|
@@ -7150,42 +7205,23 @@ class AuroHeader extends i$2 {
|
|
|
7150
7205
|
this.display = 'display';
|
|
7151
7206
|
}
|
|
7152
7207
|
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
'heading': true,
|
|
7161
|
-
[`heading--${this.display}`]: true,
|
|
7162
|
-
[headingClass]: true
|
|
7163
|
-
};
|
|
7164
|
-
|
|
7165
|
-
// Add spacing classes to the class object if they exist
|
|
7166
|
-
if (spacingClasses) {
|
|
7167
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
7168
|
-
spacingClassArray.forEach(cls => {
|
|
7169
|
-
if (cls.trim()) {
|
|
7170
|
-
classObject[cls.trim()] = true;
|
|
7171
|
-
}
|
|
7172
|
-
});
|
|
7208
|
+
switch (level) {
|
|
7209
|
+
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>`;
|
|
7210
|
+
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>`;
|
|
7211
|
+
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>`;
|
|
7212
|
+
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>`;
|
|
7213
|
+
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>`;
|
|
7214
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
7173
7215
|
}
|
|
7174
|
-
|
|
7175
|
-
const headerClasses = e(classObject);
|
|
7176
|
-
|
|
7177
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
7178
|
-
const tag = s(`h${headingLevel}`);
|
|
7179
|
-
return u`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
7180
7216
|
}
|
|
7181
|
-
|
|
7182
7217
|
// function that renders the HTML and CSS into the scope of the component
|
|
7218
|
+
|
|
7183
7219
|
render() {
|
|
7184
7220
|
return this.template(this.level);
|
|
7185
7221
|
}
|
|
7186
7222
|
}
|
|
7187
7223
|
|
|
7188
|
-
var headerVersion = '4.0.
|
|
7224
|
+
var headerVersion = '4.0.1';
|
|
7189
7225
|
|
|
7190
7226
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7191
7227
|
// See LICENSE in the project root for license information.
|
|
@@ -7198,7 +7234,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7198
7234
|
|
|
7199
7235
|
this.large = false;
|
|
7200
7236
|
|
|
7201
|
-
AuroLibraryRuntimeUtils$
|
|
7237
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
7202
7238
|
|
|
7203
7239
|
const versioning = new AuroDependencyVersioning();
|
|
7204
7240
|
|
|
@@ -7250,7 +7286,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7250
7286
|
*
|
|
7251
7287
|
*/
|
|
7252
7288
|
static register(name = "auro-bibtemplate") {
|
|
7253
|
-
AuroLibraryRuntimeUtils$
|
|
7289
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
7254
7290
|
}
|
|
7255
7291
|
|
|
7256
7292
|
/**
|
|
@@ -7599,7 +7635,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
7599
7635
|
/**
|
|
7600
7636
|
* @private
|
|
7601
7637
|
*/
|
|
7602
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7638
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
7603
7639
|
|
|
7604
7640
|
/**
|
|
7605
7641
|
* Generate unique names for dependency components.
|
|
@@ -7956,23 +7992,12 @@ class AuroSelect extends AuroElement$4 {
|
|
|
7956
7992
|
* @returns {void}
|
|
7957
7993
|
*/
|
|
7958
7994
|
get commonLabelClasses() {
|
|
7959
|
-
|
|
7995
|
+
return {
|
|
7960
7996
|
'is-disabled': this.disabled,
|
|
7961
|
-
'withValue':
|
|
7997
|
+
'withValue': this.hasValue,
|
|
7962
7998
|
'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0,
|
|
7963
7999
|
[this.labelFontClass]: true
|
|
7964
8000
|
};
|
|
7965
|
-
|
|
7966
|
-
if (this.placeholder) {
|
|
7967
|
-
obj.withValue = true;
|
|
7968
|
-
} else if (this.optionSelected) {
|
|
7969
|
-
if (Array.isArray(this.optionSelected)) {
|
|
7970
|
-
obj.withValue = this.optionSelected.length > 0;
|
|
7971
|
-
} else {
|
|
7972
|
-
obj.withValue = true;
|
|
7973
|
-
}
|
|
7974
|
-
}
|
|
7975
|
-
return obj;
|
|
7976
8001
|
}
|
|
7977
8002
|
|
|
7978
8003
|
/**
|
|
@@ -8051,7 +8076,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8051
8076
|
*
|
|
8052
8077
|
*/
|
|
8053
8078
|
static register(name = "auro-select") {
|
|
8054
|
-
AuroLibraryRuntimeUtils$
|
|
8079
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroSelect);
|
|
8055
8080
|
}
|
|
8056
8081
|
|
|
8057
8082
|
/**
|
|
@@ -8430,11 +8455,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8430
8455
|
if (!this.menu) return;
|
|
8431
8456
|
|
|
8432
8457
|
this.menu.setAttribute('value', value);
|
|
8433
|
-
|
|
8434
|
-
this.menu.value = value;
|
|
8435
|
-
} else {
|
|
8436
|
-
this.menu.reset();
|
|
8437
|
-
}
|
|
8458
|
+
this.menu.value = value;
|
|
8438
8459
|
await this.menu.updateComplete;
|
|
8439
8460
|
}
|
|
8440
8461
|
|
|
@@ -8652,7 +8673,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8652
8673
|
'displayValue': true,
|
|
8653
8674
|
'hasContent': this.hasDisplayValueContent,
|
|
8654
8675
|
'hasFocus': this.isPopoverVisible,
|
|
8655
|
-
'withValue': this.
|
|
8676
|
+
'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
|
|
8656
8677
|
'force': this.forceDisplayValue,
|
|
8657
8678
|
};
|
|
8658
8679
|
|
|
@@ -8730,7 +8751,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8730
8751
|
'displayValue': true,
|
|
8731
8752
|
'hasContent': this.hasDisplayValueContent,
|
|
8732
8753
|
'hasFocus': this.isPopoverVisible,
|
|
8733
|
-
'withValue': this.
|
|
8754
|
+
'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
|
|
8734
8755
|
'force': this.forceDisplayValue,
|
|
8735
8756
|
};
|
|
8736
8757
|
|
|
@@ -8808,7 +8829,7 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8808
8829
|
'displayValue': true,
|
|
8809
8830
|
'hasContent': this.hasDisplayValueContent,
|
|
8810
8831
|
'hasFocus': this.isPopoverVisible,
|
|
8811
|
-
'withValue': this.
|
|
8832
|
+
'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
|
|
8812
8833
|
'force': this.forceDisplayValue,
|
|
8813
8834
|
};
|
|
8814
8835
|
|
|
@@ -9126,7 +9147,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9126
9147
|
*
|
|
9127
9148
|
*/
|
|
9128
9149
|
static register(name = "auro-menu") {
|
|
9129
|
-
AuroLibraryRuntimeUtils$
|
|
9150
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroMenu);
|
|
9130
9151
|
}
|
|
9131
9152
|
|
|
9132
9153
|
/**
|
|
@@ -9170,7 +9191,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9170
9191
|
}
|
|
9171
9192
|
|
|
9172
9193
|
firstUpdated() {
|
|
9173
|
-
AuroLibraryRuntimeUtils$
|
|
9194
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
9174
9195
|
|
|
9175
9196
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
9176
9197
|
this.initializeMenu();
|
|
@@ -10221,7 +10242,7 @@ class AuroMenuOption extends AuroElement$4 {
|
|
|
10221
10242
|
/**
|
|
10222
10243
|
* @private
|
|
10223
10244
|
*/
|
|
10224
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
10245
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
10225
10246
|
}
|
|
10226
10247
|
|
|
10227
10248
|
static get properties() {
|
|
@@ -10267,7 +10288,7 @@ class AuroMenuOption extends AuroElement$4 {
|
|
|
10267
10288
|
*
|
|
10268
10289
|
*/
|
|
10269
10290
|
static register(name = "auro-menuoption") {
|
|
10270
|
-
AuroLibraryRuntimeUtils$
|
|
10291
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroMenuOption);
|
|
10271
10292
|
}
|
|
10272
10293
|
|
|
10273
10294
|
firstUpdated() {
|