@producteca/producteca-ui-kit 1.9.1 → 1.10.0

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.
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface AlertProps {
4
+ message: string;
5
+ variant?: 'success' | 'error' | 'warning' | 'info';
6
+ className?: string;
7
+ icon?: React.ReactNode;
8
+ fullWidth?: boolean;
9
+ link?: {
10
+ text: string;
11
+ href?: string;
12
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
13
+ };
14
+ }
15
+ export declare const Alert: ({ message, variant, className, icon, fullWidth, link, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element;
16
+ export type { AlertProps };
17
+ export default Alert;
@@ -3,3 +3,4 @@ export * from './icons';
3
3
  export * from './inputs';
4
4
  export * from './patterns';
5
5
  export * from './loaders';
6
+ export * from './alert/alert';
@@ -21,6 +21,6 @@ interface SaveBarProps {
21
21
  previousProps?: PreviousButtonProps;
22
22
  withoutBorder?: boolean;
23
23
  }
24
- export declare const SaveBar: React.FC<SaveBarProps>;
24
+ export declare const ActionBar: React.FC<SaveBarProps>;
25
25
  export type { SaveBarProps, SaveButtonProps, CancelButtonProps, PreviousButtonProps };
26
- export default SaveBar;
26
+ export default ActionBar;
@@ -1,2 +1,2 @@
1
1
  export * from './emptyState/emptyState';
2
- export * from './saveBar/saveBar';
2
+ export * from './actionBar/actionBar';
@@ -44,7 +44,7 @@ declare const _default: {
44
44
  noOptions: string;
45
45
  withIcon: string;
46
46
  };
47
- saveBar: {
47
+ actionBar: {
48
48
  example: string;
49
49
  saveButton: string;
50
50
  cancelButton: string;
@@ -77,6 +77,12 @@ declare const _default: {
77
77
  noResults: string;
78
78
  writeToSearch: string;
79
79
  };
80
+ alert: {
81
+ message: string;
82
+ infoMessage: string;
83
+ dontShowAgain: string;
84
+ customAlert: string;
85
+ };
80
86
  };
81
87
  error: {
82
88
  required: string;