@arkyn/components 1.3.123 → 1.3.125
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +6418 -6260
- package/dist/bundle.umd.cjs +209 -34
- package/dist/components/RichText/functions/deserialize.js +1 -1
- package/dist/provider/ToastProvider.js +1 -1
- package/package.json +3 -3
- package/src/components/RichText/functions/deserialize.ts +1 -1
- package/src/provider/ToastProvider.tsx +1 -1
@@ -25,7 +25,7 @@ const deserialize = (el) => {
|
|
25
25
|
case "ol":
|
26
26
|
return { type: "numberedList", children };
|
27
27
|
case "strong":
|
28
|
-
return { text: childrenString, bold: true };
|
28
|
+
return { type: "paragraph", text: childrenString, bold: true };
|
29
29
|
case "code":
|
30
30
|
return { text: childrenString, code: true };
|
31
31
|
case "em":
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { Toaster
|
2
|
+
import toast, { Toaster } from "react-hot-toast";
|
3
3
|
import { ToastContext } from "../context/ToastContext";
|
4
4
|
import { Toast } from "../components/Toast";
|
5
5
|
function ToastProvider({ children }) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arkyn/components",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.125",
|
4
4
|
"main": "./dist/bundle.js",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"author": "Lucas Gonçalves",
|
@@ -17,11 +17,11 @@
|
|
17
17
|
"html-react-parser": "^5.1.16",
|
18
18
|
"is-hotkey": "^0.2.0",
|
19
19
|
"lucide-react": "^0.424.0",
|
20
|
+
"react-hot-toast": "^2.4.1",
|
20
21
|
"react-scroll": "^1.9.0",
|
21
22
|
"slate": "^0.103.0",
|
22
23
|
"slate-history": "^0.109.0",
|
23
|
-
"slate-react": "^0.110.1"
|
24
|
-
"sonner": "^1.5.0"
|
24
|
+
"slate-react": "^0.110.1"
|
25
25
|
},
|
26
26
|
"peerDependencies": {
|
27
27
|
"@remix-run/react": "^2.9.2",
|
@@ -35,7 +35,7 @@ const deserialize = (el: ParseElement): Descendant => {
|
|
35
35
|
case "ol":
|
36
36
|
return { type: "numberedList", children };
|
37
37
|
case "strong":
|
38
|
-
return { text: childrenString, bold: true };
|
38
|
+
return { type: "paragraph", text: childrenString, bold: true };
|
39
39
|
case "code":
|
40
40
|
return { text: childrenString, code: true };
|
41
41
|
case "em":
|