ui-czn 1.0.47 → 1.0.48
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 +1 -1
- 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
|
@@ -125,7 +125,7 @@ export declare const CardWithImg: React_2.ForwardRefExoticComponent<CardWithImgP
|
|
|
125
125
|
|
|
126
126
|
export declare interface CardWithImgProps extends VariantProps<typeof cardWithImgVariants> {
|
|
127
127
|
imgD: string;
|
|
128
|
-
imgM
|
|
128
|
+
imgM?: string;
|
|
129
129
|
content?: ReactNode;
|
|
130
130
|
alt?: string;
|
|
131
131
|
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),
|