@skill-academy/uikit 0.0.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/README.md +115 -0
- package/dist/index.cjs +4817 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +4184 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +488 -0
- package/dist/index.d.ts +488 -0
- package/dist/index.js +4547 -0
- package/dist/index.js.map +1 -0
- package/package.json +161 -0
- package/postcss.config.cjs +5 -0
- package/styles/fonts.css +4 -0
- package/styles/index.css +10 -0
- package/styles/tailwind-src.css +9 -0
- package/styles/tailwind.css +3893 -0
- package/styles/theme-variables.css +82 -0
- package/styles/theme.css +181 -0
- package/tailwind.preset.js +55 -0
package/package.json
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@skill-academy/uikit",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./styles": "./styles/index.css",
|
|
15
|
+
"./styles/theme.css": "./styles/theme.css",
|
|
16
|
+
"./styles/theme-variables.css": "./styles/theme-variables.css",
|
|
17
|
+
"./styles/tailwind.css": "./styles/tailwind.css",
|
|
18
|
+
"./styles/index.css": "./styles/index.css",
|
|
19
|
+
"./styles/fonts.css": "./styles/fonts.css",
|
|
20
|
+
"./tailwind.preset.js": "./tailwind.preset.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"styles",
|
|
25
|
+
"tailwind.preset.js",
|
|
26
|
+
"postcss.config.cjs"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "yarn build:js && yarn build:css",
|
|
30
|
+
"build:js": "tsup",
|
|
31
|
+
"build:css": "postcss styles/tailwind-src.css -o styles/tailwind.css",
|
|
32
|
+
"dev": "tsup --watch"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": ">=17.0.0",
|
|
36
|
+
"react-dom": ">=17.0.0",
|
|
37
|
+
"@radix-ui/react-accordion": "*",
|
|
38
|
+
"@radix-ui/react-alert-dialog": "*",
|
|
39
|
+
"@radix-ui/react-aspect-ratio": "*",
|
|
40
|
+
"@radix-ui/react-avatar": "*",
|
|
41
|
+
"@radix-ui/react-checkbox": "*",
|
|
42
|
+
"@radix-ui/react-collapsible": "*",
|
|
43
|
+
"@radix-ui/react-context-menu": "*",
|
|
44
|
+
"@radix-ui/react-dialog": "*",
|
|
45
|
+
"@radix-ui/react-dropdown-menu": "*",
|
|
46
|
+
"@radix-ui/react-hover-card": "*",
|
|
47
|
+
"@radix-ui/react-label": "*",
|
|
48
|
+
"@radix-ui/react-menubar": "*",
|
|
49
|
+
"@radix-ui/react-navigation-menu": "*",
|
|
50
|
+
"@radix-ui/react-popover": "*",
|
|
51
|
+
"@radix-ui/react-progress": "*",
|
|
52
|
+
"@radix-ui/react-radio-group": "*",
|
|
53
|
+
"@radix-ui/react-scroll-area": "*",
|
|
54
|
+
"@radix-ui/react-select": "*",
|
|
55
|
+
"@radix-ui/react-separator": "*",
|
|
56
|
+
"@radix-ui/react-slider": "*",
|
|
57
|
+
"@radix-ui/react-slot": "*",
|
|
58
|
+
"@radix-ui/react-switch": "*",
|
|
59
|
+
"@radix-ui/react-tabs": "*",
|
|
60
|
+
"@radix-ui/react-toggle": "*",
|
|
61
|
+
"@radix-ui/react-toggle-group": "*",
|
|
62
|
+
"@radix-ui/react-tooltip": "*",
|
|
63
|
+
"class-variance-authority": "*",
|
|
64
|
+
"clsx": "*",
|
|
65
|
+
"tailwind-merge": "*"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"cmdk": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"date-fns": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"embla-carousel-react": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"input-otp": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"lucide-react": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"next-themes": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"react-day-picker": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"react-hook-form": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"react-resizable-panels": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"recharts": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"sonner": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"vaul": {
|
|
102
|
+
"optional": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"devDependencies": {
|
|
106
|
+
"@radix-ui/react-accordion": "^1.2.3",
|
|
107
|
+
"@radix-ui/react-alert-dialog": "^1.1.6",
|
|
108
|
+
"@radix-ui/react-aspect-ratio": "^1.1.2",
|
|
109
|
+
"@radix-ui/react-avatar": "^1.1.3",
|
|
110
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
111
|
+
"@radix-ui/react-collapsible": "^1.1.3",
|
|
112
|
+
"@radix-ui/react-context-menu": "^2.2.6",
|
|
113
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
114
|
+
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
|
115
|
+
"@radix-ui/react-hover-card": "^1.1.6",
|
|
116
|
+
"@radix-ui/react-label": "^2.1.2",
|
|
117
|
+
"@radix-ui/react-menubar": "^1.1.6",
|
|
118
|
+
"@radix-ui/react-navigation-menu": "^1.2.5",
|
|
119
|
+
"@radix-ui/react-popover": "^1.1.6",
|
|
120
|
+
"@radix-ui/react-progress": "^1.1.2",
|
|
121
|
+
"@radix-ui/react-radio-group": "^1.2.3",
|
|
122
|
+
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
123
|
+
"@radix-ui/react-select": "^2.1.6",
|
|
124
|
+
"@radix-ui/react-separator": "^1.1.2",
|
|
125
|
+
"@radix-ui/react-slider": "^1.2.3",
|
|
126
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
127
|
+
"@radix-ui/react-switch": "^1.1.3",
|
|
128
|
+
"@radix-ui/react-tabs": "^1.1.3",
|
|
129
|
+
"@radix-ui/react-toggle": "^1.1.2",
|
|
130
|
+
"@radix-ui/react-toggle-group": "^1.1.2",
|
|
131
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
132
|
+
"@types/react": "^19.0.0",
|
|
133
|
+
"@types/react-dom": "^19.0.0",
|
|
134
|
+
"class-variance-authority": "^0.7.1",
|
|
135
|
+
"clsx": "^2.1.0",
|
|
136
|
+
"cmdk": "^1.1.1",
|
|
137
|
+
"date-fns": "^3.0.0",
|
|
138
|
+
"embla-carousel-react": "^8.0.0",
|
|
139
|
+
"input-otp": "^1.4.2",
|
|
140
|
+
"lucide-react": "^0.400.0",
|
|
141
|
+
"next-themes": "^0.4.0",
|
|
142
|
+
"react": "^19.2.4",
|
|
143
|
+
"react-day-picker": "^8.10.0",
|
|
144
|
+
"react-dom": "^19.2.4",
|
|
145
|
+
"react-hook-form": "^7.50.0",
|
|
146
|
+
"react-resizable-panels": "^2.0.0",
|
|
147
|
+
"recharts": "^2.15.0",
|
|
148
|
+
"sonner": "^2.0.0",
|
|
149
|
+
"tailwind-merge": "^3.0.0",
|
|
150
|
+
"tsup": "^8.0.0",
|
|
151
|
+
"@tailwindcss/postcss": "^4.0.0",
|
|
152
|
+
"postcss": "^8.4.0",
|
|
153
|
+
"postcss-cli": "^11.0.0",
|
|
154
|
+
"tailwindcss": "^4.0.0",
|
|
155
|
+
"typescript": "^5.0.0",
|
|
156
|
+
"vaul": "^1.1.0"
|
|
157
|
+
},
|
|
158
|
+
"publishConfig": {
|
|
159
|
+
"access": "public"
|
|
160
|
+
}
|
|
161
|
+
}
|
package/styles/fonts.css
ADDED
package/styles/index.css
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skill Management UI – styles entry.
|
|
3
|
+
* Import this file in your app's main CSS if you use Tailwind v4 (it includes theme + base layer).
|
|
4
|
+
* For Tailwind v3 or variable-only usage, import theme-variables.css instead.
|
|
5
|
+
*/
|
|
6
|
+
@import './theme-variables.css';
|
|
7
|
+
@import './theme.css';
|
|
8
|
+
@import './fonts.css';
|
|
9
|
+
@import './tailwind-src.css';
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind v4 source for @skill-academy/uikit.
|
|
3
|
+
* Build with: yarn build:css
|
|
4
|
+
* Consuming apps using Tailwind v4 can instead import theme.css and add this package to their @source.
|
|
5
|
+
*/
|
|
6
|
+
@import "tailwindcss" source(none);
|
|
7
|
+
@source "../src/**/*.{js,ts,jsx,tsx}";
|
|
8
|
+
|
|
9
|
+
@import "./theme.css";
|