@fluentui/web-components 3.0.0-alpha.19 → 3.0.0-alpha.20
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.json +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/radio/define.d.ts +1 -0
- package/dist/dts/radio/index.d.ts +4 -0
- package/dist/dts/radio/radio.d.ts +7 -0
- package/dist/dts/radio/radio.definition.d.ts +10 -0
- package/dist/dts/radio/radio.styles.d.ts +4 -0
- package/dist/dts/radio/radio.template.d.ts +3 -0
- package/dist/dts/radio-group/define.d.ts +1 -0
- package/dist/dts/radio-group/index.d.ts +5 -0
- package/dist/dts/radio-group/radio-group.d.ts +15 -0
- package/dist/dts/radio-group/radio-group.definition.d.ts +10 -0
- package/dist/dts/radio-group/radio-group.styles.d.ts +4 -0
- package/dist/dts/radio-group/radio-group.template.d.ts +3 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/radio/define.js +4 -0
- package/dist/esm/radio/define.js.map +1 -0
- package/dist/esm/radio/index.js +5 -0
- package/dist/esm/radio/index.js.map +1 -0
- package/dist/esm/radio/radio.definition.js +18 -0
- package/dist/esm/radio/radio.definition.js.map +1 -0
- package/dist/esm/radio/radio.js +8 -0
- package/dist/esm/radio/radio.js.map +1 -0
- package/dist/esm/radio/radio.styles.js +108 -0
- package/dist/esm/radio/radio.styles.js.map +1 -0
- package/dist/esm/radio/radio.template.js +6 -0
- package/dist/esm/radio/radio.template.js.map +1 -0
- package/dist/esm/radio-group/define.js +4 -0
- package/dist/esm/radio-group/define.js.map +1 -0
- package/dist/esm/radio-group/index.js +6 -0
- package/dist/esm/radio-group/index.js.map +1 -0
- package/dist/esm/radio-group/radio-group.definition.js +18 -0
- package/dist/esm/radio-group/radio-group.definition.js.map +1 -0
- package/dist/esm/radio-group/radio-group.js +24 -0
- package/dist/esm/radio-group/radio-group.js.map +1 -0
- package/dist/esm/radio-group/radio-group.styles.js +52 -0
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -0
- package/dist/esm/radio-group/radio-group.template.js +3 -0
- package/dist/esm/radio-group/radio-group.template.js.map +1 -0
- package/dist/fluent-web-components.api.json +294 -0
- package/dist/web-components.d.ts +61 -0
- package/dist/web-components.js +640 -76
- package/dist/web-components.min.js +166 -160
- package/docs/api-report.md +32 -0
- package/package.json +9 -1
package/dist/web-components.js
CHANGED
|
@@ -3424,6 +3424,12 @@ const keyEnter = "Enter";
|
|
|
3424
3424
|
const keyEscape = "Escape";
|
|
3425
3425
|
const keyHome = "Home";
|
|
3426
3426
|
const keySpace = " ";
|
|
3427
|
+
const ArrowKeys = {
|
|
3428
|
+
ArrowDown: keyArrowDown,
|
|
3429
|
+
ArrowLeft: keyArrowLeft,
|
|
3430
|
+
ArrowRight: keyArrowRight,
|
|
3431
|
+
ArrowUp: keyArrowUp
|
|
3432
|
+
};
|
|
3427
3433
|
|
|
3428
3434
|
/**
|
|
3429
3435
|
* Expose ltr and rtl strings
|
|
@@ -7297,6 +7303,487 @@ function progressTemplate(options = {}) {
|
|
|
7297
7303
|
return html`<template role="progressbar" aria-valuenow="${x => x.value}" aria-valuemin="${x => x.min}" aria-valuemax="${x => x.max}">${when(x => typeof x.value === "number", html`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${x => x.percentComplete}%"></div></div>`)} ${when(x => typeof x.value !== "number", html`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${staticallyCompose(options.indeterminateIndicator1)} ${staticallyCompose(options.indeterminateIndicator2)}</slot></div>`)}</template>`;
|
|
7298
7304
|
}
|
|
7299
7305
|
|
|
7306
|
+
/**
|
|
7307
|
+
* Radio Group orientation
|
|
7308
|
+
* @public
|
|
7309
|
+
*/
|
|
7310
|
+
const RadioGroupOrientation = Orientation;
|
|
7311
|
+
|
|
7312
|
+
/**
|
|
7313
|
+
* The template for the {@link @microsoft/fast-foundation#FASTRadioGroup} component.
|
|
7314
|
+
* @public
|
|
7315
|
+
*/
|
|
7316
|
+
function radioGroupTemplate() {
|
|
7317
|
+
return html`<template role="radiogroup" tabindex="${x => x.disabled ? -1 : void 0}" aria-disabled="${x => x.disabled}" aria-readonly="${x => x.readOnly}" aria-orientation="${x => x.orientation}" @click="${(x, c) => x.clickHandler(c.event)}" @mousedown="${(x, c) => x.handleDisabledClick(c.event)}" @keydown="${(x, c) => x.keydownHandler(c.event)}" @focusout="${(x, c) => x.focusOutHandler(c.event)}"><slot name="label"></slot><div class="positioning-region ${x => x.orientation === RadioGroupOrientation.horizontal ? "horizontal" : "vertical"}" part="positioning-region"><slot ${slotted({
|
|
7318
|
+
property: "slottedRadioButtons",
|
|
7319
|
+
filter: elements("[role=radio]")
|
|
7320
|
+
})}></slot></div></template>`;
|
|
7321
|
+
}
|
|
7322
|
+
|
|
7323
|
+
/**
|
|
7324
|
+
* filters out any whitespace-only nodes, to be used inside a template.
|
|
7325
|
+
*
|
|
7326
|
+
* @param value - The Node that is being inspected
|
|
7327
|
+
* @param index - The index of the node within the array
|
|
7328
|
+
* @param array - The Node array that is being filtered
|
|
7329
|
+
* @returns true if the node is not a whitespace-only node, false otherwise
|
|
7330
|
+
*
|
|
7331
|
+
* @public
|
|
7332
|
+
*/
|
|
7333
|
+
const whitespaceFilter = value => {
|
|
7334
|
+
var _a;
|
|
7335
|
+
return value.nodeType !== Node.TEXT_NODE || !!((_a = value.nodeValue) === null || _a === void 0 ? void 0 : _a.trim().length);
|
|
7336
|
+
};
|
|
7337
|
+
|
|
7338
|
+
/**
|
|
7339
|
+
* The template for the {@link @microsoft/fast-foundation#(FASTRadio:class)} component.
|
|
7340
|
+
* @public
|
|
7341
|
+
*/
|
|
7342
|
+
function radioTemplate(options = {}) {
|
|
7343
|
+
return html`<template role="radio" aria-checked="${x => x.checked}" aria-required="${x => x.required}" aria-disabled="${x => x.disabled}" @keypress="${(x, c) => x.keypressHandler(c.event)}"><div part="control" class="control"><slot name="checked-indicator">${staticallyCompose(options.checkedIndicator)}</slot></div><label part="label" class="${x => {
|
|
7344
|
+
var _a;
|
|
7345
|
+
return ["label", !((_a = x.defaultSlottedNodes) === null || _a === void 0 ? void 0 : _a.length) && "label__hidden"].filter(Boolean).join(" ");
|
|
7346
|
+
}}"><slot ${slotted({
|
|
7347
|
+
property: "defaultSlottedNodes",
|
|
7348
|
+
filter: whitespaceFilter
|
|
7349
|
+
})}></slot></label></template>`;
|
|
7350
|
+
}
|
|
7351
|
+
|
|
7352
|
+
class _Radio extends FASTElement {}
|
|
7353
|
+
/**
|
|
7354
|
+
* A form-associated base class for the {@link @microsoft/fast-foundation#(FASTRadio:class)} component.
|
|
7355
|
+
*
|
|
7356
|
+
* @beta
|
|
7357
|
+
*/
|
|
7358
|
+
class FormAssociatedRadio extends CheckableFormAssociated(_Radio) {
|
|
7359
|
+
constructor() {
|
|
7360
|
+
super(...arguments);
|
|
7361
|
+
this.proxy = document.createElement("input");
|
|
7362
|
+
}
|
|
7363
|
+
}
|
|
7364
|
+
|
|
7365
|
+
/**
|
|
7366
|
+
* A Radio Custom HTML Element.
|
|
7367
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.
|
|
7368
|
+
*
|
|
7369
|
+
* @slot checked-indicator - The checked indicator
|
|
7370
|
+
* @slot - The default slot for the label
|
|
7371
|
+
* @csspart control - The element representing the visual radio control
|
|
7372
|
+
* @csspart label - The label
|
|
7373
|
+
* @fires change - Emits a custom change event when the checked state changes
|
|
7374
|
+
*
|
|
7375
|
+
* @public
|
|
7376
|
+
*/
|
|
7377
|
+
class FASTRadio extends FormAssociatedRadio {
|
|
7378
|
+
constructor() {
|
|
7379
|
+
super();
|
|
7380
|
+
/**
|
|
7381
|
+
* The element's value to be included in form submission when checked.
|
|
7382
|
+
* Default to "on" to reach parity with input[type="radio"]
|
|
7383
|
+
*
|
|
7384
|
+
* @internal
|
|
7385
|
+
*/
|
|
7386
|
+
this.initialValue = "on";
|
|
7387
|
+
this.proxy.setAttribute("type", "radio");
|
|
7388
|
+
}
|
|
7389
|
+
get radioGroup() {
|
|
7390
|
+
return this.closest("[role=radiogroup]");
|
|
7391
|
+
}
|
|
7392
|
+
/**
|
|
7393
|
+
* @internal
|
|
7394
|
+
*/
|
|
7395
|
+
defaultCheckedChanged() {
|
|
7396
|
+
var _a;
|
|
7397
|
+
if (this.$fastController.isConnected && !this.dirtyChecked) {
|
|
7398
|
+
// Setting this.checked will cause us to enter a dirty state,
|
|
7399
|
+
// but if we are clean when defaultChecked is changed, we want to stay
|
|
7400
|
+
// in a clean state, so reset this.dirtyChecked
|
|
7401
|
+
if (!this.isInsideRadioGroup()) {
|
|
7402
|
+
this.checked = (_a = this.defaultChecked) !== null && _a !== void 0 ? _a : false;
|
|
7403
|
+
this.dirtyChecked = false;
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
}
|
|
7407
|
+
/**
|
|
7408
|
+
* @internal
|
|
7409
|
+
*/
|
|
7410
|
+
connectedCallback() {
|
|
7411
|
+
var _a, _b;
|
|
7412
|
+
super.connectedCallback();
|
|
7413
|
+
this.validate();
|
|
7414
|
+
if (((_a = this.parentElement) === null || _a === void 0 ? void 0 : _a.getAttribute("role")) !== "radiogroup" && this.getAttribute("tabindex") === null) {
|
|
7415
|
+
if (!this.disabled) {
|
|
7416
|
+
this.setAttribute("tabindex", "0");
|
|
7417
|
+
}
|
|
7418
|
+
}
|
|
7419
|
+
if (this.checkedAttribute) {
|
|
7420
|
+
if (!this.dirtyChecked) {
|
|
7421
|
+
// Setting this.checked will cause us to enter a dirty state,
|
|
7422
|
+
// but if we are clean when defaultChecked is changed, we want to stay
|
|
7423
|
+
// in a clean state, so reset this.dirtyChecked
|
|
7424
|
+
if (!this.isInsideRadioGroup()) {
|
|
7425
|
+
this.checked = (_b = this.defaultChecked) !== null && _b !== void 0 ? _b : false;
|
|
7426
|
+
this.dirtyChecked = false;
|
|
7427
|
+
}
|
|
7428
|
+
}
|
|
7429
|
+
}
|
|
7430
|
+
}
|
|
7431
|
+
isInsideRadioGroup() {
|
|
7432
|
+
return this.radioGroup !== null;
|
|
7433
|
+
}
|
|
7434
|
+
/**
|
|
7435
|
+
* Handles key presses on the radio.
|
|
7436
|
+
* @beta
|
|
7437
|
+
*/
|
|
7438
|
+
keypressHandler(e) {
|
|
7439
|
+
var _a;
|
|
7440
|
+
switch (e.key) {
|
|
7441
|
+
case keySpace:
|
|
7442
|
+
if (!this.checked && !((_a = this.radioGroup) === null || _a === void 0 ? void 0 : _a.readOnly)) {
|
|
7443
|
+
this.checked = true;
|
|
7444
|
+
}
|
|
7445
|
+
return;
|
|
7446
|
+
}
|
|
7447
|
+
return true;
|
|
7448
|
+
}
|
|
7449
|
+
}
|
|
7450
|
+
__decorate([observable], FASTRadio.prototype, "name", void 0);
|
|
7451
|
+
__decorate([observable], FASTRadio.prototype, "defaultSlottedNodes", void 0);
|
|
7452
|
+
|
|
7453
|
+
/**
|
|
7454
|
+
* An Radio Group Custom HTML Element.
|
|
7455
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radiogroup | ARIA radiogroup }.
|
|
7456
|
+
*
|
|
7457
|
+
* @slot label - The slot for the label
|
|
7458
|
+
* @slot - The default slot for radio buttons
|
|
7459
|
+
* @csspart positioning-region - The positioning region for laying out the radios
|
|
7460
|
+
* @fires change - Fires a custom 'change' event when the value changes
|
|
7461
|
+
*
|
|
7462
|
+
* @public
|
|
7463
|
+
*/
|
|
7464
|
+
class FASTRadioGroup extends FASTElement {
|
|
7465
|
+
constructor() {
|
|
7466
|
+
super(...arguments);
|
|
7467
|
+
/**
|
|
7468
|
+
* The orientation of the group
|
|
7469
|
+
*
|
|
7470
|
+
* @public
|
|
7471
|
+
* @remarks
|
|
7472
|
+
* HTML Attribute: orientation
|
|
7473
|
+
*/
|
|
7474
|
+
this.orientation = RadioGroupOrientation.horizontal;
|
|
7475
|
+
this.radioChangeHandler = e => {
|
|
7476
|
+
const changedRadio = e.target;
|
|
7477
|
+
if (changedRadio.checked) {
|
|
7478
|
+
this.slottedRadioButtons.forEach(radio => {
|
|
7479
|
+
if (radio !== changedRadio) {
|
|
7480
|
+
radio.checked = false;
|
|
7481
|
+
if (!this.isInsideFoundationToolbar) {
|
|
7482
|
+
radio.setAttribute("tabindex", "-1");
|
|
7483
|
+
}
|
|
7484
|
+
}
|
|
7485
|
+
});
|
|
7486
|
+
this.selectedRadio = changedRadio;
|
|
7487
|
+
this.value = changedRadio.value;
|
|
7488
|
+
changedRadio.setAttribute("tabindex", "0");
|
|
7489
|
+
this.focusedRadio = changedRadio;
|
|
7490
|
+
}
|
|
7491
|
+
e.stopPropagation();
|
|
7492
|
+
};
|
|
7493
|
+
this.moveToRadioByIndex = (group, index) => {
|
|
7494
|
+
const radio = group[index];
|
|
7495
|
+
if (!this.isInsideToolbar) {
|
|
7496
|
+
radio.setAttribute("tabindex", "0");
|
|
7497
|
+
radio.checked = true;
|
|
7498
|
+
this.selectedRadio = radio;
|
|
7499
|
+
}
|
|
7500
|
+
this.focusedRadio = radio;
|
|
7501
|
+
radio.focus();
|
|
7502
|
+
};
|
|
7503
|
+
this.moveRightOffGroup = () => {
|
|
7504
|
+
var _a;
|
|
7505
|
+
(_a = this.nextElementSibling) === null || _a === void 0 ? void 0 : _a.focus();
|
|
7506
|
+
};
|
|
7507
|
+
this.moveLeftOffGroup = () => {
|
|
7508
|
+
var _a;
|
|
7509
|
+
(_a = this.previousElementSibling) === null || _a === void 0 ? void 0 : _a.focus();
|
|
7510
|
+
};
|
|
7511
|
+
/**
|
|
7512
|
+
* @internal
|
|
7513
|
+
*/
|
|
7514
|
+
this.focusOutHandler = e => {
|
|
7515
|
+
const group = this.slottedRadioButtons;
|
|
7516
|
+
const radio = e.target;
|
|
7517
|
+
const index = radio !== null ? group.indexOf(radio) : 0;
|
|
7518
|
+
const focusedIndex = this.focusedRadio ? group.indexOf(this.focusedRadio) : -1;
|
|
7519
|
+
if (focusedIndex === 0 && index === focusedIndex || focusedIndex === group.length - 1 && focusedIndex === index) {
|
|
7520
|
+
if (!this.selectedRadio) {
|
|
7521
|
+
this.focusedRadio = group[0];
|
|
7522
|
+
this.focusedRadio.setAttribute("tabindex", "0");
|
|
7523
|
+
group.forEach(nextRadio => {
|
|
7524
|
+
if (nextRadio !== this.focusedRadio) {
|
|
7525
|
+
nextRadio.setAttribute("tabindex", "-1");
|
|
7526
|
+
}
|
|
7527
|
+
});
|
|
7528
|
+
} else {
|
|
7529
|
+
this.focusedRadio = this.selectedRadio;
|
|
7530
|
+
if (!this.isInsideFoundationToolbar) {
|
|
7531
|
+
this.selectedRadio.setAttribute("tabindex", "0");
|
|
7532
|
+
group.forEach(nextRadio => {
|
|
7533
|
+
if (nextRadio !== this.selectedRadio) {
|
|
7534
|
+
nextRadio.setAttribute("tabindex", "-1");
|
|
7535
|
+
}
|
|
7536
|
+
});
|
|
7537
|
+
}
|
|
7538
|
+
}
|
|
7539
|
+
}
|
|
7540
|
+
return true;
|
|
7541
|
+
};
|
|
7542
|
+
/**
|
|
7543
|
+
* @internal
|
|
7544
|
+
*/
|
|
7545
|
+
this.handleDisabledClick = e => {
|
|
7546
|
+
// prevent focus events on items from the click handler when disabled
|
|
7547
|
+
if (this.disabled) {
|
|
7548
|
+
e.preventDefault();
|
|
7549
|
+
return;
|
|
7550
|
+
}
|
|
7551
|
+
return true;
|
|
7552
|
+
};
|
|
7553
|
+
/**
|
|
7554
|
+
* @internal
|
|
7555
|
+
*/
|
|
7556
|
+
this.clickHandler = e => {
|
|
7557
|
+
if (this.disabled) {
|
|
7558
|
+
return;
|
|
7559
|
+
}
|
|
7560
|
+
e.preventDefault();
|
|
7561
|
+
const radio = e.target;
|
|
7562
|
+
if (radio && radio instanceof FASTRadio) {
|
|
7563
|
+
radio.checked = true;
|
|
7564
|
+
radio.setAttribute("tabindex", "0");
|
|
7565
|
+
this.selectedRadio = radio;
|
|
7566
|
+
this.focusedRadio = radio;
|
|
7567
|
+
}
|
|
7568
|
+
};
|
|
7569
|
+
this.shouldMoveOffGroupToTheRight = (index, group, key) => {
|
|
7570
|
+
return index === group.length && this.isInsideToolbar && key === keyArrowRight;
|
|
7571
|
+
};
|
|
7572
|
+
this.shouldMoveOffGroupToTheLeft = (group, key) => {
|
|
7573
|
+
const index = this.focusedRadio ? group.indexOf(this.focusedRadio) - 1 : 0;
|
|
7574
|
+
return index < 0 && this.isInsideToolbar && key === keyArrowLeft;
|
|
7575
|
+
};
|
|
7576
|
+
this.checkFocusedRadio = () => {
|
|
7577
|
+
if (this.focusedRadio !== null && !this.focusedRadio.checked) {
|
|
7578
|
+
this.focusedRadio.checked = true;
|
|
7579
|
+
this.focusedRadio.setAttribute("tabindex", "0");
|
|
7580
|
+
this.focusedRadio.focus();
|
|
7581
|
+
this.selectedRadio = this.focusedRadio;
|
|
7582
|
+
}
|
|
7583
|
+
};
|
|
7584
|
+
this.moveRight = e => {
|
|
7585
|
+
const group = this.slottedRadioButtons;
|
|
7586
|
+
let index = 0;
|
|
7587
|
+
index = this.focusedRadio ? group.indexOf(this.focusedRadio) + 1 : 1;
|
|
7588
|
+
if (this.shouldMoveOffGroupToTheRight(index, group, e.key)) {
|
|
7589
|
+
this.moveRightOffGroup();
|
|
7590
|
+
return;
|
|
7591
|
+
} else if (index === group.length) {
|
|
7592
|
+
index = 0;
|
|
7593
|
+
}
|
|
7594
|
+
/* looping to get to next radio that is not disabled */
|
|
7595
|
+
/* matching native radio/radiogroup which does not select an item if there is only 1 in the group */
|
|
7596
|
+
while (index < group.length && group.length > 1) {
|
|
7597
|
+
if (!group[index].disabled) {
|
|
7598
|
+
this.moveToRadioByIndex(group, index);
|
|
7599
|
+
break;
|
|
7600
|
+
} else if (this.focusedRadio && index === group.indexOf(this.focusedRadio)) {
|
|
7601
|
+
break;
|
|
7602
|
+
} else if (index + 1 >= group.length) {
|
|
7603
|
+
if (this.isInsideToolbar) {
|
|
7604
|
+
break;
|
|
7605
|
+
} else {
|
|
7606
|
+
index = 0;
|
|
7607
|
+
}
|
|
7608
|
+
} else {
|
|
7609
|
+
index += 1;
|
|
7610
|
+
}
|
|
7611
|
+
}
|
|
7612
|
+
};
|
|
7613
|
+
this.moveLeft = e => {
|
|
7614
|
+
const group = this.slottedRadioButtons;
|
|
7615
|
+
let index = 0;
|
|
7616
|
+
index = this.focusedRadio ? group.indexOf(this.focusedRadio) - 1 : 0;
|
|
7617
|
+
index = index < 0 ? group.length - 1 : index;
|
|
7618
|
+
if (this.shouldMoveOffGroupToTheLeft(group, e.key)) {
|
|
7619
|
+
this.moveLeftOffGroup();
|
|
7620
|
+
return;
|
|
7621
|
+
}
|
|
7622
|
+
/* looping to get to next radio that is not disabled */
|
|
7623
|
+
while (index >= 0 && group.length > 1) {
|
|
7624
|
+
if (!group[index].disabled) {
|
|
7625
|
+
this.moveToRadioByIndex(group, index);
|
|
7626
|
+
break;
|
|
7627
|
+
} else if (this.focusedRadio && index === group.indexOf(this.focusedRadio)) {
|
|
7628
|
+
break;
|
|
7629
|
+
} else if (index - 1 < 0) {
|
|
7630
|
+
index = group.length - 1;
|
|
7631
|
+
} else {
|
|
7632
|
+
index -= 1;
|
|
7633
|
+
}
|
|
7634
|
+
}
|
|
7635
|
+
};
|
|
7636
|
+
/**
|
|
7637
|
+
* keyboard handling per https://w3c.github.io/aria-practices/#for-radio-groups-not-contained-in-a-toolbar
|
|
7638
|
+
* navigation is different when there is an ancestor with role='toolbar'
|
|
7639
|
+
*
|
|
7640
|
+
* @internal
|
|
7641
|
+
*/
|
|
7642
|
+
this.keydownHandler = e => {
|
|
7643
|
+
const key = e.key;
|
|
7644
|
+
if (key in ArrowKeys && (this.isInsideFoundationToolbar || this.disabled)) {
|
|
7645
|
+
return true;
|
|
7646
|
+
}
|
|
7647
|
+
switch (key) {
|
|
7648
|
+
case keyEnter:
|
|
7649
|
+
{
|
|
7650
|
+
this.checkFocusedRadio();
|
|
7651
|
+
break;
|
|
7652
|
+
}
|
|
7653
|
+
case keyArrowRight:
|
|
7654
|
+
case keyArrowDown:
|
|
7655
|
+
{
|
|
7656
|
+
if (this.direction === Direction.ltr) {
|
|
7657
|
+
this.moveRight(e);
|
|
7658
|
+
} else {
|
|
7659
|
+
this.moveLeft(e);
|
|
7660
|
+
}
|
|
7661
|
+
break;
|
|
7662
|
+
}
|
|
7663
|
+
case keyArrowLeft:
|
|
7664
|
+
case keyArrowUp:
|
|
7665
|
+
{
|
|
7666
|
+
if (this.direction === Direction.ltr) {
|
|
7667
|
+
this.moveLeft(e);
|
|
7668
|
+
} else {
|
|
7669
|
+
this.moveRight(e);
|
|
7670
|
+
}
|
|
7671
|
+
break;
|
|
7672
|
+
}
|
|
7673
|
+
default:
|
|
7674
|
+
{
|
|
7675
|
+
return true;
|
|
7676
|
+
}
|
|
7677
|
+
}
|
|
7678
|
+
};
|
|
7679
|
+
}
|
|
7680
|
+
disabledChanged() {}
|
|
7681
|
+
nameChanged() {
|
|
7682
|
+
if (this.slottedRadioButtons) {
|
|
7683
|
+
this.slottedRadioButtons.forEach(radio => {
|
|
7684
|
+
radio.setAttribute("name", this.name);
|
|
7685
|
+
});
|
|
7686
|
+
}
|
|
7687
|
+
}
|
|
7688
|
+
valueChanged() {
|
|
7689
|
+
if (this.slottedRadioButtons) {
|
|
7690
|
+
this.slottedRadioButtons.forEach(radio => {
|
|
7691
|
+
if (radio.value === this.value) {
|
|
7692
|
+
radio.checked = true;
|
|
7693
|
+
this.selectedRadio = radio;
|
|
7694
|
+
}
|
|
7695
|
+
});
|
|
7696
|
+
}
|
|
7697
|
+
this.$emit("change");
|
|
7698
|
+
}
|
|
7699
|
+
slottedRadioButtonsChanged(oldValue, newValue) {
|
|
7700
|
+
if (this.slottedRadioButtons && this.slottedRadioButtons.length > 0) {
|
|
7701
|
+
this.setupRadioButtons();
|
|
7702
|
+
}
|
|
7703
|
+
}
|
|
7704
|
+
get parentToolbar() {
|
|
7705
|
+
return this.closest('[role="toolbar"]');
|
|
7706
|
+
}
|
|
7707
|
+
get isInsideToolbar() {
|
|
7708
|
+
var _a;
|
|
7709
|
+
return (_a = this.parentToolbar) !== null && _a !== void 0 ? _a : false;
|
|
7710
|
+
}
|
|
7711
|
+
get isInsideFoundationToolbar() {
|
|
7712
|
+
var _a;
|
|
7713
|
+
return !!((_a = this.parentToolbar) === null || _a === void 0 ? void 0 : _a["$fastController"]);
|
|
7714
|
+
}
|
|
7715
|
+
/**
|
|
7716
|
+
* @internal
|
|
7717
|
+
*/
|
|
7718
|
+
connectedCallback() {
|
|
7719
|
+
super.connectedCallback();
|
|
7720
|
+
this.direction = getDirection(this);
|
|
7721
|
+
this.setupRadioButtons();
|
|
7722
|
+
}
|
|
7723
|
+
disconnectedCallback() {
|
|
7724
|
+
this.slottedRadioButtons.forEach(radio => {
|
|
7725
|
+
radio.removeEventListener("change", this.radioChangeHandler);
|
|
7726
|
+
});
|
|
7727
|
+
}
|
|
7728
|
+
setupRadioButtons() {
|
|
7729
|
+
const checkedRadios = this.slottedRadioButtons.filter(radio => {
|
|
7730
|
+
return radio.hasAttribute("checked");
|
|
7731
|
+
});
|
|
7732
|
+
const numberOfCheckedRadios = checkedRadios ? checkedRadios.length : 0;
|
|
7733
|
+
if (numberOfCheckedRadios > 1) {
|
|
7734
|
+
const lastCheckedRadio = checkedRadios[numberOfCheckedRadios - 1];
|
|
7735
|
+
lastCheckedRadio.checked = true;
|
|
7736
|
+
}
|
|
7737
|
+
let foundMatchingVal = false;
|
|
7738
|
+
this.slottedRadioButtons.forEach(radio => {
|
|
7739
|
+
if (this.name !== undefined) {
|
|
7740
|
+
radio.setAttribute("name", this.name);
|
|
7741
|
+
}
|
|
7742
|
+
if (this.value && this.value === radio.value) {
|
|
7743
|
+
this.selectedRadio = radio;
|
|
7744
|
+
this.focusedRadio = radio;
|
|
7745
|
+
radio.checked = true;
|
|
7746
|
+
radio.setAttribute("tabindex", "0");
|
|
7747
|
+
foundMatchingVal = true;
|
|
7748
|
+
} else {
|
|
7749
|
+
if (!this.isInsideFoundationToolbar) {
|
|
7750
|
+
radio.setAttribute("tabindex", "-1");
|
|
7751
|
+
}
|
|
7752
|
+
radio.checked = false;
|
|
7753
|
+
}
|
|
7754
|
+
radio.addEventListener("change", this.radioChangeHandler);
|
|
7755
|
+
});
|
|
7756
|
+
if (this.value === undefined && this.slottedRadioButtons.length > 0) {
|
|
7757
|
+
const checkedRadios = this.slottedRadioButtons.filter(radio => {
|
|
7758
|
+
return radio.hasAttribute("checked");
|
|
7759
|
+
});
|
|
7760
|
+
const numberOfCheckedRadios = checkedRadios !== null ? checkedRadios.length : 0;
|
|
7761
|
+
if (numberOfCheckedRadios > 0 && !foundMatchingVal) {
|
|
7762
|
+
const lastCheckedRadio = checkedRadios[numberOfCheckedRadios - 1];
|
|
7763
|
+
lastCheckedRadio.checked = true;
|
|
7764
|
+
this.focusedRadio = lastCheckedRadio;
|
|
7765
|
+
lastCheckedRadio.setAttribute("tabindex", "0");
|
|
7766
|
+
} else {
|
|
7767
|
+
this.slottedRadioButtons[0].setAttribute("tabindex", "0");
|
|
7768
|
+
this.focusedRadio = this.slottedRadioButtons[0];
|
|
7769
|
+
}
|
|
7770
|
+
}
|
|
7771
|
+
}
|
|
7772
|
+
}
|
|
7773
|
+
__decorate([attr({
|
|
7774
|
+
attribute: "readonly",
|
|
7775
|
+
mode: "boolean"
|
|
7776
|
+
})], FASTRadioGroup.prototype, "readOnly", void 0);
|
|
7777
|
+
__decorate([attr({
|
|
7778
|
+
attribute: "disabled",
|
|
7779
|
+
mode: "boolean"
|
|
7780
|
+
})], FASTRadioGroup.prototype, "disabled", void 0);
|
|
7781
|
+
__decorate([attr], FASTRadioGroup.prototype, "name", void 0);
|
|
7782
|
+
__decorate([attr], FASTRadioGroup.prototype, "value", void 0);
|
|
7783
|
+
__decorate([attr], FASTRadioGroup.prototype, "orientation", void 0);
|
|
7784
|
+
__decorate([observable], FASTRadioGroup.prototype, "childItems", void 0);
|
|
7785
|
+
__decorate([observable], FASTRadioGroup.prototype, "slottedRadioButtons", void 0);
|
|
7786
|
+
|
|
7300
7787
|
/**
|
|
7301
7788
|
* The orientation of a {@link @microsoft/fast-foundation#(FASTSlider:class)}.
|
|
7302
7789
|
* @public
|
|
@@ -8157,9 +8644,9 @@ function display(displayValue) {
|
|
|
8157
8644
|
*/
|
|
8158
8645
|
class Accordion extends FASTAccordion {}
|
|
8159
8646
|
|
|
8160
|
-
const template$
|
|
8647
|
+
const template$o = accordionTemplate();
|
|
8161
8648
|
|
|
8162
|
-
const styles$
|
|
8649
|
+
const styles$n = css`
|
|
8163
8650
|
${display('flex')}
|
|
8164
8651
|
|
|
8165
8652
|
:host{flex-direction:column;width:100%;contain:content}`;
|
|
@@ -8179,10 +8666,10 @@ const FluentDesignSystem = Object.freeze({
|
|
|
8179
8666
|
* @remarks
|
|
8180
8667
|
* HTML Element: \<fluent-accordion\>
|
|
8181
8668
|
*/
|
|
8182
|
-
const definition$
|
|
8669
|
+
const definition$o = Accordion.compose({
|
|
8183
8670
|
name: `${FluentDesignSystem.prefix}-accordion`,
|
|
8184
|
-
template: template$
|
|
8185
|
-
styles: styles$
|
|
8671
|
+
template: template$o,
|
|
8672
|
+
styles: styles$n
|
|
8186
8673
|
});
|
|
8187
8674
|
|
|
8188
8675
|
/**
|
|
@@ -9002,7 +9489,7 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
9002
9489
|
shadow64Brand: shadow64Brand
|
|
9003
9490
|
});
|
|
9004
9491
|
|
|
9005
|
-
const styles$
|
|
9492
|
+
const styles$m = css`
|
|
9006
9493
|
${display('block')}
|
|
9007
9494
|
|
|
9008
9495
|
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${spacingHorizontalM} ${spacingHorizontalMNudge};border-radius:${borderRadiusMedium};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${colorNeutralForeground1};background:${colorTransparentBackground};line-height:${lineHeightBase300};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${spacingHorizontalS};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${spacingHorizontalM}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall};outline:none;border:2px solid ${colorStrokeFocus1};box-shadow:inset 0 0 0 1px ${colorStrokeFocus2}}:host([disabled]) .button{color:${colorNeutralForegroundDisabled}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${fontSizeBase300};line-height:${lineHeightBase300}}:host([size='small']) .heading{font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) .heading{font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='extra-large']) .heading{font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`;
|
|
@@ -9037,7 +9524,7 @@ const chevronDown20Filled = html.partial(`<svg
|
|
|
9037
9524
|
* The template for the fluent-accordion component.
|
|
9038
9525
|
* @public
|
|
9039
9526
|
*/
|
|
9040
|
-
const template$
|
|
9527
|
+
const template$n = accordionItemTemplate({
|
|
9041
9528
|
collapsedIcon: chevronRight20Filled,
|
|
9042
9529
|
expandedIcon: chevronDown20Filled
|
|
9043
9530
|
});
|
|
@@ -9051,10 +9538,10 @@ const template$l = accordionItemTemplate({
|
|
|
9051
9538
|
* @remarks
|
|
9052
9539
|
* HTML Element: \<fluent-accordion-item\>
|
|
9053
9540
|
*/
|
|
9054
|
-
const definition$
|
|
9541
|
+
const definition$n = AccordionItem.compose({
|
|
9055
9542
|
name: `${FluentDesignSystem.prefix}-accordion-item`,
|
|
9056
|
-
template: template$
|
|
9057
|
-
styles: styles$
|
|
9543
|
+
template: template$n,
|
|
9544
|
+
styles: styles$m
|
|
9058
9545
|
});
|
|
9059
9546
|
|
|
9060
9547
|
/**
|
|
@@ -9191,18 +9678,18 @@ const AnchorButtonSize = ButtonSize;
|
|
|
9191
9678
|
* The template for the Button component.
|
|
9192
9679
|
* @public
|
|
9193
9680
|
*/
|
|
9194
|
-
const template$
|
|
9681
|
+
const template$m = anchorTemplate();
|
|
9195
9682
|
|
|
9196
9683
|
// Need to support icon hover styles
|
|
9197
|
-
const styles$
|
|
9684
|
+
const styles$l = css`
|
|
9198
9685
|
${display('inline-flex')}
|
|
9199
9686
|
|
|
9200
9687
|
:host{--icon-spacing:${spacingHorizontalSNudge};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active) .control{background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host .control:focus-visible{border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${spacingHorizontalXS}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${borderRadiusCircular}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${borderRadiusNone}}:host([appearance='primary']) .control{background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${colorBrandBackgroundHover}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${colorNeutralForegroundOnBrand}}:host([appearance='primary']:hover:active) .control{background-color:${colorBrandBackgroundPressed}}:host([appearance='primary']) .control:focus-visible{border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${colorTransparentBackground}}:host([appearance='outline']:hover) .control{background-color:${colorTransparentBackgroundHover}}:host([appearance='outline']:hover:active) .control{background-color:${colorTransparentBackgroundPressed}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${colorTransparentBackground}}:host([appearance='subtle']) .control{background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${colorTransparentBackground};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host([appearance='transparent']) .control{background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host([appearance='transparent']:hover) .control{background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host([appearance='transparent']:hover:active) .control{background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${colorTransparentBackground}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
|
|
9201
9688
|
.control{background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled};color:${colorNeutralForegroundDisabled};cursor:not-allowed}`;
|
|
9202
9689
|
|
|
9203
9690
|
// Need to support icon hover styles
|
|
9204
|
-
const styles$
|
|
9205
|
-
${styles$
|
|
9691
|
+
const styles$k = css`
|
|
9692
|
+
${styles$l}
|
|
9206
9693
|
|
|
9207
9694
|
.content{text-align:center}`;
|
|
9208
9695
|
|
|
@@ -9214,10 +9701,10 @@ const styles$i = css`
|
|
|
9214
9701
|
* @remarks
|
|
9215
9702
|
* HTML Element: \<fluent-anchor-button\>
|
|
9216
9703
|
*/
|
|
9217
|
-
const definition$
|
|
9704
|
+
const definition$m = AnchorButton.compose({
|
|
9218
9705
|
name: `${FluentDesignSystem.prefix}-anchor-button`,
|
|
9219
|
-
template: template$
|
|
9220
|
-
styles: styles$
|
|
9706
|
+
template: template$m,
|
|
9707
|
+
styles: styles$k,
|
|
9221
9708
|
shadowOptions: {
|
|
9222
9709
|
delegatesFocus: true
|
|
9223
9710
|
}
|
|
@@ -9474,7 +9961,7 @@ const defaultIconTemplate = html`<svg width="1em" height="1em" viewBox="0 0 20 2
|
|
|
9474
9961
|
function avatarTemplate() {
|
|
9475
9962
|
return html`<template role="img" data-color=${x => x.generateColor()}><slot>${x => x.name || x.initials ? x.generateInitials() : defaultIconTemplate}</slot><slot name="badge"></slot></template>`;
|
|
9476
9963
|
}
|
|
9477
|
-
const template$
|
|
9964
|
+
const template$l = avatarTemplate();
|
|
9478
9965
|
|
|
9479
9966
|
const animations = {
|
|
9480
9967
|
fastOutSlowInMax: curveDecelerateMax,
|
|
@@ -9490,7 +9977,7 @@ const animations = {
|
|
|
9490
9977
|
/** Avatar styles
|
|
9491
9978
|
* @public
|
|
9492
9979
|
*/
|
|
9493
|
-
const styles$
|
|
9980
|
+
const styles$j = css`
|
|
9494
9981
|
${display('inline-flex')} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${colorNeutralBackground6};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin} ${colorNeutralBackground1}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${strokeWidthThick} ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${fontWeightRegular}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${fontSizeBase400}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${fontSizeBase500}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host([data-color='brand']){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host([data-color='dark-red']){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host([data-color='cranberry']){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host([data-color='red']){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host([data-color='pumpkin']){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host([data-color='peach']){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host([data-color='marigold']){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host([data-color='gold']){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host([data-color='brass']){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host([data-color='brown']){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host([data-color='forest']){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host([data-color='seafoam']){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host([data-color='dark-green']){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host([data-color='light-teal']){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host([data-color='teal']){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host([data-color='steel']){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host([data-color='blue']){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host([data-color='royal-blue']){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host([data-color='cornflower']){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host([data-color='navy']){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host([data-color='lavender']){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host([data-color='purple']){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host([data-color='grape']){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host([data-color='lilac']){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host([data-color='pink']){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host([data-color='magenta']){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host([data-color='plum']){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host([data-color='beige']){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host([data-color='mink']){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host([data-color='platinum']){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host([data-color='anchor']){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${strokeWidthThicker}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${shadow16}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${shadow28}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
|
|
9495
9982
|
|
|
9496
9983
|
/**
|
|
@@ -9500,10 +9987,10 @@ const styles$h = css`
|
|
|
9500
9987
|
* @remarks
|
|
9501
9988
|
* HTML Element: \<fluent-badge\>
|
|
9502
9989
|
*/
|
|
9503
|
-
const definition$
|
|
9990
|
+
const definition$l = Avatar.compose({
|
|
9504
9991
|
name: `${FluentDesignSystem.prefix}-avatar`,
|
|
9505
|
-
template: template$
|
|
9506
|
-
styles: styles$
|
|
9992
|
+
template: template$l,
|
|
9993
|
+
styles: styles$j
|
|
9507
9994
|
});
|
|
9508
9995
|
|
|
9509
9996
|
/**
|
|
@@ -9590,7 +10077,7 @@ applyMixins(Badge, StartEnd);
|
|
|
9590
10077
|
function badgeTemplate(options = {}) {
|
|
9591
10078
|
return html` ${startSlotTemplate(options)}<slot>${staticallyCompose(options.defaultContent)}</slot>${endSlotTemplate(options)} `;
|
|
9592
10079
|
}
|
|
9593
|
-
const template$
|
|
10080
|
+
const template$k = badgeTemplate();
|
|
9594
10081
|
|
|
9595
10082
|
const textPadding = spacingHorizontalXXS;
|
|
9596
10083
|
const badgeBaseStyles = css.partial`
|
|
@@ -9867,7 +10354,7 @@ const badgeTintStyles = css.partial`
|
|
|
9867
10354
|
/** Badge styles
|
|
9868
10355
|
* @public
|
|
9869
10356
|
*/
|
|
9870
|
-
const styles$
|
|
10357
|
+
const styles$i = css`
|
|
9871
10358
|
:host([shape='square']){border-radius:${borderRadiusNone}}:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${borderRadiusSmall}}${badgeSizeStyles}
|
|
9872
10359
|
${badgeFilledStyles}
|
|
9873
10360
|
${badgeGhostStyles}
|
|
@@ -9885,10 +10372,10 @@ const styles$g = css`
|
|
|
9885
10372
|
* @remarks
|
|
9886
10373
|
* HTML Element: \<fluent-badge\>
|
|
9887
10374
|
*/
|
|
9888
|
-
const definition$
|
|
10375
|
+
const definition$k = Badge.compose({
|
|
9889
10376
|
name: `${FluentDesignSystem.prefix}-badge`,
|
|
9890
|
-
template: template$
|
|
9891
|
-
styles: styles$
|
|
10377
|
+
template: template$k,
|
|
10378
|
+
styles: styles$i
|
|
9892
10379
|
});
|
|
9893
10380
|
|
|
9894
10381
|
/**
|
|
@@ -9959,7 +10446,7 @@ __decorate([attr({
|
|
|
9959
10446
|
* The template for the Button component.
|
|
9960
10447
|
* @public
|
|
9961
10448
|
*/
|
|
9962
|
-
const template$
|
|
10449
|
+
const template$j = buttonTemplate$1();
|
|
9963
10450
|
|
|
9964
10451
|
/**
|
|
9965
10452
|
* The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
@@ -9969,10 +10456,10 @@ const template$h = buttonTemplate$1();
|
|
|
9969
10456
|
* @remarks
|
|
9970
10457
|
* HTML Element: \<fluent-button\>
|
|
9971
10458
|
*/
|
|
9972
|
-
const definition$
|
|
10459
|
+
const definition$j = Button.compose({
|
|
9973
10460
|
name: `${FluentDesignSystem.prefix}-button`,
|
|
9974
|
-
template: template$
|
|
9975
|
-
styles: styles$
|
|
10461
|
+
template: template$j,
|
|
10462
|
+
styles: styles$l,
|
|
9976
10463
|
shadowOptions: {
|
|
9977
10464
|
delegatesFocus: true
|
|
9978
10465
|
}
|
|
@@ -10011,11 +10498,11 @@ function buttonTemplate(options = {}) {
|
|
|
10011
10498
|
* The template for the Button component.
|
|
10012
10499
|
* @public
|
|
10013
10500
|
*/
|
|
10014
|
-
const template$
|
|
10501
|
+
const template$i = buttonTemplate();
|
|
10015
10502
|
|
|
10016
10503
|
// Need to support icon hover styles
|
|
10017
|
-
const styles$
|
|
10018
|
-
${styles$
|
|
10504
|
+
const styles$h = css`
|
|
10505
|
+
${styles$l}
|
|
10019
10506
|
|
|
10020
10507
|
:host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${fontSizeBase300};line-height:${lineHeightBase300}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${colorNeutralForeground2};line-height:100%;font-size:${fontSizeBase200};font-weight:${fontWeightRegular}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${colorNeutralForeground2Hover}}:host(:active) ::slotted([slot='description']){color:${colorNeutralForeground2Pressed}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
|
|
10021
10508
|
::slotted([slot='description']){color:${colorNeutralForegroundOnBrand}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
|
|
@@ -10030,10 +10517,10 @@ const styles$f = css`
|
|
|
10030
10517
|
* @remarks
|
|
10031
10518
|
* HTML Element: \<fluent-comopund-button\>
|
|
10032
10519
|
*/
|
|
10033
|
-
const definition$
|
|
10520
|
+
const definition$i = CompoundButton.compose({
|
|
10034
10521
|
name: `${FluentDesignSystem.prefix}-compound-button`,
|
|
10035
|
-
template: template$
|
|
10036
|
-
styles: styles$
|
|
10522
|
+
template: template$i,
|
|
10523
|
+
styles: styles$h,
|
|
10037
10524
|
shadowOptions: {
|
|
10038
10525
|
delegatesFocus: true
|
|
10039
10526
|
}
|
|
@@ -10172,12 +10659,12 @@ function composeTemplate(options = {}) {
|
|
|
10172
10659
|
* The template for the Counter Badge component.
|
|
10173
10660
|
* @public
|
|
10174
10661
|
*/
|
|
10175
|
-
const template$
|
|
10662
|
+
const template$h = composeTemplate();
|
|
10176
10663
|
|
|
10177
10664
|
/** Badge styles
|
|
10178
10665
|
* @public
|
|
10179
10666
|
*/
|
|
10180
|
-
const styles$
|
|
10667
|
+
const styles$g = css`
|
|
10181
10668
|
:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${borderRadiusSmall}}${badgeSizeStyles}
|
|
10182
10669
|
${badgeFilledStyles}
|
|
10183
10670
|
${badgeGhostStyles}
|
|
@@ -10194,10 +10681,10 @@ const styles$e = css`
|
|
|
10194
10681
|
* @remarks
|
|
10195
10682
|
* HTML Element: \<fluent-counter-badge\>
|
|
10196
10683
|
*/
|
|
10197
|
-
const definition$
|
|
10684
|
+
const definition$h = CounterBadge.compose({
|
|
10198
10685
|
name: `${FluentDesignSystem.prefix}-counter-badge`,
|
|
10199
|
-
template: template$
|
|
10200
|
-
styles: styles$
|
|
10686
|
+
template: template$h,
|
|
10687
|
+
styles: styles$g
|
|
10201
10688
|
});
|
|
10202
10689
|
|
|
10203
10690
|
/**
|
|
@@ -10239,12 +10726,12 @@ const DividerAppearance = {
|
|
|
10239
10726
|
* Template for the Divider component
|
|
10240
10727
|
* @public
|
|
10241
10728
|
*/
|
|
10242
|
-
const template$
|
|
10729
|
+
const template$g = dividerTemplate();
|
|
10243
10730
|
|
|
10244
10731
|
/** Divider styles
|
|
10245
10732
|
* @public
|
|
10246
10733
|
*/
|
|
10247
|
-
const styles$
|
|
10734
|
+
const styles$f = css`
|
|
10248
10735
|
${display('flex')}
|
|
10249
10736
|
|
|
10250
10737
|
:host{contain:content}:host::after,:host::before{align-self:center;background:${colorNeutralStroke2};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${strokeWidthThin}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${colorNeutralForeground2};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${strokeWidthThin};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${colorNeutralStroke1}}:host([appearance='strong']) ::slotted(*){color:${colorNeutralForeground1}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${colorBrandStroke1}}:host([appearance='brand']) ::slotted(*){color:${colorBrandForeground1}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${colorNeutralStroke3}}:host([appearance='subtle']) ::slotted(*){color:${colorNeutralForeground3}}`;
|
|
@@ -10256,10 +10743,10 @@ const styles$d = css`
|
|
|
10256
10743
|
* @remarks
|
|
10257
10744
|
* HTML Element: \<fluent-divider\>
|
|
10258
10745
|
*/
|
|
10259
|
-
const definition$
|
|
10746
|
+
const definition$g = Divider.compose({
|
|
10260
10747
|
name: `${FluentDesignSystem.prefix}-divider`,
|
|
10261
|
-
template: template$
|
|
10262
|
-
styles: styles$
|
|
10748
|
+
template: template$g,
|
|
10749
|
+
styles: styles$f
|
|
10263
10750
|
});
|
|
10264
10751
|
|
|
10265
10752
|
/**
|
|
@@ -10304,13 +10791,13 @@ const ImageShape = {
|
|
|
10304
10791
|
* Template for the Image component
|
|
10305
10792
|
* @public
|
|
10306
10793
|
*/
|
|
10307
|
-
const template$
|
|
10794
|
+
const template$f = html`<slot></slot>`;
|
|
10308
10795
|
|
|
10309
10796
|
/** Image styles
|
|
10310
10797
|
*
|
|
10311
10798
|
* @public
|
|
10312
10799
|
*/
|
|
10313
|
-
const styles$
|
|
10800
|
+
const styles$e = css`
|
|
10314
10801
|
:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${strokeWidthThin} solid ${colorNeutralStroke2}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${shadow4}}:host([shape='circular']) ::slotted(img){border-radius:${borderRadiusCircular}}:host([shape='rounded']) ::slotted(img){border-radius:${borderRadiusMedium}}`;
|
|
10315
10802
|
|
|
10316
10803
|
/**
|
|
@@ -10320,10 +10807,10 @@ const styles$c = css`
|
|
|
10320
10807
|
* @remarks
|
|
10321
10808
|
* HTML Element: \<fluent-image\>
|
|
10322
10809
|
*/
|
|
10323
|
-
const definition$
|
|
10810
|
+
const definition$f = Image.compose({
|
|
10324
10811
|
name: `${FluentDesignSystem.prefix}-image`,
|
|
10325
|
-
template: template$
|
|
10326
|
-
styles: styles$
|
|
10812
|
+
template: template$f,
|
|
10813
|
+
styles: styles$e
|
|
10327
10814
|
});
|
|
10328
10815
|
|
|
10329
10816
|
/**
|
|
@@ -10363,7 +10850,7 @@ __decorate([attr({
|
|
|
10363
10850
|
/** Label styles
|
|
10364
10851
|
* @public
|
|
10365
10852
|
*/
|
|
10366
|
-
const styles$
|
|
10853
|
+
const styles$d = css`
|
|
10367
10854
|
${display('flex')}
|
|
10368
10855
|
|
|
10369
10856
|
:host{font-family:${fontFamilyBase};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${fontWeightRegular};color:${colorNeutralForeground1}}.asterisk{color:${colorPaletteRedForeground1};margin-left:${spacingHorizontalXS}}:host([size='small']){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']){font-size:${fontSizeBase400};line-height:${lineHeightBase400};font-weight:${fontWeightSemibold}}:host([weight='semibold']){font-weight:${fontWeightSemibold}}:host([disabled]),:host([disabled]) .asterisk{color:${colorNeutralForegroundDisabled}}`;
|
|
@@ -10375,7 +10862,7 @@ const styles$b = css`
|
|
|
10375
10862
|
function labelTemplate() {
|
|
10376
10863
|
return html`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${x => !x.required}">*</span>`;
|
|
10377
10864
|
}
|
|
10378
|
-
const template$
|
|
10865
|
+
const template$e = labelTemplate();
|
|
10379
10866
|
|
|
10380
10867
|
/**
|
|
10381
10868
|
* The Fluent Label Element.
|
|
@@ -10385,10 +10872,10 @@ const template$c = labelTemplate();
|
|
|
10385
10872
|
* @remarks
|
|
10386
10873
|
* HTML Element: \<fluent-label\>
|
|
10387
10874
|
*/
|
|
10388
|
-
const definition$
|
|
10875
|
+
const definition$e = Label.compose({
|
|
10389
10876
|
name: `${FluentDesignSystem.prefix}-label`,
|
|
10390
|
-
template: template$
|
|
10391
|
-
styles: styles$
|
|
10877
|
+
template: template$e,
|
|
10878
|
+
styles: styles$d
|
|
10392
10879
|
});
|
|
10393
10880
|
|
|
10394
10881
|
/**
|
|
@@ -10417,7 +10904,7 @@ const MenuButtonSize = ButtonSize;
|
|
|
10417
10904
|
* The template for the Button component.
|
|
10418
10905
|
* @public
|
|
10419
10906
|
*/
|
|
10420
|
-
const template$
|
|
10907
|
+
const template$d = buttonTemplate$1({
|
|
10421
10908
|
end: html.partial(`<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>`)
|
|
10422
10909
|
});
|
|
10423
10910
|
|
|
@@ -10429,10 +10916,10 @@ const template$b = buttonTemplate$1({
|
|
|
10429
10916
|
* @remarks
|
|
10430
10917
|
* HTML Element: \<fluent-button\>
|
|
10431
10918
|
*/
|
|
10432
|
-
const definition$
|
|
10919
|
+
const definition$d = MenuButton.compose({
|
|
10433
10920
|
name: `${FluentDesignSystem.prefix}-menu-button`,
|
|
10434
|
-
template: template$
|
|
10435
|
-
styles: styles$
|
|
10921
|
+
template: template$d,
|
|
10922
|
+
styles: styles$l,
|
|
10436
10923
|
shadowOptions: {
|
|
10437
10924
|
delegatesFocus: true
|
|
10438
10925
|
}
|
|
@@ -10446,7 +10933,7 @@ class MenuItem extends FASTMenuItem {}
|
|
|
10446
10933
|
|
|
10447
10934
|
const Checkmark16Filled = html.partial(`<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>`);
|
|
10448
10935
|
const chevronRight16Filled = html.partial(`<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>`);
|
|
10449
|
-
const template$
|
|
10936
|
+
const template$c = menuItemTemplate({
|
|
10450
10937
|
checkboxIndicator: Checkmark16Filled,
|
|
10451
10938
|
expandCollapseGlyph: chevronRight16Filled,
|
|
10452
10939
|
radioIndicator: Checkmark16Filled
|
|
@@ -10455,7 +10942,7 @@ const template$a = menuItemTemplate({
|
|
|
10455
10942
|
/** MenuItem styles
|
|
10456
10943
|
* @public
|
|
10457
10944
|
*/
|
|
10458
|
-
const styles$
|
|
10945
|
+
const styles$c = css`
|
|
10459
10946
|
${display('grid')}
|
|
10460
10947
|
|
|
10461
10948
|
:host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${colorNeutralBackground1};font:${fontWeightRegular} ${fontSizeBase300} / ${lineHeightBase300} ${fontFamilyBase};border-radius:${borderRadiusMedium};color:${colorNeutralForeground2};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${colorNeutralBackground1Hover}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${colorNeutralForeground2}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${fontSizeBase500};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${colorNeutralForeground3};font:${fontWeightRegular} ${fontSizeBase200} / ${lineHeightBase200} ${fontFamilyBase};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${colorNeutralForeground2Hover}}:host([icon]:hover) ::slotted([slot='start']){color:${colorCompoundBrandForeground1Hover}}:host(:active){background-color:${colorNeutralBackground1Selected}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${colorNeutralForeground2Pressed}}:host(:active) ::slotted([slot='start']){color:${colorCompoundBrandForeground1Pressed}}:host([disabled]){background-color:${colorNeutralBackgroundDisabled}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${colorNeutralForegroundDisabled}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`;
|
|
@@ -10469,10 +10956,10 @@ const styles$a = css`
|
|
|
10469
10956
|
* @remarks
|
|
10470
10957
|
* HTML Element: <fluent-menu-item>
|
|
10471
10958
|
*/
|
|
10472
|
-
const definition$
|
|
10959
|
+
const definition$c = MenuItem.compose({
|
|
10473
10960
|
name: `${FluentDesignSystem.prefix}-menu-item`,
|
|
10474
|
-
template: template$
|
|
10475
|
-
styles: styles$
|
|
10961
|
+
template: template$c,
|
|
10962
|
+
styles: styles$c
|
|
10476
10963
|
});
|
|
10477
10964
|
|
|
10478
10965
|
/**
|
|
@@ -10509,12 +10996,12 @@ class MenuList extends FASTMenu {
|
|
|
10509
10996
|
}
|
|
10510
10997
|
}
|
|
10511
10998
|
|
|
10512
|
-
const template$
|
|
10999
|
+
const template$b = menuTemplate();
|
|
10513
11000
|
|
|
10514
11001
|
/** MenuList styles
|
|
10515
11002
|
* @public
|
|
10516
11003
|
*/
|
|
10517
|
-
const styles$
|
|
11004
|
+
const styles$b = css`
|
|
10518
11005
|
${display('flex')}
|
|
10519
11006
|
|
|
10520
11007
|
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${colorNeutralBackground1};border:1px solid ${colorTransparentStroke};border-radius:${borderRadiusMedium};box-shadow:${shadow16};padding:4px;row-gap:2px}`;
|
|
@@ -10528,10 +11015,10 @@ const styles$9 = css`
|
|
|
10528
11015
|
* @remarks
|
|
10529
11016
|
* HTML Element: <fluent-menu-list>
|
|
10530
11017
|
*/
|
|
10531
|
-
const definition$
|
|
11018
|
+
const definition$b = MenuList.compose({
|
|
10532
11019
|
name: `${FluentDesignSystem.prefix}-menu-list`,
|
|
10533
|
-
template: template$
|
|
10534
|
-
styles: styles$
|
|
11020
|
+
template: template$b,
|
|
11021
|
+
styles: styles$b
|
|
10535
11022
|
});
|
|
10536
11023
|
|
|
10537
11024
|
/**
|
|
@@ -10585,7 +11072,7 @@ const ProgressBarValidationState = {
|
|
|
10585
11072
|
/** ProgressBar styles
|
|
10586
11073
|
* @public
|
|
10587
11074
|
*/
|
|
10588
|
-
const styles$
|
|
11075
|
+
const styles$a = css`
|
|
10589
11076
|
${display('flex')}
|
|
10590
11077
|
|
|
10591
11078
|
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${borderRadiusMedium};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${colorPaletteRedBackground3}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
@@ -10600,7 +11087,7 @@ const styles$8 = css`
|
|
|
10600
11087
|
to right,${colorBrandBackground2} 0%,${colorCompoundBrandBackground} 50%,${colorBrandBackground2}
|
|
10601
11088
|
);border-radius:${borderRadiusMedium};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`;
|
|
10602
11089
|
|
|
10603
|
-
const template$
|
|
11090
|
+
const template$a = progressTemplate({
|
|
10604
11091
|
indeterminateIndicator1: `<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>`,
|
|
10605
11092
|
indeterminateIndicator2: `<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>`
|
|
10606
11093
|
});
|
|
@@ -10613,8 +11100,85 @@ const template$8 = progressTemplate({
|
|
|
10613
11100
|
* @remarks
|
|
10614
11101
|
* HTML Element: \<fluent-progress-bar\>
|
|
10615
11102
|
*/
|
|
10616
|
-
const definition$
|
|
11103
|
+
const definition$a = ProgressBar.compose({
|
|
10617
11104
|
name: `${FluentDesignSystem.prefix}-progress-bar`,
|
|
11105
|
+
template: template$a,
|
|
11106
|
+
styles: styles$a
|
|
11107
|
+
});
|
|
11108
|
+
|
|
11109
|
+
/**
|
|
11110
|
+
* The base class used for constructing a fluent-radio custom element
|
|
11111
|
+
* @public
|
|
11112
|
+
*/
|
|
11113
|
+
class Radio extends FASTRadio {}
|
|
11114
|
+
|
|
11115
|
+
/** Radio styles
|
|
11116
|
+
* @public
|
|
11117
|
+
*/
|
|
11118
|
+
const styles$9 = css`
|
|
11119
|
+
${display('inline-grid')}
|
|
11120
|
+
|
|
11121
|
+
:host{grid-auto-flow:column;grid-template-columns:max-content;gap:${spacingHorizontalXS};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${colorNeutralForeground3});padding-inline-end:${spacingHorizontalS};--control-border-color:${colorNeutralStrokeAccessible};--checked-indicator-background-color:${colorCompoundBrandForeground1};--state-color:${colorNeutralForeground3}}:host([disabled]){--control-border-color:${colorNeutralForegroundDisabled};--checked-indicator-background-color:${colorNeutralForegroundDisabled};--state-color:${colorNeutralForegroundDisabled}}.label{cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${colorNeutralStrokeAccessible});border-radius:${borderRadiusCircular};display:flex;height:16px;justify-content:center;margin:${spacingVerticalS} ${spacingHorizontalS};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${borderRadiusCircular};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${colorNeutralForeground2}}:host(:focus-visible){border-radius:${borderRadiusSmall};box-shadow:0 0 0 3px ${colorStrokeFocus2};outline:1px solid ${colorStrokeFocus1}}:host(:hover) .control{border-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .control{border-color:${colorNeutralStrokeAccessiblePressed}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${colorNeutralStrokeAccessible})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${colorCompoundBrandForeground1})}:host([aria-checked='true']:hover) .control{border-color:${colorCompoundBrandStrokeHover}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${colorCompoundBrandStrokeHover}}:host([aria-checked='true']:active) .control{border-color:${colorCompoundBrandStrokePressed}}:host([aria-checked='true']:active) .checked-indicator{background:${colorCompoundBrandForeground1Pressed}}:host([disabled]){color:${colorNeutralForegroundDisabled};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${colorNeutralForegroundDisabled}}:host([disabled]) .checked-indicator{background:${colorNeutralForegroundDisabled}}`;
|
|
11122
|
+
|
|
11123
|
+
const template$9 = radioTemplate({
|
|
11124
|
+
checkedIndicator: html`<div part="checked-indicator" class="checked-indicator"></div>`
|
|
11125
|
+
});
|
|
11126
|
+
|
|
11127
|
+
/**
|
|
11128
|
+
* The Fluent Radio Element.
|
|
11129
|
+
*
|
|
11130
|
+
*
|
|
11131
|
+
* @public
|
|
11132
|
+
* @remarks
|
|
11133
|
+
* HTML Element: \<fluent-radio\>
|
|
11134
|
+
*/
|
|
11135
|
+
const definition$9 = Radio.compose({
|
|
11136
|
+
name: `${FluentDesignSystem.prefix}-radio`,
|
|
11137
|
+
template: template$9,
|
|
11138
|
+
styles: styles$9
|
|
11139
|
+
});
|
|
11140
|
+
|
|
11141
|
+
/**
|
|
11142
|
+
* The base class used for constructing a fluent-radio-group custom element
|
|
11143
|
+
* @public
|
|
11144
|
+
*/
|
|
11145
|
+
class RadioGroup extends FASTRadioGroup {
|
|
11146
|
+
constructor() {
|
|
11147
|
+
super(...arguments);
|
|
11148
|
+
/**
|
|
11149
|
+
* sets radio layout styles
|
|
11150
|
+
*
|
|
11151
|
+
* @public
|
|
11152
|
+
* @remarks
|
|
11153
|
+
* HTML Attribute: stacked
|
|
11154
|
+
*/
|
|
11155
|
+
this.stacked = false;
|
|
11156
|
+
}
|
|
11157
|
+
}
|
|
11158
|
+
__decorate([attr({
|
|
11159
|
+
mode: 'boolean'
|
|
11160
|
+
})], RadioGroup.prototype, "stacked", void 0);
|
|
11161
|
+
|
|
11162
|
+
/** RadioGroup styles
|
|
11163
|
+
* @public
|
|
11164
|
+
*/
|
|
11165
|
+
const styles$8 = css`
|
|
11166
|
+
${display('flex')}
|
|
11167
|
+
|
|
11168
|
+
:host{align-items:flex-start;flex-direction:column;row-gap:${spacingVerticalS}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${colorNeutralForegroundDisabled};--checked-indicator-background-color:${colorNeutralForegroundDisabled};--state-color:${colorNeutralForegroundDisabled}}::slotted([slot='label']){color:${colorNeutralForeground1};padding:${spacingVerticalS} ${spacingHorizontalS} ${spacingVerticalS} ${spacingHorizontalXS};font:${fontWeightRegular} ${fontSizeBase300} / ${lineHeightBase300} ${fontFamilyBase};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${spacingHorizontalS}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${spacingHorizontalS};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;
|
|
11169
|
+
|
|
11170
|
+
const template$8 = radioGroupTemplate();
|
|
11171
|
+
|
|
11172
|
+
/**
|
|
11173
|
+
* The Fluent RadioGroup Element.
|
|
11174
|
+
*
|
|
11175
|
+
*
|
|
11176
|
+
* @public
|
|
11177
|
+
* @remarks
|
|
11178
|
+
* HTML Element: \<fluent-radio-group\>
|
|
11179
|
+
*/
|
|
11180
|
+
const definition$8 = RadioGroup.compose({
|
|
11181
|
+
name: `${FluentDesignSystem.prefix}-radio-group`,
|
|
10618
11182
|
template: template$8,
|
|
10619
11183
|
styles: styles$8
|
|
10620
11184
|
});
|
|
@@ -11300,7 +11864,7 @@ const template = buttonTemplate$1();
|
|
|
11300
11864
|
|
|
11301
11865
|
// Need to support icon hover styles
|
|
11302
11866
|
const styles = css`
|
|
11303
|
-
${styles$
|
|
11867
|
+
${styles$l}
|
|
11304
11868
|
|
|
11305
11869
|
:host([aria-pressed="true"]) .control{border-color:${colorNeutralStroke1};background-color:${colorNeutralBackground1Selected};color:${colorNeutralForeground1};border-width:${strokeWidthThin}}:host([aria-pressed='true']:hover) .control{border-color:${colorNeutralStroke1Hover};background-color:${colorNeutralBackground1Hover}}:host([aria-pressed='true']:active) .control{border-color:${colorNeutralStroke1Pressed};background-color:${colorNeutralBackground1Pressed}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${colorBrandBackgroundSelected};color:${colorNeutralForegroundOnBrand}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${colorBrandBackgroundHover}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${colorBrandBackgroundPressed}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${colorSubtleBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${colorTransparentBackgroundSelected}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${colorTransparentBackgroundHover}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${colorTransparentBackgroundPressed}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${colorNeutralForeground2BrandSelected}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${colorNeutralForeground2BrandHover}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${colorNeutralForeground2BrandPressed}}`;
|
|
11306
11870
|
|
|
@@ -11332,4 +11896,4 @@ const setTheme = theme => {
|
|
|
11332
11896
|
}
|
|
11333
11897
|
};
|
|
11334
11898
|
|
|
11335
|
-
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, AnchorButton, AnchorButtonAppearance, definition$k as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonSize, template$k as AnchorButtonTemplate, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$j as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$h as AvatarStyles, template$j as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$i as BadgeDefinition, BadgeShape, BadgeSize, styles$g as BadgeStyles, template$i as BadgeTemplate, Button, ButtonAppearance, definition$h as ButtonDefinition, ButtonShape, ButtonSize, styles$j as ButtonStyles, template$h as ButtonTemplate, CompoundButton, CompoundButtonAppearance, definition$g as CompoundButtonDefinition, CompoundButtonShape, CompoundButtonSize, styles$f as CompoundButtonStyles, template$g as CompoundButtonTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$f as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$e as CounterBadgeStyles, template$f as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$e as DividerDefinition, DividerOrientation, DividerRole, styles$d as DividerStyles, template$e as DividerTemplate, Image, definition$d as ImageDefinition, ImageFit, ImageShape, styles$c as ImageStyles, template$d as ImageTemplate, Label, definition$c as LabelDefinition, styles$b as LabelStyles, template$c as LabelTemplate, MenuButton, MenuButtonAppearance, definition$b as MenuButtonDefinition, MenuButtonShape, MenuButtonSize, styles$j as MenuButtonStyles, template$b as MenuButtonTemplate, MenuItem, definition$a as MenuItemDefinition, styles$a as MenuItemStyles, template$a as MenuItemTemplate, MenuList, definition$9 as MenuListDefinition, styles$9 as MenuListStyles, template$9 as MenuListTemplate, ProgressBar, definition$8 as ProgressBarDefinition, ProgressBarShape, styles$8 as ProgressBarStyles, template$8 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Slider, definition$7 as SliderDefinition, SliderOrientation, SliderSize, styles$7 as SliderStyles, template$7 as SliderTemplate, Spinner, SpinnerAppearance, definition$6 as SpinnerDefinition, SpinnerSize, styles$6 as SpinnerStyles, template$6 as SpinnerTemplate, Switch, SwitchLabelPosition, Tab, definition$3 as TabDefinition, TabPanel, definition$2 as TabPanelDefinition, styles$2 as TabPanelStyles, template$2 as TabPanelTemplate, styles$3 as TabStyles, template$3 as TabTemplate, Tabs, TabsAppearance, definition$4 as TabsDefinition, TabsOrientation, TabsSize, styles$4 as TabsStyles, template$4 as TabsTemplate, Text, TextAlign, definition$1 as TextDefinition, TextFont, TextSize, styles$1 as TextStyles, template$1 as TextTemplate, TextWeight, ToggleButton, ToggleButtonAppearance, definition as ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, styles as ToggleButtonStyles, template as ToggleButtonTemplate, definition$m as accordionDefinition, definition$l as accordionItemDefinition, styles$k as accordionItemStyles, template$l as accordionItemTemplate, styles$l as accordionStyles, template$m as accordionTemplate, borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusNone, borderRadiusSmall, borderRadiusXLarge, colorBackgroundOverlay, colorBrandBackground, colorBrandBackground2, colorBrandBackgroundHover, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorBrandBackgroundStatic, colorBrandForeground1, colorBrandForeground2, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorBrandShadowAmbient, colorBrandShadowKey, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundDisabled, colorNeutralBackgroundInverted, colorNeutralBackgroundInvertedDisabled, colorNeutralBackgroundStatic, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground1Static, colorNeutralForeground2, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground2Hover, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground3, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInverted, colorNeutralForegroundInverted2, colorNeutralForegroundInvertedDisabled, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralShadowAmbient, colorNeutralShadowAmbientDarker, colorNeutralShadowAmbientLighter, colorNeutralShadowKey, colorNeutralShadowKeyDarker, colorNeutralShadowKeyLighter, colorNeutralStencil1, colorNeutralStencil1Alpha, colorNeutralStencil2, colorNeutralStencil2Alpha, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorPaletteAnchorBackground2, colorPaletteAnchorBorderActive, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeBorderActive, colorPaletteBeigeForeground2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteBerryBorderActive, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBlueBackground2, colorPaletteBlueBorderActive, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassBorderActive, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownBorderActive, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerBorderActive, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryBorderActive, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenBorderActive, colorPaletteDarkGreenForeground2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkRedBackground2, colorPaletteDarkRedBorderActive, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestBorderActive, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldBorderActive, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeBorderActive, colorPaletteGrapeForeground2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteGreenBorderActive, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenForegroundInverted, colorPaletteLavenderBackground2, colorPaletteLavenderBorderActive, colorPaletteLavenderForeground2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteLightGreenBorderActive, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightTealBackground2, colorPaletteLightTealBorderActive, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacBorderActive, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaBorderActive, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteMarigoldBorderActive, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMinkBackground2, colorPaletteMinkBorderActive, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyBorderActive, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachBorderActive, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkBorderActive, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumBorderActive, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumBorderActive, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinBorderActive, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleBorderActive, colorPalettePurpleForeground2, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteRedBorderActive, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedForegroundInverted, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowForegroundInverted, colorScrollbarOverlay, colorStrokeFocus1, colorStrokeFocus2, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorTransparentStroke, colorTransparentStrokeDisabled, colorTransparentStrokeInteractive, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, definition$5 as definition, durationFast, durationFaster, durationNormal, durationSlow, durationSlower, durationUltraFast, durationUltraSlow, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero1000, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontWeightBold, fontWeightMedium, fontWeightRegular, fontWeightSemibold, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero1000, lineHeightHero700, lineHeightHero800, lineHeightHero900, setTheme, shadow16, shadow16Brand, shadow2, shadow28, shadow28Brand, shadow2Brand, shadow4, shadow4Brand, shadow64, shadow64Brand, shadow8, shadow8Brand, spacingHorizontalL, spacingHorizontalM, spacingHorizontalMNudge, spacingHorizontalNone, spacingHorizontalS, spacingHorizontalSNudge, spacingHorizontalXL, spacingHorizontalXS, spacingHorizontalXXL, spacingHorizontalXXS, spacingHorizontalXXXL, spacingVerticalL, spacingVerticalM, spacingVerticalMNudge, spacingVerticalNone, spacingVerticalS, spacingVerticalSNudge, spacingVerticalXL, spacingVerticalXS, spacingVerticalXXL, spacingVerticalXXS, spacingVerticalXXXL, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, strokeWidthThin, styles$5 as switchStyles, template$5 as switchTemplate };
|
|
11899
|
+
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, AnchorButton, AnchorButtonAppearance, definition$m as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonSize, template$m as AnchorButtonTemplate, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$l as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$j as AvatarStyles, template$l as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$k as BadgeDefinition, BadgeShape, BadgeSize, styles$i as BadgeStyles, template$k as BadgeTemplate, Button, ButtonAppearance, definition$j as ButtonDefinition, ButtonShape, ButtonSize, styles$l as ButtonStyles, template$j as ButtonTemplate, CompoundButton, CompoundButtonAppearance, definition$i as CompoundButtonDefinition, CompoundButtonShape, CompoundButtonSize, styles$h as CompoundButtonStyles, template$i as CompoundButtonTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$h as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$g as CounterBadgeStyles, template$h as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$g as DividerDefinition, DividerOrientation, DividerRole, styles$f as DividerStyles, template$g as DividerTemplate, Image, definition$f as ImageDefinition, ImageFit, ImageShape, styles$e as ImageStyles, template$f as ImageTemplate, Label, definition$e as LabelDefinition, styles$d as LabelStyles, template$e as LabelTemplate, MenuButton, MenuButtonAppearance, definition$d as MenuButtonDefinition, MenuButtonShape, MenuButtonSize, styles$l as MenuButtonStyles, template$d as MenuButtonTemplate, MenuItem, definition$c as MenuItemDefinition, styles$c as MenuItemStyles, template$c as MenuItemTemplate, MenuList, definition$b as MenuListDefinition, styles$b as MenuListStyles, template$b as MenuListTemplate, ProgressBar, definition$a as ProgressBarDefinition, ProgressBarShape, styles$a as ProgressBarStyles, template$a as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Radio, definition$9 as RadioDefinition, RadioGroup, definition$8 as RadioGroupDefinition, RadioGroupOrientation, styles$8 as RadioGroupStyles, template$8 as RadioGroupTemplate, styles$9 as RadioStyles, template$9 as RadioTemplate, Slider, definition$7 as SliderDefinition, SliderOrientation, SliderSize, styles$7 as SliderStyles, template$7 as SliderTemplate, Spinner, SpinnerAppearance, definition$6 as SpinnerDefinition, SpinnerSize, styles$6 as SpinnerStyles, template$6 as SpinnerTemplate, Switch, SwitchLabelPosition, Tab, definition$3 as TabDefinition, TabPanel, definition$2 as TabPanelDefinition, styles$2 as TabPanelStyles, template$2 as TabPanelTemplate, styles$3 as TabStyles, template$3 as TabTemplate, Tabs, TabsAppearance, definition$4 as TabsDefinition, TabsOrientation, TabsSize, styles$4 as TabsStyles, template$4 as TabsTemplate, Text, TextAlign, definition$1 as TextDefinition, TextFont, TextSize, styles$1 as TextStyles, template$1 as TextTemplate, TextWeight, ToggleButton, ToggleButtonAppearance, definition as ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, styles as ToggleButtonStyles, template as ToggleButtonTemplate, definition$o as accordionDefinition, definition$n as accordionItemDefinition, styles$m as accordionItemStyles, template$n as accordionItemTemplate, styles$n as accordionStyles, template$o as accordionTemplate, borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusNone, borderRadiusSmall, borderRadiusXLarge, colorBackgroundOverlay, colorBrandBackground, colorBrandBackground2, colorBrandBackgroundHover, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorBrandBackgroundStatic, colorBrandForeground1, colorBrandForeground2, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorBrandShadowAmbient, colorBrandShadowKey, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundDisabled, colorNeutralBackgroundInverted, colorNeutralBackgroundInvertedDisabled, colorNeutralBackgroundStatic, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground1Static, colorNeutralForeground2, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground2Hover, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground3, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInverted, colorNeutralForegroundInverted2, colorNeutralForegroundInvertedDisabled, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralShadowAmbient, colorNeutralShadowAmbientDarker, colorNeutralShadowAmbientLighter, colorNeutralShadowKey, colorNeutralShadowKeyDarker, colorNeutralShadowKeyLighter, colorNeutralStencil1, colorNeutralStencil1Alpha, colorNeutralStencil2, colorNeutralStencil2Alpha, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorPaletteAnchorBackground2, colorPaletteAnchorBorderActive, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeBorderActive, colorPaletteBeigeForeground2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteBerryBorderActive, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBlueBackground2, colorPaletteBlueBorderActive, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassBorderActive, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownBorderActive, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerBorderActive, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryBorderActive, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenBorderActive, colorPaletteDarkGreenForeground2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkRedBackground2, colorPaletteDarkRedBorderActive, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestBorderActive, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldBorderActive, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeBorderActive, colorPaletteGrapeForeground2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteGreenBorderActive, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenForegroundInverted, colorPaletteLavenderBackground2, colorPaletteLavenderBorderActive, colorPaletteLavenderForeground2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteLightGreenBorderActive, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightTealBackground2, colorPaletteLightTealBorderActive, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacBorderActive, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaBorderActive, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteMarigoldBorderActive, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMinkBackground2, colorPaletteMinkBorderActive, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyBorderActive, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachBorderActive, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkBorderActive, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumBorderActive, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumBorderActive, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinBorderActive, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleBorderActive, colorPalettePurpleForeground2, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteRedBorderActive, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedForegroundInverted, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowForegroundInverted, colorScrollbarOverlay, colorStrokeFocus1, colorStrokeFocus2, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorTransparentStroke, colorTransparentStrokeDisabled, colorTransparentStrokeInteractive, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, definition$5 as definition, durationFast, durationFaster, durationNormal, durationSlow, durationSlower, durationUltraFast, durationUltraSlow, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero1000, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontWeightBold, fontWeightMedium, fontWeightRegular, fontWeightSemibold, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero1000, lineHeightHero700, lineHeightHero800, lineHeightHero900, setTheme, shadow16, shadow16Brand, shadow2, shadow28, shadow28Brand, shadow2Brand, shadow4, shadow4Brand, shadow64, shadow64Brand, shadow8, shadow8Brand, spacingHorizontalL, spacingHorizontalM, spacingHorizontalMNudge, spacingHorizontalNone, spacingHorizontalS, spacingHorizontalSNudge, spacingHorizontalXL, spacingHorizontalXS, spacingHorizontalXXL, spacingHorizontalXXS, spacingHorizontalXXXL, spacingVerticalL, spacingVerticalM, spacingVerticalMNudge, spacingVerticalNone, spacingVerticalS, spacingVerticalSNudge, spacingVerticalXL, spacingVerticalXS, spacingVerticalXXL, spacingVerticalXXS, spacingVerticalXXXL, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, strokeWidthThin, styles$5 as switchStyles, template$5 as switchTemplate };
|