gpui-component/crates/story/src
Jason Lee 9aa593ce0b
chore: Apply Styled to elements to support flexable style refinement. (#1005)
## Break Changes

- date_picker, dropdown: Removed `width` method, use `w`, `w_full`
instead.

    ```diff
    - .width(px(100.))
    + .w(px(100.))
    ```

- calendar: Removed `bordered` method, use `border` method from GPUI
instead.

    ```diff
    - .bordered(false)
    + .border_0()
    ```
2025-06-24 18:56:35 +08:00
..
fixtures chart: Update Chart story by use JSON file data. (#947) 2025-06-11 21:34:22 +08:00
accordion_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
alert_story.rs alert: Add support for text wrapping (#899) 2025-05-26 17:09:12 +08:00
assets.rs svg_img: Use system fonts to support CJK characters (#750) 2025-03-27 14:44:04 +08:00
badge_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
button_story.rs button: Impl Selectable for the dropdown button (#913) 2025-06-02 14:25:18 +08:00
calendar_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
chart_story.rs chart: Update Chart story by use JSON file data. (#947) 2025-06-11 21:34:22 +08:00
checkbox_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
clipboard_story.rs story: Add ClipboardStory (#799) 2025-04-17 18:57:23 +08:00
color_picker_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
date_picker_story.rs chore: Apply Styled to elements to support flexable style refinement. (#1005) 2025-06-24 18:56:35 +08:00
drawer_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
dropdown_story.rs chore: Apply Styled to elements to support flexable style refinement. (#1005) 2025-06-24 18:56:35 +08:00
form_story.rs input: Fix auto-grow height. (#865) 2025-05-19 19:26:27 +08:00
icon_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
image_story.rs svg_img: Refactor SvgImg to avoid assign source image size and fix drop image error. (#821) 2025-04-29 19:25:43 +08:00
input_story.rs input: Fix Input prefix, suffix position, and mask * in vertical center. (#965) 2025-06-17 13:59:02 +08:00
kbd_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
label_story.rs chore: Fix spelling of the word masked (#990) 2025-06-19 12:34:19 +08:00
lib.rs chart: Update Chart story by use JSON file data. (#947) 2025-06-11 21:34:22 +08:00
list_story.rs list: Select first item on search. (#798) 2025-04-17 17:29:02 +08:00
main.rs story: Reorder story menu 2025-06-04 19:29:32 +08:00
menu_story.rs Update disabled menu, button, dropdown etc. to use default cursor. (#814) 2025-04-24 21:28:15 +08:00
modal_story.rs Revert "modal: Add scrollbar to Modal for overflow contents. #960" (#970) 2025-06-17 17:48:42 +08:00
notification_story.rs notification: Better style details (#982) 2025-06-18 14:21:25 +08:00
number_input_story.rs number_input_story: Fix subtraction overflow (#976) 2025-06-18 10:16:57 +08:00
otp_input_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
popover_story.rs popover: Improve PopoverContent to support styled methods. (#951) 2025-06-12 15:00:00 +08:00
progress_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
radio_story.rs radio: Add id to RadioGroup to avoid clicks conflict. (#941) 2025-06-11 15:45:24 +08:00
resizable_story.rs story: Fix double border in ResizableStory. 2025-06-04 18:11:00 +08:00
scrollable_story.rs scrollbar: Improve Scrollbar to get correct scroll size. (#985) 2025-06-18 19:09:34 +08:00
sidebar_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
slider_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
switch_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
table_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
tabs_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
tag_story.rs tag: Add rounded to Tag and support outline for all variants. (#923) 2025-06-06 13:35:24 +08:00
textarea_story.rs input: Fix auto-grow height. (#865) 2025-05-19 19:26:27 +08:00
title_bar.rs theme: Update default radius to 6px, and modal to 8px. (#995) 2025-06-20 20:07:19 +08:00
toggle_story.rs toggle: Add Toggle and ToggleGroup. (#691) 2025-03-06 19:10:28 +08:00
tooltip_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00
webview_story.rs input: Refactor Input, Picker as stateless mode. (#858) 2025-05-16 23:41:26 +08:00
welcome_story.rs gallery: Redesign the gallery. (#797) 2025-04-17 17:12:48 +08:00