@appquality/unguess-design-system 4.0.10 → 4.0.12

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,30 @@
1
+ # v4.0.12 (Fri Nov 22 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Add shortcut tag [#448](https://github.com/AppQuality/unguess-design-system/pull/448) ([@d-beezee](https://github.com/d-beezee))
6
+ - feat: add ShortcutTag component with customizable props and stories [#447](https://github.com/AppQuality/unguess-design-system/pull/447) ([@d-beezee](https://github.com/d-beezee))
7
+
8
+ #### Authors: 1
9
+
10
+ - [@d-beezee](https://github.com/d-beezee)
11
+
12
+ ---
13
+
14
+ # v4.0.11 (Thu Nov 21 2024)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - 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))
19
+ - feat: enhance GlobalAlert component [#445](https://github.com/AppQuality/unguess-design-system/pull/445) ([@iacopolea](https://github.com/iacopolea))
20
+
21
+ #### Authors: 2
22
+
23
+ - [@d-beezee](https://github.com/d-beezee)
24
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
25
+
26
+ ---
27
+
1
28
  # v4.0.10 (Tue Nov 19 2024)
2
29
 
3
30
  #### 🐛 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
 
@@ -7815,6 +7816,18 @@ declare interface ServiceCardsProps extends SpecialCardProps {
7815
7816
  hoverButtons?: Array<React.ReactNode>;
7816
7817
  }
7817
7818
 
7819
+ declare type ShortcutContent = {
7820
+ text: default_2.ReactNode;
7821
+ ctrl?: never;
7822
+ } | {
7823
+ ctrl: true;
7824
+ text?: never;
7825
+ };
7826
+
7827
+ export declare const ShortcutTag: (props: ShortcutTagProps) => JSX_2.Element;
7828
+
7829
+ export declare type ShortcutTagProps = ShortcutContent & default_2.HTMLAttributes<HTMLDivElement>;
7830
+
7818
7831
  declare type SIZE = "small" | "medium" | "large";
7819
7832
 
7820
7833
  /**