-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix 27482: ProgressBar has an optional state variable #29366
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
Conversation
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 601 | 612 | 5000 | |
| Button | mount | 314 | 311 | 5000 | |
| Field | mount | 1137 | 1106 | 5000 | |
| FluentProvider | mount | 699 | 699 | 5000 | |
| FluentProviderWithTheme | mount | 72 | 81 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 66 | 62 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 77 | 74 | 10 | |
| InfoButton | mount | 15 | 17 | 5000 | |
| MakeStyles | mount | 847 | 865 | 50000 | |
| Persona | mount | 1724 | 1740 | 5000 | |
| SpinButton | mount | 1336 | 1361 | 5000 |
🕵 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 c51ce62:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: b93332889af6fc14d25bcfe50ed0c56d988c10f8 (build) |
tomi-msft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for updating the typing!
* master: (35 commits) bugfix(react-dialog): removes context hooks invocations from styles hook (microsoft#29396) chore(react-dialog): exports DialogSurface context types and hooks (microsoft#29397) Minimum height feature for bar chart (microsoft#29359) (feat) Breadcrumb - register items via context (microsoft#29393) fix: Consider all parents as scroll parents (microsoft#29378) Changes to enable charting on fluent docsite (microsoft#29210) bugfix: ensure TreeItem emits events properly (microsoft#29390) chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (microsoft#29320) chore: migrate from getNativeElementProps to getIntrinsicElementProps (microsoft#29387) applying package updates applying package updates fix: Icon in disabled Button shouldn't change color on hover or pressed (microsoft#29342) Squish changes for rebase (microsoft#28705) fix: GroupedListV2 scrollToIndex now works correctly (microsoft#29332) Fix 27482: ProgressBar has an optional state variable (microsoft#29366) remove a11y test ux from theme designer (microsoft#29379) feat: preview release (microsoft#29377) Fixed divider in the tooltip (microsoft#29357) fix (microsoft#29376) docs: Initial documentation pass (microsoft#29372) ...
Previous Behavior
ProgressBarState.bar slot was optional causing callers to have to null/undefined check it before use.
useProgressBar ensured it was never null or undefined.
New Behavior
ProgressBarState slots are required.
Related Issue(s)
Testing