@appquality/unguess-design-system 4.0.10 → 4.0.11

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,3 +1,17 @@
1
+ # v4.0.11 (Thu Nov 21 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - new version for global-alert [#446](https://github.com/AppQuality/unguess-design-system/pull/446) ([@iacopolea](https://github.com/iacopolea) [@d-beezee](https://github.com/d-beezee))
6
+ - feat: enhance GlobalAlert component [#445](https://github.com/AppQuality/unguess-design-system/pull/445) ([@iacopolea](https://github.com/iacopolea))
7
+
8
+ #### Authors: 2
9
+
10
+ - [@d-beezee](https://github.com/d-beezee)
11
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
12
+
13
+ ---
14
+
1
15
  # v4.0.10 (Tue Nov 19 2024)
2
16
 
3
17
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -2664,8 +2664,9 @@ export declare interface GlobalAlertProps extends Omit<IGlobalAlertProps, 'type'
2664
2664
  dismissable?: boolean;
2665
2665
  onClose?: () => void;
2666
2666
  cta?: {
2667
- label: string;
2667
+ label: ReactNode;
2668
2668
  onClick?: () => void;
2669
+ buttonProps?: ButtonArgs;
2669
2670
  };
2670
2671
  }
2671
2672
 
package/build/index.js CHANGED
@@ -73697,7 +73697,7 @@ const WQe = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
73697
73697
  i && /* @__PURE__ */ k.jsx(zg.Title, { children: i }),
73698
73698
  o
73699
73699
  ] }),
73700
- r && /* @__PURE__ */ k.jsx(KQe, { onClick: r.onClick, className: "global-alert-cta", isAccent: e === "accent", children: r.label }),
73700
+ r && /* @__PURE__ */ k.jsx(KQe, { onClick: r.onClick, className: "global-alert-cta", isAccent: e === "accent", ...r.buttonProps, children: r.label }),
73701
73701
  n && /* @__PURE__ */ k.jsx(zg.Close, { "aria-label": "Close Global Alert", onClick: t })
73702
73702
  ] }));
73703
73703
  function g2() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "4.0.10",
3
+ "version": "4.0.11",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",