@react-email/preview-server 4.3.2 → 5.0.0-canary.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.
Files changed (41) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +4 -4
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/server/app/_not-found/page.js +1 -1
  6. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  7. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/page.js +1 -1
  9. package/.next/server/app/page.js.nft.json +1 -1
  10. package/.next/server/app/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/preview/[...slug]/page.js +3807 -226
  12. package/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
  13. package/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
  14. package/.next/server/chunks/235.js +1 -1
  15. package/.next/server/chunks/571.js +1 -0
  16. package/.next/server/pages/500.html +1 -1
  17. package/.next/server/server-reference-manifest.js +1 -1
  18. package/.next/server/server-reference-manifest.json +1 -1
  19. package/.next/server/webpack-runtime.js +1 -1
  20. package/.next/static/chunks/{615-d4fa6964c1b18ccd.js → 615-e223b553c72ae727.js} +1 -1
  21. package/.next/static/chunks/app/layout-596f02410fa6cec2.js +1 -0
  22. package/.next/static/chunks/app/preview/[...slug]/page-337a48d611839d3a.js +1 -0
  23. package/.next/trace +28 -29
  24. package/CHANGELOG.md +17 -0
  25. package/package.json +4 -3
  26. package/src/actions/email-validation/caniemail-data.ts +1053 -605
  27. package/src/actions/email-validation/check-compatibility.ts +12 -16
  28. package/src/utils/__snapshots__/get-email-component.spec.ts.snap +15 -16
  29. package/src/utils/caniemail/ast/get-used-style-properties.spec.ts +107 -11
  30. package/src/utils/caniemail/ast/get-used-style-properties.ts +78 -30
  31. package/src/utils/caniemail/tailwind/get-tailwind-metadata.ts +4 -5
  32. package/src/utils/snake-to-camel.ts +5 -0
  33. package/.next/server/chunks/798.js +0 -1
  34. package/.next/static/chunks/app/layout-69daa40cb6178a4e.js +0 -1
  35. package/.next/static/chunks/app/preview/[...slug]/page-16818ec04224d56a.js +0 -1
  36. package/src/utils/caniemail/ast/__snapshots__/get-used-style-properties.spec.ts.snap +0 -24
  37. package/src/utils/caniemail/tailwind/generate-tailwind-rules.ts +0 -30
  38. package/src/utils/caniemail/tailwind/setup-tailwind-context.ts +0 -15
  39. package/tailwind-internals.d.ts +0 -131
  40. /package/.next/static/{9thySAgTI839NCKpFjqMH → 04HKn1-CcCqsWXfS4b-9r}/_buildManifest.js +0 -0
  41. /package/.next/static/{9thySAgTI839NCKpFjqMH → 04HKn1-CcCqsWXfS4b-9r}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @react-email/preview-server
2
2
 
3
+ ## 5.0.0-canary.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 18bc11a: fix compatibility checking not woring with inline object styles, and not working on properties such as `justifyContent`/`justify-content`
8
+
9
+ ## 5.0.0-canary.0
10
+
11
+ ### Major Changes
12
+
13
+ - 442f5b6: only check compatibility with tailwindcss@4
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [442f5b6]
18
+ - @react-email/tailwind@2.0.0-canary.1
19
+
3
20
  ## 4.3.2
4
21
 
5
22
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-email/preview-server",
3
- "version": "4.3.2",
3
+ "version": "5.0.0-canary.1",
4
4
  "description": "A live preview of your emails right in your browser.",
5
5
  "main": "./index.mjs",
6
6
  "dependencies": {
@@ -16,6 +16,7 @@
16
16
  "@radix-ui/react-tabs": "1.1.13",
17
17
  "@radix-ui/react-toggle-group": "1.1.11",
18
18
  "@radix-ui/react-tooltip": "1.2.8",
19
+ "@react-email/tailwind": "2.0.0-canary.1",
19
20
  "@types/node": "22.14.1",
20
21
  "@types/normalize-path": "3.0.2",
21
22
  "@types/react": "19.0.10",
@@ -49,6 +50,7 @@
49
50
  "devDependencies": {
50
51
  "@types/babel__core": "7.20.5",
51
52
  "@types/babel__traverse": "7.20.7",
53
+ "@types/css-tree": "2.3.10",
52
54
  "@types/fs-extra": "11.0.1",
53
55
  "@types/mime-types": "2.1.4",
54
56
  "@types/node": "22.10.2",
@@ -57,10 +59,9 @@
57
59
  "@types/react-dom": "19.0.4",
58
60
  "@types/webpack": "5.28.5",
59
61
  "autoprefixer": "10.4.21",
60
- "postcss": "8.5.3",
61
62
  "tailwindcss": "3.4.0",
62
63
  "typescript": "5.8.3",
63
- "@react-email/components": "0.5.7"
64
+ "@react-email/components": "1.0.0-canary.1"
64
65
  },
65
66
  "license": "MIT",
66
67
  "repository": {