@hybridcore/ui 1.0.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,8 @@
1
+ import { j as r, L as t, i as s, l as d, k as n } from "../../styled-r6FrxDIi.js";
2
+ export {
3
+ r as LandscapeCardExtraActions,
4
+ t as LandscapeCardRoot,
5
+ s as LandscapeInfoBox,
6
+ d as PortraitCardExtraActions,
7
+ n as PortraitCardRoot
8
+ };
package/dist/main.d.ts ADDED
@@ -0,0 +1,31 @@
1
+ import { default as default_2 } from 'react';
2
+
3
+ declare interface AvatarType {
4
+ title: string;
5
+ subTitle: string;
6
+ image: string;
7
+ }
8
+
9
+ export declare const Card: React.FC<CardProps>;
10
+
11
+ declare interface CardProps {
12
+ title: string;
13
+ text: string;
14
+ image: string;
15
+ avatar: AvatarType;
16
+ actions: default_2.ReactNode;
17
+ orientation?: OrientationType_2;
18
+ extraActions?: default_2.ReactNode;
19
+ /**
20
+ * Only available on landscape
21
+ */
22
+ extraInfo?: string;
23
+ /**
24
+ * Only available on landscape
25
+ */
26
+ stats?: default_2.ReactNode;
27
+ }
28
+
29
+ declare type OrientationType_2 = "portrait" | "landscape";
30
+
31
+ export { }
package/dist/main.js ADDED
@@ -0,0 +1,4 @@
1
+ import { Card as a } from "./components/card/index.js";
2
+ export {
3
+ a as Card
4
+ };