@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.d.cts CHANGED
@@ -2637,6 +2637,12 @@ declare const RuntimeKit: {
2637
2637
  needsOf(key: string): string[];
2638
2638
  /** Every declared feature, for the admin surface. */
2639
2639
  declared(): string[];
2640
+ /** Tell this module which endpoints the consuming app has actually wired to a real backend.
2641
+ * Additive — merges into WIRED_ENDPOINTS, never replaces it, so multiple call sites in a
2642
+ * consuming app (or a call that runs more than once, e.g. React strict-mode double-invoke)
2643
+ * compose safely instead of one clobbering another. Call once, early, before first render:
2644
+ * status() reads WIRED_ENDPOINTS live but nothing here triggers a re-render on its own. */
2645
+ wireEndpoints(ids: string[]): void;
2640
2646
  isEndpointWired(id: string): boolean;
2641
2647
  /** The whole point: complete is computed, never stored. */
2642
2648
  status(key: string): FeatureStatus;
package/dist/index.d.ts CHANGED
@@ -2637,6 +2637,12 @@ declare const RuntimeKit: {
2637
2637
  needsOf(key: string): string[];
2638
2638
  /** Every declared feature, for the admin surface. */
2639
2639
  declared(): string[];
2640
+ /** Tell this module which endpoints the consuming app has actually wired to a real backend.
2641
+ * Additive — merges into WIRED_ENDPOINTS, never replaces it, so multiple call sites in a
2642
+ * consuming app (or a call that runs more than once, e.g. React strict-mode double-invoke)
2643
+ * compose safely instead of one clobbering another. Call once, early, before first render:
2644
+ * status() reads WIRED_ENDPOINTS live but nothing here triggers a re-render on its own. */
2645
+ wireEndpoints(ids: string[]): void;
2640
2646
  isEndpointWired(id: string): boolean;
2641
2647
  /** The whole point: complete is computed, never stored. */
2642
2648
  status(key: string): FeatureStatus;
package/dist/index.js CHANGED
@@ -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://sponsored.flytedesk.com/logo-white-bg.png";
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
  }
@@ -6407,6 +6407,16 @@ var RuntimeKit = {
6407
6407
  declared() {
6408
6408
  return Object.keys(needs);
6409
6409
  },
6410
+ /** Tell this module which endpoints the consuming app has actually wired to a real backend.
6411
+ * Additive — merges into WIRED_ENDPOINTS, never replaces it, so multiple call sites in a
6412
+ * consuming app (or a call that runs more than once, e.g. React strict-mode double-invoke)
6413
+ * compose safely instead of one clobbering another. Call once, early, before first render:
6414
+ * status() reads WIRED_ENDPOINTS live but nothing here triggers a re-render on its own. */
6415
+ wireEndpoints(ids) {
6416
+ (ids || []).forEach((id) => {
6417
+ if (WIRED_ENDPOINTS.indexOf(id) < 0) WIRED_ENDPOINTS.push(id);
6418
+ });
6419
+ },
6410
6420
  isEndpointWired(id) {
6411
6421
  return WIRED_ENDPOINTS.indexOf(id) >= 0;
6412
6422
  },