To document the new Panel component, all ZeroHeight packages need to be updated to the latest version. This update will break existing code examples and component recipes, so all examples will need to be refactored to align with the latest SDS changes.
1. Update Packages and Refactor Components
Update ZeroHeight packages to the latest version and refactor the Panel component and related examples.
To document the new
Panel
component, all ZeroHeight packages need to be updated to the latest version. This update will break existing code examples and component recipes, so all examples will need to be refactored to align with the latest SDS changes.1. Update Packages and Refactor Components
Update ZeroHeight packages to the latest version and refactor the Panel component and related examples.
The new code setting for ZeroHeight:
The new structure for code examples and component recipes:
index.html
style.css
index.tsx (Supports dark mode)
App.tsx
SDS Components to Refactor:
2. Update Code Examples for Dark Mode
Modify code examples to support dark mode, adjusting automatically based on the browser’s color scheme.
SDS Components to Refactor:
3. Update Descriptions and Prop Tables
Revise component descriptions and prop tables to reflect the new version of the Panel component and SDS.
SDS Components to Refactor:
4. Add documentation for new Components
New SDS components to document: