@connectif/ui-components 3.0.2 → 3.0.3
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/CHANGELOG.md
CHANGED
|
@@ -41,6 +41,18 @@ export type MinimizableWindowProps = React.PropsWithChildren<{
|
|
|
41
41
|
* To change icon sizes. Default S
|
|
42
42
|
*/
|
|
43
43
|
iconSizes?: IconButtonProps['size'];
|
|
44
|
+
/**
|
|
45
|
+
* The icon ID for the minimize button.
|
|
46
|
+
*/
|
|
47
|
+
minimizeIconId?: IconButtonProps['iconId'];
|
|
48
|
+
/**
|
|
49
|
+
* The icon ID for the close button.
|
|
50
|
+
*/
|
|
51
|
+
closeIconId?: IconButtonProps['iconId'];
|
|
52
|
+
/**
|
|
53
|
+
* The icon ID for the back button.
|
|
54
|
+
*/
|
|
55
|
+
backIconId?: IconButtonProps['iconId'];
|
|
44
56
|
/**
|
|
45
57
|
* Callback fired when the component requests to be minimized.
|
|
46
58
|
*/
|
|
@@ -95,6 +107,18 @@ declare const MinimizableWindow: React.ForwardRefExoticComponent<{
|
|
|
95
107
|
* To change icon sizes. Default S
|
|
96
108
|
*/
|
|
97
109
|
iconSizes?: IconButtonProps["size"];
|
|
110
|
+
/**
|
|
111
|
+
* The icon ID for the minimize button.
|
|
112
|
+
*/
|
|
113
|
+
minimizeIconId?: IconButtonProps["iconId"];
|
|
114
|
+
/**
|
|
115
|
+
* The icon ID for the close button.
|
|
116
|
+
*/
|
|
117
|
+
closeIconId?: IconButtonProps["iconId"];
|
|
118
|
+
/**
|
|
119
|
+
* The icon ID for the back button.
|
|
120
|
+
*/
|
|
121
|
+
backIconId?: IconButtonProps["iconId"];
|
|
98
122
|
/**
|
|
99
123
|
* Callback fired when the component requests to be minimized.
|
|
100
124
|
*/
|
package/dist/index.js
CHANGED
|
@@ -26861,6 +26861,9 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
26861
26861
|
targetElement,
|
|
26862
26862
|
contentHeight,
|
|
26863
26863
|
iconSizes: iconSizes4 = "S",
|
|
26864
|
+
minimizeIconId = "minus",
|
|
26865
|
+
closeIconId = "close",
|
|
26866
|
+
backIconId = "arrow-left",
|
|
26864
26867
|
onMinimize,
|
|
26865
26868
|
onClose,
|
|
26866
26869
|
onBack
|
|
@@ -27013,7 +27016,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
27013
27016
|
IconButton_default,
|
|
27014
27017
|
{
|
|
27015
27018
|
size: iconSizes4,
|
|
27016
|
-
iconId:
|
|
27019
|
+
iconId: backIconId,
|
|
27017
27020
|
onClick: onBack,
|
|
27018
27021
|
sx: iconButtonsStyles
|
|
27019
27022
|
}
|
|
@@ -27050,7 +27053,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
27050
27053
|
IconButton_default,
|
|
27051
27054
|
{
|
|
27052
27055
|
size: iconSizes4,
|
|
27053
|
-
iconId:
|
|
27056
|
+
iconId: minimizeIconId,
|
|
27054
27057
|
onClick: () => {
|
|
27055
27058
|
applyMinimizeTransition();
|
|
27056
27059
|
setTimeout(() => {
|
|
@@ -27072,7 +27075,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
27072
27075
|
IconButton_default,
|
|
27073
27076
|
{
|
|
27074
27077
|
size: iconSizes4,
|
|
27075
|
-
iconId:
|
|
27078
|
+
iconId: closeIconId,
|
|
27076
27079
|
onClick: onCloseModal,
|
|
27077
27080
|
sx: iconButtonsStyles
|
|
27078
27081
|
}
|