siam-ui-utils 2.0.6 → 2.1.0
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/.eslintrc +73 -0
- package/.eslintrc.mjs +53 -0
- package/.prettierrc +7 -0
- package/.prettierrc.js +5 -0
- package/.storybook/css/bootstrap.min.css +6 -0
- package/.storybook/css/bootstrap.rtl.only.min.css +1428 -0
- package/.storybook/main.ts +17 -0
- package/.storybook/preview.ts +16 -0
- package/eslint.config.js +28 -0
- package/index.d.ts +0 -53
- package/index.html +12 -0
- package/package.json +87 -70
- package/src/App.jsx +43 -0
- package/src/IntlMessages.jsx +7 -0
- package/src/bridges/{with-router-bridge.jsx → index.jsx} +1 -1
- package/src/constants.js +9 -0
- package/src/dropzone-uploader/DropzoneUploader.stories.tsx +32 -0
- package/src/dropzone-uploader/dropzone-uploader.css +66 -0
- package/src/{archivos-adjuntos → dropzone-uploader}/index.jsx +10 -6
- package/src/iconos/icon-button-svg.jsx +1 -2
- package/src/iconos/index.js +3 -31
- package/src/iconos/styled-icon.jsx +1 -1
- package/src/index.js +2 -2
- package/src/main.jsx +7 -0
- package/src/tomar-foto/TomarFoto.stories.tsx +29 -0
- package/src/tomar-foto/index.jsx +2 -1
- package/tsconfig.json +3 -2
- package/vite.config.ts +8 -4
- package/.eslintrc.json +0 -25
- package/src/IntlMessages.tsx +0 -11
- package/src/bridges/index.js +0 -1
- package/src/iconos/anular-ayuda-icon.jsx +0 -72
- package/src/iconos/asesoria-burbuja-button.jsx +0 -104
- package/src/iconos/asesoria-burbuja-icon.jsx +0 -104
- package/src/iconos/atencion-presencial-icon.jsx +0 -79
- package/src/iconos/atencion-telefonica-icon.jsx +0 -44
- package/src/iconos/atencion-turno-telefonico-icon.jsx +0 -53
- package/src/iconos/atencion-virtual-icon.jsx +0 -37
- package/src/iconos/biblioteca-burbuja-button.jsx +0 -59
- package/src/iconos/biblioteca-burbuja-icon.jsx +0 -66
- package/src/iconos/cancelar-turno-icon.jsx +0 -29
- package/src/iconos/codigo-verificacion-icon.jsx +0 -54
- package/src/iconos/curso-autogestionado-color-icon.jsx +0 -203
- package/src/iconos/curso-autogestionado-icon.jsx +0 -49
- package/src/iconos/curso-burbuja-button.jsx +0 -41
- package/src/iconos/curso-burbuja-icon.jsx +0 -97
- package/src/iconos/curso-presencial-color-icon.jsx +0 -256
- package/src/iconos/curso-presencial-icon.jsx +0 -71
- package/src/iconos/curso-virtual-color-icon.jsx +0 -109
- package/src/iconos/curso-virtual-icon.jsx +0 -40
- package/src/iconos/delegaciones-icon.jsx +0 -66
- package/src/iconos/forgot-dni-icon.jsx +0 -42
- package/src/iconos/forgot-password-icon.jsx +0 -46
- package/src/iconos/lapiz-act-contacto-perf-button.jsx +0 -44
- package/src/iconos/styled-timer-reenv-cod.jsx +0 -16
- package/src/iconos/user/user-styled-icon.jsx +0 -22
- package/src/iconos/verificar-sin-verificar-icon.jsx +0 -39
- package/src/iconos/verificar-verificado-icon.jsx +0 -30
- package/src/iconos/whatsapp-icon-button.jsx +0 -41
- /package/src/{iconos/constants-svg.js → constants-svg.js} +0 -0
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withTheme } from 'styled-components';
|
|
3
|
-
import { Icon } from './styled-icon';
|
|
4
|
-
|
|
5
|
-
const BibliotecaBurbujaIcon = (props) => {
|
|
6
|
-
const { sublabel = '', size = '', onHidden } = props || {};
|
|
7
|
-
return (
|
|
8
|
-
<Icon
|
|
9
|
-
width={size}
|
|
10
|
-
display={sublabel !== '' ? 'block' : 'none'}
|
|
11
|
-
onMouseEnter={() => onHidden(false)}
|
|
12
|
-
>
|
|
13
|
-
<svg
|
|
14
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
-
version="1.1"
|
|
16
|
-
viewBox="0 0 91.984 91.984"
|
|
17
|
-
>
|
|
18
|
-
<g>
|
|
19
|
-
<g>
|
|
20
|
-
<path
|
|
21
|
-
fill="#333333"
|
|
22
|
-
d="M25.524,48.76c0.182,0.237,0.271,0.532,0.271,0.885c0,0.485-0.187,0.859-0.56,1.123 c-0.373,0.265-0.917,0.396-1.632,0.396H20.82v-5.6h2.624c0.661,0,1.171,0.129,1.528,0.388s0.536,0.614,0.536,1.068 c0,0.277-0.064,0.522-0.192,0.735c-0.128,0.214-0.304,0.379-0.528,0.496C25.098,48.354,25.343,48.522,25.524,48.76z M21.86,46.38 v1.544h1.472c0.363,0,0.642-0.065,0.836-0.195c0.195-0.131,0.292-0.321,0.292-0.572c0-0.256-0.097-0.449-0.292-0.58 c-0.194-0.131-0.473-0.196-0.836-0.196H21.86z M24.748,49.54c0-0.539-0.402-0.808-1.208-0.808h-1.68v1.615h1.68 C24.346,50.348,24.748,50.079,24.748,49.54z"
|
|
23
|
-
/>
|
|
24
|
-
<path fill="#333333" d="M26.98,45.564h1.04v5.6h-1.04V45.564z" />
|
|
25
|
-
<path
|
|
26
|
-
fill="#333333"
|
|
27
|
-
d="M34.308,48.76c0.182,0.237,0.271,0.532,0.271,0.885c0,0.485-0.187,0.859-0.56,1.123 c-0.373,0.265-0.917,0.396-1.632,0.396h-2.784v-5.6h2.624c0.661,0,1.171,0.129,1.528,0.388s0.536,0.614,0.536,1.068 c0,0.277-0.064,0.522-0.192,0.735c-0.128,0.214-0.304,0.379-0.528,0.496C33.881,48.354,34.126,48.522,34.308,48.76z M30.644,46.38 v1.544h1.472c0.363,0,0.642-0.065,0.836-0.195c0.195-0.131,0.292-0.321,0.292-0.572c0-0.256-0.097-0.449-0.292-0.58 c-0.194-0.131-0.473-0.196-0.836-0.196H30.644z M33.531,49.54c0-0.539-0.402-0.808-1.208-0.808h-1.68v1.615h1.68 C33.129,50.348,33.531,50.079,33.531,49.54z"
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
fill="#333333"
|
|
31
|
-
d="M35.764,45.564h1.04v4.72h2.928v0.88h-3.968V45.564z"
|
|
32
|
-
/>
|
|
33
|
-
<path fill="#333333" d="M40.628,45.564h1.04v5.6h-1.04V45.564z" />
|
|
34
|
-
<path
|
|
35
|
-
fill="#333333"
|
|
36
|
-
d="M44.324,50.872c-0.459-0.248-0.819-0.592-1.08-1.032c-0.262-0.439-0.393-0.932-0.393-1.476 s0.131-1.036,0.393-1.477c0.261-0.439,0.621-0.783,1.08-1.031c0.458-0.248,0.973-0.372,1.544-0.372 c0.57,0,1.085,0.124,1.544,0.372s0.818,0.591,1.08,1.027c0.261,0.438,0.392,0.931,0.392,1.48c0,0.549-0.131,1.043-0.392,1.479 c-0.262,0.438-0.621,0.78-1.08,1.028s-0.974,0.372-1.544,0.372C45.297,51.244,44.782,51.12,44.324,50.872z M46.876,50.08 c0.299-0.168,0.533-0.402,0.704-0.704c0.171-0.301,0.256-0.639,0.256-1.012s-0.085-0.711-0.256-1.012 c-0.171-0.302-0.405-0.536-0.704-0.704s-0.635-0.252-1.008-0.252c-0.374,0-0.71,0.084-1.008,0.252 c-0.299,0.168-0.534,0.402-0.704,0.704c-0.171,0.301-0.256,0.639-0.256,1.012s0.085,0.711,0.256,1.012 c0.17,0.302,0.405,0.536,0.704,0.704c0.298,0.168,0.634,0.252,1.008,0.252C46.241,50.332,46.577,50.248,46.876,50.08z"
|
|
37
|
-
/>
|
|
38
|
-
<path
|
|
39
|
-
fill="#333333"
|
|
40
|
-
d="M51.195,46.444H49.34v-0.88h4.752v0.88h-1.856v4.72h-1.04V46.444z"
|
|
41
|
-
/>
|
|
42
|
-
<path
|
|
43
|
-
fill="#333333"
|
|
44
|
-
d="M59.148,50.292v0.872h-4.2v-5.6h4.088v0.872h-3.048v1.455h2.704v0.856h-2.704v1.544H59.148z"
|
|
45
|
-
/>
|
|
46
|
-
<path
|
|
47
|
-
fill="#333333"
|
|
48
|
-
d="M61.44,50.872c-0.455-0.248-0.813-0.591-1.071-1.028c-0.259-0.437-0.389-0.931-0.389-1.479 c0-0.55,0.131-1.043,0.393-1.48c0.261-0.437,0.62-0.779,1.076-1.027s0.967-0.372,1.531-0.372c0.459,0,0.878,0.08,1.257,0.239 c0.378,0.16,0.698,0.393,0.96,0.696l-0.672,0.632c-0.406-0.437-0.904-0.655-1.496-0.655c-0.385,0-0.729,0.084-1.032,0.252 s-0.542,0.401-0.712,0.699c-0.171,0.299-0.256,0.638-0.256,1.017s0.085,0.717,0.256,1.016c0.17,0.299,0.408,0.532,0.712,0.7 s0.647,0.252,1.032,0.252c0.592,0,1.09-0.222,1.496-0.664l0.672,0.64c-0.262,0.305-0.583,0.536-0.965,0.696 c-0.381,0.16-0.801,0.24-1.26,0.24C62.407,51.244,61.896,51.12,61.44,50.872z"
|
|
49
|
-
/>
|
|
50
|
-
<path
|
|
51
|
-
fill="#333333"
|
|
52
|
-
d="M69.9,49.868h-2.8l-0.552,1.296h-1.072l2.521-5.6h1.023l2.528,5.6h-1.088L69.9,49.868z M69.557,49.052 l-1.056-2.447l-1.049,2.447H69.557z"
|
|
53
|
-
/>
|
|
54
|
-
</g>
|
|
55
|
-
</g>
|
|
56
|
-
<path
|
|
57
|
-
fill="#E2DFCF"
|
|
58
|
-
d="M45.992,0C20.632,0,0,20.632,0,45.992s20.632,45.992,45.992,45.992s45.992-20.632,45.992-45.992 S71.353,0,45.992,0z M45.992,82.657c-20.218,0-36.665-16.447-36.665-36.665S25.774,9.327,45.992,9.327 c20.217,0,36.664,16.447,36.664,36.665S66.209,82.657,45.992,82.657z"
|
|
59
|
-
/>
|
|
60
|
-
</svg>
|
|
61
|
-
</Icon>
|
|
62
|
-
);
|
|
63
|
-
};
|
|
64
|
-
BibliotecaBurbujaIcon.defaultProps = { theme: {} };
|
|
65
|
-
const _t= withTheme(BibliotecaBurbujaIcon);
|
|
66
|
-
export {_t as BibliotecaBurbujaIcon}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withTheme } from 'styled-components';
|
|
3
|
-
import { Icon } from './styled-icon';
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line react/prop-types
|
|
6
|
-
const CancelarTurnoIcon = ({ size }) => (
|
|
7
|
-
<Icon width={size}>
|
|
8
|
-
<svg
|
|
9
|
-
version="1.1"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
viewBox="18.771 15.567 40 40"
|
|
12
|
-
>
|
|
13
|
-
<path
|
|
14
|
-
fill="#666666"
|
|
15
|
-
d="M47.228,28.406h-4.496v-0.985c0-0.686-0.642-1.22-1.435-1.22h-5.074c-0.793,0-1.434,0.535-1.434,1.22v0.985
|
|
16
|
-
h-4.497c-0.448,0-0.791,0.343-0.791,0.792c0,0.449,0.343,0.792,0.791,0.792h0.986l0.985,12.332c0.021,1.455,1.198,2.611,2.655,2.611
|
|
17
|
-
h7.707c1.456,0,2.611-1.156,2.654-2.611l0.984-12.311h0.985c0.449,0,0.792-0.343,0.792-0.792
|
|
18
|
-
C48.042,28.77,47.677,28.406,47.228,28.406z M36.395,27.806h4.753v0.6h-4.753V27.806z M36.716,40.672h-0.021
|
|
19
|
-
c-0.427,0-0.792-0.321-0.792-0.771l-0.3-6.465c0-0.427,0.322-0.792,0.771-0.813h0.021c0.429,0,0.771,0.343,0.792,0.77l0.279,6.466
|
|
20
|
-
C37.465,40.288,37.166,40.651,36.716,40.672z M41.663,39.923c-0.023,0.428-0.365,0.771-0.794,0.771h-0.021
|
|
21
|
-
c-0.448-0.021-0.771-0.406-0.771-0.813l0.301-6.465c0.021-0.428,0.363-0.771,0.792-0.771h0.021c0.448,0,0.792,0.365,0.771,0.814
|
|
22
|
-
L41.663,39.923z"
|
|
23
|
-
/>
|
|
24
|
-
</svg>
|
|
25
|
-
</Icon>
|
|
26
|
-
);
|
|
27
|
-
CancelarTurnoIcon.defaultProps = { theme: {} };
|
|
28
|
-
const _t=withTheme(CancelarTurnoIcon);
|
|
29
|
-
export {_t as CancelarTurnoIcon}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withTheme } from 'styled-components';
|
|
3
|
-
import { UserIcon as Icon } from './user/user-styled-icon';
|
|
4
|
-
|
|
5
|
-
const CodigoVerificacionIcon = (props) => {
|
|
6
|
-
const { sublabel = '' } = props || {};
|
|
7
|
-
const { width, height } = props || {};
|
|
8
|
-
return (
|
|
9
|
-
<Icon
|
|
10
|
-
title=""
|
|
11
|
-
width={width}
|
|
12
|
-
height={height}
|
|
13
|
-
display={sublabel !== '' ? 'block' : 'none'}
|
|
14
|
-
>
|
|
15
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
16
|
-
<g>
|
|
17
|
-
<path
|
|
18
|
-
d="M67.3576 10.5143H37.4559V6.22937C37.4512 2.79121 34.6635 0.00237853 31.2242 0H6.22937C2.79002 0.00237853 0.00237853 2.79121 0 6.22937V62.7682C0.00237853 66.2076 2.79002 68.994 6.22937 68.9988H31.2242C34.6647 68.994 37.4512 66.2064 37.4559 62.7682V40.0842H67.3576C68.2615 40.0842 69 39.3504 69 38.443V12.1579C69 11.2493 68.265 10.5143 67.3576 10.5143ZM31.2242 65.7129H6.22937C4.60365 65.7117 3.28713 64.394 3.28475 62.7682V58.4845H34.17V62.7682C34.1664 64.394 32.8511 65.7117 31.2242 65.7129ZM34.17 55.1986H3.28475V6.22937C3.28713 4.60484 4.60246 3.28713 6.22937 3.28594H31.2242C32.8511 3.28713 34.1676 4.60365 34.1712 6.22937V10.5143H12.1555C11.2493 10.5143 10.5143 11.2493 10.5143 12.1567V38.4442C10.5143 39.3504 11.2481 40.0854 12.1555 40.0854H19.7121V47.6444C19.7121 48.5506 20.4482 49.2855 21.3568 49.2855C21.7909 49.2855 22.2095 49.1131 22.5187 48.8039L31.2361 40.0854H34.1712L34.17 55.1986ZM65.7129 36.7994H30.557C30.1205 36.7994 29.7019 36.9731 29.3927 37.2799L22.998 43.6758V38.443C22.998 37.5344 22.2631 36.7994 21.3556 36.7994H13.7979V13.8002H65.7117L65.7129 36.7994Z"
|
|
19
|
-
fill="#B5B4B4"
|
|
20
|
-
/>
|
|
21
|
-
<path
|
|
22
|
-
d="M39.8595 28.7266C40.1746 29.2725 40.8716 29.4592 41.4162 29.1465C41.4162 29.1465 41.4174 29.1465 41.4198 29.1453L42.8707 28.3068V29.9825C42.8707 30.614 43.3809 31.1242 44.0112 31.1242C44.6415 31.1242 45.1529 30.614 45.1529 29.9825V28.3068L46.605 29.1453C47.1485 29.4604 47.8478 29.2725 48.1641 28.7266C48.4781 28.182 48.2914 27.4839 47.7455 27.1675L46.2934 26.3291L47.7455 25.4907C48.2914 25.1767 48.4769 24.4774 48.1641 23.9327C47.8478 23.3857 47.1485 23.2001 46.605 23.5141L45.1529 24.3525V22.6769C45.1529 22.0454 44.6415 21.5352 44.0112 21.5352C43.3809 21.5352 42.8707 22.0454 42.8707 22.6769V24.3525L41.4198 23.5141C40.8727 23.1989 40.1746 23.3857 39.8595 23.9327C39.5443 24.4774 39.731 25.1767 40.2769 25.4907L41.729 26.3291L40.2769 27.1675C39.7299 27.4827 39.5443 28.1808 39.8595 28.7266Z"
|
|
23
|
-
fill="#B5B4B4"
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d="M51.7642 28.7266C52.0805 29.2725 52.7775 29.4592 53.3221 29.1465L53.3233 29.1453L54.7754 28.3068V29.9825C54.7754 30.614 55.2868 31.1242 55.9171 31.1242C56.5474 31.1242 57.0588 30.614 57.0588 29.9825V28.3068L58.5109 29.1453C59.0544 29.4604 59.7537 29.2725 60.07 28.7266C60.384 28.182 60.1973 27.4839 59.6514 27.1675L58.1993 26.3291L59.6514 25.4907C60.1973 25.1767 60.3828 24.4774 60.07 23.9327C59.7537 23.3857 59.0544 23.2001 58.5109 23.5141L57.0588 24.3525V22.6769C57.0588 22.0454 56.5474 21.5352 55.9171 21.5352C55.2868 21.5352 54.7754 22.0454 54.7754 22.6769V24.3525L53.3233 23.5141C52.7786 23.1989 52.0805 23.3857 51.7642 23.9327C51.4502 24.4774 51.6369 25.1767 52.1828 25.4907L53.6349 26.3291L52.1828 27.1675C51.6369 27.4827 51.449 28.1808 51.7642 28.7266Z"
|
|
27
|
-
fill="#B5B4B4"
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
d="M28.9011 23.9327C28.5847 24.4774 28.7714 25.1755 29.3173 25.4907L30.7694 26.3291L29.3185 27.1675C28.7714 27.4839 28.5859 28.182 28.9011 28.7266C29.2162 29.2725 29.9143 29.4592 30.4602 29.1453L31.9123 28.3068V29.9825C31.9123 30.614 32.4237 31.1242 33.0528 31.1242C33.6843 31.1242 34.1957 30.614 34.1957 29.9825V28.3068L35.6454 29.1453C36.1913 29.4604 36.8894 29.2725 37.2045 28.7266C37.5209 28.182 37.3342 27.4839 36.7871 27.1675L35.3362 26.3291L36.7871 25.4907C37.3342 25.1767 37.5197 24.4774 37.2045 23.9327C36.8894 23.3857 36.1913 23.2001 35.6454 23.5141L34.1957 24.3525V22.6769C34.1957 22.0454 33.6843 21.5352 33.0528 21.5352C32.4237 21.5352 31.9123 22.0454 31.9123 22.6769V24.3525L30.4602 23.5141C29.9167 23.1978 29.2198 23.3833 28.9035 23.928C28.9023 23.9291 28.9023 23.9315 28.9011 23.9327Z"
|
|
31
|
-
fill="#B5B4B4"
|
|
32
|
-
/>
|
|
33
|
-
<path
|
|
34
|
-
d="M26.2452 23.9327C25.9324 23.388 25.2355 23.1989 24.692 23.5117C24.6896 23.5117 24.6884 23.5129 24.6848 23.5141L23.2339 24.3525V22.6769C23.2339 22.0454 22.7237 21.5352 22.0922 21.5352C21.4631 21.5352 20.9517 22.0454 20.9517 22.6769V24.3525L19.4996 23.5141C18.9538 23.1989 18.2569 23.3857 17.9405 23.9327C17.6242 24.4774 17.8133 25.1767 18.3591 25.4907L19.8112 26.3291L18.3591 27.1675C17.8133 27.4839 17.6254 28.182 17.9405 28.7266C18.2569 29.2725 18.9538 29.4592 19.4996 29.1453L20.9517 28.3068V29.9825C20.9517 30.614 21.4631 31.1242 22.0922 31.1242C22.7237 31.1242 23.2339 30.614 23.2339 29.9825V28.3068L24.6848 29.1453C25.2319 29.4604 25.93 29.2725 26.2452 28.7266C26.5603 28.182 26.3736 27.4839 25.8277 27.1675L24.3756 26.3291L25.8277 25.4907C26.3748 25.1767 26.5603 24.4786 26.2452 23.9327Z"
|
|
35
|
-
fill="#B5B4B4"
|
|
36
|
-
/>
|
|
37
|
-
<path
|
|
38
|
-
d="M22.0131 60.457H15.4424C14.5338 60.457 13.7988 61.192 13.7988 62.1006C13.7988 63.008 14.5338 63.743 15.4424 63.743H22.0131C22.9205 63.743 23.6567 63.008 23.6567 62.1006C23.6567 61.192 22.9193 60.457 22.0131 60.457Z"
|
|
39
|
-
fill="#B5B4B4"
|
|
40
|
-
/>
|
|
41
|
-
<path
|
|
42
|
-
d="M15.4424 8.54375H22.0131C22.9205 8.54375 23.6567 7.8076 23.6567 6.90019C23.6567 5.99278 22.9205 5.25781 22.0131 5.25781H15.4424C14.5338 5.25781 13.7988 5.99278 13.7988 6.90019C13.7988 7.8076 14.5338 8.54375 15.4424 8.54375Z"
|
|
43
|
-
fill="#B5B4B4"
|
|
44
|
-
/>
|
|
45
|
-
</g>
|
|
46
|
-
</svg>
|
|
47
|
-
|
|
48
|
-
<label>{sublabel}</label>
|
|
49
|
-
</Icon>
|
|
50
|
-
);
|
|
51
|
-
};
|
|
52
|
-
CodigoVerificacionIcon.defaultProps = { theme: {} };
|
|
53
|
-
const _t=withTheme(CodigoVerificacionIcon);
|
|
54
|
-
export {_t as CodigoVerificacionIcon}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withTheme } from 'styled-components';
|
|
3
|
-
import { Icon } from './styled-icon';
|
|
4
|
-
|
|
5
|
-
const CursoAutogestionadoColor = (props) => {
|
|
6
|
-
const { sublabel = '', title="Autogestionado" } = props || {};
|
|
7
|
-
const { size = '' } = props || {};
|
|
8
|
-
return (
|
|
9
|
-
<Icon
|
|
10
|
-
title={title}
|
|
11
|
-
width={size}
|
|
12
|
-
display={sublabel !== '' ? 'block' : 'none'}
|
|
13
|
-
>
|
|
14
|
-
<svg
|
|
15
|
-
version="1.1"
|
|
16
|
-
id="Capa_1"
|
|
17
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
18
|
-
x="0px"
|
|
19
|
-
y="0px"
|
|
20
|
-
width="91.984px"
|
|
21
|
-
height="107.949px"
|
|
22
|
-
viewBox="0 0 91.984 107.949"
|
|
23
|
-
enableBackground="new 0 0 91.984 107.949"
|
|
24
|
-
>
|
|
25
|
-
<g>
|
|
26
|
-
<linearGradient
|
|
27
|
-
id="SVGID_1_"
|
|
28
|
-
gradientUnits="userSpaceOnUse"
|
|
29
|
-
x1="0"
|
|
30
|
-
y1="45.9922"
|
|
31
|
-
x2="91.9844"
|
|
32
|
-
y2="45.9922"
|
|
33
|
-
>
|
|
34
|
-
<stop offset="0.0354" style={{ stopColor: '#FFA98C' }} />
|
|
35
|
-
<stop offset="0.3169" style={{ stopColor: '#FFB892' }} />
|
|
36
|
-
<stop offset="0.8601" style={{ stopColor: '#FEE1A3' }} />
|
|
37
|
-
<stop offset="1" style={{ stopColor: '#FEECA8' }} />
|
|
38
|
-
</linearGradient>
|
|
39
|
-
<path
|
|
40
|
-
fill="url(#SVGID_1_)"
|
|
41
|
-
d="M45.992,0C20.632,0,0,20.632,0,45.992s20.632,45.992,45.992,45.992s45.992-20.632,45.992-45.992
|
|
42
|
-
S71.353,0,45.992,0z M45.992,82.657c-20.218,0-36.665-16.447-36.665-36.665S25.774,9.327,45.992,9.327
|
|
43
|
-
c20.217,0,36.664,16.447,36.664,36.665S66.209,82.657,45.992,82.657z"
|
|
44
|
-
/>
|
|
45
|
-
<g>
|
|
46
|
-
<linearGradient
|
|
47
|
-
id="SVGID_2_"
|
|
48
|
-
gradientUnits="userSpaceOnUse"
|
|
49
|
-
x1="27.4834"
|
|
50
|
-
y1="45.9922"
|
|
51
|
-
x2="64.501"
|
|
52
|
-
y2="45.9922"
|
|
53
|
-
>
|
|
54
|
-
<stop offset="0.0354" style={{ stopColor: '#FFA98C' }} />
|
|
55
|
-
<stop offset="0.3169" style={{ stopColor: '#FFB892' }} />
|
|
56
|
-
<stop offset="0.8601" style={{ stopColor: '#FEE1A3' }} />
|
|
57
|
-
<stop offset="1" style={{ stopColor: '#FEECA8' }} />
|
|
58
|
-
</linearGradient>
|
|
59
|
-
<path
|
|
60
|
-
fill="url(#SVGID_2_)"
|
|
61
|
-
d="M59.978,47.646c0.059-0.544,0.095-1.098,0.095-1.66c0-0.562-0.036-1.104-0.095-1.648
|
|
62
|
-
c-0.022-0.165,0.055-0.33,0.194-0.422l4.329-3.069l-1.957-4.329l-4.938,1.05c-0.169,0.037-0.346-0.021-0.455-0.154
|
|
63
|
-
c-0.742-0.958-1.612-1.828-2.57-2.569c-0.132-0.11-0.194-0.287-0.154-0.456l1.05-4.952l-4.328-1.961l-3.069,4.347
|
|
64
|
-
c-0.092,0.14-0.258,0.214-0.423,0.195c-0.555-0.063-1.105-0.11-1.663-0.11c-0.555,0-1.108,0.048-1.659,0.11
|
|
65
|
-
c-0.169,0.019-0.331-0.056-0.427-0.195l-3.065-4.347l-4.332,1.961l1.054,4.952c0.036,0.169-0.026,0.346-0.158,0.456
|
|
66
|
-
c-0.958,0.741-1.828,1.611-2.57,2.569c-0.106,0.133-0.282,0.191-0.451,0.154l-4.938-1.05l-1.961,4.329l4.329,3.069
|
|
67
|
-
c0.14,0.092,0.221,0.257,0.198,0.422c-0.063,0.544-0.099,1.087-0.099,1.648c0,0.563,0.036,1.116,0.099,1.66
|
|
68
|
-
c0.022,0.169-0.059,0.334-0.198,0.426l-4.329,3.065l1.961,4.329l4.938-1.05c0.169-0.037,0.345,0.021,0.451,0.157
|
|
69
|
-
c0.742,0.959,1.612,1.829,2.57,2.566c0.132,0.11,0.194,0.29,0.158,0.456l-1.054,4.952l4.332,1.961l3.065-4.344
|
|
70
|
-
c0.096-0.14,0.258-0.216,0.427-0.198c0.547,0.063,1.098,0.104,1.659,0.104s1.116-0.041,1.663-0.104
|
|
71
|
-
c0.165-0.018,0.331,0.059,0.423,0.198l3.069,4.344l4.328-1.961l-1.05-4.952c-0.04-0.166,0.022-0.346,0.154-0.456
|
|
72
|
-
c0.958-0.737,1.828-1.607,2.57-2.566c0.109-0.136,0.286-0.194,0.455-0.157l4.938,1.05l1.957-4.329l-4.329-3.065
|
|
73
|
-
C60.032,47.98,59.955,47.815,59.978,47.646z M52.799,52.016c-1.479-1.74-3.976-2.85-6.807-2.85s-5.324,1.109-6.804,2.85
|
|
74
|
-
c-1.417-1.604-2.28-3.712-2.28-6.021c0-5.022,4.064-9.087,9.084-9.087c5.026,0,9.087,4.064,9.087,9.087
|
|
75
|
-
C55.079,48.304,54.217,50.411,52.799,52.016z"
|
|
76
|
-
/>
|
|
77
|
-
<linearGradient
|
|
78
|
-
id="SVGID_3_"
|
|
79
|
-
gradientUnits="userSpaceOnUse"
|
|
80
|
-
x1="42.3574"
|
|
81
|
-
y1="43.2686"
|
|
82
|
-
x2="49.627"
|
|
83
|
-
y2="43.2686"
|
|
84
|
-
>
|
|
85
|
-
<stop offset="0.0354" style={{ stopColor: '#FFA98C' }} />
|
|
86
|
-
<stop offset="0.3169" style={{ stopColor: '#FFB892' }} />
|
|
87
|
-
<stop offset="0.8601" style={{ stopColor: '#FEE1A3' }} />
|
|
88
|
-
<stop offset="1" style={{ stopColor: '#FEECA8' }} />
|
|
89
|
-
</linearGradient>
|
|
90
|
-
<path
|
|
91
|
-
fill="url(#SVGID_3_)"
|
|
92
|
-
d="M45.992,39.635c-2.001,0-3.635,1.63-3.635,3.631s1.634,3.636,3.635,3.636
|
|
93
|
-
c2.005,0,3.635-1.635,3.635-3.636S47.997,39.635,45.992,39.635z"
|
|
94
|
-
/>
|
|
95
|
-
</g>
|
|
96
|
-
</g>
|
|
97
|
-
<g>
|
|
98
|
-
<g>
|
|
99
|
-
<path
|
|
100
|
-
fill="#333333"
|
|
101
|
-
d="M9.933,106.574h-2.8l-0.552,1.295H5.509l2.52-5.6h1.024l2.528,5.6h-1.088L9.933,106.574z M9.589,105.758
|
|
102
|
-
l-1.056-2.448l-1.048,2.448H9.589z"
|
|
103
|
-
/>
|
|
104
|
-
<path
|
|
105
|
-
fill="#333333"
|
|
106
|
-
d="M12.964,107.298c-0.432-0.435-0.647-1.058-0.647-1.868v-3.16h1.04v3.12c0,1.099,0.475,1.647,1.424,1.647
|
|
107
|
-
c0.943,0,1.416-0.549,1.416-1.647v-3.12h1.023v3.16c0,0.811-0.215,1.434-0.644,1.868s-1.03,0.651-1.804,0.651
|
|
108
|
-
S13.396,107.732,12.964,107.298z"
|
|
109
|
-
/>
|
|
110
|
-
<path
|
|
111
|
-
fill="#333333"
|
|
112
|
-
d="M19.885,103.149h-1.856v-0.88h4.752v0.88h-1.855v4.72h-1.04V103.149z"
|
|
113
|
-
/>
|
|
114
|
-
<path
|
|
115
|
-
fill="#333333"
|
|
116
|
-
d="M24.708,107.578c-0.459-0.248-0.818-0.592-1.08-1.033c-0.262-0.439-0.392-0.932-0.392-1.475
|
|
117
|
-
c0-0.545,0.13-1.037,0.392-1.477s0.621-0.784,1.08-1.032s0.974-0.372,1.545-0.372c0.57,0,1.084,0.124,1.543,0.372
|
|
118
|
-
s0.818,0.591,1.08,1.028s0.393,0.931,0.393,1.48c0,0.549-0.131,1.042-0.393,1.479c-0.262,0.437-0.621,0.78-1.08,1.028
|
|
119
|
-
s-0.973,0.371-1.543,0.371C25.682,107.949,25.167,107.826,24.708,107.578z M27.261,106.785c0.299-0.168,0.533-0.402,0.703-0.703
|
|
120
|
-
c0.171-0.302,0.256-0.639,0.256-1.012c0-0.374-0.085-0.711-0.256-1.013c-0.17-0.302-0.404-0.536-0.703-0.704
|
|
121
|
-
s-0.635-0.252-1.008-0.252c-0.374,0-0.71,0.084-1.009,0.252s-0.533,0.402-0.704,0.704c-0.17,0.302-0.256,0.639-0.256,1.013
|
|
122
|
-
c0,0.373,0.086,0.71,0.256,1.012c0.171,0.301,0.405,0.535,0.704,0.703s0.635,0.252,1.009,0.252
|
|
123
|
-
C26.626,107.037,26.962,106.953,27.261,106.785z"
|
|
124
|
-
/>
|
|
125
|
-
<path
|
|
126
|
-
fill="#333333"
|
|
127
|
-
d="M34.269,105.006h0.984v2.232c-0.289,0.229-0.625,0.404-1.009,0.527s-0.778,0.184-1.184,0.184
|
|
128
|
-
c-0.571,0-1.085-0.123-1.544-0.371s-0.818-0.592-1.08-1.028c-0.262-0.438-0.393-0.931-0.393-1.479c0-0.55,0.131-1.043,0.393-1.48
|
|
129
|
-
s0.623-0.78,1.084-1.028s0.98-0.372,1.556-0.372c0.47,0,0.896,0.078,1.28,0.232c0.384,0.154,0.707,0.381,0.968,0.68l-0.655,0.641
|
|
130
|
-
c-0.428-0.428-0.941-0.641-1.545-0.641c-0.395,0-0.745,0.083-1.052,0.248c-0.307,0.166-0.547,0.397-0.72,0.695
|
|
131
|
-
c-0.174,0.299-0.26,0.641-0.26,1.025c0,0.373,0.086,0.709,0.26,1.008c0.173,0.299,0.413,0.533,0.72,0.703
|
|
132
|
-
c0.307,0.171,0.655,0.256,1.044,0.256c0.438,0,0.821-0.096,1.152-0.287V105.006z"
|
|
133
|
-
/>
|
|
134
|
-
<path
|
|
135
|
-
fill="#333333"
|
|
136
|
-
d="M40.892,106.998v0.871h-4.199v-5.6h4.088v0.872h-3.049v1.456h2.705v0.855h-2.705v1.545H40.892z"
|
|
137
|
-
/>
|
|
138
|
-
<path
|
|
139
|
-
fill="#333333"
|
|
140
|
-
d="M42.608,107.766c-0.403-0.123-0.722-0.285-0.957-0.488l0.361-0.808c0.229,0.181,0.51,0.329,0.844,0.444
|
|
141
|
-
c0.333,0.114,0.668,0.172,1.004,0.172c0.416,0,0.727-0.066,0.932-0.2s0.309-0.31,0.309-0.528c0-0.16-0.059-0.292-0.172-0.396
|
|
142
|
-
c-0.115-0.104-0.261-0.185-0.437-0.243c-0.177-0.059-0.416-0.126-0.72-0.2c-0.428-0.102-0.772-0.203-1.037-0.304
|
|
143
|
-
c-0.264-0.102-0.49-0.261-0.68-0.476c-0.189-0.217-0.283-0.509-0.283-0.877c0-0.309,0.084-0.59,0.252-0.844
|
|
144
|
-
s0.421-0.455,0.76-0.604c0.338-0.15,0.753-0.225,1.244-0.225c0.341,0,0.677,0.043,1.008,0.129c0.33,0.084,0.615,0.207,0.855,0.367
|
|
145
|
-
l-0.328,0.809c-0.244-0.145-0.501-0.254-0.768-0.328c-0.267-0.075-0.525-0.112-0.775-0.112c-0.411,0-0.717,0.069-0.916,0.208
|
|
146
|
-
c-0.2,0.139-0.301,0.322-0.301,0.552c0,0.16,0.058,0.291,0.172,0.392c0.115,0.102,0.26,0.182,0.437,0.24
|
|
147
|
-
c0.176,0.059,0.416,0.125,0.72,0.2c0.416,0.097,0.758,0.196,1.024,0.3c0.267,0.104,0.495,0.264,0.684,0.477
|
|
148
|
-
c0.189,0.213,0.284,0.501,0.284,0.863c0,0.311-0.084,0.59-0.252,0.84c-0.168,0.252-0.423,0.451-0.764,0.601
|
|
149
|
-
c-0.342,0.149-0.758,0.224-1.248,0.224C43.429,107.949,43.011,107.889,42.608,107.766z"
|
|
150
|
-
/>
|
|
151
|
-
<path
|
|
152
|
-
fill="#333333"
|
|
153
|
-
d="M48.364,103.149h-1.855v-0.88h4.752v0.88h-1.856v4.72h-1.04V103.149z"
|
|
154
|
-
/>
|
|
155
|
-
<path fill="#333333" d="M52.116,102.27h1.04v5.6h-1.04V102.27z" />
|
|
156
|
-
<path
|
|
157
|
-
fill="#333333"
|
|
158
|
-
d="M55.812,107.578c-0.459-0.248-0.818-0.592-1.08-1.033c-0.262-0.439-0.392-0.932-0.392-1.475
|
|
159
|
-
c0-0.545,0.13-1.037,0.392-1.477s0.621-0.784,1.08-1.032s0.974-0.372,1.545-0.372c0.57,0,1.084,0.124,1.543,0.372
|
|
160
|
-
s0.818,0.591,1.08,1.028s0.393,0.931,0.393,1.48c0,0.549-0.131,1.042-0.393,1.479c-0.262,0.437-0.621,0.78-1.08,1.028
|
|
161
|
-
s-0.973,0.371-1.543,0.371C56.785,107.949,56.271,107.826,55.812,107.578z M58.364,106.785c0.299-0.168,0.533-0.402,0.703-0.703
|
|
162
|
-
c0.171-0.302,0.256-0.639,0.256-1.012c0-0.374-0.085-0.711-0.256-1.013c-0.17-0.302-0.404-0.536-0.703-0.704
|
|
163
|
-
s-0.635-0.252-1.008-0.252c-0.374,0-0.71,0.084-1.009,0.252s-0.533,0.402-0.704,0.704c-0.17,0.302-0.256,0.639-0.256,1.013
|
|
164
|
-
c0,0.373,0.086,0.71,0.256,1.012c0.171,0.301,0.405,0.535,0.704,0.703s0.635,0.252,1.009,0.252
|
|
165
|
-
C57.729,107.037,58.065,106.953,58.364,106.785z"
|
|
166
|
-
/>
|
|
167
|
-
<path
|
|
168
|
-
fill="#333333"
|
|
169
|
-
d="M66.524,102.27v5.6h-0.856l-3.088-3.791v3.791h-1.032v-5.6h0.855l3.088,3.792v-3.792H66.524z"
|
|
170
|
-
/>
|
|
171
|
-
<path
|
|
172
|
-
fill="#333333"
|
|
173
|
-
d="M71.731,106.574h-2.8l-0.552,1.295h-1.072l2.52-5.6h1.024l2.528,5.6h-1.088L71.731,106.574z
|
|
174
|
-
M71.388,105.758l-1.057-2.448l-1.047,2.448H71.388z"
|
|
175
|
-
/>
|
|
176
|
-
<path
|
|
177
|
-
fill="#333333"
|
|
178
|
-
d="M74.163,102.27h2.448c0.597,0,1.128,0.116,1.592,0.348c0.464,0.232,0.824,0.561,1.08,0.984
|
|
179
|
-
s0.384,0.914,0.384,1.469s-0.128,1.043-0.384,1.467s-0.616,0.752-1.08,0.984s-0.995,0.348-1.592,0.348h-2.448V102.27z
|
|
180
|
-
M76.563,106.99c0.41,0,0.771-0.079,1.084-0.236c0.312-0.158,0.552-0.381,0.72-0.672s0.252-0.629,0.252-1.012
|
|
181
|
-
c0-0.385-0.084-0.723-0.252-1.013s-0.408-0.515-0.72-0.672c-0.313-0.157-0.674-0.236-1.084-0.236h-1.36v3.841H76.563z"
|
|
182
|
-
/>
|
|
183
|
-
<path
|
|
184
|
-
fill="#333333"
|
|
185
|
-
d="M81.915,107.578c-0.459-0.248-0.818-0.592-1.08-1.033c-0.262-0.439-0.392-0.932-0.392-1.475
|
|
186
|
-
c0-0.545,0.13-1.037,0.392-1.477s0.621-0.784,1.08-1.032s0.974-0.372,1.545-0.372c0.57,0,1.084,0.124,1.543,0.372
|
|
187
|
-
s0.818,0.591,1.08,1.028s0.393,0.931,0.393,1.48c0,0.549-0.131,1.042-0.393,1.479c-0.262,0.437-0.621,0.78-1.08,1.028
|
|
188
|
-
s-0.973,0.371-1.543,0.371C82.889,107.949,82.374,107.826,81.915,107.578z M84.468,106.785c0.299-0.168,0.533-0.402,0.703-0.703
|
|
189
|
-
c0.171-0.302,0.256-0.639,0.256-1.012c0-0.374-0.085-0.711-0.256-1.013c-0.17-0.302-0.404-0.536-0.703-0.704
|
|
190
|
-
s-0.635-0.252-1.008-0.252c-0.374,0-0.71,0.084-1.009,0.252s-0.533,0.402-0.704,0.704c-0.17,0.302-0.256,0.639-0.256,1.013
|
|
191
|
-
c0,0.373,0.086,0.71,0.256,1.012c0.171,0.301,0.405,0.535,0.704,0.703s0.635,0.252,1.009,0.252
|
|
192
|
-
C83.833,107.037,84.169,106.953,84.468,106.785z"
|
|
193
|
-
/>
|
|
194
|
-
</g>
|
|
195
|
-
</g>
|
|
196
|
-
</svg>
|
|
197
|
-
<label>{sublabel}</label>
|
|
198
|
-
</Icon>
|
|
199
|
-
);
|
|
200
|
-
};
|
|
201
|
-
CursoAutogestionadoColor.defaultProps = { theme: {} };
|
|
202
|
-
const _t=withTheme(CursoAutogestionadoColor);
|
|
203
|
-
export {_t as CursoAutogestionadoColor}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withTheme } from 'styled-components';
|
|
3
|
-
import { Icon } from './styled-icon';
|
|
4
|
-
|
|
5
|
-
const CursoAutogestionado = (props) => {
|
|
6
|
-
const { sublabel = '', title="Autogestionado" } = props || {};
|
|
7
|
-
const { size = '' } = props || {};
|
|
8
|
-
return (
|
|
9
|
-
<Icon
|
|
10
|
-
title={title}
|
|
11
|
-
width={size}
|
|
12
|
-
display={sublabel !== '' ? 'block' : 'none'}
|
|
13
|
-
>
|
|
14
|
-
<svg
|
|
15
|
-
version="1.1"
|
|
16
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
-
viewBox="0 0 37.116 43.771"
|
|
18
|
-
>
|
|
19
|
-
<g>
|
|
20
|
-
<path
|
|
21
|
-
d="M27.508,22.943c0.04-0.348,0.063-0.703,0.063-1.063s-0.023-0.707-0.063-1.055c-0.012-0.107,0.037-0.213,0.128-0.271
|
|
22
|
-
l2.77-1.965l-1.253-2.768l-3.161,0.672c-0.107,0.023-0.221-0.016-0.292-0.1c-0.474-0.615-1.032-1.172-1.645-1.646
|
|
23
|
-
c-0.085-0.07-0.123-0.182-0.1-0.291l0.672-3.17l-2.771-1.254l-1.964,2.781c-0.059,0.088-0.165,0.139-0.271,0.127
|
|
24
|
-
c-0.354-0.041-0.708-0.074-1.064-0.074c-0.355,0-0.71,0.033-1.062,0.074c-0.107,0.012-0.213-0.039-0.273-0.127l-1.962-2.781
|
|
25
|
-
l-2.772,1.254l0.675,3.17c0.023,0.109-0.017,0.221-0.101,0.291c-0.613,0.475-1.172,1.031-1.646,1.646
|
|
26
|
-
c-0.069,0.084-0.183,0.123-0.29,0.1l-3.161-0.672L6.711,18.59l2.771,1.965c0.091,0.059,0.141,0.164,0.127,0.271
|
|
27
|
-
c-0.04,0.348-0.063,0.695-0.063,1.055s0.022,0.715,0.063,1.063c0.014,0.109-0.036,0.213-0.127,0.273l-2.771,1.961l1.255,2.771
|
|
28
|
-
l3.161-0.672c0.107-0.023,0.221,0.016,0.29,0.1c0.475,0.615,1.032,1.172,1.646,1.643c0.084,0.072,0.124,0.186,0.101,0.293
|
|
29
|
-
l-0.675,3.17l2.772,1.256l1.962-2.781c0.061-0.092,0.166-0.139,0.273-0.127c0.35,0.039,0.701,0.064,1.062,0.064
|
|
30
|
-
c0.361,0,0.715-0.025,1.064-0.064c0.105-0.012,0.212,0.035,0.271,0.127l1.964,2.781l2.771-1.256l-0.672-3.17
|
|
31
|
-
c-0.023-0.107,0.015-0.221,0.1-0.293c0.614-0.471,1.171-1.027,1.645-1.643c0.071-0.084,0.185-0.123,0.292-0.1l3.161,0.672
|
|
32
|
-
l1.253-2.771l-2.77-1.961C27.545,23.156,27.496,23.053,27.508,22.943z M22.914,25.738c-0.946-1.111-2.544-1.822-4.356-1.822
|
|
33
|
-
c-1.812,0-3.407,0.711-4.354,1.822c-0.909-1.027-1.46-2.375-1.46-3.854c0-3.215,2.601-5.814,5.813-5.814
|
|
34
|
-
c3.217,0,5.815,2.6,5.815,5.814C24.373,23.363,23.822,24.711,22.914,25.738z"
|
|
35
|
-
/>
|
|
36
|
-
<path
|
|
37
|
-
d="M18.558,17.816c-1.279,0-2.325,1.043-2.325,2.322c0,1.283,1.046,2.326,2.325,2.326c1.282,0,2.326-1.043,2.326-2.326
|
|
38
|
-
C20.884,18.859,19.84,17.816,18.558,17.816z"
|
|
39
|
-
/>
|
|
40
|
-
</g>
|
|
41
|
-
</svg>
|
|
42
|
-
|
|
43
|
-
<label>{sublabel}</label>
|
|
44
|
-
</Icon>
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
CursoAutogestionado.defaultProps = { theme: {} };
|
|
48
|
-
const _t= withTheme(CursoAutogestionado);
|
|
49
|
-
export {_t as CursoAutogestionado}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router-dom';
|
|
3
|
-
import { withTheme } from 'styled-components';
|
|
4
|
-
import { Icon } from './styled-icon';
|
|
5
|
-
|
|
6
|
-
const CursoBurbujaButton = (props) => {
|
|
7
|
-
const navigate = useNavigate();
|
|
8
|
-
const { sublabel = '', size = '', pathServicio = '/app/social/cursos-talleres/mis-cursos-talleres' } = props || {};
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<Icon
|
|
12
|
-
width={size}
|
|
13
|
-
display={sublabel !== '' ? 'block' : 'none'}
|
|
14
|
-
onClick={() =>
|
|
15
|
-
navigate(pathServicio)
|
|
16
|
-
}
|
|
17
|
-
>
|
|
18
|
-
<svg
|
|
19
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
-
version="1.1"
|
|
21
|
-
viewBox="0 0 91.984 91.984"
|
|
22
|
-
>
|
|
23
|
-
<path
|
|
24
|
-
fill="none"
|
|
25
|
-
d="M45.992,10.927c-19.336,0-35.065,15.73-35.065,35.065c0,19.336,15.729,35.066,35.065,35.066 c19.334,0,35.064-15.73,35.064-35.066C81.057,26.657,65.326,10.927,45.992,10.927z"
|
|
26
|
-
/>
|
|
27
|
-
<path
|
|
28
|
-
fill="#A1A093"
|
|
29
|
-
d="M45.992,0C20.632,0,0,20.632,0,45.992c0,25.361,20.632,45.992,45.992,45.992s45.992-20.631,45.992-45.992 C91.984,20.632,71.353,0,45.992,0z M45.992,82.658c-20.218,0-36.665-16.447-36.665-36.666c0-20.217,16.447-36.665,36.665-36.665 c20.217,0,36.664,16.447,36.664,36.665C82.656,66.21,66.209,82.658,45.992,82.658z"
|
|
30
|
-
/>
|
|
31
|
-
<path
|
|
32
|
-
fill="#A1A093"
|
|
33
|
-
d="M33.633,53.428h9.396v3.07c-4.064,0.07-5.432,1.792-5.488,1.867l-0.299,0.394H54.74l-0.297-0.394 c-0.057-0.075-1.424-1.797-5.49-1.867v-3.07h9.396c0.963,0,1.746-0.781,1.746-1.746V34.971c0-0.963-0.783-1.747-1.746-1.747H33.633 c-0.962,0-1.745,0.784-1.745,1.747v16.711C31.888,52.645,32.669,53.428,33.633,53.428z M46.236,37.284h10.791v6.633H46.236V37.284z M40.543,39.085c1.441,0,2.617,1.174,2.617,2.617c0,1.441-1.176,2.616-2.617,2.616c-1.443,0-2.617-1.175-2.617-2.616 C37.926,40.259,39.1,39.085,40.543,39.085z M40.543,44.808c2.969,0,5.395,2.354,5.523,5.291h-3.037h-8.01 C35.146,47.162,37.572,44.808,40.543,44.808z"
|
|
34
|
-
/>
|
|
35
|
-
</svg>
|
|
36
|
-
</Icon>
|
|
37
|
-
);
|
|
38
|
-
};
|
|
39
|
-
CursoBurbujaButton.defaultProps = { theme: {} };
|
|
40
|
-
const _t = withTheme(CursoBurbujaButton);
|
|
41
|
-
export { _t as CursoBurbujaButton }
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withTheme } from 'styled-components';
|
|
3
|
-
import { Icon } from './styled-icon';
|
|
4
|
-
|
|
5
|
-
const CursoBurbujaIcon = (props) => {
|
|
6
|
-
const { sublabel = '', size = '', onHidden } = props || {};
|
|
7
|
-
return (
|
|
8
|
-
<Icon
|
|
9
|
-
width={size}
|
|
10
|
-
display={sublabel !== '' ? 'block' : 'none'}
|
|
11
|
-
onMouseEnter={() => onHidden(false)}
|
|
12
|
-
onMouseMove={() => onHidden(false)}
|
|
13
|
-
>
|
|
14
|
-
<svg
|
|
15
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
-
version="1.1"
|
|
17
|
-
viewBox="0 0 91.984 91.984"
|
|
18
|
-
>
|
|
19
|
-
<g>
|
|
20
|
-
<g>
|
|
21
|
-
<path
|
|
22
|
-
fill="#333333"
|
|
23
|
-
d="M26.416,43.873c-0.455-0.248-0.813-0.592-1.071-1.029c-0.259-0.436-0.389-0.93-0.389-1.479 c0-0.551,0.131-1.043,0.393-1.48c0.261-0.438,0.62-0.779,1.076-1.027s0.967-0.373,1.531-0.373c0.459,0,0.878,0.08,1.257,0.24 c0.378,0.16,0.698,0.393,0.96,0.695l-0.672,0.633c-0.406-0.438-0.904-0.656-1.496-0.656c-0.385,0-0.729,0.084-1.032,0.252 s-0.542,0.402-0.712,0.699c-0.171,0.299-0.256,0.639-0.256,1.018s0.085,0.717,0.256,1.016c0.17,0.299,0.408,0.531,0.712,0.699 s0.647,0.252,1.032,0.252c0.592,0,1.09-0.221,1.496-0.664l0.672,0.641c-0.262,0.305-0.583,0.535-0.965,0.695 c-0.381,0.16-0.801,0.24-1.26,0.24C27.383,44.244,26.872,44.121,26.416,43.873z"
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
fill="#333333"
|
|
27
|
-
d="M31.845,43.591c-0.432-0.434-0.647-1.057-0.647-1.867v-3.16h1.04v3.119c0,1.1,0.475,1.648,1.424,1.648 c0.944,0,1.416-0.549,1.416-1.648v-3.119h1.024v3.16c0,0.811-0.215,1.434-0.645,1.867c-0.43,0.436-1.03,0.652-1.804,0.652 S32.277,44.027,31.845,43.591z"
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
fill="#333333"
|
|
31
|
-
d="M41.292,44.164l-1.144-1.639c-0.049,0.004-0.12,0.008-0.217,0.008h-1.264v1.631h-1.04v-5.6h2.304 c0.485,0,0.908,0.08,1.269,0.24c0.359,0.16,0.636,0.389,0.828,0.688c0.191,0.299,0.288,0.654,0.288,1.064 c0,0.422-0.104,0.783-0.309,1.088s-0.5,0.531-0.884,0.68l1.288,1.84H41.292z M40.916,39.732c-0.234-0.191-0.579-0.287-1.032-0.287 h-1.216v2.23h1.216c0.453,0,0.798-0.096,1.032-0.291s0.352-0.471,0.352-0.828S41.15,39.923,40.916,39.732z"
|
|
32
|
-
/>
|
|
33
|
-
<path
|
|
34
|
-
fill="#333333"
|
|
35
|
-
d="M44.032,44.06c-0.403-0.123-0.722-0.285-0.956-0.488l0.359-0.809c0.229,0.182,0.511,0.33,0.845,0.445 c0.333,0.115,0.668,0.172,1.004,0.172c0.416,0,0.727-0.066,0.932-0.201c0.205-0.133,0.308-0.309,0.308-0.527 c0-0.16-0.057-0.291-0.172-0.396c-0.114-0.104-0.26-0.184-0.436-0.244c-0.176-0.059-0.416-0.125-0.72-0.199 c-0.427-0.102-0.772-0.203-1.036-0.305c-0.265-0.1-0.491-0.26-0.681-0.475c-0.189-0.217-0.283-0.508-0.283-0.877 c0-0.309,0.084-0.59,0.252-0.844s0.421-0.455,0.76-0.604c0.339-0.15,0.753-0.225,1.244-0.225c0.341,0,0.677,0.043,1.008,0.129 c0.33,0.084,0.616,0.207,0.855,0.367l-0.327,0.809c-0.246-0.145-0.502-0.254-0.769-0.328s-0.525-0.113-0.775-0.113 c-0.411,0-0.717,0.07-0.916,0.209c-0.2,0.139-0.301,0.322-0.301,0.553c0,0.158,0.058,0.289,0.172,0.391 c0.115,0.102,0.261,0.182,0.437,0.24s0.416,0.125,0.72,0.201c0.416,0.096,0.758,0.195,1.024,0.299s0.494,0.264,0.684,0.477 s0.284,0.502,0.284,0.863c0,0.311-0.084,0.59-0.252,0.84c-0.168,0.252-0.423,0.451-0.764,0.602 c-0.342,0.148-0.758,0.223-1.248,0.223C44.852,44.244,44.435,44.183,44.032,44.06z"
|
|
36
|
-
/>
|
|
37
|
-
<path
|
|
38
|
-
fill="#333333"
|
|
39
|
-
d="M49.725,43.873c-0.459-0.248-0.819-0.592-1.08-1.033c-0.262-0.439-0.393-0.932-0.393-1.475 c0-0.545,0.131-1.037,0.393-1.477c0.261-0.439,0.621-0.783,1.08-1.031c0.458-0.248,0.973-0.373,1.544-0.373 c0.57,0,1.085,0.125,1.544,0.373s0.818,0.59,1.08,1.027c0.261,0.438,0.392,0.93,0.392,1.48c0,0.549-0.131,1.043-0.392,1.479 c-0.262,0.438-0.621,0.781-1.08,1.029s-0.974,0.371-1.544,0.371C50.697,44.244,50.183,44.121,49.725,43.873z M52.276,43.08 c0.299-0.168,0.533-0.402,0.704-0.703s0.256-0.639,0.256-1.012s-0.085-0.711-0.256-1.012c-0.171-0.303-0.405-0.537-0.704-0.705 s-0.635-0.252-1.008-0.252c-0.374,0-0.71,0.084-1.008,0.252c-0.299,0.168-0.534,0.402-0.704,0.705 c-0.171,0.301-0.256,0.639-0.256,1.012s0.085,0.711,0.256,1.012c0.17,0.301,0.405,0.535,0.704,0.703 c0.298,0.168,0.634,0.252,1.008,0.252C51.642,43.332,51.978,43.248,52.276,43.08z"
|
|
40
|
-
/>
|
|
41
|
-
<path
|
|
42
|
-
fill="#333333"
|
|
43
|
-
d="M55.945,44.06c-0.403-0.123-0.722-0.285-0.956-0.488l0.359-0.809c0.229,0.182,0.511,0.33,0.845,0.445 c0.333,0.115,0.668,0.172,1.004,0.172c0.416,0,0.727-0.066,0.932-0.201c0.205-0.133,0.308-0.309,0.308-0.527 c0-0.16-0.057-0.291-0.172-0.396c-0.114-0.104-0.26-0.184-0.436-0.244c-0.176-0.059-0.416-0.125-0.72-0.199 c-0.427-0.102-0.772-0.203-1.036-0.305c-0.265-0.1-0.491-0.26-0.681-0.475c-0.189-0.217-0.283-0.508-0.283-0.877 c0-0.309,0.084-0.59,0.252-0.844s0.421-0.455,0.76-0.604c0.339-0.15,0.753-0.225,1.244-0.225c0.341,0,0.677,0.043,1.008,0.129 c0.33,0.084,0.616,0.207,0.855,0.367l-0.327,0.809c-0.246-0.145-0.502-0.254-0.769-0.328s-0.525-0.113-0.775-0.113 c-0.411,0-0.717,0.07-0.916,0.209c-0.2,0.139-0.301,0.322-0.301,0.553c0,0.158,0.058,0.289,0.172,0.391 c0.115,0.102,0.261,0.182,0.437,0.24s0.416,0.125,0.72,0.201c0.416,0.096,0.758,0.195,1.024,0.299s0.494,0.264,0.684,0.477 s0.284,0.502,0.284,0.863c0,0.311-0.084,0.59-0.252,0.84c-0.168,0.252-0.423,0.451-0.764,0.602 c-0.342,0.148-0.758,0.223-1.248,0.223C56.765,44.244,56.348,44.183,55.945,44.06z"
|
|
44
|
-
/>
|
|
45
|
-
<path
|
|
46
|
-
fill="#333333"
|
|
47
|
-
d="M65.261,42.189v1.975h-1.04v-1.959l-2.2-3.641h1.112l1.64,2.729l1.656-2.729h1.024L65.261,42.189z"
|
|
48
|
-
/>
|
|
49
|
-
<path
|
|
50
|
-
fill="#333333"
|
|
51
|
-
d="M26.633,50.445h-1.855v-0.881h4.752v0.881h-1.856v4.719h-1.04V50.445z"
|
|
52
|
-
/>
|
|
53
|
-
<path
|
|
54
|
-
fill="#333333"
|
|
55
|
-
d="M34.018,53.869h-2.8l-0.552,1.295h-1.072l2.521-5.6h1.023l2.528,5.6h-1.088L34.018,53.869z M33.674,53.052 l-1.056-2.447l-1.049,2.447H33.674z"
|
|
56
|
-
/>
|
|
57
|
-
<path
|
|
58
|
-
fill="#333333"
|
|
59
|
-
d="M36.449,49.564h1.04v4.721h2.928v0.879h-3.968V49.564z"
|
|
60
|
-
/>
|
|
61
|
-
<path
|
|
62
|
-
fill="#333333"
|
|
63
|
-
d="M41.313,49.564h1.04v4.721h2.928v0.879h-3.968V49.564z"
|
|
64
|
-
/>
|
|
65
|
-
<path
|
|
66
|
-
fill="#333333"
|
|
67
|
-
d="M50.378,54.292v0.871h-4.2v-5.6h4.088v0.873h-3.048v1.455h2.704v0.855h-2.704v1.545H50.378z"
|
|
68
|
-
/>
|
|
69
|
-
<path
|
|
70
|
-
fill="#333333"
|
|
71
|
-
d="M55.274,55.164l-1.144-1.639c-0.049,0.004-0.12,0.008-0.217,0.008H52.65v1.631h-1.04v-5.6h2.304 c0.485,0,0.908,0.08,1.269,0.24c0.359,0.16,0.636,0.389,0.828,0.688c0.191,0.299,0.288,0.654,0.288,1.064 c0,0.422-0.104,0.783-0.309,1.088s-0.5,0.531-0.884,0.68l1.288,1.84H55.274z M54.898,50.732c-0.234-0.191-0.579-0.287-1.032-0.287 H52.65v2.23h1.216c0.453,0,0.798-0.096,1.032-0.291s0.352-0.471,0.352-0.828S55.133,50.923,54.898,50.732z"
|
|
72
|
-
/>
|
|
73
|
-
<path
|
|
74
|
-
fill="#333333"
|
|
75
|
-
d="M61.729,54.292v0.871h-4.2v-5.6h4.088v0.873h-3.048v1.455h2.704v0.855h-2.704v1.545H61.729z"
|
|
76
|
-
/>
|
|
77
|
-
<path
|
|
78
|
-
fill="#333333"
|
|
79
|
-
d="M63.446,55.06c-0.403-0.123-0.722-0.285-0.956-0.488l0.359-0.809c0.229,0.182,0.511,0.33,0.845,0.445 c0.333,0.115,0.668,0.172,1.004,0.172c0.416,0,0.727-0.066,0.932-0.201c0.205-0.133,0.308-0.309,0.308-0.527 c0-0.16-0.057-0.291-0.172-0.396c-0.114-0.104-0.26-0.184-0.436-0.244c-0.176-0.059-0.416-0.125-0.72-0.199 c-0.427-0.102-0.772-0.203-1.036-0.305c-0.265-0.1-0.491-0.26-0.681-0.475c-0.189-0.217-0.283-0.508-0.283-0.877 c0-0.309,0.084-0.59,0.252-0.844s0.421-0.455,0.76-0.604c0.339-0.15,0.753-0.225,1.244-0.225c0.341,0,0.677,0.043,1.008,0.129 c0.33,0.084,0.616,0.207,0.855,0.367l-0.327,0.809c-0.246-0.145-0.502-0.254-0.769-0.328s-0.525-0.113-0.775-0.113 c-0.411,0-0.717,0.07-0.916,0.209c-0.2,0.139-0.301,0.322-0.301,0.553c0,0.158,0.058,0.289,0.172,0.391 c0.115,0.102,0.261,0.182,0.437,0.24s0.416,0.125,0.72,0.201c0.416,0.096,0.758,0.195,1.024,0.299s0.494,0.264,0.684,0.477 s0.284,0.502,0.284,0.863c0,0.311-0.084,0.59-0.252,0.84c-0.168,0.252-0.423,0.451-0.764,0.602 c-0.342,0.148-0.758,0.223-1.248,0.223C64.266,55.244,63.849,55.183,63.446,55.06z"
|
|
80
|
-
/>
|
|
81
|
-
</g>
|
|
82
|
-
</g>
|
|
83
|
-
<path
|
|
84
|
-
fill="none"
|
|
85
|
-
d="M45.992,10.927c-19.336,0-35.065,15.73-35.065,35.065c0,19.336,15.729,35.066,35.065,35.066 c19.334,0,35.064-15.73,35.064-35.066C81.057,26.657,65.326,10.927,45.992,10.927z"
|
|
86
|
-
/>
|
|
87
|
-
<path
|
|
88
|
-
fill="#E2DFCF"
|
|
89
|
-
d="M45.992,0C20.632,0,0,20.632,0,45.992c0,25.361,20.632,45.992,45.992,45.992s45.992-20.631,45.992-45.992 C91.984,20.632,71.353,0,45.992,0z M45.992,82.658c-20.218,0-36.665-16.447-36.665-36.666c0-20.217,16.447-36.665,36.665-36.665 c20.217,0,36.664,16.447,36.664,36.665C82.656,66.21,66.209,82.658,45.992,82.658z"
|
|
90
|
-
/>
|
|
91
|
-
</svg>
|
|
92
|
-
</Icon>
|
|
93
|
-
);
|
|
94
|
-
};
|
|
95
|
-
CursoBurbujaIcon.defaultProps = { theme: {} };
|
|
96
|
-
const _t= withTheme(CursoBurbujaIcon);
|
|
97
|
-
export {_t as CursoBurbujaIcon}
|