@soybeanjs/unocss-shadcn 0.3.4 → 0.4.0
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.ts +2 -2
- package/dist/index.js +4 -0
- package/package.json +27 -26
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as unocss from "unocss";
|
|
1
|
+
import * as _$unocss from "unocss";
|
|
2
2
|
import { Theme } from "unocss/preset-mini";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
5
|
-
declare const presetShadcn: unocss.PresetFactory<object, Theme>;
|
|
5
|
+
declare const presetShadcn: _$unocss.PresetFactory<object, Theme>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { presetShadcn };
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,10 @@ import{definePreset as e}from"unocss";const t=e(()=>({name:`unocss-preset-shadcn
|
|
|
3
3
|
border-color: hsl(var(--border) / var(--border-alpha, 1));
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
button {
|
|
7
|
+
background-color: transparent;
|
|
8
|
+
}
|
|
9
|
+
|
|
6
10
|
body {
|
|
7
11
|
color: hsl(var(--foreground));
|
|
8
12
|
background: hsl(var(--background));
|
package/package.json
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/unocss-shadcn",
|
|
3
|
-
"
|
|
4
|
-
"version": "0.3.4",
|
|
3
|
+
"version": "0.4.0",
|
|
5
4
|
"description": "unocss preset shadcn for Soybean UI",
|
|
5
|
+
"homepage": "https://github.com/soybeanjs/unocss-shadcn",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/soybeanjs/unocss-shadcn/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
6
10
|
"author": {
|
|
7
11
|
"name": "Soybean",
|
|
8
12
|
"email": "soybeanjs@outlook.com",
|
|
9
13
|
"url": "https://github.com/soybeanjs"
|
|
10
14
|
},
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"homepage": "https://github.com/soybeanjs/unocss-shadcn",
|
|
13
15
|
"repository": {
|
|
14
16
|
"url": "https://github.com/soybeanjs/unocss-shadcn.git"
|
|
15
17
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"module": "dist/index.js",
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
22
25
|
"exports": {
|
|
23
26
|
".": {
|
|
24
27
|
"types": "./dist/index.d.ts",
|
|
@@ -26,39 +29,37 @@
|
|
|
26
29
|
"require": "./dist/index.js"
|
|
27
30
|
}
|
|
28
31
|
},
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"files": [
|
|
33
|
-
"dist"
|
|
34
|
-
],
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"registry": "https://registry.npmjs.org/"
|
|
34
|
+
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"unocss": "^66.6.
|
|
36
|
+
"unocss": "^66.6.8"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@soybeanjs/cli": "1.
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
39
|
+
"@soybeanjs/cli": "1.7.1",
|
|
40
|
+
"@types/node": "25.6.0",
|
|
41
|
+
"lint-staged": "16.4.0",
|
|
42
|
+
"oxfmt": "^0.46.0",
|
|
43
|
+
"oxlint": "^1.61.0",
|
|
44
44
|
"simple-git-hooks": "2.13.1",
|
|
45
|
-
"tsdown": "0.
|
|
45
|
+
"tsdown": "0.21.10",
|
|
46
46
|
"tsx": "4.21.0",
|
|
47
|
-
"typescript": "
|
|
47
|
+
"typescript": "6.0.3"
|
|
48
48
|
},
|
|
49
49
|
"simple-git-hooks": {
|
|
50
50
|
"commit-msg": "pnpm soy git-commit-verify",
|
|
51
51
|
"pre-commit": "pnpm typecheck && pnpm lint-staged"
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
|
-
"*": "
|
|
54
|
+
"*": "oxlint . --fix && oxfmt"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "tsdown",
|
|
58
58
|
"cleanup": "soy cleanup",
|
|
59
59
|
"commit": "soy git-commit",
|
|
60
60
|
"dev": "tsdown",
|
|
61
|
-
"
|
|
61
|
+
"fmt": "oxfmt",
|
|
62
|
+
"lint": "oxlint . --fix",
|
|
62
63
|
"publish-pkg": "pnpm publish --access public",
|
|
63
64
|
"release": "soy release",
|
|
64
65
|
"typecheck": "tsc --noEmit --skipLibCheck",
|