Skip to content

v0.0.7

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 17:07
· 2 commits to main since this release

Added

  • toggle: iOS style switch whose thumb breaks into grains, flows to the other end of the track on a slight arc and reassembles there while the track fills with the on color. Tap or swipe the thumb, a selection tick per flip. React Native and React.
  • progress-steps: steps for multi step flows in two looks. variant="numbers": numbered discs on a hairline, the current disc streams along the line in grains to the next step, filling it, and back. variant="bars": story style segments with no numbers, the fill runs on with its head gathering from grains, and sheds them as dust going back. React Native and React.
  • elastic-slider: thick rounded slider in the spirit of the iOS Control Center. The label and value invert their color over the fill, the value rolls digit by digit, and pulled past either end the track stretches like a rubber band, then snaps back with a bounce. React Native and React.
  • shadcn registry: every component installs with the shadcn CLI, npx shadcn@latest add https://dissolve.rselmi.com/r/<name>.json for React and .../r/native/<name>.json for React Native. Shared files (engine, kit, the React hook, tw primitives, helpers) and the theme tokens are their own items, pulled in as dependencies. Built from registry/ by scripts/build-shadcn.mjs into web/r, as part of npm run web:stamp. Component pages show the command under the dissolve-ui one.

Changed

  • Web: the rain effect draws adjacent settled grains in a row together when aligned to device pixels, reducing Canvas 2D calls as the view comes together.

npm: https://www.npmjs.com/package/dissolve-ui/v/0.0.7