-
Notifications
You must be signed in to change notification settings - Fork 20
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(plasma-new-hope): refactor & add stretch/pin props #896
Conversation
Theme Builder app deployed! http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-896/ |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-896/ |
Theme Builder app deployed! http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-896/ |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-896/ |
</Root> | ||
); | ||
}); | ||
|
||
export const buttonConfig = { | ||
name: 'Button', | ||
tag: 'button', | ||
tag: 'div', |
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.
но вообще прям не хочется рутовым элементом div держать :(
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.
@kayman233 комменты выше глянь пожалуйста
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.
@Yeti-or @kayman233 вернуд button в root. Переменная с bprder-radius складывается в инлайн стили
</Root> | ||
); | ||
}); | ||
|
||
export const buttonConfig = { | ||
name: 'Button', | ||
tag: 'button', | ||
tag: 'div', |
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.
плюсую
7bbd9d9
to
c32036d
Compare
5cbf0b4
to
f7f898a
Compare
Theme Builder app deployed! http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-896/ |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-896/ |
🚀 This PR is included in version: @salutejs/plasma-asdk@0.15.0-dev.0, @salutejs/plasma-b2c@1.256.0-dev.0, @salutejs/plasma-new-hope@0.22.0-dev.0, @salutejs/plasma-temple-docs@0.193.0-dev.0, @salutejs/plasma-ui-docs@0.242.0-dev.0, @salutejs/plasma-web-docs@0.210.0-dev.0, @salutejs/plasma-web@1.256.0-dev.0, @salutejs/plasma-website@0.218.0-dev.0 🚀 |
🚀 This PR is included in version: @salutejs/plasma-asdk@0.15.0-dev.0, @salutejs/plasma-b2c@1.256.0-dev.0, @salutejs/plasma-new-hope@0.22.0-dev.0, @salutejs/plasma-temple-docs@0.193.0-dev.0, @salutejs/plasma-ui-docs@0.242.0-dev.0, @salutejs/plasma-web-docs@0.210.0-dev.0, @salutejs/plasma-web@1.256.0-dev.0, @salutejs/plasma-website@0.218.0-dev.0 🚀 |
2 similar comments
🚀 This PR is included in version: @salutejs/plasma-asdk@0.15.0-dev.0, @salutejs/plasma-b2c@1.256.0-dev.0, @salutejs/plasma-new-hope@0.22.0-dev.0, @salutejs/plasma-temple-docs@0.193.0-dev.0, @salutejs/plasma-ui-docs@0.242.0-dev.0, @salutejs/plasma-web-docs@0.210.0-dev.0, @salutejs/plasma-web@1.256.0-dev.0, @salutejs/plasma-website@0.218.0-dev.0 🚀 |
🚀 This PR is included in version: @salutejs/plasma-asdk@0.15.0-dev.0, @salutejs/plasma-b2c@1.256.0-dev.0, @salutejs/plasma-new-hope@0.22.0-dev.0, @salutejs/plasma-temple-docs@0.193.0-dev.0, @salutejs/plasma-ui-docs@0.242.0-dev.0, @salutejs/plasma-web-docs@0.210.0-dev.0, @salutejs/plasma-web@1.256.0-dev.0, @salutejs/plasma-website@0.218.0-dev.0 🚀 |
🚀 This PR is included in version: @salutejs/plasma-asdk@0.19.0, @salutejs/plasma-b2c@1.260.0, @salutejs/plasma-core@1.142.0, @salutejs/plasma-cy-utils@0.75.0, @salutejs/plasma-hope@1.250.0, @salutejs/plasma-icons@1.174.0, @salutejs/plasma-new-hope@0.26.0, @salutejs/plasma-sb-utils@0.140.0, @salutejs/plasma-temple-docs@0.197.0, @salutejs/plasma-temple@1.192.0, @salutejs/plasma-tokens-b2b@1.32.0, @salutejs/plasma-tokens-b2c@0.42.0, @salutejs/plasma-tokens-native@1.18.0, @salutejs/plasma-tokens-utils@0.36.0, @salutejs/plasma-tokens-web@1.47.0, @salutejs/plasma-tokens@1.67.0, @salutejs/plasma-ui-docs@0.246.0, @salutejs/plasma-ui@1.224.0, @salutejs/plasma-web-docs@0.214.0, @salutejs/plasma-web@1.260.0, @salutejs/plasma-website@0.222.0 🚀 |
Button
What/why changed
В рамках рефакторинга сделали важные изменения что бы код и дизайн был консистентным для всех библиотек.
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via:
npm install @salutejs/plasma-asdk@0.15.0-canary.896.7258736547.0 npm install @salutejs/plasma-b2c@1.256.0-canary.896.7258736547.0 npm install @salutejs/plasma-new-hope@0.22.0-canary.896.7258736547.0 npm install @salutejs/plasma-web@1.256.0-canary.896.7258736547.0 # or yarn add @salutejs/plasma-asdk@0.15.0-canary.896.7258736547.0 yarn add @salutejs/plasma-b2c@1.256.0-canary.896.7258736547.0 yarn add @salutejs/plasma-new-hope@0.22.0-canary.896.7258736547.0 yarn add @salutejs/plasma-web@1.256.0-canary.896.7258736547.0