@burdenoff/fe-libs 2026.1028.13 → 2026.1028.15
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,34 +2,34 @@ 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()
|
|
6
|
-
let n = o(e);
|
|
7
|
-
return n === e ? t : n;
|
|
8
|
-
}, c = r.length % 3 == 1;
|
|
5
|
+
let { t: o } = e();
|
|
9
6
|
return /* @__PURE__ */ n("div", {
|
|
10
|
-
className: "md:hidden
|
|
7
|
+
className: "md:hidden shrink-0 border-t border-border-subtle bg-bg-sunken/50 pt-2 pb-[max(0.5rem,env(safe-area-inset-bottom))]",
|
|
11
8
|
children: [/* @__PURE__ */ t("p", {
|
|
12
|
-
className: "text-[
|
|
13
|
-
children:
|
|
9
|
+
className: "px-4 pb-1.5 text-[10px] text-text-muted 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")
|
|
14
14
|
}), /* @__PURE__ */ t("div", {
|
|
15
|
-
className: "
|
|
16
|
-
children: r.map((e
|
|
17
|
-
let
|
|
15
|
+
className: "scrollbar-slim scrollbar-hover-only flex gap-1.5 overflow-x-auto px-4 pb-0.5",
|
|
16
|
+
children: r.map((e) => {
|
|
17
|
+
let r = !!e.isToggle && !!e.isActive;
|
|
18
18
|
return /* @__PURE__ */ n("button", {
|
|
19
19
|
type: "button",
|
|
20
20
|
onClick: () => {
|
|
21
21
|
e.onClick(), e.closeSidebar !== !1 && a && !i && a();
|
|
22
22
|
},
|
|
23
|
-
"aria-pressed": e.isToggle ?
|
|
23
|
+
"aria-pressed": e.isToggle ? r : void 0,
|
|
24
24
|
"aria-label": e.label,
|
|
25
25
|
title: e.label,
|
|
26
|
-
className: `flex w-
|
|
26
|
+
className: `flex w-16 shrink-0 flex-col items-center justify-center gap-1 rounded-button px-1 py-2 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)] ${r ? "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
27
|
children: [/* @__PURE__ */ t("span", {
|
|
28
28
|
className: "inline-flex size-5 shrink-0 items-center justify-center",
|
|
29
29
|
"aria-hidden": "true",
|
|
30
30
|
children: e.icon
|
|
31
31
|
}), /* @__PURE__ */ t("span", {
|
|
32
|
-
className: "text-[
|
|
32
|
+
className: "text-[10px] leading-tight line-clamp-2",
|
|
33
33
|
children: e.label
|
|
34
34
|
})]
|
|
35
35
|
}, e.id);
|