gpui-component/crates/story/src
Moulberry a4e93132f1
input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506)
https://github.com/longbridge/gpui-component/pull/1502#issuecomment-3485354324

## Break Change

- The `DatePicker` and `Select` has changed `cleanable` default from
`true` to `false`.
- Updated `Input`, `DatePicker` and `Select` the `cleanable` to have a
argument.

```diff
- pub fn cleanable(mut self)
+ pub fn cleanable(mut self, cleanable: bool)
```

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>
2025-11-05 09:33:31 +08:00
..
fixtures chore: Remove unused image example. (#1510) 2025-11-04 14:55:02 +00:00
accordion_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
alert_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
app_menus.rs story: Add open file to Markdown and Editor example. (#1363) 2025-10-13 11:52:16 +08:00
assets.rs chore: Assets interpolate folder path via rust embed (#1318) 2025-10-02 16:04:33 +08:00
avatar_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
badge_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
button_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
calendar_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
chart_story.rs chart(pie): Support dynamic inner and outer radius (#1444) 2025-10-28 13:53:28 +08:00
checkbox_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
clipboard_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
color_picker_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
date_picker_story.rs input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
description_list_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
drawer_story.rs chore: Move searchable to ListState and SelectState. (#1507) 2025-11-04 21:26:11 +08:00
form_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
group_box_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
icon_story.rs button: Fix button label display has overflow hidden. (#1322) 2025-10-03 10:18:00 +08:00
image_story.rs chore: Remove unused image example. (#1510) 2025-11-04 14:55:02 +00:00
indicator_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
input_story.rs input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
kbd_story.rs chore: Update List, Tree, Kbd exports. (#1467) 2025-10-30 07:19:39 +00:00
label_story.rs input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
lib.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
list_story.rs list: Avoid select item when selectable(false). (#1508) 2025-11-04 14:12:31 +00:00
main.rs input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
menu_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
modal_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
notification_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
number_input_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
otp_input_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
popover_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
progress_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
radio_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
resizable_story.rs resizable: Simplify Resizable API. (#1459) 2025-10-29 23:01:05 +08:00
scrollable_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
select_story.rs input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
sidebar_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
skeleton_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
slider_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
switch_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
table_story.rs table: Change context_menu method in TableDelegate to mutable window and cx. (#1487) 2025-11-03 18:06:29 +08:00
tabs_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
tag_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
textarea_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
themes.rs story: Fix story panic when save state failed. (#1384) 2025-10-15 08:20:44 +00:00
title_bar.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
toggle_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
tooltip_story.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
tree_story.rs Fix state internal update to refresh for List, Tree, Table and Select. (#1492) 2025-11-04 16:25:37 +08:00
virtual_list_story.rs chore: Update List, Tree, Kbd exports. (#1467) 2025-10-30 07:19:39 +00:00
webview_story.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
welcome_story.rs markdown: Use list for Markdown render and add scrollbar. (#1357) 2025-10-13 22:06:07 +08:00