@opengeoweb/shared 4.11.0 → 4.13.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.
Files changed (152) hide show
  1. package/README.md +0 -0
  2. package/index.d.ts +0 -0
  3. package/index.esm.js +117 -93
  4. package/index.umd.js +117 -92
  5. package/lib/components/AlertBanner/AlertBanner.d.ts +0 -0
  6. package/lib/components/AlertBanner/AlertBanner.spec.d.ts +0 -0
  7. package/lib/components/AlertBanner/AlertBanner.stories.d.ts +0 -0
  8. package/lib/components/AlertBanner/index.d.ts +0 -0
  9. package/lib/components/AlertIcon/AlertIcon.d.ts +0 -0
  10. package/lib/components/AlertIcon/index.d.ts +0 -0
  11. package/lib/components/AppHeader/AppHeader.d.ts +0 -0
  12. package/lib/components/AppHeader/AppHeader.spec.d.ts +0 -0
  13. package/lib/components/AppHeader/AppHeader.stories.d.ts +0 -0
  14. package/lib/components/AppHeader/index.d.ts +0 -0
  15. package/lib/components/AppLayout/AppLayout.d.ts +0 -0
  16. package/lib/components/AppLayout/AppLayout.spec.d.ts +0 -0
  17. package/lib/components/AppLayout/AppLayout.stories.d.ts +0 -0
  18. package/lib/components/AppLayout/index.d.ts +0 -0
  19. package/lib/components/Avatar/Avatar.d.ts +0 -0
  20. package/lib/components/Avatar/Avatar.stories.d.ts +0 -0
  21. package/lib/components/Avatar/index.d.ts +0 -0
  22. package/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +6 -6
  23. package/lib/components/ConfirmationDialog/ConfirmationDialog.spec.d.ts +0 -0
  24. package/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +0 -0
  25. package/lib/components/ConfirmationDialog/ConfirmationService.d.ts +0 -0
  26. package/lib/components/ConfirmationDialog/ConfirmationService.spec.d.ts +0 -0
  27. package/lib/components/ConfirmationDialog/index.d.ts +0 -0
  28. package/lib/components/CustomAccordion/CustomAccordion.d.ts +0 -0
  29. package/lib/components/CustomAccordion/CustomAccordion.spec.d.ts +0 -0
  30. package/lib/components/CustomAccordion/CustomAccordion.stories.d.ts +0 -0
  31. package/lib/components/CustomAccordion/index.d.ts +0 -0
  32. package/lib/components/CustomDialog/CustomDialog.d.ts +10 -0
  33. package/lib/components/CustomDialog/CustomDialog.spec.d.ts +1 -0
  34. package/lib/components/CustomDialog/CustomDialog.stories.d.ts +13 -0
  35. package/lib/components/CustomDialog/index.d.ts +1 -0
  36. package/lib/components/CustomSlider/CustomSlider.d.ts +0 -0
  37. package/lib/components/CustomSlider/CustomSlider.spec.d.ts +0 -0
  38. package/lib/components/CustomSlider/CustomSlider.stories.d.ts +0 -0
  39. package/lib/components/CustomSlider/index.d.ts +0 -0
  40. package/lib/components/CustomToggleButton/CustomToggleButton.d.ts +0 -0
  41. package/lib/components/CustomToggleButton/CustomToggleButton.spec.d.ts +0 -0
  42. package/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +0 -0
  43. package/lib/components/CustomToggleButton/index.d.ts +0 -0
  44. package/lib/components/CustomTooltip/CustomTooltip.d.ts +0 -0
  45. package/lib/components/CustomTooltip/CustomTooltip.spec.d.ts +0 -0
  46. package/lib/components/CustomTooltip/index.d.ts +0 -0
  47. package/lib/components/DraggableResizable/Draggable.d.ts +1 -4
  48. package/lib/components/DraggableResizable/Draggable.spec.d.ts +0 -0
  49. package/lib/components/DraggableResizable/Resizable.d.ts +0 -0
  50. package/lib/components/DraggableResizable/Resizable.spec.d.ts +0 -0
  51. package/lib/components/DraggableResizable/index.d.ts +1 -0
  52. package/lib/components/DraggableResizable/types.d.ts +4 -0
  53. package/lib/components/EnableButton/EnableButton.d.ts +0 -0
  54. package/lib/components/EnableButton/EnableButton.spec.d.ts +0 -0
  55. package/lib/components/EnableButton/EnableButton.stories.d.ts +0 -0
  56. package/lib/components/EnableButton/index.d.ts +0 -0
  57. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +0 -0
  58. package/lib/components/ErrorBoundary/ErrorBoundary.spec.d.ts +0 -0
  59. package/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +0 -0
  60. package/lib/components/ErrorBoundary/index.d.ts +0 -0
  61. package/lib/components/ManagerButton/ManagerButton.d.ts +0 -0
  62. package/lib/components/ManagerButton/ManagerButton.spec.d.ts +0 -0
  63. package/lib/components/ManagerButton/ManagerButton.stories.d.ts +0 -0
  64. package/lib/components/ManagerButton/index.d.ts +0 -0
  65. package/lib/components/ManagerDeleteButton/ManagerDeleteButton.d.ts +0 -0
  66. package/lib/components/ManagerDeleteButton/ManagerDeleteButton.spec.d.ts +0 -0
  67. package/lib/components/ManagerDeleteButton/ManagerDeleteButton.stories.d.ts +0 -0
  68. package/lib/components/ManagerDeleteButton/index.d.ts +0 -0
  69. package/lib/components/Providers/Providers.d.ts +0 -0
  70. package/lib/components/Providers/index.d.ts +0 -0
  71. package/lib/components/StatusTag/StatusTag.d.ts +0 -0
  72. package/lib/components/StatusTag/StatusTag.spec.d.ts +0 -0
  73. package/lib/components/StatusTag/StatusTag.stories.d.ts +0 -0
  74. package/lib/components/StatusTag/index.d.ts +0 -0
  75. package/lib/components/ToggleMenu/ToggleMenu.d.ts +0 -0
  76. package/lib/components/ToggleMenu/ToggleMenu.spec.d.ts +0 -0
  77. package/lib/components/ToggleMenu/ToggleMenu.stories.d.ts +0 -0
  78. package/lib/components/ToggleMenu/index.d.ts +0 -0
  79. package/lib/components/ToolButton/ToolButton.d.ts +0 -0
  80. package/lib/components/ToolButton/ToolButton.spec.d.ts +0 -0
  81. package/lib/components/ToolButton/ToolButton.stories.d.ts +0 -0
  82. package/lib/components/ToolButton/index.d.ts +0 -0
  83. package/lib/components/ToolContainer/ToolContainer.d.ts +0 -0
  84. package/lib/components/ToolContainer/ToolContainer.spec.d.ts +0 -0
  85. package/lib/components/ToolContainer/ToolContainer.stories.d.ts +0 -0
  86. package/lib/components/ToolContainer/ToolContainerDraggable.d.ts +1 -2
  87. package/lib/components/ToolContainer/ToolContainerDraggable.spec.d.ts +0 -0
  88. package/lib/components/ToolContainer/ToolContainerDraggable.stories.d.ts +0 -0
  89. package/lib/components/ToolContainer/ToolContainerSnapShots.stories.d.ts +0 -0
  90. package/lib/components/ToolContainer/ToolFooter.d.ts +0 -0
  91. package/lib/components/ToolContainer/ToolFooter.spec.d.ts +0 -0
  92. package/lib/components/ToolContainer/ToolHeader.d.ts +0 -0
  93. package/lib/components/ToolContainer/ToolHeader.spec.d.ts +0 -0
  94. package/lib/components/ToolContainer/ToolHeader.stories.d.ts +0 -0
  95. package/lib/components/ToolContainer/index.d.ts +0 -0
  96. package/lib/components/ToolContainer/types.d.ts +0 -0
  97. package/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.d.ts +0 -0
  98. package/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.spec.d.ts +0 -0
  99. package/lib/components/TooltipSelect/TooltipSelect.d.ts +0 -0
  100. package/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +0 -0
  101. package/lib/components/TooltipSelect/TooltipSelect.stories.d.ts +0 -0
  102. package/lib/components/TooltipSelect/index.d.ts +0 -0
  103. package/lib/components/TooltipSelect/tooltipContainerStyles.d.ts +0 -0
  104. package/lib/components/UserMenu/CheatSheet/CheatSheet.d.ts +0 -0
  105. package/lib/components/UserMenu/CheatSheet/CheatSheet.spec.d.ts +0 -0
  106. package/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +0 -0
  107. package/lib/components/UserMenu/CheatSheet/ShortcutList.d.ts +0 -0
  108. package/lib/components/UserMenu/CheatSheet/ShortcutList.spec.d.ts +0 -0
  109. package/lib/components/UserMenu/CheatSheet/ShortcutSegment.d.ts +0 -0
  110. package/lib/components/UserMenu/CheatSheet/ShortcutSegment.spec.d.ts +0 -0
  111. package/lib/components/UserMenu/UserMenu.d.ts +0 -0
  112. package/lib/components/UserMenu/UserMenu.spec.d.ts +0 -0
  113. package/lib/components/UserMenu/UserMenu.stories.d.ts +0 -0
  114. package/lib/components/UserMenu/UserMenuItemCheatSheet.d.ts +0 -0
  115. package/lib/components/UserMenu/UserMenuItemCheatSheet.spec.d.ts +0 -0
  116. package/lib/components/UserMenu/UserMenuItemTheme.d.ts +0 -0
  117. package/lib/components/UserMenu/UserMenuItemTheme.spec.d.ts +0 -0
  118. package/lib/components/UserMenu/index.d.ts +0 -0
  119. package/lib/components/UserMenu/useUserMenu.d.ts +0 -0
  120. package/lib/components/UserMenu/useUserMenu.spec.d.ts +0 -0
  121. package/lib/components/UserMenu/utils.d.ts +0 -0
  122. package/lib/components/WithEggs/WithEggs.d.ts +0 -0
  123. package/lib/components/WithEggs/WithEggs.spec.d.ts +0 -0
  124. package/lib/components/WithEggs/index.d.ts +0 -0
  125. package/lib/components/components.stories.d.ts +0 -0
  126. package/lib/components/index.d.ts +1 -0
  127. package/lib/hooks/index.d.ts +0 -0
  128. package/lib/hooks/useDraftFormHelpers/useDraftFormHelpers.d.ts +0 -0
  129. package/lib/hooks/useDraftFormHelpers/useDraftFormHelpers.spec.d.ts +0 -0
  130. package/lib/hooks/useIsMounted/useIsMounted.d.ts +0 -0
  131. package/lib/hooks/useIsMounted/useIsMounted.spec.d.ts +0 -0
  132. package/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.d.ts +1 -1
  133. package/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.spec.d.ts +0 -0
  134. package/lib/hooks/usePoller/usePoller.d.ts +0 -0
  135. package/lib/hooks/usePoller/usePoller.spec.d.ts +0 -0
  136. package/lib/hooks/usePoller/usePoller.stories.d.ts +0 -0
  137. package/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.d.ts +0 -0
  138. package/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.spec.d.ts +0 -0
  139. package/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.stories.d.ts +0 -0
  140. package/lib/hooks/usePrevious/usePrevious.d.ts +0 -0
  141. package/lib/hooks/usePrevious/usePrevious.spec.d.ts +0 -0
  142. package/lib/hooks/usePrevious/usePrevious.stories.d.ts +0 -0
  143. package/lib/storyshots/Storyshots.spec.d.ts +0 -0
  144. package/lib/utils/axiosErrorUtils/axiosErrorUtils.d.ts +0 -0
  145. package/lib/utils/axiosErrorUtils/axiosErrorUtils.spec.d.ts +0 -0
  146. package/lib/utils/axiosErrorUtils/index.d.ts +0 -0
  147. package/lib/utils/containerQueryHelper.d.ts +0 -0
  148. package/lib/utils/dateUtils/dateUtils.d.ts +0 -0
  149. package/lib/utils/dateUtils/dateUtils.spec.d.ts +0 -0
  150. package/lib/utils/dateUtils/index.d.ts +0 -0
  151. package/lib/utils/index.d.ts +0 -0
  152. package/package.json +4 -4
@@ -0,0 +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
+ storyName: string;
9
+ };
10
+ export declare const CustomDialogDark: {
11
+ (): React.ReactElement;
12
+ storyName: string;
13
+ };
@@ -0,0 +1 @@
1
+ export * from './CustomDialog';
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
- export declare type DraggablePosition = {
3
- x: number;
4
- y: number;
5
- };
2
+ import { DraggablePosition } from './types';
6
3
  interface DraggableComponentProps {
7
4
  nodeRef?: React.RefObject<HTMLElement>;
8
5
  children?: React.ReactNode;
File without changes
@@ -1,2 +1,3 @@
1
1
  export { default as Draggable } from './Draggable';
2
2
  export { default as Resizable } from './Resizable';
3
+ export * from './types';
@@ -1,5 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ResizableProps } from 're-resizable';
3
+ export declare type DraggablePosition = {
4
+ x: number;
5
+ y: number;
6
+ };
3
7
  export declare type Position = {
4
8
  top: number;
5
9
  left?: number;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { SxProps } from '@mui/material';
3
3
  import { NumberSize } from 're-resizable';
4
- import { DraggablePosition } from '../DraggableResizable/Draggable';
5
- import { Position, ResizableComponentProps, Size } from '../DraggableResizable/types';
4
+ import { DraggablePosition, Position, ResizableComponentProps, Size } from '../DraggableResizable/types';
6
5
  import { HeaderSize } from './types';
7
6
  export declare const calculateDialogSizeAndPosition: () => {
8
7
  width: number;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -20,3 +20,4 @@ export * from './Avatar';
20
20
  export * from './WithEggs';
21
21
  export * from './CustomTooltip';
22
22
  export * from './CustomAccordion';
23
+ export * from './CustomDialog';
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { DraggablePosition } from '../../components/DraggableResizable/Draggable';
2
+ import { DraggablePosition } from '../../components/DraggableResizable/types';
3
3
  export declare const adjustPosition: (bbox: DOMRect, containingView: DOMRect, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
4
4
  export declare const useMakeSureContainerStaysInsideWindow: (nodeRef: React.RefObject<HTMLDivElement>, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/shared",
3
- "version": "4.11.0",
3
+ "version": "4.13.0",
4
4
  "description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -12,14 +12,14 @@
12
12
  "typings": "./index.d.ts",
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
- "react": "^17.0.2",
15
+ "react": "^18.2.0",
16
16
  "@mui/material": "^5.10.8",
17
- "@opengeoweb/theme": "4.11.0",
17
+ "@opengeoweb/theme": "4.13.0",
18
18
  "react-draggable": "^4.4.5",
19
19
  "re-resizable": "^6.9.0",
20
20
  "@redux-eggs/core": "^2.2.0",
21
21
  "react-redux": "^8.0.4",
22
- "@opengeoweb/form-fields": "4.11.0",
22
+ "@opengeoweb/form-fields": "4.13.0",
23
23
  "react-hook-form": "^7.41.5",
24
24
  "moment": "^2.29.0",
25
25
  "moment-timezone": "^0.5.31",