Repository navigation
v1.37.0: a drawer beside a live page, rich option rows, charts that report the cursor
·
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:
modalandlayout.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) andtrailing(a value at the row's end); a Combobox option takesicon(a Material Symbol name or any element, such as an Avatar) andtrailing. The closed control still shows the label, and typing still matches the label alone. onActiveChangeon AreaChart, LineChart, BarChart, StackedBarChart and ComboChart. It reports the row ofdataunder the pointer or the keyboard cursor and its index, andnull, nullonce neither is on the plot, so a headline outside the chart can follow the cursor.ChartActiveHandleris the callback's type.rift-ds/markdown.MarkdownCode,MarkdownScrollTableandmarkdownComponentsmap a markdown renderer's fenced blocks and tables onto the system's CodeBlock and a scrolling table insideProse. It brings no renderer and no dependencies; the chat's replies use the same two.- Instructions: a step's
descriptiontakes 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 landingandnpx rift-ds init block pricingscaffold a landing page and a pricing page on a shared marketing shell.
npm install rift-ds@1.37.0