@aurodesignsystem/auro-formkit 6.1.0 → 6.2.0
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/CHANGELOG.md +24 -16
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +17 -4
- package/components/bibtemplate/dist/registered.js +17 -4
- package/components/checkbox/demo/accessibility.md +15 -4
- package/components/checkbox/demo/api.md +20 -13
- package/components/checkbox/demo/customize.md +2 -1
- package/components/checkbox/demo/customize.min.js +129 -29
- package/components/checkbox/demo/getting-started.min.js +129 -29
- package/components/checkbox/demo/index.min.js +129 -29
- package/components/checkbox/demo/styles.min.css +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +33 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +7 -2
- package/components/checkbox/dist/index.js +129 -29
- package/components/checkbox/dist/registered.js +129 -29
- package/components/combobox/demo/api.md +27 -19
- package/components/combobox/demo/customize.min.js +676 -151
- package/components/combobox/demo/getting-started.md +49 -0
- package/components/combobox/demo/getting-started.min.js +695 -151
- package/components/combobox/demo/index.min.js +676 -151
- package/components/combobox/demo/styles.min.css +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +72 -27
- package/components/combobox/dist/index.js +569 -133
- package/components/combobox/dist/registered.js +569 -133
- package/components/counter/demo/api.md +36 -16
- package/components/counter/demo/customize.min.js +692 -105
- package/components/counter/demo/getting-started.html +3 -1
- package/components/counter/demo/getting-started.md +49 -0
- package/components/counter/demo/getting-started.min.js +8808 -0
- package/components/counter/demo/index.min.js +692 -105
- package/components/counter/demo/styles.min.css +1 -1
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +38 -6
- package/components/counter/dist/auro-counter.d.ts +33 -0
- package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +1 -0
- package/components/counter/dist/index.js +691 -104
- package/components/counter/dist/registered.js +691 -104
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +659 -166
- package/components/datepicker/demo/getting-started.html +3 -1
- package/components/datepicker/demo/getting-started.md +39 -0
- package/components/datepicker/demo/getting-started.min.js +37669 -0
- package/components/datepicker/demo/index.min.js +659 -166
- package/components/datepicker/demo/styles.min.css +1 -1
- package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
- package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
- package/components/datepicker/dist/auro-calendar.d.ts +25 -6
- package/components/datepicker/dist/auro-datepicker.d.ts +75 -24
- package/components/datepicker/dist/index.js +658 -165
- package/components/datepicker/dist/registered.js +658 -165
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +217 -43
- package/components/dropdown/demo/getting-started.min.js +364 -95
- package/components/dropdown/demo/index.min.js +217 -43
- package/components/dropdown/demo/styles.min.css +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +35 -8
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +217 -43
- package/components/dropdown/dist/registered.js +217 -43
- package/components/form/demo/customize.min.js +2739 -628
- package/components/form/demo/getting-started.min.js +2739 -628
- package/components/form/demo/index.min.js +2739 -628
- package/components/form/demo/registerDemoDeps.min.js +2733 -627
- package/components/form/demo/styles.min.css +1 -1
- package/components/form/dist/index.js +6 -1
- package/components/form/dist/registered.js +6 -1
- package/components/helptext/dist/auro-helptext.d.ts +9 -7
- package/components/helptext/dist/index.js +9 -3
- package/components/helptext/dist/registered.js +9 -3
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.md +0 -37
- package/components/input/demo/customize.min.js +147 -61
- package/components/input/demo/getting-started.md +33 -0
- package/components/input/demo/getting-started.min.js +167 -52
- package/components/input/demo/index.min.js +147 -52
- package/components/input/demo/styles.min.css +1 -1
- package/components/input/dist/base-input.d.ts +80 -25
- package/components/input/dist/index.js +146 -51
- package/components/input/dist/registered.js +146 -51
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +31 -27
- package/components/menu/demo/index.min.js +126 -37
- package/components/menu/demo/styles.min.css +1 -1
- package/components/menu/dist/auro-menu.d.ts +26 -21
- package/components/menu/dist/auro-menuoption.d.ts +27 -1
- package/components/menu/dist/index.js +126 -37
- package/components/menu/dist/registered.js +126 -37
- package/components/radio/demo/accessibility.md +15 -4
- package/components/radio/demo/api.md +10 -9
- package/components/radio/demo/customize.min.js +120 -27
- package/components/radio/demo/getting-started.min.js +120 -27
- package/components/radio/demo/index.min.js +120 -27
- package/components/radio/demo/styles.min.css +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +31 -3
- package/components/radio/dist/auro-radio.d.ts +4 -2
- package/components/radio/dist/index.js +120 -27
- package/components/radio/dist/registered.js +120 -27
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +396 -94
- package/components/select/demo/getting-started.md +49 -0
- package/components/select/demo/getting-started.min.js +418 -95
- package/components/select/demo/index.min.js +396 -94
- package/components/select/demo/styles.min.css +1 -1
- package/components/select/dist/auro-select.d.ts +18 -0
- package/components/select/dist/index.js +289 -76
- package/components/select/dist/registered.js +289 -76
- package/custom-elements.json +1354 -1404
- package/package.json +11 -11
|
@@ -1775,6 +1775,48 @@ const computePosition = (reference, floating, options) => {
|
|
|
1775
1775
|
});
|
|
1776
1776
|
};
|
|
1777
1777
|
|
|
1778
|
+
/**
|
|
1779
|
+
* Generates a v4 UUID with a three-tier fallback for insecure contexts.
|
|
1780
|
+
*
|
|
1781
|
+
* Tier 1 (secure contexts): crypto.randomUUID() — native, fully random.
|
|
1782
|
+
* Tier 2 (insecure contexts): crypto.getRandomValues() — available on all
|
|
1783
|
+
* modern browsers regardless of secure-context status.
|
|
1784
|
+
* Tier 3 (last resort, no crypto API): new Date().getTime() — lower entropy,
|
|
1785
|
+
* but sufficient for element IDs where collision risk is negligible.
|
|
1786
|
+
*
|
|
1787
|
+
* See: https://w3c.github.io/webcrypto/#dom-crypto-randomuuid (secure-context restriction)
|
|
1788
|
+
*/
|
|
1789
|
+
function generateUUID() {
|
|
1790
|
+
let uuid;
|
|
1791
|
+
|
|
1792
|
+
if (
|
|
1793
|
+
typeof crypto !== "undefined" &&
|
|
1794
|
+
typeof crypto.randomUUID === "function"
|
|
1795
|
+
) {
|
|
1796
|
+
uuid = crypto.randomUUID();
|
|
1797
|
+
} else if (
|
|
1798
|
+
typeof crypto !== "undefined" &&
|
|
1799
|
+
typeof crypto.getRandomValues === "function"
|
|
1800
|
+
) {
|
|
1801
|
+
const bytes = new Uint8Array(16);
|
|
1802
|
+
crypto.getRandomValues(bytes);
|
|
1803
|
+
bytes[6] = (bytes[6] & 0x0f) | 0x40;
|
|
1804
|
+
bytes[8] = (bytes[8] & 0x3f) | 0x80;
|
|
1805
|
+
const hex = Array.from(bytes).map((b) => b.toString(16).padStart(2, "0"));
|
|
1806
|
+
uuid = `${hex.slice(0, 4).join("")}-${hex.slice(4, 6).join("")}-${hex.slice(6, 8).join("")}-${hex.slice(8, 10).join("")}-${hex.slice(10).join("")}`;
|
|
1807
|
+
} else {
|
|
1808
|
+
let d = new Date().getTime();
|
|
1809
|
+
uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
1810
|
+
const r = (d % 16) | 0;
|
|
1811
|
+
d = (d - r) / 16 || new Date().getTime();
|
|
1812
|
+
return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
|
|
1813
|
+
});
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
// CSS selectors require IDs starting with a letter; replace a leading digit with 'a'.
|
|
1817
|
+
return /^[0-9]/.test(uuid) ? `a${uuid.slice(1)}` : uuid;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1778
1820
|
/* eslint-disable line-comment-position, no-inline-comments */
|
|
1779
1821
|
|
|
1780
1822
|
|
|
@@ -2108,15 +2150,57 @@ class AuroFloatingUI {
|
|
|
2108
2150
|
document.body.style.top = `-${this._savedScrollY}px`;
|
|
2109
2151
|
document.body.style.width = "100%";
|
|
2110
2152
|
|
|
2111
|
-
//
|
|
2112
|
-
|
|
2113
|
-
|
|
2153
|
+
// Keep the bib aligned with the visual viewport as the VKB opens.
|
|
2154
|
+
// A one-shot offsetTop check at lock time is stale by the time the user
|
|
2155
|
+
// taps an input mid-drawer — iOS then pans visualViewport upward and the
|
|
2156
|
+
// bib drifts off-screen. Listen continuously so the transform tracks the pan.
|
|
2157
|
+
// RAF-throttled to avoid a style recalc on every scroll tick during the
|
|
2158
|
+
// keyboard animation; the pending frame is canceled on unlock so it cannot
|
|
2159
|
+
// reapply a translate after bibTransform has been restored.
|
|
2160
|
+
if (window.visualViewport) {
|
|
2161
|
+
this._viewportRafId = undefined;
|
|
2162
|
+
this._viewportHandler = () => {
|
|
2163
|
+
if (this._viewportRafId !== undefined) {
|
|
2164
|
+
return;
|
|
2165
|
+
}
|
|
2166
|
+
this._viewportRafId = requestAnimationFrame(() => {
|
|
2167
|
+
this._viewportRafId = undefined;
|
|
2168
|
+
if (element?.bib) {
|
|
2169
|
+
element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
|
|
2170
|
+
}
|
|
2171
|
+
});
|
|
2172
|
+
};
|
|
2173
|
+
window.visualViewport.addEventListener(
|
|
2174
|
+
"resize",
|
|
2175
|
+
this._viewportHandler,
|
|
2176
|
+
);
|
|
2177
|
+
window.visualViewport.addEventListener(
|
|
2178
|
+
"scroll",
|
|
2179
|
+
this._viewportHandler,
|
|
2180
|
+
);
|
|
2181
|
+
this._viewportHandler();
|
|
2114
2182
|
}
|
|
2115
2183
|
|
|
2116
2184
|
this.lockTouchScroll(true);
|
|
2117
2185
|
}
|
|
2118
2186
|
} else {
|
|
2119
2187
|
if (this._scrollLocked) {
|
|
2188
|
+
if (this._viewportHandler && window.visualViewport) {
|
|
2189
|
+
window.visualViewport.removeEventListener(
|
|
2190
|
+
"resize",
|
|
2191
|
+
this._viewportHandler,
|
|
2192
|
+
);
|
|
2193
|
+
window.visualViewport.removeEventListener(
|
|
2194
|
+
"scroll",
|
|
2195
|
+
this._viewportHandler,
|
|
2196
|
+
);
|
|
2197
|
+
this._viewportHandler = undefined;
|
|
2198
|
+
}
|
|
2199
|
+
if (this._viewportRafId !== undefined) {
|
|
2200
|
+
cancelAnimationFrame(this._viewportRafId);
|
|
2201
|
+
this._viewportRafId = undefined;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2120
2204
|
document.documentElement.style.scrollbarGutter =
|
|
2121
2205
|
this._savedScrollStyles?.rootScrollbarGutter ?? "";
|
|
2122
2206
|
document.documentElement.style.overflow =
|
|
@@ -2208,7 +2292,7 @@ class AuroFloatingUI {
|
|
|
2208
2292
|
bibContent.style.width = "";
|
|
2209
2293
|
bibContent.style.height = "";
|
|
2210
2294
|
bibContent.style.maxWidth = "";
|
|
2211
|
-
bibContent.style.maxHeight =
|
|
2295
|
+
bibContent.style.maxHeight = "";
|
|
2212
2296
|
this.configureTrial = 0;
|
|
2213
2297
|
} else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
|
|
2214
2298
|
this.configureTrial += 1;
|
|
@@ -2505,6 +2589,24 @@ class AuroFloatingUI {
|
|
|
2505
2589
|
if (!this.showing) {
|
|
2506
2590
|
if (!element.modal) {
|
|
2507
2591
|
this.setupHideHandlers();
|
|
2592
|
+
} else {
|
|
2593
|
+
if (this.keyDownHandler) {
|
|
2594
|
+
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2595
|
+
}
|
|
2596
|
+
this.keyDownHandler = (evt) => {
|
|
2597
|
+
if (evt.key === "Escape" && element.isPopoverVisible) {
|
|
2598
|
+
// Intercept at keydown so CloseWatcher never sees the keystroke.
|
|
2599
|
+
// Canceling `cancel` alone is insufficient — a second Esc with no
|
|
2600
|
+
// intervening user activation triggers the anti-trap and fires `close`
|
|
2601
|
+
// directly, bypassing any `cancel` preventDefault (AB#1613688).
|
|
2602
|
+
// stopImmediatePropagation is intentional: it prevents other document
|
|
2603
|
+
// keydown handlers (e.g. consumer code, auro-dialog) from also acting
|
|
2604
|
+
// on Escape while the modal owns the key.
|
|
2605
|
+
evt.preventDefault();
|
|
2606
|
+
evt.stopImmediatePropagation();
|
|
2607
|
+
}
|
|
2608
|
+
};
|
|
2609
|
+
document.addEventListener("keydown", this.keyDownHandler);
|
|
2508
2610
|
}
|
|
2509
2611
|
this.showing = true;
|
|
2510
2612
|
element.isPopoverVisible = true;
|
|
@@ -2733,7 +2835,7 @@ class AuroFloatingUI {
|
|
|
2733
2835
|
|
|
2734
2836
|
this.id = element.getAttribute("id");
|
|
2735
2837
|
if (!this.id) {
|
|
2736
|
-
this.id =
|
|
2838
|
+
this.id = generateUUID();
|
|
2737
2839
|
element.setAttribute("id", this.id);
|
|
2738
2840
|
}
|
|
2739
2841
|
|
|
@@ -3191,8 +3293,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
3191
3293
|
];
|
|
3192
3294
|
|
|
3193
3295
|
/**
|
|
3296
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
3194
3297
|
* @prop { String } fullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3195
3298
|
* @csspart bibContainer - Apply css to the bib container.
|
|
3299
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
3300
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
3196
3301
|
*/
|
|
3197
3302
|
|
|
3198
3303
|
class AuroDropdownBib extends i {
|
|
@@ -3207,9 +3312,17 @@ class AuroDropdownBib extends i {
|
|
|
3207
3312
|
|
|
3208
3313
|
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3209
3314
|
|
|
3210
|
-
this.shape = "rounded";
|
|
3211
3315
|
this.matchWidth = false;
|
|
3212
3316
|
this.hasActiveDescendant = false;
|
|
3317
|
+
|
|
3318
|
+
this.initializeArchitectureDefaults();
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
3322
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
3323
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
3324
|
+
initializeArchitectureDefaults() {
|
|
3325
|
+
this.shape = "rounded";
|
|
3213
3326
|
}
|
|
3214
3327
|
|
|
3215
3328
|
static get styles() {
|
|
@@ -3228,6 +3341,7 @@ class AuroDropdownBib extends i {
|
|
|
3228
3341
|
*/
|
|
3229
3342
|
isFullscreen: {
|
|
3230
3343
|
type: Boolean,
|
|
3344
|
+
attribute: 'isfullscreen',
|
|
3231
3345
|
reflect: true
|
|
3232
3346
|
},
|
|
3233
3347
|
|
|
@@ -3253,6 +3367,7 @@ class AuroDropdownBib extends i {
|
|
|
3253
3367
|
*/
|
|
3254
3368
|
matchWidth: {
|
|
3255
3369
|
type: Boolean,
|
|
3370
|
+
attribute: 'matchwidth',
|
|
3256
3371
|
reflect: true
|
|
3257
3372
|
},
|
|
3258
3373
|
|
|
@@ -3268,11 +3383,18 @@ class AuroDropdownBib extends i {
|
|
|
3268
3383
|
* A reference to the associated bib template element.
|
|
3269
3384
|
*/
|
|
3270
3385
|
bibTemplate: {
|
|
3271
|
-
type: Object
|
|
3386
|
+
type: Object,
|
|
3387
|
+
attribute: false
|
|
3272
3388
|
},
|
|
3273
3389
|
|
|
3390
|
+
/**
|
|
3391
|
+
* Sets the shape of the dropdown bib.
|
|
3392
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
3393
|
+
* @default 'rounded'
|
|
3394
|
+
*/
|
|
3274
3395
|
shape: {
|
|
3275
3396
|
type: String,
|
|
3397
|
+
attribute: "shape",
|
|
3276
3398
|
reflect: true
|
|
3277
3399
|
},
|
|
3278
3400
|
|
|
@@ -3284,7 +3406,8 @@ class AuroDropdownBib extends i {
|
|
|
3284
3406
|
* @private
|
|
3285
3407
|
*/
|
|
3286
3408
|
dialogLabel: {
|
|
3287
|
-
type: String
|
|
3409
|
+
type: String,
|
|
3410
|
+
attribute: 'dialoglabel'
|
|
3288
3411
|
},
|
|
3289
3412
|
|
|
3290
3413
|
/**
|
|
@@ -3295,7 +3418,8 @@ class AuroDropdownBib extends i {
|
|
|
3295
3418
|
* @private
|
|
3296
3419
|
*/
|
|
3297
3420
|
dialogRole: {
|
|
3298
|
-
type: String
|
|
3421
|
+
type: String,
|
|
3422
|
+
attribute: 'dialogrole'
|
|
3299
3423
|
},
|
|
3300
3424
|
|
|
3301
3425
|
/**
|
|
@@ -3303,7 +3427,8 @@ class AuroDropdownBib extends i {
|
|
|
3303
3427
|
* @private
|
|
3304
3428
|
*/
|
|
3305
3429
|
hasActiveDescendant: {
|
|
3306
|
-
type: Boolean
|
|
3430
|
+
type: Boolean,
|
|
3431
|
+
attribute: 'hasactivedescendant'
|
|
3307
3432
|
}
|
|
3308
3433
|
};
|
|
3309
3434
|
}
|
|
@@ -3554,7 +3679,7 @@ var styleSnowflakeCss = i$2`:host([layout*=snowflake]) .leftIndent{width:calc(10
|
|
|
3554
3679
|
|
|
3555
3680
|
var colorCss = i$2`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]),:host([appearance=inverse]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]),:host([appearance=inverse][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3556
3681
|
|
|
3557
|
-
var styleCss = i$2`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-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, 300);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, 300);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}:host{position:relative;display:block}.helptext-wrapper{display:none}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3682
|
+
var styleCss = i$2`.body-default{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-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{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-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{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-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{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-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{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-sm-emphasized-font-size, 0.875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{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-xs-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{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-xs-emphasized-font-size, 0.75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-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-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{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-emphasized-font-size, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);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-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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}:host{position:relative;display:block}.helptext-wrapper{display:none}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3558
3683
|
|
|
3559
3684
|
var tokensCss = i$2`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
3560
3685
|
|
|
@@ -3654,6 +3779,8 @@ class AuroHelpText extends i {
|
|
|
3654
3779
|
super();
|
|
3655
3780
|
|
|
3656
3781
|
this.error = false;
|
|
3782
|
+
|
|
3783
|
+
/** @type {'default' | 'inverse'} */
|
|
3657
3784
|
this.appearance = "default";
|
|
3658
3785
|
this.onDark = false;
|
|
3659
3786
|
this.hasTextContent = false;
|
|
@@ -3674,8 +3801,8 @@ class AuroHelpText extends i {
|
|
|
3674
3801
|
return {
|
|
3675
3802
|
|
|
3676
3803
|
/**
|
|
3677
|
-
*
|
|
3678
|
-
* @
|
|
3804
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
3805
|
+
* @type {'default' | 'inverse'}
|
|
3679
3806
|
* @default 'default'
|
|
3680
3807
|
*/
|
|
3681
3808
|
appearance: {
|
|
@@ -3688,6 +3815,7 @@ class AuroHelpText extends i {
|
|
|
3688
3815
|
*/
|
|
3689
3816
|
slotNodes: {
|
|
3690
3817
|
type: Boolean,
|
|
3818
|
+
attribute: 'slotnodes',
|
|
3691
3819
|
},
|
|
3692
3820
|
|
|
3693
3821
|
/**
|
|
@@ -3695,6 +3823,7 @@ class AuroHelpText extends i {
|
|
|
3695
3823
|
*/
|
|
3696
3824
|
hasTextContent: {
|
|
3697
3825
|
type: Boolean,
|
|
3826
|
+
attribute: 'hastextcontent',
|
|
3698
3827
|
},
|
|
3699
3828
|
|
|
3700
3829
|
/**
|
|
@@ -3707,9 +3836,11 @@ class AuroHelpText extends i {
|
|
|
3707
3836
|
|
|
3708
3837
|
/**
|
|
3709
3838
|
* DEPRECATED - use `appearance` instead.
|
|
3839
|
+
* @deprecated Use `appearance` instead.
|
|
3710
3840
|
*/
|
|
3711
3841
|
onDark: {
|
|
3712
3842
|
type: Boolean,
|
|
3843
|
+
attribute: 'ondark',
|
|
3713
3844
|
reflect: true
|
|
3714
3845
|
}
|
|
3715
3846
|
};
|
|
@@ -3780,39 +3911,39 @@ class AuroHelpText extends i {
|
|
|
3780
3911
|
}
|
|
3781
3912
|
}
|
|
3782
3913
|
|
|
3783
|
-
var formkitVersion = '
|
|
3914
|
+
var formkitVersion = '202609101658';
|
|
3784
3915
|
|
|
3916
|
+
/**
|
|
3917
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
3918
|
+
*
|
|
3919
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
3920
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
3921
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
3922
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
3923
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
3924
|
+
*/
|
|
3785
3925
|
class AuroElement extends i {
|
|
3786
3926
|
static get properties() {
|
|
3787
3927
|
return {
|
|
3788
3928
|
|
|
3789
3929
|
/**
|
|
3790
|
-
*
|
|
3791
|
-
* @default {'default'}
|
|
3930
|
+
* When true, renders the component styled for use on a dark background.
|
|
3792
3931
|
*/
|
|
3793
|
-
layout: {
|
|
3794
|
-
type: String,
|
|
3795
|
-
attribute: "layout",
|
|
3796
|
-
reflect: true
|
|
3797
|
-
},
|
|
3798
|
-
|
|
3799
|
-
shape: {
|
|
3800
|
-
type: String,
|
|
3801
|
-
attribute: "shape",
|
|
3802
|
-
reflect: true
|
|
3803
|
-
},
|
|
3804
|
-
|
|
3805
|
-
size: {
|
|
3806
|
-
type: String,
|
|
3807
|
-
attribute: "size",
|
|
3808
|
-
reflect: true
|
|
3809
|
-
},
|
|
3810
|
-
|
|
3811
3932
|
onDark: {
|
|
3812
3933
|
type: Boolean,
|
|
3813
3934
|
attribute: "ondark",
|
|
3814
3935
|
reflect: true
|
|
3815
3936
|
}
|
|
3937
|
+
|
|
3938
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
3939
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
3940
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
3941
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
3942
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
3943
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
3944
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
3945
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
3946
|
+
// See AlaskaAirlines/discussions#653.
|
|
3816
3947
|
};
|
|
3817
3948
|
}
|
|
3818
3949
|
|
|
@@ -3898,6 +4029,7 @@ class AuroElement extends i {
|
|
|
3898
4029
|
* @slot helpText - Defines the content of the helpText.
|
|
3899
4030
|
* @slot trigger - Defines the content of the trigger.
|
|
3900
4031
|
* @csspart trigger - The trigger content container.
|
|
4032
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
3901
4033
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3902
4034
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
3903
4035
|
* @csspart helpText - The helpText content container.
|
|
@@ -3922,7 +4054,7 @@ class AuroDropdown extends AuroElement {
|
|
|
3922
4054
|
|
|
3923
4055
|
/**
|
|
3924
4056
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
3925
|
-
* Set by consumers (
|
|
4057
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
3926
4058
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
3927
4059
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
3928
4060
|
* @private
|
|
@@ -4091,7 +4223,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4091
4223
|
/**
|
|
4092
4224
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
4093
4225
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
4094
|
-
* element slotted into the trigger slot (
|
|
4226
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
4095
4227
|
* @private
|
|
4096
4228
|
*/
|
|
4097
4229
|
focusTrigger() {
|
|
@@ -4188,6 +4320,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4188
4320
|
*/
|
|
4189
4321
|
autoPlacement: {
|
|
4190
4322
|
type: Boolean,
|
|
4323
|
+
attribute: 'autoplacement',
|
|
4191
4324
|
reflect: true
|
|
4192
4325
|
},
|
|
4193
4326
|
|
|
@@ -4196,6 +4329,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4196
4329
|
*/
|
|
4197
4330
|
desktopModal: {
|
|
4198
4331
|
type: Boolean,
|
|
4332
|
+
attribute: 'desktopmodal',
|
|
4199
4333
|
reflect: true
|
|
4200
4334
|
},
|
|
4201
4335
|
|
|
@@ -4204,6 +4338,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4204
4338
|
*/
|
|
4205
4339
|
disableEventShow: {
|
|
4206
4340
|
type: Boolean,
|
|
4341
|
+
attribute: 'disableeventshow',
|
|
4207
4342
|
reflect: true
|
|
4208
4343
|
},
|
|
4209
4344
|
|
|
@@ -4237,14 +4372,16 @@ class AuroDropdown extends AuroElement {
|
|
|
4237
4372
|
*/
|
|
4238
4373
|
disableKeyboardHandling: {
|
|
4239
4374
|
type: Boolean,
|
|
4375
|
+
attribute: 'disablekeyboardhandling',
|
|
4240
4376
|
reflect: true
|
|
4241
4377
|
},
|
|
4242
4378
|
|
|
4243
4379
|
/**
|
|
4244
|
-
*
|
|
4380
|
+
* Sets the width of the dropdown bib in pixels.
|
|
4245
4381
|
*/
|
|
4246
4382
|
dropdownWidth: {
|
|
4247
|
-
type: Number
|
|
4383
|
+
type: Number,
|
|
4384
|
+
attribute: 'dropdownwidth'
|
|
4248
4385
|
},
|
|
4249
4386
|
|
|
4250
4387
|
/**
|
|
@@ -4269,7 +4406,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4269
4406
|
* Contains the help text message for the current validity error.
|
|
4270
4407
|
*/
|
|
4271
4408
|
errorMessage: {
|
|
4272
|
-
type: String
|
|
4409
|
+
type: String,
|
|
4410
|
+
attribute: 'errormessage'
|
|
4273
4411
|
},
|
|
4274
4412
|
|
|
4275
4413
|
/**
|
|
@@ -4277,6 +4415,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4277
4415
|
*/
|
|
4278
4416
|
focusShow: {
|
|
4279
4417
|
type: Boolean,
|
|
4418
|
+
attribute: 'focusshow',
|
|
4280
4419
|
reflect: true
|
|
4281
4420
|
},
|
|
4282
4421
|
|
|
@@ -4294,6 +4433,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4294
4433
|
*/
|
|
4295
4434
|
isBibFullscreen: {
|
|
4296
4435
|
type: Boolean,
|
|
4436
|
+
attribute: 'isbibfullscreen',
|
|
4297
4437
|
reflect: true
|
|
4298
4438
|
},
|
|
4299
4439
|
|
|
@@ -4302,6 +4442,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4302
4442
|
*/
|
|
4303
4443
|
hoverToggle: {
|
|
4304
4444
|
type: Boolean,
|
|
4445
|
+
attribute: 'hovertoggle',
|
|
4305
4446
|
reflect: true
|
|
4306
4447
|
},
|
|
4307
4448
|
|
|
@@ -4309,7 +4450,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4309
4450
|
* @private
|
|
4310
4451
|
*/
|
|
4311
4452
|
hasTriggerContent: {
|
|
4312
|
-
type: Boolean
|
|
4453
|
+
type: Boolean,
|
|
4454
|
+
attribute: false
|
|
4313
4455
|
},
|
|
4314
4456
|
|
|
4315
4457
|
/**
|
|
@@ -4322,6 +4464,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4322
4464
|
*/
|
|
4323
4465
|
fullscreenBreakpoint: {
|
|
4324
4466
|
type: String,
|
|
4467
|
+
attribute: "fullscreenbreakpoint",
|
|
4325
4468
|
reflect: true
|
|
4326
4469
|
},
|
|
4327
4470
|
|
|
@@ -4332,6 +4475,27 @@ class AuroDropdown extends AuroElement {
|
|
|
4332
4475
|
*/
|
|
4333
4476
|
layout: {
|
|
4334
4477
|
type: String,
|
|
4478
|
+
attribute: "layout",
|
|
4479
|
+
reflect: true
|
|
4480
|
+
},
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* Sets the shape of the dropdown.
|
|
4484
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
4485
|
+
*/
|
|
4486
|
+
shape: {
|
|
4487
|
+
type: String,
|
|
4488
|
+
attribute: "shape",
|
|
4489
|
+
reflect: true
|
|
4490
|
+
},
|
|
4491
|
+
|
|
4492
|
+
/**
|
|
4493
|
+
* Sets the size of the dropdown.
|
|
4494
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
4495
|
+
*/
|
|
4496
|
+
size: {
|
|
4497
|
+
type: String,
|
|
4498
|
+
attribute: "size",
|
|
4335
4499
|
reflect: true
|
|
4336
4500
|
},
|
|
4337
4501
|
|
|
@@ -4341,6 +4505,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4341
4505
|
*/
|
|
4342
4506
|
parentBorder: {
|
|
4343
4507
|
type: Boolean,
|
|
4508
|
+
attribute: 'parentborder',
|
|
4344
4509
|
reflect: true
|
|
4345
4510
|
},
|
|
4346
4511
|
|
|
@@ -4349,6 +4514,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4349
4514
|
*/
|
|
4350
4515
|
matchWidth: {
|
|
4351
4516
|
type: Boolean,
|
|
4517
|
+
attribute: 'matchwidth',
|
|
4352
4518
|
reflect: true
|
|
4353
4519
|
},
|
|
4354
4520
|
|
|
@@ -4358,6 +4524,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4358
4524
|
*/
|
|
4359
4525
|
noFlip: {
|
|
4360
4526
|
type: Boolean,
|
|
4527
|
+
attribute: 'noflip',
|
|
4361
4528
|
reflect: true
|
|
4362
4529
|
},
|
|
4363
4530
|
|
|
@@ -4374,6 +4541,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4374
4541
|
*/
|
|
4375
4542
|
noHideOnThisFocusLoss: {
|
|
4376
4543
|
type: Boolean,
|
|
4544
|
+
attribute: 'nohideonthisfocusloss',
|
|
4377
4545
|
reflect: true
|
|
4378
4546
|
},
|
|
4379
4547
|
|
|
@@ -4382,6 +4550,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4382
4550
|
*/
|
|
4383
4551
|
noToggle: {
|
|
4384
4552
|
type: Boolean,
|
|
4553
|
+
attribute: 'notoggle',
|
|
4385
4554
|
reflect: true
|
|
4386
4555
|
},
|
|
4387
4556
|
|
|
@@ -4396,17 +4565,21 @@ class AuroDropdown extends AuroElement {
|
|
|
4396
4565
|
|
|
4397
4566
|
/**
|
|
4398
4567
|
* DEPRECATED - use `appearance="inverse"` instead.
|
|
4568
|
+
* @deprecated Use `appearance="inverse"` instead.
|
|
4399
4569
|
*/
|
|
4400
4570
|
onDark: {
|
|
4401
4571
|
type: Boolean,
|
|
4572
|
+
attribute: 'ondark',
|
|
4402
4573
|
reflect: true
|
|
4403
4574
|
},
|
|
4404
4575
|
|
|
4405
4576
|
/**
|
|
4406
4577
|
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
4578
|
+
* @type {() => void}
|
|
4407
4579
|
*/
|
|
4408
4580
|
onSlotChange: {
|
|
4409
4581
|
type: Function,
|
|
4582
|
+
attribute: false,
|
|
4410
4583
|
reflect: false
|
|
4411
4584
|
},
|
|
4412
4585
|
|
|
@@ -4421,10 +4594,11 @@ class AuroDropdown extends AuroElement {
|
|
|
4421
4594
|
},
|
|
4422
4595
|
|
|
4423
4596
|
/**
|
|
4424
|
-
*
|
|
4597
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
4425
4598
|
*/
|
|
4426
4599
|
tabIndex: {
|
|
4427
|
-
type: Number
|
|
4600
|
+
type: Number,
|
|
4601
|
+
attribute: 'tabindex'
|
|
4428
4602
|
},
|
|
4429
4603
|
|
|
4430
4604
|
/**
|
|
@@ -4648,7 +4822,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4648
4822
|
/**
|
|
4649
4823
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
4650
4824
|
* @event auroDropdown-idAdded
|
|
4651
|
-
* @type {
|
|
4825
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
4652
4826
|
*/
|
|
4653
4827
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
4654
4828
|
|