Skip to content

v0.1.5

Latest

Choose a tag to compare

@capy-ai capy-ai released this 14 Nov 04:33
· 173 commits to main since this release

This bumps Cipher to 0.1.5 and points the README install line and registry URL at v0.1.5. This body is the release notes.

v0.1.5 ships #31 and #32. Everything in it is additive. With no new props set, existing call sites behave as they do on v0.1.4.

Behavior changes

  • SortableList moved onto the shared sortable model (#31). Its keys, announcements and focus handling are unchanged. One fix: pressing a grip without dragging no longer leaves the item held.

New

  • SortableGrid (#31): items in responsive columns (minItemWidth) that a person puts in order. Each item places its grip from renderItem's handle, for example in a Card's action.
    • A pointer drag moves the item into the slot under the pointer.
    • From the keyboard, Left and Right move one place, and Up and Down move one row. Space or Enter picks up and drops, Escape cancels, and Alt with an arrow moves one step.
    • A held card takes the pop shadow, and isItemDisabled locks an item.
  • DataTable reorder (#31): { onReorder, isRowDisabled? } puts a grip at the start of the first column. A held row takes the selected surface, and the drop edge from data-drop-target shows where it will land, by pointer or Up and Down. onReorder runs once, on drop. It works on flat rows only; leave sort unset while it's on.
  • SortableHandle and SortableAnnouncer (#31): exported from sortable-list for custom sortable surfaces.
  • ErrorState homeLabel and homeLink (#32): the home link's label, and a CipherLink target that goes through the app's router. The home link is crash's secondary action and the default primary action on not-found and forbidden.
  • Glyphs (#32): award, scan-line, scan-search, radar, zap, vault, file-key and users. layout-grid and server are new names for the existing apps and machine shapes.