@oneplatformdev/ui 0.0.1-beta.102 → 0.0.1-beta.103

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.
@@ -4,13 +4,13 @@ import { FormRenderControl as I } from "../Form/FormRenderControl.mjs";
4
4
  import { Input as y } from "../Input/Input.mjs";
5
5
  import { forwardRef as C } from "react";
6
6
  function b(l, e) {
7
- const { form: m, label: h, name: p, onChange: u, onBlur: a, onPaste: s, style: v, ...g } = l;
7
+ const { form: m, label: v, name: p, onChange: u, onBlur: a, onPaste: s, style: h, ...g } = l;
8
8
  return /* @__PURE__ */ c(
9
9
  I,
10
10
  {
11
11
  form: m,
12
12
  name: p,
13
- label: h,
13
+ label: v,
14
14
  render: ({ field: o }) => /* @__PURE__ */ c(F, { children: /* @__PURE__ */ c(
15
15
  y,
16
16
  {
@@ -19,14 +19,14 @@ function b(l, e) {
19
19
  ref: (t) => {
20
20
  o.ref(t), typeof e == "function" ? e(t) : e && (e.current = t);
21
21
  },
22
- style: v,
22
+ style: h,
23
23
  value: o.value || "",
24
24
  onChange: (...t) => {
25
25
  var r;
26
26
  (r = o.onChange) == null || r.call(o, ...t), u == null || u(...t);
27
27
  },
28
28
  onPaste: (t) => {
29
- const r = t.clipboardData.getData("text"), n = t.currentTarget, i = n.selectionStart ?? n.value.length, x = n.selectionEnd ?? n.value.length, D = n.value.slice(0, i) + r + n.value.slice(x);
29
+ const r = t.clipboardData.getData("text"), n = t.currentTarget, x = n.selectionStart ?? n.value.length, i = n.selectionEnd ?? n.value.length, D = n.value.slice(0, x) + r + n.value.slice(i);
30
30
  t.preventDefault(), m.setValue(p, D, {
31
31
  shouldDirty: !0,
32
32
  shouldTouch: !0
@@ -41,7 +41,7 @@ function b(l, e) {
41
41
  }
42
42
  );
43
43
  }
44
- const B = C(b);
44
+ const E = C(b);
45
45
  export {
46
- B as FormInput
46
+ E as FormInput
47
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.0.1-beta.102",
3
+ "version": "0.0.1-beta.103",
4
4
  "description": "UI React Components.",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [