@photoroom/ui 0.1.727 → 0.1.728
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/hooks/useCarousel.d.ts.map +1 -1
- package/index.mjs +5 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCarousel.d.ts","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":"AAQA,KAAK,kBAAkB,GAAG;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAUF,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,OAAO,GAAE,kBAAuB;;;;;;
|
|
1
|
+
{"version":3,"file":"useCarousel.d.ts","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":"AAQA,KAAK,kBAAkB,GAAG;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAUF,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,OAAO,GAAE,kBAAuB;;;;;;EA2FlF"}
|
package/index.mjs
CHANGED
|
@@ -16534,7 +16534,7 @@ Xx({
|
|
|
16534
16534
|
});
|
|
16535
16535
|
//#endregion
|
|
16536
16536
|
//#region ../shared/raterHandoff.ts
|
|
16537
|
-
var Xce =
|
|
16537
|
+
var Xce = 5, Zce = 8, iS = ace({ protocol: /^https$/ }).max(2048), Qce = Xx({
|
|
16538
16538
|
title: Wx().min(1).max(200),
|
|
16539
16539
|
productName: Wx().max(200),
|
|
16540
16540
|
imageUrl: iS.optional(),
|
|
@@ -31199,8 +31199,10 @@ function eV(e = {}) {
|
|
|
31199
31199
|
let d = t / 100 * c;
|
|
31200
31200
|
u >= d && !a.current ? (i(), a.current = !0) : u < d && a.current && (a.current = !1);
|
|
31201
31201
|
}
|
|
31202
|
-
|
|
31203
|
-
|
|
31202
|
+
n(), e?.addEventListener("scroll", n), window.addEventListener("resize", n);
|
|
31203
|
+
let r = new MutationObserver(n);
|
|
31204
|
+
return e && r.observe(e, { childList: !0 }), () => {
|
|
31205
|
+
e?.removeEventListener("scroll", n), window.removeEventListener("resize", n), r.disconnect();
|
|
31204
31206
|
};
|
|
31205
31207
|
}, []), {
|
|
31206
31208
|
showStartButton: o,
|