@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
|
@@ -519,7 +519,7 @@ const {
|
|
|
519
519
|
|
|
520
520
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
521
521
|
|
|
522
|
-
let AuroLibraryRuntimeUtils$
|
|
522
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
523
523
|
|
|
524
524
|
/* eslint-disable jsdoc/require-param */
|
|
525
525
|
|
|
@@ -589,7 +589,7 @@ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
|
589
589
|
class AuroFormValidation {
|
|
590
590
|
|
|
591
591
|
constructor() {
|
|
592
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
592
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
/**
|
|
@@ -4148,7 +4148,7 @@ var shapeSizeCss = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic
|
|
|
4148
4148
|
|
|
4149
4149
|
var colorCss$1$1 = css`: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)}`;
|
|
4150
4150
|
|
|
4151
|
-
var styleCss$1$2 = css`:host{position:relative;display:block}:host([open]){z-index:var(--depth-tooltip, 400)}.wrapper{display:flex;
|
|
4151
|
+
var styleCss$1$2 = css`: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%}`;
|
|
4152
4152
|
|
|
4153
4153
|
var classicColorCss = css``;
|
|
4154
4154
|
|
|
@@ -4171,7 +4171,7 @@ var tokensCss$4 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4171
4171
|
|
|
4172
4172
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4173
4173
|
|
|
4174
|
-
let AuroLibraryRuntimeUtils$
|
|
4174
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
4175
4175
|
|
|
4176
4176
|
/* eslint-disable jsdoc/require-param */
|
|
4177
4177
|
|
|
@@ -4250,7 +4250,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
4250
4250
|
this.onDark = false;
|
|
4251
4251
|
this.hasTextContent = false;
|
|
4252
4252
|
|
|
4253
|
-
AuroLibraryRuntimeUtils$
|
|
4253
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
4254
4254
|
}
|
|
4255
4255
|
|
|
4256
4256
|
static get styles() {
|
|
@@ -4306,7 +4306,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
4306
4306
|
*
|
|
4307
4307
|
*/
|
|
4308
4308
|
static register(name = "auro-helptext") {
|
|
4309
|
-
AuroLibraryRuntimeUtils$
|
|
4309
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
4310
4310
|
}
|
|
4311
4311
|
|
|
4312
4312
|
updated() {
|
|
@@ -5369,7 +5369,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
5369
5369
|
|
|
5370
5370
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5371
5371
|
|
|
5372
|
-
let AuroLibraryRuntimeUtils$
|
|
5372
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
5373
5373
|
|
|
5374
5374
|
/* eslint-disable jsdoc/require-param */
|
|
5375
5375
|
|
|
@@ -5952,7 +5952,7 @@ var shapeSize = css`.shape-rounded-xl{min-height:68px;max-height:68px;border-sty
|
|
|
5952
5952
|
|
|
5953
5953
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5954
5954
|
|
|
5955
|
-
let AuroLibraryRuntimeUtils$
|
|
5955
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
5956
5956
|
|
|
5957
5957
|
/* eslint-disable jsdoc/require-param */
|
|
5958
5958
|
|
|
@@ -6047,7 +6047,7 @@ class AuroLoader extends LitElement {
|
|
|
6047
6047
|
/**
|
|
6048
6048
|
* @private
|
|
6049
6049
|
*/
|
|
6050
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6050
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
6051
6051
|
|
|
6052
6052
|
this.orbit = false;
|
|
6053
6053
|
this.ringworm = false;
|
|
@@ -6110,7 +6110,7 @@ class AuroLoader extends LitElement {
|
|
|
6110
6110
|
*
|
|
6111
6111
|
*/
|
|
6112
6112
|
static register(name = "auro-loader") {
|
|
6113
|
-
AuroLibraryRuntimeUtils$
|
|
6113
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
|
|
6114
6114
|
}
|
|
6115
6115
|
|
|
6116
6116
|
firstUpdated() {
|
|
@@ -6390,7 +6390,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
6390
6390
|
*
|
|
6391
6391
|
*/
|
|
6392
6392
|
static register(name = "auro-button") {
|
|
6393
|
-
AuroLibraryRuntimeUtils$
|
|
6393
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
|
|
6394
6394
|
}
|
|
6395
6395
|
|
|
6396
6396
|
/**
|
|
@@ -6727,7 +6727,7 @@ var colorCss$4 = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
6727
6727
|
|
|
6728
6728
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6729
6729
|
|
|
6730
|
-
let AuroLibraryRuntimeUtils$
|
|
6730
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
6731
6731
|
|
|
6732
6732
|
/* eslint-disable jsdoc/require-param */
|
|
6733
6733
|
|
|
@@ -6809,7 +6809,7 @@ class AuroIcon extends BaseIcon {
|
|
|
6809
6809
|
*/
|
|
6810
6810
|
privateDefaults() {
|
|
6811
6811
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
6812
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6812
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
6813
6813
|
}
|
|
6814
6814
|
|
|
6815
6815
|
// function to define props used within the scope of this component
|
|
@@ -6891,7 +6891,7 @@ class AuroIcon extends BaseIcon {
|
|
|
6891
6891
|
*
|
|
6892
6892
|
*/
|
|
6893
6893
|
static register(name = "auro-icon") {
|
|
6894
|
-
AuroLibraryRuntimeUtils$
|
|
6894
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
6895
6895
|
}
|
|
6896
6896
|
|
|
6897
6897
|
connectedCallback() {
|
|
@@ -6963,7 +6963,77 @@ class AuroIcon extends BaseIcon {
|
|
|
6963
6963
|
|
|
6964
6964
|
var iconVersion = '8.1.0';
|
|
6965
6965
|
|
|
6966
|
-
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)}`;
|
|
6966
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
6967
|
+
// See LICENSE in the project root for license information.
|
|
6968
|
+
|
|
6969
|
+
// ---------------------------------------------------------------------
|
|
6970
|
+
|
|
6971
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
6972
|
+
|
|
6973
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
6974
|
+
|
|
6975
|
+
/* eslint-disable jsdoc/require-param */
|
|
6976
|
+
|
|
6977
|
+
/**
|
|
6978
|
+
* This will register a new custom element with the browser.
|
|
6979
|
+
* @param {String} name - The name of the custom element.
|
|
6980
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
6981
|
+
* @returns {void}
|
|
6982
|
+
*/
|
|
6983
|
+
registerComponent(name, componentClass) {
|
|
6984
|
+
if (!customElements.get(name)) {
|
|
6985
|
+
customElements.define(name, class extends componentClass {});
|
|
6986
|
+
}
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6989
|
+
/**
|
|
6990
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
6991
|
+
* @returns {void}
|
|
6992
|
+
*/
|
|
6993
|
+
closestElement(
|
|
6994
|
+
selector, // selector like in .closest()
|
|
6995
|
+
base = this, // extra functionality to skip a parent
|
|
6996
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
6997
|
+
!el || el === document || el === window
|
|
6998
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
6999
|
+
: found
|
|
7000
|
+
? found // found a selector INside this element
|
|
7001
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
7002
|
+
) {
|
|
7003
|
+
return __Closest(base);
|
|
7004
|
+
}
|
|
7005
|
+
/* eslint-enable jsdoc/require-param */
|
|
7006
|
+
|
|
7007
|
+
/**
|
|
7008
|
+
* 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.
|
|
7009
|
+
* @param {Object} elem - The element to check.
|
|
7010
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
7011
|
+
* @returns {void}
|
|
7012
|
+
*/
|
|
7013
|
+
handleComponentTagRename(elem, tagName) {
|
|
7014
|
+
const tag = tagName.toLowerCase();
|
|
7015
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7016
|
+
|
|
7017
|
+
if (elemTag !== tag) {
|
|
7018
|
+
elem.setAttribute(tag, true);
|
|
7019
|
+
}
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
/**
|
|
7023
|
+
* Validates if an element is a specific Auro component.
|
|
7024
|
+
* @param {Object} elem - The element to validate.
|
|
7025
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
7026
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
7027
|
+
*/
|
|
7028
|
+
elementMatch(elem, tagName) {
|
|
7029
|
+
const tag = tagName.toLowerCase();
|
|
7030
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7031
|
+
|
|
7032
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
7033
|
+
}
|
|
7034
|
+
};
|
|
7035
|
+
|
|
7036
|
+
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)}`;
|
|
6967
7037
|
|
|
6968
7038
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6969
7039
|
// See LICENSE in the project root for license information.
|
|
@@ -6973,12 +7043,13 @@ var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
6973
7043
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
6974
7044
|
*
|
|
6975
7045
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
7046
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
7047
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
6976
7048
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
6977
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
6978
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
6979
7049
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
6980
7050
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
6981
7051
|
*/
|
|
7052
|
+
|
|
6982
7053
|
/* eslint complexity: ["error", 21] */
|
|
6983
7054
|
|
|
6984
7055
|
// build the component class
|
|
@@ -6991,7 +7062,7 @@ class AuroHeader extends LitElement {
|
|
|
6991
7062
|
/**
|
|
6992
7063
|
* @private
|
|
6993
7064
|
*/
|
|
6994
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7065
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
6995
7066
|
}
|
|
6996
7067
|
|
|
6997
7068
|
// function to define props used within the scope of this component
|
|
@@ -7012,22 +7083,6 @@ class AuroHeader extends LitElement {
|
|
|
7012
7083
|
return [styleCss$5];
|
|
7013
7084
|
}
|
|
7014
7085
|
|
|
7015
|
-
/**
|
|
7016
|
-
* Mapping of display values to their corresponding CSS classes
|
|
7017
|
-
* @private
|
|
7018
|
-
*/
|
|
7019
|
-
static get displayClassMap() {
|
|
7020
|
-
return {
|
|
7021
|
-
'display': 'heading-xl',
|
|
7022
|
-
'800': 'heading-xl',
|
|
7023
|
-
'700': 'heading-lg',
|
|
7024
|
-
'600': 'heading-md',
|
|
7025
|
-
'500': 'heading-sm',
|
|
7026
|
-
'400': 'heading-xs',
|
|
7027
|
-
'300': 'heading-2xs'
|
|
7028
|
-
};
|
|
7029
|
-
}
|
|
7030
|
-
|
|
7031
7086
|
/**
|
|
7032
7087
|
* This will register this element with the browser.
|
|
7033
7088
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -7037,7 +7092,7 @@ class AuroHeader extends LitElement {
|
|
|
7037
7092
|
*
|
|
7038
7093
|
*/
|
|
7039
7094
|
static register(name = "auro-header") {
|
|
7040
|
-
AuroLibraryRuntimeUtils$
|
|
7095
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroHeader);
|
|
7041
7096
|
}
|
|
7042
7097
|
|
|
7043
7098
|
firstUpdated() {
|
|
@@ -7104,42 +7159,23 @@ class AuroHeader extends LitElement {
|
|
|
7104
7159
|
this.display = 'display';
|
|
7105
7160
|
}
|
|
7106
7161
|
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
'heading': true,
|
|
7115
|
-
[`heading--${this.display}`]: true,
|
|
7116
|
-
[headingClass]: true
|
|
7117
|
-
};
|
|
7118
|
-
|
|
7119
|
-
// Add spacing classes to the class object if they exist
|
|
7120
|
-
if (spacingClasses) {
|
|
7121
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
7122
|
-
spacingClassArray.forEach(cls => {
|
|
7123
|
-
if (cls.trim()) {
|
|
7124
|
-
classObject[cls.trim()] = true;
|
|
7125
|
-
}
|
|
7126
|
-
});
|
|
7162
|
+
switch (level) {
|
|
7163
|
+
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>`;
|
|
7164
|
+
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>`;
|
|
7165
|
+
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>`;
|
|
7166
|
+
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>`;
|
|
7167
|
+
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>`;
|
|
7168
|
+
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>`;
|
|
7127
7169
|
}
|
|
7128
|
-
|
|
7129
|
-
const headerClasses = classMap(classObject);
|
|
7130
|
-
|
|
7131
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
7132
|
-
const tag = unsafeStatic(`h${headingLevel}`);
|
|
7133
|
-
return html`<${tag} class="${headerClasses}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
7134
7170
|
}
|
|
7135
|
-
|
|
7136
7171
|
// function that renders the HTML and CSS into the scope of the component
|
|
7172
|
+
|
|
7137
7173
|
render() {
|
|
7138
7174
|
return this.template(this.level);
|
|
7139
7175
|
}
|
|
7140
7176
|
}
|
|
7141
7177
|
|
|
7142
|
-
var headerVersion = '4.0.
|
|
7178
|
+
var headerVersion = '4.0.1';
|
|
7143
7179
|
|
|
7144
7180
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7145
7181
|
// See LICENSE in the project root for license information.
|
|
@@ -7152,7 +7188,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
7152
7188
|
|
|
7153
7189
|
this.large = false;
|
|
7154
7190
|
|
|
7155
|
-
AuroLibraryRuntimeUtils$
|
|
7191
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
7156
7192
|
|
|
7157
7193
|
const versioning = new AuroDependencyVersioning();
|
|
7158
7194
|
|
|
@@ -7204,7 +7240,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
7204
7240
|
*
|
|
7205
7241
|
*/
|
|
7206
7242
|
static register(name = "auro-bibtemplate") {
|
|
7207
|
-
AuroLibraryRuntimeUtils$
|
|
7243
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroBibtemplate);
|
|
7208
7244
|
}
|
|
7209
7245
|
|
|
7210
7246
|
/**
|
|
@@ -7553,7 +7589,7 @@ class AuroSelect extends AuroElement$3 {
|
|
|
7553
7589
|
/**
|
|
7554
7590
|
* @private
|
|
7555
7591
|
*/
|
|
7556
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7592
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
7557
7593
|
|
|
7558
7594
|
/**
|
|
7559
7595
|
* Generate unique names for dependency components.
|
|
@@ -7910,23 +7946,12 @@ class AuroSelect extends AuroElement$3 {
|
|
|
7910
7946
|
* @returns {void}
|
|
7911
7947
|
*/
|
|
7912
7948
|
get commonLabelClasses() {
|
|
7913
|
-
|
|
7949
|
+
return {
|
|
7914
7950
|
'is-disabled': this.disabled,
|
|
7915
|
-
'withValue':
|
|
7951
|
+
'withValue': this.hasValue,
|
|
7916
7952
|
'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0,
|
|
7917
7953
|
[this.labelFontClass]: true
|
|
7918
7954
|
};
|
|
7919
|
-
|
|
7920
|
-
if (this.placeholder) {
|
|
7921
|
-
obj.withValue = true;
|
|
7922
|
-
} else if (this.optionSelected) {
|
|
7923
|
-
if (Array.isArray(this.optionSelected)) {
|
|
7924
|
-
obj.withValue = this.optionSelected.length > 0;
|
|
7925
|
-
} else {
|
|
7926
|
-
obj.withValue = true;
|
|
7927
|
-
}
|
|
7928
|
-
}
|
|
7929
|
-
return obj;
|
|
7930
7955
|
}
|
|
7931
7956
|
|
|
7932
7957
|
/**
|
|
@@ -8005,7 +8030,7 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8005
8030
|
*
|
|
8006
8031
|
*/
|
|
8007
8032
|
static register(name = "auro-select") {
|
|
8008
|
-
AuroLibraryRuntimeUtils$
|
|
8033
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroSelect);
|
|
8009
8034
|
}
|
|
8010
8035
|
|
|
8011
8036
|
/**
|
|
@@ -8384,11 +8409,7 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8384
8409
|
if (!this.menu) return;
|
|
8385
8410
|
|
|
8386
8411
|
this.menu.setAttribute('value', value);
|
|
8387
|
-
|
|
8388
|
-
this.menu.value = value;
|
|
8389
|
-
} else {
|
|
8390
|
-
this.menu.reset();
|
|
8391
|
-
}
|
|
8412
|
+
this.menu.value = value;
|
|
8392
8413
|
await this.menu.updateComplete;
|
|
8393
8414
|
}
|
|
8394
8415
|
|
|
@@ -8606,7 +8627,7 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8606
8627
|
'displayValue': true,
|
|
8607
8628
|
'hasContent': this.hasDisplayValueContent,
|
|
8608
8629
|
'hasFocus': this.isPopoverVisible,
|
|
8609
|
-
'withValue': this.
|
|
8630
|
+
'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
|
|
8610
8631
|
'force': this.forceDisplayValue,
|
|
8611
8632
|
};
|
|
8612
8633
|
|
|
@@ -8684,7 +8705,7 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8684
8705
|
'displayValue': true,
|
|
8685
8706
|
'hasContent': this.hasDisplayValueContent,
|
|
8686
8707
|
'hasFocus': this.isPopoverVisible,
|
|
8687
|
-
'withValue': this.
|
|
8708
|
+
'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
|
|
8688
8709
|
'force': this.forceDisplayValue,
|
|
8689
8710
|
};
|
|
8690
8711
|
|
|
@@ -8762,7 +8783,7 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8762
8783
|
'displayValue': true,
|
|
8763
8784
|
'hasContent': this.hasDisplayValueContent,
|
|
8764
8785
|
'hasFocus': this.isPopoverVisible,
|
|
8765
|
-
'withValue': this.
|
|
8786
|
+
'withValue': this.placeholder || (this.value && this.value.length > 0), // eslint-disable-line no-extra-parens
|
|
8766
8787
|
'force': this.forceDisplayValue,
|
|
8767
8788
|
};
|
|
8768
8789
|
|