@yamada-ui/carousel 0.3.20 → 0.3.21
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/carousel-control.mjs +2 -2
- package/dist/carousel-indicators.mjs +2 -2
- package/dist/carousel-slide.mjs +2 -2
- package/dist/carousel.mjs +5 -5
- package/dist/{chunk-7G6MOHHW.mjs → chunk-AXRIYRZU.mjs} +1 -1
- package/dist/{chunk-IJF6FVDP.mjs → chunk-CLUCQ6QS.mjs} +2 -10
- package/dist/{chunk-HBLYAK54.mjs → chunk-FQTRCKSP.mjs} +1 -1
- package/dist/{chunk-4SNFCJLW.mjs → chunk-GAD5YQIO.mjs} +4 -4
- package/dist/{chunk-OGODE3KA.mjs → chunk-NCHSG6S3.mjs} +1 -1
- package/dist/index.mjs +5 -5
- package/dist/use-carousel.mjs +1 -1
- package/package.json +7 -7
package/dist/carousel-slide.mjs
CHANGED
package/dist/carousel.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
Carousel
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-GAD5YQIO.mjs";
|
|
5
|
+
import "./chunk-NCHSG6S3.mjs";
|
|
6
|
+
import "./chunk-FQTRCKSP.mjs";
|
|
7
|
+
import "./chunk-AXRIYRZU.mjs";
|
|
8
|
+
import "./chunk-CLUCQ6QS.mjs";
|
|
9
9
|
export {
|
|
10
10
|
Carousel
|
|
11
11
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
// src/use-carousel.ts
|
|
4
|
-
import {
|
|
5
|
-
layoutStylesProperties
|
|
6
|
-
} from "@yamada-ui/core";
|
|
4
|
+
import { layoutStylesProperties } from "@yamada-ui/core";
|
|
7
5
|
import { useControllableState } from "@yamada-ui/use-controllable-state";
|
|
8
6
|
import {
|
|
9
7
|
createContext,
|
|
@@ -13,13 +11,7 @@ import {
|
|
|
13
11
|
useUpdateEffect
|
|
14
12
|
} from "@yamada-ui/utils";
|
|
15
13
|
import useEmblaCarousel from "embla-carousel-react";
|
|
16
|
-
import {
|
|
17
|
-
Children,
|
|
18
|
-
useCallback,
|
|
19
|
-
useEffect,
|
|
20
|
-
useRef,
|
|
21
|
-
useState
|
|
22
|
-
} from "react";
|
|
14
|
+
import { Children, useCallback, useEffect, useRef, useState } from "react";
|
|
23
15
|
var [CarouselProvider, useCarouselContext] = createContext({
|
|
24
16
|
name: "CarouselContext",
|
|
25
17
|
errorMessage: `useCarouselContext returned is 'undefined'. Seems you forgot to wrap the components in "<Carousel />"`
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CarouselControlNext,
|
|
4
4
|
CarouselControlPrev
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NCHSG6S3.mjs";
|
|
6
6
|
import {
|
|
7
7
|
CarouselIndicators
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FQTRCKSP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
CarouselSlide
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AXRIYRZU.mjs";
|
|
12
12
|
import {
|
|
13
13
|
CarouselProvider,
|
|
14
14
|
useCarousel,
|
|
15
15
|
useCarouselContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CLUCQ6QS.mjs";
|
|
17
17
|
|
|
18
18
|
// src/carousel.tsx
|
|
19
19
|
import {
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
Carousel
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GAD5YQIO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CarouselControlNext,
|
|
7
7
|
CarouselControlPrev
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NCHSG6S3.mjs";
|
|
9
9
|
import {
|
|
10
10
|
CarouselIndicators
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FQTRCKSP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
CarouselSlide
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-AXRIYRZU.mjs";
|
|
15
|
+
import "./chunk-CLUCQ6QS.mjs";
|
|
16
16
|
export {
|
|
17
17
|
Carousel,
|
|
18
18
|
CarouselControlNext,
|
package/dist/use-carousel.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/carousel",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.21",
|
|
4
4
|
"description": "Yamada UI carousel component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"embla-carousel-react": "^7.0.0",
|
|
39
|
-
"@yamada-ui/button": "0.3.
|
|
40
|
-
"@yamada-ui/core": "0.12.
|
|
41
|
-
"@yamada-ui/icon": "0.3.
|
|
42
|
-
"@yamada-ui/use-controllable-state": "0.3.
|
|
43
|
-
"@yamada-ui/use-token": "0.3.
|
|
44
|
-
"@yamada-ui/use-value": "0.2.
|
|
39
|
+
"@yamada-ui/button": "0.3.19",
|
|
40
|
+
"@yamada-ui/core": "0.12.7",
|
|
41
|
+
"@yamada-ui/icon": "0.3.17",
|
|
42
|
+
"@yamada-ui/use-controllable-state": "0.3.2",
|
|
43
|
+
"@yamada-ui/use-token": "0.3.11",
|
|
44
|
+
"@yamada-ui/use-value": "0.2.17",
|
|
45
45
|
"@yamada-ui/utils": "0.3.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|