-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: add VersionsSelect component #375
Conversation
Visual Tests Report is ready. |
@@ -0,0 +1,36 @@ | |||
import React, {useCallback, useState} from 'react'; |
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.
It's worth adding the inclusion of version selection in the storybook with the main page
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.
- Added VersionsSelection in Controls component
- Updated DocPage for VersionsSelection
- Renamed VersionsSelection to VersionControl for naming consistency
- Added data for it in Storybook
- Refactored Controls component
- Add horizontal scroll for controls panel (overflow with VersionControl)
Tests failed because old screenshots don't contain VersionControl
Demo:
VersionControl.mov
Add typization for useTranslation hook
Rename to VersionControl. Move to Controls folder. Delete redudant re-export.
Extract creating control flags in separate function
Add left margin only for VersionControl Add divider after VersionControl only if Controls contains VersionControl
No description provided.