@superinterface/react 2.16.4 → 2.17.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 +439 -287
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +428 -276
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/index.d.cts
CHANGED
|
@@ -449,7 +449,13 @@ declare const MarkdownContext: react.Context<{
|
|
|
449
449
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
450
450
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
451
451
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
452
|
+
annotation: ({ annotation, }: {
|
|
453
|
+
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
454
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
452
455
|
};
|
|
456
|
+
getRemarkPlugins: ({ content, }: {
|
|
457
|
+
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
458
|
+
}) => (() => (tree: any) => void)[];
|
|
453
459
|
}>;
|
|
454
460
|
|
|
455
461
|
declare const MarkdownProvider: ({ children, ...rest }: {
|
|
@@ -467,7 +473,13 @@ declare const useMarkdownContext: () => {
|
|
|
467
473
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
468
474
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
469
475
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
476
|
+
annotation: ({ annotation, }: {
|
|
477
|
+
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
478
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
470
479
|
};
|
|
480
|
+
getRemarkPlugins: ({ content, }: {
|
|
481
|
+
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
482
|
+
}) => (() => (tree: any) => void)[];
|
|
471
483
|
};
|
|
472
484
|
|
|
473
485
|
declare const AssistantAvatarContext: react.Context<react_jsx_runtime.JSX.Element>;
|
package/dist/index.d.ts
CHANGED
|
@@ -449,7 +449,13 @@ declare const MarkdownContext: react.Context<{
|
|
|
449
449
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
450
450
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
451
451
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
452
|
+
annotation: ({ annotation, }: {
|
|
453
|
+
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
454
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
452
455
|
};
|
|
456
|
+
getRemarkPlugins: ({ content, }: {
|
|
457
|
+
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
458
|
+
}) => (() => (tree: any) => void)[];
|
|
453
459
|
}>;
|
|
454
460
|
|
|
455
461
|
declare const MarkdownProvider: ({ children, ...rest }: {
|
|
@@ -467,7 +473,13 @@ declare const useMarkdownContext: () => {
|
|
|
467
473
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
468
474
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
469
475
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
476
|
+
annotation: ({ annotation, }: {
|
|
477
|
+
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
478
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
470
479
|
};
|
|
480
|
+
getRemarkPlugins: ({ content, }: {
|
|
481
|
+
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
482
|
+
}) => (() => (tree: any) => void)[];
|
|
471
483
|
};
|
|
472
484
|
|
|
473
485
|
declare const AssistantAvatarContext: react.Context<react_jsx_runtime.JSX.Element>;
|