@planetaexo/design-system 0.72.0 → 0.74.0
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.cjs +13 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12224,24 +12224,24 @@ function FeedLightbox({
|
|
|
12224
12224
|
if (frame) cancelAnimationFrame(frame);
|
|
12225
12225
|
};
|
|
12226
12226
|
}, []);
|
|
12227
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "fixed inset-0 z-50 flex flex-col bg-
|
|
12228
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-10 flex items-center gap-3 border-b border-
|
|
12227
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "fixed inset-0 z-50 flex flex-col bg-zinc-950 text-white", children: [
|
|
12228
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-10 flex items-center gap-3 border-b border-white/10 bg-zinc-950/80 px-3 py-2.5 backdrop-blur-md", children: [
|
|
12229
12229
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12230
12230
|
"button",
|
|
12231
12231
|
{
|
|
12232
12232
|
type: "button",
|
|
12233
12233
|
onClick: onClose,
|
|
12234
|
-
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-
|
|
12234
|
+
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-white transition-colors hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60",
|
|
12235
12235
|
"aria-label": (_a = labels == null ? void 0 : labels.close) != null ? _a : "Close lightbox",
|
|
12236
12236
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, { className: "h-5 w-5" })
|
|
12237
12237
|
}
|
|
12238
12238
|
),
|
|
12239
|
-
activeLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate text-center font-heading text-sm font-bold uppercase tracking-wide text-
|
|
12239
|
+
activeLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate text-center font-heading text-sm font-bold uppercase tracking-wide text-white", children: activeLabel }),
|
|
12240
12240
|
total > 1 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12241
12241
|
"span",
|
|
12242
12242
|
{
|
|
12243
12243
|
className: cn(
|
|
12244
|
-
"shrink-0 font-ui text-sm font-medium tabular-nums text-
|
|
12244
|
+
"shrink-0 font-ui text-sm font-medium tabular-nums text-white/60",
|
|
12245
12245
|
!activeLabel && "ml-auto"
|
|
12246
12246
|
),
|
|
12247
12247
|
children: [
|
|
@@ -12264,7 +12264,7 @@ function FeedLightbox({
|
|
|
12264
12264
|
"h2",
|
|
12265
12265
|
{
|
|
12266
12266
|
className: cn(
|
|
12267
|
-
"px-3 font-heading text-lg font-bold uppercase tracking-wide text-
|
|
12267
|
+
"px-3 font-heading text-lg font-bold uppercase tracking-wide text-white sm:px-4",
|
|
12268
12268
|
index > 0 && "mt-3"
|
|
12269
12269
|
),
|
|
12270
12270
|
children: sectionLabel
|
|
@@ -12278,7 +12278,7 @@ function FeedLightbox({
|
|
|
12278
12278
|
itemRefs.current[index] = el;
|
|
12279
12279
|
},
|
|
12280
12280
|
children: [
|
|
12281
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden bg-
|
|
12281
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden bg-white/5", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12282
12282
|
Picture,
|
|
12283
12283
|
{
|
|
12284
12284
|
src: photo.src,
|
|
@@ -12290,8 +12290,8 @@ function FeedLightbox({
|
|
|
12290
12290
|
}
|
|
12291
12291
|
) }),
|
|
12292
12292
|
(photo.caption || photo.credit) && /* @__PURE__ */ jsxRuntime.jsxs("figcaption", { className: "px-3 pt-2 sm:px-4", children: [
|
|
12293
|
-
photo.caption && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-ui text-sm leading-snug text-
|
|
12294
|
-
photo.credit && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "font-ui text-xs text-
|
|
12293
|
+
photo.caption && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-ui text-sm leading-snug text-white/70", children: photo.caption }),
|
|
12294
|
+
photo.credit && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "font-ui text-xs text-white/50", children: [
|
|
12295
12295
|
"\xA9 ",
|
|
12296
12296
|
photo.credit
|
|
12297
12297
|
] })
|
|
@@ -12733,7 +12733,10 @@ function CarouselGallery({
|
|
|
12733
12733
|
if (Math.abs(dx) > 8 && Math.abs(dx) > Math.abs(dy)) {
|
|
12734
12734
|
g.axis = "x";
|
|
12735
12735
|
setDragging(true);
|
|
12736
|
-
|
|
12736
|
+
try {
|
|
12737
|
+
(_a = containerRef.current) == null ? void 0 : _a.setPointerCapture(g.id);
|
|
12738
|
+
} catch (e2) {
|
|
12739
|
+
}
|
|
12737
12740
|
} else if (Math.abs(dy) > 8) {
|
|
12738
12741
|
gesture.current = null;
|
|
12739
12742
|
return;
|