@zipify/wysiwyg 3.5.4-ai-prototype → 3.6.0-0
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/dist/cli.js +2 -2
- package/dist/wysiwyg.css +112 -248
- package/dist/wysiwyg.mjs +8128 -10207
- package/example/ExampleApp.vue +4 -4
- package/example/ai-component/AiComponent.vue +57 -0
- package/lib/Wysiwyg.vue +4 -6
- package/lib/components/base/Button.vue +10 -0
- package/lib/components/base/dropdown/Dropdown.vue +7 -1
- package/lib/components/base/dropdown/DropdownActivator.vue +22 -0
- package/lib/components/base/dropdown/__tests__/DropdownActivator.test.js +21 -1
- package/lib/components/base/index.js +0 -1
- package/lib/components/toolbar/Toolbar.vue +7 -1
- package/lib/components/toolbar/controls/AlignmentControl.vue +12 -1
- package/lib/components/toolbar/controls/FontColorControl.vue +12 -0
- package/lib/components/toolbar/controls/FontFamilyControl.vue +19 -4
- package/lib/components/toolbar/controls/FontSizeControl.vue +27 -4
- package/lib/components/toolbar/controls/FontWeightControl.vue +26 -4
- package/lib/components/toolbar/controls/ItalicControl.vue +11 -1
- package/lib/components/toolbar/controls/LineHeightControl.vue +11 -0
- package/lib/components/toolbar/controls/UnderlineControl.vue +10 -0
- package/lib/components/toolbar/controls/__tests__/AlignmentControl.test.js +43 -1
- package/lib/components/toolbar/controls/__tests__/FontColorControl.test.js +22 -1
- package/lib/components/toolbar/controls/__tests__/FontFamilyControl.test.js +2 -0
- package/lib/components/toolbar/controls/__tests__/FontSizeControl.test.js +9 -1
- package/lib/components/toolbar/controls/__tests__/FontWeightControl.test.js +9 -1
- package/lib/components/toolbar/controls/__tests__/ItalicControl.test.js +23 -1
- package/lib/components/toolbar/controls/__tests__/LineHeightControl.test.js +23 -1
- package/lib/components/toolbar/controls/__tests__/StylePresetControl.test.js +31 -13
- package/lib/components/toolbar/controls/__tests__/UnderlineControl.test.js +26 -1
- package/lib/components/toolbar/controls/index.js +1 -2
- package/lib/components/toolbar/controls/{StylePresetControl.vue → stylePreset/StylePresetControl.vue} +23 -8
- package/lib/components/toolbar/controls/stylePreset/StylePresetOption.vue +87 -0
- package/lib/components/toolbar/controls/stylePreset/index.js +1 -0
- package/lib/components/toolbar/layouts/ToolbarDesktop.vue +14 -5
- package/lib/components/toolbar/layouts/ToolbarPopup.vue +12 -0
- package/lib/entryLib.js +2 -0
- package/lib/extensions/index.js +0 -5
- package/lib/extensions/proseMirror/PastePlugin.js +4 -6
- package/lib/styles/dropdown.css +7 -0
- package/lib/styles/main.css +1 -0
- package/lib/styles/variables.css +1 -0
- package/package.json +1 -2
- package/example/aiAdapter.js +0 -52
- package/lib/assets/icons/loading.svg +0 -11
- package/lib/assets/icons/send.svg +0 -3
- package/lib/assets/icons/sparkles.svg +0 -3
- package/lib/components/base/TextArea.vue +0 -108
- package/lib/components/floatingMenu/AiWidgetSuggestionItem.vue +0 -74
- package/lib/components/floatingMenu/FloatingMenuControl.vue +0 -222
- package/lib/components/floatingMenu/index.js +0 -1
- package/lib/components/toolbar/controls/aiComponent/AiControl.vue +0 -204
- package/lib/components/toolbar/controls/aiComponent/AiControlHeader.vue +0 -28
- package/lib/components/toolbar/controls/aiComponent/AiSettings.vue +0 -153
- package/lib/components/toolbar/controls/aiComponent/AiSuggestionItem.vue +0 -84
- package/lib/extensions/AiComponent.js +0 -22
package/dist/wysiwyg.css
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
padding: var(--zw-offset-xxs) var(--zw-offset-xs);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.zw-button[data-v-
|
|
26
|
+
.zw-button[data-v-ecf2f936] {
|
|
27
27
|
display: inline-flex;
|
|
28
28
|
align-items: center;
|
|
29
29
|
vertical-align: middle;
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
transition: 0.1s opacity ease-out;
|
|
44
44
|
will-change: opacity;
|
|
45
45
|
}
|
|
46
|
-
.zw-button[data-v-
|
|
46
|
+
.zw-button[data-v-ecf2f936]::-moz-focus-inner {
|
|
47
47
|
border: 0 !important;
|
|
48
48
|
}
|
|
49
|
-
.zw-button[data-v-
|
|
50
|
-
.zw-button[data-v-
|
|
49
|
+
.zw-button[data-v-ecf2f936]:hover,
|
|
50
|
+
.zw-button[data-v-ecf2f936]:focus {
|
|
51
51
|
text-decoration: none;
|
|
52
52
|
outline: none;
|
|
53
53
|
}
|
|
54
|
-
.zw-button[data-v-
|
|
54
|
+
.zw-button[data-v-ecf2f936]:disabled {
|
|
55
55
|
user-select: none;
|
|
56
56
|
box-shadow: none;
|
|
57
57
|
cursor: not-allowed;
|
|
58
58
|
opacity: 0.35;
|
|
59
59
|
}
|
|
60
|
-
.zw-button--toolbar[data-v-
|
|
60
|
+
.zw-button--toolbar[data-v-ecf2f936] {
|
|
61
61
|
border-radius: 1px;
|
|
62
62
|
min-height: 28px;
|
|
63
63
|
font-weight: var(--zw-font-weight-semibold);
|
|
@@ -67,32 +67,41 @@
|
|
|
67
67
|
transition-property: background-color, color, opacity;
|
|
68
68
|
will-change: background-color, color, opacity;
|
|
69
69
|
}
|
|
70
|
-
.zw-button--primary[data-v-
|
|
70
|
+
.zw-button--primary[data-v-ecf2f936] {
|
|
71
71
|
background-color: rgb(var(--zw-color-green));
|
|
72
72
|
color: rgb(var(--zw-color-white));
|
|
73
73
|
padding: var(--zw-offset-xxs) var(--zw-offset-sm);
|
|
74
74
|
line-height: var(--zw-line-height-md);
|
|
75
75
|
}
|
|
76
|
-
.zw-button--primary[data-v-
|
|
77
|
-
.zw-button--secondary[data-v-
|
|
76
|
+
.zw-button--primary[data-v-ecf2f936],
|
|
77
|
+
.zw-button--secondary[data-v-ecf2f936] {
|
|
78
78
|
color: rgb(var(--zw-color-white));
|
|
79
79
|
padding: var(--zw-offset-xxs) var(--zw-offset-sm);
|
|
80
80
|
font-weight: 600;
|
|
81
81
|
font-size: var(--zw-font-size-xs);
|
|
82
82
|
}
|
|
83
|
-
.zw-button--primary[data-v-
|
|
84
|
-
.zw-button--secondary[data-v-
|
|
83
|
+
.zw-button--primary[data-v-ecf2f936]:not(:disabled):hover,
|
|
84
|
+
.zw-button--secondary[data-v-ecf2f936]:not(:disabled):hover {
|
|
85
85
|
opacity: 0.9;
|
|
86
86
|
}
|
|
87
|
-
.zw-button--toolbar[data-v-
|
|
87
|
+
.zw-button--toolbar[data-v-ecf2f936]:not(.zw-button--icon) {
|
|
88
88
|
padding: var(--zw-offset-xxs) var(--zw-offset-xs);
|
|
89
89
|
}
|
|
90
|
-
.zw-button--toolbar[data-v-
|
|
91
|
-
.zw-button--toolbar[data-v-
|
|
92
|
-
.zw-button--toolbar.zw-button--active[data-v-
|
|
90
|
+
.zw-button--toolbar[data-v-ecf2f936]:not(:disabled):hover,
|
|
91
|
+
.zw-button--toolbar[data-v-ecf2f936]:not(:disabled):focus,
|
|
92
|
+
.zw-button--toolbar.zw-button--active[data-v-ecf2f936]:not(:disabled) {
|
|
93
93
|
color: rgb(var(--zw-color-white));
|
|
94
94
|
background-color: rgb(var(--zw-color-n5));
|
|
95
95
|
}
|
|
96
|
+
.zw-button__customized-indicator[data-v-ecf2f936] {
|
|
97
|
+
width: 4px;
|
|
98
|
+
height: 4px;
|
|
99
|
+
background-color: rgb(var(--zw-color-y300));
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: 3px;
|
|
103
|
+
right: 3px;
|
|
104
|
+
}
|
|
96
105
|
|
|
97
106
|
.zw-button-toggle[data-v-a02f12aa] {
|
|
98
107
|
display: flex;
|
|
@@ -409,45 +418,6 @@
|
|
|
409
418
|
color: rgb(var(--zw-color-red));
|
|
410
419
|
}
|
|
411
420
|
|
|
412
|
-
.zw-field[data-v-11f4bb7a] {
|
|
413
|
-
display: flex;
|
|
414
|
-
flex-direction: column;
|
|
415
|
-
}
|
|
416
|
-
.zw-field__input[data-v-11f4bb7a] {
|
|
417
|
-
--border-color: rgb(var(--zw-color-n60));
|
|
418
|
-
--text-color: rgb(var(--zw-color-n85));
|
|
419
|
-
|
|
420
|
-
border: 1px solid var(--border-color);
|
|
421
|
-
background-color: transparent;
|
|
422
|
-
color: var(--text-color);
|
|
423
|
-
font-size: var(--zw-font-size-xxs);
|
|
424
|
-
outline: none;
|
|
425
|
-
padding: 6px;
|
|
426
|
-
line-height: var(--zw-line-height-xxs);
|
|
427
|
-
transition: 0.1s border ease-out, 0.1s color ease-out;
|
|
428
|
-
will-change: border, color;
|
|
429
|
-
}
|
|
430
|
-
.zw-field__input[data-v-11f4bb7a]:hover {
|
|
431
|
-
--border-color: rgb(var(--zw-color-n80));
|
|
432
|
-
--text-color: rgb(var(--zw-color-n85));
|
|
433
|
-
}
|
|
434
|
-
.zw-field__input[data-v-11f4bb7a]:focus,
|
|
435
|
-
.zw-field__input[data-v-11f4bb7a]:focus-within {
|
|
436
|
-
--border-color: rgb(var(--zw-color-white));
|
|
437
|
-
--text-color: rgb(var(--zw-color-white));
|
|
438
|
-
}
|
|
439
|
-
.zw-field__label[data-v-11f4bb7a] {
|
|
440
|
-
display: inline-block;
|
|
441
|
-
font-size: var(--zw-font-size-xxs);
|
|
442
|
-
padding-bottom: var(--zw-offset-xxs);
|
|
443
|
-
line-height: var(--zw-line-height-xxs);
|
|
444
|
-
}
|
|
445
|
-
.zw-field__label--error[data-v-11f4bb7a] {
|
|
446
|
-
font-size: var(--zw-font-size-xxs);
|
|
447
|
-
margin: var(--zw-offset-xxs) 0 0;
|
|
448
|
-
color: rgb(var(--zw-color-red));
|
|
449
|
-
}
|
|
450
|
-
|
|
451
421
|
.zw-checkbox[data-v-c9d1da12] {
|
|
452
422
|
display: inline-flex;
|
|
453
423
|
align-items: center;
|
|
@@ -495,23 +465,31 @@
|
|
|
495
465
|
font-size: var(--zw-font-size-xs);
|
|
496
466
|
}
|
|
497
467
|
|
|
498
|
-
.zw-dropdown__activator[data-v-
|
|
468
|
+
.zw-dropdown__activator[data-v-90a571d8] {
|
|
499
469
|
width: 100%;
|
|
500
470
|
}
|
|
501
|
-
.zw-dropdown__activator-title[data-v-
|
|
471
|
+
.zw-dropdown__activator-title[data-v-90a571d8] {
|
|
502
472
|
margin-right: var(--zw-offset-xxs);
|
|
503
473
|
}
|
|
504
|
-
.zw-dropdown__activator-arrow[data-v-
|
|
474
|
+
.zw-dropdown__activator-arrow[data-v-90a571d8] {
|
|
505
475
|
margin-left: auto;
|
|
506
476
|
}
|
|
507
|
-
.zw-dropdown__activator--active .zw-dropdown__activator-arrow[data-v-
|
|
477
|
+
.zw-dropdown__activator--active .zw-dropdown__activator-arrow[data-v-90a571d8] {
|
|
508
478
|
transform: rotateX(180deg);
|
|
509
479
|
}
|
|
510
|
-
.zw-dropdown__activator--gray[data-v-
|
|
480
|
+
.zw-dropdown__activator--gray[data-v-90a571d8] {
|
|
511
481
|
background-color: rgb(var(--zw-color-n20));
|
|
512
482
|
font-size: var(--zw-font-size-xxs);
|
|
513
483
|
color: rgb(var(--zw-color-white));
|
|
514
484
|
}
|
|
485
|
+
.zw-dropdown__customized-indicator[data-v-90a571d8] {
|
|
486
|
+
position: relative;
|
|
487
|
+
top: calc(0px - var(--zw-offset-xs));
|
|
488
|
+
min-width: 4px;
|
|
489
|
+
height: 4px;
|
|
490
|
+
background-color: rgb(var(--zw-color-y300));
|
|
491
|
+
border-radius: 50%;
|
|
492
|
+
}
|
|
515
493
|
|
|
516
494
|
.zw-dropdown__option[data-v-1355d08c] {
|
|
517
495
|
width: 100%;
|
|
@@ -559,61 +537,39 @@
|
|
|
559
537
|
padding-bottom: var(--zw-offset-xs);
|
|
560
538
|
}
|
|
561
539
|
|
|
562
|
-
.zw-dropdown[data-v-
|
|
540
|
+
.zw-dropdown[data-v-29e6a104] {
|
|
563
541
|
position: relative;
|
|
564
542
|
font-size: var(--zw-font-size-xs);
|
|
565
543
|
line-height: var(--zw-line-height-xxs);
|
|
566
544
|
}
|
|
567
545
|
|
|
568
|
-
.zw-
|
|
569
|
-
display: flex;
|
|
570
|
-
align-items: center;
|
|
571
|
-
}
|
|
572
|
-
.zw-style-preset-control__dropdown[data-v-a1013442] {
|
|
573
|
-
width: 120px;
|
|
574
|
-
}
|
|
575
|
-
.zw-style-preset-control__reset[data-v-a1013442] {
|
|
576
|
-
color: rgb(var(--zw-color-n70));
|
|
577
|
-
background-color: rgb(var(--zw-color-n20));
|
|
578
|
-
}
|
|
579
|
-
.zw-style-preset-control__reset[data-v-a1013442]:disabled {
|
|
580
|
-
background-color: transparent;
|
|
581
|
-
}
|
|
582
|
-
.zw-style-preset-control__reset[data-v-a1013442]:not(:disabled):hover,
|
|
583
|
-
.zw-style-preset-control__reset[data-v-a1013442]:not(:disabled):focus,
|
|
584
|
-
.zw-style-preset-control__reset[data-v-a1013442]:not(:disabled):focus-within {
|
|
585
|
-
color: rgb(var(--zw-color-white));
|
|
586
|
-
background-color: rgb(var(--zw-color-n30));
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
.zw-font-family-control[data-v-70087590] {
|
|
546
|
+
.zw-font-family-control[data-v-31c5d1bb] {
|
|
590
547
|
width: 96px;
|
|
591
548
|
}
|
|
592
|
-
.zw-font-family-control__option[data-v-
|
|
549
|
+
.zw-font-family-control__option[data-v-31c5d1bb] {
|
|
593
550
|
font-weight: 400;
|
|
594
551
|
font-family: var(--zw-font-family-option);
|
|
595
|
-
width: 150px;
|
|
596
552
|
}
|
|
597
553
|
|
|
598
|
-
.zw-font-weight-control[data-v-
|
|
554
|
+
.zw-font-weight-control[data-v-6d7f17c3] {
|
|
599
555
|
width: 60px;
|
|
600
556
|
}
|
|
601
557
|
|
|
602
|
-
.zw-font-size-control[data-v-
|
|
558
|
+
.zw-font-size-control[data-v-9b69a79c] {
|
|
603
559
|
width: 72px;
|
|
604
560
|
}
|
|
605
561
|
|
|
606
|
-
.zw-line-height-control__modal[data-v-
|
|
562
|
+
.zw-line-height-control__modal[data-v-6dc500fa] {
|
|
607
563
|
padding: var(--zw-offset-sm);
|
|
608
564
|
}
|
|
609
|
-
.zw-line-height-control__row[data-v-
|
|
565
|
+
.zw-line-height-control__row[data-v-6dc500fa] {
|
|
610
566
|
display: flex;
|
|
611
567
|
align-items: center;
|
|
612
568
|
}
|
|
613
|
-
.zw-line-height-control__range[data-v-
|
|
569
|
+
.zw-line-height-control__range[data-v-6dc500fa] {
|
|
614
570
|
width: 156px;
|
|
615
571
|
}
|
|
616
|
-
.zw-line-height-control__field[data-v-
|
|
572
|
+
.zw-line-height-control__field[data-v-6dc500fa] {
|
|
617
573
|
width: 64px;
|
|
618
574
|
margin-left: var(--zw-offset-sm);
|
|
619
575
|
}
|
|
@@ -633,81 +589,6 @@
|
|
|
633
589
|
display: flex;
|
|
634
590
|
}
|
|
635
591
|
|
|
636
|
-
.zw-link-modal-header[data-v-40738e23] {
|
|
637
|
-
display: flex;
|
|
638
|
-
align-items: center;
|
|
639
|
-
justify-content: space-between;
|
|
640
|
-
padding: var(--zw-offset-sm);
|
|
641
|
-
border-bottom: 2px solid rgb(var(--zw-color-n5));
|
|
642
|
-
}
|
|
643
|
-
.zw-link-modal-header__title[data-v-40738e23] {
|
|
644
|
-
text-transform: uppercase;
|
|
645
|
-
font-weight: var(--zw-font-weight-semibold);
|
|
646
|
-
font-size: var(--zw-font-size-xxs);
|
|
647
|
-
color: rgb(var(--zw-color-white));
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.zw-ai-component__suggestion[data-v-6652f513] {
|
|
651
|
-
font-size: 14px;
|
|
652
|
-
margin-bottom: 8px;
|
|
653
|
-
padding: 16px 8px;
|
|
654
|
-
color: #CDD1DC;
|
|
655
|
-
border-radius: 2px;
|
|
656
|
-
}
|
|
657
|
-
.zw-ai-component-suggestion__request[data-v-6652f513] {
|
|
658
|
-
font-size: 12px;
|
|
659
|
-
color: #666;
|
|
660
|
-
}
|
|
661
|
-
.zw-ai-component-suggestion__button[data-v-6652f513] {
|
|
662
|
-
font-size: 14px;
|
|
663
|
-
padding: 4px 8px;
|
|
664
|
-
background-color: #A4A4A4;
|
|
665
|
-
color: #FFF;
|
|
666
|
-
border-radius: 2px;
|
|
667
|
-
margin-right: 8px;
|
|
668
|
-
}
|
|
669
|
-
.zw-ai-component-suggestion__button[data-v-6652f513]:hover {
|
|
670
|
-
opacity: 0.8;
|
|
671
|
-
background-color: #3AAA35;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.zw-selectors[data-v-869120f8] {
|
|
675
|
-
display: flex;
|
|
676
|
-
}
|
|
677
|
-
.zw-ai__dropdown[data-v-869120f8] {
|
|
678
|
-
width: 100%;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
.zw-suggestion-modal[data-v-e7ed0c94] {
|
|
682
|
-
width: 500px;
|
|
683
|
-
}
|
|
684
|
-
.zw-link-modal__body[data-v-e7ed0c94] {
|
|
685
|
-
padding: var(--zw-offset-sm);
|
|
686
|
-
}
|
|
687
|
-
.zw-generated-text__suggestion[data-v-e7ed0c94] {
|
|
688
|
-
font-size: 14px;
|
|
689
|
-
color: #908E8E;
|
|
690
|
-
}
|
|
691
|
-
.zw-ai-component__send-button[data-v-e7ed0c94] {
|
|
692
|
-
position: absolute;
|
|
693
|
-
top: 50%;
|
|
694
|
-
transform: translateY(-50%);
|
|
695
|
-
right: 16px;
|
|
696
|
-
}
|
|
697
|
-
.zw-ai-component__icon[data-v-e7ed0c94] {
|
|
698
|
-
color: #CDD1DC;
|
|
699
|
-
}
|
|
700
|
-
.zw-ai-component__send-button:hover .zw-ai-component__icon[data-v-e7ed0c94] {
|
|
701
|
-
color: #878DA2;
|
|
702
|
-
transition: color 0.1s ease-in-out;
|
|
703
|
-
}
|
|
704
|
-
.zw-field__label[data-v-e7ed0c94] {
|
|
705
|
-
display: inline-block;
|
|
706
|
-
font-size: var(--zw-font-size-xxs);
|
|
707
|
-
padding-bottom: var(--zw-offset-xxs);
|
|
708
|
-
line-height: var(--zw-line-height-xxs);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
592
|
.zw-link-modal-header[data-v-0a0c67c1] {
|
|
712
593
|
display: flex;
|
|
713
594
|
align-items: center;
|
|
@@ -753,7 +634,55 @@
|
|
|
753
634
|
width: 234px;
|
|
754
635
|
}
|
|
755
636
|
|
|
756
|
-
.zw-
|
|
637
|
+
.zw-style-preset-control__option[data-v-1c4b4f7e] {
|
|
638
|
+
display: flex;
|
|
639
|
+
justify-content: space-between;
|
|
640
|
+
align-items: center;
|
|
641
|
+
}
|
|
642
|
+
.zw-style-preset-control__color[data-v-1c4b4f7e] {
|
|
643
|
+
width: 10px;
|
|
644
|
+
height: 10px;
|
|
645
|
+
border: 1px solid rgba(var(--zw-color-black), 0.15);
|
|
646
|
+
border-radius: 14.71%;
|
|
647
|
+
background-color: var(--zw-color-option);
|
|
648
|
+
}
|
|
649
|
+
.zw-style-preset-control__size[data-v-1c4b4f7e] {
|
|
650
|
+
font-size: 10px;
|
|
651
|
+
color: rgb(var(--zw-color-n70));
|
|
652
|
+
margin-left: var(--zw-offset-sm);
|
|
653
|
+
}
|
|
654
|
+
.zw-style-preset-control__title[data-v-1c4b4f7e] {
|
|
655
|
+
width: 82px;
|
|
656
|
+
margin-left: var(--zw-offset-xs);
|
|
657
|
+
font-size: var(--zw-font-size-xxs);
|
|
658
|
+
font-family: var(--zw-font-family-option);
|
|
659
|
+
font-style: var(--zw-font-style-option);
|
|
660
|
+
font-weight: var(--zw-font-weight-option);
|
|
661
|
+
text-decoration: var(--zw-text-decoration-option);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.zw-style-preset-control[data-v-3f45f060] {
|
|
665
|
+
display: flex;
|
|
666
|
+
align-items: center;
|
|
667
|
+
}
|
|
668
|
+
.zw-style-preset-control__dropdown[data-v-3f45f060] {
|
|
669
|
+
width: 120px;
|
|
670
|
+
}
|
|
671
|
+
.zw-style-preset-control__reset[data-v-3f45f060] {
|
|
672
|
+
color: rgb(var(--zw-color-n70));
|
|
673
|
+
background-color: rgb(var(--zw-color-n20));
|
|
674
|
+
}
|
|
675
|
+
.zw-style-preset-control__reset[data-v-3f45f060]:disabled {
|
|
676
|
+
background-color: transparent;
|
|
677
|
+
}
|
|
678
|
+
.zw-style-preset-control__reset[data-v-3f45f060]:not(:disabled):hover,
|
|
679
|
+
.zw-style-preset-control__reset[data-v-3f45f060]:not(:disabled):focus,
|
|
680
|
+
.zw-style-preset-control__reset[data-v-3f45f060]:not(:disabled):focus-within {
|
|
681
|
+
color: rgb(var(--zw-color-white));
|
|
682
|
+
background-color: rgb(var(--zw-color-n30));
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.zw-toolbar[data-v-09336b0a] {
|
|
757
686
|
border: 1px solid rgba(var(--zw-color-white), 0.2);
|
|
758
687
|
border-radius: 2px;
|
|
759
688
|
background-color: rgb(var(--zw-color-n15));
|
|
@@ -762,8 +691,8 @@
|
|
|
762
691
|
text-align: left;
|
|
763
692
|
position: absolute;
|
|
764
693
|
}
|
|
765
|
-
.zw-toolbar[data-v-
|
|
766
|
-
.zw-toolbar[data-v-
|
|
694
|
+
.zw-toolbar[data-v-09336b0a]::before,
|
|
695
|
+
.zw-toolbar[data-v-09336b0a]::after {
|
|
767
696
|
content: "";
|
|
768
697
|
display: block;
|
|
769
698
|
width: 100%;
|
|
@@ -771,96 +700,23 @@
|
|
|
771
700
|
position: absolute;
|
|
772
701
|
--zw-toolbar-safe-zone: calc(-1 * var(--zw-toolbar-offset-y));
|
|
773
702
|
}
|
|
774
|
-
.zw-toolbar[data-v-
|
|
703
|
+
.zw-toolbar[data-v-09336b0a]::before {
|
|
775
704
|
top: var(--zw-toolbar-safe-zone);
|
|
776
705
|
}
|
|
777
|
-
.zw-toolbar[data-v-
|
|
706
|
+
.zw-toolbar[data-v-09336b0a]::after {
|
|
778
707
|
bottom: var(--zw-toolbar-safe-zone);
|
|
779
708
|
}
|
|
780
|
-
.zw-toolbar--enter-active[data-v-
|
|
781
|
-
.zw-toolbar--leave-active[data-v-
|
|
709
|
+
.zw-toolbar--enter-active[data-v-09336b0a],
|
|
710
|
+
.zw-toolbar--leave-active[data-v-09336b0a] {
|
|
782
711
|
transition: opacity 150ms ease-out;
|
|
783
712
|
}
|
|
784
|
-
.zw-toolbar--leave-active[data-v-
|
|
713
|
+
.zw-toolbar--leave-active[data-v-09336b0a] {
|
|
785
714
|
transition: opacity 0s ease-in;
|
|
786
715
|
}
|
|
787
|
-
.zw-toolbar--enter[data-v-
|
|
788
|
-
.zw-toolbar--leave-to[data-v-
|
|
716
|
+
.zw-toolbar--enter[data-v-09336b0a],
|
|
717
|
+
.zw-toolbar--leave-to[data-v-09336b0a] {
|
|
789
718
|
opacity: 0;
|
|
790
719
|
}
|
|
791
|
-
|
|
792
|
-
.zw-ai-component__suggestion[data-v-6fbdb7d6] {
|
|
793
|
-
font-size: 14px;
|
|
794
|
-
margin-bottom: 8px;
|
|
795
|
-
padding: 16px 8px;
|
|
796
|
-
background-color: #FFF;
|
|
797
|
-
border: 0.5px solid #CDD1DC;
|
|
798
|
-
border-radius: 2px;
|
|
799
|
-
}
|
|
800
|
-
.zw-ai-component-suggestion__request[data-v-6fbdb7d6] {
|
|
801
|
-
font-size: 12px;
|
|
802
|
-
color: #666;
|
|
803
|
-
}
|
|
804
|
-
.zw-ai-component-suggestion__button[data-v-6fbdb7d6] {
|
|
805
|
-
font-size: 14px;
|
|
806
|
-
padding: 2px 4px;
|
|
807
|
-
background-color: #3AAA35;
|
|
808
|
-
color: #FFF;
|
|
809
|
-
border-radius: 2px;
|
|
810
|
-
}
|
|
811
|
-
.zw-ai-component-suggestion__button[data-v-6fbdb7d6]:hover {
|
|
812
|
-
opacity: 0.8;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
.zw-floating-menu__button[data-v-62b796d5] {
|
|
816
|
-
padding: 2px;
|
|
817
|
-
background-color: rgba(255, 252, 252, 1);
|
|
818
|
-
border-radius: 50%;
|
|
819
|
-
box-shadow: 0 0 0 0 1px #878DA2;
|
|
820
|
-
}
|
|
821
|
-
.zw-link-modal[data-v-62b796d5] {
|
|
822
|
-
width: 450px;
|
|
823
|
-
background-color: #FCFCFC;
|
|
824
|
-
border-radius: 8px;
|
|
825
|
-
box-shadow: 0 0 0 0.5px #878DA2, 0 0 2px 0.5px rgba(135, 141, 162, 0.5), 0 1px 8px 0.5px rgba(135, 141, 162, 0.1), 0 2px 12px 0.5px rgba(135, 141, 162, 0.1), 0 4px 20 0.5px rgba(135, 141, 162, 0.25);
|
|
826
|
-
}
|
|
827
|
-
.zw-link-modal__body[data-v-62b796d5] {
|
|
828
|
-
padding: var(--zw-offset-sm);
|
|
829
|
-
}
|
|
830
|
-
.zw-link-form__body[data-v-62b796d5] {
|
|
831
|
-
overscroll-behavior: contain;
|
|
832
|
-
overflow: auto;
|
|
833
|
-
max-height: max(min(calc(1051.21px - calc(calc(3.5px * 16) + 47.9844px) - calc(0.25px * 16)), calc(34.75px * 16)), calc(10px * 16));
|
|
834
|
-
}
|
|
835
|
-
.zw-ai-component__selected-text[data-v-62b796d5] {
|
|
836
|
-
font-size: 14px;
|
|
837
|
-
margin-bottom: 8px;
|
|
838
|
-
padding: 16px 8px;
|
|
839
|
-
background-color: #FFF;
|
|
840
|
-
border: 0.5px solid #000;
|
|
841
|
-
border-radius: 2px;
|
|
842
|
-
}
|
|
843
|
-
.zw-ai-component__input[data-v-62b796d5] {
|
|
844
|
-
width: 100%;
|
|
845
|
-
min-height: 40px;
|
|
846
|
-
border: 1px solid #E9E9E9;
|
|
847
|
-
border-radius: 5px;
|
|
848
|
-
padding: 8px;
|
|
849
|
-
font-size: 14px;
|
|
850
|
-
}
|
|
851
|
-
.zw-ai-component__send-button[data-v-62b796d5] {
|
|
852
|
-
position: absolute;
|
|
853
|
-
top: 50%;
|
|
854
|
-
transform: translateY(-50%);
|
|
855
|
-
right: 16px;
|
|
856
|
-
}
|
|
857
|
-
.zw-ai-component__icon[data-v-62b796d5] {
|
|
858
|
-
color: #CDD1DC;
|
|
859
|
-
}
|
|
860
|
-
.zw-ai-component__send-button:hover .zw-ai-component__icon[data-v-62b796d5] {
|
|
861
|
-
color: #878DA2;
|
|
862
|
-
transition: color 0.1s ease-in-out;
|
|
863
|
-
}
|
|
864
720
|
.zw-wysiwyg {
|
|
865
721
|
--zw-color-n5: 13, 13, 13; /* #0D0D0D; */
|
|
866
722
|
--zw-color-n15: 38, 38, 38; /* #262626; */
|
|
@@ -872,6 +728,7 @@
|
|
|
872
728
|
--zw-color-n85: 217, 217, 217; /* #D9D9D9 */
|
|
873
729
|
--zw-color-n90: 230, 230, 230; /* #E6E6E6 */
|
|
874
730
|
--zw-color-n200: 194, 200, 209; /* #C2C8D1 */
|
|
731
|
+
--zw-color-y300: 255, 171, 0; /* #FFAB00 */
|
|
875
732
|
--zw-color-black: 0, 0, 0;
|
|
876
733
|
--zw-color-white: 255, 255, 255;
|
|
877
734
|
--zw-color-green: 59, 180, 74; /* #3BB44A */
|
|
@@ -1043,6 +900,13 @@ to {
|
|
|
1043
900
|
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
1044
901
|
opacity: 0
|
|
1045
902
|
}
|
|
903
|
+
.zw-dropdown__default-option {
|
|
904
|
+
font-size: var(--zw-font-size-xxs);
|
|
905
|
+
color: rgb(var(--zw-color-n70));
|
|
906
|
+
font-family: "Lato", sans-serif;
|
|
907
|
+
font-style: italic;
|
|
908
|
+
margin-left: var(--zw-offset-xxs);
|
|
909
|
+
}
|
|
1046
910
|
.zw-text--truncate {
|
|
1047
911
|
white-space: nowrap;
|
|
1048
912
|
overflow: hidden;
|