@burdenoff/fe-libs 2026.1027.12 → 2026.1027.13

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.
@@ -2,29 +2,38 @@ import { useI18n as e } from "../../shared/providers/shell/I18nProvider.js";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
3
  //#region src/chrome/sideNavigation/MobileActionsBar.tsx
4
4
  var r = ({ actions: r, collapsed: i, onToggleCollapse: a }) => {
5
- let { t: o } = e();
5
+ let { t: o } = e(), s = (e, t) => {
6
+ let n = o(e);
7
+ return n === e ? t : n;
8
+ }, c = r.length % 3 == 1;
6
9
  return /* @__PURE__ */ n("div", {
7
10
  className: "md:hidden py-4 px-4 border-t border-border-subtle bg-bg-sunken/50",
8
11
  children: [/* @__PURE__ */ t("p", {
9
12
  className: "text-[11px] text-text-muted mb-3 font-medium uppercase tracking-wider",
10
- children: ((e, t) => {
11
- let n = o(e);
12
- return n === e ? t : n;
13
- })("appShell.quickActions", "Quick Actions")
13
+ children: s("appShell.quickActions", "Quick Actions")
14
14
  }), /* @__PURE__ */ t("div", {
15
- className: "flex flex-wrap items-center justify-center gap-3",
16
- children: r.map((e) => /* @__PURE__ */ t("button", {
17
- onClick: () => {
18
- e.onClick(), e.closeSidebar !== !1 && a && !i && a();
19
- },
20
- className: `flex shrink-0 items-center justify-center w-12 h-12 rounded-xl text-body-sm font-medium transition-all ${e.isToggle && e.isActive ? "bg-action-primary-bg text-action-primary-text shadow-sm" : "bg-bg-surface text-text-primary hover:bg-action-ghost-bg-hover border border-border-subtle hover:border-border-default active:scale-95"}`,
21
- "aria-label": e.label,
22
- title: e.label,
23
- children: /* @__PURE__ */ t("span", {
24
- className: "size-5",
25
- children: e.icon
26
- })
27
- }, e.id))
15
+ className: "grid grid-cols-3 gap-2",
16
+ children: r.map((e, o) => {
17
+ let s = !!e.isToggle && !!e.isActive, l = o === r.length - 1;
18
+ return /* @__PURE__ */ n("button", {
19
+ type: "button",
20
+ onClick: () => {
21
+ e.onClick(), e.closeSidebar !== !1 && a && !i && a();
22
+ },
23
+ "aria-pressed": e.isToggle ? s : void 0,
24
+ "aria-label": e.label,
25
+ title: e.label,
26
+ className: `flex w-full min-h-[64px] flex-col items-center justify-center gap-1.5 rounded-button px-2 py-3 text-center transition-colors duration-150 focus-visible:outline-none focus-visible:shadow-[var(--shadow-focus)] focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] ${c && l ? "col-start-2" : ""} ${s ? "bg-[var(--color-accent-soft)] text-text-primary font-medium" : "text-text-secondary hover:bg-bg-sunken hover:text-text-primary active:scale-95"}`,
27
+ children: [/* @__PURE__ */ t("span", {
28
+ className: "inline-flex size-5 shrink-0 items-center justify-center",
29
+ "aria-hidden": "true",
30
+ children: e.icon
31
+ }), /* @__PURE__ */ t("span", {
32
+ className: "text-[11px] leading-tight",
33
+ children: e.label
34
+ })]
35
+ }, e.id);
36
+ })
28
37
  })]
29
38
  });
30
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.1027.12",
3
+ "version": "2026.1027.13",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "type": "module",
6
6
  "bin": {