@dvrd/dvr-controls 1.0.86 → 1.0.88

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvrd/dvr-controls",
3
- "version": "1.0.86",
3
+ "version": "1.0.88",
4
4
  "description": "Custom web controls",
5
5
  "main": "index.ts",
6
6
  "files": [
@@ -25,9 +25,8 @@
25
25
  ]
26
26
  },
27
27
  "peerDependencies": {
28
- "react": "^19.0.0",
29
- "react-dom": "^19.0.0",
30
- "react-router": "^7.1.3"
28
+ "react": "*",
29
+ "react-router": "*"
31
30
  },
32
31
  "dependencies": {
33
32
  "@dvrd/idate": "^1.8.8",
@@ -45,7 +44,7 @@
45
44
  "@types/lodash.mergewith": "^4.6.7",
46
45
  "@types/node": "18.14.0",
47
46
  "@types/react": "^19.0.8",
48
- "@types/react-color": "2.13.5",
47
+ "@types/react-color": "3.0.13",
49
48
  "@types/react-dom": "^19.0.3",
50
49
  "@types/uuid": "9.0.0",
51
50
  "classnames": "2.5.1",
@@ -46,7 +46,7 @@ export interface ColorSet {
46
46
 
47
47
  export interface OrnamentShape {
48
48
  placement?: ElementPosition;
49
- element: React.ReactElement<any> | string;
49
+ element: React.ReactElement<any, any> | string;
50
50
  allowPropagation?: boolean;
51
51
  }
52
52
 
@@ -230,7 +230,7 @@ export type PDFSubmitHandler = (items: PDFElementParams<any, any>[], callback?:
230
230
  export type PDFElementDimensions = { left: number; top: number; width: number; height: number };
231
231
 
232
232
  export type SidebarItem = {
233
- label: string; icon?: string | React.ReactNode;
233
+ label: string; icon?: string | React.ReactElement<any, any>;
234
234
  className?: string;
235
235
  id: string;
236
236
  onBottom?: boolean;