zs_library 0.4.6 → 0.4.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.
@@ -1,7 +1,7 @@
1
1
  var Pi = Object.defineProperty;
2
2
  var zi = (n, e, t) => e in n ? Pi(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var cn = (n, e, t) => zi(n, typeof e != "symbol" ? e + "" : e, t);
4
- import "./zs_library.css";
4
+ import "./index.css";
5
5
  import Bi from "i18next";
6
6
  import { initReactI18next as Li } from "react-i18next";
7
7
  import { jsx as h, jsxs as x, Fragment as rt } from "react/jsx-runtime";
@@ -1257,9 +1257,7 @@ const Nr = Qo({
1257
1257
  setMoveItemId: b,
1258
1258
  setMoveTargetId: g,
1259
1259
  addItem: y
1260
- } = bt();
1261
- console.log("🚀 ~ list:", a);
1262
- const { pagingDotBuilder: C, pagingDotsBuilder: O, itemBuilder: k } = it(), I = pt(() => e === !1 ? {} : {
1260
+ } = bt(), { pagingDotBuilder: C, pagingDotsBuilder: O, itemBuilder: k } = it(), I = pt(() => e === !1 ? {} : {
1263
1261
  top: S`
1264
1262
  display: flex;
1265
1263
  flex-direction: column;
@@ -8750,8 +8748,7 @@ function wd(n, e) {
8750
8748
  if (n && typeof n.serializeForClipboard == "function")
8751
8749
  return n.serializeForClipboard(e);
8752
8750
  const t = Td();
8753
- if (t && // @ts-expect-error proseMirrorView is not a function
8754
- typeof (t == null ? void 0 : t.__serializeForClipboard) == "function")
8751
+ if (t && typeof (t == null ? void 0 : t.__serializeForClipboard) == "function")
8755
8752
  return t.__serializeForClipboard(n, e);
8756
8753
  throw new Error("No supported clipboard serialization method found.");
8757
8754
  }
package/package.json CHANGED
@@ -1,146 +1,146 @@
1
- {
2
- "name": "zs_library",
3
- "version": "0.4.6",
4
- "homepage": "https://zs-library.virs.xyz/",
5
- "bugs": {
6
- "url": "https://github.com/virzs/zs_library/issues"
7
- },
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/virzs/zs_library.git"
11
- },
12
- "license": "MIT",
13
- "author": "v",
14
- "type": "module",
15
- "exports": {
16
- ".": {
17
- "types": "./dist/index.d.ts",
18
- "import": "./dist/index.es.js",
19
- "require": "./dist/index.umd.js"
20
- },
21
- "./style.css": "./dist/zs_library.css"
22
- },
23
- "main": "dist/index.umd.js",
24
- "module": "dist/index.es.js",
25
- "types": "dist/index.d.ts",
26
- "directories": {
27
- "doc": "docs"
28
- },
29
- "files": [
30
- "dist"
31
- ],
32
- "scripts": {
33
- "build": "tsc -b && vite build",
34
- "dev": "vite",
35
- "docs:build": "vite build && rspress build",
36
- "docs:dev": "rspress dev --host 0.0.0.0 --port 4372",
37
- "docs:preview": "rspress preview",
38
- "lint": "eslint .",
39
- "prepare": "husky"
40
- },
41
- "dependencies": {
42
- "@ai-sdk/react": "^1.1.17",
43
- "@emotion/css": "^11.13.5",
44
- "@mantine/core": "^7.14.3",
45
- "@mdxeditor/editor": "^3.20.0",
46
- "@radix-ui/react-dialog": "^1.1.6",
47
- "@radix-ui/react-dropdown-menu": "^2.1.6",
48
- "@radix-ui/react-popover": "^1.1.6",
49
- "@radix-ui/react-scroll-area": "^1.2.3",
50
- "@radix-ui/react-separator": "^1.1.2",
51
- "@radix-ui/react-slot": "^1.1.2",
52
- "@radix-ui/react-tooltip": "^1.1.8",
53
- "@remixicon/react": "^4.5.0",
54
- "@tailwindcss/typography": "^0.5.16",
55
- "@tiptap/core": "^2.11.5",
56
- "@tiptap/html": "^2.11.5",
57
- "@tiptap/pm": "^2.11.5",
58
- "ahooks": "^3.8.4",
59
- "class-variance-authority": "^0.7.1",
60
- "clsx": "^2.1.1",
61
- "cmdk": "^1.0.4",
62
- "echarts": "^5.5.1",
63
- "framer-motion": "12.0.0-alpha.2",
64
- "github-markdown-css": "^5.8.1",
65
- "highlight.js": "^11.11.1",
66
- "i18next": "^24.2.2",
67
- "lint-staged": "^15.2.10",
68
- "lowlight": "^3.3.0",
69
- "lucide-react": "^0.475.0",
70
- "next-themes": "^0.4.4",
71
- "novel": "^1.0.2",
72
- "rc-dialog": "^9.6.0",
73
- "rc-dropdown": "^4.2.1",
74
- "rc-image": "^7.11.0",
75
- "rc-menu": "^9.16.1",
76
- "rc-tooltip": "^6.3.1",
77
- "react": "^19.1.0",
78
- "react-dom": "^19.1.0",
79
- "react-i18next": "^15.4.0",
80
- "react-json-view": "^1.21.3",
81
- "react-markdown": "^9.0.1",
82
- "react-modal-sheet": "^3.3.0",
83
- "react-slick": "^0.30.2",
84
- "react-sortablejs": "^6.1.4",
85
- "react-syntax-highlighter": "^15.6.1",
86
- "rehype-raw": "^7.0.0",
87
- "remark-emoji": "^5.0.1",
88
- "remark-gfm": "^4.0.0",
89
- "remixicon": "^4.5.0",
90
- "slick-carousel": "^1.8.1",
91
- "sonner": "^1.7.4",
92
- "sortablejs": "^1.15.6",
93
- "tailwind-merge": "^2.5.5",
94
- "tailwindcss-animate": "^1.0.7",
95
- "tiptap-markdown": "^0.8.10",
96
- "use-debounce": "^10.0.4",
97
- "uuid": "^11.0.3"
98
- },
99
- "devDependencies": {
100
- "@commitlint/cli": "^19.6.0",
101
- "@commitlint/config-conventional": "^19.6.0",
102
- "@eslint/js": "^9.16.0",
103
- "@rspress/plugin-api-docgen": "^1.42.0",
104
- "@rspress/plugin-playground": "^1.42.0",
105
- "@rspress/plugin-preview": "^1.42.0",
106
- "@rspress/plugin-typedoc": "^1.42.0",
107
- "@types/node": "^22.10.1",
108
- "@types/react": "^19.0.1",
109
- "@types/react-dom": "^19.0.1",
110
- "@types/react-slick": "^0.23.13",
111
- "@types/react-syntax-highlighter": "^15.5.13",
112
- "@types/rollup-plugin-auto-external": "^2.0.5",
113
- "@types/uuid": "^10.0.0",
114
- "@vitejs/plugin-react": "^4.3.4",
115
- "@vitejs/plugin-react-swc": "^3.7.2",
116
- "autoprefixer": "^10.4.20",
117
- "eslint": "^9.16.0",
118
- "eslint-plugin-react-hooks": "^5.1.0",
119
- "eslint-plugin-react-refresh": "^0.4.16",
120
- "globals": "^15.13.0",
121
- "husky": "^9.1.7",
122
- "postcss": "^8.4.49",
123
- "rollup": "^4.28.1",
124
- "rollup-plugin-auto-external": "^2.0.0",
125
- "rollup-plugin-visualizer": "^5.12.0",
126
- "rspress": "^1.42.0",
127
- "tailwindcss": "^3.4.16",
128
- "ts-node": "^10.9.2",
129
- "typescript": "^5.7.2",
130
- "typescript-eslint": "^8.17.0",
131
- "vite": "^6.2.0",
132
- "vite-plugin-dts": "^4.5.0",
133
- "vite-plugin-libcss": "^1.1.1"
134
- },
135
- "publishConfig": {
136
- "access": "public"
137
- },
138
- "authors": [
139
- "virs2018@outlook.com"
140
- ],
141
- "pnpm": {
142
- "overrides": {
143
- "tiptap-extension-global-drag-handle": "^0.1.18"
144
- }
145
- }
146
- }
1
+ {
2
+ "name": "zs_library",
3
+ "version": "0.4.7",
4
+ "homepage": "https://zs-library.virs.xyz/",
5
+ "bugs": {
6
+ "url": "https://github.com/virzs/zs_library/issues"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/virzs/zs_library.git"
11
+ },
12
+ "license": "MIT",
13
+ "author": "v",
14
+ "type": "module",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ },
20
+ "./style.css": "./dist/index.css"
21
+ },
22
+ "module": "dist/index.js",
23
+ "types": "dist/index.d.ts",
24
+ "directories": {
25
+ "doc": "docs"
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsc -b && vite build",
32
+ "dev": "vite",
33
+ "docs:build": "vite build && rspress build",
34
+ "docs:dev": "rspress dev --host 0.0.0.0 --port 4372",
35
+ "docs:preview": "rspress preview",
36
+ "lint": "eslint .",
37
+ "prepare": "husky"
38
+ },
39
+ "dependencies": {
40
+ "@ai-sdk/react": "^1.1.17",
41
+ "@emotion/css": "^11.13.5",
42
+ "@mantine/core": "^7.14.3",
43
+ "@mdxeditor/editor": "^3.20.0",
44
+ "@radix-ui/react-dialog": "^1.1.6",
45
+ "@radix-ui/react-dropdown-menu": "^2.1.6",
46
+ "@radix-ui/react-popover": "^1.1.6",
47
+ "@radix-ui/react-scroll-area": "^1.2.3",
48
+ "@radix-ui/react-separator": "^1.1.2",
49
+ "@radix-ui/react-slot": "^1.1.2",
50
+ "@radix-ui/react-tooltip": "^1.1.8",
51
+ "@remixicon/react": "^4.5.0",
52
+ "@tailwindcss/typography": "^0.5.16",
53
+ "@tiptap/core": "^2.11.5",
54
+ "@tiptap/html": "^2.11.5",
55
+ "@tiptap/pm": "^2.11.5",
56
+ "ahooks": "^3.8.4",
57
+ "class-variance-authority": "^0.7.1",
58
+ "clsx": "^2.1.1",
59
+ "cmdk": "^1.0.4",
60
+ "echarts": "^5.5.1",
61
+ "framer-motion": "12.0.0-alpha.2",
62
+ "github-markdown-css": "^5.8.1",
63
+ "highlight.js": "^11.11.1",
64
+ "i18next": "^24.2.2",
65
+ "lint-staged": "^15.2.10",
66
+ "lowlight": "^3.3.0",
67
+ "lucide-react": "^0.475.0",
68
+ "next-themes": "^0.4.4",
69
+ "novel": "^1.0.2",
70
+ "rc-dialog": "^9.6.0",
71
+ "rc-dropdown": "^4.2.1",
72
+ "rc-image": "^7.11.0",
73
+ "rc-menu": "^9.16.1",
74
+ "rc-tooltip": "^6.3.1",
75
+ "react-i18next": "^15.4.0",
76
+ "react-json-view": "^1.21.3",
77
+ "react-markdown": "^9.0.1",
78
+ "react-modal-sheet": "^3.3.0",
79
+ "react-slick": "^0.30.2",
80
+ "react-sortablejs": "^6.1.4",
81
+ "react-syntax-highlighter": "^15.6.1",
82
+ "rehype-raw": "^7.0.0",
83
+ "remark-emoji": "^5.0.1",
84
+ "remark-gfm": "^4.0.0",
85
+ "remixicon": "^4.5.0",
86
+ "slick-carousel": "^1.8.1",
87
+ "sonner": "^1.7.4",
88
+ "sortablejs": "^1.15.6",
89
+ "tailwind-merge": "^2.5.5",
90
+ "tailwindcss-animate": "^1.0.7",
91
+ "tiptap-markdown": "^0.8.10",
92
+ "use-debounce": "^10.0.4",
93
+ "uuid": "^11.0.3"
94
+ },
95
+ "devDependencies": {
96
+ "@commitlint/cli": "^19.6.0",
97
+ "@commitlint/config-conventional": "^19.6.0",
98
+ "@eslint/js": "^9.16.0",
99
+ "@rspress/plugin-api-docgen": "^1.42.0",
100
+ "@rspress/plugin-playground": "^1.42.0",
101
+ "@rspress/plugin-preview": "^1.42.0",
102
+ "@rspress/plugin-typedoc": "^1.42.0",
103
+ "@types/node": "^22.10.1",
104
+ "@types/react": "^19.0.1",
105
+ "@types/react-dom": "^19.0.1",
106
+ "@types/react-slick": "^0.23.13",
107
+ "@types/react-syntax-highlighter": "^15.5.13",
108
+ "@types/rollup-plugin-auto-external": "^2.0.5",
109
+ "@types/uuid": "^10.0.0",
110
+ "@vitejs/plugin-react": "^4.3.4",
111
+ "@vitejs/plugin-react-swc": "^3.7.2",
112
+ "autoprefixer": "^10.4.20",
113
+ "eslint": "^9.16.0",
114
+ "eslint-plugin-react-hooks": "^5.1.0",
115
+ "eslint-plugin-react-refresh": "^0.4.16",
116
+ "globals": "^15.13.0",
117
+ "husky": "^9.1.7",
118
+ "postcss": "^8.4.49",
119
+ "rollup": "^4.28.1",
120
+ "rollup-plugin-auto-external": "^2.0.0",
121
+ "rollup-plugin-visualizer": "^5.12.0",
122
+ "rspress": "^1.42.0",
123
+ "tailwindcss": "^3.4.16",
124
+ "ts-node": "^10.9.2",
125
+ "typescript": "^5.7.2",
126
+ "typescript-eslint": "^8.17.0",
127
+ "vite": "^6.2.0",
128
+ "vite-plugin-dts": "^4.5.0",
129
+ "vite-plugin-libcss": "^1.1.1"
130
+ },
131
+ "publishConfig": {
132
+ "access": "public"
133
+ },
134
+ "authors": [
135
+ "virs2018@outlook.com"
136
+ ],
137
+ "peerDependencies": {
138
+ "react": "^17.0.0 || ^18.0.0",
139
+ "react-dom": "^17.0.0 || ^18.0.0"
140
+ },
141
+ "pnpm": {
142
+ "overrides": {
143
+ "tiptap-extension-global-drag-handle": "^0.1.18"
144
+ }
145
+ }
146
+ }