@yamada-ui/carousel 0.3.23 → 0.3.25
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.d.mts +1 -1
- package/dist/carousel-control.d.ts +1 -1
- package/dist/carousel-indicators.d.mts +1 -1
- package/dist/carousel-indicators.d.ts +1 -1
- package/dist/carousel-slide.d.mts +1 -1
- package/dist/carousel-slide.d.ts +1 -1
- package/dist/carousel.d.mts +1 -1
- package/dist/carousel.d.ts +1 -1
- package/dist/use-carousel.d.mts +2 -2
- package/dist/use-carousel.d.ts +2 -2
- package/package.json +8 -8
|
@@ -5,4 +5,4 @@ type CarouselControlProps = IconButtonProps;
|
|
|
5
5
|
declare const CarouselControlPrev: _yamada_ui_core.Component<"button", IconButtonProps>;
|
|
6
6
|
declare const CarouselControlNext: _yamada_ui_core.Component<"button", IconButtonProps>;
|
|
7
7
|
|
|
8
|
-
export { CarouselControlNext, CarouselControlPrev, CarouselControlProps };
|
|
8
|
+
export { CarouselControlNext, CarouselControlPrev, type CarouselControlProps };
|
|
@@ -5,4 +5,4 @@ type CarouselControlProps = IconButtonProps;
|
|
|
5
5
|
declare const CarouselControlPrev: _yamada_ui_core.Component<"button", IconButtonProps>;
|
|
6
6
|
declare const CarouselControlNext: _yamada_ui_core.Component<"button", IconButtonProps>;
|
|
7
7
|
|
|
8
|
-
export { CarouselControlNext, CarouselControlPrev, CarouselControlProps };
|
|
8
|
+
export { CarouselControlNext, CarouselControlPrev, type CarouselControlProps };
|
|
@@ -14,4 +14,4 @@ type CarouselIndicatorsOptions = {
|
|
|
14
14
|
type CarouselIndicatorsProps = Omit<HTMLUIProps<"div">, "children"> & CarouselIndicatorsOptions;
|
|
15
15
|
declare const CarouselIndicators: _yamada_ui_core.Component<"div", CarouselIndicatorsProps>;
|
|
16
16
|
|
|
17
|
-
export { CarouselIndicators, CarouselIndicatorsProps };
|
|
17
|
+
export { CarouselIndicators, type CarouselIndicatorsProps };
|
|
@@ -14,4 +14,4 @@ type CarouselIndicatorsOptions = {
|
|
|
14
14
|
type CarouselIndicatorsProps = Omit<HTMLUIProps<"div">, "children"> & CarouselIndicatorsOptions;
|
|
15
15
|
declare const CarouselIndicators: _yamada_ui_core.Component<"div", CarouselIndicatorsProps>;
|
|
16
16
|
|
|
17
|
-
export { CarouselIndicators, CarouselIndicatorsProps };
|
|
17
|
+
export { CarouselIndicators, type CarouselIndicatorsProps };
|
|
@@ -15,4 +15,4 @@ type CarouselSlideOptions = {
|
|
|
15
15
|
type CarouselSlideProps = HTMLUIProps<"div"> & UseCarouselSlideProps & CarouselSlideOptions;
|
|
16
16
|
declare const CarouselSlide: _yamada_ui_core.Component<"div", CarouselSlideProps>;
|
|
17
17
|
|
|
18
|
-
export { CarouselSlide, CarouselSlideProps };
|
|
18
|
+
export { CarouselSlide, type CarouselSlideProps };
|
package/dist/carousel-slide.d.ts
CHANGED
|
@@ -15,4 +15,4 @@ type CarouselSlideOptions = {
|
|
|
15
15
|
type CarouselSlideProps = HTMLUIProps<"div"> & UseCarouselSlideProps & CarouselSlideOptions;
|
|
16
16
|
declare const CarouselSlide: _yamada_ui_core.Component<"div", CarouselSlideProps>;
|
|
17
17
|
|
|
18
|
-
export { CarouselSlide, CarouselSlideProps };
|
|
18
|
+
export { CarouselSlide, type CarouselSlideProps };
|
package/dist/carousel.d.mts
CHANGED
|
@@ -137,4 +137,4 @@ type CarouselOptions = {
|
|
|
137
137
|
type CarouselProps = ThemeProps<"Carousel"> & Omit<HTMLUIProps<"div">, "onChange" | "draggable"> & Pick<UseCarouselProps, "index" | "defaultIndex" | "onChange" | "onScrollProgress"> & CarouselOptions;
|
|
138
138
|
declare const Carousel: _yamada_ui_core.Component<"div", CarouselProps>;
|
|
139
139
|
|
|
140
|
-
export { Carousel, CarouselProps };
|
|
140
|
+
export { Carousel, type CarouselProps };
|
package/dist/carousel.d.ts
CHANGED
|
@@ -137,4 +137,4 @@ type CarouselOptions = {
|
|
|
137
137
|
type CarouselProps = ThemeProps<"Carousel"> & Omit<HTMLUIProps<"div">, "onChange" | "draggable"> & Pick<UseCarouselProps, "index" | "defaultIndex" | "onChange" | "onScrollProgress"> & CarouselOptions;
|
|
138
138
|
declare const Carousel: _yamada_ui_core.Component<"div", CarouselProps>;
|
|
139
139
|
|
|
140
|
-
export { Carousel, CarouselProps };
|
|
140
|
+
export { Carousel, type CarouselProps };
|
package/dist/use-carousel.d.mts
CHANGED
|
@@ -145,7 +145,7 @@ declare const useCarousel: ({ index, defaultIndex, onChange, align, orientation,
|
|
|
145
145
|
selectedIndex: number;
|
|
146
146
|
orientation: "vertical" | "horizontal";
|
|
147
147
|
slideSize: string | number;
|
|
148
|
-
gap: number | "px" | (string & {}) | "
|
|
148
|
+
gap: number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "xs" | "3xl" | "4xl" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-xs" | "-sm" | "-md" | "-normal" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-px" | "-0.5" | "-1.5" | "-2.5" | "-3.5" | _yamada_ui_core.ResponsiveObject<number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "xs" | "3xl" | "4xl" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-xs" | "-sm" | "-md" | "-normal" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-px" | "-0.5" | "-1.5" | "-2.5" | "-3.5"> | _yamada_ui_core.ColorModeArray<number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "xs" | "3xl" | "4xl" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-xs" | "-sm" | "-md" | "-normal" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-px" | "-0.5" | "-1.5" | "-2.5" | "-3.5">;
|
|
149
149
|
slidesToScroll: number;
|
|
150
150
|
includeGapInSize: boolean;
|
|
151
151
|
getContainerProps: PropGetter;
|
|
@@ -174,4 +174,4 @@ declare const useCarouselIndicators: () => {
|
|
|
174
174
|
};
|
|
175
175
|
type UseCarouselIndicatorsReturn = ReturnType<typeof useCarouselIndicators>;
|
|
176
176
|
|
|
177
|
-
export { CarouselProvider, UseCarouselControlProps, UseCarouselControlReturn, UseCarouselIndicatorsReturn, UseCarouselProps, UseCarouselReturn, UseCarouselSlideProps, UseCarouselSlideReturn, useCarousel, useCarouselContext, useCarouselControl, useCarouselIndicators, useCarouselSlide };
|
|
177
|
+
export { CarouselProvider, type UseCarouselControlProps, type UseCarouselControlReturn, type UseCarouselIndicatorsReturn, type UseCarouselProps, type UseCarouselReturn, type UseCarouselSlideProps, type UseCarouselSlideReturn, useCarousel, useCarouselContext, useCarouselControl, useCarouselIndicators, useCarouselSlide };
|
package/dist/use-carousel.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ declare const useCarousel: ({ index, defaultIndex, onChange, align, orientation,
|
|
|
145
145
|
selectedIndex: number;
|
|
146
146
|
orientation: "vertical" | "horizontal";
|
|
147
147
|
slideSize: string | number;
|
|
148
|
-
gap: number | "px" | (string & {}) | "
|
|
148
|
+
gap: number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "xs" | "3xl" | "4xl" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-xs" | "-sm" | "-md" | "-normal" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-px" | "-0.5" | "-1.5" | "-2.5" | "-3.5" | _yamada_ui_core.ResponsiveObject<number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "xs" | "3xl" | "4xl" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-xs" | "-sm" | "-md" | "-normal" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-px" | "-0.5" | "-1.5" | "-2.5" | "-3.5"> | _yamada_ui_core.ColorModeArray<number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "xs" | "3xl" | "4xl" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-xs" | "-sm" | "-md" | "-normal" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-px" | "-0.5" | "-1.5" | "-2.5" | "-3.5">;
|
|
149
149
|
slidesToScroll: number;
|
|
150
150
|
includeGapInSize: boolean;
|
|
151
151
|
getContainerProps: PropGetter;
|
|
@@ -174,4 +174,4 @@ declare const useCarouselIndicators: () => {
|
|
|
174
174
|
};
|
|
175
175
|
type UseCarouselIndicatorsReturn = ReturnType<typeof useCarouselIndicators>;
|
|
176
176
|
|
|
177
|
-
export { CarouselProvider, UseCarouselControlProps, UseCarouselControlReturn, UseCarouselIndicatorsReturn, UseCarouselProps, UseCarouselReturn, UseCarouselSlideProps, UseCarouselSlideReturn, useCarousel, useCarouselContext, useCarouselControl, useCarouselIndicators, useCarouselSlide };
|
|
177
|
+
export { CarouselProvider, type UseCarouselControlProps, type UseCarouselControlReturn, type UseCarouselIndicatorsReturn, type UseCarouselProps, type UseCarouselReturn, type UseCarouselSlideProps, type UseCarouselSlideReturn, useCarousel, useCarouselContext, useCarouselControl, useCarouselIndicators, useCarouselSlide };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/carousel",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.25",
|
|
4
4
|
"description": "Yamada UI carousel component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"embla-carousel-react": "^7.0.0",
|
|
39
|
-
"@yamada-ui/button": "0.3.
|
|
40
|
-
"@yamada-ui/core": "0.
|
|
41
|
-
"@yamada-ui/icon": "0.3.
|
|
42
|
-
"@yamada-ui/use-controllable-state": "0.4.
|
|
43
|
-
"@yamada-ui/use-token": "0.3.
|
|
44
|
-
"@yamada-ui/use-value": "0.2.
|
|
45
|
-
"@yamada-ui/utils": "0.
|
|
39
|
+
"@yamada-ui/button": "0.3.22",
|
|
40
|
+
"@yamada-ui/core": "0.13.1",
|
|
41
|
+
"@yamada-ui/icon": "0.3.20",
|
|
42
|
+
"@yamada-ui/use-controllable-state": "0.4.1",
|
|
43
|
+
"@yamada-ui/use-token": "0.3.14",
|
|
44
|
+
"@yamada-ui/use-value": "0.2.20",
|
|
45
|
+
"@yamada-ui/utils": "0.4.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"clean-package": "2.2.0",
|