@flozy/editor 5.3.3 → 5.3.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/Editor.css +30 -7
- package/dist/Editor/Elements/Accordion/Accordion.js +8 -1
- package/dist/Editor/Elements/Button/EditorButton.js +2 -1
- package/dist/Editor/Elements/Divider/Divider.js +24 -9
- package/dist/Editor/Elements/Embed/Image.js +31 -12
- package/dist/Editor/Elements/Embed/Video.js +13 -2
- package/dist/Editor/Elements/Grid/GridItem.js +2 -0
- package/dist/Editor/Elements/Grid/Styles.js +44 -0
- package/dist/Editor/Elements/PageSettings/PageSettingsButton.js +1 -0
- package/dist/Editor/Elements/Signature/SignaturePopup.js +4 -4
- package/dist/Editor/MiniEditor.js +15 -1
- package/dist/Editor/Styles/EditorStyles.js +3 -1
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +17 -1
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +5 -3
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +200 -72
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +10 -8
- package/dist/Editor/assets/svg/SettingsIcon.js +4 -4
- package/dist/Editor/common/ColorPickerButton.js +5 -3
- package/dist/Editor/common/DnD/Draggable.js +2 -1
- package/dist/Editor/common/ImageSelector/Options/Upload.js +2 -1
- package/dist/Editor/common/ImageSelector/Styles.js +47 -6
- package/dist/Editor/common/ImageSelector/UploadStyles.js +18 -6
- package/dist/Editor/common/MentionsPopup/Styles.js +108 -118
- package/dist/Editor/common/Section/index.js +3 -3
- package/dist/Editor/common/Section/styles.js +5 -1
- package/dist/Editor/common/StyleBuilder/fieldStyle.js +2 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +4 -3
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +27 -3
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +15 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +2 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +1 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +2 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/radiusStyle.js +4 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/saveAsTemplate.js +22 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/selectBox.js +21 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/text.js +15 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +7 -0
- package/dist/Editor/common/StyleBuilder/index.js +18 -10
- package/dist/Editor/common/ToolbarIcon.js +2 -1
- package/dist/Editor/common/Uploader.js +42 -40
- package/dist/Editor/common/iconListV2.js +295 -77
- package/dist/Editor/commonStyle.js +281 -4
- package/dist/Editor/plugins/withCustomDeleteBackward.js +33 -2
- package/dist/Editor/plugins/withLayout.js +0 -41
- package/dist/Editor/utils/helper.js +6 -1
- package/package.json +2 -2
@@ -90,12 +90,16 @@ const usePopupStyle = theme => ({
|
|
90
90
|
},
|
91
91
|
"& .more-btn-cbs": {
|
92
92
|
color: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
93
|
-
border: `
|
94
|
-
paddingTop: "10px"
|
93
|
+
border: `1px solid ${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
94
|
+
paddingTop: "10px",
|
95
|
+
"& svg": {
|
96
|
+
width: "20px",
|
97
|
+
height: "24px"
|
98
|
+
}
|
95
99
|
}
|
96
100
|
},
|
97
101
|
"@media only screen and (max-width: 599px)": {
|
98
|
-
margin: "10px !important",
|
102
|
+
// margin: "10px !important",
|
99
103
|
background: "unset",
|
100
104
|
boxShadow: "unset"
|
101
105
|
// border: "none",
|
@@ -125,6 +129,9 @@ const usePopupStyle = theme => ({
|
|
125
129
|
width: "330px"
|
126
130
|
}
|
127
131
|
},
|
132
|
+
"& .MuiTypography-root": {
|
133
|
+
padding: "0px"
|
134
|
+
},
|
128
135
|
"&.templates": {
|
129
136
|
width: "500px",
|
130
137
|
maxWidth: "100%",
|
@@ -146,6 +153,7 @@ const usePopupStyle = theme => ({
|
|
146
153
|
},
|
147
154
|
"& .MuiTabScrollButton-horizontal": {
|
148
155
|
borderBottom: "unset !important",
|
156
|
+
width: "10px",
|
149
157
|
"& svg": {
|
150
158
|
color: theme?.palette?.editor?.closeButtonSvgStroke
|
151
159
|
}
|
@@ -215,37 +223,37 @@ const usePopupStyle = theme => ({
|
|
215
223
|
}
|
216
224
|
},
|
217
225
|
"&:hover": {
|
218
|
-
backgroundColor: `${theme?.palette?.editor?.
|
226
|
+
backgroundColor: `${theme?.palette?.editor?.menuOptionHoverBackground} !important`,
|
219
227
|
"& .signatureElementIcon": {
|
220
228
|
"& path": {
|
221
|
-
fill: `${theme?.palette?.editor?.
|
229
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
222
230
|
}
|
223
231
|
},
|
224
232
|
"& .commonSvgStyle": {
|
225
233
|
"& path": {
|
226
|
-
stroke: `${theme?.palette?.editor?.
|
234
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
227
235
|
}
|
228
236
|
},
|
229
237
|
"& .commonSvgStyle2": {
|
230
238
|
"& path": {
|
231
|
-
stroke: `${theme?.palette?.editor?.
|
239
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
232
240
|
}
|
233
241
|
},
|
234
242
|
"& .colorBoxElementIcon": {
|
235
243
|
"& path": {
|
236
|
-
stroke: `${theme?.palette?.editor?.
|
244
|
+
stroke: `${theme?.palette?.editor?.textColor}`,
|
237
245
|
fill: "none"
|
238
246
|
}
|
239
247
|
},
|
240
248
|
"& .gridElementIcon": {
|
241
249
|
"& path": {
|
242
|
-
stroke: `${theme?.palette?.editor?.
|
243
|
-
fill: `${theme?.palette?.editor?.
|
250
|
+
stroke: `${theme?.palette?.editor?.textColor}`,
|
251
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
244
252
|
}
|
245
253
|
},
|
246
254
|
"& .newLineElementIcon": {
|
247
255
|
"& path": {
|
248
|
-
fill: `${theme?.palette?.editor?.
|
256
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
249
257
|
}
|
250
258
|
}
|
251
259
|
},
|
@@ -289,8 +297,11 @@ const usePopupStyle = theme => ({
|
|
289
297
|
},
|
290
298
|
"& .textFormatMUIIcon": {
|
291
299
|
"& svg": {
|
292
|
-
color: theme?.palette?.editor?.closeButtonSvgStroke
|
300
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
293
301
|
}
|
302
|
+
},
|
303
|
+
"& .npr-0": {
|
304
|
+
paddingRight: "0px !important"
|
294
305
|
}
|
295
306
|
},
|
296
307
|
textFormatLabel: {
|
@@ -324,8 +335,8 @@ const usePopupStyle = theme => ({
|
|
324
335
|
borderBottom: `1px solid ${theme?.palette?.editor?.deviderBgColor} !important`
|
325
336
|
},
|
326
337
|
textFormatField: {
|
327
|
-
marginBottom: "
|
328
|
-
marginTop: "
|
338
|
+
marginBottom: "8px",
|
339
|
+
marginTop: "8px"
|
329
340
|
},
|
330
341
|
textFormatField1: {
|
331
342
|
marginBottom: "16px",
|
@@ -339,58 +350,68 @@ const usePopupStyle = theme => ({
|
|
339
350
|
marginBottom: "16px"
|
340
351
|
},
|
341
352
|
textAlignButtons: {
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
353
|
+
paddingLeft: "0px",
|
354
|
+
paddingRight: "12px",
|
355
|
+
"&:hover": {
|
356
|
+
background: "unset"
|
357
|
+
},
|
358
|
+
"&:not(.btnActive):hover": {
|
359
|
+
background: "unset",
|
360
|
+
color: `${theme?.palette?.editor?.textColor} !important`,
|
361
|
+
"& .justifyIcon": {
|
362
|
+
"& path": {
|
363
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
364
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"& .textAlignIconSameStyles": {
|
368
|
+
"& path": {
|
369
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
370
|
+
}
|
371
|
+
},
|
372
|
+
"& .orderedListIcon": {
|
373
|
+
"& .strokePathList": {
|
374
|
+
stroke: `${theme?.palette?.editor?.textColor} !important`
|
375
|
+
},
|
376
|
+
"& .fillPathList": {
|
377
|
+
fill: `${theme?.palette?.editor?.textColor} !important`
|
378
|
+
}
|
379
|
+
},
|
380
|
+
"& .bulletedListTextIcon": {
|
381
|
+
"& path": {
|
382
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
383
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
384
|
+
},
|
385
|
+
"& circle": {
|
386
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
387
|
+
}
|
388
|
+
},
|
389
|
+
"& .checkedListTextIcon": {
|
390
|
+
"& path": {
|
391
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
392
|
+
}
|
393
|
+
},
|
394
|
+
"& .accordianListTextIcon": {
|
395
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor} !important`,
|
396
|
+
"& svg": {
|
397
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
398
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
399
|
+
},
|
400
|
+
"& path": {
|
401
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
402
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
403
|
+
}
|
404
|
+
}
|
405
|
+
}
|
386
406
|
},
|
387
407
|
autoCompleteaFontFamily: {
|
388
408
|
"& .MuiOutlinedInput-root": {
|
389
409
|
borderRadius: "8px",
|
390
410
|
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor}`,
|
391
|
-
fontSize: "
|
411
|
+
fontSize: "12px",
|
412
|
+
fontWeight: "400",
|
392
413
|
height: "36px",
|
393
|
-
paddingLeft: "
|
414
|
+
paddingLeft: "12px !important"
|
394
415
|
},
|
395
416
|
"& .MuiOutlinedInput-notchedOutline": {
|
396
417
|
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
@@ -399,6 +420,41 @@ const usePopupStyle = theme => ({
|
|
399
420
|
'& input': {
|
400
421
|
border: "none !important"
|
401
422
|
}
|
423
|
+
},
|
424
|
+
"& svg": {
|
425
|
+
width: "20px",
|
426
|
+
height: "24px"
|
427
|
+
}
|
428
|
+
},
|
429
|
+
fontFamilyListOptions: {
|
430
|
+
"& .MuiAutocomplete-listbox": {
|
431
|
+
padding: "0px",
|
432
|
+
"&::-webkit-scrollbar-thumb": {
|
433
|
+
background: `none !important`
|
434
|
+
},
|
435
|
+
"&::-webkit-scrollbar-track": {
|
436
|
+
visibility: "hidden"
|
437
|
+
},
|
438
|
+
"&::-webkit-scrollbar-thumb": {
|
439
|
+
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
440
|
+
},
|
441
|
+
"&::-webkit-scrollbar-track": {
|
442
|
+
visibility: "hidden"
|
443
|
+
},
|
444
|
+
"& li": {
|
445
|
+
margin: "5px",
|
446
|
+
borderRadius: "8px",
|
447
|
+
color: theme?.palette?.editor?.menuOptionTextColor,
|
448
|
+
fontSize: '14px',
|
449
|
+
padding: '8px 12px',
|
450
|
+
'&[aria-selected="true"]': {
|
451
|
+
backgroundColor: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`
|
452
|
+
}
|
453
|
+
}
|
454
|
+
},
|
455
|
+
"& .MuiPaper-root": {
|
456
|
+
borderRadius: "8px",
|
457
|
+
background: theme?.palette?.editor?.textWeightPopUpBackground
|
402
458
|
}
|
403
459
|
},
|
404
460
|
textFormatSelect: {
|
@@ -410,6 +466,10 @@ const usePopupStyle = theme => ({
|
|
410
466
|
fontFamily: "Inter, sans-serif",
|
411
467
|
"& .MuiOutlinedInput-notchedOutline": {
|
412
468
|
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
469
|
+
},
|
470
|
+
"& svg": {
|
471
|
+
width: "20px",
|
472
|
+
height: "24px"
|
413
473
|
}
|
414
474
|
},
|
415
475
|
textFormatSelectOptions: {
|
@@ -431,15 +491,32 @@ const usePopupStyle = theme => ({
|
|
431
491
|
boxShadow: "0px 4px 18px 0px rgba(0, 0, 0, 0.05)"
|
432
492
|
},
|
433
493
|
dividerGrid: {
|
434
|
-
margin: "5px 0px 10px 0px"
|
435
|
-
background: `${theme?.palette?.editor?.deviderBgColor} !important
|
494
|
+
margin: "5px 0px 10px 0px"
|
495
|
+
// background: `${theme?.palette?.editor?.deviderBgColor} !important`,
|
436
496
|
},
|
497
|
+
|
437
498
|
textFormatColorWrpr: {
|
438
499
|
display: "flex",
|
439
500
|
alignItems: "center",
|
440
501
|
marginBottom: "8px"
|
441
502
|
},
|
442
|
-
textFormatCG: {
|
503
|
+
textFormatCG: {
|
504
|
+
alignItems: "flexStart",
|
505
|
+
justifyContent: "center",
|
506
|
+
flexDirection: "row",
|
507
|
+
"& .accordionIcon": {
|
508
|
+
paddingLeft: "0px",
|
509
|
+
paddingRight: "12px",
|
510
|
+
"&:not(.btnActive):hover": {
|
511
|
+
background: "unset",
|
512
|
+
"& .accordianIconSvgTextFormat": {
|
513
|
+
"& path": {
|
514
|
+
stroke: theme?.palette?.editor?.textColor
|
515
|
+
}
|
516
|
+
}
|
517
|
+
}
|
518
|
+
}
|
519
|
+
},
|
443
520
|
evenSpace: {
|
444
521
|
display: "flex",
|
445
522
|
flexDirection: "row",
|
@@ -451,7 +528,36 @@ const usePopupStyle = theme => ({
|
|
451
528
|
"&.typo-icons": {
|
452
529
|
"& button": {
|
453
530
|
width: "31px",
|
454
|
-
height: "36px"
|
531
|
+
height: "36px",
|
532
|
+
"&:hover": {
|
533
|
+
background: "unset"
|
534
|
+
},
|
535
|
+
"&:not(.btnActive):hover": {
|
536
|
+
background: "unset",
|
537
|
+
"& svg": {
|
538
|
+
color: `${theme?.palette?.editor?.textColor} !important`
|
539
|
+
},
|
540
|
+
"& .linkIcon": {
|
541
|
+
"& path": {
|
542
|
+
stroke: theme?.palette?.editor?.textColor
|
543
|
+
}
|
544
|
+
}
|
545
|
+
}
|
546
|
+
},
|
547
|
+
alignItems: "flexStart",
|
548
|
+
justifyContent: "center",
|
549
|
+
flexDirection: "row",
|
550
|
+
"&:hover": {
|
551
|
+
background: "unset"
|
552
|
+
},
|
553
|
+
"& .customSelectTool": {
|
554
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke,
|
555
|
+
fontWeight: "510",
|
556
|
+
"& svg": {
|
557
|
+
marginTop: "8px",
|
558
|
+
width: "16px",
|
559
|
+
height: "8px"
|
560
|
+
}
|
455
561
|
}
|
456
562
|
},
|
457
563
|
"&.text-decorations-wrpr": {
|
@@ -464,15 +570,24 @@ const usePopupStyle = theme => ({
|
|
464
570
|
fontSize: "14px",
|
465
571
|
marginBottom: "5px",
|
466
572
|
paddingLeft: "5px",
|
573
|
+
marginTop: "4px",
|
467
574
|
fontWeight: 500,
|
468
575
|
color: theme?.palette?.editor?.textColor || "#000"
|
469
576
|
},
|
470
577
|
typoLabel2: {
|
471
578
|
fontSize: "14px",
|
472
|
-
marginBottom: "
|
473
|
-
paddingLeft: "10px",
|
579
|
+
marginBottom: "2px",
|
580
|
+
// paddingLeft: "10px",
|
474
581
|
fontWeight: 500
|
475
582
|
},
|
583
|
+
typoLabel3: {
|
584
|
+
fontSize: "14px",
|
585
|
+
marginBottom: "10px",
|
586
|
+
paddingLeft: "5px",
|
587
|
+
marginTop: "4px",
|
588
|
+
fontWeight: 500,
|
589
|
+
color: theme?.palette?.editor?.textColor || "#000"
|
590
|
+
},
|
476
591
|
templateCard: {
|
477
592
|
borderRadius: "10px",
|
478
593
|
boxShadow: "none",
|
@@ -545,6 +660,7 @@ const usePopupStyle = theme => ({
|
|
545
660
|
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
546
661
|
borderRadius: "7px",
|
547
662
|
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
663
|
+
height: "36px",
|
548
664
|
"& button": {
|
549
665
|
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
550
666
|
marginRight: "0px",
|
@@ -576,12 +692,17 @@ const usePopupStyle = theme => ({
|
|
576
692
|
width: "2px",
|
577
693
|
height: "25px",
|
578
694
|
margin: "5px 0px"
|
695
|
+
},
|
696
|
+
"& svg": {
|
697
|
+
width: "20px",
|
698
|
+
height: "24px"
|
579
699
|
}
|
580
700
|
},
|
581
701
|
btnGroup2: {
|
582
702
|
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
583
703
|
borderRadius: "7px",
|
584
704
|
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
705
|
+
height: "36px",
|
585
706
|
"& button": {
|
586
707
|
backgroundColor: theme?.palette?.editor?.background,
|
587
708
|
marginRight: "0px",
|
@@ -600,6 +721,10 @@ const usePopupStyle = theme => ({
|
|
600
721
|
"&.no-hover": {
|
601
722
|
border: `1px solid #ffffff00`,
|
602
723
|
borderRadius: "7px 0px 0px 7px"
|
724
|
+
},
|
725
|
+
"& svg": {
|
726
|
+
width: "20px",
|
727
|
+
height: "24px"
|
603
728
|
}
|
604
729
|
},
|
605
730
|
"& .colorBox": {
|
@@ -659,14 +784,14 @@ const usePopupStyle = theme => ({
|
|
659
784
|
textTransform: "none",
|
660
785
|
textDecorationLine: "underline",
|
661
786
|
textUnderlineOffset: "2px",
|
662
|
-
padding: "0px
|
787
|
+
padding: "0px"
|
663
788
|
},
|
664
789
|
defaultBtn2: {
|
665
790
|
color: `${theme?.palette?.editor?.deafultColorOptionTextColor} !important`,
|
666
791
|
textTransform: "none",
|
667
792
|
textDecorationLine: "underline",
|
668
793
|
textUnderlineOffset: "2px",
|
669
|
-
padding: "0px
|
794
|
+
padding: "0px"
|
670
795
|
},
|
671
796
|
defaultBtn: {
|
672
797
|
color: "#0F172A",
|
@@ -732,7 +857,10 @@ const usePopupStyle = theme => ({
|
|
732
857
|
},
|
733
858
|
"& .textFontArrows": {
|
734
859
|
"& svg": {
|
735
|
-
stroke: theme?.palette?.editor?.
|
860
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke,
|
861
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke,
|
862
|
+
width: "10px",
|
863
|
+
height: "12px"
|
736
864
|
}
|
737
865
|
}
|
738
866
|
},
|
@@ -751,7 +879,7 @@ const usePopupStyle = theme => ({
|
|
751
879
|
"& .popup_tabs": {
|
752
880
|
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
753
881
|
"@media only screen and (max-width: 899px)": {
|
754
|
-
width:
|
882
|
+
width: "100% !important"
|
755
883
|
}
|
756
884
|
},
|
757
885
|
"& .popup_tabs-header": {
|
@@ -953,10 +1081,10 @@ const usePopupStyle = theme => ({
|
|
953
1081
|
color: `${theme?.palette?.editor?.menuOptionTextColor} !important`,
|
954
1082
|
background: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`,
|
955
1083
|
"& .orderedListIcon": {
|
956
|
-
"&
|
1084
|
+
"& .strokePathList": {
|
957
1085
|
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
958
1086
|
},
|
959
|
-
"&
|
1087
|
+
"& .fillPathList": {
|
960
1088
|
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
961
1089
|
}
|
962
1090
|
},
|
@@ -137,6 +137,7 @@ const TextFormat = props => {
|
|
137
137
|
format: "fontFamily",
|
138
138
|
val: Object.values(fontFamilyMap)[0]
|
139
139
|
}),
|
140
|
+
className: "npr-0",
|
140
141
|
children: "Default Text"
|
141
142
|
})
|
142
143
|
})]
|
@@ -161,7 +162,7 @@ const TextFormat = props => {
|
|
161
162
|
children: [/*#__PURE__*/_jsx(Typography, {
|
162
163
|
variant: "body1",
|
163
164
|
color: "primary",
|
164
|
-
sx: classes.
|
165
|
+
sx: classes.typoLabel3,
|
165
166
|
children: "Font Weight"
|
166
167
|
}), /*#__PURE__*/_jsx(Grid, {
|
167
168
|
item: true,
|
@@ -178,10 +179,11 @@ const TextFormat = props => {
|
|
178
179
|
}), /*#__PURE__*/_jsxs(Grid, {
|
179
180
|
item: true,
|
180
181
|
xs: 6,
|
182
|
+
className: "npr-0",
|
181
183
|
children: [/*#__PURE__*/_jsx(Typography, {
|
182
184
|
variant: "body1",
|
183
185
|
color: "primary",
|
184
|
-
sx: classes.
|
186
|
+
sx: classes.typoLabel3,
|
185
187
|
children: "Font Size"
|
186
188
|
}), /*#__PURE__*/_jsx(Grid, {
|
187
189
|
item: true,
|
@@ -361,15 +363,15 @@ const TextFormat = props => {
|
|
361
363
|
editor: editor,
|
362
364
|
...m
|
363
365
|
}, `pptool_mark_${i}_${m.id}`);
|
364
|
-
}), /*#__PURE__*/_jsx(SelectSuperSubscript, {
|
365
|
-
classes: classes,
|
366
|
-
editor: editor,
|
367
|
-
closeMainPopup: closeMainPopup || onClose
|
368
366
|
}), /*#__PURE__*/_jsx(LinkButton, {
|
369
367
|
active: isBlockActive(editor, link.format),
|
370
368
|
editor: editor,
|
371
369
|
customProps: customProps
|
372
|
-
}, link.id)
|
370
|
+
}, link.id), /*#__PURE__*/_jsx(SelectSuperSubscript, {
|
371
|
+
classes: classes,
|
372
|
+
editor: editor,
|
373
|
+
closeMainPopup: closeMainPopup || onClose
|
374
|
+
})]
|
373
375
|
})]
|
374
376
|
}), /*#__PURE__*/_jsx(Grid, {
|
375
377
|
item: true,
|
@@ -412,7 +414,7 @@ const TextFormat = props => {
|
|
412
414
|
children: /*#__PURE__*/_jsx(Typography, {
|
413
415
|
variant: "body1",
|
414
416
|
color: "primary",
|
415
|
-
sx: classes.
|
417
|
+
sx: classes.typoLabel3,
|
416
418
|
children: "Decorations"
|
417
419
|
})
|
418
420
|
}), /*#__PURE__*/_jsxs(Grid, {
|
@@ -2,21 +2,21 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
3
|
const SettingsIcon = props => {
|
4
4
|
return /*#__PURE__*/_jsxs("svg", {
|
5
|
-
width: "
|
5
|
+
width: "18",
|
6
6
|
height: "18",
|
7
|
-
viewBox: "0 0
|
7
|
+
viewBox: "0 0 18 18",
|
8
8
|
fill: "none",
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
10
10
|
...props,
|
11
11
|
children: [/*#__PURE__*/_jsx("path", {
|
12
|
-
d: "
|
12
|
+
d: "M9 11.25C10.2426 11.25 11.25 10.2426 11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25Z",
|
13
13
|
stroke: "#64748B",
|
14
14
|
strokeWidth: "1.5",
|
15
15
|
strokeMiterlimit: "10",
|
16
16
|
strokeLinecap: "round",
|
17
17
|
strokeLinejoin: "round"
|
18
18
|
}), /*#__PURE__*/_jsx("path", {
|
19
|
-
d: "M1.
|
19
|
+
d: "M1.5 9.6591V8.3391C1.5 7.5591 2.1375 6.9141 2.925 6.9141C4.2825 6.9141 4.8375 5.9541 4.155 4.7766C3.765 4.1016 3.9975 3.2241 4.68 2.8341L5.9775 2.0916C6.57 1.7391 7.335 1.9491 7.6875 2.5416L7.77 2.6841C8.445 3.8616 9.555 3.8616 10.2375 2.6841L10.32 2.5416C10.6725 1.9491 11.4375 1.7391 12.03 2.0916L13.3275 2.8341C14.01 3.2241 14.2425 4.1016 13.8525 4.7766C13.17 5.9541 13.725 6.9141 15.0825 6.9141C15.8625 6.9141 16.5075 7.5516 16.5075 8.3391V9.6591C16.5075 10.4391 15.87 11.0841 15.0825 11.0841C13.725 11.0841 13.17 12.0441 13.8525 13.2216C14.2425 13.9041 14.01 14.7741 13.3275 15.1641L12.03 15.9066C11.4375 16.2591 10.6725 16.0491 10.32 15.4566L10.2375 15.3141C9.5625 14.1366 8.4525 14.1366 7.77 15.3141L7.6875 15.4566C7.335 16.0491 6.57 16.2591 5.9775 15.9066L4.68 15.1641C3.9975 14.7741 3.765 13.8966 4.155 13.2216C4.8375 12.0441 4.2825 11.0841 2.925 11.0841C2.1375 11.0841 1.5 10.4391 1.5 9.6591Z",
|
20
20
|
stroke: "#64748B",
|
21
21
|
strokeWidth: "1.5",
|
22
22
|
strokeMiterlimit: "10",
|
@@ -82,10 +82,12 @@ const ColorPickerButton = props => {
|
|
82
82
|
height: "22px",
|
83
83
|
minWidth: "22px",
|
84
84
|
borderRadius: "26px"
|
85
|
-
// border: "2px solid #E7E7E7",
|
86
85
|
},
|
87
|
-
|
88
|
-
|
86
|
+
onClick: handleColorPicker,
|
87
|
+
className: "colorPickerButton",
|
88
|
+
sx: {
|
89
|
+
...classes.colorPickerBtnBorder
|
90
|
+
}
|
89
91
|
}), isMobile ? /*#__PURE__*/_jsx(SwipeableDrawerComponent, {
|
90
92
|
open: open,
|
91
93
|
onClose: handleClose,
|
@@ -2,6 +2,7 @@ import React, { useEffect } from "react";
|
|
2
2
|
import { useDraggable } from "@dnd-kit/core";
|
3
3
|
import { Box } from "@mui/material";
|
4
4
|
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
|
5
|
+
import { SectionDragIcon } from "../iconListV2";
|
5
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
7
|
const Draggable = props => {
|
7
8
|
const {
|
@@ -35,7 +36,7 @@ const Draggable = props => {
|
|
35
36
|
contentEditable: false,
|
36
37
|
style: dragStyle,
|
37
38
|
sx: classes.dragHandle,
|
38
|
-
children: /*#__PURE__*/_jsx(
|
39
|
+
children: /*#__PURE__*/_jsx(SectionDragIcon, {})
|
39
40
|
});
|
40
41
|
};
|
41
42
|
export default Draggable;
|