Closed nizniz187 closed 2 years ago
Working on how to make shadow effects of the box-shadow CSS property look more naturally, and define it.
In the last meeting, @cwpeng suggested that there should be a general style and an alert style, but I think it is enough to directly share the same set of components. Here I would like to propose that in addition to the user can customise the desired alert what the message is (like the Preview, you can check the last title of this comment, it's just changes color or add some emoji), it would be better to categorize it more formally in a common set of components called "Alerts" (Like MUI and Bootstrap.)
If you still need to split the Dialog into "Warning", "General", "Successful", etc. into independent types, we can discuss it again 🙂
⤷ Here's the currently file in Figma
Three of types:
By the way, the Dialog does not have only one Body module as any cases. Therefore, it is not included in this types, just only three of them.
background: rgba(34, 36, 38, 0.2); backdrop-filter: blur(5px);
According to @cwpeng suggestion, here needs a default types: Confirm Dialog and Alert Dialog for this Dialog component. ⤷ Here's the currently file in Figma.
Update the Default sets
According to @cwpeng suggestion, here needs a default types: Confirm Dialog and Alert Dialog for this Dialog component. ⤷ Here's the currently file in Figma.
According to the previous comment, the default sets style are all added the view height and the background with overlay.
Add attributes:
Attributes stand for default settings for dialog, when open dialog by open method, user can pass settings to overwrite defaults dynamically.
Is this issue done and reviewed and ok to be closed?
I think it's done.
Element Structure: `
`
Custom Event: