ublo-lib 1.7.7 → 1.7.8

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.
@@ -116,7 +116,7 @@ const Carousel = ({
116
116
  const [dragging, setDragging] = React.useState(0);
117
117
  const editing = cmsMode === "editing";
118
118
  const draggingAllowed = !editing && allowDragOnDesktop;
119
- const targets = editing ? "section" : "section:not([data-hidden])";
119
+ const targets = "section[data-class]";
120
120
  const showNextArrow = current < count - 1;
121
121
  const showPrevArrow = current !== 0;
122
122
  const next = React.useCallback(e => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^2.1.0",
6
6
  "next": "^12.0.0",