@tecsinapse/cortex-react 1.16.0-beta.3 → 1.16.0-beta.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.
- package/dist/cjs/components/Accordion/Trigger.js +4 -4
- package/dist/cjs/components/Avatar.js +1 -1
- package/dist/cjs/components/Breadcrumbs/BreadcrumbItem.js +1 -1
- package/dist/cjs/components/ColorPicker.js +1 -1
- package/dist/cjs/components/Kanban.js +1 -1
- package/dist/cjs/components/Popover/Content.js +1 -1
- package/dist/cjs/components/Skeleton.js +1 -1
- package/dist/cjs/components/Uploader/Dropzone.js +2 -2
- package/dist/cjs/components/Uploader/Manager.js +1 -1
- package/dist/cjs/styles/calendar-cell.js +2 -2
- package/dist/cjs/styles/date-picker-input-base.js +1 -1
- package/dist/cjs/styles/date-segment.js +2 -2
- package/dist/cjs/styles/groupButton.js +3 -3
- package/dist/cjs/styles/menubar.js +4 -4
- package/dist/cjs/styles/progressBar.js +1 -1
- package/dist/cjs/styles/stepNodeVariants.js +2 -2
- package/dist/cjs/styles/time-field-input.js +1 -1
- package/dist/esm/components/Accordion/Trigger.js +4 -4
- package/dist/esm/components/Avatar.js +1 -1
- package/dist/esm/components/Breadcrumbs/BreadcrumbItem.js +1 -1
- package/dist/esm/components/ColorPicker.js +1 -1
- package/dist/esm/components/Kanban.js +1 -1
- package/dist/esm/components/Popover/Content.js +1 -1
- package/dist/esm/components/Skeleton.js +1 -1
- package/dist/esm/components/Uploader/Dropzone.js +2 -2
- package/dist/esm/components/Uploader/Manager.js +1 -1
- package/dist/esm/styles/calendar-cell.js +2 -2
- package/dist/esm/styles/date-picker-input-base.js +1 -1
- package/dist/esm/styles/date-segment.js +2 -2
- package/dist/esm/styles/groupButton.js +3 -3
- package/dist/esm/styles/menubar.js +4 -4
- package/dist/esm/styles/progressBar.js +1 -1
- package/dist/esm/styles/stepNodeVariants.js +2 -2
- package/dist/esm/styles/time-field-input.js +1 -1
- package/package.json +3 -3
|
@@ -35,7 +35,7 @@ const AccordionTrigger = ({
|
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
37
|
className: clsx(
|
|
38
|
-
"flex justify-between align-center border-
|
|
38
|
+
"flex justify-between align-center border-content-minimal cursor-pointer",
|
|
39
39
|
{ "mr-deca": floating && direction === "horizontal" },
|
|
40
40
|
{ "mb-deca": floating && direction === "vertical" },
|
|
41
41
|
{ "border-r flex-col px-mili": direction === "horizontal" },
|
|
@@ -47,7 +47,7 @@ const AccordionTrigger = ({
|
|
|
47
47
|
"div",
|
|
48
48
|
{
|
|
49
49
|
className: clsx(
|
|
50
|
-
"rounded-mili border border-
|
|
50
|
+
"rounded-mili border border-content-minimal flex align-center justify-center p-micro",
|
|
51
51
|
{
|
|
52
52
|
"absolute -translate-x-micro translate-y-deca bg-surface-overlay": floating && direction === "horizontal"
|
|
53
53
|
},
|
|
@@ -60,7 +60,7 @@ const AccordionTrigger = ({
|
|
|
60
60
|
lia.LiaAngleRightSolid,
|
|
61
61
|
{
|
|
62
62
|
className: clsx(
|
|
63
|
-
"text-
|
|
63
|
+
"text-content-low transition-transform duration-200",
|
|
64
64
|
{
|
|
65
65
|
"rotate-180": invertedArrow ? !open : open
|
|
66
66
|
}
|
|
@@ -70,7 +70,7 @@ const AccordionTrigger = ({
|
|
|
70
70
|
lia.LiaAngleDownSolid,
|
|
71
71
|
{
|
|
72
72
|
className: clsx(
|
|
73
|
-
"text-
|
|
73
|
+
"text-content-low transition-transform duration-200",
|
|
74
74
|
{
|
|
75
75
|
"rotate-180": invertedArrow ? !open : open
|
|
76
76
|
}
|
|
@@ -16,7 +16,7 @@ const Avatar = ({ src, name, className, ...rest }) => {
|
|
|
16
16
|
{
|
|
17
17
|
...rest,
|
|
18
18
|
className: clsx(
|
|
19
|
-
"rounded-pill bg-
|
|
19
|
+
"rounded-pill bg-content-medium h-mega flex items-center justify-center cursor-pointer aspect-square",
|
|
20
20
|
className
|
|
21
21
|
),
|
|
22
22
|
children: src && !hasError ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -17,7 +17,7 @@ const BreadcrumbItem = ({
|
|
|
17
17
|
{
|
|
18
18
|
className: clsx(
|
|
19
19
|
"no-underline",
|
|
20
|
-
isLast ? "text-
|
|
20
|
+
isLast ? "text-content-low cursor-default" : "text-content-medium cursor-pointer"
|
|
21
21
|
),
|
|
22
22
|
children: title
|
|
23
23
|
}
|
|
@@ -27,7 +27,7 @@ const Box = React.forwardRef((props, ref) => {
|
|
|
27
27
|
);
|
|
28
28
|
});
|
|
29
29
|
const Face = ({ children }) => {
|
|
30
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-mili p-mili shadow-default bg-
|
|
30
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-mili p-mili shadow-default bg-default flex flex-row items-center gap-2", children });
|
|
31
31
|
};
|
|
32
32
|
const Label = ({
|
|
33
33
|
children,
|
|
@@ -9,7 +9,7 @@ const Root = ({ children, className, ...rest }) => {
|
|
|
9
9
|
{
|
|
10
10
|
...rest,
|
|
11
11
|
className: clsx.clsx(
|
|
12
|
-
"border border-dashed border-
|
|
12
|
+
"border border-dashed border-content-low rounded-mili bg-content-inverse overflow-hidden",
|
|
13
13
|
className
|
|
14
14
|
),
|
|
15
15
|
children
|
|
@@ -28,7 +28,7 @@ const PopoverContent = ({
|
|
|
28
28
|
ref: refs.setFloating,
|
|
29
29
|
...getFloatingProps(),
|
|
30
30
|
className: clsx(
|
|
31
|
-
"border border-gray-200 bg-
|
|
31
|
+
"border border-gray-200 bg-surface-inverse p-0 rounded-md shadow-default z-popover",
|
|
32
32
|
className
|
|
33
33
|
),
|
|
34
34
|
style: {
|
|
@@ -27,7 +27,7 @@ const Dropzone = ({
|
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ jsxRuntime.jsx("input", { ...getInputProps() }),
|
|
29
29
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-center text-center items-center", children: [
|
|
30
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
30
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
31
31
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32
32
|
hi2.HiOutlineCloudArrowUp,
|
|
33
33
|
{
|
|
@@ -38,7 +38,7 @@ const Dropzone = ({
|
|
|
38
38
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg font-semibold", "data-testid": "select-dropzone", children: selectFileText })
|
|
39
39
|
] }),
|
|
40
40
|
hasButton ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-centi", children: [
|
|
41
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-
|
|
41
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-content-low", children: dropText }),
|
|
42
42
|
isFileLimitReached ? /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Tooltip, { text: "Voc\xEA s\xF3 pode selecionar um \xFAnico arquivo.", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43
43
|
"button",
|
|
44
44
|
{
|
|
@@ -47,7 +47,7 @@ const Manager = ({
|
|
|
47
47
|
children: min ? /* @__PURE__ */ jsxRuntime.jsx(io5.IoChevronUp, {}) : /* @__PURE__ */ jsxRuntime.jsx(io5.IoChevronDown, {})
|
|
48
48
|
}
|
|
49
49
|
),
|
|
50
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { "data-testid": "upload-progress", children: isLoading ? uploadProgressText : uploadSuccessText }),
|
|
50
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { "data-testid": "upload-progress", className: "font-bold text-h4", children: isLoading ? uploadProgressText : uploadSuccessText }),
|
|
51
51
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52
52
|
Button.Button,
|
|
53
53
|
{
|
|
@@ -4,7 +4,7 @@ var tailwindVariants = require('tailwind-variants');
|
|
|
4
4
|
|
|
5
5
|
const calendarCell = tailwindVariants.tv({
|
|
6
6
|
slots: {
|
|
7
|
-
cell: "text-center rounded-mili
|
|
7
|
+
cell: "text-center rounded-mili hover:bg-primary-light",
|
|
8
8
|
button: "flex aspect-square items-center justify-center"
|
|
9
9
|
},
|
|
10
10
|
variants: {
|
|
@@ -35,7 +35,7 @@ const calendarCell = tailwindVariants.tv({
|
|
|
35
35
|
},
|
|
36
36
|
isDisabled: {
|
|
37
37
|
true: {
|
|
38
|
-
cell: "text-
|
|
38
|
+
cell: "text-content-minimal cursor-default hover:bg-surface-overlay",
|
|
39
39
|
button: "cursor-default"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -4,12 +4,12 @@ var tailwindVariants = require('tailwind-variants');
|
|
|
4
4
|
|
|
5
5
|
const dateSegment = tailwindVariants.tv({
|
|
6
6
|
slots: {
|
|
7
|
-
base: "focus:outline-none focus:bg-
|
|
7
|
+
base: "focus:outline-none focus:bg-content-minimal"
|
|
8
8
|
},
|
|
9
9
|
variants: {
|
|
10
10
|
disabled: {
|
|
11
11
|
true: {
|
|
12
|
-
base: "text-
|
|
12
|
+
base: "text-content-minimal"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -4,12 +4,12 @@ var tailwindVariants = require('tailwind-variants');
|
|
|
4
4
|
|
|
5
5
|
const groupButton = tailwindVariants.tv({
|
|
6
6
|
slots: {
|
|
7
|
-
button: "border-[1px] border-
|
|
8
|
-
inactive: "bg-
|
|
7
|
+
button: "border-[1px] border-content-low px-centi py-mili items-center flex text-sub font-bold",
|
|
8
|
+
inactive: "bg-surface-overlay text-content-low disabled:bg-content-minimal",
|
|
9
9
|
firstButton: "first:rounded-l-mili first:border-r-0",
|
|
10
10
|
lastButton: "last:rounded-r-mili last:border-l-0",
|
|
11
11
|
container: "flex flex-row h-[2rem]",
|
|
12
|
-
active: "text-white bg-
|
|
12
|
+
active: "text-white bg-content-low"
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -29,12 +29,12 @@ const mostUsedItem = tailwindVariants.tv({
|
|
|
29
29
|
slots: {
|
|
30
30
|
container: "flex-1 py-mili",
|
|
31
31
|
title: "text-primary-medium font-bold text-base",
|
|
32
|
-
category: "text-content-
|
|
32
|
+
category: "text-content-low text-label"
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
const item = tailwindVariants.tv({
|
|
36
36
|
slots: {
|
|
37
|
-
container: "flex flex-row gap-x-deca items-center text-content-
|
|
37
|
+
container: "flex flex-row gap-x-deca items-center text-content-medium hover:cursor-pointer text-base",
|
|
38
38
|
textBehavior: "hover:text-primary-medium",
|
|
39
39
|
icon: "text-primary-medium hover:cursor-pointer"
|
|
40
40
|
}
|
|
@@ -42,13 +42,13 @@ const item = tailwindVariants.tv({
|
|
|
42
42
|
const category = tailwindVariants.tv({
|
|
43
43
|
slots: {
|
|
44
44
|
text: "mb-mili font-bold text-default",
|
|
45
|
-
hr: "mb-mili border-0 h-px bg-content-
|
|
45
|
+
hr: "mb-mili border-0 h-px bg-content-high",
|
|
46
46
|
container: "flex flex-col gap-y-mili"
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
const subItem = tailwindVariants.tv({
|
|
50
50
|
slots: {
|
|
51
|
-
container: "pl-deca text-sub border-l-[1px] border-primary-medium text-content-
|
|
51
|
+
container: "pl-deca text-sub border-l-[1px] border-primary-medium text-content-medium hover:text-primary-medium cursor-pointer"
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
const animate = tailwindVariants.tv({
|
|
@@ -5,7 +5,7 @@ var tailwindVariants = require('tailwind-variants');
|
|
|
5
5
|
const ProgressVariants = tailwindVariants.tv({
|
|
6
6
|
slots: {
|
|
7
7
|
container: "relative",
|
|
8
|
-
bar: "h-1.5 w-full overflow-hidden bg-
|
|
8
|
+
bar: "h-1.5 w-full overflow-hidden bg-content-inverse",
|
|
9
9
|
progress: "w-full h-full rounded-mili"
|
|
10
10
|
},
|
|
11
11
|
variants: {
|
|
@@ -33,7 +33,7 @@ const AccordionTrigger = ({
|
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
35
|
className: clsx(
|
|
36
|
-
"flex justify-between align-center border-
|
|
36
|
+
"flex justify-between align-center border-content-minimal cursor-pointer",
|
|
37
37
|
{ "mr-deca": floating && direction === "horizontal" },
|
|
38
38
|
{ "mb-deca": floating && direction === "vertical" },
|
|
39
39
|
{ "border-r flex-col px-mili": direction === "horizontal" },
|
|
@@ -45,7 +45,7 @@ const AccordionTrigger = ({
|
|
|
45
45
|
"div",
|
|
46
46
|
{
|
|
47
47
|
className: clsx(
|
|
48
|
-
"rounded-mili border border-
|
|
48
|
+
"rounded-mili border border-content-minimal flex align-center justify-center p-micro",
|
|
49
49
|
{
|
|
50
50
|
"absolute -translate-x-micro translate-y-deca bg-surface-overlay": floating && direction === "horizontal"
|
|
51
51
|
},
|
|
@@ -58,7 +58,7 @@ const AccordionTrigger = ({
|
|
|
58
58
|
LiaAngleRightSolid,
|
|
59
59
|
{
|
|
60
60
|
className: clsx(
|
|
61
|
-
"text-
|
|
61
|
+
"text-content-low transition-transform duration-200",
|
|
62
62
|
{
|
|
63
63
|
"rotate-180": invertedArrow ? !open : open
|
|
64
64
|
}
|
|
@@ -68,7 +68,7 @@ const AccordionTrigger = ({
|
|
|
68
68
|
LiaAngleDownSolid,
|
|
69
69
|
{
|
|
70
70
|
className: clsx(
|
|
71
|
-
"text-
|
|
71
|
+
"text-content-low transition-transform duration-200",
|
|
72
72
|
{
|
|
73
73
|
"rotate-180": invertedArrow ? !open : open
|
|
74
74
|
}
|
|
@@ -14,7 +14,7 @@ const Avatar = ({ src, name, className, ...rest }) => {
|
|
|
14
14
|
{
|
|
15
15
|
...rest,
|
|
16
16
|
className: clsx(
|
|
17
|
-
"rounded-pill bg-
|
|
17
|
+
"rounded-pill bg-content-medium h-mega flex items-center justify-center cursor-pointer aspect-square",
|
|
18
18
|
className
|
|
19
19
|
),
|
|
20
20
|
children: src && !hasError ? /* @__PURE__ */ jsx(
|
|
@@ -15,7 +15,7 @@ const BreadcrumbItem = ({
|
|
|
15
15
|
{
|
|
16
16
|
className: clsx(
|
|
17
17
|
"no-underline",
|
|
18
|
-
isLast ? "text-
|
|
18
|
+
isLast ? "text-content-low cursor-default" : "text-content-medium cursor-pointer"
|
|
19
19
|
),
|
|
20
20
|
children: title
|
|
21
21
|
}
|
|
@@ -25,7 +25,7 @@ const Box = forwardRef((props, ref) => {
|
|
|
25
25
|
);
|
|
26
26
|
});
|
|
27
27
|
const Face = ({ children }) => {
|
|
28
|
-
return /* @__PURE__ */ jsx("div", { className: "rounded-mili p-mili shadow-default bg-
|
|
28
|
+
return /* @__PURE__ */ jsx("div", { className: "rounded-mili p-mili shadow-default bg-default flex flex-row items-center gap-2", children });
|
|
29
29
|
};
|
|
30
30
|
const Label = ({
|
|
31
31
|
children,
|
|
@@ -7,7 +7,7 @@ const Root = ({ children, className, ...rest }) => {
|
|
|
7
7
|
{
|
|
8
8
|
...rest,
|
|
9
9
|
className: clsx(
|
|
10
|
-
"border border-dashed border-
|
|
10
|
+
"border border-dashed border-content-low rounded-mili bg-content-inverse overflow-hidden",
|
|
11
11
|
className
|
|
12
12
|
),
|
|
13
13
|
children
|
|
@@ -26,7 +26,7 @@ const PopoverContent = ({
|
|
|
26
26
|
ref: refs.setFloating,
|
|
27
27
|
...getFloatingProps(),
|
|
28
28
|
className: clsx(
|
|
29
|
-
"border border-gray-200 bg-
|
|
29
|
+
"border border-gray-200 bg-surface-inverse p-0 rounded-md shadow-default z-popover",
|
|
30
30
|
className
|
|
31
31
|
),
|
|
32
32
|
style: {
|
|
@@ -25,7 +25,7 @@ const Dropzone = ({
|
|
|
25
25
|
children: [
|
|
26
26
|
/* @__PURE__ */ jsx("input", { ...getInputProps() }),
|
|
27
27
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center text-center items-center", children: [
|
|
28
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
29
29
|
/* @__PURE__ */ jsx(
|
|
30
30
|
HiOutlineCloudArrowUp,
|
|
31
31
|
{
|
|
@@ -36,7 +36,7 @@ const Dropzone = ({
|
|
|
36
36
|
/* @__PURE__ */ jsx("p", { className: "text-lg font-semibold", "data-testid": "select-dropzone", children: selectFileText })
|
|
37
37
|
] }),
|
|
38
38
|
hasButton ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-centi", children: [
|
|
39
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
39
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-content-low", children: dropText }),
|
|
40
40
|
isFileLimitReached ? /* @__PURE__ */ jsx(Tooltip, { text: "Voc\xEA s\xF3 pode selecionar um \xFAnico arquivo.", children: /* @__PURE__ */ jsx(
|
|
41
41
|
"button",
|
|
42
42
|
{
|
|
@@ -45,7 +45,7 @@ const Manager = ({
|
|
|
45
45
|
children: min ? /* @__PURE__ */ jsx(IoChevronUp, {}) : /* @__PURE__ */ jsx(IoChevronDown, {})
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
|
-
/* @__PURE__ */ jsx("h3", { "data-testid": "upload-progress", children: isLoading ? uploadProgressText : uploadSuccessText }),
|
|
48
|
+
/* @__PURE__ */ jsx("h3", { "data-testid": "upload-progress", className: "font-bold text-h4", children: isLoading ? uploadProgressText : uploadSuccessText }),
|
|
49
49
|
/* @__PURE__ */ jsx(
|
|
50
50
|
Button,
|
|
51
51
|
{
|
|
@@ -2,7 +2,7 @@ import { tv } from 'tailwind-variants';
|
|
|
2
2
|
|
|
3
3
|
const calendarCell = tv({
|
|
4
4
|
slots: {
|
|
5
|
-
cell: "text-center rounded-mili
|
|
5
|
+
cell: "text-center rounded-mili hover:bg-primary-light",
|
|
6
6
|
button: "flex aspect-square items-center justify-center"
|
|
7
7
|
},
|
|
8
8
|
variants: {
|
|
@@ -33,7 +33,7 @@ const calendarCell = tv({
|
|
|
33
33
|
},
|
|
34
34
|
isDisabled: {
|
|
35
35
|
true: {
|
|
36
|
-
cell: "text-
|
|
36
|
+
cell: "text-content-minimal cursor-default hover:bg-surface-overlay",
|
|
37
37
|
button: "cursor-default"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -2,12 +2,12 @@ import { tv } from 'tailwind-variants';
|
|
|
2
2
|
|
|
3
3
|
const dateSegment = tv({
|
|
4
4
|
slots: {
|
|
5
|
-
base: "focus:outline-none focus:bg-
|
|
5
|
+
base: "focus:outline-none focus:bg-content-minimal"
|
|
6
6
|
},
|
|
7
7
|
variants: {
|
|
8
8
|
disabled: {
|
|
9
9
|
true: {
|
|
10
|
-
base: "text-
|
|
10
|
+
base: "text-content-minimal"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,12 +2,12 @@ import { tv } from 'tailwind-variants';
|
|
|
2
2
|
|
|
3
3
|
const groupButton = tv({
|
|
4
4
|
slots: {
|
|
5
|
-
button: "border-[1px] border-
|
|
6
|
-
inactive: "bg-
|
|
5
|
+
button: "border-[1px] border-content-low px-centi py-mili items-center flex text-sub font-bold",
|
|
6
|
+
inactive: "bg-surface-overlay text-content-low disabled:bg-content-minimal",
|
|
7
7
|
firstButton: "first:rounded-l-mili first:border-r-0",
|
|
8
8
|
lastButton: "last:rounded-r-mili last:border-l-0",
|
|
9
9
|
container: "flex flex-row h-[2rem]",
|
|
10
|
-
active: "text-white bg-
|
|
10
|
+
active: "text-white bg-content-low"
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -27,12 +27,12 @@ const mostUsedItem = tv({
|
|
|
27
27
|
slots: {
|
|
28
28
|
container: "flex-1 py-mili",
|
|
29
29
|
title: "text-primary-medium font-bold text-base",
|
|
30
|
-
category: "text-content-
|
|
30
|
+
category: "text-content-low text-label"
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
const item = tv({
|
|
34
34
|
slots: {
|
|
35
|
-
container: "flex flex-row gap-x-deca items-center text-content-
|
|
35
|
+
container: "flex flex-row gap-x-deca items-center text-content-medium hover:cursor-pointer text-base",
|
|
36
36
|
textBehavior: "hover:text-primary-medium",
|
|
37
37
|
icon: "text-primary-medium hover:cursor-pointer"
|
|
38
38
|
}
|
|
@@ -40,13 +40,13 @@ const item = tv({
|
|
|
40
40
|
const category = tv({
|
|
41
41
|
slots: {
|
|
42
42
|
text: "mb-mili font-bold text-default",
|
|
43
|
-
hr: "mb-mili border-0 h-px bg-content-
|
|
43
|
+
hr: "mb-mili border-0 h-px bg-content-high",
|
|
44
44
|
container: "flex flex-col gap-y-mili"
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
const subItem = tv({
|
|
48
48
|
slots: {
|
|
49
|
-
container: "pl-deca text-sub border-l-[1px] border-primary-medium text-content-
|
|
49
|
+
container: "pl-deca text-sub border-l-[1px] border-primary-medium text-content-medium hover:text-primary-medium cursor-pointer"
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
const animate = tv({
|
|
@@ -3,7 +3,7 @@ import { tv } from 'tailwind-variants';
|
|
|
3
3
|
const ProgressVariants = tv({
|
|
4
4
|
slots: {
|
|
5
5
|
container: "relative",
|
|
6
|
-
bar: "h-1.5 w-full overflow-hidden bg-
|
|
6
|
+
bar: "h-1.5 w-full overflow-hidden bg-content-inverse",
|
|
7
7
|
progress: "w-full h-full rounded-mili"
|
|
8
8
|
},
|
|
9
9
|
variants: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-react",
|
|
3
|
-
"version": "1.16.0-beta.
|
|
3
|
+
"version": "1.16.0-beta.5",
|
|
4
4
|
"description": "React components based in @tecsinapse/cortex-core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@floating-ui/react": "^0.26.18",
|
|
22
22
|
"@internationalized/date": "3.7.0",
|
|
23
|
-
"@tecsinapse/cortex-core": "1.3.0-beta.
|
|
23
|
+
"@tecsinapse/cortex-core": "1.3.0-beta.5",
|
|
24
24
|
"clsx": "2.1.1",
|
|
25
25
|
"currency.js": "2.0.4",
|
|
26
26
|
"embla-carousel-autoplay": "^8.0.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react-icons": ">=5.2.0",
|
|
49
49
|
"tailwind": ">=3.3.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "24985b06b97ea4d532c2857d5b5699f891cefd1a"
|
|
52
52
|
}
|