dune-react 0.0.35 → 0.0.37
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/puck-block/contact-sections/tab-locations/tab-locations.js +2 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +143 -95
- package/dist/components/puck-block/registry.generated.d.ts +219 -2014
- package/dist/components/puck-block/registry.generated.js +182 -238
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +3 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +1 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +1 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +1 -1
- package/dist/components/shadcn/carousel.js +3 -3
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import useEmblaCarousel from "embla-carousel-react";
|
|
5
|
+
import { ChevronRightIcon, ChevronLeftIcon } from "lucide-react";
|
|
5
6
|
import { cn } from "../../utils/css-utils.js";
|
|
6
7
|
import { Button } from "./button.js";
|
|
7
|
-
import { ChevronRightIcon, ChevronLeftIcon } from "lucide-react";
|
|
8
8
|
const CarouselContext = React.createContext(null);
|
|
9
9
|
function useCarousel() {
|
|
10
10
|
const context = React.useContext(CarouselContext);
|
|
@@ -156,7 +156,7 @@ function CarouselPrevious({
|
|
|
156
156
|
onClick: scrollPrev,
|
|
157
157
|
...props,
|
|
158
158
|
children: [
|
|
159
|
-
/* @__PURE__ */ jsx(ChevronLeftIcon, {}),
|
|
159
|
+
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "cn-rtl-flip" }),
|
|
160
160
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
161
161
|
]
|
|
162
162
|
}
|
|
@@ -184,7 +184,7 @@ function CarouselNext({
|
|
|
184
184
|
onClick: scrollNext,
|
|
185
185
|
...props,
|
|
186
186
|
children: [
|
|
187
|
-
/* @__PURE__ */ jsx(ChevronRightIcon, {}),
|
|
187
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "cn-rtl-flip" }),
|
|
188
188
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next slide" })
|
|
189
189
|
]
|
|
190
190
|
}
|