@jackcrane/ui 0.1.2 → 0.1.3
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/Card/card.d.ts +3 -1
- package/dist/jcui.cjs.js +6 -2
- package/dist/jcui.es.js +6 -2
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export default function Card({ children, variant, chamfer, size, footerHeight, ...props }: {
|
|
1
|
+
export default function Card({ children, variant, chamfer, size, footerHeight, footer, title, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
children: any;
|
|
4
4
|
variant: any;
|
|
5
5
|
chamfer?: boolean;
|
|
6
6
|
size: any;
|
|
7
7
|
footerHeight?: number;
|
|
8
|
+
footer: any;
|
|
9
|
+
title: any;
|
|
8
10
|
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/jcui.cjs.js
CHANGED
|
@@ -2066,6 +2066,9 @@ function Card({
|
|
|
2066
2066
|
chamfer: chamfer2 = true,
|
|
2067
2067
|
size: size2,
|
|
2068
2068
|
footerHeight = 0,
|
|
2069
|
+
footer: footer2,
|
|
2070
|
+
// I hardly know her
|
|
2071
|
+
title: title2,
|
|
2069
2072
|
...props
|
|
2070
2073
|
}) {
|
|
2071
2074
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -2080,13 +2083,14 @@ function Card({
|
|
|
2080
2083
|
),
|
|
2081
2084
|
...props,
|
|
2082
2085
|
children: [
|
|
2083
|
-
|
|
2086
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$8.title, hatchStyles.hatch), children: title2 }),
|
|
2084
2087
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$8.body, children: children2 }),
|
|
2085
2088
|
footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2086
2089
|
"div",
|
|
2087
2090
|
{
|
|
2088
2091
|
className: classNames(hatchStyles.hatch, styles$8.footer),
|
|
2089
|
-
style: { flexBasis: footerHeight }
|
|
2092
|
+
style: { flexBasis: footerHeight },
|
|
2093
|
+
children: footer2
|
|
2090
2094
|
}
|
|
2091
2095
|
)
|
|
2092
2096
|
]
|
package/dist/jcui.es.js
CHANGED
|
@@ -2048,6 +2048,9 @@ function Card({
|
|
|
2048
2048
|
chamfer: chamfer2 = true,
|
|
2049
2049
|
size: size2,
|
|
2050
2050
|
footerHeight = 0,
|
|
2051
|
+
footer: footer2,
|
|
2052
|
+
// I hardly know her
|
|
2053
|
+
title: title2,
|
|
2051
2054
|
...props
|
|
2052
2055
|
}) {
|
|
2053
2056
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -2062,13 +2065,14 @@ function Card({
|
|
|
2062
2065
|
),
|
|
2063
2066
|
...props,
|
|
2064
2067
|
children: [
|
|
2065
|
-
|
|
2068
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$8.title, hatchStyles.hatch), children: title2 }),
|
|
2066
2069
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$8.body, children: children2 }),
|
|
2067
2070
|
footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2068
2071
|
"div",
|
|
2069
2072
|
{
|
|
2070
2073
|
className: classNames(hatchStyles.hatch, styles$8.footer),
|
|
2071
|
-
style: { flexBasis: footerHeight }
|
|
2074
|
+
style: { flexBasis: footerHeight },
|
|
2075
|
+
children: footer2
|
|
2072
2076
|
}
|
|
2073
2077
|
)
|
|
2074
2078
|
]
|