@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.
Files changed (44) hide show
  1. package/components/DragResizeWindow/DragResizeWindow.js +1 -1
  2. package/components/DragResizeWindow/types.d.ts +1 -1
  3. package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
  4. package/components/areas/components/AreasViewer/styles.js +1 -1
  5. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/index.js +1 -1
  6. package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizeable.styles.d.ts +1 -1
  7. package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/ResizableSlots.js +1 -1
  8. package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizeableBox.styles.d.ts +1 -1
  9. package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/ResizableBoxSlots.js +1 -1
  10. package/components/index.d.ts +1 -1
  11. package/components/modal/ModalDialog/index.js +1 -1
  12. package/index.js +2 -2
  13. package/package.json +1 -1
  14. /package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizable.d.ts +0 -0
  15. /package/components/extended/{react-resizable → React-Resizable}/Resizable/Resizable.js +0 -0
  16. /package/components/extended/{react-resizable → React-Resizable}/Resizable/constants.d.ts +0 -0
  17. /package/components/extended/{react-resizable → React-Resizable}/Resizable/constants.js +0 -0
  18. /package/components/extended/{react-resizable → React-Resizable}/Resizable/index.d.ts +0 -0
  19. /package/components/extended/{react-resizable → React-Resizable}/Resizable/index.js +0 -0
  20. /package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/ResizableSlots.d.ts +0 -0
  21. /package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/slots.d.ts +0 -0
  22. /package/components/extended/{react-resizable → React-Resizable}/Resizable/slots/slots.js +0 -0
  23. /package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/basic.stories.d.ts +0 -0
  24. /package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/constants.d.ts +0 -0
  25. /package/components/extended/{react-resizable → React-Resizable}/Resizable/stories/types.d.ts +0 -0
  26. /package/components/extended/{react-resizable → React-Resizable}/Resizable/types.d.ts +0 -0
  27. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizableBox.d.ts +0 -0
  28. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizableBox.js +0 -0
  29. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/ResizeableBox.styles.js +0 -0
  30. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/constants.d.ts +0 -0
  31. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/constants.js +0 -0
  32. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/index.d.ts +0 -0
  33. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/index.js +0 -0
  34. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/ResizableBoxSlots.d.ts +0 -0
  35. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/slots.d.ts +0 -0
  36. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/slots/slots.js +0 -0
  37. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/basic.stories.d.ts +0 -0
  38. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/constants.d.ts +0 -0
  39. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/stories/types.d.ts +0 -0
  40. /package/components/extended/{react-resizable → React-Resizable}/ResizableBox/types.d.ts +0 -0
  41. /package/components/extended/{react-resizable → React-Resizable}/helpers.d.ts +0 -0
  42. /package/components/extended/{react-resizable → React-Resizable}/helpers.js +0 -0
  43. /package/components/extended/{react-resizable → React-Resizable}/index.d.ts +0 -0
  44. /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/react-resizable/Resizable/Resizable.js";
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/react-resizable';
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/react-resizable/Resizable/Resizable.js";
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 "/Users/jalinux/Documents/Dev/Frontend/M4l/m4l_monorepo/node_modules/react-resizable/css/styles.css";
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/react-resizable/ResizableBox/ResizableBox.js";
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]);
@@ -1,2 +1,2 @@
1
- import { ResizableStyles } from '../Resizable/types';
1
+ import { ResizableStyles } from './types';
2
2
  export declare const resizableStyles: ResizableStyles;
@@ -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 "/Users/jalinux/Documents/Dev/Frontend/M4l/m4l_monorepo/node_modules/react-resizable/index.js";
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 '../ResizableBox/types';
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 "/Users/jalinux/Documents/Dev/Frontend/M4l/m4l_monorepo/node_modules/react-resizable/index.js";
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
  );
@@ -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/react-resizable';
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/react-resizable/ResizableBox/ResizableBox.js";
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/react-resizable/Resizable/Resizable.js";
124
- import { R as R16 } from "./components/extended/react-resizable/ResizableBox/ResizableBox.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.3",
3
+ "version": "9.1.4",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"