You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 38d21cb
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(web): use canonical shadcn slider (base-mira style)
Replace our hand-rolled slider.tsx with the exact upstream
`@shadcn` `base-mira` component via:
bunx --bun shadcn@latest add slider --overwrite
Differences vs the previous local copy are purely cosmetic and match
the current shadcn default:
- Track: `rounded-md bg-muted` with `h-1` (was `rounded-full
bg-muted-foreground/30 h-1.5`)
- Thumb: `size-3 rounded-md` (was `size-4 rounded-full`)
- Data-attr variants: `data-horizontal:` / `data-vertical:` short
form (was `data-[orientation=horizontal]:` / `-vertical:`)
Keeps us aligned with upstream so future `shadcn@latest add slider`
diffs stay empty. The `_values` fallback for the edge case of a
scalar-number `value` / `defaultValue` is preserved verbatim from
upstream — we do not locally patch shadcn components.
0 commit comments