publ-echo 0.0.6 → 0.0.7
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropsWithChildren } from "../../utils/types";
|
|
2
2
|
import { ReactGridLayoutProps } from "./types";
|
|
3
|
-
import "./styles/styles.css";
|
|
4
3
|
declare const ReactGridLayout: ({ children, ...props }: PropsWithChildren<ReactGridLayoutProps>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default ReactGridLayout;
|
|
@@ -37,7 +37,7 @@ import { bottom, cloneLayoutItem, compact, getAllCollisions, getLayoutItem, move
|
|
|
37
37
|
import { calcGridColWidth, calcXY, resolveRowHeight, } from "../GridItem/utils/calculateUtils";
|
|
38
38
|
import GridItem from "../GridItem/GridItem";
|
|
39
39
|
import { isEqual } from "lodash";
|
|
40
|
-
import "./styles/styles.css";
|
|
40
|
+
// import "./styles/styles.css";
|
|
41
41
|
var layoutClassName = "react-grid-layout";
|
|
42
42
|
var ReactGridLayout = function (_a) {
|
|
43
43
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PropsWithChildren } from "../Draggable/types";
|
|
3
3
|
import { ResizableProps } from "./types";
|
|
4
|
-
import "./styles/styles.css";
|
|
5
4
|
type Props = ResizableProps;
|
|
6
5
|
declare const Resizable: ({ children, axis, handleSize, lockAspectRatio, minConstraints, maxConstraints, resizeHandles, transformScale, ...props }: PropsWithChildren<Props>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7
6
|
export default Resizable;
|
|
@@ -34,7 +34,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
34
34
|
import React, { useRef } from "react";
|
|
35
35
|
import DraggableCore from "../Draggable/DraggableCore";
|
|
36
36
|
import { cloneElement } from "./utils/cloneElement";
|
|
37
|
-
import "./styles/styles.css";
|
|
38
37
|
var Resizable = function (_a) {
|
|
39
38
|
var children = _a.children, _b = _a.axis, axis = _b === void 0 ? "both" : _b, _c = _a.handleSize, handleSize = _c === void 0 ? [20, 20] : _c, _d = _a.lockAspectRatio, lockAspectRatio = _d === void 0 ? false : _d, _e = _a.minConstraints, minConstraints = _e === void 0 ? [20, 20] : _e, _f = _a.maxConstraints, maxConstraints = _f === void 0 ? [Infinity, Infinity] : _f, _g = _a.resizeHandles, resizeHandles = _g === void 0 ? ["se"] : _g, _h = _a.transformScale, transformScale = _h === void 0 ? 1 : _h, props = __rest(_a, ["children", "axis", "handleSize", "lockAspectRatio", "minConstraints", "maxConstraints", "resizeHandles", "transformScale"]);
|
|
40
39
|
var handleRefs = useRef({
|