@pipelinesolucoes/form 1.2.0-beta.1 → 1.2.0-beta.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.
Files changed (51) hide show
  1. package/dist/components/NotificationSnackbar.d.ts +1 -2
  2. package/dist/components/NotificationSnackbar.js +1 -1
  3. package/dist/components/NotificationSnackbar.js.map +1 -1
  4. package/dist/components/TextFieldPassword.d.ts +4 -33
  5. package/dist/components/TextFieldPassword.js +17 -16
  6. package/dist/components/TextFieldPassword.js.map +1 -1
  7. package/dist/components/TextFieldValidate.d.ts +5 -6
  8. package/dist/components/TextFieldValidate.js +12 -11
  9. package/dist/components/TextFieldValidate.js.map +1 -1
  10. package/dist/components/login/FormLogin.d.ts +1 -31
  11. package/dist/components/login/FormLogin.js +28 -9
  12. package/dist/components/login/FormLogin.js.map +1 -1
  13. package/dist/components/login/FormPasswordRecovery.d.ts +1 -22
  14. package/dist/components/login/FormPasswordRecovery.js +27 -6
  15. package/dist/components/login/FormPasswordRecovery.js.map +1 -1
  16. package/dist/components/login/FormSignUp.d.ts +1 -28
  17. package/dist/components/login/FormSignUp.js +27 -7
  18. package/dist/components/login/FormSignUp.js.map +1 -1
  19. package/dist/components/login/GoogleButton.d.ts +1 -4
  20. package/dist/components/login/GoogleButton.js.map +1 -1
  21. package/dist/components/{FormStyled.d.ts → recaptcha/FormStyled.d.ts} +0 -7
  22. package/dist/components/{FormStyled.js → recaptcha/FormStyled.js} +0 -13
  23. package/dist/components/recaptcha/FormStyled.js.map +1 -0
  24. package/dist/components/recaptcha/RecaptchaForm.js +1 -1
  25. package/dist/components/recaptcha/RecaptchaForm.js.map +1 -1
  26. package/dist/components/{ButtonFormStyled.d.ts → style/ButtonFormStyled.d.ts} +1 -1
  27. package/dist/components/style/ButtonFormStyled.js +22 -0
  28. package/dist/components/style/ButtonFormStyled.js.map +1 -0
  29. package/dist/components/style/LinkFormStyled.d.ts +7 -0
  30. package/dist/components/style/LinkFormStyled.js +15 -0
  31. package/dist/components/style/LinkFormStyled.js.map +1 -0
  32. package/dist/index.d.ts +0 -4
  33. package/dist/index.js.map +1 -1
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/dist/types/FieldProps.d.ts +4 -0
  36. package/package.json +5 -3
  37. package/dist/components/ButtonFormStyled.js +0 -22
  38. package/dist/components/ButtonFormStyled.js.map +0 -1
  39. package/dist/components/FormStyled.js.map +0 -1
  40. package/dist/types/BorderProps.d.ts +0 -6
  41. package/dist/types/BorderProps.js +0 -2
  42. package/dist/types/BorderProps.js.map +0 -1
  43. package/dist/types/ColorProps.d.ts +0 -9
  44. package/dist/types/ColorProps.js +0 -2
  45. package/dist/types/ColorProps.js.map +0 -1
  46. package/dist/types/LayoutProps.d.ts +0 -7
  47. package/dist/types/LayoutProps.js +0 -2
  48. package/dist/types/LayoutProps.js.map +0 -1
  49. package/dist/types/TextProps.d.ts +0 -5
  50. package/dist/types/TextProps.js +0 -2
  51. package/dist/types/TextProps.js.map +0 -1
@@ -1,9 +1,13 @@
1
1
  export interface FieldProps {
2
2
  backgroundField?: string;
3
3
  colorField?: string;
4
+ backgroundDisabledField?: string;
5
+ colorDisabledField?: string;
6
+ backgroundFocusedField?: string;
4
7
  colorFocusedField?: string;
5
8
  borderRadiusField?: string;
6
9
  boxShadowField?: string;
7
10
  borderColorField?: string;
8
11
  paddingField?: string;
12
+ marginField?: string;
9
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelinesolucoes/form",
3
- "version": "1.2.0-beta.1",
3
+ "version": "1.2.0-beta.2",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,10 +34,12 @@
34
34
  "scripts": {
35
35
  "build": "tsc",
36
36
  "lint": "eslint .",
37
- "prepublishOnly": "npm run build"
37
+ "prepublishOnly": "npm run build",
38
+ "release-theme-beta": "npm uninstall @pipelinesolucoes/theme && npm install @pipelinesolucoes/theme@beta",
39
+ "release-theme": "npm uninstall @pipelinesolucoes/theme && npm install @pipelinesolucoes/theme"
38
40
  },
39
41
  "dependencies": {
40
- "@pipelinesolucoes/theme": "^1.0.1",
42
+ "@pipelinesolucoes/theme": "^1.0.7-beta.0",
41
43
  "react-google-recaptcha": "^3.1.0"
42
44
  },
43
45
  "peerDependencies": {
@@ -1,22 +0,0 @@
1
- import { BUTTON_STYLE_FORWARD_PROPS } from "../types/ButtonProps";
2
- import { Button, styled } from "@mui/material";
3
- export const ButtonFormStyled = styled(Button, {
4
- shouldForwardProp: (prop) => !BUTTON_STYLE_FORWARD_PROPS.includes(prop),
5
- })(({ backgroundButton, backgroundHoverButton, colorButton, colorHoverButton, borderRadiusButton, borderButton, boxShadowButton, widthButton, heightButton, paddingButton, marginButton, }) => ({
6
- color: colorButton,
7
- background: backgroundButton,
8
- borderRadius: borderRadiusButton,
9
- textTransform: "none",
10
- cursor: "pointer",
11
- padding: paddingButton,
12
- boxShadow: boxShadowButton,
13
- width: widthButton,
14
- height: heightButton,
15
- border: borderButton,
16
- margin: marginButton,
17
- "&:hover": {
18
- background: backgroundHoverButton,
19
- color: colorHoverButton,
20
- },
21
- }));
22
- //# sourceMappingURL=ButtonFormStyled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonFormStyled.js","sourceRoot":"","sources":["../../src/components/ButtonFormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE;IAC3C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,0BAA0B,CAAC,QAAQ,CAAC,IAAyB,CAAC;CAC/F,CAAC,CACA,CAAC,EACC,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,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AAG,CAAC,EAAE,SAAS,EAAC,EAAE,EAAE,CAAC,CAAC;IAEhE,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,MAAM;IACd,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,GAAG;IACZ,SAAS,EAAE,MAAM;IACjB,MAAM,EAAE,MAAM;CACf,CAAC,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- export interface BorderProps {
2
- borderRadius?: string;
3
- border?: string;
4
- borderColor?: string;
5
- boxShadow?: string;
6
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=BorderProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BorderProps.js","sourceRoot":"","sources":["../../src/types/BorderProps.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- export interface ColorProps {
2
- background?: string;
3
- backgroundHover?: string;
4
- backgroundDisabled?: string;
5
- color?: string;
6
- colorHover?: string;
7
- colorFocused?: string;
8
- colorDisabled?: string;
9
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ColorProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColorProps.js","sourceRoot":"","sources":["../../src/types/ColorProps.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export interface LayoutProps {
2
- width?: string;
3
- maxWidth?: string;
4
- height?: string;
5
- padding?: string;
6
- margin?: string;
7
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=LayoutProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LayoutProps.js","sourceRoot":"","sources":["../../src/types/LayoutProps.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { TypographyVariant } from "@mui/material/styles";
2
- export interface TextProps {
3
- text: string;
4
- variant?: TypographyVariant;
5
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=TextProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../src/types/TextProps.ts"],"names":[],"mappings":""}