@arquimedes.co/eureka-forms 0.2.38-test → 0.2.39-test

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.
@@ -28,7 +28,7 @@ function CheckBoxStep(_a) {
28
28
  : undefined,
29
29
  }, shouldUnregister: true, render: function (_a) {
30
30
  var field = _a.field;
31
- return (_jsx(RoundedCheckBox, __assign({}, field, { inputRef: field.ref, padding: "0px", size: "1.6rem", cantEdit: postview, checkedColor: formStyle.primaryColor, uncheckedColor: formStyle.descriptionTextColor, checked: field.value }), void 0));
31
+ return (_jsx(RoundedCheckBox, __assign({}, field, { inputRef: field.ref, padding: "0px", size: "1.6rem", cantEdit: postview, checkedColor: formStyle.primaryColor, uncheckedColor: formStyle.outlineColor, checked: field.value }), void 0));
32
32
  } }, void 0)] }), void 0), (step.description || !!errors[step.id]) && (_jsx("div", __assign({ className: styles.descriptionPar, style: {
33
33
  color: !!errors[step.id]
34
34
  ? formStyle.errorColor
@@ -28,7 +28,10 @@
28
28
  .descriptionPar {
29
29
  font-size: 0.75rem;
30
30
  margin-left: 14px;
31
- margin-top: -6px;
31
+ margin-top: 4px;
32
32
  font-weight: 400;
33
33
  line-height: 1.66;
34
+ max-width: 100%;
35
+ overflow: hidden;
36
+ text-overflow: ellipsis;
34
37
  }
@@ -53,7 +53,7 @@ function ClassifierSelector(_a) {
53
53
  : calcStepWidth(step.size, form),
54
54
  maxWidth: '100%',
55
55
  minHeight: step.description || step.required ? '55px' : '43px',
56
- } }, { children: _jsxs(RoundedSelect, __assign({ fullWidth: true, value: value, cantEdit: postview, errorColor: formStyle.errorColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, label: step.label ? step.label : classifier.name, required: step.required, containerMargin: "0px", height: '31px', onBlur: onBlur, handleUpdate: function (event) {
56
+ } }, { children: _jsxs(RoundedSelect, __assign({ fullWidth: true, value: value, cantEdit: postview, helperTextColor: formStyle.descriptionTextColor, errorColor: formStyle.errorColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, label: step.label ? step.label : classifier.name, required: step.required, containerMargin: "0px", height: '31px', onBlur: onBlur, handleUpdate: function (event) {
57
57
  onChange(event.target.value);
58
58
  sizeChange();
59
59
  }, inputRef: inputRef, helperText: errors[step.id]
@@ -27,7 +27,7 @@ function DatePickerStep(_a) {
27
27
  : undefined,
28
28
  }, shouldUnregister: true, render: function (_a) {
29
29
  var field = _a.field;
30
- return (_jsx(RoundedDatePicker, __assign({}, field, { showIcon: step.showIcon, inputRef: field.ref, cantEdit: postview, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, fontWeight: 400, label: step.label, helperText: errors[step.id]
30
+ return (_jsx(RoundedDatePicker, __assign({}, field, { showIcon: step.showIcon, inputRef: field.ref, cantEdit: postview, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, helperTextColor: formStyle.descriptionTextColor, fontWeight: 400, label: step.label, helperText: errors[step.id]
31
31
  ? errors[step.id].message
32
32
  : step.description, error: !!errors[step.id], required: step.required }), void 0));
33
33
  } }, void 0) }), void 0));
@@ -190,7 +190,7 @@ function FileUploadStep(_a) {
190
190
  }
191
191
  return '';
192
192
  };
193
- return (_jsxs("div", __assign({ className: styles.container }, { children: [_jsx("div", __assign({ className: styles.labelLabel }, { children: step.label }), void 0), step.description && (_jsx("div", __assign({ className: styles.stepDescriptionLabel }, { children: step.description }), void 0)), _jsx("input", { type: "file", ref: inputRef, className: styles.filesInput, onChange: function (e) {
193
+ return (_jsxs("div", __assign({ className: styles.container }, { children: [_jsx("div", __assign({ className: styles.labelLabel }, { children: step.label }), void 0), step.description && (_jsx("div", __assign({ className: styles.stepDescriptionLabel, style: { color: formStyle.descriptionTextColor } }, { children: step.description }), void 0)), _jsx("input", { type: "file", ref: inputRef, className: styles.filesInput, onChange: function (e) {
194
194
  var files = e.target.files;
195
195
  if (files) {
196
196
  var filesArray = Array.from(files);
@@ -21,11 +21,18 @@
21
21
  -ms-user-select: none;
22
22
  user-select: none;
23
23
  }
24
+
24
25
  .stepDescriptionLabel {
25
- font-size: 0.7rem;
26
+ font-size: 0.75rem;
27
+ margin-left: 14px;
26
28
  margin-top: -4px;
27
- margin-left: 8px;
29
+ font-weight: 400;
30
+ line-height: 1.66;
31
+ max-width: 100%;
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
28
34
  }
35
+
29
36
  .filesInput {
30
37
  display: none;
31
38
  }
@@ -46,7 +46,7 @@ function Selector(_a) {
46
46
  : calcStepWidth(step.size, form),
47
47
  maxWidth: '100%',
48
48
  minHeight: step.description || step.required ? '55px' : '43px',
49
- } }, { children: _jsxs(RoundedSelect, __assign({ value: value, fullWidth: true, inputRef: inputRef, cantEdit: postview, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, errorColor: formStyle.errorColor, color: formStyle.textColor, label: step.label, required: step.required, containerMargin: "0px", height: '31px', onBlur: onBlur, handleUpdate: function (event) {
49
+ } }, { children: _jsxs(RoundedSelect, __assign({ value: value, fullWidth: true, inputRef: inputRef, cantEdit: postview, helperTextColor: formStyle.descriptionTextColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, errorColor: formStyle.errorColor, color: formStyle.textColor, label: step.label, required: step.required, containerMargin: "0px", height: '31px', onBlur: onBlur, handleUpdate: function (event) {
50
50
  onChange(event.target.value);
51
51
  sizeChange();
52
52
  }, helperText: errors[step.id]
@@ -108,7 +108,7 @@ function TextAreaStep(_a) {
108
108
  : undefined,
109
109
  }, shouldUnregister: true, render: function (_a) {
110
110
  var field = _a.field;
111
- return (_jsx(RoundedTextField, __assign({}, field, { label: step.label, inputRef: field.ref, required: step.required, cantEdit: postview, fontWeight: 400, multiline: true, minRows: 4, maxRows: 6, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.backgroundColor, innerBackgroundColor: formStyle.stepBackgroundColor, helperText: errors[step.id]
111
+ return (_jsx(RoundedTextField, __assign({}, field, { label: step.label, inputRef: field.ref, required: step.required, cantEdit: postview, fontWeight: 400, multiline: true, minRows: 4, maxRows: 6, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.backgroundColor, innerBackgroundColor: formStyle.stepBackgroundColor, helperTextColor: formStyle.descriptionTextColor, helperText: errors[step.id]
112
112
  ? errors[step.id].message
113
113
  : step.description, error: !!errors[step.id] }), void 0));
114
114
  } }, void 0) }), void 0));
@@ -37,7 +37,7 @@ function TextInputStep(_a) {
37
37
  var field = _a.field;
38
38
  return (_jsx(RoundedTextField, __assign({}, field, { label: step.label, inputRef: field.ref, cantEdit: postview, required: step.required, fontWeight: 400, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.backgroundColor, innerBackgroundColor: formStyle.stepBackgroundColor, helperText: errors[step.id]
39
39
  ? errors[step.id].message
40
- : step.description, error: !!errors[step.id] }), void 0));
40
+ : step.description, helperTextColor: formStyle.descriptionTextColor, error: !!errors[step.id] }), void 0));
41
41
  } }, void 0) }), void 0));
42
42
  }
43
43
  export default TextInputStep;
@@ -8,6 +8,6 @@ var InternalFormStyle = {
8
8
  errorColor: '#cc2936',
9
9
  textColor: '#293241',
10
10
  outlineColor: '#b8b8b8',
11
- descriptionTextColor: '#AFADAD',
11
+ descriptionTextColor: '#989898',
12
12
  };
13
13
  export default InternalFormStyle;
@@ -26,6 +26,8 @@ interface StyleProps {
26
26
  shrunkenFontSize?: number | string;
27
27
  /** Cant edit */
28
28
  cantEdit?: boolean;
29
+ /** The color of the helper text when not error */
30
+ helperTextColor?: string;
29
31
  }
30
32
  interface RoundedDatePickerProps extends StyleProps {
31
33
  /** If the calendar icon should be shown */
@@ -119,6 +119,7 @@ var useDatePickerLabelStyles = function (props) {
119
119
  var useDatePickerHelperTextStyles = function (props) {
120
120
  return makeStyles(function () { return ({
121
121
  root: {
122
+ color: props.helperTextColor,
122
123
  '&.Mui-error': {
123
124
  color: props.errorColor,
124
125
  },
@@ -160,7 +161,7 @@ var useDatePickerDialogStyles = function (props) {
160
161
  }); });
161
162
  };
162
163
  function CustomDatePicker(_a) {
163
- var _b = _a.focusColor, focusColor = _b === void 0 ? '#3d5a7f' : _b, _c = _a.outlineColor, outlineColor = _c === void 0 ? '#0000003b' : _c, _d = _a.backgroundColor, backgroundColor = _d === void 0 ? 'white' : _d, innerBackgroundColor = _a.innerBackgroundColor, _e = _a.textColor, textColor = _e === void 0 ? '#293241' : _e, _f = _a.errorColor, errorColor = _f === void 0 ? '#cc2936' : _f, _g = _a.borderRadius, borderRadius = _g === void 0 ? 10 : _g, _h = _a.padding, padding = _h === void 0 ? '6px 12px' : _h, _j = _a.fontSize, fontSize = _j === void 0 ? '1rem' : _j, _k = _a.shrunkenFontSize, shrunkenFontSize = _k === void 0 ? '1rem' : _k, _l = _a.fontWeight, fontWeight = _l === void 0 ? '300' : _l, _m = _a.showIcon, showIcon = _m === void 0 ? true : _m, _o = _a.cantEdit, cantEdit = _o === void 0 ? false : _o, onChange = _a.onChange, required = _a.required, others = __rest(_a, ["focusColor", "outlineColor", "backgroundColor", "innerBackgroundColor", "textColor", "errorColor", "borderRadius", "padding", "fontSize", "shrunkenFontSize", "fontWeight", "showIcon", "cantEdit", "onChange", "required"]);
164
+ var _b = _a.focusColor, focusColor = _b === void 0 ? '#3d5a7f' : _b, _c = _a.outlineColor, outlineColor = _c === void 0 ? '#0000003b' : _c, _d = _a.backgroundColor, backgroundColor = _d === void 0 ? 'white' : _d, innerBackgroundColor = _a.innerBackgroundColor, _e = _a.textColor, textColor = _e === void 0 ? '#293241' : _e, _f = _a.errorColor, errorColor = _f === void 0 ? '#cc2936' : _f, _g = _a.borderRadius, borderRadius = _g === void 0 ? 10 : _g, _h = _a.padding, padding = _h === void 0 ? '6px 12px' : _h, _j = _a.fontSize, fontSize = _j === void 0 ? '1rem' : _j, _k = _a.shrunkenFontSize, shrunkenFontSize = _k === void 0 ? '1rem' : _k, _l = _a.helperTextColor, helperTextColor = _l === void 0 ? '#989898' : _l, _m = _a.fontWeight, fontWeight = _m === void 0 ? '300' : _m, _o = _a.showIcon, showIcon = _o === void 0 ? true : _o, _p = _a.cantEdit, cantEdit = _p === void 0 ? false : _p, onChange = _a.onChange, required = _a.required, others = __rest(_a, ["focusColor", "outlineColor", "backgroundColor", "innerBackgroundColor", "textColor", "errorColor", "borderRadius", "padding", "fontSize", "shrunkenFontSize", "helperTextColor", "fontWeight", "showIcon", "cantEdit", "onChange", "required"]);
164
165
  var classes = useDatePickerStyles({
165
166
  padding: padding,
166
167
  cantEdit: cantEdit,
@@ -175,6 +176,7 @@ function CustomDatePicker(_a) {
175
176
  fontSize: fontSize,
176
177
  shrunkenFontSize: shrunkenFontSize,
177
178
  fontWeight: fontWeight,
179
+ helperTextColor: helperTextColor,
178
180
  })();
179
181
  var labelClasses = useDatePickerLabelStyles({
180
182
  padding: padding,
@@ -190,6 +192,7 @@ function CustomDatePicker(_a) {
190
192
  fontSize: fontSize,
191
193
  shrunkenFontSize: shrunkenFontSize,
192
194
  fontWeight: fontWeight,
195
+ helperTextColor: helperTextColor,
193
196
  })();
194
197
  var datePicker = useDatePickerDialogStyles({
195
198
  padding: padding,
@@ -205,6 +208,7 @@ function CustomDatePicker(_a) {
205
208
  fontSize: fontSize,
206
209
  shrunkenFontSize: shrunkenFontSize,
207
210
  fontWeight: fontWeight,
211
+ helperTextColor: helperTextColor,
208
212
  })().datePicker;
209
213
  var helperTextStyles = useDatePickerHelperTextStyles({
210
214
  padding: padding,
@@ -218,6 +222,7 @@ function CustomDatePicker(_a) {
218
222
  fontSize: fontSize,
219
223
  shrunkenFontSize: shrunkenFontSize,
220
224
  fontWeight: fontWeight,
225
+ helperTextColor: helperTextColor,
221
226
  })();
222
227
  return (_jsx(KeyboardDatePicker, __assign({}, others, { inputVariant: "outlined", size: "small", disabled: cantEdit, fullWidth: true, onChange: onChange, placeholder: format(new Date(), 'P', { locale: getLocale() }), format: "P", required: required, keyboardIcon: showIcon ? (_jsx(CalendarTodayRoundedIcon, { fontSize: "inherit" }, void 0)) : null, InputLabelProps: { classes: labelClasses }, DialogProps: {
223
228
  disableEnforceFocus: true,
@@ -1,6 +1,22 @@
1
1
  import React from 'react';
2
2
  import { SelectProps } from '@material-ui/core/Select';
3
- interface RoundedSelectProps extends Omit<SelectProps, 'color'> {
3
+ interface ColorProps {
4
+ /** The color of the helper text when not error */
5
+ helperTextColor?: string;
6
+ /** The color of the outline when selected and hovered on */
7
+ focusColor?: string;
8
+ /** The color of the outline when it is not selected */
9
+ outlineColor?: string;
10
+ /** The color of the error to display */
11
+ errorColor?: string;
12
+ /** If the style should change on hover */
13
+ cantEdit?: boolean;
14
+ /** The hight of the container */
15
+ height?: string;
16
+ /** The color of the text in the form */
17
+ color?: string;
18
+ }
19
+ interface RoundedSelectProps extends Omit<SelectProps, 'color'>, ColorProps {
4
20
  /** children to display in the options */
5
21
  children?: any;
6
22
  /** Currently selected value */
@@ -10,26 +26,16 @@ interface RoundedSelectProps extends Omit<SelectProps, 'color'> {
10
26
  name?: string | undefined;
11
27
  value: any;
12
28
  }>, child?: React.ReactNode) => void;
13
- /** The hight of the container */
14
- height?: string;
15
29
  /** Strig to place in the label */
16
30
  label: string;
17
31
  /** Minimum width in px of the component */
18
32
  minWidth?: number;
19
33
  /** The color of the outline when selected and hovered on */
20
34
  focusColor?: string;
21
- /** The color of the error to display */
22
- errorColor?: string;
23
- /** the color of the text */
24
- color?: string;
25
- /** The color of the outline when it is not selected */
26
- outlineColor?: string;
27
35
  /** If outline should be error color */
28
36
  highlightError?: boolean;
29
37
  /** The helper Text to display */
30
38
  helperText?: string;
31
- /** If the selector cant be opened, diabled but with same style */
32
- cantEdit?: boolean;
33
39
  /** the margin around the selector */
34
40
  containerMargin?: string;
35
41
  }
@@ -114,6 +114,7 @@ var useLabelInputStyles = function (props) {
114
114
  var useHelperTextStyles = function (props) {
115
115
  return makeStyles(function () { return ({
116
116
  root: {
117
+ color: props.helperTextColor,
117
118
  '&.Mui-error': {
118
119
  color: props.errorColor,
119
120
  },
@@ -121,34 +122,37 @@ var useHelperTextStyles = function (props) {
121
122
  }); });
122
123
  };
123
124
  function CustomSelect(_a) {
124
- var children = _a.children, value = _a.value, handleUpdate = _a.handleUpdate, label = _a.label, minWidth = _a.minWidth, helperText = _a.helperText, _b = _a.color, color = _b === void 0 ? '#293241' : _b, _c = _a.errorColor, errorColor = _c === void 0 ? '#cc2936' : _c, _d = _a.focusColor, focusColor = _d === void 0 ? '#3d5a7f' : _d, _e = _a.outlineColor, outlineColor = _e === void 0 ? '#0000003b' : _e, _f = _a.cantEdit, cantEdit = _f === void 0 ? false : _f, _g = _a.containerMargin, containerMargin = _g === void 0 ? '8px' : _g, _h = _a.height, height = _h === void 0 ? '40px' : _h, required = _a.required, error = _a.error, others = __rest(_a, ["children", "value", "handleUpdate", "label", "minWidth", "helperText", "color", "errorColor", "focusColor", "outlineColor", "cantEdit", "containerMargin", "height", "required", "error"]);
125
+ var children = _a.children, value = _a.value, handleUpdate = _a.handleUpdate, label = _a.label, minWidth = _a.minWidth, helperText = _a.helperText, _b = _a.color, color = _b === void 0 ? '#293241' : _b, _c = _a.errorColor, errorColor = _c === void 0 ? '#cc2936' : _c, _d = _a.focusColor, focusColor = _d === void 0 ? '#3d5a7f' : _d, _e = _a.outlineColor, outlineColor = _e === void 0 ? '#0000003b' : _e, _f = _a.helperTextColor, helperTextColor = _f === void 0 ? '#989898' : _f, _g = _a.cantEdit, cantEdit = _g === void 0 ? false : _g, _h = _a.containerMargin, containerMargin = _h === void 0 ? '8px' : _h, _j = _a.height, height = _j === void 0 ? '40px' : _j, required = _a.required, error = _a.error, others = __rest(_a, ["children", "value", "handleUpdate", "label", "minWidth", "helperText", "color", "errorColor", "focusColor", "outlineColor", "helperTextColor", "cantEdit", "containerMargin", "height", "required", "error"]);
125
126
  var classes = useStyles();
126
127
  var outlinedInputClasses = useOutlinedInputStyles({
127
- focusColor: focusColor,
128
+ helperTextColor: helperTextColor,
128
129
  outlineColor: outlineColor,
129
- cantEdit: cantEdit,
130
- color: color,
131
130
  errorColor: errorColor,
131
+ focusColor: focusColor,
132
+ cantEdit: cantEdit,
132
133
  height: height,
134
+ color: color,
133
135
  })();
134
136
  var labelClasses = useLabelInputStyles({
135
- focusColor: focusColor,
137
+ helperTextColor: helperTextColor,
136
138
  outlineColor: outlineColor,
137
139
  errorColor: errorColor,
138
- color: color,
140
+ focusColor: focusColor,
139
141
  cantEdit: cantEdit,
140
142
  height: height,
143
+ color: color,
141
144
  })();
142
145
  var helperTextClasses = useHelperTextStyles({
143
- focusColor: focusColor,
146
+ helperTextColor: helperTextColor,
144
147
  outlineColor: outlineColor,
145
148
  errorColor: errorColor,
149
+ focusColor: focusColor,
146
150
  cantEdit: cantEdit,
147
- color: color,
148
151
  height: height,
152
+ color: color,
149
153
  })();
150
154
  var inputLabel = React.useRef();
151
- var _j = React.useState(0), labelWidth = _j[0], setLabelWidth = _j[1];
155
+ var _k = React.useState(0), labelWidth = _k[0], setLabelWidth = _k[1];
152
156
  useEffect(function () {
153
157
  setLabelWidth(inputLabel.current.offsetWidth);
154
158
  }, [label]);
@@ -29,6 +29,8 @@ interface StyleProps {
29
29
  multiline?: boolean;
30
30
  /** Cant edit */
31
31
  cantEdit?: boolean;
32
+ /** The color of the helper text when not error */
33
+ helperTextColor?: string;
32
34
  }
33
35
  interface RoundedTextFieldProps extends StyleProps {
34
36
  }
@@ -96,11 +96,14 @@ var useTextfieldStyles = function (props) {
96
96
  '& .Mui-error': {
97
97
  color: props.errorColor,
98
98
  },
99
+ '& .EF-MuiFormHelperText-root': {
100
+ color: props.helperTextColor,
101
+ },
99
102
  },
100
103
  }); });
101
104
  };
102
105
  function CustomTextfield(_a) {
103
- var _b = _a.focusColor, focusColor = _b === void 0 ? '#3d5a7f' : _b, _c = _a.outlineColor, outlineColor = _c === void 0 ? '#0000003b' : _c, _d = _a.backgroundColor, backgroundColor = _d === void 0 ? 'white' : _d, innerBackgroundColor = _a.innerBackgroundColor, _e = _a.textColor, textColor = _e === void 0 ? '#293241' : _e, _f = _a.readOnly, readOnly = _f === void 0 ? false : _f, _g = _a.borderRadius, borderRadius = _g === void 0 ? 10 : _g, _h = _a.padding, padding = _h === void 0 ? '6px 12px' : _h, _j = _a.fontSize, fontSize = _j === void 0 ? '1rem' : _j, _k = _a.shrunkenFontSize, shrunkenFontSize = _k === void 0 ? '1rem' : _k, _l = _a.errorColor, errorColor = _l === void 0 ? '#cc2936' : _l, _m = _a.fontWeight, fontWeight = _m === void 0 ? '300' : _m, _o = _a.multiline, multiline = _o === void 0 ? false : _o, _p = _a.cantEdit, cantEdit = _p === void 0 ? false : _p, others = __rest(_a, ["focusColor", "outlineColor", "backgroundColor", "innerBackgroundColor", "textColor", "readOnly", "borderRadius", "padding", "fontSize", "shrunkenFontSize", "errorColor", "fontWeight", "multiline", "cantEdit"]);
106
+ var _b = _a.focusColor, focusColor = _b === void 0 ? '#3d5a7f' : _b, _c = _a.helperTextColor, helperTextColor = _c === void 0 ? '#989898' : _c, _d = _a.outlineColor, outlineColor = _d === void 0 ? '#0000003b' : _d, _e = _a.backgroundColor, backgroundColor = _e === void 0 ? 'white' : _e, innerBackgroundColor = _a.innerBackgroundColor, _f = _a.textColor, textColor = _f === void 0 ? '#293241' : _f, _g = _a.readOnly, readOnly = _g === void 0 ? false : _g, _h = _a.borderRadius, borderRadius = _h === void 0 ? 10 : _h, _j = _a.padding, padding = _j === void 0 ? '6px 12px' : _j, _k = _a.fontSize, fontSize = _k === void 0 ? '1rem' : _k, _l = _a.shrunkenFontSize, shrunkenFontSize = _l === void 0 ? '1rem' : _l, _m = _a.errorColor, errorColor = _m === void 0 ? '#cc2936' : _m, _o = _a.fontWeight, fontWeight = _o === void 0 ? '300' : _o, _p = _a.multiline, multiline = _p === void 0 ? false : _p, _q = _a.cantEdit, cantEdit = _q === void 0 ? false : _q, others = __rest(_a, ["focusColor", "helperTextColor", "outlineColor", "backgroundColor", "innerBackgroundColor", "textColor", "readOnly", "borderRadius", "padding", "fontSize", "shrunkenFontSize", "errorColor", "fontWeight", "multiline", "cantEdit"]);
104
107
  var classes = useTextfieldStyles({
105
108
  padding: padding,
106
109
  textColor: textColor,
@@ -108,6 +111,7 @@ function CustomTextfield(_a) {
108
111
  focusColor: focusColor,
109
112
  outlineColor: outlineColor,
110
113
  innerBackgroundColor: innerBackgroundColor !== null && innerBackgroundColor !== void 0 ? innerBackgroundColor : backgroundColor,
114
+ helperTextColor: helperTextColor,
111
115
  backgroundColor: backgroundColor,
112
116
  borderRadius: borderRadius,
113
117
  readOnly: readOnly,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version": "0.2.38-test",
4
+ "version": "0.2.39-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",