Skip to content

Releases: longbridge/gpui-component

v20250407

07 Apr 11:02
231e8ea
Compare
Choose a tag to compare

What's Changed

Tab

TextView

Scrollbar

  • Fix scroll to show scrollbar. by @huacnlee in #681
  • Fix Scrollbar not clickable when it is always showing. by @sectore in #686
  • Update Scrollbar default to use hover to show on Linux. by @huacnlee in #687
  • Update min thumb size to 24px. by @huacnlee in #766

Dock

Toggle

Icon

Menu

Kbd

Tag

TitleBar

  • Fix TITLE_BAR_HEIGHT const to it actually height 34px. by @huacnlee in #707

Tiles

  • Add to support resize tile from left and top side. by @huacnlee in #756
  • Fix back panels flick when hover on top panel in tiles. by @huacnlee in #708

Input

  • Update gap between input and prefix, suffix. by @huacnlee in #709
  • Add insert and replace method to Input. by @huacnlee in #721
  • Add max_rows to support auto-grow. by @huacnlee in #768
  • Add mask_toggle button to toggle masked state to Input. by @huacnlee in #758
  • Fix delete beginning_of_line and end_of_line to handle empty line. by @huacnlee in #767

Switch

Button

  • Add warning, success, info variant to Button. by @huacnlee in #745
  • Improve Button to support combine outline with other variants. by @huacnlee in #714
  • Update ButtonCustomVariant default variable value to use transparent. by @huacnlee in #746

Modal

  • Use bold text for Modal title. by @huacnlee in #715
  • Fix close Modal by clicking overlay to support closing layer by layer. by @wangziling in #771

DropdownButton

DescriptionList

  • Add to support border style to DescriptionList vertical layout. by @huacnlee in #706
  • Update label_width type to accept any Into. by @huacnlee in #729
  • Fix incorrect align items for horizontal layout by @madcodelife in #730

Calendar

Alert

Sidebar

  • Fix collapsed to display icon only. by @huacnlee in #743
  • Fix Sidebar details, something like icon size, remove view_id argument. by @huacnlee in #774
  • Fix menu item click handler by @victorhqc in #759

SvgImg

Label

Checkbox

  • Add children to Radio, Checkbox to display long texts. by @huacnlee in #724

List

History

  • Ensure unique History in redos and undos when push. by @huacnlee in #761
  • Fix redo, undo chars order for Input. by @huacnlee in #775

Title Bar

  • Fix TITLE_BAR_HEIGHT const to it actually height 34px. by @huacnlee in #707

Theme

Accordion

I18n

Miscellaneous

Example

New Contributors

Full Changelog: v20250228...v20250407

v20250228

28 Feb 10:59
76efa27
Compare
Choose a tag to compare

What's Changed

New Features

  • text_view: Add TextView with Markdown and Simple HTML support. by @huacnlee in #639
  • description_list: Add DescriptionList. by @huacnlee in #658

Dock & Tiles

  • dock: Leave some space between the tabs title and panel by @madcodelife in #612
  • dock: Make the panel inner padding controllable by @madcodelife in #613
  • dock: Add drag drop event for tiles by @ihavecoke in #640
  • dock: Implement core panel addition logic for tiling layout by @ihavecoke in #644
  • dock: Add item to tiles layout should use default TabPanel view by @ihavecoke in #645
  • dock: Add mutable reference for set_active by @madcodelife in #655
  • dock: Panel trait set_active with mutable window and cx by @madcodelife in #659
  • tiles: Limit tile panel move to avoid out of the container. by @huacnlee in #630
  • tile: Add to support setup tiles background color, tile_shadow, tile_grid_size. by @huacnlee in #631
  • tiles: Limit panel x to out of bounds, but keep retaining 64px. by @huacnlee in #632
  • tiles: Add active_panel method to Tiles. by @huacnlee in #656
  • tiles: Fix active_panel method to returns actually Panel view, avoid return TabPanel. by @huacnlee in #665
  • tiles: Remove cursor style on Tile's title. by @huacnlee in #673
  • tiles: To support close panel. by @huacnlee in #674
  • tiles: Fix panels get item out of bound error when removed some panel. by @huacnlee in #675
  • panel: Improve resize handle to show highlight color on dragging. by @huacnlee in #622
  • panel: Only highlight resize handle when dragging. by @huacnlee in #629
  • panel: Reduce tool buttons gap from 8px to 4px. by @huacnlee in #636
  • panel: Add title_suffix to panel and write a custom container panel example. by @huacnlee in #669

Style & Theming

  • theme: Add to support always show scrollbar mode and default to match with system style. by @huacnlee in #621
  • scrollbar: Update scrollbar hitbox to it bounds, not fill the full of parent view. by @huacnlee in #624
  • checkbox, switch: Improve Checkbox, Switch to use wrap text and TextView. by @huacnlee in #651
  • input: Add h, h_full to Input for multi-line mode. by @huacnlee in #642
  • number_input: Fix button margin. by @huacnlee in #634
  • calendar: Add Matcher for disabled dates by @madcodelife in #623
  • calendar: Differentiate text color of disabled and non-current month by @madcodelife in #668

Modal

  • modal: Remove opacity animation for improve Modal appear. by @huacnlee in #633
  • modal: Do not occlude when overlay is not enable. by @huacnlee in #657

Sidebar

  • sidebar: Fix sidebar example and add right side example. by @huacnlee in #626
  • sidebar: Refactor Sidebar API to avoid map call will segmentation fault on release. by @huacnlee in #628

WebView

  • webview: Let webview as a feature and not default enable. by @huacnlee in #648
  • webview: Update visible state when hide or show by @ylinwind in #654

Other

v20250207

10 Feb 04:04
2479fc3
Compare
Choose a tag to compare

🎉 Upgrade GPUI to 3, this release by use tag for mark a stable version.

What's Changed

Full Changelog: v20250127...v20250207

v20250127

10 Feb 04:01
Compare
Choose a tag to compare
  • Older version based on GPUI 2.