componenteshospitais 1.6.1 → 1.6.2
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/index.js
CHANGED
|
@@ -1512,7 +1512,7 @@ var InputField = function (_a) {
|
|
|
1512
1512
|
label && React$2.createElement("label", { htmlFor: id }, label),
|
|
1513
1513
|
React$2.createElement("div", { className: styles$6.inputWrapper, style: { position: 'relative', display: 'flex', alignItems: 'center' } },
|
|
1514
1514
|
maskType ? (React$2.createElement(reactInputMask, { mask: mask, value: value, onChange: handleChange, disabled: disabled }, function (inputProps) { return (React$2.createElement("input", __assign({}, inputProps, { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, placeholder: placeholder, className: styles$6.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: disabled ? '#e5e5e5' : '' }, readOnly: readonly, required: required, onKeyPress: onKeyPress }))); })) : (React$2.createElement("input", { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, value: value, placeholder: placeholder, onChange: handleChange, className: styles$6.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: disabled ? '#e5e5e5' : '' }, readOnly: readonly, disabled: disabled, required: required, maxLength: type === 'text' ? appliedMaxLength : undefined, onKeyPress: onKeyPress })),
|
|
1515
|
-
type === 'password' && (React$2.createElement("div", { onClick: togglePasswordVisibility, style: { cursor: 'pointer', position: 'absolute', right: '10px' } }, isPasswordVisible ? React$2.createElement(FaEyeSlash, null) : React$2.createElement(FaEye, null))))));
|
|
1515
|
+
type === 'password' && (React$2.createElement("div", { onClick: togglePasswordVisibility, style: { cursor: 'pointer', position: 'absolute', right: '10px', fontSize: '25px', marginTop: '5px' } }, isPasswordVisible ? React$2.createElement(FaEyeSlash, null) : React$2.createElement(FaEye, null))))));
|
|
1516
1516
|
};
|
|
1517
1517
|
|
|
1518
1518
|
var css_248z$5 = ".textPage-module_container__GBEF6{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:20px}.textPage-module_content__CpD68{display:flex;text-align:justify}.textPage-module_imageCabecalho__J6YFH{border-radius:8px}.textPage-module_imageCabecalho__J6YFH img{border-radius:8px;height:100%;object-fit:cover;width:100%}.textPage-module_contentWithLateralImage__-f5pQ{flex-direction:row}.textPage-module_imageLateral__Dy9Kx{align-self:flex-start;height:230px;margin-right:20px;margin-top:15px;width:300px}.textPage-module_imageLateral__Dy9Kx img{border-radius:8px;height:100%;object-fit:cover;width:100%}.textPage-module_text__3pwuU{color:#5d5d5d;flex:2;line-height:1.8;text-align:justify}.textPage-module_text__3pwuU p{line-height:1.6;margin:10px 0}.textPage-module_text__3pwuU .textPage-module_coordenacao__UypV-,.textPage-module_text__3pwuU .textPage-module_direcao__x5psb{font-weight:700;margin-top:20px}";
|
package/dist/esm/index.js
CHANGED
|
@@ -1510,7 +1510,7 @@ var InputField = function (_a) {
|
|
|
1510
1510
|
label && React$2.createElement("label", { htmlFor: id }, label),
|
|
1511
1511
|
React$2.createElement("div", { className: styles$6.inputWrapper, style: { position: 'relative', display: 'flex', alignItems: 'center' } },
|
|
1512
1512
|
maskType ? (React$2.createElement(reactInputMask, { mask: mask, value: value, onChange: handleChange, disabled: disabled }, function (inputProps) { return (React$2.createElement("input", __assign({}, inputProps, { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, placeholder: placeholder, className: styles$6.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: disabled ? '#e5e5e5' : '' }, readOnly: readonly, required: required, onKeyPress: onKeyPress }))); })) : (React$2.createElement("input", { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, value: value, placeholder: placeholder, onChange: handleChange, className: styles$6.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: disabled ? '#e5e5e5' : '' }, readOnly: readonly, disabled: disabled, required: required, maxLength: type === 'text' ? appliedMaxLength : undefined, onKeyPress: onKeyPress })),
|
|
1513
|
-
type === 'password' && (React$2.createElement("div", { onClick: togglePasswordVisibility, style: { cursor: 'pointer', position: 'absolute', right: '10px' } }, isPasswordVisible ? React$2.createElement(FaEyeSlash, null) : React$2.createElement(FaEye, null))))));
|
|
1513
|
+
type === 'password' && (React$2.createElement("div", { onClick: togglePasswordVisibility, style: { cursor: 'pointer', position: 'absolute', right: '10px', fontSize: '25px', marginTop: '5px' } }, isPasswordVisible ? React$2.createElement(FaEyeSlash, null) : React$2.createElement(FaEye, null))))));
|
|
1514
1514
|
};
|
|
1515
1515
|
|
|
1516
1516
|
var css_248z$5 = ".textPage-module_container__GBEF6{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:20px}.textPage-module_content__CpD68{display:flex;text-align:justify}.textPage-module_imageCabecalho__J6YFH{border-radius:8px}.textPage-module_imageCabecalho__J6YFH img{border-radius:8px;height:100%;object-fit:cover;width:100%}.textPage-module_contentWithLateralImage__-f5pQ{flex-direction:row}.textPage-module_imageLateral__Dy9Kx{align-self:flex-start;height:230px;margin-right:20px;margin-top:15px;width:300px}.textPage-module_imageLateral__Dy9Kx img{border-radius:8px;height:100%;object-fit:cover;width:100%}.textPage-module_text__3pwuU{color:#5d5d5d;flex:2;line-height:1.8;text-align:justify}.textPage-module_text__3pwuU p{line-height:1.6;margin:10px 0}.textPage-module_text__3pwuU .textPage-module_coordenacao__UypV-,.textPage-module_text__3pwuU .textPage-module_direcao__x5psb{font-weight:700;margin-top:20px}";
|
package/package.json
CHANGED
package/src/components/Busca.tsx
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, ChangeEvent, FocusEvent } from 'react';
|
|
2
2
|
import styles from '../styles/busca.module.css';
|
|
3
|
-
//import icPesquisa from '../img/Ic_pesquisa.svg';
|
|
4
3
|
|
|
5
4
|
interface SearchItem {
|
|
6
5
|
name: string;
|
|
@@ -44,7 +43,6 @@ const Busca: React.FC<SearchComponentProps> = ({ allItems, placeholder = "Pesqui
|
|
|
44
43
|
return (
|
|
45
44
|
<div className={styles.search}>
|
|
46
45
|
<div className={styles.searchContainer}>
|
|
47
|
-
{/* <img src={icPesquisa} alt="Pesquisar" className={styles.searchIcon} /> */}
|
|
48
46
|
<input
|
|
49
47
|
type="text"
|
|
50
48
|
className={styles.searchInput}
|
|
@@ -99,7 +99,7 @@ const InputField: React.FC<InputFieldProps> = ({
|
|
|
99
99
|
/>
|
|
100
100
|
)}
|
|
101
101
|
{type === 'password' && (
|
|
102
|
-
<div onClick={togglePasswordVisibility} style={{ cursor: 'pointer', position: 'absolute', right: '10px' }}>
|
|
102
|
+
<div onClick={togglePasswordVisibility} style={{ cursor: 'pointer', position: 'absolute', right: '10px', fontSize: '25px', marginTop: '5px'}}>
|
|
103
103
|
{isPasswordVisible ? <FaEyeSlash /> : <FaEye />}
|
|
104
104
|
</div>
|
|
105
105
|
)}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M120.52,273.317c0-56.483,0.088-112.967-0.129-169.447
|
|
8
|
-
c-0.024-5.979,1.268-8.145,7.65-7.853c12.004,0.549,24.05,0.078,36.078,0.208c3.401,0.037,5.578-0.601,7.405-4.07
|
|
9
|
-
c7.13-13.538,18.716-20.068,33.977-19.432c6.913,0.291,11.314-1.061,15.576-7.854c14.056-22.412,46.412-20.749,59.649,2.61
|
|
10
|
-
c2.318,4.09,4.714,5.526,9.119,5.204c17.451-1.276,31.4,4.358,39.411,20.877c1.571,3.242,4.187,2.579,6.676,2.592
|
|
11
|
-
c12.289,0.053,24.591,0.331,36.865-0.111c5.701-0.208,6.82,1.76,6.813,7.076c-0.147,113.75-0.142,227.501-0.013,341.25
|
|
12
|
-
c0.005,4.99-1.179,6.636-6.441,6.625c-82.108-0.164-164.217-0.192-246.326,0.035c-6.292,0.019-6.389-2.755-6.379-7.479
|
|
13
|
-
C120.56,386.805,120.52,330.062,120.52,273.317z M355.908,273.83c0-48.897-0.09-97.797,0.122-146.696
|
|
14
|
-
c0.024-5.592-0.998-7.667-7.171-7.538c-16.207,0.338-16.474,0.007-16.293,16.965c0.061,5.62-1.652,6.884-7.04,6.862
|
|
15
|
-
c-50.206-0.202-100.413-0.212-150.619,0.01c-5.698,0.025-7.587-1.181-7.474-7.241c0.312-16.656-0.003-16.387-16.645-16.577
|
|
16
|
-
c-5.705-0.063-6.798,1.812-6.79,7.104c0.152,97.797,0.168,195.597-0.028,293.393c-0.012,5.925,1.563,7.332,7.379,7.313
|
|
17
|
-
c65.634-0.215,131.27-0.217,196.902-0.003c6.047,0.021,7.844-1.403,7.809-7.679C355.784,371.105,355.908,322.468,355.908,273.83z
|
|
18
|
-
M249.614,119.714c17.741,0,35.483,0.028,53.224-0.041c1.947-0.01,4.33,0.914,5.729-1.312c4.961-7.912-2.162-21.563-11.698-22.039
|
|
19
|
-
c-7.288-0.363-14.606-0.092-21.912-0.094c-11.966-0.006-11.966-0.003-13.245-12.125c-0.706-6.683-5.541-11.386-11.703-11.386
|
|
20
|
-
c-6.167,0-11.049,4.699-11.674,11.386c-0.194,2.069-0.322,4.211-0.018,6.25c0.76,5.097-1.626,6.146-6.211,5.963
|
|
21
|
-
c-8.075-0.323-16.172-0.101-24.26-0.088c-13.308,0.021-16.742,3.871-16.782,17.456c-0.015,4.786,1.25,6.225,6.113,6.143
|
|
22
|
-
C214.652,119.538,232.134,119.714,249.614,119.714z"/>
|
|
23
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M249.702,191.901c12.1-0.002,12.1-0.002,12.102,12.498
|
|
24
|
-
c0.001,11.038,0.001,11.038,11.208,11.041c1.829,0,3.692,0.226,5.481-0.044c5.468-0.819,7.055,1.275,6.993,6.828
|
|
25
|
-
c-0.188,16.641,0.063,16.953-16.563,16.641c-6.029-0.112-7.358,1.719-7.264,7.454c0.274,16.501,0.01,16.228-16.831,16.401
|
|
26
|
-
c-5.784,0.061-6.787-1.963-6.737-7.167c0.157-16.32-0.055-16.567-16.573-16.388c-5.459,0.061-7.049-1.37-6.987-6.923
|
|
27
|
-
c0.187-16.641-0.063-16.953,16.562-16.641c6.03,0.111,8.061-1.723,7.156-7.458c-0.241-1.528-0.036-3.129-0.036-4.697
|
|
28
|
-
C238.215,191.901,238.215,191.901,249.702,191.901z"/>
|
|
29
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M273.906,309.645c-17.51,0-35.021-0.13-52.529,0.088
|
|
30
|
-
c-4.697,0.058-6.863-0.648-6.857-6.23c0.018-17.446-0.251-17.446,17.507-17.446c30.838,0,61.679,0.123,92.516-0.111
|
|
31
|
-
c5.66-0.041,8.246,0.736,8.063,7.436c-0.444,16.255-0.059,16.265-16.361,16.265C302.133,309.645,288.02,309.645,273.906,309.645z"
|
|
32
|
-
/>
|
|
33
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M273.367,356.723c-17.51,0-35.022-0.143-52.53,0.095
|
|
34
|
-
c-4.616,0.063-6.265-0.959-6.303-5.993c-0.134-17.693-0.357-17.69,17.247-17.69c31.101,0,62.202,0.142,93.3-0.128
|
|
35
|
-
c5.646-0.05,7.626,1.092,7.507,7.205c-0.322,16.505,0,16.512-16.882,16.512C301.593,356.723,287.48,356.723,273.367,356.723z"/>
|
|
36
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M273.479,403.8c-17.249,0-34.501-0.18-51.746,0.11
|
|
37
|
-
c-5.148,0.086-7.271-0.84-7.213-6.683c0.166-17.013-0.119-17.017,17.151-17.017c31.1,0,62.202,0.121,93.3-0.116
|
|
38
|
-
c5.455-0.039,7.756,0.772,7.627,7.084c-0.341,16.615,0.008,16.621-16.781,16.621C301.704,403.8,287.592,403.8,273.479,403.8z"/>
|
|
39
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M191.188,297.977c0,11.674,0,11.674-13.683,11.668
|
|
40
|
-
c-9.914-0.003-9.914-0.003-9.907-13.877c0.005-9.721,0.005-9.721,14.074-9.712C191.188,286.063,191.188,286.063,191.188,297.977z"
|
|
41
|
-
/>
|
|
42
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M179.65,333.134c11.539,0,11.539,0,11.537,13.031
|
|
43
|
-
c-0.001,10.566-0.001,10.566-14.01,10.558c-9.59-0.006-9.59-0.006-9.58-14.205C167.604,333.133,167.604,333.133,179.65,333.134z"/>
|
|
44
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M179.203,403.8c-11.607,0-11.607,0-11.605-12.962
|
|
45
|
-
c0.002-10.636,0.002-10.636,13.942-10.627c9.658,0.006,9.658,0.006,9.648,14.138C191.18,403.8,191.18,403.8,179.203,403.8z"/>
|
|
46
|
-
</g>
|
|
47
|
-
</svg>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#B1B1B2" d="M250.675,119.995c56.332,1.01,102.357,21.487,143.763,54
|
|
8
|
-
c23.866,18.739,44.867,40.371,64.024,63.832c6.373,7.806,7.165,15.347,1.2,22.745c-43.255,53.642-95.136,95.327-163.116,112.896
|
|
9
|
-
c-62.783,16.228-120.063,1.287-172.878-34.219c-31.547-21.207-58.138-47.78-82.12-77.085c-6.335-7.739-7.202-15.361-1.243-22.743
|
|
10
|
-
c43.839-54.312,96.495-95.955,165.515-113.57C221.426,121.867,237.433,120.456,250.675,119.995z M245.952,152.976
|
|
11
|
-
c-15.22,0.293-30.513,2.668-45.599,7.439c-50.146,15.86-89.468,47.535-124.455,85.527c-3.547,3.854-1.53,6.292,1.085,9.117
|
|
12
|
-
c18.455,19.948,37.588,39.156,59.961,54.809c48.87,34.186,101.709,47.961,160.305,30.363
|
|
13
|
-
c50.693-15.226,90.416-46.856,125.688-85.023c4.227-4.571,2.215-7.847-1.076-11.388c-13.951-15.022-28.188-29.766-44.253-42.569
|
|
14
|
-
C340.094,171.351,293.38,152.06,245.952,152.976z"/>
|
|
15
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#B1B1B2" d="M173.16,249.929c0.046-41.698,35.193-76.777,76.888-76.741
|
|
16
|
-
c41.664,0.035,76.793,35.238,76.742,76.9c-0.049,41.667-35.257,76.8-76.902,76.741C208.183,326.77,173.113,291.618,173.16,249.929z
|
|
17
|
-
M250.971,205.479c-25.577-0.297-45.288,18.63-45.521,43.705c-0.234,25.164,18.539,44.941,43.04,45.348
|
|
18
|
-
c25.549,0.424,45.674-18.511,46.009-43.282C294.843,225.742,275.846,205.765,250.971,205.479z"/>
|
|
19
|
-
</g>
|
|
20
|
-
</svg>
|
package/src/img/Ic_pesquisa.svg
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<g>
|
|
8
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#A09F9F" d="M206.795,33.702c82.521,0.032,153.81,62.408,164.608,147.986
|
|
9
|
-
c4.845,38.412-2.487,74.891-22.913,108.185c-3.594,5.849-4.942,9.483,3.129,12.227c3.498,1.203,6.659,4.156,9.387,6.899
|
|
10
|
-
c31.449,31.28,62.978,62.464,94.057,94.089c20.634,21.011,12.13,54.714-15.323,61.807c-12.756,3.289-24.871,1.042-34.417-8.392
|
|
11
|
-
c-32.748-32.339-65.224-64.968-97.684-97.611c-2.503-2.519-4.734-5.729-5.968-9.042c-2.295-6.226-5.135-5.391-9.949-2.551
|
|
12
|
-
C206.025,398.066,101.49,369.578,53.37,282.46C8.411,201.063,42.587,93.398,126.424,51.802
|
|
13
|
-
C150.749,39.728,176.261,33.253,206.795,33.702z M203.49,327.282c69.765-0.136,124.254-54.811,124.126-124.575
|
|
14
|
-
c-0.128-69.693-54.923-124.351-124.591-124.271C133.709,78.509,78.69,133.729,78.77,203.165
|
|
15
|
-
C78.834,272.688,133.837,327.419,203.49,327.282z"/>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
</svg>
|