@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.
- package/dist/src/components/types/form/styles.js +1 -1
- package/dist/src/components/types/form/styles.mjs +1 -1
- package/dist/src/components/types/form/types/datetime/index.js +1 -1
- package/dist/src/components/types/form/types/datetime/index.mjs +1 -1
- package/dist/src/components/types/form/types/select/index.js +1 -1
- package/dist/src/components/types/form/types/select/index.mjs +1 -1
- package/dist/src/components/types/form/types/text/index.js +1 -1
- package/dist/src/components/types/form/types/text/index.mjs +1 -1
- package/dist/src/components/types/form/types/textarea/index.js +1 -1
- package/dist/src/components/types/form/types/textarea/index.mjs +1 -1
- package/dist/src/interfaces/components/form/button/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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: () => {
|