react-semaphor 0.0.652 → 0.0.654

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-Bg0LYX7P.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-pGIT-28z.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-1MhnSpH0.js";
1
+ import { D as f } from "../chunks/dashboard-plus-D3dnsw9E.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -63,6 +63,7 @@ declare type Actions = {
63
63
  setSheetLayouts: (sheetId: string, layouts: default_2.Layouts) => void;
64
64
  setSelectedCardId: (sheetId: string, cardId: string | null) => void;
65
65
  setSelectedFrameId: (frameId: string) => void;
66
+ clearSelectedFrameId: () => void;
66
67
  setCardTitle: (sheetId: string, cardId: string, title: string) => void;
67
68
  setCardInfo: (cardId: string, info: string) => void;
68
69
  setCardSql: (sheetId: string, cardId: string, sql: string) => void;
@@ -207,6 +208,14 @@ declare type Actions_2 = TableActions & ExplorerActions & DrillActions & {
207
208
  setOnClose: (onClose: () => void) => void;
208
209
  };
209
210
 
211
+ export declare function AdvancedModeToggle({ className, labelClassName, switchClassName, }: AdvancedModeToggleProps): JSX_2.Element | null;
212
+
213
+ declare interface AdvancedModeToggleProps {
214
+ className?: string;
215
+ labelClassName?: string;
216
+ switchClassName?: string;
217
+ }
218
+
210
219
  export declare type AggregateCalc = 'AVG' | 'MIN' | 'MAX' | 'SUM' | 'COUNT' | 'COUNT_DISTINCT';
211
220
 
212
221
  /**
@@ -2159,6 +2168,14 @@ export declare function useTextFilterHook(filterId: string): {
2159
2168
 
2160
2169
  export declare function Visual(props: VisualProps): JSX_2.Element;
2161
2170
 
2171
+ export declare function VisualBadge({ type, isLinked, className, }: VisualBadgeProps): JSX_2.Element | null;
2172
+
2173
+ declare interface VisualBadgeProps {
2174
+ type?: 'local' | 'linked' | 'library';
2175
+ isLinked?: boolean;
2176
+ className?: string;
2177
+ }
2178
+
2162
2179
  /**
2163
2180
  * Display mode for visual components - controls which UI elements are shown
2164
2181
  */
@@ -2196,6 +2213,12 @@ export declare type VisualDisplayPreferences = {
2196
2213
  };
2197
2214
  };
2198
2215
 
2216
+ export declare function VisualEditingControls({ className }: VisualEditingControlsProps): JSX_2.Element;
2217
+
2218
+ declare interface VisualEditingControlsProps {
2219
+ className?: string;
2220
+ }
2221
+
2199
2222
  declare type VisualProps = DashboardProps & {
2200
2223
  cardId: string;
2201
2224
  dashboardId: string;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.652",
8
+ "version": "0.0.654",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",