swerasty_editor 0.1.1 → 0.1.3
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/components/Canvas.d.ts +15 -0
- package/dist/components/Editor.d.ts +7 -0
- package/dist/components/HandwritingModal.d.ts +0 -0
- package/dist/components/MathModal.d.ts +9 -0
- package/dist/components/TableModal.d.ts +8 -0
- package/dist/components/Toolbar.d.ts +11 -0
- package/dist/components/toolbars/ChemToolbar.d.ts +6 -0
- package/dist/components/toolbars/MathToolbar.d.ts +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/services/gemini.d.ts +0 -0
- package/dist/services/geminiService.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/{swerasty_editor.js → swerasty-editor.js} +3998 -4311
- package/dist/swerasty-editor.umd.cjs +377 -0
- package/dist/types.d.ts +6 -0
- package/package.json +26 -29
- package/dist/swerasty_editor.umd.cjs +0 -286
package/dist/types.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
|
|
2
1
|
{
|
|
3
2
|
"name": "swerasty_editor",
|
|
4
|
-
"
|
|
5
|
-
"version": "0.1.1",
|
|
3
|
+
"version": "0.1.3",
|
|
6
4
|
"type": "module",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
5
|
+
"description": "A high-performance rich text editor with integrated AI math recognition.",
|
|
6
|
+
"author": "R A N J I T",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"main": "./dist/swerasty-editor.umd.cjs",
|
|
9
|
+
"module": "./dist/swerasty-editor.js",
|
|
9
10
|
"types": "./dist/index.d.ts",
|
|
10
11
|
"exports": {
|
|
11
12
|
".": {
|
|
12
|
-
"import": "./dist/
|
|
13
|
-
"require": "./dist/
|
|
13
|
+
"import": "./dist/swerasty-editor.js",
|
|
14
|
+
"require": "./dist/swerasty-editor.umd.cjs",
|
|
15
|
+
"types": "./dist/index.d.ts"
|
|
14
16
|
},
|
|
15
17
|
"./dist/style.css": "./dist/style.css"
|
|
16
18
|
},
|
|
@@ -19,34 +21,29 @@
|
|
|
19
21
|
],
|
|
20
22
|
"scripts": {
|
|
21
23
|
"dev": "vite",
|
|
22
|
-
"build": "tsc
|
|
23
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
24
|
+
"build": "tsc && vite build",
|
|
24
25
|
"preview": "vite preview"
|
|
25
26
|
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"react": ">=16.8.0",
|
|
29
|
+
"react-dom": ">=16.8.0"
|
|
30
|
+
},
|
|
26
31
|
"dependencies": {
|
|
27
32
|
"@google/genai": "^1.34.0",
|
|
33
|
+
"katex": "^0.16.27",
|
|
28
34
|
"lucide-react": "^0.562.0"
|
|
29
35
|
},
|
|
30
|
-
"peerDependencies": {
|
|
31
|
-
"react": "^18.2.0",
|
|
32
|
-
"react-dom": "^18.2.0"
|
|
33
|
-
},
|
|
34
36
|
"devDependencies": {
|
|
35
|
-
"@
|
|
36
|
-
"@types/
|
|
37
|
-
"@types/react
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
44
|
-
"eslint-plugin-react-refresh": "^0.4.6",
|
|
45
|
-
"postcss": "^8.4.38",
|
|
46
|
-
"react": "^18.2.0",
|
|
47
|
-
"react-dom": "^18.2.0",
|
|
48
|
-
"tailwindcss": "^3.4.3",
|
|
37
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
38
|
+
"@types/node": "^22.19.3",
|
|
39
|
+
"@types/react": "^19.2.3",
|
|
40
|
+
"@types/react-dom": "^19.2.3",
|
|
41
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
42
|
+
"autoprefixer": "^10.4.23",
|
|
43
|
+
"postcss": "^8.5.6",
|
|
44
|
+
"tailwindcss": "^3.4.19",
|
|
49
45
|
"typescript": "^5.2.2",
|
|
50
|
-
"vite": "^5.2.0"
|
|
46
|
+
"vite": "^5.2.0",
|
|
47
|
+
"vite-plugin-dts": "^4.0.0"
|
|
51
48
|
}
|
|
52
|
-
}
|
|
49
|
+
}
|