vpt-sebraeds 0.0.59 → 0.0.61
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.
|
@@ -10,13 +10,13 @@ const TaskCard = ({
|
|
|
10
10
|
titleIcon,
|
|
11
11
|
titleColor = '#1F1F1F',
|
|
12
12
|
subtitle,
|
|
13
|
-
subtitleColor = '#
|
|
13
|
+
subtitleColor = '#485274',
|
|
14
14
|
children,
|
|
15
15
|
middleContent,
|
|
16
16
|
buttons = [],
|
|
17
17
|
bottomContent,
|
|
18
18
|
footerText = 'Lembrar mais tarde',
|
|
19
|
-
footerTextColor = '#
|
|
19
|
+
footerTextColor = '#485274',
|
|
20
20
|
onFooterPress,
|
|
21
21
|
showMoreMenu = false,
|
|
22
22
|
onMoreMenuPress,
|
|
@@ -209,10 +209,10 @@ TaskCard.propTypes = {
|
|
|
209
209
|
|
|
210
210
|
TaskCard.defaultProps = {
|
|
211
211
|
titleColor: '#1F1F1F',
|
|
212
|
-
subtitleColor: '#
|
|
212
|
+
subtitleColor: '#485274',
|
|
213
213
|
buttons: [],
|
|
214
214
|
footerText: 'Lembrar mais tarde',
|
|
215
|
-
footerTextColor: '#
|
|
215
|
+
footerTextColor: '#485274',
|
|
216
216
|
backgroundColor: '#FFFFFF',
|
|
217
217
|
borderRadius: 12,
|
|
218
218
|
padding: 20,
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import Button from '../Button';
|
|
5
5
|
import Icon from '../Icon';
|
|
6
6
|
import SEText from '../SEText';
|
|
7
|
-
const TaskCard = ({ title, titleIcon, titleColor = '#1F1F1F', subtitle, subtitleColor = '#
|
|
7
|
+
const TaskCard = ({ title, titleIcon, titleColor = '#1F1F1F', subtitle, subtitleColor = '#485274', children, middleContent, buttons = [], bottomContent, footerText = 'Lembrar mais tarde', footerTextColor = '#485274', onFooterPress, showMoreMenu = false, onMoreMenuPress, backgroundColor = '#FFFFFF', backgroundColorIcon = '#FFFFFF', borderRadius = 12, padding = 20, shadow = true, alignContentWithTitle = true, // Nova prop para controlar alinhamento
|
|
8
8
|
style, }) => {
|
|
9
9
|
const renderButtons = () => {
|
|
10
10
|
if (!buttons || buttons.length === 0)
|
|
@@ -122,10 +122,10 @@ TaskCard.propTypes = {
|
|
|
122
122
|
};
|
|
123
123
|
TaskCard.defaultProps = {
|
|
124
124
|
titleColor: '#1F1F1F',
|
|
125
|
-
subtitleColor: '#
|
|
125
|
+
subtitleColor: '#485274',
|
|
126
126
|
buttons: [],
|
|
127
127
|
footerText: 'Lembrar mais tarde',
|
|
128
|
-
footerTextColor: '#
|
|
128
|
+
footerTextColor: '#485274',
|
|
129
129
|
backgroundColor: '#FFFFFF',
|
|
130
130
|
borderRadius: 12,
|
|
131
131
|
padding: 20,
|