@devtable/dashboard 14.14.0 → 14.16.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.
@@ -1,3 +1,3 @@
1
- export declare const SearchButton: ({ disabled }: {
2
- disabled: boolean;
3
- }) => import('./react/jsx-runtime').JSX.Element;
1
+ /// <reference types="react" />
2
+ import { RenderSearchButtonProps } from '../../../index';
3
+ export declare const SearchButton: ({ disabled, onSubmit }: RenderSearchButtonProps) => string | number | boolean | import('./react/jsx-runtime').JSX.Element | Iterable<import('./react').ReactNode> | null | undefined;
@@ -92,6 +92,8 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, vari
92
92
  };
93
93
  label: {
94
94
  formatter: any;
95
+ position: string;
96
+ align: string;
95
97
  };
96
98
  }[];
97
99
  } | undefined;
@@ -19,6 +19,8 @@ export declare function getMarkLineAndArea(conf: IParetoChartConf, lineData: TLi
19
19
  };
20
20
  label: {
21
21
  formatter: any;
22
+ position: string;
23
+ align: string;
22
24
  };
23
25
  }[];
24
26
  };
@@ -55,6 +55,8 @@ export declare function getSeries(conf: IParetoChartConf, data: TPanelData, form
55
55
  };
56
56
  label: {
57
57
  formatter: any;
58
+ position: string;
59
+ align: string;
58
60
  };
59
61
  }[];
60
62
  } | undefined;
@@ -1,8 +1,8 @@
1
- import { ButtonProps } from '@mantine/core';
2
- import React from './react';
1
+ import React, { ReactNode } from './react';
2
+ import { RenderSearchButtonProps } from '..';
3
3
  export declare const DashboardThemeContextProvider: React.Provider<{
4
- searchButtonProps: ButtonProps;
4
+ renderSearchButton?: ((props: RenderSearchButtonProps) => ReactNode) | undefined;
5
5
  }>;
6
6
  export declare function useDashboardThemeContext(): {
7
- searchButtonProps: ButtonProps;
7
+ renderSearchButton?: ((props: RenderSearchButtonProps) => React.ReactNode) | undefined;
8
8
  };