-
Notifications
You must be signed in to change notification settings - Fork 186
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 pressets to storybook props #7389
feat: add pressets to storybook props #7389
Conversation
size-limit report 📦
|
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. |
e2e tests |
👀 Docs deployed
Commit 8cdd3a4 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7389 +/- ##
=======================================
Coverage 94.50% 94.50%
=======================================
Files 375 375
Lines 11116 11116
Branches 3641 3641
=======================================
Hits 10505 10505
Misses 611 611
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Крутая идея и реализация 🔥
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.
🔥
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.
Оч круто! 💣
packages/vkui/src/components/ActionSheetItem/ActionSheetItem.stories.tsx
Show resolved
Hide resolved
# Conflicts: # packages/vkui/src/components/CustomSelect/CustomSelect.stories.tsx
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.
🙏 🙏 🙏
✅ v6.6.0 🎉 |
Описание
Сейчас в
Storybook
в компонентах, где можно прокинуть например иконку в prop, в панели controls отображается непонятный объект, который еще и нельзя поменять из интерфейса. Нужно сделать этот процесс удобнее. Как вариант - это добавление пресетов иконок(и не только).Изменения
createFieldWithPresets
, которая генерирует маппинг названия иконок в саму иконку.