@apexcura/ui-components 0.0.12-Beta42 → 0.0.12-Beta43
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/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -103,7 +103,7 @@ var NumberElement = (props) => {
|
|
|
103
103
|
const newValue = e.target.value.replace(/[^0-9]/g, "");
|
|
104
104
|
props.onChange(newValue);
|
|
105
105
|
};
|
|
106
|
-
return /* @__PURE__ */ import_react3.default.createElement(
|
|
106
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
|
107
107
|
import_antd3.Input,
|
|
108
108
|
{
|
|
109
109
|
placeholder: props.placeholder,
|
|
@@ -115,11 +115,12 @@ var NumberElement = (props) => {
|
|
|
115
115
|
prefix: props.prefix,
|
|
116
116
|
type: props.type,
|
|
117
117
|
status: props.status,
|
|
118
|
+
className: props.className,
|
|
118
119
|
variant: props.variant,
|
|
119
120
|
name: props.name,
|
|
120
121
|
onChange: handleInputChange
|
|
121
122
|
}
|
|
122
|
-
)
|
|
123
|
+
);
|
|
123
124
|
};
|
|
124
125
|
|
|
125
126
|
// src/Components/TextareaElement.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -56,7 +56,7 @@ var NumberElement = (props) => {
|
|
|
56
56
|
const newValue = e.target.value.replace(/[^0-9]/g, "");
|
|
57
57
|
props.onChange(newValue);
|
|
58
58
|
};
|
|
59
|
-
return /* @__PURE__ */ React3.createElement(
|
|
59
|
+
return /* @__PURE__ */ React3.createElement(
|
|
60
60
|
AntInput2,
|
|
61
61
|
{
|
|
62
62
|
placeholder: props.placeholder,
|
|
@@ -68,11 +68,12 @@ var NumberElement = (props) => {
|
|
|
68
68
|
prefix: props.prefix,
|
|
69
69
|
type: props.type,
|
|
70
70
|
status: props.status,
|
|
71
|
+
className: props.className,
|
|
71
72
|
variant: props.variant,
|
|
72
73
|
name: props.name,
|
|
73
74
|
onChange: handleInputChange
|
|
74
75
|
}
|
|
75
|
-
)
|
|
76
|
+
);
|
|
76
77
|
};
|
|
77
78
|
|
|
78
79
|
// src/Components/TextareaElement.tsx
|