@yamada-ui/carousel 0.2.12 → 0.2.14

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.
@@ -129,7 +129,7 @@ var CarouselControlNext = (0, import_core2.forwardRef)(
129
129
  );
130
130
  var CarouselControl = (0, import_core2.forwardRef)(({ className, operation, ...rest }, ref) => {
131
131
  const { styles } = useCarouselContext();
132
- const colorScheme = (0, import_core2.useColorModetValue)("whiteAlpha", "blackAlpha");
132
+ const colorScheme = (0, import_core2.useColorModeValue)("whiteAlpha", "blackAlpha");
133
133
  const css = {
134
134
  position: "absolute",
135
135
  zIndex: "kurillin",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CarouselControlNext,
3
3
  CarouselControlPrev
4
- } from "./chunk-D5HQSKWR.mjs";
4
+ } from "./chunk-KUAEIYOT.mjs";
5
5
  import "./chunk-QR66JOUK.mjs";
6
6
  export {
7
7
  CarouselControlNext,
package/dist/carousel.js CHANGED
@@ -378,7 +378,7 @@ var CarouselControlNext = (0, import_core3.forwardRef)(
378
378
  );
379
379
  var CarouselControl = (0, import_core3.forwardRef)(({ className, operation, ...rest }, ref) => {
380
380
  const { styles } = useCarouselContext();
381
- const colorScheme = (0, import_core3.useColorModetValue)("whiteAlpha", "blackAlpha");
381
+ const colorScheme = (0, import_core3.useColorModeValue)("whiteAlpha", "blackAlpha");
382
382
  const css = {
383
383
  position: "absolute",
384
384
  zIndex: "kurillin",
package/dist/carousel.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Carousel
3
- } from "./chunk-4PHQQK4S.mjs";
4
- import "./chunk-D5HQSKWR.mjs";
3
+ } from "./chunk-4WJHFOJT.mjs";
4
+ import "./chunk-KUAEIYOT.mjs";
5
5
  import "./chunk-6FKEASJN.mjs";
6
6
  import "./chunk-T2MDCOCV.mjs";
7
7
  import "./chunk-QR66JOUK.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CarouselControlNext,
3
3
  CarouselControlPrev
4
- } from "./chunk-D5HQSKWR.mjs";
4
+ } from "./chunk-KUAEIYOT.mjs";
5
5
  import {
6
6
  CarouselIndicators
7
7
  } from "./chunk-6FKEASJN.mjs";
@@ -5,7 +5,7 @@ import {
5
5
 
6
6
  // src/carousel-control.tsx
7
7
  import { IconButton } from "@yamada-ui/button";
8
- import { forwardRef, useColorModetValue } from "@yamada-ui/core";
8
+ import { forwardRef, useColorModeValue } from "@yamada-ui/core";
9
9
  import { ChevronIcon } from "@yamada-ui/icon";
10
10
  import { cx } from "@yamada-ui/utils";
11
11
  import { jsx } from "react/jsx-runtime";
@@ -57,7 +57,7 @@ var CarouselControlNext = forwardRef(
57
57
  );
58
58
  var CarouselControl = forwardRef(({ className, operation, ...rest }, ref) => {
59
59
  const { styles } = useCarouselContext();
60
- const colorScheme = useColorModetValue("whiteAlpha", "blackAlpha");
60
+ const colorScheme = useColorModeValue("whiteAlpha", "blackAlpha");
61
61
  const css = {
62
62
  position: "absolute",
63
63
  zIndex: "kurillin",
package/dist/index.js CHANGED
@@ -513,7 +513,7 @@ var CarouselControlNext = (0, import_core4.forwardRef)(
513
513
  );
514
514
  var CarouselControl = (0, import_core4.forwardRef)(({ className, operation, ...rest }, ref) => {
515
515
  const { styles } = useCarouselContext();
516
- const colorScheme = (0, import_core4.useColorModetValue)("whiteAlpha", "blackAlpha");
516
+ const colorScheme = (0, import_core4.useColorModeValue)("whiteAlpha", "blackAlpha");
517
517
  const css = {
518
518
  position: "absolute",
519
519
  zIndex: "kurillin",
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Carousel
3
- } from "./chunk-4PHQQK4S.mjs";
3
+ } from "./chunk-4WJHFOJT.mjs";
4
4
  import {
5
5
  CarouselControlNext,
6
6
  CarouselControlPrev
7
- } from "./chunk-D5HQSKWR.mjs";
7
+ } from "./chunk-KUAEIYOT.mjs";
8
8
  import {
9
9
  CarouselIndicators
10
10
  } from "./chunk-6FKEASJN.mjs";
@@ -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 & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "70" | "-70" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5" | _yamada_ui_core.ResponsiveObject<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "70" | "-70" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5"> | _yamada_ui_core.ColorModeArray<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "70" | "-70" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5">;
148
+ gap: number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5" | _yamada_ui_core.ResponsiveObject<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5"> | _yamada_ui_core.ColorModeArray<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5">;
149
149
  slidesToScroll: number;
150
150
  includeGapInSize: boolean;
151
151
  getContainerProps: PropGetter;
@@ -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 & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "70" | "-70" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5" | _yamada_ui_core.ResponsiveObject<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "70" | "-70" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5"> | _yamada_ui_core.ColorModeArray<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "70" | "-70" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5">;
148
+ gap: number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5" | _yamada_ui_core.ResponsiveObject<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5"> | _yamada_ui_core.ColorModeArray<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "sm" | "md" | "lg" | "xl" | "2xl" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | "-7" | "8" | "-8" | "9" | "-9" | "10" | "-10" | "12" | "-12" | "14" | "-14" | "16" | "-16" | "20" | "-20" | "24" | "-24" | "28" | "-28" | "32" | "-32" | "36" | "-36" | "40" | "-40" | "44" | "-44" | "48" | "-48" | "52" | "-52" | "56" | "-56" | "60" | "-60" | "64" | "-64" | "72" | "-72" | "80" | "-80" | "84" | "-84" | "96" | "-96" | "xs" | "-xs" | "-sm" | "-md" | "normal" | "-normal" | "-lg" | "-xl" | "-2xl" | "3xl" | "-3xl" | "4xl" | "-4xl" | "-px" | "0.5" | "-0.5" | "1.5" | "-1.5" | "2.5" | "-2.5" | "3.5" | "-3.5">;
149
149
  slidesToScroll: number;
150
150
  includeGapInSize: boolean;
151
151
  getContainerProps: PropGetter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/carousel",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
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.2.12",
40
- "@yamada-ui/core": "0.6.2",
41
- "@yamada-ui/icon": "0.2.12",
42
- "@yamada-ui/use-controllable-state": "0.1.6",
43
- "@yamada-ui/use-token": "0.1.24",
44
- "@yamada-ui/use-value": "0.1.24",
45
- "@yamada-ui/utils": "0.1.5"
39
+ "@yamada-ui/button": "0.2.14",
40
+ "@yamada-ui/core": "0.6.4",
41
+ "@yamada-ui/icon": "0.2.14",
42
+ "@yamada-ui/use-controllable-state": "0.1.7",
43
+ "@yamada-ui/use-token": "0.1.26",
44
+ "@yamada-ui/use-value": "0.1.26",
45
+ "@yamada-ui/utils": "0.2.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "clean-package": "2.2.0",