@tecsinapse/cortex-react 1.9.40 → 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%]"
|
|
@@ -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%]"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-react",
|
|
3
|
-
"version": "1.9.
|
|
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": "
|
|
51
|
+
"gitHead": "f09f89cb90d480f29c6398176abf85c5a0c6bb9b"
|
|
52
52
|
}
|