@pipelinesolucoes/form 1.2.0-beta.22 → 1.2.0-beta.24
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/README.md +5 -1
- package/dist/components/SelectField.d.ts +1 -1
- package/dist/components/SelectField.js.map +1 -1
- package/dist/components/TextFieldNumberValidate.d.ts +110 -0
- package/dist/components/TextFieldNumberValidate.js +196 -0
- package/dist/components/TextFieldNumberValidate.js.map +1 -0
- package/dist/components/TextFieldPassword.d.ts +1 -11
- package/dist/components/TextFieldPassword.js +8 -7
- package/dist/components/TextFieldPassword.js.map +1 -1
- package/dist/components/TextFieldValidate.d.ts +5 -6
- package/dist/components/TextFieldValidate.js +6 -5
- package/dist/components/TextFieldValidate.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/style/TextFieldStyle.d.ts +1 -0
- package/dist/style/TextFieldStyle.js +4 -3
- package/dist/style/TextFieldStyle.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -14,8 +14,9 @@ export const TextFieldStyled = styled(TextField, {
|
|
|
14
14
|
"padding",
|
|
15
15
|
"typo",
|
|
16
16
|
"heigth",
|
|
17
|
+
"marginField",
|
|
17
18
|
].includes(prop),
|
|
18
|
-
})(({ background, backgroundFocused, backgroundDisabled, colorText, colorFocused, colorDisabled, borderRadius, boxShadow, borderColor, padding, typo, height }) => ({
|
|
19
|
+
})(({ background, backgroundFocused, backgroundDisabled, colorText, colorFocused, colorDisabled, borderRadius, boxShadow, borderColor, padding, typo, height, marginField }) => ({
|
|
19
20
|
borderRadius,
|
|
20
21
|
boxShadow,
|
|
21
22
|
"& .MuiInputBase-root": {
|
|
@@ -26,8 +27,8 @@ export const TextFieldStyled = styled(TextField, {
|
|
|
26
27
|
borderRadius,
|
|
27
28
|
boxShadow,
|
|
28
29
|
height,
|
|
29
|
-
"& .MuiInputBase-input": Object.assign(Object.assign({}, (padding ? { padding } : {})), (typo !== null && typo !== void 0 ? typo : {})),
|
|
30
|
-
"& textarea.MuiInputBase-input": Object.assign(Object.assign({}, (padding ? { padding } : {})), (typo !== null && typo !== void 0 ? typo : {})),
|
|
30
|
+
"& .MuiInputBase-input": Object.assign(Object.assign({ margin: marginField }, (padding ? { padding } : {})), (typo !== null && typo !== void 0 ? typo : {})),
|
|
31
|
+
"& textarea.MuiInputBase-input": Object.assign(Object.assign({ margin: marginField }, (padding ? { padding } : {})), (typo !== null && typo !== void 0 ? typo : {})),
|
|
31
32
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
32
33
|
borderColor,
|
|
33
34
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextFieldStyle.js","sourceRoot":"","sources":["../../src/style/TextFieldStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAkB,MAAM,sBAAsB,CAAC;AAG9D,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,SAAS,EAAE;IAC/C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC;QACC,YAAY;QACZ,oBAAoB;QACpB,WAAW;QACX,mBAAmB;QACnB,cAAc;QACd,eAAe;QACf,cAAc;QACd,WAAW;QACX,aAAa;QACb,SAAS;QACT,MAAM;QACN,QAAQ;
|
|
1
|
+
{"version":3,"file":"TextFieldStyle.js","sourceRoot":"","sources":["../../src/style/TextFieldStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAkB,MAAM,sBAAsB,CAAC;AAG9D,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,SAAS,EAAE;IAC/C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC;QACC,YAAY;QACZ,oBAA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