@fluentui/web-components 3.0.0-alpha.12 → 3.0.0-alpha.13

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.
@@ -3269,6 +3269,74 @@ function __decorate(decorators, target, key, desc) {
3269
3269
  return c > 3 && r && Object.defineProperty(target, key, r), r;
3270
3270
  }
3271
3271
 
3272
+ /**
3273
+ * Some states and properties are applicable to all host language elements regardless of whether a role is applied.
3274
+ * The following global states and properties are supported by all roles and by all base markup elements.
3275
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
3276
+ *
3277
+ * This is intended to be used as a mixin. Be sure you extend FASTElement.
3278
+ *
3279
+ * @public
3280
+ */
3281
+ class ARIAGlobalStatesAndProperties {}
3282
+ __decorate([attr({
3283
+ attribute: "aria-atomic"
3284
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", void 0);
3285
+ __decorate([attr({
3286
+ attribute: "aria-busy"
3287
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", void 0);
3288
+ __decorate([attr({
3289
+ attribute: "aria-controls"
3290
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaControls", void 0);
3291
+ __decorate([attr({
3292
+ attribute: "aria-current"
3293
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", void 0);
3294
+ __decorate([attr({
3295
+ attribute: "aria-describedby"
3296
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", void 0);
3297
+ __decorate([attr({
3298
+ attribute: "aria-details"
3299
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", void 0);
3300
+ __decorate([attr({
3301
+ attribute: "aria-disabled"
3302
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", void 0);
3303
+ __decorate([attr({
3304
+ attribute: "aria-errormessage"
3305
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", void 0);
3306
+ __decorate([attr({
3307
+ attribute: "aria-flowto"
3308
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", void 0);
3309
+ __decorate([attr({
3310
+ attribute: "aria-haspopup"
3311
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", void 0);
3312
+ __decorate([attr({
3313
+ attribute: "aria-hidden"
3314
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", void 0);
3315
+ __decorate([attr({
3316
+ attribute: "aria-invalid"
3317
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", void 0);
3318
+ __decorate([attr({
3319
+ attribute: "aria-keyshortcuts"
3320
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", void 0);
3321
+ __decorate([attr({
3322
+ attribute: "aria-label"
3323
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", void 0);
3324
+ __decorate([attr({
3325
+ attribute: "aria-labelledby"
3326
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", void 0);
3327
+ __decorate([attr({
3328
+ attribute: "aria-live"
3329
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaLive", void 0);
3330
+ __decorate([attr({
3331
+ attribute: "aria-owns"
3332
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", void 0);
3333
+ __decorate([attr({
3334
+ attribute: "aria-relevant"
3335
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", void 0);
3336
+ __decorate([attr({
3337
+ attribute: "aria-roledescription"
3338
+ })], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", void 0);
3339
+
3272
3340
  /**
3273
3341
  * A mixin class implementing start and end slots.
3274
3342
  * These are generally used to decorate text elements with icons or other visual indicators.
@@ -4162,6 +4230,155 @@ function CheckableFormAssociated(BaseCtor) {
4162
4230
  return D;
4163
4231
  }
4164
4232
 
4233
+ class _Button extends FASTElement {}
4234
+ /**
4235
+ * A form-associated base class for the {@link @microsoft/fast-foundation#(FASTButton:class)} component.
4236
+ *
4237
+ * @beta
4238
+ */
4239
+ class FormAssociatedButton extends FormAssociated(_Button) {
4240
+ constructor() {
4241
+ super(...arguments);
4242
+ this.proxy = document.createElement("input");
4243
+ }
4244
+ }
4245
+
4246
+ /**
4247
+ * Button type values.
4248
+ *
4249
+ * @public
4250
+ */
4251
+ const ButtonType = {
4252
+ submit: "submit",
4253
+ reset: "reset",
4254
+ button: "button"
4255
+ };
4256
+
4257
+ /**
4258
+ * A Button Custom HTML Element.
4259
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element }.
4260
+ *
4261
+ * @slot start - Content which can be provided before the button content
4262
+ * @slot end - Content which can be provided after the button content
4263
+ * @slot - The default slot for button content
4264
+ * @csspart control - The button element
4265
+ * @csspart content - The element wrapping button content
4266
+ *
4267
+ * @public
4268
+ */
4269
+ class FASTButton extends FormAssociatedButton {
4270
+ constructor() {
4271
+ super(...arguments);
4272
+ /**
4273
+ * Submits the parent form
4274
+ */
4275
+ this.handleSubmission = () => {
4276
+ if (!this.form) {
4277
+ return;
4278
+ }
4279
+ const attached = this.proxy.isConnected;
4280
+ if (!attached) {
4281
+ this.attachProxy();
4282
+ }
4283
+ // Browser support for requestSubmit is not comprehensive
4284
+ // so click the proxy if it isn't supported
4285
+ typeof this.form.requestSubmit === "function" ? this.form.requestSubmit(this.proxy) : this.proxy.click();
4286
+ if (!attached) {
4287
+ this.detachProxy();
4288
+ }
4289
+ };
4290
+ /**
4291
+ * Resets the parent form
4292
+ */
4293
+ this.handleFormReset = () => {
4294
+ var _a;
4295
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.reset();
4296
+ };
4297
+ }
4298
+ formactionChanged() {
4299
+ if (this.proxy instanceof HTMLInputElement) {
4300
+ this.proxy.formAction = this.formaction;
4301
+ }
4302
+ }
4303
+ formenctypeChanged() {
4304
+ if (this.proxy instanceof HTMLInputElement) {
4305
+ this.proxy.formEnctype = this.formenctype;
4306
+ }
4307
+ }
4308
+ formmethodChanged() {
4309
+ if (this.proxy instanceof HTMLInputElement) {
4310
+ this.proxy.formMethod = this.formmethod;
4311
+ }
4312
+ }
4313
+ formnovalidateChanged() {
4314
+ if (this.proxy instanceof HTMLInputElement) {
4315
+ this.proxy.formNoValidate = this.formnovalidate;
4316
+ }
4317
+ }
4318
+ formtargetChanged() {
4319
+ if (this.proxy instanceof HTMLInputElement) {
4320
+ this.proxy.formTarget = this.formtarget;
4321
+ }
4322
+ }
4323
+ typeChanged(previous, next) {
4324
+ if (this.proxy instanceof HTMLInputElement) {
4325
+ this.proxy.type = this.type;
4326
+ }
4327
+ next === ButtonType.submit && this.addEventListener("click", this.handleSubmission);
4328
+ previous === ButtonType.submit && this.removeEventListener("click", this.handleSubmission);
4329
+ next === ButtonType.reset && this.addEventListener("click", this.handleFormReset);
4330
+ previous === ButtonType.reset && this.removeEventListener("click", this.handleFormReset);
4331
+ }
4332
+ /** {@inheritDoc (FormAssociated:interface).validate} */
4333
+ validate() {
4334
+ super.validate(this.control);
4335
+ }
4336
+ /**
4337
+ * @internal
4338
+ */
4339
+ connectedCallback() {
4340
+ super.connectedCallback();
4341
+ this.proxy.setAttribute("type", this.type);
4342
+ }
4343
+ }
4344
+ __decorate([attr({
4345
+ mode: "boolean"
4346
+ })], FASTButton.prototype, "autofocus", void 0);
4347
+ __decorate([attr({
4348
+ attribute: "form"
4349
+ })], FASTButton.prototype, "formId", void 0);
4350
+ __decorate([attr], FASTButton.prototype, "formaction", void 0);
4351
+ __decorate([attr], FASTButton.prototype, "formenctype", void 0);
4352
+ __decorate([attr], FASTButton.prototype, "formmethod", void 0);
4353
+ __decorate([attr({
4354
+ mode: "boolean"
4355
+ })], FASTButton.prototype, "formnovalidate", void 0);
4356
+ __decorate([attr], FASTButton.prototype, "formtarget", void 0);
4357
+ __decorate([attr], FASTButton.prototype, "type", void 0);
4358
+ __decorate([observable], FASTButton.prototype, "defaultSlottedContent", void 0);
4359
+ /**
4360
+ * Includes ARIA states and properties relating to the ARIA button role
4361
+ *
4362
+ * @public
4363
+ */
4364
+ class DelegatesARIAButton {}
4365
+ __decorate([attr({
4366
+ attribute: "aria-expanded"
4367
+ })], DelegatesARIAButton.prototype, "ariaExpanded", void 0);
4368
+ __decorate([attr({
4369
+ attribute: "aria-pressed"
4370
+ })], DelegatesARIAButton.prototype, "ariaPressed", void 0);
4371
+ applyMixins(DelegatesARIAButton, ARIAGlobalStatesAndProperties);
4372
+ applyMixins(FASTButton, StartEnd, DelegatesARIAButton);
4373
+
4374
+ /**
4375
+ * The template for the {@link @microsoft/fast-foundation#(FASTButton:class)} component.
4376
+ * @public
4377
+ */
4378
+ function buttonTemplate(options = {}) {
4379
+ return html`<button class="control" part="control" ?autofocus="${x => x.autofocus}" ?disabled="${x => x.disabled}" form="${x => x.formId}" formaction="${x => x.formaction}" formenctype="${x => x.formenctype}" formmethod="${x => x.formmethod}" ?formnovalidate="${x => x.formnovalidate}" formtarget="${x => x.formtarget}" name="${x => x.name}" type="${x => x.type}" value="${x => x.value}" aria-atomic="${x => x.ariaAtomic}" aria-busy="${x => x.ariaBusy}" aria-controls="${x => x.ariaControls}" aria-current="${x => x.ariaCurrent}" aria-describedby="${x => x.ariaDescribedby}" aria-details="${x => x.ariaDetails}" aria-disabled="${x => x.ariaDisabled}" aria-errormessage="${x => x.ariaErrormessage}" aria-expanded="${x => x.ariaExpanded}" aria-flowto="${x => x.ariaFlowto}" aria-haspopup="${x => x.ariaHaspopup}" aria-hidden="${x => x.ariaHidden}" aria-invalid="${x => x.ariaInvalid}" aria-keyshortcuts="${x => x.ariaKeyshortcuts}" aria-label="${x => x.ariaLabel}" aria-labelledby="${x => x.ariaLabelledby}" aria-live="${x => x.ariaLive}" aria-owns="${x => x.ariaOwns}" aria-pressed="${x => x.ariaPressed}" aria-relevant="${x => x.ariaRelevant}" aria-roledescription="${x => x.ariaRoledescription}" ${ref("control")}>${startSlotTemplate(options)}<span class="content" part="content"><slot ${slotted("defaultSlottedContent")}></slot></span>${endSlotTemplate(options)}</button>`;
4380
+ }
4381
+
4165
4382
  class DerivedValueEvaluator {
4166
4383
  constructor(value) {
4167
4384
  this.value = value;
@@ -5754,9 +5971,9 @@ function display(displayValue) {
5754
5971
  */
5755
5972
  class Accordion extends FASTAccordion {}
5756
5973
 
5757
- const template$b = accordionTemplate();
5974
+ const template$c = accordionTemplate();
5758
5975
 
5759
- const styles$b = css`
5976
+ const styles$c = css`
5760
5977
  ${display('flex')}
5761
5978
 
5762
5979
  :host{flex-direction:column;width:100%;contain:content}`;
@@ -5776,10 +5993,10 @@ const FluentDesignSystem = Object.freeze({
5776
5993
  * @remarks
5777
5994
  * HTML Element: \<fluent-accordion\>
5778
5995
  */
5779
- const definition$b = Accordion.compose({
5996
+ const definition$c = Accordion.compose({
5780
5997
  name: `${FluentDesignSystem.prefix}-accordion`,
5781
- template: template$b,
5782
- styles: styles$b
5998
+ template: template$c,
5999
+ styles: styles$c
5783
6000
  });
5784
6001
 
5785
6002
  /**
@@ -6599,7 +6816,7 @@ var tokens = /*#__PURE__*/Object.freeze({
6599
6816
  shadow64Brand: shadow64Brand
6600
6817
  });
6601
6818
 
6602
- const styles$a = css`
6819
+ const styles$b = css`
6603
6820
  ${display('block')}
6604
6821
 
6605
6822
  :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${spacingHorizontalM} ${spacingHorizontalMNudge};border-radius:${borderRadiusMedium};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${colorNeutralForeground1};background:${colorTransparentBackground};line-height:${lineHeightBase300};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${spacingHorizontalS};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${spacingHorizontalM}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall};outline:none;border:2px solid ${colorStrokeFocus1};box-shadow:inset 0 0 0 1px ${colorStrokeFocus2}}:host([disabled]) .button{color:${colorNeutralForegroundDisabled}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${fontSizeBase300};line-height:${lineHeightBase300}}:host([size='small']) .heading{font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) .heading{font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='extra-large']) .heading{font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`;
@@ -6634,7 +6851,7 @@ const chevronDown20Filled = html.partial(`<svg
6634
6851
  * The template for the fluent-accordion component.
6635
6852
  * @public
6636
6853
  */
6637
- const template$a = accordionItemTemplate({
6854
+ const template$b = accordionItemTemplate({
6638
6855
  collapsedIcon: chevronRight20Filled,
6639
6856
  expandedIcon: chevronDown20Filled
6640
6857
  });
@@ -6648,10 +6865,10 @@ const template$a = accordionItemTemplate({
6648
6865
  * @remarks
6649
6866
  * HTML Element: \<fluent-accordion-item\>
6650
6867
  */
6651
- const definition$a = AccordionItem.compose({
6868
+ const definition$b = AccordionItem.compose({
6652
6869
  name: `${FluentDesignSystem.prefix}-accordion-item`,
6653
- template: template$a,
6654
- styles: styles$a
6870
+ template: template$b,
6871
+ styles: styles$b
6655
6872
  });
6656
6873
 
6657
6874
  /* TODO: This file is a direct copy of the React Avatar utils */
@@ -6905,7 +7122,7 @@ const defaultIconTemplate = html`<svg width="1em" height="1em" viewBox="0 0 20 2
6905
7122
  function avatarTemplate() {
6906
7123
  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>`;
6907
7124
  }
6908
- const template$9 = avatarTemplate();
7125
+ const template$a = avatarTemplate();
6909
7126
 
6910
7127
  const animations = {
6911
7128
  fastOutSlowInMax: curveDecelerateMax,
@@ -6921,7 +7138,7 @@ const animations = {
6921
7138
  /** Avatar styles
6922
7139
  * @public
6923
7140
  */
6924
- const styles$9 = css`
7141
+ const styles$a = css`
6925
7142
  ${display('inline-flex')} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${colorNeutralBackground6};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin} ${colorNeutralBackground1}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${strokeWidthThick} ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${fontWeightRegular}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${fontSizeBase400}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${fontSizeBase500}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host([data-color='brand']){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host([data-color='dark-red']){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host([data-color='cranberry']){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host([data-color='red']){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host([data-color='pumpkin']){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host([data-color='peach']){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host([data-color='marigold']){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host([data-color='gold']){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host([data-color='brass']){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host([data-color='brown']){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host([data-color='forest']){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host([data-color='seafoam']){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host([data-color='dark-green']){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host([data-color='light-teal']){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host([data-color='teal']){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host([data-color='steel']){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host([data-color='blue']){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host([data-color='royal-blue']){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host([data-color='cornflower']){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host([data-color='navy']){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host([data-color='lavender']){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host([data-color='purple']){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host([data-color='grape']){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host([data-color='lilac']){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host([data-color='pink']){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host([data-color='magenta']){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host([data-color='plum']){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host([data-color='beige']){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host([data-color='mink']){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host([data-color='platinum']){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host([data-color='anchor']){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${strokeWidthThicker}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${shadow16}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${shadow28}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
6926
7143
 
6927
7144
  /**
@@ -6931,10 +7148,10 @@ const styles$9 = css`
6931
7148
  * @remarks
6932
7149
  * HTML Element: \<fluent-badge\>
6933
7150
  */
6934
- const definition$9 = Avatar.compose({
7151
+ const definition$a = Avatar.compose({
6935
7152
  name: `${FluentDesignSystem.prefix}-avatar`,
6936
- template: template$9,
6937
- styles: styles$9
7153
+ template: template$a,
7154
+ styles: styles$a
6938
7155
  });
6939
7156
 
6940
7157
  /**
@@ -7021,7 +7238,7 @@ applyMixins(Badge, StartEnd);
7021
7238
  function badgeTemplate(options = {}) {
7022
7239
  return html` ${startSlotTemplate(options)}<slot>${staticallyCompose(options.defaultContent)}</slot>${endSlotTemplate(options)} `;
7023
7240
  }
7024
- const template$8 = badgeTemplate();
7241
+ const template$9 = badgeTemplate();
7025
7242
 
7026
7243
  const textPadding = spacingHorizontalXXS;
7027
7244
  const badgeBaseStyles = css.partial`
@@ -7298,7 +7515,7 @@ const badgeTintStyles = css.partial`
7298
7515
  /** Badge styles
7299
7516
  * @public
7300
7517
  */
7301
- const styles$8 = css`
7518
+ const styles$9 = css`
7302
7519
  :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}
7303
7520
  ${badgeFilledStyles}
7304
7521
  ${badgeGhostStyles}
@@ -7316,10 +7533,134 @@ const styles$8 = css`
7316
7533
  * @remarks
7317
7534
  * HTML Element: \<fluent-badge\>
7318
7535
  */
7319
- const definition$8 = Badge.compose({
7536
+ const definition$9 = Badge.compose({
7320
7537
  name: `${FluentDesignSystem.prefix}-badge`,
7538
+ template: template$9,
7539
+ styles: styles$9
7540
+ });
7541
+
7542
+ /**
7543
+ * The base class used for constructing a fluent-button custom element
7544
+ * @public
7545
+ */
7546
+ class Button extends FASTButton {
7547
+ constructor() {
7548
+ super(...arguments);
7549
+ /**
7550
+ * The button has an icon only, no text content
7551
+ *
7552
+ * @public
7553
+ * @remarks
7554
+ * HTML Attribute: icon-only
7555
+ */
7556
+ this.iconOnly = false;
7557
+ /**
7558
+ * The button is disabled but focusable
7559
+ *
7560
+ * @public
7561
+ * @remarks
7562
+ * HTML Attribute: disabled-focusable
7563
+ */
7564
+ this.disabledFocusable = false;
7565
+ /**
7566
+ * Prevents disabledFocusable click events
7567
+ */
7568
+ this.handleDisabledFocusableClick = e => {
7569
+ if (e && this.disabledFocusable) {
7570
+ e.stopImmediatePropagation();
7571
+ return;
7572
+ }
7573
+ };
7574
+ }
7575
+ disabledFocusableChanged(prev, next) {
7576
+ if (!this.$fastController.isConnected) {
7577
+ return;
7578
+ }
7579
+ if (this.disabledFocusable) {
7580
+ this.setAttribute('aria-disabled', 'true');
7581
+ } else {
7582
+ this.removeAttribute('aria-disabled');
7583
+ }
7584
+ }
7585
+ connectedCallback() {
7586
+ super.connectedCallback();
7587
+ this.addEventListener('click', this.handleDisabledFocusableClick);
7588
+ }
7589
+ disconnectedCallback() {
7590
+ super.disconnectedCallback();
7591
+ this.removeEventListener('click', this.handleDisabledFocusableClick);
7592
+ }
7593
+ }
7594
+ __decorate([attr], Button.prototype, "appearance", void 0);
7595
+ __decorate([attr], Button.prototype, "shape", void 0);
7596
+ __decorate([attr], Button.prototype, "size", void 0);
7597
+ __decorate([attr({
7598
+ attribute: 'icon-only',
7599
+ mode: 'boolean'
7600
+ })], Button.prototype, "iconOnly", void 0);
7601
+ __decorate([attr({
7602
+ attribute: 'disabled-focusable',
7603
+ mode: 'boolean'
7604
+ })], Button.prototype, "disabledFocusable", void 0);
7605
+
7606
+ /**
7607
+ * ButtonAppearance constants
7608
+ * @public
7609
+ */
7610
+ const ButtonAppearance = {
7611
+ primary: 'primary',
7612
+ outline: 'outline',
7613
+ subtle: 'subtle',
7614
+ secondary: 'secondary',
7615
+ transparent: 'transparent'
7616
+ };
7617
+ /**
7618
+ * A Button can be square, circular or rounded.
7619
+ * @public
7620
+ */
7621
+ const ButtonShape = {
7622
+ circular: 'circular',
7623
+ rounded: 'rounded',
7624
+ square: 'square'
7625
+ };
7626
+ /**
7627
+ * A Button can be a size of small, medium or large.
7628
+ * @public
7629
+ */
7630
+ const ButtonSize = {
7631
+ small: 'small',
7632
+ medium: 'medium',
7633
+ large: 'large'
7634
+ };
7635
+
7636
+ /**
7637
+ * The template for the Button component.
7638
+ * @public
7639
+ */
7640
+ const template$8 = buttonTemplate();
7641
+
7642
+ // Need to support icon hover styles
7643
+ const styles$8 = css`
7644
+ ${display('inline-flex')}
7645
+
7646
+ :host{--icon-spacing:${spacingHorizontalSNudge};contain:layout style}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active) .control{background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host .control:focus-visible{border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${spacingHorizontalXS}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${borderRadiusCircular}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${borderRadiusNone}}:host([appearance='primary']) .control{background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${colorBrandBackgroundHover}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${colorNeutralForegroundOnBrand}}:host([appearance='primary']:hover:active) .control{background-color:${colorBrandBackgroundPressed}}:host([appearance='primary']) .control:focus-visible{border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${colorTransparentBackground}}:host([appearance='outline']:hover) .control{background-color:${colorTransparentBackgroundHover}}:host([appearance='outline']:hover:active) .control{background-color:${colorTransparentBackgroundPressed}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${colorTransparentBackground}}:host([appearance='subtle']) .control{background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${colorTransparentBackground};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host([appearance='transparent']) .control{background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host([appearance='transparent']:hover) .control{background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host([appearance='transparent']:hover:active) .control{background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${colorTransparentBackground}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
7647
+ .control{background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled};color:${colorNeutralForegroundDisabled};cursor:not-allowed}`;
7648
+
7649
+ /**
7650
+ * The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button },
7651
+ * {@link @microsoft/fast-foundation#buttonTemplate}
7652
+ *
7653
+ * @public
7654
+ * @remarks
7655
+ * HTML Element: \<fluent-button\>
7656
+ */
7657
+ const definition$8 = Button.compose({
7658
+ name: `${FluentDesignSystem.prefix}-button`,
7321
7659
  template: template$8,
7322
- styles: styles$8
7660
+ styles: styles$8,
7661
+ shadowOptions: {
7662
+ delegatesFocus: true
7663
+ }
7323
7664
  });
7324
7665
 
7325
7666
  /**
@@ -8050,4 +8391,4 @@ const setTheme = theme => {
8050
8391
  }
8051
8392
  };
8052
8393
 
8053
- export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$9 as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$9 as AvatarStyles, template$9 as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$8 as BadgeDefinition, BadgeShape, BadgeSize, styles$8 as BadgeStyles, template$8 as BadgeTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$7 as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$7 as CounterBadgeStyles, template$7 as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$6 as DividerDefinition, DividerOrientation, DividerRole, styles$6 as DividerStyles, template$6 as DividerTemplate, Image, definition$5 as ImageDefinition, ImageFit, ImageShape, styles$5 as ImageStyles, template$5 as ImageTemplate, ProgressBar, definition$4 as ProgressBarDefinition, ProgressBarShape, styles$4 as ProgressBarStyles, template$4 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Slider, definition$3 as SliderDefinition, SliderOrientation, SliderSize, styles$3 as SliderStyles, template$3 as SliderTemplate, 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$b as accordionDefinition, definition$a as accordionItemDefinition, styles$a as accordionItemStyles, template$a as accordionItemTemplate, styles$b as accordionStyles, template$b as accordionTemplate, borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusNone, borderRadiusSmall, borderRadiusXLarge, colorBackgroundOverlay, colorBrandBackground, colorBrandBackground2, colorBrandBackgroundHover, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorBrandBackgroundStatic, colorBrandForeground1, colorBrandForeground2, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorBrandShadowAmbient, colorBrandShadowKey, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundDisabled, colorNeutralBackgroundInverted, colorNeutralBackgroundInvertedDisabled, colorNeutralBackgroundStatic, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground1Static, colorNeutralForeground2, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground2Hover, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground3, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInverted, colorNeutralForegroundInverted2, colorNeutralForegroundInvertedDisabled, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralShadowAmbient, colorNeutralShadowAmbientDarker, colorNeutralShadowAmbientLighter, colorNeutralShadowKey, colorNeutralShadowKeyDarker, colorNeutralShadowKeyLighter, colorNeutralStencil1, colorNeutralStencil1Alpha, colorNeutralStencil2, colorNeutralStencil2Alpha, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorPaletteAnchorBackground2, colorPaletteAnchorBorderActive, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeBorderActive, colorPaletteBeigeForeground2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteBerryBorderActive, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBlueBackground2, colorPaletteBlueBorderActive, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassBorderActive, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownBorderActive, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerBorderActive, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryBorderActive, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenBorderActive, colorPaletteDarkGreenForeground2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkRedBackground2, colorPaletteDarkRedBorderActive, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestBorderActive, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldBorderActive, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeBorderActive, colorPaletteGrapeForeground2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteGreenBorderActive, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenForegroundInverted, colorPaletteLavenderBackground2, colorPaletteLavenderBorderActive, colorPaletteLavenderForeground2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteLightGreenBorderActive, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightTealBackground2, colorPaletteLightTealBorderActive, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacBorderActive, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaBorderActive, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteMarigoldBorderActive, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMinkBackground2, colorPaletteMinkBorderActive, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyBorderActive, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachBorderActive, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkBorderActive, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumBorderActive, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumBorderActive, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinBorderActive, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleBorderActive, colorPalettePurpleForeground2, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteRedBorderActive, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedForegroundInverted, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowForegroundInverted, colorScrollbarOverlay, colorStrokeFocus1, colorStrokeFocus2, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorTransparentStroke, colorTransparentStrokeDisabled, colorTransparentStrokeInteractive, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, definition$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 };
8394
+ export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$a as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$a as AvatarStyles, template$a as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$9 as BadgeDefinition, BadgeShape, BadgeSize, styles$9 as BadgeStyles, template$9 as BadgeTemplate, Button, ButtonAppearance, definition$8 as ButtonDefinition, ButtonShape, ButtonSize, styles$8 as ButtonStyles, template$8 as ButtonTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$7 as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$7 as CounterBadgeStyles, template$7 as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$6 as DividerDefinition, DividerOrientation, DividerRole, styles$6 as DividerStyles, template$6 as DividerTemplate, Image, definition$5 as ImageDefinition, ImageFit, ImageShape, styles$5 as ImageStyles, template$5 as ImageTemplate, ProgressBar, definition$4 as ProgressBarDefinition, ProgressBarShape, styles$4 as ProgressBarStyles, template$4 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Slider, definition$3 as SliderDefinition, SliderOrientation, SliderSize, styles$3 as SliderStyles, template$3 as SliderTemplate, 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$c as accordionDefinition, definition$b as accordionItemDefinition, styles$b as accordionItemStyles, template$b as accordionItemTemplate, styles$c as accordionStyles, template$c as accordionTemplate, borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusNone, borderRadiusSmall, borderRadiusXLarge, colorBackgroundOverlay, colorBrandBackground, colorBrandBackground2, colorBrandBackgroundHover, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorBrandBackgroundStatic, colorBrandForeground1, colorBrandForeground2, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorBrandShadowAmbient, colorBrandShadowKey, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundDisabled, colorNeutralBackgroundInverted, colorNeutralBackgroundInvertedDisabled, colorNeutralBackgroundStatic, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground1Static, colorNeutralForeground2, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground2Hover, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground3, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInverted, colorNeutralForegroundInverted2, colorNeutralForegroundInvertedDisabled, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralShadowAmbient, colorNeutralShadowAmbientDarker, colorNeutralShadowAmbientLighter, colorNeutralShadowKey, colorNeutralShadowKeyDarker, colorNeutralShadowKeyLighter, colorNeutralStencil1, colorNeutralStencil1Alpha, colorNeutralStencil2, colorNeutralStencil2Alpha, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorPaletteAnchorBackground2, colorPaletteAnchorBorderActive, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeBorderActive, colorPaletteBeigeForeground2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteBerryBorderActive, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBlueBackground2, colorPaletteBlueBorderActive, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassBorderActive, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownBorderActive, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerBorderActive, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryBorderActive, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenBorderActive, colorPaletteDarkGreenForeground2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkRedBackground2, colorPaletteDarkRedBorderActive, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestBorderActive, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldBorderActive, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeBorderActive, colorPaletteGrapeForeground2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteGreenBorderActive, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenForegroundInverted, colorPaletteLavenderBackground2, colorPaletteLavenderBorderActive, colorPaletteLavenderForeground2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteLightGreenBorderActive, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightTealBackground2, colorPaletteLightTealBorderActive, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacBorderActive, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaBorderActive, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteMarigoldBorderActive, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMinkBackground2, colorPaletteMinkBorderActive, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyBorderActive, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachBorderActive, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkBorderActive, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumBorderActive, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumBorderActive, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinBorderActive, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleBorderActive, colorPalettePurpleForeground2, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteRedBorderActive, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedForegroundInverted, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowForegroundInverted, colorScrollbarOverlay, colorStrokeFocus1, colorStrokeFocus2, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorTransparentStroke, colorTransparentStrokeDisabled, colorTransparentStrokeInteractive, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, definition$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 };