@superinterface/react 2.0.11 → 2.1.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.
package/dist/index.d.cts CHANGED
@@ -522,14 +522,18 @@ declare const ThreadDialog: {
522
522
  children: react.ReactNode;
523
523
  style?: react.CSSProperties | undefined;
524
524
  }) => react_jsx_runtime.JSX.Element;
525
- Trigger: ({ children, }: {
525
+ Trigger: ({ children, style, }: {
526
526
  children: react.ReactNode;
527
+ style?: react.CSSProperties | undefined;
527
528
  }) => react_jsx_runtime.JSX.Element;
528
529
  Button: () => react_jsx_runtime.JSX.Element;
529
530
  Content: {
530
- (): react_jsx_runtime.JSX.Element;
531
- Root: ({ children, }: {
531
+ ({ style, }: {
532
+ style?: react.CSSProperties | undefined;
533
+ }): react_jsx_runtime.JSX.Element;
534
+ Root: ({ children, style, }: {
532
535
  children: react.ReactNode;
536
+ style?: react.CSSProperties | undefined;
533
537
  }) => react_jsx_runtime.JSX.Element | null;
534
538
  };
535
539
  };
@@ -545,14 +549,18 @@ declare const AudioThreadDialog: {
545
549
  children: react.ReactNode;
546
550
  style?: react.CSSProperties | undefined;
547
551
  }) => react_jsx_runtime.JSX.Element;
548
- Trigger: ({ children, }: {
552
+ Trigger: ({ children, style, }: {
549
553
  children: react.ReactNode;
554
+ style?: react.CSSProperties | undefined;
550
555
  }) => react_jsx_runtime.JSX.Element;
551
556
  Button: () => react_jsx_runtime.JSX.Element;
552
557
  Content: {
553
- (): react_jsx_runtime.JSX.Element;
554
- Root: ({ children, }: {
558
+ ({ style, }: {
559
+ style?: react.CSSProperties | undefined;
560
+ }): react_jsx_runtime.JSX.Element;
561
+ Root: ({ children, style, }: {
555
562
  children: react.ReactNode;
563
+ style?: react.CSSProperties | undefined;
556
564
  }) => react_jsx_runtime.JSX.Element | null;
557
565
  };
558
566
  };
@@ -1221,6 +1229,7 @@ declare const MarkdownContext: react.Context<{
1221
1229
  li: ({ children }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
1222
1230
  pre: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLPreElement>, HTMLPreElement>) => react_jsx_runtime.JSX.Element;
1223
1231
  code: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>) => react_jsx_runtime.JSX.Element;
1232
+ img: (props: react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => react_jsx_runtime.JSX.Element;
1224
1233
  };
1225
1234
  };
1226
1235
  }>;
@@ -1241,6 +1250,7 @@ declare const useMarkdownContext: () => {
1241
1250
  li: ({ children }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
1242
1251
  pre: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLPreElement>, HTMLPreElement>) => react_jsx_runtime.JSX.Element;
1243
1252
  code: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>) => react_jsx_runtime.JSX.Element;
1253
+ img: (props: react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => react_jsx_runtime.JSX.Element;
1244
1254
  };
1245
1255
  };
1246
1256
  };
package/dist/index.d.ts CHANGED
@@ -522,14 +522,18 @@ declare const ThreadDialog: {
522
522
  children: react.ReactNode;
523
523
  style?: react.CSSProperties | undefined;
524
524
  }) => react_jsx_runtime.JSX.Element;
525
- Trigger: ({ children, }: {
525
+ Trigger: ({ children, style, }: {
526
526
  children: react.ReactNode;
527
+ style?: react.CSSProperties | undefined;
527
528
  }) => react_jsx_runtime.JSX.Element;
528
529
  Button: () => react_jsx_runtime.JSX.Element;
529
530
  Content: {
530
- (): react_jsx_runtime.JSX.Element;
531
- Root: ({ children, }: {
531
+ ({ style, }: {
532
+ style?: react.CSSProperties | undefined;
533
+ }): react_jsx_runtime.JSX.Element;
534
+ Root: ({ children, style, }: {
532
535
  children: react.ReactNode;
536
+ style?: react.CSSProperties | undefined;
533
537
  }) => react_jsx_runtime.JSX.Element | null;
534
538
  };
535
539
  };
@@ -545,14 +549,18 @@ declare const AudioThreadDialog: {
545
549
  children: react.ReactNode;
546
550
  style?: react.CSSProperties | undefined;
547
551
  }) => react_jsx_runtime.JSX.Element;
548
- Trigger: ({ children, }: {
552
+ Trigger: ({ children, style, }: {
549
553
  children: react.ReactNode;
554
+ style?: react.CSSProperties | undefined;
550
555
  }) => react_jsx_runtime.JSX.Element;
551
556
  Button: () => react_jsx_runtime.JSX.Element;
552
557
  Content: {
553
- (): react_jsx_runtime.JSX.Element;
554
- Root: ({ children, }: {
558
+ ({ style, }: {
559
+ style?: react.CSSProperties | undefined;
560
+ }): react_jsx_runtime.JSX.Element;
561
+ Root: ({ children, style, }: {
555
562
  children: react.ReactNode;
563
+ style?: react.CSSProperties | undefined;
556
564
  }) => react_jsx_runtime.JSX.Element | null;
557
565
  };
558
566
  };
@@ -1221,6 +1229,7 @@ declare const MarkdownContext: react.Context<{
1221
1229
  li: ({ children }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
1222
1230
  pre: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLPreElement>, HTMLPreElement>) => react_jsx_runtime.JSX.Element;
1223
1231
  code: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>) => react_jsx_runtime.JSX.Element;
1232
+ img: (props: react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => react_jsx_runtime.JSX.Element;
1224
1233
  };
1225
1234
  };
1226
1235
  }>;
@@ -1241,6 +1250,7 @@ declare const useMarkdownContext: () => {
1241
1250
  li: ({ children }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
1242
1251
  pre: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLPreElement>, HTMLPreElement>) => react_jsx_runtime.JSX.Element;
1243
1252
  code: ({ children }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>) => react_jsx_runtime.JSX.Element;
1253
+ img: (props: react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => react_jsx_runtime.JSX.Element;
1244
1254
  };
1245
1255
  };
1246
1256
  };