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-core/ui): Pass onHide callback for hideToast handler #319
Conversation
a634f09
to
8a84cd1
Compare
8a84cd1
to
252e697
Compare
252e697
to
67824ca
Compare
a256f20
to
19554f2
Compare
Demo canvas app deployed! |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-319/ |
18d9788
to
cb656b9
Compare
Theme Builder app deployed! http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-319/ |
Component performance testing Result: 💀 Missing report, something went wrong Check out current report in job artifacts! |
Demo canvas app deployed! |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-319/ |
cb656b9
to
3a04941
Compare
Theme Builder app deployed! http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-319/ |
Component performance testing Result: 💀 Missing report, something went wrong Check out current report in job artifacts! |
Demo canvas app deployed! |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-319/ |
Theme Builder app deployed! http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-319/ |
Component performance testing Result: 💀 Missing report, something went wrong Check out current report in job artifacts! |
Demo canvas app deployed! |
Documentation preview deployed! website: http://plasma.sberdevices.ru/pr/pr-319/ |
Добавленна возможность прокинуть callback на hideToast.
Так же сделали overload метода
showToast
.Так же возможность прокинуть
onHide
есть только в новой версии showToast.Было: Аргументы передовались inline
Стало: Теперь как объект.
🐤 Download canary assets:
colors--canary.319.4163108583.xml
color_metro_ios-swift--canary.319.4163108583.swift
color_metro_kotlin--canary.319.4163108583.kt
color_metro_react-native--canary.319.4163108583.ts
color_sbermarket_ios-swift--canary.319.4163108583.swift
color_sbermarket_kotlin--canary.319.4163108583.kt
color_sbermarket_react-native--canary.319.4163108583.ts
color_sberprime_ios-swift--canary.319.4163108583.swift
color_sberprime_kotlin--canary.319.4163108583.kt
color_sberprime_react-native--canary.319.4163108583.ts
color_selgros_ios-swift--canary.319.4163108583.swift
color_selgros_kotlin--canary.319.4163108583.kt
color_selgros_react-native--canary.319.4163108583.ts
color_smbusiness_ios-swift--canary.319.4163108583.swift
color_smbusiness_kotlin--canary.319.4163108583.kt
color_smbusiness_react-native--canary.319.4163108583.ts
PlasmaTokensColor--canary.319.4163108583.swift
shadow_sbermarket_react-native--canary.319.4163108583.ts
typo_mage_ios-swift--canary.319.4163108583.swift
typo_mage_kotlin--canary.319.4163108583.kt
typo_mage_react-native--canary.319.4163108583.ts
typo_plasma_ios-swift--canary.319.4163108583.swift
typo_plasma_kotlin--canary.319.4163108583.kt
typo_plasma_react-native--canary.319.4163108583.ts
typo_ruler_ios-swift--canary.319.4163108583.swift
typo_ruler_kotlin--canary.319.4163108583.kt
typo_ruler_react-native--canary.319.4163108583.ts
typo_sage_ios-swift--canary.319.4163108583.swift
typo_sage_kotlin--canary.319.4163108583.kt
typo_sage_react-native--canary.319.4163108583.ts
typo_sbermarket_ios-swift--canary.319.4163108583.swift
typo_sbermarket_kotlin--canary.319.4163108583.kt
typo_sbermarket_react-native--canary.319.4163108583.ts
typo_soulmate_ios-swift--canary.319.4163108583.swift
typo_soulmate_kotlin--canary.319.4163108583.kt
typo_soulmate_react-native--canary.319.4163108583.ts
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via:
npm install @salutejs/plasma-b2c@1.138.0-canary.319.4163108583.0 npm install @salutejs/plasma-core@1.95.0-canary.319.4163108583.0 npm install @salutejs/plasma-icons@1.123.0-canary.319.4163108583.0 npm install @salutejs/plasma-temple@1.132.0-canary.319.4163108583.0 npm install @salutejs/plasma-ui@1.165.0-canary.319.4163108583.0 npm install @salutejs/plasma-web@1.164.0-canary.319.4163108583.0 npm install @salutejs/plasma-sb-utils@0.93.0-canary.319.4163108583.0 # or yarn add @salutejs/plasma-b2c@1.138.0-canary.319.4163108583.0 yarn add @salutejs/plasma-core@1.95.0-canary.319.4163108583.0 yarn add @salutejs/plasma-icons@1.123.0-canary.319.4163108583.0 yarn add @salutejs/plasma-temple@1.132.0-canary.319.4163108583.0 yarn add @salutejs/plasma-ui@1.165.0-canary.319.4163108583.0 yarn add @salutejs/plasma-web@1.164.0-canary.319.4163108583.0 yarn add @salutejs/plasma-sb-utils@0.93.0-canary.319.4163108583.0