@superinterface/react 3.4.0 → 3.5.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.d.cts CHANGED
@@ -9,7 +9,6 @@ import * as react from 'react';
9
9
  import { Dispatch, SetStateAction } from 'react';
10
10
  import * as openai_resources from 'openai/resources';
11
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';
13
12
  import OpenAI from 'openai';
14
13
  import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
15
14
 
@@ -573,7 +572,7 @@ declare const Suggestions: {
573
572
  declare const MarkdownContext: react.Context<{
574
573
  components: {
575
574
  p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
576
- a: ({ children, href, download, target, }: JSX.IntrinsicElements) => react_jsx_runtime.JSX.Element;
575
+ a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
577
576
  strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
578
577
  ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
579
578
  ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
@@ -592,11 +591,11 @@ declare const MarkdownContext: react.Context<{
592
591
  h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
593
592
  h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
594
593
  table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
595
- thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
596
- tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
597
- tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
598
- td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
599
- th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
594
+ thead: (props: JSX.IntrinsicElements["thead"]) => react_jsx_runtime.JSX.Element;
595
+ tbody: (props: JSX.IntrinsicElements["tbody"]) => react_jsx_runtime.JSX.Element;
596
+ tr: (props: JSX.IntrinsicElements["tr"]) => react_jsx_runtime.JSX.Element;
597
+ td: ({ width, ...rest }: JSX.IntrinsicElements["td"]) => react_jsx_runtime.JSX.Element;
598
+ th: (props: JSX.IntrinsicElements["th"]) => react_jsx_runtime.JSX.Element;
600
599
  };
601
600
  getRemarkPlugins: ({ content, }: {
602
601
  content: openai_resources_beta_threads_messages.TextContentBlock;
@@ -610,7 +609,7 @@ declare const MarkdownProvider: ({ children, ...rest }: {
610
609
  declare const useMarkdownContext: () => {
611
610
  components: {
612
611
  p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
613
- a: ({ children, href, download, target, }: JSX.IntrinsicElements) => react_jsx_runtime.JSX.Element;
612
+ a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
614
613
  strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
615
614
  ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
616
615
  ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
@@ -629,11 +628,11 @@ declare const useMarkdownContext: () => {
629
628
  h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
630
629
  h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
631
630
  table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
632
- thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
633
- tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
634
- tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
635
- td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
636
- th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
631
+ thead: (props: JSX.IntrinsicElements["thead"]) => react_jsx_runtime.JSX.Element;
632
+ tbody: (props: JSX.IntrinsicElements["tbody"]) => react_jsx_runtime.JSX.Element;
633
+ tr: (props: JSX.IntrinsicElements["tr"]) => react_jsx_runtime.JSX.Element;
634
+ td: ({ width, ...rest }: JSX.IntrinsicElements["td"]) => react_jsx_runtime.JSX.Element;
635
+ th: (props: JSX.IntrinsicElements["th"]) => react_jsx_runtime.JSX.Element;
637
636
  };
638
637
  getRemarkPlugins: ({ content, }: {
639
638
  content: openai_resources_beta_threads_messages.TextContentBlock;
package/dist/index.d.ts CHANGED
@@ -9,7 +9,6 @@ import * as react from 'react';
9
9
  import { Dispatch, SetStateAction } from 'react';
10
10
  import * as openai_resources from 'openai/resources';
11
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';
13
12
  import OpenAI from 'openai';
14
13
  import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
15
14
 
@@ -573,7 +572,7 @@ declare const Suggestions: {
573
572
  declare const MarkdownContext: react.Context<{
574
573
  components: {
575
574
  p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
576
- a: ({ children, href, download, target, }: JSX.IntrinsicElements) => react_jsx_runtime.JSX.Element;
575
+ a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
577
576
  strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
578
577
  ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
579
578
  ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
@@ -592,11 +591,11 @@ declare const MarkdownContext: react.Context<{
592
591
  h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
593
592
  h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
594
593
  table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
595
- thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
596
- tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
597
- tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
598
- td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
599
- th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
594
+ thead: (props: JSX.IntrinsicElements["thead"]) => react_jsx_runtime.JSX.Element;
595
+ tbody: (props: JSX.IntrinsicElements["tbody"]) => react_jsx_runtime.JSX.Element;
596
+ tr: (props: JSX.IntrinsicElements["tr"]) => react_jsx_runtime.JSX.Element;
597
+ td: ({ width, ...rest }: JSX.IntrinsicElements["td"]) => react_jsx_runtime.JSX.Element;
598
+ th: (props: JSX.IntrinsicElements["th"]) => react_jsx_runtime.JSX.Element;
600
599
  };
601
600
  getRemarkPlugins: ({ content, }: {
602
601
  content: openai_resources_beta_threads_messages.TextContentBlock;
@@ -610,7 +609,7 @@ declare const MarkdownProvider: ({ children, ...rest }: {
610
609
  declare const useMarkdownContext: () => {
611
610
  components: {
612
611
  p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
613
- a: ({ children, href, download, target, }: JSX.IntrinsicElements) => react_jsx_runtime.JSX.Element;
612
+ a: ({ children, href, download, target, }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
614
613
  strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
615
614
  ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
616
615
  ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
@@ -629,11 +628,11 @@ declare const useMarkdownContext: () => {
629
628
  h5: (props: JSX.IntrinsicElements["h5"]) => react_jsx_runtime.JSX.Element;
630
629
  h6: (props: JSX.IntrinsicElements["h6"]) => react_jsx_runtime.JSX.Element;
631
630
  table: (props: JSX.IntrinsicElements["table"]) => react_jsx_runtime.JSX.Element;
632
- thead: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.HeaderProps & react.RefAttributes<HTMLTableSectionElement>>;
633
- tbody: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.BodyProps & react.RefAttributes<HTMLTableSectionElement>>;
634
- tr: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.RowProps & react.RefAttributes<HTMLTableRowElement>>;
635
- td: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.CellProps & react.RefAttributes<HTMLTableDataCellElement>>;
636
- th: react.ForwardRefExoticComponent<_radix_ui_themes_dist_cjs_components_table.ColumnHeaderCellProps & react.RefAttributes<HTMLTableHeaderCellElement>>;
631
+ thead: (props: JSX.IntrinsicElements["thead"]) => react_jsx_runtime.JSX.Element;
632
+ tbody: (props: JSX.IntrinsicElements["tbody"]) => react_jsx_runtime.JSX.Element;
633
+ tr: (props: JSX.IntrinsicElements["tr"]) => react_jsx_runtime.JSX.Element;
634
+ td: ({ width, ...rest }: JSX.IntrinsicElements["td"]) => react_jsx_runtime.JSX.Element;
635
+ th: (props: JSX.IntrinsicElements["th"]) => react_jsx_runtime.JSX.Element;
637
636
  };
638
637
  getRemarkPlugins: ({ content, }: {
639
638
  content: openai_resources_beta_threads_messages.TextContentBlock;