foss-design 0.4.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli.js +3261 -2568
- package/dist/runtime/index.js +105 -6
- package/dist/viewer/assets/{index-k3bj-XTr.js → index-D6sHcSw6.js} +48 -48
- package/dist/viewer/index.html +1 -1
- package/dist/viewer-lib/index.js +98 -13
- package/dist/viewer-lib/types/src/shared/routes.d.ts +37 -0
- package/dist/viewer-lib/types/src/shared/types.d.ts +13 -0
- package/dist/viewer-lib/types/viewer/src/lib/frames.d.ts +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Or install the `design` command globally: `npm i -g foss-design`.
|
|
|
21
21
|
- **A design system.** `.design/system/` holds `tokens.css` (light and dark CSS variables mapped to Tailwind v4 utilities), components importable as `@system/components/…`, specimens, guidelines and assets. The viewer renders it as a style guide at `/system`.
|
|
22
22
|
- **Batteries.** Every screen gets Tailwind v4 with the tokens, React, `motion`, `lucide-react`, `clsx` and `tailwind-merge`, even in projects without them; the project's own packages and `design.json` aliases work too. `import { go, useTheme, useScreen } from '@design/runtime'` links screens into prototypes.
|
|
23
23
|
- **Checks for agents.** `design check --render` loads every screen in Chrome and reports errors; `design shot` writes PNGs an agent can look at.
|
|
24
|
-
- **Sharing.** `design build --tar` produces a static site of the canvases and the system for any static host, or [foss-design Cloud](https://fossdesign.dev) syncs `.design` between machines and people: `design login`, `design link`, `design push`, `design pull
|
|
24
|
+
- **Sharing.** `design build --tar` produces a static site of the canvases and the system for any static host, or [foss-design Cloud](https://fossdesign.dev) syncs `.design` between machines and people: `design login`, `design link`, `design push`, `design pull`, and `design canvases`, `url`, `history`, `rollback`, `publish`, `archive` to manage canvases there.
|
|
25
25
|
|
|
26
26
|
## Commands
|
|
27
27
|
|