Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(react-dialog): updates stories #25070

Merged

Conversation

bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Oct 4, 2022

New Behavior

  1. Updates stories organisation
  2. Adds all compound components properties tables in the documentation
  3. Merges DialogTitle stories with Dialog stories
  4. Adds comments on no focusable element scenarios about Talkback issue Accessibility: Talkback does not access content within a dialog that contains no interactive content #24471
  5. Adds comments to DialogOpenChangeEventHandler inside DialogProps

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 4, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
188.815 kB
52.287 kB
react-components
react-components: FluentProvider & webLightTheme
33.4 kB
11.008 kB
react-dialog
Dialog (including children components)
82.465 kB
24.447 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against 5a3ac20a28f7ae34ac52e9d8cc4e9517cd369c06

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 4, 2022

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 c59b423:

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

@size-auditor
Copy link

size-auditor bot commented Oct 4, 2022

Asset size changes

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

Baseline commit: 5a3ac20a28f7ae34ac52e9d8cc4e9517cd369c06 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 4, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1581 1572 5000
Button mount 1083 1065 5000
FluentProvider mount 1818 1829 5000
FluentProviderWithTheme mount 668 700 10
FluentProviderWithTheme virtual-rerender 624 630 10
FluentProviderWithTheme virtual-rerender-with-unmount 677 671 10
MakeStyles mount 2122 2106 50000
SpinButton mount 2974 3009 5000

@bsunderhus bsunderhus marked this pull request as ready for review October 4, 2022 09:49
@bsunderhus bsunderhus requested a review from a team as a code owner October 4, 2022 09:49
Comment on lines +24 to +29
subcomponents: {
DialogTrigger,
DialogSurface,
DialogTitle,
DialogActions,
},
Copy link
Member

Choose a reason for hiding this comment

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

😮 ❤️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I was amazed when I found out about this! 🤩

@bsunderhus bsunderhus enabled auto-merge (squash) October 5, 2022 08:49
@bsunderhus bsunderhus merged commit 443c503 into microsoft:master Oct 5, 2022
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 5, 2022
* master: (62 commits)
  chore(migrate-converged): add functionality to execute various v9 package file restructuring tasks (microsoft#24458)
  chore(react-dialog): updates stories (microsoft#25070)
  refactor Progress to remove label and description slots (microsoft#25067)
  fix(SplitButton): Remove borders from hover and pressed state in primary split buttons (microsoft#25059)
  chore(react-persona): Add vr, conformance, and unit tests (microsoft#25007)
  (docs): update Icon docs with examples (microsoft#24768)
  Split button/primary hc fix (microsoft#25066)
  chore(react-utilities): restricts trigger API types (microsoft#25044)
  Add utilities export @fluentui/style-utilities v8 (microsoft#25065)
  chore: migrate whole repo to webpack 5 (microsoft#24542)
  applying package updates
  BREAKING: refactor `useTable` to be composable (microsoft#24947)
  Added shims to shim packages (microsoft#25048)
  Add Progress SPEC (microsoft#24418)
  applying package updates
  chore(react-persona): Add bundle-size command for bundle-size fixtures (microsoft#25055)
  fix(Button): Remove margin added to buttons by Safari (microsoft#25052)
  fix: Menu triggers no longer take focus when they are mounted (microsoft#25016)
  chore: deletes react-trigger package (microsoft#25042)
  Fixed a minor typo: immmediately => immediately (microsoft#25036)
  ...
@bsunderhus bsunderhus mentioned this pull request Oct 11, 2022
5 tasks
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
* chore(react-dialog): updates stories

* chore: updates API comments

* Update change/@fluentui-react-dialog-bbb01d69-5227-40c3-aaf3-053f1af35f0d.json

Co-authored-by: Oleksandr Fediashov <[email protected]>

Co-authored-by: Oleksandr Fediashov <[email protected]>
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.

3 participants