@work-rjkashyap/unified-ui 0.1.2 → 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/dist/theme.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { COLOR_PRESETS, COLOR_PRESET_KEYS, DEFAULT_FONT_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeProvider, FONT_PRESETS, RADIUS_PRESETS, SHADOW_PRESETS, SURFACE_STYLE_PRESETS, ThemeCustomizer, ThemeCustomizerProvider, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getRadiusPreset, getShadowPreset, useDSTheme, useThemeCustomizer } from './chunk-ZDB557B2.mjs';
2
+ export { COLOR_PRESETS, COLOR_PRESET_KEYS, DEFAULT_FONT_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeProvider, FONT_PRESETS, RADIUS_PRESETS, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ThemeCustomizer, ThemeCustomizerProvider, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './chunk-YFH5JPAA.mjs';
3
3
  import './chunk-TVCJRD3S.mjs';
4
4
  import './chunk-ITBG42M5.mjs';
5
5
  import './chunk-EZ2L3XPS.mjs';
package/dist/utils.d.cts CHANGED
@@ -374,7 +374,7 @@ declare const focusWithinRingClassList: readonly ["focus-within:outline-none", "
374
374
  *
375
375
  * @template Default - The default element type when `as` is not specified.
376
376
  */
377
- type AsProp<Default extends ElementType = "div"> = {
377
+ type AsProp<_Default extends ElementType = "div"> = {
378
378
  /**
379
379
  * The HTML element or React component to render as.
380
380
  * @default Default (varies per component)
package/dist/utils.d.ts CHANGED
@@ -374,7 +374,7 @@ declare const focusWithinRingClassList: readonly ["focus-within:outline-none", "
374
374
  *
375
375
  * @template Default - The default element type when `as` is not specified.
376
376
  */
377
- type AsProp<Default extends ElementType = "div"> = {
377
+ type AsProp<_Default extends ElementType = "div"> = {
378
378
  /**
379
379
  * The HTML element or React component to render as.
380
380
  * @default Default (varies per component)
package/package.json CHANGED
@@ -1,193 +1,200 @@
1
1
  {
2
- "name": "@work-rjkashyap/unified-ui",
3
- "version": "0.1.2",
4
- "description": "A scalable, token-driven React design system with 23+ components, built with Tailwind CSS v4, Radix UI, and Framer Motion.",
5
- "author": "Rajeshwar Kashyap",
6
- "license": "MIT",
7
- "homepage": "https://github.com/imrj05/unified-ui#readme",
8
- "bugs": {
9
- "url": "https://github.com/imrj05/unified-ui/issues"
2
+ "name": "@work-rjkashyap/unified-ui",
3
+ "version": "0.2.0",
4
+ "description": "A scalable, token-driven React design system with 75+ components, built with Tailwind CSS v4, Radix UI, and Framer Motion.",
5
+ "author": "Rajeshwar Kashyap",
6
+ "license": "MIT",
7
+ "homepage": "https://github.com/imrj05/unified-ui#readme",
8
+ "bugs": {
9
+ "url": "https://github.com/imrj05/unified-ui/issues"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/imrj05/unified-ui.git",
14
+ "directory": "packages/unified-ui"
15
+ },
16
+ "funding": {
17
+ "type": "github",
18
+ "url": "https://github.com/sponsors/imrj05"
19
+ },
20
+ "type": "module",
21
+ "bin": {
22
+ "unified-ui": "./bin/cli.mjs"
23
+ },
24
+ "main": "./dist/index.cjs",
25
+ "module": "./dist/index.mjs",
26
+ "types": "./dist/index.d.ts",
27
+ "sideEffects": [
28
+ "./styles.css",
29
+ "./dist/**/*.css"
30
+ ],
31
+ "exports": {
32
+ ".": {
33
+ "import": {
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.mjs"
36
+ },
37
+ "require": {
38
+ "types": "./dist/index.d.cts",
39
+ "default": "./dist/index.cjs"
40
+ }
10
41
  },
11
- "repository": {
12
- "type": "git",
13
- "url": "https://github.com/imrj05/unified-ui.git",
14
- "directory": "packages/unified-ui"
42
+ "./tokens": {
43
+ "import": {
44
+ "types": "./dist/tokens.d.ts",
45
+ "default": "./dist/tokens.mjs"
46
+ },
47
+ "require": {
48
+ "types": "./dist/tokens.d.cts",
49
+ "default": "./dist/tokens.cjs"
50
+ }
15
51
  },
16
- "funding": {
17
- "type": "github",
18
- "url": "https://github.com/sponsors/imrj05"
52
+ "./theme": {
53
+ "import": {
54
+ "types": "./dist/theme.d.ts",
55
+ "default": "./dist/theme.mjs"
56
+ },
57
+ "require": {
58
+ "types": "./dist/theme.d.cts",
59
+ "default": "./dist/theme.cjs"
60
+ }
19
61
  },
20
- "type": "module",
21
- "main": "./dist/index.cjs",
22
- "module": "./dist/index.mjs",
23
- "types": "./dist/index.d.ts",
24
- "sideEffects": [
25
- "./styles.css",
26
- "./dist/**/*.css"
27
- ],
28
- "exports": {
29
- ".": {
30
- "import": {
31
- "types": "./dist/index.d.ts",
32
- "default": "./dist/index.mjs"
33
- },
34
- "require": {
35
- "types": "./dist/index.d.cts",
36
- "default": "./dist/index.cjs"
37
- }
38
- },
39
- "./tokens": {
40
- "import": {
41
- "types": "./dist/tokens.d.ts",
42
- "default": "./dist/tokens.mjs"
43
- },
44
- "require": {
45
- "types": "./dist/tokens.d.cts",
46
- "default": "./dist/tokens.cjs"
47
- }
48
- },
49
- "./theme": {
50
- "import": {
51
- "types": "./dist/theme.d.ts",
52
- "default": "./dist/theme.mjs"
53
- },
54
- "require": {
55
- "types": "./dist/theme.d.cts",
56
- "default": "./dist/theme.cjs"
57
- }
58
- },
59
- "./primitives": {
60
- "import": {
61
- "types": "./dist/primitives.d.ts",
62
- "default": "./dist/primitives.mjs"
63
- },
64
- "require": {
65
- "types": "./dist/primitives.d.cts",
66
- "default": "./dist/primitives.cjs"
67
- }
68
- },
69
- "./components": {
70
- "import": {
71
- "types": "./dist/components.d.ts",
72
- "default": "./dist/components.mjs"
73
- },
74
- "require": {
75
- "types": "./dist/components.d.cts",
76
- "default": "./dist/components.cjs"
77
- }
78
- },
79
- "./motion": {
80
- "import": {
81
- "types": "./dist/motion.d.ts",
82
- "default": "./dist/motion.mjs"
83
- },
84
- "require": {
85
- "types": "./dist/motion.d.cts",
86
- "default": "./dist/motion.cjs"
87
- }
88
- },
89
- "./utils": {
90
- "import": {
91
- "types": "./dist/utils.d.ts",
92
- "default": "./dist/utils.mjs"
93
- },
94
- "require": {
95
- "types": "./dist/utils.d.cts",
96
- "default": "./dist/utils.cjs"
97
- }
98
- },
99
- "./styles.css": "./styles.css"
62
+ "./primitives": {
63
+ "import": {
64
+ "types": "./dist/primitives.d.ts",
65
+ "default": "./dist/primitives.mjs"
66
+ },
67
+ "require": {
68
+ "types": "./dist/primitives.d.cts",
69
+ "default": "./dist/primitives.cjs"
70
+ }
100
71
  },
101
- "typesVersions": {
102
- "*": {
103
- "tokens": [
104
- "./dist/tokens.d.ts"
105
- ],
106
- "theme": [
107
- "./dist/theme.d.ts"
108
- ],
109
- "primitives": [
110
- "./dist/primitives.d.ts"
111
- ],
112
- "components": [
113
- "./dist/components.d.ts"
114
- ],
115
- "motion": [
116
- "./dist/motion.d.ts"
117
- ],
118
- "utils": [
119
- "./dist/utils.d.ts"
120
- ]
121
- }
72
+ "./components": {
73
+ "import": {
74
+ "types": "./dist/components.d.ts",
75
+ "default": "./dist/components.mjs"
76
+ },
77
+ "require": {
78
+ "types": "./dist/components.d.cts",
79
+ "default": "./dist/components.cjs"
80
+ }
122
81
  },
123
- "files": [
124
- "dist",
125
- "styles.css",
126
- "README.md",
127
- "CHANGELOG.md"
128
- ],
129
- "scripts": {
130
- "build": "tsup",
131
- "build:watch": "tsup --watch",
132
- "dev": "tsup --watch",
133
- "clean": "rm -rf dist",
134
- "typecheck": "tsc --noEmit",
135
- "prepublishOnly": "npm run clean && npm run build"
82
+ "./motion": {
83
+ "import": {
84
+ "types": "./dist/motion.d.ts",
85
+ "default": "./dist/motion.mjs"
86
+ },
87
+ "require": {
88
+ "types": "./dist/motion.d.cts",
89
+ "default": "./dist/motion.cjs"
90
+ }
136
91
  },
137
- "keywords": [
138
- "react",
139
- "design-system",
140
- "tailwindcss",
141
- "tailwind",
142
- "tailwind-css-v4",
143
- "components",
144
- "ui",
145
- "unified-ui",
146
- "tokens",
147
- "design-tokens",
148
- "framer-motion",
149
- "accessibility",
150
- "radix-ui",
151
- "css-variables",
152
- "theming",
153
- "dark-mode",
154
- "typescript",
155
- "tree-shakeable"
156
- ],
157
- "peerDependencies": {
158
- "react": ">=19.0.0",
159
- "react-dom": ">=19.0.0",
160
- "tailwindcss": ">=4.0.0"
92
+ "./utils": {
93
+ "import": {
94
+ "types": "./dist/utils.d.ts",
95
+ "default": "./dist/utils.mjs"
96
+ },
97
+ "require": {
98
+ "types": "./dist/utils.d.cts",
99
+ "default": "./dist/utils.cjs"
100
+ }
161
101
  },
162
- "peerDependenciesMeta": {
163
- "tailwindcss": {
164
- "optional": true
165
- }
166
- },
167
- "dependencies": {
168
- "class-variance-authority": "^0.7.1",
169
- "clsx": "^2.1.1",
170
- "radix-ui": "^1.4.3",
171
- "tailwind-merge": "^3.4.0"
172
- },
173
- "optionalDependencies": {
174
- "@tanstack/react-table": ">=8.0.0",
175
- "framer-motion": ">=12.0.0"
176
- },
177
- "devDependencies": {
178
- "@tanstack/react-table": "^8.21.3",
179
- "@types/react": "^19.2.8",
180
- "@types/react-dom": "^19.2.3",
181
- "framer-motion": "^12.34.3",
182
- "react": "^19.2.3",
183
- "react-dom": "^19.2.3",
184
- "tsup": "^8.5.1",
185
- "typescript": "^5.9.3"
186
- },
187
- "publishConfig": {
188
- "access": "public"
189
- },
190
- "engines": {
191
- "node": ">=20.0.0"
102
+ "./styles.css": "./styles.css"
103
+ },
104
+ "typesVersions": {
105
+ "*": {
106
+ "tokens": [
107
+ "./dist/tokens.d.ts"
108
+ ],
109
+ "theme": [
110
+ "./dist/theme.d.ts"
111
+ ],
112
+ "primitives": [
113
+ "./dist/primitives.d.ts"
114
+ ],
115
+ "components": [
116
+ "./dist/components.d.ts"
117
+ ],
118
+ "motion": [
119
+ "./dist/motion.d.ts"
120
+ ],
121
+ "utils": [
122
+ "./dist/utils.d.ts"
123
+ ]
124
+ }
125
+ },
126
+ "files": [
127
+ "dist",
128
+ "bin",
129
+ "styles.css",
130
+ "README.md",
131
+ "CHANGELOG.md"
132
+ ],
133
+ "scripts": {
134
+ "build": "tsup",
135
+ "build:watch": "tsup --watch",
136
+ "dev": "tsup --watch",
137
+ "clean": "rm -rf dist",
138
+ "typecheck": "tsc --noEmit",
139
+ "prepublishOnly": "npm run clean && npm run build"
140
+ },
141
+ "keywords": [
142
+ "react",
143
+ "design-system",
144
+ "tailwindcss",
145
+ "tailwind",
146
+ "tailwind-css-v4",
147
+ "components",
148
+ "ui",
149
+ "unified-ui",
150
+ "tokens",
151
+ "design-tokens",
152
+ "framer-motion",
153
+ "accessibility",
154
+ "radix-ui",
155
+ "css-variables",
156
+ "theming",
157
+ "dark-mode",
158
+ "typescript",
159
+ "tree-shakeable"
160
+ ],
161
+ "peerDependencies": {
162
+ "react": ">=19.0.0",
163
+ "react-dom": ">=19.0.0",
164
+ "tailwindcss": ">=4.0.0"
165
+ },
166
+ "peerDependenciesMeta": {
167
+ "tailwindcss": {
168
+ "optional": true
192
169
  }
170
+ },
171
+ "dependencies": {
172
+ "class-variance-authority": "^0.7.1",
173
+ "clsx": "^2.1.1",
174
+ "radix-ui": "^1.4.3",
175
+ "react-resizable-panels": "^4.7.1",
176
+ "sonner": "^2.0.7",
177
+ "tailwind-merge": "^3.4.0",
178
+ "vaul": "^1.1.2"
179
+ },
180
+ "optionalDependencies": {
181
+ "@tanstack/react-table": ">=8.0.0",
182
+ "framer-motion": ">=12.0.0"
183
+ },
184
+ "devDependencies": {
185
+ "@tanstack/react-table": "^8.21.3",
186
+ "@types/react": "^19.2.8",
187
+ "@types/react-dom": "^19.2.3",
188
+ "framer-motion": "^12.34.3",
189
+ "react": "^19.2.3",
190
+ "react-dom": "^19.2.3",
191
+ "tsup": "^8.5.1",
192
+ "typescript": "^5.9.3"
193
+ },
194
+ "publishConfig": {
195
+ "access": "public"
196
+ },
197
+ "engines": {
198
+ "node": ">=20.0.0"
199
+ }
193
200
  }