@fluentui/web-components 3.0.0-beta.10 → 3.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -2
- package/dist/dts/index.d.ts +3 -0
- package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
- package/dist/dts/utils/display.d.ts +17 -0
- package/dist/dts/utils/index.d.ts +2 -0
- package/dist/esm/accordion/accordion.styles.js +1 -1
- package/dist/esm/accordion/accordion.styles.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +1 -1
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/button/button.styles.js +1 -1
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +1 -1
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.js +1 -1
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +1 -1
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/label.styles.js +1 -1
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.js +1 -1
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.js +1 -1
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/radio/radio.styles.js +1 -1
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.styles.js +1 -1
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/slider/slider.styles.js +1 -1
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +1 -1
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +1 -1
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +1 -1
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/tab/tab.styles.js +1 -1
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
- package/dist/esm/tabs/tabs.styles.js +1 -1
- package/dist/esm/tabs/tabs.styles.js.map +1 -1
- package/dist/esm/text/text.styles.js +1 -1
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.js +1 -1
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
- package/dist/esm/utils/display.js +15 -0
- package/dist/esm/utils/display.js.map +1 -0
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/fluent-web-components.api.json +773 -0
- package/dist/storybook/{284.0946b1fb.iframe.bundle.js → 289.703b1698.iframe.bundle.js} +2 -2
- package/dist/storybook/{284.0946b1fb.iframe.bundle.js.LICENSE.txt → 289.703b1698.iframe.bundle.js.LICENSE.txt} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/main.81e47c59.iframe.bundle.js +2 -0
- package/dist/storybook/project.json +1 -1
- package/dist/web-components.d.ts +161 -0
- package/dist/web-components.js +490 -361
- package/dist/web-components.min.js +137 -137
- package/docs/api-report.md +46 -0
- package/package.json +2 -2
- package/tensile.config.js +0 -2
- package/dist/storybook/main.b9de79ac.iframe.bundle.js +0 -2
- /package/dist/storybook/{main.b9de79ac.iframe.bundle.js.LICENSE.txt → main.81e47c59.iframe.bundle.js.LICENSE.txt} +0 -0
package/dist/web-components.js
CHANGED
|
@@ -3410,6 +3410,69 @@ const whitespaceFilter = value => {
|
|
|
3410
3410
|
return value.nodeType !== Node.TEXT_NODE || !!((_a = value.nodeValue) == null ? void 0 : _a.trim().length);
|
|
3411
3411
|
};
|
|
3412
3412
|
|
|
3413
|
+
const hidden = `:host([hidden]){display:none}`;
|
|
3414
|
+
function display(displayValue) {
|
|
3415
|
+
return `${hidden}:host{display:${displayValue}}`;
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
class MatchMediaBehavior {
|
|
3419
|
+
constructor(query) {
|
|
3420
|
+
this.listenerCache = /* @__PURE__ */new WeakMap();
|
|
3421
|
+
this.query = query;
|
|
3422
|
+
}
|
|
3423
|
+
connectedCallback(controller) {
|
|
3424
|
+
const {
|
|
3425
|
+
query
|
|
3426
|
+
} = this;
|
|
3427
|
+
let listener = this.listenerCache.get(controller);
|
|
3428
|
+
if (!listener) {
|
|
3429
|
+
listener = this.constructListener(controller);
|
|
3430
|
+
this.listenerCache.set(controller, listener);
|
|
3431
|
+
}
|
|
3432
|
+
listener.bind(query)();
|
|
3433
|
+
query.addEventListener("change", listener);
|
|
3434
|
+
}
|
|
3435
|
+
disconnectedCallback(controller) {
|
|
3436
|
+
const listener = this.listenerCache.get(controller);
|
|
3437
|
+
if (listener) {
|
|
3438
|
+
this.query.removeEventListener("change", listener);
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3442
|
+
class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
|
|
3443
|
+
constructor(query, styles) {
|
|
3444
|
+
super(query);
|
|
3445
|
+
this.styles = styles;
|
|
3446
|
+
}
|
|
3447
|
+
static with(query) {
|
|
3448
|
+
return styles => {
|
|
3449
|
+
return new MatchMediaStyleSheetBehavior(query, styles);
|
|
3450
|
+
};
|
|
3451
|
+
}
|
|
3452
|
+
constructListener(controller) {
|
|
3453
|
+
let attached = false;
|
|
3454
|
+
const styles = this.styles;
|
|
3455
|
+
return function listener() {
|
|
3456
|
+
const {
|
|
3457
|
+
matches
|
|
3458
|
+
} = this;
|
|
3459
|
+
if (matches && !attached) {
|
|
3460
|
+
controller.addStyles(styles);
|
|
3461
|
+
attached = matches;
|
|
3462
|
+
} else if (!matches && attached) {
|
|
3463
|
+
controller.removeStyles(styles);
|
|
3464
|
+
attached = matches;
|
|
3465
|
+
}
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
removedCallback(controller) {
|
|
3469
|
+
controller.removeStyles(this.styles);
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3472
|
+
const forcedColorsStylesheetBehavior = MatchMediaStyleSheetBehavior.with(window.matchMedia("(forced-colors)"));
|
|
3473
|
+
const darkModeStylesheetBehavior = MatchMediaStyleSheetBehavior.with(window.matchMedia("(prefers-color-scheme: dark)"));
|
|
3474
|
+
const lightModeStylesheetBehavior = MatchMediaStyleSheetBehavior.with(window.matchMedia("(prefers-color-scheme: light)"));
|
|
3475
|
+
|
|
3413
3476
|
class StartEnd {}
|
|
3414
3477
|
function endSlotTemplate(options) {
|
|
3415
3478
|
return html`<slot name="end" ${ref("end")}>${staticallyCompose(options.end)}</slot>`.inline();
|
|
@@ -3672,166 +3735,6 @@ function accordionTemplate() {
|
|
|
3672
3735
|
}
|
|
3673
3736
|
const template$s = accordionTemplate();
|
|
3674
3737
|
|
|
3675
|
-
/**
|
|
3676
|
-
* An abstract behavior to react to media queries. Implementations should implement
|
|
3677
|
-
* the `constructListener` method to perform some action based on media query changes.
|
|
3678
|
-
*
|
|
3679
|
-
* @public
|
|
3680
|
-
*/
|
|
3681
|
-
class MatchMediaBehavior {
|
|
3682
|
-
/**
|
|
3683
|
-
*
|
|
3684
|
-
* @param query - The media query to operate from.
|
|
3685
|
-
*/
|
|
3686
|
-
constructor(query) {
|
|
3687
|
-
/**
|
|
3688
|
-
* The behavior needs to operate on element instances but elements might share a behavior instance.
|
|
3689
|
-
* To ensure proper attachment / detachment per instance, we construct a listener for
|
|
3690
|
-
* each bind invocation and cache the listeners by element reference.
|
|
3691
|
-
*/
|
|
3692
|
-
this.listenerCache = new WeakMap();
|
|
3693
|
-
this.query = query;
|
|
3694
|
-
}
|
|
3695
|
-
/**
|
|
3696
|
-
* Binds the behavior to the element.
|
|
3697
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
3698
|
-
*/
|
|
3699
|
-
connectedCallback(controller) {
|
|
3700
|
-
const {
|
|
3701
|
-
query
|
|
3702
|
-
} = this;
|
|
3703
|
-
let listener = this.listenerCache.get(controller);
|
|
3704
|
-
if (!listener) {
|
|
3705
|
-
listener = this.constructListener(controller);
|
|
3706
|
-
this.listenerCache.set(controller, listener);
|
|
3707
|
-
}
|
|
3708
|
-
// Invoke immediately to add if the query currently matches
|
|
3709
|
-
listener.bind(query)();
|
|
3710
|
-
query.addEventListener("change", listener);
|
|
3711
|
-
}
|
|
3712
|
-
/**
|
|
3713
|
-
* Unbinds the behavior from the element.
|
|
3714
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
3715
|
-
*/
|
|
3716
|
-
disconnectedCallback(controller) {
|
|
3717
|
-
const listener = this.listenerCache.get(controller);
|
|
3718
|
-
if (listener) {
|
|
3719
|
-
this.query.removeEventListener("change", listener);
|
|
3720
|
-
}
|
|
3721
|
-
}
|
|
3722
|
-
}
|
|
3723
|
-
/**
|
|
3724
|
-
* A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
|
|
3725
|
-
* styles are applied while the a query matches the environment and that styles are not applied if the query does
|
|
3726
|
-
* not match the environment.
|
|
3727
|
-
*
|
|
3728
|
-
* @public
|
|
3729
|
-
*/
|
|
3730
|
-
class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
|
|
3731
|
-
/**
|
|
3732
|
-
* Constructs a {@link MatchMediaStyleSheetBehavior} instance.
|
|
3733
|
-
* @param query - The media query to operate from.
|
|
3734
|
-
* @param styles - The styles to coordinate with the query.
|
|
3735
|
-
*/
|
|
3736
|
-
constructor(query, styles) {
|
|
3737
|
-
super(query);
|
|
3738
|
-
this.styles = styles;
|
|
3739
|
-
}
|
|
3740
|
-
/**
|
|
3741
|
-
* Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
|
|
3742
|
-
* a provided query.
|
|
3743
|
-
* @param query - The media query to operate from.
|
|
3744
|
-
*
|
|
3745
|
-
* @public
|
|
3746
|
-
* @example
|
|
3747
|
-
*
|
|
3748
|
-
* ```ts
|
|
3749
|
-
* import { css } from "@microsoft/fast-element";
|
|
3750
|
-
* import { MatchMediaStyleSheetBehavior } from "@microsoft/fast-foundation";
|
|
3751
|
-
*
|
|
3752
|
-
* const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
|
|
3753
|
-
* window.matchMedia("(orientation: landscape)")
|
|
3754
|
-
* );
|
|
3755
|
-
*
|
|
3756
|
-
* const styles = css`
|
|
3757
|
-
* :host {
|
|
3758
|
-
* width: 200px;
|
|
3759
|
-
* height: 400px;
|
|
3760
|
-
* }
|
|
3761
|
-
* `
|
|
3762
|
-
* .withBehaviors(landscapeBehavior(css`
|
|
3763
|
-
* :host {
|
|
3764
|
-
* width: 400px;
|
|
3765
|
-
* height: 200px;
|
|
3766
|
-
* }
|
|
3767
|
-
* `))
|
|
3768
|
-
* ```
|
|
3769
|
-
*/
|
|
3770
|
-
static with(query) {
|
|
3771
|
-
return styles => {
|
|
3772
|
-
return new MatchMediaStyleSheetBehavior(query, styles);
|
|
3773
|
-
};
|
|
3774
|
-
}
|
|
3775
|
-
/**
|
|
3776
|
-
* Constructs a match-media listener for a provided element.
|
|
3777
|
-
* @param source - the element for which to attach or detach styles.
|
|
3778
|
-
*/
|
|
3779
|
-
constructListener(controller) {
|
|
3780
|
-
let attached = false;
|
|
3781
|
-
const styles = this.styles;
|
|
3782
|
-
return function listener() {
|
|
3783
|
-
const {
|
|
3784
|
-
matches
|
|
3785
|
-
} = this;
|
|
3786
|
-
if (matches && !attached) {
|
|
3787
|
-
controller.addStyles(styles);
|
|
3788
|
-
attached = matches;
|
|
3789
|
-
} else if (!matches && attached) {
|
|
3790
|
-
controller.removeStyles(styles);
|
|
3791
|
-
attached = matches;
|
|
3792
|
-
}
|
|
3793
|
-
};
|
|
3794
|
-
}
|
|
3795
|
-
/**
|
|
3796
|
-
* Unbinds the behavior from the element.
|
|
3797
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
3798
|
-
* @internal
|
|
3799
|
-
*/
|
|
3800
|
-
removedCallback(controller) {
|
|
3801
|
-
controller.removeStyles(this.styles);
|
|
3802
|
-
}
|
|
3803
|
-
}
|
|
3804
|
-
/**
|
|
3805
|
-
* This can be used to construct a behavior to apply a forced-colors only stylesheet.
|
|
3806
|
-
* @public
|
|
3807
|
-
*/
|
|
3808
|
-
const forcedColorsStylesheetBehavior = MatchMediaStyleSheetBehavior.with(window.matchMedia("(forced-colors)"));
|
|
3809
|
-
/**
|
|
3810
|
-
* This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
|
|
3811
|
-
* @public
|
|
3812
|
-
*/
|
|
3813
|
-
MatchMediaStyleSheetBehavior.with(window.matchMedia("(prefers-color-scheme: dark)"));
|
|
3814
|
-
/**
|
|
3815
|
-
* This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
|
|
3816
|
-
* @public
|
|
3817
|
-
*/
|
|
3818
|
-
MatchMediaStyleSheetBehavior.with(window.matchMedia("(prefers-color-scheme: light)"));
|
|
3819
|
-
|
|
3820
|
-
/**
|
|
3821
|
-
* A CSS fragment to set `display: none;` when the host is hidden using the [hidden] attribute.
|
|
3822
|
-
* @public
|
|
3823
|
-
*/
|
|
3824
|
-
const hidden = `:host([hidden]){display:none}`;
|
|
3825
|
-
/**
|
|
3826
|
-
* Applies a CSS display property.
|
|
3827
|
-
* Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
|
|
3828
|
-
* @param display - The CSS display property value
|
|
3829
|
-
* @public
|
|
3830
|
-
*/
|
|
3831
|
-
function display(displayValue) {
|
|
3832
|
-
return `${hidden}:host{display:${displayValue}}`;
|
|
3833
|
-
}
|
|
3834
|
-
|
|
3835
3738
|
const styles$r = css`
|
|
3836
3739
|
${display("flex")}
|
|
3837
3740
|
|
|
@@ -5969,32 +5872,99 @@ const definition$k = CounterBadge.compose({
|
|
|
5969
5872
|
});
|
|
5970
5873
|
|
|
5971
5874
|
/*!
|
|
5972
|
-
* tabbable
|
|
5875
|
+
* tabbable 6.2.0
|
|
5973
5876
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5974
5877
|
*/
|
|
5975
|
-
|
|
5878
|
+
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
5879
|
+
// `:not([inert], [inert] *)` (Feb 2023)
|
|
5880
|
+
// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
|
|
5881
|
+
// the entire query to fail, resulting in no nodes found, which will break a lot
|
|
5882
|
+
// of things... so we have to rely on JS to identify nodes inside an inert container
|
|
5883
|
+
var candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable="false"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];
|
|
5976
5884
|
var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
|
|
5977
|
-
var
|
|
5885
|
+
var NoElement = typeof Element === 'undefined';
|
|
5886
|
+
var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
5887
|
+
var getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {
|
|
5888
|
+
var _element$getRootNode;
|
|
5889
|
+
return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);
|
|
5890
|
+
} : function (element) {
|
|
5891
|
+
return element === null || element === void 0 ? void 0 : element.ownerDocument;
|
|
5892
|
+
};
|
|
5893
|
+
|
|
5894
|
+
/**
|
|
5895
|
+
* Determines if a node is inert or in an inert ancestor.
|
|
5896
|
+
* @param {Element} [node]
|
|
5897
|
+
* @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
|
|
5898
|
+
* see if any of them are inert. If false, only `node` itself is considered.
|
|
5899
|
+
* @returns {boolean} True if inert itself or by way of being in an inert ancestor.
|
|
5900
|
+
* False if `node` is falsy.
|
|
5901
|
+
*/
|
|
5902
|
+
var isInert = function isInert(node, lookUp) {
|
|
5903
|
+
var _node$getAttribute;
|
|
5904
|
+
if (lookUp === void 0) {
|
|
5905
|
+
lookUp = true;
|
|
5906
|
+
}
|
|
5907
|
+
// CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`
|
|
5908
|
+
// JS API property; we have to check the attribute, which can either be empty or 'true';
|
|
5909
|
+
// if it's `null` (not specified) or 'false', it's an active element
|
|
5910
|
+
var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');
|
|
5911
|
+
var inert = inertAtt === '' || inertAtt === 'true';
|
|
5912
|
+
|
|
5913
|
+
// NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`
|
|
5914
|
+
// if it weren't for `matches()` not being a function on shadow roots; the following
|
|
5915
|
+
// code works for any kind of node
|
|
5916
|
+
// CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`
|
|
5917
|
+
// so it likely would not support `:is([inert] *)` either...
|
|
5918
|
+
var result = inert || lookUp && node && isInert(node.parentNode); // recursive
|
|
5919
|
+
|
|
5920
|
+
return result;
|
|
5921
|
+
};
|
|
5922
|
+
|
|
5923
|
+
/**
|
|
5924
|
+
* Determines if a node's content is editable.
|
|
5925
|
+
* @param {Element} [node]
|
|
5926
|
+
* @returns True if it's content-editable; false if it's not or `node` is falsy.
|
|
5927
|
+
*/
|
|
5978
5928
|
var isContentEditable = function isContentEditable(node) {
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5929
|
+
var _node$getAttribute2;
|
|
5930
|
+
// CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have
|
|
5931
|
+
// to use the attribute directly to check for this, which can either be empty or 'true';
|
|
5932
|
+
// if it's `null` (not specified) or 'false', it's a non-editable element
|
|
5933
|
+
var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');
|
|
5934
|
+
return attValue === '' || attValue === 'true';
|
|
5935
|
+
};
|
|
5936
|
+
|
|
5937
|
+
/**
|
|
5938
|
+
* @private
|
|
5939
|
+
* Determines if the node has an explicitly specified `tabindex` attribute.
|
|
5940
|
+
* @param {HTMLElement} node
|
|
5941
|
+
* @returns {boolean} True if so; false if not.
|
|
5942
|
+
*/
|
|
5943
|
+
var hasTabIndex = function hasTabIndex(node) {
|
|
5944
|
+
return !isNaN(parseInt(node.getAttribute('tabindex'), 10));
|
|
5945
|
+
};
|
|
5946
|
+
|
|
5947
|
+
/**
|
|
5948
|
+
* Determine the tab index of a given node.
|
|
5949
|
+
* @param {HTMLElement} node
|
|
5950
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
|
5951
|
+
* @throws {Error} If `node` is falsy.
|
|
5952
|
+
*/
|
|
5953
|
+
var getTabIndex = function getTabIndex(node) {
|
|
5954
|
+
if (!node) {
|
|
5955
|
+
throw new Error('No node provided');
|
|
5956
|
+
}
|
|
5957
|
+
if (node.tabIndex < 0) {
|
|
5958
|
+
// in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
|
|
5959
|
+
// `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
|
|
5960
|
+
// yet they are still part of the regular tab order; in FF, they get a default
|
|
5961
|
+
// `tabIndex` of 0; since Chrome still puts those elements in the regular tab
|
|
5962
|
+
// order, consider their tab index to be 0.
|
|
5963
|
+
// Also browsers do not return `tabIndex` correctly for contentEditable nodes;
|
|
5964
|
+
// so if they don't have a tabindex attribute specifically set, assume it's 0.
|
|
5965
|
+
if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
|
|
5966
|
+
return 0;
|
|
5967
|
+
}
|
|
5998
5968
|
}
|
|
5999
5969
|
return node.tabIndex;
|
|
6000
5970
|
};
|
|
@@ -6021,7 +5991,7 @@ var isTabbableRadio = function isTabbableRadio(node) {
|
|
|
6021
5991
|
if (!node.name) {
|
|
6022
5992
|
return true;
|
|
6023
5993
|
}
|
|
6024
|
-
var radioScope = node.form || node
|
|
5994
|
+
var radioScope = node.form || getRootNode(node);
|
|
6025
5995
|
var queryRadios = function queryRadios(name) {
|
|
6026
5996
|
return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
|
|
6027
5997
|
};
|
|
@@ -6046,7 +6016,68 @@ var isRadio = function isRadio(node) {
|
|
|
6046
6016
|
var isNonTabbableRadio = function isNonTabbableRadio(node) {
|
|
6047
6017
|
return isRadio(node) && !isTabbableRadio(node);
|
|
6048
6018
|
};
|
|
6049
|
-
|
|
6019
|
+
|
|
6020
|
+
// determines if a node is ultimately attached to the window's document
|
|
6021
|
+
var isNodeAttached = function isNodeAttached(node) {
|
|
6022
|
+
var _nodeRoot;
|
|
6023
|
+
// The root node is the shadow root if the node is in a shadow DOM; some document otherwise
|
|
6024
|
+
// (but NOT _the_ document; see second 'If' comment below for more).
|
|
6025
|
+
// If rootNode is shadow root, it'll have a host, which is the element to which the shadow
|
|
6026
|
+
// is attached, and the one we need to check if it's in the document or not (because the
|
|
6027
|
+
// shadow, and all nodes it contains, is never considered in the document since shadows
|
|
6028
|
+
// behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
|
|
6029
|
+
// is hidden, or is not in the document itself but is detached, it will affect the shadow's
|
|
6030
|
+
// visibility, including all the nodes it contains). The host could be any normal node,
|
|
6031
|
+
// or a custom element (i.e. web component). Either way, that's the one that is considered
|
|
6032
|
+
// part of the document, not the shadow root, nor any of its children (i.e. the node being
|
|
6033
|
+
// tested).
|
|
6034
|
+
// To further complicate things, we have to look all the way up until we find a shadow HOST
|
|
6035
|
+
// that is attached (or find none) because the node might be in nested shadows...
|
|
6036
|
+
// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
|
|
6037
|
+
// document (per the docs) and while it's a Document-type object, that document does not
|
|
6038
|
+
// appear to be the same as the node's `ownerDocument` for some reason, so it's safer
|
|
6039
|
+
// to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
|
|
6040
|
+
// using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
|
|
6041
|
+
// node is actually detached.
|
|
6042
|
+
// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
|
|
6043
|
+
// if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
|
|
6044
|
+
// from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
|
|
6045
|
+
// `ownerDocument` will be `null`, hence the optional chaining on it.
|
|
6046
|
+
var nodeRoot = node && getRootNode(node);
|
|
6047
|
+
var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;
|
|
6048
|
+
|
|
6049
|
+
// in some cases, a detached node will return itself as the root instead of a document or
|
|
6050
|
+
// shadow root object, in which case, we shouldn't try to look further up the host chain
|
|
6051
|
+
var attached = false;
|
|
6052
|
+
if (nodeRoot && nodeRoot !== node) {
|
|
6053
|
+
var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;
|
|
6054
|
+
attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));
|
|
6055
|
+
while (!attached && nodeRootHost) {
|
|
6056
|
+
var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;
|
|
6057
|
+
// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
|
|
6058
|
+
// which means we need to get the host's host and check if that parent host is contained
|
|
6059
|
+
// in (i.e. attached to) the document
|
|
6060
|
+
nodeRoot = getRootNode(nodeRootHost);
|
|
6061
|
+
nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;
|
|
6062
|
+
attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));
|
|
6063
|
+
}
|
|
6064
|
+
}
|
|
6065
|
+
return attached;
|
|
6066
|
+
};
|
|
6067
|
+
var isZeroArea = function isZeroArea(node) {
|
|
6068
|
+
var _node$getBoundingClie = node.getBoundingClientRect(),
|
|
6069
|
+
width = _node$getBoundingClie.width,
|
|
6070
|
+
height = _node$getBoundingClie.height;
|
|
6071
|
+
return width === 0 && height === 0;
|
|
6072
|
+
};
|
|
6073
|
+
var isHidden = function isHidden(node, _ref) {
|
|
6074
|
+
var displayCheck = _ref.displayCheck,
|
|
6075
|
+
getShadowRoot = _ref.getShadowRoot;
|
|
6076
|
+
// NOTE: visibility will be `undefined` if node is detached from the document
|
|
6077
|
+
// (see notes about this further down), which means we will consider it visible
|
|
6078
|
+
// (this is legacy behavior from a very long way back)
|
|
6079
|
+
// NOTE: we check this regardless of `displayCheck="none"` because this is a
|
|
6080
|
+
// _visibility_ check, not a _display_ check
|
|
6050
6081
|
if (getComputedStyle(node).visibility === 'hidden') {
|
|
6051
6082
|
return true;
|
|
6052
6083
|
}
|
|
@@ -6055,30 +6086,128 @@ var isHidden = function isHidden(node, displayCheck) {
|
|
|
6055
6086
|
if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
|
|
6056
6087
|
return true;
|
|
6057
6088
|
}
|
|
6058
|
-
if (!displayCheck || displayCheck === 'full') {
|
|
6059
|
-
|
|
6060
|
-
if
|
|
6089
|
+
if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
|
|
6090
|
+
if (typeof getShadowRoot === 'function') {
|
|
6091
|
+
// figure out if we should consider the node to be in an undisclosed shadow and use the
|
|
6092
|
+
// 'non-zero-area' fallback
|
|
6093
|
+
var originalNode = node;
|
|
6094
|
+
while (node) {
|
|
6095
|
+
var parentElement = node.parentElement;
|
|
6096
|
+
var rootNode = getRootNode(node);
|
|
6097
|
+
if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
|
|
6098
|
+
) {
|
|
6099
|
+
// node has an undisclosed shadow which means we can only treat it as a black box, so we
|
|
6100
|
+
// fall back to a non-zero-area test
|
|
6101
|
+
return isZeroArea(node);
|
|
6102
|
+
} else if (node.assignedSlot) {
|
|
6103
|
+
// iterate up slot
|
|
6104
|
+
node = node.assignedSlot;
|
|
6105
|
+
} else if (!parentElement && rootNode !== node.ownerDocument) {
|
|
6106
|
+
// cross shadow boundary
|
|
6107
|
+
node = rootNode.host;
|
|
6108
|
+
} else {
|
|
6109
|
+
// iterate up normal dom
|
|
6110
|
+
node = parentElement;
|
|
6111
|
+
}
|
|
6112
|
+
}
|
|
6113
|
+
node = originalNode;
|
|
6114
|
+
}
|
|
6115
|
+
// else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
|
|
6116
|
+
// (i.e. it does not also presume that all nodes might have undisclosed shadows); or
|
|
6117
|
+
// it might be a falsy value, which means shadow DOM support is disabled
|
|
6118
|
+
|
|
6119
|
+
// Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
|
|
6120
|
+
// now we can just test to see if it would normally be visible or not, provided it's
|
|
6121
|
+
// attached to the main document.
|
|
6122
|
+
// NOTE: We must consider case where node is inside a shadow DOM and given directly to
|
|
6123
|
+
// `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
|
|
6124
|
+
|
|
6125
|
+
if (isNodeAttached(node)) {
|
|
6126
|
+
// this works wherever the node is: if there's at least one client rect, it's
|
|
6127
|
+
// somehow displayed; it also covers the CSS 'display: contents' case where the
|
|
6128
|
+
// node itself is hidden in place of its contents; and there's no need to search
|
|
6129
|
+
// up the hierarchy either
|
|
6130
|
+
return !node.getClientRects().length;
|
|
6131
|
+
}
|
|
6132
|
+
|
|
6133
|
+
// Else, the node isn't attached to the document, which means the `getClientRects()`
|
|
6134
|
+
// API will __always__ return zero rects (this can happen, for example, if React
|
|
6135
|
+
// is used to render nodes onto a detached tree, as confirmed in this thread:
|
|
6136
|
+
// https://github.com/facebook/react/issues/9117#issuecomment-284228870)
|
|
6137
|
+
//
|
|
6138
|
+
// It also means that even window.getComputedStyle(node).display will return `undefined`
|
|
6139
|
+
// because styles are only computed for nodes that are in the document.
|
|
6140
|
+
//
|
|
6141
|
+
// NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
|
|
6142
|
+
// somehow. Though it was never stated officially, anyone who has ever used tabbable
|
|
6143
|
+
// APIs on nodes in detached containers has actually implicitly used tabbable in what
|
|
6144
|
+
// was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
|
|
6145
|
+
// considering __everything__ to be visible because of the innability to determine styles.
|
|
6146
|
+
//
|
|
6147
|
+
// v6.0.0: As of this major release, the default 'full' option __no longer treats detached
|
|
6148
|
+
// nodes as visible with the 'none' fallback.__
|
|
6149
|
+
if (displayCheck !== 'legacy-full') {
|
|
6150
|
+
return true; // hidden
|
|
6151
|
+
}
|
|
6152
|
+
// else, fallback to 'none' mode and consider the node visible
|
|
6153
|
+
} else if (displayCheck === 'non-zero-area') {
|
|
6154
|
+
// NOTE: Even though this tests that the node's client rect is non-zero to determine
|
|
6155
|
+
// whether it's displayed, and that a detached node will __always__ have a zero-area
|
|
6156
|
+
// client rect, we don't special-case for whether the node is attached or not. In
|
|
6157
|
+
// this mode, we do want to consider nodes that have a zero area to be hidden at all
|
|
6158
|
+
// times, and that includes attached or not.
|
|
6159
|
+
return isZeroArea(node);
|
|
6160
|
+
}
|
|
6161
|
+
|
|
6162
|
+
// visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
|
|
6163
|
+
// it's visible
|
|
6164
|
+
return false;
|
|
6165
|
+
};
|
|
6166
|
+
|
|
6167
|
+
// form fields (nested) inside a disabled fieldset are not focusable/tabbable
|
|
6168
|
+
// unless they are in the _first_ <legend> element of the top-most disabled
|
|
6169
|
+
// fieldset
|
|
6170
|
+
var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
|
|
6171
|
+
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
|
|
6172
|
+
var parentNode = node.parentElement;
|
|
6173
|
+
// check if `node` is contained in a disabled <fieldset>
|
|
6174
|
+
while (parentNode) {
|
|
6175
|
+
if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
|
|
6176
|
+
// look for the first <legend> among the children of the disabled <fieldset>
|
|
6177
|
+
for (var i = 0; i < parentNode.children.length; i++) {
|
|
6178
|
+
var child = parentNode.children.item(i);
|
|
6179
|
+
// when the first <legend> (in document order) is found
|
|
6180
|
+
if (child.tagName === 'LEGEND') {
|
|
6181
|
+
// if its parent <fieldset> is not nested in another disabled <fieldset>,
|
|
6182
|
+
// return whether `node` is a descendant of its first <legend>
|
|
6183
|
+
return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
|
|
6184
|
+
}
|
|
6185
|
+
}
|
|
6186
|
+
// the disabled <fieldset> containing `node` has no <legend>
|
|
6061
6187
|
return true;
|
|
6062
6188
|
}
|
|
6063
|
-
|
|
6189
|
+
parentNode = parentNode.parentElement;
|
|
6064
6190
|
}
|
|
6065
|
-
} else if (displayCheck === 'non-zero-area') {
|
|
6066
|
-
var _node$getBoundingClie = node.getBoundingClientRect(),
|
|
6067
|
-
width = _node$getBoundingClie.width,
|
|
6068
|
-
height = _node$getBoundingClie.height;
|
|
6069
|
-
return width === 0 && height === 0;
|
|
6070
6191
|
}
|
|
6192
|
+
|
|
6193
|
+
// else, node's tabbable/focusable state should not be affected by a fieldset's
|
|
6194
|
+
// enabled/disabled state
|
|
6071
6195
|
return false;
|
|
6072
6196
|
};
|
|
6073
6197
|
var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
|
|
6074
|
-
if (node.disabled ||
|
|
6075
|
-
|
|
6198
|
+
if (node.disabled ||
|
|
6199
|
+
// we must do an inert look up to filter out any elements inside an inert ancestor
|
|
6200
|
+
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
6201
|
+
// note related to `candidateSelectors`)
|
|
6202
|
+
isInert(node) || isHiddenInput(node) || isHidden(node, options) ||
|
|
6203
|
+
// For a details element with a summary, the summary element gets the focus
|
|
6204
|
+
isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
|
|
6076
6205
|
return false;
|
|
6077
6206
|
}
|
|
6078
6207
|
return true;
|
|
6079
6208
|
};
|
|
6080
6209
|
var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
|
|
6081
|
-
if (
|
|
6210
|
+
if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
|
|
6082
6211
|
return false;
|
|
6083
6212
|
}
|
|
6084
6213
|
return true;
|
|
@@ -6338,16 +6467,171 @@ const template$j = html`<template ?open="${x => x.open}"><dialog role="${x => x.
|
|
|
6338
6467
|
filter: elements()
|
|
6339
6468
|
})} name="title-action"></slot>${when(x => x.modalType === DialogModalType.nonModal && x.titleAction.length === 0 && !x.noTitleAction, html`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${x => x.dismiss()} ${ref("defaultTitleAction")}>${dismissed16Regular}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`;
|
|
6340
6469
|
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6470
|
+
const styles$i = css`
|
|
6471
|
+
${display("flex")}
|
|
6472
|
+
|
|
6473
|
+
:host{--dialog-backdrop:${colorBackgroundOverlay}}dialog{background:${colorNeutralBackground1};border:${strokeWidthThin} solid ${colorTransparentStroke};z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:${borderRadiusXLarge};box-shadow:${shadow64};max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:${spacingVerticalXXL} ${spacingHorizontalXXL}}.title{font-size:${fontSizeBase500};line-height:${lineHeightBase500};font-weight:${fontWeightSemibold};font-family:${fontFamilyBase};color:${colorNeutralForeground1};margin-bottom:${spacingVerticalS};display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:${colorNeutralForeground1};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${fontWeightRegular};font-family:${fontFamilyBase};overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:${spacingVerticalS};padding-top:${spacingVerticalXXL};justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:${spacingHorizontalS};padding-top:${spacingVerticalS};box-sizing:border-box}}`;
|
|
6474
|
+
|
|
6475
|
+
const definition$j = Dialog.compose({
|
|
6476
|
+
name: `${FluentDesignSystem.prefix}-dialog`,
|
|
6477
|
+
template: template$j,
|
|
6478
|
+
styles: styles$i
|
|
6479
|
+
});
|
|
6480
|
+
|
|
6481
|
+
const DividerRole = {
|
|
6482
|
+
separator: "separator",
|
|
6483
|
+
presentation: "presentation"
|
|
6484
|
+
};
|
|
6485
|
+
const DividerOrientation = Orientation;
|
|
6486
|
+
const DividerAlignContent = {
|
|
6487
|
+
center: "center",
|
|
6488
|
+
start: "start",
|
|
6489
|
+
end: "end"
|
|
6490
|
+
};
|
|
6491
|
+
const DividerAppearance = {
|
|
6492
|
+
strong: "strong",
|
|
6493
|
+
brand: "brand",
|
|
6494
|
+
subtle: "subtle",
|
|
6495
|
+
default: "default"
|
|
6496
|
+
};
|
|
6497
|
+
|
|
6498
|
+
var __defProp$h = Object.defineProperty;
|
|
6499
|
+
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
6500
|
+
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
6501
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
6502
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6503
|
+
if (kind && result) __defProp$h(target, key, result);
|
|
6504
|
+
return result;
|
|
6505
|
+
};
|
|
6506
|
+
class Divider extends FASTElement {
|
|
6507
|
+
constructor() {
|
|
6508
|
+
super(...arguments);
|
|
6509
|
+
this.role = DividerRole.separator;
|
|
6510
|
+
this.orientation = DividerOrientation.horizontal;
|
|
6511
|
+
}
|
|
6349
6512
|
}
|
|
6350
|
-
|
|
6513
|
+
__decorateClass$h([attr], Divider.prototype, "role", 2);
|
|
6514
|
+
__decorateClass$h([attr], Divider.prototype, "orientation", 2);
|
|
6515
|
+
__decorateClass$h([attr({
|
|
6516
|
+
attribute: "align-content"
|
|
6517
|
+
})], Divider.prototype, "alignContent", 2);
|
|
6518
|
+
__decorateClass$h([attr], Divider.prototype, "appearance", 2);
|
|
6519
|
+
__decorateClass$h([attr({
|
|
6520
|
+
mode: "boolean"
|
|
6521
|
+
})], Divider.prototype, "inset", 2);
|
|
6522
|
+
|
|
6523
|
+
function dividerTemplate() {
|
|
6524
|
+
return html`<template role="${x => x.role}" aria-orientation="${x => x.role !== DividerRole.presentation ? x.orientation : void 0}"><slot></slot></template>`;
|
|
6525
|
+
}
|
|
6526
|
+
const template$i = dividerTemplate();
|
|
6527
|
+
|
|
6528
|
+
const styles$h = css`
|
|
6529
|
+
${display("flex")}
|
|
6530
|
+
|
|
6531
|
+
: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}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
6532
|
+
:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`));
|
|
6533
|
+
|
|
6534
|
+
const definition$i = Divider.compose({
|
|
6535
|
+
name: `${FluentDesignSystem.prefix}-divider`,
|
|
6536
|
+
template: template$i,
|
|
6537
|
+
styles: styles$h
|
|
6538
|
+
});
|
|
6539
|
+
|
|
6540
|
+
var __defProp$g = Object.defineProperty;
|
|
6541
|
+
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
6542
|
+
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
6543
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
6544
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6545
|
+
if (kind && result) __defProp$g(target, key, result);
|
|
6546
|
+
return result;
|
|
6547
|
+
};
|
|
6548
|
+
class Image extends FASTElement {}
|
|
6549
|
+
__decorateClass$g([attr({
|
|
6550
|
+
mode: "boolean"
|
|
6551
|
+
})], Image.prototype, "block", 2);
|
|
6552
|
+
__decorateClass$g([attr({
|
|
6553
|
+
mode: "boolean"
|
|
6554
|
+
})], Image.prototype, "bordered", 2);
|
|
6555
|
+
__decorateClass$g([attr({
|
|
6556
|
+
mode: "boolean"
|
|
6557
|
+
})], Image.prototype, "shadow", 2);
|
|
6558
|
+
__decorateClass$g([attr], Image.prototype, "fit", 2);
|
|
6559
|
+
__decorateClass$g([attr], Image.prototype, "shape", 2);
|
|
6560
|
+
|
|
6561
|
+
const ImageFit = {
|
|
6562
|
+
none: "none",
|
|
6563
|
+
center: "center",
|
|
6564
|
+
contain: "contain",
|
|
6565
|
+
cover: "cover",
|
|
6566
|
+
default: "default"
|
|
6567
|
+
};
|
|
6568
|
+
const ImageShape = {
|
|
6569
|
+
circular: "circular",
|
|
6570
|
+
rounded: "rounded",
|
|
6571
|
+
square: "square"
|
|
6572
|
+
};
|
|
6573
|
+
|
|
6574
|
+
const template$h = html`<slot></slot>`;
|
|
6575
|
+
|
|
6576
|
+
const styles$g = css`
|
|
6577
|
+
: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}}`;
|
|
6578
|
+
|
|
6579
|
+
const definition$h = Image.compose({
|
|
6580
|
+
name: `${FluentDesignSystem.prefix}-image`,
|
|
6581
|
+
template: template$h,
|
|
6582
|
+
styles: styles$g
|
|
6583
|
+
});
|
|
6584
|
+
|
|
6585
|
+
var __defProp$f = Object.defineProperty;
|
|
6586
|
+
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
6587
|
+
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
6588
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
6589
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6590
|
+
if (kind && result) __defProp$f(target, key, result);
|
|
6591
|
+
return result;
|
|
6592
|
+
};
|
|
6593
|
+
class Label extends FASTElement {
|
|
6594
|
+
constructor() {
|
|
6595
|
+
super(...arguments);
|
|
6596
|
+
this.disabled = false;
|
|
6597
|
+
this.required = false;
|
|
6598
|
+
}
|
|
6599
|
+
}
|
|
6600
|
+
__decorateClass$f([attr], Label.prototype, "size", 2);
|
|
6601
|
+
__decorateClass$f([attr], Label.prototype, "weight", 2);
|
|
6602
|
+
__decorateClass$f([attr({
|
|
6603
|
+
mode: "boolean"
|
|
6604
|
+
})], Label.prototype, "disabled", 2);
|
|
6605
|
+
__decorateClass$f([attr({
|
|
6606
|
+
mode: "boolean"
|
|
6607
|
+
})], Label.prototype, "required", 2);
|
|
6608
|
+
|
|
6609
|
+
const styles$f = css`
|
|
6610
|
+
${display("flex")}
|
|
6611
|
+
|
|
6612
|
+
: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}}`;
|
|
6613
|
+
|
|
6614
|
+
function labelTemplate() {
|
|
6615
|
+
return html`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${x => !x.required}">*</span>`;
|
|
6616
|
+
}
|
|
6617
|
+
const template$g = labelTemplate();
|
|
6618
|
+
|
|
6619
|
+
const definition$g = Label.compose({
|
|
6620
|
+
name: `${FluentDesignSystem.prefix}-label`,
|
|
6621
|
+
template: template$g,
|
|
6622
|
+
styles: styles$f
|
|
6623
|
+
});
|
|
6624
|
+
|
|
6625
|
+
function t(t) {
|
|
6626
|
+
return t.split("-")[1];
|
|
6627
|
+
}
|
|
6628
|
+
function e(t) {
|
|
6629
|
+
return "y" === t ? "height" : "width";
|
|
6630
|
+
}
|
|
6631
|
+
function n$1(t) {
|
|
6632
|
+
return t.split("-")[0];
|
|
6633
|
+
}
|
|
6634
|
+
function o$1(t) {
|
|
6351
6635
|
return ["top", "bottom"].includes(n$1(t)) ? "x" : "y";
|
|
6352
6636
|
}
|
|
6353
6637
|
function r$1(r, i, a) {
|
|
@@ -7253,161 +7537,6 @@ const z = (t, n, o) => {
|
|
|
7253
7537
|
});
|
|
7254
7538
|
};
|
|
7255
7539
|
|
|
7256
|
-
const styles$i = css`
|
|
7257
|
-
${display("flex")}
|
|
7258
|
-
|
|
7259
|
-
:host{--dialog-backdrop:${colorBackgroundOverlay}}dialog{background:${colorNeutralBackground1};border:${strokeWidthThin} solid ${colorTransparentStroke};z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:${borderRadiusXLarge};box-shadow:${shadow64};max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:${spacingVerticalXXL} ${spacingHorizontalXXL}}.title{font-size:${fontSizeBase500};line-height:${lineHeightBase500};font-weight:${fontWeightSemibold};font-family:${fontFamilyBase};color:${colorNeutralForeground1};margin-bottom:${spacingVerticalS};display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:${colorNeutralForeground1};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${fontWeightRegular};font-family:${fontFamilyBase};overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:${spacingVerticalS};padding-top:${spacingVerticalXXL};justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:${spacingHorizontalS};padding-top:${spacingVerticalS};box-sizing:border-box}}`;
|
|
7260
|
-
|
|
7261
|
-
const definition$j = Dialog.compose({
|
|
7262
|
-
name: `${FluentDesignSystem.prefix}-dialog`,
|
|
7263
|
-
template: template$j,
|
|
7264
|
-
styles: styles$i
|
|
7265
|
-
});
|
|
7266
|
-
|
|
7267
|
-
const DividerRole = {
|
|
7268
|
-
separator: "separator",
|
|
7269
|
-
presentation: "presentation"
|
|
7270
|
-
};
|
|
7271
|
-
const DividerOrientation = Orientation;
|
|
7272
|
-
const DividerAlignContent = {
|
|
7273
|
-
center: "center",
|
|
7274
|
-
start: "start",
|
|
7275
|
-
end: "end"
|
|
7276
|
-
};
|
|
7277
|
-
const DividerAppearance = {
|
|
7278
|
-
strong: "strong",
|
|
7279
|
-
brand: "brand",
|
|
7280
|
-
subtle: "subtle",
|
|
7281
|
-
default: "default"
|
|
7282
|
-
};
|
|
7283
|
-
|
|
7284
|
-
var __defProp$h = Object.defineProperty;
|
|
7285
|
-
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
7286
|
-
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
7287
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
7288
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7289
|
-
if (kind && result) __defProp$h(target, key, result);
|
|
7290
|
-
return result;
|
|
7291
|
-
};
|
|
7292
|
-
class Divider extends FASTElement {
|
|
7293
|
-
constructor() {
|
|
7294
|
-
super(...arguments);
|
|
7295
|
-
this.role = DividerRole.separator;
|
|
7296
|
-
this.orientation = DividerOrientation.horizontal;
|
|
7297
|
-
}
|
|
7298
|
-
}
|
|
7299
|
-
__decorateClass$h([attr], Divider.prototype, "role", 2);
|
|
7300
|
-
__decorateClass$h([attr], Divider.prototype, "orientation", 2);
|
|
7301
|
-
__decorateClass$h([attr({
|
|
7302
|
-
attribute: "align-content"
|
|
7303
|
-
})], Divider.prototype, "alignContent", 2);
|
|
7304
|
-
__decorateClass$h([attr], Divider.prototype, "appearance", 2);
|
|
7305
|
-
__decorateClass$h([attr({
|
|
7306
|
-
mode: "boolean"
|
|
7307
|
-
})], Divider.prototype, "inset", 2);
|
|
7308
|
-
|
|
7309
|
-
function dividerTemplate() {
|
|
7310
|
-
return html`<template role="${x => x.role}" aria-orientation="${x => x.role !== DividerRole.presentation ? x.orientation : void 0}"><slot></slot></template>`;
|
|
7311
|
-
}
|
|
7312
|
-
const template$i = dividerTemplate();
|
|
7313
|
-
|
|
7314
|
-
const styles$h = css`
|
|
7315
|
-
${display("flex")}
|
|
7316
|
-
|
|
7317
|
-
: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}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
7318
|
-
:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`));
|
|
7319
|
-
|
|
7320
|
-
const definition$i = Divider.compose({
|
|
7321
|
-
name: `${FluentDesignSystem.prefix}-divider`,
|
|
7322
|
-
template: template$i,
|
|
7323
|
-
styles: styles$h
|
|
7324
|
-
});
|
|
7325
|
-
|
|
7326
|
-
var __defProp$g = Object.defineProperty;
|
|
7327
|
-
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
7328
|
-
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
7329
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
7330
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7331
|
-
if (kind && result) __defProp$g(target, key, result);
|
|
7332
|
-
return result;
|
|
7333
|
-
};
|
|
7334
|
-
class Image extends FASTElement {}
|
|
7335
|
-
__decorateClass$g([attr({
|
|
7336
|
-
mode: "boolean"
|
|
7337
|
-
})], Image.prototype, "block", 2);
|
|
7338
|
-
__decorateClass$g([attr({
|
|
7339
|
-
mode: "boolean"
|
|
7340
|
-
})], Image.prototype, "bordered", 2);
|
|
7341
|
-
__decorateClass$g([attr({
|
|
7342
|
-
mode: "boolean"
|
|
7343
|
-
})], Image.prototype, "shadow", 2);
|
|
7344
|
-
__decorateClass$g([attr], Image.prototype, "fit", 2);
|
|
7345
|
-
__decorateClass$g([attr], Image.prototype, "shape", 2);
|
|
7346
|
-
|
|
7347
|
-
const ImageFit = {
|
|
7348
|
-
none: "none",
|
|
7349
|
-
center: "center",
|
|
7350
|
-
contain: "contain",
|
|
7351
|
-
cover: "cover",
|
|
7352
|
-
default: "default"
|
|
7353
|
-
};
|
|
7354
|
-
const ImageShape = {
|
|
7355
|
-
circular: "circular",
|
|
7356
|
-
rounded: "rounded",
|
|
7357
|
-
square: "square"
|
|
7358
|
-
};
|
|
7359
|
-
|
|
7360
|
-
const template$h = html`<slot></slot>`;
|
|
7361
|
-
|
|
7362
|
-
const styles$g = css`
|
|
7363
|
-
: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}}`;
|
|
7364
|
-
|
|
7365
|
-
const definition$h = Image.compose({
|
|
7366
|
-
name: `${FluentDesignSystem.prefix}-image`,
|
|
7367
|
-
template: template$h,
|
|
7368
|
-
styles: styles$g
|
|
7369
|
-
});
|
|
7370
|
-
|
|
7371
|
-
var __defProp$f = Object.defineProperty;
|
|
7372
|
-
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
7373
|
-
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
7374
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
7375
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7376
|
-
if (kind && result) __defProp$f(target, key, result);
|
|
7377
|
-
return result;
|
|
7378
|
-
};
|
|
7379
|
-
class Label extends FASTElement {
|
|
7380
|
-
constructor() {
|
|
7381
|
-
super(...arguments);
|
|
7382
|
-
this.disabled = false;
|
|
7383
|
-
this.required = false;
|
|
7384
|
-
}
|
|
7385
|
-
}
|
|
7386
|
-
__decorateClass$f([attr], Label.prototype, "size", 2);
|
|
7387
|
-
__decorateClass$f([attr], Label.prototype, "weight", 2);
|
|
7388
|
-
__decorateClass$f([attr({
|
|
7389
|
-
mode: "boolean"
|
|
7390
|
-
})], Label.prototype, "disabled", 2);
|
|
7391
|
-
__decorateClass$f([attr({
|
|
7392
|
-
mode: "boolean"
|
|
7393
|
-
})], Label.prototype, "required", 2);
|
|
7394
|
-
|
|
7395
|
-
const styles$f = css`
|
|
7396
|
-
${display("flex")}
|
|
7397
|
-
|
|
7398
|
-
: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}}`;
|
|
7399
|
-
|
|
7400
|
-
function labelTemplate() {
|
|
7401
|
-
return html`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${x => !x.required}">*</span>`;
|
|
7402
|
-
}
|
|
7403
|
-
const template$g = labelTemplate();
|
|
7404
|
-
|
|
7405
|
-
const definition$g = Label.compose({
|
|
7406
|
-
name: `${FluentDesignSystem.prefix}-label`,
|
|
7407
|
-
template: template$g,
|
|
7408
|
-
styles: styles$f
|
|
7409
|
-
});
|
|
7410
|
-
|
|
7411
7540
|
var __defProp$e = Object.defineProperty;
|
|
7412
7541
|
var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
|
|
7413
7542
|
var __decorateClass$e = (decorators, target, key, kind) => {
|
|
@@ -9938,4 +10067,4 @@ const setThemeFor = (element, theme) => {
|
|
|
9938
10067
|
}
|
|
9939
10068
|
};
|
|
9940
10069
|
|
|
9941
|
-
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, AnchorButton, AnchorButtonAppearance, definition$q as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonSize, template$q as AnchorButtonTemplate, AnchorTarget, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$p as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$n as AvatarStyles, template$p as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$o as BadgeDefinition, BadgeShape, BadgeSize, styles$m as BadgeStyles, template$o as BadgeTemplate, BaseTabs, Button, ButtonAppearance, definition$n as ButtonDefinition, ButtonShape, ButtonSize, styles$p as ButtonStyles, template$n as ButtonTemplate, ButtonType, Checkbox, definition$m as CheckboxDefinition, CheckboxLabelPosition, CheckboxShape, CheckboxSize, styles$l as CheckboxStyles, template$m as CheckboxTemplate, CompoundButton, CompoundButtonAppearance, definition$l as CompoundButtonDefinition, CompoundButtonShape, CompoundButtonSize, styles$k as CompoundButtonStyles, template$l as CompoundButtonTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$k as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$j as CounterBadgeStyles, template$k as CounterBadgeTemplate, DelegatesARIAButton, DelegatesARIALink, DelegatesARIATextbox, Dialog, definition$j as DialogDefinition, styles$i as DialogStyles, template$j as DialogTemplate, Divider, DividerAlignContent, DividerAppearance, definition$i as DividerDefinition, DividerOrientation, DividerRole, styles$h as DividerStyles, template$i as DividerTemplate, FluentDesignSystem, Image, definition$h as ImageDefinition, ImageFit, ImageShape, styles$g as ImageStyles, template$h as ImageTemplate, Label, definition$g as LabelDefinition, styles$f as LabelStyles, template$g as LabelTemplate, Menu, MenuButton, MenuButtonAppearance, definition$e as MenuButtonDefinition, MenuButtonShape, MenuButtonSize, styles$p as MenuButtonStyles, template$e as MenuButtonTemplate, definition$f as MenuDefinition, MenuItem, definition$d as MenuItemDefinition, MenuItemRole, styles$d as MenuItemStyles, template$d as MenuItemTemplate, MenuList, definition$c as MenuListDefinition, styles$c as MenuListStyles, template$c as MenuListTemplate, styles$e as MenuStyles, template$f as MenuTemplate, ProgressBar, definition$b as ProgressBarDefinition, ProgressBarShape, styles$b as ProgressBarStyles, template$b as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Radio, definition$a as RadioDefinition, RadioGroup, definition$9 as RadioGroupDefinition, styles$9 as RadioGroupStyles, template$9 as RadioGroupTemplate, styles$a as RadioStyles, template$a as RadioTemplate, Slider, definition$8 as SliderDefinition, SliderMode, SliderOrientation, SliderSize, styles$8 as SliderStyles, template$8 as SliderTemplate, Spinner, SpinnerAppearance, definition$7 as SpinnerDefinition, SpinnerSize, styles$7 as SpinnerStyles, template$7 as SpinnerTemplate, Switch, definition$6 as SwitchDefinition, SwitchLabelPosition, styles$6 as SwitchStyles, template$6 as SwitchTemplate, Tab, definition$4 as TabDefinition, TabPanel, definition$3 as TabPanelDefinition, styles$3 as TabPanelStyles, template$3 as TabPanelTemplate, styles$4 as TabStyles, template$4 as TabTemplate, Tabs, TabsAppearance, definition$5 as TabsDefinition, TabsOrientation, TabsSize, styles$5 as TabsStyles, template$5 as TabsTemplate, Text, TextAlign, definition$2 as TextDefinition, TextFieldType, TextFont, TextInput, TextInputAppearance, TextInputControlSize, definition$1 as TextInputDefinition, styles$1 as TextInputStyles, template$1 as TextInputTemplate, TextSize, styles$2 as TextStyles, template$2 as TextTemplate, TextWeight, ToggleButton, ToggleButtonAppearance, definition as ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, styles as ToggleButtonStyles, template as ToggleButtonTemplate, definition$s as accordionDefinition, definition$r as accordionItemDefinition, styles$q as accordionItemStyles, template$r as accordionItemTemplate, styles$r as accordionStyles, template$s 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, 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, roleForMenuItem, setTheme, setThemeFor, 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 };
|
|
10070
|
+
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, AnchorButton, AnchorButtonAppearance, definition$q as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonSize, template$q as AnchorButtonTemplate, AnchorTarget, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$p as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$n as AvatarStyles, template$p as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$o as BadgeDefinition, BadgeShape, BadgeSize, styles$m as BadgeStyles, template$o as BadgeTemplate, BaseTabs, Button, ButtonAppearance, definition$n as ButtonDefinition, ButtonShape, ButtonSize, styles$p as ButtonStyles, template$n as ButtonTemplate, ButtonType, Checkbox, definition$m as CheckboxDefinition, CheckboxLabelPosition, CheckboxShape, CheckboxSize, styles$l as CheckboxStyles, template$m as CheckboxTemplate, CompoundButton, CompoundButtonAppearance, definition$l as CompoundButtonDefinition, CompoundButtonShape, CompoundButtonSize, styles$k as CompoundButtonStyles, template$l as CompoundButtonTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$k as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$j as CounterBadgeStyles, template$k as CounterBadgeTemplate, DelegatesARIAButton, DelegatesARIALink, DelegatesARIATextbox, Dialog, definition$j as DialogDefinition, styles$i as DialogStyles, template$j as DialogTemplate, Divider, DividerAlignContent, DividerAppearance, definition$i as DividerDefinition, DividerOrientation, DividerRole, styles$h as DividerStyles, template$i as DividerTemplate, FluentDesignSystem, Image, definition$h as ImageDefinition, ImageFit, ImageShape, styles$g as ImageStyles, template$h as ImageTemplate, Label, definition$g as LabelDefinition, styles$f as LabelStyles, template$g as LabelTemplate, MatchMediaBehavior, MatchMediaStyleSheetBehavior, Menu, MenuButton, MenuButtonAppearance, definition$e as MenuButtonDefinition, MenuButtonShape, MenuButtonSize, styles$p as MenuButtonStyles, template$e as MenuButtonTemplate, definition$f as MenuDefinition, MenuItem, definition$d as MenuItemDefinition, MenuItemRole, styles$d as MenuItemStyles, template$d as MenuItemTemplate, MenuList, definition$c as MenuListDefinition, styles$c as MenuListStyles, template$c as MenuListTemplate, styles$e as MenuStyles, template$f as MenuTemplate, ProgressBar, definition$b as ProgressBarDefinition, ProgressBarShape, styles$b as ProgressBarStyles, template$b as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Radio, definition$a as RadioDefinition, RadioGroup, definition$9 as RadioGroupDefinition, styles$9 as RadioGroupStyles, template$9 as RadioGroupTemplate, styles$a as RadioStyles, template$a as RadioTemplate, Slider, definition$8 as SliderDefinition, SliderMode, SliderOrientation, SliderSize, styles$8 as SliderStyles, template$8 as SliderTemplate, Spinner, SpinnerAppearance, definition$7 as SpinnerDefinition, SpinnerSize, styles$7 as SpinnerStyles, template$7 as SpinnerTemplate, Switch, definition$6 as SwitchDefinition, SwitchLabelPosition, styles$6 as SwitchStyles, template$6 as SwitchTemplate, Tab, definition$4 as TabDefinition, TabPanel, definition$3 as TabPanelDefinition, styles$3 as TabPanelStyles, template$3 as TabPanelTemplate, styles$4 as TabStyles, template$4 as TabTemplate, Tabs, TabsAppearance, definition$5 as TabsDefinition, TabsOrientation, TabsSize, styles$5 as TabsStyles, template$5 as TabsTemplate, Text, TextAlign, definition$2 as TextDefinition, TextFieldType, TextFont, TextInput, TextInputAppearance, TextInputControlSize, definition$1 as TextInputDefinition, styles$1 as TextInputStyles, template$1 as TextInputTemplate, TextSize, styles$2 as TextStyles, template$2 as TextTemplate, TextWeight, ToggleButton, ToggleButtonAppearance, definition as ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, styles as ToggleButtonStyles, template as ToggleButtonTemplate, definition$s as accordionDefinition, definition$r as accordionItemDefinition, styles$q as accordionItemStyles, template$r as accordionItemTemplate, styles$r as accordionStyles, template$s 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, darkModeStylesheetBehavior, display, durationFast, durationFaster, durationNormal, durationSlow, durationSlower, durationUltraFast, durationUltraSlow, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero1000, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontWeightBold, fontWeightMedium, fontWeightRegular, fontWeightSemibold, forcedColorsStylesheetBehavior, getDirection, hidden, lightModeStylesheetBehavior, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero1000, lineHeightHero700, lineHeightHero800, lineHeightHero900, roleForMenuItem, setTheme, setThemeFor, 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 };
|