@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,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const CustomAccordionLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const CustomAccordionDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const CustomAccordionLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const CustomAccordionDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CustomAccordion';
|
|
1
|
+
export * from './CustomAccordion';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DialogProps } from '@mui/material';
|
|
3
|
-
export type DialogAction = 'CLOSED';
|
|
4
|
-
export interface CustomDialogProps extends DialogProps {
|
|
5
|
-
description?: string;
|
|
6
|
-
actions?: React.ReactNode;
|
|
7
|
-
onClose: (reason: DialogAction) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const CustomDialog: React.FC<CustomDialogProps>;
|
|
10
|
-
export default CustomDialog;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DialogProps } from '@mui/material';
|
|
3
|
+
export type DialogAction = 'CLOSED';
|
|
4
|
+
export interface CustomDialogProps extends DialogProps {
|
|
5
|
+
description?: string;
|
|
6
|
+
actions?: React.ReactNode;
|
|
7
|
+
onClose: (reason: DialogAction) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const CustomDialog: React.FC<CustomDialogProps>;
|
|
10
|
+
export default CustomDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const CustomDialogLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const CustomDialogDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const CustomDialogLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const CustomDialogDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CustomDialog';
|
|
1
|
+
export * from './CustomDialog';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconButtonProps, TooltipProps as MuiTooltipProps } from '@mui/material';
|
|
3
|
-
export type Variant = 'flat' | 'tool' | 'boxed';
|
|
4
|
-
type TooltipProps = Omit<MuiTooltipProps, 'children'>;
|
|
5
|
-
export interface CustomIconProps extends IconButtonProps {
|
|
6
|
-
tooltipTitle?: string;
|
|
7
|
-
variant?: Variant;
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
shouldShowAsDisabled?: boolean;
|
|
10
|
-
tooltipProps?: TooltipProps;
|
|
11
|
-
}
|
|
12
|
-
export declare const CustomIconButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<CustomIconProps, "ref"> & React.RefAttributes<HTMLButtonElement>>>;
|
|
13
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconButtonProps, TooltipProps as MuiTooltipProps } from '@mui/material';
|
|
3
|
+
export type Variant = 'flat' | 'tool' | 'boxed';
|
|
4
|
+
type TooltipProps = Omit<MuiTooltipProps, 'children'>;
|
|
5
|
+
export interface CustomIconProps extends IconButtonProps {
|
|
6
|
+
tooltipTitle?: string;
|
|
7
|
+
variant?: Variant;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
shouldShowAsDisabled?: boolean;
|
|
10
|
+
tooltipProps?: TooltipProps;
|
|
11
|
+
}
|
|
12
|
+
export declare const CustomIconButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<CustomIconProps, "ref"> & React.RefAttributes<HTMLButtonElement>>>;
|
|
13
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const CustomIconButtonLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const CustomIconButtonDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const CustomIconButtonLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const CustomIconButtonDark: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
tags: string[];
|
|
19
|
+
parameters: {
|
|
20
|
+
zeplinLink: {
|
|
21
|
+
name: string;
|
|
22
|
+
link: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CustomIconButton';
|
|
1
|
+
export * from './CustomIconButton';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SliderProps } from '@mui/material';
|
|
3
|
-
export declare const sliderHeaderStyle: {
|
|
4
|
-
fontFamily: string;
|
|
5
|
-
fontSize: number;
|
|
6
|
-
color: string;
|
|
7
|
-
padding: string;
|
|
8
|
-
};
|
|
9
|
-
interface CustomSliderProps extends Omit<SliderProps, 'onChange'> {
|
|
10
|
-
onChange: (event: PointerEvent, newValue: number | number[]) => void;
|
|
11
|
-
shouldAutoFocus?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const CustomSlider: React.FC<CustomSliderProps>;
|
|
14
|
-
export default CustomSlider;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SliderProps } from '@mui/material';
|
|
3
|
+
export declare const sliderHeaderStyle: {
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
fontSize: number;
|
|
6
|
+
color: string;
|
|
7
|
+
padding: string;
|
|
8
|
+
};
|
|
9
|
+
interface CustomSliderProps extends Omit<SliderProps, 'onChange'> {
|
|
10
|
+
onChange: (event: PointerEvent, newValue: number | number[]) => void;
|
|
11
|
+
shouldAutoFocus?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const CustomSlider: React.FC<CustomSliderProps>;
|
|
14
|
+
export default CustomSlider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const CustomSliderLightTheme: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const CustomSliderDarkTheme: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const CustomSliderLightTheme: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const CustomSliderDarkTheme: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CustomSlider, sliderHeaderStyle } from './CustomSlider';
|
|
1
|
+
export { CustomSlider, sliderHeaderStyle } from './CustomSlider';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ToggleButtonProps } from '@mui/material';
|
|
3
|
-
import { ButtonVariant } from '@opengeoweb/theme';
|
|
4
|
-
export interface CustomToggleButtonProps extends Omit<ToggleButtonProps, 'value'> {
|
|
5
|
-
variant?: ButtonVariant;
|
|
6
|
-
value?: any;
|
|
7
|
-
}
|
|
8
|
-
export declare const CustomToggleButton: React.ForwardRefExoticComponent<Omit<CustomToggleButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ToggleButtonProps } from '@mui/material';
|
|
3
|
+
import { ButtonVariant } from '@opengeoweb/theme';
|
|
4
|
+
export interface CustomToggleButtonProps extends Omit<ToggleButtonProps, 'value'> {
|
|
5
|
+
variant?: ButtonVariant;
|
|
6
|
+
value?: any;
|
|
7
|
+
}
|
|
8
|
+
export declare const CustomToggleButton: React.ForwardRefExoticComponent<Omit<CustomToggleButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -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 CustomToggleButtonLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const CustomToggleButtonDark: {
|
|
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 CustomToggleButtonLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const CustomToggleButtonDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CustomToggleButton';
|
|
1
|
+
export * from './CustomToggleButton';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TooltipProps } from '@mui/material';
|
|
3
|
-
export declare const defaultDelay = 1000;
|
|
4
|
-
export declare const useControlledTooltip: () => [
|
|
5
|
-
boolean,
|
|
6
|
-
React.Dispatch<React.SetStateAction<boolean>>
|
|
7
|
-
];
|
|
8
|
-
export declare const CustomTooltip: React.FC<TooltipProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TooltipProps } from '@mui/material';
|
|
3
|
+
export declare const defaultDelay = 1000;
|
|
4
|
+
export declare const useControlledTooltip: () => [
|
|
5
|
+
boolean,
|
|
6
|
+
React.Dispatch<React.SetStateAction<boolean>>
|
|
7
|
+
];
|
|
8
|
+
export declare const CustomTooltip: React.FC<TooltipProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CustomTooltip';
|
|
1
|
+
export * from './CustomTooltip';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DraggableEvent } from 'react-draggable';
|
|
3
|
-
import { DraggablePosition } from './types';
|
|
4
|
-
export interface DraggableComponentProps {
|
|
5
|
-
nodeRef?: React.RefObject<HTMLElement>;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
bounds?: 'parent' | string;
|
|
8
|
-
cancel?: string;
|
|
9
|
-
position?: DraggablePosition;
|
|
10
|
-
onStop?: (event: DraggableEvent, pos: DraggablePosition) => void;
|
|
11
|
-
onMouseDown?: (event: MouseEvent) => void;
|
|
12
|
-
handle?: string;
|
|
13
|
-
}
|
|
14
|
-
declare const DraggableComponent: React.FC<DraggableComponentProps>;
|
|
15
|
-
export default DraggableComponent;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DraggableEvent } from 'react-draggable';
|
|
3
|
+
import { DraggablePosition } from './types';
|
|
4
|
+
export interface DraggableComponentProps {
|
|
5
|
+
nodeRef?: React.RefObject<HTMLElement>;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
bounds?: 'parent' | string;
|
|
8
|
+
cancel?: string;
|
|
9
|
+
position?: DraggablePosition;
|
|
10
|
+
onStop?: (event: DraggableEvent, pos: DraggablePosition) => void;
|
|
11
|
+
onMouseDown?: (event: MouseEvent) => void;
|
|
12
|
+
handle?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const DraggableComponent: React.FC<DraggableComponentProps>;
|
|
15
|
+
export default DraggableComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ResizableComponentProps } from './types';
|
|
3
|
-
export declare const isDraggingClassName = "is-dragging";
|
|
4
|
-
export interface BoundsProps {
|
|
5
|
-
bounds: HTMLElement;
|
|
6
|
-
boundsByDirection: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const useBoundsProps: (nodeRef?: React.RefObject<HTMLElement>) => BoundsProps | object;
|
|
9
|
-
declare const ResizeComponent: React.FC<ResizableComponentProps>;
|
|
10
|
-
export default ResizeComponent;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResizableComponentProps } from './types';
|
|
3
|
+
export declare const isDraggingClassName = "is-dragging";
|
|
4
|
+
export interface BoundsProps {
|
|
5
|
+
bounds: HTMLElement;
|
|
6
|
+
boundsByDirection: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const useBoundsProps: (nodeRef?: React.RefObject<HTMLElement>) => BoundsProps | object;
|
|
9
|
+
declare const ResizeComponent: React.FC<ResizableComponentProps>;
|
|
10
|
+
export default ResizeComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Draggable } from './Draggable';
|
|
2
|
-
export { default as Resizable } from './Resizable';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export { default as Draggable } from './Draggable';
|
|
2
|
+
export { default as Resizable } from './Resizable';
|
|
3
|
+
export * from './types';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ResizableProps } from 're-resizable';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface DraggablePosition {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
}
|
|
7
|
-
export interface Position {
|
|
8
|
-
top: number;
|
|
9
|
-
left?: number;
|
|
10
|
-
right?: number;
|
|
11
|
-
}
|
|
12
|
-
export interface DraggableSize {
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
}
|
|
16
|
-
export interface Size {
|
|
17
|
-
width?: number | string;
|
|
18
|
-
height?: number | string;
|
|
19
|
-
}
|
|
20
|
-
export interface ResizableComponentProps extends Omit<ResizableProps, 'size'> {
|
|
21
|
-
startSize?: Size;
|
|
22
|
-
setSize?: (size: Size) => void;
|
|
23
|
-
size?: Size;
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
onResizeStart?: () => void;
|
|
26
|
-
nodeRef?: React.RefObject<HTMLElement>;
|
|
27
|
-
}
|
|
1
|
+
import { ResizableProps } from 're-resizable';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface DraggablePosition {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
}
|
|
7
|
+
export interface Position {
|
|
8
|
+
top: number;
|
|
9
|
+
left?: number;
|
|
10
|
+
right?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface DraggableSize {
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
}
|
|
16
|
+
export interface Size {
|
|
17
|
+
width?: number | string;
|
|
18
|
+
height?: number | string;
|
|
19
|
+
}
|
|
20
|
+
export interface ResizableComponentProps extends Omit<ResizableProps, 'size'> {
|
|
21
|
+
startSize?: Size;
|
|
22
|
+
setSize?: (size: Size) => void;
|
|
23
|
+
size?: Size;
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
onResizeStart?: () => void;
|
|
26
|
+
nodeRef?: React.RefObject<HTMLElement>;
|
|
27
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface ErrorBoundaryProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
5
|
-
handlePromiseRejections?: boolean;
|
|
6
|
-
displayOnTop?: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface ErrorBoundaryState {
|
|
9
|
-
error?: Error;
|
|
10
|
-
errorInfo?: React.ErrorInfo;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* ErrorBoundary
|
|
14
|
-
* Wrap this component around parts of your application. It will catch any uncaught errors and display an alert, and allows you to continue using the rest of your application.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ``` <ErrorBoundary><ExampleComponent /></ErrorBoundary> ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
20
|
-
static defaultProps: {
|
|
21
|
-
onError: () => void;
|
|
22
|
-
};
|
|
23
|
-
constructor(props: ErrorBoundaryProps);
|
|
24
|
-
componentDidMount(): void;
|
|
25
|
-
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
26
|
-
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
27
|
-
componentWillUnmount(): void;
|
|
28
|
-
handlePromiseRejection: (event: PromiseRejectionEvent) => void;
|
|
29
|
-
render(): React.ReactNode;
|
|
30
|
-
}
|
|
31
|
-
export default ErrorBoundary;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface ErrorBoundaryProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
5
|
+
handlePromiseRejections?: boolean;
|
|
6
|
+
displayOnTop?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface ErrorBoundaryState {
|
|
9
|
+
error?: Error;
|
|
10
|
+
errorInfo?: React.ErrorInfo;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* ErrorBoundary
|
|
14
|
+
* Wrap this component around parts of your application. It will catch any uncaught errors and display an alert, and allows you to continue using the rest of your application.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ``` <ErrorBoundary><ExampleComponent /></ErrorBoundary> ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
20
|
+
static defaultProps: {
|
|
21
|
+
onError: () => void;
|
|
22
|
+
};
|
|
23
|
+
constructor(props: ErrorBoundaryProps);
|
|
24
|
+
componentDidMount(): void;
|
|
25
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
26
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
27
|
+
componentWillUnmount(): void;
|
|
28
|
+
handlePromiseRejection: (event: PromiseRejectionEvent) => void;
|
|
29
|
+
render(): React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export default ErrorBoundary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ErrorBoundaryDemo: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
storyName: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const ErrorBoundaryInsideBox: () => React.ReactElement;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ErrorBoundaryDemo: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const ErrorBoundaryInsideBox: () => React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ErrorBoundary } from './ErrorBoundary';
|
|
1
|
+
export { ErrorBoundary } from './ErrorBoundary';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { BoxProps } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { ListFilter } from './FilterList';
|
|
4
|
-
export declare const DEFAULT_FILTER_HEIGHT = 85;
|
|
5
|
-
interface FilterProps extends BoxProps {
|
|
6
|
-
filters: ListFilter[];
|
|
7
|
-
onClickFilterChip?: (id: string, selected: boolean) => void;
|
|
8
|
-
onSearch?: (value: string) => void;
|
|
9
|
-
isAllSelected?: boolean;
|
|
10
|
-
searchQuery?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const Filter: React.ForwardRefExoticComponent<Omit<FilterProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
13
|
-
export default Filter;
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ListFilter } from './FilterList';
|
|
4
|
+
export declare const DEFAULT_FILTER_HEIGHT = 85;
|
|
5
|
+
interface FilterProps extends BoxProps {
|
|
6
|
+
filters: ListFilter[];
|
|
7
|
+
onClickFilterChip?: (id: string, selected: boolean) => void;
|
|
8
|
+
onSearch?: (value: string) => void;
|
|
9
|
+
isAllSelected?: boolean;
|
|
10
|
+
searchQuery?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Filter: React.ForwardRefExoticComponent<Omit<FilterProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
13
|
+
export default Filter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const FilterLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
parameters: {
|
|
9
|
-
zeplinLink: {
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
16
|
-
export declare const FilterDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
parameters: {
|
|
19
|
-
zeplinLink: {
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
tags: string[];
|
|
25
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const FilterLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
tags: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare const FilterDark: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
parameters: {
|
|
19
|
+
zeplinLink: {
|
|
20
|
+
name: string;
|
|
21
|
+
link: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
tags: string[];
|
|
25
|
+
};
|