@pipelinesolucoes/form 1.2.0-beta.17 → 1.2.0-beta.19
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/components/SelectField.js +4 -3
- package/dist/components/SelectField.js.map +1 -1
- package/dist/components/TextFieldPassword.js +1 -1
- package/dist/components/TextFieldValidate.js +1 -1
- package/dist/style/LinkFormStyled.js +1 -1
- package/dist/style/LinkFormStyled.js.map +1 -1
- package/dist/style/TextFieldStyle.d.ts +1 -1
- package/dist/style/TextFieldStyle.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { FormControl, InputLabel, MenuItem, Select, FormHelperText, Typography } from '@mui/material';
|
|
4
4
|
import { styled, useTheme } from '@mui/material/styles';
|
|
5
|
-
import { fbbackground, fbborderColor, fbborderRadius, fbboxShadow, fbcolor, fbcolorFocused, fbpadding } from '../constant';
|
|
5
|
+
import { fbbackground, fbborderColor, fbborderRadius, fbboxShadow, fbcolor, fbcolorFocused, fbheigth, fbpadding } from '../constant';
|
|
6
6
|
const StyledWrapper = styled('div', {
|
|
7
7
|
shouldForwardProp: (prop) => !['width', 'margin'].includes(prop),
|
|
8
8
|
})(({ width, margin }) => ({
|
|
@@ -101,7 +101,7 @@ const StyledFormControl = styled(FormControl, {
|
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
103
|
const SelectField = ({ id, label, placeholder, value, background, backgroundDisabled, color, colorFocused, colorDisabled, borderRadius, boxShadow, borderColor, width = "100%", height, padding, margin = '0', disabled = false, variant = 'body1', helperText, helperTextColor, options, onChange, }) => {
|
|
104
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
104
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
105
105
|
const labelId = id ? `${id}-label` : undefined;
|
|
106
106
|
const shouldShrinkLabel = Boolean(value) || Boolean(placeholder);
|
|
107
107
|
const handleChange = (event, _child) => {
|
|
@@ -121,7 +121,8 @@ const SelectField = ({ id, label, placeholder, value, background, backgroundDisa
|
|
|
121
121
|
const bd = (_k = borderColor !== null && borderColor !== void 0 ? borderColor : field === null || field === void 0 ? void 0 : field.borderColor) !== null && _k !== void 0 ? _k : '#ccc';
|
|
122
122
|
const pad = (_l = padding !== null && padding !== void 0 ? padding : field === null || field === void 0 ? void 0 : field.padding) !== null && _l !== void 0 ? _l : '4px 8px';
|
|
123
123
|
const mg = (_m = margin !== null && margin !== void 0 ? margin : field === null || field === void 0 ? void 0 : field.margin) !== null && _m !== void 0 ? _m : '0';
|
|
124
|
-
|
|
124
|
+
const hg = (_o = height !== null && height !== void 0 ? height : field === null || field === void 0 ? void 0 : field.height) !== null && _o !== void 0 ? _o : fbheigth;
|
|
125
|
+
return (_jsx(StyledWrapper, { width: width, margin: mg, children: _jsxs(StyledFormControl, { id: id, disabled: disabled, variant: "outlined", background: bg, borderRadius: br, boxShadow: sh, borderColor: bd, colorText: txt, height: hg, padding: pad, children: [label && (_jsx(InputLabel, { id: labelId, htmlFor: id, shrink: shouldShrinkLabel, children: _jsx(Typography, { variant: variant, sx: { color: txt }, children: label }) })), _jsx(Select, { id: id, labelId: labelId, value: value !== undefined && value !== null ? String(value) : '', onChange: handleChange, displayEmpty: true, label: label, MenuProps: {
|
|
125
126
|
PaperProps: {
|
|
126
127
|
sx: {
|
|
127
128
|
backgroundColor: bg,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.js","sourceRoot":"","sources":["../../src/components/SelectField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAqB,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACzH,OAAO,EAAE,MAAM,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AE,GAAc,CAAC;oBAC1E,CAAC,YAEA,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvB,KAAC,QAAQ,IAAoB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,YACtD,KAAC,UAAU,IAAC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,YAC7C,MAAM,CAAC,KAAK,GACF,IAHA,MAAM,CAAC,KAAK,CAIhB,CACZ,CAAC,GACK,EAER,UAAU,IAAI,CACb,KAAC,cAAc,IAAC,KAAK,EAAE,CAAC,eAAe,YACrC,KAAC,UAAU,IAAC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,YACzD,UAAU,GACA,GACE,CAClB,IAEiB,GACN,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC;AAExC,eAAe,WAAW,CAAC"}
|
|
@@ -229,7 +229,7 @@ const TextFieldPassword = ({ id, label, placeholder, value, onPasswordChange, on
|
|
|
229
229
|
const pad = (_l = padding !== null && padding !== void 0 ? padding : field === null || field === void 0 ? void 0 : field.padding) !== null && _l !== void 0 ? _l : fbpadding;
|
|
230
230
|
const typo = (_o = (_m = (textVariant && theme.typography[textVariant])) !== null && _m !== void 0 ? _m : field === null || field === void 0 ? void 0 : field.typography) !== null && _o !== void 0 ? _o : theme.typography.body1;
|
|
231
231
|
const hg = (_p = height !== null && height !== void 0 ? height : field === null || field === void 0 ? void 0 : field.height) !== null && _p !== void 0 ? _p : fbheigth;
|
|
232
|
-
return (_jsx(TextFieldStyled, { type: showPassword ? 'text' : 'password', id: id, typo: typo, label: label, placeholder: placeholder, value: currentValue, background: bg, backgroundDisabled: bgDisabled, colorText: txt, colorFocused: bdFocused, colorDisabled: txtDisabled, borderRadius: br, boxShadow: sh, borderColor: bd, padding: pad,
|
|
232
|
+
return (_jsx(TextFieldStyled, { type: showPassword ? 'text' : 'password', id: id, typo: typo, label: label, placeholder: placeholder, value: currentValue, background: bg, backgroundDisabled: bgDisabled, colorText: txt, colorFocused: bdFocused, colorDisabled: txtDisabled, borderRadius: br, boxShadow: sh, borderColor: bd, padding: pad, height: hg, disabled: disabled, required: required, fullWidth: true, error: shouldShowError, helperText: helperText, slotProps: {
|
|
233
233
|
input: {
|
|
234
234
|
endAdornment: (_jsx(InputAdornment, { position: "end", children: _jsx(IconButton, { onClick: () => setShowPassword((prev) => !prev), edge: "end", "aria-label": showPassword ? 'Ocultar senha' : 'Mostrar senha', sx: { margin: '0 16px 0 0' }, children: showPassword ? _jsx(VisibilityOffIcon, {}) : _jsx(VisibilityIcon, {}) }) })),
|
|
235
235
|
},
|
|
@@ -194,7 +194,7 @@ const TextFieldValidate = ({ id, label, background, backgroundDisabled, color, c
|
|
|
194
194
|
const pad = (_l = padding !== null && padding !== void 0 ? padding : field === null || field === void 0 ? void 0 : field.padding) !== null && _l !== void 0 ? _l : fbpadding;
|
|
195
195
|
const hg = multiline ? undefined : ((_m = height !== null && height !== void 0 ? height : field === null || field === void 0 ? void 0 : field.height) !== null && _m !== void 0 ? _m : fbheigth);
|
|
196
196
|
const typo = (_p = (_o = (textVariant && theme.typography[textVariant])) !== null && _o !== void 0 ? _o : field === null || field === void 0 ? void 0 : field.typography) !== null && _p !== void 0 ? _p : theme.typography.body1;
|
|
197
|
-
return (_jsx(TextFieldStyled, { id: id, label: label, placeholder: placeholder, value: value, typo: typo, onChange: onChange, onBlur: handleBlur, background: bg, backgroundDisabled: bgDisabled, colorText: txt, colorFocused: bdFocused, colorDisabled: txtDisabled, borderRadius: br, boxShadow: sh, borderColor: bd, padding: pad, disabled: disabled, multiline: multiline, required: required, rows: multiline ? rows : undefined, fullWidth: true,
|
|
197
|
+
return (_jsx(TextFieldStyled, { id: id, label: label, placeholder: placeholder, value: value, typo: typo, onChange: onChange, onBlur: handleBlur, background: bg, backgroundDisabled: bgDisabled, colorText: txt, colorFocused: bdFocused, colorDisabled: txtDisabled, borderRadius: br, boxShadow: sh, borderColor: bd, padding: pad, disabled: disabled, multiline: multiline, required: required, rows: multiline ? rows : undefined, fullWidth: true, height: hg, error: Boolean(errorMessage), helperText: errorMessage || ' ', slotProps: {
|
|
198
198
|
input: {
|
|
199
199
|
inputProps: typeof maxLength === 'number' ? { maxLength } : undefined,
|
|
200
200
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fbcolorFocused, fbmargin } from "
|
|
1
|
+
import { fbcolorFocused, fbmargin } from "../constant";
|
|
2
2
|
import { Button, styled } from "@mui/material";
|
|
3
3
|
export const LinkFormStyled = styled(Button, {
|
|
4
4
|
shouldForwardProp: (prop) => !['width', 'height', 'text_color', 'margin', 'font_size'].includes(prop),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkFormStyled.js","sourceRoot":"","sources":["../../src/style/LinkFormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"LinkFormStyled.js","sourceRoot":"","sources":["../../src/style/LinkFormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE;IAC3C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CACrF,CAAC,CACD,CAAC,EAAE,KAAK,GAAC,MAAM,EAAE,MAAM,GAAC,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAE7D,KAAK,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,cAAc;IACnC,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,MAAM;IACtB,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,MAAM;IACxB,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,GAAG;IACZ,SAAS,EAAE,MAAM;IACjB,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,QAAQ;CAC3B,CAAC,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ export const TextFieldStyled = styled(TextField, {
|
|
|
14
14
|
"typo",
|
|
15
15
|
"heigth",
|
|
16
16
|
].includes(prop),
|
|
17
|
-
})(({ background, backgroundDisabled, colorText, colorFocused, colorDisabled, borderRadius, boxShadow, borderColor, padding, typo,
|
|
17
|
+
})(({ background, backgroundDisabled, colorText, colorFocused, colorDisabled, borderRadius, boxShadow, borderColor, padding, typo, height }) => ({
|
|
18
18
|
borderRadius,
|
|
19
19
|
boxShadow,
|
|
20
20
|
"& .MuiInputBase-root": {
|
|
@@ -24,7 +24,7 @@ export const TextFieldStyled = styled(TextField, {
|
|
|
24
24
|
background,
|
|
25
25
|
borderRadius,
|
|
26
26
|
boxShadow,
|
|
27
|
-
|
|
27
|
+
height,
|
|
28
28
|
"& .MuiInputBase-input": Object.assign(Object.assign({}, (padding ? { padding } : {})), (typo !== null && typo !== void 0 ? typo : {})),
|
|
29
29
|
"& textarea.MuiInputBase-input": Object.assign(Object.assign({}, (padding ? { padding } : {})), (typo !== null && typo !== void 0 ? typo : {})),
|
|
30
30
|
"& .MuiOutlinedInput-notchedOutline": {
|