sag_components 1.0.13 → 1.0.14

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.
@@ -35,6 +35,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
35
35
  var _useDroppable = (0, _core.useDroppable)({
36
36
  refId: refId
37
37
  }),
38
+ over = _useDroppable.over,
38
39
  isOver = _useDroppable.isOver,
39
40
  setNodeRef = _useDroppable.setNodeRef;
40
41
  var onInfoClick = function onInfoClick() {
@@ -45,7 +46,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
45
46
  ref: setNodeRef,
46
47
  width: width,
47
48
  height: height
48
- }, children, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
49
+ }, console.log("oneColOver ", over), children, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
49
50
  clicked: clicked,
50
51
  width: width,
51
52
  height: height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@ import classNames from "classnames";
9
9
  */
10
10
  export const OneColumnContainer = ({ children,itemClass,overStyle,draggingStyle,droppedStyle,refId,width,height,infoText,...props }) => {
11
11
  const [clicked, setClicked] = useState(false);
12
- const { isOver, setNodeRef } = useDroppable({
12
+ const { over,isOver, setNodeRef } = useDroppable({
13
13
  refId,
14
14
  });
15
15
  const onInfoClick = ()=>{
@@ -23,6 +23,7 @@ export const OneColumnContainer = ({ children,itemClass,overStyle,draggingStyle,
23
23
  draggingStyle,
24
24
  droppedStyle
25
25
  )} ref={setNodeRef} width={width} height={height}>
26
+ {console.log("oneColOver ",over)}
26
27
  {children}
27
28
  <InfoTextContainer clicked={clicked} width={width} height={height}>
28
29
  <InfoTextLabel>{infoText}</InfoTextLabel>