@cyberskill/cyber-editor 3.8.9 → 3.9.1
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 +3 -3
- package/dist/_tsup-dts-rollup.d.cts +196 -0
- package/dist/_tsup-dts-rollup.d.ts +196 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -0
- package/dist/modules/accordion/accordion-extension.cjs +1 -0
- package/dist/modules/accordion/accordion-extension.d.cts +1 -0
- package/dist/modules/accordion/accordion-extension.d.ts +1 -0
- package/dist/modules/accordion/accordion-extension.js +1 -0
- package/dist/modules/accordion/accordion-view.component.cjs +1 -0
- package/dist/modules/accordion/accordion-view.component.d.cts +1 -0
- package/dist/modules/accordion/accordion-view.component.d.ts +1 -0
- package/dist/modules/accordion/accordion-view.component.js +1 -0
- package/dist/modules/accordion/accordion-view.type.cjs +1 -0
- package/dist/modules/accordion/accordion-view.type.d.cts +2 -0
- package/dist/modules/accordion/accordion-view.type.d.ts +2 -0
- package/dist/modules/accordion/accordion-view.type.js +0 -0
- package/dist/modules/accordion/index.cjs +1 -0
- package/dist/modules/accordion/index.d.cts +4 -0
- package/dist/modules/accordion/index.d.ts +4 -0
- package/dist/modules/accordion/index.js +1 -0
- package/dist/modules/color-picker/color-picker.component.cjs +1 -0
- package/dist/modules/color-picker/color-picker.component.d.cts +1 -0
- package/dist/modules/color-picker/color-picker.component.d.ts +1 -0
- package/dist/modules/color-picker/color-picker.component.js +1 -0
- package/dist/modules/color-picker/color-picker.type.cjs +1 -0
- package/dist/modules/color-picker/color-picker.type.d.cts +1 -0
- package/dist/modules/color-picker/color-picker.type.d.ts +1 -0
- package/dist/modules/color-picker/color-picker.type.js +0 -0
- package/dist/modules/color-picker/index.cjs +1 -0
- package/dist/modules/color-picker/index.d.cts +2 -0
- package/dist/modules/color-picker/index.d.ts +2 -0
- package/dist/modules/color-picker/index.js +1 -0
- package/dist/modules/editor/editor.component.cjs +1 -0
- package/dist/modules/editor/editor.component.d.cts +1 -0
- package/dist/modules/editor/editor.component.d.ts +1 -0
- package/dist/modules/editor/editor.component.js +1 -0
- package/dist/modules/editor/editor.constant.cjs +1 -0
- package/dist/modules/editor/editor.constant.d.cts +1 -0
- package/dist/modules/editor/editor.constant.d.ts +1 -0
- package/dist/modules/editor/editor.constant.js +1 -0
- package/dist/modules/editor/editor.module.d.cts +1 -0
- package/dist/modules/editor/editor.module.d.ts +1 -0
- package/dist/modules/editor/editor.module.scss +313 -0
- package/dist/modules/editor/editor.type.cjs +1 -0
- package/dist/modules/editor/editor.type.d.cts +1 -0
- package/dist/modules/editor/editor.type.d.ts +1 -0
- package/dist/modules/editor/editor.type.js +0 -0
- package/dist/modules/editor/index.cjs +1 -0
- package/dist/modules/editor/index.d.cts +3 -0
- package/dist/modules/editor/index.d.ts +3 -0
- package/dist/modules/editor/index.js +1 -0
- package/dist/modules/heading/heading.component.cjs +1 -0
- package/dist/modules/heading/heading.component.d.cts +1 -0
- package/dist/modules/heading/heading.component.d.ts +1 -0
- package/dist/modules/heading/heading.component.js +1 -0
- package/dist/modules/heading/heading.type.cjs +1 -0
- package/dist/modules/heading/heading.type.d.cts +1 -0
- package/dist/modules/heading/heading.type.d.ts +1 -0
- package/dist/modules/heading/heading.type.js +0 -0
- package/dist/modules/heading/index.cjs +1 -0
- package/dist/modules/heading/index.d.cts +2 -0
- package/dist/modules/heading/index.d.ts +2 -0
- package/dist/modules/heading/index.js +1 -0
- package/dist/modules/home/home.page.cjs +1 -0
- package/dist/modules/home/home.page.d.cts +1 -0
- package/dist/modules/home/home.page.d.ts +1 -0
- package/dist/modules/home/home.page.js +1 -0
- package/dist/modules/home/index.cjs +1 -0
- package/dist/modules/home/index.d.cts +1 -0
- package/dist/modules/home/index.d.ts +1 -0
- package/dist/modules/home/index.js +1 -0
- package/dist/modules/image/image-view.component.cjs +1 -0
- package/dist/modules/image/image-view.component.d.cts +1 -0
- package/dist/modules/image/image-view.component.d.ts +1 -0
- package/dist/modules/image/image-view.component.js +1 -0
- package/dist/modules/image/image-view.type.cjs +1 -0
- package/dist/modules/image/image-view.type.d.cts +2 -0
- package/dist/modules/image/image-view.type.d.ts +2 -0
- package/dist/modules/image/image-view.type.js +0 -0
- package/dist/modules/image/image.cjs +1 -0
- package/dist/modules/image/image.d.cts +1 -0
- package/dist/modules/image/image.d.ts +1 -0
- package/dist/modules/image/image.js +1 -0
- package/dist/modules/image/index.cjs +1 -0
- package/dist/modules/image/index.d.cts +4 -0
- package/dist/modules/image/index.d.ts +4 -0
- package/dist/modules/image/index.js +1 -0
- package/dist/modules/index.cjs +1 -0
- package/dist/modules/index.d.cts +20 -0
- package/dist/modules/index.d.ts +20 -0
- package/dist/modules/index.js +1 -0
- package/dist/modules/table/index.cjs +1 -0
- package/dist/modules/table/index.d.cts +2 -0
- package/dist/modules/table/index.d.ts +2 -0
- package/dist/modules/table/index.js +1 -0
- package/dist/modules/table/table.component.cjs +1 -0
- package/dist/modules/table/table.component.d.cts +1 -0
- package/dist/modules/table/table.component.d.ts +1 -0
- package/dist/modules/table/table.component.js +1 -0
- package/dist/modules/table/table.type.cjs +1 -0
- package/dist/modules/table/table.type.d.cts +1 -0
- package/dist/modules/table/table.type.d.ts +1 -0
- package/dist/modules/table/table.type.js +0 -0
- package/dist/modules/toolbar/index.cjs +1 -0
- package/dist/modules/toolbar/index.d.cts +2 -0
- package/dist/modules/toolbar/index.d.ts +2 -0
- package/dist/modules/toolbar/index.js +1 -0
- package/dist/modules/toolbar/toolbar.component.cjs +1 -0
- package/dist/modules/toolbar/toolbar.component.d.cts +1 -0
- package/dist/modules/toolbar/toolbar.component.d.ts +1 -0
- package/dist/modules/toolbar/toolbar.component.js +1 -0
- package/dist/modules/toolbar/toolbar.custom.component.cjs +1 -0
- package/dist/modules/toolbar/toolbar.custom.component.d.cts +1 -0
- package/dist/modules/toolbar/toolbar.custom.component.d.ts +1 -0
- package/dist/modules/toolbar/toolbar.custom.component.js +1 -0
- package/dist/shared/component/color-picker/color-picker.component.cjs +1 -0
- package/dist/shared/component/color-picker/color-picker.component.d.cts +1 -0
- package/dist/shared/component/color-picker/color-picker.component.d.ts +1 -0
- package/dist/shared/component/color-picker/color-picker.component.js +1 -0
- package/dist/shared/component/color-picker/color-picker.type.cjs +1 -0
- package/dist/shared/component/color-picker/color-picker.type.d.cts +1 -0
- package/dist/shared/component/color-picker/color-picker.type.d.ts +1 -0
- package/dist/shared/component/color-picker/color-picker.type.js +0 -0
- package/dist/shared/component/color-picker/index.cjs +1 -0
- package/dist/shared/component/color-picker/index.d.cts +2 -0
- package/dist/shared/component/color-picker/index.d.ts +2 -0
- package/dist/shared/component/color-picker/index.js +1 -0
- package/dist/shared/component/index.cjs +1 -0
- package/dist/shared/component/index.d.cts +4 -0
- package/dist/shared/component/index.d.ts +4 -0
- package/dist/shared/component/index.js +1 -0
- package/dist/shared/component/modal-edit/index.cjs +1 -0
- package/dist/shared/component/modal-edit/index.d.cts +2 -0
- package/dist/shared/component/modal-edit/index.d.ts +2 -0
- package/dist/shared/component/modal-edit/index.js +1 -0
- package/dist/shared/component/modal-edit/modal-edit.component.cjs +1 -0
- package/dist/shared/component/modal-edit/modal-edit.component.d.cts +1 -0
- package/dist/shared/component/modal-edit/modal-edit.component.d.ts +1 -0
- package/dist/shared/component/modal-edit/modal-edit.component.js +1 -0
- package/dist/shared/component/modal-edit/modal-edit.type.cjs +1 -0
- package/dist/shared/component/modal-edit/modal-edit.type.d.cts +1 -0
- package/dist/shared/component/modal-edit/modal-edit.type.d.ts +1 -0
- package/dist/shared/component/modal-edit/modal-edit.type.js +0 -0
- package/dist/shared/style/global.css +2 -0
- package/dist/shared/style/global.d.cts +1 -0
- package/dist/shared/style/global.d.ts +1 -0
- package/dist/shared/typescript/style.d.cjs +1 -0
- package/dist/shared/typescript/style.d.d.cts +1 -0
- package/dist/shared/typescript/style.d.d.ts +1 -0
- package/dist/shared/typescript/style.d.js +0 -0
- package/package.json +43 -33
- package/dist/client/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/client/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/dist/client/assets/manifest-e1ae6e39.js +0 -1
- package/dist/client/chunk-D4RADZKF-CqCYZIAv.js +0 -6257
- package/dist/client/chunk-D4RADZKF-sLhgGPy5.cjs +0 -56
- package/dist/client/cyber-editor.cjs.js +0 -259
- package/dist/client/cyber-editor.cjs2.js +0 -1
- package/dist/client/cyber-editor.cjs3.js +0 -1
- package/dist/client/cyber-editor.cjs4.js +0 -604
- package/dist/client/cyber-editor.cjs5.js +0 -1
- package/dist/client/cyber-editor.css +0 -1
- package/dist/client/cyber-editor.es.js +0 -25364
- package/dist/client/cyber-editor.es2.js +0 -55
- package/dist/client/cyber-editor.es3.js +0 -11
- package/dist/client/cyber-editor.es4.js +0 -46769
- package/dist/client/cyber-editor.es5.js +0 -11
- package/dist/client/index-HJNgKdvE.cjs +0 -5
- package/dist/client/index-rkLJDvut.js +0 -156
- package/dist/client/index.html +0 -6
- package/dist/client/with-props-Ba4118z_.js +0 -27
- package/dist/client/with-props-CuGIah2q.cjs +0 -1
- /package/{dist/client → public}/assets/icons/index.ts +0 -0
- /package/{dist/client → public}/favicon.svg +0 -0
package/package.json
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyberskill/cyber-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "3.9.1",
|
|
5
|
+
"description": "Cyber Editor",
|
|
6
|
+
"author": "Stephen Cheng",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/cyberskill-world/cyber-editor#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/cyberskill-world/cyber-editor.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/cyberskill-world/cyber-editor/issues"
|
|
15
|
+
},
|
|
6
16
|
"exports": {
|
|
7
17
|
".": {
|
|
8
18
|
"types": "./dist/index.d.ts",
|
|
9
|
-
"import": "./dist/
|
|
10
|
-
"require": "./dist/
|
|
11
|
-
}
|
|
12
|
-
"./index.css": "./dist/cyber-editor.css"
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
}
|
|
13
22
|
},
|
|
14
|
-
"main": "dist/cyber-editor.cjs.js",
|
|
15
|
-
"module": "dist/cyber-editor.es.js",
|
|
16
|
-
"types": "dist/index.d.ts",
|
|
17
23
|
"files": [
|
|
18
|
-
"dist"
|
|
24
|
+
"dist",
|
|
25
|
+
"public"
|
|
19
26
|
],
|
|
20
27
|
"scripts": {
|
|
21
|
-
"build": "
|
|
22
|
-
"
|
|
23
|
-
"build:publish": "npm run build && npm publish",
|
|
24
|
-
"dev": "run-s prepare start:dev",
|
|
28
|
+
"build": "tsup",
|
|
29
|
+
"dev": "tsup --watch",
|
|
25
30
|
"lint": "cyberskill lint",
|
|
26
31
|
"lint:fix": "cyberskill lint:fix",
|
|
27
32
|
"lint:inspect": "cyberskill lint:inspect",
|
|
28
33
|
"reset": "cyberskill reset",
|
|
29
34
|
"prepare": "cyberskill prepare",
|
|
30
35
|
"inspect": "cyberskill inspect",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
36
|
+
"storybook": "storybook dev -p 6006",
|
|
37
|
+
"build-storybook": "storybook build"
|
|
33
38
|
},
|
|
34
39
|
"dependencies": {
|
|
35
|
-
"@cyberskill/shared": "1.
|
|
36
|
-
"@
|
|
37
|
-
"@react-router/dev": "7.6.0",
|
|
38
|
-
"@react-router/node": "7.6.0",
|
|
39
|
-
"@react-router/serve": "7.6.0",
|
|
40
|
-
"@tailwindcss/vite": "4.1.7",
|
|
40
|
+
"@cyberskill/shared": "1.173.0",
|
|
41
|
+
"@microsoft/api-extractor": "7.52.8",
|
|
41
42
|
"@tiptap/core": "2.12.0",
|
|
42
43
|
"@tiptap/extension-color": "2.12.0",
|
|
43
44
|
"@tiptap/extension-heading": "2.12.0",
|
|
@@ -58,30 +59,39 @@
|
|
|
58
59
|
"@tiptap/react": "2.12.0",
|
|
59
60
|
"@tiptap/starter-kit": "2.12.0",
|
|
60
61
|
"antd": "5.25.2",
|
|
61
|
-
"
|
|
62
|
-
"envalid": "8.0.0",
|
|
63
|
-
"isbot": "^5",
|
|
62
|
+
"clsx": "2.1.1",
|
|
64
63
|
"lucide-react": "0.511.0",
|
|
65
|
-
"npm-run-all2": "8.0.2",
|
|
66
64
|
"react": "19.1.0",
|
|
67
65
|
"react-dom": "19.1.0",
|
|
68
66
|
"react-icons": "5.5.0",
|
|
69
|
-
"react-
|
|
70
|
-
"react-router": "7.6.0",
|
|
67
|
+
"react-router": "7.6.1",
|
|
71
68
|
"tailwindcss": "4.1.7",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
69
|
+
"tsup": "8.5.0",
|
|
70
|
+
"typescript": "5.8.3"
|
|
74
71
|
},
|
|
75
72
|
"devDependencies": {
|
|
73
|
+
"@chromatic-com/storybook": "^3.2.6",
|
|
76
74
|
"@commitlint/cli": "19.8.1",
|
|
77
75
|
"@commitlint/config-conventional": "19.8.1",
|
|
78
76
|
"@eslint/config-inspector": "1.0.2",
|
|
79
|
-
"@
|
|
77
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
78
|
+
"@storybook/addon-onboarding": "^8.6.14",
|
|
79
|
+
"@storybook/blocks": "^8.6.14",
|
|
80
|
+
"@storybook/react": "^8.6.14",
|
|
81
|
+
"@storybook/react-vite": "^8.6.14",
|
|
82
|
+
"@storybook/test": "^8.6.14",
|
|
83
|
+
"@types/react": "19.1.5",
|
|
80
84
|
"@types/react-dom": "19.1.5",
|
|
81
|
-
"@types/react-resizable": "3.0.8",
|
|
82
85
|
"eslint": "9.27.0",
|
|
86
|
+
"eslint-plugin-storybook": "0.12.0",
|
|
83
87
|
"lint-staged": "16.0.0",
|
|
84
88
|
"node-modules-inspector": "0.6.8",
|
|
85
|
-
"simple-git-hooks": "2.13.0"
|
|
89
|
+
"simple-git-hooks": "2.13.0",
|
|
90
|
+
"storybook": "^8.6.14"
|
|
91
|
+
},
|
|
92
|
+
"eslintConfig": {
|
|
93
|
+
"extends": [
|
|
94
|
+
"plugin:storybook/recommended"
|
|
95
|
+
]
|
|
86
96
|
}
|
|
87
97
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
window.__reactRouterManifest={"entry":{"module":"/cyber-editor.cjs.js","imports":["/chunk-D4RADZKF-sLhgGPy5.cjs","/_commonjsHelpers-DwGv2jUC.cjs"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/cyber-editor.cjs2.js","imports":["/chunk-D4RADZKF-sLhgGPy5.cjs","/_commonjsHelpers-DwGv2jUC.cjs","/with-props-CuGIah2q.cjs","/index-HJNgKdvE.cjs"],"css":[]},"shared/layout/blank/index":{"id":"shared/layout/blank/index","parentId":"root","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/cyber-editor.cjs3.js","imports":["/with-props-CuGIah2q.cjs","/chunk-D4RADZKF-sLhgGPy5.cjs"],"css":[]},"pages/home/index":{"id":"pages/home/index","parentId":"shared/layout/blank/index","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/cyber-editor.cjs4.js","imports":["/with-props-CuGIah2q.cjs","/chunk-D4RADZKF-sLhgGPy5.cjs","/index-HJNgKdvE.cjs","/_commonjsHelpers-DwGv2jUC.cjs"],"css":[]},"pages/error/404":{"id":"pages/error/404","parentId":"root","path":"*?","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/cyber-editor.cjs5.js","imports":["/with-props-CuGIah2q.cjs","/chunk-D4RADZKF-sLhgGPy5.cjs"],"css":[]}},"url":"/assets/manifest-e1ae6e39.js","version":"e1ae6e39"};
|