@gustavo-valsechi/client 1.4.188 → 1.4.190

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.
@@ -38,7 +38,7 @@ const Container = import_styled_components.default.form`
38
38
  width: 100%;
39
39
  display: flex;
40
40
  flex-direction: column;
41
- gap: .3rem;
41
+ gap: .5rem;
42
42
 
43
43
  .form-content {
44
44
  width: 100%;
@@ -5,7 +5,7 @@ const Container = styled.form`
5
5
  width: 100%;
6
6
  display: flex;
7
7
  flex-direction: column;
8
- gap: .3rem;
8
+ gap: .5rem;
9
9
 
10
10
  .form-content {
11
11
  width: 100%;
@@ -51,7 +51,7 @@ function InputDateTime(props) {
51
51
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "input-content", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
52
52
  "input",
53
53
  {
54
- ...import_lodash.default.omit(props, ["className", "onChange", "mask", "type", "optional", "register", "setValue", "watch"]),
54
+ ...import_lodash.default.omit(props, ["className", "onChange", "mask", "type", "optional", "register", "setValue", "watch", "optional"]),
55
55
  type: "datetime-local",
56
56
  onFocus: () => {
57
57
  if (props.onFocus) props.onFocus(props.name);
@@ -18,7 +18,7 @@ function InputDateTime(props) {
18
18
  /* @__PURE__ */ jsx("div", { className: "input-content", children: /* @__PURE__ */ jsx(
19
19
  "input",
20
20
  {
21
- ..._.omit(props, ["className", "onChange", "mask", "type", "optional", "register", "setValue", "watch"]),
21
+ ..._.omit(props, ["className", "onChange", "mask", "type", "optional", "register", "setValue", "watch", "optional"]),
22
22
  type: "datetime-local",
23
23
  onFocus: () => {
24
24
  if (props.onFocus) props.onFocus(props.name);
@@ -105,7 +105,7 @@ function InputSelect(props) {
105
105
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
106
106
  "input",
107
107
  {
108
- ...import_lodash.default.omit(props, ["className", "register", "mask", "setValue", "watch"]),
108
+ ...import_lodash.default.omit(props, ["className", "register", "mask", "setValue", "watch", "optional"]),
109
109
  type: "text",
110
110
  maxLength: props.maxLength || 255,
111
111
  value: focus ? filter : inputValue,
@@ -72,7 +72,7 @@ function InputSelect(props) {
72
72
  /* @__PURE__ */ jsx(
73
73
  "input",
74
74
  {
75
- ..._.omit(props, ["className", "register", "mask", "setValue", "watch"]),
75
+ ..._.omit(props, ["className", "register", "mask", "setValue", "watch", "optional"]),
76
76
  type: "text",
77
77
  maxLength: props.maxLength || 255,
78
78
  value: focus ? filter : inputValue,
@@ -54,7 +54,7 @@ function InputText(props) {
54
54
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
55
55
  "input",
56
56
  {
57
- ...import_lodash.default.omit(props, ["className", "register", "mask", "setValue", "watch"]),
57
+ ...import_lodash.default.omit(props, ["className", "register", "mask", "setValue", "watch", "optional"]),
58
58
  type: props.type === "password" ? showPassword ? "text" : "password" : props.type,
59
59
  maxLength: props.maxLength || 255,
60
60
  onFocus: () => {
@@ -21,7 +21,7 @@ function InputText(props) {
21
21
  /* @__PURE__ */ jsx(
22
22
  "input",
23
23
  {
24
- ..._.omit(props, ["className", "register", "mask", "setValue", "watch"]),
24
+ ..._.omit(props, ["className", "register", "mask", "setValue", "watch", "optional"]),
25
25
  type: props.type === "password" ? showPassword ? "text" : "password" : props.type,
26
26
  maxLength: props.maxLength || 255,
27
27
  onFocus: () => {
@@ -51,7 +51,7 @@ function InputTextarea(props) {
51
51
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "input-content", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
52
52
  "textarea",
53
53
  {
54
- ...import_lodash.default.omit(props, ["onFocus", "maxLength", "className", "onChange", "mask", "rows", "optional", "register", "setValue", "watch"]),
54
+ ...import_lodash.default.omit(props, ["onFocus", "maxLength", "className", "onChange", "mask", "rows", "optional", "register", "setValue", "watch", "optional"]),
55
55
  maxLength: props.maxLength,
56
56
  rows: props.rows || 5,
57
57
  onFocus: () => {
@@ -18,7 +18,7 @@ function InputTextarea(props) {
18
18
  /* @__PURE__ */ jsx("div", { className: "input-content", children: /* @__PURE__ */ jsx(
19
19
  "textarea",
20
20
  {
21
- ..._.omit(props, ["onFocus", "maxLength", "className", "onChange", "mask", "rows", "optional", "register", "setValue", "watch"]),
21
+ ..._.omit(props, ["onFocus", "maxLength", "className", "onChange", "mask", "rows", "optional", "register", "setValue", "watch", "optional"]),
22
22
  maxLength: props.maxLength,
23
23
  rows: props.rows || 5,
24
24
  onFocus: () => {
@@ -4,4 +4,6 @@ export interface IButton {
4
4
  type?: string;
5
5
  onClick?: (e?: any) => void;
6
6
  label: string;
7
+ outline?: boolean;
8
+ transparent?: boolean;
7
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.188",
3
+ "version": "1.4.190",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",