@tecsinapse/cortex-react 1.7.4 → 1.7.5
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,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var clsx = require('clsx');
|
|
3
4
|
var React = require('react');
|
|
4
5
|
var md = require('react-icons/md');
|
|
5
6
|
|
|
@@ -12,7 +13,10 @@ const BreadcrumbItem = ({
|
|
|
12
13
|
return /* @__PURE__ */ React.createElement(Component, { ...componentProps, key: title }, /* @__PURE__ */ React.createElement("div", { className: "flex gap-x-mili items-center" }, /* @__PURE__ */ React.createElement(
|
|
13
14
|
"p",
|
|
14
15
|
{
|
|
15
|
-
className:
|
|
16
|
+
className: clsx(
|
|
17
|
+
"no-underline",
|
|
18
|
+
isLast ? "text-secondary-medium cursor-default" : "text-secondary-xdark cursor-pointer"
|
|
19
|
+
)
|
|
16
20
|
},
|
|
17
21
|
title
|
|
18
22
|
), !isLast ? /* @__PURE__ */ React.createElement(
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import clsx from 'clsx';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
import { MdOutlineKeyboardDoubleArrowRight } from 'react-icons/md';
|
|
3
4
|
|
|
@@ -10,7 +11,10 @@ const BreadcrumbItem = ({
|
|
|
10
11
|
return /* @__PURE__ */ React__default.createElement(Component, { ...componentProps, key: title }, /* @__PURE__ */ React__default.createElement("div", { className: "flex gap-x-mili items-center" }, /* @__PURE__ */ React__default.createElement(
|
|
11
12
|
"p",
|
|
12
13
|
{
|
|
13
|
-
className:
|
|
14
|
+
className: clsx(
|
|
15
|
+
"no-underline",
|
|
16
|
+
isLast ? "text-secondary-medium cursor-default" : "text-secondary-xdark cursor-pointer"
|
|
17
|
+
)
|
|
14
18
|
},
|
|
15
19
|
title
|
|
16
20
|
), !isLast ? /* @__PURE__ */ React__default.createElement(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-react",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
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": "35af1bb9152d1f2824748e14e1d68f6a6ee4e889"
|
|
52
52
|
}
|