Skip to content
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

Refactor buttons #1257

Merged
merged 6 commits into from
Aug 26, 2023
Merged

Refactor buttons #1257

merged 6 commits into from
Aug 26, 2023

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Aug 17, 2023

This PR is introducing the new buttons:

  • Button
  • IconButton
  • LightButton
  • LightIconButton
  • FloatingButton
  • FloatingIconButton

and their groups:

  • ButtonGroup
  • IconButtonGroup
  • FloatingButtonGroup
  • FloatingIconButtonGroup
    (it does not make sense to create groups for LightButtons and LightIconButton as they don't have a border)

All these buttons have the right props: size | variant | accent
They are supporting the following state: default, focus, hover, active, disabled

Figma Button:
image

Storybook Button:
image

Other Storybooks example
image

image image image

@ergomake
Copy link

ergomake bot commented Aug 17, 2023

Hi 👋

Here's a preview environment 🚀

https://front-twentyhq-twenty-1257.env.ergomake.link

Environment Summary 📑

Container Source URL
front Dockerfile https://front-twentyhq-twenty-1257.env.ergomake.link
server Dockerfile https://server-twentyhq-twenty-1257.env.ergomake.link
postgres Dockerfile [not exposed - internal service]

Here are your environment's logs.

For questions or comments, join Discord.

Click here to disable Ergomake.

@charlesBochet charlesBochet requested a review from Weiko August 26, 2023 21:51
@charlesBochet charlesBochet merged commit 1b18735 into main Aug 26, 2023
@charlesBochet charlesBochet deleted the refactor-button branch August 26, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant