@aurodesignsystem-dev/auro-formkit 0.0.0-pr1344.0 → 0.0.0-pr1344.2
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/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +91 -67
- package/components/combobox/demo/index.min.js +91 -67
- package/components/combobox/dist/index.js +91 -67
- package/components/combobox/dist/registered.js +91 -67
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.min.js +91 -67
- package/components/datepicker/demo/index.min.js +91 -67
- package/components/datepicker/dist/index.js +91 -67
- package/components/datepicker/dist/registered.js +91 -67
- 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.md +73 -30
- package/components/input/demo/api.min.js +89 -65
- package/components/input/demo/index.md +2 -22
- package/components/input/demo/index.min.js +89 -65
- package/components/input/dist/base-input.d.ts +1 -16
- package/components/input/dist/index.js +89 -65
- package/components/input/dist/registered.js +89 -65
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +0 -70
- package/package.json +2 -2
|
@@ -10597,6 +10597,92 @@ class UniqueId {
|
|
|
10597
10597
|
}
|
|
10598
10598
|
}
|
|
10599
10599
|
|
|
10600
|
+
/**
|
|
10601
|
+
* Class for interaction with the DOM.
|
|
10602
|
+
*/
|
|
10603
|
+
class DomHandler {
|
|
10604
|
+
/**
|
|
10605
|
+
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
10606
|
+
* the closest ancestor with a given attribute.
|
|
10607
|
+
*
|
|
10608
|
+
* @param {Node} startNode - The node to start from
|
|
10609
|
+
* @param {string} attrName - Attribute name to match
|
|
10610
|
+
* @returns {Element|null}
|
|
10611
|
+
*/
|
|
10612
|
+
closestWithAttribute(startNode, attrName) {
|
|
10613
|
+
let node = startNode;
|
|
10614
|
+
|
|
10615
|
+
while (node) {
|
|
10616
|
+
// Only check Elements
|
|
10617
|
+
if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
|
|
10618
|
+
return node;
|
|
10619
|
+
}
|
|
10620
|
+
|
|
10621
|
+
// Normal DOM parent
|
|
10622
|
+
if (node.parentNode) {
|
|
10623
|
+
node = node.parentNode;
|
|
10624
|
+
continue;
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10627
|
+
// Cross Shadow DOM boundary
|
|
10628
|
+
if (node instanceof ShadowRoot) {
|
|
10629
|
+
node = node.host;
|
|
10630
|
+
continue;
|
|
10631
|
+
}
|
|
10632
|
+
|
|
10633
|
+
// If we're inside a shadow tree and parentNode is null
|
|
10634
|
+
if (node.getRootNode) {
|
|
10635
|
+
const root = node.getRootNode();
|
|
10636
|
+
if (root instanceof ShadowRoot) {
|
|
10637
|
+
node = root.host;
|
|
10638
|
+
continue;
|
|
10639
|
+
}
|
|
10640
|
+
}
|
|
10641
|
+
|
|
10642
|
+
// Nothing left to traverse
|
|
10643
|
+
node = null;
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10646
|
+
return null;
|
|
10647
|
+
}
|
|
10648
|
+
|
|
10649
|
+
/**
|
|
10650
|
+
* If the locale wasn't set via attribute on `elem`,
|
|
10651
|
+
* then use the closest `data-locale` attribute crawling up the DOM tree.
|
|
10652
|
+
* If none is found, default to 'en-US'.
|
|
10653
|
+
*/
|
|
10654
|
+
getLocale(elem) {
|
|
10655
|
+
let locale = "en-US";
|
|
10656
|
+
|
|
10657
|
+
try {
|
|
10658
|
+
if (elem.hasAttribute("locale")) {
|
|
10659
|
+
locale = elem.getAttribute("locale");
|
|
10660
|
+
} else {
|
|
10661
|
+
const closestLocaleElement = this.closestWithAttribute(
|
|
10662
|
+
elem,
|
|
10663
|
+
"data-locale",
|
|
10664
|
+
);
|
|
10665
|
+
|
|
10666
|
+
if (closestLocaleElement) {
|
|
10667
|
+
locale = closestLocaleElement.getAttribute("data-locale");
|
|
10668
|
+
}
|
|
10669
|
+
}
|
|
10670
|
+
} catch (error) {
|
|
10671
|
+
if (!elem) {
|
|
10672
|
+
console.debug(
|
|
10673
|
+
"Auro getLocale: No element provided, defaulting to 'en-US'",
|
|
10674
|
+
);
|
|
10675
|
+
} else {
|
|
10676
|
+
console.debug(
|
|
10677
|
+
"Auro getLocale: Error accessing attributes, defaulting to 'en-US'",
|
|
10678
|
+
);
|
|
10679
|
+
}
|
|
10680
|
+
}
|
|
10681
|
+
|
|
10682
|
+
return locale;
|
|
10683
|
+
}
|
|
10684
|
+
}
|
|
10685
|
+
|
|
10600
10686
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10601
10687
|
// See LICENSE in the project root for license information.
|
|
10602
10688
|
|
|
@@ -10660,6 +10746,7 @@ class BaseInput extends AuroElement {
|
|
|
10660
10746
|
'dd/mm': 'dateDDMM',
|
|
10661
10747
|
'mm/dd': 'dateMMDD'
|
|
10662
10748
|
};
|
|
10749
|
+
this.domHandler = new DomHandler();
|
|
10663
10750
|
this.dvInputOnly = false;
|
|
10664
10751
|
this.hasValue = false;
|
|
10665
10752
|
this.inputIconName = undefined;
|
|
@@ -11094,7 +11181,7 @@ class BaseInput extends AuroElement {
|
|
|
11094
11181
|
connectedCallback() {
|
|
11095
11182
|
super.connectedCallback();
|
|
11096
11183
|
|
|
11097
|
-
this.
|
|
11184
|
+
this.locale = this.domHandler.getLocale(this);
|
|
11098
11185
|
}
|
|
11099
11186
|
|
|
11100
11187
|
firstUpdated() {
|
|
@@ -11197,69 +11284,6 @@ class BaseInput extends AuroElement {
|
|
|
11197
11284
|
}
|
|
11198
11285
|
}
|
|
11199
11286
|
|
|
11200
|
-
/**
|
|
11201
|
-
* MOVE THIS TO AURO-LIBRARY ???
|
|
11202
|
-
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
11203
|
-
* the closest ancestor with a given attribute.
|
|
11204
|
-
*
|
|
11205
|
-
* @param {Node} startNode - The node to start from
|
|
11206
|
-
* @param {string} attrName - Attribute name to match
|
|
11207
|
-
* @returns {Element|null}
|
|
11208
|
-
*/
|
|
11209
|
-
closestWithAttribute(startNode, attrName) {
|
|
11210
|
-
let node = startNode;
|
|
11211
|
-
|
|
11212
|
-
while (node) {
|
|
11213
|
-
// Only check Elements
|
|
11214
|
-
if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
|
|
11215
|
-
return node;
|
|
11216
|
-
}
|
|
11217
|
-
|
|
11218
|
-
// Normal DOM parent
|
|
11219
|
-
if (node.parentNode) {
|
|
11220
|
-
node = node.parentNode;
|
|
11221
|
-
continue;
|
|
11222
|
-
}
|
|
11223
|
-
|
|
11224
|
-
// Cross Shadow DOM boundary
|
|
11225
|
-
if (node instanceof ShadowRoot) {
|
|
11226
|
-
node = node.host;
|
|
11227
|
-
continue;
|
|
11228
|
-
}
|
|
11229
|
-
|
|
11230
|
-
// If we're inside a shadow tree and parentNode is null
|
|
11231
|
-
if (node.getRootNode) {
|
|
11232
|
-
const root = node.getRootNode();
|
|
11233
|
-
if (root instanceof ShadowRoot) {
|
|
11234
|
-
node = root.host;
|
|
11235
|
-
continue;
|
|
11236
|
-
}
|
|
11237
|
-
}
|
|
11238
|
-
|
|
11239
|
-
// Nothing left to traverse
|
|
11240
|
-
node = null;
|
|
11241
|
-
}
|
|
11242
|
-
|
|
11243
|
-
return null;
|
|
11244
|
-
}
|
|
11245
|
-
|
|
11246
|
-
/**
|
|
11247
|
-
* If the locale wasn't set via attribute,
|
|
11248
|
-
* look for the closest `data-locale` attribute in the DOM and use that.
|
|
11249
|
-
* If none is found, default to 'en-US'.
|
|
11250
|
-
*/
|
|
11251
|
-
setLocale() {
|
|
11252
|
-
if (!this.hasAttribute('locale')) {
|
|
11253
|
-
const closestLocaleElement = this.closestWithAttribute(this, 'data-locale');
|
|
11254
|
-
|
|
11255
|
-
if (closestLocaleElement) {
|
|
11256
|
-
this.locale = closestLocaleElement.getAttribute('data-locale');
|
|
11257
|
-
} else {
|
|
11258
|
-
this.locale = 'en-US';
|
|
11259
|
-
}
|
|
11260
|
-
}
|
|
11261
|
-
}
|
|
11262
|
-
|
|
11263
11287
|
/**
|
|
11264
11288
|
* LitElement lifecycle method. Called after the DOM has been updated.
|
|
11265
11289
|
* @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
|
|
@@ -12079,7 +12103,7 @@ class AuroHelpText extends i$3 {
|
|
|
12079
12103
|
}
|
|
12080
12104
|
}
|
|
12081
12105
|
|
|
12082
|
-
var formkitVersion = '
|
|
12106
|
+
var formkitVersion = '202602201815';
|
|
12083
12107
|
|
|
12084
12108
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12085
12109
|
// See LICENSE in the project root for license information.
|
|
@@ -393,6 +393,7 @@ export default class BaseInput extends AuroElement {
|
|
|
393
393
|
'dd/mm': string;
|
|
394
394
|
'mm/dd': string;
|
|
395
395
|
};
|
|
396
|
+
domHandler: any;
|
|
396
397
|
dvInputOnly: boolean;
|
|
397
398
|
hasValue: boolean;
|
|
398
399
|
inputIconName: any;
|
|
@@ -426,22 +427,6 @@ export default class BaseInput extends AuroElement {
|
|
|
426
427
|
* @returns {void} Sets the default help text for the input.
|
|
427
428
|
*/
|
|
428
429
|
private setCustomHelpTextMessage;
|
|
429
|
-
/**
|
|
430
|
-
* MOVE THIS TO AURO-LIBRARY ???
|
|
431
|
-
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
432
|
-
* the closest ancestor with a given attribute.
|
|
433
|
-
*
|
|
434
|
-
* @param {Node} startNode - The node to start from
|
|
435
|
-
* @param {string} attrName - Attribute name to match
|
|
436
|
-
* @returns {Element|null}
|
|
437
|
-
*/
|
|
438
|
-
closestWithAttribute(startNode: Node, attrName: string): Element | null;
|
|
439
|
-
/**
|
|
440
|
-
* If the locale wasn't set via attribute,
|
|
441
|
-
* look for the closest `data-locale` attribute in the DOM and use that.
|
|
442
|
-
* If none is found, default to 'en-US'.
|
|
443
|
-
*/
|
|
444
|
-
setLocale(): void;
|
|
445
430
|
/**
|
|
446
431
|
* LitElement lifecycle method. Called after the DOM has been updated.
|
|
447
432
|
* @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
|
|
@@ -10538,6 +10538,92 @@ class UniqueId {
|
|
|
10538
10538
|
}
|
|
10539
10539
|
}
|
|
10540
10540
|
|
|
10541
|
+
/**
|
|
10542
|
+
* Class for interaction with the DOM.
|
|
10543
|
+
*/
|
|
10544
|
+
class DomHandler {
|
|
10545
|
+
/**
|
|
10546
|
+
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
10547
|
+
* the closest ancestor with a given attribute.
|
|
10548
|
+
*
|
|
10549
|
+
* @param {Node} startNode - The node to start from
|
|
10550
|
+
* @param {string} attrName - Attribute name to match
|
|
10551
|
+
* @returns {Element|null}
|
|
10552
|
+
*/
|
|
10553
|
+
closestWithAttribute(startNode, attrName) {
|
|
10554
|
+
let node = startNode;
|
|
10555
|
+
|
|
10556
|
+
while (node) {
|
|
10557
|
+
// Only check Elements
|
|
10558
|
+
if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
|
|
10559
|
+
return node;
|
|
10560
|
+
}
|
|
10561
|
+
|
|
10562
|
+
// Normal DOM parent
|
|
10563
|
+
if (node.parentNode) {
|
|
10564
|
+
node = node.parentNode;
|
|
10565
|
+
continue;
|
|
10566
|
+
}
|
|
10567
|
+
|
|
10568
|
+
// Cross Shadow DOM boundary
|
|
10569
|
+
if (node instanceof ShadowRoot) {
|
|
10570
|
+
node = node.host;
|
|
10571
|
+
continue;
|
|
10572
|
+
}
|
|
10573
|
+
|
|
10574
|
+
// If we're inside a shadow tree and parentNode is null
|
|
10575
|
+
if (node.getRootNode) {
|
|
10576
|
+
const root = node.getRootNode();
|
|
10577
|
+
if (root instanceof ShadowRoot) {
|
|
10578
|
+
node = root.host;
|
|
10579
|
+
continue;
|
|
10580
|
+
}
|
|
10581
|
+
}
|
|
10582
|
+
|
|
10583
|
+
// Nothing left to traverse
|
|
10584
|
+
node = null;
|
|
10585
|
+
}
|
|
10586
|
+
|
|
10587
|
+
return null;
|
|
10588
|
+
}
|
|
10589
|
+
|
|
10590
|
+
/**
|
|
10591
|
+
* If the locale wasn't set via attribute on `elem`,
|
|
10592
|
+
* then use the closest `data-locale` attribute crawling up the DOM tree.
|
|
10593
|
+
* If none is found, default to 'en-US'.
|
|
10594
|
+
*/
|
|
10595
|
+
getLocale(elem) {
|
|
10596
|
+
let locale = "en-US";
|
|
10597
|
+
|
|
10598
|
+
try {
|
|
10599
|
+
if (elem.hasAttribute("locale")) {
|
|
10600
|
+
locale = elem.getAttribute("locale");
|
|
10601
|
+
} else {
|
|
10602
|
+
const closestLocaleElement = this.closestWithAttribute(
|
|
10603
|
+
elem,
|
|
10604
|
+
"data-locale",
|
|
10605
|
+
);
|
|
10606
|
+
|
|
10607
|
+
if (closestLocaleElement) {
|
|
10608
|
+
locale = closestLocaleElement.getAttribute("data-locale");
|
|
10609
|
+
}
|
|
10610
|
+
}
|
|
10611
|
+
} catch (error) {
|
|
10612
|
+
if (!elem) {
|
|
10613
|
+
console.debug(
|
|
10614
|
+
"Auro getLocale: No element provided, defaulting to 'en-US'",
|
|
10615
|
+
);
|
|
10616
|
+
} else {
|
|
10617
|
+
console.debug(
|
|
10618
|
+
"Auro getLocale: Error accessing attributes, defaulting to 'en-US'",
|
|
10619
|
+
);
|
|
10620
|
+
}
|
|
10621
|
+
}
|
|
10622
|
+
|
|
10623
|
+
return locale;
|
|
10624
|
+
}
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10541
10627
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10542
10628
|
// See LICENSE in the project root for license information.
|
|
10543
10629
|
|
|
@@ -10601,6 +10687,7 @@ class BaseInput extends AuroElement {
|
|
|
10601
10687
|
'dd/mm': 'dateDDMM',
|
|
10602
10688
|
'mm/dd': 'dateMMDD'
|
|
10603
10689
|
};
|
|
10690
|
+
this.domHandler = new DomHandler();
|
|
10604
10691
|
this.dvInputOnly = false;
|
|
10605
10692
|
this.hasValue = false;
|
|
10606
10693
|
this.inputIconName = undefined;
|
|
@@ -11035,7 +11122,7 @@ class BaseInput extends AuroElement {
|
|
|
11035
11122
|
connectedCallback() {
|
|
11036
11123
|
super.connectedCallback();
|
|
11037
11124
|
|
|
11038
|
-
this.
|
|
11125
|
+
this.locale = this.domHandler.getLocale(this);
|
|
11039
11126
|
}
|
|
11040
11127
|
|
|
11041
11128
|
firstUpdated() {
|
|
@@ -11138,69 +11225,6 @@ class BaseInput extends AuroElement {
|
|
|
11138
11225
|
}
|
|
11139
11226
|
}
|
|
11140
11227
|
|
|
11141
|
-
/**
|
|
11142
|
-
* MOVE THIS TO AURO-LIBRARY ???
|
|
11143
|
-
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
11144
|
-
* the closest ancestor with a given attribute.
|
|
11145
|
-
*
|
|
11146
|
-
* @param {Node} startNode - The node to start from
|
|
11147
|
-
* @param {string} attrName - Attribute name to match
|
|
11148
|
-
* @returns {Element|null}
|
|
11149
|
-
*/
|
|
11150
|
-
closestWithAttribute(startNode, attrName) {
|
|
11151
|
-
let node = startNode;
|
|
11152
|
-
|
|
11153
|
-
while (node) {
|
|
11154
|
-
// Only check Elements
|
|
11155
|
-
if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
|
|
11156
|
-
return node;
|
|
11157
|
-
}
|
|
11158
|
-
|
|
11159
|
-
// Normal DOM parent
|
|
11160
|
-
if (node.parentNode) {
|
|
11161
|
-
node = node.parentNode;
|
|
11162
|
-
continue;
|
|
11163
|
-
}
|
|
11164
|
-
|
|
11165
|
-
// Cross Shadow DOM boundary
|
|
11166
|
-
if (node instanceof ShadowRoot) {
|
|
11167
|
-
node = node.host;
|
|
11168
|
-
continue;
|
|
11169
|
-
}
|
|
11170
|
-
|
|
11171
|
-
// If we're inside a shadow tree and parentNode is null
|
|
11172
|
-
if (node.getRootNode) {
|
|
11173
|
-
const root = node.getRootNode();
|
|
11174
|
-
if (root instanceof ShadowRoot) {
|
|
11175
|
-
node = root.host;
|
|
11176
|
-
continue;
|
|
11177
|
-
}
|
|
11178
|
-
}
|
|
11179
|
-
|
|
11180
|
-
// Nothing left to traverse
|
|
11181
|
-
node = null;
|
|
11182
|
-
}
|
|
11183
|
-
|
|
11184
|
-
return null;
|
|
11185
|
-
}
|
|
11186
|
-
|
|
11187
|
-
/**
|
|
11188
|
-
* If the locale wasn't set via attribute,
|
|
11189
|
-
* look for the closest `data-locale` attribute in the DOM and use that.
|
|
11190
|
-
* If none is found, default to 'en-US'.
|
|
11191
|
-
*/
|
|
11192
|
-
setLocale() {
|
|
11193
|
-
if (!this.hasAttribute('locale')) {
|
|
11194
|
-
const closestLocaleElement = this.closestWithAttribute(this, 'data-locale');
|
|
11195
|
-
|
|
11196
|
-
if (closestLocaleElement) {
|
|
11197
|
-
this.locale = closestLocaleElement.getAttribute('data-locale');
|
|
11198
|
-
} else {
|
|
11199
|
-
this.locale = 'en-US';
|
|
11200
|
-
}
|
|
11201
|
-
}
|
|
11202
|
-
}
|
|
11203
|
-
|
|
11204
11228
|
/**
|
|
11205
11229
|
* LitElement lifecycle method. Called after the DOM has been updated.
|
|
11206
11230
|
* @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
|
|
@@ -12020,7 +12044,7 @@ class AuroHelpText extends LitElement {
|
|
|
12020
12044
|
}
|
|
12021
12045
|
}
|
|
12022
12046
|
|
|
12023
|
-
var formkitVersion = '
|
|
12047
|
+
var formkitVersion = '202602201815';
|
|
12024
12048
|
|
|
12025
12049
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12026
12050
|
// See LICENSE in the project root for license information.
|
|
@@ -10538,6 +10538,92 @@ class UniqueId {
|
|
|
10538
10538
|
}
|
|
10539
10539
|
}
|
|
10540
10540
|
|
|
10541
|
+
/**
|
|
10542
|
+
* Class for interaction with the DOM.
|
|
10543
|
+
*/
|
|
10544
|
+
class DomHandler {
|
|
10545
|
+
/**
|
|
10546
|
+
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
10547
|
+
* the closest ancestor with a given attribute.
|
|
10548
|
+
*
|
|
10549
|
+
* @param {Node} startNode - The node to start from
|
|
10550
|
+
* @param {string} attrName - Attribute name to match
|
|
10551
|
+
* @returns {Element|null}
|
|
10552
|
+
*/
|
|
10553
|
+
closestWithAttribute(startNode, attrName) {
|
|
10554
|
+
let node = startNode;
|
|
10555
|
+
|
|
10556
|
+
while (node) {
|
|
10557
|
+
// Only check Elements
|
|
10558
|
+
if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
|
|
10559
|
+
return node;
|
|
10560
|
+
}
|
|
10561
|
+
|
|
10562
|
+
// Normal DOM parent
|
|
10563
|
+
if (node.parentNode) {
|
|
10564
|
+
node = node.parentNode;
|
|
10565
|
+
continue;
|
|
10566
|
+
}
|
|
10567
|
+
|
|
10568
|
+
// Cross Shadow DOM boundary
|
|
10569
|
+
if (node instanceof ShadowRoot) {
|
|
10570
|
+
node = node.host;
|
|
10571
|
+
continue;
|
|
10572
|
+
}
|
|
10573
|
+
|
|
10574
|
+
// If we're inside a shadow tree and parentNode is null
|
|
10575
|
+
if (node.getRootNode) {
|
|
10576
|
+
const root = node.getRootNode();
|
|
10577
|
+
if (root instanceof ShadowRoot) {
|
|
10578
|
+
node = root.host;
|
|
10579
|
+
continue;
|
|
10580
|
+
}
|
|
10581
|
+
}
|
|
10582
|
+
|
|
10583
|
+
// Nothing left to traverse
|
|
10584
|
+
node = null;
|
|
10585
|
+
}
|
|
10586
|
+
|
|
10587
|
+
return null;
|
|
10588
|
+
}
|
|
10589
|
+
|
|
10590
|
+
/**
|
|
10591
|
+
* If the locale wasn't set via attribute on `elem`,
|
|
10592
|
+
* then use the closest `data-locale` attribute crawling up the DOM tree.
|
|
10593
|
+
* If none is found, default to 'en-US'.
|
|
10594
|
+
*/
|
|
10595
|
+
getLocale(elem) {
|
|
10596
|
+
let locale = "en-US";
|
|
10597
|
+
|
|
10598
|
+
try {
|
|
10599
|
+
if (elem.hasAttribute("locale")) {
|
|
10600
|
+
locale = elem.getAttribute("locale");
|
|
10601
|
+
} else {
|
|
10602
|
+
const closestLocaleElement = this.closestWithAttribute(
|
|
10603
|
+
elem,
|
|
10604
|
+
"data-locale",
|
|
10605
|
+
);
|
|
10606
|
+
|
|
10607
|
+
if (closestLocaleElement) {
|
|
10608
|
+
locale = closestLocaleElement.getAttribute("data-locale");
|
|
10609
|
+
}
|
|
10610
|
+
}
|
|
10611
|
+
} catch (error) {
|
|
10612
|
+
if (!elem) {
|
|
10613
|
+
console.debug(
|
|
10614
|
+
"Auro getLocale: No element provided, defaulting to 'en-US'",
|
|
10615
|
+
);
|
|
10616
|
+
} else {
|
|
10617
|
+
console.debug(
|
|
10618
|
+
"Auro getLocale: Error accessing attributes, defaulting to 'en-US'",
|
|
10619
|
+
);
|
|
10620
|
+
}
|
|
10621
|
+
}
|
|
10622
|
+
|
|
10623
|
+
return locale;
|
|
10624
|
+
}
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10541
10627
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10542
10628
|
// See LICENSE in the project root for license information.
|
|
10543
10629
|
|
|
@@ -10601,6 +10687,7 @@ class BaseInput extends AuroElement {
|
|
|
10601
10687
|
'dd/mm': 'dateDDMM',
|
|
10602
10688
|
'mm/dd': 'dateMMDD'
|
|
10603
10689
|
};
|
|
10690
|
+
this.domHandler = new DomHandler();
|
|
10604
10691
|
this.dvInputOnly = false;
|
|
10605
10692
|
this.hasValue = false;
|
|
10606
10693
|
this.inputIconName = undefined;
|
|
@@ -11035,7 +11122,7 @@ class BaseInput extends AuroElement {
|
|
|
11035
11122
|
connectedCallback() {
|
|
11036
11123
|
super.connectedCallback();
|
|
11037
11124
|
|
|
11038
|
-
this.
|
|
11125
|
+
this.locale = this.domHandler.getLocale(this);
|
|
11039
11126
|
}
|
|
11040
11127
|
|
|
11041
11128
|
firstUpdated() {
|
|
@@ -11138,69 +11225,6 @@ class BaseInput extends AuroElement {
|
|
|
11138
11225
|
}
|
|
11139
11226
|
}
|
|
11140
11227
|
|
|
11141
|
-
/**
|
|
11142
|
-
* MOVE THIS TO AURO-LIBRARY ???
|
|
11143
|
-
* Walk up the DOM (including Shadow DOM boundaries) to find
|
|
11144
|
-
* the closest ancestor with a given attribute.
|
|
11145
|
-
*
|
|
11146
|
-
* @param {Node} startNode - The node to start from
|
|
11147
|
-
* @param {string} attrName - Attribute name to match
|
|
11148
|
-
* @returns {Element|null}
|
|
11149
|
-
*/
|
|
11150
|
-
closestWithAttribute(startNode, attrName) {
|
|
11151
|
-
let node = startNode;
|
|
11152
|
-
|
|
11153
|
-
while (node) {
|
|
11154
|
-
// Only check Elements
|
|
11155
|
-
if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute(attrName)) {
|
|
11156
|
-
return node;
|
|
11157
|
-
}
|
|
11158
|
-
|
|
11159
|
-
// Normal DOM parent
|
|
11160
|
-
if (node.parentNode) {
|
|
11161
|
-
node = node.parentNode;
|
|
11162
|
-
continue;
|
|
11163
|
-
}
|
|
11164
|
-
|
|
11165
|
-
// Cross Shadow DOM boundary
|
|
11166
|
-
if (node instanceof ShadowRoot) {
|
|
11167
|
-
node = node.host;
|
|
11168
|
-
continue;
|
|
11169
|
-
}
|
|
11170
|
-
|
|
11171
|
-
// If we're inside a shadow tree and parentNode is null
|
|
11172
|
-
if (node.getRootNode) {
|
|
11173
|
-
const root = node.getRootNode();
|
|
11174
|
-
if (root instanceof ShadowRoot) {
|
|
11175
|
-
node = root.host;
|
|
11176
|
-
continue;
|
|
11177
|
-
}
|
|
11178
|
-
}
|
|
11179
|
-
|
|
11180
|
-
// Nothing left to traverse
|
|
11181
|
-
node = null;
|
|
11182
|
-
}
|
|
11183
|
-
|
|
11184
|
-
return null;
|
|
11185
|
-
}
|
|
11186
|
-
|
|
11187
|
-
/**
|
|
11188
|
-
* If the locale wasn't set via attribute,
|
|
11189
|
-
* look for the closest `data-locale` attribute in the DOM and use that.
|
|
11190
|
-
* If none is found, default to 'en-US'.
|
|
11191
|
-
*/
|
|
11192
|
-
setLocale() {
|
|
11193
|
-
if (!this.hasAttribute('locale')) {
|
|
11194
|
-
const closestLocaleElement = this.closestWithAttribute(this, 'data-locale');
|
|
11195
|
-
|
|
11196
|
-
if (closestLocaleElement) {
|
|
11197
|
-
this.locale = closestLocaleElement.getAttribute('data-locale');
|
|
11198
|
-
} else {
|
|
11199
|
-
this.locale = 'en-US';
|
|
11200
|
-
}
|
|
11201
|
-
}
|
|
11202
|
-
}
|
|
11203
|
-
|
|
11204
11228
|
/**
|
|
11205
11229
|
* LitElement lifecycle method. Called after the DOM has been updated.
|
|
11206
11230
|
* @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
|
|
@@ -12020,7 +12044,7 @@ class AuroHelpText extends LitElement {
|
|
|
12020
12044
|
}
|
|
12021
12045
|
}
|
|
12022
12046
|
|
|
12023
|
-
var formkitVersion = '
|
|
12047
|
+
var formkitVersion = '202602201815';
|
|
12024
12048
|
|
|
12025
12049
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12026
12050
|
// See LICENSE in the project root for license information.
|
|
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
|
-
var formkitVersion = '
|
|
1648
|
+
var formkitVersion = '202602201815';
|
|
1649
1649
|
|
|
1650
1650
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1651
1651
|
// See LICENSE in the project root for license information.
|
|
@@ -1620,7 +1620,7 @@ class AuroHelpText extends i$2 {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
var formkitVersion = '
|
|
1623
|
+
var formkitVersion = '202602201815';
|
|
1624
1624
|
|
|
1625
1625
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1626
1626
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202602201815';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
var formkitVersion = '
|
|
1576
|
+
var formkitVersion = '202602201815';
|
|
1577
1577
|
|
|
1578
1578
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1579
1579
|
// See LICENSE in the project root for license information.
|
|
@@ -4481,7 +4481,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
4481
4481
|
}
|
|
4482
4482
|
};
|
|
4483
4483
|
|
|
4484
|
-
var formkitVersion$1 = '
|
|
4484
|
+
var formkitVersion$1 = '202602201815';
|
|
4485
4485
|
|
|
4486
4486
|
class AuroElement extends i$3 {
|
|
4487
4487
|
static get properties() {
|
|
@@ -6138,7 +6138,7 @@ class AuroHelpText extends i$3 {
|
|
|
6138
6138
|
}
|
|
6139
6139
|
}
|
|
6140
6140
|
|
|
6141
|
-
var formkitVersion = '
|
|
6141
|
+
var formkitVersion = '202602201815';
|
|
6142
6142
|
|
|
6143
6143
|
var styleCss$2 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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, 1rem)}.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.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, 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"),var(--wcss-display-xl-family-fallback, 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"),var(--wcss-display-lg-family-fallback, 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"),var(--wcss-display-md-family-fallback, 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"),var(--wcss-display-sm-family-fallback, 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"),var(--wcss-display-xs-family-fallback, 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"),var(--wcss-heading-xl-family-fallback, 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"),var(--wcss-heading-lg-family-fallback, 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"),var(--wcss-heading-md-family-fallback, 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"),var(--wcss-heading-sm-family-fallback, 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"),var(--wcss-heading-xs-family-fallback, 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"),var(--wcss-heading-2xs-family-fallback, 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"),var(--wcss-accent-2xl-family-fallback, 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-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, 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"),var(--wcss-accent-lg-family-fallback, 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-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, 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"),var(--wcss-accent-sm-family-fallback, 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-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, 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"),var(--wcss-accent-2xs-family-fallback, 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);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
6144
6144
|
|