Пакети / Інтерфейс
@tykonpm/ui
v0.2.1Спільні UI-примітиви й профілі сервісів на Radix.
$ npm i @tykonpm/ui
Shared UI kit for the Tyko ecosystem (TykoDevStudio, TykoLive, MultiLangual, and later MyRotary UA Hub / Petrov).
Rules
- Never hardcode colors: components reference Tailwind theme tokens (
bg-background,text-foreground,border-input, …) provided by the consuming app. - Site-specific dimensions live in profiles (
profiles.ts,form-profiles.ts), not in component code. Add a new site by adding a new profile, never by branching a component. - The
service/*set is the verbatim shared source for TykoLive and MultiLangual; both apps re-export from here. Visual changes must keep both sites pixel-identical unless a profile change is intentional. chart.tsxdepends onrecharts;sonner.tsxonsonner;input-otp.tsxoninput-otp;resizable.tsxonreact-resizable-panels. Keep them as regular dependencies.
Build & publish
Same flow as the image packages: bun run build (tsup), versioned with changesets, published to npm as @tykonpm/ui with public access.