@superinterface/react 2.19.2 → 2.20.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 +521 -391
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -4
- package/dist/index.d.ts +18 -4
- package/dist/index.js +517 -387
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -578,7 +578,7 @@ declare const Suggestions: {
|
|
|
578
578
|
declare const MarkdownContext: react.Context<{
|
|
579
579
|
components: {
|
|
580
580
|
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
581
|
-
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
581
|
+
a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
582
582
|
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
583
583
|
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
584
584
|
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -586,9 +586,16 @@ declare const MarkdownContext: react.Context<{
|
|
|
586
586
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
587
587
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
588
588
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
589
|
-
annotation: ({ annotation, }: {
|
|
589
|
+
annotation: ({ annotation, children, }: {
|
|
590
590
|
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
591
|
+
children: React.ReactNode;
|
|
591
592
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
593
|
+
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
594
|
+
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
|
595
|
+
h3: (props: JSX.IntrinsicElements["h3"]) => react_jsx_runtime.JSX.Element;
|
|
596
|
+
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
597
|
+
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
598
|
+
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
592
599
|
};
|
|
593
600
|
getRemarkPlugins: ({ content, }: {
|
|
594
601
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
@@ -602,7 +609,7 @@ declare const MarkdownProvider: ({ children, ...rest }: {
|
|
|
602
609
|
declare const useMarkdownContext: () => {
|
|
603
610
|
components: {
|
|
604
611
|
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
605
|
-
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
612
|
+
a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
606
613
|
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
607
614
|
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
608
615
|
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -610,9 +617,16 @@ declare const useMarkdownContext: () => {
|
|
|
610
617
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
611
618
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
612
619
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
613
|
-
annotation: ({ annotation, }: {
|
|
620
|
+
annotation: ({ annotation, children, }: {
|
|
614
621
|
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
622
|
+
children: React.ReactNode;
|
|
615
623
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
624
|
+
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
625
|
+
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
|
626
|
+
h3: (props: JSX.IntrinsicElements["h3"]) => react_jsx_runtime.JSX.Element;
|
|
627
|
+
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
628
|
+
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
629
|
+
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
616
630
|
};
|
|
617
631
|
getRemarkPlugins: ({ content, }: {
|
|
618
632
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
package/dist/index.d.ts
CHANGED
|
@@ -578,7 +578,7 @@ declare const Suggestions: {
|
|
|
578
578
|
declare const MarkdownContext: react.Context<{
|
|
579
579
|
components: {
|
|
580
580
|
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
581
|
-
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
581
|
+
a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
582
582
|
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
583
583
|
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
584
584
|
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -586,9 +586,16 @@ declare const MarkdownContext: react.Context<{
|
|
|
586
586
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
587
587
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
588
588
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
589
|
-
annotation: ({ annotation, }: {
|
|
589
|
+
annotation: ({ annotation, children, }: {
|
|
590
590
|
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
591
|
+
children: React.ReactNode;
|
|
591
592
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
593
|
+
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
594
|
+
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
|
595
|
+
h3: (props: JSX.IntrinsicElements["h3"]) => react_jsx_runtime.JSX.Element;
|
|
596
|
+
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
597
|
+
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
598
|
+
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
592
599
|
};
|
|
593
600
|
getRemarkPlugins: ({ content, }: {
|
|
594
601
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
@@ -602,7 +609,7 @@ declare const MarkdownProvider: ({ children, ...rest }: {
|
|
|
602
609
|
declare const useMarkdownContext: () => {
|
|
603
610
|
components: {
|
|
604
611
|
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
605
|
-
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
612
|
+
a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
606
613
|
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
607
614
|
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
608
615
|
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -610,9 +617,16 @@ declare const useMarkdownContext: () => {
|
|
|
610
617
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
611
618
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
612
619
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
613
|
-
annotation: ({ annotation, }: {
|
|
620
|
+
annotation: ({ annotation, children, }: {
|
|
614
621
|
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
622
|
+
children: React.ReactNode;
|
|
615
623
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
624
|
+
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
625
|
+
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
|
626
|
+
h3: (props: JSX.IntrinsicElements["h3"]) => react_jsx_runtime.JSX.Element;
|
|
627
|
+
h4: (props: JSX.IntrinsicElements["h4"]) => react_jsx_runtime.JSX.Element;
|
|
628
|
+
h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
|
|
629
|
+
h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
|
|
616
630
|
};
|
|
617
631
|
getRemarkPlugins: ({ content, }: {
|
|
618
632
|
content: openai_resources_beta_threads_messages.TextContentBlock;
|