@connectif/ui-components 6.0.0 → 6.0.1

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
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.0.1] - 2026-03-24
4
+
5
+ ### Added
6
+
7
+ - Added optional `rightActions` prop to the `MinimizableWindow` component.
8
+
3
9
  ## [6.0.0] - 2026-03-20
4
10
 
5
11
  ### Added
@@ -53,6 +53,10 @@ export type MinimizableWindowProps = React.PropsWithChildren<{
53
53
  * The icon ID for the back button.
54
54
  */
55
55
  backIconId?: IconButtonProps['iconId'];
56
+ /**
57
+ * Custom actions to display on the right side of the header, next to the minimize and close buttons.
58
+ */
59
+ rightActions?: React.ReactNode;
56
60
  /**
57
61
  * Callback fired when the component requests to be minimized.
58
62
  */
@@ -119,6 +123,10 @@ declare const MinimizableWindow: React.ForwardRefExoticComponent<{
119
123
  * The icon ID for the back button.
120
124
  */
121
125
  backIconId?: IconButtonProps["iconId"];
126
+ /**
127
+ * Custom actions to display on the right side of the header, next to the minimize and close buttons.
128
+ */
129
+ rightActions?: React.ReactNode;
122
130
  /**
123
131
  * Callback fired when the component requests to be minimized.
124
132
  */
package/dist/index.js CHANGED
@@ -28638,6 +28638,7 @@ var MinimizableWindow = React98.forwardRef(function MinimizableWindow2({
28638
28638
  minimizeIconId = "minus",
28639
28639
  closeIconId = "close",
28640
28640
  backIconId = "arrow-left",
28641
+ rightActions,
28641
28642
  onMinimize,
28642
28643
  onClose,
28643
28644
  onBack
@@ -28817,6 +28818,7 @@ var MinimizableWindow = React98.forwardRef(function MinimizableWindow2({
28817
28818
  alignItems: "center",
28818
28819
  onMouseDown: (ev) => ev.stopPropagation(),
28819
28820
  children: [
28821
+ rightActions,
28820
28822
  /* @__PURE__ */ jsx185(Box_default2, { children: /* @__PURE__ */ jsx185(
28821
28823
  Tooltip_default,
28822
28824
  {