@conscia-labs/design-system 0.2.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,150 @@
1
+ {
2
+ "name": "@conscia-labs/design-system",
3
+ "version": "0.2.0",
4
+ "description": "The shared React component library for building clear, consistent, and accessible Conscia product experiences.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "files": [
11
+ "dist",
12
+ "README.md"
13
+ ],
14
+ "sideEffects": [
15
+ "./dist/foundation.css",
16
+ "./dist/standalone.css",
17
+ "./dist/styles.css",
18
+ "./dist/tailwind.css"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js",
24
+ "default": "./dist/index.js"
25
+ },
26
+ "./foundation": {
27
+ "types": "./dist/foundation/index.d.ts",
28
+ "import": "./dist/foundation/index.js",
29
+ "default": "./dist/foundation/index.js"
30
+ },
31
+ "./patterns": {
32
+ "types": "./dist/patterns/index.d.ts",
33
+ "import": "./dist/patterns/index.js",
34
+ "default": "./dist/patterns/index.js"
35
+ },
36
+ "./primitives": {
37
+ "types": "./dist/primitives/index.d.ts",
38
+ "import": "./dist/primitives/index.js",
39
+ "default": "./dist/primitives/index.js"
40
+ },
41
+ "./utils": {
42
+ "types": "./dist/utils/index.d.ts",
43
+ "import": "./dist/utils/index.js",
44
+ "default": "./dist/utils/index.js"
45
+ },
46
+ "./foundation.css": "./dist/foundation.css",
47
+ "./tailwind.css": "./dist/tailwind.css",
48
+ "./standalone.css": "./dist/standalone.css",
49
+ "./styles.css": "./dist/styles.css",
50
+ "./package.json": "./package.json"
51
+ },
52
+ "scripts": {
53
+ "dev:playground": "next dev playground --webpack -p 3020",
54
+ "build": "pnpm build:js && pnpm build:css",
55
+ "build:js": "tsup",
56
+ "build:css": "node scripts/build-css.mjs",
57
+ "build:playground": "next build playground",
58
+ "start:playground": "next start playground -p 3020",
59
+ "test": "pnpm test:contracts && pnpm test:unit",
60
+ "test:contracts": "node --test playground/src/test/*.test.mjs",
61
+ "test:unit": "vitest run",
62
+ "test:package": "pnpm build && pnpm lint:package && node scripts/verify-package.mjs",
63
+ "test:consumer": "node scripts/test-packaged-consumer.mjs",
64
+ "lint": "eslint src --max-warnings=0",
65
+ "lint:playground": "eslint playground --max-warnings=0 --config playground/eslint.config.mjs",
66
+ "typecheck": "tsc --noEmit",
67
+ "typecheck:playground": "tsc --noEmit -p playground/tsconfig.json",
68
+ "lint:package": "publint",
69
+ "prepack": "pnpm build && node scripts/verify-package.mjs"
70
+ },
71
+ "repository": {
72
+ "type": "git",
73
+ "url": "git+https://github.com/conscia-labs/design-system.git"
74
+ },
75
+ "homepage": "https://github.com/conscia-labs/design-system#readme",
76
+ "bugs": {
77
+ "url": "https://github.com/conscia-labs/design-system/issues"
78
+ },
79
+ "keywords": [
80
+ "conscia",
81
+ "design-system",
82
+ "react",
83
+ "radix-ui",
84
+ "tailwindcss",
85
+ "components"
86
+ ],
87
+ "publishConfig": {
88
+ "access": "public",
89
+ "registry": "https://registry.npmjs.org/"
90
+ },
91
+ "packageManager": "pnpm@10.18.3",
92
+ "engines": {
93
+ "node": ">=20"
94
+ },
95
+ "pnpm": {
96
+ "onlyBuiltDependencies": [
97
+ "esbuild"
98
+ ]
99
+ },
100
+ "dependencies": {
101
+ "@radix-ui/react-avatar": "^1.1.12",
102
+ "@radix-ui/react-checkbox": "^1.3.3",
103
+ "@radix-ui/react-collapsible": "^1.1.12",
104
+ "@radix-ui/react-dialog": "^1.1.16",
105
+ "@radix-ui/react-dropdown-menu": "^2.1.17",
106
+ "@radix-ui/react-label": "^2.1.9",
107
+ "@radix-ui/react-select": "^2.2.6",
108
+ "@radix-ui/react-separator": "^1.1.9",
109
+ "@radix-ui/react-slot": "^1.2.3",
110
+ "@radix-ui/react-switch": "^1.2.6",
111
+ "@radix-ui/react-tabs": "^1.1.13",
112
+ "@radix-ui/react-tooltip": "^1.2.8",
113
+ "@tanstack/react-table": "^8.21.3",
114
+ "class-variance-authority": "^0.7.1",
115
+ "clsx": "^2.1.1",
116
+ "lucide-react": "^1.17.0",
117
+ "tailwind-merge": "^3.6.0"
118
+ },
119
+ "peerDependencies": {
120
+ "react": "^19.0.0",
121
+ "react-dom": "^19.0.0",
122
+ "tailwindcss": "^4.0.0"
123
+ },
124
+ "peerDependenciesMeta": {
125
+ "tailwindcss": {
126
+ "optional": true
127
+ }
128
+ },
129
+ "devDependencies": {
130
+ "@tailwindcss/cli": "^4",
131
+ "@tailwindcss/postcss": "^4",
132
+ "@testing-library/react": "^16.3.2",
133
+ "@testing-library/user-event": "^14.6.1",
134
+ "@types/node": "^20",
135
+ "@types/react": "^19",
136
+ "@types/react-dom": "^19",
137
+ "axe-core": "^4.12.1",
138
+ "eslint": "^9",
139
+ "eslint-config-next": "16.2.9",
140
+ "jsdom": "^29.1.1",
141
+ "next": "16.2.9",
142
+ "publint": "^0.3.22",
143
+ "react": "19.2.4",
144
+ "react-dom": "19.2.4",
145
+ "tailwindcss": "^4",
146
+ "tsup": "^8",
147
+ "typescript": "^5",
148
+ "vitest": "^4.1.10"
149
+ }
150
+ }