anima-ds-nucleus 1.0.2 → 1.0.4
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/anima-ds-nucleus.css +1 -1
- package/dist/anima-ds.cjs.js +152 -34
- package/dist/anima-ds.esm.js +10124 -7528
- package/package.json +10 -2
- package/src/assets/nucleus-logo.svg +3 -0
- package/src/components/Atoms/LogoHexa/LogoHexa.jsx +34 -0
- package/src/components/Atoms/LogoHexa/LogoHexa.stories.jsx +36 -0
- package/src/components/Atoms/Typography/Typography.jsx +53 -18
- package/src/components/Atoms/Typography/Typography.stories.jsx +40 -4
- package/src/components/DataDisplay/Card/Card.jsx +117 -24
- package/src/components/DataDisplay/Card/Card.stories.jsx +119 -35
- package/src/components/DataDisplay/Card/CardError.jsx +142 -0
- package/src/components/DataDisplay/Card/CardSkeleton.jsx +96 -0
- package/src/components/DataDisplay/Card/CardTituloCorto.jsx +61 -0
- package/src/components/DataDisplay/Card/CardTituloCortoMasEstado.jsx +79 -0
- package/src/components/DataDisplay/Card/CardTituloLargo.jsx +61 -0
- package/src/components/DataDisplay/Card/CardTituloLargoMasEstado.jsx +77 -0
- package/src/components/DataDisplay/Card/CardVacia.jsx +111 -0
- package/src/components/Layout/Header/HeaderConBuscador.jsx +136 -0
- package/src/components/Layout/Header/HeaderConBuscador.stories.jsx +86 -0
- package/src/components/Layout/Header/HeaderCore.jsx +347 -0
- package/src/components/Layout/Header/HeaderCore.stories.jsx +59 -0
- package/src/components/Layout/Header/HeaderGeneral.jsx +92 -0
- package/src/components/Layout/Header/HeaderGeneral.stories.jsx +64 -0
- package/src/components/Layout/Header/HeaderPoint.jsx +120 -0
- package/src/components/Layout/Header/HeaderPoint.stories.jsx +110 -0
- package/src/components/Layout/NavPoint/NavPoint.jsx +64 -0
- package/src/components/Layout/NavPoint/NavPoint.stories.jsx +52 -0
- package/src/components/Layout/Sidebar/SidebarCore.jsx +779 -0
- package/src/components/Layout/Sidebar/SidebarCore.stories.jsx +167 -0
- package/src/components/Layout/Sidebar/SidebarPoint.jsx +645 -0
- package/src/components/Layout/Sidebar/SidebarPoint.stories.jsx +183 -0
- package/src/index.js +15 -2
- package/src/style.css +37 -0
- package/src/components/Layout/Header/Header.jsx +0 -50
- package/src/components/Layout/Header/Header.stories.jsx +0 -36
- package/src/components/Layout/Sidebar/Sidebar.jsx +0 -57
- package/src/components/Layout/Sidebar/Sidebar.stories.jsx +0 -51
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { Icon } from '../../Atoms/Icon/Icon';
|
|
2
|
+
import { Typography } from '../../Atoms/Typography/Typography';
|
|
3
|
+
|
|
4
|
+
export const CardError = ({
|
|
5
|
+
title = "Notificaciones",
|
|
6
|
+
errorMessage = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed porta elementum neque, vel vehicula nulla pharetra id.",
|
|
7
|
+
className = '',
|
|
8
|
+
...props
|
|
9
|
+
}) => {
|
|
10
|
+
return (
|
|
11
|
+
<div
|
|
12
|
+
className={`bg-white ${className}`}
|
|
13
|
+
style={{
|
|
14
|
+
width: '379.5px',
|
|
15
|
+
height: '476px',
|
|
16
|
+
borderRadius: '14px',
|
|
17
|
+
border: '1px solid #0000001A',
|
|
18
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
19
|
+
opacity: 1
|
|
20
|
+
}}
|
|
21
|
+
{...props}
|
|
22
|
+
>
|
|
23
|
+
<div
|
|
24
|
+
style={{
|
|
25
|
+
width: '379.5px',
|
|
26
|
+
height: '60px',
|
|
27
|
+
paddingTop: '24px',
|
|
28
|
+
paddingRight: '24px',
|
|
29
|
+
paddingBottom: '6px',
|
|
30
|
+
paddingLeft: '24px',
|
|
31
|
+
opacity: 1
|
|
32
|
+
}}
|
|
33
|
+
className="flex items-start justify-between"
|
|
34
|
+
>
|
|
35
|
+
<div
|
|
36
|
+
style={{
|
|
37
|
+
width: '331.5px',
|
|
38
|
+
height: '30px',
|
|
39
|
+
opacity: 1
|
|
40
|
+
}}
|
|
41
|
+
>
|
|
42
|
+
<Typography
|
|
43
|
+
variant="body-md"
|
|
44
|
+
className="color-gray-700"
|
|
45
|
+
>
|
|
46
|
+
{title}
|
|
47
|
+
</Typography>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div
|
|
51
|
+
className="flex flex-col items-center justify-center"
|
|
52
|
+
style={{
|
|
53
|
+
paddingTop: '80px',
|
|
54
|
+
paddingBottom: '24px',
|
|
55
|
+
minHeight: 'calc(476px - 60px)',
|
|
56
|
+
display: 'flex',
|
|
57
|
+
justifyContent: 'flex-start'
|
|
58
|
+
}}
|
|
59
|
+
>
|
|
60
|
+
<div
|
|
61
|
+
className="mb-4 flex items-center justify-center border-2 rounded-full"
|
|
62
|
+
style={{
|
|
63
|
+
borderColor: '#374151',
|
|
64
|
+
width: '48px',
|
|
65
|
+
height: '48px',
|
|
66
|
+
opacity: 1
|
|
67
|
+
}}
|
|
68
|
+
>
|
|
69
|
+
<Icon
|
|
70
|
+
name="XMarkIcon"
|
|
71
|
+
variant="24-outline"
|
|
72
|
+
size={32}
|
|
73
|
+
className="color-gray-900"
|
|
74
|
+
/>
|
|
75
|
+
</div>
|
|
76
|
+
<div
|
|
77
|
+
style={{
|
|
78
|
+
width: '331.5px',
|
|
79
|
+
height: '48px',
|
|
80
|
+
opacity: 1,
|
|
81
|
+
display: 'flex',
|
|
82
|
+
alignItems: 'center',
|
|
83
|
+
justifyContent: 'center',
|
|
84
|
+
marginBottom: '16px'
|
|
85
|
+
}}
|
|
86
|
+
>
|
|
87
|
+
<Typography
|
|
88
|
+
variant="h3"
|
|
89
|
+
style={{
|
|
90
|
+
fontFamily: 'IBM Plex Sans',
|
|
91
|
+
fontWeight: 600,
|
|
92
|
+
fontStyle: 'normal',
|
|
93
|
+
fontSize: '32px',
|
|
94
|
+
lineHeight: '48px',
|
|
95
|
+
letterSpacing: '0px',
|
|
96
|
+
textAlign: 'center',
|
|
97
|
+
color: '#2D5C63'
|
|
98
|
+
}}
|
|
99
|
+
>
|
|
100
|
+
ERROR
|
|
101
|
+
</Typography>
|
|
102
|
+
</div>
|
|
103
|
+
<div
|
|
104
|
+
className="border flex items-center justify-center"
|
|
105
|
+
style={{
|
|
106
|
+
width: '331.5px',
|
|
107
|
+
height: '128px',
|
|
108
|
+
borderRadius: '10px',
|
|
109
|
+
borderWidth: '1px',
|
|
110
|
+
borderColor: '#EF4444',
|
|
111
|
+
backgroundColor: '#FEE2E2',
|
|
112
|
+
paddingTop: '16px',
|
|
113
|
+
paddingRight: '16px',
|
|
114
|
+
paddingBottom: '8px',
|
|
115
|
+
paddingLeft: '16px',
|
|
116
|
+
opacity: 1
|
|
117
|
+
}}
|
|
118
|
+
>
|
|
119
|
+
<div
|
|
120
|
+
style={{
|
|
121
|
+
width: '298px',
|
|
122
|
+
height: '96px',
|
|
123
|
+
opacity: 1
|
|
124
|
+
}}
|
|
125
|
+
>
|
|
126
|
+
<Typography
|
|
127
|
+
variant="mono-md"
|
|
128
|
+
style={{
|
|
129
|
+
color: '#991B1B'
|
|
130
|
+
}}
|
|
131
|
+
>
|
|
132
|
+
{errorMessage}
|
|
133
|
+
</Typography>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export default CardError;
|
|
142
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export const CardSkeleton = ({
|
|
2
|
+
className = '',
|
|
3
|
+
...props
|
|
4
|
+
}) => {
|
|
5
|
+
return (
|
|
6
|
+
<div
|
|
7
|
+
className={`bg-white ${className}`}
|
|
8
|
+
style={{
|
|
9
|
+
width: '379.5px',
|
|
10
|
+
height: '476px',
|
|
11
|
+
borderRadius: '14px',
|
|
12
|
+
border: '1px solid #0000001A',
|
|
13
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
14
|
+
opacity: 1
|
|
15
|
+
}}
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<style>{`
|
|
19
|
+
@keyframes skeleton-pulse {
|
|
20
|
+
0%, 100% {
|
|
21
|
+
background-color: #DDDDDD;
|
|
22
|
+
}
|
|
23
|
+
50% {
|
|
24
|
+
background-color: #AAAAAA;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.skeleton-animation {
|
|
28
|
+
animation: skeleton-pulse 1.5s ease-in-out infinite;
|
|
29
|
+
}
|
|
30
|
+
`}</style>
|
|
31
|
+
<div className="h-full flex flex-col">
|
|
32
|
+
{/* Header skeleton - placeholder para el título */}
|
|
33
|
+
<div
|
|
34
|
+
style={{
|
|
35
|
+
width: '379.5px',
|
|
36
|
+
height: '60px',
|
|
37
|
+
paddingTop: '24px',
|
|
38
|
+
paddingRight: '24px',
|
|
39
|
+
paddingBottom: '6px',
|
|
40
|
+
paddingLeft: '24px',
|
|
41
|
+
opacity: 1
|
|
42
|
+
}}
|
|
43
|
+
>
|
|
44
|
+
<div
|
|
45
|
+
className="rounded skeleton-animation"
|
|
46
|
+
style={{
|
|
47
|
+
backgroundColor: '#DDDDDD',
|
|
48
|
+
height: '20px',
|
|
49
|
+
width: '200px'
|
|
50
|
+
}}
|
|
51
|
+
></div>
|
|
52
|
+
</div>
|
|
53
|
+
{/* Body skeleton - 3 placeholders grandes */}
|
|
54
|
+
<div
|
|
55
|
+
className="flex-1"
|
|
56
|
+
style={{
|
|
57
|
+
paddingLeft: '24px',
|
|
58
|
+
paddingRight: '24px',
|
|
59
|
+
paddingBottom: '24px',
|
|
60
|
+
display: 'flex',
|
|
61
|
+
flexDirection: 'column',
|
|
62
|
+
gap: '16px'
|
|
63
|
+
}}
|
|
64
|
+
>
|
|
65
|
+
<div
|
|
66
|
+
className="rounded skeleton-animation"
|
|
67
|
+
style={{
|
|
68
|
+
backgroundColor: '#DDDDDD',
|
|
69
|
+
height: '80px',
|
|
70
|
+
width: '100%'
|
|
71
|
+
}}
|
|
72
|
+
></div>
|
|
73
|
+
<div
|
|
74
|
+
className="rounded skeleton-animation"
|
|
75
|
+
style={{
|
|
76
|
+
backgroundColor: '#DDDDDD',
|
|
77
|
+
height: '80px',
|
|
78
|
+
width: '100%'
|
|
79
|
+
}}
|
|
80
|
+
></div>
|
|
81
|
+
<div
|
|
82
|
+
className="rounded skeleton-animation"
|
|
83
|
+
style={{
|
|
84
|
+
backgroundColor: '#DDDDDD',
|
|
85
|
+
height: '80px',
|
|
86
|
+
width: '100%'
|
|
87
|
+
}}
|
|
88
|
+
></div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
);
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export default CardSkeleton;
|
|
96
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Typography } from '../../Atoms/Typography/Typography';
|
|
2
|
+
|
|
3
|
+
export const CardTituloCorto = ({
|
|
4
|
+
title = "Notificaciones",
|
|
5
|
+
children,
|
|
6
|
+
className = '',
|
|
7
|
+
...props
|
|
8
|
+
}) => {
|
|
9
|
+
return (
|
|
10
|
+
<div
|
|
11
|
+
className={`bg-white ${className}`}
|
|
12
|
+
style={{
|
|
13
|
+
width: '379.5px',
|
|
14
|
+
height: '476px',
|
|
15
|
+
borderRadius: '14px',
|
|
16
|
+
border: '1px solid #0000001A',
|
|
17
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
18
|
+
opacity: 1
|
|
19
|
+
}}
|
|
20
|
+
{...props}
|
|
21
|
+
>
|
|
22
|
+
<div
|
|
23
|
+
style={{
|
|
24
|
+
width: '379.5px',
|
|
25
|
+
height: '60px',
|
|
26
|
+
paddingTop: '24px',
|
|
27
|
+
paddingRight: '24px',
|
|
28
|
+
paddingBottom: '6px',
|
|
29
|
+
paddingLeft: '24px',
|
|
30
|
+
opacity: 1
|
|
31
|
+
}}
|
|
32
|
+
className="flex items-start justify-between"
|
|
33
|
+
>
|
|
34
|
+
<div
|
|
35
|
+
style={{
|
|
36
|
+
width: '331.5px',
|
|
37
|
+
height: '30px',
|
|
38
|
+
opacity: 1
|
|
39
|
+
}}
|
|
40
|
+
>
|
|
41
|
+
<Typography
|
|
42
|
+
variant="body-md"
|
|
43
|
+
className="color-gray-700"
|
|
44
|
+
>
|
|
45
|
+
{title}
|
|
46
|
+
</Typography>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
{children && (
|
|
50
|
+
<div className="px-4 pb-4">
|
|
51
|
+
{children}
|
|
52
|
+
</div>
|
|
53
|
+
)}
|
|
54
|
+
</div>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export default CardTituloCorto;
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Typography } from '../../Atoms/Typography/Typography';
|
|
2
|
+
|
|
3
|
+
export const CardTituloCortoMasEstado = ({
|
|
4
|
+
title = "Notificaciones",
|
|
5
|
+
status = "3 nuevas",
|
|
6
|
+
children,
|
|
7
|
+
className = '',
|
|
8
|
+
...props
|
|
9
|
+
}) => {
|
|
10
|
+
return (
|
|
11
|
+
<div
|
|
12
|
+
className={`bg-white ${className}`}
|
|
13
|
+
style={{
|
|
14
|
+
width: '379.5px',
|
|
15
|
+
height: '476px',
|
|
16
|
+
borderRadius: '14px',
|
|
17
|
+
border: '1px solid #0000001A',
|
|
18
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
19
|
+
opacity: 1
|
|
20
|
+
}}
|
|
21
|
+
{...props}
|
|
22
|
+
>
|
|
23
|
+
<div
|
|
24
|
+
style={{
|
|
25
|
+
width: '379.5px',
|
|
26
|
+
height: '60px',
|
|
27
|
+
paddingTop: '24px',
|
|
28
|
+
paddingRight: '24px',
|
|
29
|
+
paddingBottom: '6px',
|
|
30
|
+
paddingLeft: '24px',
|
|
31
|
+
opacity: 1
|
|
32
|
+
}}
|
|
33
|
+
className="flex items-start justify-between"
|
|
34
|
+
>
|
|
35
|
+
<div
|
|
36
|
+
style={{
|
|
37
|
+
width: '331.5px',
|
|
38
|
+
height: '30px',
|
|
39
|
+
opacity: 1
|
|
40
|
+
}}
|
|
41
|
+
>
|
|
42
|
+
<Typography
|
|
43
|
+
variant="body-md"
|
|
44
|
+
className="color-gray-700"
|
|
45
|
+
>
|
|
46
|
+
{title}
|
|
47
|
+
</Typography>
|
|
48
|
+
</div>
|
|
49
|
+
<span
|
|
50
|
+
className="text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center"
|
|
51
|
+
style={{
|
|
52
|
+
width: '90px',
|
|
53
|
+
height: '24px',
|
|
54
|
+
borderRadius: '12px',
|
|
55
|
+
paddingTop: '2px',
|
|
56
|
+
paddingRight: '12px',
|
|
57
|
+
paddingBottom: '4px',
|
|
58
|
+
paddingLeft: '12px',
|
|
59
|
+
backgroundColor: '#E6F7F0',
|
|
60
|
+
color: '#2D5C63',
|
|
61
|
+
opacity: 1
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
{status}
|
|
65
|
+
</span>
|
|
66
|
+
</div>
|
|
67
|
+
{children && (
|
|
68
|
+
<div className="px-4 pb-4">
|
|
69
|
+
{children}
|
|
70
|
+
</div>
|
|
71
|
+
)}
|
|
72
|
+
</div>
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default CardTituloCortoMasEstado;
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Typography } from '../../Atoms/Typography/Typography';
|
|
2
|
+
|
|
3
|
+
export const CardTituloLargo = ({
|
|
4
|
+
title = "Notificaciones y Alertas del Sistema de Gestión de Recursos Humanos",
|
|
5
|
+
children,
|
|
6
|
+
className = '',
|
|
7
|
+
...props
|
|
8
|
+
}) => {
|
|
9
|
+
return (
|
|
10
|
+
<div
|
|
11
|
+
className={`bg-white ${className}`}
|
|
12
|
+
style={{
|
|
13
|
+
width: '379.5px',
|
|
14
|
+
height: '476px',
|
|
15
|
+
borderRadius: '14px',
|
|
16
|
+
border: '1px solid #0000001A',
|
|
17
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
18
|
+
opacity: 1
|
|
19
|
+
}}
|
|
20
|
+
{...props}
|
|
21
|
+
>
|
|
22
|
+
<div
|
|
23
|
+
style={{
|
|
24
|
+
width: '379.5px',
|
|
25
|
+
height: '60px',
|
|
26
|
+
paddingTop: '24px',
|
|
27
|
+
paddingRight: '24px',
|
|
28
|
+
paddingBottom: '6px',
|
|
29
|
+
paddingLeft: '24px',
|
|
30
|
+
opacity: 1
|
|
31
|
+
}}
|
|
32
|
+
className="flex items-start justify-between"
|
|
33
|
+
>
|
|
34
|
+
<div
|
|
35
|
+
style={{
|
|
36
|
+
width: '331.5px',
|
|
37
|
+
height: '30px',
|
|
38
|
+
opacity: 1
|
|
39
|
+
}}
|
|
40
|
+
>
|
|
41
|
+
<Typography
|
|
42
|
+
variant="body-md"
|
|
43
|
+
className="color-gray-700"
|
|
44
|
+
>
|
|
45
|
+
{title}
|
|
46
|
+
</Typography>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
{children && (
|
|
50
|
+
<div className="px-4 pb-4">
|
|
51
|
+
{children}
|
|
52
|
+
</div>
|
|
53
|
+
)}
|
|
54
|
+
</div>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export default CardTituloLargo;
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Typography } from '../../Atoms/Typography/Typography';
|
|
2
|
+
|
|
3
|
+
export const CardTituloLargoMasEstado = ({
|
|
4
|
+
title = "Notificaciones y Alertas del Sistema de Gestión de Recursos Humanos",
|
|
5
|
+
status = "3 nuevas",
|
|
6
|
+
children,
|
|
7
|
+
className = '',
|
|
8
|
+
...props
|
|
9
|
+
}) => {
|
|
10
|
+
return (
|
|
11
|
+
<div
|
|
12
|
+
className={`bg-white ${className}`}
|
|
13
|
+
style={{
|
|
14
|
+
width: '379.5px',
|
|
15
|
+
height: '476px',
|
|
16
|
+
borderRadius: '14px',
|
|
17
|
+
border: '1px solid #0000001A',
|
|
18
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
19
|
+
opacity: 1
|
|
20
|
+
}}
|
|
21
|
+
{...props}
|
|
22
|
+
>
|
|
23
|
+
<div
|
|
24
|
+
style={{
|
|
25
|
+
width: '379.5px',
|
|
26
|
+
height: '90px',
|
|
27
|
+
paddingTop: '24px',
|
|
28
|
+
paddingRight: '24px',
|
|
29
|
+
paddingBottom: '6px',
|
|
30
|
+
paddingLeft: '24px',
|
|
31
|
+
opacity: 1
|
|
32
|
+
}}
|
|
33
|
+
className="flex items-start justify-between"
|
|
34
|
+
>
|
|
35
|
+
<div
|
|
36
|
+
style={{
|
|
37
|
+
width: '241.5px',
|
|
38
|
+
height: '60px',
|
|
39
|
+
opacity: 1
|
|
40
|
+
}}
|
|
41
|
+
>
|
|
42
|
+
<Typography
|
|
43
|
+
variant="body-md"
|
|
44
|
+
className="color-gray-700"
|
|
45
|
+
>
|
|
46
|
+
{title}
|
|
47
|
+
</Typography>
|
|
48
|
+
</div>
|
|
49
|
+
<span
|
|
50
|
+
className="text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center"
|
|
51
|
+
style={{
|
|
52
|
+
width: '90px',
|
|
53
|
+
height: '24px',
|
|
54
|
+
borderRadius: '12px',
|
|
55
|
+
paddingTop: '2px',
|
|
56
|
+
paddingRight: '12px',
|
|
57
|
+
paddingBottom: '4px',
|
|
58
|
+
paddingLeft: '12px',
|
|
59
|
+
backgroundColor: '#E6F7F0',
|
|
60
|
+
color: '#2D5C63',
|
|
61
|
+
opacity: 1
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
{status}
|
|
65
|
+
</span>
|
|
66
|
+
</div>
|
|
67
|
+
{children && (
|
|
68
|
+
<div className="px-4 pb-4">
|
|
69
|
+
{children}
|
|
70
|
+
</div>
|
|
71
|
+
)}
|
|
72
|
+
</div>
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default CardTituloLargoMasEstado;
|
|
77
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Icon } from '../../Atoms/Icon/Icon';
|
|
2
|
+
import { Typography } from '../../Atoms/Typography/Typography';
|
|
3
|
+
|
|
4
|
+
export const CardVacia = ({
|
|
5
|
+
title = "Notificaciones",
|
|
6
|
+
className = '',
|
|
7
|
+
...props
|
|
8
|
+
}) => {
|
|
9
|
+
return (
|
|
10
|
+
<div
|
|
11
|
+
className={`bg-white ${className}`}
|
|
12
|
+
style={{
|
|
13
|
+
width: '379.5px',
|
|
14
|
+
height: '476px',
|
|
15
|
+
borderRadius: '14px',
|
|
16
|
+
border: '1px solid #0000001A',
|
|
17
|
+
boxShadow: '0px 4px 6px -2px #0000001A, 0px 10px 15px -3px #0000001A',
|
|
18
|
+
opacity: 1
|
|
19
|
+
}}
|
|
20
|
+
{...props}
|
|
21
|
+
>
|
|
22
|
+
<div
|
|
23
|
+
style={{
|
|
24
|
+
width: '379.5px',
|
|
25
|
+
height: '60px',
|
|
26
|
+
paddingTop: '24px',
|
|
27
|
+
paddingRight: '24px',
|
|
28
|
+
paddingBottom: '6px',
|
|
29
|
+
paddingLeft: '24px',
|
|
30
|
+
opacity: 1
|
|
31
|
+
}}
|
|
32
|
+
className="flex items-start justify-between"
|
|
33
|
+
>
|
|
34
|
+
<div
|
|
35
|
+
style={{
|
|
36
|
+
width: '331.5px',
|
|
37
|
+
height: '30px',
|
|
38
|
+
opacity: 1
|
|
39
|
+
}}
|
|
40
|
+
>
|
|
41
|
+
<Typography
|
|
42
|
+
variant="body-md"
|
|
43
|
+
className="color-gray-700"
|
|
44
|
+
>
|
|
45
|
+
{title}
|
|
46
|
+
</Typography>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div
|
|
50
|
+
className="flex flex-col items-center justify-center"
|
|
51
|
+
style={{
|
|
52
|
+
paddingTop: '80px',
|
|
53
|
+
paddingBottom: '24px',
|
|
54
|
+
minHeight: 'calc(476px - 60px)',
|
|
55
|
+
display: 'flex',
|
|
56
|
+
justifyContent: 'flex-start'
|
|
57
|
+
}}
|
|
58
|
+
>
|
|
59
|
+
<div
|
|
60
|
+
className="mb-4 flex items-center justify-center"
|
|
61
|
+
style={{
|
|
62
|
+
width: '63.99068069458008px',
|
|
63
|
+
height: '64px',
|
|
64
|
+
borderRadius: '12px',
|
|
65
|
+
paddingTop: '8px',
|
|
66
|
+
paddingRight: '8px',
|
|
67
|
+
paddingBottom: '8px',
|
|
68
|
+
paddingLeft: '8px',
|
|
69
|
+
backgroundColor: '#E6F7F0',
|
|
70
|
+
opacity: 1
|
|
71
|
+
}}
|
|
72
|
+
>
|
|
73
|
+
<Icon
|
|
74
|
+
name="HandThumbDownIcon"
|
|
75
|
+
variant="24-outline"
|
|
76
|
+
size={32}
|
|
77
|
+
className="color-gray-900"
|
|
78
|
+
/>
|
|
79
|
+
</div>
|
|
80
|
+
<Typography
|
|
81
|
+
variant="h5"
|
|
82
|
+
className="color-gray-900 mb-2"
|
|
83
|
+
style={{
|
|
84
|
+
fontFamily: 'IBM Plex Sans',
|
|
85
|
+
fontWeight: 400,
|
|
86
|
+
fontStyle: 'normal',
|
|
87
|
+
fontSize: '24px',
|
|
88
|
+
lineHeight: '36px',
|
|
89
|
+
letterSpacing: '0px',
|
|
90
|
+
textAlign: 'center'
|
|
91
|
+
}}
|
|
92
|
+
>
|
|
93
|
+
UPS...
|
|
94
|
+
</Typography>
|
|
95
|
+
<Typography
|
|
96
|
+
variant="body-lg"
|
|
97
|
+
className="color-gray-700 text-center"
|
|
98
|
+
style={{
|
|
99
|
+
fontSize: '18px',
|
|
100
|
+
lineHeight: '27px'
|
|
101
|
+
}}
|
|
102
|
+
>
|
|
103
|
+
Parece que esta tarjeta no contiene información.
|
|
104
|
+
</Typography>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export default CardVacia;
|
|
111
|
+
|