@webdevarif/dashui 0.3.1 → 0.3.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/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +157 -39
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +156 -39
- package/dist/index.mjs.map +1 -1
- package/dist/styles/globals.css +23 -4
- package/package.json +80 -79
package/dist/styles/globals.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
50% { opacity: 0.5; }
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
/* @webdevarif/dashui � All Tokens Combined
|
|
15
|
+
/* @webdevarif/dashui � All Tokens Combined
|
|
16
16
|
* Import: import '@webdevarif/dashui/styles'
|
|
17
17
|
*/
|
|
18
18
|
|
|
@@ -413,6 +413,25 @@
|
|
|
413
413
|
|
|
414
414
|
/* Scheme 5–16: Reserved for user-defined schemes */
|
|
415
415
|
/* Generated dynamically via API: GET /api/theme/{storeId}/styles.css */
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
416
|
+
|
|
417
|
+
/* ─── react-colorful overrides for dark theme ───────────────── */
|
|
418
|
+
.react-colorful {
|
|
419
|
+
width: 200px !important;
|
|
420
|
+
height: 160px !important;
|
|
421
|
+
border-radius: 8px !important;
|
|
422
|
+
}
|
|
423
|
+
.react-colorful__saturation {
|
|
424
|
+
border-radius: 6px 6px 0 0 !important;
|
|
425
|
+
}
|
|
426
|
+
.react-colorful__hue {
|
|
427
|
+
height: 16px !important;
|
|
428
|
+
border-radius: 4px !important;
|
|
429
|
+
}
|
|
430
|
+
.react-colorful__pointer {
|
|
431
|
+
width: 18px !important;
|
|
432
|
+
height: 18px !important;
|
|
433
|
+
border-width: 2px !important;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
package/package.json
CHANGED
|
@@ -1,81 +1,82 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name":
|
|
3
|
-
"version":
|
|
4
|
-
"description":
|
|
5
|
-
"keywords":
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"author":
|
|
14
|
-
"license":
|
|
15
|
-
"homepage":
|
|
16
|
-
"repository":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"main":
|
|
21
|
-
"module":
|
|
22
|
-
"types":
|
|
23
|
-
"exports":
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"files":
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"scripts":
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"peerDependencies":
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"dependencies":
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
2
|
+
"name": "@webdevarif/dashui",
|
|
3
|
+
"version": "0.3.2",
|
|
4
|
+
"description": "Universal dashboard UI component library with design token system — by webdevarif",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dashboard",
|
|
7
|
+
"ui",
|
|
8
|
+
"components",
|
|
9
|
+
"design-system",
|
|
10
|
+
"react",
|
|
11
|
+
"tailwind"
|
|
12
|
+
],
|
|
13
|
+
"author": "webdevarif",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"homepage": "https://dashui.webdevarif.com",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/webdevarif/dashui"
|
|
19
|
+
},
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"module": "./dist/index.mjs",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"import": "./dist/index.mjs",
|
|
27
|
+
"require": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./styles": "./dist/styles/globals.css",
|
|
30
|
+
"./tokens/primitives": "./dist/tokens/primitives.css",
|
|
31
|
+
"./tokens/light": "./dist/tokens/semantic-light.css",
|
|
32
|
+
"./tokens/dark": "./dist/tokens/semantic-dark.css",
|
|
33
|
+
"./tokens/schemes": "./dist/tokens/storefront-schemes.css"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsup && cpx \"src/styles/**/*.css\" dist/styles && cpx \"src/tokens/**/*.css\" dist/tokens",
|
|
41
|
+
"dev": "tsup --watch",
|
|
42
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
43
|
+
"typecheck": "tsc --noEmit"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"next": ">=14",
|
|
47
|
+
"next-themes": ">=0.2",
|
|
48
|
+
"react": ">=18",
|
|
49
|
+
"react-dom": ">=18"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@radix-ui/react-checkbox": "^1.1.3",
|
|
53
|
+
"@radix-ui/react-dialog": "^1.1.4",
|
|
54
|
+
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
55
|
+
"@radix-ui/react-label": "^2.1.1",
|
|
56
|
+
"@radix-ui/react-popover": "^1.1.4",
|
|
57
|
+
"@radix-ui/react-select": "^2.1.4",
|
|
58
|
+
"@radix-ui/react-separator": "^1.1.1",
|
|
59
|
+
"@radix-ui/react-slot": "^1.1.1",
|
|
60
|
+
"@radix-ui/react-switch": "^1.1.2",
|
|
61
|
+
"@radix-ui/react-tabs": "^1.1.2",
|
|
62
|
+
"@radix-ui/react-tooltip": "^1.1.6",
|
|
63
|
+
"class-variance-authority": "^0.7.1",
|
|
64
|
+
"clsx": "^2.1.1",
|
|
65
|
+
"lucide-react": "^0.469.0",
|
|
66
|
+
"next-themes": ">=0.2",
|
|
67
|
+
"react-colorful": "^5.6.1",
|
|
68
|
+
"sonner": "^1.7.1",
|
|
69
|
+
"tailwind-merge": "^2.6.0"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@types/react": "^18",
|
|
73
|
+
"@types/react-dom": "^18",
|
|
74
|
+
"cpx2": "^8.0.0",
|
|
75
|
+
"tailwindcss": "^3.4.17",
|
|
76
|
+
"tsup": "^8.3.5",
|
|
77
|
+
"typescript": "^5"
|
|
78
|
+
},
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
|
+
}
|
|
81
82
|
}
|