Commit graph

13 commits

Author SHA1 Message Date
Jason Lee
34ef0ff6d0
chore: Rename Dropdown to Select, TextInput to Input. (#1449)
## Break Change

- The `Dropdown` has been renamed to `Select`.
- The `TextInput` has been renamed to `Input`.

| Before | After |
| --- | --- |
| TextInput | Input |
| Dropdown | Select |
| DropdownItem | SelectItem |
| DropdownItemGroup | SelectGroup |
| DropdownState | SelectState |
| DropdownEvent | SelectEvent |
| DropdownDelegate | SelectDelegate |
| dropdown::ListEvent | ~~Removed~~ |

- Renamed `PopupMenuExt` to `DropdownMenu`.
- Removed pub mod `menu::popup_menu`, `menu::context_menu`, they are
moved into `menu` mod.
- Renamed `popup_menu` method to `dropdown_menu` for `DropdownMenu`,
`Panel`, `PanelView` and `DropdownButton`.

| Before | After |
| --- | --- |
| popup_menu::PopupMenuExt | menu::DropdownMenu |
| popup_menu | dropdown_menu |
| popup_menu_with_anchor | dropdown_menu_with_anchor |
2025-10-28 21:22:31 +08:00
Floyd Wang
e005bd0f46
docs: Update chart (#1446) 2025-10-28 14:46:13 +08:00
Jason Lee
38a10fe05c
menu: Add item and export PopupMenuItem with builder methods to PopupMenu. (#1445)
Now we can be easy to add a menu item without define `action`, just use
`on_click` callback.

## Break Changes

- Removed complex methods: `menu_element_with_check_and_disabled`,
`menu_element_with_icon_and_disabled`, you can use `item` and
`PopupMenuItem` instead.
2025-10-28 14:42:56 +08:00
Jason Lee
519540eaa7
docs: Remove incorrect Accessibility section. (#1439) 2025-10-28 10:24:48 +08:00
Jason Lee
98c17740c7 docs: Update from 40+ to 60+ components. 2025-10-24 13:25:31 +08:00
Jason Lee
ab104b6ba9 docs: Update docs links. 2025-10-22 22:27:49 +08:00
Jason Lee
5153e67691
docs: Update dark theme logo. (#1412) 2025-10-22 22:09:30 +08:00
Jason Lee
df2d6967ca
docs: Add Theme, RootView doc. (#1408) 2025-10-22 00:02:36 +08:00
Jason Lee
28956cc2e9 docs: Fix favicon link. 2025-10-21 16:27:01 +08:00
Jason Lee
46e43ee883 docs: Add logo and favicon. 2025-10-21 16:20:50 +08:00
Jason Lee
449efae0bc docs: Ignore copilot from Contributors. 2025-10-21 15:23:57 +08:00
Jason Lee
cc21374f76
docs: Switch to use VitePress. (#1405)
https://vitepress.dev/
2025-10-21 15:18:41 +08:00
YougLin-dev
5a61c82778
docs: Add documentation website with comprehensive component guides (#1398)
Initialize a Next.js-based documentation site using Fumadocs framework
to provide comprehensive guides for all GPUI components. The site
includes getting started guides, API references, and documentation for
40+ components including Button, Input, Table, Tree, Chart, and more.

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>
2025-10-20 17:02:53 +08:00