@multicomma/arkcn 0.1.1 → 0.1.3
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 +7 -0
- package/cli/commands.mjs +1 -1
- package/cli/registry.mjs +1 -0
- package/package.json +42 -32
- package/registry/index.json +1578 -156
- package/registry/items/accordion.json +313 -1
- package/registry/items/activity-feed.json +426 -2
- package/registry/items/alert-dialog.json +694 -1
- package/registry/items/alert.json +120 -1
- package/registry/items/angle-slider.json +391 -1
- package/registry/items/app-shell.json +2712 -3
- package/registry/items/aspect-ratio.json +39 -0
- package/registry/items/attachment.json +311 -2
- package/registry/items/avatar.json +224 -1
- package/registry/items/badge.json +49 -1
- package/registry/items/breadcrumb.json +201 -1
- package/registry/items/bubble.json +153 -1
- package/registry/items/button-group.json +118 -2
- package/registry/items/button.json +57 -1
- package/registry/items/calendar.json +504 -2
- package/registry/items/canvas.json +466 -4
- package/registry/items/card.json +202 -1
- package/registry/items/carousel.json +217 -2
- package/registry/items/cascader.json +821 -4
- package/registry/items/chart.json +1773 -2
- package/registry/items/chat.json +1037 -3
- package/registry/items/checkbox.json +516 -1
- package/registry/items/clipboard.json +320 -1
- package/registry/items/collapsible.json +234 -0
- package/registry/items/color-picker.json +1295 -1
- package/registry/items/combobox.json +1154 -2
- package/registry/items/command.json +857 -2
- package/registry/items/comment-thread.json +988 -5
- package/registry/items/context-menu.json +1372 -2
- package/registry/items/data-grid.json +470 -5
- package/registry/items/data-table.json +1345 -4
- package/registry/items/date-input.json +488 -1
- package/registry/items/dialog.json +608 -1
- package/registry/items/direction.json +33 -1
- package/registry/items/drawer.json +818 -1
- package/registry/items/dropdown-menu.json +1338 -2
- package/registry/items/editable.json +517 -1
- package/registry/items/empty.json +175 -1
- package/registry/items/field.json +300 -3
- package/registry/items/file-upload.json +656 -1
- package/registry/items/floating-panel.json +738 -1
- package/registry/items/floating-toolbar.json +47 -1
- package/registry/items/format.json +116 -0
- package/registry/items/gantt.json +801 -4
- package/registry/items/{use-mobile.json → hooks/use-mobile.json} +5 -1
- package/registry/items/hotkeys.json +110 -2
- package/registry/items/hover-card.json +368 -1
- package/registry/items/image-cropper.json +442 -1
- package/registry/items/input-group.json +199 -2
- package/registry/items/input-otp.json +188 -1
- package/registry/items/input.json +32 -1
- package/registry/items/item.json +322 -2
- package/registry/items/json-tree-view.json +342 -1
- package/registry/items/kanban.json +653 -4
- package/registry/items/kbd.json +59 -1
- package/registry/items/label.json +32 -1
- package/registry/items/{controllable.json → lib/controllable.json} +5 -1
- package/registry/items/{data-table-adapter.json → lib/data-table-adapter.json} +3 -1
- package/registry/items/{drag-preview.json → lib/drag-preview.json} +5 -1
- package/registry/items/{form.json → lib/form.json} +5 -1
- package/registry/items/{history.json → lib/history.json} +5 -1
- package/registry/items/{row-layout.json → lib/row-layout.json} +7 -1
- package/registry/items/lib/table.json +20 -0
- package/registry/items/{time.json → lib/time.json} +6 -1
- package/registry/items/{utils.json → lib/utils.json} +5 -1
- package/registry/items/live-region.json +48 -1
- package/registry/items/marker.json +103 -1
- package/registry/items/marquee.json +310 -1
- package/registry/items/menubar.json +1308 -3
- package/registry/items/message.json +175 -1
- package/registry/items/navigation-menu.json +578 -2
- package/registry/items/node-graph.json +1070 -3
- package/registry/items/number-input.json +533 -1
- package/registry/items/pagination.json +254 -2
- package/registry/items/password-input.json +322 -1
- package/registry/items/popconfirm.json +580 -2
- package/registry/items/popover.json +632 -1
- package/registry/items/progress.json +531 -1
- package/registry/items/qr-code.json +259 -1
- package/registry/items/query-builder.json +1400 -4
- package/registry/items/radio-group.json +375 -1
- package/registry/items/rating-group.json +315 -1
- package/registry/items/resizable.json +248 -2
- package/registry/items/rich-text-editor.json +953 -3
- package/registry/items/scheduler.json +1048 -4
- package/registry/items/scroll-area.json +238 -1
- package/registry/items/segment-group.json +376 -1
- package/registry/items/select.json +982 -1
- package/registry/items/separator.json +49 -2
- package/registry/items/sheet.json +608 -1
- package/registry/items/sidebar.json +814 -4
- package/registry/items/signature-pad.json +342 -1
- package/registry/items/skeleton.json +32 -1
- package/registry/items/slider.json +816 -1
- package/registry/items/sonner.json +138 -0
- package/registry/items/spinner.json +32 -1
- package/registry/items/steps.json +500 -1
- package/registry/items/swap.json +113 -1
- package/registry/items/switch.json +373 -1
- package/registry/items/table.json +225 -5
- package/registry/items/tabs.json +337 -1
- package/registry/items/tags-input.json +657 -1
- package/registry/items/textarea.json +32 -1
- package/registry/items/timer.json +300 -1
- package/registry/items/toc.json +385 -1
- package/registry/items/toggle-group.json +222 -3
- package/registry/items/toggle.json +132 -1
- package/registry/items/tooltip.json +429 -1
- package/registry/items/tour.json +518 -1
- package/registry/items/transfer-list.json +630 -4
- package/registry/items/tree-select.json +764 -4
- package/registry/items/tree-view.json +818 -1
- package/registry/items/virtual-list.json +224 -2
- package/src/components/ui/app-shell.tsx +11 -0
- package/src/components/ui/attachment.tsx +1 -0
- package/src/components/ui/calendar.tsx +1 -0
- package/src/components/ui/canvas.tsx +8 -0
- package/src/components/ui/carousel.tsx +3 -0
- package/src/components/ui/cascader.tsx +1 -0
- package/src/components/ui/chart.tsx +10 -0
- package/src/components/ui/combobox.tsx +3 -0
- package/src/components/ui/command.tsx +1 -0
- package/src/components/ui/comment-thread.tsx +11 -0
- package/src/components/ui/context-menu.tsx +6 -0
- package/src/components/ui/data-grid.tsx +8 -0
- package/src/components/ui/data-table.tsx +6 -0
- package/src/components/ui/direction.tsx +2 -0
- package/src/components/ui/dropdown-menu.tsx +6 -0
- package/src/components/ui/field.tsx +1 -0
- package/src/components/ui/gantt.tsx +15 -0
- package/src/components/ui/hotkeys.tsx +3 -0
- package/src/components/ui/kanban.tsx +3 -0
- package/src/components/ui/menubar.tsx +6 -0
- package/src/components/ui/navigation-menu.tsx +1 -0
- package/src/components/ui/node-graph.tsx +23 -0
- package/src/components/ui/pagination.tsx +1 -0
- package/src/components/ui/query-builder.tsx +7 -0
- package/src/components/ui/resizable.tsx +1 -0
- package/src/components/ui/rich-text-editor.tsx +54 -0
- package/src/components/ui/scheduler.tsx +26 -0
- package/src/components/ui/separator.tsx +1 -0
- package/src/components/ui/sidebar.tsx +5 -0
- package/src/components/ui/toggle-group.tsx +3 -0
- package/src/components/ui/transfer-list.tsx +11 -0
- package/src/components/ui/tree-select.tsx +5 -0
- package/src/components/ui/virtual-list.tsx +7 -0
package/README.md
CHANGED
|
@@ -69,6 +69,13 @@ react-day-picker, input-otp, react-resizable-panels, sonner, next-themes) are op
|
|
|
69
69
|
|
|
70
70
|
The demo application lives in the `arkcn-demo` repository.
|
|
71
71
|
|
|
72
|
+
## Docs
|
|
73
|
+
|
|
74
|
+
The documentation site lives in `docs/` (Vite, base path `/arkcn/`) and reads the registry, so component
|
|
75
|
+
pages are generated; live examples are in `docs/src/examples`. `npm run docs:dev` serves it,
|
|
76
|
+
`npm run docs:build` writes `docs/dist` with an `index.html` per route (no SPA fallback needed): upload
|
|
77
|
+
that folder to `multicomma.com/arkcn`.
|
|
78
|
+
|
|
72
79
|
## Develop
|
|
73
80
|
|
|
74
81
|
```bash
|
package/cli/commands.mjs
CHANGED
|
@@ -107,7 +107,7 @@ export async function init(cwd, registry, flags) {
|
|
|
107
107
|
else ok(`${vite.file} already has the alias and the Tailwind plugin`)
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
const { items } = await registry.closure(["utils"])
|
|
110
|
+
const { items } = await registry.closure(["lib/utils"])
|
|
111
111
|
for (const item of items) writeItem(cwd, config, item, { overwrite: false })
|
|
112
112
|
ok(`Wrote ${targetPath(config, "lib/utils.ts")}`)
|
|
113
113
|
|
package/cli/registry.mjs
CHANGED
|
@@ -26,6 +26,7 @@ export function createRegistry(base) {
|
|
|
26
26
|
source: remote ? base : "bundled",
|
|
27
27
|
index: () => cached("index.json", JSON.parse),
|
|
28
28
|
item: (name) => cached(`items/${name}.json`, JSON.parse).catch(() => null),
|
|
29
|
+
itemPath: (name) => `items/${name}.json`,
|
|
29
30
|
baseCss: () => cached("base.css", (s) => s),
|
|
30
31
|
/** Every item needed to install `names`, dependencies first, each once. */
|
|
31
32
|
async closure(names) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multicomma/arkcn",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "arkcn: shadcn/ui-style components ported to Ark UI, plus data-heavy primitives (data grid, kanban, gantt, scheduler, node graph, ...). Tailwind v4. Ships a copy-into-your-project CLI and an MCP server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,29 +24,24 @@
|
|
|
24
24
|
"./package.json": "./package.json"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
27
|
+
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p docs/tsconfig.json --noEmit",
|
|
28
28
|
"lint": "oxlint --deny-warnings && node scripts/check-quotes.mjs && node scripts/check-ark-parts.mjs && npm run -s format:check",
|
|
29
|
-
"format": "prettier --write \"src/**/*.{ts,tsx,css}\" \"{scripts,cli,bin,mcp}/**/*.mjs\" \"*.{json,md}\"",
|
|
30
|
-
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\" \"{scripts,cli,bin,mcp}/**/*.mjs\" \"*.{json,md}\"",
|
|
29
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,css}\" \"docs/src/**/*.{ts,tsx,css}\" \"docs/content/*.md\" \"{scripts,cli,bin,mcp}/**/*.mjs\" \"*.{json,md}\"",
|
|
30
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\" \"docs/src/**/*.{ts,tsx,css}\" \"docs/content/*.md\" \"{scripts,cli,bin,mcp}/**/*.mjs\" \"*.{json,md}\"",
|
|
31
31
|
"check": "npm run -s build:registry && npm run -s typecheck && npm run -s lint && npm run -s test:cli",
|
|
32
32
|
"build:registry": "node scripts/build-registry.mjs",
|
|
33
33
|
"test:cli": "node scripts/test-cli.mjs",
|
|
34
|
-
"prepublishOnly": "npm run -s check"
|
|
34
|
+
"prepublishOnly": "npm run -s check",
|
|
35
|
+
"docs:dev": "vite --config docs/vite.config.ts --port 5180",
|
|
36
|
+
"docs:build": "npm run -s build:registry && vite build --config docs/vite.config.ts && node scripts/docs-routes.mjs",
|
|
37
|
+
"docs:preview": "vite preview --config docs/vite.config.ts --port 5181"
|
|
35
38
|
},
|
|
36
39
|
"peerDependencies": {
|
|
37
|
-
"react": "^19.2.8",
|
|
38
|
-
"react-dom": "^19.2.8",
|
|
39
40
|
"@ark-ui/react": "^5.39.1",
|
|
40
|
-
"tailwindcss": "^4.3.3",
|
|
41
|
-
"lucide-react": "^1.41.0",
|
|
42
|
-
"clsx": "^2.1.1",
|
|
43
|
-
"tailwind-merge": "^3.6.0",
|
|
44
|
-
"class-variance-authority": "^0.7.1",
|
|
45
|
-
"tw-animate-css": "^1.4.0",
|
|
46
|
-
"@tailwindcss/typography": "^0.5.20",
|
|
47
41
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
48
42
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
|
|
49
43
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.2.0",
|
|
44
|
+
"@tailwindcss/typography": "^0.5.20",
|
|
50
45
|
"@tiptap/extension-highlight": "^3.31.3",
|
|
51
46
|
"@tiptap/extension-image": "^3.31.3",
|
|
52
47
|
"@tiptap/extension-table": "^3.31.3",
|
|
@@ -60,14 +55,22 @@
|
|
|
60
55
|
"@tiptap/pm": "^3.31.3",
|
|
61
56
|
"@tiptap/react": "^3.31.3",
|
|
62
57
|
"@tiptap/starter-kit": "^3.31.3",
|
|
58
|
+
"class-variance-authority": "^0.7.1",
|
|
59
|
+
"clsx": "^2.1.1",
|
|
63
60
|
"date-fns": "^4.4.0",
|
|
64
61
|
"embla-carousel-react": "^8.6.0",
|
|
65
62
|
"input-otp": "^1.5.0",
|
|
63
|
+
"lucide-react": "^1.41.0",
|
|
66
64
|
"next-themes": "^0.4.6",
|
|
65
|
+
"react": "^19.2.8",
|
|
67
66
|
"react-day-picker": "^10.0.1",
|
|
67
|
+
"react-dom": "^19.2.8",
|
|
68
68
|
"react-resizable-panels": "^4.12.3",
|
|
69
69
|
"recharts": "^3.8.0",
|
|
70
|
-
"sonner": "^2.0.8"
|
|
70
|
+
"sonner": "^2.0.8",
|
|
71
|
+
"tailwind-merge": "^3.6.0",
|
|
72
|
+
"tailwindcss": "^4.3.3",
|
|
73
|
+
"tw-animate-css": "^1.4.0"
|
|
71
74
|
},
|
|
72
75
|
"peerDependenciesMeta": {
|
|
73
76
|
"@atlaskit/pragmatic-drag-and-drop": {
|
|
@@ -144,19 +147,13 @@
|
|
|
144
147
|
}
|
|
145
148
|
},
|
|
146
149
|
"devDependencies": {
|
|
147
|
-
"react": "^19.2.8",
|
|
148
|
-
"react-dom": "^19.2.8",
|
|
149
150
|
"@ark-ui/react": "^5.39.1",
|
|
150
|
-
"tailwindcss": "^4.3.3",
|
|
151
|
-
"lucide-react": "^1.41.0",
|
|
152
|
-
"clsx": "^2.1.1",
|
|
153
|
-
"tailwind-merge": "^3.6.0",
|
|
154
|
-
"class-variance-authority": "^0.7.1",
|
|
155
|
-
"tw-animate-css": "^1.4.0",
|
|
156
|
-
"@tailwindcss/typography": "^0.5.20",
|
|
157
151
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
158
152
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
|
|
159
153
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.2.0",
|
|
154
|
+
"@fontsource-variable/geist": "^5.3.0",
|
|
155
|
+
"@tailwindcss/typography": "^0.5.20",
|
|
156
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
160
157
|
"@tiptap/extension-highlight": "^3.31.3",
|
|
161
158
|
"@tiptap/extension-image": "^3.31.3",
|
|
162
159
|
"@tiptap/extension-table": "^3.31.3",
|
|
@@ -170,22 +167,35 @@
|
|
|
170
167
|
"@tiptap/pm": "^3.31.3",
|
|
171
168
|
"@tiptap/react": "^3.31.3",
|
|
172
169
|
"@tiptap/starter-kit": "^3.31.3",
|
|
170
|
+
"@types/node": "^24.13.3",
|
|
171
|
+
"@types/prismjs": "^1.26.6",
|
|
172
|
+
"@types/react": "^19.2.18",
|
|
173
|
+
"@types/react-dom": "^19.2.4",
|
|
174
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
175
|
+
"class-variance-authority": "^0.7.1",
|
|
176
|
+
"clsx": "^2.1.1",
|
|
173
177
|
"date-fns": "^4.4.0",
|
|
174
178
|
"embla-carousel-react": "^8.6.0",
|
|
179
|
+
"eslint-plugin-better-tailwindcss": "^4.7.0",
|
|
175
180
|
"input-otp": "^1.5.0",
|
|
181
|
+
"lucide-react": "^1.41.0",
|
|
182
|
+
"marked": "^18.0.11",
|
|
176
183
|
"next-themes": "^0.4.6",
|
|
184
|
+
"oxlint": "^1.79.0",
|
|
185
|
+
"prettier": "^3.9.6",
|
|
186
|
+
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
187
|
+
"prismjs": "^1.30.0",
|
|
188
|
+
"react": "^19.2.8",
|
|
177
189
|
"react-day-picker": "^10.0.1",
|
|
190
|
+
"react-dom": "^19.2.8",
|
|
178
191
|
"react-resizable-panels": "^4.12.3",
|
|
179
192
|
"recharts": "^3.8.0",
|
|
180
193
|
"sonner": "^2.0.8",
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"prettier": "^3.9.6",
|
|
187
|
-
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
188
|
-
"typescript": "~6.0.2"
|
|
194
|
+
"tailwind-merge": "^3.6.0",
|
|
195
|
+
"tailwindcss": "^4.3.3",
|
|
196
|
+
"tw-animate-css": "^1.4.0",
|
|
197
|
+
"typescript": "~6.0.2",
|
|
198
|
+
"vite": "^8.2.2"
|
|
189
199
|
},
|
|
190
200
|
"bin": {
|
|
191
201
|
"arkcn": "bin/arkcn.mjs"
|