ritext 1.0.14 → 1.0.18
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 +27 -28
- package/dist/chunk-2YUUKIIT.mjs +149 -0
- package/dist/chunk-7QOFJIQ3.mjs +90 -0
- package/dist/chunk-D47XME55.mjs +49 -0
- package/dist/chunk-FWCSY2DS.mjs +37 -0
- package/dist/chunk-GSHINFPO.mjs +53 -0
- package/dist/chunk-LMOTHRGQ.mjs +37 -0
- package/dist/chunk-MBF77NHS.mjs +37 -0
- package/dist/chunk-VYDH6BZE.mjs +17 -0
- package/dist/extension/bold.d.mts +8 -0
- package/dist/extension/bold.d.ts +8 -0
- package/dist/extension/bold.js +260 -0
- package/dist/extension/bold.mjs +70 -0
- package/dist/extension/clearformat.d.mts +8 -0
- package/dist/extension/clearformat.d.ts +8 -0
- package/dist/extension/clearformat.js +239 -0
- package/dist/extension/clearformat.mjs +69 -0
- package/dist/extension/font-family.d.mts +23 -0
- package/dist/extension/font-family.d.ts +23 -0
- package/dist/extension/font-family.js +388 -0
- package/dist/extension/font-family.mjs +113 -0
- package/dist/extension/font-size.d.mts +23 -0
- package/dist/extension/font-size.d.ts +23 -0
- package/dist/extension/font-size.js +386 -0
- package/dist/extension/font-size.mjs +111 -0
- package/dist/extension/heading.d.mts +23 -0
- package/dist/extension/heading.d.ts +23 -0
- package/dist/extension/heading.js +593 -0
- package/dist/extension/heading.mjs +312 -0
- package/dist/extension/history.d.mts +8 -0
- package/dist/extension/history.d.ts +8 -0
- package/dist/extension/history.js +296 -0
- package/dist/extension/history.mjs +126 -0
- package/dist/extension/italic.d.mts +8 -0
- package/dist/extension/italic.d.ts +8 -0
- package/dist/extension/italic.js +264 -0
- package/dist/extension/italic.mjs +74 -0
- package/dist/extension/strike.d.mts +8 -0
- package/dist/extension/strike.d.ts +8 -0
- package/dist/extension/strike.js +264 -0
- package/dist/extension/strike.mjs +74 -0
- package/dist/extension/subandsuperscript.d.mts +21 -0
- package/dist/extension/subandsuperscript.d.ts +21 -0
- package/dist/extension/subandsuperscript.js +452 -0
- package/dist/extension/subandsuperscript.mjs +121 -0
- package/dist/extension/subscript.d.mts +8 -0
- package/dist/extension/subscript.d.ts +8 -0
- package/dist/extension/subscript.js +264 -0
- package/dist/extension/subscript.mjs +46 -0
- package/dist/extension/superscript.d.mts +8 -0
- package/dist/extension/superscript.d.ts +8 -0
- package/dist/extension/superscript.js +264 -0
- package/dist/extension/superscript.mjs +46 -0
- package/dist/extension/underline.d.mts +8 -0
- package/dist/extension/underline.d.ts +8 -0
- package/dist/extension/underline.js +263 -0
- package/dist/extension/underline.mjs +73 -0
- package/dist/index.css +471 -5
- package/dist/index.d.mts +6 -32
- package/dist/index.d.ts +6 -32
- package/dist/index.js +26 -538
- package/dist/index.mjs +31 -549
- package/dist/tiptap-ext.type-DrneAC5G.d.mts +39 -0
- package/dist/tiptap-ext.type-DrneAC5G.d.ts +39 -0
- package/package.json +52 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ritext",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "Ritext is a modern WYSIWYG rich text editor built with Tailwind CSS, powered by Tiptap. It offers a customizable UI and functional layer that lets you design your own editor controls and toolbars with clean, composable React components—no heavy UI, no extra dependencies beyond Tiptap.",
|
|
5
5
|
"homepage": "https://ritext.vercel.app/",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -9,6 +9,22 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
+
"sideEffects": [
|
|
13
|
+
"./dist/index.css"
|
|
14
|
+
],
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.mjs",
|
|
19
|
+
"require": "./dist/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./extension/*": {
|
|
22
|
+
"types": "./dist/extension/*.d.ts",
|
|
23
|
+
"import": "./dist/extension/*.mjs",
|
|
24
|
+
"require": "./dist/extension/*.cjs"
|
|
25
|
+
},
|
|
26
|
+
"./styles.css": "./dist/index.css"
|
|
27
|
+
},
|
|
12
28
|
"author": {
|
|
13
29
|
"name": "Siam Ahnaf",
|
|
14
30
|
"email": "mail@siamahnaf.com",
|
|
@@ -44,42 +60,52 @@
|
|
|
44
60
|
"url": "https://github.com/siamahnaf/ritext"
|
|
45
61
|
},
|
|
46
62
|
"devDependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
63
|
+
"@eslint/js": "^9.39.2",
|
|
64
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
65
|
+
"@types/node": "^25",
|
|
49
66
|
"@types/react": "^19",
|
|
50
67
|
"@types/react-dom": "^19",
|
|
51
|
-
"eslint": "^9",
|
|
68
|
+
"eslint": "^9.39.2",
|
|
69
|
+
"eslint-config-prettier": "^10.1.8",
|
|
70
|
+
"eslint-plugin-import": "^2.32.0",
|
|
71
|
+
"eslint-plugin-react": "^7.37.5",
|
|
72
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
52
73
|
"postcss": "^8.5.6",
|
|
53
|
-
"react": "^19.2.
|
|
54
|
-
"react-dom": "^19.2.
|
|
55
|
-
"tailwindcss": "^4.1.
|
|
56
|
-
"tsup": "^8.5.
|
|
57
|
-
"
|
|
58
|
-
"typescript": "^
|
|
74
|
+
"react": "^19.2.3",
|
|
75
|
+
"react-dom": "^19.2.3",
|
|
76
|
+
"tailwindcss": "^4.1.18",
|
|
77
|
+
"tsup": "^8.5.1",
|
|
78
|
+
"typescript": "^5.9.3",
|
|
79
|
+
"typescript-eslint": "^8.50.1"
|
|
59
80
|
},
|
|
60
81
|
"dependencies": {
|
|
61
82
|
"@floating-ui/react": "^0.27.16",
|
|
62
|
-
"@tiptap/extension-bold": "^3.
|
|
63
|
-
"@tiptap/extension-document": "^3.
|
|
64
|
-
"@tiptap/extension-
|
|
65
|
-
"@tiptap/extension-
|
|
66
|
-
"@tiptap/extension-
|
|
67
|
-
"@tiptap/extension-
|
|
68
|
-
"@tiptap/extension-
|
|
69
|
-
"@tiptap/extension-
|
|
70
|
-
"@tiptap/extension-
|
|
71
|
-
"@tiptap/
|
|
72
|
-
"@tiptap/
|
|
73
|
-
"@tiptap/
|
|
74
|
-
"
|
|
75
|
-
"
|
|
83
|
+
"@tiptap/extension-bold": "^3.14.0",
|
|
84
|
+
"@tiptap/extension-document": "^3.14.0",
|
|
85
|
+
"@tiptap/extension-heading": "^3.14.0",
|
|
86
|
+
"@tiptap/extension-italic": "^3.14.0",
|
|
87
|
+
"@tiptap/extension-paragraph": "^3.14.0",
|
|
88
|
+
"@tiptap/extension-strike": "^3.14.0",
|
|
89
|
+
"@tiptap/extension-subscript": "^3.14.0",
|
|
90
|
+
"@tiptap/extension-superscript": "^3.14.0",
|
|
91
|
+
"@tiptap/extension-text": "^3.14.0",
|
|
92
|
+
"@tiptap/extension-text-style": "^3.14.0",
|
|
93
|
+
"@tiptap/extension-underline": "^3.14.0",
|
|
94
|
+
"@tiptap/extensions": "^3.14.0",
|
|
95
|
+
"@tiptap/pm": "^3.14.0",
|
|
96
|
+
"@tiptap/react": "^3.14.0",
|
|
97
|
+
"@tiptap/starter-kit": "^3.14.0",
|
|
98
|
+
"motion": "^12.23.26",
|
|
99
|
+
"tailwind-merge": "^3.4.0"
|
|
76
100
|
},
|
|
77
101
|
"peerDependencies": {
|
|
78
102
|
"react": "^19",
|
|
79
103
|
"react-dom": "^19"
|
|
80
104
|
},
|
|
81
105
|
"scripts": {
|
|
82
|
-
"
|
|
83
|
-
"
|
|
106
|
+
"lint": "eslint . --max-warnings 0",
|
|
107
|
+
"check-types": "tsc --noEmit",
|
|
108
|
+
"build": "tsup",
|
|
109
|
+
"dev": "tsup --watch"
|
|
84
110
|
}
|
|
85
111
|
}
|