You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sgraczyk
changed the title
[Switch] refactor component and add loading state
[Switch] Add loading state, medium size and slightly refresh the UI
Aug 3, 2022
* Added new icon states to the `Switch` component:
* `loading` state
* `on` state
* `off` state
* The loading state is always on top when passed with other props (like disabled, which also adds an icon). The loading state also needs to have a disabled state, because we can't perform any action during loading.
* New `medium` size available in `Switch` component. I've also renamed the size:
* `basic` -> `large`
* So to sum up - the 3 sizes are now: `compact` / `medium` / `large`
* Changed the SVG for `lock_black`
Refactor of switch component:
loading
state,medium
size,Design: https://www.figma.com/file/2pFu80PXO5A2tfyrAGnx91/Product-Components?node-id=1881%3A156
The text was updated successfully, but these errors were encountered: