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

react-input: Updated to use new shared tokens #22836

Merged
merged 3 commits into from
May 4, 2022

Conversation

GeoffCoxMSFT
Copy link
Member

Changes

  • Updated input styles to use shared tokens from react-theme

Issues

Updates #22231

@GeoffCoxMSFT GeoffCoxMSFT requested a review from spmonahan May 4, 2022 17:46
@GeoffCoxMSFT GeoffCoxMSFT self-assigned this May 4, 2022
@GeoffCoxMSFT GeoffCoxMSFT requested a review from a team as a code owner May 4, 2022 17:46
@GeoffCoxMSFT GeoffCoxMSFT added this to the May Project Cycle Q2 2022 milestone May 4, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 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 f7edb4c:

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

@fabricteam
Copy link
Collaborator

fabricteam commented May 4, 2022

📊 Bundle size report

🤖 This report was generated against d325a31bcd5d144e2a40ee4bf085e8ef6b3f5d73

@size-auditor
Copy link

size-auditor bot commented May 4, 2022

Asset size changes

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

Baseline commit: d325a31bcd5d144e2a40ee4bf085e8ef6b3f5d73 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented May 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 933 947 5000
Button mount 564 548 5000
FluentProvider mount 1838 1790 5000
FluentProviderWithTheme mount 254 249 10
FluentProviderWithTheme virtual-rerender 247 243 10
FluentProviderWithTheme virtual-rerender-with-unmount 283 299 10
MakeStyles mount 1607 1579 50000

@@ -15,32 +15,9 @@ export const inputClassNames: SlotClassNames<InputSlots> = {
};

// TODO(sharing) use theme values once available
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove this comment now?

Copy link
Member Author

Choose a reason for hiding this comment

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

There is the leftover contentSizes[400] so I left that comment there.

@GeoffCoxMSFT GeoffCoxMSFT enabled auto-merge (squash) May 4, 2022 18:37
@GeoffCoxMSFT GeoffCoxMSFT merged commit 7ba7e55 into microsoft:master May 4, 2022
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
* Updated to use new theme tokens

* yarn change

* Update packages/react-components/react-input/src/components/Input/useInputStyles.ts

Co-authored-by: Sean Monahan <[email protected]>

Co-authored-by: Sean Monahan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants