Skip to content

feat(react-label): [CAP] visual refresh – add optional icon slot#36270

Draft
GianoglioEnrico wants to merge 2 commits into
microsoft:masterfrom
GianoglioEnrico:feat/cap-visual-refresh-label
Draft

feat(react-label): [CAP] visual refresh – add optional icon slot#36270
GianoglioEnrico wants to merge 2 commits into
microsoft:masterfrom
GianoglioEnrico:feat/cap-visual-refresh-label

Conversation

@GianoglioEnrico
Copy link
Copy Markdown
Contributor

This PR is part of the CAP visual refresh effort. It adds an optional icon slot to the Fluent Label.

Screenshot 2026-05-29 at 17 16 37

@GianoglioEnrico GianoglioEnrico changed the title feat(react-label): [CAP] visual refresh – add optional icon slot feat(react-label): [CAP] visual refresh – add optional icon slot May 29, 2026
@github-actions
Copy link
Copy Markdown

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-checkbox
Checkbox
29.624 kB
10.537 kB
31.459 kB
10.99 kB
1.835 kB
453 B
react-components
react-components: entire library
1.294 MB
324.918 kB
1.296 MB
325.269 kB
1.843 kB
351 B
react-field
Field
21.127 kB
7.887 kB
22.96 kB
8.399 kB
1.833 kB
512 B
react-headless-components-preview
react-headless-components-preview: entire library
198.183 kB
56.549 kB
198.256 kB
56.557 kB
73 B
8 B
react-label
Label
11.696 kB
4.74 kB
13.531 kB
5.304 kB
1.835 kB
564 B
react-list
ListItem
98.104 kB
29.845 kB
99.941 kB
30.308 kB
1.837 kB
463 B
react-radio
Radio
27.012 kB
8.731 kB
28.847 kB
9.218 kB
1.835 kB
487 B
react-spinner
Spinner
22.441 kB
7.35 kB
24.276 kB
7.852 kB
1.835 kB
502 B
react-switch
Switch
32.256 kB
10.183 kB
34.09 kB
10.682 kB
1.834 kB
499 B
react-table
DataGrid
147.069 kB
43.605 kB
148.904 kB
44.034 kB
1.835 kB
429 B
react-table
Table as DataGrid
118.7 kB
33.348 kB
120.537 kB
33.754 kB
1.837 kB
406 B
react-table
Table (Selection only)
65.492 kB
18.622 kB
67.327 kB
19.02 kB
1.835 kB
398 B
react-table
Table (Sort only)
64.135 kB
18.232 kB
65.97 kB
18.631 kB
1.835 kB
399 B
react-tree
FlatTree
135.901 kB
40.456 kB
137.737 kB
40.907 kB
1.836 kB
451 B
react-tree
PersonaFlatTree
137.729 kB
40.969 kB
139.565 kB
41.409 kB
1.836 kB
440 B
react-tree
PersonaTree
133.79 kB
39.742 kB
135.626 kB
40.201 kB
1.836 kB
459 B
react-tree
Tree
131.968 kB
39.259 kB
133.804 kB
39.716 kB
1.836 kB
457 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-combobox
Combobox (including child components)
101.09 kB
33.224 kB
react-combobox
Dropdown (including child components)
100.858 kB
33.003 kB
react-components
react-components: Button, FluentProvider & webLightTheme
66.328 kB
19.02 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
226.19 kB
67.909 kB
react-components
react-components: FluentProvider & webLightTheme
39.525 kB
13.113 kB
react-datepicker-compat
DatePicker Compat
212.369 kB
61.552 kB
react-input
Input
25.019 kB
8.175 kB
react-list
List
74.655 kB
23.01 kB
react-portal-compat
PortalCompatProvider
5.567 kB
2.237 kB
react-progress
ProgressBar
19.127 kB
7.436 kB
react-radio
RadioGroup
12.774 kB
5.184 kB
react-select
Select
24.903 kB
8.951 kB
react-slider
Slider
32.259 kB
11.103 kB
react-spinbutton
SpinButton
32.544 kB
10.615 kB
react-swatch-picker
@fluentui/react-swatch-picker - package
92.162 kB
27.267 kB
react-table
Table (Primitives only)
36.931 kB
12.324 kB
react-tag-picker
@fluentui/react-tag-picker - package
173.332 kB
54.002 kB
react-textarea
Textarea
23.409 kB
8.452 kB
react-timepicker-compat
TimePicker
104.049 kB
34.748 kB
🤖 This report was generated against 5b60f2059ee6acf41e71ab11a30c0ecd9bb1a6cb

@github-actions
Copy link
Copy Markdown

Pull request demo site: URL

@@ -0,0 +1,7 @@
{
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵🏾‍♀️ visual changes to review in the Visual Change Report

vr-tests-react-components/Avatar Converged 1 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Avatar Converged.badgeMask.normal.chromium.png 5 Changed
vr-tests-react-components/Charts-DonutChart 2 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Charts-DonutChart.Dynamic - RTL.default.chromium.png 33448 Changed
vr-tests-react-components/Charts-DonutChart.Dynamic.default.chromium.png 33367 Changed
vr-tests-react-components/Positioning 2 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Positioning.Positioning end.chromium.png 966 Changed
vr-tests-react-components/Positioning.Positioning end.updated 2 times.chromium.png 740 Changed
vr-tests-react-components/ProgressBar converged 2 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/ProgressBar converged.Indeterminate + thickness - Dark Mode.default.chromium.png 43 Changed
vr-tests-react-components/ProgressBar converged.Indeterminate + thickness - High Contrast.default.chromium.png 61 Changed
vr-tests-react-components/TagPicker 2 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/TagPicker.disabled - RTL.disabled input hover.chromium.png 635 Changed
vr-tests-react-components/TagPicker.disabled - Dark Mode.chromium.png 658 Changed

There were 2 duplicate changes discarded. Check the build logs for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant