foss-design 0.1.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/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/cli.js +3064 -0
- package/dist/runtime/base.css +8 -0
- package/dist/runtime/index.js +357 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/dist/viewer/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-500-normal-ByOcLdNv.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-500-normal-CocWQlwt.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-600-normal-71GNu3SW.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-600-normal-BGq0mW3O.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-ext-500-normal-Cs5J6C77.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-ext-500-normal-DB5PtV2g.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-ext-600-normal-Bz0x94Yp.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-cyrillic-ext-600-normal-DUMzJB7m.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-greek-500-normal-CuWXN6rf.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-greek-500-normal-JMMifIXV.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-greek-600-normal-D-CqTdkO.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-greek-600-normal-DzTrcv_p.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-ext-500-normal-D0aIdm-b.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-ext-500-normal-DakdToA3.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-ext-600-normal-DIrixKbi.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-latin-ext-600-normal-DOrvGEcy.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-vietnamese-500-normal-BEb3_waV.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-vietnamese-500-normal-e4dixQRQ.woff2 +0 -0
- package/dist/viewer/assets/ibm-plex-sans-vietnamese-600-normal-DgdngZtN.woff +0 -0
- package/dist/viewer/assets/ibm-plex-sans-vietnamese-600-normal-DpPYBSTl.woff2 +0 -0
- package/dist/viewer/assets/index-Blh90C72.css +2 -0
- package/dist/viewer/assets/index-CN6gdSK-.js +166 -0
- package/dist/viewer/favicon.svg +1 -0
- package/dist/viewer/index.html +23 -0
- package/package.json +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="7" fill="#1b1f24"/><rect x="7" y="7" width="8" height="11" rx="1.5" fill="#fff"/><rect x="17" y="7" width="8" height="6" rx="1.5" fill="#f0a040"/><rect x="17" y="15" width="8" height="10" rx="1.5" fill="#fff"/><rect x="7" y="20" width="8" height="5" rx="1.5" fill="#fff"/></svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
6
|
+
<meta name="color-scheme" content="light dark" />
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
8
|
+
<title>Design</title>
|
|
9
|
+
<script>
|
|
10
|
+
// Apply the saved theme before first paint.
|
|
11
|
+
try {
|
|
12
|
+
var t = localStorage.getItem('foss-design.theme') || 'system'
|
|
13
|
+
var dark = t === 'dark' || (t === 'system' && matchMedia('(prefers-color-scheme: dark)').matches)
|
|
14
|
+
document.documentElement.dataset.theme = dark ? 'dark' : 'light'
|
|
15
|
+
} catch (e) {}
|
|
16
|
+
</script>
|
|
17
|
+
<script type="module" crossorigin src="./assets/index-CN6gdSK-.js"></script>
|
|
18
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Blh90C72.css">
|
|
19
|
+
</head>
|
|
20
|
+
<body>
|
|
21
|
+
<div id="root"></div>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "foss-design",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Design canvases and design systems for coding agents: live, animated, clickable screens on an infinite canvas, served locally from a .design folder.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Wiolett Industries",
|
|
8
|
+
"homepage": "https://github.com/wiolett-industries/foss-design#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/wiolett-industries/foss-design.git",
|
|
12
|
+
"directory": "packages/design"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/wiolett-industries/foss-design/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"design",
|
|
19
|
+
"canvas",
|
|
20
|
+
"design-system",
|
|
21
|
+
"prototype",
|
|
22
|
+
"mockup",
|
|
23
|
+
"agents",
|
|
24
|
+
"claude-code",
|
|
25
|
+
"codex",
|
|
26
|
+
"vite"
|
|
27
|
+
],
|
|
28
|
+
"bin": {
|
|
29
|
+
"foss-design": "./dist/cli.js",
|
|
30
|
+
"design": "./dist/cli.js"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"README.md",
|
|
35
|
+
"LICENSE"
|
|
36
|
+
],
|
|
37
|
+
"exports": {
|
|
38
|
+
"./runtime": "./dist/runtime/index.js",
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=20.19"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "pnpm build:viewer && pnpm build:node",
|
|
46
|
+
"build:node": "tsup",
|
|
47
|
+
"build:viewer": "vite build --config viewer/vite.config.ts",
|
|
48
|
+
"dev": "tsup --watch",
|
|
49
|
+
"dev:viewer": "vite --config viewer/vite.config.ts",
|
|
50
|
+
"typecheck": "tsc -p tsconfig.json && tsc -p viewer/tsconfig.json",
|
|
51
|
+
"prepublishOnly": "pnpm typecheck && pnpm build"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
55
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
56
|
+
"clsx": "^2.1.1",
|
|
57
|
+
"lucide-react": "^1.48.0",
|
|
58
|
+
"modern-screenshot": "^4.7.0",
|
|
59
|
+
"motion": "^13.4.4",
|
|
60
|
+
"playwright-core": "^1.63.0",
|
|
61
|
+
"postcss": "^8.5.28",
|
|
62
|
+
"react": "^19.3.0",
|
|
63
|
+
"react-dom": "^19.3.0",
|
|
64
|
+
"sirv": "^3.0.2",
|
|
65
|
+
"tailwind-merge": "^3.7.0",
|
|
66
|
+
"tailwindcss": "^4.3.3",
|
|
67
|
+
"vite": "^8.3.1",
|
|
68
|
+
"zod": "^4.6.5"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@fontsource/ibm-plex-mono": "^5.3.0",
|
|
72
|
+
"@fontsource/ibm-plex-sans": "^5.3.0",
|
|
73
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
74
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
75
|
+
"@radix-ui/react-popover": "^1.1.23",
|
|
76
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
77
|
+
"@tanstack/react-query": "^5.104.0",
|
|
78
|
+
"@types/node": "^24.13.6",
|
|
79
|
+
"@types/react": "^19.3.0",
|
|
80
|
+
"@types/react-dom": "^19.3.0",
|
|
81
|
+
"marked": "^18.0.14",
|
|
82
|
+
"sugar-high": "^2.5.0",
|
|
83
|
+
"tsup": "^8.5.1",
|
|
84
|
+
"typescript": "^7.0.2",
|
|
85
|
+
"wouter": "^3.11.0"
|
|
86
|
+
}
|
|
87
|
+
}
|