@tenorlab/react-dashboard 1.5.21 → 1.5.24

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.
@@ -68,7 +68,7 @@ export declare interface IButtonProps {
68
68
  shadow?: string;
69
69
  shadowHover?: string;
70
70
  addCss?: string;
71
- onClick: () => any;
71
+ onClick: (ev?: any) => any;
72
72
  children: React.ReactNode;
73
73
  }
74
74
 
@@ -307,6 +307,8 @@ export declare function MoveRightIcon({ className }: TIconProps): JSX_2.Element;
307
307
 
308
308
  export declare function RedoIcon({ className }: TIconProps): JSX_2.Element;
309
309
 
310
+ export declare function RenameIcon({ className }: TIconProps): JSX_2.Element;
311
+
310
312
  export declare function SettingsIcon({ className }: TIconProps): JSX_2.Element;
311
313
 
312
314
  export declare const showToast: (options: any) => void;
@@ -609,7 +611,15 @@ export declare type TWidgetSize = 'default' | 'large' | 'xlarge';
609
611
 
610
612
  export declare function UndoIcon({ className }: TIconProps): JSX_2.Element;
611
613
 
612
- export declare const useDashboardStore: UseBoundStore<StoreApi<TDashboardSlice>>;
614
+ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<TDashboardSlice>, "subscribe"> & {
615
+ subscribe: {
616
+ (listener: (selectedState: TDashboardSlice, previousSelectedState: TDashboardSlice) => void): () => void;
617
+ <U>(selector: (state: TDashboardSlice) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
618
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
619
+ fireImmediately?: boolean;
620
+ } | undefined): () => void;
621
+ };
622
+ }>;
613
623
 
614
624
  export declare const useDashboardUndoService: () => {
615
625
  initializeHistoryForDashboard: (initialConfig: IDashboardConfig) => void;