Skip to content

v0.1.1

Choose a tag to compare

@wangdiandao wangdiandao released this 16 Nov 08:47
· 112 commits to main since this release
2911e3d

Changes since v0.1.0.

API and dependency migration

  • Match direct Base imports to 0.10.0 and retain GPUI 0.3.12.
  • Add exhaustive-match arms for AppBarVariant::TwoRows, DatePickerVariant::FullScreen, SearchViewVariant::FullScreenContained, and TimePickerVariant::Scroll.
  • Changed keyboard and accessibility slider adjustments now emit Change followed by Release. Update subscribers that interpreted Release as pointer-only.

Components

  • Use retained bottom-sheet stops, configurable drag and keyboard actions, and a measured Standard sheet slot in Scaffold.
  • Compose standalone dial, text input, and wrapping time wheels or combine them with configurable standard and vibrant time picker dialogs.
  • Customize adaptive navigation types, animated visibility, and the bar or rail layout while keeping destination selection and focus across width changes.
  • Compose date pickers with customizable anchors, panels, dialog actions and state colors. Control the displayed month, partial range, display mode, and year availability.
  • Compose Contained and Docked search with configurable editor slots, grouped virtual results, motion, appearance, and scroll behavior.
  • Compose tabs with leading icons, custom content and badges, configurable indicators and dividers, and external scroll handles.
  • Control Navigation Rail transitions and configure destination content, indicator padding, rail layout, and modal appearance and dismissal.
  • Customize docked and detached side sheets with independent header and footer slots, typed dismissal, and per-instance appearance.
  • Compose docked and floating toolbars with editable content, independently expandable slots, instance appearance, and retained scroll and settling behavior.
  • Add Pull to Refresh for scrollable content with a controlled refresh request, gesture thresholds, and a replaceable Material loading indicator.
  • Control FAB menu expansion and configure trigger animation, item content, palettes, and logical alignment.
  • Compose adaptive layouts with up to three panes, resizable anchored separators, reflow and levitation, and retained transitions and navigation history.
  • Compose dialog slots or a custom modal shell, configure instance appearance and dismissal, observe close reasons, and open optional native dialog windows.
  • Center short navigation bar destinations, mix icon positions, add custom labels and badges, and customize colors and observe interactions per item.
  • Customize mixed Button Group members, Connected segment shapes, weighted layout and press expansion, and controlled overflow.
  • Use text-only and custom-content Extended FABs with controlled expansion, visibility motion, and per-instance appearance and interaction observation.
  • Compose Standard and Segmented lists with custom row slots, checked and expandable rows, long-press actions, swipe dismissal, and per-state appearance.
  • Attach Material Labels with custom content and caller-controlled persistent or shared interaction visibility.
  • Compose custom clickable, selectable and checked Surfaces with inherited content colors, explicit shape and border, and configurable interaction feedback.
  • Compose exposed dropdowns with custom editors, anchors and options, caller-controlled visibility, and configurable popup size, scroll state and appearance.
  • Add display-only scrollbars with per-axis viewport tracking, custom geometry and colors, and configurable fading.
  • Customize both Split Button segments and use a menu, independent command, or controlled toggle for the trailing segment.
  • Configure carousel layout and fling behavior, read and control the retained item position, and apply standalone scroll parallax to custom content.
  • Customize Snackbar content, controls, layout, and appearance, and observe action or dismissal results from the queue.
  • Add customizable TwoRows app bars, logical multiline headings and logo slots, retained scroll strategies, and responsive app bar action rows and columns.
  • Compose Chips with custom content and Input avatars, apply Expressive Tonal presets and per-state appearance, and observe their interactions.
  • Reverse vertical sliders and customize tracks, individual handles, colors, markers, value indicators, and interaction observation.
  • Customize linear and circular progress strokes, gaps, and wave motion, and resize or replace the linear stop marker.
  • Customize Card shape, border, colors, and per-state elevation, and observe shared interactions.
  • Customize Checkbox state colors and the mark and outline strokes, and observe interaction through a shared source.
  • Customize selected, unselected, and disabled radio indicator colors and observe shared radio interactions.
  • Supply measured progress, custom morph shapes, and instance colors and container corners for Loading Indicators.
  • Position Scaffold FABs at the start, center, end, or over the bottom bar. Resolve content insets against measured bars and rail space.
  • Set divider thickness and color for each horizontal or vertical rule. A zero thickness selects a one-device-pixel hairline.
  • Compose text fields with configurable label placement, leading and trailing elements, value affixes, custom hints and supporting content, and required, invalid, and character count presentation.
  • Observe Button and ToggleButton interaction changes through an optional shared interaction source.
  • Customize IconButton and IconToggleButton shapes, colors, and outlines, and observe their interactions through a shared source.
  • Set text-field colors, shape, content padding and input typography per instance, observe the Base editor's laid-out geometry, and share field interaction state.
  • Customize Button and ToggleButton content, shapes, colors, borders, padding, and elevations per instance.
  • Render standalone and anchored badges with custom content and per-instance colors.
  • Select values with the standalone date-time scroll field, with caller-owned selection, custom rows, and accessible value descriptions.
  • Compose a standalone Scrim with window-theme or custom color, adjustable opacity, and optional accessible dismissal.
  • Customize FAB appearance and observe its interactions. Control FAB visibility with a logical scale pivot and independent scale and opacity motion.
  • Add SwipeToDismiss for caller-owned content with horizontal gestures, logical direction, and accessible dismissal commands.
  • Add the vertical drag handle with per-state appearance, shared interactions, and caller-controlled pane resizing.
  • Show persistent rich tooltips with caller-owned visibility and customizable focus, content, placement, caret and appearance.
  • Customize switch thumb content and individual state colors, and observe switch interactions through a shared source.

Gallery

  • The GPUI Material Gallery uses the project logo as its Windows application icon.

Menus

  • Add the Vibrant menu palette, styled groups and rows, custom popup content, positioning and an external scroll handle.
  • Control menu visibility from application state, handle dismissal requests, and customize menu-item content while retaining keyboard navigation and accessible item names.

Distribution

  • The Gallery now ships as source. Run cargo gallery from a checkout.
  • Use GPUI Kit's Base 0.10.0 with its paired GPUI 0.3.12 snapshot. Downstream apps that import Base directly must match the new Base pin. The Base slider handles Windows UI Automation RangeValue SetValue.

Contributors

Full Changelog v0.1.0...v0.1.1