{"_id":"@a3tai/mittsu-svelte5","name":"@a3tai/mittsu-svelte5","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@a3tai/mittsu-svelte5","version":"0.1.0","description":"Svelte 5 component sources for @a3tai/mittsu. Distributed via the CLI; not imported at runtime.","homepage":"https://mittsu.dev","repository":{"type":"git","url":"git+https://github.com/a3tai/mittsu.git","directory":"packages/svelte5"},"bugs":{"url":"https://github.com/a3tai/mittsu/issues"},"private":false,"type":"module","scripts":{"check":"svelte-check --tsconfig ./tsconfig.json"},"peerDependencies":{"svelte":"^5.0.0","bits-ui":"^2.0.0","@internationalized/date":"^3.0.0"},"peerDependenciesMeta":{"bits-ui":{"optional":true},"@internationalized/date":{"optional":true}},"devDependencies":{"svelte":"^5.0.0","svelte-check":"^4.0.0","typescript":"^5.6.3"},"keywords":["svelte","svelte5","ui","components","shadcn","macos","native"],"license":"MIT","gitHead":"692a1837645a4dfad05bdcc55ef0a586acbddc93","_id":"@a3tai/mittsu-svelte5@0.1.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-LW28Wf6tgxldtNqBRbZCMv5dgsctotKq3+6AApCjhJ9I/Tw5PMI9+G4KQnCtu/rvfjYRO/smVqzkg7NAvP/QbQ==","shasum":"f5b42e101142ac846c3b044dc0efb48e13a218a3","tarball":"https://registry.npmjs.org/@a3tai/mittsu-svelte5/-/mittsu-svelte5-0.1.0.tgz","fileCount":174,"unpackedSize":277763,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGu4/XOFSrKsJvX/DCSCcoZLQNgROL9Xr8B7M6BVfcDyAiEAqRpihYxrmYtlND9OKS2iaMuE1LCJ9AtA1lvaY7Zuk6A="}]},"_npmUser":{"name":"a3tai","email":"steve@a3t.ai"},"directories":{},"maintainers":[{"name":"a3tai","email":"steve@a3t.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mittsu-svelte5_0.1.0_1778406595056_0.27009551625521877"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-10T09:49:54.961Z","0.1.0":"2026-05-10T09:49:55.205Z","modified":"2026-05-10T09:49:55.404Z"},"maintainers":[{"name":"a3tai","email":"steve@a3t.ai"}],"description":"Svelte 5 component sources for @a3tai/mittsu. Distributed via the CLI; not imported at runtime.","homepage":"https://mittsu.dev","keywords":["svelte","svelte5","ui","components","shadcn","macos","native"],"repository":{"type":"git","url":"git+https://github.com/a3tai/mittsu.git","directory":"packages/svelte5"},"bugs":{"url":"https://github.com/a3tai/mittsu/issues"},"license":"MIT","readme":"# @a3tai/mittsu-svelte5\n\nSvelte 5 component sources for `@a3tai/mittsu`.\n\nThe package follows a source-first model: components are plain Svelte\nfiles paired with sibling global CSS files. Distribution happens through\nthe `@a3tai/mittsu` CLI — you copy the source into your project and own\nthe code from the moment it lands. There is no runtime import surface.\n\n## Install\n\n```bash\nnpx @a3tai/mittsu init\nnpx @a3tai/mittsu add button input dialog popover\n```\n\n`init` writes a `components.json` to your project root and copies the\nshared tokens (`tokens/tokens.css`) and `lib/cn.ts` utility. `add` copies\nthe requested components — sibling dependencies are pulled in\nautomatically (e.g. `search-input` brings `input` and `kbd`).\n\nSome components have soft peer dependencies you'll only need if you use\nthose specific components:\n\n```bash\n# overlays / popovers / menus / select / combobox\nnpm install bits-ui\n\n# date-aware components (Calendar, DatePicker, etc.)\nnpm install @internationalized/date\n```\n\n## Components\n\nComponents are grouped by category in `components/`:\n\n- **Form**: `Button`, `Input`, `Textarea`, `Checkbox`, `Switch`, `Toggle`,\n  `RadioGroup`, `Slider`, `NumberInput`, `PinInput`, `PasswordInput`, `Select`, `Combobox`, `Field`\n- **Overlay**: `Dialog`, `AlertDialog`, `Popover`, `Tooltip`, `Sheet`,\n  `Drawer`, `DropdownMenu`, `ContextMenu`, `Command`, `Toast`\n- **Layout**: `Container`, `Stack`, `HStack`, `VStack`, `Flex`, `Box`,\n  `Section`, `ScrollArea`, `AspectRatio`, `Skeleton`\n- **Data**: `Table`, `List`, `VirtualList`, `Calendar`, `Avatar`, `Badge`,\n  `Kbd`, `Spinner`\n- **Navigation**: `Tabs`, `Breadcrumb`, `Accordion`, `Collapsible`\n- **Feedback**: `Toast`, `Empty`, `Progress`\n\nThe full registry is in `registry.json`. See [ROADMAP.md](https://github.com/a3tai/mittsu/blob/main/ROADMAP.md)\nfor the full catalog and [PLAN.md](https://github.com/a3tai/mittsu/blob/main/PLAN.md)\nfor the wave-based shipping order.\n\n## Tokens\n\n`tokens/tokens.css` exposes the design system as CSS variables prefixed\nwith `--uin-*` (color, spacing, motion, radius, font). The file is\ncopied into your project by `mittsu init` and is meant to be edited —\nswap palettes, retune motion durations, or add brand-specific tokens\nwithout modifying any component source.\n\nThe package also exposes the source tree directly so you can import via\npackage path during development:\n\n```css\n@import '@a3tai/mittsu-svelte5/tokens/tokens.css';\n@import '@a3tai/mittsu-svelte5/components/button/button.css';\n```\n\nIn production you should let the CLI copy these files in instead — that\nway you own them and can edit freely.\n\n## Local development\n\n```bash\nnpm --workspace @a3tai/mittsu-svelte5 run check\n```\n\nThe companion package `@a3tai/mittsu-charts` ships D3-powered chart\ncomponents that share the same token system and source-first model.\n","readmeFilename":"README.md","_rev":"1-42ffd92a2368c7d29847e773e0d55ce7"}