@fluentui/web-components 3.1.4 → 3.2.0

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.
Files changed (111) hide show
  1. package/CHANGELOG.md +8 -2
  2. package/custom-elements.json +1439 -2728
  3. package/dist/esm/accordion-item/accordion-item.d.ts +4 -25
  4. package/dist/esm/accordion-item/accordion-item.js +4 -22
  5. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  6. package/dist/esm/accordion-item/accordion-item.styles.css +3 -11
  7. package/dist/esm/accordion-item/accordion-item.styles.js +3 -11
  8. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  9. package/dist/esm/anchor-button/anchor-button.d.ts +5 -57
  10. package/dist/esm/anchor-button/anchor-button.js +5 -59
  11. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  12. package/dist/esm/avatar/avatar.d.ts +5 -28
  13. package/dist/esm/avatar/avatar.js +4 -9
  14. package/dist/esm/avatar/avatar.js.map +1 -1
  15. package/dist/esm/badge/badge.d.ts +5 -34
  16. package/dist/esm/badge/badge.js +6 -35
  17. package/dist/esm/badge/badge.js.map +1 -1
  18. package/dist/esm/button/button.d.ts +5 -33
  19. package/dist/esm/button/button.js +5 -25
  20. package/dist/esm/button/button.js.map +1 -1
  21. package/dist/esm/checkbox/checkbox.d.ts +3 -17
  22. package/dist/esm/checkbox/checkbox.js +4 -7
  23. package/dist/esm/checkbox/checkbox.js.map +1 -1
  24. package/dist/esm/divider/divider.d.ts +4 -19
  25. package/dist/esm/divider/divider.js +4 -11
  26. package/dist/esm/divider/divider.js.map +1 -1
  27. package/dist/esm/drawer/drawer.d.ts +4 -16
  28. package/dist/esm/drawer/drawer.js +4 -22
  29. package/dist/esm/drawer/drawer.js.map +1 -1
  30. package/dist/esm/drawer/drawer.template.html +0 -2
  31. package/dist/esm/drawer/drawer.template.js +0 -2
  32. package/dist/esm/drawer/drawer.template.js.map +1 -1
  33. package/dist/esm/dropdown/dropdown.base.js +1 -1
  34. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  35. package/dist/esm/dropdown/dropdown.d.ts +3 -16
  36. package/dist/esm/dropdown/dropdown.js +3 -20
  37. package/dist/esm/dropdown/dropdown.js.map +1 -1
  38. package/dist/esm/dropdown/dropdown.options.d.ts +4 -4
  39. package/dist/esm/dropdown/dropdown.options.js.map +1 -1
  40. package/dist/esm/dropdown/dropdown.styles.css +28 -14
  41. package/dist/esm/dropdown/dropdown.styles.js +28 -14
  42. package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
  43. package/dist/esm/field/field.d.ts +2 -9
  44. package/dist/esm/field/field.js +2 -17
  45. package/dist/esm/field/field.js.map +1 -1
  46. package/dist/esm/field/field.styles.css +3 -5
  47. package/dist/esm/field/field.styles.js +2 -5
  48. package/dist/esm/field/field.styles.js.map +1 -1
  49. package/dist/esm/image/image.d.ts +6 -41
  50. package/dist/esm/image/image.js +7 -17
  51. package/dist/esm/image/image.js.map +1 -1
  52. package/dist/esm/label/label.d.ts +4 -25
  53. package/dist/esm/label/label.js +4 -17
  54. package/dist/esm/label/label.js.map +1 -1
  55. package/dist/esm/link/link.d.ts +3 -20
  56. package/dist/esm/link/link.js +3 -22
  57. package/dist/esm/link/link.js.map +1 -1
  58. package/dist/esm/menu/menu.d.ts +1 -6
  59. package/dist/esm/menu/menu.js +1 -4
  60. package/dist/esm/menu/menu.js.map +1 -1
  61. package/dist/esm/menu-item/menu-item.styles.css +16 -2
  62. package/dist/esm/menu-item/menu-item.styles.js +17 -3
  63. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  64. package/dist/esm/menu-list/menu-list.styles.css +1 -48
  65. package/dist/esm/menu-list/menu-list.styles.js +1 -48
  66. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  67. package/dist/esm/message-bar/message-bar.d.ts +3 -25
  68. package/dist/esm/message-bar/message-bar.js +4 -11
  69. package/dist/esm/message-bar/message-bar.js.map +1 -1
  70. package/dist/esm/option/option.d.ts +2 -14
  71. package/dist/esm/option/option.js +2 -19
  72. package/dist/esm/option/option.js.map +1 -1
  73. package/dist/esm/option/option.styles.css +1 -1
  74. package/dist/esm/option/option.styles.js +2 -2
  75. package/dist/esm/option/option.styles.js.map +1 -1
  76. package/dist/esm/progress-bar/progress-bar.base.d.ts +2 -16
  77. package/dist/esm/progress-bar/progress-bar.base.js +2 -22
  78. package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
  79. package/dist/esm/progress-bar/progress-bar.d.ts +2 -20
  80. package/dist/esm/progress-bar/progress-bar.js +2 -8
  81. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  82. package/dist/esm/rating-display/rating-display.d.ts +4 -27
  83. package/dist/esm/rating-display/rating-display.js +4 -22
  84. package/dist/esm/rating-display/rating-display.js.map +1 -1
  85. package/dist/esm/slider/slider.d.ts +2 -8
  86. package/dist/esm/slider/slider.js +1 -3
  87. package/dist/esm/slider/slider.js.map +1 -1
  88. package/dist/esm/spinner/spinner.d.ts +3 -16
  89. package/dist/esm/spinner/spinner.js +3 -8
  90. package/dist/esm/spinner/spinner.js.map +1 -1
  91. package/dist/esm/tablist/tablist.d.ts +2 -12
  92. package/dist/esm/tablist/tablist.js +2 -17
  93. package/dist/esm/tablist/tablist.js.map +1 -1
  94. package/dist/esm/text/text.d.ts +10 -84
  95. package/dist/esm/text/text.js +11 -82
  96. package/dist/esm/text/text.js.map +1 -1
  97. package/dist/esm/text-input/text-input.d.ts +2 -17
  98. package/dist/esm/text-input/text-input.js +2 -8
  99. package/dist/esm/text-input/text-input.js.map +1 -1
  100. package/dist/esm/textarea/textarea.base.d.ts +3 -18
  101. package/dist/esm/textarea/textarea.base.js +5 -30
  102. package/dist/esm/textarea/textarea.base.js.map +1 -1
  103. package/dist/esm/textarea/textarea.d.ts +3 -17
  104. package/dist/esm/textarea/textarea.js +14 -28
  105. package/dist/esm/textarea/textarea.js.map +1 -1
  106. package/dist/web-components-all.js +415 -890
  107. package/dist/web-components-all.min.js +15 -15
  108. package/dist/web-components.d.ts +91 -600
  109. package/dist/web-components.js +418 -969
  110. package/dist/web-components.min.js +15 -15
  111. package/package.json +2 -2
@@ -4868,7 +4868,7 @@ const curveEasyEaseMax = "var(--curveEasyEaseMax)";
4868
4868
  const curveEasyEase = "var(--curveEasyEase)";
4869
4869
  const curveLinear = "var(--curveLinear)";
4870
4870
 
4871
- const styles$F = css`${display("block")} :host{max-width:fit-content;contain:content;color:${colorNeutralForeground1}}.heading{height:44px;display:grid;position:relative;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}.button{appearance:none;background:${colorTransparentBackground};border:none;box-sizing:border-box;color:inherit;cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${spacingHorizontalS};grid-column:1/span 1;grid-row:1}.content{margin:0 ${spacingHorizontalM}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2/span 1;grid-row: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]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){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([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1;color:currentColor}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${spacingHorizontalS};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${spacingHorizontalM}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${spacingHorizontalMNudge} ${spacingHorizontalM}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`;
4871
+ const styles$F = css`${display("block")} :host{max-width:fit-content;contain:content;color:${colorNeutralForeground1}}.heading{height:44px;display:grid;position:relative;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}.button{appearance:none;background:${colorTransparentBackground};border:none;box-sizing:border-box;color:inherit;cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${spacingHorizontalS};grid-column:1/span 1;grid-row:1}.content{margin:0 ${spacingHorizontalM}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2/span 1;grid-row: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]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){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([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1;color:currentColor}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:3;padding-inline-start:${spacingHorizontalS};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto 1fr auto;padding-inline:${spacingHorizontalM}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${spacingHorizontalMNudge} ${spacingHorizontalM}}`;
4872
4872
 
4873
4873
  function staticallyCompose(item) {
4874
4874
  if (!item) {
@@ -4927,14 +4927,14 @@ function applyMixins(derivedCtor, ...baseCtors) {
4927
4927
  });
4928
4928
  }
4929
4929
 
4930
- var __defProp$P = Object.defineProperty;
4931
- var __getOwnPropDesc$P = Object.getOwnPropertyDescriptor;
4932
- var __decorateClass$P = (decorators, target, key, kind) => {
4933
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$P(target, key) : target;
4930
+ var __defProp$z = Object.defineProperty;
4931
+ var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
4932
+ var __decorateClass$z = (decorators, target, key, kind) => {
4933
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
4934
4934
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
4935
4935
  if (decorator = decorators[i])
4936
4936
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4937
- if (kind && result) __defProp$P(target, key, result);
4937
+ if (kind && result) __defProp$z(target, key, result);
4938
4938
  return result;
4939
4939
  };
4940
4940
  class BaseAccordionItem extends FASTElement {
@@ -4951,48 +4951,25 @@ class BaseAccordionItem extends FASTElement {
4951
4951
  this.disabled = false;
4952
4952
  }
4953
4953
  }
4954
- __decorateClass$P([
4954
+ __decorateClass$z([
4955
4955
  attr({
4956
4956
  attribute: "heading-level",
4957
4957
  mode: "fromView",
4958
4958
  converter: nullableNumberConverter
4959
4959
  })
4960
4960
  ], BaseAccordionItem.prototype, "headinglevel", 2);
4961
- __decorateClass$P([
4961
+ __decorateClass$z([
4962
4962
  attr({ mode: "boolean" })
4963
4963
  ], BaseAccordionItem.prototype, "expanded", 2);
4964
- __decorateClass$P([
4964
+ __decorateClass$z([
4965
4965
  attr({ mode: "boolean" })
4966
4966
  ], BaseAccordionItem.prototype, "disabled", 2);
4967
- __decorateClass$P([
4967
+ __decorateClass$z([
4968
4968
  observable
4969
4969
  ], BaseAccordionItem.prototype, "expandbutton", 2);
4970
4970
 
4971
- var __defProp$O = Object.defineProperty;
4972
- var __getOwnPropDesc$O = Object.getOwnPropertyDescriptor;
4973
- var __decorateClass$O = (decorators, target, key, kind) => {
4974
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$O(target, key) : target;
4975
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
4976
- if (decorator = decorators[i])
4977
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4978
- if (kind && result) __defProp$O(target, key, result);
4979
- return result;
4980
- };
4981
4971
  class AccordionItem extends BaseAccordionItem {
4982
- constructor() {
4983
- super(...arguments);
4984
- this.block = false;
4985
- }
4986
4972
  }
4987
- __decorateClass$O([
4988
- attr
4989
- ], AccordionItem.prototype, "size", 2);
4990
- __decorateClass$O([
4991
- attr({ attribute: "marker-position" })
4992
- ], AccordionItem.prototype, "markerPosition", 2);
4993
- __decorateClass$O([
4994
- attr({ mode: "boolean" })
4995
- ], AccordionItem.prototype, "block", 2);
4996
4973
  applyMixins(AccordionItem, StartEnd);
4997
4974
 
4998
4975
  AccordionItem.define(definition$F);
@@ -5048,14 +5025,14 @@ function waitForConnectedDescendants(target, callback, options) {
5048
5025
  scheduleCheck();
5049
5026
  }
5050
5027
 
5051
- var __defProp$N = Object.defineProperty;
5052
- var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
5053
- var __decorateClass$N = (decorators, target, key, kind) => {
5054
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$N(target, key) : target;
5028
+ var __defProp$y = Object.defineProperty;
5029
+ var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
5030
+ var __decorateClass$y = (decorators, target, key, kind) => {
5031
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$y(target, key) : target;
5055
5032
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
5056
5033
  if (decorator = decorators[i])
5057
5034
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5058
- if (kind && result) __defProp$N(target, key, result);
5035
+ if (kind && result) __defProp$y(target, key, result);
5059
5036
  return result;
5060
5037
  };
5061
5038
  class Accordion extends FASTElement {
@@ -5200,31 +5177,15 @@ class Accordion extends FASTElement {
5200
5177
  this.setItems();
5201
5178
  }
5202
5179
  }
5203
- __decorateClass$N([
5180
+ __decorateClass$y([
5204
5181
  attr({ attribute: "expand-mode" })
5205
5182
  ], Accordion.prototype, "expandmode", 2);
5206
- __decorateClass$N([
5183
+ __decorateClass$y([
5207
5184
  observable
5208
5185
  ], Accordion.prototype, "slottedAccordionItems", 2);
5209
5186
 
5210
5187
  Accordion.define(definition$E);
5211
5188
 
5212
- const ButtonAppearance = {
5213
- primary: "primary",
5214
- outline: "outline",
5215
- subtle: "subtle",
5216
- transparent: "transparent"
5217
- };
5218
- const ButtonShape = {
5219
- circular: "circular",
5220
- rounded: "rounded",
5221
- square: "square"
5222
- };
5223
- const ButtonSize = {
5224
- small: "small",
5225
- medium: "medium",
5226
- large: "large"
5227
- };
5228
5189
  const ButtonType = {
5229
5190
  submit: "submit",
5230
5191
  reset: "reset",
@@ -5232,9 +5193,6 @@ const ButtonType = {
5232
5193
  };
5233
5194
  const tagName$D = `${FluentDesignSystem.prefix}-button`;
5234
5195
 
5235
- const AnchorButtonAppearance = ButtonAppearance;
5236
- const AnchorButtonShape = ButtonShape;
5237
- const AnchorButtonSize = ButtonSize;
5238
5196
  const AnchorAttributes = {
5239
5197
  download: "download",
5240
5198
  href: "href",
@@ -5264,55 +5222,14 @@ const definition$D = {
5264
5222
  template: template$D
5265
5223
  };
5266
5224
 
5267
- const AnchorPositioningCSSSupported = CSS.supports("anchor-name: --a");
5268
- const AnchorPositioningHTMLSupported = "anchor" in HTMLElement.prototype;
5269
- const CustomStatesSetSupported = CSS.supports("selector(:state(g))");
5270
-
5271
- const statesMap = /* @__PURE__ */ new Map();
5272
- function stateSelector(state) {
5273
- return statesMap.get(state) ?? statesMap.set(state, CustomStatesSetSupported ? `:state(${state})` : `[state--${state}]`).get(state);
5274
- }
5275
- function toggleState(elementInternals, state, force) {
5276
- if (!state || !elementInternals) {
5277
- return;
5278
- }
5279
- if (!CustomStatesSetSupported) {
5280
- elementInternals.shadowRoot.host.toggleAttribute(`state--${state}`, force);
5281
- return;
5282
- }
5283
- if (force ?? !elementInternals.states.has(state)) {
5284
- elementInternals.states.add(state);
5285
- return;
5286
- }
5287
- elementInternals.states.delete(state);
5288
- }
5289
- const matchingStateMap = /* @__PURE__ */ new WeakMap();
5290
- function hasMatchingState(States, state) {
5291
- if (!States || !state) {
5292
- return false;
5293
- }
5294
- if (matchingStateMap.has(States)) {
5295
- return matchingStateMap.get(States).has(state);
5296
- }
5297
- const stateSet = new Set(Object.values(States));
5298
- matchingStateMap.set(States, stateSet);
5299
- return stateSet.has(state);
5300
- }
5301
- function swapStates(elementInternals, prev = "", next = "", States, prefix = "") {
5302
- toggleState(elementInternals, `${prefix}${prev}`, false);
5303
- if (!States || hasMatchingState(States, next)) {
5304
- toggleState(elementInternals, `${prefix}${next}`, true);
5305
- }
5306
- }
5307
-
5308
- var __defProp$M = Object.defineProperty;
5309
- var __getOwnPropDesc$M = Object.getOwnPropertyDescriptor;
5310
- var __decorateClass$M = (decorators, target, key, kind) => {
5311
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$M(target, key) : target;
5225
+ var __defProp$x = Object.defineProperty;
5226
+ var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
5227
+ var __decorateClass$x = (decorators, target, key, kind) => {
5228
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
5312
5229
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
5313
5230
  if (decorator = decorators[i])
5314
5231
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5315
- if (kind && result) __defProp$M(target, key, result);
5232
+ if (kind && result) __defProp$x(target, key, result);
5316
5233
  return result;
5317
5234
  };
5318
5235
  class BaseAnchor extends FASTElement {
@@ -5424,91 +5341,33 @@ class BaseAnchor extends FASTElement {
5424
5341
  return proxy;
5425
5342
  }
5426
5343
  }
5427
- __decorateClass$M([
5344
+ __decorateClass$x([
5428
5345
  attr
5429
5346
  ], BaseAnchor.prototype, "download", 2);
5430
- __decorateClass$M([
5347
+ __decorateClass$x([
5431
5348
  attr
5432
5349
  ], BaseAnchor.prototype, "href", 2);
5433
- __decorateClass$M([
5350
+ __decorateClass$x([
5434
5351
  attr
5435
5352
  ], BaseAnchor.prototype, "hreflang", 2);
5436
- __decorateClass$M([
5353
+ __decorateClass$x([
5437
5354
  attr
5438
5355
  ], BaseAnchor.prototype, "ping", 2);
5439
- __decorateClass$M([
5356
+ __decorateClass$x([
5440
5357
  attr
5441
5358
  ], BaseAnchor.prototype, "referrerpolicy", 2);
5442
- __decorateClass$M([
5359
+ __decorateClass$x([
5443
5360
  attr
5444
5361
  ], BaseAnchor.prototype, "rel", 2);
5445
- __decorateClass$M([
5362
+ __decorateClass$x([
5446
5363
  attr
5447
5364
  ], BaseAnchor.prototype, "target", 2);
5448
- __decorateClass$M([
5365
+ __decorateClass$x([
5449
5366
  attr
5450
5367
  ], BaseAnchor.prototype, "type", 2);
5451
5368
 
5452
- var __defProp$L = Object.defineProperty;
5453
- var __getOwnPropDesc$L = Object.getOwnPropertyDescriptor;
5454
- var __decorateClass$L = (decorators, target, key, kind) => {
5455
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$L(target, key) : target;
5456
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
5457
- if (decorator = decorators[i])
5458
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5459
- if (kind && result) __defProp$L(target, key, result);
5460
- return result;
5461
- };
5462
5369
  class AnchorButton extends BaseAnchor {
5463
- constructor() {
5464
- super(...arguments);
5465
- this.iconOnly = false;
5466
- }
5467
- /**
5468
- * Handles changes to appearance attribute custom states
5469
- * @param prev - the previous state
5470
- * @param next - the next state
5471
- */
5472
- appearanceChanged(prev, next) {
5473
- swapStates(this.elementInternals, prev, next, AnchorButtonAppearance);
5474
- }
5475
- /**
5476
- * Handles changes to shape attribute custom states
5477
- * @param prev - the previous state
5478
- * @param next - the next state
5479
- */
5480
- shapeChanged(prev, next) {
5481
- swapStates(this.elementInternals, prev, next, AnchorButtonShape);
5482
- }
5483
- /**
5484
- * Handles changes to size attribute custom states
5485
- * @param prev - the previous state
5486
- * @param next - the next state
5487
- */
5488
- sizeChanged(prev, next) {
5489
- swapStates(this.elementInternals, prev, next, AnchorButtonSize);
5490
- }
5491
- /**
5492
- * Handles changes to icon only custom states
5493
- * @param prev - the previous state
5494
- * @param next - the next state
5495
- */
5496
- iconOnlyChanged(prev, next) {
5497
- toggleState(this.elementInternals, "icon", !!next);
5498
- }
5499
5370
  }
5500
- __decorateClass$L([
5501
- attr
5502
- ], AnchorButton.prototype, "appearance", 2);
5503
- __decorateClass$L([
5504
- attr
5505
- ], AnchorButton.prototype, "shape", 2);
5506
- __decorateClass$L([
5507
- attr
5508
- ], AnchorButton.prototype, "size", 2);
5509
- __decorateClass$L([
5510
- attr({ attribute: "icon-only", mode: "boolean" })
5511
- ], AnchorButton.prototype, "iconOnly", 2);
5512
5371
  applyMixins(AnchorButton, StartEnd);
5513
5372
 
5514
5373
  AnchorButton.define(definition$D);
@@ -5620,14 +5479,14 @@ function getInitials(displayName, isRtl, options) {
5620
5479
  return getInitialsLatin(displayName, isRtl, options?.firstInitialOnly);
5621
5480
  }
5622
5481
 
5623
- var __defProp$K = Object.defineProperty;
5624
- var __getOwnPropDesc$K = Object.getOwnPropertyDescriptor;
5625
- var __decorateClass$K = (decorators, target, key, kind) => {
5626
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$K(target, key) : target;
5482
+ var __defProp$w = Object.defineProperty;
5483
+ var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
5484
+ var __decorateClass$w = (decorators, target, key, kind) => {
5485
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
5627
5486
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
5628
5487
  if (decorator = decorators[i])
5629
5488
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5630
- if (kind && result) __defProp$K(target, key, result);
5489
+ if (kind && result) __defProp$w(target, key, result);
5631
5490
  return result;
5632
5491
  };
5633
5492
  class BaseAvatar extends FASTElement {
@@ -5736,30 +5595,30 @@ class BaseAvatar extends FASTElement {
5736
5595
  }
5737
5596
  }
5738
5597
  }
5739
- __decorateClass$K([
5598
+ __decorateClass$w([
5740
5599
  observable
5741
5600
  ], BaseAvatar.prototype, "defaultSlot", 2);
5742
- __decorateClass$K([
5601
+ __decorateClass$w([
5743
5602
  observable
5744
5603
  ], BaseAvatar.prototype, "monogram", 2);
5745
- __decorateClass$K([
5604
+ __decorateClass$w([
5746
5605
  observable
5747
5606
  ], BaseAvatar.prototype, "slottedDefaults", 2);
5748
- __decorateClass$K([
5607
+ __decorateClass$w([
5749
5608
  attr
5750
5609
  ], BaseAvatar.prototype, "name", 2);
5751
- __decorateClass$K([
5610
+ __decorateClass$w([
5752
5611
  attr
5753
5612
  ], BaseAvatar.prototype, "initials", 2);
5754
5613
 
5755
- var __defProp$J = Object.defineProperty;
5756
- var __getOwnPropDesc$J = Object.getOwnPropertyDescriptor;
5757
- var __decorateClass$J = (decorators, target, key, kind) => {
5758
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$J(target, key) : target;
5614
+ var __defProp$v = Object.defineProperty;
5615
+ var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
5616
+ var __decorateClass$v = (decorators, target, key, kind) => {
5617
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
5759
5618
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
5760
5619
  if (decorator = decorators[i])
5761
5620
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5762
- if (kind && result) __defProp$J(target, key, result);
5621
+ if (kind && result) __defProp$v(target, key, result);
5763
5622
  return result;
5764
5623
  };
5765
5624
  const _Avatar = class _Avatar extends BaseAvatar {
@@ -5814,22 +5673,13 @@ const _Avatar = class _Avatar extends BaseAvatar {
5814
5673
  * An array of the available Avatar named colors
5815
5674
  */
5816
5675
  _Avatar.colors = Object.values(AvatarNamedColor);
5817
- __decorateClass$J([
5818
- attr
5819
- ], _Avatar.prototype, "active", 2);
5820
- __decorateClass$J([
5821
- attr
5822
- ], _Avatar.prototype, "shape", 2);
5823
- __decorateClass$J([
5824
- attr
5825
- ], _Avatar.prototype, "appearance", 2);
5826
- __decorateClass$J([
5676
+ __decorateClass$v([
5827
5677
  attr({ converter: nullableNumberConverter })
5828
5678
  ], _Avatar.prototype, "size", 2);
5829
- __decorateClass$J([
5679
+ __decorateClass$v([
5830
5680
  attr
5831
5681
  ], _Avatar.prototype, "color", 2);
5832
- __decorateClass$J([
5682
+ __decorateClass$v([
5833
5683
  attr({ attribute: "color-id" })
5834
5684
  ], _Avatar.prototype, "colorId", 2);
5835
5685
  let Avatar = _Avatar;
@@ -5845,22 +5695,6 @@ const getHashCode = (str) => {
5845
5695
 
5846
5696
  Avatar.define(definition$C);
5847
5697
 
5848
- const BadgeAppearance = {
5849
- filled: "filled",
5850
- ghost: "ghost",
5851
- outline: "outline",
5852
- tint: "tint"
5853
- };
5854
- const BadgeColor = {
5855
- brand: "brand",
5856
- danger: "danger",
5857
- important: "important",
5858
- informative: "informative",
5859
- severe: "severe",
5860
- subtle: "subtle",
5861
- success: "success",
5862
- warning: "warning"
5863
- };
5864
5698
  const tagName$A = `${FluentDesignSystem.prefix}-badge`;
5865
5699
 
5866
5700
  const badgeBaseStyles = css.partial`${display("inline-flex")} :host{position:relative;box-sizing:border-box;align-items:center;justify-content:center;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase200};line-height:${lineHeightBase200};min-width:20px;height:20px;padding-inline:calc(${spacingHorizontalXS} + ${spacingHorizontalXXS});border-radius:${borderRadiusCircular};border-color:${colorTransparentStroke};background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};contain:content}::slotted(svg){font-size:12px}:host(:not([appearance='ghost']))::after{position:absolute;content:'';top:0;left:0;bottom:0;right:0;border-style:solid;border-width:${strokeWidthThin};border-color:inherit;border-radius:inherit}`;
@@ -5884,35 +5718,8 @@ const definition$B = {
5884
5718
  template: template$B
5885
5719
  };
5886
5720
 
5887
- var __defProp$I = Object.defineProperty;
5888
- var __getOwnPropDesc$I = Object.getOwnPropertyDescriptor;
5889
- var __decorateClass$I = (decorators, target, key, kind) => {
5890
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$I(target, key) : target;
5891
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
5892
- if (decorator = decorators[i])
5893
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5894
- if (kind && result) __defProp$I(target, key, result);
5895
- return result;
5896
- };
5897
5721
  class Badge extends FASTElement {
5898
- constructor() {
5899
- super(...arguments);
5900
- this.appearance = BadgeAppearance.filled;
5901
- this.color = BadgeColor.brand;
5902
- }
5903
5722
  }
5904
- __decorateClass$I([
5905
- attr
5906
- ], Badge.prototype, "appearance", 2);
5907
- __decorateClass$I([
5908
- attr
5909
- ], Badge.prototype, "color", 2);
5910
- __decorateClass$I([
5911
- attr
5912
- ], Badge.prototype, "shape", 2);
5913
- __decorateClass$I([
5914
- attr
5915
- ], Badge.prototype, "size", 2);
5916
5723
  applyMixins(Badge, StartEnd);
5917
5724
 
5918
5725
  Badge.define(definition$B);
@@ -5939,14 +5746,14 @@ function maybeSetAutoFocus(element) {
5939
5746
  }
5940
5747
  }
5941
5748
 
5942
- var __defProp$H = Object.defineProperty;
5943
- var __getOwnPropDesc$H = Object.getOwnPropertyDescriptor;
5944
- var __decorateClass$H = (decorators, target, key, kind) => {
5945
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$H(target, key) : target;
5749
+ var __defProp$u = Object.defineProperty;
5750
+ var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
5751
+ var __decorateClass$u = (decorators, target, key, kind) => {
5752
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
5946
5753
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
5947
5754
  if (decorator = decorators[i])
5948
5755
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5949
- if (kind && result) __defProp$H(target, key, result);
5756
+ if (kind && result) __defProp$u(target, key, result);
5950
5757
  return result;
5951
5758
  };
5952
5759
  class BaseButton extends FASTElement {
@@ -6172,78 +5979,93 @@ class BaseButton extends FASTElement {
6172
5979
  * @public
6173
5980
  */
6174
5981
  BaseButton.formAssociated = true;
6175
- __decorateClass$H([
5982
+ __decorateClass$u([
6176
5983
  observable
6177
5984
  ], BaseButton.prototype, "defaultSlottedContent", 2);
6178
- __decorateClass$H([
5985
+ __decorateClass$u([
6179
5986
  attr({ mode: "boolean" })
6180
5987
  ], BaseButton.prototype, "disabled", 2);
6181
- __decorateClass$H([
5988
+ __decorateClass$u([
6182
5989
  attr({ attribute: "disabled-focusable", mode: "boolean" })
6183
5990
  ], BaseButton.prototype, "disabledFocusable", 2);
6184
- __decorateClass$H([
5991
+ __decorateClass$u([
6185
5992
  attr({ attribute: "formaction" })
6186
5993
  ], BaseButton.prototype, "formAction", 2);
6187
- __decorateClass$H([
5994
+ __decorateClass$u([
6188
5995
  attr({ attribute: "form" })
6189
5996
  ], BaseButton.prototype, "formAttribute", 2);
6190
- __decorateClass$H([
5997
+ __decorateClass$u([
6191
5998
  attr({ attribute: "formenctype" })
6192
5999
  ], BaseButton.prototype, "formEnctype", 2);
6193
- __decorateClass$H([
6000
+ __decorateClass$u([
6194
6001
  attr({ attribute: "formmethod" })
6195
6002
  ], BaseButton.prototype, "formMethod", 2);
6196
- __decorateClass$H([
6003
+ __decorateClass$u([
6197
6004
  attr({ attribute: "formnovalidate", mode: "boolean" })
6198
6005
  ], BaseButton.prototype, "formNoValidate", 2);
6199
- __decorateClass$H([
6006
+ __decorateClass$u([
6200
6007
  attr({ attribute: "formtarget" })
6201
6008
  ], BaseButton.prototype, "formTarget", 2);
6202
- __decorateClass$H([
6009
+ __decorateClass$u([
6203
6010
  attr
6204
6011
  ], BaseButton.prototype, "name", 2);
6205
- __decorateClass$H([
6012
+ __decorateClass$u([
6206
6013
  attr
6207
6014
  ], BaseButton.prototype, "type", 2);
6208
- __decorateClass$H([
6015
+ __decorateClass$u([
6209
6016
  attr
6210
6017
  ], BaseButton.prototype, "value", 2);
6211
6018
 
6212
- var __defProp$G = Object.defineProperty;
6213
- var __getOwnPropDesc$G = Object.getOwnPropertyDescriptor;
6214
- var __decorateClass$G = (decorators, target, key, kind) => {
6215
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$G(target, key) : target;
6216
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
6217
- if (decorator = decorators[i])
6218
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6219
- if (kind && result) __defProp$G(target, key, result);
6220
- return result;
6221
- };
6222
6019
  class Button extends BaseButton {
6223
- constructor() {
6224
- super(...arguments);
6225
- this.iconOnly = false;
6226
- }
6227
6020
  }
6228
- __decorateClass$G([
6229
- attr
6230
- ], Button.prototype, "appearance", 2);
6231
- __decorateClass$G([
6232
- attr
6233
- ], Button.prototype, "shape", 2);
6234
- __decorateClass$G([
6235
- attr
6236
- ], Button.prototype, "size", 2);
6237
- __decorateClass$G([
6238
- attr({ attribute: "icon-only", mode: "boolean" })
6239
- ], Button.prototype, "iconOnly", 2);
6240
6021
  applyMixins(Button, StartEnd);
6241
6022
 
6242
6023
  Button.define(definition$A);
6243
6024
 
6244
6025
  const tagName$z = `${FluentDesignSystem.prefix}-checkbox`;
6245
6026
 
6246
- const activeState = stateSelector("active");
6027
+ const AnchorPositioningCSSSupported = CSS.supports("anchor-name: --a");
6028
+ const AnchorPositioningHTMLSupported = "anchor" in HTMLElement.prototype;
6029
+ const CustomStatesSetSupported = CSS.supports("selector(:state(g))");
6030
+
6031
+ const statesMap = /* @__PURE__ */ new Map();
6032
+ function stateSelector(state) {
6033
+ return statesMap.get(state) ?? statesMap.set(state, CustomStatesSetSupported ? `:state(${state})` : `[state--${state}]`).get(state);
6034
+ }
6035
+ function toggleState(elementInternals, state, force) {
6036
+ if (!state || !elementInternals) {
6037
+ return;
6038
+ }
6039
+ if (!CustomStatesSetSupported) {
6040
+ elementInternals.shadowRoot.host.toggleAttribute(`state--${state}`, force);
6041
+ return;
6042
+ }
6043
+ if (force ?? !elementInternals.states.has(state)) {
6044
+ elementInternals.states.add(state);
6045
+ return;
6046
+ }
6047
+ elementInternals.states.delete(state);
6048
+ }
6049
+ const matchingStateMap = /* @__PURE__ */ new WeakMap();
6050
+ function hasMatchingState(States, state) {
6051
+ if (!States || !state) {
6052
+ return false;
6053
+ }
6054
+ if (matchingStateMap.has(States)) {
6055
+ return matchingStateMap.get(States).has(state);
6056
+ }
6057
+ const stateSet = new Set(Object.values(States));
6058
+ matchingStateMap.set(States, stateSet);
6059
+ return stateSet.has(state);
6060
+ }
6061
+ function swapStates(elementInternals, prev = "", next = "", States, prefix = "") {
6062
+ toggleState(elementInternals, `${prefix}${prev}`, false);
6063
+ if (!States || hasMatchingState(States, next)) {
6064
+ toggleState(elementInternals, `${prefix}${next}`, true);
6065
+ }
6066
+ }
6067
+
6068
+ stateSelector("active");
6247
6069
  const badInputState = stateSelector("bad-input");
6248
6070
  const checkedState = stateSelector("checked");
6249
6071
  const customErrorState = stateSelector("custom-error");
@@ -6298,14 +6120,14 @@ const definition$z = {
6298
6120
  template: template$z
6299
6121
  };
6300
6122
 
6301
- var __defProp$F = Object.defineProperty;
6302
- var __getOwnPropDesc$F = Object.getOwnPropertyDescriptor;
6303
- var __decorateClass$F = (decorators, target, key, kind) => {
6304
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$F(target, key) : target;
6123
+ var __defProp$t = Object.defineProperty;
6124
+ var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
6125
+ var __decorateClass$t = (decorators, target, key, kind) => {
6126
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
6305
6127
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
6306
6128
  if (decorator = decorators[i])
6307
6129
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6308
- if (kind && result) __defProp$F(target, key, result);
6130
+ if (kind && result) __defProp$t(target, key, result);
6309
6131
  return result;
6310
6132
  };
6311
6133
  class BaseCheckbox extends FASTElement {
@@ -6658,36 +6480,36 @@ class BaseCheckbox extends FASTElement {
6658
6480
  * @public
6659
6481
  */
6660
6482
  BaseCheckbox.formAssociated = true;
6661
- __decorateClass$F([
6483
+ __decorateClass$t([
6662
6484
  observable
6663
6485
  ], BaseCheckbox.prototype, "disabled", 2);
6664
- __decorateClass$F([
6486
+ __decorateClass$t([
6665
6487
  attr({ attribute: "disabled", mode: "boolean" })
6666
6488
  ], BaseCheckbox.prototype, "disabledAttribute", 2);
6667
- __decorateClass$F([
6489
+ __decorateClass$t([
6668
6490
  attr({ attribute: "form" })
6669
6491
  ], BaseCheckbox.prototype, "formAttribute", 2);
6670
- __decorateClass$F([
6492
+ __decorateClass$t([
6671
6493
  attr({ attribute: "checked", mode: "boolean" })
6672
6494
  ], BaseCheckbox.prototype, "initialChecked", 2);
6673
- __decorateClass$F([
6495
+ __decorateClass$t([
6674
6496
  attr({ attribute: "value", mode: "fromView" })
6675
6497
  ], BaseCheckbox.prototype, "initialValue", 2);
6676
- __decorateClass$F([
6498
+ __decorateClass$t([
6677
6499
  attr
6678
6500
  ], BaseCheckbox.prototype, "name", 2);
6679
- __decorateClass$F([
6501
+ __decorateClass$t([
6680
6502
  attr({ mode: "boolean" })
6681
6503
  ], BaseCheckbox.prototype, "required", 2);
6682
6504
 
6683
- var __defProp$E = Object.defineProperty;
6684
- var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
6685
- var __decorateClass$E = (decorators, target, key, kind) => {
6686
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
6505
+ var __defProp$s = Object.defineProperty;
6506
+ var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
6507
+ var __decorateClass$s = (decorators, target, key, kind) => {
6508
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
6687
6509
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
6688
6510
  if (decorator = decorators[i])
6689
6511
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6690
- if (kind && result) __defProp$E(target, key, result);
6512
+ if (kind && result) __defProp$s(target, key, result);
6691
6513
  return result;
6692
6514
  };
6693
6515
  class Checkbox extends BaseCheckbox {
@@ -6730,15 +6552,9 @@ class Checkbox extends BaseCheckbox {
6730
6552
  super.toggleChecked(force);
6731
6553
  }
6732
6554
  }
6733
- __decorateClass$E([
6555
+ __decorateClass$s([
6734
6556
  observable
6735
6557
  ], Checkbox.prototype, "indeterminate", 2);
6736
- __decorateClass$E([
6737
- attr
6738
- ], Checkbox.prototype, "shape", 2);
6739
- __decorateClass$E([
6740
- attr
6741
- ], Checkbox.prototype, "size", 2);
6742
6558
 
6743
6559
  Checkbox.define(definition$z);
6744
6560
 
@@ -6779,14 +6595,14 @@ const definition$x = {
6779
6595
  template: template$x
6780
6596
  };
6781
6597
 
6782
- var __defProp$D = Object.defineProperty;
6783
- var __getOwnPropDesc$D = Object.getOwnPropertyDescriptor;
6784
- var __decorateClass$D = (decorators, target, key, kind) => {
6785
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$D(target, key) : target;
6598
+ var __defProp$r = Object.defineProperty;
6599
+ var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
6600
+ var __decorateClass$r = (decorators, target, key, kind) => {
6601
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
6786
6602
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
6787
6603
  if (decorator = decorators[i])
6788
6604
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6789
- if (kind && result) __defProp$D(target, key, result);
6605
+ if (kind && result) __defProp$r(target, key, result);
6790
6606
  return result;
6791
6607
  };
6792
6608
  class BaseCounterBadge extends FASTElement {
@@ -6814,44 +6630,44 @@ class BaseCounterBadge extends FASTElement {
6814
6630
  return `${count}`;
6815
6631
  }
6816
6632
  }
6817
- __decorateClass$D([
6633
+ __decorateClass$r([
6818
6634
  attr({ converter: nullableNumberConverter })
6819
6635
  ], BaseCounterBadge.prototype, "count", 2);
6820
- __decorateClass$D([
6636
+ __decorateClass$r([
6821
6637
  attr({ attribute: "overflow-count", converter: nullableNumberConverter })
6822
6638
  ], BaseCounterBadge.prototype, "overflowCount", 2);
6823
- __decorateClass$D([
6639
+ __decorateClass$r([
6824
6640
  attr({ attribute: "show-zero", mode: "boolean" })
6825
6641
  ], BaseCounterBadge.prototype, "showZero", 2);
6826
- __decorateClass$D([
6642
+ __decorateClass$r([
6827
6643
  attr({ mode: "boolean" })
6828
6644
  ], BaseCounterBadge.prototype, "dot", 2);
6829
- __decorateClass$D([
6645
+ __decorateClass$r([
6830
6646
  volatile
6831
6647
  ], BaseCounterBadge.prototype, "displayValue", 1);
6832
6648
 
6833
- var __defProp$C = Object.defineProperty;
6834
- var __getOwnPropDesc$C = Object.getOwnPropertyDescriptor;
6835
- var __decorateClass$C = (decorators, target, key, kind) => {
6836
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$C(target, key) : target;
6837
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
6838
- if (decorator = decorators[i])
6839
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6840
- if (kind && result) __defProp$C(target, key, result);
6649
+ var __defProp$q = Object.defineProperty;
6650
+ var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
6651
+ var __decorateClass$q = (decorators, target, key, kind) => {
6652
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
6653
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
6654
+ if (decorator = decorators[i])
6655
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6656
+ if (kind && result) __defProp$q(target, key, result);
6841
6657
  return result;
6842
6658
  };
6843
6659
  class CounterBadge extends BaseCounterBadge {
6844
6660
  }
6845
- __decorateClass$C([
6661
+ __decorateClass$q([
6846
6662
  attr
6847
6663
  ], CounterBadge.prototype, "appearance", 2);
6848
- __decorateClass$C([
6664
+ __decorateClass$q([
6849
6665
  attr
6850
6666
  ], CounterBadge.prototype, "color", 2);
6851
- __decorateClass$C([
6667
+ __decorateClass$q([
6852
6668
  attr
6853
6669
  ], CounterBadge.prototype, "shape", 2);
6854
- __decorateClass$C([
6670
+ __decorateClass$q([
6855
6671
  attr
6856
6672
  ], CounterBadge.prototype, "size", 2);
6857
6673
  applyMixins(CounterBadge, StartEnd);
@@ -6882,14 +6698,14 @@ const definition$w = {
6882
6698
  template: template$w
6883
6699
  };
6884
6700
 
6885
- var __defProp$B = Object.defineProperty;
6886
- var __getOwnPropDesc$B = Object.getOwnPropertyDescriptor;
6887
- var __decorateClass$B = (decorators, target, key, kind) => {
6888
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$B(target, key) : target;
6701
+ var __defProp$p = Object.defineProperty;
6702
+ var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
6703
+ var __decorateClass$p = (decorators, target, key, kind) => {
6704
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
6889
6705
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
6890
6706
  if (decorator = decorators[i])
6891
6707
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6892
- if (kind && result) __defProp$B(target, key, result);
6708
+ if (kind && result) __defProp$p(target, key, result);
6893
6709
  return result;
6894
6710
  };
6895
6711
  class Dialog extends FASTElement {
@@ -6992,34 +6808,34 @@ class Dialog extends FASTElement {
6992
6808
  return true;
6993
6809
  }
6994
6810
  }
6995
- __decorateClass$B([
6811
+ __decorateClass$p([
6996
6812
  observable
6997
6813
  ], Dialog.prototype, "dialog", 2);
6998
- __decorateClass$B([
6814
+ __decorateClass$p([
6999
6815
  attr({ attribute: "aria-describedby" })
7000
6816
  ], Dialog.prototype, "ariaDescribedby", 2);
7001
- __decorateClass$B([
6817
+ __decorateClass$p([
7002
6818
  attr({ attribute: "aria-labelledby" })
7003
6819
  ], Dialog.prototype, "ariaLabelledby", 2);
7004
- __decorateClass$B([
6820
+ __decorateClass$p([
7005
6821
  attr({ attribute: "aria-label" })
7006
6822
  ], Dialog.prototype, "ariaLabel", 2);
7007
- __decorateClass$B([
6823
+ __decorateClass$p([
7008
6824
  attr
7009
6825
  ], Dialog.prototype, "type", 2);
7010
- __decorateClass$B([
6826
+ __decorateClass$p([
7011
6827
  volatile
7012
6828
  ], Dialog.prototype, "dialogDescribedby", 1);
7013
- __decorateClass$B([
6829
+ __decorateClass$p([
7014
6830
  volatile
7015
6831
  ], Dialog.prototype, "dialogLabel", 1);
7016
- __decorateClass$B([
6832
+ __decorateClass$p([
7017
6833
  volatile
7018
6834
  ], Dialog.prototype, "dialogLabelledby", 1);
7019
- __decorateClass$B([
6835
+ __decorateClass$p([
7020
6836
  volatile
7021
6837
  ], Dialog.prototype, "dialogModal", 1);
7022
- __decorateClass$B([
6838
+ __decorateClass$p([
7023
6839
  volatile
7024
6840
  ], Dialog.prototype, "dialogRole", 1);
7025
6841
 
@@ -7090,14 +6906,14 @@ const definition$u = {
7090
6906
  template: template$u
7091
6907
  };
7092
6908
 
7093
- var __defProp$A = Object.defineProperty;
7094
- var __getOwnPropDesc$A = Object.getOwnPropertyDescriptor;
7095
- var __decorateClass$A = (decorators, target, key, kind) => {
7096
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$A(target, key) : target;
6909
+ var __defProp$o = Object.defineProperty;
6910
+ var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
6911
+ var __decorateClass$o = (decorators, target, key, kind) => {
6912
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
7097
6913
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
7098
6914
  if (decorator = decorators[i])
7099
6915
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7100
- if (kind && result) __defProp$A(target, key, result);
6916
+ if (kind && result) __defProp$o(target, key, result);
7101
6917
  return result;
7102
6918
  };
7103
6919
  class BaseDivider extends FASTElement {
@@ -7144,47 +6960,18 @@ class BaseDivider extends FASTElement {
7144
6960
  swapStates(this.elementInternals, previous, next, DividerOrientation);
7145
6961
  }
7146
6962
  }
7147
- __decorateClass$A([
6963
+ __decorateClass$o([
7148
6964
  attr
7149
6965
  ], BaseDivider.prototype, "role", 2);
7150
- __decorateClass$A([
6966
+ __decorateClass$o([
7151
6967
  attr
7152
6968
  ], BaseDivider.prototype, "orientation", 2);
7153
6969
 
7154
- var __defProp$z = Object.defineProperty;
7155
- var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
7156
- var __decorateClass$z = (decorators, target, key, kind) => {
7157
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
7158
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
7159
- if (decorator = decorators[i])
7160
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7161
- if (kind && result) __defProp$z(target, key, result);
7162
- return result;
7163
- };
7164
6970
  class Divider extends BaseDivider {
7165
6971
  }
7166
- __decorateClass$z([
7167
- attr({ attribute: "align-content" })
7168
- ], Divider.prototype, "alignContent", 2);
7169
- __decorateClass$z([
7170
- attr
7171
- ], Divider.prototype, "appearance", 2);
7172
- __decorateClass$z([
7173
- attr({ mode: "boolean" })
7174
- ], Divider.prototype, "inset", 2);
7175
6972
 
7176
6973
  Divider.define(definition$u);
7177
6974
 
7178
- const DrawerPosition = {
7179
- start: "start",
7180
- end: "end"
7181
- };
7182
- const DrawerSize = {
7183
- small: "small",
7184
- medium: "medium",
7185
- large: "large",
7186
- full: "full"
7187
- };
7188
6975
  const DrawerType = {
7189
6976
  nonModal: "non-modal",
7190
6977
  modal: "modal",
@@ -7195,7 +6982,7 @@ const tagName$t = `${FluentDesignSystem.prefix}-drawer`;
7195
6982
  const styles$t = css`${display("block")} :host{--dialog-backdrop:${colorBackgroundOverlay}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{background:${colorNeutralBackground1};border-radius:0;border:${strokeWidthThin} solid ${colorTransparentStroke};border-inline-end-color:${colorTransparentStroke};border-inline-start-color:var(--drawer-separator,${colorTransparentStroke});box-shadow:${shadow64};box-sizing:border-box;color:${colorNeutralForeground1};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};height:100%;line-height:${lineHeightBase300};margin-inline-end:auto;margin-inline-start:0;max-height:100vh;max-width:calc(100vw - ${spacingHorizontalXXL});outline:none;padding:0;bottom:0;top:0;width:var(--drawer-width,592px);z-index:var(--drawer-elevation,1000)}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${curveAccelerateMid}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${curveAccelerateMid}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid};background:var(--dialog-backdrop,${colorBackgroundOverlay});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${curveLinear}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;
7196
6983
 
7197
6984
  function drawerTemplate() {
7198
- return html`<dialog class=dialog part=dialog aria-describedby=${(x) => x.dialogDescribedby} aria-labelledby=${(x) => x.dialogLabelledby} aria-label=${(x) => x.dialogLabel} aria-modal=${(x) => x.dialogModal} role=${(x) => x.dialogRole} size=${(x) => x.size} position=${(x) => x.position} @click=${(x, c) => x.clickHandler(c.event)} @cancel=${(x) => x.cancelHandler()} ${ref("dialog")}><slot></slot></dialog>`;
6985
+ return html`<dialog class=dialog part=dialog aria-describedby=${(x) => x.dialogDescribedby} aria-labelledby=${(x) => x.dialogLabelledby} aria-label=${(x) => x.dialogLabel} aria-modal=${(x) => x.dialogModal} role=${(x) => x.dialogRole} @click=${(x, c) => x.clickHandler(c.event)} @cancel=${(x) => x.cancelHandler()} ${ref("dialog")}><slot></slot></dialog>`;
7199
6986
  }
7200
6987
  const template$t = drawerTemplate();
7201
6988
 
@@ -7206,21 +6993,19 @@ const definition$t = {
7206
6993
  template: template$t
7207
6994
  };
7208
6995
 
7209
- var __defProp$y = Object.defineProperty;
7210
- var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
7211
- var __decorateClass$y = (decorators, target, key, kind) => {
7212
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$y(target, key) : target;
6996
+ var __defProp$n = Object.defineProperty;
6997
+ var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
6998
+ var __decorateClass$n = (decorators, target, key, kind) => {
6999
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
7213
7000
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
7214
7001
  if (decorator = decorators[i])
7215
7002
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7216
- if (kind && result) __defProp$y(target, key, result);
7003
+ if (kind && result) __defProp$n(target, key, result);
7217
7004
  return result;
7218
7005
  };
7219
7006
  class Drawer extends FASTElement {
7220
7007
  constructor() {
7221
7008
  super(...arguments);
7222
- this.position = DrawerPosition.start;
7223
- this.size = DrawerSize.medium;
7224
7009
  /**
7225
7010
  * Method to emit an event after the dialog's open state changes
7226
7011
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
@@ -7326,40 +7111,34 @@ class Drawer extends FASTElement {
7326
7111
  this.hide();
7327
7112
  }
7328
7113
  }
7329
- __decorateClass$y([
7114
+ __decorateClass$n([
7330
7115
  attr
7331
7116
  ], Drawer.prototype, "type", 2);
7332
- __decorateClass$y([
7117
+ __decorateClass$n([
7333
7118
  attr({ attribute: "aria-labelledby" })
7334
7119
  ], Drawer.prototype, "ariaLabelledby", 2);
7335
- __decorateClass$y([
7120
+ __decorateClass$n([
7336
7121
  attr({ attribute: "aria-describedby" })
7337
7122
  ], Drawer.prototype, "ariaDescribedby", 2);
7338
- __decorateClass$y([
7339
- attr
7340
- ], Drawer.prototype, "position", 2);
7341
- __decorateClass$y([
7123
+ __decorateClass$n([
7342
7124
  observable
7343
7125
  ], Drawer.prototype, "role", 2);
7344
- __decorateClass$y([
7345
- attr({ attribute: "size" })
7346
- ], Drawer.prototype, "size", 2);
7347
- __decorateClass$y([
7126
+ __decorateClass$n([
7348
7127
  observable
7349
7128
  ], Drawer.prototype, "dialog", 2);
7350
- __decorateClass$y([
7129
+ __decorateClass$n([
7351
7130
  volatile
7352
7131
  ], Drawer.prototype, "dialogDescribedby", 1);
7353
- __decorateClass$y([
7132
+ __decorateClass$n([
7354
7133
  volatile
7355
7134
  ], Drawer.prototype, "dialogLabel", 1);
7356
- __decorateClass$y([
7135
+ __decorateClass$n([
7357
7136
  volatile
7358
7137
  ], Drawer.prototype, "dialogLabelledby", 1);
7359
- __decorateClass$y([
7138
+ __decorateClass$n([
7360
7139
  volatile
7361
7140
  ], Drawer.prototype, "dialogModal", 1);
7362
- __decorateClass$y([
7141
+ __decorateClass$n([
7363
7142
  volatile
7364
7143
  ], Drawer.prototype, "dialogRole", 1);
7365
7144
 
@@ -7419,12 +7198,6 @@ class DrawerBody extends FASTElement {
7419
7198
 
7420
7199
  DrawerBody.define(definition$s);
7421
7200
 
7422
- const DropdownAppearance = {
7423
- filledDarker: "filled-darker",
7424
- filledLighter: "filled-lighter",
7425
- outline: "outline",
7426
- transparent: "transparent"
7427
- };
7428
7201
  const DropdownType = {
7429
7202
  combobox: "combobox",
7430
7203
  dropdown: "dropdown",
@@ -7432,7 +7205,7 @@ const DropdownType = {
7432
7205
  };
7433
7206
  const tagName$r = `${FluentDesignSystem.prefix}-dropdown`;
7434
7207
 
7435
- const styles$r = css`${display("inline-flex")} :host{--_indicator-size:20px;--_placeholder-color:${colorNeutralForeground4};--_initial-display:attr(initial-display raw-string,attr(placeholder raw-string,none));box-sizing:border-box;color:${colorNeutralForeground1};cursor:pointer}:host(${placeholderShownState}){color:var(--_placeholder-color)}.control{appearance:none;background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:inset 0 0 0 ${strokeWidthThin} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${spacingHorizontalXXS};display:inline-grid;grid-template-columns:1fr var(--_indicator-size);justify-content:space-between;min-width:160px;overflow:hidden;padding:${spacingVerticalSNudge} ${spacingHorizontalMNudge};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${typographyBody1Styles}}:host([size='small']) .control{column-gap:${spacingHorizontalXXS};padding:${spacingVerticalXS} ${spacingHorizontalSNudge};${typographyCaption1Styles}}:host([size='large']) .control{column-gap:${spacingHorizontalS};padding:${spacingVerticalS} ${spacingHorizontalM};${typographyBody2Styles}}:host(:not(:has([slot='control']))) slot[name='control']::before{content:var(--_initial-display)}@scope{:scope:not(:has([slot='control'])) slot[name='control']::before{content:var(--_initial-display)}}:host(:is(:not([value]),[value=''])) slot[name='control']::before{color:var(--_placeholder-color)}::slotted(:is(input,button)){all:unset}slot[name='control']::before,::slotted(:is(input,button)){grid-area:1/1}::slotted(button){cursor:pointer}::slotted(input){cursor:text;min-width:0;width:100%}::slotted(input)::placeholder{color:var(--_placeholder-color)}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${colorNeutralForeground3};display:inline-flex;grid-area:1/2;justify-content:center;width:var(--_indicator-size)}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--_indicator-size:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--_indicator-size:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${strokeWidthThin}}.control::after{background-color:${colorCompoundBrandStroke};height:${strokeWidthThick};scale:0 1;transition:scale ${durationUltraFast} ${curveDecelerateMid}}:host(:where(:focus-within)) .control{border-radius:${borderRadiusMedium};box-shadow:inset 0 0 0 1px ${colorStrokeFocus1};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}:host(:where(${openState},:focus-within)) .control::after{scale:1 1;transition-duration:${durationNormal};transition-timing-function:${curveAccelerateMid}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${colorNeutralStrokeAccessible}}:host([appearance='transparent']) .control{--control-border-color:${colorTransparentStrokeInteractive};background-color:${colorTransparentBackground};border-radius:${borderRadiusNone}}:host([appearance='outline']) .control{--control-border-color:${colorNeutralStroke1}}:host([appearance='outline']) .control:hover{--control-border-color:${colorNeutralStroke1Hover}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${colorNeutralStrokeAccessibleHover}}:host([appearance='outline']) .control:hover::after{background-color:${colorCompoundBrandBackgroundHover}}:host([appearance='outline']) .control:active{--control-border-color:${colorNeutralStroke1Pressed}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${colorNeutralStrokeAccessiblePressed}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${colorCompoundBrandBackgroundPressed}}:host([appearance='filled-darker']) .control{background-color:${colorNeutralBackground3}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${colorTransparentStroke}}:host(${nativeDisabledState}),:host(${nativeDisabledState}) ::slotted(:where(button,input)){cursor:not-allowed}:host(${nativeDisabledState}) .control::before,:host(${nativeDisabledState}) .control::after{content:none}:host(${nativeDisabledState}) .control:is(*,:active,:hover),:host(${nativeDisabledState}) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${colorNeutralStrokeDisabled};background-color:${colorNeutralBackgroundDisabled};color:${colorNeutralForegroundDisabled}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${lineHeightBase300} + (${spacingVerticalSNudge} * 2) + ${strokeWidthThin})}:host([size='small']){--margin-offset:calc(${lineHeightBase200} + (${spacingVerticalXS} * 2) + ${strokeWidthThin})}:host([size='large']){--margin-offset:calc(${lineHeightBase400} + (${spacingVerticalS} * 2) + ${strokeWidthThin})}}@media (forced-colors:active){:host(${nativeDisabledState}) .control{border-color:GrayText}:host(${nativeDisabledState}) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}}`;
7208
+ const styles$r = css`${display("inline-flex")} :host{--_indicator-size:20px;--_placeholder-color:${colorNeutralForeground4};--_initial-display:attr(initial-display raw-string,attr(placeholder raw-string,none));box-sizing:border-box;color:${colorNeutralForeground1};cursor:pointer}:host(${placeholderShownState}){color:var(--_placeholder-color)}.control{--control-border-color:${colorNeutralStroke1};appearance:none;background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:inset 0 0 0 ${strokeWidthThin} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${spacingHorizontalXXS};display:inline-grid;grid-template-columns:1fr var(--_indicator-size);justify-content:space-between;min-width:160px;overflow:hidden;padding:${spacingVerticalSNudge} ${spacingHorizontalMNudge};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${typographyBody1Styles}}:host([size='small']) .control{column-gap:${spacingHorizontalXXS};padding:${spacingVerticalXS} ${spacingHorizontalSNudge};${typographyCaption1Styles}}:host([size='large']) .control{column-gap:${spacingHorizontalS};padding:${spacingVerticalS} ${spacingHorizontalM};${typographyBody2Styles}}:host(:not(:has([slot='control']))) slot[name='control']::before{content:var(--_initial-display)}@scope{:scope:not(:has([slot='control'])) slot[name='control']::before{content:var(--_initial-display)}}:host(:is(:not([value]),[value=''])) slot[name='control']::before{color:var(--_placeholder-color)}::slotted(:is(input,button)){all:unset}slot[name='control']::before,::slotted(:is(input,button)){grid-area:1/1}::slotted(button){cursor:pointer}::slotted(input){cursor:text;min-width:0;width:100%}::slotted(input)::placeholder{color:var(--_placeholder-color)}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${colorNeutralForeground3};display:inline-flex;grid-area:1/2;justify-content:center;width:var(--_indicator-size)}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--_indicator-size:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--_indicator-size:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{background-color:${colorNeutralStrokeAccessible};height:${strokeWidthThin}}.control::after{background-color:${colorCompoundBrandStroke};height:${strokeWidthThick};scale:0 1;transition:scale ${durationUltraFast} ${curveDecelerateMid}}:host(:where(:focus-within)) .control{border-radius:${borderRadiusMedium};box-shadow:inset 0 0 0 1px ${colorStrokeFocus1};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}:host(:where(${openState},:focus-within)) .control::after{scale:1 1;transition-duration:${durationNormal};transition-timing-function:${curveAccelerateMid}}:host([appearance='transparent']) .control{--control-border-color:${colorTransparentStrokeInteractive};background-color:${colorTransparentBackground};border-radius:${borderRadiusNone}}.control:hover{--control-border-color:${colorNeutralStroke1Hover}}.control:hover::before{background-color:${colorNeutralStrokeAccessibleHover}}.control:hover::after{background-color:${colorCompoundBrandBackgroundHover}}.control:active{--control-border-color:${colorNeutralStroke1Pressed}}.control:active::before{background-color:${colorNeutralStrokeAccessiblePressed}}.control:active::after{background-color:${colorCompoundBrandBackgroundPressed}}:host([appearance='transparent']) .control:is(:hover,:active){--control-border-color:${colorTransparentStrokeInteractive}}:host([appearance='transparent']) .control:hover::after{background-color:${colorCompoundBrandStroke}}:host([appearance='filled-darker']) .control{background-color:${colorNeutralBackground3}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${colorTransparentStroke}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control:is(:hover,:active){--control-border-color:${colorTransparentStroke}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control::before{background-color:initial}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control:is(:hover,:active)::after{background-color:${colorCompoundBrandStroke}}:host(${nativeDisabledState}),:host(${nativeDisabledState}) ::slotted(:where(button,input)){cursor:not-allowed}:host(${nativeDisabledState}) .control::before,:host(${nativeDisabledState}) .control::after{content:none}:host(${nativeDisabledState}) .control:is(*,:active,:hover),:host(${nativeDisabledState}) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${colorNeutralStrokeDisabled};background-color:${colorNeutralBackgroundDisabled};color:${colorNeutralForegroundDisabled}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${lineHeightBase300} + (${spacingVerticalSNudge} * 2) + ${strokeWidthThin})}:host([size='small']){--margin-offset:calc(${lineHeightBase200} + (${spacingVerticalXS} * 2) + ${strokeWidthThin})}:host([size='large']){--margin-offset:calc(${lineHeightBase400} + (${spacingVerticalS} * 2) + ${strokeWidthThin})}}@media (forced-colors:active){:host(${nativeDisabledState}) .control{border-color:GrayText}:host(${nativeDisabledState}) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}}`;
7436
7209
 
7437
7210
  const dropdownIndicatorTemplate = html`<svg class=chevron-down-20-regular aria-hidden=true slot=indicator viewBox="0 0 20 20" ${ref("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill=currentColor /></svg>`;
7438
7211
  const dropdownInputTemplate = html`<input @input=${(x, c) => x.inputHandler(c.event)} @change=${(x, c) => x.changeHandler(c.event)} aria-activedescendant=${(x) => x.activeDescendant} aria-controls=${(x) => x.listbox?.id ?? null} aria-labelledby=${(x) => x.ariaLabelledBy} aria-expanded=${(x) => x.open} aria-haspopup=listbox size=1 placeholder=${(x) => x.placeholder} role=combobox ?disabled=${(x) => x.disabled} value=${(x) => x.initialValue} slot=control ${ref("control")}>`;
@@ -7485,14 +7258,14 @@ function uniqueId(prefix = "id-") {
7485
7258
  return document.getElementById(str) ? uniqueId(prefix) : str;
7486
7259
  }
7487
7260
 
7488
- var __defProp$x = Object.defineProperty;
7489
- var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
7490
- var __decorateClass$x = (decorators, target, key, kind) => {
7491
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
7261
+ var __defProp$m = Object.defineProperty;
7262
+ var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
7263
+ var __decorateClass$m = (decorators, target, key, kind) => {
7264
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
7492
7265
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
7493
7266
  if (decorator = decorators[i])
7494
7267
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7495
- if (kind && result) __defProp$x(target, key, result);
7268
+ if (kind && result) __defProp$m(target, key, result);
7496
7269
  return result;
7497
7270
  };
7498
7271
  const _BaseDropdown = class _BaseDropdown extends FASTElement {
@@ -7567,7 +7340,7 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
7567
7340
  if (typeof next === "number") {
7568
7341
  const optionIndex = this.matches(":has(:focus-visible)") ? next : -1;
7569
7342
  this.enabledOptions.forEach((option, index) => {
7570
- option.active = index === optionIndex;
7343
+ option.toggleAttribute("active", index === optionIndex);
7571
7344
  });
7572
7345
  if (this.open) {
7573
7346
  this.enabledOptions[optionIndex]?.scrollIntoView({ block: "nearest" });
@@ -8279,89 +8052,64 @@ _BaseDropdown.elementIdentity = "dropdown";
8279
8052
  * @public
8280
8053
  */
8281
8054
  _BaseDropdown.formAssociated = true;
8282
- __decorateClass$x([
8055
+ __decorateClass$m([
8283
8056
  volatile
8284
8057
  ], _BaseDropdown.prototype, "activeDescendant", 1);
8285
- __decorateClass$x([
8058
+ __decorateClass$m([
8286
8059
  observable
8287
8060
  ], _BaseDropdown.prototype, "activeIndex", 2);
8288
- __decorateClass$x([
8061
+ __decorateClass$m([
8289
8062
  attr({ attribute: "aria-labelledby", mode: "fromView" })
8290
8063
  ], _BaseDropdown.prototype, "ariaLabelledBy", 2);
8291
- __decorateClass$x([
8064
+ __decorateClass$m([
8292
8065
  observable
8293
8066
  ], _BaseDropdown.prototype, "control", 2);
8294
- __decorateClass$x([
8067
+ __decorateClass$m([
8295
8068
  attr({ mode: "boolean" })
8296
8069
  ], _BaseDropdown.prototype, "disabled", 2);
8297
- __decorateClass$x([
8070
+ __decorateClass$m([
8298
8071
  volatile
8299
8072
  ], _BaseDropdown.prototype, "displayValue", 1);
8300
- __decorateClass$x([
8073
+ __decorateClass$m([
8301
8074
  attr({ attribute: "id" })
8302
8075
  ], _BaseDropdown.prototype, "id", 2);
8303
- __decorateClass$x([
8076
+ __decorateClass$m([
8304
8077
  observable
8305
8078
  ], _BaseDropdown.prototype, "indicator", 2);
8306
- __decorateClass$x([
8079
+ __decorateClass$m([
8307
8080
  observable
8308
8081
  ], _BaseDropdown.prototype, "indicatorSlot", 2);
8309
- __decorateClass$x([
8082
+ __decorateClass$m([
8310
8083
  attr({ attribute: "value", mode: "fromView" })
8311
8084
  ], _BaseDropdown.prototype, "initialValue", 2);
8312
- __decorateClass$x([
8085
+ __decorateClass$m([
8313
8086
  observable
8314
8087
  ], _BaseDropdown.prototype, "listbox", 2);
8315
- __decorateClass$x([
8088
+ __decorateClass$m([
8316
8089
  attr({ mode: "boolean" })
8317
8090
  ], _BaseDropdown.prototype, "multiple", 2);
8318
- __decorateClass$x([
8091
+ __decorateClass$m([
8319
8092
  attr
8320
8093
  ], _BaseDropdown.prototype, "name", 2);
8321
- __decorateClass$x([
8094
+ __decorateClass$m([
8322
8095
  observable
8323
8096
  ], _BaseDropdown.prototype, "open", 2);
8324
- __decorateClass$x([
8097
+ __decorateClass$m([
8325
8098
  attr
8326
8099
  ], _BaseDropdown.prototype, "placeholder", 2);
8327
- __decorateClass$x([
8100
+ __decorateClass$m([
8328
8101
  attr({ mode: "boolean" })
8329
8102
  ], _BaseDropdown.prototype, "required", 2);
8330
- __decorateClass$x([
8103
+ __decorateClass$m([
8331
8104
  attr
8332
8105
  ], _BaseDropdown.prototype, "type", 2);
8333
8106
  let BaseDropdown = _BaseDropdown;
8334
8107
 
8335
- var __defProp$w = Object.defineProperty;
8336
- var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
8337
- var __decorateClass$w = (decorators, target, key, kind) => {
8338
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
8339
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
8340
- if (decorator = decorators[i])
8341
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8342
- if (kind && result) __defProp$w(target, key, result);
8343
- return result;
8344
- };
8345
8108
  class Dropdown extends BaseDropdown {
8346
- constructor() {
8347
- super(...arguments);
8348
- this.appearance = DropdownAppearance.outline;
8349
- }
8350
8109
  }
8351
- __decorateClass$w([
8352
- attr
8353
- ], Dropdown.prototype, "appearance", 2);
8354
- __decorateClass$w([
8355
- attr
8356
- ], Dropdown.prototype, "size", 2);
8357
8110
 
8358
8111
  Dropdown.define(definition$r);
8359
8112
 
8360
- const LabelPosition = {
8361
- above: "above",
8362
- after: "after",
8363
- before: "before"
8364
- };
8365
8113
  const ValidationFlags = {
8366
8114
  badInput: "bad-input",
8367
8115
  customError: "custom-error",
@@ -8377,7 +8125,7 @@ const ValidationFlags = {
8377
8125
  };
8378
8126
  const tagName$o = `${FluentDesignSystem.prefix}-field`;
8379
8127
 
8380
- const styles$q = css`${display("inline-grid")} :host{color:${colorNeutralForeground1};align-items:center;gap:0 ${spacingHorizontalM};justify-items:start}:has([slot='message']){color:${colorNeutralForeground1};row-gap:${spacingVerticalS}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${spacingHorizontalM}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${spacingVerticalXXS}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${spacingVerticalM}}:host(${requiredState}) ::slotted([slot='label'])::after{content:'*'/'';color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${colorNeutralForeground3};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};grid-area:message;line-height:${lineHeightBase200};margin-block-start:${spacingVerticalXXS}}:host(${focusVisibleState}:focus-within){border-radius:${borderRadiusMedium};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};grid-area:label;line-height:${lineHeightBase300};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) ::slotted(label){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${fontWeightSemibold}}:host(${disabledState}){cursor:default}::slotted([flag]){display:none}:host(${badInputState}) ::slotted([flag='${ValidationFlags.badInput}']),:host(${customErrorState}) ::slotted([flag='${ValidationFlags.customError}']),:host(${patternMismatchState}) ::slotted([flag='${ValidationFlags.patternMismatch}']),:host(${rangeOverflowState}) ::slotted([flag='${ValidationFlags.rangeOverflow}']),:host(${rangeUnderflowState}) ::slotted([flag='${ValidationFlags.rangeUnderflow}']),:host(${stepMismatchState}) ::slotted([flag='${ValidationFlags.stepMismatch}']),:host(${tooLongState}) ::slotted([flag='${ValidationFlags.tooLong}']),:host(${tooShortState}) ::slotted([flag='${ValidationFlags.tooShort}']),:host(${typeMismatchState}) ::slotted([flag='${ValidationFlags.typeMismatch}']),:host(${valueMissingState}) ::slotted([flag='${ValidationFlags.valueMissing}']),:host(${validState}) ::slotted([flag='${ValidationFlags.valid}']){display:block}`;
8128
+ const styles$q = css`${display("inline-grid")} :host{color:${colorNeutralForeground1};align-items:center;gap:0 ${spacingHorizontalM};justify-items:start;grid-template-areas:'label' 'input' 'message';row-gap:${spacingVerticalXXS}}:has([slot='message']){color:${colorNeutralForeground1};row-gap:${spacingVerticalS}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${spacingHorizontalM}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${spacingVerticalM}}:host(${requiredState}) ::slotted([slot='label'])::after{content:'*'/'';color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${colorNeutralForeground3};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};grid-area:message;line-height:${lineHeightBase200};margin-block-start:${spacingVerticalXXS}}:host(${focusVisibleState}:focus-within){border-radius:${borderRadiusMedium};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};grid-area:label;line-height:${lineHeightBase300};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) ::slotted(label){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${fontWeightSemibold}}:host(${disabledState}){cursor:default}::slotted([flag]){display:none}:host(${badInputState}) ::slotted([flag='${ValidationFlags.badInput}']),:host(${customErrorState}) ::slotted([flag='${ValidationFlags.customError}']),:host(${patternMismatchState}) ::slotted([flag='${ValidationFlags.patternMismatch}']),:host(${rangeOverflowState}) ::slotted([flag='${ValidationFlags.rangeOverflow}']),:host(${rangeUnderflowState}) ::slotted([flag='${ValidationFlags.rangeUnderflow}']),:host(${stepMismatchState}) ::slotted([flag='${ValidationFlags.stepMismatch}']),:host(${tooLongState}) ::slotted([flag='${ValidationFlags.tooLong}']),:host(${tooShortState}) ::slotted([flag='${ValidationFlags.tooShort}']),:host(${typeMismatchState}) ::slotted([flag='${ValidationFlags.typeMismatch}']),:host(${valueMissingState}) ::slotted([flag='${ValidationFlags.valueMissing}']),:host(${validState}) ::slotted([flag='${ValidationFlags.valid}']){display:block}`;
8381
8129
 
8382
8130
  const template$q = html`<template @click=${(x, c) => x.clickHandler(c.event)} @change=${(x, c) => x.changeHandler(c.event)} @focusin=${(x, c) => x.focusinHandler(c.event)} @focusout=${(x, c) => x.focusoutHandler(c.event)}><slot name=label part=label ${slotted("labelSlot")}></slot><slot name=input part=input ${slotted("slottedInputs")}></slot><slot name=message part=message ${slotted({ property: "messageSlot", filter: elements("[flag]") })}></slot></template>`;
8383
8131
 
@@ -8391,14 +8139,14 @@ const definition$q = {
8391
8139
  template: template$q
8392
8140
  };
8393
8141
 
8394
- var __defProp$v = Object.defineProperty;
8395
- var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
8396
- var __decorateClass$v = (decorators, target, key, kind) => {
8397
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
8142
+ var __defProp$l = Object.defineProperty;
8143
+ var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
8144
+ var __decorateClass$l = (decorators, target, key, kind) => {
8145
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
8398
8146
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
8399
8147
  if (decorator = decorators[i])
8400
8148
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8401
- if (kind && result) __defProp$v(target, key, result);
8149
+ if (kind && result) __defProp$l(target, key, result);
8402
8150
  return result;
8403
8151
  };
8404
8152
  class BaseField extends FASTElement {
@@ -8604,38 +8352,21 @@ class BaseField extends FASTElement {
8604
8352
  }
8605
8353
  }
8606
8354
  }
8607
- __decorateClass$v([
8355
+ __decorateClass$l([
8608
8356
  observable
8609
8357
  ], BaseField.prototype, "labelSlot", 2);
8610
- __decorateClass$v([
8358
+ __decorateClass$l([
8611
8359
  observable
8612
8360
  ], BaseField.prototype, "messageSlot", 2);
8613
- __decorateClass$v([
8361
+ __decorateClass$l([
8614
8362
  observable
8615
8363
  ], BaseField.prototype, "slottedInputs", 2);
8616
- __decorateClass$v([
8364
+ __decorateClass$l([
8617
8365
  observable
8618
8366
  ], BaseField.prototype, "input", 2);
8619
8367
 
8620
- var __defProp$u = Object.defineProperty;
8621
- var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
8622
- var __decorateClass$u = (decorators, target, key, kind) => {
8623
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
8624
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
8625
- if (decorator = decorators[i])
8626
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8627
- if (kind && result) __defProp$u(target, key, result);
8628
- return result;
8629
- };
8630
8368
  class Field extends BaseField {
8631
- constructor() {
8632
- super(...arguments);
8633
- this.labelPosition = LabelPosition.above;
8634
- }
8635
8369
  }
8636
- __decorateClass$u([
8637
- attr({ attribute: "label-position" })
8638
- ], Field.prototype, "labelPosition", 2);
8639
8370
 
8640
8371
  Field.define(definition$q);
8641
8372
 
@@ -8652,33 +8383,8 @@ const definition$p = {
8652
8383
  template: template$p
8653
8384
  };
8654
8385
 
8655
- var __defProp$t = Object.defineProperty;
8656
- var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
8657
- var __decorateClass$t = (decorators, target, key, kind) => {
8658
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
8659
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
8660
- if (decorator = decorators[i])
8661
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8662
- if (kind && result) __defProp$t(target, key, result);
8663
- return result;
8664
- };
8665
8386
  class Image extends FASTElement {
8666
8387
  }
8667
- __decorateClass$t([
8668
- attr({ mode: "boolean" })
8669
- ], Image.prototype, "block", 2);
8670
- __decorateClass$t([
8671
- attr({ mode: "boolean" })
8672
- ], Image.prototype, "bordered", 2);
8673
- __decorateClass$t([
8674
- attr({ mode: "boolean" })
8675
- ], Image.prototype, "shadow", 2);
8676
- __decorateClass$t([
8677
- attr
8678
- ], Image.prototype, "fit", 2);
8679
- __decorateClass$t([
8680
- attr
8681
- ], Image.prototype, "shape", 2);
8682
8388
 
8683
8389
  Image.define(definition$p);
8684
8390
 
@@ -8698,33 +8404,23 @@ const definition$o = {
8698
8404
  template: template$o
8699
8405
  };
8700
8406
 
8701
- var __defProp$s = Object.defineProperty;
8702
- var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
8703
- var __decorateClass$s = (decorators, target, key, kind) => {
8704
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
8407
+ var __defProp$k = Object.defineProperty;
8408
+ var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
8409
+ var __decorateClass$k = (decorators, target, key, kind) => {
8410
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
8705
8411
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
8706
8412
  if (decorator = decorators[i])
8707
8413
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8708
- if (kind && result) __defProp$s(target, key, result);
8414
+ if (kind && result) __defProp$k(target, key, result);
8709
8415
  return result;
8710
8416
  };
8711
8417
  class Label extends FASTElement {
8712
8418
  constructor() {
8713
8419
  super(...arguments);
8714
- this.disabled = false;
8715
8420
  this.required = false;
8716
8421
  }
8717
8422
  }
8718
- __decorateClass$s([
8719
- attr
8720
- ], Label.prototype, "size", 2);
8721
- __decorateClass$s([
8722
- attr
8723
- ], Label.prototype, "weight", 2);
8724
- __decorateClass$s([
8725
- attr({ mode: "boolean" })
8726
- ], Label.prototype, "disabled", 2);
8727
- __decorateClass$s([
8423
+ __decorateClass$k([
8728
8424
  attr({ mode: "boolean" })
8729
8425
  ], Label.prototype, "required", 2);
8730
8426
 
@@ -8746,28 +8442,8 @@ const definition$n = {
8746
8442
  template: template$n
8747
8443
  };
8748
8444
 
8749
- var __defProp$r = Object.defineProperty;
8750
- var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
8751
- var __decorateClass$r = (decorators, target, key, kind) => {
8752
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
8753
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
8754
- if (decorator = decorators[i])
8755
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8756
- if (kind && result) __defProp$r(target, key, result);
8757
- return result;
8758
- };
8759
8445
  class Link extends BaseAnchor {
8760
- constructor() {
8761
- super(...arguments);
8762
- this.inline = false;
8763
- }
8764
8446
  }
8765
- __decorateClass$r([
8766
- attr
8767
- ], Link.prototype, "appearance", 2);
8768
- __decorateClass$r([
8769
- attr({ mode: "boolean" })
8770
- ], Link.prototype, "inline", 2);
8771
8447
 
8772
8448
  Link.define(definition$n);
8773
8449
 
@@ -8785,14 +8461,14 @@ const definition$m = {
8785
8461
  template: template$m
8786
8462
  };
8787
8463
 
8788
- var __defProp$q = Object.defineProperty;
8789
- var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
8790
- var __decorateClass$q = (decorators, target, key, kind) => {
8791
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
8464
+ var __defProp$j = Object.defineProperty;
8465
+ var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
8466
+ var __decorateClass$j = (decorators, target, key, kind) => {
8467
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
8792
8468
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
8793
8469
  if (decorator = decorators[i])
8794
8470
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8795
- if (kind && result) __defProp$q(target, key, result);
8471
+ if (kind && result) __defProp$j(target, key, result);
8796
8472
  return result;
8797
8473
  };
8798
8474
  class Listbox extends FASTElement {
@@ -8959,19 +8635,19 @@ class Listbox extends FASTElement {
8959
8635
  });
8960
8636
  }
8961
8637
  }
8962
- __decorateClass$q([
8638
+ __decorateClass$j([
8963
8639
  observable
8964
8640
  ], Listbox.prototype, "defaultSlot", 2);
8965
- __decorateClass$q([
8641
+ __decorateClass$j([
8966
8642
  observable
8967
8643
  ], Listbox.prototype, "multiple", 2);
8968
- __decorateClass$q([
8644
+ __decorateClass$j([
8969
8645
  observable
8970
8646
  ], Listbox.prototype, "options", 2);
8971
- __decorateClass$q([
8647
+ __decorateClass$j([
8972
8648
  observable
8973
8649
  ], Listbox.prototype, "selectedIndex", 2);
8974
- __decorateClass$q([
8650
+ __decorateClass$j([
8975
8651
  observable
8976
8652
  ], Listbox.prototype, "dropdown", 2);
8977
8653
 
@@ -9027,7 +8703,7 @@ function isMenuItem(element, tagName2 = "-menu-item") {
9027
8703
  }
9028
8704
  const tagName$j = `${FluentDesignSystem.prefix}-menu-item`;
9029
8705
 
9030
- const styles$k = css`${display("flex")} :host{align-items:center;background:${colorNeutralBackground1};border-radius:${borderRadiusMedium};box-sizing:border-box;color:${colorNeutralForeground2};cursor:pointer;font:${fontWeightRegular} ${fontSizeBase300}/${lineHeightBase300} ${fontFamilyBase};gap:4px;min-block-size:32px;overflow:visible;padding-inline:10px}@supports (grid-template-columns:subgrid){:host{display:grid;gap:0;grid-template-columns:subgrid;padding-inline:unset}}:host(:hover){background:${colorNeutralBackground1Hover};color:${colorNeutralForeground2Hover}}:host(:active){background-color:${colorNeutralBackground1Selected};color:${colorNeutralForeground2Pressed}}:host(:active) ::slotted([slot='start']){color:${colorCompoundBrandForeground1Pressed}}:host(${disabledState}){background-color:${colorNeutralBackgroundDisabled};color:${colorNeutralForegroundDisabled}}:host(${disabledState}) ::slotted([slot='start']),:host(${disabledState}) ::slotted([slot='end']){color:${colorNeutralForegroundDisabled}}:host(:focus-visible){border-radius:${borderRadiusMedium};outline:2px solid ${colorStrokeFocus2}}:host(:not(${checkedState})) .indicator,:host(:not(${checkedState})) ::slotted([slot='indicator']),:host(:not(${submenuState})) .submenu-glyph,:host(:not(${submenuState})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${colorNeutralForeground3};font:${fontWeightRegular} ${fontSizeBase200}/${lineHeightBase200} ${fontFamilyBase};white-space:nowrap}.indicator,::slotted([slot='indicator']){grid-column:2/span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:3/span 1}.content{flex-grow:1;grid-column:4/span 1;padding:0 2px;white-space:nowrap}::slotted([slot='end']){grid-column:5/span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:6/span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}@position-try --inline-inside{inset-inline-start:unset;inset-inline-end:anchor(inside)}::slotted([popover]){margin:0;max-block-size:var(--menu-max-height,auto);position:fixed;position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(inside);inset-inline-start:anchor(outside);position-try-fallbacks:--inline-inside,flip-block,flip-block --inline-inside;z-index:1}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}@media (forced-colors:active){:host(${disabledState}),:host(${disabledState}) ::slotted([slot='start']),:host(${disabledState}) ::slotted([slot='end']){color:GrayText}}`;
8706
+ const styles$k = css`${display("flex")} :host{align-items:center;background:${colorNeutralBackground1};border-radius:${borderRadiusMedium};box-sizing:border-box;color:${colorNeutralForeground2};cursor:pointer;font:${fontWeightRegular} ${fontSizeBase300}/${lineHeightBase300} ${fontFamilyBase};gap:4px;min-block-size:32px;overflow:visible;padding-inline:10px}@supports (grid-template-columns:subgrid){:host{display:grid;gap:0;grid-template-columns:subgrid;padding-inline:unset}}:host(:hover){background:${colorNeutralBackground1Hover};color:${colorNeutralForeground2Hover}}:host(:active){background-color:${colorNeutralBackground1Selected};color:${colorNeutralForeground2Pressed}}:host(:active) ::slotted([slot='start']){color:${colorCompoundBrandForeground1Pressed}}:host(${disabledState}){background-color:${colorNeutralBackgroundDisabled};color:${colorNeutralForegroundDisabled}}:host(${disabledState}) ::slotted([slot='start']),:host(${disabledState}) ::slotted([slot='end']){color:${colorNeutralForegroundDisabled}}:host(:focus-visible){border-radius:${borderRadiusMedium};outline:2px solid ${colorStrokeFocus2}}:host(:not([role='menuitemcheckbox']):not([role='menuitemradio'])) .indicator,:host(:not([role='menuitemcheckbox']):not([role='menuitemradio'])) ::slotted([slot='indicator']),:host(:not(${submenuState})) .submenu-glyph,:host(:not(${submenuState})) ::slotted([slot='submenu-glyph']){display:none}:host(:not(${checkedState})) .indicator,:host(:not(${checkedState})) ::slotted([slot='indicator']){visibility:hidden}.indicator,::slotted([slot='indicator']),::slotted([slot='start']),::slotted([slot='end']),.submenu-glyph,::slotted([slot='submenu-glyph']){margin-inline:${spacingHorizontalXXS}}::slotted([slot='end']){color:${colorNeutralForeground3};font:${fontWeightRegular} ${fontSizeBase200}/${lineHeightBase200} ${fontFamilyBase};white-space:nowrap}.indicator,::slotted([slot='indicator']){grid-column:2/span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:3/span 1}.content{flex-grow:1;grid-column:4/span 1;padding:0 2px;white-space:nowrap}::slotted([slot='end']){grid-column:5/span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:6/span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}@position-try --inline-inside{inset-inline-start:unset;inset-inline-end:anchor(inside)}::slotted([popover]){margin:0;max-block-size:var(--menu-max-height,auto);position:fixed;position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(inside);inset-inline-start:anchor(outside);position-try-fallbacks:--inline-inside,flip-block,flip-block --inline-inside;z-index:1}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}@media (forced-colors:active){:host(${disabledState}),:host(${disabledState}) ::slotted([slot='start']),:host(${disabledState}) ::slotted([slot='end']){color:GrayText}}`;
9031
8707
 
9032
8708
  const Checkmark16Filled = html.partial(
9033
8709
  `<svg class=indicator fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill=currentColor></path></svg>`
@@ -9050,14 +8726,14 @@ const definition$k = {
9050
8726
  template: template$k
9051
8727
  };
9052
8728
 
9053
- var __defProp$p = Object.defineProperty;
9054
- var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
9055
- var __decorateClass$p = (decorators, target, key, kind) => {
9056
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
8729
+ var __defProp$i = Object.defineProperty;
8730
+ var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
8731
+ var __decorateClass$i = (decorators, target, key, kind) => {
8732
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
9057
8733
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9058
8734
  if (decorator = decorators[i])
9059
8735
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9060
- if (kind && result) __defProp$p(target, key, result);
8736
+ if (kind && result) __defProp$i(target, key, result);
9061
8737
  return result;
9062
8738
  };
9063
8739
  class MenuItem extends FASTElement {
@@ -9257,22 +8933,22 @@ class MenuItem extends FASTElement {
9257
8933
  maybeSetAutoFocus(this);
9258
8934
  }
9259
8935
  }
9260
- __decorateClass$p([
8936
+ __decorateClass$i([
9261
8937
  attr({ mode: "boolean" })
9262
8938
  ], MenuItem.prototype, "disabled", 2);
9263
- __decorateClass$p([
8939
+ __decorateClass$i([
9264
8940
  attr
9265
8941
  ], MenuItem.prototype, "role", 2);
9266
- __decorateClass$p([
8942
+ __decorateClass$i([
9267
8943
  attr({ mode: "boolean" })
9268
8944
  ], MenuItem.prototype, "checked", 2);
9269
- __decorateClass$p([
8945
+ __decorateClass$i([
9270
8946
  attr({ mode: "boolean" })
9271
8947
  ], MenuItem.prototype, "hidden", 2);
9272
- __decorateClass$p([
8948
+ __decorateClass$i([
9273
8949
  observable
9274
8950
  ], MenuItem.prototype, "slottedSubmenu", 2);
9275
- __decorateClass$p([
8951
+ __decorateClass$i([
9276
8952
  observable
9277
8953
  ], MenuItem.prototype, "submenu", 2);
9278
8954
  applyMixins(MenuItem, StartEnd);
@@ -9281,7 +8957,7 @@ MenuItem.define(definition$k);
9281
8957
 
9282
8958
  const tagName$i = `${FluentDesignSystem.prefix}-menu-list`;
9283
8959
 
9284
- const styles$j = css`${display("grid")} :host{--_col-indicator-width:0px;--_col-start-width:0px;--_col-content-width:1fr;--_col-end-width:0px;--_col-submenu-width:0px;contain:layout style;block-size:auto;max-inline-size:300px;min-inline-size:160px;inline-size:auto;background-color:${colorNeutralBackground1};border:1px solid ${colorTransparentStroke};border-radius:${borderRadiusMedium};box-shadow:${shadow16};grid-template-columns:10px var(--_col-indicator-width) var(--_col-start-width) var(--_col-content-width) var(--_col-end-width) var(--_col-submenu-width) 10px;gap:2px 0;padding:4px}::slotted(*){grid-column:1/-1}:host(:has(>[role='menuitemradio'],>[role='menuitemcheckbox'])){--_col-indicator-width:24px}:host(:has(>*>[slot='start'])){--_col-start-width:24px}:host(:has(>*>[slot='end'])){--_col-end-width:24px}:host(:has(>*>[slot='submenu'])){--_col-submenu-width:24px}@scope{:scope:has(>[role='menuitemradio'],>[role='menuitemcheckbox']){--_col-indicator-width:24px}:scope:has(>*>[slot='start']){--_col-start-width:24px}:scope:has(>*>[slot='end']){--_col-end-width:24px}:scope:has(>*>[slot='submenu']){--_col-submenu-width:24px}}`;
8960
+ const styles$j = css`${display("grid")} :host{contain:layout style;block-size:auto;max-inline-size:300px;min-inline-size:160px;inline-size:auto;background-color:${colorNeutralBackground1};border:1px solid ${colorTransparentStroke};border-radius:${borderRadiusMedium};box-shadow:${shadow16};grid-template-columns:10px max-content max-content minmax(0,1fr) max-content max-content 10px;gap:2px 0;padding:4px}::slotted(*){grid-column:1/-1}`;
9285
8961
 
9286
8962
  function menuTemplate$1() {
9287
8963
  return html`<template focusgroup=menu><slot ${slotted("items")}></slot></template>`;
@@ -9760,14 +9436,14 @@ class ArrayItemCollection {
9760
9436
  }
9761
9437
  }
9762
9438
 
9763
- var __defProp$o = Object.defineProperty;
9764
- var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
9765
- var __decorateClass$o = (decorators, target, key, kind) => {
9766
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
9439
+ var __defProp$h = Object.defineProperty;
9440
+ var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
9441
+ var __decorateClass$h = (decorators, target, key, kind) => {
9442
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
9767
9443
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9768
9444
  if (decorator = decorators[i])
9769
9445
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9770
- if (kind && result) __defProp$o(target, key, result);
9446
+ if (kind && result) __defProp$h(target, key, result);
9771
9447
  return result;
9772
9448
  };
9773
9449
  const _BaseMenuList = class _BaseMenuList extends FASTElement {
@@ -9886,7 +9562,7 @@ const _BaseMenuList = class _BaseMenuList extends FASTElement {
9886
9562
  }
9887
9563
  };
9888
9564
  _BaseMenuList.focusableElementRoles = MenuItemRole;
9889
- __decorateClass$o([
9565
+ __decorateClass$h([
9890
9566
  observable
9891
9567
  ], _BaseMenuList.prototype, "items", 2);
9892
9568
  let BaseMenuList = _BaseMenuList;
@@ -9931,14 +9607,14 @@ const definition$i = {
9931
9607
  template: template$i
9932
9608
  };
9933
9609
 
9934
- var __defProp$n = Object.defineProperty;
9935
- var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
9936
- var __decorateClass$n = (decorators, target, key, kind) => {
9937
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
9610
+ var __defProp$g = Object.defineProperty;
9611
+ var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
9612
+ var __decorateClass$g = (decorators, target, key, kind) => {
9613
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
9938
9614
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9939
9615
  if (decorator = decorators[i])
9940
9616
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9941
- if (kind && result) __defProp$n(target, key, result);
9617
+ if (kind && result) __defProp$g(target, key, result);
9942
9618
  return result;
9943
9619
  };
9944
9620
  class Menu extends FASTElement {
@@ -10232,28 +9908,25 @@ class Menu extends FASTElement {
10232
9908
  }
10233
9909
  }
10234
9910
  }
10235
- __decorateClass$n([
9911
+ __decorateClass$g([
10236
9912
  attr({ attribute: "open-on-hover", mode: "boolean" })
10237
9913
  ], Menu.prototype, "openOnHover", 2);
10238
- __decorateClass$n([
9914
+ __decorateClass$g([
10239
9915
  attr({ attribute: "open-on-context", mode: "boolean" })
10240
9916
  ], Menu.prototype, "openOnContext", 2);
10241
- __decorateClass$n([
9917
+ __decorateClass$g([
10242
9918
  attr({ attribute: "close-on-scroll", mode: "boolean" })
10243
9919
  ], Menu.prototype, "closeOnScroll", 2);
10244
- __decorateClass$n([
9920
+ __decorateClass$g([
10245
9921
  attr({ attribute: "persist-on-item-click", mode: "boolean" })
10246
9922
  ], Menu.prototype, "persistOnItemClick", 2);
10247
- __decorateClass$n([
10248
- attr({ mode: "boolean" })
10249
- ], Menu.prototype, "split", 2);
10250
- __decorateClass$n([
9923
+ __decorateClass$g([
10251
9924
  observable
10252
9925
  ], Menu.prototype, "slottedMenuList", 2);
10253
- __decorateClass$n([
9926
+ __decorateClass$g([
10254
9927
  observable
10255
9928
  ], Menu.prototype, "slottedTriggers", 2);
10256
- __decorateClass$n([
9929
+ __decorateClass$g([
10257
9930
  observable
10258
9931
  ], Menu.prototype, "primaryAction", 2);
10259
9932
 
@@ -10275,16 +9948,6 @@ const definition$h = {
10275
9948
  template: template$h
10276
9949
  };
10277
9950
 
10278
- var __defProp$m = Object.defineProperty;
10279
- var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
10280
- var __decorateClass$m = (decorators, target, key, kind) => {
10281
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
10282
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
10283
- if (decorator = decorators[i])
10284
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10285
- if (kind && result) __defProp$m(target, key, result);
10286
- return result;
10287
- };
10288
9951
  class MessageBar extends FASTElement {
10289
9952
  constructor() {
10290
9953
  super();
@@ -10305,19 +9968,10 @@ class MessageBar extends FASTElement {
10305
9968
  this.elementInternals.role = "status";
10306
9969
  }
10307
9970
  }
10308
- __decorateClass$m([
10309
- attr
10310
- ], MessageBar.prototype, "shape", 2);
10311
- __decorateClass$m([
10312
- attr
10313
- ], MessageBar.prototype, "layout", 2);
10314
- __decorateClass$m([
10315
- attr
10316
- ], MessageBar.prototype, "intent", 2);
10317
9971
 
10318
9972
  MessageBar.define(definition$h);
10319
9973
 
10320
- const styles$g = css`${display("inline-grid")} :host{-webkit-tap-highlight-color:transparent;${typographyBody1Styles} align-items:center;background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};box-sizing:border-box;color:${colorNeutralForeground2};column-gap:${spacingHorizontalXS};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${spacingHorizontalSNudge};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground2Hover}}:host(:active){background-color:${colorNeutralBackground1Pressed};color:${colorNeutralForeground2Pressed}}:host(${nativeDisabledState}){background-color:${colorNeutralBackground1};color:${colorNeutralForegroundDisabled};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator']>*,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${selectedState}) :is(slot[name='checked-indicator']>*,::slotted([slot='checked-indicator'])){visibility:visible}:host(${multipleState}) .checkmark-16-filled,:host(:not(${multipleState})) .checkmark-12-regular{display:none}:host(${multipleState}) .checkmark-12-regular{background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${multipleState}${selectedState}) .checkmark-12-regular{background-color:${colorCompoundBrandBackground};border-color:${colorCompoundBrandStroke};fill:${colorNeutralForegroundInverted}}:host(${nativeDisabledState}${multipleState}) .checkmark-12-regular{border-color:${colorNeutralStrokeDisabled}}:host(${nativeDisabledState}${multipleState}${selectedState}) .checkmark-12-regular{background-color:${colorNeutralBackgroundDisabled}}:host(${activeState}){border:${strokeWidthThick} solid ${colorStrokeFocus2}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${spacingHorizontalSNudge}}}:host(${descriptionState}){column-gap:${spacingHorizontalSNudge};grid-template-areas:'indicator start content' 'indicator start description'}::slotted([slot='description']){color:${colorNeutralForeground3};grid-area:description;${typographyCaption1Styles}}@media (forced-colors:active){:host(${nativeDisabledState}){color:GrayText}}`;
9974
+ const styles$g = css`${display("inline-grid")} :host{-webkit-tap-highlight-color:transparent;${typographyBody1Styles} align-items:center;background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};box-sizing:border-box;color:${colorNeutralForeground2};column-gap:${spacingHorizontalXS};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${spacingHorizontalSNudge};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground2Hover}}:host(:active){background-color:${colorNeutralBackground1Pressed};color:${colorNeutralForeground2Pressed}}:host(${nativeDisabledState}){background-color:${colorNeutralBackground1};color:${colorNeutralForegroundDisabled};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator']>*,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${selectedState}) :is(slot[name='checked-indicator']>*,::slotted([slot='checked-indicator'])){visibility:visible}:host(${multipleState}) .checkmark-16-filled,:host(:not(${multipleState})) .checkmark-12-regular{display:none}:host(${multipleState}) .checkmark-12-regular{background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${multipleState}${selectedState}) .checkmark-12-regular{background-color:${colorCompoundBrandBackground};border-color:${colorCompoundBrandStroke};fill:${colorNeutralForegroundInverted}}:host(${nativeDisabledState}${multipleState}) .checkmark-12-regular{border-color:${colorNeutralStrokeDisabled}}:host(${nativeDisabledState}${multipleState}${selectedState}) .checkmark-12-regular{background-color:${colorNeutralBackgroundDisabled}}:host([active]){border:${strokeWidthThick} solid ${colorStrokeFocus2}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${spacingHorizontalSNudge}}}:host(${descriptionState}){column-gap:${spacingHorizontalSNudge};grid-template-areas:'indicator start content' 'indicator start description'}::slotted([slot='description']){color:${colorNeutralForeground3};grid-area:description;${typographyCaption1Styles}}@media (forced-colors:active){:host(${nativeDisabledState}){color:GrayText}}`;
10321
9975
 
10322
9976
  const checkedIndicator$1 = html.partial(
10323
9977
  /* html */
@@ -10337,20 +9991,19 @@ const definition$g = {
10337
9991
  template: template$g
10338
9992
  };
10339
9993
 
10340
- var __defProp$l = Object.defineProperty;
10341
- var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
10342
- var __decorateClass$l = (decorators, target, key, kind) => {
10343
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
9994
+ var __defProp$f = Object.defineProperty;
9995
+ var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
9996
+ var __decorateClass$f = (decorators, target, key, kind) => {
9997
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
10344
9998
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
10345
9999
  if (decorator = decorators[i])
10346
10000
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10347
- if (kind && result) __defProp$l(target, key, result);
10001
+ if (kind && result) __defProp$f(target, key, result);
10348
10002
  return result;
10349
10003
  };
10350
10004
  class DropdownOption extends FASTElement {
10351
10005
  constructor() {
10352
10006
  super();
10353
- this.active = false;
10354
10007
  this.id = uniqueId("option-");
10355
10008
  this.initialValue = "";
10356
10009
  this.multiple = false;
@@ -10368,16 +10021,6 @@ class DropdownOption extends FASTElement {
10368
10021
  this._value = this.initialValue;
10369
10022
  this.elementInternals.role = "option";
10370
10023
  }
10371
- /**
10372
- * Changes the active state of the option when the active property changes.
10373
- *
10374
- * @param prev - the previous active state
10375
- * @param next - the current active state
10376
- * @internal
10377
- */
10378
- activeChanged(prev, next) {
10379
- toggleState(this.elementInternals, "active", next);
10380
- }
10381
10024
  /**
10382
10025
  * Sets the selected property to match the currentSelected state.
10383
10026
  *
@@ -10555,56 +10198,48 @@ class DropdownOption extends FASTElement {
10555
10198
  * @public
10556
10199
  */
10557
10200
  DropdownOption.formAssociated = true;
10558
- __decorateClass$l([
10559
- observable
10560
- ], DropdownOption.prototype, "active", 2);
10561
- __decorateClass$l([
10201
+ __decorateClass$f([
10562
10202
  attr({ attribute: "current-selected", mode: "boolean" })
10563
10203
  ], DropdownOption.prototype, "currentSelected", 2);
10564
- __decorateClass$l([
10204
+ __decorateClass$f([
10565
10205
  attr({ attribute: "selected", mode: "boolean" })
10566
10206
  ], DropdownOption.prototype, "defaultSelected", 2);
10567
- __decorateClass$l([
10207
+ __decorateClass$f([
10568
10208
  observable
10569
10209
  ], DropdownOption.prototype, "descriptionSlot", 2);
10570
- __decorateClass$l([
10210
+ __decorateClass$f([
10571
10211
  observable
10572
10212
  ], DropdownOption.prototype, "disabled", 2);
10573
- __decorateClass$l([
10213
+ __decorateClass$f([
10574
10214
  attr({ attribute: "disabled", mode: "boolean" })
10575
10215
  ], DropdownOption.prototype, "disabledAttribute", 2);
10576
- __decorateClass$l([
10216
+ __decorateClass$f([
10577
10217
  attr({ attribute: "form" })
10578
10218
  ], DropdownOption.prototype, "formAttribute", 2);
10579
- __decorateClass$l([
10219
+ __decorateClass$f([
10580
10220
  attr({ mode: "boolean" })
10581
10221
  ], DropdownOption.prototype, "freeform", 2);
10582
- __decorateClass$l([
10222
+ __decorateClass$f([
10583
10223
  attr({ attribute: "id" })
10584
10224
  ], DropdownOption.prototype, "id", 2);
10585
- __decorateClass$l([
10225
+ __decorateClass$f([
10586
10226
  attr({ attribute: "value", mode: "fromView" })
10587
10227
  ], DropdownOption.prototype, "initialValue", 2);
10588
- __decorateClass$l([
10228
+ __decorateClass$f([
10589
10229
  observable
10590
10230
  ], DropdownOption.prototype, "multiple", 2);
10591
- __decorateClass$l([
10231
+ __decorateClass$f([
10592
10232
  attr
10593
10233
  ], DropdownOption.prototype, "name", 2);
10594
- __decorateClass$l([
10234
+ __decorateClass$f([
10595
10235
  observable
10596
10236
  ], DropdownOption.prototype, "start", 2);
10597
- __decorateClass$l([
10237
+ __decorateClass$f([
10598
10238
  attr({ attribute: "text", mode: "fromView" })
10599
10239
  ], DropdownOption.prototype, "textAttribute", 2);
10600
10240
 
10601
10241
  DropdownOption.define(definition$g);
10602
10242
 
10603
- const ProgressBarValidationState = {
10604
- success: "success",
10605
- warning: "warning",
10606
- error: "error"
10607
- };
10608
10243
  const tagName$f = `${FluentDesignSystem.prefix}-progress-bar`;
10609
10244
 
10610
10245
  const styles$f = css`${display("block")} :host{width:100%;height:2px;overflow-x:hidden;background-color:${colorNeutralBackground6};border-radius:${borderRadiusMedium};contain:content;@supports (width:attr(value type(<number>))){--max:attr(max type(<number>),100);--min:attr(min type(<number>),0);--value:attr(value type(<number>),0);--indicator-width:clamp(0%,calc((var(--value) - var(--min))/(var(--max) - var(--min)) * 100%),100%)}}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${borderRadiusNone}}.indicator{background-color:${colorCompoundBrandBackground};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out;@supports (width:attr(value type(<number>))){width:var(--indicator-width)}}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient( to right,${colorNeutralBackground6} 0%,${colorTransparentBackground} 50%,${colorNeutralBackground6} 100% );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${colorPaletteRedBackground3}}:host([validation-state='warning']) .indicator{background-color:${colorPaletteDarkOrangeBackground3}}:host([validation-state='success']) .indicator{background-color:${colorPaletteGreenBackground3}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}@media (forced-colors:active){:host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}}`;
@@ -10621,14 +10256,14 @@ const definition$f = {
10621
10256
  template: template$f
10622
10257
  };
10623
10258
 
10624
- var __defProp$k = Object.defineProperty;
10625
- var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
10626
- var __decorateClass$k = (decorators, target, key, kind) => {
10627
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
10259
+ var __defProp$e = Object.defineProperty;
10260
+ var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
10261
+ var __decorateClass$e = (decorators, target, key, kind) => {
10262
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
10628
10263
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
10629
10264
  if (decorator = decorators[i])
10630
10265
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10631
- if (kind && result) __defProp$k(target, key, result);
10266
+ if (kind && result) __defProp$e(target, key, result);
10632
10267
  return result;
10633
10268
  };
10634
10269
  class BaseProgressBar extends FASTElement {
@@ -10640,7 +10275,6 @@ class BaseProgressBar extends FASTElement {
10640
10275
  * @internal
10641
10276
  */
10642
10277
  this.elementInternals = this.attachInternals();
10643
- this.validationState = null;
10644
10278
  this.elementInternals.role = "progressbar";
10645
10279
  }
10646
10280
  /**
@@ -10650,14 +10284,6 @@ class BaseProgressBar extends FASTElement {
10650
10284
  indicatorChanged() {
10651
10285
  this.setIndicatorWidth();
10652
10286
  }
10653
- /**
10654
- * Handles changes to validation-state attribute custom states
10655
- * @param prev - the previous state
10656
- * @param next - the next state
10657
- */
10658
- validationStateChanged(prev, next) {
10659
- swapStates(this.elementInternals, prev, next, ProgressBarValidationState);
10660
- }
10661
10287
  /**
10662
10288
  * Updates the percent complete when the `value` property changes.
10663
10289
  *
@@ -10719,40 +10345,21 @@ class BaseProgressBar extends FASTElement {
10719
10345
  });
10720
10346
  }
10721
10347
  }
10722
- __decorateClass$k([
10348
+ __decorateClass$e([
10723
10349
  observable
10724
10350
  ], BaseProgressBar.prototype, "indicator", 2);
10725
- __decorateClass$k([
10726
- attr({ attribute: "validation-state" })
10727
- ], BaseProgressBar.prototype, "validationState", 2);
10728
- __decorateClass$k([
10351
+ __decorateClass$e([
10729
10352
  attr({ converter: nullableNumberConverter })
10730
10353
  ], BaseProgressBar.prototype, "value", 2);
10731
- __decorateClass$k([
10354
+ __decorateClass$e([
10732
10355
  attr({ converter: nullableNumberConverter })
10733
10356
  ], BaseProgressBar.prototype, "min", 2);
10734
- __decorateClass$k([
10357
+ __decorateClass$e([
10735
10358
  attr({ converter: nullableNumberConverter })
10736
10359
  ], BaseProgressBar.prototype, "max", 2);
10737
10360
 
10738
- var __defProp$j = Object.defineProperty;
10739
- var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
10740
- var __decorateClass$j = (decorators, target, key, kind) => {
10741
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
10742
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
10743
- if (decorator = decorators[i])
10744
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10745
- if (kind && result) __defProp$j(target, key, result);
10746
- return result;
10747
- };
10748
10361
  class ProgressBar extends BaseProgressBar {
10749
10362
  }
10750
- __decorateClass$j([
10751
- attr
10752
- ], ProgressBar.prototype, "thickness", 2);
10753
- __decorateClass$j([
10754
- attr
10755
- ], ProgressBar.prototype, "shape", 2);
10756
10363
 
10757
10364
  ProgressBar.define(definition$f);
10758
10365
 
@@ -10778,14 +10385,14 @@ function isRadio(element, tagName2 = "-radio") {
10778
10385
  }
10779
10386
  const tagName$d = `${FluentDesignSystem.prefix}-radio`;
10780
10387
 
10781
- var __defProp$i = Object.defineProperty;
10782
- var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
10783
- var __decorateClass$i = (decorators, target, key, kind) => {
10784
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
10388
+ var __defProp$d = Object.defineProperty;
10389
+ var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
10390
+ var __decorateClass$d = (decorators, target, key, kind) => {
10391
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
10785
10392
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
10786
10393
  if (decorator = decorators[i])
10787
10394
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10788
- if (kind && result) __defProp$i(target, key, result);
10395
+ if (kind && result) __defProp$d(target, key, result);
10789
10396
  return result;
10790
10397
  };
10791
10398
  class BaseRadioGroup extends FASTElement {
@@ -11181,28 +10788,28 @@ class BaseRadioGroup extends FASTElement {
11181
10788
  * @public
11182
10789
  */
11183
10790
  BaseRadioGroup.formAssociated = true;
11184
- __decorateClass$i([
10791
+ __decorateClass$d([
11185
10792
  observable
11186
10793
  ], BaseRadioGroup.prototype, "checkedIndex", 2);
11187
- __decorateClass$i([
10794
+ __decorateClass$d([
11188
10795
  attr({ attribute: "disabled", mode: "boolean" })
11189
10796
  ], BaseRadioGroup.prototype, "disabled", 2);
11190
- __decorateClass$i([
10797
+ __decorateClass$d([
11191
10798
  attr({ attribute: "value", mode: "fromView" })
11192
10799
  ], BaseRadioGroup.prototype, "initialValue", 2);
11193
- __decorateClass$i([
10800
+ __decorateClass$d([
11194
10801
  attr
11195
10802
  ], BaseRadioGroup.prototype, "name", 2);
11196
- __decorateClass$i([
10803
+ __decorateClass$d([
11197
10804
  attr
11198
10805
  ], BaseRadioGroup.prototype, "orientation", 2);
11199
- __decorateClass$i([
10806
+ __decorateClass$d([
11200
10807
  observable
11201
10808
  ], BaseRadioGroup.prototype, "radios", 2);
11202
- __decorateClass$i([
10809
+ __decorateClass$d([
11203
10810
  attr({ mode: "boolean" })
11204
10811
  ], BaseRadioGroup.prototype, "required", 2);
11205
- __decorateClass$i([
10812
+ __decorateClass$d([
11206
10813
  observable
11207
10814
  ], BaseRadioGroup.prototype, "slottedRadios", 2);
11208
10815
 
@@ -11319,14 +10926,14 @@ Radio.define(definition$d);
11319
10926
 
11320
10927
  const tagName$c = `${FluentDesignSystem.prefix}-rating-display`;
11321
10928
 
11322
- var __defProp$h = Object.defineProperty;
11323
- var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
11324
- var __decorateClass$h = (decorators, target, key, kind) => {
11325
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
10929
+ var __defProp$c = Object.defineProperty;
10930
+ var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
10931
+ var __decorateClass$c = (decorators, target, key, kind) => {
10932
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
11326
10933
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
11327
10934
  if (decorator = decorators[i])
11328
10935
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11329
- if (kind && result) __defProp$h(target, key, result);
10936
+ if (kind && result) __defProp$c(target, key, result);
11330
10937
  return result;
11331
10938
  };
11332
10939
  const SUPPORTS_ATTR_TYPE = CSS.supports("width: attr(value type(<number>))");
@@ -11425,19 +11032,19 @@ class BaseRatingDisplay extends FASTElement {
11425
11032
  });
11426
11033
  }
11427
11034
  }
11428
- __decorateClass$h([
11035
+ __decorateClass$c([
11429
11036
  observable
11430
11037
  ], BaseRatingDisplay.prototype, "iconSlot", 2);
11431
- __decorateClass$h([
11038
+ __decorateClass$c([
11432
11039
  attr({ converter: nullableNumberConverter })
11433
11040
  ], BaseRatingDisplay.prototype, "count", 2);
11434
- __decorateClass$h([
11041
+ __decorateClass$c([
11435
11042
  attr({ attribute: "icon-view-box" })
11436
11043
  ], BaseRatingDisplay.prototype, "iconViewBox", 2);
11437
- __decorateClass$h([
11044
+ __decorateClass$c([
11438
11045
  attr({ converter: nullableNumberConverter })
11439
11046
  ], BaseRatingDisplay.prototype, "max", 2);
11440
- __decorateClass$h([
11047
+ __decorateClass$c([
11441
11048
  attr({ converter: nullableNumberConverter })
11442
11049
  ], BaseRatingDisplay.prototype, "value", 2);
11443
11050
 
@@ -11464,31 +11071,8 @@ const definition$c = {
11464
11071
  template: template$c
11465
11072
  };
11466
11073
 
11467
- var __defProp$g = Object.defineProperty;
11468
- var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
11469
- var __decorateClass$g = (decorators, target, key, kind) => {
11470
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
11471
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
11472
- if (decorator = decorators[i])
11473
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11474
- if (kind && result) __defProp$g(target, key, result);
11475
- return result;
11476
- };
11477
11074
  class RatingDisplay extends BaseRatingDisplay {
11478
- constructor() {
11479
- super(...arguments);
11480
- this.compact = false;
11481
- }
11482
11075
  }
11483
- __decorateClass$g([
11484
- attr
11485
- ], RatingDisplay.prototype, "color", 2);
11486
- __decorateClass$g([
11487
- attr
11488
- ], RatingDisplay.prototype, "size", 2);
11489
- __decorateClass$g([
11490
- attr({ mode: "boolean" })
11491
- ], RatingDisplay.prototype, "compact", 2);
11492
11076
 
11493
11077
  RatingDisplay.define(definition$c);
11494
11078
 
@@ -11537,14 +11121,14 @@ function convertPixelToPercent(pixelPos, minPosition, maxPosition, direction) {
11537
11121
  return pct;
11538
11122
  }
11539
11123
 
11540
- var __defProp$f = Object.defineProperty;
11541
- var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
11542
- var __decorateClass$f = (decorators, target, key, kind) => {
11543
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
11124
+ var __defProp$b = Object.defineProperty;
11125
+ var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
11126
+ var __decorateClass$b = (decorators, target, key, kind) => {
11127
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
11544
11128
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
11545
11129
  if (decorator = decorators[i])
11546
11130
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11547
- if (kind && result) __defProp$f(target, key, result);
11131
+ if (kind && result) __defProp$b(target, key, result);
11548
11132
  return result;
11549
11133
  };
11550
11134
  class Slider extends FASTElement {
@@ -12085,55 +11669,52 @@ class Slider extends FASTElement {
12085
11669
  * @public
12086
11670
  */
12087
11671
  Slider.formAssociated = true;
12088
- __decorateClass$f([
12089
- attr
12090
- ], Slider.prototype, "size", 2);
12091
- __decorateClass$f([
11672
+ __decorateClass$b([
12092
11673
  attr({ attribute: "value", mode: "fromView" })
12093
11674
  ], Slider.prototype, "initialValue", 2);
12094
- __decorateClass$f([
11675
+ __decorateClass$b([
12095
11676
  observable
12096
11677
  ], Slider.prototype, "direction", 2);
12097
- __decorateClass$f([
11678
+ __decorateClass$b([
12098
11679
  observable
12099
11680
  ], Slider.prototype, "isDragging", 2);
12100
- __decorateClass$f([
11681
+ __decorateClass$b([
12101
11682
  observable
12102
11683
  ], Slider.prototype, "position", 2);
12103
- __decorateClass$f([
11684
+ __decorateClass$b([
12104
11685
  observable
12105
11686
  ], Slider.prototype, "trackWidth", 2);
12106
- __decorateClass$f([
11687
+ __decorateClass$b([
12107
11688
  observable
12108
11689
  ], Slider.prototype, "trackMinWidth", 2);
12109
- __decorateClass$f([
11690
+ __decorateClass$b([
12110
11691
  observable
12111
11692
  ], Slider.prototype, "trackHeight", 2);
12112
- __decorateClass$f([
11693
+ __decorateClass$b([
12113
11694
  observable
12114
11695
  ], Slider.prototype, "trackLeft", 2);
12115
- __decorateClass$f([
11696
+ __decorateClass$b([
12116
11697
  observable
12117
11698
  ], Slider.prototype, "trackMinHeight", 2);
12118
- __decorateClass$f([
11699
+ __decorateClass$b([
12119
11700
  observable
12120
11701
  ], Slider.prototype, "valueTextFormatter", 2);
12121
- __decorateClass$f([
11702
+ __decorateClass$b([
12122
11703
  attr({ mode: "boolean" })
12123
11704
  ], Slider.prototype, "disabled", 2);
12124
- __decorateClass$f([
11705
+ __decorateClass$b([
12125
11706
  attr({ converter: numberLikeStringConverter })
12126
11707
  ], Slider.prototype, "min", 2);
12127
- __decorateClass$f([
11708
+ __decorateClass$b([
12128
11709
  attr({ converter: numberLikeStringConverter })
12129
11710
  ], Slider.prototype, "max", 2);
12130
- __decorateClass$f([
11711
+ __decorateClass$b([
12131
11712
  attr({ converter: numberLikeStringConverter })
12132
11713
  ], Slider.prototype, "step", 2);
12133
- __decorateClass$f([
11714
+ __decorateClass$b([
12134
11715
  attr
12135
11716
  ], Slider.prototype, "orientation", 2);
12136
- __decorateClass$f([
11717
+ __decorateClass$b([
12137
11718
  attr
12138
11719
  ], Slider.prototype, "mode", 2);
12139
11720
 
@@ -12165,24 +11746,8 @@ class BaseSpinner extends FASTElement {
12165
11746
  }
12166
11747
  }
12167
11748
 
12168
- var __defProp$e = Object.defineProperty;
12169
- var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
12170
- var __decorateClass$e = (decorators, target, key, kind) => {
12171
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
12172
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
12173
- if (decorator = decorators[i])
12174
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12175
- if (kind && result) __defProp$e(target, key, result);
12176
- return result;
12177
- };
12178
11749
  class Spinner extends BaseSpinner {
12179
11750
  }
12180
- __decorateClass$e([
12181
- attr
12182
- ], Spinner.prototype, "size", 2);
12183
- __decorateClass$e([
12184
- attr
12185
- ], Spinner.prototype, "appearance", 2);
12186
11751
 
12187
11752
  Spinner.define(definition$a);
12188
11753
 
@@ -12235,14 +11800,14 @@ const definition$8 = {
12235
11800
  template: template$8
12236
11801
  };
12237
11802
 
12238
- var __defProp$d = Object.defineProperty;
12239
- var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
12240
- var __decorateClass$d = (decorators, target, key, kind) => {
12241
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
11803
+ var __defProp$a = Object.defineProperty;
11804
+ var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
11805
+ var __decorateClass$a = (decorators, target, key, kind) => {
11806
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
12242
11807
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
12243
11808
  if (decorator = decorators[i])
12244
11809
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12245
- if (kind && result) __defProp$d(target, key, result);
11810
+ if (kind && result) __defProp$a(target, key, result);
12246
11811
  return result;
12247
11812
  };
12248
11813
  class Tab extends FASTElement {
@@ -12279,17 +11844,13 @@ class Tab extends FASTElement {
12279
11844
  this.tabIndex = disabled && this.getAttribute("aria-selected") !== "true" ? -1 : 0;
12280
11845
  }
12281
11846
  }
12282
- __decorateClass$d([
11847
+ __decorateClass$a([
12283
11848
  attr({ mode: "boolean" })
12284
11849
  ], Tab.prototype, "disabled", 2);
12285
11850
  applyMixins(Tab, StartEnd);
12286
11851
 
12287
11852
  Tab.define(definition$8);
12288
11853
 
12289
- const TablistAppearance = {
12290
- subtle: "subtle",
12291
- transparent: "transparent"
12292
- };
12293
11854
  const TablistOrientation = Orientation;
12294
11855
  const tagName$7 = `${FluentDesignSystem.prefix}-tablist`;
12295
11856
 
@@ -12304,14 +11865,14 @@ const definition$7 = {
12304
11865
  template: template$7
12305
11866
  };
12306
11867
 
12307
- var __defProp$c = Object.defineProperty;
12308
- var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
12309
- var __decorateClass$c = (decorators, target, key, kind) => {
12310
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
11868
+ var __defProp$9 = Object.defineProperty;
11869
+ var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
11870
+ var __decorateClass$9 = (decorators, target, key, kind) => {
11871
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
12311
11872
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
12312
11873
  if (decorator = decorators[i])
12313
11874
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12314
- if (kind && result) __defProp$c(target, key, result);
11875
+ if (kind && result) __defProp$9(target, key, result);
12315
11876
  return result;
12316
11877
  };
12317
11878
  class BaseTablist extends FASTElement {
@@ -12453,37 +12014,23 @@ class BaseTablist extends FASTElement {
12453
12014
  );
12454
12015
  }
12455
12016
  }
12456
- __decorateClass$c([
12017
+ __decorateClass$9([
12457
12018
  attr({ mode: "boolean" })
12458
12019
  ], BaseTablist.prototype, "disabled", 2);
12459
- __decorateClass$c([
12020
+ __decorateClass$9([
12460
12021
  attr
12461
12022
  ], BaseTablist.prototype, "orientation", 2);
12462
- __decorateClass$c([
12023
+ __decorateClass$9([
12463
12024
  attr
12464
12025
  ], BaseTablist.prototype, "activeid", 2);
12465
- __decorateClass$c([
12026
+ __decorateClass$9([
12466
12027
  observable
12467
12028
  ], BaseTablist.prototype, "slottedTabs", 2);
12468
- __decorateClass$c([
12029
+ __decorateClass$9([
12469
12030
  observable
12470
12031
  ], BaseTablist.prototype, "tabs", 2);
12471
12032
 
12472
- var __defProp$b = Object.defineProperty;
12473
- var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
12474
- var __decorateClass$b = (decorators, target, key, kind) => {
12475
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
12476
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
12477
- if (decorator = decorators[i])
12478
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12479
- if (kind && result) __defProp$b(target, key, result);
12480
- return result;
12481
- };
12482
12033
  class Tablist extends BaseTablist {
12483
- constructor() {
12484
- super(...arguments);
12485
- this.appearance = TablistAppearance.transparent;
12486
- }
12487
12034
  disconnectedCallback() {
12488
12035
  this.fg?.disconnect();
12489
12036
  super.disconnectedCallback();
@@ -12508,26 +12055,9 @@ class Tablist extends BaseTablist {
12508
12055
  }
12509
12056
  }
12510
12057
  }
12511
- __decorateClass$b([
12512
- attr
12513
- ], Tablist.prototype, "appearance", 2);
12514
- __decorateClass$b([
12515
- attr
12516
- ], Tablist.prototype, "size", 2);
12517
12058
 
12518
12059
  Tablist.define(definition$7);
12519
12060
 
12520
- const TextAreaAppearance = {
12521
- outline: "outline",
12522
- filledLighter: "filled-lighter",
12523
- filledDarker: "filled-darker"
12524
- };
12525
- const TextAreaResize = {
12526
- none: "none",
12527
- both: "both",
12528
- horizontal: "horizontal",
12529
- vertical: "vertical"
12530
- };
12531
12061
  const tagName$6 = `${FluentDesignSystem.prefix}-textarea`;
12532
12062
 
12533
12063
  const styles$6 = css`${display("inline-block")} :host{--font-size:${fontSizeBase300};--line-height:${lineHeightBase300};--padding-inline:${spacingHorizontalMNudge};--padding-block:${spacingVerticalSNudge};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${strokeWidthThin};--control-padding-inline:${spacingHorizontalXXS};--color:${colorNeutralForeground1};--background-color:${colorNeutralBackground1};--border-color:${colorNeutralStroke1};--border-block-end-color:${colorNeutralStrokeAccessible};--placeholder-color:${colorNeutralForeground4};--focus-indicator-color:${colorCompoundBrandStroke};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${fontFamilyBase};font-size:var(--font-size);font-weight:${fontWeightRegular};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${colorNeutralStroke1Hover};--border-block-end-color:${colorNeutralStrokeAccessibleHover}}:host(:active){--border-color:${colorNeutralStroke1Pressed};--border-block-end-color:${colorNeutralStrokeAccessiblePressed}}:host(:focus-within){outline:none}:host([block]:not([hidden])){display:block}:host([size='small']){--font-size:${fontSizeBase200};--line-height:${lineHeightBase200};--min-block-size:40px;--padding-block:${spacingVerticalXS};--padding-inline:${spacingHorizontalSNudge};--control-padding-inline:${spacingHorizontalXXS}}:host([size='large']){--font-size:${fontSizeBase400};--line-height:${lineHeightBase400};--min-block-size:64px;--padding-block:${spacingVerticalS};--padding-inline:${spacingHorizontalM};--control-padding-inline:${spacingHorizontalSNudge}}:host([resize='both']:not(${nativeDisabledState})){--resize:both}:host([resize='horizontal']:not(${nativeDisabledState})){--resize:horizontal}:host([resize='vertical']:not(${nativeDisabledState})){--resize:vertical}:host([auto-resize]){--block-size:auto;--contain-size:inline-size}:host([appearance='filled-darker']){--background-color:${colorNeutralBackground3};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-lighter']){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-darker'][display-shadow]),:host([appearance='filled-lighter'][display-shadow]){--box-shadow:${shadow2}}:host(${userInvalidState}){--border-color:${colorPaletteRedBorder2};--border-block-end-color:${colorPaletteRedBorder2}}:host(${nativeDisabledState}){--color:${colorNeutralForegroundDisabled};--background-color:${colorTransparentBackground};--border-color:${colorNeutralStrokeDisabled};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${colorNeutralForegroundDisabled};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${borderRadiusMedium};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr/1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host([block]) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${borderRadiusMedium} ${borderRadiusMedium};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${borderRadiusMedium});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${curveAccelerateMid};transition-duration:${durationUltraFast};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${durationNormal};transition-delay:${curveDecelerateMid}}:host([readonly]) .root::after,:host(${nativeDisabledState}) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${spacingVerticalXS};padding-inline-end:${spacingHorizontalXS}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1/-1;grid-row:1/-1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host([auto-resize]) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;overflow:auto;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${colorNeutralForegroundInverted};background-color:${colorNeutralBackgroundInverted}}@media (forced-colors:active){:host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(${nativeDisabledState}){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}}`;
@@ -12549,14 +12079,14 @@ const definition$6 = {
12549
12079
 
12550
12080
  const whitespaceFilter = (value) => value.nodeType !== Node.TEXT_NODE || !!value.nodeValue?.trim().length;
12551
12081
 
12552
- var __defProp$a = Object.defineProperty;
12553
- var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
12554
- var __decorateClass$a = (decorators, target, key, kind) => {
12555
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
12082
+ var __defProp$8 = Object.defineProperty;
12083
+ var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
12084
+ var __decorateClass$8 = (decorators, target, key, kind) => {
12085
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
12556
12086
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
12557
12087
  if (decorator = decorators[i])
12558
12088
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12559
- if (kind && result) __defProp$a(target, key, result);
12089
+ if (kind && result) __defProp$8(target, key, result);
12560
12090
  return result;
12561
12091
  };
12562
12092
  class BaseTextArea extends FASTElement {
@@ -12574,10 +12104,8 @@ class BaseTextArea extends FASTElement {
12574
12104
  this.preConnectControlEl = document.createElement("textarea");
12575
12105
  this.autoResize = false;
12576
12106
  this.disabled = false;
12577
- this.displayShadow = false;
12578
12107
  this.readOnly = false;
12579
12108
  this.required = false;
12580
- this.resize = TextAreaResize.none;
12581
12109
  this.spellcheck = false;
12582
12110
  }
12583
12111
  /**
@@ -12609,7 +12137,7 @@ class BaseTextArea extends FASTElement {
12609
12137
  this.labelEl.hidden = !this.filteredLabelSlottedNodes.length;
12610
12138
  }
12611
12139
  this.filteredLabelSlottedNodes.forEach((node) => {
12612
- node.disabled = this.disabled;
12140
+ node.toggleAttribute("disabled", this.disabled);
12613
12141
  node.required = this.required;
12614
12142
  });
12615
12143
  }
@@ -12649,14 +12177,6 @@ class BaseTextArea extends FASTElement {
12649
12177
  this.filteredLabelSlottedNodes.forEach((node) => node.required = this.required);
12650
12178
  }
12651
12179
  }
12652
- resizeChanged(prev, next) {
12653
- swapStates(this.elementInternals, prev, next, TextAreaResize, "resize-");
12654
- toggleState(
12655
- this.elementInternals,
12656
- "resize",
12657
- hasMatchingState(TextAreaResize, next) && next !== TextAreaResize.none
12658
- );
12659
- }
12660
12180
  /**
12661
12181
  * The length of the current value.
12662
12182
  * @see The {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement#textLength | 'textLength'} property
@@ -12877,7 +12397,7 @@ class BaseTextArea extends FASTElement {
12877
12397
  this.controlEl.disabled = disabled;
12878
12398
  }
12879
12399
  if (this.filteredLabelSlottedNodes?.length) {
12880
- this.filteredLabelSlottedNodes.forEach((node) => node.disabled = this.disabled);
12400
+ this.filteredLabelSlottedNodes.forEach((node) => node.toggleAttribute("disabled", this.disabled));
12881
12401
  }
12882
12402
  }
12883
12403
  toggleUserValidityState() {
@@ -12944,78 +12464,71 @@ class BaseTextArea extends FASTElement {
12944
12464
  * @public
12945
12465
  */
12946
12466
  BaseTextArea.formAssociated = true;
12947
- __decorateClass$a([
12467
+ __decorateClass$8([
12948
12468
  observable
12949
12469
  ], BaseTextArea.prototype, "controlEl", 2);
12950
- __decorateClass$a([
12470
+ __decorateClass$8([
12951
12471
  observable
12952
12472
  ], BaseTextArea.prototype, "defaultSlottedNodes", 2);
12953
- __decorateClass$a([
12473
+ __decorateClass$8([
12954
12474
  observable
12955
12475
  ], BaseTextArea.prototype, "labelSlottedNodes", 2);
12956
- __decorateClass$a([
12476
+ __decorateClass$8([
12957
12477
  attr
12958
12478
  ], BaseTextArea.prototype, "autocomplete", 2);
12959
- __decorateClass$a([
12479
+ __decorateClass$8([
12960
12480
  attr({ attribute: "auto-resize", mode: "boolean" })
12961
12481
  ], BaseTextArea.prototype, "autoResize", 2);
12962
- __decorateClass$a([
12482
+ __decorateClass$8([
12963
12483
  attr({ attribute: "dirname" })
12964
12484
  ], BaseTextArea.prototype, "dirName", 2);
12965
- __decorateClass$a([
12485
+ __decorateClass$8([
12966
12486
  attr({ mode: "boolean" })
12967
12487
  ], BaseTextArea.prototype, "disabled", 2);
12968
- __decorateClass$a([
12969
- attr({ attribute: "display-shadow", mode: "boolean" })
12970
- ], BaseTextArea.prototype, "displayShadow", 2);
12971
- __decorateClass$a([
12488
+ __decorateClass$8([
12972
12489
  attr({ attribute: "form" })
12973
12490
  ], BaseTextArea.prototype, "initialForm", 2);
12974
- __decorateClass$a([
12491
+ __decorateClass$8([
12975
12492
  attr({ attribute: "maxlength", converter: nullableNumberConverter })
12976
12493
  ], BaseTextArea.prototype, "maxLength", 2);
12977
- __decorateClass$a([
12494
+ __decorateClass$8([
12978
12495
  attr({ attribute: "minlength", converter: nullableNumberConverter })
12979
12496
  ], BaseTextArea.prototype, "minLength", 2);
12980
- __decorateClass$a([
12497
+ __decorateClass$8([
12981
12498
  attr
12982
12499
  ], BaseTextArea.prototype, "name", 2);
12983
- __decorateClass$a([
12500
+ __decorateClass$8([
12984
12501
  attr
12985
12502
  ], BaseTextArea.prototype, "placeholder", 2);
12986
- __decorateClass$a([
12503
+ __decorateClass$8([
12987
12504
  attr({ attribute: "readonly", mode: "boolean" })
12988
12505
  ], BaseTextArea.prototype, "readOnly", 2);
12989
- __decorateClass$a([
12506
+ __decorateClass$8([
12990
12507
  attr({ mode: "boolean" })
12991
12508
  ], BaseTextArea.prototype, "required", 2);
12992
- __decorateClass$a([
12993
- attr({ mode: "fromView" })
12994
- ], BaseTextArea.prototype, "resize", 2);
12995
- __decorateClass$a([
12509
+ __decorateClass$8([
12996
12510
  attr({ mode: "boolean" })
12997
12511
  ], BaseTextArea.prototype, "spellcheck", 2);
12998
12512
 
12999
- var __defProp$9 = Object.defineProperty;
13000
- var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
13001
- var __decorateClass$9 = (decorators, target, key, kind) => {
13002
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
12513
+ var __defProp$7 = Object.defineProperty;
12514
+ var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
12515
+ var __decorateClass$7 = (decorators, target, key, kind) => {
12516
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
13003
12517
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
13004
12518
  if (decorator = decorators[i])
13005
12519
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13006
- if (kind && result) __defProp$9(target, key, result);
12520
+ if (kind && result) __defProp$7(target, key, result);
13007
12521
  return result;
13008
12522
  };
13009
12523
  class TextArea extends BaseTextArea {
13010
- constructor() {
13011
- super(...arguments);
13012
- this.appearance = TextAreaAppearance.outline;
13013
- this.block = false;
13014
- }
13015
12524
  labelSlottedNodesChanged() {
13016
12525
  super.labelSlottedNodesChanged();
13017
12526
  this.labelSlottedNodes.forEach((node) => {
13018
- node.size = this.size;
12527
+ if (this.size) {
12528
+ node.setAttribute("size", this.size);
12529
+ } else {
12530
+ node.removeAttribute("size");
12531
+ }
13019
12532
  });
13020
12533
  }
13021
12534
  /**
@@ -13025,7 +12538,11 @@ class TextArea extends BaseTextArea {
13025
12538
  switch (propertyName) {
13026
12539
  case "size":
13027
12540
  this.labelSlottedNodes.forEach((node) => {
13028
- node.size = this.size;
12541
+ if (this.size) {
12542
+ node.setAttribute("size", this.size);
12543
+ } else {
12544
+ node.removeAttribute("size");
12545
+ }
13029
12546
  });
13030
12547
  break;
13031
12548
  }
@@ -13045,13 +12562,7 @@ class TextArea extends BaseTextArea {
13045
12562
  Observable.getNotifier(this).unsubscribe(this, "size");
13046
12563
  }
13047
12564
  }
13048
- __decorateClass$9([
13049
- attr({ mode: "fromView" })
13050
- ], TextArea.prototype, "appearance", 2);
13051
- __decorateClass$9([
13052
- attr({ mode: "boolean" })
13053
- ], TextArea.prototype, "block", 2);
13054
- __decorateClass$9([
12565
+ __decorateClass$7([
13055
12566
  attr
13056
12567
  ], TextArea.prototype, "size", 2);
13057
12568
 
@@ -13097,14 +12608,14 @@ const definition$5 = {
13097
12608
  template: template$5
13098
12609
  };
13099
12610
 
13100
- var __defProp$8 = Object.defineProperty;
13101
- var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
13102
- var __decorateClass$8 = (decorators, target, key, kind) => {
13103
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
12611
+ var __defProp$6 = Object.defineProperty;
12612
+ var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
12613
+ var __decorateClass$6 = (decorators, target, key, kind) => {
12614
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
13104
12615
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
13105
12616
  if (decorator = decorators[i])
13106
12617
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13107
- if (kind && result) __defProp$8(target, key, result);
12618
+ if (kind && result) __defProp$6(target, key, result);
13108
12619
  return result;
13109
12620
  };
13110
12621
  class BaseTextInput extends FASTElement {
@@ -13467,58 +12978,58 @@ class BaseTextInput extends FASTElement {
13467
12978
  * @public
13468
12979
  */
13469
12980
  BaseTextInput.formAssociated = true;
13470
- __decorateClass$8([
12981
+ __decorateClass$6([
13471
12982
  attr
13472
12983
  ], BaseTextInput.prototype, "autocomplete", 2);
13473
- __decorateClass$8([
12984
+ __decorateClass$6([
13474
12985
  attr({ attribute: "current-value" })
13475
12986
  ], BaseTextInput.prototype, "currentValue", 2);
13476
- __decorateClass$8([
12987
+ __decorateClass$6([
13477
12988
  observable
13478
12989
  ], BaseTextInput.prototype, "defaultSlottedNodes", 2);
13479
- __decorateClass$8([
12990
+ __decorateClass$6([
13480
12991
  attr
13481
12992
  ], BaseTextInput.prototype, "dirname", 2);
13482
- __decorateClass$8([
12993
+ __decorateClass$6([
13483
12994
  attr({ mode: "boolean" })
13484
12995
  ], BaseTextInput.prototype, "disabled", 2);
13485
- __decorateClass$8([
12996
+ __decorateClass$6([
13486
12997
  attr({ attribute: "form" })
13487
12998
  ], BaseTextInput.prototype, "formAttribute", 2);
13488
- __decorateClass$8([
12999
+ __decorateClass$6([
13489
13000
  attr({ attribute: "value", mode: "fromView" })
13490
13001
  ], BaseTextInput.prototype, "initialValue", 2);
13491
- __decorateClass$8([
13002
+ __decorateClass$6([
13492
13003
  attr
13493
13004
  ], BaseTextInput.prototype, "list", 2);
13494
- __decorateClass$8([
13005
+ __decorateClass$6([
13495
13006
  attr({ converter: nullableNumberConverter })
13496
13007
  ], BaseTextInput.prototype, "maxlength", 2);
13497
- __decorateClass$8([
13008
+ __decorateClass$6([
13498
13009
  attr({ converter: nullableNumberConverter })
13499
13010
  ], BaseTextInput.prototype, "minlength", 2);
13500
- __decorateClass$8([
13011
+ __decorateClass$6([
13501
13012
  attr({ mode: "boolean" })
13502
13013
  ], BaseTextInput.prototype, "multiple", 2);
13503
- __decorateClass$8([
13014
+ __decorateClass$6([
13504
13015
  attr
13505
13016
  ], BaseTextInput.prototype, "name", 2);
13506
- __decorateClass$8([
13017
+ __decorateClass$6([
13507
13018
  attr
13508
13019
  ], BaseTextInput.prototype, "pattern", 2);
13509
- __decorateClass$8([
13020
+ __decorateClass$6([
13510
13021
  attr
13511
13022
  ], BaseTextInput.prototype, "placeholder", 2);
13512
- __decorateClass$8([
13023
+ __decorateClass$6([
13513
13024
  attr({ attribute: "readonly", mode: "boolean" })
13514
13025
  ], BaseTextInput.prototype, "readOnly", 2);
13515
- __decorateClass$8([
13026
+ __decorateClass$6([
13516
13027
  attr({ mode: "boolean" })
13517
13028
  ], BaseTextInput.prototype, "required", 2);
13518
- __decorateClass$8([
13029
+ __decorateClass$6([
13519
13030
  attr({ converter: nullableNumberConverter })
13520
13031
  ], BaseTextInput.prototype, "size", 2);
13521
- __decorateClass$8([
13032
+ __decorateClass$6([
13522
13033
  attr({
13523
13034
  converter: {
13524
13035
  fromView: (value) => typeof value === "string" ? ["true", ""].includes(value.trim().toLowerCase()) : null,
@@ -13526,34 +13037,18 @@ __decorateClass$8([
13526
13037
  }
13527
13038
  })
13528
13039
  ], BaseTextInput.prototype, "spellcheck", 2);
13529
- __decorateClass$8([
13040
+ __decorateClass$6([
13530
13041
  attr
13531
13042
  ], BaseTextInput.prototype, "type", 2);
13532
- __decorateClass$8([
13043
+ __decorateClass$6([
13533
13044
  observable
13534
13045
  ], BaseTextInput.prototype, "control", 2);
13535
- __decorateClass$8([
13046
+ __decorateClass$6([
13536
13047
  observable
13537
13048
  ], BaseTextInput.prototype, "controlLabel", 2);
13538
13049
 
13539
- var __defProp$7 = Object.defineProperty;
13540
- var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
13541
- var __decorateClass$7 = (decorators, target, key, kind) => {
13542
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
13543
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
13544
- if (decorator = decorators[i])
13545
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13546
- if (kind && result) __defProp$7(target, key, result);
13547
- return result;
13548
- };
13549
13050
  class TextInput extends BaseTextInput {
13550
13051
  }
13551
- __decorateClass$7([
13552
- attr
13553
- ], TextInput.prototype, "appearance", 2);
13554
- __decorateClass$7([
13555
- attr({ attribute: "control-size" })
13556
- ], TextInput.prototype, "controlSize", 2);
13557
13052
  applyMixins(TextInput, StartEnd);
13558
13053
 
13559
13054
  TextInput.define(definition$5);
@@ -13571,16 +13066,6 @@ const definition$4 = {
13571
13066
  template: template$4
13572
13067
  };
13573
13068
 
13574
- var __defProp$6 = Object.defineProperty;
13575
- var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
13576
- var __decorateClass$6 = (decorators, target, key, kind) => {
13577
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
13578
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
13579
- if (decorator = decorators[i])
13580
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13581
- if (kind && result) __defProp$6(target, key, result);
13582
- return result;
13583
- };
13584
13069
  class Text extends FASTElement {
13585
13070
  constructor() {
13586
13071
  super(...arguments);
@@ -13590,44 +13075,8 @@ class Text extends FASTElement {
13590
13075
  * @internal
13591
13076
  */
13592
13077
  this.elementInternals = this.attachInternals();
13593
- this.nowrap = false;
13594
- this.truncate = false;
13595
- this.italic = false;
13596
- this.underline = false;
13597
- this.strikethrough = false;
13598
- this.block = false;
13599
13078
  }
13600
13079
  }
13601
- __decorateClass$6([
13602
- attr({ mode: "boolean" })
13603
- ], Text.prototype, "nowrap", 2);
13604
- __decorateClass$6([
13605
- attr({ mode: "boolean" })
13606
- ], Text.prototype, "truncate", 2);
13607
- __decorateClass$6([
13608
- attr({ mode: "boolean" })
13609
- ], Text.prototype, "italic", 2);
13610
- __decorateClass$6([
13611
- attr({ mode: "boolean" })
13612
- ], Text.prototype, "underline", 2);
13613
- __decorateClass$6([
13614
- attr({ mode: "boolean" })
13615
- ], Text.prototype, "strikethrough", 2);
13616
- __decorateClass$6([
13617
- attr({ mode: "boolean" })
13618
- ], Text.prototype, "block", 2);
13619
- __decorateClass$6([
13620
- attr
13621
- ], Text.prototype, "size", 2);
13622
- __decorateClass$6([
13623
- attr
13624
- ], Text.prototype, "font", 2);
13625
- __decorateClass$6([
13626
- attr
13627
- ], Text.prototype, "weight", 2);
13628
- __decorateClass$6([
13629
- attr
13630
- ], Text.prototype, "align", 2);
13631
13080
 
13632
13081
  Text.define(definition$4);
13633
13082