Commit Graph
8496 Commits
Author SHA1 Message Date
aiongg 84d0cbfd45 Merge pull request #3292 from aiongg/rc-character-align
text: the Character panel's fields fill their columns
2026-11-24 09:16:24 -05:00
aiongg dd46094cb8 Merge storytold next into rc-character-align 2026-11-24 13:26:57 +00:00
bflatastic 2157b8afc8 Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a 2026-11-24 20:00:44 +07:00
bflatastic 34e96f9325 ui-panels footer: DialogButtonLook::Filled shows Cancel, Other, Alternate and Alternative as the filled neutral button (buttons::FILLED, now public: surface.control with no edge, state.hover under the pointer) beside the accented answer. Footer story and trial under Filled 2026-11-24 19:38:28 +07:00
bflatastic 7cb5edfda4 ui-widgets segmented: a picked segment follows ActiveLook; under ActiveLook::Pressed it takes state.pressed with text.normal at rest, under the pointer and pressed, as an icon button that is on does; ActiveLook::Accent, the default, keeps state.selected with text.on_selected. Segmented story under Pressed 2026-11-24 19:38:21 +07:00
bflatastic 68cde01dc5 ui-widgets choice: ChoiceLook, a root style value; under ChoiceLook::Strong a check box, radio button or switch track that is on fills with accent.strong (pressed accent.strong_pressed, disabled unchanged) under a text.on_strong mark; ChoiceLook::Accent, the default, keeps accent.solid with text.on_accent. Check box and radio stories under Strong 2026-11-24 19:38:11 +07:00
bflatastic 09650e1d3d ui-contract style: TrackFill, a root style value; under TrackFill::Accent a slider's and a range slider's track fill the value's part in accent.solid (disabled text.disabled) on a line.outline groove; TrackFill::Muted, the default, keeps text.muted on line.control_edge. Slider story under Accent 2026-11-24 19:38:11 +07:00
David Mann 8409398af9 Merge pull request #3336 from davidmann4/fix/next-paint-chip-needless-borrow
color-ui: drop a needless borrow in PaintChip::paint that fails next's lint
2026-11-24 13:24:04 +01:00
bflatastic d8a00e1e92 Merge remote-tracking branch 'origin/next' into fix/vc-tabs-sections 2026-11-24 18:55:47 +07:00
bflatastic 6ea1ea73b1 ui-contract, sections: SectionRhythm, an env value an app sets once at its root. Under Spaced a header ruled above (a Section) stands its rule space.gap.section off what precedes it in its Stack, in place of the stack's gap (no room at its flow's start), and its header space.gap.row below the rule; Tight, the default, keeps the stack's gap and the header right under the rule. The Stack's gap reaches its direct children through the env. Story section_rhythm shows both. 2026-11-24 18:52:16 +07:00
bflatastic 6798a83eb9 theme, tabs, canvas panel: size.bar.tab_large, the height of large document tabs (today's size.bar.title in every size set), so large tabs no longer take the title bar's height; CanvasPanel gives its tab pane an extent, size.bar.tab or size.bar.tab_large with the new large_tabs prop, so a strip taller than its first measured height shows its tabs whole. Story canvas_panel_with_large_tabs. 2026-11-24 18:52:09 +07:00
David Mann 70d21a07c1 Merge remote-tracking branch 'origin/next' into fix/next-paint-chip-needless-borrow 2026-11-24 12:34:19 +01:00
bflatastic 66ab239f53 ui-contract, text: TextRun::data_color fills the run's colour from data, painted as given, as IconSpec::data_color does for an icon: text over document content in the content's own colour 2026-11-24 18:33:33 +07:00
David Mann 5bbeb937e9 Merge pull request #3288 from aiongg/next-ci-reds
Make next's own CI green on Linux
2026-11-24 12:33:08 +01:00
bflatastic 327fcaa906 canvas, pasteboard: Pasteboard::artboard_edge chooses ArtboardEdge::Plain, which edges the active artboard in black at stroke.thin and the others in grey 120 at a hairline, data colours that read against the paper; Accent stays the default 2026-11-24 18:31:59 +07:00
bflatastic dc8b91f5f1 list, menu: CommandHighlight (an env style value, Accent by default) chooses how a menu's active row, a popup list's command row, the palette's active row and an open menu bar title show it; under Hover they paint state.hover with their own ink, as a row with an open submenu 2026-11-24 18:29:26 +07:00
David MannandClaude Opus 5.5 b4d4b64ddb color-ui: pass PaintChip's style to layout without a needless borrow, so next's Workspace lint passes on clippy 1.100
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:24:51 +01:00
bflatastic 9897901b67 Merge remote-tracking branch 'origin/next' into fix/vc-link-ink 2026-11-24 18:17:12 +07:00
bflatastic 9a41bd4b84 ui-contract, field labels: LinkLabelInk, an env value an app sets once at its root, draws a field's label shown as a link in text.normal (Neutral) instead of the link look's accent (Accent, the default); the underline stays. A free Link keeps the accent and takes Tone::Neutral for the same ink. Story field_link_label_ink shows both. 2026-11-24 18:14:41 +07:00
bflatastic 6af5a5eaf2 theme: VectorCraft Modern and Modern Medium pin state.text_selection to the accent at 55% alpha (dark #f06a528c, light #d9472f8c), as production's field selection 2026-11-24 18:10:05 +07:00
bflatastic 06e94d7321 tabs, dock: PanelTabLook::Pill shows a panel strip's shown tab on a filled rounded pill (surface.control, shape.radius.control, size.control.sm high in the middle of the strip; a hovered tab shows it too); TabStrip::panel_look and DockConfig::tab_look choose it, Plain by default 2026-11-24 17:59:45 +07:00
bflatastic 2eb195b889 ui-panels, dock area: DockConfig::column_cards (was rail_cards) shows every docked column as a card, expanded or collapsed to icons: surface.panel with shape.radius.surface corners on the dock's background, inset by space.gap.stack on top, bottom and at the window edge, and space.gap.tight between neighbouring cards; each column wider by its inset so its content keeps its width; group dividers stay inside the card; container surfaces keep to their layer's frame 2026-11-24 17:45:08 +07:00
bflatastic a4b6d3b6ca ui-contract: MOVE_BAND is re-exported in every build, not only the suite's, since BodyCx::moving reads it; an app building without the suite feature compiles again 2026-11-24 16:37:57 +07:00
bflatastic 6e727dc6c6 Merge remote-tracking branch 'origin/next' into fix/vc-chrome-bars
# Conflicts:
#	crates/ui-widgets/src/buttons/mod.rs
2026-11-24 15:31:24 +07:00
bflatastic faf5a954e4 ui-panels, dock area: DockConfig::rail_cards shows a docked tool rail's column as a card: inset by space.gap.stack on its outer, top and bottom sides over the dock's background, surface.panel with shape.radius.surface corners and no frame, the column wider by the inset so its steps stay 2026-11-24 15:24:08 +07:00
bflatastic 02dc636a6c ui-contract, title bar: one way for an end group whose ranked members leave first: TitleBar::show_fitted turns on its end region's fit, as Bar::trailing does, and layout::end_group goes; the fit's env fact carries the body's shortfall, which the region's first row gives up off its ideal width 2026-11-24 14:52:29 +07:00
bflatastic 0e41edc671 Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers 2026-11-24 14:31:44 +07:00
aiongg eadfc623d3 Merge remote-tracking branch 'upstream/next' into next-ci-reds
# Conflicts:
#	crates/ui-contract/src/testing/key_trials.rs
2026-11-24 07:17:18 +00:00
bflatastic 3238a3eca8 Merge remote-tracking branch 'origin/next' into fix/vc-buttons-fields 2026-11-24 13:51:33 +07:00
bflatastic 41a0679299 ui-widgets tests: the selectable-text trial names its canvas with Id::unique, not the deprecated Id::new 2026-11-24 13:50:32 +07:00
bflatastic 02d26c8cc0 bars: a bar's trailing group joins the body's fit; its ranked members leave, lowest rank first, before a body member narrows or leaves 2026-11-24 13:50:25 +07:00
bflatastic bbef5516c0 ui-widgets: the selectable text trial names its canvas with Id::unique, as egui deprecates Id::new 2026-11-24 13:48:36 +07:00
bflatastic 27493aca39 Merge remote-tracking branch 'origin/next' into fix/vc-keys-press 2026-11-24 13:38:53 +07:00
bflatastic cb367bccf3 menu bar: MenuTitlePad, the padding role of the titles an app sets at its root; Control sets them closer, as an app bar whose menus share the line with many controls 2026-11-24 13:38:50 +07:00
bflatastic 161c99c637 ui-contract, title bar: layout::end_group places a row's end group at its end edge, its members ranked units of the row's fit; TitleBar::show_fitted shows the trailing content as the body's end group, so its ranked members leave before the menus fold 2026-11-24 13:37:29 +07:00
bflatastic 49d439d63d ui-widgets: a tile grid without card_columns asks for one card in a measuring run again (ebf925452, lost in the merge b138b533f), so a dialog pane sized from it holds its rows and the row under them: presses on the tiles, the button and the field beside it land on them 2026-11-24 13:33:04 +07:00
bflatastic d3b03c1b44 ui-contract: a command a key, a native menu pick or the palette runs no longer closes a layer whose Dismiss::commands is off; a dock panel's flyout turns it off, so the command no longer closes and reopens it and a focused list in it keeps the focus 2026-11-24 13:30:24 +07:00
bflatastic 065efff0c9 Outline buttons: a line.outline token for the neutral outline's edge
Outline and soft neutral looks take their edge from line.outline, which follows text.muted unless pinned, so only
the VectorCraft Modern themes, which pin production's dimmer button edge, change.
2026-11-24 13:27:48 +07:00
bflatastic 0aeb4251cc Filled push buttons follow PushButtonLook only when they ask for no variant
A component's default variant may now come from its scope (Component::default_variant, read from the env before
the style's first). A push or split button takes the filled variant there under PushButtonLook::Filled, outside a
ribbon, so a button that asks for Variant::SECONDARY, as VectorCraft's task bar actions do, keeps the outline.
2026-11-24 13:27:47 +07:00
bflatastic 17d8a34242 ui-widgets: the inline number trials share one field rig 2026-11-24 13:18:40 +07:00
bflatastic d0e1ca86fa docking: DockConfig::panel_menu_icon picks the panel menu button's icon, more by default 2026-11-24 13:14:08 +07:00
bflatastic 6080b3950c sections: HeaderStrength::Quiet, the caption role in the muted ink with no rule, for an inspector's kind line 2026-11-24 13:14:05 +07:00
bflatastic b808cac9fc labels: GlyphColon::Form gives a glyph caption (GlyphLabel::caption) a form's colon; draw's X/Y/W/H are captions 2026-11-24 13:10:03 +07:00
bflatastic 1a17a4963c ui-canvas: TaskBar::hang_gap(TaskBarHang::ClearOfHandles) hangs the bar the handle ring and a section gap from its anchor 2026-11-24 13:06:08 +07:00
bflatastic 0d8d3f9c9a ui-canvas: TaskBar::member_gap(Gap) spaces the bar's members, through a new Bar::gap 2026-11-24 12:59:49 +07:00
bflatastic 8982191687 title bar: document the surface role it takes and show it on the background surface in a story 2026-11-24 12:58:31 +07:00
bflatastic 45a8457c7b ui-widgets: DocumentTab::name_len, the label's name part, which a modified tab's mark follows: "Untitled-1* @ 93.5 % (RGB/Preview)" 2026-11-24 12:58:00 +07:00
bflatastic bb06692b13 ui-widgets, ui-panels: ActiveLook::Pressed shows an icon button that is on in the pressed fill with no accent edge; ToolRail::active_look gives it to the rail's buttons 2026-11-24 12:57:45 +07:00
bflatastic 95c1456826 ui-panels: a dense tool rail step: RailDensity::Dense packs the rail's buttons a control high, and DockGrid::density sizes the rail's column with them 2026-11-24 12:57:26 +07:00
bflatastic 4ae91846fa title bar: take show_fitted out again; with caption buttons its trailing content stops short of the end and a ranked member narrows instead of leaving 2026-11-24 12:57:16 +07:00