@designa8/vibedesign-snapchat-deepseek-image-v1-2-176b 0.0.2 → 0.0.4
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/README.md +1 -1
- package/dist/index.cjs +135 -26
- package/dist/index.js +155 -46
- package/dist/styles.css +13 -0
- package/package.json +1 -1
- package/src/atoms/Button/Button.tsx +54 -2
- package/src/atoms/Button/preview.tsx +87 -4
- package/src/atoms/Icon/icons.data.ts +14 -0
- package/src/atoms/Modal/Modal.tsx +164 -21
- package/src/atoms/Modal/index.ts +9 -1
- package/src/atoms/Modal/preview.tsx +176 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @designa8/vibedesign-snapchat-deepseek-image-v1-2-176b
|
|
2
2
|
|
|
3
|
-
Complete design system generated by Atoms Design, version **0.0.
|
|
3
|
+
Complete design system generated by Atoms Design, version **0.0.4**.
|
|
4
4
|
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
5
|
never hardcode visual values in consumer code.
|
|
6
6
|
|
package/dist/index.cjs
CHANGED
|
@@ -197,7 +197,21 @@ var ICON_REGISTRY = {
|
|
|
197
197
|
"mic": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M12 19v3" }, { tag: "path", d: "M19 10v2a7 7 0 0 1-14 0v-2" }, { tag: "rect", x: "9", y: "2", width: "6", height: "13", rx: "3" }] },
|
|
198
198
|
"send": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z" }, { tag: "path", d: "m21.854 2.147-10.94 10.939" }] },
|
|
199
199
|
"zap": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" }] },
|
|
200
|
-
"crown": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z" }, { tag: "path", d: "M5 21h14" }] }
|
|
200
|
+
"crown": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z" }, { tag: "path", d: "M5 21h14" }] },
|
|
201
|
+
"moon": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" }] },
|
|
202
|
+
"eye": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, { tag: "circle", cx: "12", cy: "12", r: "3" }] },
|
|
203
|
+
"bookmark": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z" }] },
|
|
204
|
+
"flag": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z" }, { tag: "line", x1: "4", x2: "4", y1: "22", y2: "15" }] },
|
|
205
|
+
"chart-column": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 3v16a2 2 0 0 0 2 2h16" }, { tag: "path", d: "M18 17V9" }, { tag: "path", d: "M13 17V5" }, { tag: "path", d: "M8 17v-3" }] },
|
|
206
|
+
"trending-up": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 7h6v6" }, { tag: "path", d: "m22 7-8.5 8.5-5-5L2 17" }] },
|
|
207
|
+
"video": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5" }, { tag: "rect", x: "2", y: "6", width: "14", height: "12", rx: "2" }] },
|
|
208
|
+
"globe": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }, { tag: "path", d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }, { tag: "path", d: "M2 12h20" }] },
|
|
209
|
+
"link": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }, { tag: "path", d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" }] },
|
|
210
|
+
"music": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M9 18V5l12-2v13" }, { tag: "circle", cx: "6", cy: "18", r: "3" }, { tag: "circle", cx: "18", cy: "16", r: "3" }] },
|
|
211
|
+
"at-sign": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "4" }, { tag: "path", d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8" }] },
|
|
212
|
+
"sticker": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M15.5 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.5L15.5 3Z" }, { tag: "path", d: "M14 3v4a2 2 0 0 0 2 2h4" }, { tag: "path", d: "M8 13h.01" }, { tag: "path", d: "M16 13h.01" }, { tag: "path", d: "M10 16s.8 1 2 1c1.3 0 2-1 2-1" }] },
|
|
213
|
+
"radio-receiver": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M5 16v2" }, { tag: "path", d: "M19 16v2" }, { tag: "rect", width: "20", height: "8", x: "2", y: "8", rx: "2" }, { tag: "path", d: "M18 12h.01" }] },
|
|
214
|
+
"chart-bar": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 3v16a2 2 0 0 0 2 2h16" }, { tag: "path", d: "M7 16h8" }, { tag: "path", d: "M7 11h12" }, { tag: "path", d: "M7 6h3" }] }
|
|
201
215
|
};
|
|
202
216
|
|
|
203
217
|
// virtual-pkg:src/atoms/Icon/Icon.tsx
|
|
@@ -292,6 +306,11 @@ var SIZES = {
|
|
|
292
306
|
md: "h-10 px-lg gap-sm text-label-md",
|
|
293
307
|
lg: "h-12 px-xl gap-sm text-body-lg"
|
|
294
308
|
};
|
|
309
|
+
var LABEL_GAPS = {
|
|
310
|
+
sm: "gap-xs",
|
|
311
|
+
md: "gap-sm",
|
|
312
|
+
lg: "gap-sm"
|
|
313
|
+
};
|
|
295
314
|
var ICON_SIZES = {
|
|
296
315
|
sm: "h-9 w-9 p-0",
|
|
297
316
|
md: "h-11 w-11 p-0",
|
|
@@ -333,6 +352,19 @@ var VARIANTS = {
|
|
|
333
352
|
forcedHover: "bg-surface-soft",
|
|
334
353
|
forcedPressed: "bg-surface-strong",
|
|
335
354
|
disabled: "disabled:text-muted-soft"
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
* Destructive action. The red fill carries white text; hover and press
|
|
358
|
+
* darken the whole surface with a single opacity step rather than a second
|
|
359
|
+
* red token. Disabled reuses the filled-control palette, like `primary`.
|
|
360
|
+
*/
|
|
361
|
+
danger: {
|
|
362
|
+
base: "bg-semantic-error text-on-semantic-error",
|
|
363
|
+
hover: "hover:opacity-90",
|
|
364
|
+
pressed: "active:opacity-90",
|
|
365
|
+
forcedHover: "opacity-90",
|
|
366
|
+
forcedPressed: "opacity-90",
|
|
367
|
+
disabled: "disabled:bg-primary-disabled disabled:text-on-primary-disabled disabled:shadow-none"
|
|
336
368
|
}
|
|
337
369
|
};
|
|
338
370
|
var FORCED_FOCUS = "ring-2 ring-focus-blue ring-offset-2 ring-offset-canvas";
|
|
@@ -341,6 +373,8 @@ var Button = React2.forwardRef(
|
|
|
341
373
|
variant = "primary",
|
|
342
374
|
size = "md",
|
|
343
375
|
iconOnly = false,
|
|
376
|
+
iconLeft,
|
|
377
|
+
iconRight,
|
|
344
378
|
loading = false,
|
|
345
379
|
disabled = false,
|
|
346
380
|
fullWidth = false,
|
|
@@ -384,7 +418,20 @@ var Button = React2.forwardRef(
|
|
|
384
418
|
),
|
|
385
419
|
...rest,
|
|
386
420
|
children: [
|
|
387
|
-
bare || iconOnly ? children : /* @__PURE__ */ (0, import_jsx_runtime2.
|
|
421
|
+
bare || iconOnly ? children : /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
422
|
+
"span",
|
|
423
|
+
{
|
|
424
|
+
className: cx2(
|
|
425
|
+
"inline-flex items-center",
|
|
426
|
+
LABEL_GAPS[size]
|
|
427
|
+
),
|
|
428
|
+
children: [
|
|
429
|
+
iconLeft != null && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "inline-flex shrink-0 items-center", children: iconLeft }),
|
|
430
|
+
children,
|
|
431
|
+
iconRight != null && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "inline-flex shrink-0 items-center", children: iconRight })
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
),
|
|
388
435
|
loading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
389
436
|
Icon,
|
|
390
437
|
{
|
|
@@ -7911,6 +7958,7 @@ ListItem.displayName = "ListItem";
|
|
|
7911
7958
|
|
|
7912
7959
|
// virtual-pkg:src/atoms/Modal/Modal.tsx
|
|
7913
7960
|
var React50 = __toESM(require("react"));
|
|
7961
|
+
var import_react_dom6 = require("react-dom");
|
|
7914
7962
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
7915
7963
|
var cx46 = (...parts) => parts.filter(Boolean).join(" ");
|
|
7916
7964
|
var TONE_TEXT2 = {
|
|
@@ -7918,10 +7966,16 @@ var TONE_TEXT2 = {
|
|
|
7918
7966
|
danger: "text-semantic-error",
|
|
7919
7967
|
link: "text-link-blue"
|
|
7920
7968
|
};
|
|
7921
|
-
var PANEL = "flex w-full
|
|
7969
|
+
var PANEL = "relative flex w-full flex-col overflow-hidden rounded-xl border border-hairline bg-surface text-ink shadow-lg focus-visible:outline-none";
|
|
7970
|
+
var SIZE_WIDTH = {
|
|
7971
|
+
sm: "max-w-[26rem]",
|
|
7972
|
+
md: "max-w-[36rem]",
|
|
7973
|
+
lg: "max-w-[48rem]"
|
|
7974
|
+
};
|
|
7922
7975
|
var PANEL_MOTION = "origin-center transition duration-200 ease-out data-[state=open]:translate-y-0 data-[state=open]:scale-100 data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:translate-y-2 data-[state=closed]:scale-[0.98] data-[state=closed]:opacity-0";
|
|
7923
7976
|
var SEGMENT = "flex h-14 w-full items-center justify-center px-base text-label-md transition-colors duration-150 ease-out hover:bg-surface-soft active:bg-surface-strong focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue";
|
|
7924
|
-
var SCRIM = "
|
|
7977
|
+
var SCRIM = "inset-0 cursor-pointer bg-scrim transition-opacity duration-200 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue data-[state=open]:opacity-50 data-[state=closed]:pointer-events-none data-[state=closed]:opacity-0";
|
|
7978
|
+
var BODY = "min-h-0 flex-1 overflow-y-auto overscroll-contain";
|
|
7925
7979
|
var Modal = React50.forwardRef(
|
|
7926
7980
|
({
|
|
7927
7981
|
title,
|
|
@@ -7932,6 +7986,14 @@ var Modal = React50.forwardRef(
|
|
|
7932
7986
|
open = false,
|
|
7933
7987
|
onClose,
|
|
7934
7988
|
mode = "overlay",
|
|
7989
|
+
size = "sm",
|
|
7990
|
+
align = "center",
|
|
7991
|
+
showClose = false,
|
|
7992
|
+
placement = "center",
|
|
7993
|
+
footer,
|
|
7994
|
+
bodyClassName,
|
|
7995
|
+
hideHeader = false,
|
|
7996
|
+
container,
|
|
7935
7997
|
className,
|
|
7936
7998
|
panelClassName
|
|
7937
7999
|
}, ref) => {
|
|
@@ -7941,6 +8003,12 @@ var Modal = React50.forwardRef(
|
|
|
7941
8003
|
const isOverlay = mode === "overlay";
|
|
7942
8004
|
const isOpen = isOverlay ? open : true;
|
|
7943
8005
|
const state = isOpen ? "open" : "closed";
|
|
8006
|
+
const showHeader = !hideHeader;
|
|
8007
|
+
const centredHeader = showHeader && align === "center";
|
|
8008
|
+
const startHeader = showHeader && align === "start";
|
|
8009
|
+
const position = container ? "absolute" : "fixed";
|
|
8010
|
+
const [portalReady, setPortalReady] = React50.useState(false);
|
|
8011
|
+
React50.useEffect(() => setPortalReady(true), []);
|
|
7944
8012
|
const setRefs = React50.useCallback(
|
|
7945
8013
|
(node) => {
|
|
7946
8014
|
panelRef.current = node;
|
|
@@ -7960,31 +8028,64 @@ var Modal = React50.forwardRef(
|
|
|
7960
8028
|
React50.useEffect(() => {
|
|
7961
8029
|
if (isOverlay && open) panelRef.current?.focus();
|
|
7962
8030
|
}, [isOverlay, open]);
|
|
8031
|
+
const closeButton = showClose ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
8032
|
+
IconButton,
|
|
8033
|
+
{
|
|
8034
|
+
icon: "x",
|
|
8035
|
+
label: "Close",
|
|
8036
|
+
size: "sm",
|
|
8037
|
+
variant: "ghost",
|
|
8038
|
+
onClick: onClose
|
|
8039
|
+
}
|
|
8040
|
+
) : null;
|
|
8041
|
+
const bodyPad = !showHeader ? "" : startHeader ? "px-lg pb-lg pt-sm text-left" : "px-lg pb-lg pt-lg text-center";
|
|
7963
8042
|
const panel = /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
7964
8043
|
"div",
|
|
7965
8044
|
{
|
|
7966
8045
|
ref: setRefs,
|
|
7967
8046
|
role: "dialog",
|
|
7968
8047
|
"aria-modal": isOverlay ? true : void 0,
|
|
7969
|
-
"aria-labelledby": titleId,
|
|
7970
|
-
"aria-
|
|
8048
|
+
"aria-labelledby": showHeader ? titleId : void 0,
|
|
8049
|
+
"aria-label": showHeader ? void 0 : title,
|
|
8050
|
+
"aria-describedby": showHeader && description ? descriptionId : void 0,
|
|
7971
8051
|
tabIndex: -1,
|
|
7972
8052
|
"data-state": state,
|
|
7973
8053
|
style: isOverlay ? { zIndex: "var(--z-modal, 1200)" } : void 0,
|
|
7974
8054
|
className: cx46(
|
|
7975
8055
|
PANEL,
|
|
8056
|
+
SIZE_WIDTH[size],
|
|
7976
8057
|
isOverlay && "pointer-events-auto max-h-[calc(100dvh-2rem)]",
|
|
7977
8058
|
isOverlay && PANEL_MOTION,
|
|
7978
8059
|
panelClassName
|
|
7979
8060
|
),
|
|
7980
8061
|
children: [
|
|
7981
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
8062
|
+
startHeader ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex shrink-0 items-start justify-between gap-sm px-lg pb-sm pt-lg", children: [
|
|
8063
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "min-w-0", children: [
|
|
8064
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("h2", { id: titleId, className: "text-heading-md text-ink", children: title }),
|
|
8065
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { id: descriptionId, className: "mt-xs text-body-md text-muted", children: description }) : null
|
|
8066
|
+
] }),
|
|
8067
|
+
closeButton
|
|
8068
|
+
] }) : null,
|
|
8069
|
+
centredHeader && showClose ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "absolute right-sm top-sm", children: closeButton }) : null,
|
|
8070
|
+
!showHeader && showClose ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex shrink-0 justify-end px-sm pt-sm", children: closeButton }) : null,
|
|
8071
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: cx46(BODY, bodyPad, bodyClassName), children: [
|
|
8072
|
+
illustration ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
8073
|
+
"div",
|
|
8074
|
+
{
|
|
8075
|
+
className: cx46(
|
|
8076
|
+
"mb-md flex",
|
|
8077
|
+
centredHeader ? "justify-center" : "justify-start"
|
|
8078
|
+
),
|
|
8079
|
+
children: illustration
|
|
8080
|
+
}
|
|
8081
|
+
) : null,
|
|
8082
|
+
centredHeader ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
|
|
8083
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("h2", { id: titleId, className: "text-heading-md text-ink", children: title }),
|
|
8084
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { id: descriptionId, className: "mt-sm text-body-md text-muted", children: description }) : null
|
|
8085
|
+
] }) : null,
|
|
8086
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: cx46("text-left", centredHeader ? "mt-base" : void 0), children }) : null
|
|
7986
8087
|
] }),
|
|
7987
|
-
actions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
8088
|
+
footer ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex shrink-0 items-center justify-end gap-sm border-t border-hairline px-lg py-md", children: footer }) : actions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
7988
8089
|
"div",
|
|
7989
8090
|
{
|
|
7990
8091
|
className: "grid shrink-0 border-t border-hairline",
|
|
@@ -8035,7 +8136,8 @@ var Modal = React50.forwardRef(
|
|
|
8035
8136
|
if (!isOverlay) {
|
|
8036
8137
|
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: cx46("flex w-full justify-center", className), children: panel });
|
|
8037
8138
|
}
|
|
8038
|
-
|
|
8139
|
+
const layerAlign = placement === "top" ? "items-start justify-center pt-[12dvh]" : "items-center justify-center";
|
|
8140
|
+
const overlay = /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className, "data-state": state, children: [
|
|
8039
8141
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
8040
8142
|
Button,
|
|
8041
8143
|
{
|
|
@@ -8046,19 +8148,26 @@ var Modal = React50.forwardRef(
|
|
|
8046
8148
|
onClick: onClose,
|
|
8047
8149
|
"data-state": state,
|
|
8048
8150
|
style: { zIndex: "var(--z-modal, 1200)" },
|
|
8049
|
-
className: SCRIM,
|
|
8151
|
+
className: cx46(position, SCRIM),
|
|
8050
8152
|
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { "aria-hidden": "true" })
|
|
8051
8153
|
}
|
|
8052
8154
|
),
|
|
8053
8155
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
8054
8156
|
"div",
|
|
8055
8157
|
{
|
|
8056
|
-
className:
|
|
8158
|
+
className: cx46(
|
|
8159
|
+
"pointer-events-none inset-0 flex p-base",
|
|
8160
|
+
position,
|
|
8161
|
+
layerAlign
|
|
8162
|
+
),
|
|
8057
8163
|
style: { zIndex: "var(--z-modal, 1200)" },
|
|
8058
8164
|
children: panel
|
|
8059
8165
|
}
|
|
8060
8166
|
)
|
|
8061
8167
|
] });
|
|
8168
|
+
const host = container ?? (portalReady ? document.body : null);
|
|
8169
|
+
if (!host) return null;
|
|
8170
|
+
return (0, import_react_dom6.createPortal)(overlay, host);
|
|
8062
8171
|
}
|
|
8063
8172
|
);
|
|
8064
8173
|
Modal.displayName = "Modal";
|
|
@@ -8068,7 +8177,7 @@ var React53 = __toESM(require("react"));
|
|
|
8068
8177
|
|
|
8069
8178
|
// virtual-pkg:src/atoms/NavbarDesktop/NavbarDesktop.tsx
|
|
8070
8179
|
var React51 = __toESM(require("react"));
|
|
8071
|
-
var
|
|
8180
|
+
var import_react_dom7 = require("react-dom");
|
|
8072
8181
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
8073
8182
|
var cx47 = (...parts) => parts.filter(Boolean).join(" ");
|
|
8074
8183
|
var DEFAULT_NAV_ITEMS = [
|
|
@@ -8301,7 +8410,7 @@ var NavbarDesktop = React51.forwardRef(
|
|
|
8301
8410
|
)
|
|
8302
8411
|
] })
|
|
8303
8412
|
] }),
|
|
8304
|
-
typeof document !== "undefined" && (0,
|
|
8413
|
+
typeof document !== "undefined" && (0, import_react_dom7.createPortal)(
|
|
8305
8414
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
8306
8415
|
"div",
|
|
8307
8416
|
{
|
|
@@ -8675,7 +8784,7 @@ var React56 = __toESM(require("react"));
|
|
|
8675
8784
|
|
|
8676
8785
|
// virtual-pkg:src/atoms/NavigationMenuDesktop/NavigationMenuDesktop.tsx
|
|
8677
8786
|
var React54 = __toESM(require("react"));
|
|
8678
|
-
var
|
|
8787
|
+
var import_react_dom8 = require("react-dom");
|
|
8679
8788
|
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
8680
8789
|
var cx50 = (...parts) => parts.filter(Boolean).join(" ");
|
|
8681
8790
|
var NAV_TRIGGER_BASE = "inline-flex h-12 items-center gap-xs whitespace-nowrap rounded-full px-base text-item-title cursor-pointer transition duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue";
|
|
@@ -8966,7 +9075,7 @@ var NavigationMenuDesktop = React54.forwardRef(
|
|
|
8966
9075
|
]
|
|
8967
9076
|
}
|
|
8968
9077
|
),
|
|
8969
|
-
typeof document === "undefined" ? null : (0,
|
|
9078
|
+
typeof document === "undefined" ? null : (0, import_react_dom8.createPortal)(panels, document.body)
|
|
8970
9079
|
] });
|
|
8971
9080
|
}
|
|
8972
9081
|
);
|
|
@@ -10381,7 +10490,7 @@ Rating.displayName = "Rating";
|
|
|
10381
10490
|
|
|
10382
10491
|
// virtual-pkg:src/atoms/SearchBar/SearchBar.tsx
|
|
10383
10492
|
var React65 = __toESM(require("react"));
|
|
10384
|
-
var
|
|
10493
|
+
var import_react_dom9 = require("react-dom");
|
|
10385
10494
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
10386
10495
|
var cx61 = (...parts) => parts.filter(Boolean).join(" ");
|
|
10387
10496
|
var FIELD_HEIGHT = {
|
|
@@ -10602,7 +10711,7 @@ var SearchBar = React65.forwardRef(
|
|
|
10602
10711
|
]
|
|
10603
10712
|
}
|
|
10604
10713
|
),
|
|
10605
|
-
typeof document === "undefined" ? null : (0,
|
|
10714
|
+
typeof document === "undefined" ? null : (0, import_react_dom9.createPortal)(
|
|
10606
10715
|
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
10607
10716
|
"div",
|
|
10608
10717
|
{
|
|
@@ -10929,7 +11038,7 @@ var React70 = __toESM(require("react"));
|
|
|
10929
11038
|
|
|
10930
11039
|
// virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
|
|
10931
11040
|
var React68 = __toESM(require("react"));
|
|
10932
|
-
var
|
|
11041
|
+
var import_react_dom10 = require("react-dom");
|
|
10933
11042
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
10934
11043
|
var cx64 = (...parts) => parts.filter(Boolean).join(" ");
|
|
10935
11044
|
var VIEWPORT_INSET = 8;
|
|
@@ -11142,7 +11251,7 @@ var SidebarDesktop = React68.forwardRef(
|
|
|
11142
11251
|
accountSubtitle && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "truncate text-caption text-muted", children: accountSubtitle })
|
|
11143
11252
|
] })
|
|
11144
11253
|
] });
|
|
11145
|
-
const accountMenuPanel = accountMenu && typeof document !== "undefined" ? (0,
|
|
11254
|
+
const accountMenuPanel = accountMenu && typeof document !== "undefined" ? (0, import_react_dom10.createPortal)(
|
|
11146
11255
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
11147
11256
|
"div",
|
|
11148
11257
|
{
|
|
@@ -11713,7 +11822,7 @@ SidebarDesktop.displayName = "SidebarDesktop";
|
|
|
11713
11822
|
|
|
11714
11823
|
// virtual-pkg:src/atoms/SidebarMobile/SidebarMobile.tsx
|
|
11715
11824
|
var React69 = __toESM(require("react"));
|
|
11716
|
-
var
|
|
11825
|
+
var import_react_dom11 = require("react-dom");
|
|
11717
11826
|
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
11718
11827
|
var cx65 = (...parts) => parts.filter(Boolean).join(" ");
|
|
11719
11828
|
var VIEWPORT_INSET2 = 8;
|
|
@@ -11941,7 +12050,7 @@ var SidebarMobile = React69.forwardRef(
|
|
|
11941
12050
|
accountSubtitle && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "truncate text-caption text-muted", children: accountSubtitle })
|
|
11942
12051
|
] })
|
|
11943
12052
|
] });
|
|
11944
|
-
const accountMenuPanel = accountMenu && isOpen && typeof document !== "undefined" ? (0,
|
|
12053
|
+
const accountMenuPanel = accountMenu && isOpen && typeof document !== "undefined" ? (0, import_react_dom11.createPortal)(
|
|
11945
12054
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
11946
12055
|
"div",
|
|
11947
12056
|
{
|
|
@@ -11969,7 +12078,7 @@ var SidebarMobile = React69.forwardRef(
|
|
|
11969
12078
|
),
|
|
11970
12079
|
document.body
|
|
11971
12080
|
) : null;
|
|
11972
|
-
const drawer = typeof document === "undefined" ? null : (0,
|
|
12081
|
+
const drawer = typeof document === "undefined" ? null : (0, import_react_dom11.createPortal)(
|
|
11973
12082
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
11974
12083
|
"div",
|
|
11975
12084
|
{
|