@work-rjkashyap/unified-ui 0.2.1 → 0.2.2
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/CHANGELOG.md +176 -292
- package/dist/{chunk-CTWNFFLB.mjs → chunk-2AERX4AM.mjs} +377 -171
- package/dist/{chunk-HITTFB2U.cjs → chunk-F4JJFWWU.cjs} +20 -20
- package/dist/{chunk-3OZJ4JLW.mjs → chunk-PLRSH37T.mjs} +20 -20
- package/dist/{chunk-B3CW2WZS.cjs → chunk-PRQIFQRK.cjs} +455 -249
- package/dist/components.cjs +290 -290
- package/dist/components.d.cts +9 -3
- package/dist/components.d.ts +9 -3
- package/dist/components.mjs +2 -2
- package/dist/index.cjs +347 -347
- package/dist/index.mjs +2 -2
- package/dist/motion.cjs +58 -58
- package/dist/motion.mjs +1 -1
- package/package.json +190 -190
- package/styles.css +34 -0
package/package.json
CHANGED
|
@@ -1,200 +1,200 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
}
|
|
2
|
+
"name": "@work-rjkashyap/unified-ui",
|
|
3
|
+
"version": "0.2.2",
|
|
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"
|
|
41
10
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
},
|
|
47
|
-
"require": {
|
|
48
|
-
"types": "./dist/tokens.d.cts",
|
|
49
|
-
"default": "./dist/tokens.cjs"
|
|
50
|
-
}
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/imrj05/unified-ui.git",
|
|
14
|
+
"directory": "packages/unified-ui"
|
|
51
15
|
},
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"default": "./dist/theme.mjs"
|
|
56
|
-
},
|
|
57
|
-
"require": {
|
|
58
|
-
"types": "./dist/theme.d.cts",
|
|
59
|
-
"default": "./dist/theme.cjs"
|
|
60
|
-
}
|
|
16
|
+
"funding": {
|
|
17
|
+
"type": "github",
|
|
18
|
+
"url": "https://github.com/sponsors/imrj05"
|
|
61
19
|
},
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"default": "./dist/primitives.mjs"
|
|
66
|
-
},
|
|
67
|
-
"require": {
|
|
68
|
-
"types": "./dist/primitives.d.cts",
|
|
69
|
-
"default": "./dist/primitives.cjs"
|
|
70
|
-
}
|
|
20
|
+
"type": "module",
|
|
21
|
+
"bin": {
|
|
22
|
+
"unified-ui": "./bin/cli.mjs"
|
|
71
23
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
+
}
|
|
41
|
+
},
|
|
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
|
+
}
|
|
51
|
+
},
|
|
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
|
+
}
|
|
61
|
+
},
|
|
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
|
+
}
|
|
71
|
+
},
|
|
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
|
+
}
|
|
81
|
+
},
|
|
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
|
+
}
|
|
91
|
+
},
|
|
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
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"./styles.css": "./styles.css"
|
|
81
103
|
},
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
+
}
|
|
91
125
|
},
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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"
|
|
101
140
|
},
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
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
|
|
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
|
|
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"
|
|
169
199
|
}
|
|
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
|
-
}
|
|
200
200
|
}
|
package/styles.css
CHANGED
|
@@ -697,6 +697,40 @@
|
|
|
697
697
|
font-size: inherit;
|
|
698
698
|
}
|
|
699
699
|
|
|
700
|
+
/* ---------------------------------------------------------------------------
|
|
701
|
+
Layer 5d: DataList Inner Element Resets
|
|
702
|
+
---------------------------------------------------------------------------
|
|
703
|
+
Strip inherited prose/typography styles (e.g. from Tailwind Typography or
|
|
704
|
+
Fumadocs) from <dd> elements inside DataList. Without this, the `.prose dd`
|
|
705
|
+
selector applies `padding-inline-start: 1.625em` which causes the detail
|
|
706
|
+
value to appear indented relative to the term label in vertical orientation.
|
|
707
|
+
--------------------------------------------------------------------------- */
|
|
708
|
+
|
|
709
|
+
[data-ds-component="data-list"] dd {
|
|
710
|
+
padding-inline-start: 0;
|
|
711
|
+
margin: 0;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/* ---------------------------------------------------------------------------
|
|
715
|
+
Layer 5e: VirtualList Inner Element Resets
|
|
716
|
+
---------------------------------------------------------------------------
|
|
717
|
+
Strip inherited prose/typography styles (e.g. from Tailwind Typography or
|
|
718
|
+
Fumadocs) from elements inside VirtualList rows. Without this, `.prose p`
|
|
719
|
+
and `.prose span` selectors apply margins and inflated line-heights that
|
|
720
|
+
break the fixed-height row layout — pushing content apart and misaligning
|
|
721
|
+
avatars, text, and trailing badges.
|
|
722
|
+
--------------------------------------------------------------------------- */
|
|
723
|
+
|
|
724
|
+
[data-ds-component="virtual-list"] p,
|
|
725
|
+
[data-ds-component="virtual-list"] span {
|
|
726
|
+
margin: 0;
|
|
727
|
+
padding: 0;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
[data-ds-component="virtual-list"] [role="listitem"] {
|
|
731
|
+
line-height: 1.25;
|
|
732
|
+
}
|
|
733
|
+
|
|
700
734
|
/* Consistent focus behavior for all interactive DS elements —
|
|
701
735
|
subtle border-color shift only, no ring or outline */
|
|
702
736
|
[data-ds] :focus-visible {
|