Skip to content

v1.37.0: a drawer beside a live page, rich option rows, charts that report the cursor

Choose a tag to compare

@robritacca-dotcom robritacca-dotcom released this 25 Nov 03:29
· 103 commits to main since this release

A drawer can now sit beside a live page, select options carry a second line and a trailing value, and charts report the point under the cursor. This release also publishes the markdown mappers as their own subpath and adds two blocks. Nothing published was removed; the visual changes are listed under Changed.

New

  • Drawer: modal and layout. modal={false} leaves the page live beside the panel, for a detail view that follows a list: no scrim, no focus trap, no scroll lock, and a press outside never closes it. Escape and the close button still do. layout="floating" holds the panel off every edge as a raised card. Both default to what Drawer did before.
  • Rich option rows in Dropdown and Combobox. A Dropdown option takes description (a second line) and trailing (a value at the row's end); a Combobox option takes icon (a Material Symbol name or any element, such as an Avatar) and trailing. The closed control still shows the label, and typing still matches the label alone.
  • onActiveChange on AreaChart, LineChart, BarChart, StackedBarChart and ComboChart. It reports the row of data under the pointer or the keyboard cursor and its index, and null, null once neither is on the plot, so a headline outside the chart can follow the cursor. ChartActiveHandler is the callback's type.
  • rift-ds/markdown. MarkdownCode, MarkdownScrollTable and markdownComponents map a markdown renderer's fenced blocks and tables onto the system's CodeBlock and a scrolling table inside Prose. It brings no renderer and no dependencies; the chat's replies use the same two.
  • Instructions: a step's description takes rich content (ReactNode, where it was a string).
  • NavList: an item takes an icon, a Material Symbol name or any element.
  • CommandPalette highlights the typed match in labels and descriptions.
  • ShaderScene on a light page. A night scene is now laid on as a deepened ink of its first colour, so it no longer washes out to white.

Changed

  • Light mode in Zest, Signal, Forest, Blueprint and Ember. Zest, Signal, Forest and Blueprint put the page and an app's surface on white, with cards and the app shell on the grey. Zest's action is a forest fill under a lime label; Ember and Signal deepen their action fills until a white label holds AA. Ember, Signal and Zest also gain a pressed state one step deeper than hover. Dark mode is unchanged.
  • CommandPalette labels step back while you filter, so the highlighted match carries the emphasis. It does not apply under manualFiltering.
  • A vertical Instructions step fills the step's width.

Blocks

  • npx rift-ds init block landing and npx rift-ds init block pricing scaffold a landing page and a pricing page on a shared marketing shell.
npm install rift-ds@1.37.0