@tecsinapse/cortex-react 1.9.39 → 1.9.41

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.
@@ -18,6 +18,7 @@ const Carousel = ({ images }) => {
18
18
  return /* @__PURE__ */ React.createElement("div", { className: "overflow-hidden w-fit relative" }, itemsCarousel.length > 1 ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
19
19
  Button.Button,
20
20
  {
21
+ type: "button",
21
22
  "data-testid": "button-carousel-prev",
22
23
  variants: {
23
24
  size: "square",
@@ -29,6 +30,7 @@ const Carousel = ({ images }) => {
29
30
  ), /* @__PURE__ */ React.createElement(
30
31
  Button.Button,
31
32
  {
33
+ type: "button",
32
34
  "data-testid": "button-carousel-next",
33
35
  variants: {
34
36
  size: "square",
@@ -37,6 +37,7 @@ const CarouselItem = ({ item }) => {
37
37
  ), item.button ? /* @__PURE__ */ React.createElement(
38
38
  "a",
39
39
  {
40
+ type: "button",
40
41
  href: item.button.link,
41
42
  target: item.button.target ?? "_self",
42
43
  rel: "noopener noreferrer"
@@ -44,6 +45,7 @@ const CarouselItem = ({ item }) => {
44
45
  /* @__PURE__ */ React.createElement(
45
46
  Button.Button,
46
47
  {
48
+ type: "button",
47
49
  "data-testid": "button-link-carousel",
48
50
  variants: {
49
51
  className: "z-absolute absolute bottom-deca left-[10%]"
@@ -11,7 +11,10 @@ const SelectPopover = ({ children }) => {
11
11
  index.Popover.Content,
12
12
  {
13
13
  className: "bg-white max-h-[30vh] overflow-y-scroll gap-y-mili flex flex-col p-0",
14
- style: { width: triggerWidth ? `${triggerWidth}px` : "auto" }
14
+ style: {
15
+ width: triggerWidth ? `${triggerWidth}px` : "auto",
16
+ zIndex: 9999
17
+ }
15
18
  },
16
19
  children
17
20
  ));
@@ -16,6 +16,7 @@ const Carousel = ({ images }) => {
16
16
  return /* @__PURE__ */ React__default.createElement("div", { className: "overflow-hidden w-fit relative" }, itemsCarousel.length > 1 ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
17
17
  Button,
18
18
  {
19
+ type: "button",
19
20
  "data-testid": "button-carousel-prev",
20
21
  variants: {
21
22
  size: "square",
@@ -27,6 +28,7 @@ const Carousel = ({ images }) => {
27
28
  ), /* @__PURE__ */ React__default.createElement(
28
29
  Button,
29
30
  {
31
+ type: "button",
30
32
  "data-testid": "button-carousel-next",
31
33
  variants: {
32
34
  size: "square",
@@ -35,6 +35,7 @@ const CarouselItem = ({ item }) => {
35
35
  ), item.button ? /* @__PURE__ */ React__default.createElement(
36
36
  "a",
37
37
  {
38
+ type: "button",
38
39
  href: item.button.link,
39
40
  target: item.button.target ?? "_self",
40
41
  rel: "noopener noreferrer"
@@ -42,6 +43,7 @@ const CarouselItem = ({ item }) => {
42
43
  /* @__PURE__ */ React__default.createElement(
43
44
  Button,
44
45
  {
46
+ type: "button",
45
47
  "data-testid": "button-link-carousel",
46
48
  variants: {
47
49
  className: "z-absolute absolute bottom-deca left-[10%]"
@@ -9,7 +9,10 @@ const SelectPopover = ({ children }) => {
9
9
  Popover.Content,
10
10
  {
11
11
  className: "bg-white max-h-[30vh] overflow-y-scroll gap-y-mili flex flex-col p-0",
12
- style: { width: triggerWidth ? `${triggerWidth}px` : "auto" }
12
+ style: {
13
+ width: triggerWidth ? `${triggerWidth}px` : "auto",
14
+ zIndex: 9999
15
+ }
13
16
  },
14
17
  children
15
18
  ));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-react",
3
- "version": "1.9.39",
3
+ "version": "1.9.41",
4
4
  "description": "React components based in @tecsinapse/cortex-core",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
@@ -48,5 +48,5 @@
48
48
  "react-dom": ">=18.0.0",
49
49
  "tailwind": ">=3.3.0"
50
50
  },
51
- "gitHead": "8e87d624980229eded12c32dd100d927dc8d78c9"
51
+ "gitHead": "f09f89cb90d480f29c6398176abf85c5a0c6bb9b"
52
52
  }