@ttoss/components 1.29.13 → 1.29.15
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/Markdown.tsx +2 -2
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 {
|
|
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 =
|
|
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 {
|
|
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 =
|
|
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.
|
|
3
|
+
"version": "1.29.15",
|
|
4
4
|
"description": "React components for ttoss ecosystem.",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=16.8.0",
|
|
33
|
-
"@ttoss/ui": "^3.1.
|
|
33
|
+
"@ttoss/ui": "^3.1.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "^29.5.3",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"tsup": "^7.1.0",
|
|
40
40
|
"@ttoss/config": "^1.30.6",
|
|
41
41
|
"@ttoss/test-utils": "^1.23.7",
|
|
42
|
-
"@ttoss/ui": "^3.1.
|
|
42
|
+
"@ttoss/ui": "^3.1.2"
|
|
43
43
|
},
|
|
44
44
|
"keywords": [
|
|
45
45
|
"React",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseStyles, FlexProps } from '@ttoss/ui';
|
|
2
|
-
import ReactMarkdown, {
|
|
2
|
+
import ReactMarkdown, { ReactMarkdownOptions } from 'react-markdown';
|
|
3
3
|
|
|
4
|
-
export type MarkdownProps =
|
|
4
|
+
export type MarkdownProps = ReactMarkdownOptions & {
|
|
5
5
|
children: string;
|
|
6
6
|
sx?: FlexProps['sx'];
|
|
7
7
|
};
|