@react-email/editor 0.0.0-experimental.21 → 0.0.0-experimental.22
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/index.cjs +152 -129
- package/dist/index.d.cts +74 -63
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +74 -63
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +155 -130
- package/dist/index.mjs.map +1 -1
- package/dist/ui/themes/default.css +20 -1
- package/package.json +6 -5
|
@@ -700,6 +700,19 @@ a[data-re-link-bm-item] {
|
|
|
700
700
|
.tiptap h2,
|
|
701
701
|
.tiptap h3 {
|
|
702
702
|
margin: 0.5em 0 0.25em;
|
|
703
|
+
font-weight: 700;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.tiptap h1 {
|
|
707
|
+
font-size: 2em;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.tiptap h2 {
|
|
711
|
+
font-size: 1.5em;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.tiptap h3 {
|
|
715
|
+
font-size: 1.17em;
|
|
703
716
|
}
|
|
704
717
|
|
|
705
718
|
.tiptap blockquote {
|
|
@@ -735,8 +748,14 @@ a[data-re-link-bm-item] {
|
|
|
735
748
|
border-radius: 0;
|
|
736
749
|
}
|
|
737
750
|
|
|
738
|
-
.tiptap ul
|
|
751
|
+
.tiptap ul {
|
|
752
|
+
list-style-type: disc;
|
|
753
|
+
padding-left: 1.5em;
|
|
754
|
+
margin: 0.25em 0;
|
|
755
|
+
}
|
|
756
|
+
|
|
739
757
|
.tiptap ol {
|
|
758
|
+
list-style-type: decimal;
|
|
740
759
|
padding-left: 1.5em;
|
|
741
760
|
margin: 0.25em 0;
|
|
742
761
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/editor",
|
|
3
|
-
"version": "0.0.0-experimental.
|
|
3
|
+
"version": "0.0.0-experimental.22",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -46,9 +46,11 @@
|
|
|
46
46
|
"@radix-ui/react-popover": "^1.0.0",
|
|
47
47
|
"lucide-react": ">=0.300.0",
|
|
48
48
|
"react": "^18.0 || ^19.0 || ^19.0.0-rc",
|
|
49
|
+
"react-dom": "^18.0 || ^19.0 || ^19.0.0-rc",
|
|
49
50
|
"@react-email/components": "1.0.9"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
53
|
+
"@floating-ui/react-dom": "^2.1.8",
|
|
52
54
|
"@tiptap/core": "^3.17.1",
|
|
53
55
|
"@tiptap/extension-blockquote": "^3.17.1",
|
|
54
56
|
"@tiptap/extension-bold": "^3.20.1",
|
|
@@ -75,8 +77,7 @@
|
|
|
75
77
|
"@tiptap/starter-kit": "^3.17.1",
|
|
76
78
|
"@tiptap/suggestion": "^3.17.1",
|
|
77
79
|
"hast-util-from-html": "^2.0.3",
|
|
78
|
-
"prismjs": "^1.30.0"
|
|
79
|
-
"tippy.js": "^6.3.7"
|
|
80
|
+
"prismjs": "^1.30.0"
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"@testing-library/react": "^16.0.0",
|
|
@@ -92,9 +93,9 @@
|
|
|
92
93
|
"access": "public"
|
|
93
94
|
},
|
|
94
95
|
"scripts": {
|
|
95
|
-
"build": "tsdown src/index.ts --format esm,cjs --dts --external react && pnpm run build:css",
|
|
96
|
+
"build": "tsdown src/index.ts --format esm,cjs --dts --external react --external react-dom && pnpm run build:css",
|
|
96
97
|
"build:css": "tsx scripts/copy-css.ts",
|
|
97
|
-
"build:watch": "tsdown src/index.ts --format esm,cjs --dts --external react --watch",
|
|
98
|
+
"build:watch": "tsdown src/index.ts --format esm,cjs --dts --external react --external react-dom --watch",
|
|
98
99
|
"clean": "rm -rf dist",
|
|
99
100
|
"typecheck": "tsc --noEmit",
|
|
100
101
|
"test": "vitest run",
|