@q2devel/q2-storybook 1.0.148 → 1.0.149

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.
@@ -15,7 +15,7 @@ export const EventCard = ({ imageUrl = "http://localhost:3845/assets/f60ef9ffaad
15
15
  ]);
16
16
  return (_jsx("div", { className: containerClasses, onClick: onClick, "data-name": "Event Card", children: _jsxs("div", { className: "flex flex-col relative shrink-0 w-77.5", children: [_jsx(Image, { src: imageUrl, alt: imageAlt, className: `object-cover ${category
17
17
  ? "max-h-43 md:h-58.5 md:max-h-58.5"
18
- : "max-h-46.75 md:h-77.5 md:max-h-77.5"}`, width: 310, height: category ? 234 : 310 }), category && _jsx(CategoryBadge, { category: category, icon: icon }), _jsxs("div", { className: `bg-white box-border content-stretch flex flex-col items-start px-5.5 py-4.5 w-77.5 ${category
18
+ : "max-h-46.75 md:h-77.5 md:max-h-77.5"}`, width: 310, height: category ? 234 : 310 }), category && _jsx(CategoryBadge, { category: category, icon: icon }), _jsxs("div", { className: `bg-white box-border content-stretch flex flex-col items-start w-77.5 ${category
19
19
  ? "px-5.5 py-4.5 gap-4.5"
20
20
  : "px-0 py-2.5 gap-0 md:px-5.5 md:py-4.5 md:gap-4.5"}`, children: [_jsx("div", { className: `flex flex-col font-semibold justify-center min-w-full max-w-full not-italic text-primary-black text-6 md:h-15 ${category ? "" : "h-6.75"}`, children: _jsx("p", { className: "text-lg md:text-2xl overflow-hidden line-clamp-1 md:line-clamp-2 leading-tight", children: title }) }), _jsx("div", { className: `flex flex-col font-normal justify-center leading-0 min-w-full max-w-full not-italic relative shrink-0 text-primary-grey text-4 ${category ? "" : "mt-1.25"}`, children: _jsx("p", { className: "text-sm md:text-base leading-7 truncate", children: description }) }), _jsxs("div", { className: "content-stretch flex flex-col gap-2.5 items-start relative shrink-0", children: [date && (_jsxs("div", { className: "content-stretch flex gap-4 items-center relative shrink-0 w-full", children: [_jsx(CalendarIcon, {}), _jsx("div", { className: "flex flex-col font-semibold justify-center leading-0 not-italic relative shrink-0 text-primary-black text-1.75", children: _jsx("p", { className: "text-sm leading-6.5 whitespace-pre truncate", children: date }) })] })), time && (_jsxs("div", { className: "content-stretch flex gap-4 items-center relative shrink-0 w-full", children: [_jsx(ClockIcon, {}), _jsx("div", { className: "flex flex-col font-semibold justify-center leading-0 not-italic relative shrink-0 text-primary-black text-1.75", children: _jsx("p", { className: "text-sm leading-6.5 whitespace-pre truncate", children: time }) })] })), location && (_jsxs("div", { className: "content-stretch flex gap-4 items-center relative shrink-0 w-full", children: [_jsx(LocationIcon, {}), _jsx("div", { className: "flex flex-col font-semibold justify-center leading-0 not-italic relative shrink-0 text-primary-black text-1.75", children: _jsx("p", { className: "text-sm leading-6.5 whitespace-pre truncate", children: location }) })] }))] })] }), buttonText && (_jsx(Button, { onClick: () => onButtonClick?.(), rounded: "none", className: buttonClassName, children: buttonText }))] }) }));
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q2devel/q2-storybook",
3
- "version": "1.0.148",
3
+ "version": "1.0.149",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",