@gardenfi/garden-book 0.1.92 → 0.1.94
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/ui.es.js
CHANGED
|
@@ -13423,7 +13423,7 @@ const Drawer = {
|
|
|
13423
13423
|
/* @__PURE__ */ jsx(Drawer.Overlay, { className: "gf-fixed gf-inset-0 gf-z-50 gf-h-screen gf-w-screen gf-bg-dark-grey gf-bg-opacity-40 gf-transition-colors gf-duration-500 gf-ease-cubic-in-out" }),
|
|
13424
13424
|
/* @__PURE__ */ jsx(Drawer.Portal, { children: /* @__PURE__ */ jsxs(Drawer.Content, { className: "gf-fixed gf-bottom-0 gf-z-50 gf-h-fit gf-w-full gf-rounded-t-xl gf-bg-white/50 gf-px-4 gf-py-4 gf-outline-none gf-backdrop-blur-[20px]", children: [
|
|
13425
13425
|
/* @__PURE__ */ jsx("div", { className: "gf-mx-auto gf-mb-3 gf-h-1 gf-w-[60px] gf-rounded-full gf-bg-white/30" }),
|
|
13426
|
-
/* @__PURE__ */ jsx("div", { className: "gf-scrollbar-hide gf-flex gf-max-h-[
|
|
13426
|
+
/* @__PURE__ */ jsx("div", { className: "gf-scrollbar-hide gf-flex gf-max-h-[90vh] gf-flex-col gf-gap-5 gf-overflow-y-scroll", children: e })
|
|
13427
13427
|
] }) })
|
|
13428
13428
|
] }), ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
13429
13429
|
"svg",
|
|
@@ -17151,7 +17151,7 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
17151
17151
|
date: i,
|
|
17152
17152
|
title: n,
|
|
17153
17153
|
className: s,
|
|
17154
|
-
|
|
17154
|
+
description: a
|
|
17155
17155
|
}) => {
|
|
17156
17156
|
const [o, l] = useState(!1), [c, f] = useState(e ?? placeholderUrl);
|
|
17157
17157
|
useEffect(() => {
|
|
@@ -17160,39 +17160,81 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
17160
17160
|
const u = () => {
|
|
17161
17161
|
f(placeholderUrl);
|
|
17162
17162
|
};
|
|
17163
|
-
return /* @__PURE__ */ jsx(
|
|
17164
|
-
|
|
17165
|
-
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
|
|
17170
|
-
|
|
17171
|
-
|
|
17172
|
-
|
|
17173
|
-
|
|
17174
|
-
|
|
17175
|
-
|
|
17176
|
-
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
|
-
|
|
17180
|
-
|
|
17181
|
-
|
|
17182
|
-
|
|
17183
|
-
|
|
17184
|
-
|
|
17185
|
-
|
|
17186
|
-
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
|
|
17190
|
-
|
|
17191
|
-
|
|
17192
|
-
|
|
17193
|
-
|
|
17194
|
-
|
|
17195
|
-
|
|
17163
|
+
return /* @__PURE__ */ jsx(
|
|
17164
|
+
Opacity,
|
|
17165
|
+
{
|
|
17166
|
+
level: "semi-dark",
|
|
17167
|
+
className: "gf-rounded-2xl gf-relative gf-w-[328px] sm:gf-w-fit md:gf-w-[792px]",
|
|
17168
|
+
children: /* @__PURE__ */ jsx(
|
|
17169
|
+
"div",
|
|
17170
|
+
{
|
|
17171
|
+
className: cn(
|
|
17172
|
+
s,
|
|
17173
|
+
"gf-overflow-hidden gf-p-3 sm:gf-p-5 gf-flex gf-flex-col gf-justify-between"
|
|
17174
|
+
),
|
|
17175
|
+
children: /* @__PURE__ */ jsxs(
|
|
17176
|
+
"div",
|
|
17177
|
+
{
|
|
17178
|
+
className: cn(
|
|
17179
|
+
"gf-grid gf-grid-cols-[auto,auto] gf-grid-rows-[auto_auto] "
|
|
17180
|
+
),
|
|
17181
|
+
children: [
|
|
17182
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col sm:gf-pr-4 sm:gf-justify-between sm:gf-h-fit sm:gf-flex-row gf-gap-2 sm:gf-col-start-1 sm:gf-row-start-2 gf-w-full gf-pt-1.5 sm:gf-pt-6 gf-col-start-1 gf-row-start-1", children: [
|
|
17183
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
17184
|
+
Typography,
|
|
17185
|
+
{
|
|
17186
|
+
size: "h5",
|
|
17187
|
+
weight: "medium",
|
|
17188
|
+
className: "gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",
|
|
17189
|
+
children: t
|
|
17190
|
+
}
|
|
17191
|
+
) }),
|
|
17192
|
+
/* @__PURE__ */ jsx(
|
|
17193
|
+
Typography,
|
|
17194
|
+
{
|
|
17195
|
+
size: "h5",
|
|
17196
|
+
weight: "medium",
|
|
17197
|
+
className: "gf-px-3 gf-py-1 !gf-text-[#817A90]",
|
|
17198
|
+
children: i
|
|
17199
|
+
}
|
|
17200
|
+
)
|
|
17201
|
+
] }),
|
|
17202
|
+
/* @__PURE__ */ jsx(
|
|
17203
|
+
"div",
|
|
17204
|
+
{
|
|
17205
|
+
className: `gf-col-start-2 gf-row-start-1 gf-row-end-2 gf-justify-self-end sm:gf-row-span-2 ${o ? "" : "gf-filter gf-blur-md"}`,
|
|
17206
|
+
children: /* @__PURE__ */ jsx(
|
|
17207
|
+
buildExports.LazyLoadImage,
|
|
17208
|
+
{
|
|
17209
|
+
alt: n,
|
|
17210
|
+
effect: "blur",
|
|
17211
|
+
src: c,
|
|
17212
|
+
onLoad: () => l(!0),
|
|
17213
|
+
onError: u,
|
|
17214
|
+
className: " gf-rounded-lg gf-h-[68px] gf-w-[120px] sm:gf-w-[234px] sm:gf-h-[132px] gf-object-cover"
|
|
17215
|
+
}
|
|
17216
|
+
)
|
|
17217
|
+
}
|
|
17218
|
+
),
|
|
17219
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-2 sm:gf-pr-4 gf-pt-[2px] gf-col-start-1 gf-row-start-2 gf-col-span-2 sm:gf-col-start-1 sm:gf-row-start-1 sm:gf-col-span-1 gf-justify-items-end", children: [
|
|
17220
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-h-6 sm:gf-text-xl", children: n }) }),
|
|
17221
|
+
a && /* @__PURE__ */ jsx(
|
|
17222
|
+
Typography,
|
|
17223
|
+
{
|
|
17224
|
+
size: "h4",
|
|
17225
|
+
weight: "medium",
|
|
17226
|
+
className: " !gf-text-[#817A90] gf-line-clamp-2 gf-overflow-hidden gf-leading-6 sm:gf-leading-5 sm:gf-pr-4",
|
|
17227
|
+
children: a
|
|
17228
|
+
}
|
|
17229
|
+
)
|
|
17230
|
+
] })
|
|
17231
|
+
]
|
|
17232
|
+
}
|
|
17233
|
+
)
|
|
17234
|
+
}
|
|
17235
|
+
)
|
|
17236
|
+
}
|
|
17237
|
+
);
|
|
17196
17238
|
}, questCardStyles = cva(
|
|
17197
17239
|
["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],
|
|
17198
17240
|
{
|