@dextinity/mail-react 2.0.0-canary-20260804074044 → 2.0.0-canary-20260804142013

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 CHANGED
@@ -6,7 +6,7 @@ The package:
6
6
 
7
7
  - re-exports all `@faire/mjml-react` MJML components (with prop types renamed to drop the `I` prefix);
8
8
  - extends some of them with extra props and features;
9
- - adds new components and utilities — block factories (`BlocksBlock`, `ListBlock`, `OneOfBlock`, `OptionalBlock`) for rendering Comet CMS block data, and a `css()` tagged template literal for IDE syntax highlighting.
9
+ - adds new components and utilities — block factories (`BlocksBlock`, `ListBlock`, `OneOfBlock`, `OptionalBlock`) for rendering Dextinity CMS block data, and a `css()` tagged template literal for IDE syntax highlighting.
10
10
 
11
11
  Some components also ship in an `Html` variant for use inside MJML ending tags. These variants are additive — separate components alongside the `Mjml` versions, with their own API.
12
12
 
@@ -3,7 +3,7 @@
3
3
  import React, { useCallback, useEffect, useRef, useState } from "react";
4
4
  import { Button } from "storybook/internal/components";
5
5
  import { useChannel } from "storybook/manager-api";
6
- const RENDER_RESULT_EVENT = "comet-mail-render-result";
6
+ const RENDER_RESULT_EVENT = "dextinity-mail-render-result";
7
7
  export function CopyMailHtmlButton() {
8
8
  const htmlRef = useRef("");
9
9
  const [copied, setCopied] = useState(false);
@@ -3,7 +3,7 @@ import { useChannel, useGlobals } from "storybook/preview-api";
3
3
  import { renderMailHtml } from "../client/renderMailHtml.js";
4
4
  import { MjmlMailRoot } from "../components/mailRoot/MjmlMailRoot.js";
5
5
  import { replaceImagesWithPublicUrl } from "./replaceImagesWithPublicUrl.js";
6
- const RENDER_RESULT_EVENT = "comet-mail-render-result";
6
+ const RENDER_RESULT_EVENT = "dextinity-mail-render-result";
7
7
  export function MailRendererDecorator(Story, context) {
8
8
  const [globals] = useGlobals();
9
9
  const emit = useChannel({});
@@ -3,7 +3,7 @@
3
3
  import React, { useState } from "react";
4
4
  import { AddonPanel, Badge } from "storybook/internal/components";
5
5
  import { useChannel } from "storybook/manager-api";
6
- const RENDER_RESULT_EVENT = "comet-mail-render-result";
6
+ const RENDER_RESULT_EVENT = "dextinity-mail-render-result";
7
7
  export function MjmlWarningsPanel({ active }) {
8
8
  const [renderResult, setRenderResult] = useState(null);
9
9
  useChannel({
@@ -5,7 +5,7 @@ import { addons, types } from "storybook/manager-api";
5
5
  import { CopyMailHtmlButton } from "./CopyMailHtmlButton.js";
6
6
  import { MjmlWarningsPanel, MjmlWarningsPanelTitle } from "./MjmlWarningsPanel.js";
7
7
  import { UsePublicImageUrlsToggle } from "./UsePublicImageUrlsToggle.js";
8
- const ADDON_ID = "comet-mail-react";
8
+ const ADDON_ID = "dextinity-mail-react";
9
9
  addons.register(ADDON_ID, () => {
10
10
  addons.add(`${ADDON_ID}/copy-html`, {
11
11
  type: types.TOOL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dextinity/mail-react",
3
- "version": "2.0.0-canary-20260804074044",
3
+ "version": "2.0.0-canary-20260804142013",
4
4
  "description": "Utilities for building HTML emails with React",
5
5
  "license": "BSD-2-Clause",
6
6
  "type": "module",
@@ -48,8 +48,8 @@
48
48
  "typescript": "^5.9.3",
49
49
  "vite": "^7.3.1",
50
50
  "vitest": "^4.1.8",
51
- "@dextinity/cli": "2.0.0-canary-20260804074044",
52
- "@dextinity/eslint-config": "2.0.0-canary-20260804074044"
51
+ "@dextinity/cli": "2.0.0-canary-20260804142013",
52
+ "@dextinity/eslint-config": "2.0.0-canary-20260804142013"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",