cortex-react-ui 0.2.14 → 0.2.16
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/lib/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React$1, { CSSProperties } from 'react';
|
|
|
3
3
|
import { IDetectedBarcode, IScannerProps } from '@yudiel/react-qr-scanner';
|
|
4
4
|
import { WebcamProps } from 'react-webcam';
|
|
5
5
|
import { MapContainerProps } from 'react-leaflet';
|
|
6
|
-
import { ControlPosition, LatLngTuple } from 'leaflet';
|
|
6
|
+
import { ControlPosition, DrawEvents, LatLngTuple } from 'leaflet';
|
|
7
7
|
|
|
8
8
|
declare const PopperPlacement: {
|
|
9
9
|
readonly Center: "center";
|
|
@@ -205,9 +205,9 @@ type MapFullscreenControlProps = {
|
|
|
205
205
|
|
|
206
206
|
type DrawToolsProps = {
|
|
207
207
|
position?: ControlPosition | undefined;
|
|
208
|
-
handleOnCreated?: (v:
|
|
209
|
-
handleOnDeleted?: (v:
|
|
210
|
-
handleOnEdited?: (v:
|
|
208
|
+
handleOnCreated?: (v: DrawEvents.Created) => void;
|
|
209
|
+
handleOnDeleted?: (v: DrawEvents.Deleted) => void;
|
|
210
|
+
handleOnEdited?: (v: DrawEvents.Edited) => void;
|
|
211
211
|
draw?: drawType;
|
|
212
212
|
editable?: boolean;
|
|
213
213
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cortex-react-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "React UI",
|
|
5
5
|
"author": "Anthony",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@dateam/ark": "^0.2.19",
|
|
55
|
-
"react": "
|
|
56
|
-
"react-dom": "
|
|
55
|
+
"react": ">=18 <20",
|
|
56
|
+
"react-dom": ">=18 <20"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@babel/core": "^7.26.0",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"eslint-plugin-react": "^7.26.1",
|
|
100
100
|
"file-loader": "^6.2.0",
|
|
101
101
|
"lodash": "^4.17.21",
|
|
102
|
-
"react": "
|
|
103
|
-
"react-dom": "
|
|
102
|
+
"react": "19",
|
|
103
|
+
"react-dom": "19",
|
|
104
104
|
"react-icons": "^5.3.0",
|
|
105
105
|
"react-scripts": "^5.0.1",
|
|
106
106
|
"rollup": "^2.60.2",
|