@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
|
@@ -1802,6 +1802,48 @@ const computePosition = (reference, floating, options) => {
|
|
|
1802
1802
|
});
|
|
1803
1803
|
};
|
|
1804
1804
|
|
|
1805
|
+
/**
|
|
1806
|
+
* Generates a v4 UUID with a three-tier fallback for insecure contexts.
|
|
1807
|
+
*
|
|
1808
|
+
* Tier 1 (secure contexts): crypto.randomUUID() — native, fully random.
|
|
1809
|
+
* Tier 2 (insecure contexts): crypto.getRandomValues() — available on all
|
|
1810
|
+
* modern browsers regardless of secure-context status.
|
|
1811
|
+
* Tier 3 (last resort, no crypto API): new Date().getTime() — lower entropy,
|
|
1812
|
+
* but sufficient for element IDs where collision risk is negligible.
|
|
1813
|
+
*
|
|
1814
|
+
* See: https://w3c.github.io/webcrypto/#dom-crypto-randomuuid (secure-context restriction)
|
|
1815
|
+
*/
|
|
1816
|
+
function generateUUID() {
|
|
1817
|
+
let uuid;
|
|
1818
|
+
|
|
1819
|
+
if (
|
|
1820
|
+
typeof crypto !== "undefined" &&
|
|
1821
|
+
typeof crypto.randomUUID === "function"
|
|
1822
|
+
) {
|
|
1823
|
+
uuid = crypto.randomUUID();
|
|
1824
|
+
} else if (
|
|
1825
|
+
typeof crypto !== "undefined" &&
|
|
1826
|
+
typeof crypto.getRandomValues === "function"
|
|
1827
|
+
) {
|
|
1828
|
+
const bytes = new Uint8Array(16);
|
|
1829
|
+
crypto.getRandomValues(bytes);
|
|
1830
|
+
bytes[6] = (bytes[6] & 0x0f) | 0x40;
|
|
1831
|
+
bytes[8] = (bytes[8] & 0x3f) | 0x80;
|
|
1832
|
+
const hex = Array.from(bytes).map((b) => b.toString(16).padStart(2, "0"));
|
|
1833
|
+
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("")}`;
|
|
1834
|
+
} else {
|
|
1835
|
+
let d = new Date().getTime();
|
|
1836
|
+
uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
1837
|
+
const r = (d % 16) | 0;
|
|
1838
|
+
d = (d - r) / 16 || new Date().getTime();
|
|
1839
|
+
return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
|
|
1840
|
+
});
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
// CSS selectors require IDs starting with a letter; replace a leading digit with 'a'.
|
|
1844
|
+
return /^[0-9]/.test(uuid) ? `a${uuid.slice(1)}` : uuid;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1805
1847
|
/* eslint-disable line-comment-position, no-inline-comments */
|
|
1806
1848
|
|
|
1807
1849
|
|
|
@@ -2135,15 +2177,57 @@ class AuroFloatingUI {
|
|
|
2135
2177
|
document.body.style.top = `-${this._savedScrollY}px`;
|
|
2136
2178
|
document.body.style.width = "100%";
|
|
2137
2179
|
|
|
2138
|
-
//
|
|
2139
|
-
|
|
2140
|
-
|
|
2180
|
+
// Keep the bib aligned with the visual viewport as the VKB opens.
|
|
2181
|
+
// A one-shot offsetTop check at lock time is stale by the time the user
|
|
2182
|
+
// taps an input mid-drawer — iOS then pans visualViewport upward and the
|
|
2183
|
+
// bib drifts off-screen. Listen continuously so the transform tracks the pan.
|
|
2184
|
+
// RAF-throttled to avoid a style recalc on every scroll tick during the
|
|
2185
|
+
// keyboard animation; the pending frame is canceled on unlock so it cannot
|
|
2186
|
+
// reapply a translate after bibTransform has been restored.
|
|
2187
|
+
if (window.visualViewport) {
|
|
2188
|
+
this._viewportRafId = undefined;
|
|
2189
|
+
this._viewportHandler = () => {
|
|
2190
|
+
if (this._viewportRafId !== undefined) {
|
|
2191
|
+
return;
|
|
2192
|
+
}
|
|
2193
|
+
this._viewportRafId = requestAnimationFrame(() => {
|
|
2194
|
+
this._viewportRafId = undefined;
|
|
2195
|
+
if (element?.bib) {
|
|
2196
|
+
element.bib.style.transform = `translateY(${window.visualViewport.offsetTop}px)`;
|
|
2197
|
+
}
|
|
2198
|
+
});
|
|
2199
|
+
};
|
|
2200
|
+
window.visualViewport.addEventListener(
|
|
2201
|
+
"resize",
|
|
2202
|
+
this._viewportHandler,
|
|
2203
|
+
);
|
|
2204
|
+
window.visualViewport.addEventListener(
|
|
2205
|
+
"scroll",
|
|
2206
|
+
this._viewportHandler,
|
|
2207
|
+
);
|
|
2208
|
+
this._viewportHandler();
|
|
2141
2209
|
}
|
|
2142
2210
|
|
|
2143
2211
|
this.lockTouchScroll(true);
|
|
2144
2212
|
}
|
|
2145
2213
|
} else {
|
|
2146
2214
|
if (this._scrollLocked) {
|
|
2215
|
+
if (this._viewportHandler && window.visualViewport) {
|
|
2216
|
+
window.visualViewport.removeEventListener(
|
|
2217
|
+
"resize",
|
|
2218
|
+
this._viewportHandler,
|
|
2219
|
+
);
|
|
2220
|
+
window.visualViewport.removeEventListener(
|
|
2221
|
+
"scroll",
|
|
2222
|
+
this._viewportHandler,
|
|
2223
|
+
);
|
|
2224
|
+
this._viewportHandler = undefined;
|
|
2225
|
+
}
|
|
2226
|
+
if (this._viewportRafId !== undefined) {
|
|
2227
|
+
cancelAnimationFrame(this._viewportRafId);
|
|
2228
|
+
this._viewportRafId = undefined;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2147
2231
|
document.documentElement.style.scrollbarGutter =
|
|
2148
2232
|
this._savedScrollStyles?.rootScrollbarGutter ?? "";
|
|
2149
2233
|
document.documentElement.style.overflow =
|
|
@@ -2235,7 +2319,7 @@ class AuroFloatingUI {
|
|
|
2235
2319
|
bibContent.style.width = "";
|
|
2236
2320
|
bibContent.style.height = "";
|
|
2237
2321
|
bibContent.style.maxWidth = "";
|
|
2238
|
-
bibContent.style.maxHeight =
|
|
2322
|
+
bibContent.style.maxHeight = "";
|
|
2239
2323
|
this.configureTrial = 0;
|
|
2240
2324
|
} else if (this.configureTrial < MAX_CONFIGURATION_COUNT) {
|
|
2241
2325
|
this.configureTrial += 1;
|
|
@@ -2532,6 +2616,24 @@ class AuroFloatingUI {
|
|
|
2532
2616
|
if (!this.showing) {
|
|
2533
2617
|
if (!element.modal) {
|
|
2534
2618
|
this.setupHideHandlers();
|
|
2619
|
+
} else {
|
|
2620
|
+
if (this.keyDownHandler) {
|
|
2621
|
+
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2622
|
+
}
|
|
2623
|
+
this.keyDownHandler = (evt) => {
|
|
2624
|
+
if (evt.key === "Escape" && element.isPopoverVisible) {
|
|
2625
|
+
// Intercept at keydown so CloseWatcher never sees the keystroke.
|
|
2626
|
+
// Canceling `cancel` alone is insufficient — a second Esc with no
|
|
2627
|
+
// intervening user activation triggers the anti-trap and fires `close`
|
|
2628
|
+
// directly, bypassing any `cancel` preventDefault (AB#1613688).
|
|
2629
|
+
// stopImmediatePropagation is intentional: it prevents other document
|
|
2630
|
+
// keydown handlers (e.g. consumer code, auro-dialog) from also acting
|
|
2631
|
+
// on Escape while the modal owns the key.
|
|
2632
|
+
evt.preventDefault();
|
|
2633
|
+
evt.stopImmediatePropagation();
|
|
2634
|
+
}
|
|
2635
|
+
};
|
|
2636
|
+
document.addEventListener("keydown", this.keyDownHandler);
|
|
2535
2637
|
}
|
|
2536
2638
|
this.showing = true;
|
|
2537
2639
|
element.isPopoverVisible = true;
|
|
@@ -2760,7 +2862,7 @@ class AuroFloatingUI {
|
|
|
2760
2862
|
|
|
2761
2863
|
this.id = element.getAttribute("id");
|
|
2762
2864
|
if (!this.id) {
|
|
2763
|
-
this.id =
|
|
2865
|
+
this.id = generateUUID();
|
|
2764
2866
|
element.setAttribute("id", this.id);
|
|
2765
2867
|
}
|
|
2766
2868
|
|
|
@@ -3218,8 +3320,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
3218
3320
|
];
|
|
3219
3321
|
|
|
3220
3322
|
/**
|
|
3323
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
3221
3324
|
* @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.
|
|
3222
3325
|
* @csspart bibContainer - Apply css to the bib container.
|
|
3326
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
3327
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
3223
3328
|
*/
|
|
3224
3329
|
|
|
3225
3330
|
class AuroDropdownBib extends i {
|
|
@@ -3234,9 +3339,17 @@ class AuroDropdownBib extends i {
|
|
|
3234
3339
|
|
|
3235
3340
|
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3236
3341
|
|
|
3237
|
-
this.shape = "rounded";
|
|
3238
3342
|
this.matchWidth = false;
|
|
3239
3343
|
this.hasActiveDescendant = false;
|
|
3344
|
+
|
|
3345
|
+
this.initializeArchitectureDefaults();
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
3349
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
3350
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
3351
|
+
initializeArchitectureDefaults() {
|
|
3352
|
+
this.shape = "rounded";
|
|
3240
3353
|
}
|
|
3241
3354
|
|
|
3242
3355
|
static get styles() {
|
|
@@ -3255,6 +3368,7 @@ class AuroDropdownBib extends i {
|
|
|
3255
3368
|
*/
|
|
3256
3369
|
isFullscreen: {
|
|
3257
3370
|
type: Boolean,
|
|
3371
|
+
attribute: 'isfullscreen',
|
|
3258
3372
|
reflect: true
|
|
3259
3373
|
},
|
|
3260
3374
|
|
|
@@ -3280,6 +3394,7 @@ class AuroDropdownBib extends i {
|
|
|
3280
3394
|
*/
|
|
3281
3395
|
matchWidth: {
|
|
3282
3396
|
type: Boolean,
|
|
3397
|
+
attribute: 'matchwidth',
|
|
3283
3398
|
reflect: true
|
|
3284
3399
|
},
|
|
3285
3400
|
|
|
@@ -3295,11 +3410,18 @@ class AuroDropdownBib extends i {
|
|
|
3295
3410
|
* A reference to the associated bib template element.
|
|
3296
3411
|
*/
|
|
3297
3412
|
bibTemplate: {
|
|
3298
|
-
type: Object
|
|
3413
|
+
type: Object,
|
|
3414
|
+
attribute: false
|
|
3299
3415
|
},
|
|
3300
3416
|
|
|
3417
|
+
/**
|
|
3418
|
+
* Sets the shape of the dropdown bib.
|
|
3419
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
3420
|
+
* @default 'rounded'
|
|
3421
|
+
*/
|
|
3301
3422
|
shape: {
|
|
3302
3423
|
type: String,
|
|
3424
|
+
attribute: "shape",
|
|
3303
3425
|
reflect: true
|
|
3304
3426
|
},
|
|
3305
3427
|
|
|
@@ -3311,7 +3433,8 @@ class AuroDropdownBib extends i {
|
|
|
3311
3433
|
* @private
|
|
3312
3434
|
*/
|
|
3313
3435
|
dialogLabel: {
|
|
3314
|
-
type: String
|
|
3436
|
+
type: String,
|
|
3437
|
+
attribute: 'dialoglabel'
|
|
3315
3438
|
},
|
|
3316
3439
|
|
|
3317
3440
|
/**
|
|
@@ -3322,7 +3445,8 @@ class AuroDropdownBib extends i {
|
|
|
3322
3445
|
* @private
|
|
3323
3446
|
*/
|
|
3324
3447
|
dialogRole: {
|
|
3325
|
-
type: String
|
|
3448
|
+
type: String,
|
|
3449
|
+
attribute: 'dialogrole'
|
|
3326
3450
|
},
|
|
3327
3451
|
|
|
3328
3452
|
/**
|
|
@@ -3330,7 +3454,8 @@ class AuroDropdownBib extends i {
|
|
|
3330
3454
|
* @private
|
|
3331
3455
|
*/
|
|
3332
3456
|
hasActiveDescendant: {
|
|
3333
|
-
type: Boolean
|
|
3457
|
+
type: Boolean,
|
|
3458
|
+
attribute: 'hasactivedescendant'
|
|
3334
3459
|
}
|
|
3335
3460
|
};
|
|
3336
3461
|
}
|
|
@@ -3581,7 +3706,7 @@ var styleSnowflakeCss = i$2`:host([layout*=snowflake]) .leftIndent{width:calc(10
|
|
|
3581
3706
|
|
|
3582
3707
|
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)}`;
|
|
3583
3708
|
|
|
3584
|
-
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}`;
|
|
3709
|
+
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}`;
|
|
3585
3710
|
|
|
3586
3711
|
var tokensCss = i$2`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
3587
3712
|
|
|
@@ -3681,6 +3806,8 @@ class AuroHelpText extends i {
|
|
|
3681
3806
|
super();
|
|
3682
3807
|
|
|
3683
3808
|
this.error = false;
|
|
3809
|
+
|
|
3810
|
+
/** @type {'default' | 'inverse'} */
|
|
3684
3811
|
this.appearance = "default";
|
|
3685
3812
|
this.onDark = false;
|
|
3686
3813
|
this.hasTextContent = false;
|
|
@@ -3701,8 +3828,8 @@ class AuroHelpText extends i {
|
|
|
3701
3828
|
return {
|
|
3702
3829
|
|
|
3703
3830
|
/**
|
|
3704
|
-
*
|
|
3705
|
-
* @
|
|
3831
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
3832
|
+
* @type {'default' | 'inverse'}
|
|
3706
3833
|
* @default 'default'
|
|
3707
3834
|
*/
|
|
3708
3835
|
appearance: {
|
|
@@ -3715,6 +3842,7 @@ class AuroHelpText extends i {
|
|
|
3715
3842
|
*/
|
|
3716
3843
|
slotNodes: {
|
|
3717
3844
|
type: Boolean,
|
|
3845
|
+
attribute: 'slotnodes',
|
|
3718
3846
|
},
|
|
3719
3847
|
|
|
3720
3848
|
/**
|
|
@@ -3722,6 +3850,7 @@ class AuroHelpText extends i {
|
|
|
3722
3850
|
*/
|
|
3723
3851
|
hasTextContent: {
|
|
3724
3852
|
type: Boolean,
|
|
3853
|
+
attribute: 'hastextcontent',
|
|
3725
3854
|
},
|
|
3726
3855
|
|
|
3727
3856
|
/**
|
|
@@ -3734,9 +3863,11 @@ class AuroHelpText extends i {
|
|
|
3734
3863
|
|
|
3735
3864
|
/**
|
|
3736
3865
|
* DEPRECATED - use `appearance` instead.
|
|
3866
|
+
* @deprecated Use `appearance` instead.
|
|
3737
3867
|
*/
|
|
3738
3868
|
onDark: {
|
|
3739
3869
|
type: Boolean,
|
|
3870
|
+
attribute: 'ondark',
|
|
3740
3871
|
reflect: true
|
|
3741
3872
|
}
|
|
3742
3873
|
};
|
|
@@ -3807,39 +3938,39 @@ class AuroHelpText extends i {
|
|
|
3807
3938
|
}
|
|
3808
3939
|
}
|
|
3809
3940
|
|
|
3810
|
-
var formkitVersion = '
|
|
3941
|
+
var formkitVersion = '202609101658';
|
|
3811
3942
|
|
|
3943
|
+
/**
|
|
3944
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
3945
|
+
*
|
|
3946
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
3947
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
3948
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
3949
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
3950
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
3951
|
+
*/
|
|
3812
3952
|
class AuroElement extends i {
|
|
3813
3953
|
static get properties() {
|
|
3814
3954
|
return {
|
|
3815
3955
|
|
|
3816
3956
|
/**
|
|
3817
|
-
*
|
|
3818
|
-
* @default {'default'}
|
|
3957
|
+
* When true, renders the component styled for use on a dark background.
|
|
3819
3958
|
*/
|
|
3820
|
-
layout: {
|
|
3821
|
-
type: String,
|
|
3822
|
-
attribute: "layout",
|
|
3823
|
-
reflect: true
|
|
3824
|
-
},
|
|
3825
|
-
|
|
3826
|
-
shape: {
|
|
3827
|
-
type: String,
|
|
3828
|
-
attribute: "shape",
|
|
3829
|
-
reflect: true
|
|
3830
|
-
},
|
|
3831
|
-
|
|
3832
|
-
size: {
|
|
3833
|
-
type: String,
|
|
3834
|
-
attribute: "size",
|
|
3835
|
-
reflect: true
|
|
3836
|
-
},
|
|
3837
|
-
|
|
3838
3959
|
onDark: {
|
|
3839
3960
|
type: Boolean,
|
|
3840
3961
|
attribute: "ondark",
|
|
3841
3962
|
reflect: true
|
|
3842
3963
|
}
|
|
3964
|
+
|
|
3965
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
3966
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
3967
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
3968
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
3969
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
3970
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
3971
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
3972
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
3973
|
+
// See AlaskaAirlines/discussions#653.
|
|
3843
3974
|
};
|
|
3844
3975
|
}
|
|
3845
3976
|
|
|
@@ -3925,6 +4056,7 @@ class AuroElement extends i {
|
|
|
3925
4056
|
* @slot helpText - Defines the content of the helpText.
|
|
3926
4057
|
* @slot trigger - Defines the content of the trigger.
|
|
3927
4058
|
* @csspart trigger - The trigger content container.
|
|
4059
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
3928
4060
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3929
4061
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
3930
4062
|
* @csspart helpText - The helpText content container.
|
|
@@ -3949,7 +4081,7 @@ class AuroDropdown extends AuroElement {
|
|
|
3949
4081
|
|
|
3950
4082
|
/**
|
|
3951
4083
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
3952
|
-
* Set by consumers (
|
|
4084
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
3953
4085
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
3954
4086
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
3955
4087
|
* @private
|
|
@@ -4118,7 +4250,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4118
4250
|
/**
|
|
4119
4251
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
4120
4252
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
4121
|
-
* element slotted into the trigger slot (
|
|
4253
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
4122
4254
|
* @private
|
|
4123
4255
|
*/
|
|
4124
4256
|
focusTrigger() {
|
|
@@ -4215,6 +4347,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4215
4347
|
*/
|
|
4216
4348
|
autoPlacement: {
|
|
4217
4349
|
type: Boolean,
|
|
4350
|
+
attribute: 'autoplacement',
|
|
4218
4351
|
reflect: true
|
|
4219
4352
|
},
|
|
4220
4353
|
|
|
@@ -4223,6 +4356,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4223
4356
|
*/
|
|
4224
4357
|
desktopModal: {
|
|
4225
4358
|
type: Boolean,
|
|
4359
|
+
attribute: 'desktopmodal',
|
|
4226
4360
|
reflect: true
|
|
4227
4361
|
},
|
|
4228
4362
|
|
|
@@ -4231,6 +4365,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4231
4365
|
*/
|
|
4232
4366
|
disableEventShow: {
|
|
4233
4367
|
type: Boolean,
|
|
4368
|
+
attribute: 'disableeventshow',
|
|
4234
4369
|
reflect: true
|
|
4235
4370
|
},
|
|
4236
4371
|
|
|
@@ -4264,14 +4399,16 @@ class AuroDropdown extends AuroElement {
|
|
|
4264
4399
|
*/
|
|
4265
4400
|
disableKeyboardHandling: {
|
|
4266
4401
|
type: Boolean,
|
|
4402
|
+
attribute: 'disablekeyboardhandling',
|
|
4267
4403
|
reflect: true
|
|
4268
4404
|
},
|
|
4269
4405
|
|
|
4270
4406
|
/**
|
|
4271
|
-
*
|
|
4407
|
+
* Sets the width of the dropdown bib in pixels.
|
|
4272
4408
|
*/
|
|
4273
4409
|
dropdownWidth: {
|
|
4274
|
-
type: Number
|
|
4410
|
+
type: Number,
|
|
4411
|
+
attribute: 'dropdownwidth'
|
|
4275
4412
|
},
|
|
4276
4413
|
|
|
4277
4414
|
/**
|
|
@@ -4296,7 +4433,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4296
4433
|
* Contains the help text message for the current validity error.
|
|
4297
4434
|
*/
|
|
4298
4435
|
errorMessage: {
|
|
4299
|
-
type: String
|
|
4436
|
+
type: String,
|
|
4437
|
+
attribute: 'errormessage'
|
|
4300
4438
|
},
|
|
4301
4439
|
|
|
4302
4440
|
/**
|
|
@@ -4304,6 +4442,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4304
4442
|
*/
|
|
4305
4443
|
focusShow: {
|
|
4306
4444
|
type: Boolean,
|
|
4445
|
+
attribute: 'focusshow',
|
|
4307
4446
|
reflect: true
|
|
4308
4447
|
},
|
|
4309
4448
|
|
|
@@ -4321,6 +4460,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4321
4460
|
*/
|
|
4322
4461
|
isBibFullscreen: {
|
|
4323
4462
|
type: Boolean,
|
|
4463
|
+
attribute: 'isbibfullscreen',
|
|
4324
4464
|
reflect: true
|
|
4325
4465
|
},
|
|
4326
4466
|
|
|
@@ -4329,6 +4469,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4329
4469
|
*/
|
|
4330
4470
|
hoverToggle: {
|
|
4331
4471
|
type: Boolean,
|
|
4472
|
+
attribute: 'hovertoggle',
|
|
4332
4473
|
reflect: true
|
|
4333
4474
|
},
|
|
4334
4475
|
|
|
@@ -4336,7 +4477,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4336
4477
|
* @private
|
|
4337
4478
|
*/
|
|
4338
4479
|
hasTriggerContent: {
|
|
4339
|
-
type: Boolean
|
|
4480
|
+
type: Boolean,
|
|
4481
|
+
attribute: false
|
|
4340
4482
|
},
|
|
4341
4483
|
|
|
4342
4484
|
/**
|
|
@@ -4349,6 +4491,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4349
4491
|
*/
|
|
4350
4492
|
fullscreenBreakpoint: {
|
|
4351
4493
|
type: String,
|
|
4494
|
+
attribute: "fullscreenbreakpoint",
|
|
4352
4495
|
reflect: true
|
|
4353
4496
|
},
|
|
4354
4497
|
|
|
@@ -4359,6 +4502,27 @@ class AuroDropdown extends AuroElement {
|
|
|
4359
4502
|
*/
|
|
4360
4503
|
layout: {
|
|
4361
4504
|
type: String,
|
|
4505
|
+
attribute: "layout",
|
|
4506
|
+
reflect: true
|
|
4507
|
+
},
|
|
4508
|
+
|
|
4509
|
+
/**
|
|
4510
|
+
* Sets the shape of the dropdown.
|
|
4511
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
4512
|
+
*/
|
|
4513
|
+
shape: {
|
|
4514
|
+
type: String,
|
|
4515
|
+
attribute: "shape",
|
|
4516
|
+
reflect: true
|
|
4517
|
+
},
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* Sets the size of the dropdown.
|
|
4521
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
4522
|
+
*/
|
|
4523
|
+
size: {
|
|
4524
|
+
type: String,
|
|
4525
|
+
attribute: "size",
|
|
4362
4526
|
reflect: true
|
|
4363
4527
|
},
|
|
4364
4528
|
|
|
@@ -4368,6 +4532,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4368
4532
|
*/
|
|
4369
4533
|
parentBorder: {
|
|
4370
4534
|
type: Boolean,
|
|
4535
|
+
attribute: 'parentborder',
|
|
4371
4536
|
reflect: true
|
|
4372
4537
|
},
|
|
4373
4538
|
|
|
@@ -4376,6 +4541,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4376
4541
|
*/
|
|
4377
4542
|
matchWidth: {
|
|
4378
4543
|
type: Boolean,
|
|
4544
|
+
attribute: 'matchwidth',
|
|
4379
4545
|
reflect: true
|
|
4380
4546
|
},
|
|
4381
4547
|
|
|
@@ -4385,6 +4551,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4385
4551
|
*/
|
|
4386
4552
|
noFlip: {
|
|
4387
4553
|
type: Boolean,
|
|
4554
|
+
attribute: 'noflip',
|
|
4388
4555
|
reflect: true
|
|
4389
4556
|
},
|
|
4390
4557
|
|
|
@@ -4401,6 +4568,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4401
4568
|
*/
|
|
4402
4569
|
noHideOnThisFocusLoss: {
|
|
4403
4570
|
type: Boolean,
|
|
4571
|
+
attribute: 'nohideonthisfocusloss',
|
|
4404
4572
|
reflect: true
|
|
4405
4573
|
},
|
|
4406
4574
|
|
|
@@ -4409,6 +4577,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4409
4577
|
*/
|
|
4410
4578
|
noToggle: {
|
|
4411
4579
|
type: Boolean,
|
|
4580
|
+
attribute: 'notoggle',
|
|
4412
4581
|
reflect: true
|
|
4413
4582
|
},
|
|
4414
4583
|
|
|
@@ -4423,17 +4592,21 @@ class AuroDropdown extends AuroElement {
|
|
|
4423
4592
|
|
|
4424
4593
|
/**
|
|
4425
4594
|
* DEPRECATED - use `appearance="inverse"` instead.
|
|
4595
|
+
* @deprecated Use `appearance="inverse"` instead.
|
|
4426
4596
|
*/
|
|
4427
4597
|
onDark: {
|
|
4428
4598
|
type: Boolean,
|
|
4599
|
+
attribute: 'ondark',
|
|
4429
4600
|
reflect: true
|
|
4430
4601
|
},
|
|
4431
4602
|
|
|
4432
4603
|
/**
|
|
4433
4604
|
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
4605
|
+
* @type {() => void}
|
|
4434
4606
|
*/
|
|
4435
4607
|
onSlotChange: {
|
|
4436
4608
|
type: Function,
|
|
4609
|
+
attribute: false,
|
|
4437
4610
|
reflect: false
|
|
4438
4611
|
},
|
|
4439
4612
|
|
|
@@ -4448,10 +4621,11 @@ class AuroDropdown extends AuroElement {
|
|
|
4448
4621
|
},
|
|
4449
4622
|
|
|
4450
4623
|
/**
|
|
4451
|
-
*
|
|
4624
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
4452
4625
|
*/
|
|
4453
4626
|
tabIndex: {
|
|
4454
|
-
type: Number
|
|
4627
|
+
type: Number,
|
|
4628
|
+
attribute: 'tabindex'
|
|
4455
4629
|
},
|
|
4456
4630
|
|
|
4457
4631
|
/**
|
|
@@ -4675,7 +4849,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4675
4849
|
/**
|
|
4676
4850
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
4677
4851
|
* @event auroDropdown-idAdded
|
|
4678
|
-
* @type {
|
|
4852
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
4679
4853
|
*/
|
|
4680
4854
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
4681
4855
|
|