@cashdoc/cashdoc-cms-design-system 2.3.2 → 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
@@ -14219,8 +14219,8 @@ const $I = ({
14219
14219
  },
14220
14220
  className: P(
14221
14221
  "group flex items-center border-0 bg-transparent px-5",
14222
- "text-[14px] font-medium text-white/72",
14223
- "h-11 w-full",
14222
+ "text-[16px] font-medium text-white/72",
14223
+ "h-12 w-full",
14224
14224
  "border-l-[3px] border-l-transparent",
14225
14225
  "transition-colors duration-150",
14226
14226
  "cursor-pointer",
@@ -14247,7 +14247,7 @@ const $I = ({
14247
14247
  {
14248
14248
  className: P(
14249
14249
  i ? "text-cms-primary-200" : "text-white/72",
14250
- "text-[14px]"
14250
+ "text-[16px]"
14251
14251
  ),
14252
14252
  children: e.title
14253
14253
  }
@@ -14286,7 +14286,7 @@ const $I = ({
14286
14286
  onClick: () => o(c.url),
14287
14287
  className: P(
14288
14288
  "flex items-center border-0 bg-transparent",
14289
- "h-9 w-full pr-5 pl-[48px]",
14289
+ "h-10 w-full pr-5 pl-[48px]",
14290
14290
  "cursor-pointer",
14291
14291
  "transition-colors duration-150",
14292
14292
  "hover:text-white",
@@ -14296,7 +14296,7 @@ const $I = ({
14296
14296
  "span",
14297
14297
  {
14298
14298
  className: P(
14299
- "text-[14px]",
14299
+ "text-[16px]",
14300
14300
  "transition-colors",
14301
14301
  l ? "font-bold text-cms-primary-200" : "text-white/62"
14302
14302
  ),
@@ -14311,23 +14311,32 @@ const $I = ({
14311
14311
  )
14312
14312
  ] });
14313
14313
  }, jI = E.forwardRef(
14314
- ({ title: e, menus: t, selectedUrl: r, onMenuClick: n, headerSlot: o, className: a, ...i }, s) => {
14315
- const [c, l] = ue([]);
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: s,
14328
+ ref: c,
14320
14329
  className: P(
14321
14330
  "flex flex-col",
14322
- "h-full w-[248px] max-w-[248px] min-w-[248px]",
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
- a
14334
+ i
14326
14335
  ),
14327
- ...i,
14336
+ ...s,
14328
14337
  children: [
14329
14338
  o,
14330
- e && !o && /* @__PURE__ */ g("div", { className: "border-b border-white/6 px-[18px] py-5", children: /* @__PURE__ */ g("h2", { className: "text-[16px] font-bold tracking-tight text-white", children: e }) }),
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 }) }),
14331
14340
  /* @__PURE__ */ g(
14332
14341
  "div",
14333
14342
  {
@@ -14341,23 +14350,24 @@ const $I = ({
14341
14350
  mx,
14342
14351
  {
14343
14352
  type: "multiple",
14344
- value: c,
14345
- onValueChange: l,
14346
- children: t.map((d) => /* @__PURE__ */ g(
14353
+ value: l,
14354
+ onValueChange: d,
14355
+ children: t.map((u) => /* @__PURE__ */ g(
14347
14356
  $I,
14348
14357
  {
14349
- menu: d,
14350
- isOpen: c.includes(d.url),
14351
- isSelected: r === d.url,
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
- d.url
14364
+ u.url
14356
14365
  ))
14357
14366
  }
14358
14367
  )
14359
14368
  }
14360
- )
14369
+ ),
14370
+ a
14361
14371
  ]
14362
14372
  }
14363
14373
  );