@epilot/volt-ui 1.3.3 → 1.3.4
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/dist/components/badge/badge.d.ts +12 -8
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/callout/callout.d.ts +1 -1
- package/dist/components/data-table/data-table-column-order.d.ts +24 -0
- package/dist/components/data-table/data-table-context.d.ts +2 -0
- package/dist/components/data-table/data-table-header-draggable.d.ts +20 -0
- package/dist/components/data-table/data-table.d.ts +10 -2
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/pill/pill.d.ts +42 -0
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/index.cjs.js +25 -21
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +9557 -6387
- package/dist/lib/clear-button.d.ts +6 -0
- package/dist/lib/icons.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +11 -26
- package/README.md +0 -101
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/volt-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -24,29 +24,24 @@
|
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
26
|
"dev": "vite",
|
|
27
|
-
"dev:watch": "
|
|
28
|
-
"build": "rm -rf dist && tsc --project tsconfig.json && tsc-alias --project tsconfig.json && vite build &&
|
|
27
|
+
"dev:watch": "DEV=true bun run build:watch",
|
|
28
|
+
"build": "rm -rf dist && tsc --project tsconfig.json && tsc-alias --project tsconfig.json && vite build && bun run build:report",
|
|
29
29
|
"build:report": "bun scripts/report-tw-prefix.ts",
|
|
30
30
|
"build:watch": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json && vite build --watch",
|
|
31
|
-
"build:mcp": "bun scripts/build-mcp-registry.ts",
|
|
32
31
|
"build:analyze": "ANALYZE=true bun run build",
|
|
33
32
|
"lint": "eslint .",
|
|
34
|
-
"lint:fix": "eslint . --fix",
|
|
35
|
-
"prepare": "husky",
|
|
36
|
-
"format": "prettier --write .",
|
|
37
33
|
"test": "vitest",
|
|
38
|
-
"prebuild": "bun scripts/write-version.ts"
|
|
39
|
-
"install:claude-skill": "bash scripts/install-claude-skill.sh"
|
|
34
|
+
"prebuild": "bun scripts/write-version.ts"
|
|
40
35
|
},
|
|
41
36
|
"peerDependencies": {
|
|
42
37
|
"react": ">=18",
|
|
43
38
|
"react-dom": ">=18"
|
|
44
39
|
},
|
|
45
40
|
"dependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
41
|
+
"@dnd-kit/core": "^6.3.1",
|
|
42
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
43
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
48
44
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
49
|
-
"date-fns": "^4.1.0",
|
|
50
45
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
51
46
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
52
47
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
@@ -61,43 +56,33 @@
|
|
|
61
56
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
62
57
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
63
58
|
"@tailwindcss/vite": "^4.1.17",
|
|
59
|
+
"@tanstack/react-table": "^8.20.6",
|
|
60
|
+
"@tanstack/react-virtual": "^3.11.2",
|
|
64
61
|
"class-variance-authority": "^0.7.1",
|
|
65
62
|
"clsx": "^2.1.1",
|
|
66
63
|
"cmdk": "^1.1.1",
|
|
64
|
+
"date-fns": "^4.1.0",
|
|
67
65
|
"sonner": "^2.0.7",
|
|
68
66
|
"tailwind-merge": "^3.4.0",
|
|
67
|
+
"tailwindcss": "^4.1.17",
|
|
69
68
|
"tw-animate-css": "^1.4.0"
|
|
70
69
|
},
|
|
71
70
|
"devDependencies": {
|
|
72
|
-
"@eslint/js": "^9.13.0",
|
|
73
71
|
"@testing-library/jest-dom": "^6.9.1",
|
|
74
72
|
"@testing-library/react": "^16.3.0",
|
|
75
73
|
"@testing-library/user-event": "^14.6.1",
|
|
76
|
-
"@types/minimatch": "^6.0.0",
|
|
77
74
|
"@types/node": "^24.10.1",
|
|
78
75
|
"@types/react": "^19.2.4",
|
|
79
76
|
"@types/react-dom": "^19.2.3",
|
|
80
77
|
"@vitejs/plugin-react": "^4.3.3",
|
|
81
|
-
"concurrently": "^9.2.1",
|
|
82
|
-
"eslint": "^9.13.0",
|
|
83
|
-
"eslint-plugin-react-hooks": "^5.0.0",
|
|
84
|
-
"eslint-plugin-react-refresh": "^0.4.13",
|
|
85
|
-
"globals": "^15.11.0",
|
|
86
|
-
"husky": "^9.1.7",
|
|
87
78
|
"jsdom": "^27.2.0",
|
|
88
|
-
"lint-staged": "^16.2.6",
|
|
89
79
|
"postcss-class-prefix": "^0.3.0",
|
|
90
80
|
"postcss-prefix-selector": "^2.1.1",
|
|
91
81
|
"postcss-url": "^10.1.3",
|
|
92
|
-
"prettier": "^3.6.2",
|
|
93
82
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
94
83
|
"tsc-alias": "^1.8.16",
|
|
95
84
|
"typescript": "~5.6.2",
|
|
96
|
-
"typescript-eslint": "^8.10.0",
|
|
97
85
|
"vite": "^5.4.9",
|
|
98
86
|
"vitest": "^4.0.10"
|
|
99
|
-
},
|
|
100
|
-
"lint-staged": {
|
|
101
|
-
"**/*": "prettier --write --ignore-unknown"
|
|
102
87
|
}
|
|
103
88
|
}
|
package/README.md
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
# Volt UI
|
|
2
|
-
|
|
3
|
-
**@epilot/volt-ui** is a tree-shakeable design system library for React applications.
|
|
4
|
-
|
|
5
|
-
## Stack
|
|
6
|
-
|
|
7
|
-
- [Bun](https://bun.com/)
|
|
8
|
-
- [Vite](https://vitejs.dev/) for development and bundling
|
|
9
|
-
- [Tailwind CSS](https://tailwindcss.com/) for styling
|
|
10
|
-
- [Radix UI](https://www.radix-ui.com/) for UI components
|
|
11
|
-
- [Fumadocs](https://fumadocs.dev/) for documentation
|
|
12
|
-
- [Vitest](https://vitest.dev/) and [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) for testing
|
|
13
|
-
|
|
14
|
-
> **Note**: We prefix the CSS classes `.volt-` and CSS variables with `volt-` to avoid conflicts with the application styles.
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
Install dependencies via [bun](https://bun.com/docs/installation).
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
bun install
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Development
|
|
25
|
-
|
|
26
|
-
To run the development, documentation server and watch for changes, run:
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
bun run dev:watch
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Open http://localhost:3000 with your browser to see the result.
|
|
33
|
-
|
|
34
|
-
## Testing
|
|
35
|
-
|
|
36
|
-
To run the tests, run:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
bun run test
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Build
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
bun run build
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
> **Note**: This will generate the `dist` folder with the compiled code.
|
|
49
|
-
|
|
50
|
-
## Release
|
|
51
|
-
|
|
52
|
-
To release a new version, run:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
npm run publish
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## MCP Server
|
|
59
|
-
|
|
60
|
-
Volt UI includes an MCP (Model Context Protocol) server that exposes components, props, documentation, and design tokens to AI assistants like Claude, Cursor, GitHub Copilot, and more.
|
|
61
|
-
|
|
62
|
-
### Quick Setup
|
|
63
|
-
|
|
64
|
-
Add to your AI tool's MCP configuration:
|
|
65
|
-
|
|
66
|
-
```json
|
|
67
|
-
{
|
|
68
|
-
"mcpServers": {
|
|
69
|
-
"volt-ui": {
|
|
70
|
-
"command": "npx",
|
|
71
|
-
"args": ["-y", "@epilot/volt-ui-mcp"]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Configuration Locations
|
|
78
|
-
|
|
79
|
-
| Tool | Config File |
|
|
80
|
-
| -------------- | ------------------------------------------------------------------------- |
|
|
81
|
-
| Claude Desktop | `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) |
|
|
82
|
-
| Claude Code | `.vscode/mcp.json` or `~/.claude/settings.json` |
|
|
83
|
-
| Cursor | `.cursor/mcp.json` |
|
|
84
|
-
| GitHub Copilot | VS Code `settings.json` under `github.copilot.chat.mcpServers` |
|
|
85
|
-
|
|
86
|
-
### Available Tools
|
|
87
|
-
|
|
88
|
-
- `list_components` / `get_component` / `search_components` - Component discovery
|
|
89
|
-
- `list_tokens` / `get_token` / `search_tokens` - Design token access
|
|
90
|
-
|
|
91
|
-
### Building & Publishing
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
# Build the registry
|
|
95
|
-
bun run build:mcp
|
|
96
|
-
|
|
97
|
-
# Publish (prepack auto-builds)
|
|
98
|
-
cd tools/volt-ui-mcp && npm publish
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
See [tools/volt-ui-mcp/README.md](tools/volt-ui-mcp/README.md) for detailed setup instructions.
|