@yamada-ui/carousel 0.3.16 → 0.3.18

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.
@@ -1,5 +1,5 @@
1
1
  import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { HTMLUIProps, UIProps } from '@yamada-ui/core';
2
+ import { HTMLUIProps, CSSUIObject } from '@yamada-ui/core';
3
3
  import { UseCarouselSlideProps } from './use-carousel.mjs';
4
4
  import 'react';
5
5
  import '@yamada-ui/button';
@@ -10,7 +10,7 @@ type CarouselSlideOptions = {
10
10
  /**
11
11
  * The CSS `width` property.
12
12
  */
13
- size?: UIProps['width'];
13
+ size?: CSSUIObject['width'];
14
14
  };
15
15
  type CarouselSlideProps = HTMLUIProps<'div'> & UseCarouselSlideProps & CarouselSlideOptions;
16
16
  declare const CarouselSlide: _yamada_ui_core.Component<"div", CarouselSlideProps>;
@@ -1,5 +1,5 @@
1
1
  import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { HTMLUIProps, UIProps } from '@yamada-ui/core';
2
+ import { HTMLUIProps, CSSUIObject } from '@yamada-ui/core';
3
3
  import { UseCarouselSlideProps } from './use-carousel.js';
4
4
  import 'react';
5
5
  import '@yamada-ui/button';
@@ -10,7 +10,7 @@ type CarouselSlideOptions = {
10
10
  /**
11
11
  * The CSS `width` property.
12
12
  */
13
- size?: UIProps['width'];
13
+ size?: CSSUIObject['width'];
14
14
  };
15
15
  type CarouselSlideProps = HTMLUIProps<'div'> & UseCarouselSlideProps & CarouselSlideOptions;
16
16
  declare const CarouselSlide: _yamada_ui_core.Component<"div", CarouselSlideProps>;
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  CarouselSlide
4
- } from "./chunk-I6T2UL3T.mjs";
4
+ } from "./chunk-7G6MOHHW.mjs";
5
5
  import "./chunk-IJF6FVDP.mjs";
6
6
  export {
7
7
  CarouselSlide
@@ -1,5 +1,5 @@
1
1
  import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { ThemeProps, HTMLUIProps, Token, UIProps } from '@yamada-ui/core';
2
+ import { ThemeProps, HTMLUIProps, Token, CSSUIProps } from '@yamada-ui/core';
3
3
  import { UseCarouselProps } from './use-carousel.mjs';
4
4
  import { CarouselControlProps } from './carousel-control.mjs';
5
5
  import { CarouselIndicatorsProps } from './carousel-indicators.mjs';
@@ -100,7 +100,7 @@ type CarouselOptions = {
100
100
  /**
101
101
  * The CSS `width` property.
102
102
  */
103
- slideSize?: UIProps['width'];
103
+ slideSize?: CSSUIProps['width'];
104
104
  /**
105
105
  * Props for carousel inner element.
106
106
  */
@@ -1,5 +1,5 @@
1
1
  import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { ThemeProps, HTMLUIProps, Token, UIProps } from '@yamada-ui/core';
2
+ import { ThemeProps, HTMLUIProps, Token, CSSUIProps } from '@yamada-ui/core';
3
3
  import { UseCarouselProps } from './use-carousel.js';
4
4
  import { CarouselControlProps } from './carousel-control.js';
5
5
  import { CarouselIndicatorsProps } from './carousel-indicators.js';
@@ -100,7 +100,7 @@ type CarouselOptions = {
100
100
  /**
101
101
  * The CSS `width` property.
102
102
  */
103
- slideSize?: UIProps['width'];
103
+ slideSize?: CSSUIProps['width'];
104
104
  /**
105
105
  * Props for carousel inner element.
106
106
  */
package/dist/carousel.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client"
2
2
  import {
3
3
  Carousel
4
- } from "./chunk-ULZ4RSRV.mjs";
4
+ } from "./chunk-4SNFCJLW.mjs";
5
5
  import "./chunk-OGODE3KA.mjs";
6
6
  import "./chunk-HBLYAK54.mjs";
7
- import "./chunk-I6T2UL3T.mjs";
7
+ import "./chunk-7G6MOHHW.mjs";
8
8
  import "./chunk-IJF6FVDP.mjs";
9
9
  export {
10
10
  Carousel
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-HBLYAK54.mjs";
9
9
  import {
10
10
  CarouselSlide
11
- } from "./chunk-I6T2UL3T.mjs";
11
+ } from "./chunk-7G6MOHHW.mjs";
12
12
  import {
13
13
  CarouselProvider,
14
14
  useCarousel,
@@ -5,10 +5,7 @@ import {
5
5
  } from "./chunk-IJF6FVDP.mjs";
6
6
 
7
7
  // src/carousel-slide.tsx
8
- import {
9
- ui,
10
- forwardRef
11
- } from "@yamada-ui/core";
8
+ import { ui, forwardRef } from "@yamada-ui/core";
12
9
  import { cx } from "@yamada-ui/utils";
13
10
  import { jsx } from "react/jsx-runtime";
14
11
  var CarouselSlide = forwardRef(
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Carousel
4
- } from "./chunk-ULZ4RSRV.mjs";
4
+ } from "./chunk-4SNFCJLW.mjs";
5
5
  import {
6
6
  CarouselControlNext,
7
7
  CarouselControlPrev
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-HBLYAK54.mjs";
12
12
  import {
13
13
  CarouselSlide
14
- } from "./chunk-I6T2UL3T.mjs";
14
+ } from "./chunk-7G6MOHHW.mjs";
15
15
  import "./chunk-IJF6FVDP.mjs";
16
16
  export {
17
17
  Carousel,
@@ -1,5 +1,5 @@
1
1
  import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { HTMLUIProps, UIProps, CSSUIObject } from '@yamada-ui/core';
2
+ import { HTMLUIProps, CSSUIProps, CSSUIObject } from '@yamada-ui/core';
3
3
  import * as react from 'react';
4
4
  import { IconButtonProps } from '@yamada-ui/button';
5
5
  import { PropGetter, RequiredPropGetter } from '@yamada-ui/utils';
@@ -13,7 +13,7 @@ type CarouselContext = {
13
13
  includeGapInSize: boolean;
14
14
  slidesToScroll: number;
15
15
  slideSize: string | number;
16
- gap: UIProps['gap'];
16
+ gap: CSSUIProps['gap'];
17
17
  styles: Record<string, CSSUIObject>;
18
18
  };
19
19
  declare const CarouselProvider: react.Provider<CarouselContext>;
@@ -126,7 +126,7 @@ type UseCarouselProps = Omit<HTMLUIProps<'div'>, 'onChange' | 'draggable' | 'gap
126
126
  *
127
127
  * @default 'md'
128
128
  */
129
- gap?: UIProps['gap'];
129
+ gap?: CSSUIProps['gap'];
130
130
  /**
131
131
  * The carousel slide width.
132
132
  *
@@ -1,5 +1,5 @@
1
1
  import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { HTMLUIProps, UIProps, CSSUIObject } from '@yamada-ui/core';
2
+ import { HTMLUIProps, CSSUIProps, CSSUIObject } from '@yamada-ui/core';
3
3
  import * as react from 'react';
4
4
  import { IconButtonProps } from '@yamada-ui/button';
5
5
  import { PropGetter, RequiredPropGetter } from '@yamada-ui/utils';
@@ -13,7 +13,7 @@ type CarouselContext = {
13
13
  includeGapInSize: boolean;
14
14
  slidesToScroll: number;
15
15
  slideSize: string | number;
16
- gap: UIProps['gap'];
16
+ gap: CSSUIProps['gap'];
17
17
  styles: Record<string, CSSUIObject>;
18
18
  };
19
19
  declare const CarouselProvider: react.Provider<CarouselContext>;
@@ -126,7 +126,7 @@ type UseCarouselProps = Omit<HTMLUIProps<'div'>, 'onChange' | 'draggable' | 'gap
126
126
  *
127
127
  * @default 'md'
128
128
  */
129
- gap?: UIProps['gap'];
129
+ gap?: CSSUIProps['gap'];
130
130
  /**
131
131
  * The carousel slide width.
132
132
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/carousel",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
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.15",
40
- "@yamada-ui/core": "0.12.4",
41
- "@yamada-ui/icon": "0.3.14",
42
- "@yamada-ui/use-controllable-state": "0.2.4",
43
- "@yamada-ui/use-token": "0.3.8",
44
- "@yamada-ui/use-value": "0.2.14",
45
- "@yamada-ui/utils": "0.3.2"
39
+ "@yamada-ui/button": "0.3.16",
40
+ "@yamada-ui/core": "0.12.5",
41
+ "@yamada-ui/icon": "0.3.15",
42
+ "@yamada-ui/use-controllable-state": "0.3.0",
43
+ "@yamada-ui/use-token": "0.3.9",
44
+ "@yamada-ui/use-value": "0.2.15",
45
+ "@yamada-ui/utils": "0.3.3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "clean-package": "2.2.0",