publ-echo 0.0.6 → 0.0.10
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/dist/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React from "react";
|
|
3
1
|
import ReactDOM from "react-dom/client";
|
|
4
2
|
import reportWebVitals from "./reportWebVitals";
|
|
5
|
-
import App from "./App";
|
|
6
3
|
var root = ReactDOM.createRoot(document.getElementById("root"));
|
|
7
|
-
|
|
4
|
+
// ReactDOM.render(
|
|
5
|
+
// <React.StrictMode>
|
|
6
|
+
// <App />
|
|
7
|
+
// </React.StrictMode>,
|
|
8
|
+
// document.getElementById("root")
|
|
9
|
+
// );
|
|
8
10
|
// If you want to start measuring performance in your app, pass a function
|
|
9
11
|
// to log results (for example: reportWebVitals(console.log))
|
|
10
12
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
@@ -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({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "publ-echo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -52,5 +52,9 @@
|
|
|
52
52
|
"lodash": "^4.17.21",
|
|
53
53
|
"styled-components": "^5.3.10",
|
|
54
54
|
"typescript": "^5.1.6"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"react": ">= 16.3.0",
|
|
58
|
+
"react-dom": ">= 16.3.0"
|
|
55
59
|
}
|
|
56
60
|
}
|