@burdenoff/fe-libs 2026.805.5 → 2026.810.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSideNav.d.ts","sourceRoot":"","sources":["../../src/chrome/ProductSideNav.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAgBpD,MAAM,WAAW,mBAAmB;IAClC,mFAAmF;IACnF,IAAI,EAAE,SAAS,CAAC;IAChB,sDAAsD;IACtD,OAAO,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,+BAA+B;IAC/B,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,OAAO,EACP,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,GACd,EAAE,mBAAmB,2CAoHrB"}
1
+ {"version":3,"file":"ProductSideNav.d.ts","sourceRoot":"","sources":["../../src/chrome/ProductSideNav.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAgBpD,MAAM,WAAW,mBAAmB;IAClC,mFAAmF;IACnF,IAAI,EAAE,SAAS,CAAC;IAChB,sDAAsD;IACtD,OAAO,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,+BAA+B;IAC/B,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,OAAO,EACP,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,GACd,EAAE,mBAAmB,2CA2HrB"}
@@ -13,41 +13,43 @@ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
13
13
  import { useLocation as _, useNavigate as v } from "react-router";
14
14
  //#region src/chrome/ProductSideNav.tsx
15
15
  function y({ logo: y, appName: b, groupOrder: x, groupLabels: S, mobileActions: C, customHeader: w, homeAriaLabel: T, collapseLabel: E }) {
16
- let D = s(), O = T ?? D("nav.goToDashboard", "Go to dashboard"), k = E ?? D("nav.collapse", "Collapse"), A = v(), j = _(), { sidebarCollapsed: M, toggleSidebar: N } = r(), P = o(), F = e((e) => e.items), I = n(), L = i(), R = L?.simulation ?? null, z = I?.hasPermission, B = !!I && !I.isLoading && !I.error, V = p(() => {
16
+ let D = s(), O = T ?? D("nav.goToDashboard", "Go to dashboard"), k = E ?? D("nav.collapse", "Collapse"), A = v(), j = _(), { sidebarCollapsed: M, toggleSidebar: N } = r(), P = o(), F = e((e) => e.items), I = n(), L = i(), R = L?.simulation ?? null, z = I?.hasPermission, B = !!I && !I.isLoading && !I.error, V = !!I && !I.isLoading && !!I.error, H = p(() => {
17
17
  if (R) {
18
18
  let e = R.permissionStrings;
19
19
  return (n) => t(e, n);
20
20
  }
21
21
  if (B && z) return z;
22
+ if (V) return () => !1;
22
23
  }, [
23
24
  R,
24
25
  B,
26
+ V,
25
27
  z
26
- ]), H = L?.activeSurface ?? null, U = L?.overrides, W = p(() => {
28
+ ]), U = L?.activeSurface ?? null, W = L?.overrides, G = p(() => {
27
29
  let { items: e } = c(F.filter((e) => e.visible !== !1).sort((e, t) => (e.order ?? 999) - (t.order ?? 999)), {
28
- hasPermission: V,
29
- surfaceVisibleItems: H ? H.visibleItems : null,
30
- labelOverrides: H?.labelOverrides,
31
- overrides: R ? {} : U
30
+ hasPermission: H,
31
+ surfaceVisibleItems: U ? U.visibleItems : null,
32
+ labelOverrides: U?.labelOverrides,
33
+ overrides: R ? {} : W
32
34
  });
33
35
  return e;
34
36
  }, [
35
37
  F,
36
- V,
37
38
  H,
38
39
  U,
40
+ W,
39
41
  R
40
- ]), G = (e) => {
42
+ ]), K = (e) => {
41
43
  A(a(e, P));
42
- }, K = () => {
44
+ }, q = () => {
43
45
  A(a("/", P));
44
- }, q = /* @__PURE__ */ g("div", {
46
+ }, J = /* @__PURE__ */ g("div", {
45
47
  className: "flex items-center gap-icon-gap cursor-pointer",
46
- onClick: K,
48
+ onClick: q,
47
49
  role: "button",
48
50
  tabIndex: 0,
49
51
  onKeyDown: (e) => {
50
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), K());
52
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), q());
51
53
  },
52
54
  "aria-label": O,
53
55
  children: [typeof y == "string" ? /* @__PURE__ */ h("div", {
@@ -68,19 +70,19 @@ function y({ logo: y, appName: b, groupOrder: x, groupLabels: S, mobileActions:
68
70
  "data-tour": "sidenav",
69
71
  className: "h-full",
70
72
  children: [/* @__PURE__ */ h(l, {
71
- items: W,
73
+ items: G,
72
74
  currentPath: j.pathname,
73
75
  collapsed: M,
74
76
  groupOrder: x,
75
77
  groupLabels: S,
76
- onItemClick: G,
78
+ onItemClick: K,
77
79
  onToggleCollapse: N,
78
80
  collapseLabel: k,
79
81
  mobileActions: C,
80
- header: w ?? q,
82
+ header: w ?? J,
81
83
  footer: L ? /* @__PURE__ */ h(f, {}) : void 0,
82
84
  contextSearchParams: P
83
- }, L ? `${H?.id ?? "everything"}:${R?.roleId ?? ""}` : void 0), L && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(u, {
85
+ }, L ? `${U?.id ?? "everything"}:${R?.roleId ?? ""}` : void 0), L && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(u, {
84
86
  groupLabels: S,
85
87
  groupOrder: x
86
88
  }), /* @__PURE__ */ h(d, {})] })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.805.5",
3
+ "version": "2026.810.1",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "type": "module",
6
6
  "bin": {