@flozy/editor 4.0.0 → 4.0.2

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.
Files changed (39) hide show
  1. package/dist/Editor/ChatEditor.js +9 -14
  2. package/dist/Editor/CommonEditor.js +11 -7
  3. package/dist/Editor/Editor.css +36 -3
  4. package/dist/Editor/Elements/AI/AIInput.js +16 -12
  5. package/dist/Editor/Elements/AI/PopoverAIInput.js +7 -8
  6. package/dist/Editor/Elements/AI/Styles.js +0 -1
  7. package/dist/Editor/Elements/Accordion/AccordionSummary.js +15 -4
  8. package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -1
  9. package/dist/Editor/Elements/Color Picker/ColorButtons.js +3 -1
  10. package/dist/Editor/Elements/Color Picker/Styles.js +1 -0
  11. package/dist/Editor/Elements/Link/LinkPopup.js +66 -14
  12. package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -1
  13. package/dist/Editor/Elements/Signature/Signature.css +13 -6
  14. package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +2 -1
  15. package/dist/Editor/Elements/Signature/SignaturePopup.js +172 -32
  16. package/dist/Editor/Elements/SimpleText/index.js +11 -1
  17. package/dist/Editor/Elements/SimpleText/style.js +1 -1
  18. package/dist/Editor/Toolbar/FormatTools/Dropdown.js +1 -1
  19. package/dist/Editor/Toolbar/FormatTools/TextSize.js +2 -2
  20. package/dist/Editor/Toolbar/Mini/MiniToolbar.js +32 -3
  21. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/CustomSelectTool.js +3 -0
  22. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +59 -0
  23. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +2 -1
  24. package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +91 -19
  25. package/dist/Editor/Toolbar/PopupTool/TextFormat.js +56 -39
  26. package/dist/Editor/Toolbar/toolbarGroups.js +5 -5
  27. package/dist/Editor/common/EditorIcons.js +7 -7
  28. package/dist/Editor/common/Icon.js +25 -26
  29. package/dist/Editor/common/ImageList.js +16 -3
  30. package/dist/Editor/common/ImageSelector/ImageSelector.js +30 -9
  31. package/dist/Editor/common/ImageSelector/Styles.js +2 -1
  32. package/dist/Editor/common/MentionsPopup/Styles.js +1 -1
  33. package/dist/Editor/common/Shorthands/elements.js +9 -9
  34. package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +26 -20
  35. package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +18 -16
  36. package/dist/Editor/common/iconListV2.js +843 -0
  37. package/dist/Editor/commonStyle.js +6 -0
  38. package/dist/Editor/helper/theme.js +2 -1
  39. package/package.json +1 -1
@@ -110,12 +110,12 @@ const ChatEditor = /*#__PURE__*/forwardRef((props, ref) => {
110
110
  }
111
111
  }
112
112
  }));
113
- useEffect(() => {
114
- setIsExternalUpdate(true);
115
- setValue(draftToSlate({
116
- data: content
117
- }));
118
- }, [content]);
113
+
114
+ // useEffect(() => {
115
+ // setIsExternalUpdate(true);
116
+ // setValue(draftToSlate({ data: content }));
117
+ // }, [content]);
118
+
119
119
  useEffect(() => {
120
120
  if (JSON.stringify(loadedValue) !== JSON.stringify(deboundedValue) && isInteracted && onSave) {
121
121
  const {
@@ -178,14 +178,9 @@ const ChatEditor = /*#__PURE__*/forwardRef((props, ref) => {
178
178
  });
179
179
  };
180
180
  const handleEditorChange = newValue => {
181
- if (isExternalUpdate) {
182
- setIsExternalUpdate(false);
183
- return;
184
- } else {
185
- setValue(newValue);
186
- if (!isInteracted) {
187
- setIsInteracted(true);
188
- }
181
+ setValue(newValue);
182
+ if (!isInteracted) {
183
+ setIsInteracted(true);
189
184
  }
190
185
  };
191
186
  const Element = props => {
@@ -406,13 +406,17 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
406
406
  }, [pageBgImage, pageColor]);
407
407
  const themeProps = getTheme(selectedTheme);
408
408
  const handleCursorScroll = container => {
409
- const cursorPosition = window.getSelection()?.getRangeAt(0).getBoundingClientRect();
410
- const containerBottom = container.getBoundingClientRect().bottom;
411
- if (cursorPosition?.bottom > containerBottom - 250) {
412
- container.scrollBy({
413
- top: 200,
414
- behavior: 'smooth'
415
- });
409
+ try {
410
+ const cursorPosition = window.getSelection()?.getRangeAt(0).getBoundingClientRect();
411
+ const containerBottom = container.getBoundingClientRect().bottom;
412
+ if (cursorPosition?.bottom > containerBottom - 250) {
413
+ container.scrollBy({
414
+ top: 200,
415
+ behavior: "smooth"
416
+ });
417
+ }
418
+ } catch (err) {
419
+ console.log(err);
416
420
  }
417
421
  };
418
422
  return /*#__PURE__*/_jsx(ThemeContext.Provider, {
@@ -274,7 +274,7 @@ blockquote {
274
274
  margin: 12px 0px;
275
275
  padding: 0px 5px;
276
276
  border: 0px solid #ccc;
277
- min-height: 100px;
277
+ min-height: 211px;
278
278
  }
279
279
 
280
280
  .signature-signed-wrapper {
@@ -338,7 +338,7 @@ blockquote {
338
338
  .signature-canvas {
339
339
  height: 100%;
340
340
  width: 100%;
341
- border: 1px solid #0052cc;
341
+ border: 1px solid #2563EB;
342
342
  border-radius: 12px;
343
343
  }
344
344
 
@@ -371,6 +371,7 @@ blockquote {
371
371
 
372
372
  .dialog-actions-si .MuiButtonBase-root {
373
373
  opacity: 1;
374
+ padding: 6px 5px 0px 3px !important
374
375
  }
375
376
 
376
377
  .signature-tab {
@@ -381,6 +382,19 @@ blockquote {
381
382
  width: 100%;
382
383
  }
383
384
 
385
+ .signature-tab2 {
386
+ /* display: flex; */
387
+ align-items: center;
388
+ border-width: 0px, 0px, 0px, 0px;
389
+ border-style: solid;
390
+ border-color: #2563EB;
391
+ justify-content: center;
392
+ flex-direction: column;
393
+ width: 100%;
394
+ border-radius: 7px;
395
+ padding: 10px;
396
+ }
397
+
384
398
  .upload-sign-img-wrapper {
385
399
  text-align: center;
386
400
  }
@@ -446,6 +460,10 @@ blockquote {
446
460
  color: #ffffff !important;
447
461
  border: 1px solid #2563eb !important;
448
462
  width: auto !important;
463
+ padding: 2px 0px 0px 0px !important;
464
+ min-width: 89px !important;
465
+ font-family: Inter, sans-serif;
466
+ text-transform: none;
449
467
  }
450
468
 
451
469
  .MuiButton-root.primaryBtn.disabled,
@@ -466,6 +484,10 @@ blockquote {
466
484
  margin-right: 15px !important;
467
485
  color: #2563eb;
468
486
  width: auto !important;
487
+ padding: 2px 0px 0px 0px !important;
488
+ min-width: 89px !important;
489
+ font-family: Inter, sans-serif;
490
+ text-transform: none;
469
491
  }
470
492
 
471
493
  .deleteBtn {
@@ -836,6 +858,17 @@ blockquote {
836
858
  text-align: center;
837
859
  }
838
860
 
861
+ .removeScroll::-webkit-outer-spin-button,
862
+ .removeScroll::-webkit-inner-spin-button {
863
+ -webkit-appearance: none;
864
+ margin: 0;
865
+ }
866
+
867
+ /* For Firefox */
868
+ .removeScroll {
869
+ -moz-appearance: textfield;
870
+ }
871
+
839
872
  .borderInput:focus-visible {
840
873
  outline: none !important;
841
874
  }
@@ -885,7 +918,7 @@ blockquote {
885
918
  }
886
919
 
887
920
  .sliderInput {
888
- width: 66px;
921
+ width: 30px;
889
922
  padding: 2px 10px;
890
923
  margin-left: 18px;
891
924
  box-shadow: 0px 4px 16px 0px #0000000d;
@@ -4,7 +4,7 @@ import Icon from "../../common/Icon";
4
4
  // import { TbRotateClockwise } from "react-icons/tb";
5
5
  // import { FaRegCircleCheck } from "react-icons/fa6";
6
6
  import { IoSend } from "react-icons/io5";
7
- import React, { forwardRef, useEffect, useRef } from "react";
7
+ import React, { forwardRef, useEffect, useRef, useState } from "react";
8
8
  import WaveLoading from "../../common/WaveLoading";
9
9
  import CustomSelect from "./CustomSelect";
10
10
  import { editContentOptions, newContentOptions, generatedContentOptions } from "./helper";
@@ -50,6 +50,7 @@ function AIInput({
50
50
  const classes = Styles(theme);
51
51
  const inputRef = useRef();
52
52
  const inputWrapperRef = useRef();
53
+ const [contentHeight, setContentHeight] = useState("100px");
53
54
  const refs = useClickOutside({
54
55
  onClickOutside,
55
56
  omitIds: ["infinity-select-popover"],
@@ -76,23 +77,26 @@ function AIInput({
76
77
  }
77
78
  onSend("", {});
78
79
  };
80
+ useEffect(() => {
81
+ const selectWrapper = refs?.length ? refs[1]?.current : null;
82
+ const slateWrapper = document.getElementById("slate-wrapper-scroll-container");
83
+ if (selectWrapper && slateWrapper) {
84
+ const height = slateWrapper.offsetHeight - selectWrapper.offsetHeight - 80;
85
+ setContentHeight(height + "px");
86
+ }
87
+ }, [refs, generatedText]);
79
88
  return /*#__PURE__*/_jsxs(_Fragment, {
80
89
  children: [/*#__PURE__*/_jsxs(Box, {
81
90
  component: "div",
82
91
  sx: classes.aiContainer,
83
92
  children: [generatedText ? /*#__PURE__*/_jsx(Typography, {
84
93
  sx: classes.generatedText,
85
- children: /*#__PURE__*/_jsx("pre", {
86
- style: {
87
- whiteSpace: "pre-wrap",
88
- wordWrap: "break-word",
89
- fontFamily: "inherit",
90
- margin: 0
91
- },
92
- dangerouslySetInnerHTML: {
93
- __html: generatedText
94
- }
95
- })
94
+ style: {
95
+ maxHeight: contentHeight
96
+ },
97
+ dangerouslySetInnerHTML: {
98
+ __html: generatedText
99
+ }
96
100
  }) : null, /*#__PURE__*/_jsxs(Box, {
97
101
  component: "form",
98
102
  sx: classes.aiInputWrapper,
@@ -21,12 +21,13 @@ const scrollToAIInput = editor => {
21
21
  } else {
22
22
  selectionRect = ReactEditor.toDOMRange(editor, getNextLine(editor).at).getBoundingClientRect();
23
23
  }
24
- const halfOfWrapper = slateWrapper.clientHeight / 2;
25
- const selectionScollTop = selectionRect.y + selectionRect.height;
26
- if (selectionScollTop > halfOfWrapper) {
27
- // scroll to half of the slateWrapper
24
+ const selectionScrollBottom = selectionRect.bottom;
25
+
26
+ // if the cursor or selection top position is greater than 80
27
+ if (selectionScrollBottom > 80) {
28
+ // scroll to top of the slateWrapper
28
29
  slateWrapper.scrollTo({
29
- top: slateWrapper.scrollTop + selectionScollTop - halfOfWrapper,
30
+ top: slateWrapper.scrollTop + selectionScrollBottom - 80,
30
31
  behavior: "smooth"
31
32
  });
32
33
  }
@@ -149,7 +150,6 @@ function PopoverAIInput({
149
150
  const [generatedText, setGeneratedText] = useState("");
150
151
  const [inputValue, setInputValue] = useState("");
151
152
  const [selectedOption, setSelectedOption] = useState();
152
- const targetRef = useRef();
153
153
  const classes = Styles();
154
154
  const editor = useSlate();
155
155
  const onClickOutside = () => {
@@ -259,7 +259,6 @@ function PopoverAIInput({
259
259
  ...classes.aiPopper,
260
260
  width: editorElement?.offsetWidth || 400
261
261
  },
262
- ref: targetRef,
263
262
  children: ({
264
263
  TransitionProps
265
264
  }) => /*#__PURE__*/_jsx(Fade, {
@@ -287,7 +286,7 @@ function PopoverAIInput({
287
286
  })
288
287
  }), openAI ? /*#__PURE__*/_jsx("div", {
289
288
  style: {
290
- height: targetRef?.current?.clientHeight > 250 ? targetRef?.current?.clientHeight : 250,
289
+ height: "100vh",
291
290
  background: "transparent"
292
291
  }
293
292
  }) : null]
@@ -91,7 +91,6 @@ const Styles = theme => ({
91
91
  },
92
92
  generatedText: {
93
93
  margin: "8px",
94
- maxHeight: "100px",
95
94
  overflow: "auto",
96
95
  fontSize: "inherit"
97
96
  },
@@ -1,4 +1,6 @@
1
1
  import React from "react";
2
+ import { Box } from "@mui/material";
3
+ import { getBreakPointsValue, getTRBLBreakPoints } from "../../helper/theme";
2
4
  import { jsx as _jsx } from "react/jsx-runtime";
3
5
  const AccordionSummary = props => {
4
6
  const {
@@ -9,18 +11,27 @@ const AccordionSummary = props => {
9
11
  const {
10
12
  textColor,
11
13
  bgColor,
12
- borderColor
14
+ borderColor,
15
+ borderRadius,
16
+ bannerSpacing
13
17
  } = element;
14
- return /*#__PURE__*/_jsx("div", {
18
+ return /*#__PURE__*/_jsx(Box, {
15
19
  className: `accordion-summary-container`,
16
20
  ...attributes,
17
- style: {
21
+ sx: {
18
22
  width: "100%",
19
23
  position: "relative",
20
24
  backgroundColor: bgColor,
21
25
  border: `1px solid ${borderColor}`,
22
- color: textColor
26
+ color: textColor,
27
+ borderRadius: {
28
+ ...getBreakPointsValue(borderRadius || {}, null, "overrideBorderRadius", true)
29
+ },
30
+ padding: {
31
+ ...getTRBLBreakPoints(bannerSpacing)
32
+ }
23
33
  },
34
+ component: "div",
24
35
  children: children
25
36
  });
26
37
  };
@@ -2,6 +2,7 @@ import React from "react";
2
2
  import { insertCarousel } from "../../utils/carousel";
3
3
  import { Carousal } from "../../common/iconslist";
4
4
  import ToolbarIcon from "../../common/ToolbarIcon";
5
+ import { CarouselElementIcon } from "../../common/iconListV2";
5
6
  import { jsx as _jsx } from "react/jsx-runtime";
6
7
  const CarouselButton = props => {
7
8
  const {
@@ -14,7 +15,7 @@ const CarouselButton = props => {
14
15
  return /*#__PURE__*/_jsx(ToolbarIcon, {
15
16
  title: "Carousel",
16
17
  onClick: handleClick,
17
- icon: /*#__PURE__*/_jsx(Carousal, {}),
18
+ icon: /*#__PURE__*/_jsx(CarouselElementIcon, {}),
18
19
  icoBtnType: icoBtnType
19
20
  });
20
21
  };
@@ -35,7 +35,9 @@ const SingleColorButton = ({
35
35
  style: {
36
36
  width: "100%",
37
37
  display: "flex",
38
- padding: padding || "8px"
38
+ alignItems: "center",
39
+ padding: padding || "8px 0px",
40
+ justifyContent: "center"
39
41
  },
40
42
  children: [crs.map(m => /*#__PURE__*/_jsx(Button, {
41
43
  onClick: handleSelect(m),
@@ -13,6 +13,7 @@ const ColorPickerStyles = theme => ({
13
13
  }
14
14
  },
15
15
  colorPopper: {
16
+ marginTop: "20px",
16
17
  "& .MuiPaper-root": {
17
18
  backgroundColor: theme?.palette?.editor?.background,
18
19
  padding: "4px 14px",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Dialog, DialogActions, DialogContent, DialogTitle, FormControl, FormControlLabel, Grid, TextField, Button, IconButton, Typography, Checkbox } from "@mui/material";
2
+ import { Dialog, DialogActions, DialogContent, DialogTitle, FormControl, FormControlLabel, Grid, TextField, Button, IconButton, Typography, Checkbox, Divider } from "@mui/material";
3
3
  import CloseIcon from "@mui/icons-material/Close";
4
4
  import LinkPopupStyles from "./LinkPopupStyles";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -20,6 +20,9 @@ const LinkPopup = props => {
20
20
  open: open,
21
21
  className: `dialogComp`,
22
22
  children: [/*#__PURE__*/_jsx(DialogTitle, {
23
+ sx: {
24
+ padding: "13px 19px 9px 19px"
25
+ },
23
26
  children: /*#__PURE__*/_jsxs("div", {
24
27
  style: {
25
28
  display: "flex",
@@ -28,8 +31,10 @@ const LinkPopup = props => {
28
31
  children: [/*#__PURE__*/_jsx(Typography, {
29
32
  variant: "h6",
30
33
  className: "popupTitle",
31
- color: "primary",
32
- children: "LINK"
34
+ sx: {
35
+ textTransform: "none"
36
+ },
37
+ children: "Link"
33
38
  }), /*#__PURE__*/_jsx("div", {
34
39
  style: {
35
40
  display: "flex"
@@ -41,38 +46,84 @@ const LinkPopup = props => {
41
46
  })
42
47
  })]
43
48
  })
49
+ }), /*#__PURE__*/_jsx(Divider, {
50
+ sx: {
51
+ width: "auto",
52
+ // Or set a fixed width like "90%"
53
+ margin: "0px 20px" // Horizontal margin
54
+ }
44
55
  }), /*#__PURE__*/_jsxs(DialogContent, {
45
- children: [/*#__PURE__*/_jsx(Grid, {
56
+ sx: {
57
+ padding: "5px 19px 0px 19px"
58
+ },
59
+ children: [/*#__PURE__*/_jsxs(Grid, {
46
60
  item: true,
47
61
  xs: 12,
48
62
  style: {
49
63
  paddingTop: "12px"
50
64
  },
51
- className: classes.titleTypo,
52
- children: /*#__PURE__*/_jsx(TextField, {
65
+ children: [/*#__PURE__*/_jsx(Typography, {
66
+ sx: {
67
+ fontFamily: 'Inter, sans-serif',
68
+ fontSize: "14px",
69
+ marginBottom: "6px"
70
+ },
71
+ children: "Title"
72
+ }), /*#__PURE__*/_jsx(TextField, {
53
73
  size: "small",
54
74
  fullWidth: true,
55
75
  value: linkData?.name,
56
76
  name: "name",
57
77
  placeholder: "Link Title",
58
78
  onChange: handleInputChange,
59
- sx: classes.addLinkField
60
- })
61
- }), /*#__PURE__*/_jsx(Grid, {
79
+ sx: {
80
+ '& .MuiOutlinedInput-root': {
81
+ borderRadius: '8px'
82
+ },
83
+ '& .MuiInputBase-input': {
84
+ color: themeType === "dark" ? "#FFFFFF" : '#000'
85
+ },
86
+ '& .MuiInputBase-input::placeholder': {
87
+ color: '#94A3B8',
88
+ fontFamily: '"Inter", sans-serif'
89
+ }
90
+ }
91
+ // sx={classes.addLinkField}
92
+ })]
93
+ }), /*#__PURE__*/_jsxs(Grid, {
62
94
  item: true,
63
95
  xs: 12,
64
96
  style: {
65
97
  paddingTop: "12px"
66
98
  },
67
- children: /*#__PURE__*/_jsx(TextField, {
99
+ children: [/*#__PURE__*/_jsx(Typography, {
100
+ sx: {
101
+ fontFamily: 'Inter, sans-serif',
102
+ fontSize: "14px",
103
+ marginBottom: "6px"
104
+ },
105
+ children: "URL"
106
+ }), /*#__PURE__*/_jsx(TextField, {
68
107
  size: "small",
69
108
  fullWidth: true,
70
109
  name: "url",
71
110
  value: linkData?.url,
72
111
  placeholder: "https://google.com",
73
112
  onChange: handleInputChange,
74
- sx: classes.addLinkField
75
- })
113
+ sx: {
114
+ '& .MuiOutlinedInput-root': {
115
+ borderRadius: '8px'
116
+ },
117
+ '& .MuiInputBase-input': {
118
+ color: themeType === "dark" ? "#FFFFFF" : '#000'
119
+ },
120
+ '& .MuiInputBase-input::placeholder': {
121
+ color: '#94A3B8',
122
+ fontFamily: '"Inter", sans-serif'
123
+ }
124
+ }
125
+ // sx={classes.addLinkField}
126
+ })]
76
127
  }), /*#__PURE__*/_jsx(Grid, {
77
128
  item: true,
78
129
  xs: 12,
@@ -88,9 +139,10 @@ const LinkPopup = props => {
88
139
  }),
89
140
  label: /*#__PURE__*/_jsx(Typography, {
90
141
  variant: "body1",
91
- color: "primary",
92
142
  sx: {
93
- pl: 1
143
+ paddingLeft: "0px",
144
+ fontSize: "14px",
145
+ fontFamily: '"Inter", sans-serif'
94
146
  },
95
147
  children: "Open in new tab"
96
148
  })
@@ -3,6 +3,7 @@ import KeyboardReturnIcon from "@mui/icons-material/KeyboardReturn";
3
3
  import { Transforms } from "slate";
4
4
  import { ReactEditor, useSlateStatic } from "slate-react";
5
5
  import ToolbarIcon from "../../common/ToolbarIcon";
6
+ import { NewLineElementIcon } from "../../common/iconListV2";
6
7
  import { jsx as _jsx } from "react/jsx-runtime";
7
8
  const NewLineButton = ({
8
9
  icoBtnType
@@ -23,7 +24,7 @@ const NewLineButton = ({
23
24
  return /*#__PURE__*/_jsx(ToolbarIcon, {
24
25
  title: "New Line",
25
26
  onClick: onAddNewLine,
26
- icon: /*#__PURE__*/_jsx(KeyboardReturnIcon, {
27
+ icon: /*#__PURE__*/_jsx(NewLineElementIcon, {
27
28
  sx: {
28
29
  fill: "#64748B",
29
30
  width: "18px",
@@ -1,6 +1,6 @@
1
1
  .af-signature-popup .MuiTab-root {
2
2
  background: #ffffff;
3
- border: 1px solid #d3d3d3 !important;
3
+ border: 1px solid #D3D3D3 !important;
4
4
  border-radius: 7px;
5
5
  height: 37px;
6
6
  min-height: 37px;
@@ -15,10 +15,10 @@
15
15
  }
16
16
  .af-signature-popup .MuiTab-root.Mui-selected {
17
17
  background: #ffffff;
18
- border: 1px solid #2563eb !important;
18
+ border: 1.5px solid #2563EB !important;
19
19
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
20
20
  border-radius: 7px;
21
- color: #0f172a !important;
21
+ color: #000000 !important;
22
22
  }
23
23
  .af-signature-popup .MuiTabs-indicator {
24
24
  display: none;
@@ -60,16 +60,23 @@
60
60
  cursor: pointer;
61
61
  }
62
62
  .upload-wrapper-ui {
63
- border: 1px solid #2563eb !important;
64
- box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.17) !important;
63
+ border: 1px dashed #92B1F5 !important;
64
+ /* box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.17) !important; */
65
65
  border-radius: 7px;
66
66
  display: flex;
67
67
  align-items: center;
68
68
  justify-content: center;
69
69
  position: absolute;
70
70
  width: 100%;
71
- height: 100px;
71
+ height: 187px;
72
72
  top: 0px;
73
73
  left: 0px;
74
74
  cursor: pointer;
75
+ background-color: #F8F9FF;
76
+ }
77
+
78
+ .upload-wrapper-ui-text {
79
+ font-size: 16px !important;
80
+ font-weight: 600 !important;
81
+ font-family: 'Wavehaus';
75
82
  }
@@ -28,7 +28,7 @@ const UploadSignature = props => {
28
28
  });
29
29
  };
30
30
  return /*#__PURE__*/_jsxs("div", {
31
- className: "signature-tab",
31
+ className: "signature-tab2",
32
32
  children: [uploading ? "Uploading..." : "", base64 ? /*#__PURE__*/_jsx("div", {
33
33
  className: "upload-sign-img-wrapper",
34
34
  children: /*#__PURE__*/_jsx("img", {
@@ -48,6 +48,7 @@ const UploadSignature = props => {
48
48
  justifyContent: "center",
49
49
  alignItems: "center",
50
50
  children: [/*#__PURE__*/_jsx(CloudUpload, {}), /*#__PURE__*/_jsx(Typography, {
51
+ className: "upload-wrapper-ui-text",
51
52
  variant: "h6",
52
53
  color: "textSecondary",
53
54
  sx: {