@pnkx-lib/ui 1.4.8 → 1.5.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.
@@ -14226,15 +14226,16 @@ const Sidebar = ({ children, menu }) => {
14226
14226
  const handleOpenSubmenu = (itemName) => {
14227
14227
  setOpenSubmenu((prev) => prev === itemName ? null : itemName);
14228
14228
  };
14229
- const base = "flex flex-col gap-y-5 border-r border-gray-200 bg-[#1C2D5A] transition-all duration-300";
14230
- const width = collapse ? "w-60" : "w-16";
14231
14229
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex relative h-screen gap-8", children: [
14232
14230
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
14233
14231
  "div",
14234
14232
  {
14235
14233
  onMouseEnter: () => setCollapse(true),
14236
14234
  onMouseLeave: () => setCollapse(false),
14237
- className: twMerge(base, width),
14235
+ className: twMerge(
14236
+ "flex flex-col gap-y-5 border-r border-gray-200 bg-[#1C2D5A] transition-all duration-300",
14237
+ collapse ? "w-60" : "w-16"
14238
+ ),
14238
14239
  children: [
14239
14240
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex h-16 shrink-0 items-center justify-center bg-[#FFFFFF]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
14240
14241
  "img",
@@ -14398,4 +14399,4 @@ const Divider = ({ children, ...rest }) => {
14398
14399
  };
14399
14400
 
14400
14401
  export { Button as B, CascaderField as C, Dropdown as D, Flex as F, Heading as H, Layout as L, Modal as M, Popover as P, Row as R, Skeleton as S, Table as T, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, typeColorMap as t };
14401
- //# sourceMappingURL=Divider-2C5o3z3O.js.map
14402
+ //# sourceMappingURL=Divider-Ncz1S8CR.js.map