@fluentui/web-components 3.0.0-beta.131 → 3.0.0-beta.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,30 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Mon, 03 Nov 2025 04:07:19 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 12 Nov 2025 04:07:16 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-beta.133](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.133)
8
+
9
+ Wed, 12 Nov 2025 04:07:16 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.132..@fluentui/web-components_v3.0.0-beta.133)
11
+
12
+ ### Changes
13
+
14
+ - fix: ensure required radio error message is announced by assistive technology ([PR #35468](https://github.com/microsoft/fluentui/pull/35468) by 13071055+chrisdholt@users.noreply.github.com)
15
+
16
+ ## [3.0.0-beta.132](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.132)
17
+
18
+ Fri, 07 Nov 2025 04:12:08 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.131..@fluentui/web-components_v3.0.0-beta.132)
20
+
21
+ ### Changes
22
+
23
+ - fix: avoid global type leaks into production assets compilation ([PR #35434](https://github.com/microsoft/fluentui/pull/35434) by martinhochel@microsoft.com)
24
+
7
25
  ## [3.0.0-beta.131](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.131)
8
26
 
9
- Mon, 03 Nov 2025 04:07:19 GMT
27
+ Mon, 03 Nov 2025 04:07:38 GMT
10
28
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.130..@fluentui/web-components_v3.0.0-beta.131)
11
29
 
12
30
  ### Changes
@@ -256,6 +256,21 @@ export declare class RadioGroup extends FASTElement {
256
256
  * @param anchor - Optional anchor to use for the validation message.
257
257
  *
258
258
  * @internal
259
+ * @remarks
260
+ * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
261
+ * This is necessary because:
262
+ * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
263
+ * 2. Browser validation UIs and screen readers announce validation against individual form controls
264
+ * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
265
+ * 4. We anchor the error to the first Radio so it receives focus and announcement
266
+ *
267
+ * When the group is invalid (required but no selection):
268
+ * - Only the first Radio gets the invalid state with the validation message
269
+ * - Other Radios are kept valid since selecting any of them would satisfy the requirement
270
+ *
271
+ * When the group becomes valid (user selects any Radio):
272
+ * - All Radios are cleared back to valid state
273
+ * - This allows form submission to proceed
259
274
  */
260
275
  setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
261
276
  /**
@@ -430,14 +430,46 @@ export class RadioGroup extends FASTElement {
430
430
  * @param anchor - Optional anchor to use for the validation message.
431
431
  *
432
432
  * @internal
433
+ * @remarks
434
+ * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
435
+ * This is necessary because:
436
+ * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
437
+ * 2. Browser validation UIs and screen readers announce validation against individual form controls
438
+ * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
439
+ * 4. We anchor the error to the first Radio so it receives focus and announcement
440
+ *
441
+ * When the group is invalid (required but no selection):
442
+ * - Only the first Radio gets the invalid state with the validation message
443
+ * - Other Radios are kept valid since selecting any of them would satisfy the requirement
444
+ *
445
+ * When the group becomes valid (user selects any Radio):
446
+ * - All Radios are cleared back to valid state
447
+ * - This allows form submission to proceed
433
448
  */
434
449
  setValidity(flags, message, anchor) {
435
450
  if (this.$fastController.isConnected) {
436
- if (this.disabled || !this.required) {
437
- this.elementInternals.setValidity({});
451
+ // Always check if still required and has no value
452
+ const isInvalid = this.required && !this.value && !this.disabled;
453
+ if (!isInvalid) {
454
+ // Clear validity on all radios when group is valid
455
+ this.enabledRadios?.forEach(radio => {
456
+ radio.elementInternals.setValidity({});
457
+ });
438
458
  return;
439
459
  }
440
- this.elementInternals.setValidity({ valueMissing: this.required && !this.value, ...flags }, message ?? this.validationMessage, anchor ?? this.enabledRadios[0]);
460
+ // Group is invalid - set error only on first enabled radio for announcement
461
+ const validationFlags = { valueMissing: true, ...flags };
462
+ const validationMessage = message ?? this.validationMessage;
463
+ this.enabledRadios?.forEach((radio, index) => {
464
+ if (index === 0) {
465
+ // Only the first radio shows the validation error for screen reader announcement
466
+ radio.elementInternals.setValidity(validationFlags, validationMessage, radio);
467
+ }
468
+ else {
469
+ // Other radios are valid (they're just not selected yet)
470
+ radio.elementInternals.setValidity({});
471
+ }
472
+ });
441
473
  }
442
474
  }
443
475
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/radio-group/radio-group.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE;;;;;;;;;GASG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IASzC;;;;;;OAMG;IACO,mBAAmB,CAAC,IAAwB,EAAE,IAAY;QAClE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC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K,CAAC,gBAAgB,CAAC,WAAW,CAAC,eAAe,EAAE,iBAAiB,EAAE,KAAK,CAAC,CAAC;gBAChF,CAAC;qBAAM,CAAC;oBACN,yDAAyD;oBACzD,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;gBACzC,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACI,iBAAiB,CAAC,CAAQ;QAC/B,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE;YACnB,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,KAAK,CAAY,CAAC;QAC3F,CAAC,CAAC,CAAC;IACL,CAAC;;AAnlBS;IADT,UAAU;gDACqB;AA8BzB;IADN,IAAI,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;4CAChB;AA2B1B;IADN,IAAI,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;gDAClB;AAoBtB;IADN,IAAI;wCACgB;AAuBd;IADN,IAAI;+CACsC;AAmBpC;IADN,UAAU;0CACa;AAwEjB;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;4CACA"}
@@ -8681,7 +8681,7 @@ export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
8681
8681
  *
8682
8682
  * @public
8683
8683
  */
8684
- declare class ProgressBar_2 extends BaseProgressBar {
8684
+ export declare class ProgressBar extends BaseProgressBar {
8685
8685
  /**
8686
8686
  * The thickness of the progress bar
8687
8687
  *
@@ -8696,7 +8696,6 @@ declare class ProgressBar_2 extends BaseProgressBar {
8696
8696
  */
8697
8697
  shape?: ProgressBarShape;
8698
8698
  }
8699
- export { ProgressBar_2 as ProgressBar }
8700
8699
 
8701
8700
  /**
8702
8701
  * The Fluent ProgressBar Element.
@@ -8706,7 +8705,7 @@ export { ProgressBar_2 as ProgressBar }
8706
8705
  * @remarks
8707
8706
  * HTML Element: \<fluent-progress-bar\>
8708
8707
  */
8709
- export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar_2>;
8708
+ export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar>;
8710
8709
 
8711
8710
  /**
8712
8711
  * ProgressBarShape Constants
@@ -8728,7 +8727,7 @@ export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
8728
8727
  */
8729
8728
  export declare const ProgressBarStyles: ElementStyles;
8730
8729
 
8731
- export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar_2>;
8730
+ export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar>;
8732
8731
 
8733
8732
  /**
8734
8733
  * ProgressBarThickness Constants
@@ -9095,6 +9094,21 @@ export declare class RadioGroup extends FASTElement {
9095
9094
  * @param anchor - Optional anchor to use for the validation message.
9096
9095
  *
9097
9096
  * @internal
9097
+ * @remarks
9098
+ * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
9099
+ * This is necessary because:
9100
+ * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
9101
+ * 2. Browser validation UIs and screen readers announce validation against individual form controls
9102
+ * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
9103
+ * 4. We anchor the error to the first Radio so it receives focus and announcement
9104
+ *
9105
+ * When the group is invalid (required but no selection):
9106
+ * - Only the first Radio gets the invalid state with the validation message
9107
+ * - Other Radios are kept valid since selecting any of them would satisfy the requirement
9108
+ *
9109
+ * When the group becomes valid (user selects any Radio):
9110
+ * - All Radios are cleared back to valid state
9111
+ * - This allows form submission to proceed
9098
9112
  */
9099
9113
  setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
9100
9114
  /**
@@ -2438,7 +2438,7 @@ function compileNode(context, parentId, node, nodeIndex) {
2438
2438
  // comment
2439
2439
  const parts = Parser.parse(node.data, context.directives);
2440
2440
  if (parts !== null) {
2441
- context.addFactory( /* eslint-disable-next-line @typescript-eslint/no-use-before-define */
2441
+ context.addFactory(/* eslint-disable-next-line @typescript-eslint/no-use-before-define */
2442
2442
  Compiler.aggregate(parts), parentId, nodeId, nodeIndex, null);
2443
2443
  }
2444
2444
  break;
@@ -6460,7 +6460,7 @@ const styles$A = css`
6460
6460
  :host{--size:16px;background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${colorNeutralStrokeAccessibleHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(${checkedState}:hover){background-color:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandStrokeHover}}:host(${checkedState}:active){background-color:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandStrokePressed}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${strokeWidthThick} solid ${colorTransparentStroke};border-radius:${borderRadiusMedium}}:host(:not([slot='input']):focus-visible)::after{border-color:${colorStrokeFocus2}}.indeterminate-indicator,.checked-indicator{color:${colorNeutralForegroundInverted};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${checkedState})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${checkedState}),:host(${indeterminateState}){border-color:${colorCompoundBrandStroke}}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:${colorCompoundBrandBackground}}:host(${indeterminateState}) .indeterminate-indicator{border-radius:${borderRadiusSmall};position:absolute;width:calc(var(--size) / 2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${borderRadiusCircular}}:host([disabled]),:host([disabled]${checkedState}){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}:host([disabled]){cursor:unset}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:${colorNeutralStrokeDisabled}}:host([disabled]${checkedState}) .checked-indicator{color:${colorNeutralStrokeDisabled}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
6461
6461
  :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${checkedState}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:FieldText}:host(${checkedState}:not([disabled]):hover),:host(${indeterminateState}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${checkedState}) .checked-indicator{color:GrayText}`));
6462
6462
 
6463
- const checkedIndicator$2 = html.partial( /* html */
6463
+ const checkedIndicator$2 = html.partial(/* html */
6464
6464
  `
6465
6465
  <svg
6466
6466
  fill="currentColor"
@@ -6473,7 +6473,7 @@ const checkedIndicator$2 = html.partial( /* html */
6473
6473
  <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor"></path>
6474
6474
  </svg>
6475
6475
  `);
6476
- const indeterminateIndicator = html.partial( /* html */
6476
+ const indeterminateIndicator = html.partial(/* html */
6477
6477
  `
6478
6478
  <span class="indeterminate-indicator"></span>
6479
6479
  `);
@@ -8487,7 +8487,7 @@ definition$o.define(FluentDesignSystem.registry);
8487
8487
  class MenuButton extends Button {}
8488
8488
 
8489
8489
  const template$n = buttonTemplate$1({
8490
- end: html.partial( /* html */
8490
+ end: html.partial(/* html */
8491
8491
  `
8492
8492
  <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
8493
8493
  <path d="M15.85 7.65c.2.2.2.5 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.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path>
@@ -9649,7 +9649,7 @@ const styles$i = css`
9649
9649
  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(:disabled){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(:disabled${multipleState}) .checkmark-12-regular{border-color:${colorNeutralStrokeDisabled}}:host(:disabled${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'
9650
9650
  'indicator start description'}::slotted([slot='description']){color:${colorNeutralForeground3};grid-area:description;${typographyCaption1Styles}}@media (forced-colors:active){:host(:disabled){color:GrayText}}`;
9651
9651
 
9652
- const checkedIndicator$1 = html.partial( /* html */
9652
+ const checkedIndicator$1 = html.partial(/* html */
9653
9653
  `
9654
9654
  <svg aria-hidden="true" class="checkmark-16-filled" viewBox="0 0 16 16">
9655
9655
  <path
@@ -10297,17 +10297,43 @@ class RadioGroup extends FASTElement {
10297
10297
  * @param anchor - Optional anchor to use for the validation message.
10298
10298
  *
10299
10299
  * @internal
10300
+ * @remarks
10301
+ * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
10302
+ * This is necessary because:
10303
+ * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
10304
+ * 2. Browser validation UIs and screen readers announce validation against individual form controls
10305
+ * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
10306
+ * 4. We anchor the error to the first Radio so it receives focus and announcement
10307
+ *
10308
+ * When the group is invalid (required but no selection):
10309
+ * - Only the first Radio gets the invalid state with the validation message
10310
+ * - Other Radios are kept valid since selecting any of them would satisfy the requirement
10311
+ *
10312
+ * When the group becomes valid (user selects any Radio):
10313
+ * - All Radios are cleared back to valid state
10314
+ * - This allows form submission to proceed
10300
10315
  */
10301
10316
  setValidity(flags, message, anchor) {
10302
10317
  if (this.$fastController.isConnected) {
10303
- if (this.disabled || !this.required) {
10304
- this.elementInternals.setValidity({});
10318
+ const isInvalid = this.required && !this.value && !this.disabled;
10319
+ if (!isInvalid) {
10320
+ this.enabledRadios?.forEach(radio => {
10321
+ radio.elementInternals.setValidity({});
10322
+ });
10305
10323
  return;
10306
10324
  }
10307
- this.elementInternals.setValidity({
10308
- valueMissing: this.required && !this.value,
10325
+ const validationFlags = {
10326
+ valueMissing: true,
10309
10327
  ...flags
10310
- }, message ?? this.validationMessage, anchor ?? this.enabledRadios[0]);
10328
+ };
10329
+ const validationMessage = message ?? this.validationMessage;
10330
+ this.enabledRadios?.forEach((radio, index) => {
10331
+ if (index === 0) {
10332
+ radio.elementInternals.setValidity(validationFlags, validationMessage, radio);
10333
+ } else {
10334
+ radio.elementInternals.setValidity({});
10335
+ }
10336
+ });
10311
10337
  }
10312
10338
  }
10313
10339
  /**
@@ -10369,7 +10395,7 @@ const styles$f = css`
10369
10395
  :host{--size:16px;aspect-ratio:1;background-color:${colorNeutralBackground1};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};border-radius:${borderRadiusCircular};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${borderRadiusCircular};color:${colorNeutralForegroundInverted};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:'' / '';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${strokeWidthThick} solid ${colorTransparentStroke};border-radius:${borderRadiusMedium}}:host(:not([slot='input']):focus-visible)::after{border-color:${colorStrokeFocus2}}:host(:hover){border-color:${colorNeutralStrokeAccessibleHover}}:host(${checkedState}){border-color:${colorCompoundBrandStroke}}:host(${checkedState}) .checked-indicator{background-color:${colorCompoundBrandBackground}}:host(${checkedState}:hover) .checked-indicator{background-color:${colorCompoundBrandBackgroundHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(${checkedState}:active) .checked-indicator{background-color:${colorCompoundBrandBackgroundPressed}}:host(:focus-visible){outline:none}:host(${disabledState}){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}:host(${checkedState}${disabledState}) .checked-indicator{background-color:${colorNeutralStrokeDisabled}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
10370
10396
  :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${disabledState}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${checkedState}) .checked-indicator{background-color:FieldText}:host(${checkedState}:not(${disabledState}):hover) .checked-indicator{background-color:Highlight}:host(${disabledState}){border-color:GrayText;color:GrayText}:host(${disabledState}${checkedState}) .checked-indicator{background-color:GrayText}`));
10371
10397
 
10372
- const checkedIndicator = html.partial( /* html */
10398
+ const checkedIndicator = html.partial(/* html */
10373
10399
  `
10374
10400
  <span part="checked-indicator" class="checked-indicator" role="presentation"></span>
10375
10401
  `);