@tecsinapse/cortex-react 1.12.2 → 1.12.3

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.
@@ -20,10 +20,8 @@ const Carousel = ({ images }) => {
20
20
  {
21
21
  type: "button",
22
22
  "data-testid": "button-carousel-prev",
23
- variants: {
24
- size: "square",
25
- className: "z-absolute absolute left-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex"
26
- },
23
+ className: "z-absolute absolute left-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex",
24
+ size: "square",
27
25
  onClick: slideToPrevItem
28
26
  },
29
27
  /* @__PURE__ */ React.createElement(io.IoIosArrowBack, null)
@@ -32,10 +30,8 @@ const Carousel = ({ images }) => {
32
30
  {
33
31
  type: "button",
34
32
  "data-testid": "button-carousel-next",
35
- variants: {
36
- size: "square",
37
- className: "z-absolute absolute right-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex"
38
- },
33
+ size: "square",
34
+ className: "z-absolute absolute right-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex",
39
35
  onClick: slideToNextItem
40
36
  },
41
37
  /* @__PURE__ */ React.createElement(io.IoIosArrowForward, null)
@@ -53,9 +53,7 @@ const CarouselItem = ({ item }) => {
53
53
  {
54
54
  type: "button",
55
55
  "data-testid": "button-link-carousel",
56
- variants: {
57
- className: "z-absolute absolute bottom-deca left-[10%]"
58
- }
56
+ className: "z-absolute absolute bottom-deca left-[10%]"
59
57
  },
60
58
  item.button.title
61
59
  )
@@ -18,10 +18,8 @@ const Carousel = ({ images }) => {
18
18
  {
19
19
  type: "button",
20
20
  "data-testid": "button-carousel-prev",
21
- variants: {
22
- size: "square",
23
- className: "z-absolute absolute left-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex"
24
- },
21
+ className: "z-absolute absolute left-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex",
22
+ size: "square",
25
23
  onClick: slideToPrevItem
26
24
  },
27
25
  /* @__PURE__ */ React__default.createElement(IoIosArrowBack, null)
@@ -30,10 +28,8 @@ const Carousel = ({ images }) => {
30
28
  {
31
29
  type: "button",
32
30
  "data-testid": "button-carousel-next",
33
- variants: {
34
- size: "square",
35
- className: "z-absolute absolute right-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex"
36
- },
31
+ size: "square",
32
+ className: "z-absolute absolute right-deca top-[50%] transform -translate-y-[50%] p-centi hidden lg:flex",
37
33
  onClick: slideToNextItem
38
34
  },
39
35
  /* @__PURE__ */ React__default.createElement(IoIosArrowForward, null)
@@ -51,9 +51,7 @@ const CarouselItem = ({ item }) => {
51
51
  {
52
52
  type: "button",
53
53
  "data-testid": "button-link-carousel",
54
- variants: {
55
- className: "z-absolute absolute bottom-deca left-[10%]"
56
- }
54
+ className: "z-absolute absolute bottom-deca left-[10%]"
57
55
  },
58
56
  item.button.title
59
57
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-react",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "description": "React components based in @tecsinapse/cortex-core",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
@@ -47,5 +47,5 @@
47
47
  "react-icons": ">=5.2.0",
48
48
  "tailwind": ">=3.3.0"
49
49
  },
50
- "gitHead": "509f8fed5849a7a5e3cf6bfa23eba2ef63b45c27"
50
+ "gitHead": "645721229663f033e51773fd612a0fce2a3686c3"
51
51
  }