Commit Graph
2260 Commits
Author SHA1 Message Date
aiongg 477b080845 Title rows: a note runs on after the title in muted body text, and the subtitle sits at the band's end in muted caption text; the gallery card shows its story name as the note, the Inspector its target's kind as the subtitle 2026-11-12 14:32:50 +00:00
aiongg b54195e805 One path row: PathRow, a path field and a Browse button that reports the press; ParamRows and Watermark ask with a PathRequest, PathField picks through the file service 2026-11-12 14:32:50 +00:00
aiongg 8de5a82799 TitleBar stories show the app's menu bar at the leading end and icon buttons at the trailing end 2026-11-12 14:32:50 +00:00
aiongg 52f76fe25e FindingsList stories show the summary line over the list, as a host shows them 2026-11-12 14:32:50 +00:00
aiongg 46258cb5cc ReferencePoint: the large picker's cells are a standard control high, as the old Canvas Size picker; its Default story shows the growth arrows around the centre pick 2026-11-12 14:32:50 +00:00
aiongg 46b36bae39 Inline slider fields show the slider and then the number field, as Photoshop's dialog rows; PictureFillEditor's Transparency is one labelled row of them 2026-11-12 14:32:50 +00:00
aiongg 2774b6010e Form-rows cards: the stories' column is as wide as its widest story and the values follow it, so each slider's value sits beside its track 2026-11-12 14:32:50 +00:00
aiongg 66134ff430 Colour picks show a swatch: Save for Web's Matte, the parameter rows' colour and New Document's background open the picker from a swatch of the colour, mixed while unset, in place of a button with the hex code 2026-11-12 14:32:50 +00:00
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