@offlinemediainc/offline-ui 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/README.md +27 -2
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +42 -5
- package/package.json +13 -3
package/dist/styles.css
CHANGED
|
@@ -31,11 +31,15 @@
|
|
|
31
31
|
--border: 0 0% 89.8%;
|
|
32
32
|
--input: 0 0% 89.8%;
|
|
33
33
|
--ring: 0 0% 3.9%;
|
|
34
|
-
|
|
35
|
-
--chart-
|
|
36
|
-
--chart-
|
|
37
|
-
--chart-
|
|
38
|
-
--chart-
|
|
34
|
+
/* Brand-aligned chart palette */
|
|
35
|
+
--chart-1: 38 89% 46%; /* Yellow-400: #de8e0f - Primary brand */
|
|
36
|
+
--chart-2: 221 100% 50%; /* Blue-400: #004fff - Secondary */
|
|
37
|
+
--chart-3: 152 86% 30%; /* Success: #099250 - Positive */
|
|
38
|
+
--chart-4: 0 0% 39%; /* Gray-600: #636363 - Neutral */
|
|
39
|
+
--chart-5: 4 89% 44%; /* Red-400: #d31a0c - Negative/Alert */
|
|
40
|
+
--chart-6: 38 100% 33%; /* Yellow-600: #a76700 - Extended */
|
|
41
|
+
--chart-7: 221 100% 37%; /* Blue-600: #003bbb - Extended */
|
|
42
|
+
--chart-8: 0 0% 58%; /* Gray-400: #959595 - Extended */
|
|
39
43
|
--radius: 0.375rem;
|
|
40
44
|
|
|
41
45
|
/* Sidebar dimensions */
|
|
@@ -199,6 +203,39 @@ body {
|
|
|
199
203
|
--tw-ring-color: hsl(var(--sidebar-ring));
|
|
200
204
|
}
|
|
201
205
|
|
|
206
|
+
/* ============================================
|
|
207
|
+
Dialog Positioning Utilities (required for Dialog components)
|
|
208
|
+
Tailwind v4 @source doesn't generate arbitrary value classes from compiled JS
|
|
209
|
+
============================================ */
|
|
210
|
+
|
|
211
|
+
.left-\[50\%\] {
|
|
212
|
+
left: 50%;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.top-\[50\%\] {
|
|
216
|
+
top: 50%;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.-translate-x-1\/2 {
|
|
220
|
+
--tw-translate-x: -50%;
|
|
221
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y));
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.-translate-y-1\/2 {
|
|
225
|
+
--tw-translate-y: -50%;
|
|
226
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.translate-x-\[-50\%\] {
|
|
230
|
+
--tw-translate-x: -50%;
|
|
231
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y));
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.translate-y-\[-50\%\] {
|
|
235
|
+
--tw-translate-y: -50%;
|
|
236
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y));
|
|
237
|
+
}
|
|
238
|
+
|
|
202
239
|
/* ============================================
|
|
203
240
|
Utility Classes
|
|
204
241
|
============================================ */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@offlinemediainc/offline-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Offline Media design system components",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"**/*.css"
|
|
33
33
|
],
|
|
34
34
|
"peerDependencies": {
|
|
35
|
+
"next": ">=14.0.0",
|
|
35
36
|
"react": "^18.0.0 || ^19.0.0",
|
|
36
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
37
|
-
"next": ">=14.0.0"
|
|
37
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"next": {
|
|
@@ -42,19 +42,27 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
46
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
45
47
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
48
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
46
49
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
47
50
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
48
51
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
49
52
|
"@radix-ui/react-label": "^2.1.8",
|
|
53
|
+
"@radix-ui/react-progress": "^1.1.8",
|
|
50
54
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
55
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
51
56
|
"@radix-ui/react-separator": "^1.1.8",
|
|
52
57
|
"@radix-ui/react-slot": "^1.2.4",
|
|
53
58
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
54
59
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
55
60
|
"class-variance-authority": "^0.7.1",
|
|
56
61
|
"clsx": "^2.1.1",
|
|
62
|
+
"input-otp": "^1.4.2",
|
|
57
63
|
"lucide-react": "^0.562.0",
|
|
64
|
+
"recharts": "2.15.4",
|
|
65
|
+
"sonner": "^2.0.7",
|
|
58
66
|
"tailwind-merge": "^3.4.0"
|
|
59
67
|
},
|
|
60
68
|
"devDependencies": {
|
|
@@ -66,6 +74,7 @@
|
|
|
66
74
|
"@storybook/nextjs-vite": "^10.1.11",
|
|
67
75
|
"@storybook/react": "^10.1.11",
|
|
68
76
|
"@tailwindcss/postcss": "^4",
|
|
77
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
69
78
|
"@types/node": "^20",
|
|
70
79
|
"@types/react": "^19",
|
|
71
80
|
"@types/react-dom": "^19",
|
|
@@ -81,6 +90,7 @@
|
|
|
81
90
|
"react-dom": "19.2.3",
|
|
82
91
|
"storybook": "^10.1.11",
|
|
83
92
|
"tailwindcss": "^4",
|
|
93
|
+
"tailwindcss-animate": "^1.0.7",
|
|
84
94
|
"tsup": "^8.5.1",
|
|
85
95
|
"typescript": "^5",
|
|
86
96
|
"vite": "^7.3.1",
|