@fluentui/web-components 3.0.0-alpha.6 → 3.0.0-alpha.7
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 +28 -1
- package/CHANGELOG.md +13 -2
- package/dist/dts/avatar/avatar.d.ts +97 -0
- package/dist/dts/avatar/avatar.definition.d.ts +9 -0
- package/dist/dts/avatar/avatar.options.d.ts +142 -0
- package/dist/dts/avatar/avatar.styles.d.ts +4 -0
- package/dist/dts/avatar/avatar.template.d.ts +8 -0
- package/dist/dts/avatar/define.d.ts +1 -0
- package/dist/dts/avatar/index.d.ts +5 -0
- package/dist/dts/divider/define.d.ts +1 -0
- package/dist/dts/divider/divider.d.ts +31 -0
- package/dist/dts/divider/divider.definition.d.ts +9 -0
- package/dist/dts/divider/divider.options.d.ts +40 -0
- package/dist/dts/divider/divider.styles.d.ts +4 -0
- package/dist/dts/divider/divider.template.d.ts +7 -0
- package/dist/dts/divider/index.d.ts +5 -0
- package/dist/dts/image/define.d.ts +1 -0
- package/dist/dts/image/image.d.ts +48 -0
- package/dist/dts/image/image.definition.d.ts +9 -0
- package/dist/dts/image/image.options.d.ts +27 -0
- package/dist/dts/image/image.styles.d.ts +5 -0
- package/dist/dts/image/image.template.d.ts +7 -0
- package/dist/dts/image/index.d.ts +5 -0
- package/dist/dts/index.d.ts +3 -0
- package/dist/dts/utils/get-initials.d.ts +18 -0
- package/dist/esm/avatar/avatar.definition.js +17 -0
- package/dist/esm/avatar/avatar.definition.js.map +1 -0
- package/dist/esm/avatar/avatar.js +92 -0
- package/dist/esm/avatar/avatar.js.map +1 -0
- package/dist/esm/avatar/avatar.options.js +87 -0
- package/dist/esm/avatar/avatar.options.js.map +1 -0
- package/dist/esm/avatar/avatar.styles.js +476 -0
- package/dist/esm/avatar/avatar.styles.js.map +1 -0
- package/dist/esm/avatar/avatar.template.js +28 -0
- package/dist/esm/avatar/avatar.template.js.map +1 -0
- package/dist/esm/avatar/define.js +4 -0
- package/dist/esm/avatar/define.js.map +1 -0
- package/dist/esm/avatar/index.js +6 -0
- package/dist/esm/avatar/index.js.map +1 -0
- package/dist/esm/divider/define.js +4 -0
- package/dist/esm/divider/define.js.map +1 -0
- package/dist/esm/divider/divider.definition.js +17 -0
- package/dist/esm/divider/divider.definition.js.map +1 -0
- package/dist/esm/divider/divider.js +21 -0
- package/dist/esm/divider/divider.js.map +1 -0
- package/dist/esm/divider/divider.options.js +31 -0
- package/dist/esm/divider/divider.options.js.map +1 -0
- package/dist/esm/divider/divider.styles.js +111 -0
- package/dist/esm/divider/divider.styles.js.map +1 -0
- package/dist/esm/divider/divider.template.js +7 -0
- package/dist/esm/divider/divider.template.js.map +1 -0
- package/dist/esm/divider/index.js +6 -0
- package/dist/esm/divider/index.js.map +1 -0
- package/dist/esm/image/define.js +4 -0
- package/dist/esm/image/define.js.map +1 -0
- package/dist/esm/image/image.definition.js +17 -0
- package/dist/esm/image/image.definition.js.map +1 -0
- package/dist/esm/image/image.js +24 -0
- package/dist/esm/image/image.js.map +1 -0
- package/dist/esm/image/image.options.js +21 -0
- package/dist/esm/image/image.options.js.map +1 -0
- package/dist/esm/image/image.styles.js +52 -0
- package/dist/esm/image/image.styles.js.map +1 -0
- package/dist/esm/image/image.template.js +7 -0
- package/dist/esm/image/image.template.js.map +1 -0
- package/dist/esm/image/index.js +6 -0
- package/dist/esm/image/index.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/get-initials.js +83 -0
- package/dist/esm/utils/get-initials.js.map +1 -0
- package/dist/fluent-web-components.api.json +3379 -1847
- package/dist/web-components.d.ts +454 -0
- package/dist/web-components.js +494 -19
- package/dist/web-components.min.js +123 -118
- package/docs/api-report.md +237 -0
- package/package.json +13 -1
package/dist/web-components.js
CHANGED
|
@@ -3202,6 +3202,14 @@ function accordionItemTemplate(options = {}) {
|
|
|
3202
3202
|
return html`<div class="heading" part="heading" role="heading" aria-level="${x => x.headinglevel}"><button class="button" part="button" ${ref("expandbutton")} ?disabled="${x => x.disabled ? "true" : void 0}" aria-expanded="${x => x.expanded}" aria-controls="${x => x.id}-panel" id="${x => x.id}" @click="${(x, c) => x.clickHandler(c.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${startSlotTemplate(options)} ${endSlotTemplate(options)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${staticallyCompose(options.expandedIcon)}</slot><slot name="collapsed-icon">${staticallyCompose(options.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${x => x.id}-panel" role="region" aria-labelledby="${x => x.id}"><slot></slot></div>`;
|
|
3203
3203
|
}
|
|
3204
3204
|
|
|
3205
|
+
/**
|
|
3206
|
+
* Standard orientation values
|
|
3207
|
+
*/
|
|
3208
|
+
const Orientation = {
|
|
3209
|
+
horizontal: "horizontal",
|
|
3210
|
+
vertical: "vertical"
|
|
3211
|
+
};
|
|
3212
|
+
|
|
3205
3213
|
/**
|
|
3206
3214
|
* String values for use with KeyboardEvent.key
|
|
3207
3215
|
*/
|
|
@@ -4912,6 +4920,64 @@ FASTDesignTokenNode.defaultNode = new DesignTokenNode();
|
|
|
4912
4920
|
FASTDesignTokenNode.rootStyleSheetTarget = new RootStyleSheetTarget();
|
|
4913
4921
|
FASTDesignTokenNode.cache = new WeakMap();
|
|
4914
4922
|
|
|
4923
|
+
/**
|
|
4924
|
+
* Divider roles
|
|
4925
|
+
* @public
|
|
4926
|
+
*/
|
|
4927
|
+
const DividerRole = {
|
|
4928
|
+
/**
|
|
4929
|
+
* The divider semantically separates content
|
|
4930
|
+
*/
|
|
4931
|
+
separator: "separator",
|
|
4932
|
+
/**
|
|
4933
|
+
* The divider has no semantic value and is for visual presentation only.
|
|
4934
|
+
*/
|
|
4935
|
+
presentation: "presentation"
|
|
4936
|
+
};
|
|
4937
|
+
/**
|
|
4938
|
+
* Divider orientation
|
|
4939
|
+
* @public
|
|
4940
|
+
*/
|
|
4941
|
+
const DividerOrientation = Orientation;
|
|
4942
|
+
|
|
4943
|
+
/**
|
|
4944
|
+
* The template for the {@link @microsoft/fast-foundation#FASTDivider} component.
|
|
4945
|
+
* @public
|
|
4946
|
+
*/
|
|
4947
|
+
function dividerTemplate() {
|
|
4948
|
+
return html`<template role="${x => x.role}" aria-orientation="${x => x.orientation}"><slot></slot></template>`;
|
|
4949
|
+
}
|
|
4950
|
+
|
|
4951
|
+
/**
|
|
4952
|
+
* A Divider Custom HTML Element.
|
|
4953
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#separator | ARIA separator } or {@link https://www.w3.org/TR/wai-aria-1.1/#presentation | ARIA presentation}.
|
|
4954
|
+
*
|
|
4955
|
+
* @public
|
|
4956
|
+
*/
|
|
4957
|
+
class FASTDivider extends FASTElement {
|
|
4958
|
+
constructor() {
|
|
4959
|
+
super(...arguments);
|
|
4960
|
+
/**
|
|
4961
|
+
* The role of the element.
|
|
4962
|
+
*
|
|
4963
|
+
* @public
|
|
4964
|
+
* @remarks
|
|
4965
|
+
* HTML Attribute: role
|
|
4966
|
+
*/
|
|
4967
|
+
this.role = DividerRole.separator;
|
|
4968
|
+
/**
|
|
4969
|
+
* The orientation of the divider.
|
|
4970
|
+
*
|
|
4971
|
+
* @public
|
|
4972
|
+
* @remarks
|
|
4973
|
+
* HTML Attribute: orientation
|
|
4974
|
+
*/
|
|
4975
|
+
this.orientation = DividerOrientation.horizontal;
|
|
4976
|
+
}
|
|
4977
|
+
}
|
|
4978
|
+
__decorate([attr], FASTDivider.prototype, "role", void 0);
|
|
4979
|
+
__decorate([attr], FASTDivider.prototype, "orientation", void 0);
|
|
4980
|
+
|
|
4915
4981
|
/**
|
|
4916
4982
|
* A base class for progress components.
|
|
4917
4983
|
* @public
|
|
@@ -5122,9 +5188,9 @@ function display(displayValue) {
|
|
|
5122
5188
|
*/
|
|
5123
5189
|
class Accordion extends FASTAccordion {}
|
|
5124
5190
|
|
|
5125
|
-
const template$
|
|
5191
|
+
const template$a = accordionTemplate();
|
|
5126
5192
|
|
|
5127
|
-
const styles$
|
|
5193
|
+
const styles$a = css`
|
|
5128
5194
|
${display('flex')}
|
|
5129
5195
|
|
|
5130
5196
|
:host{flex-direction:column;width:100%}`;
|
|
@@ -5144,10 +5210,10 @@ const FluentDesignSystem = Object.freeze({
|
|
|
5144
5210
|
* @remarks
|
|
5145
5211
|
* HTML Element: \<fluent-accordion\>
|
|
5146
5212
|
*/
|
|
5147
|
-
const definition$
|
|
5213
|
+
const definition$a = Accordion.compose({
|
|
5148
5214
|
name: `${FluentDesignSystem.prefix}-accordion`,
|
|
5149
|
-
template: template$
|
|
5150
|
-
styles: styles$
|
|
5215
|
+
template: template$a,
|
|
5216
|
+
styles: styles$a
|
|
5151
5217
|
});
|
|
5152
5218
|
|
|
5153
5219
|
/**
|
|
@@ -5957,7 +6023,7 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
5957
6023
|
shadow64Brand: shadow64Brand
|
|
5958
6024
|
});
|
|
5959
6025
|
|
|
5960
|
-
const styles$
|
|
6026
|
+
const styles$9 = css`
|
|
5961
6027
|
${display('block')}
|
|
5962
6028
|
|
|
5963
6029
|
:host{max-width:fit-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}`;
|
|
@@ -5992,7 +6058,7 @@ const chevronDown20Filled = html.partial(`<svg
|
|
|
5992
6058
|
* The template for the fluent-accordion component.
|
|
5993
6059
|
* @public
|
|
5994
6060
|
*/
|
|
5995
|
-
const template$
|
|
6061
|
+
const template$9 = accordionItemTemplate({
|
|
5996
6062
|
collapsedIcon: chevronRight20Filled,
|
|
5997
6063
|
expandedIcon: chevronDown20Filled
|
|
5998
6064
|
});
|
|
@@ -6006,10 +6072,293 @@ const template$6 = accordionItemTemplate({
|
|
|
6006
6072
|
* @remarks
|
|
6007
6073
|
* HTML Element: \<fluent-accordion-item\>
|
|
6008
6074
|
*/
|
|
6009
|
-
const definition$
|
|
6075
|
+
const definition$9 = AccordionItem.compose({
|
|
6010
6076
|
name: `${FluentDesignSystem.prefix}-accordion-item`,
|
|
6011
|
-
template: template$
|
|
6012
|
-
styles: styles$
|
|
6077
|
+
template: template$9,
|
|
6078
|
+
styles: styles$9
|
|
6079
|
+
});
|
|
6080
|
+
|
|
6081
|
+
/* TODO: This file is a direct copy of the React Avatar utils */
|
|
6082
|
+
/**
|
|
6083
|
+
* Regular expressions matching characters to ignore when calculating the initials.
|
|
6084
|
+
*/
|
|
6085
|
+
/**
|
|
6086
|
+
* Regular expression matching characters within various types of enclosures, including the enclosures themselves
|
|
6087
|
+
* so for example, (xyz) [xyz] {xyz} all would be ignored
|
|
6088
|
+
*/
|
|
6089
|
+
const UNWANTED_ENCLOSURES_REGEX = /[\(\[\{][^\)\]\}]*[\)\]\}]/g;
|
|
6090
|
+
/**
|
|
6091
|
+
* Regular expression matching special ASCII characters except space, plus some unicode special characters.
|
|
6092
|
+
* Applies after unwanted enclosures have been removed
|
|
6093
|
+
*/
|
|
6094
|
+
// eslint-disable-next-line no-control-regex
|
|
6095
|
+
const UNWANTED_CHARS_REGEX = /[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g;
|
|
6096
|
+
/**
|
|
6097
|
+
* Regular expression matching phone numbers. Applied after chars matching UNWANTED_CHARS_REGEX have been removed
|
|
6098
|
+
* and number has been trimmed for whitespaces
|
|
6099
|
+
*/
|
|
6100
|
+
const PHONENUMBER_REGEX = /^\d+[\d\s]*(:?ext|x|)\s*\d+$/i;
|
|
6101
|
+
/** Regular expression matching one or more spaces. */
|
|
6102
|
+
const MULTIPLE_WHITESPACES_REGEX = /\s+/g;
|
|
6103
|
+
/**
|
|
6104
|
+
* Regular expression matching languages for which we currently don't support initials.
|
|
6105
|
+
* Arabic: Arabic, Arabic Supplement, Arabic Extended-A.
|
|
6106
|
+
* Korean: Hangul Jamo, Hangul Compatibility Jamo, Hangul Jamo Extended-A, Hangul Syllables, Hangul Jamo Extended-B.
|
|
6107
|
+
* Japanese: Hiragana, Katakana.
|
|
6108
|
+
* CJK: CJK Unified Ideographs Extension A, CJK Unified Ideographs, CJK Compatibility Ideographs,
|
|
6109
|
+
* CJK Unified Ideographs Extension B
|
|
6110
|
+
*/
|
|
6111
|
+
// eslint-disable-next-line
|
|
6112
|
+
const UNSUPPORTED_TEXT_REGEX = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;
|
|
6113
|
+
function getInitialsLatin(displayName, isRtl, firstInitialOnly) {
|
|
6114
|
+
let initials = '';
|
|
6115
|
+
const splits = displayName.split(' ');
|
|
6116
|
+
if (splits.length !== 0) {
|
|
6117
|
+
initials += splits[0].charAt(0).toUpperCase();
|
|
6118
|
+
}
|
|
6119
|
+
if (!firstInitialOnly) {
|
|
6120
|
+
if (splits.length === 2) {
|
|
6121
|
+
initials += splits[1].charAt(0).toUpperCase();
|
|
6122
|
+
} else if (splits.length === 3) {
|
|
6123
|
+
initials += splits[2].charAt(0).toUpperCase();
|
|
6124
|
+
}
|
|
6125
|
+
}
|
|
6126
|
+
if (isRtl && initials.length > 1) {
|
|
6127
|
+
return initials.charAt(1) + initials.charAt(0);
|
|
6128
|
+
}
|
|
6129
|
+
return initials;
|
|
6130
|
+
}
|
|
6131
|
+
function cleanupDisplayName(displayName) {
|
|
6132
|
+
displayName = displayName.replace(UNWANTED_ENCLOSURES_REGEX, '');
|
|
6133
|
+
displayName = displayName.replace(UNWANTED_CHARS_REGEX, '');
|
|
6134
|
+
displayName = displayName.replace(MULTIPLE_WHITESPACES_REGEX, ' ');
|
|
6135
|
+
displayName = displayName.trim();
|
|
6136
|
+
return displayName;
|
|
6137
|
+
}
|
|
6138
|
+
/**
|
|
6139
|
+
* Get (up to 2 characters) initials based on display name of the persona.
|
|
6140
|
+
*
|
|
6141
|
+
* @param displayName - The full name of the person or entity
|
|
6142
|
+
* @param isRtl - Whether the display is in RTL
|
|
6143
|
+
* @param options - Extra options to control the behavior of getInitials
|
|
6144
|
+
*
|
|
6145
|
+
* @returns The 1 or 2 character initials based on the name. Or an empty string if no initials
|
|
6146
|
+
* could be derived from the name.
|
|
6147
|
+
*
|
|
6148
|
+
* @internal
|
|
6149
|
+
*/
|
|
6150
|
+
function getInitials(displayName, isRtl, options) {
|
|
6151
|
+
if (!displayName) {
|
|
6152
|
+
return '';
|
|
6153
|
+
}
|
|
6154
|
+
displayName = cleanupDisplayName(displayName);
|
|
6155
|
+
// For names containing CJK characters, and phone numbers, we don't display initials
|
|
6156
|
+
if (UNSUPPORTED_TEXT_REGEX.test(displayName) || !(options === null || options === void 0 ? void 0 : options.allowPhoneInitials) && PHONENUMBER_REGEX.test(displayName)) {
|
|
6157
|
+
return '';
|
|
6158
|
+
}
|
|
6159
|
+
return getInitialsLatin(displayName, isRtl, options === null || options === void 0 ? void 0 : options.firstInitialOnly);
|
|
6160
|
+
}
|
|
6161
|
+
|
|
6162
|
+
/**
|
|
6163
|
+
* The Avatar "active" state
|
|
6164
|
+
*/
|
|
6165
|
+
const AvatarActive = {
|
|
6166
|
+
active: 'active',
|
|
6167
|
+
inactive: 'inactive'
|
|
6168
|
+
};
|
|
6169
|
+
/**
|
|
6170
|
+
* The Avatar Shape
|
|
6171
|
+
*/
|
|
6172
|
+
const AvatarShape = {
|
|
6173
|
+
circular: 'circular',
|
|
6174
|
+
square: 'square'
|
|
6175
|
+
};
|
|
6176
|
+
/**
|
|
6177
|
+
* The Avatar Appearance when "active"
|
|
6178
|
+
*/
|
|
6179
|
+
const AvatarAppearance = {
|
|
6180
|
+
ring: 'ring',
|
|
6181
|
+
shadow: 'shadow',
|
|
6182
|
+
ringShadow: 'ring-shadow'
|
|
6183
|
+
};
|
|
6184
|
+
/**
|
|
6185
|
+
* A specific named color for the Avatar
|
|
6186
|
+
*/
|
|
6187
|
+
const AvatarNamedColor = {
|
|
6188
|
+
darkRed: 'dark-red',
|
|
6189
|
+
cranberry: 'cranberry',
|
|
6190
|
+
red: 'red',
|
|
6191
|
+
pumpkin: 'pumpkin',
|
|
6192
|
+
peach: 'peach',
|
|
6193
|
+
marigold: 'marigold',
|
|
6194
|
+
gold: 'gold',
|
|
6195
|
+
brass: 'brass',
|
|
6196
|
+
brown: 'brown',
|
|
6197
|
+
forest: 'forest',
|
|
6198
|
+
seafoam: 'seafoam',
|
|
6199
|
+
darkGreen: 'dark-green',
|
|
6200
|
+
lightTeal: 'light-teal',
|
|
6201
|
+
teal: 'teal',
|
|
6202
|
+
steel: 'steel',
|
|
6203
|
+
blue: 'blue',
|
|
6204
|
+
royalBlue: 'royal-blue',
|
|
6205
|
+
cornflower: 'cornflower',
|
|
6206
|
+
navy: 'navy',
|
|
6207
|
+
lavender: 'lavender',
|
|
6208
|
+
purple: 'purple',
|
|
6209
|
+
grape: 'grape',
|
|
6210
|
+
lilac: 'lilac',
|
|
6211
|
+
pink: 'pink',
|
|
6212
|
+
magenta: 'magenta',
|
|
6213
|
+
plum: 'plum',
|
|
6214
|
+
beige: 'beige',
|
|
6215
|
+
mink: 'mink',
|
|
6216
|
+
platinum: 'platinum',
|
|
6217
|
+
anchor: 'anchor'
|
|
6218
|
+
};
|
|
6219
|
+
/**
|
|
6220
|
+
* Supported Avatar colors
|
|
6221
|
+
*/
|
|
6222
|
+
const AvatarColor = {
|
|
6223
|
+
neutral: 'neutral',
|
|
6224
|
+
brand: 'brand',
|
|
6225
|
+
colorful: 'colorful',
|
|
6226
|
+
...AvatarNamedColor
|
|
6227
|
+
};
|
|
6228
|
+
/**
|
|
6229
|
+
* The Avatar Sizes
|
|
6230
|
+
* @public
|
|
6231
|
+
*/
|
|
6232
|
+
const AvatarSize = {
|
|
6233
|
+
_16: 16,
|
|
6234
|
+
_20: 20,
|
|
6235
|
+
_24: 24,
|
|
6236
|
+
_28: 28,
|
|
6237
|
+
_32: 32,
|
|
6238
|
+
_36: 36,
|
|
6239
|
+
_40: 40,
|
|
6240
|
+
_48: 48,
|
|
6241
|
+
_56: 56,
|
|
6242
|
+
_64: 64,
|
|
6243
|
+
_72: 72,
|
|
6244
|
+
_96: 96,
|
|
6245
|
+
_120: 120,
|
|
6246
|
+
_128: 128
|
|
6247
|
+
};
|
|
6248
|
+
|
|
6249
|
+
/**
|
|
6250
|
+
* The base class used for constructing a fluent-avatar custom element
|
|
6251
|
+
* @public
|
|
6252
|
+
*/
|
|
6253
|
+
class Avatar extends FASTElement {
|
|
6254
|
+
constructor() {
|
|
6255
|
+
super(...arguments);
|
|
6256
|
+
/**
|
|
6257
|
+
* The color when displaying either an icon or initials.
|
|
6258
|
+
* * neutral (default): gray
|
|
6259
|
+
* * brand: color from the brand palette
|
|
6260
|
+
* * colorful: picks a color from a set of pre-defined colors, based on a hash of the name (or colorId if provided)
|
|
6261
|
+
* * [AvatarNamedColor]: a specific color from the theme
|
|
6262
|
+
*
|
|
6263
|
+
* @public
|
|
6264
|
+
* @remarks
|
|
6265
|
+
* HTML Attribute: color
|
|
6266
|
+
*/
|
|
6267
|
+
this.color = 'neutral';
|
|
6268
|
+
}
|
|
6269
|
+
/**
|
|
6270
|
+
* Sets the data-color attribute used for the visual presentation
|
|
6271
|
+
* @internal
|
|
6272
|
+
*/
|
|
6273
|
+
generateColor() {
|
|
6274
|
+
var _a, _b;
|
|
6275
|
+
if (!this.color) {
|
|
6276
|
+
return;
|
|
6277
|
+
}
|
|
6278
|
+
return this.color === AvatarColor.colorful ? Avatar.colors[getHashCode((_b = (_a = this.colorId) !== null && _a !== void 0 ? _a : this.name) !== null && _b !== void 0 ? _b : '') % Avatar.colors.length] : this.color;
|
|
6279
|
+
}
|
|
6280
|
+
/**
|
|
6281
|
+
* Generates and sets the initials for the template
|
|
6282
|
+
* @internal
|
|
6283
|
+
*/
|
|
6284
|
+
generateInitials() {
|
|
6285
|
+
var _a, _b;
|
|
6286
|
+
if (!this.name && !this.initials) {
|
|
6287
|
+
return;
|
|
6288
|
+
}
|
|
6289
|
+
// size can be undefined since we default it in CSS only
|
|
6290
|
+
const size = (_a = this.size) !== null && _a !== void 0 ? _a : 32;
|
|
6291
|
+
return (_b = this.initials) !== null && _b !== void 0 ? _b : getInitials(this.name, window.getComputedStyle(this).direction === 'rtl', {
|
|
6292
|
+
firstInitialOnly: size <= 16
|
|
6293
|
+
});
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6296
|
+
/**
|
|
6297
|
+
* An array of the available Avatar named colors
|
|
6298
|
+
*/
|
|
6299
|
+
Avatar.colors = Object.values(AvatarNamedColor);
|
|
6300
|
+
__decorate([attr], Avatar.prototype, "name", void 0);
|
|
6301
|
+
__decorate([attr], Avatar.prototype, "initials", void 0);
|
|
6302
|
+
__decorate([attr({
|
|
6303
|
+
converter: nullableNumberConverter
|
|
6304
|
+
})], Avatar.prototype, "size", void 0);
|
|
6305
|
+
__decorate([attr], Avatar.prototype, "shape", void 0);
|
|
6306
|
+
__decorate([attr], Avatar.prototype, "active", void 0);
|
|
6307
|
+
__decorate([attr], Avatar.prototype, "appearance", void 0);
|
|
6308
|
+
__decorate([attr], Avatar.prototype, "color", void 0);
|
|
6309
|
+
__decorate([attr({
|
|
6310
|
+
attribute: 'color-id'
|
|
6311
|
+
})], Avatar.prototype, "colorId", void 0);
|
|
6312
|
+
// copied from React avatar
|
|
6313
|
+
const getHashCode = str => {
|
|
6314
|
+
let hashCode = 0;
|
|
6315
|
+
for (let len = str.length - 1; len >= 0; len--) {
|
|
6316
|
+
const ch = str.charCodeAt(len);
|
|
6317
|
+
const shift = len % 8;
|
|
6318
|
+
hashCode ^= (ch << shift) + (ch >> 8 - shift); // eslint-disable-line no-bitwise
|
|
6319
|
+
}
|
|
6320
|
+
|
|
6321
|
+
return hashCode;
|
|
6322
|
+
};
|
|
6323
|
+
|
|
6324
|
+
const defaultIconTemplate = html`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;
|
|
6325
|
+
/**
|
|
6326
|
+
* The template for the Avatar component.
|
|
6327
|
+
* @public
|
|
6328
|
+
*/
|
|
6329
|
+
function avatarTemplate() {
|
|
6330
|
+
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>`;
|
|
6331
|
+
}
|
|
6332
|
+
const template$8 = avatarTemplate();
|
|
6333
|
+
|
|
6334
|
+
const animations = {
|
|
6335
|
+
fastOutSlowInMax: curveDecelerateMax,
|
|
6336
|
+
fastOutSlowInMid: curveDecelerateMid,
|
|
6337
|
+
fastOutSlowInMin: curveDecelerateMin,
|
|
6338
|
+
slowOutFastInMax: curveAccelerateMax,
|
|
6339
|
+
slowOutFastInMid: curveAccelerateMid,
|
|
6340
|
+
slowOutFastInMin: curveAccelerateMin,
|
|
6341
|
+
fastEase: curveEasyEaseMax,
|
|
6342
|
+
normalEase: curveEasyEase,
|
|
6343
|
+
nullEasing: curveLinear
|
|
6344
|
+
};
|
|
6345
|
+
/** Avatar styles
|
|
6346
|
+
* @public
|
|
6347
|
+
*/
|
|
6348
|
+
const styles$8 = css`
|
|
6349
|
+
${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}}.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}}`;
|
|
6350
|
+
|
|
6351
|
+
/**
|
|
6352
|
+
* The Fluent Avatar Element.
|
|
6353
|
+
*
|
|
6354
|
+
* @public
|
|
6355
|
+
* @remarks
|
|
6356
|
+
* HTML Element: \<fluent-badge\>
|
|
6357
|
+
*/
|
|
6358
|
+
const definition$8 = Avatar.compose({
|
|
6359
|
+
name: `${FluentDesignSystem.prefix}-avatar`,
|
|
6360
|
+
template: template$8,
|
|
6361
|
+
styles: styles$8
|
|
6013
6362
|
});
|
|
6014
6363
|
|
|
6015
6364
|
/**
|
|
@@ -6096,7 +6445,7 @@ applyMixins(Badge, StartEnd);
|
|
|
6096
6445
|
function badgeTemplate(options = {}) {
|
|
6097
6446
|
return html` ${startSlotTemplate(options)}<slot>${staticallyCompose(options.defaultContent)}</slot>${endSlotTemplate(options)} `;
|
|
6098
6447
|
}
|
|
6099
|
-
const template$
|
|
6448
|
+
const template$7 = badgeTemplate();
|
|
6100
6449
|
|
|
6101
6450
|
const textPadding = spacingHorizontalXXS;
|
|
6102
6451
|
const badgeBaseStyles = css.partial`
|
|
@@ -6372,7 +6721,7 @@ const badgeTintStyles = css.partial`
|
|
|
6372
6721
|
/** Badge styles
|
|
6373
6722
|
* @public
|
|
6374
6723
|
*/
|
|
6375
|
-
const styles$
|
|
6724
|
+
const styles$7 = css`
|
|
6376
6725
|
: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}
|
|
6377
6726
|
${badgeFilledStyles}
|
|
6378
6727
|
${badgeGhostStyles}
|
|
@@ -6390,10 +6739,10 @@ const styles$5 = css`
|
|
|
6390
6739
|
* @remarks
|
|
6391
6740
|
* HTML Element: \<fluent-badge\>
|
|
6392
6741
|
*/
|
|
6393
|
-
const definition$
|
|
6742
|
+
const definition$7 = Badge.compose({
|
|
6394
6743
|
name: `${FluentDesignSystem.prefix}-badge`,
|
|
6395
|
-
template: template$
|
|
6396
|
-
styles: styles$
|
|
6744
|
+
template: template$7,
|
|
6745
|
+
styles: styles$7
|
|
6397
6746
|
});
|
|
6398
6747
|
|
|
6399
6748
|
/**
|
|
@@ -6529,12 +6878,12 @@ function composeTemplate(options = {}) {
|
|
|
6529
6878
|
* The template for the Counter Badge component.
|
|
6530
6879
|
* @public
|
|
6531
6880
|
*/
|
|
6532
|
-
const template$
|
|
6881
|
+
const template$6 = composeTemplate();
|
|
6533
6882
|
|
|
6534
6883
|
/** Badge styles
|
|
6535
6884
|
* @public
|
|
6536
6885
|
*/
|
|
6537
|
-
const styles$
|
|
6886
|
+
const styles$6 = css`
|
|
6538
6887
|
: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}
|
|
6539
6888
|
${badgeFilledStyles}
|
|
6540
6889
|
${badgeGhostStyles}
|
|
@@ -6551,8 +6900,134 @@ const styles$4 = css`
|
|
|
6551
6900
|
* @remarks
|
|
6552
6901
|
* HTML Element: \<fluent-counter-badge\>
|
|
6553
6902
|
*/
|
|
6554
|
-
const definition$
|
|
6903
|
+
const definition$6 = CounterBadge.compose({
|
|
6555
6904
|
name: `${FluentDesignSystem.prefix}-counter-badge`,
|
|
6905
|
+
template: template$6,
|
|
6906
|
+
styles: styles$6
|
|
6907
|
+
});
|
|
6908
|
+
|
|
6909
|
+
/**
|
|
6910
|
+
* @class Divider component
|
|
6911
|
+
*
|
|
6912
|
+
* @remarks
|
|
6913
|
+
* This class extends the FASTDivider. A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
|
|
6914
|
+
*/
|
|
6915
|
+
class Divider extends FASTDivider {}
|
|
6916
|
+
__decorate([attr({
|
|
6917
|
+
attribute: 'align-content'
|
|
6918
|
+
})], Divider.prototype, "alignContent", void 0);
|
|
6919
|
+
__decorate([attr], Divider.prototype, "appearance", void 0);
|
|
6920
|
+
__decorate([attr({
|
|
6921
|
+
mode: 'boolean'
|
|
6922
|
+
})], Divider.prototype, "inset", void 0);
|
|
6923
|
+
|
|
6924
|
+
/**
|
|
6925
|
+
* Align content within divider
|
|
6926
|
+
* @public
|
|
6927
|
+
*/
|
|
6928
|
+
const DividerAlignContent = {
|
|
6929
|
+
center: 'center',
|
|
6930
|
+
start: 'start',
|
|
6931
|
+
end: 'end'
|
|
6932
|
+
};
|
|
6933
|
+
/**
|
|
6934
|
+
* DividerAppearance - divider color defined by a design token alias.
|
|
6935
|
+
* @public
|
|
6936
|
+
*/
|
|
6937
|
+
const DividerAppearance = {
|
|
6938
|
+
strong: 'strong',
|
|
6939
|
+
brand: 'brand',
|
|
6940
|
+
subtle: 'subtle',
|
|
6941
|
+
default: 'default'
|
|
6942
|
+
};
|
|
6943
|
+
|
|
6944
|
+
/**
|
|
6945
|
+
* Template for the Divider component
|
|
6946
|
+
* @public
|
|
6947
|
+
*/
|
|
6948
|
+
const template$5 = dividerTemplate();
|
|
6949
|
+
|
|
6950
|
+
/** Divider styles
|
|
6951
|
+
* @public
|
|
6952
|
+
*/
|
|
6953
|
+
const styles$5 = css`
|
|
6954
|
+
${display('flex')}
|
|
6955
|
+
|
|
6956
|
+
: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}}`;
|
|
6957
|
+
|
|
6958
|
+
/**
|
|
6959
|
+
* The Fluent Divider Element
|
|
6960
|
+
*
|
|
6961
|
+
* @public
|
|
6962
|
+
* @remarks
|
|
6963
|
+
* HTML Element: \<fluent-divider\>
|
|
6964
|
+
*/
|
|
6965
|
+
const definition$5 = Divider.compose({
|
|
6966
|
+
name: `${FluentDesignSystem.prefix}-divider`,
|
|
6967
|
+
template: template$5,
|
|
6968
|
+
styles: styles$5
|
|
6969
|
+
});
|
|
6970
|
+
|
|
6971
|
+
/**
|
|
6972
|
+
* The base class used for constucting a fluent image custom element
|
|
6973
|
+
* @public
|
|
6974
|
+
*/
|
|
6975
|
+
class Image extends FASTElement {}
|
|
6976
|
+
__decorate([attr({
|
|
6977
|
+
mode: 'boolean'
|
|
6978
|
+
})], Image.prototype, "block", void 0);
|
|
6979
|
+
__decorate([attr({
|
|
6980
|
+
mode: 'boolean'
|
|
6981
|
+
})], Image.prototype, "bordered", void 0);
|
|
6982
|
+
__decorate([attr({
|
|
6983
|
+
mode: 'boolean'
|
|
6984
|
+
})], Image.prototype, "shadow", void 0);
|
|
6985
|
+
__decorate([attr], Image.prototype, "fit", void 0);
|
|
6986
|
+
__decorate([attr], Image.prototype, "shape", void 0);
|
|
6987
|
+
|
|
6988
|
+
/**
|
|
6989
|
+
* Image fit
|
|
6990
|
+
* @public
|
|
6991
|
+
*/
|
|
6992
|
+
const ImageFit = {
|
|
6993
|
+
none: 'none',
|
|
6994
|
+
center: 'center',
|
|
6995
|
+
contain: 'contain',
|
|
6996
|
+
cover: 'cover',
|
|
6997
|
+
default: 'default'
|
|
6998
|
+
};
|
|
6999
|
+
/**
|
|
7000
|
+
* Image shape
|
|
7001
|
+
* @public
|
|
7002
|
+
*/
|
|
7003
|
+
const ImageShape = {
|
|
7004
|
+
circular: 'circular',
|
|
7005
|
+
rounded: 'rounded',
|
|
7006
|
+
square: 'square'
|
|
7007
|
+
};
|
|
7008
|
+
|
|
7009
|
+
/**
|
|
7010
|
+
* Template for the Image component
|
|
7011
|
+
* @public
|
|
7012
|
+
*/
|
|
7013
|
+
const template$4 = html`<slot></slot>`;
|
|
7014
|
+
|
|
7015
|
+
/** Image styles
|
|
7016
|
+
*
|
|
7017
|
+
* @public
|
|
7018
|
+
*/
|
|
7019
|
+
const styles$4 = css`
|
|
7020
|
+
: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}}`;
|
|
7021
|
+
|
|
7022
|
+
/**
|
|
7023
|
+
* The Fluent Image Element
|
|
7024
|
+
*
|
|
7025
|
+
* @public
|
|
7026
|
+
* @remarks
|
|
7027
|
+
* HTML Element: \<fluent-image\>
|
|
7028
|
+
*/
|
|
7029
|
+
const definition$4 = Image.compose({
|
|
7030
|
+
name: `${FluentDesignSystem.prefix}-image`,
|
|
6556
7031
|
template: template$4,
|
|
6557
7032
|
styles: styles$4
|
|
6558
7033
|
});
|
|
@@ -6905,4 +7380,4 @@ const setTheme = theme => {
|
|
|
6905
7380
|
}
|
|
6906
7381
|
};
|
|
6907
7382
|
|
|
6908
|
-
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, Badge, BadgeAppearance, BadgeColor, definition$5 as BadgeDefinition, BadgeShape, BadgeSize, styles$5 as BadgeStyles, template$5 as BadgeTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$4 as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$4 as CounterBadgeStyles, template$4 as CounterBadgeTemplate, ProgressBar, definition$3 as ProgressBarDefinition, ProgressBarShape, styles$3 as ProgressBarStyles, template$3 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Spinner, SpinnerAppearance, definition$2 as SpinnerDefinition, SpinnerSize, styles$2 as SpinnerStyles, template$2 as SpinnerTemplate, Switch, SwitchLabelPosition, Text, TextAlign, definition as TextDefinition, TextFont, TextSize, styles as TextStyles, template as TextTemplate, TextWeight, definition$7 as accordionDefinition, definition$6 as accordionItemDefinition, styles$6 as accordionItemStyles, template$6 as accordionItemTemplate, styles$7 as accordionStyles, template$7 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, colorNeutralStencil2, 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, 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, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, 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$1 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$1 as switchStyles, template$1 as switchTemplate };
|
|
7383
|
+
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$8 as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$8 as AvatarStyles, template$8 as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$7 as BadgeDefinition, BadgeShape, BadgeSize, styles$7 as BadgeStyles, template$7 as BadgeTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$6 as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$6 as CounterBadgeStyles, template$6 as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$5 as DividerDefinition, DividerOrientation, DividerRole, styles$5 as DividerStyles, template$5 as DividerTemplate, Image, definition$4 as ImageDefinition, ImageFit, ImageShape, styles$4 as ImageStyles, template$4 as ImageTemplate, ProgressBar, definition$3 as ProgressBarDefinition, ProgressBarShape, styles$3 as ProgressBarStyles, template$3 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Spinner, SpinnerAppearance, definition$2 as SpinnerDefinition, SpinnerSize, styles$2 as SpinnerStyles, template$2 as SpinnerTemplate, Switch, SwitchLabelPosition, Text, TextAlign, definition as TextDefinition, TextFont, TextSize, styles as TextStyles, template as TextTemplate, TextWeight, definition$a as accordionDefinition, definition$9 as accordionItemDefinition, styles$9 as accordionItemStyles, template$9 as accordionItemTemplate, styles$a as accordionStyles, template$a 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, colorNeutralStencil2, 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, 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, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, 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$1 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$1 as switchStyles, template$1 as switchTemplate };
|