@sledge-app/react-instant-search 0.0.106 → 0.0.108
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/components/SearchResultWidget/SearchResultWidget.d.ts +4 -0
- package/dist/components/SearchResultWidget/SearchResultWidget.d.ts.map +1 -1
- package/dist/components/SearchResultWidget/SearchResultWidgetInitSelector.d.ts.map +1 -1
- package/dist/sledge-react-instant-search.cjs +1 -1
- package/dist/sledge-react-instant-search.cjs.map +1 -1
- package/dist/sledge-react-instant-search.js +348 -282
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/{vendor-4555f002.cjs → vendor-9c93dcff.cjs} +2 -2
- package/dist/{vendor-4555f002.cjs.map → vendor-9c93dcff.cjs.map} +1 -1
- package/dist/{vendor-1f00eb2b.js → vendor-efe38901.js} +9 -51
- package/dist/{vendor-1f00eb2b.js.map → vendor-efe38901.js.map} +1 -1
- package/package.json +1 -1
|
@@ -16935,46 +16935,6 @@ const $57acba87d6e25586$var$ScrollAreaThumbImpl = /* @__PURE__ */ forwardRef((pr
|
|
|
16935
16935
|
onPointerUp: $e42e1063c40fb3ef$export$b9ecd428b558ff10$1(props.onPointerUp, scrollbarContext.onThumbPointerUp)
|
|
16936
16936
|
}));
|
|
16937
16937
|
});
|
|
16938
|
-
const $57acba87d6e25586$var$CORNER_NAME = "ScrollAreaCorner";
|
|
16939
|
-
const $57acba87d6e25586$export$56969d565df7cc4b = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
16940
|
-
const context = $57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$CORNER_NAME, props.__scopeScrollArea);
|
|
16941
|
-
const hasBothScrollbarsVisible = Boolean(context.scrollbarX && context.scrollbarY);
|
|
16942
|
-
const hasCorner = context.type !== "scroll" && hasBothScrollbarsVisible;
|
|
16943
|
-
return hasCorner ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaCornerImpl, _extends$1({}, props, {
|
|
16944
|
-
ref: forwardedRef
|
|
16945
|
-
})) : null;
|
|
16946
|
-
});
|
|
16947
|
-
const $57acba87d6e25586$var$ScrollAreaCornerImpl = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
16948
|
-
const { __scopeScrollArea, ...cornerProps } = props;
|
|
16949
|
-
const context = $57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$CORNER_NAME, __scopeScrollArea);
|
|
16950
|
-
const [width1, setWidth] = useState(0);
|
|
16951
|
-
const [height1, setHeight] = useState(0);
|
|
16952
|
-
const hasSize = Boolean(width1 && height1);
|
|
16953
|
-
$57acba87d6e25586$var$useResizeObserver(context.scrollbarX, () => {
|
|
16954
|
-
var _context$scrollbarX;
|
|
16955
|
-
const height = ((_context$scrollbarX = context.scrollbarX) === null || _context$scrollbarX === void 0 ? void 0 : _context$scrollbarX.offsetHeight) || 0;
|
|
16956
|
-
context.onCornerHeightChange(height);
|
|
16957
|
-
setHeight(height);
|
|
16958
|
-
});
|
|
16959
|
-
$57acba87d6e25586$var$useResizeObserver(context.scrollbarY, () => {
|
|
16960
|
-
var _context$scrollbarY;
|
|
16961
|
-
const width = ((_context$scrollbarY = context.scrollbarY) === null || _context$scrollbarY === void 0 ? void 0 : _context$scrollbarY.offsetWidth) || 0;
|
|
16962
|
-
context.onCornerWidthChange(width);
|
|
16963
|
-
setWidth(width);
|
|
16964
|
-
});
|
|
16965
|
-
return hasSize ? /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034$1.div, _extends$1({}, cornerProps, {
|
|
16966
|
-
ref: forwardedRef,
|
|
16967
|
-
style: {
|
|
16968
|
-
width: width1,
|
|
16969
|
-
height: height1,
|
|
16970
|
-
position: "absolute",
|
|
16971
|
-
right: context.dir === "ltr" ? 0 : void 0,
|
|
16972
|
-
left: context.dir === "rtl" ? 0 : void 0,
|
|
16973
|
-
bottom: 0,
|
|
16974
|
-
...props.style
|
|
16975
|
-
}
|
|
16976
|
-
})) : null;
|
|
16977
|
-
});
|
|
16978
16938
|
function $57acba87d6e25586$var$toInt(value) {
|
|
16979
16939
|
return value ? parseInt(value, 10) : 0;
|
|
16980
16940
|
}
|
|
@@ -17103,14 +17063,13 @@ const $57acba87d6e25586$export$be92b6f5f03c0fe9 = $57acba87d6e25586$export$ccf8d
|
|
|
17103
17063
|
const $57acba87d6e25586$export$d5c6c08dc2d3ca7 = $57acba87d6e25586$export$a21cbf9f11fca853;
|
|
17104
17064
|
const $57acba87d6e25586$export$9a4e88b92edfce6b = $57acba87d6e25586$export$2fabd85d0eba3c57;
|
|
17105
17065
|
const $57acba87d6e25586$export$6521433ed15a34db = $57acba87d6e25586$export$9fba1154677d7cd2;
|
|
17106
|
-
const $57acba87d6e25586$export$ac61190d9fc311a9 = $57acba87d6e25586$export$56969d565df7cc4b;
|
|
17107
17066
|
export {
|
|
17108
17067
|
$cb5cc270b50c6fcd$export$be92b6f5f03c0fe9 as $,
|
|
17109
17068
|
$cc7e05a45900e73f$export$2f60d3ec9ad468f2 as A,
|
|
17110
17069
|
$cc7e05a45900e73f$export$d5c6c08dc2d3ca7 as B,
|
|
17111
17070
|
$cc7e05a45900e73f$export$bf1aedc3039c8d63 as C,
|
|
17112
|
-
|
|
17113
|
-
|
|
17071
|
+
motion as D,
|
|
17072
|
+
client as E,
|
|
17114
17073
|
$a093c7e1ec25a057$export$2881499e37b75b9a as F,
|
|
17115
17074
|
$a093c7e1ec25a057$export$be92b6f5f03c0fe9 as G,
|
|
17116
17075
|
$a093c7e1ec25a057$export$41fb9f06171c75f4 as H,
|
|
@@ -17121,13 +17080,12 @@ export {
|
|
|
17121
17080
|
$57acba87d6e25586$export$d5c6c08dc2d3ca7 as M,
|
|
17122
17081
|
$57acba87d6e25586$export$9a4e88b92edfce6b as N,
|
|
17123
17082
|
$57acba87d6e25586$export$6521433ed15a34db as O,
|
|
17124
|
-
|
|
17125
|
-
|
|
17126
|
-
|
|
17127
|
-
$5d3850c4d0b4e6c7$export$
|
|
17128
|
-
$5d3850c4d0b4e6c7$export$
|
|
17129
|
-
$5d3850c4d0b4e6c7$export$
|
|
17130
|
-
$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2 as V,
|
|
17083
|
+
MasonryResponsive as P,
|
|
17084
|
+
Masonry as Q,
|
|
17085
|
+
$5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9 as R,
|
|
17086
|
+
$5d3850c4d0b4e6c7$export$602eac185826482c as S,
|
|
17087
|
+
$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff as T,
|
|
17088
|
+
$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2 as U,
|
|
17131
17089
|
$cb5cc270b50c6fcd$export$41fb9f06171c75f4 as a,
|
|
17132
17090
|
$cb5cc270b50c6fcd$export$602eac185826482c as b,
|
|
17133
17091
|
$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2 as c,
|
|
@@ -17155,4 +17113,4 @@ export {
|
|
|
17155
17113
|
$cc7e05a45900e73f$export$602eac185826482c as y,
|
|
17156
17114
|
$cc7e05a45900e73f$export$7c6e2c02157bb7d2 as z
|
|
17157
17115
|
};
|
|
17158
|
-
//# sourceMappingURL=vendor-
|
|
17116
|
+
//# sourceMappingURL=vendor-efe38901.js.map
|