@opengeoweb/shared 9.28.0 → 9.29.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/index.esm.js +512 -491
- package/package.json +2 -2
- package/src/index.d.ts +7 -7
- package/src/lib/components/AlertBanner/AlertBanner.d.ts +16 -16
- package/src/lib/components/AlertBanner/AlertBanner.spec.d.ts +1 -1
- package/src/lib/components/AlertBanner/AlertBanner.stories.d.ts +13 -13
- package/src/lib/components/AlertBanner/index.d.ts +1 -1
- package/src/lib/components/AlertIcon/AlertIcon.d.ts +8 -8
- package/src/lib/components/AlertIcon/index.d.ts +1 -1
- package/src/lib/components/AppHeader/AppHeader.d.ts +10 -10
- package/src/lib/components/AppHeader/AppHeader.spec.d.ts +1 -1
- package/src/lib/components/AppHeader/AppHeader.stories.d.ts +25 -25
- package/src/lib/components/AppHeader/index.d.ts +1 -1
- package/src/lib/components/AppLayout/AppLayout.d.ts +7 -7
- package/src/lib/components/AppLayout/AppLayout.spec.d.ts +1 -1
- package/src/lib/components/AppLayout/AppLayout.stories.d.ts +7 -7
- package/src/lib/components/AppLayout/index.d.ts +1 -1
- package/src/lib/components/Avatar/Avatar.d.ts +7 -7
- package/src/lib/components/Avatar/Avatar.stories.d.ts +25 -25
- package/src/lib/components/Avatar/index.d.ts +1 -1
- package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +71 -71
- package/src/lib/components/CanvasComponent/CanvasComponent.spec.d.ts +1 -1
- package/src/lib/components/CanvasComponent/CanvasComponent.stories.d.ts +7 -7
- package/src/lib/components/CanvasComponent/index.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +22 -22
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.spec.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +15 -15
- package/src/lib/components/ConfirmationDialog/ConfirmationService.d.ts +18 -18
- package/src/lib/components/ConfirmationDialog/ConfirmationService.spec.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/index.d.ts +2 -2
- package/src/lib/components/CustomAccordion/CustomAccordion.d.ts +13 -12
- package/src/lib/components/CustomAccordion/CustomAccordion.spec.d.ts +1 -1
- package/src/lib/components/CustomAccordion/CustomAccordion.stories.d.ts +13 -13
- package/src/lib/components/CustomAccordion/index.d.ts +1 -1
- package/src/lib/components/CustomDialog/CustomDialog.d.ts +10 -10
- package/src/lib/components/CustomDialog/CustomDialog.spec.d.ts +1 -1
- package/src/lib/components/CustomDialog/CustomDialog.stories.d.ts +13 -13
- package/src/lib/components/CustomDialog/index.d.ts +1 -1
- package/src/lib/components/CustomIconButton/CustomIconButton.d.ts +13 -13
- package/src/lib/components/CustomIconButton/CustomIconButton.spec.d.ts +1 -1
- package/src/lib/components/CustomIconButton/CustomIconButton.stories.d.ts +25 -25
- package/src/lib/components/CustomIconButton/index.d.ts +1 -1
- package/src/lib/components/CustomSlider/CustomSlider.d.ts +14 -14
- package/src/lib/components/CustomSlider/CustomSlider.spec.d.ts +1 -1
- package/src/lib/components/CustomSlider/CustomSlider.stories.d.ts +13 -13
- package/src/lib/components/CustomSlider/index.d.ts +1 -1
- package/src/lib/components/CustomToggleButton/CustomToggleButton.d.ts +8 -8
- package/src/lib/components/CustomToggleButton/CustomToggleButton.spec.d.ts +1 -1
- package/src/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +13 -13
- package/src/lib/components/CustomToggleButton/index.d.ts +1 -1
- package/src/lib/components/CustomTooltip/CustomTooltip.d.ts +8 -8
- package/src/lib/components/CustomTooltip/CustomTooltip.spec.d.ts +1 -1
- package/src/lib/components/CustomTooltip/index.d.ts +1 -1
- package/src/lib/components/DraggableResizable/Draggable.d.ts +15 -15
- package/src/lib/components/DraggableResizable/Draggable.spec.d.ts +1 -1
- package/src/lib/components/DraggableResizable/Resizable.d.ts +10 -10
- package/src/lib/components/DraggableResizable/Resizable.spec.d.ts +1 -1
- package/src/lib/components/DraggableResizable/index.d.ts +3 -3
- package/src/lib/components/DraggableResizable/types.d.ts +27 -27
- package/src/lib/components/ErrorBoundary/ErrorBoundary.d.ts +31 -31
- package/src/lib/components/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -1
- package/src/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +10 -10
- package/src/lib/components/ErrorBoundary/index.d.ts +1 -1
- package/src/lib/components/Filter/Filter.d.ts +13 -13
- package/src/lib/components/Filter/Filter.spec.d.ts +1 -1
- package/src/lib/components/Filter/Filter.stories.d.ts +25 -25
- package/src/lib/components/Filter/FilterChip.d.ts +13 -13
- package/src/lib/components/Filter/FilterChip.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterList.d.ts +15 -15
- package/src/lib/components/Filter/FilterList.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterListItem.d.ts +17 -17
- package/src/lib/components/Filter/FilterListItem.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterListItem.stories.d.ts +7 -7
- package/src/lib/components/Filter/SearchField.d.ts +8 -8
- package/src/lib/components/Filter/SearchField.spec.d.ts +1 -1
- package/src/lib/components/Filter/index.d.ts +8 -8
- package/src/lib/components/LastUpdateTime/LastUpdateTime.d.ts +10 -10
- package/src/lib/components/LastUpdateTime/LastUpdateTime.spec.d.ts +1 -1
- package/src/lib/components/LastUpdateTime/LastUpdateTime.stories.d.ts +13 -13
- package/src/lib/components/LastUpdateTime/index.d.ts +1 -1
- package/src/lib/components/Providers/Providers.d.ts +14 -14
- package/src/lib/components/Providers/index.d.ts +1 -1
- package/src/lib/components/SearchField/SearchField.d.ts +9 -9
- package/src/lib/components/SearchField/SearchField.spec.d.ts +1 -1
- package/src/lib/components/SearchField/SearchFieldButtonContainer.d.ts +9 -9
- package/src/lib/components/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -1
- package/src/lib/components/SearchField/index.d.ts +2 -2
- package/src/lib/components/SearchHighlight/SearchHighlight.d.ts +7 -7
- package/src/lib/components/SearchHighlight/SearchHighlight.spec.d.ts +1 -1
- package/src/lib/components/SearchHighlight/SearchHighlight.stories.d.ts +13 -13
- package/src/lib/components/SearchHighlight/index.d.ts +1 -1
- package/src/lib/components/StatusTag/StatusTag.d.ts +9 -9
- package/src/lib/components/StatusTag/StatusTag.spec.d.ts +1 -1
- package/src/lib/components/StatusTag/StatusTag.stories.d.ts +25 -25
- package/src/lib/components/StatusTag/index.d.ts +1 -1
- package/src/lib/components/SwitchButton/SwitchButton.d.ts +8 -8
- package/src/lib/components/SwitchButton/SwitchButton.spec.d.ts +1 -1
- package/src/lib/components/SwitchButton/index.d.ts +1 -1
- package/src/lib/components/ToggleMenu/ToggleMenu.d.ts +30 -30
- package/src/lib/components/ToggleMenu/ToggleMenu.spec.d.ts +1 -1
- package/src/lib/components/ToggleMenu/ToggleMenu.stories.d.ts +13 -13
- package/src/lib/components/ToggleMenu/index.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainer.d.ts +5 -5
- package/src/lib/components/ToolContainer/ToolContainer.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainer.stories.d.ts +28 -28
- package/src/lib/components/ToolContainer/ToolContainerDraggable.d.ts +37 -37
- package/src/lib/components/ToolContainer/ToolContainerDraggable.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainerDraggable.stories.d.ts +7 -7
- package/src/lib/components/ToolContainer/ToolContainerSnapShots.stories.d.ts +13 -13
- package/src/lib/components/ToolContainer/ToolFooter.d.ts +3 -3
- package/src/lib/components/ToolContainer/ToolFooter.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolHeader.d.ts +4 -4
- package/src/lib/components/ToolContainer/ToolHeader.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolHeader.stories.d.ts +23 -23
- package/src/lib/components/ToolContainer/index.d.ts +7 -7
- package/src/lib/components/ToolContainer/types.d.ts +20 -20
- package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.d.ts +15 -15
- package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.spec.d.ts +1 -1
- package/src/lib/components/TooltipSelect/TooltipSelect.d.ts +20 -20
- package/src/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +1 -1
- package/src/lib/components/TooltipSelect/TooltipSelect.stories.d.ts +13 -13
- package/src/lib/components/TooltipSelect/index.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.d.ts +3 -3
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +31 -31
- package/src/lib/components/UserMenu/CheatSheet/ShortcutList.d.ts +6 -6
- package/src/lib/components/UserMenu/CheatSheet/ShortcutList.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.d.ts +7 -7
- package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenu.d.ts +11 -11
- package/src/lib/components/UserMenu/UserMenu.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenu.stories.d.ts +15 -15
- package/src/lib/components/UserMenu/UserMenuItemCheatSheet.d.ts +3 -3
- package/src/lib/components/UserMenu/UserMenuItemCheatSheet.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenuItemTheme.d.ts +3 -3
- package/src/lib/components/UserMenu/UserMenuItemTheme.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenuSentryRecording.d.ts +7 -7
- package/src/lib/components/UserMenu/index.d.ts +6 -6
- package/src/lib/components/UserMenu/useUserMenu.d.ts +7 -7
- package/src/lib/components/UserMenu/useUserMenu.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/utils.d.ts +1 -1
- package/src/lib/components/WithEggs/WithEggs.d.ts +7 -7
- package/src/lib/components/WithEggs/WithEggs.spec.d.ts +1 -1
- package/src/lib/components/WithEggs/index.d.ts +1 -1
- package/src/lib/components/components.stories.d.ts +5 -5
- package/src/lib/components/index.d.ts +26 -26
- package/src/lib/hooks/index.d.ts +6 -6
- package/src/lib/hooks/useDebounce/useDebounce.d.ts +1 -1
- package/src/lib/hooks/useDebounce/useDebounce.spec.d.ts +1 -1
- package/src/lib/hooks/useIsMounted/useIsMounted.d.ts +4 -4
- package/src/lib/hooks/useIsMounted/useIsMounted.spec.d.ts +1 -1
- package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.d.ts +4 -4
- package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.spec.d.ts +1 -1
- package/src/lib/hooks/usePoller/usePoller.d.ts +3 -3
- package/src/lib/hooks/usePoller/usePoller.spec.d.ts +1 -1
- package/src/lib/hooks/usePoller/usePoller.stories.d.ts +6 -6
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.d.ts +2 -2
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.spec.d.ts +1 -1
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.stories.d.ts +6 -6
- package/src/lib/hooks/usePrevious/usePrevious.d.ts +1 -1
- package/src/lib/hooks/usePrevious/usePrevious.spec.d.ts +1 -1
- package/src/lib/hooks/usePrevious/usePrevious.stories.d.ts +6 -6
- package/src/lib/types/index.d.ts +1 -1
- package/src/lib/types/types.d.ts +107 -108
- package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.d.ts +8 -8
- package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.spec.d.ts +1 -1
- package/src/lib/utils/axiosErrorUtils/index.d.ts +1 -1
- package/src/lib/utils/dateUtils/dateFormats.d.ts +7 -7
- package/src/lib/utils/dateUtils/dateUtils.d.ts +343 -343
- package/src/lib/utils/dateUtils/dateUtils.spec.d.ts +1 -1
- package/src/lib/utils/dateUtils/index.d.ts +2 -2
- package/src/lib/utils/i18n.d.ts +7 -7
- package/src/lib/utils/index.d.ts +5 -5
- package/src/lib/utils/mapProjections.d.ts +75 -75
- package/src/lib/utils/reduxTestUtils/createMockStoreWithEggs.d.ts +20 -20
- package/src/lib/utils/reduxTestUtils/createMockStoreWithEggs.spec.d.ts +1 -1
- package/src/lib/utils/reduxTestUtils/index.d.ts +1 -1
- package/src/lib/utils/renderCounter.d.ts +21 -21
- package/src/lib/utils/renderCounter.spec.d.ts +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
import { NumberSize } from 're-resizable';
|
|
4
|
-
import { DraggableSize, DraggablePosition, Position, ResizableComponentProps, Size } from '../DraggableResizable/types';
|
|
5
|
-
import { HeaderSize } from './types';
|
|
6
|
-
export declare const calculateDialogSizeAndPosition: () => {
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
top: number;
|
|
10
|
-
left: number;
|
|
11
|
-
};
|
|
12
|
-
export declare const calculateStartSize: (minSize: DraggableSize, prefSize: DraggableSize, startPosition: Position) => DraggableSize;
|
|
13
|
-
interface DraggableComponentProps extends Omit<ResizableComponentProps, 'bounds'> {
|
|
14
|
-
startPosition?: Position;
|
|
15
|
-
onStartResize?: () => void;
|
|
16
|
-
isOpen?: boolean;
|
|
17
|
-
onClose?: () => void;
|
|
18
|
-
title?: string;
|
|
19
|
-
headerSize?: HeaderSize;
|
|
20
|
-
initialMaxHeight?: string | number;
|
|
21
|
-
onChangeSize?: (size: Size) => void;
|
|
22
|
-
onDragEnd?: (position: DraggablePosition, size: Size) => void;
|
|
23
|
-
onMouseDown?: (event: MouseEvent) => void;
|
|
24
|
-
bounds?: 'parent' | string;
|
|
25
|
-
cancel?: string;
|
|
26
|
-
order?: number;
|
|
27
|
-
source?: Source;
|
|
28
|
-
leftHeaderComponent?: React.ReactNode;
|
|
29
|
-
rightHeaderComponent?: React.ReactNode;
|
|
30
|
-
dragHandleIcon?: React.ReactNode;
|
|
31
|
-
closeIcon?: React.ReactNode;
|
|
32
|
-
sx?: SxProps;
|
|
33
|
-
}
|
|
34
|
-
export declare const calculateNewPosition: (position: DraggablePosition, isRightAligned: boolean, handle: string, delta: NumberSize) => DraggablePosition;
|
|
35
|
-
export type Source = 'app' | 'module';
|
|
36
|
-
declare const DraggableComponent: React.FC<DraggableComponentProps>;
|
|
37
|
-
export default DraggableComponent;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
import { NumberSize } from 're-resizable';
|
|
4
|
+
import { DraggableSize, DraggablePosition, Position, ResizableComponentProps, Size } from '../DraggableResizable/types';
|
|
5
|
+
import { HeaderSize } from './types';
|
|
6
|
+
export declare const calculateDialogSizeAndPosition: () => {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
top: number;
|
|
10
|
+
left: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const calculateStartSize: (minSize: DraggableSize, prefSize: DraggableSize, startPosition: Position) => DraggableSize;
|
|
13
|
+
interface DraggableComponentProps extends Omit<ResizableComponentProps, 'bounds'> {
|
|
14
|
+
startPosition?: Position;
|
|
15
|
+
onStartResize?: () => void;
|
|
16
|
+
isOpen?: boolean;
|
|
17
|
+
onClose?: () => void;
|
|
18
|
+
title?: string;
|
|
19
|
+
headerSize?: HeaderSize;
|
|
20
|
+
initialMaxHeight?: string | number;
|
|
21
|
+
onChangeSize?: (size: Size) => void;
|
|
22
|
+
onDragEnd?: (position: DraggablePosition, size: Size) => void;
|
|
23
|
+
onMouseDown?: (event: MouseEvent) => void;
|
|
24
|
+
bounds?: 'parent' | string;
|
|
25
|
+
cancel?: string;
|
|
26
|
+
order?: number;
|
|
27
|
+
source?: Source;
|
|
28
|
+
leftHeaderComponent?: React.ReactNode;
|
|
29
|
+
rightHeaderComponent?: React.ReactNode;
|
|
30
|
+
dragHandleIcon?: React.ReactNode;
|
|
31
|
+
closeIcon?: React.ReactNode;
|
|
32
|
+
sx?: SxProps;
|
|
33
|
+
}
|
|
34
|
+
export declare const calculateNewPosition: (position: DraggablePosition, isRightAligned: boolean, handle: string, delta: NumberSize) => DraggablePosition;
|
|
35
|
+
export type Source = 'app' | 'module';
|
|
36
|
+
declare const DraggableComponent: React.FC<DraggableComponentProps>;
|
|
37
|
+
export default DraggableComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ThemeLight: React.FC;
|
|
7
|
-
export declare const ThemeDark: React.FC;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ThemeLight: React.FC;
|
|
7
|
+
export declare const ThemeDark: React.FC;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ToolContainerLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const ToolContainerDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ToolContainerLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const ToolContainerDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const ToolFooter: React.FC;
|
|
3
|
-
export default ToolFooter;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ToolFooter: React.FC;
|
|
3
|
+
export default ToolFooter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToolHeaderProps } from './types';
|
|
3
|
-
declare const ToolHeader: React.FC<ToolHeaderProps>;
|
|
4
|
-
export default ToolHeader;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToolHeaderProps } from './types';
|
|
3
|
+
declare const ToolHeader: React.FC<ToolHeaderProps>;
|
|
4
|
+
export default ToolHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ThemeLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
parameters: {
|
|
9
|
-
zeplinLink: {
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const ThemeDark: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
parameters: {
|
|
18
|
-
zeplinLink: {
|
|
19
|
-
name: string;
|
|
20
|
-
link: string;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ThemeLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const ThemeDark: {
|
|
16
|
+
(): React.ReactElement;
|
|
17
|
+
parameters: {
|
|
18
|
+
zeplinLink: {
|
|
19
|
+
name: string;
|
|
20
|
+
link: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { default as ToolContainer } from './ToolContainer';
|
|
2
|
-
export { default as ToolContainerDraggable } from './ToolContainerDraggable';
|
|
3
|
-
export type { Source } from './ToolContainerDraggable';
|
|
4
|
-
export { calculateDialogSizeAndPosition, calculateStartSize, } from './ToolContainerDraggable';
|
|
5
|
-
export { default as ToolHeader } from './ToolHeader';
|
|
6
|
-
export { default as ToolFooter } from './ToolFooter';
|
|
7
|
-
export * from './types';
|
|
1
|
+
export { default as ToolContainer } from './ToolContainer';
|
|
2
|
+
export { default as ToolContainerDraggable } from './ToolContainerDraggable';
|
|
3
|
+
export type { Source } from './ToolContainerDraggable';
|
|
4
|
+
export { calculateDialogSizeAndPosition, calculateStartSize, } from './ToolContainerDraggable';
|
|
5
|
+
export { default as ToolHeader } from './ToolHeader';
|
|
6
|
+
export { default as ToolFooter } from './ToolFooter';
|
|
7
|
+
export * from './types';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PaperProps } from '@mui/material';
|
|
3
|
-
export type HeaderSize = 'xxs' | 'xs' | 'small' | 'medium' | 'large';
|
|
4
|
-
export interface ToolHeaderProps {
|
|
5
|
-
title?: string;
|
|
6
|
-
size?: HeaderSize;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
className?: string;
|
|
9
|
-
isDraggable?: boolean;
|
|
10
|
-
leftHeaderComponent?: React.ReactNode;
|
|
11
|
-
rightHeaderComponent?: React.ReactNode;
|
|
12
|
-
dragHandleIcon?: React.ReactNode;
|
|
13
|
-
closeIcon?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export interface ToolContainerProps extends PaperProps, ToolHeaderProps {
|
|
16
|
-
isResizable?: boolean;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
maxHeight?: string | number;
|
|
19
|
-
headerClassName?: string;
|
|
20
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PaperProps } from '@mui/material';
|
|
3
|
+
export type HeaderSize = 'xxs' | 'xs' | 'small' | 'medium' | 'large';
|
|
4
|
+
export interface ToolHeaderProps {
|
|
5
|
+
title?: string;
|
|
6
|
+
size?: HeaderSize;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
className?: string;
|
|
9
|
+
isDraggable?: boolean;
|
|
10
|
+
leftHeaderComponent?: React.ReactNode;
|
|
11
|
+
rightHeaderComponent?: React.ReactNode;
|
|
12
|
+
dragHandleIcon?: React.ReactNode;
|
|
13
|
+
closeIcon?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export interface ToolContainerProps extends PaperProps, ToolHeaderProps {
|
|
16
|
+
isResizable?: boolean;
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
maxHeight?: string | number;
|
|
19
|
+
headerClassName?: string;
|
|
20
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DraggablePosition, Position, Size } from '../DraggableResizable/types';
|
|
3
|
-
export declare const getNewPositionSize: (element: Element, boundsNode: Element, isRightAligned: boolean, position: DraggablePosition, newSize?: Size) => {
|
|
4
|
-
position: Position;
|
|
5
|
-
size: Size;
|
|
6
|
-
};
|
|
7
|
-
export declare const useHandleSizeFromOutsideComponent: ({ nodeRef, bounds, position, isRightAligned, isOpen, startSize, onChangeSize, }: {
|
|
8
|
-
nodeRef: React.RefObject<HTMLDivElement>;
|
|
9
|
-
position: DraggablePosition;
|
|
10
|
-
bounds: string;
|
|
11
|
-
isRightAligned: boolean;
|
|
12
|
-
isOpen: boolean;
|
|
13
|
-
startSize: Size;
|
|
14
|
-
onChangeSize: (size: Size) => void;
|
|
15
|
-
}) => void;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DraggablePosition, Position, Size } from '../DraggableResizable/types';
|
|
3
|
+
export declare const getNewPositionSize: (element: Element, boundsNode: Element, isRightAligned: boolean, position: DraggablePosition, newSize?: Size) => {
|
|
4
|
+
position: Position;
|
|
5
|
+
size: Size;
|
|
6
|
+
};
|
|
7
|
+
export declare const useHandleSizeFromOutsideComponent: ({ nodeRef, bounds, position, isRightAligned, isOpen, startSize, onChangeSize, }: {
|
|
8
|
+
nodeRef: React.RefObject<HTMLDivElement>;
|
|
9
|
+
position: DraggablePosition;
|
|
10
|
+
bounds: string;
|
|
11
|
+
isRightAligned: boolean;
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
startSize: Size;
|
|
14
|
+
onChangeSize: (size: Size) => void;
|
|
15
|
+
}) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseSelectProps, SelectVariants, SxProps, Theme } from '@mui/material';
|
|
3
|
-
interface ListElement {
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
type TooltipSelectProps = Omit<BaseSelectProps, 'sx'> & {
|
|
7
|
-
tooltip: string;
|
|
8
|
-
list?: ListElement[];
|
|
9
|
-
currentIndex?: number;
|
|
10
|
-
onChangeMouseWheel?: (element: ListElement) => void;
|
|
11
|
-
requiresCtrlToChange?: boolean;
|
|
12
|
-
isEnabled?: boolean;
|
|
13
|
-
hasBackgroundColor?: boolean;
|
|
14
|
-
variant?: SelectVariants;
|
|
15
|
-
additionalStyling?: SxProps;
|
|
16
|
-
skipLocalStyling?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare const TooltipSelect: React.FC<TooltipSelectProps>;
|
|
19
|
-
export declare const tooltipContainerStyles: (theme: Theme, isEnabled: boolean, hasBackgroundColor?: boolean) => object;
|
|
20
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseSelectProps, SelectVariants, SxProps, Theme } from '@mui/material';
|
|
3
|
+
interface ListElement {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
type TooltipSelectProps = Omit<BaseSelectProps, 'sx'> & {
|
|
7
|
+
tooltip: string;
|
|
8
|
+
list?: ListElement[];
|
|
9
|
+
currentIndex?: number;
|
|
10
|
+
onChangeMouseWheel?: (element: ListElement) => void;
|
|
11
|
+
requiresCtrlToChange?: boolean;
|
|
12
|
+
isEnabled?: boolean;
|
|
13
|
+
hasBackgroundColor?: boolean;
|
|
14
|
+
variant?: SelectVariants;
|
|
15
|
+
additionalStyling?: SxProps;
|
|
16
|
+
skipLocalStyling?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare const TooltipSelect: React.FC<TooltipSelectProps>;
|
|
19
|
+
export declare const tooltipContainerStyles: (theme: Theme, isEnabled: boolean, hasBackgroundColor?: boolean) => object;
|
|
20
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TooltipSelectLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const TooltipSelectDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const TooltipSelectLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const TooltipSelectDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TooltipSelect';
|
|
1
|
+
export * from './TooltipSelect';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const CheatSheet: React.FC;
|
|
3
|
-
export default CheatSheet;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const CheatSheet: React.FC;
|
|
3
|
+
export default CheatSheet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ThemeLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
parameters: {
|
|
9
|
-
zeplinLink: {
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const ThemeDark: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
parameters: {
|
|
18
|
-
zeplinLink: {
|
|
19
|
-
name: string;
|
|
20
|
-
link: string;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const CheatSheetLight: {
|
|
25
|
-
(): React.ReactElement;
|
|
26
|
-
tags: string[];
|
|
27
|
-
};
|
|
28
|
-
export declare const CheatSheetDark: {
|
|
29
|
-
(): React.ReactElement;
|
|
30
|
-
tags: string[];
|
|
31
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ThemeLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const ThemeDark: {
|
|
16
|
+
(): React.ReactElement;
|
|
17
|
+
parameters: {
|
|
18
|
+
zeplinLink: {
|
|
19
|
+
name: string;
|
|
20
|
+
link: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const CheatSheetLight: {
|
|
25
|
+
(): React.ReactElement;
|
|
26
|
+
tags: string[];
|
|
27
|
+
};
|
|
28
|
+
export declare const CheatSheetDark: {
|
|
29
|
+
(): React.ReactElement;
|
|
30
|
+
tags: string[];
|
|
31
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Platform = 'windows' | 'mac';
|
|
3
|
-
declare const ShortcutList: React.FC<{
|
|
4
|
-
platform?: Platform;
|
|
5
|
-
}>;
|
|
6
|
-
export default ShortcutList;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Platform = 'windows' | 'mac';
|
|
3
|
+
declare const ShortcutList: React.FC<{
|
|
4
|
+
platform?: Platform;
|
|
5
|
+
}>;
|
|
6
|
+
export default ShortcutList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ShortCutSegmentProps {
|
|
3
|
-
type?: 'text' | 'icon' | 'divider' | 'connect';
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const ShortCutSegment: React.FC<ShortCutSegmentProps>;
|
|
7
|
-
export default ShortCutSegment;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ShortCutSegmentProps {
|
|
3
|
+
type?: 'text' | 'icon' | 'divider' | 'connect';
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const ShortCutSegment: React.FC<ShortCutSegmentProps>;
|
|
7
|
+
export default ShortCutSegment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface UserMenuProps {
|
|
3
|
-
isOpen?: boolean;
|
|
4
|
-
onToggle?: () => void;
|
|
5
|
-
onClose?: () => void;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
initials?: string;
|
|
8
|
-
isAdmin?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const UserMenu: React.FC<UserMenuProps>;
|
|
11
|
-
export default UserMenu;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface UserMenuProps {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
onToggle?: () => void;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
initials?: string;
|
|
8
|
+
isAdmin?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const UserMenu: React.FC<UserMenuProps>;
|
|
11
|
+
export default UserMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ThemeLight: () => React.ReactElement;
|
|
7
|
-
export declare const ThemeDark: () => React.ReactElement;
|
|
8
|
-
export declare const UserMenuLight: {
|
|
9
|
-
(): React.ReactElement;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
export declare const UserMenuDark: {
|
|
13
|
-
(): React.ReactElement;
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ThemeLight: () => React.ReactElement;
|
|
7
|
+
export declare const ThemeDark: () => React.ReactElement;
|
|
8
|
+
export declare const UserMenuLight: {
|
|
9
|
+
(): React.ReactElement;
|
|
10
|
+
tags: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare const UserMenuDark: {
|
|
13
|
+
(): React.ReactElement;
|
|
14
|
+
tags: string[];
|
|
15
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const UserMenuItemCheatSheet: React.FC;
|
|
3
|
-
export default UserMenuItemCheatSheet;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const UserMenuItemCheatSheet: React.FC;
|
|
3
|
+
export default UserMenuItemCheatSheet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const MenuItemTheme: React.FC;
|
|
3
|
-
export default MenuItemTheme;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const MenuItemTheme: React.FC;
|
|
3
|
+
export default MenuItemTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface UserMenuSentryRecordingProps {
|
|
3
|
-
recordButtonEnabled?: boolean;
|
|
4
|
-
setRecordButtonEnabled?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
-
}
|
|
6
|
-
declare const UserMenuItemSentryRecording: React.FC<UserMenuSentryRecordingProps>;
|
|
7
|
-
export default UserMenuItemSentryRecording;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface UserMenuSentryRecordingProps {
|
|
3
|
+
recordButtonEnabled?: boolean;
|
|
4
|
+
setRecordButtonEnabled?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
+
}
|
|
6
|
+
declare const UserMenuItemSentryRecording: React.FC<UserMenuSentryRecordingProps>;
|
|
7
|
+
export default UserMenuItemSentryRecording;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as UserMenu } from './UserMenu';
|
|
2
|
-
export { default as UserMenuItemTheme } from './UserMenuItemTheme';
|
|
3
|
-
export { default as UserMenuItemCheatSheet } from './UserMenuItemCheatSheet';
|
|
4
|
-
export { default as UserMenuItemSentryRecording } from './UserMenuSentryRecording';
|
|
5
|
-
export { useUserMenu } from './useUserMenu';
|
|
6
|
-
export { getInitials } from './utils';
|
|
1
|
+
export { default as UserMenu } from './UserMenu';
|
|
2
|
+
export { default as UserMenuItemTheme } from './UserMenuItemTheme';
|
|
3
|
+
export { default as UserMenuItemCheatSheet } from './UserMenuItemCheatSheet';
|
|
4
|
+
export { default as UserMenuItemSentryRecording } from './UserMenuSentryRecording';
|
|
5
|
+
export { useUserMenu } from './useUserMenu';
|
|
6
|
+
export { getInitials } from './utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
interface UseUserMenuProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
onClose: () => void;
|
|
4
|
-
onToggle: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const useUserMenu: (open?: boolean) => UseUserMenuProps;
|
|
7
|
-
export {};
|
|
1
|
+
interface UseUserMenuProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const useUserMenu: (open?: boolean) => UseUserMenuProps;
|
|
7
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getInitials: (name: string) => string;
|
|
1
|
+
export declare const getInitials: (name: string) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Egg } from '@redux-eggs/core';
|
|
3
|
-
import { Theme } from '@mui/material';
|
|
4
|
-
export declare function withEggs(eggs: Egg[]): (Component: React.FC<{
|
|
5
|
-
children: React.ReactElement;
|
|
6
|
-
theme?: Theme;
|
|
7
|
-
}>) => React.FC;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Egg } from '@redux-eggs/core';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
|
+
export declare function withEggs(eggs: Egg[]): (Component: React.FC<{
|
|
5
|
+
children: React.ReactElement;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
}>) => React.FC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|