Telefonica / mistica-design

Mística Design System (only design)
https://brandfactory.telefonica.com/mistica
20 stars 4 forks source link

Include divider and change icon behavior in sheet #1712

Open yceballost opened 3 months ago

yceballost commented 3 months ago

Discussed in https://github.com/Telefonica/mistica-design/discussions/1564

Originally posted by **LucasAlbuquerque0** November 16, 2023 ### Goal Request the evolution of the Information Sheet to meet a need. Pull Nestad Instance from Bullet to component Add divide component between the information, possibility of controlling whether or not to use the divider Add the action button will just be a "Close Action" it only works as a close, it does not generate action. ### Context The need to evolve the component came from the Smart Home, the idea is to improve. Increasing the possibilities of using the sheet. It is very important to pull the bullet's nested instance out, making it easier to use not only the bullet but the icon. ### Impact Evolution is an implementation of what already exists, avoiding rework to create new components. And it guarantees better personalization for the end user. ### Discussion Questions Can we pull the Nestad Instance from Bullet and Icon to control the comp's props? ### Additional considerations _No response_ ### Do you have a visual proposal? https://www.figma.com/file/3FWICps6yc9do1FVBRxxgN/Bottom-Sheet-Evolu%C3%A7%C3%A3o?type=design&node-id=331%3A5823&mode=design&t=HIcff09r8lfVewmg-1