@appquality/unguess-design-system 4.0.8 → 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 +14 -0
- package/build/index.d.ts +14 -0
- package/build/index.js +16668 -16270
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
# v4.0.8 (Mon Nov 11 2024)
|
|
2
16
|
|
|
3
17
|
#### 🐛 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
|
/**
|