rbro-tat-uds 1.5.27 → 1.5.28
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 +1 -1
- package/dist/components/ImageCard/ImageCard.d.ts +8 -0
- package/dist/index.cjs.js +108 -83
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +723 -662
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
@@ -5,7 +5,7 @@ interface AlertProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
variant?: "default" | "light";
|
6
6
|
icon?: IconsListProp;
|
7
7
|
size?: "small" | "medium" | "large";
|
8
|
-
text?: string;
|
8
|
+
text?: string | React.ReactNode;
|
9
9
|
showButton?: boolean;
|
10
10
|
buttonText?: string;
|
11
11
|
buttonIcon?: IconsListProp;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
2
2
|
import { colors } from "../..";
|
3
|
+
import { IconsListProp } from "../Icon/Icon.types";
|
3
4
|
export interface ImageCardProps extends HTMLAttributes<HTMLDivElement> {
|
4
5
|
gap?: 0 | 2 | 4 | 8;
|
5
6
|
title?: string;
|
@@ -14,6 +15,13 @@ export interface ImageCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
14
15
|
textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
15
16
|
width?: string;
|
16
17
|
imgHeight?: string;
|
18
|
+
showButton?: boolean;
|
19
|
+
buttonLabel?: string;
|
20
|
+
buttonOnClick?: () => void;
|
21
|
+
contained?: boolean;
|
22
|
+
rigthIcon?: IconsListProp;
|
23
|
+
rightIconColor?: keyof typeof colors;
|
24
|
+
rightIconOnClick?: () => void;
|
17
25
|
}
|
18
26
|
declare const ImageCard: React.FC<ImageCardProps>;
|
19
27
|
export default ImageCard;
|