@appquality/unguess-design-system 4.0.7 → 4.0.9

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,31 @@
1
+ # v4.0.9 (Wed Nov 13 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - New Version - Global Alert Component [#442](https://github.com/AppQuality/unguess-design-system/pull/442) ([@iacopolea](https://github.com/iacopolea))
6
+ - feat: update GlobalAlert component to support cta as an object with label and onClick handler [#441](https://github.com/AppQuality/unguess-design-system/pull/441) ([@iacopolea](https://github.com/iacopolea))
7
+ - feat: global alert [#439](https://github.com/AppQuality/unguess-design-system/pull/439) ([@iacopolea](https://github.com/iacopolea))
8
+
9
+ #### Authors: 1
10
+
11
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
12
+
13
+ ---
14
+
15
+ # v4.0.8 (Mon Nov 11 2024)
16
+
17
+ #### 🐛 Bug Fix
18
+
19
+ - Add onShortcut event to player component [#440](https://github.com/AppQuality/unguess-design-system/pull/440) ([@d-beezee](https://github.com/d-beezee) [@cannarocks](https://github.com/cannarocks))
20
+ - feat: add onShortcut prop to PlayerArgs to intercept events [#438](https://github.com/AppQuality/unguess-design-system/pull/438) ([@d-beezee](https://github.com/d-beezee))
21
+
22
+ #### Authors: 2
23
+
24
+ - [@d-beezee](https://github.com/d-beezee)
25
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
26
+
27
+ ---
28
+
1
29
  # v4.0.7 (Thu Nov 07 2024)
2
30
 
3
31
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -63,6 +63,7 @@ import { IDrawerModalHeaderProps } from '@zendeskgarden/react-modals/dist/typing
63
63
  import { IDrawerModalProps } from '@zendeskgarden/react-modals';
64
64
  import { IEllipsisProps } from '@zendeskgarden/react-typography';
65
65
  import { IFieldProps } from '@zendeskgarden/react-forms';
66
+ import { IGlobalAlertProps } from '@zendeskgarden/react-notifications';
66
67
  import { IGridProps } from '@zendeskgarden/react-grid';
67
68
  import { IHeaderCellProps } from '@zendeskgarden/react-tables';
68
69
  import { IHeaderItemProps } from '@zendeskgarden/react-dropdowns';
@@ -2655,6 +2656,19 @@ export declare const getColor: GetColorFunction;
2655
2656
 
2656
2657
  declare type GetColorFunction = (hue: Hue, shade?: number, theme?: DefaultTheme, transparency?: number) => string | undefined;
2657
2658
 
2659
+ export declare const GlobalAlert: ForwardRefExoticComponent<GlobalAlertProps & RefAttributes<HTMLDivElement>>;
2660
+
2661
+ export declare interface GlobalAlertProps extends Omit<IGlobalAlertProps, 'type'> {
2662
+ type: IGlobalAlertProps['type'] | "accent" | "primary";
2663
+ message?: ReactNode;
2664
+ dismissable?: boolean;
2665
+ onClose?: () => void;
2666
+ cta?: {
2667
+ label: string;
2668
+ onClick?: () => void;
2669
+ };
2670
+ }
2671
+
2658
2672
  export declare const GlobalStyle: NamedExoticComponent<ExecutionProps & object>;
2659
2673
 
2660
2674
  /**
@@ -6726,6 +6740,7 @@ declare interface PlayerArgs extends HTMLAttributes<HTMLVideoElement> {
6726
6740
  handleBookmarkUpdate?: (bookmark: IBookmark) => void;
6727
6741
  i18n?: PlayerI18n;
6728
6742
  showControls?: boolean;
6743
+ onShortcut?: (type: string) => void;
6729
6744
  }
6730
6745
 
6731
6746
  declare interface PlayerI18n {