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

feat(react-utilities): add dialog properties to getNativeElementProps #24698

Conversation

bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Sep 7, 2022

Split PR from #24525

New Behaviour

Adds dialog props to getNativeElementProps

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 7, 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 7db68ee:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-accordion
Accordion (including children components)
79.418 kB
24.09 kB
79.46 kB
24.109 kB
42 B
19 B
react-alert
Alert
83.797 kB
20.853 kB
83.894 kB
20.924 kB
97 B
71 B
react-avatar
Avatar
48.339 kB
13.676 kB
48.381 kB
13.696 kB
42 B
20 B
react-avatar
AvatarGroup
14.908 kB
5.971 kB
14.95 kB
5.989 kB
42 B
18 B
react-avatar
AvatarGroupItem
68.307 kB
19.019 kB
68.349 kB
19.039 kB
42 B
20 B
react-badge
Badge
22.558 kB
7.187 kB
22.6 kB
7.205 kB
42 B
18 B
react-badge
CounterBadge
23.461 kB
7.478 kB
23.503 kB
7.497 kB
42 B
19 B
react-badge
PresenceBadge
24.006 kB
7.049 kB
24.05 kB
7.067 kB
44 B
18 B
react-button
Button
36.405 kB
9.588 kB
36.502 kB
9.621 kB
97 B
33 B
react-button
CompoundButton
43.431 kB
10.804 kB
43.528 kB
10.841 kB
97 B
37 B
react-button
MenuButton
39.023 kB
10.467 kB
39.12 kB
10.501 kB
97 B
34 B
react-button
SplitButton
46.553 kB
11.85 kB
46.65 kB
11.884 kB
97 B
34 B
react-button
ToggleButton
51.919 kB
11.011 kB
52.016 kB
11.044 kB
97 B
33 B
react-card
Card - All
67.516 kB
19.291 kB
67.558 kB
19.31 kB
42 B
19 B
react-card
Card
63.198 kB
18.202 kB
63.24 kB
18.221 kB
42 B
19 B
react-card
CardFooter
8.519 kB
3.582 kB
8.561 kB
3.601 kB
42 B
19 B
react-card
CardHeader
9.562 kB
3.922 kB
9.604 kB
3.94 kB
42 B
18 B
react-card
CardPreview
8.62 kB
3.639 kB
8.662 kB
3.656 kB
42 B
17 B
react-combobox
Combobox (including child components)
73.821 kB
24.003 kB
73.863 kB
24.018 kB
42 B
15 B
react-combobox
Dropdown (including child components)
73.408 kB
23.911 kB
73.45 kB
23.927 kB
42 B
16 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.317 kB
52.005 kB
189.414 kB
52.045 kB
97 B
40 B
react-components
react-components: FluentProvider & webLightTheme
33.317 kB
10.983 kB
33.359 kB
11.004 kB
42 B
21 B
react-dialog
Dialog (including children components)
81.485 kB
24.209 kB
81.529 kB
24.221 kB
44 B
12 B
react-divider
Divider
16.417 kB
5.883 kB
16.459 kB
5.902 kB
42 B
19 B
react-image
Image
10.738 kB
4.245 kB
10.78 kB
4.264 kB
42 B
19 B
react-input
Input
23.556 kB
7.642 kB
23.598 kB
7.661 kB
42 B
19 B
react-label
Label
9.296 kB
3.843 kB
9.338 kB
3.86 kB
42 B
17 B
react-link
Link
12.289 kB
4.953 kB
12.331 kB
4.968 kB
42 B
15 B
react-menu
Menu (including children components)
116.237 kB
35.452 kB
116.281 kB
35.47 kB
44 B
18 B
react-menu
Menu (including selectable components)
119.436 kB
35.934 kB
119.48 kB
35.954 kB
44 B
20 B
react-popover
Popover
102.894 kB
31.525 kB
102.938 kB
31.542 kB
44 B
17 B
react-provider
FluentProvider
15.713 kB
5.864 kB
15.755 kB
5.883 kB
42 B
19 B
react-radio
Radio
36.083 kB
11.944 kB
36.125 kB
11.963 kB
42 B
19 B
react-radio
RadioGroup
14.206 kB
5.683 kB
14.248 kB
5.7 kB
42 B
17 B
react-select
Select
20.804 kB
7.327 kB
20.846 kB
7.346 kB
42 B
19 B
react-slider
Slider
32.128 kB
10.06 kB
32.17 kB
10.08 kB
42 B
20 B
react-spinbutton
SpinButton
43.901 kB
12.364 kB
43.943 kB
12.382 kB
42 B
18 B
react-spinner
Spinner
19.935 kB
6.42 kB
19.977 kB
6.438 kB
42 B
18 B
react-switch
Switch
32.62 kB
10.282 kB
32.662 kB
10.301 kB
42 B
19 B
react-text
Text - Default
11.74 kB
4.587 kB
11.782 kB
4.605 kB
42 B
18 B
react-text
Text - Wrappers
15.05 kB
5.025 kB
15.092 kB
5.044 kB
42 B
19 B
react-textarea
Textarea
23.732 kB
7.86 kB
23.774 kB
7.881 kB
42 B
21 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
554 B
348 B
react-overflow
hooks only
10.685 kB
4.104 kB
react-portal
Portal
10.576 kB
3.875 kB
react-positioning
usePositioning
19.7 kB
7.404 kB
react-tooltip
Tooltip
41.502 kB
14.623 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against 22de26fac5b939224884052b0bf86cecc5f22fee

@bsunderhus bsunderhus marked this pull request as ready for review September 7, 2022 19:28
@bsunderhus bsunderhus requested a review from a team as a code owner September 7, 2022 19:28
@size-auditor
Copy link

size-auditor bot commented Sep 7, 2022

Asset size changes

⚠️ Insufficient baseline data to detect size changes

Unable to find bundle size details for Baseline commit: 28f5559

Possible causes

  • The baseline build 28f5559 is broken
  • The Size Auditor run for the baseline build 28f5559 was not triggered

Recommendations

  • Please merge your branch for this Pull request with the latest master build and commit your changes once again

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1312 1247 5000
Button mount 957 955 5000
FluentProvider mount 1604 1589 5000
FluentProviderWithTheme mount 620 626 10
FluentProviderWithTheme virtual-rerender 520 575 10
FluentProviderWithTheme virtual-rerender-with-unmount 637 622 10
MakeStyles mount 1889 1893 50000
SpinButton mount 2485 2501 5000

@bsunderhus bsunderhus merged commit 6fd8556 into microsoft:master Sep 8, 2022
@bsunderhus bsunderhus deleted the react-utilities/add-dialog-to-getNativeElementProps branch September 8, 2022 06:35
@khmakoto khmakoto changed the title feat(react-utilties): add dialog properties to getNativeElementProps feat(react-utilities): add dialog properties to getNativeElementProps Sep 8, 2022
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Sep 9, 2022
* master: (63 commits)
  feat: add helper types to assist DOM element handling (microsoft#24722)
  applying package updates
  Textarea/hc bug (microsoft#24701)
  Fix null ref in use slider (microsoft#24728)
  Add Field unit tests, and remove snapshot tests (microsoft#24706)
  Stress Test: add build commands (microsoft#24575)
  Coachmark - useOffsetHeight should cause re-render on each set state to match v7 functionality (microsoft#24702)
  Implement screener tests for Field components (microsoft#24684)
  Update Field types to clean up react-field.api.md (microsoft#24703)
  fix(Popup): remove rotate(360deg) from PopupContent content styles (microsoft#24432)
  fix(FocusZone): should reset tabindex when focus is outside the zone with prop `shouldResetActiveElementWhenTabFromZone` (microsoft#24463)
  Fix greyed out legend key contrast ratio (microsoft#24714)
  fix: Portal compat should apply `focus-visible` ponyfill (microsoft#24712)
  Fix artifact error (microsoft#24717)
  chore(react-dialog): remove localShorthands in favor of griffel shorthands (microsoft#24715)
  Skip screener checks for draft PRs with exception of appropriately la… (microsoft#24694)
  fix: Remove provider classname from focus styles (microsoft#24710)
  feat: autocontrolled `useTable` hook (microsoft#24688)
  feat: add dialog properties to getNativeElementProps (microsoft#24698)
  Using migrate rather than upgrade term (microsoft#24695)
  ...
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