@superinterface/react 2.23.0 → 2.24.0
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.cjs +715 -442
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +654 -381
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/dist/index.d.cts
CHANGED
|
@@ -8,6 +8,8 @@ import * as _tanstack_query_core from '@tanstack/query-core';
|
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { Dispatch, SetStateAction } from 'react';
|
|
10
10
|
import * as openai_resources from 'openai/resources';
|
|
11
|
+
import * as remark_gfm from 'remark-gfm';
|
|
12
|
+
import * as _radix_ui_themes_dist_cjs_components_table from '@radix-ui/themes/dist/cjs/components/table';
|
|
11
13
|
import OpenAI from 'openai';
|
|
12
14
|
import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
|
|
13
15
|
|
|
@@ -549,6 +551,7 @@ declare const AudioThread: {
|
|
|
549
551
|
(props: Args$3): react_jsx_runtime.JSX.Element;
|
|
550
552
|
Root: ({ children, }: Args$4) => react_jsx_runtime.JSX.Element;
|
|
551
553
|
Visualization: () => react_jsx_runtime.JSX.Element;
|
|
554
|
+
Status: () => react_jsx_runtime.JSX.Element;
|
|
552
555
|
Form: () => react_jsx_runtime.JSX.Element;
|
|
553
556
|
};
|
|
554
557
|
|
|
@@ -596,10 +599,16 @@ declare const MarkdownContext: react.Context<{
|
|
|
596
599
|
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
597
600
|
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
598
601
|
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
602
|
+
table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
|
|
603
|
+
thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
604
|
+
tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
605
|
+
tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
|
|
606
|
+
td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
|
|
607
|
+
th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
|
|
599
608
|
};
|
|
600
609
|
getRemarkPlugins: ({ content, }: {
|
|
601
610
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
602
|
-
}) => (() => (tree: any) => void)[];
|
|
611
|
+
}) => ((() => (tree: any) => void) | typeof remark_gfm.default)[];
|
|
603
612
|
}>;
|
|
604
613
|
|
|
605
614
|
declare const MarkdownProvider: ({ children, ...rest }: {
|
|
@@ -627,10 +636,16 @@ declare const useMarkdownContext: () => {
|
|
|
627
636
|
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
628
637
|
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
629
638
|
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
639
|
+
table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
|
|
640
|
+
thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
641
|
+
tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
642
|
+
tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
|
|
643
|
+
td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
|
|
644
|
+
th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
|
|
630
645
|
};
|
|
631
646
|
getRemarkPlugins: ({ content, }: {
|
|
632
647
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
633
|
-
}) => (() => (tree: any) => void)[];
|
|
648
|
+
}) => ((() => (tree: any) => void) | typeof remark_gfm.default)[];
|
|
634
649
|
};
|
|
635
650
|
|
|
636
651
|
declare const AssistantAvatarContext: react.Context<react_jsx_runtime.JSX.Element>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import * as _tanstack_query_core from '@tanstack/query-core';
|
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { Dispatch, SetStateAction } from 'react';
|
|
10
10
|
import * as openai_resources from 'openai/resources';
|
|
11
|
+
import * as remark_gfm from 'remark-gfm';
|
|
12
|
+
import * as _radix_ui_themes_dist_cjs_components_table from '@radix-ui/themes/dist/cjs/components/table';
|
|
11
13
|
import OpenAI from 'openai';
|
|
12
14
|
import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
|
|
13
15
|
|
|
@@ -549,6 +551,7 @@ declare const AudioThread: {
|
|
|
549
551
|
(props: Args$3): react_jsx_runtime.JSX.Element;
|
|
550
552
|
Root: ({ children, }: Args$4) => react_jsx_runtime.JSX.Element;
|
|
551
553
|
Visualization: () => react_jsx_runtime.JSX.Element;
|
|
554
|
+
Status: () => react_jsx_runtime.JSX.Element;
|
|
552
555
|
Form: () => react_jsx_runtime.JSX.Element;
|
|
553
556
|
};
|
|
554
557
|
|
|
@@ -596,10 +599,16 @@ declare const MarkdownContext: react.Context<{
|
|
|
596
599
|
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
597
600
|
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
598
601
|
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
602
|
+
table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
|
|
603
|
+
thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
604
|
+
tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
605
|
+
tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
|
|
606
|
+
td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
|
|
607
|
+
th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
|
|
599
608
|
};
|
|
600
609
|
getRemarkPlugins: ({ content, }: {
|
|
601
610
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
602
|
-
}) => (() => (tree: any) => void)[];
|
|
611
|
+
}) => ((() => (tree: any) => void) | typeof remark_gfm.default)[];
|
|
603
612
|
}>;
|
|
604
613
|
|
|
605
614
|
declare const MarkdownProvider: ({ children, ...rest }: {
|
|
@@ -627,10 +636,16 @@ declare const useMarkdownContext: () => {
|
|
|
627
636
|
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
628
637
|
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
629
638
|
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
639
|
+
table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
|
|
640
|
+
thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
641
|
+
tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
|
|
642
|
+
tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
|
|
643
|
+
td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
|
|
644
|
+
th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
|
|
630
645
|
};
|
|
631
646
|
getRemarkPlugins: ({ content, }: {
|
|
632
647
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
633
|
-
}) => (() => (tree: any) => void)[];
|
|
648
|
+
}) => ((() => (tree: any) => void) | typeof remark_gfm.default)[];
|
|
634
649
|
};
|
|
635
650
|
|
|
636
651
|
declare const AssistantAvatarContext: react.Context<react_jsx_runtime.JSX.Element>;
|