@gustavo-valsechi/client 1.4.270 → 1.4.271

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.
@@ -112,7 +112,7 @@ const TargetProviderContainer = ({ children }) => {
112
112
  blur(index);
113
113
  return;
114
114
  }
115
- console.log(target, index);
115
+ console.log("CLICK", target, index);
116
116
  elementFocusable(target, index).focus();
117
117
  });
118
118
  if (theme.content.isMobile) return;
@@ -123,6 +123,7 @@ const TargetProviderContainer = ({ children }) => {
123
123
  import_lodash.default.forEach(containerRef.current, (elementRef) => blur(index));
124
124
  });
125
125
  focusable.addEventListener("focus", () => {
126
+ console.log("FOCUS", target, index);
126
127
  open(target, index);
127
128
  });
128
129
  focusable.addEventListener("blur", () => {
@@ -177,6 +178,7 @@ const TargetProviderContainer = ({ children }) => {
177
178
  element.style.left = `${coords.left}px`;
178
179
  element.style.opacity = "1";
179
180
  element.style.zIndex = "10";
181
+ console.log("OPEN", target, index);
180
182
  };
181
183
  const removeInside = (index) => {
182
184
  insideMemory.splice(import_lodash.default.findIndex(insideMemory, (i) => i === index), 1);
@@ -78,7 +78,7 @@ const TargetProviderContainer = ({ children }) => {
78
78
  blur(index);
79
79
  return;
80
80
  }
81
- console.log(target, index);
81
+ console.log("CLICK", target, index);
82
82
  elementFocusable(target, index).focus();
83
83
  });
84
84
  if (theme.content.isMobile) return;
@@ -89,6 +89,7 @@ const TargetProviderContainer = ({ children }) => {
89
89
  _.forEach(containerRef.current, (elementRef) => blur(index));
90
90
  });
91
91
  focusable.addEventListener("focus", () => {
92
+ console.log("FOCUS", target, index);
92
93
  open(target, index);
93
94
  });
94
95
  focusable.addEventListener("blur", () => {
@@ -143,6 +144,7 @@ const TargetProviderContainer = ({ children }) => {
143
144
  element.style.left = `${coords.left}px`;
144
145
  element.style.opacity = "1";
145
146
  element.style.zIndex = "10";
147
+ console.log("OPEN", target, index);
146
148
  };
147
149
  const removeInside = (index) => {
148
150
  insideMemory.splice(_.findIndex(insideMemory, (i) => i === index), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.270",
3
+ "version": "1.4.271",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",