Skip to content

v1.1.0

Choose a tag to compare

@mmdju mmdju released this 23 Nov 21:04
· 11 commits to main since this release

New components

Four additions, each a single file you copy and own:

  • premium-paywall — a support card that lets the reader pick the amount: a yearly / one-time switch, a price that rolls one digit at a time, and a detent slider with rubber-band ends and a caption that crossfades on every stop.
  • discrete-tabs — a row of icon pills where the active pill widens to reveal its label, with the pills reflowing on a spring and the label materialising out of a blur.
  • filter-menu — a round filter button that grows into a panel of filter rows, while a second circle beside it carries the icon of the active filter.
  • scan-document — a scan button that folds open a small paper card, flips it twice and sweeps a beam over both faces, then reports the result.

Each ships with Persian copy, RTL-first geometry, keyboard support and a prefers-reduced-motion path.

Repository sync

Every component in this repository was regenerated from the site, so all 76 are back at their latest version — including the earlier accordion-os fix. node scripts/check.mjs is green: 76 components, 274 files.

Notes

  • filter-menu and scan-document carry an autoPreview prop. It is a site-preview convenience only (the panel opens and folds back on its own; the scan runs and repeats) and is off by default.
  • Install is unchanged:
npx shadcn@latest add @farsify/premium-paywall

Full diff: v1.0.1...v1.1.0