Floyd Wang
|
ebe10e20c7
|
alert: Add support for text wrapping (#899)
<img width="935" alt="image"
src="https://github.com/user-attachments/assets/6eb10c67-5301-4414-af7f-9b4444b77fb6"
/>
|
2025-05-26 17:09:12 +08:00 |
|
Jason Lee
|
f539817d9b
|
alert: Add banner mode and on_close to Alert. (#893)
## Break Changes
- The `Alert::new` method change to 2 args, first is `id`.
```diff
- fn new(message: impl Into<Text>) -> Self
+ fn new(id: impl Into<ElementId>, message: impl Into<Text>) -> Self
```
<img width="1120" alt="image"
src="https://github.com/user-attachments/assets/214df737-6129-4a53-8f3b-86e83bc8082b"
/>
|
2025-05-23 19:20:13 +08:00 |
|
Jason Lee
|
5b508d7219
|
gallery: Redesign the gallery. (#797)
Close #773
<img width="1712" alt="image"
src="https://github.com/user-attachments/assets/e27a28ca-cdd7-4970-8518-4fd0104bb3f8"
/>
|
2025-04-17 17:12:48 +08:00 |
|
Jason Lee
|
17926cea16
|
button: Add warning, success, info variant to Button. (#745)
<img width="1342" alt="SCR-20250327-jfzq"
src="https://github.com/user-attachments/assets/7c44458a-9467-4095-9cd6-1dcb35cc351b"
/>
<img width="1342" alt="SCR-20250327-jgak"
src="https://github.com/user-attachments/assets/07d33d60-f581-46d4-9a54-174e56ab82ca"
/>
|
2025-03-27 10:15:53 +08:00 |
|
Jason Lee
|
814ea0e824
|
alert: Add to support styled. (#736)
|
2025-03-25 15:04:28 +08:00 |
|
Jason Lee
|
22d9394266
|
alert: Add Alert. (#735)


<img width="821" alt="image"
src="https://github.com/user-attachments/assets/6350f48b-6ced-4063-b115-06422d49b92c"
/>
<img width="821" alt="image"
src="https://github.com/user-attachments/assets/3d71688a-b0ca-4223-a097-858388a47f6d"
/>
<img width="821" alt="image"
src="https://github.com/user-attachments/assets/ec3af860-0f8f-420b-9da7-f390c4742492"
/>
<img width="821" alt="image"
src="https://github.com/user-attachments/assets/d9a85c06-209a-4ef9-ac9a-8456491fedc6"
/>
|
2025-03-25 14:10:24 +08:00 |
|