@ttoss/components 1.29.12 → 1.29.14

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.mts CHANGED
@@ -7,7 +7,7 @@ import { BoxProps, FlexProps } from '@ttoss/ui';
7
7
  import ReactModal from 'react-modal';
8
8
  import { ToastContainerProps } from 'react-toastify';
9
9
  export { ToastContainerProps, toast } from 'react-toastify';
10
- import { Options } from 'react-markdown';
10
+ import { ReactMarkdownOptions } from 'react-markdown';
11
11
 
12
12
  type AccordionProps = BoxProps & {
13
13
  allowMultipleExpanded?: boolean;
@@ -313,7 +313,7 @@ declare const Modal: {
313
313
 
314
314
  declare const ToastContainer: (props: ToastContainerProps) => react_jsx_runtime.JSX.Element;
315
315
 
316
- type MarkdownProps = Options & {
316
+ type MarkdownProps = ReactMarkdownOptions & {
317
317
  children: string;
318
318
  sx?: FlexProps['sx'];
319
319
  };
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { BoxProps, FlexProps } from '@ttoss/ui';
7
7
  import ReactModal from 'react-modal';
8
8
  import { ToastContainerProps } from 'react-toastify';
9
9
  export { ToastContainerProps, toast } from 'react-toastify';
10
- import { Options } from 'react-markdown';
10
+ import { ReactMarkdownOptions } from 'react-markdown';
11
11
 
12
12
  type AccordionProps = BoxProps & {
13
13
  allowMultipleExpanded?: boolean;
@@ -313,7 +313,7 @@ declare const Modal: {
313
313
 
314
314
  declare const ToastContainer: (props: ToastContainerProps) => react_jsx_runtime.JSX.Element;
315
315
 
316
- type MarkdownProps = Options & {
316
+ type MarkdownProps = ReactMarkdownOptions & {
317
317
  children: string;
318
318
  sx?: FlexProps['sx'];
319
319
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "1.29.12",
3
+ "version": "1.29.14",
4
4
  "description": "React components for ttoss ecosystem.",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -24,7 +24,7 @@
24
24
  "@theme-ui/css": "^0.15.7",
25
25
  "@types/react-modal": "^3.16.0",
26
26
  "react-accessible-accordion": "^5.0.0",
27
- "react-markdown": "^8.0.7",
27
+ "react-markdown": "6.0.0",
28
28
  "react-modal": "^3.16.1",
29
29
  "react-toastify": "^9.1.3"
30
30
  },
@@ -1,7 +1,7 @@
1
1
  import { BaseStyles, FlexProps } from '@ttoss/ui';
2
- import ReactMarkdown, { Options } from 'react-markdown';
2
+ import ReactMarkdown, { ReactMarkdownOptions } from 'react-markdown';
3
3
 
4
- export type MarkdownProps = Options & {
4
+ export type MarkdownProps = ReactMarkdownOptions & {
5
5
  children: string;
6
6
  sx?: FlexProps['sx'];
7
7
  };