@sikka/hawa 0.0.242 → 0.0.243
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/styles.css +12 -12
- package/es/elements/HawaIconCount.d.ts +7 -0
- package/es/elements/HawaItemCard.d.ts +9 -0
- package/es/elements/index.d.ts +1 -0
- package/es/index.es.js +2 -2
- package/lib/elements/HawaIconCount.d.ts +7 -0
- package/lib/elements/HawaItemCard.d.ts +9 -0
- package/lib/elements/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/elements/HawaIconCount.tsx +17 -0
- package/src/elements/HawaItemCard.tsx +54 -12
- package/src/elements/index.ts +1 -0
- package/src/styles.css +12 -12
|
@@ -7,7 +7,16 @@ interface ItemCardTypes {
|
|
|
7
7
|
lang?: string;
|
|
8
8
|
cardImage?: string;
|
|
9
9
|
onCardClick?: any;
|
|
10
|
+
counts?: any;
|
|
10
11
|
orientation?: "horizontal" | "vertical";
|
|
12
|
+
/** Enabling this blurs the image on hover and shows an action button */
|
|
13
|
+
clickableImage?: boolean;
|
|
14
|
+
/** The function of the action button on the image of the card */
|
|
15
|
+
clickableImageAction?: () => void;
|
|
16
|
+
/** The text of the action button on the image of the card */
|
|
17
|
+
clickableImageActionText: string;
|
|
18
|
+
/** The icon of the action button on the image of the card */
|
|
19
|
+
clickableImageActionIcon?: any;
|
|
11
20
|
}
|
|
12
21
|
type THeaderActions = {
|
|
13
22
|
icon?: JSX.Element;
|
package/lib/elements/index.d.ts
CHANGED