@flytedan/flytebot-design-system 0.2.0 → 0.2.2
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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +24 -10
package/dist/index.cjs
CHANGED
|
@@ -917,7 +917,7 @@ function Tip({ label, children }) {
|
|
|
917
917
|
}
|
|
918
918
|
function SidebarNav({ brand, groups = [], current: current2, onNavigate, footer, open = false, className = "", ...rest }) {
|
|
919
919
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("nav", { className: ["fd-side", className].filter(Boolean).join(" "), "data-open": open ? "true" : "false", ...rest, children: [
|
|
920
|
-
brand ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: {
|
|
920
|
+
brand ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { height: "var(--topbar-h)", display: "flex", alignItems: "center", padding: "0 18px", borderBottom: "1px solid var(--border)", flex: "none", overflow: "hidden" }, children: brand }) : null,
|
|
921
921
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { flex: 1, overflow: "auto", padding: "4px 10px 18px" }, children: groups.map((g, gi) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
|
|
922
922
|
g.label ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "fd-side-group", children: g.label }) : null,
|
|
923
923
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "fd-stack", style: { gap: 2 }, children: g.items.map((it) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
@@ -945,7 +945,7 @@ function SidebarNav({ brand, groups = [], current: current2, onNavigate, footer,
|
|
|
945
945
|
|
|
946
946
|
// src/components/navigation/FlytedeskBrand.tsx
|
|
947
947
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
948
|
-
var LOGO_SRC = "https://
|
|
948
|
+
var LOGO_SRC = "https://cdn.prod.website-files.com/69a96def413819b7db64de8c/69ac8ec2ed84b986a5fb76dc_Logo%20(dark)%202.svg";
|
|
949
949
|
function FlytedeskMark({ size = "md", className = "", ...rest }) {
|
|
950
950
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: ["fd-brand-mark", size !== "md" ? "fd-brand-mark-" + size : "", className].filter(Boolean).join(" "), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("img", { src: LOGO_SRC, alt: "flytedesk" }) });
|
|
951
951
|
}
|