@fluentui/web-components 3.0.0-beta.131 → 3.0.0-beta.132
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 +11 -2
- package/dist/web-components.d.ts +3 -4
- package/dist/web-components.js +6 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 07 Nov 2025 04:11:49 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [3.0.0-beta.132](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.132)
|
|
8
|
+
|
|
9
|
+
Fri, 07 Nov 2025 04:11:49 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.131..@fluentui/web-components_v3.0.0-beta.132)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- fix: avoid global type leaks into production assets compilation ([PR #35434](https://github.com/microsoft/fluentui/pull/35434) by martinhochel@microsoft.com)
|
|
15
|
+
|
|
7
16
|
## [3.0.0-beta.131](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.131)
|
|
8
17
|
|
|
9
|
-
Mon, 03 Nov 2025 04:07:
|
|
18
|
+
Mon, 03 Nov 2025 04:07:38 GMT
|
|
10
19
|
[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
20
|
|
|
12
21
|
### Changes
|
package/dist/web-components.d.ts
CHANGED
|
@@ -8681,7 +8681,7 @@ export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
|
|
|
8681
8681
|
*
|
|
8682
8682
|
* @public
|
|
8683
8683
|
*/
|
|
8684
|
-
declare class
|
|
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
|
|
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<
|
|
8730
|
+
export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar>;
|
|
8732
8731
|
|
|
8733
8732
|
/**
|
|
8734
8733
|
* ProgressBarThickness Constants
|
package/dist/web-components.js
CHANGED
|
@@ -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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
|
@@ -10369,7 +10369,7 @@ const styles$f = css`
|
|
|
10369
10369
|
: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
10370
|
: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
10371
|
|
|
10372
|
-
const checkedIndicator = html.partial(
|
|
10372
|
+
const checkedIndicator = html.partial(/* html */
|
|
10373
10373
|
`
|
|
10374
10374
|
<span part="checked-indicator" class="checked-indicator" role="presentation"></span>
|
|
10375
10375
|
`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"description": "A library of Fluent Web Components",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.132",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Microsoft",
|
|
7
7
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@fluentui/scripts-api-extractor": "*",
|
|
80
80
|
"@microsoft/fast-element": "2.0.0",
|
|
81
81
|
"@tensile-perf/web-components": "~0.2.2",
|
|
82
|
-
"@storybook/html": "
|
|
83
|
-
"@storybook/html-webpack5": "
|
|
82
|
+
"@storybook/html": "8.6.14",
|
|
83
|
+
"@storybook/html-webpack5": "8.6.14",
|
|
84
84
|
"@wc-toolkit/cem-validator": "1.0.3",
|
|
85
85
|
"@wc-toolkit/cem-inheritance": "1.2.2",
|
|
86
86
|
"@wc-toolkit/module-path-resolver": "1.0.0",
|