@superinterface/react 2.19.3 → 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 +484 -398
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +479 -393
- 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,8 +586,9 @@ 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;
|
|
592
593
|
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
593
594
|
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -608,7 +609,7 @@ declare const MarkdownProvider: ({ children, ...rest }: {
|
|
|
608
609
|
declare const useMarkdownContext: () => {
|
|
609
610
|
components: {
|
|
610
611
|
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
611
|
-
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;
|
|
612
613
|
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
613
614
|
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
614
615
|
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -616,8 +617,9 @@ declare const useMarkdownContext: () => {
|
|
|
616
617
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
617
618
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
618
619
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
619
|
-
annotation: ({ annotation, }: {
|
|
620
|
+
annotation: ({ annotation, children, }: {
|
|
620
621
|
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
622
|
+
children: React.ReactNode;
|
|
621
623
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
622
624
|
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
623
625
|
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
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,8 +586,9 @@ 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;
|
|
592
593
|
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
593
594
|
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -608,7 +609,7 @@ declare const MarkdownProvider: ({ children, ...rest }: {
|
|
|
608
609
|
declare const useMarkdownContext: () => {
|
|
609
610
|
components: {
|
|
610
611
|
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
611
|
-
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;
|
|
612
613
|
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
613
614
|
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
614
615
|
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
@@ -616,8 +617,9 @@ declare const useMarkdownContext: () => {
|
|
|
616
617
|
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
617
618
|
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
618
619
|
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
619
|
-
annotation: ({ annotation, }: {
|
|
620
|
+
annotation: ({ annotation, children, }: {
|
|
620
621
|
annotation: openai_resources_beta_threads_messages.Annotation;
|
|
622
|
+
children: React.ReactNode;
|
|
621
623
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
622
624
|
h1: (props: JSX.IntrinsicElements["h1"]) => react_jsx_runtime.JSX.Element;
|
|
623
625
|
h2: (props: JSX.IntrinsicElements["h2"]) => react_jsx_runtime.JSX.Element;
|