@k8slens/lds-carousel 0.22.0 → 0.23.0

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,4 +1,4 @@
1
- import { type HTMLAttributes, type PropsWithChildren } from "react";
1
+ import React, { type HTMLAttributes, type PropsWithChildren } from "react";
2
2
  export interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * A helper state to control video autoplay.
@@ -13,5 +13,5 @@ export interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
13
13
  /**
14
14
  * Carousel component. Uses React Embla Carousel under the hood.
15
15
  */
16
- declare const Carousel: ({ isVideoPlaying, setVideoPlaying, className, children, ...props }: PropsWithChildren<CarouselProps>) => JSX.Element;
16
+ declare const Carousel: ({ isVideoPlaying, setVideoPlaying, className, children, ...props }: PropsWithChildren<CarouselProps>) => React.JSX.Element;
17
17
  export default Carousel;
@@ -1,4 +1,4 @@
1
- import { type HTMLAttributes, type PropsWithChildren } from "react";
1
+ import React, { type HTMLAttributes, type PropsWithChildren } from "react";
2
2
  export interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * A helper state to control video autoplay.
@@ -13,5 +13,5 @@ export interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
13
13
  /**
14
14
  * Carousel component. Uses React Embla Carousel under the hood.
15
15
  */
16
- declare const Carousel: ({ isVideoPlaying, setVideoPlaying, className, children, ...props }: PropsWithChildren<CarouselProps>) => JSX.Element;
16
+ declare const Carousel: ({ isVideoPlaying, setVideoPlaying, className, children, ...props }: PropsWithChildren<CarouselProps>) => React.JSX.Element;
17
17
  export default Carousel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k8slens/lds-carousel",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Lens Design System – React Carousel component",
5
5
  "author": "Mirantis Inc",
6
6
  "license": "MIT",
@@ -27,20 +27,20 @@
27
27
  "format": "eslint --fix ."
28
28
  },
29
29
  "dependencies": {
30
- "@k8slens/lds": "^0.56.0",
30
+ "@k8slens/lds": "^0.57.0",
31
31
  "embla-carousel-autoplay": "8.0.0-rc11",
32
32
  "embla-carousel-react": "8.0.0-rc11"
33
33
  },
34
34
  "devDependencies": {
35
- "@k8slens/lds-tokens": "^0.57.0",
35
+ "@k8slens/lds-tokens": "^0.58.0",
36
36
  "@rollup/plugin-node-resolve": "15.0.2",
37
37
  "@storybook/react": "6.5.16",
38
38
  "@testing-library/react": "14.0.0",
39
39
  "typescript": "4.8.4"
40
40
  },
41
41
  "peerDependencies": {
42
- "@types/react": "^18.2.0",
43
- "@types/react-dom": "^18.2.1",
42
+ "@types/react": "^18.3.0",
43
+ "@types/react-dom": "^18.3.0",
44
44
  "clsx": "^1.2.1",
45
45
  "react": "^18.2.0",
46
46
  "react-dom": "^18.2.0"
@@ -55,5 +55,5 @@
55
55
  "\\.svg": "<rootDir>/../../__mocks__/SVGStub.js"
56
56
  }
57
57
  },
58
- "gitHead": "9cbede843e83a36f06e73d8e6f46a8b4235810ae"
58
+ "gitHead": "dc375594fe63bf08745b6cfa09c4dc8437a4dc03"
59
59
  }