Repository navigation
Releases
v0.3.2
Changes since v0.3.1.
Components
- Prevent
ButtonGroupVariant::Connectedfrom borrowing neighbor width on press, and shrink horizontal button padding (down to 4 dp per side) before ellipsizing labels when a fixed-width button is compressed below its preferred width. - Blur focused
TextFieldeditors on outside clicks (including supporting text and non-focusable areas) and when disabled, keep focus without transient blur when pressing the built-in clear button, and blur focusedExposedDropdowneditors on outside dismissal.
Contributors
Full Changelog v0.3.1...v0.3.2
v0.3.1
Changes since v0.3.0.
Theme and foundation
- Expose Material 3 custom colors and harmonization behind
dynamic-color(CustomColorGroup,harmonize_color,ColorScheme::custom_color, andColorScheme::custom_color_with_contrast). - Add ergonomic M3 helpers:
Argb::{from_rgba, with_alpha, alpha, red, green, blue},ColorRole::on_role,ColorScheme::with_color,MaterialTheme::{with_colors, with_typography, with_motion, with_layout, with_density, with_direction},CornerShape::{uniform, top, bottom, start, end}, andThemeScope::density. - Support
Home/Endinmove_roving_focus(unifying keyboard navigation acrossNavigationDrawer,Stepper,List,Menu,RadioGroup,ButtonGroup,Toolbar, andFabMenu) andHome/End/PageUp/PageDowninrange_semanticsforSlider.
Components
- Add
TextField::show_label(bool), density-aware default minimum height withTextField::min_height(Pixels), andTextField::indicator_width(unfocused, focused). - Add variant shorthand constructors (
filled,tonal,elevated,outlinedonToggleButton;standard,filled,tonal,outlinedonIconToggleButton) and controlled.loading(bool)busy state toToggleButtonandIconToggleButton. - Add
.show_label(bool)and.label_content(...)toCheckbox,Radio, andSwitch, and preserve caller-suppliedRadio::track_focus(&FocusHandle)handles insideRadioGroup. - Add
Slider::track_focus(RangeThumb, &FocusHandle)for caller-owned thumb focus handles. - Support
Backspace/Deletekeyboard removal on focused removableChipactions, and add group-level.tonal(bool),.elevated(bool), and.disabled(bool)defaults toChipGroup. - Add
Feed::accessible_labelwithRole::Listsemantics and promoteFeedtoVerified(62/62 documented components verified in CI), alongside standaloneSupportingPane::newnarrow toggle coverage. - Fix
NavigationDrawerfont scaling (NavigationItems::font_scale), RTL section header/headline alignment,.divider_before(...)across.entries/.section/.push_section, and icon tint inheritance (.inherit_color()). - Add
List::{accessible_label, item},ListItem::tone(SemanticTone), desktop secondary click (MouseButton::Right) andcontextmenukey triggering forListItem::on_long_press, caller.track_focuspreservation inListandListSection,.track_focus/.interaction_sourceacrossSwitchTile,CheckboxTile,RadioTile,SliderTile, andChoiceTile,ChoiceTileaccessible value description, and.trailing(...)onCheckboxTileandRadioTile. - Add
Badge::{visible, offset}and scaled-fontmin_hfix,Card::{content_padding, gap, accessible_label}with rounded child clipping,Text::{align, max_lines, color_override}, publicIcon::{inherit_color, color_override}, andDropTarget::{track_focus, interaction_source}with disabledRole::Buttonpreservation,ThemeScopeaction binding, and dynamic corner radii.
Extras
- Add
SemanticTonesupport toButtonGroup,ButtonGroupItem, andSplitButton; fixToolbarandCaptionButtonsfocus ring tokens toColorRole::Secondary; addToolbarAction::with_iconand overflow menu icons; addSearchViewHome/Endand input-Downnavigation plusSearchState::trigger_focusandSearchBar::track_focus; addTimePickerdialog options,DatePicker/TimePicker::disabled, andDatePickerState/TimePickerState::trigger_focus; addCaptionButtonLabelslocalization forCaptionButtonsandTitleBar.
Overlays and menus
- Enhance
Menu::context()andMaterialElementExt::context_menu(...)to open at the secondary-click cursor position (viewport-clamped, repositioning on subsequent right-clicks), avoid hijacking triggerEnter/Spaceactions, and supportShift+F10andContextMenukeyboard triggers; add lazy buildersMenu::new_withandMaterialElementExt::context_menu_with, plusMenu::disabled(bool). - Add
Sheet::show_header(bool)and applySheet::max_width(Pixels)to side sheets as well as bottom sheets (keeping the 400 dp side-sheet default). - Add
Dialog::confirm_disabled(bool),Dialog::confirm_loading(bool),DialogState::focus_handle(), andDialogState::scroll_handle(). - Add
Snackbar::dismiss_label(...),SnackbarHost::pending_len(),SnackbarHost::clear_queue(cx), and pause timed snackbar auto-dismiss while hovered or focused. - Add
Tooltip::show_delay(Duration)andTooltip::hide_delay(Duration)overrides.
Gallery
- Reorganize the Gallery around top-level
Components,Styles, andExamplessections with a grouped Material 3 sidebar catalog, an interactive Overview landing page (hero shapes, live theme preset swatches, interactive controls, and grouped component cards), dedicatedColor(with click-to-copy hex swatches),Typography,Shape(with interactive 35-shape inspector), andMotionstyle reference pages, and a status bar displaying the active theme and package version while keeping existingStoryIDs compatible. - Redesign all 50 component pages around a
Live preview | Specslayout with a localThemeScopepreview canvas, declarativeConfigurationcard (scenarios, controls, and reset), live RustCodesnippet card with copy action, and lazy-loaded fullSpecsviews, plus a live breakpoint badge on theAdaptive layoutexample page.
Performance
- Guard no-op state updates against redundant
cx.notify()andwindow.refresh()calls across Foundation theme updates (set_material_theme,set_window_material_theme), Components (PullToRefreshState,SwipeToDismissState,BottomSheetState,Tooltip,ExposedDropdownState,AppBarScrollState), and Extras (SearchScrollState,ToolbarScrollState,ScrollFieldState,DatePickerState,TimePickerState). - Virtualize the Gallery component catalog with
gpui::list, cache filtered catalog indices on search input changes, and skip no-op navigation and window-move notifications, cutting Gallery shell frame overhead by 58%–75% in the Releaseperf_benchsuite.
Contributors
Full Changelog v0.3.0...v0.3.1
v0.3.0
Changes since v0.2.0.
API and migration
- Breaking: Rename the optional
windows-chromeCargo feature andgpui_material::windows_chromemodule towindow-chromeandgpui_material::window_chromeacrossgpui-material-extras,gpui-material, andgpui-material-gallery, and remove the Windows-only compilation gate. - Breaking:
IconNameaddsIconName::VisibilityandIconName::VisibilityOff. Update exhaustiveIconNamematches to cover the new variants, or add a fallback arm.
Window chrome and cross-platform defaults
- Add cross-platform
window_chromesupport covering Windows native hit testing and Snap Layouts, macOS native traffic-light centering (title_bar_window_options_with_height) and leading inset spacing, and LinuxDecorations::Client/Decorations::Server+WindowControlsintegration. - Expand
TitleBarandCaptionButtonswith customizable.height(...),.title(...),.title_role(...),.title_font(...),.title_font_family(...),.title_font_size(...),.leading(...),.trailing(...),.traffic_light_padding(...),.colors(TitleBarColors),.caption_colors(CaptionButtonColors),.caption_button_width(...),.show_caption_buttons(...),.on_close(...), and.platform(ChromePlatform), replacing hardcoded"Segoe UI"and"Segoe Fluent Icons"with Material theme typography and vector caption icons. - Update
FontFamilies::default()ingpui-material-themewith cross-platform Latin and CJK fallbacks (SF Pro Text,Segoe UI,Noto Sans,PingFang SC,Microsoft YaHei UI,Noto Sans CJK SC) and enablecargo gallery --window-chromeon all desktop targets.
Components
- Add
ButtonTone(Default,Danger,Success,Warning,Info) semantic shortcuts toButton,ToggleButton,IconButton, andIconToggleButtonwhile preserving per-instanceButtonColorsandButtonBorderprecedence. - Promote
SemanticToneto core (retainingpub type ButtonTone = SemanticTone;) and propagate.tone(SemanticTone)acrossBadge,Chip,Dialog(.confirm_tone),MenuItem(plus.destructive()),Snackbar,LinearProgress, andCircularProgress; addBadge::{standalone_label, standalone_count, color_role},Dialog::{alert, on_confirm},MenuItem::{shortcut, divider},SnackbarHost::{push_message, replace},Tooltip::shortcut, variant/typography shorthands onButton,IconButton,Card,Chip,TextField, andText(including.muted()), and the fluent postfixMaterialElementExttrait (.badge_dot(),.badge_label(...),.badge_count(...), and withfeedback:.tooltip(...),.context_menu(...)). - Add
.track_focus(&FocusHandle)toChip,Checkbox,Radio,Switch, andCard, preserveThemeScopein toggle and selection/list/card action callbacks, match disabled label opacity and single-line truncation acrossCheckbox,Radio, andSwitch, clip splitChipprimary and removal action feedback along the interior seam, and keep overlapping rangeSliderthumb selection responsive after zero-delta drag moves. - Add core
Avatardisplay component (initials,icon,imagewith.fallback,custom,AvatarSize,AvatarShape,AvatarColors) and overlappingAvatarGroupstack with uniform sizing, surface-matched cutout rings,+Noverflow truncation, RTL mirroring, and summary accessibility labels. - Add core presentational
EmptyStatelayout shell with an optional decorative icon container (MaterialShapepolygon orCornerShapebackdrop) or custom.visual, title, supporting copy/content, centered RTL-aware primary/secondary action slots, and configurable.max_width/.title_role. - Add four M3E convenience components without new feature-group dependency edges: in-flow
Banner(feedback, withSemanticTone, actions, dismiss, andRole::Status/Role::Alert), controlledChipGroup(selection, withSingle/SingleRequired/Multipleselection,.single_select, wrapping/scrollable layout, and roving focus), coreSkeleton(rect/text_line/circle/shapeplaceholders onLoopClock+is_bounds_visiblewith zero offscreen/reduced-motion frames), and width-responsiveBreadcrumbs(navigation, collapsing middle segments into an anchored MaterialMenu). - Add
ButtonGroup::connected,.single_select, and.single_optional_selectergonomics shortcuts togpui-material-extras(expressive-groups). - Add
DropTarget(surfacesfeature) for external OS file drops (ExternalPaths) and typed in-app GPUI drag payloads with validation feedback and optional click/keyboard activation. - Add
Stepper(navigationfeature) with horizontal and vertical orientations,StepStatus,.active_step,.non_linear, RTL mirroring, and roving keyboard navigation. - Add standalone
NavigationDrawer(navigationfeature) with Standard and Modal (side-sheet) modes, sections, headers, dividers, 56 dp pill indicators, and roving vertical navigation. - Add
BottomAppBar(navigationfeature) with 80 dp Material styling, action and trailing FAB slots,Scaffold::bottom_barcompatibility, andAppBarScrollBehavior/AppBarScrollStatehide-on-scroll support. - Add settings convenience tiles
SwitchTile,CheckboxTile,RadioTile,SliderTile(surfaces+selection),ChoiceTile/ChoiceOption(surfaces+feedback), andListSection/ListSectionItem(surfaces) with optionalLabelMediumsection headings, true M3E Segmented grouped corner geometry (16/4, 2 dp gap), and unified vertical roving focus. - Add
Button::loading(bool)andIconButton::loading(bool)(actionsfeature, no dependency onfeedback) with busy accessibility semantics, activation suppression, resting-width preservation, and an inline Material circular spinner respectingis_bounds_visibleandreduced_motion. - Bundle official Material Symbols Outlined
IconName::VisibilityandIconName::VisibilityOff(both fill variants) from the pinned upstream revision. - Fix
Sheet::expandabledrag handle creating an unlabeled keyboard tab stop, delayTooltipmotion sampling until its trigger anchor is measured, preventSnackbarHostfirst-frame zero-width layout and bound exiting queue growth under reduced motion, and defer render-time transition notifications acrossNavigationRail,AdaptiveNavigation, andAdaptivePaneState.
Inputs
- Add
TextFieldObfuscationMode(Hidden,Visible) andTextField::obfuscation_mode(...)forTextField::securevisibility toggles, re-exportTextFieldMaskPatternthrough theinputsfeature facade, and add Gallery examples and tests covering password visibility toggling, structured mask patterns, and pre-commit validation. - Add
TextField::clearable(bool)(.clear_label(...)) andTextField::visibility_toggle(visible, on_toggle)(.visibility_labels(show, hide)) inside theinputsfeature without adding a dependency onactions, automatically syncing secure obfuscation mode and preserving focus. - Add
ExposedDropdown::with_shared_optionsforO(1)Rc<[DropdownOption]>option sharing, accelerate dropdown filtering with zero-allocation ASCII case-insensitive matching and cached active indices, reserve trailing inset forTextFieldresting labels when.trailing(...)is present, and cache per-frame character counts.
Performance, theme, foundation, and symbols
- Store all 61 Material color roles inline in
ColorSchemefor allocation-freeO(1)lookups and blending, exposeColorScheme::baseline,appearance, andcolorasconst fn, and preserve the compact{ appearance, overrides }serdeformat. - Cache resolved system and custom
Fontfamily descriptors and letter-spacedLineLayoutruns ingpui-material-foundation, cache tessellatedShapestroke paths and transparentSurfacerounded feedback geometry, prune finished ripples beforeEscapecancel checks, and exposeelevation_shadow_pairfor allocation-free canvas shadow painting. - Accelerate
clipped_ripplewith precomputed 64-gon unit-circle normals and inscribed-disk / triangle-AABB fast paths. - Add
const fnconstructors and accessorsSymbolAxes::new,SymbolAxes::is_filled, andSymbolAxes::get_weightingpui-material-design-symbols, and cache outlined SVG bytes by(codepoint, axes)inSymbolFont::svg_dataso repeated lookups and alias symbols share a singleArc<[u8]>. - Snapshot
Menuexit rows lazily, short-circuitAdaptivePaneStatehistory resolution once all three pane roles are assigned, replace per-frame multi-pane geometryVecallocations with stack arrays, and avoid redundant root layout passes and focus map clones inAdaptiveNavigation,AppBar,Scaffold, andNavigationItems. - Binary-search single-line ellipsis truncation in
Text, deduplicateExtendedFablabel shaping, reuse cached rounded feedback geometry and stack-allocatedelevation_shadow_pairshadows acrossButton,Chip,Card,ListItem, and selection ripples, add static corner and line-count fast paths inListItem, reuse activeDisplayScrollbarfade wake timers across intermediate scroll frames, predefineconstProgresseasing curves, and skip redundantSwipeToDismisswidth notifications when settled at rest. - Optimize
gpui-material-extrasruntime hot paths: releaseSearchStateresult focus handles when returning to idle, replaceO(N)search result focus scans withO(1)scope checks, skip redundantSearchViewandDatePickerstate updates when idle, cache monthly calendar day IDs and accessible labels alongside static day, two-digit, and dial-mark tables, reuse activeScrollFieldsettle timers across rapid scroll events, precompute containedCarouselkeylines once per layout and share measured layouts without extra next-frame re-renders, skip zero-radiusCarouselParallaxcorner paths, preserveButtonGroupfocus handles and cached labe...
v0.2.0
Changes since v0.1.2.
API and migration
- Update exhaustive
ColorRolematches to cover the nine new semantic status roles (Info,OnInfo,InfoContainer,Success,OnSuccess,SuccessContainer,Warning,OnWarning, andWarningContainer). - Lower the workspace minimum supported Rust version (
rust-version) from1.99.1to1.95.0and setdefault-features = falseon the workspacegpui-material-componentsdependency so Cargo versions below1.99can evaluate workspace inheritance.
Dependencies
- Allow downstream applications to resolve compatible versions of internal dependencies (
polymorpher,material-color-utils, andserde_jsondev-dependency) at or above the existing minimums while keeping public GPUI/Base and workspace lockstep pins exact.
Modular compilation
- Partition
gpui-material-componentsinto coarse feature groups (actions,selection,inputs,surfaces,feedback, andnavigation, withdefault = ["full"]for backwards compatibility), forward them throughgpui-material, and wire eachgpui-material-extrasfamily to enable only the core groups it uses.
Performance
- Add a repeatable locked Release benchmark suite (
perf_benchingpui-material-gallery) coveringButton,TextField, complex virtualized lists, navigation chrome, and animated indicators while separating GPUI engine baseline, isolated component overhead, standalone story cost, and Gallery shell overhead.
Shapes
- Add the 35-shape Material 3 Expressive
MaterialShapecatalog ingpui-material-themeand reusableShapePolygon,ShapeFit,ShapeMorph, andShapeMorphSequenceadapters ingpui-material-foundation(re-exported fromgpui-material), consolidatingLoadingIndicatoronto Foundation and removing the directpolymorpherdependency fromgpui-material-components. - Add geometric shape clipping (
Shape::clip_path,clip_rect,clip_disc,clip_convex_polygon,exterior_mask, and paint helpers), stroke/shadow painting (fill_path,stroke_path,paint_stroke,paint_shadow), and extended hit testing (hit_test,intersects_bounds). - Extend
Surfacewith.polygon_shape(...),.shape_fit(...),.shape_clip_backdrop(...), and.shape_hit_test(...)for non-rectangular Material shapes, EvenOdd backdrop clipping, and shape-aware pointer hit testing.
Theme and typography
- Add
project_base_themeandcurrent_base_theme(including Material scrollbar and resize-handle tokens), attach a local-theme-aware MaterialDisplayScrollbarrenderer and completeInputEditorStylediagnostics to multilineTextFieldeditors, preserve window-local overrides inThemeScope::bind_action, and avoid unnecessary redraws of locally overridden windows during application palette transitions. - Unify the animation lifecycle in
gpui-material-foundation(animate_with_status,LoopClock,RetargetTransition,is_bounds_visible) so keyed channels use a single GPUI entity, mid-flight interruptions preserve spring velocity or shorten tween reversals proportionally, reduced motion settles immediately, and off-screen, clipped, inactive, or hidden animated components pause without scheduling frames. - Add
ColorScheme::from_seed_withandMaterialTheme::from_seed_withsupporting all sevenDynamicVariantpalettes (TonalSpot,Vibrant,Expressive,Fidelity,Content,Monochrome,Neutral) andSpecVersion(Spec2021andSpec2025), lightweight seed-basedThemePresetrecipes,ColorScheme::blend, and extendedInfo,Success, andWarningsemantic color roles (and theirOn*and*Containerpairs). - Add
Typography::with_text_scale(default1.0, clamped1.0..=2.0) andTypography::style/scale_style, applied across all 15 Material type roles and Base typography projection. - Animate application palette changes in
set_material_themewith a retargetable Slow Effects spring that respects reduced motion, and add subtree-levelThemeScopeandcurrent_material_themewith overlay inheritance that keeps the application Base theme untouched.
Icons
- Add the optional
gpui-material-design-symbolscompanion crate with the full Outlined, Rounded, and Sharp catalog, fill and weight controls, desktop embedding, and asynchronous browser loading.
Windows
- Add optional custom title bars with native Windows caption behavior and a Gallery demonstration.
Contributors
Full Changelog v0.1.2...v0.2.0
v0.1.2
Changes since v0.1.1.
Dependencies
- Allow downstream applications to resolve compatible versions of
serde,web-time, andwindowsat or above the existing minimums.
Feedback
- Skip fill triangles outside the Ripple bounds before clipping.
- Refresh the owning view when control feedback changes and skip redraws on redundant release or cancel events.
Text
- Reuse single-line ellipsis layouts for repeated text and widths.
Gallery
- Show Material type roles and compare emphasis, font scaling, wrapping, and truncation in the Text story.
- Capture active frame timing in a single Gallery window with the optional frame profiler.
Contributors
Full Changelog v0.1.1...v0.1.2
v0.1.1
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, andTimePickerVariant::Scroll. - Changed keyboard and accessibility slider adjustments now emit
Changefollowed byRelease. Update subscribers that interpretedReleaseas 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-timescroll field, with caller-owned selection, custom rows, and accessible value descriptions. - Compose a standalone
Scrimwith 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 galleryfrom 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
v0.1.0
Changes since v0.0.4.
Breaking changes
IconNameaddsDarkMode,LightMode,LeftPanelClose, andLeftPanelOpen. Handle the new variants in exhaustive matches, or add a fallback if they can share the same behavior. #221
Gallery and components
- Reuse the Material Gallery catalog or a single interactive story from the source checkout in another GPUI host, including WebAssembly builds. #238
- Browse component previews with a searchable catalog and a dedicated compact-window layout. The Gallery app bar provides theme controls and opens the project repository. #227
- Keep the docked search button fully visible in a vertical toolbar and align carousel scrolling with the painted positions at the trailing edge. #221, #227
- Keep exposed dropdown interactions inside their visible hit areas. Opening from the trailing control, selecting an option, and dismissing outside the menu follow their respective pointer paths. #233
Search and text fields
- Virtualize large search result and dropdown option lists while preserving item identity, keyboard navigation, and focus. Refresh measured rows when fonts change. #229
- Apply the Material window palette to Base-backed editors in that window while preserving the app-level Base theme. #229
- Hide the caret in selection-only dropdowns while retaining keyboard focus. #227
Motion
- Apply the target value immediately when custom spring stiffness cannot produce a valid duration. #227
Integration and distribution
- Install the Material facade from crates.io with
gpui-material = "0.1.0". The facade continues to expose the same GPUI and Base package types. - Document the supported facade, optional features, and migration from the
0.0.4source checkout. Virtualized lists can track caller-owned row focus throughListItem::track_focus. #215, #229 - Package the Windows x64 Gallery as a standalone ZIP with a SHA-256 checksum, locked runtime dependency inventory, and bundled licenses. #216, #217
Contributors
Full Changelog v0.0.4...v0.1.0
Material Gallery 0.0.4 Candidate
Windows x64 candidate for P8. Gallery adds button groups and split buttons, FAB menus and toolbars, docked and full-screen search, date and time pickers, and six carousel layouts. Applications can enable each component family independently through the Material facade.
Extract the ZIP and run gpui-material-gallery.exe. The archive contains the license and third-party notices. SHA256SUMS.txt records the ZIP checksum.
Windows acceptance · Candidate build and three-platform CI · P8 freeze
Material Gallery 0.0.3 Preview
This Windows x64 preview fixes a brief overlap between the top border and the floating label when an empty outlined text field gains or loses focus. The border now clears the label throughout the animation, including in right-to-left layouts.
Download and extract the Windows x64 ZIP, then run gpui-material-gallery.exe. To try the fix, open the Text field story, clear Email, then click outside and back into the field. The ZIP includes the license and third-party notices. SHA256SUMS.txt contains the archive checksum.
Material Gallery 0.0.2 Preview
Material Gallery 0.0.2 adds Material 3 tabs, top app bars, the short navigation bar, and navigation rail. The adaptive layout story demonstrates Scaffold, Bar/Rail transitions, list-detail, supporting pane, and feed. Resize the window to exercise navigation and pane changes.
Download and extract the Windows x64 ZIP, then run gpui-material-gallery.exe. The download includes the license and third-party notices. Other platforms passed hosted builds and automated tests.