@krosoft/react 0.0.141 → 0.0.142

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.
@@ -31,8 +31,8 @@ const z = (a, d, m) => d === a ? !0 : a === "/" || !d.startsWith(`${a}/`) ? !1 :
31
31
  o.preventDefault(), r && r.length > 0 ? c || N(!x) : a && u(a);
32
32
  },
33
33
  className: s(
34
- "flex items-center cursor-pointer transition-all duration-200 group",
35
- f ? "gap-2.5 rounded-lg mb-0.5" : "gap-3 rounded-2xl mb-2",
34
+ "flex items-center cursor-pointer transition-all duration-200 group rounded-xl",
35
+ f ? "gap-2.5 mb-0.5" : "gap-3 mb-1",
36
36
  c ? f ? "justify-center p-2 h-9 w-9 mx-auto" : "justify-center p-3 h-12 w-12 mx-auto" : f ? "px-3 py-1.5 h-9" : "px-4 py-3 h-12",
37
37
  v || !c && y ? f ? "bg-sidebar-primary text-sidebar-primary-foreground" : "bg-sidebar-primary text-sidebar-primary-foreground shadow-lg" : "hover:bg-sidebar-accent text-sidebar-foreground hover:text-sidebar-accent-foreground"
38
38
  ),
@@ -129,7 +129,7 @@ const z = (a, d, m) => d === a ? !0 : a === "/" || !d.startsWith(`${a}/`) ? !1 :
129
129
  }
130
130
  )
131
131
  ] }) }),
132
- /* @__PURE__ */ e("div", { className: s("flex-1 overflow-y-auto px-2 scrollbar-modern", l ? "py-2" : "py-4"), children: c ? Array.from({ length: 5 }).map((i, h) => /* @__PURE__ */ n("div", { className: s("flex items-center gap-3", l ? "mb-1 h-9" : "mb-2 h-12", p ? "justify-center px-3" : "px-4"), children: [
132
+ /* @__PURE__ */ e("div", { className: s("flex-1 overflow-y-auto scrollbar-modern", p ? "px-0" : "px-2", l ? "py-2" : "py-4"), children: c ? Array.from({ length: 5 }).map((i, h) => /* @__PURE__ */ n("div", { className: s("flex items-center gap-3", l ? "mb-1 h-9" : "mb-2 h-12", p ? "justify-center px-3" : "px-4"), children: [
133
133
  /* @__PURE__ */ e(O, { className: "size-5 flex-shrink-0 rounded-md" }),
134
134
  !p && /* @__PURE__ */ e(O, { className: "h-4 flex-1" })
135
135
  ] }, h)) : o.map((i, h) => /* @__PURE__ */ n("div", { className: l ? "mb-3" : "mb-6", children: [
@@ -161,7 +161,7 @@ const z = (a, d, m) => d === a ? !0 : a === "/" || !d.startsWith(`${a}/`) ? !1 :
161
161
  ),
162
162
  style: {
163
163
  "--navbar-width": "16rem",
164
- "--navbar-width-icon": "5rem"
164
+ "--navbar-width-icon": "4rem"
165
165
  },
166
166
  children: C
167
167
  }
@@ -11,7 +11,7 @@ import { A as w } from "../../AppActions-DCaejx-3.js";
11
11
  import { A as J } from "../../AppSubTitle-BNd5_q0i.js";
12
12
  import { A as U } from "../../AppTitle-uboDuil4.js";
13
13
  import { K as X } from "../../KpiCardsLayout-DDR49Qqh.js";
14
- import { S as Z, a as _, b as $, T as aa } from "../../Topbar-Bc39WGYM.js";
14
+ import { S as Z, a as _, b as $, T as aa } from "../../Topbar-FpiEDwzJ.js";
15
15
  import { E as ra } from "../../ErrorAlert-DH1onuyt.js";
16
16
  import { E as sa } from "../../ErrorState-vU8d4CwD.js";
17
17
  import { L as ia } from "../../LoadingState-BN0YaPSs.js";
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/core/navbar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,cAAc,EAAE,CAA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CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEpC,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,OAAO,GAAI,qEAAqF,YAAY,KAAG,KAAK,CAAC,YAuHjI,CAAC"}
@@ -1,4 +1,4 @@
1
- import { S as r, a as b, b as d, T as s } from "../../../Topbar-Bc39WGYM.js";
1
+ import { S as r, a as b, b as d, T as s } from "../../../Topbar-FpiEDwzJ.js";
2
2
  export {
3
3
  r as Sidebar,
4
4
  b as SidebarHeader,
@@ -11,7 +11,7 @@ import { A as rr } from "../AppActions-DCaejx-3.js";
11
11
  import { A as tr } from "../AppSubTitle-BNd5_q0i.js";
12
12
  import { A as ir } from "../AppTitle-uboDuil4.js";
13
13
  import { K as br } from "../KpiCardsLayout-DDR49Qqh.js";
14
- import { S as ur, a as gr, b as dr, T as mr } from "../Topbar-Bc39WGYM.js";
14
+ import { S as ur, a as gr, b as dr, T as mr } from "../Topbar-FpiEDwzJ.js";
15
15
  import { E as Sr } from "../ErrorAlert-DH1onuyt.js";
16
16
  import { E as cr } from "../ErrorState-vU8d4CwD.js";
17
17
  import { L as Mr } from "../LoadingState-BN0YaPSs.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.141",
3
+ "version": "0.0.142",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {