Skip to content

v0.1.3

Choose a tag to compare

@capy-ai capy-ai released this 14 Nov 02:25
· 249 commits to main since this release

Bumps Cipher to 0.1.3. The README now installs #v0.1.3, pins the registry example to v0.1.3, and points to the releases page for the latest tag. This body is the release notes.

Breaking or behavior changes

These change what existing call sites render. Check them in the v4 app and in license-server-go when you bump.

  • DataList borders (#24). Lines now sit only between pairs (.dataPair + .dataPair), so a DataList no longer ends with a line under its last item. In compact density, when the list opens with a half-width pair, the first visual row has no top edge. Default spacing is unchanged. Any app CSS that hid or replaced the trailing line can go.
  • DataTable grouped rows (#24, #28).
    • Depth. Rows under groups now start at depth 0, so only getRowChildren rows indent. Grouped tables that looked indented (such as the app's Approval Policies) lose that indent.
    • Shade. Group header rows now use --cipher-paper instead of the header's --cipher-tint, so they stand apart from the header row.
    • Checkbox. In a selectable grouped DataTable, each group row now draws a tri-state checkbox. It selects every selectable row in the group, children included, and it stays in sync with the header select-all. Call sites get it without any change; check that the selection handlers expect whole-group selections.
  • Halftone (#27).
    • Hover effect. Hovering a Card no longer zooms the pattern into larger cells. It grows outward from the anchor at the same cell size, over about a second.
    • Hover strength. halftone-peak-hover rises to 90% in Light and Dark (from 60% and 30%), so every Halftone in a hovered Card reads much stronger.
    • New props. bounds="header", size, reveal="hover" and ambient are opt-in, and a Halftone with none of them set keeps its resting look.
  • Item (#25). Below the 44rem container breakpoint, badges stay beside the title and only meta moves to the end of the title row. Actions with no visible text (an icon button, an icon group or a RowActions menu) now stay inline at every width.
  • Card hint (#25). When a framed Card title is a fragment with a Badge, the dotted hint underline now covers only the text before the first Badge.
  • Boot theme (#25). readBootTheme follows prefers-color-scheme when no preference is stored. It used to fall back to Dark. storageKeys and keys also accept a single key.
  • Calendar (#13). Range ends and a single selected day use the select fill with the selected border instead of solid ink. Days between the ends sit on a quiet band, and today is a dot instead of a fill.

New

  • SortableList (#12). Reorderable rows with a grip handle, keyboard pick up, move and drop, a live region, and onReorder once per committed move. It adds a grip glyph.
  • DateRangePicker and FilterBar (#13). DateRangePicker opens Calendar in range mode with presets. FilterBar gets a "date-range" field type.
  • Field widths (#26). width="xs" | "sm" | "md" on Input (boxed and plain), Select, SelectTrigger and Combobox, backed by new tokens --cipher-size-field-xs, -sm and -md (96, 176 and 256px). A set width doesn't shrink. With no width, fields fill the row as before.
  • Layout (#26). RadioGroup columns={2 | 3 | 4}, and <InlineGrow>, an Inline child that takes the leftover width.
  • TableGroupRow (#28). A group header row for a hand-built Table, with label, meta, actions, a checkbox slot and colSpan. DataTableGroup takes an optional name for its checkbox label.
  • CSS lint (#24). npm run check now flags a border-bottom on *Row, *Pair or *Item selectors that never reset it for the last row.

Not in this release

These are still open and wait for a later release: #5 (sheet steps, advance on pick, field errors, unclipped focus rings), #14 (icon components, ErrorState action, Card description node, Combobox groups, no number spinners), #15 (DataTable wrap, refreshing, summary row and more), #16 (DatePicker, apply-mode DateRangePicker, search-only FilterBar and more), #17 (first-control focus in Sheet and Dialog, untitled Alert, ActivityLog and more) and #18 (Card badges and selected state, CardChoice, StatCard).