Jason Lee
|
46ff43ff36
|
Extract History to a common design to support more cases. (#162)
Ref https://github.com/huacnlee/gpui-component/issues/161
For example: Used to do Back/Forward
|
2024-08-16 17:04:11 +08:00 |
|
Jason Lee
|
4490618c4a
|
Update table to support to support toggle col selection. (#159)
- Add `border` method to enable/disable border, default: `true`.
- Update `stripe` default to false.
- Update theme to remove table head color, just use window bg like.
<img width="1263" alt="image"
src="https://github.com/user-attachments/assets/2e0994a9-7172-4812-a0e2-3b3ba4281112">
Closes #155
|
2024-08-16 14:34:53 +08:00 |
|
Jason Lee
|
a79d1a3dc2
|
Fix scrollbar to default to invisible on first render. #146 (#158)
|
2024-08-16 14:07:59 +08:00 |
|
Jason Lee
|
e86f90d309
|
Close Dropdown menu on blur. (#157)
Closes #156
|
2024-08-16 14:03:45 +08:00 |
|
Jason Lee
|
b3f62bf096
|
Export with_type and impl FluentBuilder for Notification. (#154)
|
2024-08-15 19:52:37 +08:00 |
|
Jason Lee
|
57dab4d15a
|
Rename with_id, with_type_id to id, type_id. (#153)
|
2024-08-15 18:05:07 +08:00 |
|
Floyd Wang
|
a02a6ed6b8
|
Set default true for cleanable & trigger event when dropdown clean (#152)
|
2024-08-15 18:01:43 +08:00 |
|
Jason Lee
|
36475bac76
|
Add with_type_id to support set a struct as a Notification unique id. (#151)
|
2024-08-15 18:01:32 +08:00 |
|
Jason Lee
|
981d1391e6
|
Update Root API (#150)
|
2024-08-15 17:27:34 +08:00 |
|
Jason Lee
|
c9763224c2
|
Add Notification (#149)
https://github.com/user-attachments/assets/8a10bff7-f669-471e-8516-2a64ae95ae0a
|
2024-08-15 16:50:33 +08:00 |
|
Jason Lee
|
6d86e64846
|
Update modal demo to focus input on open. (#147)
|
2024-08-15 09:45:58 +08:00 |
|
Jason Lee
|
a36e3e09d5
|
Focus back last focus handle when modal, drawer closed. (#145)
|
2024-08-14 18:14:59 +08:00 |
|
Floyd Wang
|
c9a1bba3c2
|
Fix the disabled style of ghost button (#144)
|
2024-08-14 17:44:00 +08:00 |
|
Jason Lee
|
3550b1ee13
|
Add slide down animation t Modal. (#141)
- Export cx.active_modal and cx.active_drawer
- Add support custom modal style, and add show_close option.
|
2024-08-14 17:23:39 +08:00 |
|
Floyd Wang
|
1da82c5453
|
Do not show the scrollbar when table is empty (#143)
|
2024-08-14 11:13:42 +08:00 |
|
Floyd Wang
|
ccad5cd98e
|
TableDelegate support render_empty (#142)
|
2024-08-14 11:01:57 +08:00 |
|
Jason Lee
|
70bc526fbb
|
Fix Dropdown and DatePicker anchor to snap to window. (#139)
<img width="786" alt="image"
src="https://github.com/user-attachments/assets/c40fab1d-2cbe-4750-b05e-ed42cb43dd3c">
|
2024-08-13 18:10:30 +08:00 |
|
Jason Lee
|
b934ff76e6
|
Add Modal (#138)
https://github.com/user-attachments/assets/f4c2f9dd-2508-4251-a861-1af3af7542a3
|
2024-08-13 17:41:12 +08:00 |
|
Jason Lee
|
63f333d8ad
|
Add Drawer (#137)
- Update scrollable to accept EntityId.
https://github.com/user-attachments/assets/a6c02890-3a6e-4b82-b5c5-3f0a48f35368
|
2024-08-13 16:01:52 +08:00 |
|
Jason Lee
|
7059165fa6
|
datepicker: Fix calender popup background. (#136)
Closes #135
|
2024-08-12 18:52:58 +08:00 |
|
Jason Lee
|
7d309acd2f
|
Improve Table head to not show selected bg and remove drag border color. (#134)
https://github.com/user-attachments/assets/0836014d-9240-4e77-9daf-dd1ef8d81cd5
|
2024-08-11 21:25:41 +08:00 |
|
Jason Lee
|
b301c5b8fe
|
Optimize and simplify the BlinkCursor. (#133)
|
2024-08-11 21:12:29 +08:00 |
|
Jason Lee
|
bb6d8d8f60
|
Cleanup first version impls (#132)
|
2024-08-11 14:46:55 +08:00 |
|
Jason Lee
|
8f71b807aa
|
Add Animate (#130)
|
2024-08-09 18:22:06 +08:00 |
|
Floyd Wang
|
283b319edd
|
Input add set_placeholder method (#131)
|
2024-08-09 17:24:29 +08:00 |
|
Floyd Wang
|
e073b60bc1
|
Fix the issue of repeatedly setting the input background color (#129)
|
2024-08-09 16:09:22 +08:00 |
|
Jason Lee
|
ebf8a7f6f3
|
Add Skeleton (#128)
https://github.com/user-attachments/assets/deb57e8d-f894-41b6-b44b-cc2b4a307429
|
2024-08-09 15:55:48 +08:00 |
|
Floyd Wang
|
eb53016d71
|
Use ViewContext<Self> instead of WindowContext for input affix (#126)
|
2024-08-09 11:37:13 +08:00 |
|
Jason Lee
|
2b4ed4f8f6
|
Improve Tooltip style details. (#125)
|
2024-08-09 10:36:54 +08:00 |
|
Jason Lee
|
97dd09fbda
|
Fix to display correct days in calendar view. (#124)
<img width="624" alt="image"
src="https://github.com/user-attachments/assets/3e6528a0-d649-42a9-9c82-f1e06539ec46">
<img width="617" alt="image"
src="https://github.com/user-attachments/assets/370dfa05-e8b1-4aa6-8eda-070d6f4a2661">
|
2024-08-09 10:16:31 +08:00 |
|
Jason Lee
|
5d55c5c31e
|
Add DateRangePicker (#123)
https://github.com/user-attachments/assets/cc934401-78c5-42d6-afc8-a365fea2129b
|
2024-08-08 23:29:54 +08:00 |
|
Jason Lee
|
2c531fa3ef
|
Add text style to Button with no padding. (#122)
|
2024-08-08 20:13:52 +08:00 |
|
Jason Lee
|
966ce4c2dd
|
Add link, link_with_icon to PopupMenu, and remove track_focus. (#121)
- Add `popup_menu` quick API to Button to let easy to use.
|
2024-08-08 19:50:10 +08:00 |
|
Jason Lee
|
27d094c590
|
datepicker: Add Year, Month select mode. (#119)
https://github.com/user-attachments/assets/b6232d8e-0832-449d-a982-49e015232cfa
|
2024-08-07 23:09:42 +08:00 |
|
Jason Lee
|
ebdcf244e2
|
Add Calendar and DatePicker. (#117)
https://github.com/user-attachments/assets/dda87fa7-f080-418a-8dd7-ab8581eb3beb
|
2024-08-07 20:25:11 +08:00 |
|
Floyd Wang
|
e07f551317
|
Fix the issue where large sections of label do not wrap (#118)
|
2024-08-07 19:38:48 +08:00 |
|
Jason Lee
|
340c5fef3d
|
Improve OtpInput to add more size, use Icon to render mask. (#116)
- Add `default_value`, `set_value`, `masked` method.
- Add `set_value`, `value` method to set/get from OptInput.
<img width="390" alt="image"
src="https://github.com/user-attachments/assets/ef5368e9-132d-4de6-8506-aeecc47a9189">
|
2024-08-07 11:39:02 +08:00 |
|
Jason Lee
|
cbffb9a543
|
Fix Input clean button size. (#115)
|
2024-08-06 23:51:09 +08:00 |
|
Jason Lee
|
827f57fb6a
|
Add Sizable trait to impl small, xsmall, large and apply to Button, Input, Dropdown, Switch. (#113)
|
2024-08-06 17:19:54 +08:00 |
|
Jason Lee
|
2e1a4f84fd
|
Add to support click Scrollbar to scroll and fix thumb position when dragging. (#112)
- Add scrollbar border on hover and dragging.
https://github.com/user-attachments/assets/c7c3b9c1-d458-438d-bf78-3b5bc2ddcd5c
|
2024-08-06 15:09:42 +08:00 |
|
Floyd Wang
|
bc4e5732a0
|
Fix label text align not work (#111)
<img width="1668" alt="image"
src="https://github.com/user-attachments/assets/e1bbad88-40c3-4701-bfd0-38381e2ed67b">
|
2024-08-06 11:51:39 +08:00 |
|
Jason Lee
|
f3fdfae002
|
Fix list next to select first item, cancel to deselect item. (#110)
- Add confirmed to ListItem to show check style.
|
2024-08-06 11:31:35 +08:00 |
|
Jason Lee
|
e7a0d13b69
|
Fix windows build (#109)
|
2024-08-05 21:43:55 +08:00 |
|
Jason Lee
|
a5989f6a7c
|
Improve PopupMenu style (#108)
<img width="216" alt="image"
src="https://github.com/user-attachments/assets/9dcfd30f-62cc-41ff-a97d-f69b79bd997c">
<img width="346" alt="image"
src="https://github.com/user-attachments/assets/c7e564e9-c0f9-4282-9df1-9c2cd92efea9">
|
2024-08-05 21:23:57 +08:00 |
|
Jason Lee
|
4b61c3c25a
|
Add ContextMenu (#107)
https://github.com/user-attachments/assets/1534bb31-1d32-40b8-8871-f41fb182c8e9
|
2024-08-05 20:54:07 +08:00 |
|
Jason Lee
|
553b6409c0
|
Improve Dropdown to Add search support and custom icon (#106)
- Add SearchableVec to let Dropdown support search filter.
- Fix dropdown title overflow.
- Add to support custom dropdown right icon.
https://github.com/user-attachments/assets/b9e28fce-3e0f-44f7-a0f4-3e01f6db31d1
|
2024-08-05 11:47:55 +08:00 |
|
Floyd Wang
|
12b5d1b501
|
Add clipboard (#105)
|
2024-08-05 11:35:02 +08:00 |
|
Floyd Wang
|
48c452e6f6
|
Better disabled style for ghost button (#102)
|
2024-08-02 18:20:08 +08:00 |
|
Floyd Wang
|
e784f98a38
|
TableDelegate methods return ViewContext<Table<Self>> (#101)
|
2024-08-02 16:38:48 +08:00 |
|
Floyd Wang
|
48efdecdef
|
The button compact method defaults to true (#99)
|
2024-08-02 11:31:40 +08:00 |
|