@homebound/beam 2.387.0 → 2.387.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.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16959,11 +16959,9 @@ function ScrollShadows(props) {
|
|
|
16959
16959
|
setShowStartShadow(start > 0);
|
|
16960
16960
|
setShowEndShadow(start + boxSize < end);
|
|
16961
16961
|
},
|
|
16962
|
-
|
|
16963
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
16964
|
-
[]
|
|
16962
|
+
[horizontal]
|
|
16965
16963
|
);
|
|
16966
|
-
const onResize = useCallback21(() => scrollRef.current && updateScrollProps(scrollRef.current), []);
|
|
16964
|
+
const onResize = useCallback21(() => scrollRef.current && updateScrollProps(scrollRef.current), [updateScrollProps]);
|
|
16967
16965
|
useResizeObserver5({ ref: scrollRef, onResize });
|
|
16968
16966
|
return /* @__PURE__ */ jsxs71(
|
|
16969
16967
|
"div",
|
|
@@ -16971,8 +16969,8 @@ function ScrollShadows(props) {
|
|
|
16971
16969
|
css: Css.relative.oh.h(height).w(width).df.fd(!horizontal ? "column" : "row").$,
|
|
16972
16970
|
...tid,
|
|
16973
16971
|
children: [
|
|
16974
|
-
|
|
16975
|
-
|
|
16972
|
+
/* @__PURE__ */ jsx152("div", { css: { ...startShadowStyles, opacity: showStartShadow ? 1 : 0 }, "data-chromatic": "ignore" }),
|
|
16973
|
+
/* @__PURE__ */ jsx152("div", { css: { ...endShadowStyles, opacity: showEndShadow ? 1 : 0 }, "data-chromatic": "ignore" }),
|
|
16976
16974
|
/* @__PURE__ */ jsx152(
|
|
16977
16975
|
"div",
|
|
16978
16976
|
{
|