@majoo-ui/react 1.61.0-rc.1 → 1.61.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/index.esm.js +2 -4
- package/index.umd.js +2 -4
- package/package.json +3 -3
package/index.esm.js
CHANGED
|
@@ -20438,10 +20438,8 @@ const SignatureContainer = styled$1(Flex$1, {
|
|
|
20438
20438
|
},
|
|
20439
20439
|
disabled: {
|
|
20440
20440
|
true: {
|
|
20441
|
-
border: 'none',
|
|
20442
20441
|
cursor: 'not-allowed',
|
|
20443
20442
|
'&:hover': {
|
|
20444
|
-
border: 'none',
|
|
20445
20443
|
background: '$bgGray'
|
|
20446
20444
|
}
|
|
20447
20445
|
}
|
|
@@ -20504,7 +20502,7 @@ function InputSignature({
|
|
|
20504
20502
|
variant: "label",
|
|
20505
20503
|
color: "disable"
|
|
20506
20504
|
}, {
|
|
20507
|
-
children: t('placeholder', 'Tanda tangan
|
|
20505
|
+
children: t('placeholder', 'Tanda tangan di sini')
|
|
20508
20506
|
}), void 0)
|
|
20509
20507
|
}), void 0), jsx(SignatureModal, {
|
|
20510
20508
|
t: t,
|
|
@@ -20512,7 +20510,7 @@ function InputSignature({
|
|
|
20512
20510
|
onOpenChange: setOpen,
|
|
20513
20511
|
onSave: handleSave,
|
|
20514
20512
|
isMobile: isMobile,
|
|
20515
|
-
title: title || t('
|
|
20513
|
+
title: title || signatureImage ? t('editTitle', 'Ubah Tanda Tangan') : t('addTitle', 'Tambah Tanda Tangan')
|
|
20516
20514
|
}, void 0)]
|
|
20517
20515
|
}, void 0);
|
|
20518
20516
|
}
|
package/index.umd.js
CHANGED
|
@@ -20741,10 +20741,8 @@
|
|
|
20741
20741
|
},
|
|
20742
20742
|
disabled: {
|
|
20743
20743
|
true: {
|
|
20744
|
-
border: 'none',
|
|
20745
20744
|
cursor: 'not-allowed',
|
|
20746
20745
|
'&:hover': {
|
|
20747
|
-
border: 'none',
|
|
20748
20746
|
background: '$bgGray'
|
|
20749
20747
|
}
|
|
20750
20748
|
}
|
|
@@ -20810,7 +20808,7 @@
|
|
|
20810
20808
|
variant: "label",
|
|
20811
20809
|
color: "disable"
|
|
20812
20810
|
}, {
|
|
20813
|
-
children: t('placeholder', 'Tanda tangan
|
|
20811
|
+
children: t('placeholder', 'Tanda tangan di sini')
|
|
20814
20812
|
}), void 0)
|
|
20815
20813
|
}), void 0), jsxRuntime.jsx(SignatureModal, {
|
|
20816
20814
|
t: t,
|
|
@@ -20818,7 +20816,7 @@
|
|
|
20818
20816
|
onOpenChange: setOpen,
|
|
20819
20817
|
onSave: handleSave,
|
|
20820
20818
|
isMobile: isMobile,
|
|
20821
|
-
title: title || t('
|
|
20819
|
+
title: title || signatureImage ? t('editTitle', 'Ubah Tanda Tangan') : t('addTitle', 'Tambah Tanda Tangan')
|
|
20822
20820
|
}, void 0)]
|
|
20823
20821
|
}, void 0);
|
|
20824
20822
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.61.0-rc.
|
|
3
|
+
"version": "1.61.0-rc.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@majoo-ui/core": "^1.31.3",
|
|
6
6
|
"@majoo-ui/helpers": "^1.30.5",
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"react-virtual": "^2.10.4",
|
|
56
56
|
"@monsonjeremy/react-leaflet": "^3.2.2",
|
|
57
57
|
"leaflet": "1.9.3",
|
|
58
|
-
"leaflet-defaulticon-compatibility": "^0.1.2"
|
|
58
|
+
"leaflet-defaulticon-compatibility": "^0.1.2",
|
|
59
|
+
"react-signature-pad-wrapper": "4.0.4"
|
|
59
60
|
},
|
|
60
61
|
"main": "./index.umd.js",
|
|
61
62
|
"module": "./index.esm.js",
|
|
@@ -71,7 +72,6 @@
|
|
|
71
72
|
"react-hook-form": "^7.31.3",
|
|
72
73
|
"yup": "^0.32.11",
|
|
73
74
|
"@radix-ui/react-dialog": "^1.0.0",
|
|
74
|
-
"react-signature-pad-wrapper": "^4.0.4",
|
|
75
75
|
"@radix-ui/react-dismissable-layer": "^1.0.3"
|
|
76
76
|
}
|
|
77
77
|
}
|