Commit Graph
8520 Commits
Author SHA1 Message Date
aiongg 793497ca28 contract-api: regenerated (glyph roles) 2026-11-12 14:32:50 +00:00
aiongg cc2b07b70f Stories can show a root docked in an edge pane (in_edge_pane), so PanelRail's story draws its divider along the canvas side as an app does 2026-11-12 14:32:50 +00:00
aiongg f0c46a57a8 Glyph roles for icon-only buttons: a container sets the role its buttons show their glyph in (child_glyphs, or glyphs on one component), so the tool rail draws size.icon.lg icons resting in text.muted, the panel rail rests in text.faint and AlignBar draws size.icon.md 2026-11-12 14:32:50 +00:00
aiongg ab9cd0b9ff Popup marks only on rail flyouts and panel footer menus: an icon button draws the corner mark when popup_mark is on, which the flyout face and footer actions turn on 2026-11-12 14:32:50 +00:00
aiongg d57548f8f8 Icon strokes follow the icon side: stroke.thin below size.icon.md, stroke.medium from it up, so a glyph inside a control no longer reads as filled 2026-11-12 14:32:49 +00:00
aiongg a0693ca0b3 contract-api: regenerated (ControlMetrics field widths) 2026-11-12 14:32:49 +00:00
aiongg efc398a2f4 Timeline panel: headers sized by content, ruler on the lanes' origin, whole timecode
- HeaderColumns: one set of header columns per pass, worked out from the model before the view shows. The switch
  columns are the ones some track has; the name column is the widest track name with its pads and indent, or the
  width the user dragged; the headers are at least as wide as the timecode and toolbar block over them. Every pane's
  TrackStack, the top strip's head column and the TimelineView's inset (header_extent) take the same extent.
- The top strip's head column is the header extent and its columns touch; the marker strip and the ruler sit in a
  fill-width stack, so they span the time area from where the lanes start.
- BodyLayout::grid takes owned or borrowed columns.
- TimecodeField::large keeps the timecode face (equal-width digits), so its widest sample is its widest text.
- MeasureCx::field_text: an editable text's room with the caret past its last letter. TextField, NumberField,
  TimecodeField, DateField, ComboBox and the font picker size by it.
- Trial: the ruler starts where the lanes do, and no header has a column no track has.
2026-11-12 14:32:49 +00:00
aiongg 7fcd160eca Field and number widths per control size: size.length.field and size.length.number hold sm and md, and controls read them through ControlMetrics, so a field in a small options bar is narrower than one in a dialog 2026-11-12 14:32:49 +00:00
aiongg 20decd82d5 A bar judges each member in flow with its label; a fill in a scrolling bar is a leaf's
Only a member in flow is judged: a part shown at a rect and a control in a label scope belong to the member around
them, and a labelled leaf is hidden together with its label. Containers that fill keep their content width in a
bar (a Field fills by default), so only a leaf that fills takes the room the view leaves.
2026-11-12 14:32:49 +00:00
aiongg 5d6e75e768 SliceOverlay story: the Slice tool under its options bar, settings kept as a value 2026-11-12 14:32:49 +00:00
aiongg 66bb57a029 A bar shows each member whole or not at all
A leaf or a captioned field in a bar's scrolling body that the view shows only in part gets an empty clip: it
neither paints nor takes the pointer until a scroll brings it in whole, and it keeps its Tab stop, so the reveal
scrolls it in. Fields were cut at the bar's scroll edge.
2026-11-12 14:32:49 +00:00
aiongg e15353918a In a body that scrolls along x, a child that fills fills what the view shows
The scroll made the room unbounded along x, so Slider::fill_width, TextField fill and fill-width rows in a bar
kept their measured widths. The room a row shrinks to and the room a filling child fills are now the one view room;
a share there never cuts the child's content, which scrolls.
2026-11-12 14:32:49 +00:00
aiongg 96ddd23066 A scrolling body sets its row on the line it shares with the end region, above its scroll bar
The scrolling branch ran its row without the shared line, and the end region centred over the band an
overflowing body's scroll bar adds under it: a bar's commit and cancel buttons sat below its members.
2026-11-12 14:32:49 +00:00
aiongg 3865baefbf Measuring rect starts at the start edge under right-to-left with a finite room too
A content-sized body given a shrink cap in a right-to-left scroll region measured from the region's far end,
where its field took no width, so a bar too short for its members laid out differently from left-to-right.
2026-11-12 14:32:49 +00:00
aiongg 4a25bebc19 CommandPalette lists and runs commands from the window under it; disabled rows paint in the disabled ink
- The command board judges a resolution from a Vantage: the modal facts and the focus. Its own is the key
  focus of the pass; resolve_beneath and fire_beneath judge from the window under the modal layer whose body
  is running, as it is once that layer closes (the modal layers below it, the stop focus returns to, that
  stop's chain and edits). key_layer takes the layer to count below; keys::owner_at gives the key owner there.
- The palette resolves its rows beneath its own layer, so its modal blocks none of the app's commands, and
  runs a pick itself: focus returns from its layer (return_from_pick, which also serves menu picks), then the
  command fires as FireSource::Palette. Its list fills the box width.
- A row's disabled state takes text.disabled in row_ink_of, for list, option and menu rows alike; the menu
  row drops its own copy.
- A keyed activation skips a disabled lead, as a press does.
2026-11-12 14:32:49 +00:00
aiongg b525e8b28a Table story: the name column as wide as its names up to a third of the table, Modified as wide as its dates 2026-11-12 14:32:49 +00:00
aiongg 679e17cab0 Table story as the old card: padded report names, Modified and Warnings columns, the first row selected 2026-11-12 14:32:49 +00:00
aiongg 935613c4f7 Columns place their text as their spec says: rows take each column's alignment and tabular figures from the collection, and an end-aligned column's header ends at its cell's end; ListRow::columns goes 2026-11-12 14:32:49 +00:00
aiongg 3750a77cb5 Columns keep their least width: fill columns share the room down to the header's least column width, columns wider than the room scroll sideways with the header, and a row's label stays in its column 2026-11-12 14:32:49 +00:00
aiongg 9604d6b294 Regenerate docs/contract-api.md 2026-11-12 14:32:49 +00:00
aiongg 4d21692f41 Regenerate docs/components-index.md 2026-11-12 14:32:49 +00:00
aiongg 5b9afb8f02 List stories as the old cards: layer-form List with eye column, rename and readout, and the Layers, Mask thumbnail and layer tree cards as List stories 2026-11-12 14:32:49 +00:00
aiongg 797b3b4bb1 Suite: the scroll frame case reads the rows in view, not the lead and anchor kept built out of view 2026-11-12 14:32:49 +00:00
aiongg 042d83d646 ListRow: an AccessKit Expand or Collapse on a group row's disclosure opens or closes it, as a click does 2026-11-12 14:32:49 +00:00
aiongg 57800761dd IconicColumn stories show the column at the end edge of a stage, as wide as the rail, so its cells show and its flyouts open over the stage 2026-11-12 14:32:49 +00:00
aiongg d8f604d8cb Rating's Sizes card lays out its stories as form rows, as the old card did 2026-11-12 14:32:49 +00:00
aiongg 11e34fe46c UndoList stories show the old card's data (30 steps, the newest three marked, the footer as the readout) and the list in a popover behind its button 2026-11-12 14:32:49 +00:00
aiongg 127f263731 FullWindowDialog story is the old Workspace card: Liquify with the view text, a Properties side column with Brush size, OK and Cancel, and Apply on request 2026-11-12 14:32:49 +00:00
aiongg 64b7c6c359 ToolbarDrawer story keeps the eraser and the clone stamp off the toolbar; its drag trial opens the drawer from the rail 2026-11-12 14:32:49 +00:00
aiongg c0fe97bb21 Stories show the old cards' states and data: Switch, Checkbox, Segmented, Rating, Badge, ConstraintFields readout, PresetBrowser library, CommandPalette entries and recents 2026-11-12 14:32:49 +00:00
aiongg 7f74158118 PanelMenu, IconPicker and ToolbarDrawer stories start closed behind their trigger 2026-11-12 14:32:49 +00:00
aiongg 301eb72bda Tool stories return their readout from the stage's measuring run, so the card keeps the readout line 2026-11-12 14:32:49 +00:00
aiongg 1daf4d94fb CellGrid story: the range holding the active cell comes last, so the two-range selection shows 2026-11-12 14:32:49 +00:00
aiongg a05363c900 EdgePicker and PeopleBar stories: the Row's inner is optional; following is set only for a followed person 2026-11-12 14:32:49 +00:00
aiongg f0e47b655e CellGrid: a column header cut narrower than its letters leaves them unpainted, as a cut row header does 2026-11-12 14:32:49 +00:00
aiongg f9fd385977 feature-root: craft-text with find, as the gallery takes it 2026-11-12 14:32:49 +00:00
aiongg aa08015546 KeyframeLane story: stopwatch and navigator on one line, the lane under them in a strip view fitted to 12 s at the stage width 2026-11-12 14:32:49 +00:00
aiongg 0a724a2342 FindReplaceDialog stories: built in the gallery (craft-text find feature), open bool, dialog kept while open 2026-11-12 14:32:49 +00:00
aiongg c7217355a5 PagePreview story: starts closed over the thumbnails of eight pages, with a last-event readout 2026-11-12 14:32:49 +00:00
aiongg e0215c57ec PeopleBar story: five people, one followed, a viewer, one spotlighting, Remove offered, last-event readout 2026-11-12 14:32:49 +00:00
aiongg 78e8349251 EdgePicker story: cell and paragraph pickers side by side with outer edges on and a last-event readout 2026-11-12 14:32:49 +00:00
aiongg 6df4c1ff7b TimelineRuler stories: Frames, Seconds and Minutes in one Ruler card 2026-11-12 14:32:49 +00:00
aiongg 24ea1e849e NotesEditor stories: the old five-paragraph speaker notes as Default 2026-11-12 14:32:49 +00:00
aiongg d27244eac7 GlyphsPanel stories: the editing panel is Default; the non-editing panel its own story 2026-11-12 14:32:49 +00:00
aiongg 31574e0bd4 SlicerCard stories: the region tiles inside the card, sized like the Slicer story 2026-11-12 14:32:49 +00:00
aiongg fca6431051 CellGrid stories: the sales sheet as Default (filters, error tag, two ranges, token line sizes); hidden column and merge in their own story 2026-11-12 14:32:49 +00:00
aiongg 864c93bacd ChartSheet story: the old Primitives card, a column chart and a doughnut in theme colours at the room's width 2026-11-12 14:32:49 +00:00
aiongg 8a7d2ca627 Layer Style dialog fits a scrolling dialog body: the effect list takes its natural height, the Styles grid shows five rows and scrolls the rest (PresetBrowser max_rows) 2026-11-12 14:32:49 +00:00
aiongg 9c8c6a93d2 Stories: Blend If and the Warp type-layer case start from the old sample values 2026-11-12 14:32:49 +00:00
aiongg 984ab316c1 Stories: ColorBalance keeps its value and tone in one value; SwatchPair well names are static 2026-11-12 14:32:49 +00:00