@pactor-app/ui 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/package.json ADDED
@@ -0,0 +1,127 @@
1
+ {
2
+ "name": "@pactor-app/ui",
3
+ "version": "0.1.0",
4
+ "description": "Pactor UI kit (shadcn): the single built-in UI kit — vendored shadcn/ui components (Base UI primitives + cva + tailwind-merge + lucide-react), props contracts, interaction core (OverlayManager / UiBridge) and layouts, with build-time Tailwind v4 prebuilt styles.css (zero consumer-side Tailwind config)",
5
+ "keywords": [
6
+ "pactor",
7
+ "dsl",
8
+ "server-driven-ui",
9
+ "ui-kit",
10
+ "shadcn-ui",
11
+ "base-ui",
12
+ "tailwindcss",
13
+ "react"
14
+ ],
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/426-330/pactor.git",
19
+ "directory": "packages/ui"
20
+ },
21
+ "homepage": "https://github.com/426-330/pactor/tree/main/packages/ui",
22
+ "bugs": "https://github.com/426-330/pactor/issues",
23
+ "type": "module",
24
+ "main": "./dist/index.cjs",
25
+ "module": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "import": {
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/index.js"
32
+ },
33
+ "require": {
34
+ "types": "./dist/index.d.cts",
35
+ "default": "./dist/index.cjs"
36
+ }
37
+ },
38
+ "./components": {
39
+ "import": {
40
+ "types": "./dist/components/index.d.ts",
41
+ "default": "./dist/components/index.js"
42
+ },
43
+ "require": {
44
+ "types": "./dist/components/index.d.cts",
45
+ "default": "./dist/components/index.cjs"
46
+ }
47
+ },
48
+ "./interaction": {
49
+ "import": {
50
+ "types": "./dist/interaction/index.d.ts",
51
+ "default": "./dist/interaction/index.js"
52
+ },
53
+ "require": {
54
+ "types": "./dist/interaction/index.d.cts",
55
+ "default": "./dist/interaction/index.cjs"
56
+ }
57
+ },
58
+ "./layout": {
59
+ "import": {
60
+ "types": "./dist/layout/index.d.ts",
61
+ "default": "./dist/layout/index.js"
62
+ },
63
+ "require": {
64
+ "types": "./dist/layout/index.d.cts",
65
+ "default": "./dist/layout/index.cjs"
66
+ }
67
+ },
68
+ "./ui": {
69
+ "import": {
70
+ "types": "./dist/ui/index.d.ts",
71
+ "default": "./dist/ui/index.js"
72
+ },
73
+ "require": {
74
+ "types": "./dist/ui/index.d.cts",
75
+ "default": "./dist/ui/index.cjs"
76
+ }
77
+ },
78
+ "./styles.css": "./styles.css"
79
+ },
80
+ "sideEffects": [
81
+ "./styles.css"
82
+ ],
83
+ "engines": {
84
+ "node": ">=18"
85
+ },
86
+ "files": [
87
+ "dist",
88
+ "styles.css"
89
+ ],
90
+ "publishConfig": {
91
+ "access": "public"
92
+ },
93
+ "dependencies": {
94
+ "@base-ui/react": "^1.7.0",
95
+ "class-variance-authority": "^0.7.1",
96
+ "clsx": "^2.1.1",
97
+ "lucide-react": "^1.34.0",
98
+ "tailwind-merge": "^3.6.0",
99
+ "@pactor-app/core": "0.1.0",
100
+ "@pactor-app/runtime": "0.1.0",
101
+ "@pactor-app/permission": "0.1.0",
102
+ "@pactor-app/router": "0.1.0"
103
+ },
104
+ "peerDependencies": {
105
+ "react": ">=18",
106
+ "react-dom": ">=18"
107
+ },
108
+ "devDependencies": {
109
+ "@tailwindcss/cli": "^4.3.3",
110
+ "@testing-library/dom": "^10.4.1",
111
+ "@testing-library/react": "^16.3.2",
112
+ "@testing-library/user-event": "^14.6.1",
113
+ "@types/react": "^19.2.18",
114
+ "@types/react-dom": "^19.2.4",
115
+ "jsdom": "^30.0.1",
116
+ "react": "^19.2.8",
117
+ "react-dom": "^19.2.8",
118
+ "tailwindcss": "^4.3.3",
119
+ "tw-animate-css": "^1.4.0"
120
+ },
121
+ "scripts": {
122
+ "build": "tsup && pnpm build:styles",
123
+ "build:styles": "tailwindcss -i src/styles.css -o styles.css",
124
+ "test": "vitest run",
125
+ "typecheck": "tsc --noEmit"
126
+ }
127
+ }