@m4l/graphics 7.0.2 → 7.0.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as p, useRef as v, useCallback as u, useMemo as d, useLayoutEffect as R } from "react";
|
|
3
3
|
import { B as i } from "./constants.js";
|
|
4
|
-
import b from "lodash
|
|
4
|
+
import b from "lodash-es/throttle";
|
|
5
5
|
import { c as h } from "./store.js";
|
|
6
6
|
const k = p(null), y = (l) => {
|
|
7
7
|
const { children: f, observedDivRef: s } = l, o = v();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useEffect as s } from "react";
|
|
2
|
-
import a from "lodash/throttle";
|
|
2
|
+
import a from "lodash-es/throttle";
|
|
3
3
|
const i = () => typeof navigator > "u" ? !1 : /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), f = (t) => {
|
|
4
4
|
const [r, n] = o(t || i());
|
|
5
5
|
return s(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/graphics",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "M4L Team*",
|
|
6
6
|
"type": "module",
|
|
@@ -13,21 +13,16 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"date-fns": "^2.30.0",
|
|
15
15
|
"immer": "^9.0.21",
|
|
16
|
+
"lodash-es": "^4.17.21",
|
|
16
17
|
"zustand": "4.3.6"
|
|
17
18
|
},
|
|
18
19
|
"peerDependencies": {
|
|
19
|
-
"@m4l/core": "^2.0.
|
|
20
|
+
"@m4l/core": "^2.0.12",
|
|
20
21
|
"@m4l/styles": "^7.0.1",
|
|
21
22
|
"@mui/material": "^5.15.19",
|
|
22
23
|
"@mui/x-date-pickers": "^6.11.1",
|
|
23
24
|
"@types/react": "^18.0.0",
|
|
24
|
-
"
|
|
25
|
-
"lodash.debounce": "^4.0.0",
|
|
26
|
-
"lodash.isstring": "^4.0.0",
|
|
27
|
-
"lodash.merge": "^4.0.0",
|
|
28
|
-
"lodash.throttle": "^4.0.0",
|
|
29
|
-
"react": "^18.0.0",
|
|
30
|
-
"react-toastify": "10.0.5"
|
|
25
|
+
"react": "^18.0.0"
|
|
31
26
|
},
|
|
32
27
|
"peerDependenciesMeta": {
|
|
33
28
|
"@mui/material": {
|
|
@@ -35,21 +30,6 @@
|
|
|
35
30
|
},
|
|
36
31
|
"@mui/x-date-pickers": {
|
|
37
32
|
"optional": true
|
|
38
|
-
},
|
|
39
|
-
"lodash.clonedeep": {
|
|
40
|
-
"optional": true
|
|
41
|
-
},
|
|
42
|
-
"lodash.debounce": {
|
|
43
|
-
"optional": true
|
|
44
|
-
},
|
|
45
|
-
"lodash.isstring": {
|
|
46
|
-
"optional": true
|
|
47
|
-
},
|
|
48
|
-
"lodash.merge": {
|
|
49
|
-
"optional": true
|
|
50
|
-
},
|
|
51
|
-
"lodash.throttle": {
|
|
52
|
-
"optional": true
|
|
53
33
|
}
|
|
54
34
|
},
|
|
55
35
|
"resolutions": {
|