Jason Lee
9f2cd84b23
color: Add mix method and merge ColorExt to Colorize. ( #561 )
...
- Add `mix` method to mix two color.
- Export `ui::theme::*` to crate root, before `use
ui:theme::ActiveTheme` to `use ui::ActiveTheme`.
## Break Changes
- Moved `ui::theme::Colorize` to `ui::Colorize`.
- Merged `ColorExt` to `Colorize`.
- Renamed `to_hex_string` to `to_hex`, `parse_hex_string` to
`parse_hex`.
2025-01-21 18:31:01 +08:00
Jason Lee
41c64e2912
chore: Update controls detail. ( #352 )
...
- Better icon style in Input, Dropdown, DatePicker.
2024-10-16 17:51:39 +08:00
Jason Lee
bb6d8d8f60
Cleanup first version impls ( #132 )
2024-08-11 14:46:55 +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
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
d659713555
Fix Label, Checkbox, Radio to support label text wrap. ( #90 )
...
<img width="1102" alt="image"
src="https://github.com/user-attachments/assets/1443378d-54e9-43a4-8bb8-0d0f4581169d ">
2024-07-31 11:49:32 +08:00
Jason Lee
4c81977639
Fix Label text_align again.
2024-07-24 19:01:43 +08:00
Jason Lee
ed132ad55e
Add more example to Label.
2024-07-24 18:56:32 +08:00
Jason Lee
c538a231c1
Fix Label text_align.
2024-07-24 18:39:13 +08:00
Jason Lee
d63e256f19
Update Label masked char ( #67 )
2024-07-24 16:35:28 +08:00
Jason Lee
e54d1f600b
Add to masked Label and support children to Button ( #50 )
...
https://github.com/user-attachments/assets/9583ce15-b801-45f9-aafb-54f0ecdf7dc9
- Add masked mode to Label.
- Add to support any children to Button.
- Fix Popover to support selected state style.
2024-07-19 18:54:16 +08:00
Floyd Wang
75e4451764
Add text align property for Label ( #19 )
2024-07-09 15:56:41 +08:00
Jason Lee
586569f241
Add a List example ( #8 )
...
https://github.com/huacnlee/gpui-component/assets/5518/2554bb6c-94f6-4808-87d6-9a04d7421b26
2024-06-30 16:56:23 +08:00
Jason Lee
3288270b49
Add Popover ( #6 )
2024-06-29 10:03:59 +08:00
Jason Lee
5d3f19bdd8
Fix Label text_size support.
2024-06-28 10:11:00 +08:00
Jason Lee
4c278bfabc
Add span method, fix primary button text color
2024-06-26 17:25:26 +08:00
Jason Lee
e4fcd24382
Add label to Switch
2024-06-26 10:25:51 +08:00
Jason Lee
8440df938a
Add checkbox, title_bar.
2024-06-25 17:16:04 +08:00
Jason Lee
94cb714ebf
Update to use shadcn ui theme
2024-06-24 15:39:26 +08:00
Jason Lee
b70f5d6dc7
Add cursor_layout
2024-06-24 11:21:30 +08:00
Jason Lee
ae5e4f6149
Update input
2024-06-22 21:47:04 +08:00
Jason Lee
9ffea5798e
First commit, with Button UI.
2024-06-13 21:46:28 +08:00