fluentui
fluentui copied to clipboard
Support for Error handling
The following changes have been added:
- Created a common control that can show error and empty states.
- Used the common control to show already implemented empty messages.
- Use the common control to show type errors (eg: when string data is used on x axis for Line chart or area chart which is not supported)
- Added Error Codes to indicate Generic Error or No Data Error.
- Kept provision for customizing the error handling while rendering if required.
- Added support for light/dark theme.
Examples:
-
Generic Types Error (Light theme):
-
Generic Types Error (Dark theme):
-
Missing Data (Light Theme):
-
Missing Data (Dark Theme):
📊 Bundle size report
✅ No changes found
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.
can you add bundle size increase
50kB bump is too much. How can we reduce this.
can you add bundle size increase
done