-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Adding Card component style hooks to shared context #27295
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
Adding Card component style hooks to shared context #27295
Conversation
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 77bb9ec1eeedef91315dee3750bd06b15168c693 (build) |
|
You need to build that package so the API file updates accordingly:
|
…://github.com/microsoft/fluentui into user/matejera/add-card-styles-to-context-hook
🕵 fluentuiv9 No visual regressions between this PR and main |
|
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 20c62f6:
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1073 | 1049 | 5000 | |
| Button | mount | 667 | 662 | 5000 | |
| Field | mount | 1933 | 1910 | 5000 | |
| FluentProvider | mount | 1350 | 1345 | 5000 | |
| FluentProviderWithTheme | mount | 346 | 352 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 267 | 275 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 345 | 344 | 10 | |
| InfoButton | mount | 247 | 235 | 5000 | |
| MakeStyles | mount | 1510 | 1544 | 50000 | |
| Persona | mount | 2664 | 2608 | 5000 | |
| SpinButton | mount | 2299 | 2308 | 5000 |
|
This is not great 😭 @GeoffCoxMSFT were you able to check #27139? |
* master: (47 commits) fix: Fix vertical alignment of inline Checkbox when checked vs. unchecked (microsoft#27324) applying package updates Fix: Revert microsoft#26931 change due to new bug it introduced (microsoft#27323) chore(react-infobutton): Renaming content slot to info (microsoft#27316) applying package updates Fix bad release mismatch of react-select (microsoft#27321) applying package updates Fix react-combobox mismatch after bad release (microsoft#27319) docs: add section about media query sorting (microsoft#27307) applying package updates fix: sync packages and changefiles after bad release (microsoft#27317) applying package updates chore(react-datepicker-compat): Cleanup types, unused code, and restore utils tests (microsoft#27297) [Fluent 2 Theme] Fixing link color in dark theme (microsoft#27203) Tree documentation and stories (microsoft#27270) feat: Render theme CSS variables in SSR style element (microsoft#27277) chore (scripts): update create-package plop templates to use swc/helpers in deps (microsoft#27286) fix(DialogContent): adds padding to allow focus visibility (microsoft#27248) Adding Card component style hooks to shared context (microsoft#27295) Virtualizer: Static scroll hooks and embedded scrollview (microsoft#26985) ...


Looks like a couple components were missed when added to the custom style hook.
This PR adds them so down stream partners can fiddle with the styles with the context.