react-spring-carousel 3.0.0-beta-2.0.251 → 3.0.0-beta-2.0.252

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.es.js CHANGED
@@ -1240,7 +1240,7 @@ function Oe({
1240
1240
  --${n}-offset-modifier: 0px;
1241
1241
  --${n}-scroll-x-value: ${c !== "freeScroll" && a === "x" ? `calc(var(--${n}-offset-position) + var(--${n}-offset-modifier))` : "0px"};
1242
1242
  --${n}-scroll-y-value: ${c !== "freeScroll" && a === "y" ? `calc(var(--${n}-offset-position) + var(--${n}-offset-modifier))` : "0px"};
1243
-
1243
+ touch-action: ${it ? a === "x" ? "pan-y" : "pan-x" : "auto"};
1244
1244
  }
1245
1245
  [data-part-internal="${n}-Track"] {
1246
1246
  display: flex;
@@ -1256,7 +1256,6 @@ function Oe({
1256
1256
  gap: var(--${n}-gutter);
1257
1257
  transform: translate3d(var(--${n}-scroll-x-value), var(--${n}-scroll-y-value), 0px);
1258
1258
  overflow-x: ${c === "freeScroll" ? "auto" : "visible"};
1259
- touch-action: ${it ? a === "x" ? "pan-y" : "pan-x" : "auto"};
1260
1259
  }
1261
1260
  [data-part-internal="${n}-Item"] {
1262
1261
  display: flex;
package/dist/index.umd.js CHANGED
@@ -13,7 +13,7 @@
13
13
  --${n}-offset-modifier: 0px;
14
14
  --${n}-scroll-x-value: ${c!=="freeScroll"&&a==="x"?`calc(var(--${n}-offset-position) + var(--${n}-offset-modifier))`:"0px"};
15
15
  --${n}-scroll-y-value: ${c!=="freeScroll"&&a==="y"?`calc(var(--${n}-offset-position) + var(--${n}-offset-modifier))`:"0px"};
16
-
16
+ touch-action: ${xe?a==="x"?"pan-y":"pan-x":"auto"};
17
17
  }
18
18
  [data-part-internal="${n}-Track"] {
19
19
  display: flex;
@@ -29,7 +29,6 @@
29
29
  gap: var(--${n}-gutter);
30
30
  transform: translate3d(var(--${n}-scroll-x-value), var(--${n}-scroll-y-value), 0px);
31
31
  overflow-x: ${c==="freeScroll"?"auto":"visible"};
32
- touch-action: ${xe?a==="x"?"pan-y":"pan-x":"auto"};
33
32
  }
34
33
  [data-part-internal="${n}-Item"] {
35
34
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-spring-carousel",
3
- "version": "3.0.0-beta-2.0.251",
3
+ "version": "3.0.0-beta-2.0.252",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.js",