andoncloud-dashboard-toolkit 1.2.15 → 1.2.18

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,11 +1,11 @@
1
- import React from 'react';
2
- import { TooltipProps } from '@mui/material';
3
- interface ConfirmTooltipProps extends Omit<TooltipProps, 'title'> {
4
- confirmMessage: string;
5
- confirmButtonText: string;
6
- cancelButtonText: string;
7
- onCancel: () => void;
8
- onConfirm: () => void;
9
- }
10
- declare const ConfirmTooltip: React.FC<ConfirmTooltipProps>;
11
- export default ConfirmTooltip;
1
+ import React from 'react';
2
+ import { TooltipProps } from '@mui/material';
3
+ interface ConfirmTooltipProps extends Omit<TooltipProps, 'title'> {
4
+ confirmMessage: string;
5
+ confirmButtonText: string;
6
+ cancelButtonText: string;
7
+ onCancel: () => void;
8
+ onConfirm: () => void;
9
+ }
10
+ declare const ConfirmTooltip: React.FC<ConfirmTooltipProps>;
11
+ export default ConfirmTooltip;
@@ -1,3 +1,3 @@
1
- import { SxProps, Theme } from '@mui/material/styles';
2
- declare const styles: Record<string, SxProps<Theme>>;
3
- export default styles;
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ declare const styles: Record<string, SxProps<Theme>>;
3
+ export default styles;
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- import { OnChangeValue, Options } from 'react-select';
3
- export interface Option {
4
- label: string;
5
- value: string;
6
- }
7
- interface SortableSelectProps {
8
- placeholder: string;
9
- options: Options<Option>;
10
- selected: Array<Option['value']>;
11
- onChange: (selected: OnChangeValue<Option['value'], true>) => void;
12
- }
13
- declare const SortableSelect: React.FC<SortableSelectProps>;
14
- export default SortableSelect;
1
+ import React from 'react';
2
+ import { OnChangeValue, Options } from 'react-select';
3
+ export interface Option {
4
+ label: string;
5
+ value: string;
6
+ }
7
+ interface SortableSelectProps {
8
+ placeholder: string;
9
+ options: Options<Option>;
10
+ selected: Array<Option['value']>;
11
+ onChange: (selected: OnChangeValue<Option['value'], true>) => void;
12
+ }
13
+ declare const SortableSelect: React.FC<SortableSelectProps>;
14
+ export default SortableSelect;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { WidgetCardProps } from '../../types';
3
- declare const WidgetCard: React.FC<WidgetCardProps>;
4
- export default WidgetCard;
1
+ import React from 'react';
2
+ import { WidgetCardProps } from '../../types';
3
+ declare const WidgetCard: React.FC<WidgetCardProps>;
4
+ export default WidgetCard;
@@ -1,3 +1,3 @@
1
- import { SxProps, Theme } from '@mui/material/styles';
2
- declare const styles: Record<string, SxProps<Theme>>;
3
- export default styles;
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ declare const styles: Record<string, SxProps<Theme>>;
3
+ export default styles;
@@ -1,3 +1,3 @@
1
- export { default as ConfirmTooltip } from './ConfirmTooltip';
2
- export { default as SortableSelect } from './SortableSelect';
3
- export { default as WidgetCard } from './WidgetCard';
1
+ export { default as ConfirmTooltip } from './ConfirmTooltip';
2
+ export { default as SortableSelect } from './SortableSelect';
3
+ export { default as WidgetCard } from './WidgetCard';