@m4l/components 9.1.3 → 9.1.4
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/components/DragResizeWindow/DragResizeWindow.js +1 -1
- package/components/DragResizeWindow/types.d.ts +1 -1
- package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
- package/components/areas/components/AreasViewer/styles.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/index.js +1 -1
- package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizeable.styles.d.ts +1 -1
- package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/ResizableSlots.js +1 -1
- package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizeableBox.styles.d.ts +1 -1
- package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/ResizableBoxSlots.js +1 -1
- package/components/index.d.ts +1 -1
- package/components/modal/ModalDialog/index.js +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizable.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizable.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/constants.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/constants.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/index.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/index.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/ResizableSlots.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/slots.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/slots.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/basic.stories.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/constants.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/types.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/Resizable/types.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizableBox.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizableBox.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizeableBox.styles.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/constants.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/constants.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/index.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/index.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/ResizableBoxSlots.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/slots.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/slots.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/basic.stories.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/constants.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/types.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/types.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/helpers.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/helpers.js +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/index.d.ts +0 -0
- /package/components/extended/{react-resizable → React-Resizable}/index.js +0 -0
|
@@ -11,7 +11,7 @@ import { u as useDragOptions } from "./hooks/useDragOptions.js";
|
|
|
11
11
|
import { u as useResizeOptions } from "./hooks/useResizeOptions.js";
|
|
12
12
|
import { u as useDimensionEffects } from "./hooks/useDimensionEffects.js";
|
|
13
13
|
import { R as RootStyled } from "./slots/DragResizeWindowSlots.js";
|
|
14
|
-
import { R as Resizable } from "../extended/
|
|
14
|
+
import { R as Resizable } from "../extended/React-Resizable/Resizable/Resizable.js";
|
|
15
15
|
const DragResizeWindow = forwardRef((props, ref) => {
|
|
16
16
|
const {
|
|
17
17
|
//Comunes
|
|
@@ -5,7 +5,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
5
5
|
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
6
6
|
import { DragResizeWindowSlots } from './slots/slots';
|
|
7
7
|
import { COMPONET_KEY_COMPONENT } from './constants';
|
|
8
|
-
import { ResizeCallbackData, ResizeHandle } from '../extended/
|
|
8
|
+
import { ResizeCallbackData, ResizeHandle } from '../extended/React-Resizable';
|
|
9
9
|
export type CorrectionPosition = {
|
|
10
10
|
nCorrection: number;
|
|
11
11
|
x: number;
|
|
@@ -7,7 +7,7 @@ import clsx from "clsx";
|
|
|
7
7
|
import { deepEqual } from "fast-equals";
|
|
8
8
|
import { D as DEFAULT_COLS, c as DEFAULT_ROW_HEIGHT, e as DEFAULT_CONTAINER_WIDTH, f as DEFAULT_CONTAINER_HEIGHT, b as DEFAULT_MARGIN, a as DEFAULT_CONTAINER_PADDING, g as DEFAULT_TRANSFORM_SCALE, d as DEFAULT_COLAPSED_HEIGHT } from "../../constants.js";
|
|
9
9
|
import { g as gridLayoutClasses } from "../../classes/index.js";
|
|
10
|
-
import { R as Resizable } from "../../../extended/
|
|
10
|
+
import { R as Resizable } from "../../../extended/React-Resizable/Resizable/Resizable.js";
|
|
11
11
|
function GridItem(props) {
|
|
12
12
|
const {
|
|
13
13
|
layoutItemRender: ComponentItemRender,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "react-resizable/css/styles.css";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { a as areasViewerClasses } from "./classes/index.js";
|
|
4
4
|
const AreasViewerRoot = styled("div")`
|
|
@@ -6,7 +6,7 @@ import { W as WrapperWindowModal } from "./styles.js";
|
|
|
6
6
|
import Draggable from "react-draggable";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { a as areasViewerClasses } from "../../../../classes/index.js";
|
|
9
|
-
import { R as ResizableBox } from "../../../../../../../extended/
|
|
9
|
+
import { R as ResizableBox } from "../../../../../../../extended/React-Resizable/ResizableBox/ResizableBox.js";
|
|
10
10
|
const WindowModal = (props) => {
|
|
11
11
|
const { windowId } = props;
|
|
12
12
|
const { onClose } = useAreasStore((state) => state.hashWindowsModals[windowId]);
|
package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizeable.styles.d.ts
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ResizableStyles } from '
|
|
1
|
+
import { ResizableStyles } from './types';
|
|
2
2
|
export declare const resizableStyles: ResizableStyles;
|
package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/ResizableSlots.js
RENAMED
|
@@ -2,7 +2,7 @@ import { styled } from "@mui/material/styles";
|
|
|
2
2
|
import { C as COMPONET_KEY_COMPONENT } from "../constants.js";
|
|
3
3
|
import { r as resizableBoxStyles } from "../../ResizableBox/ResizeableBox.styles.js";
|
|
4
4
|
import { R as ResizableSlots } from "./slots.js";
|
|
5
|
-
import { Resizable } from "
|
|
5
|
+
import { Resizable } from "react-resizable";
|
|
6
6
|
const RootStyled = styled(Resizable, { name: COMPONET_KEY_COMPONENT, slot: ResizableSlots.root })(
|
|
7
7
|
resizableBoxStyles?.root
|
|
8
8
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ResizableBoxStyles } from '
|
|
1
|
+
import { ResizableBoxStyles } from './types';
|
|
2
2
|
export declare const resizableBoxStyles: ResizableBoxStyles;
|
|
@@ -2,7 +2,7 @@ import { styled } from "@mui/material/styles";
|
|
|
2
2
|
import { C as COMPONET_KEY_COMPONENT } from "../constants.js";
|
|
3
3
|
import { r as resizableBoxStyles } from "../ResizeableBox.styles.js";
|
|
4
4
|
import { R as ResizableBoxSlots } from "./slots.js";
|
|
5
|
-
import { ResizableBox } from "
|
|
5
|
+
import { ResizableBox } from "react-resizable";
|
|
6
6
|
const RootStyled = styled(ResizableBox, { name: COMPONET_KEY_COMPONENT, slot: ResizableBoxSlots.root })(
|
|
7
7
|
resizableBoxStyles?.root
|
|
8
8
|
);
|
package/components/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export * from './PDFViewer';
|
|
|
38
38
|
export * from './Period';
|
|
39
39
|
export * from './HelmetPage';
|
|
40
40
|
export * from './PropertyValue/PropertyValue';
|
|
41
|
-
export * from './extended/
|
|
41
|
+
export * from './extended/React-Resizable';
|
|
42
42
|
export * from './ScrollBar';
|
|
43
43
|
export { ScrollToTop } from './ScrollToTop';
|
|
44
44
|
export * from './SplitLayout/SplitLayout';
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
3
3
|
import Draggable from "react-draggable";
|
|
4
4
|
import { u as useModal } from "../../../hooks/useModal/index.js";
|
|
5
|
-
import { R as ResizableBox } from "../../extended/
|
|
5
|
+
import { R as ResizableBox } from "../../extended/React-Resizable/ResizableBox/ResizableBox.js";
|
|
6
6
|
import { useIsMobile } from "@m4l/graphics";
|
|
7
7
|
import { m as modalUtilityClasses } from "../classes/index.js";
|
|
8
8
|
import { useState, useEffect } from "react";
|
package/index.js
CHANGED
|
@@ -120,8 +120,8 @@ import { P as P8 } from "./components/PDFViewer/PDFViewer.js";
|
|
|
120
120
|
import { P as P9 } from "./components/Period/Period.js";
|
|
121
121
|
import { H as H2 } from "./components/HelmetPage/index.js";
|
|
122
122
|
import { P as P10 } from "./components/PropertyValue/PropertyValue.js";
|
|
123
|
-
import { R as R15 } from "./components/extended/
|
|
124
|
-
import { R as R16 } from "./components/extended/
|
|
123
|
+
import { R as R15 } from "./components/extended/React-Resizable/Resizable/Resizable.js";
|
|
124
|
+
import { R as R16 } from "./components/extended/React-Resizable/ResizableBox/ResizableBox.js";
|
|
125
125
|
import { S as S2 } from "./components/ScrollBar/index.js";
|
|
126
126
|
import { S as S3 } from "./components/SplitLayout/SplitLayout.js";
|
|
127
127
|
import { T as T2 } from "./components/ToastContainer/ToastContainer.js";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/ResizableSlots.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/constants.d.ts
RENAMED
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/types.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizableBox.d.ts
RENAMED
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizableBox.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/constants.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/slots.d.ts
RENAMED
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/slots.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/constants.d.ts
RENAMED
|
File without changes
|
/package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/types.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|