Skip to content

Comments

docs: Adding example of how to pass on click to primaryActionButton slot in the Default story for SplitButton#29334

Merged
khmakoto merged 2 commits intomasterfrom
splitButtonOnClick
Sep 29, 2023
Merged

docs: Adding example of how to pass on click to primaryActionButton slot in the Default story for SplitButton#29334
khmakoto merged 2 commits intomasterfrom
splitButtonOnClick

Conversation

@khmakoto
Copy link
Member

Previous Behavior

No example in our storybook showed how to pass an onClick callback to the primaryActionButton slot of the SplitButton component.

New Behavior

The Default story for SplitButton now has an example of this functionality.

Related Issue(s)

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 29, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-alert
Alert
83.657 kB
22.915 kB
react-button
Button
39.444 kB
10.738 kB
react-button
CompoundButton
46.799 kB
12.233 kB
react-button
MenuButton
44.218 kB
12.12 kB
react-button
SplitButton
52.232 kB
13.705 kB
react-button
ToggleButton
56.49 kB
12.641 kB
react-card
Card - All
91.484 kB
26.485 kB
react-card
Card
86.31 kB
24.946 kB
react-card
CardFooter
12.074 kB
5.034 kB
react-card
CardHeader
14.323 kB
5.8 kB
react-card
CardPreview
13.031 kB
5.404 kB
react-components
react-components: Button, FluentProvider & webLightTheme
69.227 kB
19.584 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
206.783 kB
59.085 kB
react-components
react-components: FluentProvider & webLightTheme
40.793 kB
13.521 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against d701af33ee0742cbbbc765be8eb9cec273136953

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 29, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme mount 83 85 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 661 604 5000
Button mount 296 305 5000
Field mount 1111 1119 5000
FluentProvider mount 685 699 5000
FluentProviderWithTheme mount 83 85 10 Possible regression
FluentProviderWithTheme virtual-rerender 70 71 10
FluentProviderWithTheme virtual-rerender-with-unmount 75 75 10
InfoButton mount 18 9 5000
MakeStyles mount 829 871 50000
Persona mount 1772 1690 5000
SpinButton mount 1380 1358 5000

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 000304a:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@size-auditor
Copy link

size-auditor bot commented Sep 29, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 9fd9f701eed4171caf6ffa42e4d68bcb5d88fea9 (build)

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@khmakoto khmakoto merged commit d54dc8a into master Sep 29, 2023
@khmakoto khmakoto deleted the splitButtonOnClick branch September 29, 2023 19:30
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.

v9 Splitbutton documentation is missing important information

3 participants