@mikenotthepope/substrateui 0.1.2 → 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/package.json CHANGED
@@ -1,82 +1,100 @@
1
1
  {
2
2
  "name": "@mikenotthepope/substrateui",
3
- "version": "0.1.2",
4
- "description": "A neobrutalist React component library with bold borders, hard shadows, and high contrast design.",
3
+ "version": "0.1.3",
4
+ "description": "A chunky, OKLCH-powered design system for Next.js — built on Tailwind CSS v4, Radix UI, and Atomic Design principles.",
5
5
  "license": "MIT",
6
- "author": "mikenotthepope",
6
+ "author": "SubstrateUI",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/MikeNotThePope/a8f3k2x9q7.git"
10
- },
11
- "homepage": "https://substrate-ui.vercel.app/",
12
- "bugs": {
13
- "url": "https://github.com/MikeNotThePope/a8f3k2x9q7/issues"
9
+ "url": "git+https://github.com/MikeNotThePope/substrateui.git"
14
10
  },
15
11
  "keywords": [
16
- "react",
17
- "components",
18
- "ui",
19
- "neobrutalism",
20
12
  "design-system",
13
+ "react",
14
+ "nextjs",
21
15
  "tailwindcss",
22
- "radix-ui"
16
+ "radix-ui",
17
+ "components",
18
+ "ui"
23
19
  ],
24
- "publishConfig": {
25
- "access": "public"
26
- },
20
+ "type": "module",
27
21
  "main": "./dist/index.js",
28
- "module": "./dist/index.mjs",
22
+ "module": "./dist/index.js",
29
23
  "types": "./dist/index.d.ts",
30
24
  "exports": {
31
25
  ".": {
32
- "import": {
33
- "types": "./dist/index.d.mts",
34
- "default": "./dist/index.mjs"
35
- },
36
- "require": {
37
- "types": "./dist/index.d.ts",
38
- "default": "./dist/index.js"
39
- }
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js"
40
28
  },
41
- "./styles": "./base/substrate.css"
29
+ "./organisms": {
30
+ "types": "./dist/organisms.d.ts",
31
+ "import": "./dist/organisms.js"
32
+ },
33
+ "./utils": {
34
+ "types": "./dist/utils.d.ts",
35
+ "import": "./dist/utils.js"
36
+ },
37
+ "./styles.css": "./dist/styles.css"
42
38
  },
43
39
  "files": [
44
40
  "dist",
45
- "base"
41
+ "README.md",
42
+ "CHANGELOG.md",
43
+ "LICENSE"
46
44
  ],
47
45
  "sideEffects": [
48
46
  "**/*.css"
49
47
  ],
50
48
  "scripts": {
51
49
  "dev": "next dev",
52
- "build": "tsup",
53
- "build:demo": "next build",
50
+ "prebuild": "bun run build-storybook",
51
+ "build": "next build",
52
+ "prebuild:lib": "bun run audit:contrast && bun run audit:direction",
53
+ "build:lib": "tsup && cp src/styles/tokens.css dist/styles.css",
54
54
  "start": "next start",
55
55
  "lint": "eslint",
56
- "prepare": "tsup && sh scripts/check-hooks.sh",
57
- "setup:hooks": "git config core.hooksPath .githooks",
58
- "test": "vitest run",
59
- "test:coverage": "vitest run --coverage",
56
+ "audit:contrast": "tsx scripts/audit-contrast.ts",
57
+ "audit:direction": "tsx scripts/audit-direction.ts",
58
+ "audit:stories": "tsx scripts/audit-stories.ts",
59
+ "test": "NODE_OPTIONS='--throw-deprecation' vitest run",
60
60
  "test:watch": "vitest",
61
- "changeset": "changeset",
62
- "version": "changeset version",
63
- "storybook": "storybook dev -p 6006",
64
- "build-storybook": "storybook build",
61
+ "test:ui": "vitest --ui",
62
+ "test:coverage": "vitest run --coverage",
65
63
  "test:visual": "playwright test",
66
64
  "test:visual:update": "playwright test --update-snapshots",
67
- "prepublishOnly": "tsup",
65
+ "test:visual:report": "playwright show-report",
66
+ "scan:deprecations": "tsx scripts/scan-deprecations.ts",
67
+ "storybook": "storybook dev -p 6006",
68
+ "build-storybook": "storybook build -o public/storybook && node .storybook/rewrite-base-paths.mjs",
69
+ "prepublishOnly": "bun run build:lib",
70
+ "version": "changeset version",
68
71
  "release": "changeset publish"
69
72
  },
73
+ "peerDependencies": {
74
+ "next": ">=15",
75
+ "next-themes": ">=0.4",
76
+ "react": ">=18",
77
+ "react-dom": ">=18",
78
+ "tailwindcss": ">=4"
79
+ },
80
+ "peerDependenciesMeta": {
81
+ "next": {
82
+ "optional": true
83
+ },
84
+ "next-themes": {
85
+ "optional": true
86
+ }
87
+ },
70
88
  "dependencies": {
71
- "@devnomic/marquee": "^1.0.3",
72
- "@hookform/resolvers": "^5.2.2",
73
89
  "@radix-ui/react-accordion": "^1.2.12",
74
90
  "@radix-ui/react-alert-dialog": "^1.1.15",
91
+ "@radix-ui/react-aspect-ratio": "^1.1.8",
75
92
  "@radix-ui/react-avatar": "^1.1.11",
76
93
  "@radix-ui/react-checkbox": "^1.3.3",
77
94
  "@radix-ui/react-collapsible": "^1.1.12",
78
95
  "@radix-ui/react-context-menu": "^2.2.16",
79
96
  "@radix-ui/react-dialog": "^1.1.15",
97
+ "@radix-ui/react-direction": "^1.1.1",
80
98
  "@radix-ui/react-dropdown-menu": "^2.1.16",
81
99
  "@radix-ui/react-hover-card": "^1.1.15",
82
100
  "@radix-ui/react-label": "^2.1.8",
@@ -87,66 +105,62 @@
87
105
  "@radix-ui/react-radio-group": "^1.3.8",
88
106
  "@radix-ui/react-scroll-area": "^1.2.10",
89
107
  "@radix-ui/react-select": "^2.2.6",
108
+ "@radix-ui/react-separator": "^1.1.8",
90
109
  "@radix-ui/react-slider": "^1.3.6",
91
110
  "@radix-ui/react-slot": "^1.2.4",
92
111
  "@radix-ui/react-switch": "^1.2.6",
93
112
  "@radix-ui/react-tabs": "^1.1.13",
113
+ "@radix-ui/react-toggle": "^1.1.10",
114
+ "@radix-ui/react-toggle-group": "^1.1.11",
94
115
  "@radix-ui/react-tooltip": "^1.2.8",
95
- "@radix-ui/react-visually-hidden": "^1.2.4",
116
+ "@rollup/rollup-linux-arm64-gnu": "^4.60.1",
96
117
  "@tanstack/react-table": "^8.21.3",
97
- "@vercel/analytics": "^2.0.1",
98
118
  "class-variance-authority": "^0.7.1",
99
119
  "clsx": "^2.1.1",
100
120
  "cmdk": "^1.1.1",
121
+ "date-fns": "^4.1.0",
101
122
  "embla-carousel-react": "^8.6.0",
102
123
  "input-otp": "^1.4.2",
103
- "lucide-react": "^0.577.0",
124
+ "lucide-react": "^1.7.0",
104
125
  "react-day-picker": "^9.14.0",
105
- "react-hook-form": "^7.72.0",
106
- "react-resizable-panels": "^4.7.6",
107
- "recharts": "^3.8.1",
126
+ "react-resizable-panels": "^4.9.0",
127
+ "recharts": "2.15.4",
108
128
  "sonner": "^2.0.7",
109
129
  "tailwind-merge": "^3.5.0",
110
- "tw-animate-css": "^1.4.0",
111
- "vaul": "^1.1.2",
112
- "zod": "^4.3.6"
113
- },
114
- "peerDependencies": {
115
- "react": "^19",
116
- "react-dom": "^19"
130
+ "vaul": "^1.1.2"
117
131
  },
118
132
  "devDependencies": {
133
+ "@changesets/changelog-github": "^0.6.0",
119
134
  "@changesets/cli": "^2.30.0",
120
- "@chromatic-com/storybook": "^5.1.1",
121
- "@playwright/test": "^1.58.2",
122
- "@storybook/addon-a11y": "^10.3.3",
123
- "@storybook/addon-docs": "^10.3.3",
124
- "@storybook/addon-onboarding": "^10.3.3",
125
- "@storybook/addon-themes": "^10.3.3",
126
- "@storybook/addon-vitest": "^10.3.3",
127
- "@storybook/react-vite": "^10.3.3",
135
+ "@playwright/test": "^1.59.1",
136
+ "@storybook/addon-a11y": "^10.3.4",
137
+ "@storybook/react-vite": "^10.3.4",
128
138
  "@tailwindcss/postcss": "^4",
129
139
  "@testing-library/jest-dom": "^6.9.1",
130
140
  "@testing-library/react": "^16.3.2",
131
141
  "@testing-library/user-event": "^14.6.1",
132
- "@types/node": "^20",
142
+ "@types/culori": "^4.0.1",
143
+ "@types/node": "^25.5.2",
133
144
  "@types/react": "^19",
134
145
  "@types/react-dom": "^19",
135
- "@vitejs/plugin-react": "^4.7.0",
136
- "@vitest/browser-playwright": "^4.1.2",
146
+ "@vitejs/plugin-react": "^6.0.1",
137
147
  "@vitest/coverage-v8": "^4.1.2",
148
+ "@vitest/ui": "^4.1.2",
149
+ "culori": "^4.0.2",
138
150
  "eslint": "^9",
139
- "eslint-config-next": "16.2.1",
140
- "eslint-plugin-storybook": "^10.3.3",
151
+ "eslint-config-next": "16.2.2",
141
152
  "jsdom": "^29.0.1",
142
- "next": "16.2.1",
143
- "playwright": "^1.58.2",
144
- "storybook": "^10.3.3",
153
+ "next": "16.2.2",
154
+ "next-themes": "^0.4.6",
155
+ "react": "19.2.4",
156
+ "react-dom": "19.2.4",
157
+ "storybook": "^10.3.4",
145
158
  "tailwindcss": "^4",
146
159
  "tsup": "^8.5.1",
160
+ "tsx": "^4.21.0",
161
+ "tw-animate-css": "^1.4.0",
147
162
  "typescript": "^5",
148
- "vitest": "^4.1.2",
149
- "vitest-axe": "^0.1.0"
163
+ "vitest": "^4.1.2"
150
164
  },
151
165
  "ignoreScripts": [
152
166
  "sharp",