@producteca/producteca-ui-kit 1.77.9 → 1.78.1
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/dist/components/alert/alert.d.ts +2 -14
- package/dist/components/alert/alert.types.d.ts +15 -0
- package/dist/components/patterns/pickChannelModal/pickChannelModal.d.ts +1 -1
- package/dist/components/patterns/pickChannelModal/pickChannelModal.types.d.ts +1 -0
- package/dist/producteca-ui-kit.es.js +295 -286
- package/dist/producteca-ui-kit.umd.js +31 -31
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AlertProps } from './alert.types';
|
|
2
2
|
|
|
3
|
-
|
|
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;
|
|
3
|
+
export declare const Alert: ({ message, variant, className, icon, fullWidth, link, onClose, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
4
|
export type { AlertProps };
|
|
17
5
|
export default Alert;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export 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
|
+
onClose?: () => void;
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PickChannelModalChannel, PickChannelModalProps } from './pickChannelModal.types';
|
|
2
2
|
|
|
3
3
|
export declare const productecaStrategy: PickChannelModalChannel;
|
|
4
|
-
export declare const PickChannelModal: ({ open, onClose, channels, generalEditionDescription, channelEditionDescription, showGeneralEdition, onSelectChannel, titleProps,
|
|
4
|
+
export declare const PickChannelModal: ({ open, onClose, channels, fitContent, generalEditionTitle, channelEditionTitle, generalEditionDescription, channelEditionDescription, showGeneralEdition, onSelectChannel, titleProps, }: PickChannelModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default PickChannelModal;
|