@flytedan/flytebot-design-system 0.2.1 → 0.3.0
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 +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/styles/components.css +10 -3
package/dist/index.cjs
CHANGED
|
@@ -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
|
}
|
|
@@ -6590,6 +6590,16 @@ var RuntimeKit = {
|
|
|
6590
6590
|
declared() {
|
|
6591
6591
|
return Object.keys(needs);
|
|
6592
6592
|
},
|
|
6593
|
+
/** Tell this module which endpoints the consuming app has actually wired to a real backend.
|
|
6594
|
+
* Additive — merges into WIRED_ENDPOINTS, never replaces it, so multiple call sites in a
|
|
6595
|
+
* consuming app (or a call that runs more than once, e.g. React strict-mode double-invoke)
|
|
6596
|
+
* compose safely instead of one clobbering another. Call once, early, before first render:
|
|
6597
|
+
* status() reads WIRED_ENDPOINTS live but nothing here triggers a re-render on its own. */
|
|
6598
|
+
wireEndpoints(ids) {
|
|
6599
|
+
(ids || []).forEach((id) => {
|
|
6600
|
+
if (WIRED_ENDPOINTS.indexOf(id) < 0) WIRED_ENDPOINTS.push(id);
|
|
6601
|
+
});
|
|
6602
|
+
},
|
|
6593
6603
|
isEndpointWired(id) {
|
|
6594
6604
|
return WIRED_ENDPOINTS.indexOf(id) >= 0;
|
|
6595
6605
|
},
|