@trycourier/react-designer 0.0.0-canary-20250905150739 → 0.0.0-canary-20250910201021

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.
@@ -1,6 +1,7 @@
1
1
  import { type Channel, type ChannelType } from "@/store";
2
2
  import type { TemplateEditorProps } from "../TemplateEditor";
3
3
  export declare const useChannels: ({ channels, routing, }: {
4
+ /** @deprecated Use routing.channels instead. Will be removed in a future version. */
4
5
  channels?: ChannelType[];
5
6
  routing?: TemplateEditorProps["routing"];
6
7
  }) => {
@@ -13,6 +13,7 @@ export interface TemplateEditorProps {
13
13
  autoSaveDebounce?: number;
14
14
  brandEditor?: boolean;
15
15
  brandProps?: BrandEditorProps;
16
+ /** @deprecated Use routing.channels instead. Will be removed in a future version. */
16
17
  channels?: ChannelType[];
17
18
  routing?: MessageRouting;
18
19
  }
@@ -15,9 +15,9 @@ export declare const buttonSchema: z.ZodObject<{
15
15
  isUnderline: z.ZodBoolean;
16
16
  isStrike: z.ZodBoolean;
17
17
  }, "strip", z.ZodTypeAny, {
18
- label: string;
19
18
  padding: number;
20
19
  borderWidth: number;
20
+ label: string;
21
21
  backgroundColor: string;
22
22
  textColor: string;
23
23
  borderColor: string;
@@ -30,9 +30,9 @@ export declare const buttonSchema: z.ZodObject<{
30
30
  isStrike: boolean;
31
31
  link?: string | undefined;
32
32
  }, {
33
- label: string;
34
33
  padding: number;
35
34
  borderWidth: number;
35
+ label: string;
36
36
  backgroundColor: string;
37
37
  textColor: string;
38
38
  borderColor: string;