@cashdoc/cashdoc-cms-design-system 2.3.3 → 2.4.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.es.js
CHANGED
|
@@ -14311,20 +14311,29 @@ const $I = ({
|
|
|
14311
14311
|
)
|
|
14312
14312
|
] });
|
|
14313
14313
|
}, jI = E.forwardRef(
|
|
14314
|
-
({
|
|
14315
|
-
|
|
14314
|
+
({
|
|
14315
|
+
title: e,
|
|
14316
|
+
menus: t,
|
|
14317
|
+
selectedUrl: r,
|
|
14318
|
+
onMenuClick: n,
|
|
14319
|
+
headerSlot: o,
|
|
14320
|
+
footerSlot: a,
|
|
14321
|
+
className: i,
|
|
14322
|
+
...s
|
|
14323
|
+
}, c) => {
|
|
14324
|
+
const [l, d] = ue([]);
|
|
14316
14325
|
return /* @__PURE__ */ A(
|
|
14317
14326
|
"div",
|
|
14318
14327
|
{
|
|
14319
|
-
ref:
|
|
14328
|
+
ref: c,
|
|
14320
14329
|
className: P(
|
|
14321
14330
|
"flex flex-col",
|
|
14322
14331
|
"h-full w-[272px] max-w-[272px] min-w-[272px]",
|
|
14323
14332
|
"bg-cms-surface-coal text-cms-gray-200",
|
|
14324
14333
|
"border-r border-white/6",
|
|
14325
|
-
|
|
14334
|
+
i
|
|
14326
14335
|
),
|
|
14327
|
-
...
|
|
14336
|
+
...s,
|
|
14328
14337
|
children: [
|
|
14329
14338
|
o,
|
|
14330
14339
|
e && !o && /* @__PURE__ */ g("div", { className: "border-b border-white/6 px-[18px] py-5", children: /* @__PURE__ */ g("h2", { className: "text-[18px] font-bold tracking-tight text-white", children: e }) }),
|
|
@@ -14341,23 +14350,24 @@ const $I = ({
|
|
|
14341
14350
|
mx,
|
|
14342
14351
|
{
|
|
14343
14352
|
type: "multiple",
|
|
14344
|
-
value:
|
|
14345
|
-
onValueChange:
|
|
14346
|
-
children: t.map((
|
|
14353
|
+
value: l,
|
|
14354
|
+
onValueChange: d,
|
|
14355
|
+
children: t.map((u) => /* @__PURE__ */ g(
|
|
14347
14356
|
$I,
|
|
14348
14357
|
{
|
|
14349
|
-
menu:
|
|
14350
|
-
isOpen:
|
|
14351
|
-
isSelected: r ===
|
|
14358
|
+
menu: u,
|
|
14359
|
+
isOpen: l.includes(u.url),
|
|
14360
|
+
isSelected: r === u.url,
|
|
14352
14361
|
selectedUrl: r,
|
|
14353
14362
|
onMenuClick: n
|
|
14354
14363
|
},
|
|
14355
|
-
|
|
14364
|
+
u.url
|
|
14356
14365
|
))
|
|
14357
14366
|
}
|
|
14358
14367
|
)
|
|
14359
14368
|
}
|
|
14360
|
-
)
|
|
14369
|
+
),
|
|
14370
|
+
a
|
|
14361
14371
|
]
|
|
14362
14372
|
}
|
|
14363
14373
|
);
|