Jason Lee
|
cbed7b1ea1
|
menu: Add scrollable support to menu. (#310)
<img width="274" alt="image"
src="https://github.com/user-attachments/assets/eaff16a6-1294-4381-96c0-c178c195999b">
|
2024-10-04 14:24:05 +08:00 |
|
Jason Lee
|
baa45173d1
|
button: Fix Button text to align vertical center. (#286)
<img width="1188" alt="image"
src="https://github.com/user-attachments/assets/084727c3-5822-4325-9bbf-374b357b670f">
The point is add `.font_family(".SystemUIFont")` to root view.
|
2024-09-27 20:44:23 +08:00 |
|
Jason Lee
|
2b134e47a1
|
button: Reduce gap between icon and label for small, xsmall button. (#285)
|
2024-09-27 20:28:57 +08:00 |
|
Floyd Wang
|
c5b4505560
|
feat(button): Remove track_focus (#282)
|
2024-09-27 14:39:48 +08:00 |
|
Floyd Wang
|
2c1119a7bd
|
feat(button): Support customize loading icon (#281)
|
2024-09-27 13:56:04 +08:00 |
|
Jason Lee
|
098315ee92
|
button: Reduce px for compact small button. (#271)
<img width="882" alt="image"
src="https://github.com/user-attachments/assets/c41955ea-5126-4d1a-b2dd-dea2e4b89c9e">
|
2024-09-25 21:48:44 +08:00 |
|
Jason Lee
|
2a331fcb79
|
theme: Add shadow option to support toggle shadow for base controls, default: true. (#268)
- Add shadow to Button if it enabled.
|
2024-09-24 10:52:01 +08:00 |
|
Jason Lee
|
08a160e543
|
button: Apply disable color to ButtonStyleCustom.
|
2024-09-17 21:15:48 +08:00 |
|
Jason Lee
|
d641c219a1
|
button: Use primary or danger color for the disable background. (#252)
<img width="1624" alt="image"
src="https://github.com/user-attachments/assets/61162ba5-9188-4cad-a154-2584abd0fd31">
Fix #251
|
2024-09-17 21:01:06 +08:00 |
|
Jason Lee
|
0e16d742bb
|
list: Add set_size method to List and fix input size in small dropdown. (#246)
|
2024-09-16 19:57:49 +08:00 |
|
Jason Lee
|
75b4f34b92
|
Try fix Button, Checkbox, Radio text line-height (#240)
<img width="1202" alt="屏幕截图 2024-09-12 224306"
src="https://github.com/user-attachments/assets/b96fee5e-6d39-4ba0-829c-3eaf4aed8ff2">
|
2024-09-16 10:36:18 +08:00 |
|
Jason Lee
|
55585f9699
|
windows: Fix button and checkbox line-height again. (#244)
<img width="1202"
src="https://github.com/user-attachments/assets/6741041a-f449-4600-bec1-751841dcec88">
|
2024-09-13 22:55:59 +08:00 |
|
Jason Lee
|
a8d4abea69
|
button: Improve ButtonGroup to add style, size methods. (#241)
- Add `ButtonStyled` trait to apply the style for Button and
ButtonGroup.
|
2024-09-13 12:00:47 +08:00 |
|
xda
|
b83ece3cd8
|
Add ToggleButton (as part of ButtonGroup) (#239)

---------
Co-authored-by: Jason Lee <huacnlee@gmail.com>
|
2024-09-13 11:58:10 +08:00 |
|
Jason Lee
|
77cb8cb448
|
button: Hotfix Button to valign text center. (#235)
<img width="1336" alt="image"
src="https://github.com/user-attachments/assets/64029ab3-6447-47b1-a40c-f1e6668172b7">
|
2024-09-11 11:39:17 +08:00 |
|
xda
|
83aecf1293
|
Add ButtonGroup (#221)
<img width="849" alt="image"
src="https://github.com/user-attachments/assets/5f809b40-9d4c-4934-828d-98f77a3f4b29">
---------
Co-authored-by: Jason Lee <huacnlee@gmail.com>
|
2024-09-06 10:32:10 +08:00 |
|
Jason Lee
|
9768755eab
|
Fix panel resize when window resized. (#181)
Co-authored-by: Floyd Wang <gassnake999@gmail.com>
|
2024-08-28 19:40:35 +08:00 |
|
Jason Lee
|
c5c8e46ac7
|
New Dock (#172)
https://github.com/user-attachments/assets/c8c55faa-8f17-4fa2-9f62-5fdd598087ef
- [x] Move to insert panel to tabs middle.
- [x] Zoom panel
- [x] Tab popup menu (Close Panel, Split, Zoom in/Zoom out)
- [x] TabBar scrollable
- [ ] TabBar nav history
|
2024-08-23 18:01:29 +08:00 |
|
Floyd Wang
|
7e9d79ca1b
|
Improve the loading button (#170)
* Set the background opacity when loading
* Do not trigger the on click event when loading
|
2024-08-21 10:57:41 +08:00 |
|
Floyd Wang
|
c9a1bba3c2
|
Fix the disabled style of ghost button (#144)
|
2024-08-14 17:44:00 +08:00 |
|
Jason Lee
|
bb6d8d8f60
|
Cleanup first version impls (#132)
|
2024-08-11 14:46:55 +08:00 |
|
Jason Lee
|
2c531fa3ef
|
Add text style to Button with no padding. (#122)
|
2024-08-08 20:13:52 +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 |
|
Floyd Wang
|
48c452e6f6
|
Better disabled style for ghost button (#102)
|
2024-08-02 18:20:08 +08:00 |
|
Floyd Wang
|
48efdecdef
|
The button compact method defaults to true (#99)
|
2024-08-02 11:31:40 +08:00 |
|
Jason Lee
|
22a1157378
|
Add prefix, suffix to TabBar. (#98)
|
2024-08-01 21:36:33 +08:00 |
|
Jason Lee
|
e9d409a4b1
|
Add Link style Button (#97)
<img width="1305" alt="image"
src="https://github.com/user-attachments/assets/ee42d86f-e237-4544-aa2d-1414dabfb55e">
- Update `primary`, `danger`, `outline`, `ghost`, `link` methods to as a
builder method to just change style.
- Add `compact` used to reduce padding.
<img width="1279" alt="image"
src="https://github.com/user-attachments/assets/ccbd71c0-9157-4ef8-b164-b99ade24cf92">
|
2024-08-01 19:54:35 +08:00 |
|
Floyd Wang
|
fc6423f22c
|
Add ButtonCustomStyle for customized color (#85)
|
2024-07-30 10:38:42 +08:00 |
|
Jason Lee
|
f496c241d7
|
button: Fix Button click prevent_default. (#84)
- Use icon in title_bar for switch theme, and add GitHub icon.
|
2024-07-30 00:28:18 +08:00 |
|
Jason Lee
|
b4862082f1
|
Improve list item (#61)
|
2024-07-23 22:08:21 +08:00 |
|
Jason Lee
|
30f34dc780
|
Fix button icon color support (#57)
|
2024-07-23 13:45:34 +08:00 |
|
Jason Lee
|
faa16fb660
|
Add ScrollView (#56)
|
2024-07-23 09:38:23 +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 |
|
Jason Lee
|
36411750ee
|
Fix to limit change when Input is disabled.
Add clean button to List query input.
Add ButtonRouneded with px support.
|
2024-07-17 10:47:25 +08:00 |
|
Jason Lee
|
7c99584862
|
Add Indicator (#25)
https://github.com/user-attachments/assets/cd6410ca-e1c7-459e-8455-d76506b6d305
|
2024-07-12 17:33:05 +08:00 |
|
Jason Lee
|
ac789b2379
|
Add Table (#16)
https://github.com/huacnlee/gpui-component/assets/5518/8603cbcc-c416-4d10-84a0-8cfe2e021e1a
|
2024-07-06 21:01:16 +08:00 |
|
Jason Lee
|
6eb63dfd28
|
Removed Button shadow in Light mode for ghost style button.
|
2024-07-05 11:26:11 +08:00 |
|
Jason Lee
|
c925a6aa61
|
Add ButtonStyle::Outline, ButtonStyle::Glost
|
2024-07-05 00:18:36 +08:00 |
|
Jason Lee
|
3ccadf6cc3
|
Improve focus (#14)
- Add `FocusableCycle` trait to help impl cycle focus.
- Add `outline` style to StyledExt.
|
2024-07-04 14:05:14 +08:00 |
|
Jason Lee
|
cbbd20867f
|
Add Icon Button support. (#11)
When the Button have no label present, it will use the Icon mode.
<img width="891" alt="image"
src="https://github.com/huacnlee/gpui-component/assets/5518/ca6240d5-02c8-4201-9a79-4afdf9938dd8">
|
2024-07-01 21:32:03 +08:00 |
|
Jason Lee
|
d183bacc73
|
Add Scrollbar (#9)
https://github.com/huacnlee/gpui-component/assets/5518/5e4b7809-f2d0-4e45-a0f2-b9578323a11e
|
2024-06-30 23:31:16 +08:00 |
|
Jason Lee
|
93779164f0
|
Rewrite Popover (#7)
https://github.com/huacnlee/gpui-app/assets/5518/dfe0ba05-ecb7-4604-a057-56daed53c16c
|
2024-06-29 23:49:59 +08:00 |
|
Jason Lee
|
3288270b49
|
Add Popover (#6)
|
2024-06-29 10:03:59 +08:00 |
|
Jason Lee
|
3c4891cb69
|
Add icon support to Button.
|
2024-06-29 02:37:22 +08:00 |
|
Floyd Wang
|
a5aea36f75
|
Add Tooltip (#5)
|
2024-06-28 18:03:28 +08:00 |
|
Jason Lee
|
720672b0e2
|
Update Input, Button, Dropdown based on theme.radius
|
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
|
08a99217a2
|
Add TabBar
|
2024-06-25 19:07:05 +08:00 |
|
Jason Lee
|
8440df938a
|
Add checkbox, title_bar.
|
2024-06-25 17:16:04 +08:00 |
|