@gisce/react-ooui 2.2.0-rc.1 → 2.2.0-rc.3
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/react-ooui.es.js
CHANGED
|
@@ -3130,9 +3130,10 @@ const Zt = pt(Aa), Qt = (e) => {
|
|
|
3130
3130
|
style: l,
|
|
3131
3131
|
id: n,
|
|
3132
3132
|
precision: i,
|
|
3133
|
-
formatter: (f) => `${f}`.replace(/[^0-9
|
|
3133
|
+
formatter: (f) => `${f}`.replace(/[^0-9.-]+/g, ""),
|
|
3134
3134
|
decimalSeparator: ".",
|
|
3135
|
-
onBlur: u
|
|
3135
|
+
onBlur: u,
|
|
3136
|
+
wheel: !1
|
|
3136
3137
|
}
|
|
3137
3138
|
) });
|
|
3138
3139
|
}, { useToken: Ma } = He, sn = (e) => {
|
|
@@ -3150,7 +3151,8 @@ const Zt = pt(Aa), Qt = (e) => {
|
|
|
3150
3151
|
},
|
|
3151
3152
|
onBlur: u,
|
|
3152
3153
|
precision: 0,
|
|
3153
|
-
style: l
|
|
3154
|
+
style: l,
|
|
3155
|
+
wheel: !1
|
|
3154
3156
|
}
|
|
3155
3157
|
) });
|
|
3156
3158
|
};
|
|
@@ -4533,14 +4535,18 @@ const So = pt(xl), To = (e) => {
|
|
|
4533
4535
|
j.keyCode === 13 ? (j.preventDefault(), j.stopPropagation(), await z()) : j.code === "Backspace" && E !== void 0 && (j.preventDefault(), j.stopPropagation(), M([void 0, ""]));
|
|
4534
4536
|
}
|
|
4535
4537
|
return /* @__PURE__ */ D(Te, { gutter: 8, wrap: !1, children: [
|
|
4536
|
-
/* @__PURE__ */ r(de, { flex: "auto", children: /* @__PURE__ */ r(
|
|
4538
|
+
/* @__PURE__ */ r(de, { flex: "auto", style: { paddingRight: 0 }, children: /* @__PURE__ */ r(
|
|
4537
4539
|
o && !a ? _l : it,
|
|
4538
4540
|
{
|
|
4539
4541
|
type: "text",
|
|
4540
4542
|
value: C,
|
|
4541
4543
|
disabled: a,
|
|
4542
4544
|
onChange: X,
|
|
4543
|
-
style:
|
|
4545
|
+
style: {
|
|
4546
|
+
...f,
|
|
4547
|
+
borderTopRightRadius: 0,
|
|
4548
|
+
borderBottomRightRadius: 0
|
|
4549
|
+
},
|
|
4544
4550
|
onBlur: z,
|
|
4545
4551
|
onKeyDown: I,
|
|
4546
4552
|
suffix: /* @__PURE__ */ r(
|
|
@@ -4553,7 +4559,7 @@ const So = pt(xl), To = (e) => {
|
|
|
4553
4559
|
)
|
|
4554
4560
|
}
|
|
4555
4561
|
) }),
|
|
4556
|
-
/* @__PURE__ */ r(de, { flex: "none", style: { paddingRight: 0 }, children: /* @__PURE__ */ r(
|
|
4562
|
+
/* @__PURE__ */ r(de, { flex: "none", style: { paddingRight: 0, paddingLeft: 0 }, children: /* @__PURE__ */ r(
|
|
4557
4563
|
De,
|
|
4558
4564
|
{
|
|
4559
4565
|
icon: /* @__PURE__ */ r(Kn, {}),
|
|
@@ -4561,7 +4567,7 @@ const So = pt(xl), To = (e) => {
|
|
|
4561
4567
|
onClick: () => {
|
|
4562
4568
|
h(!0);
|
|
4563
4569
|
},
|
|
4564
|
-
style: {
|
|
4570
|
+
style: { borderRadius: 0 },
|
|
4565
4571
|
tabIndex: -1
|
|
4566
4572
|
}
|
|
4567
4573
|
) }),
|