@dust-tt/sparkle 0.2.134 → 0.2.135
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/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -757,8 +757,9 @@ function Tooltip(_a) {
|
|
|
757
757
|
useEffect(function () {
|
|
758
758
|
setIsTouchDevice("ontouchstart" in window || navigator.maxTouchPoints > 0);
|
|
759
759
|
return function () {
|
|
760
|
-
if (timerId)
|
|
760
|
+
if (timerId) {
|
|
761
761
|
window.clearTimeout(timerId);
|
|
762
|
+
}
|
|
762
763
|
};
|
|
763
764
|
}, [timerId]);
|
|
764
765
|
if (isTouchDevice) {
|
|
@@ -32308,8 +32309,9 @@ ContextItem.List = function (_a) {
|
|
|
32308
32309
|
var children = _a.children, className = _a.className, hasBorder = _a.hasBorder;
|
|
32309
32310
|
// Ensure all children are of type ContextItem or ContextItem.SectionHeader
|
|
32310
32311
|
React__default.Children.forEach(children, function (child) {
|
|
32311
|
-
if (child === null || child === undefined)
|
|
32312
|
+
if (child === null || child === undefined) {
|
|
32312
32313
|
return;
|
|
32314
|
+
}
|
|
32313
32315
|
if (!React__default.isValidElement(child) ||
|
|
32314
32316
|
(child.type !== ContextItem &&
|
|
32315
32317
|
child.type !== ContextItem.SectionHeader &&
|