@arthurzakharov/ui-kit 1.3.8 → 1.3.9

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.
@@ -1,7 +1,7 @@
1
1
  import { BaseProps } from '../../utils/types';
2
2
  export interface SignatureProps extends BaseProps {
3
- valueAuto: string;
4
- valueManual: string;
3
+ auto: string;
4
+ manual: string;
5
5
  getSignature: () => Promise<{
6
6
  signature: string;
7
7
  }>;
@@ -1062,7 +1062,7 @@ const ct = /* @__PURE__ */ Be(ut), lt = "_Signature_4mfzi_1", ft = "_SignatureMa
1062
1062
  SignatureAutoPanelNoteIcon: bt,
1063
1063
  SignatureAutoPanelButton: St
1064
1064
  }, jt = (e) => {
1065
- const { valueAuto: n, valueManual: r, getSignature: t, onChangeManual: a, onChangeAuto: o, className: c = "" } = e, u = Pe(null), d = Pe(!1), [i, l] = ue(null), [v, m] = ue(r ? "manual" : "auto"), [_, b] = ue(""), [x, S] = ue(!1), { width: g = 0, height: W = 0 } = Ne({ ref: u, box: "border-box" }), $ = v === "auto" ? n ? "auto-generated" : "auto-loading" : _ ? "manual-drawn" : r ? "manual-stored" : "manual-blank", k = n !== "" || x, f = r || _, X = re(
1065
+ const { auto: n, manual: r, getSignature: t, onChangeManual: a, onChangeAuto: o, className: c = "" } = e, u = Pe(null), d = Pe(!1), [i, l] = ue(null), [v, m] = ue(r ? "manual" : "auto"), [_, b] = ue(""), [x, S] = ue(!1), { width: g = 0, height: W = 0 } = Ne({ ref: u, box: "border-box" }), $ = v === "auto" ? n ? "auto-generated" : "auto-loading" : _ ? "manual-drawn" : r ? "manual-stored" : "manual-blank", k = n !== "" || x, f = r || _, X = re(
1066
1066
  (U) => {
1067
1067
  !i || !g || !W || !U || i.fromDataURL(U, {
1068
1068
  width: +g.toFixed(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.3.8",
4
+ "version": "1.3.9",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",