@trycourier/react-designer 0.0.0-canary-20251016130317 → 0.0.0-canary-20251016171912
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/cjs/index.js +42 -42
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs/styles.css +3 -0
- package/dist/components/TemplateEditor/Channels/MSTeams/MSTeams.d.ts +2 -2
- package/dist/components/TemplateEditor/Channels/Slack/Slack.d.ts +2 -2
- package/dist/esm/index.js +44 -44
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/styles.css +3 -0
- package/dist/styles.css +3 -0
- package/package.json +1 -1
package/dist/cjs/styles.css
CHANGED
|
@@ -6,7 +6,7 @@ import type { ElementalNode } from "@/types/elemental.types";
|
|
|
6
6
|
import { type UniqueIdentifier } from "@dnd-kit/core";
|
|
7
7
|
import type { Node } from "@tiptap/pm/model";
|
|
8
8
|
import type { AnyExtension, Editor } from "@tiptap/react";
|
|
9
|
-
import React from "react";
|
|
9
|
+
import React, { type HTMLAttributes } from "react";
|
|
10
10
|
import type { TemplateEditorProps } from "../../TemplateEditor";
|
|
11
11
|
export declare const defaultMSTeamsContent: ElementalNode[];
|
|
12
12
|
export declare const MSTeamsEditorContent: ({ value }: {
|
|
@@ -27,7 +27,7 @@ export interface MSTeamsRenderProps {
|
|
|
27
27
|
selectedNode: Node | null;
|
|
28
28
|
msteamsEditor: Editor | null;
|
|
29
29
|
}
|
|
30
|
-
export interface MSTeamsProps extends Pick<TemplateEditorProps, "hidePublish" | "theme" | "variables" | "channels" | "routing" | "value"> {
|
|
30
|
+
export interface MSTeamsProps extends Pick<TemplateEditorProps, "hidePublish" | "theme" | "variables" | "channels" | "routing" | "value">, Omit<HTMLAttributes<HTMLDivElement>, "value" | "onChange"> {
|
|
31
31
|
readOnly?: boolean;
|
|
32
32
|
headerRenderer?: ({ hidePublish, channels, routing, }: {
|
|
33
33
|
hidePublish?: boolean;
|
|
@@ -6,7 +6,7 @@ import type { ElementalNode } from "@/types/elemental.types";
|
|
|
6
6
|
import { type UniqueIdentifier } from "@dnd-kit/core";
|
|
7
7
|
import type { Node } from "@tiptap/pm/model";
|
|
8
8
|
import type { AnyExtension, Editor } from "@tiptap/react";
|
|
9
|
-
import React from "react";
|
|
9
|
+
import React, { type HTMLAttributes } from "react";
|
|
10
10
|
import type { TemplateEditorProps } from "../../TemplateEditor";
|
|
11
11
|
export declare const defaultSlackContent: ElementalNode[];
|
|
12
12
|
export declare const SlackEditorContent: ({ value }: {
|
|
@@ -27,7 +27,7 @@ export interface SlackRenderProps {
|
|
|
27
27
|
selectedNode: Node | null;
|
|
28
28
|
slackEditor: Editor | null;
|
|
29
29
|
}
|
|
30
|
-
export interface SlackProps extends Pick<TemplateEditorProps, "hidePublish" | "theme" | "variables" | "channels" | "routing" | "value"> {
|
|
30
|
+
export interface SlackProps extends Pick<TemplateEditorProps, "hidePublish" | "theme" | "variables" | "channels" | "routing" | "value">, Omit<HTMLAttributes<HTMLDivElement>, "value" | "onChange"> {
|
|
31
31
|
readOnly?: boolean;
|
|
32
32
|
headerRenderer?: ({ hidePublish, channels, routing, }: {
|
|
33
33
|
hidePublish?: boolean;
|