@xyd-js/ui 0.1.0-xyd.4 → 0.1.0-xyd.57
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/LICENSE +21 -0
- package/dist/index.css +14 -47
- package/dist/index.d.ts +43 -18
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -0
- package/package.json +21 -12
- package/check.json +0 -8795
- package/index.ts +0 -3
- package/rollup.config.js +0 -79
- package/src/components/Anchor/Anchor.styles.ts +0 -7
- package/src/components/Anchor/Anchor.tsx +0 -57
- package/src/components/Anchor/index.ts +0 -7
- package/src/components/Nav/Nav.styles.tsx +0 -87
- package/src/components/Nav/Nav.tsx +0 -56
- package/src/components/Nav/index.ts +0 -8
- package/src/components/Sidebar/Collapse.styles.tsx +0 -24
- package/src/components/Sidebar/Collapse.tsx +0 -84
- package/src/components/Sidebar/Sidebar.styles.tsx +0 -117
- package/src/components/Sidebar/Sidebar.tsx +0 -121
- package/src/components/Sidebar/index.ts +0 -11
- package/src/components/SubNav/SubNav.styles.tsx +0 -81
- package/src/components/SubNav/SubNav.tsx +0 -42
- package/src/components/SubNav/index.ts +0 -7
- package/src/components/Toc/Toc.styles.tsx +0 -56
- package/src/components/Toc/Toc.tsx +0 -152
- package/src/components/Toc/index.ts +0 -1
- package/src/components/index.ts +0 -13
- package/src/types/index.ts +0 -23
- package/tsconfig.json +0 -41
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/ui",
|
|
3
|
-
"version": "0.1.0-xyd.
|
|
3
|
+
"version": "0.1.0-xyd.57",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,24 +12,27 @@
|
|
|
12
12
|
"import": "./dist/index.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"package.json"
|
|
18
|
+
],
|
|
20
19
|
"dependencies": {
|
|
21
20
|
"@linaria/atomic": "^6.2.0",
|
|
22
21
|
"@linaria/core": "^6.2.0",
|
|
23
|
-
"
|
|
22
|
+
"radix-ui": "^1.4.2"
|
|
24
23
|
},
|
|
25
24
|
"peerDependencies": {
|
|
26
|
-
"react": "^
|
|
25
|
+
"react": "^19.1.0",
|
|
26
|
+
"react-router": "^7.6.2",
|
|
27
|
+
"@xyd-js/components": "0.1.0-xyd.52"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
30
|
+
"@types/react": "^19.1.0",
|
|
31
|
+
"@types/react-dom": "^19.1.0",
|
|
31
32
|
"@babel/preset-env": "^7.26.0",
|
|
32
33
|
"@babel/preset-flow": "^7.25.9",
|
|
34
|
+
"@babel/preset-react": "^7.26.0",
|
|
35
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
33
36
|
"@rollup/plugin-alias": "^5.1.1",
|
|
34
37
|
"@rollup/plugin-babel": "^6.0.4",
|
|
35
38
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
@@ -40,12 +43,18 @@
|
|
|
40
43
|
"autoprefixer": "^10.4.20",
|
|
41
44
|
"postcss": "^8.4.47",
|
|
42
45
|
"postcss-import": "^16.1.0",
|
|
46
|
+
"rimraf": "^3.0.2",
|
|
43
47
|
"rollup": "^4.27.4",
|
|
44
48
|
"rollup-plugin-css-only": "^4.5.2",
|
|
45
49
|
"rollup-plugin-dts": "^6.1.1",
|
|
46
50
|
"rollup-plugin-postcss": "^4.0.2",
|
|
47
51
|
"rollup-plugin-terser": "^7.0.2",
|
|
48
|
-
"tsup": "^8.3.0"
|
|
49
|
-
|
|
52
|
+
"tsup": "^8.3.0"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "rollup -c rollup.config.js",
|
|
56
|
+
"dev": "rollup -c rollup.config.js --watch",
|
|
57
|
+
"clean": "rimraf build",
|
|
58
|
+
"prebuild": "pnpm clean"
|
|
50
59
|
}
|
|
51
60
|
}
|