@connectif/ui-components 2.0.12 → 2.0.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/components/icon/icons.d.ts +1 -0
- package/dist/components/markdown/KatexRenderer.d.ts +6 -0
- package/dist/components/markdown/MarkdownRenderer.d.ts +1 -0
- package/dist/components/window/MinimizableWindow.d.ts +17 -0
- package/dist/index.js +183 -123
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { IconButtonProps } from '../button';
|
|
2
3
|
import { StackProps } from '@mui/material';
|
|
3
4
|
declare const sizes: {
|
|
4
5
|
M: number;
|
|
@@ -21,6 +22,10 @@ export type MinimizableWindowProps = React.PropsWithChildren<{
|
|
|
21
22
|
* If `true`, the `onBack` prop must be provided.
|
|
22
23
|
*/
|
|
23
24
|
showBackButton?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Replace the back button with another component
|
|
27
|
+
*/
|
|
28
|
+
backButton?: React.ReactNode;
|
|
24
29
|
/**
|
|
25
30
|
* Coords to the element to minimize window
|
|
26
31
|
*/
|
|
@@ -32,6 +37,10 @@ export type MinimizableWindowProps = React.PropsWithChildren<{
|
|
|
32
37
|
* The height of the content of the window.
|
|
33
38
|
*/
|
|
34
39
|
contentHeight?: number;
|
|
40
|
+
/**
|
|
41
|
+
* To change icon sizes. Default S
|
|
42
|
+
*/
|
|
43
|
+
iconSizes?: IconButtonProps['size'];
|
|
35
44
|
/**
|
|
36
45
|
* Callback fired when the component requests to be minimized.
|
|
37
46
|
*/
|
|
@@ -67,6 +76,10 @@ declare const MinimizableWindow: React.ForwardRefExoticComponent<{
|
|
|
67
76
|
* If `true`, the `onBack` prop must be provided.
|
|
68
77
|
*/
|
|
69
78
|
showBackButton?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Replace the back button with another component
|
|
81
|
+
*/
|
|
82
|
+
backButton?: React.ReactNode;
|
|
70
83
|
/**
|
|
71
84
|
* Coords to the element to minimize window
|
|
72
85
|
*/
|
|
@@ -78,6 +91,10 @@ declare const MinimizableWindow: React.ForwardRefExoticComponent<{
|
|
|
78
91
|
* The height of the content of the window.
|
|
79
92
|
*/
|
|
80
93
|
contentHeight?: number;
|
|
94
|
+
/**
|
|
95
|
+
* To change icon sizes. Default S
|
|
96
|
+
*/
|
|
97
|
+
iconSizes?: IconButtonProps["size"];
|
|
81
98
|
/**
|
|
82
99
|
* Callback fired when the component requests to be minimized.
|
|
83
100
|
*/
|