@apexcura/ui-components 0.0.12-Beta40 → 0.0.12-Beta42
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 +1 -2
- package/dist/index.mjs +1 -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("span", { className: props.className }, /* @__PURE__ */ import_react3.default.createElement(
|
|
107
107
|
import_antd3.Input,
|
|
108
108
|
{
|
|
109
109
|
placeholder: props.placeholder,
|
|
@@ -115,7 +115,6 @@ var NumberElement = (props) => {
|
|
|
115
115
|
prefix: props.prefix,
|
|
116
116
|
type: props.type,
|
|
117
117
|
status: props.status,
|
|
118
|
-
className: props.className,
|
|
119
118
|
variant: props.variant,
|
|
120
119
|
name: props.name,
|
|
121
120
|
onChange: handleInputChange
|
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("span", { className: props.className }, /* @__PURE__ */ React3.createElement(
|
|
60
60
|
AntInput2,
|
|
61
61
|
{
|
|
62
62
|
placeholder: props.placeholder,
|
|
@@ -68,7 +68,6 @@ var NumberElement = (props) => {
|
|
|
68
68
|
prefix: props.prefix,
|
|
69
69
|
type: props.type,
|
|
70
70
|
status: props.status,
|
|
71
|
-
className: props.className,
|
|
72
71
|
variant: props.variant,
|
|
73
72
|
name: props.name,
|
|
74
73
|
onChange: handleInputChange
|