Skip to content

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

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

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

Conversation

@GianoglioEnrico

@GianoglioEnrico GianoglioEnrico commented May 29, 2026

Copy link
Copy Markdown
Contributor

Overview

This PR is part of the CAP visual refresh effort. It adds an optional icon slot rendered before the label content.

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

github-actions Bot commented May 29, 2026

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.295 MB
325.342 kB
1.297 MB
325.712 kB
1.843 kB
370 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
199.676 kB
57.066 kB
199.749 kB
57.073 kB
73 B
7 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.151 kB
29.865 kB
99.988 kB
30.34 kB
1.837 kB
475 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.115 kB
43.628 kB
148.95 kB
44.058 kB
1.835 kB
430 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
216.429 kB
63.953 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.769 kB
54.101 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 8b3bdbcea4acd342c1176e5b6dbf76261d5b2fb6

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

@@ -0,0 +1,7 @@
{

@github-actions github-actions Bot May 29, 2026

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/Menu Converged - submenuIndicator slotted content 1 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Menu Converged - submenuIndicator slotted content.default.submenus open.chromium.png 413 Changed
vr-tests-react-components/Positioning 1 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Positioning.Positioning end.updated 2 times.chromium.png 124 Changed
vr-tests-react-components/ProgressBar converged 1 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/ProgressBar converged.Indeterminate + thickness.default.chromium.png 40 Changed
vr-tests-react-components/TagPicker 1 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/TagPicker.disabled - Dark Mode.disabled input hover.chromium.png 658 Changed

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

@GianoglioEnrico GianoglioEnrico force-pushed the feat/cap-visual-refresh-label branch from 293d990 to b717d18 Compare June 10, 2026 15:13
@GianoglioEnrico GianoglioEnrico marked this pull request as ready for review June 10, 2026 15:13
@GianoglioEnrico GianoglioEnrico requested review from a team and ValentinaKozlova as code owners June 10, 2026 15:13
@GianoglioEnrico GianoglioEnrico self-assigned this Jun 10, 2026
@GianoglioEnrico GianoglioEnrico force-pushed the feat/cap-visual-refresh-label branch from b717d18 to 377a7c8 Compare June 11, 2026 13:36
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