catchup-library-web 1.14.9 → 1.15.1

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
@@ -4726,7 +4726,6 @@ var import_react_dnd3 = require("react-dnd");
4726
4726
  var import_react_dnd = require("react-dnd");
4727
4727
  var import_jsx_runtime25 = require("react/jsx-runtime");
4728
4728
  var DraggableItem = ({
4729
- key,
4730
4729
  item,
4731
4730
  type,
4732
4731
  component,
@@ -4751,8 +4750,7 @@ var DraggableItem = ({
4751
4750
  {
4752
4751
  className: `${isDragging ? "w-[0px] opacity-0" : "opacity-100"} transition-all duration-500`,
4753
4752
  children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { ref: drag, className: "", style: { opacity }, children: component })
4754
- },
4755
- key
4753
+ }
4756
4754
  );
4757
4755
  };
4758
4756
  var DraggableItem_default = DraggableItem;
@@ -4762,7 +4760,6 @@ var import_react17 = require("react");
4762
4760
  var import_react_dnd2 = require("react-dnd");
4763
4761
  var import_jsx_runtime26 = require("react/jsx-runtime");
4764
4762
  var DroppableItem = ({
4765
- key,
4766
4763
  item,
4767
4764
  type,
4768
4765
  component,
@@ -4780,15 +4777,7 @@ var DroppableItem = ({
4780
4777
  }
4781
4778
  });
4782
4779
  dropRef(drop(ref));
4783
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4784
- "div",
4785
- {
4786
- className: `w-full transition-all duration-500 h-full`,
4787
- ref,
4788
- children: component
4789
- },
4790
- key
4791
- );
4780
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: `w-full transition-all duration-500 h-full`, ref, children: component });
4792
4781
  };
4793
4782
  var DroppableItem_default = DroppableItem;
4794
4783
 
@@ -6178,7 +6167,6 @@ var import_react24 = require("react");
6178
6167
  var import_react_dnd6 = require("react-dnd");
6179
6168
  var import_jsx_runtime39 = require("react/jsx-runtime");
6180
6169
  var DraggableDroppableItem = ({
6181
- key,
6182
6170
  item,
6183
6171
  type,
6184
6172
  component,
@@ -6220,8 +6208,7 @@ var DraggableDroppableItem = ({
6220
6208
  className: `${isDragging ? "w-[0px] opacity-0" : "w-full opacity-100"} transition-all duration-500`,
6221
6209
  ref: dropRef,
6222
6210
  children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, className: "w-full", style: { opacity }, children: component })
6223
- },
6224
- key
6211
+ }
6225
6212
  );
6226
6213
  };
6227
6214
  var DraggableDroppableItem_default = DraggableDroppableItem;
package/dist/index.mjs CHANGED
@@ -4517,7 +4517,6 @@ import { useDrop as useDrop2 } from "react-dnd";
4517
4517
  import { useDrag } from "react-dnd";
4518
4518
  import { jsx as jsx25 } from "react/jsx-runtime";
4519
4519
  var DraggableItem = ({
4520
- key,
4521
4520
  item,
4522
4521
  type,
4523
4522
  component,
@@ -4542,8 +4541,7 @@ var DraggableItem = ({
4542
4541
  {
4543
4542
  className: `${isDragging ? "w-[0px] opacity-0" : "opacity-100"} transition-all duration-500`,
4544
4543
  children: /* @__PURE__ */ jsx25("div", { ref: drag, className: "", style: { opacity }, children: component })
4545
- },
4546
- key
4544
+ }
4547
4545
  );
4548
4546
  };
4549
4547
  var DraggableItem_default = DraggableItem;
@@ -4553,7 +4551,6 @@ import { useRef as useRef3 } from "react";
4553
4551
  import { useDrop } from "react-dnd";
4554
4552
  import { jsx as jsx26 } from "react/jsx-runtime";
4555
4553
  var DroppableItem = ({
4556
- key,
4557
4554
  item,
4558
4555
  type,
4559
4556
  component,
@@ -4571,15 +4568,7 @@ var DroppableItem = ({
4571
4568
  }
4572
4569
  });
4573
4570
  dropRef(drop(ref));
4574
- return /* @__PURE__ */ jsx26(
4575
- "div",
4576
- {
4577
- className: `w-full transition-all duration-500 h-full`,
4578
- ref,
4579
- children: component
4580
- },
4581
- key
4582
- );
4571
+ return /* @__PURE__ */ jsx26("div", { className: `w-full transition-all duration-500 h-full`, ref, children: component });
4583
4572
  };
4584
4573
  var DroppableItem_default = DroppableItem;
4585
4574
 
@@ -5969,7 +5958,6 @@ import { useRef as useRef6 } from "react";
5969
5958
  import { useDrag as useDrag2, useDrop as useDrop5 } from "react-dnd";
5970
5959
  import { jsx as jsx39 } from "react/jsx-runtime";
5971
5960
  var DraggableDroppableItem = ({
5972
- key,
5973
5961
  item,
5974
5962
  type,
5975
5963
  component,
@@ -6011,8 +5999,7 @@ var DraggableDroppableItem = ({
6011
5999
  className: `${isDragging ? "w-[0px] opacity-0" : "w-full opacity-100"} transition-all duration-500`,
6012
6000
  ref: dropRef,
6013
6001
  children: /* @__PURE__ */ jsx39("div", { ref, className: "w-full", style: { opacity }, children: component })
6014
- },
6015
- key
6002
+ }
6016
6003
  );
6017
6004
  };
6018
6005
  var DraggableDroppableItem_default = DraggableDroppableItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.14.9",
3
+ "version": "1.15.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -15,7 +15,6 @@ export interface IDraggableItemProps {
15
15
  }
16
16
 
17
17
  export interface IDraggableDroppableItemProps {
18
- key: number;
19
18
  item: any;
20
19
  type: string;
21
20
  component: any;