@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.js
CHANGED
|
@@ -734,7 +734,7 @@ function Tip({ label, children }) {
|
|
|
734
734
|
}
|
|
735
735
|
function SidebarNav({ brand, groups = [], current: current2, onNavigate, footer, open = false, className = "", ...rest }) {
|
|
736
736
|
return /* @__PURE__ */ jsxs9("nav", { className: ["fd-side", className].filter(Boolean).join(" "), "data-open": open ? "true" : "false", ...rest, children: [
|
|
737
|
-
brand ? /* @__PURE__ */ jsx13("div", { style: {
|
|
737
|
+
brand ? /* @__PURE__ */ jsx13("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,
|
|
738
738
|
/* @__PURE__ */ jsx13("div", { style: { flex: 1, overflow: "auto", padding: "4px 10px 18px" }, children: groups.map((g, gi) => /* @__PURE__ */ jsxs9("div", { children: [
|
|
739
739
|
g.label ? /* @__PURE__ */ jsx13("div", { className: "fd-side-group", children: g.label }) : null,
|
|
740
740
|
/* @__PURE__ */ jsx13("div", { className: "fd-stack", style: { gap: 2 }, children: g.items.map((it) => /* @__PURE__ */ jsxs9(
|
|
@@ -762,7 +762,7 @@ function SidebarNav({ brand, groups = [], current: current2, onNavigate, footer,
|
|
|
762
762
|
|
|
763
763
|
// src/components/navigation/FlytedeskBrand.tsx
|
|
764
764
|
import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
765
|
-
var LOGO_SRC = "https://
|
|
765
|
+
var LOGO_SRC = "https://cdn.prod.website-files.com/69a96def413819b7db64de8c/69ac8ec2ed84b986a5fb76dc_Logo%20(dark)%202.svg";
|
|
766
766
|
function FlytedeskMark({ size = "md", className = "", ...rest }) {
|
|
767
767
|
return /* @__PURE__ */ jsx14("span", { className: ["fd-brand-mark", size !== "md" ? "fd-brand-mark-" + size : "", className].filter(Boolean).join(" "), ...rest, children: /* @__PURE__ */ jsx14("img", { src: LOGO_SRC, alt: "flytedesk" }) });
|
|
768
768
|
}
|