react-email 4.0.0-alpha.6 → 4.0.0-alpha.7

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 (103) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cli/index.js +7 -3
  3. package/dist/cli/index.mjs +7 -3
  4. package/dist/preview/.next/BUILD_ID +1 -1
  5. package/dist/preview/.next/app-build-manifest.json +14 -13
  6. package/dist/preview/.next/app-path-routes-manifest.json +1 -1
  7. package/dist/preview/.next/build-manifest.json +3 -3
  8. package/dist/preview/.next/cache/.rscinfo +1 -1
  9. package/dist/preview/.next/cache/webpack/client-production/0.pack +0 -0
  10. package/dist/preview/.next/cache/webpack/client-production/index.pack +0 -0
  11. package/dist/preview/.next/cache/webpack/edge-server-production/index.pack +0 -0
  12. package/dist/preview/.next/cache/webpack/server-production/0.pack +0 -0
  13. package/dist/preview/.next/cache/webpack/server-production/index.pack +0 -0
  14. package/dist/preview/.next/next-minimal-server.js.nft.json +1 -1
  15. package/dist/preview/.next/next-server.js.nft.json +1 -1
  16. package/dist/preview/.next/prerender-manifest.json +3 -3
  17. package/dist/preview/.next/required-server-files.json +3 -3
  18. package/dist/preview/.next/server/app/_not-found/page.js +1 -1
  19. package/dist/preview/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/dist/preview/.next/server/app/favicon.ico/route.js +1 -1
  21. package/dist/preview/.next/server/app/page.js +1 -1
  22. package/dist/preview/.next/server/app/page.js.nft.json +1 -1
  23. package/dist/preview/.next/server/app/page_client-reference-manifest.js +1 -1
  24. package/dist/preview/.next/server/app/preview/[...slug]/page.js +29 -25
  25. package/dist/preview/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
  26. package/dist/preview/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
  27. package/dist/preview/.next/server/app-paths-manifest.json +1 -1
  28. package/dist/preview/.next/server/chunks/600.js +3 -3
  29. package/dist/preview/.next/server/chunks/{171.js → 816.js} +6 -6
  30. package/dist/preview/.next/server/chunks/943.js +1 -0
  31. package/dist/preview/.next/server/middleware-build-manifest.js +1 -1
  32. package/dist/preview/.next/server/next-font-manifest.js +1 -1
  33. package/dist/preview/.next/server/next-font-manifest.json +1 -1
  34. package/dist/preview/.next/server/pages/500.html +1 -1
  35. package/dist/preview/.next/server/pages-manifest.json +1 -1
  36. package/dist/preview/.next/server/server-reference-manifest.js +1 -1
  37. package/dist/preview/.next/server/server-reference-manifest.json +1 -1
  38. package/dist/preview/.next/static/chunks/287-7864b805e6bdc854.js +1 -0
  39. package/dist/preview/.next/static/chunks/412-31817e53b50a3e73.js +1 -0
  40. package/dist/preview/.next/static/chunks/683-1fb40795502f6e63.js +1 -0
  41. package/dist/preview/.next/static/chunks/880-9c0b721328117b8b.js +1 -0
  42. package/dist/preview/.next/static/chunks/app/layout-ffdee5cc1be30e7b.js +1 -0
  43. package/dist/preview/.next/static/chunks/app/page-9ea0bd45cd6294b0.js +1 -0
  44. package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-9e22979a25c836c0.js +1 -0
  45. package/dist/preview/.next/static/chunks/{main-app-c2e686acf8d370d7.js → main-app-256b213b179a95cc.js} +1 -1
  46. package/dist/preview/.next/static/css/eaae8ce545b295f9.css +3 -0
  47. package/dist/preview/.next/trace +26 -26
  48. package/dist/preview/.next/types/app/layout.ts +1 -1
  49. package/dist/preview/.next/types/app/page.ts +84 -0
  50. package/dist/preview/.next/types/app/preview/[...slug]/page.ts +1 -1
  51. package/package.json +1 -1
  52. package/src/actions/email-validation/check-compatibility.ts +0 -1
  53. package/src/actions/email-validation/check-images.spec.tsx +13 -11
  54. package/src/actions/email-validation/check-images.ts +6 -0
  55. package/src/actions/email-validation/check-links.spec.tsx +23 -11
  56. package/src/actions/email-validation/check-links.ts +6 -0
  57. package/src/actions/email-validation/get-code-location-from-ast-element.ts +18 -0
  58. package/src/actions/render-email-by-path.tsx +2 -2
  59. package/src/app/env.ts +3 -0
  60. package/src/app/preview/[...slug]/page.tsx +24 -11
  61. package/src/app/preview/[...slug]/preview.tsx +15 -12
  62. package/src/components/code-container.tsx +90 -71
  63. package/src/components/code.tsx +106 -42
  64. package/src/components/icons/icon-info.tsx +18 -0
  65. package/src/components/icons/icon-reload.tsx +13 -14
  66. package/src/components/logo.tsx +3 -2
  67. package/src/components/resizable-wrapper.tsx +1 -4
  68. package/src/components/sidebar/file-tree-directory-children.tsx +1 -0
  69. package/src/components/sidebar/sidebar.tsx +2 -3
  70. package/src/components/toolbar/code-preview-line-link.tsx +40 -0
  71. package/src/components/toolbar/compatibility.tsx +113 -0
  72. package/src/components/toolbar/linter.tsx +69 -111
  73. package/src/components/toolbar/results.tsx +5 -2
  74. package/src/components/toolbar/spam-assassin.tsx +20 -12
  75. package/src/components/toolbar/toolbar-button.tsx +4 -2
  76. package/src/components/toolbar.tsx +108 -30
  77. package/src/components/tooltip-content.tsx +1 -1
  78. package/src/components/topbar/view-size-controls.tsx +1 -2
  79. package/src/components/topbar.tsx +1 -20
  80. package/src/contexts/fragment-identifier.tsx +46 -0
  81. package/src/hooks/use-fragment-identifier.ts +14 -0
  82. package/src/utils/caniemail/tailwind/get-tailwind-config.ts +0 -2
  83. package/src/utils/get-email-component.ts +1 -1
  84. package/src/utils/get-line-and-column-from-offset.spec.ts +11 -0
  85. package/src/utils/get-line-and-column-from-offset.ts +11 -0
  86. package/src/utils/index.ts +1 -0
  87. package/src/utils/linting.ts +5 -30
  88. package/src/utils/load-stream.ts +15 -0
  89. package/src/utils/sanitize.ts +6 -0
  90. package/dist/preview/.next/server/chunks/833.js +0 -1
  91. package/dist/preview/.next/static/chunks/416-56f79fc7e689f06f.js +0 -1
  92. package/dist/preview/.next/static/chunks/683-8bbfd191e5105f01.js +0 -1
  93. package/dist/preview/.next/static/chunks/87-38e35f08507de015.js +0 -1
  94. package/dist/preview/.next/static/chunks/app/layout-a6640e62690d8fd6.js +0 -1
  95. package/dist/preview/.next/static/chunks/app/page-ba68f50b287e7478.js +0 -1
  96. package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-4a5b026ab543e27f.js +0 -1
  97. package/dist/preview/.next/static/css/d7df9cfc3e182163.css +0 -3
  98. package/src/actions/email-validation/get-line-and-column-from-index.spec.ts +0 -22
  99. package/src/actions/email-validation/get-line-and-column-from-index.ts +0 -43
  100. package/src/components/icons/icon-scanner.tsx +0 -19
  101. package/src/components/icons/icon-scissors.tsx +0 -19
  102. /package/dist/preview/.next/static/{gFk9UfWL8joM4iD7-wlKF → Pms2orsQgT5xpttCfZfH5}/_buildManifest.js +0 -0
  103. /package/dist/preview/.next/static/{gFk9UfWL8joM4iD7-wlKF → Pms2orsQgT5xpttCfZfH5}/_ssgManifest.js +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.