najm-kit 0.0.7
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 +70 -0
- package/dist/NTableJson-tXqgfZI1.d.ts +5 -0
- package/dist/adapters/next.d.ts +20 -0
- package/dist/adapters/next.mjs +23 -0
- package/dist/index.d.ts +2812 -0
- package/dist/index.mjs +8455 -0
- package/dist/json.d.ts +54 -0
- package/dist/json.mjs +839 -0
- package/dist/styles.css +3754 -0
- package/dist/styles.css.d.ts +2 -0
- package/package.json +133 -0
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "najm-kit",
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Reusable React UI component package for Najm framework",
|
|
6
|
+
"main": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.mjs",
|
|
15
|
+
"default": "./dist/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"./styles.css": {
|
|
18
|
+
"types": "./dist/styles.css.d.ts",
|
|
19
|
+
"import": "./dist/styles.css",
|
|
20
|
+
"default": "./dist/styles.css"
|
|
21
|
+
},
|
|
22
|
+
"./next": {
|
|
23
|
+
"types": "./dist/adapters/next.d.ts",
|
|
24
|
+
"import": "./dist/adapters/next.mjs",
|
|
25
|
+
"default": "./dist/adapters/next.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json",
|
|
28
|
+
"./json": {
|
|
29
|
+
"types": "./dist/json.d.ts",
|
|
30
|
+
"import": "./dist/json.mjs",
|
|
31
|
+
"default": "./dist/json.mjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsup && node scripts/build-css.mjs",
|
|
36
|
+
"build:css": "node scripts/build-css.mjs",
|
|
37
|
+
"dev": "vite",
|
|
38
|
+
"dev:preview": "vite",
|
|
39
|
+
"preview": "vite preview",
|
|
40
|
+
"build:preview": "vite build",
|
|
41
|
+
"test": "bun test",
|
|
42
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": ">=18",
|
|
46
|
+
"react-dom": ">=18",
|
|
47
|
+
"zod": ">=4",
|
|
48
|
+
"@uiw/react-codemirror": "^4.25.0",
|
|
49
|
+
"@codemirror/state": "^6.6.0",
|
|
50
|
+
"@codemirror/view": "^6.42.0",
|
|
51
|
+
"@codemirror/language": "^6.12.0",
|
|
52
|
+
"@codemirror/commands": "^6.10.0",
|
|
53
|
+
"@codemirror/lang-json": "^6.0.0",
|
|
54
|
+
"@codemirror/theme-one-dark": "^6.1.0",
|
|
55
|
+
"@lezer/highlight": "^1.2.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"@uiw/react-codemirror": {
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"@codemirror/state": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"@codemirror/view": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"@codemirror/language": {
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
70
|
+
"@codemirror/commands": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"@codemirror/lang-json": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@codemirror/theme-one-dark": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"@lezer/highlight": {
|
|
80
|
+
"optional": true
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@hookform/resolvers": "^5",
|
|
85
|
+
"@radix-ui/react-avatar": "^1",
|
|
86
|
+
"@radix-ui/react-checkbox": "^1",
|
|
87
|
+
"@radix-ui/react-collapsible": "^1",
|
|
88
|
+
"@radix-ui/react-dialog": "^1",
|
|
89
|
+
"@radix-ui/react-dropdown-menu": "^2",
|
|
90
|
+
"@radix-ui/react-label": "^2",
|
|
91
|
+
"@radix-ui/react-popover": "^1",
|
|
92
|
+
"@radix-ui/react-progress": "^1",
|
|
93
|
+
"@radix-ui/react-radio-group": "^1",
|
|
94
|
+
"@radix-ui/react-select": "^2",
|
|
95
|
+
"@radix-ui/react-separator": "^1",
|
|
96
|
+
"@radix-ui/react-slot": "^1",
|
|
97
|
+
"@radix-ui/react-switch": "^1",
|
|
98
|
+
"@radix-ui/react-tabs": "^1",
|
|
99
|
+
"@radix-ui/react-toggle": "^1",
|
|
100
|
+
"@radix-ui/react-tooltip": "^1",
|
|
101
|
+
"@tanstack/react-table": "^8",
|
|
102
|
+
"class-variance-authority": "^0.7",
|
|
103
|
+
"clsx": "^2",
|
|
104
|
+
"cmdk": "^1",
|
|
105
|
+
"date-fns": "^4",
|
|
106
|
+
"lucide-react": "^0.474",
|
|
107
|
+
"react-day-picker": "^9",
|
|
108
|
+
"react-file-icon": "^1.6.0",
|
|
109
|
+
"react-hook-form": "^7",
|
|
110
|
+
"react-international-phone": "^4.8.0",
|
|
111
|
+
"sonner": "^2",
|
|
112
|
+
"tailwind-merge": "^3",
|
|
113
|
+
"zustand": "^5"
|
|
114
|
+
},
|
|
115
|
+
"devDependencies": {
|
|
116
|
+
"@testing-library/react": "^16",
|
|
117
|
+
"@testing-library/user-event": "^14.6.1",
|
|
118
|
+
"@types/react": "^19",
|
|
119
|
+
"@types/react-dom": "^19",
|
|
120
|
+
"@types/react-file-icon": "^1.0.5",
|
|
121
|
+
"@vitejs/plugin-react": "^4",
|
|
122
|
+
"autoprefixer": "^10",
|
|
123
|
+
"happy-dom": "^17",
|
|
124
|
+
"postcss": "^8",
|
|
125
|
+
"postcss-prefix-selector": "^2",
|
|
126
|
+
"rimraf": "^6",
|
|
127
|
+
"tailwindcss": "^3",
|
|
128
|
+
"tailwindcss-animate": "^1",
|
|
129
|
+
"tsup": "^8",
|
|
130
|
+
"typescript": "^5",
|
|
131
|
+
"vite": "^6"
|
|
132
|
+
}
|
|
133
|
+
}
|