@fluentui/web-components 3.0.0-beta.25 → 3.0.0-beta.26

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.
@@ -3386,70 +3386,70 @@ function uniqueId(prefix = "") {
3386
3386
  return `${prefix}${uniqueIdCounter++}`;
3387
3387
  }
3388
3388
 
3389
- var __defProp$t = Object.defineProperty;
3390
- var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
3391
- var __decorateClass$t = (decorators, target, key, kind) => {
3392
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
3389
+ var __defProp$s = Object.defineProperty;
3390
+ var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
3391
+ var __decorateClass$s = (decorators, target, key, kind) => {
3392
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
3393
3393
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3394
- if (kind && result) __defProp$t(target, key, result);
3394
+ if (kind && result) __defProp$s(target, key, result);
3395
3395
  return result;
3396
3396
  };
3397
3397
  class ARIAGlobalStatesAndProperties {}
3398
- __decorateClass$t([attr({
3398
+ __decorateClass$s([attr({
3399
3399
  attribute: "aria-atomic"
3400
3400
  })], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", 2);
3401
- __decorateClass$t([attr({
3401
+ __decorateClass$s([attr({
3402
3402
  attribute: "aria-busy"
3403
3403
  })], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", 2);
3404
- __decorateClass$t([attr({
3404
+ __decorateClass$s([attr({
3405
3405
  attribute: "aria-controls"
3406
3406
  })], ARIAGlobalStatesAndProperties.prototype, "ariaControls", 2);
3407
- __decorateClass$t([attr({
3407
+ __decorateClass$s([attr({
3408
3408
  attribute: "aria-current"
3409
3409
  })], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", 2);
3410
- __decorateClass$t([attr({
3410
+ __decorateClass$s([attr({
3411
3411
  attribute: "aria-describedby"
3412
3412
  })], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", 2);
3413
- __decorateClass$t([attr({
3413
+ __decorateClass$s([attr({
3414
3414
  attribute: "aria-details"
3415
3415
  })], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", 2);
3416
- __decorateClass$t([attr({
3416
+ __decorateClass$s([attr({
3417
3417
  attribute: "aria-disabled"
3418
3418
  })], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", 2);
3419
- __decorateClass$t([attr({
3419
+ __decorateClass$s([attr({
3420
3420
  attribute: "aria-errormessage"
3421
3421
  })], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", 2);
3422
- __decorateClass$t([attr({
3422
+ __decorateClass$s([attr({
3423
3423
  attribute: "aria-flowto"
3424
3424
  })], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", 2);
3425
- __decorateClass$t([attr({
3425
+ __decorateClass$s([attr({
3426
3426
  attribute: "aria-haspopup"
3427
3427
  })], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", 2);
3428
- __decorateClass$t([attr({
3428
+ __decorateClass$s([attr({
3429
3429
  attribute: "aria-hidden"
3430
3430
  })], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", 2);
3431
- __decorateClass$t([attr({
3431
+ __decorateClass$s([attr({
3432
3432
  attribute: "aria-invalid"
3433
3433
  })], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", 2);
3434
- __decorateClass$t([attr({
3434
+ __decorateClass$s([attr({
3435
3435
  attribute: "aria-keyshortcuts"
3436
3436
  })], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", 2);
3437
- __decorateClass$t([attr({
3437
+ __decorateClass$s([attr({
3438
3438
  attribute: "aria-label"
3439
3439
  })], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", 2);
3440
- __decorateClass$t([attr({
3440
+ __decorateClass$s([attr({
3441
3441
  attribute: "aria-labelledby"
3442
3442
  })], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", 2);
3443
- __decorateClass$t([attr({
3443
+ __decorateClass$s([attr({
3444
3444
  attribute: "aria-live"
3445
3445
  })], ARIAGlobalStatesAndProperties.prototype, "ariaLive", 2);
3446
- __decorateClass$t([attr({
3446
+ __decorateClass$s([attr({
3447
3447
  attribute: "aria-owns"
3448
3448
  })], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", 2);
3449
- __decorateClass$t([attr({
3449
+ __decorateClass$s([attr({
3450
3450
  attribute: "aria-relevant"
3451
3451
  })], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", 2);
3452
- __decorateClass$t([attr({
3452
+ __decorateClass$s([attr({
3453
3453
  attribute: "aria-roledescription"
3454
3454
  })], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", 2);
3455
3455
 
@@ -3618,12 +3618,12 @@ function applyMixins(derivedCtor, ...baseCtors) {
3618
3618
  });
3619
3619
  }
3620
3620
 
3621
- var __defProp$s = Object.defineProperty;
3622
- var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
3623
- var __decorateClass$s = (decorators, target, key, kind) => {
3624
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
3621
+ var __defProp$r = Object.defineProperty;
3622
+ var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
3623
+ var __decorateClass$r = (decorators, target, key, kind) => {
3624
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
3625
3625
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3626
- if (kind && result) __defProp$s(target, key, result);
3626
+ if (kind && result) __defProp$r(target, key, result);
3627
3627
  return result;
3628
3628
  };
3629
3629
  class AccordionItem extends FASTElement {
@@ -3645,23 +3645,23 @@ class AccordionItem extends FASTElement {
3645
3645
  };
3646
3646
  }
3647
3647
  }
3648
- __decorateClass$s([attr({
3648
+ __decorateClass$r([attr({
3649
3649
  attribute: "heading-level",
3650
3650
  mode: "fromView",
3651
3651
  converter: nullableNumberConverter
3652
3652
  })], AccordionItem.prototype, "headinglevel", 2);
3653
- __decorateClass$s([attr({
3653
+ __decorateClass$r([attr({
3654
3654
  mode: "boolean"
3655
3655
  })], AccordionItem.prototype, "expanded", 2);
3656
- __decorateClass$s([attr({
3656
+ __decorateClass$r([attr({
3657
3657
  mode: "boolean"
3658
3658
  })], AccordionItem.prototype, "disabled", 2);
3659
- __decorateClass$s([attr], AccordionItem.prototype, "id", 2);
3660
- __decorateClass$s([attr], AccordionItem.prototype, "size", 2);
3661
- __decorateClass$s([attr({
3659
+ __decorateClass$r([attr], AccordionItem.prototype, "id", 2);
3660
+ __decorateClass$r([attr], AccordionItem.prototype, "size", 2);
3661
+ __decorateClass$r([attr({
3662
3662
  mode: "boolean"
3663
3663
  })], AccordionItem.prototype, "block", 2);
3664
- __decorateClass$s([attr({
3664
+ __decorateClass$r([attr({
3665
3665
  attribute: "expand-icon-position"
3666
3666
  })], AccordionItem.prototype, "expandIconPosition", 2);
3667
3667
  applyMixins(AccordionItem, StartEnd);
@@ -3949,12 +3949,12 @@ const AccordionExpandMode = {
3949
3949
  multi: "multi"
3950
3950
  };
3951
3951
 
3952
- var __defProp$r = Object.defineProperty;
3953
- var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
3954
- var __decorateClass$r = (decorators, target, key, kind) => {
3955
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
3952
+ var __defProp$q = Object.defineProperty;
3953
+ var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
3954
+ var __decorateClass$q = (decorators, target, key, kind) => {
3955
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
3956
3956
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3957
- if (kind && result) __defProp$r(target, key, result);
3957
+ if (kind && result) __defProp$q(target, key, result);
3958
3958
  return result;
3959
3959
  };
3960
3960
  class Accordion extends FASTElement {
@@ -4132,10 +4132,10 @@ class Accordion extends FASTElement {
4132
4132
  }
4133
4133
  }
4134
4134
  }
4135
- __decorateClass$r([attr({
4135
+ __decorateClass$q([attr({
4136
4136
  attribute: "expand-mode"
4137
4137
  })], Accordion.prototype, "expandmode", 2);
4138
- __decorateClass$r([observable], Accordion.prototype, "slottedAccordionItems", 2);
4138
+ __decorateClass$q([observable], Accordion.prototype, "slottedAccordionItems", 2);
4139
4139
 
4140
4140
  const styles$s = css`
4141
4141
  ${display("flex")}
@@ -4158,12 +4158,12 @@ const definition$t = Accordion.compose({
4158
4158
 
4159
4159
  definition$t.define(FluentDesignSystem.registry);
4160
4160
 
4161
- var __defProp$q = Object.defineProperty;
4162
- var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
4163
- var __decorateClass$q = (decorators, target, key, kind) => {
4164
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
4161
+ var __defProp$p = Object.defineProperty;
4162
+ var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
4163
+ var __decorateClass$p = (decorators, target, key, kind) => {
4164
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
4165
4165
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4166
- if (kind && result) __defProp$q(target, key, result);
4166
+ if (kind && result) __defProp$p(target, key, result);
4167
4167
  return result;
4168
4168
  };
4169
4169
  class AnchorButton extends FASTElement {
@@ -4210,31 +4210,31 @@ class AnchorButton extends FASTElement {
4210
4210
  this.removeEventListener("click", this.handleDisabledFocusableClick);
4211
4211
  }
4212
4212
  }
4213
- __decorateClass$q([attr], AnchorButton.prototype, "download", 2);
4214
- __decorateClass$q([attr], AnchorButton.prototype, "href", 2);
4215
- __decorateClass$q([attr], AnchorButton.prototype, "hreflang", 2);
4216
- __decorateClass$q([attr], AnchorButton.prototype, "ping", 2);
4217
- __decorateClass$q([attr], AnchorButton.prototype, "referrerpolicy", 2);
4218
- __decorateClass$q([attr], AnchorButton.prototype, "rel", 2);
4219
- __decorateClass$q([attr], AnchorButton.prototype, "target", 2);
4220
- __decorateClass$q([attr], AnchorButton.prototype, "type", 2);
4221
- __decorateClass$q([observable], AnchorButton.prototype, "defaultSlottedContent", 2);
4222
- __decorateClass$q([attr], AnchorButton.prototype, "appearance", 2);
4223
- __decorateClass$q([attr], AnchorButton.prototype, "shape", 2);
4224
- __decorateClass$q([attr], AnchorButton.prototype, "size", 2);
4225
- __decorateClass$q([attr({
4213
+ __decorateClass$p([attr], AnchorButton.prototype, "download", 2);
4214
+ __decorateClass$p([attr], AnchorButton.prototype, "href", 2);
4215
+ __decorateClass$p([attr], AnchorButton.prototype, "hreflang", 2);
4216
+ __decorateClass$p([attr], AnchorButton.prototype, "ping", 2);
4217
+ __decorateClass$p([attr], AnchorButton.prototype, "referrerpolicy", 2);
4218
+ __decorateClass$p([attr], AnchorButton.prototype, "rel", 2);
4219
+ __decorateClass$p([attr], AnchorButton.prototype, "target", 2);
4220
+ __decorateClass$p([attr], AnchorButton.prototype, "type", 2);
4221
+ __decorateClass$p([observable], AnchorButton.prototype, "defaultSlottedContent", 2);
4222
+ __decorateClass$p([attr], AnchorButton.prototype, "appearance", 2);
4223
+ __decorateClass$p([attr], AnchorButton.prototype, "shape", 2);
4224
+ __decorateClass$p([attr], AnchorButton.prototype, "size", 2);
4225
+ __decorateClass$p([attr({
4226
4226
  attribute: "icon-only",
4227
4227
  mode: "boolean"
4228
4228
  })], AnchorButton.prototype, "iconOnly", 2);
4229
- __decorateClass$q([attr({
4229
+ __decorateClass$p([attr({
4230
4230
  mode: "boolean"
4231
4231
  })], AnchorButton.prototype, "disabled", 2);
4232
- __decorateClass$q([attr({
4232
+ __decorateClass$p([attr({
4233
4233
  attribute: "disabled-focusable",
4234
4234
  mode: "boolean"
4235
4235
  })], AnchorButton.prototype, "disabledFocusable", 2);
4236
4236
  class DelegatesARIALink {}
4237
- __decorateClass$q([attr({
4237
+ __decorateClass$p([attr({
4238
4238
  attribute: "aria-expanded"
4239
4239
  })], DelegatesARIALink.prototype, "ariaExpanded", 2);
4240
4240
  applyMixins(DelegatesARIALink, ARIAGlobalStatesAndProperties);
@@ -4344,12 +4344,12 @@ const AvatarColor = {
4344
4344
  ...AvatarNamedColor
4345
4345
  };
4346
4346
 
4347
- var __defProp$p = Object.defineProperty;
4348
- var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
4349
- var __decorateClass$p = (decorators, target, key, kind) => {
4350
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
4347
+ var __defProp$o = Object.defineProperty;
4348
+ var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
4349
+ var __decorateClass$o = (decorators, target, key, kind) => {
4350
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
4351
4351
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4352
- if (kind && result) __defProp$p(target, key, result);
4352
+ if (kind && result) __defProp$o(target, key, result);
4353
4353
  return result;
4354
4354
  };
4355
4355
  const _Avatar = class _Avatar extends FASTElement {
@@ -4385,16 +4385,16 @@ const _Avatar = class _Avatar extends FASTElement {
4385
4385
  * An array of the available Avatar named colors
4386
4386
  */
4387
4387
  _Avatar.colors = Object.values(AvatarNamedColor);
4388
- __decorateClass$p([attr], _Avatar.prototype, "name", 2);
4389
- __decorateClass$p([attr], _Avatar.prototype, "initials", 2);
4390
- __decorateClass$p([attr({
4388
+ __decorateClass$o([attr], _Avatar.prototype, "name", 2);
4389
+ __decorateClass$o([attr], _Avatar.prototype, "initials", 2);
4390
+ __decorateClass$o([attr({
4391
4391
  converter: nullableNumberConverter
4392
4392
  })], _Avatar.prototype, "size", 2);
4393
- __decorateClass$p([attr], _Avatar.prototype, "shape", 2);
4394
- __decorateClass$p([attr], _Avatar.prototype, "active", 2);
4395
- __decorateClass$p([attr], _Avatar.prototype, "appearance", 2);
4396
- __decorateClass$p([attr], _Avatar.prototype, "color", 2);
4397
- __decorateClass$p([attr({
4393
+ __decorateClass$o([attr], _Avatar.prototype, "shape", 2);
4394
+ __decorateClass$o([attr], _Avatar.prototype, "active", 2);
4395
+ __decorateClass$o([attr], _Avatar.prototype, "appearance", 2);
4396
+ __decorateClass$o([attr], _Avatar.prototype, "color", 2);
4397
+ __decorateClass$o([attr({
4398
4398
  attribute: "color-id"
4399
4399
  })], _Avatar.prototype, "colorId", 2);
4400
4400
  let Avatar = _Avatar;
@@ -4453,12 +4453,12 @@ const BadgeColor = {
4453
4453
  warning: "warning"
4454
4454
  };
4455
4455
 
4456
- var __defProp$o = Object.defineProperty;
4457
- var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
4458
- var __decorateClass$o = (decorators, target, key, kind) => {
4459
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
4456
+ var __defProp$n = Object.defineProperty;
4457
+ var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
4458
+ var __decorateClass$n = (decorators, target, key, kind) => {
4459
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
4460
4460
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4461
- if (kind && result) __defProp$o(target, key, result);
4461
+ if (kind && result) __defProp$n(target, key, result);
4462
4462
  return result;
4463
4463
  };
4464
4464
  class Badge extends FASTElement {
@@ -4468,10 +4468,10 @@ class Badge extends FASTElement {
4468
4468
  this.color = BadgeColor.brand;
4469
4469
  }
4470
4470
  }
4471
- __decorateClass$o([attr], Badge.prototype, "appearance", 2);
4472
- __decorateClass$o([attr], Badge.prototype, "color", 2);
4473
- __decorateClass$o([attr], Badge.prototype, "shape", 2);
4474
- __decorateClass$o([attr], Badge.prototype, "size", 2);
4471
+ __decorateClass$n([attr], Badge.prototype, "appearance", 2);
4472
+ __decorateClass$n([attr], Badge.prototype, "color", 2);
4473
+ __decorateClass$n([attr], Badge.prototype, "shape", 2);
4474
+ __decorateClass$n([attr], Badge.prototype, "size", 2);
4475
4475
  applyMixins(Badge, StartEnd);
4476
4476
 
4477
4477
  const textPadding = spacingHorizontalXXS;
@@ -4855,12 +4855,12 @@ const ButtonType = {
4855
4855
  button: "button"
4856
4856
  };
4857
4857
 
4858
- var __defProp$n = Object.defineProperty;
4859
- var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
4860
- var __decorateClass$n = (decorators, target, key, kind) => {
4861
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
4858
+ var __defProp$m = Object.defineProperty;
4859
+ var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
4860
+ var __decorateClass$m = (decorators, target, key, kind) => {
4861
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
4862
4862
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4863
- if (kind && result) __defProp$n(target, key, result);
4863
+ if (kind && result) __defProp$m(target, key, result);
4864
4864
  return result;
4865
4865
  };
4866
4866
  class Button extends FASTElement {
@@ -5064,46 +5064,46 @@ class Button extends FASTElement {
5064
5064
  * @public
5065
5065
  */
5066
5066
  Button.formAssociated = true;
5067
- __decorateClass$n([attr], Button.prototype, "appearance", 2);
5068
- __decorateClass$n([attr({
5067
+ __decorateClass$m([attr], Button.prototype, "appearance", 2);
5068
+ __decorateClass$m([attr({
5069
5069
  mode: "boolean"
5070
5070
  })], Button.prototype, "autofocus", 2);
5071
- __decorateClass$n([observable], Button.prototype, "defaultSlottedContent", 2);
5072
- __decorateClass$n([attr({
5071
+ __decorateClass$m([observable], Button.prototype, "defaultSlottedContent", 2);
5072
+ __decorateClass$m([attr({
5073
5073
  mode: "boolean"
5074
5074
  })], Button.prototype, "disabled", 2);
5075
- __decorateClass$n([attr({
5075
+ __decorateClass$m([attr({
5076
5076
  attribute: "disabled-focusable",
5077
5077
  mode: "boolean"
5078
5078
  })], Button.prototype, "disabledFocusable", 2);
5079
- __decorateClass$n([attr({
5079
+ __decorateClass$m([attr({
5080
5080
  attribute: "formaction"
5081
5081
  })], Button.prototype, "formAction", 2);
5082
- __decorateClass$n([attr({
5082
+ __decorateClass$m([attr({
5083
5083
  attribute: "form"
5084
5084
  })], Button.prototype, "formAttribute", 2);
5085
- __decorateClass$n([attr({
5085
+ __decorateClass$m([attr({
5086
5086
  attribute: "formenctype"
5087
5087
  })], Button.prototype, "formEnctype", 2);
5088
- __decorateClass$n([attr({
5088
+ __decorateClass$m([attr({
5089
5089
  attribute: "formmethod"
5090
5090
  })], Button.prototype, "formMethod", 2);
5091
- __decorateClass$n([attr({
5091
+ __decorateClass$m([attr({
5092
5092
  attribute: "formnovalidate",
5093
5093
  mode: "boolean"
5094
5094
  })], Button.prototype, "formNoValidate", 2);
5095
- __decorateClass$n([attr({
5095
+ __decorateClass$m([attr({
5096
5096
  attribute: "formtarget"
5097
5097
  })], Button.prototype, "formTarget", 2);
5098
- __decorateClass$n([attr({
5098
+ __decorateClass$m([attr({
5099
5099
  attribute: "icon-only",
5100
5100
  mode: "boolean"
5101
5101
  })], Button.prototype, "iconOnly", 2);
5102
- __decorateClass$n([attr], Button.prototype, "name", 2);
5103
- __decorateClass$n([attr], Button.prototype, "shape", 2);
5104
- __decorateClass$n([attr], Button.prototype, "size", 2);
5105
- __decorateClass$n([attr], Button.prototype, "type", 2);
5106
- __decorateClass$n([attr], Button.prototype, "value", 2);
5102
+ __decorateClass$m([attr], Button.prototype, "name", 2);
5103
+ __decorateClass$m([attr], Button.prototype, "shape", 2);
5104
+ __decorateClass$m([attr], Button.prototype, "size", 2);
5105
+ __decorateClass$m([attr], Button.prototype, "type", 2);
5106
+ __decorateClass$m([attr], Button.prototype, "value", 2);
5107
5107
  applyMixins(Button, StartEnd);
5108
5108
 
5109
5109
  const styles$o = css`
@@ -5139,15 +5139,15 @@ function toggleState(elementInternals, state, force) {
5139
5139
  elementInternals.states.delete(state);
5140
5140
  }
5141
5141
 
5142
- var __defProp$m = Object.defineProperty;
5143
- var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
5144
- var __decorateClass$m = (decorators, target, key, kind) => {
5145
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
5142
+ var __defProp$l = Object.defineProperty;
5143
+ var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
5144
+ var __decorateClass$l = (decorators, target, key, kind) => {
5145
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
5146
5146
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5147
- if (kind && result) __defProp$m(target, key, result);
5147
+ if (kind && result) __defProp$l(target, key, result);
5148
5148
  return result;
5149
5149
  };
5150
- class Checkbox extends FASTElement {
5150
+ class BaseCheckbox extends FASTElement {
5151
5151
  constructor() {
5152
5152
  super();
5153
5153
  this.disabled = false;
@@ -5470,39 +5470,40 @@ class Checkbox extends FASTElement {
5470
5470
  *
5471
5471
  * @public
5472
5472
  */
5473
- Checkbox.formAssociated = true;
5474
- __decorateClass$m([attr({
5473
+ BaseCheckbox.formAssociated = true;
5474
+ __decorateClass$l([attr({
5475
5475
  mode: "boolean"
5476
- })], Checkbox.prototype, "autofocus", 2);
5477
- __decorateClass$m([attr({
5476
+ })], BaseCheckbox.prototype, "autofocus", 2);
5477
+ __decorateClass$l([attr({
5478
5478
  mode: "boolean"
5479
- })], Checkbox.prototype, "disabled", 2);
5480
- __decorateClass$m([attr({
5479
+ })], BaseCheckbox.prototype, "disabled", 2);
5480
+ __decorateClass$l([attr({
5481
5481
  attribute: "form"
5482
- })], Checkbox.prototype, "formAttribute", 2);
5483
- __decorateClass$m([observable], Checkbox.prototype, "indeterminate", 2);
5484
- __decorateClass$m([attr({
5482
+ })], BaseCheckbox.prototype, "formAttribute", 2);
5483
+ __decorateClass$l([observable], BaseCheckbox.prototype, "indeterminate", 2);
5484
+ __decorateClass$l([attr({
5485
5485
  attribute: "checked",
5486
5486
  mode: "boolean"
5487
- })], Checkbox.prototype, "initialChecked", 2);
5488
- __decorateClass$m([attr({
5487
+ })], BaseCheckbox.prototype, "initialChecked", 2);
5488
+ __decorateClass$l([attr({
5489
5489
  attribute: "value",
5490
5490
  mode: "fromView"
5491
- })], Checkbox.prototype, "initialValue", 2);
5492
- __decorateClass$m([attr], Checkbox.prototype, "name", 2);
5493
- __decorateClass$m([attr({
5491
+ })], BaseCheckbox.prototype, "initialValue", 2);
5492
+ __decorateClass$l([attr], BaseCheckbox.prototype, "name", 2);
5493
+ __decorateClass$l([attr({
5494
5494
  mode: "boolean"
5495
- })], Checkbox.prototype, "required", 2);
5496
- __decorateClass$m([attr], Checkbox.prototype, "shape", 2);
5497
- __decorateClass$m([attr], Checkbox.prototype, "size", 2);
5495
+ })], BaseCheckbox.prototype, "required", 2);
5496
+ class Checkbox extends BaseCheckbox {}
5497
+ __decorateClass$l([attr], Checkbox.prototype, "shape", 2);
5498
+ __decorateClass$l([attr], Checkbox.prototype, "size", 2);
5498
5499
 
5499
- const checkedState = css.partial`:is([state--checked], :state(checked))`;
5500
+ const checkedState$1 = css.partial`:is([state--checked], :state(checked))`;
5500
5501
  const indeterminateState = css.partial`:is([state--indeterminate], :state(indeterminate))`;
5501
5502
  const styles$n = css`
5502
5503
  ${display("inline-flex")}
5503
5504
 
5504
- :host{--size:16px;background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${colorNeutralStrokeAccessibleHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(${checkedState}:hover){background-color:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandStrokeHover}}:host(${checkedState}:active){background-color:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandStrokePressed}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${strokeWidthThick} solid ${colorTransparentStroke};border-radius:${borderRadiusMedium}}:host(:not([slot='input']):focus-visible)::after{border-color:${colorStrokeFocus2}}.indeterminate-indicator,.checked-indicator{color:${colorNeutralForegroundInverted};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${checkedState})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${checkedState}),:host(${indeterminateState}){border-color:${colorCompoundBrandStroke}}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:${colorCompoundBrandBackground}}:host(${indeterminateState}) .indeterminate-indicator{border-radius:${borderRadiusSmall};position:absolute;width:calc(var(--size) / 2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${borderRadiusCircular}}:host([disabled]),:host([disabled]${checkedState}){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}:host([disabled]){cursor:unset}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:${colorNeutralStrokeDisabled}}:host([disabled]${checkedState}) .checked-indicator{color:${colorNeutralStrokeDisabled}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
5505
- :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${checkedState}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:FieldText}:host(${checkedState}:not([disabled]):hover),:host(${indeterminateState}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${checkedState}) .checked-indicator{color:GrayText}`));
5505
+ :host{--size:16px;background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${colorNeutralStrokeAccessibleHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(${checkedState$1}:hover){background-color:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandStrokeHover}}:host(${checkedState$1}:active){background-color:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandStrokePressed}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${strokeWidthThick} solid ${colorTransparentStroke};border-radius:${borderRadiusMedium}}:host(:not([slot='input']):focus-visible)::after{border-color:${colorStrokeFocus2}}.indeterminate-indicator,.checked-indicator{color:${colorNeutralForegroundInverted};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${checkedState$1})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${checkedState$1}),:host(${indeterminateState}){border-color:${colorCompoundBrandStroke}}:host(${checkedState$1}),:host(${indeterminateState}) .indeterminate-indicator{background-color:${colorCompoundBrandBackground}}:host(${indeterminateState}) .indeterminate-indicator{border-radius:${borderRadiusSmall};position:absolute;width:calc(var(--size) / 2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${borderRadiusCircular}}:host([disabled]),:host([disabled]${checkedState$1}){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}:host([disabled]){cursor:unset}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:${colorNeutralStrokeDisabled}}:host([disabled]${checkedState$1}) .checked-indicator{color:${colorNeutralStrokeDisabled}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
5506
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${checkedState$1}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${checkedState$1}),:host(${indeterminateState}) .indeterminate-indicator{background-color:FieldText}:host(${checkedState$1}:not([disabled]):hover),:host(${indeterminateState}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${checkedState$1}) .checked-indicator{color:GrayText}`));
5506
5507
 
5507
5508
  const checkedIndicator = html.partial( /* html */
5508
5509
  `
@@ -5560,12 +5561,12 @@ const definition$n = CompoundButton.compose({
5560
5561
 
5561
5562
  definition$n.define(FluentDesignSystem.registry);
5562
5563
 
5563
- var __defProp$l = Object.defineProperty;
5564
- var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
5565
- var __decorateClass$l = (decorators, target, key, kind) => {
5566
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
5564
+ var __defProp$k = Object.defineProperty;
5565
+ var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
5566
+ var __decorateClass$k = (decorators, target, key, kind) => {
5567
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
5567
5568
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5568
- if (kind && result) __defProp$l(target, key, result);
5569
+ if (kind && result) __defProp$k(target, key, result);
5569
5570
  return result;
5570
5571
  };
5571
5572
  class CounterBadge extends FASTElement {
@@ -5596,22 +5597,22 @@ class CounterBadge extends FASTElement {
5596
5597
  return;
5597
5598
  }
5598
5599
  }
5599
- __decorateClass$l([attr], CounterBadge.prototype, "appearance", 2);
5600
- __decorateClass$l([attr], CounterBadge.prototype, "color", 2);
5601
- __decorateClass$l([attr], CounterBadge.prototype, "shape", 2);
5602
- __decorateClass$l([attr], CounterBadge.prototype, "size", 2);
5603
- __decorateClass$l([attr({
5600
+ __decorateClass$k([attr], CounterBadge.prototype, "appearance", 2);
5601
+ __decorateClass$k([attr], CounterBadge.prototype, "color", 2);
5602
+ __decorateClass$k([attr], CounterBadge.prototype, "shape", 2);
5603
+ __decorateClass$k([attr], CounterBadge.prototype, "size", 2);
5604
+ __decorateClass$k([attr({
5604
5605
  converter: nullableNumberConverter
5605
5606
  })], CounterBadge.prototype, "count", 2);
5606
- __decorateClass$l([attr({
5607
+ __decorateClass$k([attr({
5607
5608
  attribute: "overflow-count",
5608
5609
  converter: nullableNumberConverter
5609
5610
  })], CounterBadge.prototype, "overflowCount", 2);
5610
- __decorateClass$l([attr({
5611
+ __decorateClass$k([attr({
5611
5612
  attribute: "show-zero",
5612
5613
  mode: "boolean"
5613
5614
  })], CounterBadge.prototype, "showZero", 2);
5614
- __decorateClass$l([attr({
5615
+ __decorateClass$k([attr({
5615
5616
  mode: "boolean"
5616
5617
  })], CounterBadge.prototype, "dot", 2);
5617
5618
  applyMixins(CounterBadge, StartEnd);
@@ -5645,12 +5646,12 @@ const DialogType = {
5645
5646
  alert: "alert"
5646
5647
  };
5647
5648
 
5648
- var __defProp$k = Object.defineProperty;
5649
- var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
5650
- var __decorateClass$k = (decorators, target, key, kind) => {
5651
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
5649
+ var __defProp$j = Object.defineProperty;
5650
+ var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
5651
+ var __decorateClass$j = (decorators, target, key, kind) => {
5652
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
5652
5653
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5653
- if (kind && result) __defProp$k(target, key, result);
5654
+ if (kind && result) __defProp$j(target, key, result);
5654
5655
  return result;
5655
5656
  };
5656
5657
  class Dialog extends FASTElement {
@@ -5718,14 +5719,14 @@ class Dialog extends FASTElement {
5718
5719
  return true;
5719
5720
  }
5720
5721
  }
5721
- __decorateClass$k([observable], Dialog.prototype, "dialog", 2);
5722
- __decorateClass$k([attr({
5722
+ __decorateClass$j([observable], Dialog.prototype, "dialog", 2);
5723
+ __decorateClass$j([attr({
5723
5724
  attribute: "aria-describedby"
5724
5725
  })], Dialog.prototype, "ariaDescribedby", 2);
5725
- __decorateClass$k([attr({
5726
+ __decorateClass$j([attr({
5726
5727
  attribute: "aria-labelledby"
5727
5728
  })], Dialog.prototype, "ariaLabelledby", 2);
5728
- __decorateClass$k([attr], Dialog.prototype, "type", 2);
5729
+ __decorateClass$j([attr], Dialog.prototype, "type", 2);
5729
5730
 
5730
5731
  const template$l = html`<dialog role="${x => x.type === DialogType.alert ? "alertdialog" : "dialog"}" type="${x => x.type}" class="dialog" part="dialog" aria-modal="${x => x.type === DialogType.modal || x.type === DialogType.alert ? "true" : void 0}" aria-describedby="${x => x.ariaDescribedby}" aria-labelledby="${x => x.ariaLabelledby}" aria-label="${x => x.ariaLabel}" @click="${(x, c) => x.clickHandler(c.event)}" @cancel="${(x, c) => x.type === DialogType.alert ? c.event.preventDefault() : x.hide()}" ${ref("dialog")}><slot></slot></dialog>`;
5731
5732
 
@@ -5741,12 +5742,12 @@ const definition$l = Dialog.compose({
5741
5742
 
5742
5743
  definition$l.define(FluentDesignSystem.registry);
5743
5744
 
5744
- var __defProp$j = Object.defineProperty;
5745
- var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
5746
- var __decorateClass$j = (decorators, target, key, kind) => {
5747
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
5745
+ var __defProp$i = Object.defineProperty;
5746
+ var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
5747
+ var __decorateClass$i = (decorators, target, key, kind) => {
5748
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
5748
5749
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5749
- if (kind && result) __defProp$j(target, key, result);
5750
+ if (kind && result) __defProp$i(target, key, result);
5750
5751
  return result;
5751
5752
  };
5752
5753
  class DialogBody extends FASTElement {
@@ -5755,7 +5756,7 @@ class DialogBody extends FASTElement {
5755
5756
  this.noTitleAction = false;
5756
5757
  }
5757
5758
  }
5758
- __decorateClass$j([attr({
5759
+ __decorateClass$i([attr({
5759
5760
  mode: "boolean",
5760
5761
  attribute: "no-title-action"
5761
5762
  })], DialogBody.prototype, "noTitleAction", 2);
@@ -5801,12 +5802,12 @@ const DividerRole = {
5801
5802
  };
5802
5803
  const DividerOrientation = Orientation;
5803
5804
 
5804
- var __defProp$i = Object.defineProperty;
5805
- var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
5806
- var __decorateClass$i = (decorators, target, key, kind) => {
5807
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
5805
+ var __defProp$h = Object.defineProperty;
5806
+ var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
5807
+ var __decorateClass$h = (decorators, target, key, kind) => {
5808
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
5808
5809
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5809
- if (kind && result) __defProp$i(target, key, result);
5810
+ if (kind && result) __defProp$h(target, key, result);
5810
5811
  return result;
5811
5812
  };
5812
5813
  class Divider extends FASTElement {
@@ -5816,13 +5817,13 @@ class Divider extends FASTElement {
5816
5817
  this.orientation = DividerOrientation.horizontal;
5817
5818
  }
5818
5819
  }
5819
- __decorateClass$i([attr], Divider.prototype, "role", 2);
5820
- __decorateClass$i([attr], Divider.prototype, "orientation", 2);
5821
- __decorateClass$i([attr({
5820
+ __decorateClass$h([attr], Divider.prototype, "role", 2);
5821
+ __decorateClass$h([attr], Divider.prototype, "orientation", 2);
5822
+ __decorateClass$h([attr({
5822
5823
  attribute: "align-content"
5823
5824
  })], Divider.prototype, "alignContent", 2);
5824
- __decorateClass$i([attr], Divider.prototype, "appearance", 2);
5825
- __decorateClass$i([attr({
5825
+ __decorateClass$h([attr], Divider.prototype, "appearance", 2);
5826
+ __decorateClass$h([attr({
5826
5827
  mode: "boolean"
5827
5828
  })], Divider.prototype, "inset", 2);
5828
5829
 
@@ -5864,12 +5865,12 @@ const ValidationFlags = {
5864
5865
  valid: "valid"
5865
5866
  };
5866
5867
 
5867
- var __defProp$h = Object.defineProperty;
5868
- var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
5869
- var __decorateClass$h = (decorators, target, key, kind) => {
5870
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
5868
+ var __defProp$g = Object.defineProperty;
5869
+ var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
5870
+ var __decorateClass$g = (decorators, target, key, kind) => {
5871
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
5871
5872
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5872
- if (kind && result) __defProp$h(target, key, result);
5873
+ if (kind && result) __defProp$g(target, key, result);
5873
5874
  return result;
5874
5875
  };
5875
5876
  class Field extends FASTElement {
@@ -5989,11 +5990,11 @@ class Field extends FASTElement {
5989
5990
  }
5990
5991
  }
5991
5992
  }
5992
- __decorateClass$h([attr({
5993
+ __decorateClass$g([attr({
5993
5994
  attribute: "label-position"
5994
5995
  })], Field.prototype, "labelPosition", 2);
5995
- __decorateClass$h([observable], Field.prototype, "messageSlot", 2);
5996
- __decorateClass$h([observable], Field.prototype, "slottedInputs", 2);
5996
+ __decorateClass$g([observable], Field.prototype, "messageSlot", 2);
5997
+ __decorateClass$g([observable], Field.prototype, "slottedInputs", 2);
5997
5998
 
5998
5999
  const disabledState = css.partial`:is([state--disabled], :state(disabled))`;
5999
6000
  const focusVisibleState = css.partial`:is([state--focus-visible], :state(focus-visible))`;
@@ -6036,26 +6037,26 @@ const definition$i = Field.compose({
6036
6037
 
6037
6038
  definition$i.define(FluentDesignSystem.registry);
6038
6039
 
6039
- var __defProp$g = Object.defineProperty;
6040
- var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
6041
- var __decorateClass$g = (decorators, target, key, kind) => {
6042
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
6040
+ var __defProp$f = Object.defineProperty;
6041
+ var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
6042
+ var __decorateClass$f = (decorators, target, key, kind) => {
6043
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
6043
6044
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6044
- if (kind && result) __defProp$g(target, key, result);
6045
+ if (kind && result) __defProp$f(target, key, result);
6045
6046
  return result;
6046
6047
  };
6047
6048
  class Image extends FASTElement {}
6048
- __decorateClass$g([attr({
6049
+ __decorateClass$f([attr({
6049
6050
  mode: "boolean"
6050
6051
  })], Image.prototype, "block", 2);
6051
- __decorateClass$g([attr({
6052
+ __decorateClass$f([attr({
6052
6053
  mode: "boolean"
6053
6054
  })], Image.prototype, "bordered", 2);
6054
- __decorateClass$g([attr({
6055
+ __decorateClass$f([attr({
6055
6056
  mode: "boolean"
6056
6057
  })], Image.prototype, "shadow", 2);
6057
- __decorateClass$g([attr], Image.prototype, "fit", 2);
6058
- __decorateClass$g([attr], Image.prototype, "shape", 2);
6058
+ __decorateClass$f([attr], Image.prototype, "fit", 2);
6059
+ __decorateClass$f([attr], Image.prototype, "shape", 2);
6059
6060
 
6060
6061
  const template$h = html`<slot></slot>`;
6061
6062
 
@@ -6070,12 +6071,12 @@ const definition$h = Image.compose({
6070
6071
 
6071
6072
  definition$h.define(FluentDesignSystem.registry);
6072
6073
 
6073
- var __defProp$f = Object.defineProperty;
6074
- var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
6075
- var __decorateClass$f = (decorators, target, key, kind) => {
6076
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
6074
+ var __defProp$e = Object.defineProperty;
6075
+ var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
6076
+ var __decorateClass$e = (decorators, target, key, kind) => {
6077
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
6077
6078
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6078
- if (kind && result) __defProp$f(target, key, result);
6079
+ if (kind && result) __defProp$e(target, key, result);
6079
6080
  return result;
6080
6081
  };
6081
6082
  class Label extends FASTElement {
@@ -6085,12 +6086,12 @@ class Label extends FASTElement {
6085
6086
  this.required = false;
6086
6087
  }
6087
6088
  }
6088
- __decorateClass$f([attr], Label.prototype, "size", 2);
6089
- __decorateClass$f([attr], Label.prototype, "weight", 2);
6090
- __decorateClass$f([attr({
6089
+ __decorateClass$e([attr], Label.prototype, "size", 2);
6090
+ __decorateClass$e([attr], Label.prototype, "weight", 2);
6091
+ __decorateClass$e([attr({
6091
6092
  mode: "boolean"
6092
6093
  })], Label.prototype, "disabled", 2);
6093
- __decorateClass$f([attr({
6094
+ __decorateClass$e([attr({
6094
6095
  mode: "boolean"
6095
6096
  })], Label.prototype, "required", 2);
6096
6097
 
@@ -7066,12 +7067,12 @@ const MenuItemRole = {
7066
7067
  [MenuItemRole.menuitemradio]: "menuitemradio"
7067
7068
  });
7068
7069
 
7069
- var __defProp$e = Object.defineProperty;
7070
- var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
7071
- var __decorateClass$e = (decorators, target, key, kind) => {
7072
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
7070
+ var __defProp$d = Object.defineProperty;
7071
+ var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
7072
+ var __decorateClass$d = (decorators, target, key, kind) => {
7073
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
7073
7074
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7074
- if (kind && result) __defProp$e(target, key, result);
7075
+ if (kind && result) __defProp$d(target, key, result);
7075
7076
  return result;
7076
7077
  };
7077
7078
  class MenuItem extends FASTElement {
@@ -7276,21 +7277,21 @@ class MenuItem extends FASTElement {
7276
7277
  });
7277
7278
  }
7278
7279
  }
7279
- __decorateClass$e([attr({
7280
+ __decorateClass$d([attr({
7280
7281
  mode: "boolean"
7281
7282
  })], MenuItem.prototype, "disabled", 2);
7282
- __decorateClass$e([attr({
7283
+ __decorateClass$d([attr({
7283
7284
  mode: "boolean"
7284
7285
  })], MenuItem.prototype, "expanded", 2);
7285
- __decorateClass$e([attr], MenuItem.prototype, "role", 2);
7286
- __decorateClass$e([attr({
7286
+ __decorateClass$d([attr], MenuItem.prototype, "role", 2);
7287
+ __decorateClass$d([attr({
7287
7288
  mode: "boolean"
7288
7289
  })], MenuItem.prototype, "checked", 2);
7289
- __decorateClass$e([attr({
7290
+ __decorateClass$d([attr({
7290
7291
  mode: "boolean"
7291
7292
  })], MenuItem.prototype, "hidden", 2);
7292
- __decorateClass$e([observable], MenuItem.prototype, "slottedSubmenu", 2);
7293
- __decorateClass$e([observable], MenuItem.prototype, "submenu", 2);
7293
+ __decorateClass$d([observable], MenuItem.prototype, "slottedSubmenu", 2);
7294
+ __decorateClass$d([observable], MenuItem.prototype, "submenu", 2);
7294
7295
  applyMixins(MenuItem, StartEnd);
7295
7296
 
7296
7297
  const styles$e = css`
@@ -7320,12 +7321,12 @@ const definition$e = MenuItem.compose({
7320
7321
 
7321
7322
  definition$e.define(FluentDesignSystem.registry);
7322
7323
 
7323
- var __defProp$d = Object.defineProperty;
7324
- var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
7325
- var __decorateClass$d = (decorators, target, key, kind) => {
7326
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
7324
+ var __defProp$c = Object.defineProperty;
7325
+ var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
7326
+ var __decorateClass$c = (decorators, target, key, kind) => {
7327
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
7327
7328
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7328
- if (kind && result) __defProp$d(target, key, result);
7329
+ if (kind && result) __defProp$c(target, key, result);
7329
7330
  return result;
7330
7331
  };
7331
7332
  const _MenuList = class _MenuList extends FASTElement {
@@ -7566,7 +7567,7 @@ const _MenuList = class _MenuList extends FASTElement {
7566
7567
  }
7567
7568
  };
7568
7569
  _MenuList.focusableElementRoles = MenuItemRole;
7569
- __decorateClass$d([observable], _MenuList.prototype, "items", 2);
7570
+ __decorateClass$c([observable], _MenuList.prototype, "items", 2);
7570
7571
  let MenuList = _MenuList;
7571
7572
 
7572
7573
  const styles$d = css`
@@ -7587,12 +7588,12 @@ const definition$d = MenuList.compose({
7587
7588
 
7588
7589
  definition$d.define(FluentDesignSystem.registry);
7589
7590
 
7590
- var __defProp$c = Object.defineProperty;
7591
- var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
7592
- var __decorateClass$c = (decorators, target, key, kind) => {
7593
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
7591
+ var __defProp$b = Object.defineProperty;
7592
+ var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
7593
+ var __decorateClass$b = (decorators, target, key, kind) => {
7594
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
7594
7595
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7595
- if (kind && result) __defProp$c(target, key, result);
7596
+ if (kind && result) __defProp$b(target, key, result);
7596
7597
  return result;
7597
7598
  };
7598
7599
  class Menu extends FASTElement {
@@ -7928,27 +7929,27 @@ class Menu extends FASTElement {
7928
7929
  }
7929
7930
  }
7930
7931
  }
7931
- __decorateClass$c([observable, attr({
7932
+ __decorateClass$b([observable, attr({
7932
7933
  attribute: "open-on-hover",
7933
7934
  mode: "boolean"
7934
7935
  })], Menu.prototype, "openOnHover", 2);
7935
- __decorateClass$c([observable, attr({
7936
+ __decorateClass$b([observable, attr({
7936
7937
  attribute: "open-on-context",
7937
7938
  mode: "boolean"
7938
7939
  })], Menu.prototype, "openOnContext", 2);
7939
- __decorateClass$c([observable, attr({
7940
+ __decorateClass$b([observable, attr({
7940
7941
  attribute: "close-on-scroll",
7941
7942
  mode: "boolean"
7942
7943
  })], Menu.prototype, "closeOnScroll", 2);
7943
- __decorateClass$c([observable, attr({
7944
+ __decorateClass$b([observable, attr({
7944
7945
  attribute: "persist-on-item-click",
7945
7946
  mode: "boolean"
7946
7947
  })], Menu.prototype, "persistOnItemClick", 2);
7947
- __decorateClass$c([observable, attr({
7948
+ __decorateClass$b([observable, attr({
7948
7949
  mode: "boolean"
7949
7950
  })], Menu.prototype, "open", 2);
7950
- __decorateClass$c([observable], Menu.prototype, "slottedMenuList", 2);
7951
- __decorateClass$c([observable], Menu.prototype, "slottedTriggers", 2);
7951
+ __decorateClass$b([observable], Menu.prototype, "slottedMenuList", 2);
7952
+ __decorateClass$b([observable], Menu.prototype, "slottedTriggers", 2);
7952
7953
 
7953
7954
  const styles$c = css`
7954
7955
  :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`;
@@ -7972,12 +7973,12 @@ const definition$c = Menu.compose({
7972
7973
 
7973
7974
  definition$c.define(FluentDesignSystem.registry);
7974
7975
 
7975
- var __defProp$b = Object.defineProperty;
7976
- var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
7977
- var __decorateClass$b = (decorators, target, key, kind) => {
7978
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
7976
+ var __defProp$a = Object.defineProperty;
7977
+ var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
7978
+ var __decorateClass$a = (decorators, target, key, kind) => {
7979
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
7979
7980
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7980
- if (kind && result) __defProp$b(target, key, result);
7981
+ if (kind && result) __defProp$a(target, key, result);
7981
7982
  return result;
7982
7983
  };
7983
7984
  class BaseProgress extends FASTElement {
@@ -8013,23 +8014,23 @@ class BaseProgress extends FASTElement {
8013
8014
  this.percentComplete = range === 0 ? 0 : Math.fround((value - min) / range * 100);
8014
8015
  }
8015
8016
  }
8016
- __decorateClass$b([attr({
8017
+ __decorateClass$a([attr({
8017
8018
  converter: nullableNumberConverter
8018
8019
  })], BaseProgress.prototype, "value", 2);
8019
- __decorateClass$b([attr({
8020
+ __decorateClass$a([attr({
8020
8021
  converter: nullableNumberConverter
8021
8022
  })], BaseProgress.prototype, "min", 2);
8022
- __decorateClass$b([attr({
8023
+ __decorateClass$a([attr({
8023
8024
  converter: nullableNumberConverter
8024
8025
  })], BaseProgress.prototype, "max", 2);
8025
- __decorateClass$b([observable], BaseProgress.prototype, "percentComplete", 2);
8026
+ __decorateClass$a([observable], BaseProgress.prototype, "percentComplete", 2);
8026
8027
 
8027
- var __defProp$a = Object.defineProperty;
8028
- var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
8029
- var __decorateClass$a = (decorators, target, key, kind) => {
8030
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
8028
+ var __defProp$9 = Object.defineProperty;
8029
+ var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
8030
+ var __decorateClass$9 = (decorators, target, key, kind) => {
8031
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
8031
8032
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8032
- if (kind && result) __defProp$a(target, key, result);
8033
+ if (kind && result) __defProp$9(target, key, result);
8033
8034
  return result;
8034
8035
  };
8035
8036
  class ProgressBar extends BaseProgress {
@@ -8038,9 +8039,9 @@ class ProgressBar extends BaseProgress {
8038
8039
  this.validationState = null;
8039
8040
  }
8040
8041
  }
8041
- __decorateClass$a([attr], ProgressBar.prototype, "thickness", 2);
8042
- __decorateClass$a([attr], ProgressBar.prototype, "shape", 2);
8043
- __decorateClass$a([attr({
8042
+ __decorateClass$9([attr], ProgressBar.prototype, "thickness", 2);
8043
+ __decorateClass$9([attr], ProgressBar.prototype, "shape", 2);
8044
+ __decorateClass$9([attr({
8044
8045
  attribute: "validation-state"
8045
8046
  })], ProgressBar.prototype, "validationState", 2);
8046
8047
 
@@ -8520,12 +8521,12 @@ class FormAssociatedRadio extends CheckableFormAssociated(_Radio) {
8520
8521
  }
8521
8522
  }
8522
8523
 
8523
- var __defProp$9 = Object.defineProperty;
8524
- var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
8525
- var __decorateClass$9 = (decorators, target, key, kind) => {
8526
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
8524
+ var __defProp$8 = Object.defineProperty;
8525
+ var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
8526
+ var __decorateClass$8 = (decorators, target, key, kind) => {
8527
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
8527
8528
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8528
- if (kind && result) __defProp$9(target, key, result);
8529
+ if (kind && result) __defProp$8(target, key, result);
8529
8530
  return result;
8530
8531
  };
8531
8532
  class Radio extends FormAssociatedRadio {
@@ -8592,17 +8593,17 @@ class Radio extends FormAssociatedRadio {
8592
8593
  return true;
8593
8594
  }
8594
8595
  }
8595
- __decorateClass$9([observable], Radio.prototype, "name", 2);
8596
- __decorateClass$9([observable], Radio.prototype, "defaultSlottedNodes", 2);
8596
+ __decorateClass$8([observable], Radio.prototype, "name", 2);
8597
+ __decorateClass$8([observable], Radio.prototype, "defaultSlottedNodes", 2);
8597
8598
 
8598
8599
  const RadioGroupOrientation = Orientation;
8599
8600
 
8600
- var __defProp$8 = Object.defineProperty;
8601
- var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
8602
- var __decorateClass$8 = (decorators, target, key, kind) => {
8603
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
8601
+ var __defProp$7 = Object.defineProperty;
8602
+ var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
8603
+ var __decorateClass$7 = (decorators, target, key, kind) => {
8604
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
8604
8605
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8605
- if (kind && result) __defProp$8(target, key, result);
8606
+ if (kind && result) __defProp$7(target, key, result);
8606
8607
  return result;
8607
8608
  };
8608
8609
  class RadioGroup extends FASTElement {
@@ -8905,22 +8906,22 @@ class RadioGroup extends FASTElement {
8905
8906
  }
8906
8907
  }
8907
8908
  }
8908
- __decorateClass$8([attr({
8909
+ __decorateClass$7([attr({
8909
8910
  mode: "boolean"
8910
8911
  })], RadioGroup.prototype, "stacked", 2);
8911
- __decorateClass$8([attr({
8912
+ __decorateClass$7([attr({
8912
8913
  attribute: "readonly",
8913
8914
  mode: "boolean"
8914
8915
  })], RadioGroup.prototype, "readOnly", 2);
8915
- __decorateClass$8([attr({
8916
+ __decorateClass$7([attr({
8916
8917
  attribute: "disabled",
8917
8918
  mode: "boolean"
8918
8919
  })], RadioGroup.prototype, "disabled", 2);
8919
- __decorateClass$8([attr], RadioGroup.prototype, "name", 2);
8920
- __decorateClass$8([attr], RadioGroup.prototype, "value", 2);
8921
- __decorateClass$8([attr], RadioGroup.prototype, "orientation", 2);
8922
- __decorateClass$8([observable], RadioGroup.prototype, "childItems", 2);
8923
- __decorateClass$8([observable], RadioGroup.prototype, "slottedRadioButtons", 2);
8920
+ __decorateClass$7([attr], RadioGroup.prototype, "name", 2);
8921
+ __decorateClass$7([attr], RadioGroup.prototype, "value", 2);
8922
+ __decorateClass$7([attr], RadioGroup.prototype, "orientation", 2);
8923
+ __decorateClass$7([observable], RadioGroup.prototype, "childItems", 2);
8924
+ __decorateClass$7([observable], RadioGroup.prototype, "slottedRadioButtons", 2);
8924
8925
 
8925
8926
  const styles$a = css`
8926
8927
  ${display("flex")}
@@ -8988,12 +8989,12 @@ function convertPixelToPercent(pixelPos, minPosition, maxPosition, direction) {
8988
8989
  return pct;
8989
8990
  }
8990
8991
 
8991
- var __defProp$7 = Object.defineProperty;
8992
- var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
8993
- var __decorateClass$7 = (decorators, target, key, kind) => {
8994
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
8992
+ var __defProp$6 = Object.defineProperty;
8993
+ var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
8994
+ var __decorateClass$6 = (decorators, target, key, kind) => {
8995
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
8995
8996
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8996
- if (kind && result) __defProp$7(target, key, result);
8997
+ if (kind && result) __defProp$6(target, key, result);
8997
8998
  return result;
8998
8999
  };
8999
9000
  class Slider extends FormAssociatedSlider {
@@ -9322,31 +9323,31 @@ class Slider extends FormAssociatedSlider {
9322
9323
  return constrainedValue + this.min;
9323
9324
  }
9324
9325
  }
9325
- __decorateClass$7([attr], Slider.prototype, "size", 2);
9326
- __decorateClass$7([attr({
9326
+ __decorateClass$6([attr], Slider.prototype, "size", 2);
9327
+ __decorateClass$6([attr({
9327
9328
  attribute: "readonly",
9328
9329
  mode: "boolean"
9329
9330
  })], Slider.prototype, "readOnly", 2);
9330
- __decorateClass$7([observable], Slider.prototype, "direction", 2);
9331
- __decorateClass$7([observable], Slider.prototype, "isDragging", 2);
9332
- __decorateClass$7([observable], Slider.prototype, "position", 2);
9333
- __decorateClass$7([observable], Slider.prototype, "trackWidth", 2);
9334
- __decorateClass$7([observable], Slider.prototype, "trackMinWidth", 2);
9335
- __decorateClass$7([observable], Slider.prototype, "trackHeight", 2);
9336
- __decorateClass$7([observable], Slider.prototype, "trackLeft", 2);
9337
- __decorateClass$7([observable], Slider.prototype, "trackMinHeight", 2);
9338
- __decorateClass$7([observable], Slider.prototype, "valueTextFormatter", 2);
9339
- __decorateClass$7([attr({
9331
+ __decorateClass$6([observable], Slider.prototype, "direction", 2);
9332
+ __decorateClass$6([observable], Slider.prototype, "isDragging", 2);
9333
+ __decorateClass$6([observable], Slider.prototype, "position", 2);
9334
+ __decorateClass$6([observable], Slider.prototype, "trackWidth", 2);
9335
+ __decorateClass$6([observable], Slider.prototype, "trackMinWidth", 2);
9336
+ __decorateClass$6([observable], Slider.prototype, "trackHeight", 2);
9337
+ __decorateClass$6([observable], Slider.prototype, "trackLeft", 2);
9338
+ __decorateClass$6([observable], Slider.prototype, "trackMinHeight", 2);
9339
+ __decorateClass$6([observable], Slider.prototype, "valueTextFormatter", 2);
9340
+ __decorateClass$6([attr({
9340
9341
  converter: nullableNumberConverter
9341
9342
  })], Slider.prototype, "min", 2);
9342
- __decorateClass$7([attr({
9343
+ __decorateClass$6([attr({
9343
9344
  converter: nullableNumberConverter
9344
9345
  })], Slider.prototype, "max", 2);
9345
- __decorateClass$7([attr({
9346
+ __decorateClass$6([attr({
9346
9347
  converter: nullableNumberConverter
9347
9348
  })], Slider.prototype, "step", 2);
9348
- __decorateClass$7([attr], Slider.prototype, "orientation", 2);
9349
- __decorateClass$7([attr], Slider.prototype, "mode", 2);
9349
+ __decorateClass$6([attr], Slider.prototype, "orientation", 2);
9350
+ __decorateClass$6([attr], Slider.prototype, "mode", 2);
9350
9351
 
9351
9352
  const styles$8 = css`
9352
9353
  ${display("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${borderRadiusSmall};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${colorStrokeFocus2};outline:1px solid ${colorStrokeFocus1}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${colorBrandBackground};border-radius:${borderRadiusCircular};box-shadow:inset 0 0 0 var(--thumb-padding) ${colorNeutralBackground1},0 0 0 1px ${colorNeutralStroke1}}.thumb-cursor:hover{background-color:${colorCompoundBrandBackgroundHover}}.thumb-cursor:active{background-color:${colorCompoundBrandBackgroundPressed}}:host([disabled]) .thumb-cursor{background-color:${colorNeutralForegroundDisabled};box-shadow:inset 0 0 0 var(--thumb-padding) ${colorNeutralBackground1},0 0 0 1px ${colorNeutralStrokeDisabled}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${colorNeutralStrokeAccessible};border-radius:${borderRadiusMedium};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${borderRadiusMedium};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
@@ -9369,12 +9370,12 @@ const definition$8 = Slider.compose({
9369
9370
 
9370
9371
  definition$8.define(FluentDesignSystem.registry);
9371
9372
 
9372
- var __defProp$6 = Object.defineProperty;
9373
- var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
9374
- var __decorateClass$6 = (decorators, target, key, kind) => {
9375
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
9373
+ var __defProp$5 = Object.defineProperty;
9374
+ var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
9375
+ var __decorateClass$5 = (decorators, target, key, kind) => {
9376
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
9376
9377
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9377
- if (kind && result) __defProp$6(target, key, result);
9378
+ if (kind && result) __defProp$5(target, key, result);
9378
9379
  return result;
9379
9380
  };
9380
9381
  class Spinner extends FASTElement {
@@ -9389,8 +9390,8 @@ class Spinner extends FASTElement {
9389
9390
  this.elementInternals.role = "progressbar";
9390
9391
  }
9391
9392
  }
9392
- __decorateClass$6([attr], Spinner.prototype, "size", 2);
9393
- __decorateClass$6([attr], Spinner.prototype, "appearance", 2);
9393
+ __decorateClass$5([attr], Spinner.prototype, "size", 2);
9394
+ __decorateClass$5([attr], Spinner.prototype, "appearance", 2);
9394
9395
 
9395
9396
  const styles$7 = css`
9396
9397
  ${display("flex")}
@@ -9407,84 +9408,21 @@ const definition$7 = Spinner.compose({
9407
9408
 
9408
9409
  definition$7.define(FluentDesignSystem.registry);
9409
9410
 
9410
- class _Switch extends FASTElement {}
9411
- class FormAssociatedSwitch extends CheckableFormAssociated(_Switch) {
9412
- constructor() {
9413
- super(...arguments);
9414
- this.proxy = document.createElement("input");
9415
- }
9416
- }
9417
-
9418
- var __defProp$5 = Object.defineProperty;
9419
- var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
9420
- var __decorateClass$5 = (decorators, target, key, kind) => {
9421
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
9422
- for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9423
- if (kind && result) __defProp$5(target, key, result);
9424
- return result;
9425
- };
9426
- class Switch extends FormAssociatedSwitch {
9427
- constructor() {
9428
- super();
9429
- /**
9430
- * The element's value to be included in form submission when checked.
9431
- * Default to "on" to reach parity with input[type="checkbox"]
9432
- *
9433
- * @internal
9434
- */
9435
- this.initialValue = "on";
9436
- /**
9437
- * @internal
9438
- */
9439
- this.keypressHandler = e => {
9440
- if (this.readOnly) {
9441
- return;
9442
- }
9443
- switch (e.key) {
9444
- case keyEnter:
9445
- case keySpace:
9446
- this.checked = !this.checked;
9447
- break;
9448
- }
9449
- };
9450
- /**
9451
- * @internal
9452
- */
9453
- this.clickHandler = e => {
9454
- if (!this.disabled && !this.readOnly) {
9455
- this.checked = !this.checked;
9456
- }
9457
- };
9458
- this.proxy.setAttribute("type", "checkbox");
9459
- }
9460
- // Map to proxy element
9461
- readOnlyChanged() {
9462
- if (this.proxy instanceof HTMLInputElement) {
9463
- this.proxy.readOnly = this.readOnly;
9464
- }
9465
- }
9466
- }
9467
- __decorateClass$5([attr({
9468
- attribute: "label-position"
9469
- })], Switch.prototype, "labelPosition", 2);
9470
- __decorateClass$5([attr({
9471
- attribute: "readonly",
9472
- mode: "boolean"
9473
- })], Switch.prototype, "readOnly", 2);
9474
- __decorateClass$5([observable], Switch.prototype, "defaultSlottedNodes", 2);
9411
+ class Switch extends BaseCheckbox {}
9475
9412
 
9476
9413
  function switchTemplate(options = {}) {
9477
- return html`<template role="switch" aria-checked="${x => x.checked}" aria-disabled="${x => x.disabled}" aria-readonly="${x => x.readOnly}" tabindex="${x => x.disabled ? null : 0}" @keypress="${(x, c) => x.keypressHandler(c.event)}" @click="${(x, c) => x.clickHandler(c.event)}"><label part="label" class="${x => x.defaultSlottedNodes && x.defaultSlottedNodes.length ? "label" : "label label__hidden"}"><slot ${slotted("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${staticallyCompose(options.switch)}</slot></div></template>`;
9414
+ return html`<template tabindex="${x => !x.disabled ? 0 : void 0}" @click="${(x, c) => x.clickHandler(c.event)}" @input="${(x, c) => x.inputHandler(c.event)}" @keydown="${(x, c) => x.keydownHandler(c.event)}" @keyup="${(x, c) => x.keyupHandler(c.event)}"><slot name="switch">${staticallyCompose(options.switch)}</slot></template>`;
9478
9415
  }
9479
9416
  const template$6 = switchTemplate({
9480
9417
  switch: `<span class="checked-indicator" part="checked-indicator"></span>`
9481
9418
  });
9482
9419
 
9420
+ const checkedState = css.partial`:is([state--checked], :state(checked))`;
9483
9421
  const styles$6 = css`
9484
9422
  ${display("inline-flex")}
9485
9423
 
9486
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${colorNeutralForeground1};line-height:${lineHeightBase300};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};font-family:${fontFamilyBase};padding:${spacingVerticalXS} ${spacingHorizontalXS};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${spacingHorizontalXXS};box-sizing:border-box;width:40px;height:20px;background-color:${colorTransparentBackground};border:1px solid ${colorNeutralStrokeAccessible};border-radius:${borderRadiusCircular};outline:none;cursor:pointer;margin:${spacingVerticalS} ${spacingHorizontalS}}:host(:hover) .switch{background:none;border-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .switch{border-color:${colorNeutralStrokeAccessiblePressed}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${colorNeutralStrokeDisabled};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${colorCompoundBrandBackground}}:host([aria-checked='true']:hover) .switch{background:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandBackgroundHover}}:host([aria-checked='true']:active) .switch{background:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandBackgroundPressed}}:host([aria-checked='true'][disabled]) .switch{background:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${colorNeutralForeground3};transition-duration:${durationNormal};transition-timing-function:${curveEasyEase};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${colorNeutralForegroundInverted};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${colorNeutralForegroundInvertedHover}}:host([aria-checked='true']:active) .checked-indicator{background:${colorNeutralForegroundInvertedPressed}}:host(:hover) .checked-indicator{background-color:${colorNeutralForeground3Hover}}:host(:active) .checked-indicator{background-color:${colorNeutralForeground3Pressed}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${colorNeutralForegroundDisabled}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${colorNeutralForegroundDisabled}}:host(:focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
9487
- .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`));
9424
+ :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${spacingHorizontalXXS};width:40px;height:20px;background-color:${colorTransparentBackground};border:1px solid ${colorNeutralStrokeAccessible};border-radius:${borderRadiusCircular};cursor:pointer}:host(:hover){background:none;border-color:${colorNeutralStrokeAccessibleHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(:disabled),:host([readonly]){border:1px solid ${colorNeutralStrokeDisabled};background-color:none;pointer:default}:host(${checkedState}){background:${colorCompoundBrandBackground};border-color:${colorCompoundBrandBackground}}:host(${checkedState}:hover){background:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandBackgroundHover}}:host(${checkedState}:active){background:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandBackgroundPressed}}:host(${checkedState}:disabled){background:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${colorNeutralForeground3};transition-duration:${durationNormal};transition-timing-function:${curveEasyEase};transition-property:margin-inline-start}:host(${checkedState}) .checked-indicator{background-color:${colorNeutralForegroundInverted};margin-inline-start:calc(100% - 14px)}:host(${checkedState}:hover) .checked-indicator{background:${colorNeutralForegroundInvertedHover}}:host(${checkedState}:active) .checked-indicator{background:${colorNeutralForegroundInvertedPressed}}:host(:hover) .checked-indicator{background-color:${colorNeutralForeground3Hover}}:host(:active) .checked-indicator{background-color:${colorNeutralForeground3Pressed}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${colorNeutralForegroundDisabled}}:host(${checkedState}:disabled) .checked-indicator{background:${colorNeutralForegroundDisabled}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
9425
+ :host{border-color:InactiveBorder}:host(${checkedState}),:host(${checkedState}:active),:host(${checkedState}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${checkedState}) .checked-indicator,:host(${checkedState}:hover) .checked-indicator,:host(${checkedState}:active) .checked-indicator{background-color:ButtonFace}`));
9488
9426
 
9489
9427
  const definition$6 = Switch.compose({
9490
9428
  name: `${FluentDesignSystem.prefix}-switch`,