@connectif/ui-components 3.0.2 → 3.0.4
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
|
@@ -59,3 +59,15 @@
|
|
|
59
59
|
### Fixed
|
|
60
60
|
|
|
61
61
|
- Fixed bug with timezone in `DateIntervalPicker`
|
|
62
|
+
|
|
63
|
+
## [3.0.3] - 2025-12-22
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
|
|
67
|
+
- Added "minimizeIconId", "closeIconId" and "backIconId" props to MinimizableWindow component.
|
|
68
|
+
|
|
69
|
+
## [3.0.4] - 2025-12-23
|
|
70
|
+
|
|
71
|
+
### Added
|
|
72
|
+
|
|
73
|
+
- Added "rotate-3d-variant" icon.
|
|
@@ -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
|
@@ -921,7 +921,7 @@ import {
|
|
|
921
921
|
// src/components/icon/Icon.tsx
|
|
922
922
|
import * as React from "react";
|
|
923
923
|
|
|
924
|
-
// src/components/icon/icons.
|
|
924
|
+
// src/components/icon/icons.ts
|
|
925
925
|
import {
|
|
926
926
|
mdiAccessPoint,
|
|
927
927
|
mdiAccessPointNetwork,
|
|
@@ -2231,6 +2231,7 @@ import {
|
|
|
2231
2231
|
mdiRocket,
|
|
2232
2232
|
mdiRobotVacuum,
|
|
2233
2233
|
mdiRotate3d,
|
|
2234
|
+
mdiRotate3dVariant,
|
|
2234
2235
|
mdiRotateLeft,
|
|
2235
2236
|
mdiRotateLeftVariant,
|
|
2236
2237
|
mdiRotateRight,
|
|
@@ -4141,6 +4142,7 @@ var icons = {
|
|
|
4141
4142
|
rocket: mdiRocket,
|
|
4142
4143
|
roomba: mdiRobotVacuum,
|
|
4143
4144
|
"rotate-3d": mdiRotate3d,
|
|
4145
|
+
"rotate-3d-variant": mdiRotate3dVariant,
|
|
4144
4146
|
"rotate-left": mdiRotateLeft,
|
|
4145
4147
|
"rotate-left-variant": mdiRotateLeftVariant,
|
|
4146
4148
|
"rotate-right": mdiRotateRight,
|
|
@@ -26861,6 +26863,9 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
26861
26863
|
targetElement,
|
|
26862
26864
|
contentHeight,
|
|
26863
26865
|
iconSizes: iconSizes4 = "S",
|
|
26866
|
+
minimizeIconId = "minus",
|
|
26867
|
+
closeIconId = "close",
|
|
26868
|
+
backIconId = "arrow-left",
|
|
26864
26869
|
onMinimize,
|
|
26865
26870
|
onClose,
|
|
26866
26871
|
onBack
|
|
@@ -27013,7 +27018,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
27013
27018
|
IconButton_default,
|
|
27014
27019
|
{
|
|
27015
27020
|
size: iconSizes4,
|
|
27016
|
-
iconId:
|
|
27021
|
+
iconId: backIconId,
|
|
27017
27022
|
onClick: onBack,
|
|
27018
27023
|
sx: iconButtonsStyles
|
|
27019
27024
|
}
|
|
@@ -27050,7 +27055,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
27050
27055
|
IconButton_default,
|
|
27051
27056
|
{
|
|
27052
27057
|
size: iconSizes4,
|
|
27053
|
-
iconId:
|
|
27058
|
+
iconId: minimizeIconId,
|
|
27054
27059
|
onClick: () => {
|
|
27055
27060
|
applyMinimizeTransition();
|
|
27056
27061
|
setTimeout(() => {
|
|
@@ -27072,7 +27077,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
|
|
|
27072
27077
|
IconButton_default,
|
|
27073
27078
|
{
|
|
27074
27079
|
size: iconSizes4,
|
|
27075
|
-
iconId:
|
|
27080
|
+
iconId: closeIconId,
|
|
27076
27081
|
onClick: onCloseModal,
|
|
27077
27082
|
sx: iconButtonsStyles
|
|
27078
27083
|
}
|