ui-czn 1.0.47 → 1.0.49
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/index.d.ts +3 -2
- package/dist/ui-czn.es.js +4 -4
- package/dist/ui-czn.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -62,7 +62,8 @@ export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
62
62
|
export declare const CardPartner: React_2.ForwardRefExoticComponent<CardPartnerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
63
63
|
|
|
64
64
|
export declare interface CardPartnerProps extends VariantProps<typeof cardPartnerVariants> {
|
|
65
|
-
|
|
65
|
+
imgD: string;
|
|
66
|
+
imgM?: string;
|
|
66
67
|
content?: ReactNode;
|
|
67
68
|
alt?: string;
|
|
68
69
|
className?: string;
|
|
@@ -125,7 +126,7 @@ export declare const CardWithImg: React_2.ForwardRefExoticComponent<CardWithImgP
|
|
|
125
126
|
|
|
126
127
|
export declare interface CardWithImgProps extends VariantProps<typeof cardWithImgVariants> {
|
|
127
128
|
imgD: string;
|
|
128
|
-
imgM
|
|
129
|
+
imgM?: string;
|
|
129
130
|
content?: ReactNode;
|
|
130
131
|
alt?: string;
|
|
131
132
|
className?: string;
|
package/dist/ui-czn.es.js
CHANGED
|
@@ -6012,7 +6012,7 @@ ba.displayName = "CardFooter";
|
|
|
6012
6012
|
const Av = gt("flex", {
|
|
6013
6013
|
variants: {
|
|
6014
6014
|
direction: {
|
|
6015
|
-
row: "flex-col
|
|
6015
|
+
row: "flex-col lg:flex-row gap-4",
|
|
6016
6016
|
column: "flex-col gap-2 items-center"
|
|
6017
6017
|
}
|
|
6018
6018
|
},
|
|
@@ -6020,16 +6020,16 @@ const Av = gt("flex", {
|
|
|
6020
6020
|
direction: "column"
|
|
6021
6021
|
}
|
|
6022
6022
|
}), lo = f.forwardRef(
|
|
6023
|
-
({ imgD: e, imgM: t, alt: r = "Изображение", content: n, className: s, contentClassName: o, imgClassName: i, direction: A }, a) => /* @__PURE__ */ v.jsx(br, { ref: a, className: le("flex
|
|
6023
|
+
({ imgD: e, imgM: t, alt: r = "Изображение", content: n, className: s, contentClassName: o, imgClassName: i, direction: A }, a) => /* @__PURE__ */ v.jsx(br, { ref: a, className: le("flex", s), children: /* @__PURE__ */ v.jsxs(yr, { className: le("p-0 w-full", Av({ direction: A }), o), children: [
|
|
6024
6024
|
/* @__PURE__ */ v.jsx(
|
|
6025
6025
|
"img",
|
|
6026
6026
|
{
|
|
6027
|
-
className: le("hidden lg:flex w-fit h-fit object-cover rounded-xl
|
|
6027
|
+
className: le(`${t ? "hidden lg:flex" : "flex"} w-fit h-fit object-cover rounded-xl`, i),
|
|
6028
6028
|
src: e,
|
|
6029
6029
|
alt: r
|
|
6030
6030
|
}
|
|
6031
6031
|
),
|
|
6032
|
-
/* @__PURE__ */ v.jsx(
|
|
6032
|
+
t && /* @__PURE__ */ v.jsx(
|
|
6033
6033
|
"img",
|
|
6034
6034
|
{
|
|
6035
6035
|
className: le("flex lg:hidden w-fit h-fit object-cover rounded-xl", i),
|