@flozy/editor 4.5.1 → 4.5.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/Elements/Signature/Signature.css +2 -5
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +1 -2
- package/dist/Editor/Elements/Signature/SignaturePopup.js +8 -12
- package/dist/Editor/Elements/Signature/Signed.js +1 -1
- package/dist/Editor/commonStyle.js +20 -5
- package/package.json +1 -1
@@ -1,5 +1,4 @@
|
|
1
1
|
.af-signature-popup .MuiTab-root {
|
2
|
-
background: #ffffff;
|
3
2
|
border: 1px solid #D3D3D3 !important;
|
4
3
|
border-radius: 7px;
|
5
4
|
height: 37px;
|
@@ -10,15 +9,13 @@
|
|
10
9
|
color: #64748b;
|
11
10
|
margin-right: 13px;
|
12
11
|
padding: 6px 10px !important;
|
13
|
-
color: #0f172a !important;
|
14
12
|
opacity: 0.7;
|
15
13
|
}
|
16
14
|
.af-signature-popup .MuiTab-root.Mui-selected {
|
17
|
-
background: #ffffff;
|
18
15
|
border: 1.5px solid #2563EB !important;
|
19
16
|
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
|
20
17
|
border-radius: 7px;
|
21
|
-
color: #
|
18
|
+
color: #2563EB !important;
|
22
19
|
}
|
23
20
|
.af-signature-popup .MuiTabs-indicator {
|
24
21
|
display: none;
|
@@ -72,7 +69,7 @@
|
|
72
69
|
top: 0px;
|
73
70
|
left: 0px;
|
74
71
|
cursor: pointer;
|
75
|
-
background-color: #F8F9FF;
|
72
|
+
/* background-color: #F8F9FF; */
|
76
73
|
}
|
77
74
|
|
78
75
|
.upload-wrapper-ui-text {
|
@@ -158,10 +158,10 @@ const SignaturePopup = props => {
|
|
158
158
|
sx: {
|
159
159
|
borderRadius: "8px",
|
160
160
|
boxShadow: "0px 4px 10px 0px #00000029",
|
161
|
-
maxWidth: "560px"
|
162
|
-
...classes.signaturePopup
|
161
|
+
maxWidth: "560px"
|
163
162
|
}
|
164
163
|
},
|
164
|
+
sx: classes.signaturePopup,
|
165
165
|
children: /*#__PURE__*/_jsx(Grid, {
|
166
166
|
container: true,
|
167
167
|
children: /*#__PURE__*/_jsxs(Grid, {
|
@@ -182,12 +182,8 @@ const SignaturePopup = props => {
|
|
182
182
|
item: true,
|
183
183
|
children: /*#__PURE__*/_jsx(Typography, {
|
184
184
|
variant: "h6",
|
185
|
-
className: `${classes.popupTitle2}`,
|
186
185
|
color: "primary",
|
187
|
-
sx:
|
188
|
-
fontWeight: 600,
|
189
|
-
color: "#000000"
|
190
|
-
},
|
186
|
+
sx: classes.popupTitle2,
|
191
187
|
children: "Signature"
|
192
188
|
})
|
193
189
|
}), /*#__PURE__*/_jsx(Grid, {
|
@@ -324,7 +320,7 @@ const SignaturePopup = props => {
|
|
324
320
|
"& .MuiOutlinedInput-root": {
|
325
321
|
borderRadius: "10px",
|
326
322
|
"& fieldset": {
|
327
|
-
|
323
|
+
border: "1px solid #D8DDE1"
|
328
324
|
}
|
329
325
|
// '&:hover fieldset': {
|
330
326
|
// borderColor: 'yourHoverColor',
|
@@ -468,7 +464,7 @@ const SignaturePopup = props => {
|
|
468
464
|
"& .MuiOutlinedInput-root": {
|
469
465
|
borderRadius: "10px",
|
470
466
|
"& fieldset": {
|
471
|
-
|
467
|
+
border: "1px solid #D8DDE1"
|
472
468
|
}
|
473
469
|
// '&:hover fieldset': {
|
474
470
|
// borderColor: 'yourHoverColor',
|
@@ -518,9 +514,9 @@ const SignaturePopup = props => {
|
|
518
514
|
marginLeft: "10px",
|
519
515
|
fontFamily: '"Inter", sans-serif',
|
520
516
|
fontSize: "14px",
|
521
|
-
fontWeight: 500
|
522
|
-
color: "#333"
|
517
|
+
fontWeight: 500
|
523
518
|
},
|
519
|
+
className: "brush-color",
|
524
520
|
children: brush.color
|
525
521
|
})]
|
526
522
|
})
|
@@ -552,7 +548,7 @@ const SignaturePopup = props => {
|
|
552
548
|
}) : null, /*#__PURE__*/_jsxs(_Fragment, {
|
553
549
|
children: [!readOnly ? /*#__PURE__*/_jsx(Button, {
|
554
550
|
onClick: handleClear,
|
555
|
-
className: "secondaryBtn actionBtn",
|
551
|
+
className: "secondaryBtn actionBtn deleteBtn",
|
556
552
|
children: "Delete"
|
557
553
|
}) : null, /*#__PURE__*/_jsx(Button, {
|
558
554
|
onClick: handleSave,
|
@@ -79,15 +79,22 @@ const useCommonStyle = theme => ({
|
|
79
79
|
color: theme?.palette?.editor?.textColor,
|
80
80
|
backgroundColor: theme?.palette?.editor?.background
|
81
81
|
},
|
82
|
+
"& .MuiInputBase-root": {
|
83
|
+
backgroundColor: theme?.palette?.editor?.background
|
84
|
+
},
|
85
|
+
"& .brush-color": {
|
86
|
+
color: theme?.palette?.editor?.textColor
|
87
|
+
},
|
82
88
|
"& .react-datepicker__input-container": {
|
83
89
|
"& svg": {
|
84
|
-
fill:
|
90
|
+
fill: "transparent"
|
85
91
|
}
|
86
92
|
},
|
87
93
|
"& fieldset": {
|
88
94
|
borderColor: theme?.palette?.editor?.textColor
|
89
95
|
},
|
90
96
|
"& .upload-wrapper-ui": {
|
97
|
+
backgroundColor: theme?.palette?.type === "dark" ? "transparent" : "#F8F9FF",
|
91
98
|
"& .MuiTypography-root": {
|
92
99
|
color: theme?.palette?.editor?.textColor
|
93
100
|
}
|
@@ -96,14 +103,22 @@ const useCommonStyle = theme => ({
|
|
96
103
|
"& button": {
|
97
104
|
color: theme?.palette?.editor?.textColor
|
98
105
|
}
|
106
|
+
},
|
107
|
+
"& .MuiTab-root": {
|
108
|
+
color: theme?.palette?.editor?.textColor,
|
109
|
+
backgroundColor: theme?.palette?.editor?.background
|
110
|
+
},
|
111
|
+
"& .close-popupbtn": {
|
112
|
+
color: theme?.palette?.editor?.textColor
|
113
|
+
},
|
114
|
+
"& .deleteBtn": {
|
115
|
+
background: "transparent"
|
99
116
|
}
|
100
117
|
}
|
101
118
|
},
|
102
119
|
popupTitle2: {
|
103
|
-
fontWeight:
|
104
|
-
|
105
|
-
display: "flex",
|
106
|
-
alignItems: "center"
|
120
|
+
fontWeight: 600,
|
121
|
+
color: theme?.palette?.editor?.textColor
|
107
122
|
},
|
108
123
|
textOptions: {
|
109
124
|
"& .MuiPopover-root": {
|