@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.
Files changed (55) hide show
  1. package/dist/cli.js +2 -2
  2. package/dist/wysiwyg.css +112 -248
  3. package/dist/wysiwyg.mjs +8128 -10207
  4. package/example/ExampleApp.vue +4 -4
  5. package/example/ai-component/AiComponent.vue +57 -0
  6. package/lib/Wysiwyg.vue +4 -6
  7. package/lib/components/base/Button.vue +10 -0
  8. package/lib/components/base/dropdown/Dropdown.vue +7 -1
  9. package/lib/components/base/dropdown/DropdownActivator.vue +22 -0
  10. package/lib/components/base/dropdown/__tests__/DropdownActivator.test.js +21 -1
  11. package/lib/components/base/index.js +0 -1
  12. package/lib/components/toolbar/Toolbar.vue +7 -1
  13. package/lib/components/toolbar/controls/AlignmentControl.vue +12 -1
  14. package/lib/components/toolbar/controls/FontColorControl.vue +12 -0
  15. package/lib/components/toolbar/controls/FontFamilyControl.vue +19 -4
  16. package/lib/components/toolbar/controls/FontSizeControl.vue +27 -4
  17. package/lib/components/toolbar/controls/FontWeightControl.vue +26 -4
  18. package/lib/components/toolbar/controls/ItalicControl.vue +11 -1
  19. package/lib/components/toolbar/controls/LineHeightControl.vue +11 -0
  20. package/lib/components/toolbar/controls/UnderlineControl.vue +10 -0
  21. package/lib/components/toolbar/controls/__tests__/AlignmentControl.test.js +43 -1
  22. package/lib/components/toolbar/controls/__tests__/FontColorControl.test.js +22 -1
  23. package/lib/components/toolbar/controls/__tests__/FontFamilyControl.test.js +2 -0
  24. package/lib/components/toolbar/controls/__tests__/FontSizeControl.test.js +9 -1
  25. package/lib/components/toolbar/controls/__tests__/FontWeightControl.test.js +9 -1
  26. package/lib/components/toolbar/controls/__tests__/ItalicControl.test.js +23 -1
  27. package/lib/components/toolbar/controls/__tests__/LineHeightControl.test.js +23 -1
  28. package/lib/components/toolbar/controls/__tests__/StylePresetControl.test.js +31 -13
  29. package/lib/components/toolbar/controls/__tests__/UnderlineControl.test.js +26 -1
  30. package/lib/components/toolbar/controls/index.js +1 -2
  31. package/lib/components/toolbar/controls/{StylePresetControl.vue → stylePreset/StylePresetControl.vue} +23 -8
  32. package/lib/components/toolbar/controls/stylePreset/StylePresetOption.vue +87 -0
  33. package/lib/components/toolbar/controls/stylePreset/index.js +1 -0
  34. package/lib/components/toolbar/layouts/ToolbarDesktop.vue +14 -5
  35. package/lib/components/toolbar/layouts/ToolbarPopup.vue +12 -0
  36. package/lib/entryLib.js +2 -0
  37. package/lib/extensions/index.js +0 -5
  38. package/lib/extensions/proseMirror/PastePlugin.js +4 -6
  39. package/lib/styles/dropdown.css +7 -0
  40. package/lib/styles/main.css +1 -0
  41. package/lib/styles/variables.css +1 -0
  42. package/package.json +1 -2
  43. package/example/aiAdapter.js +0 -52
  44. package/lib/assets/icons/loading.svg +0 -11
  45. package/lib/assets/icons/send.svg +0 -3
  46. package/lib/assets/icons/sparkles.svg +0 -3
  47. package/lib/components/base/TextArea.vue +0 -108
  48. package/lib/components/floatingMenu/AiWidgetSuggestionItem.vue +0 -74
  49. package/lib/components/floatingMenu/FloatingMenuControl.vue +0 -222
  50. package/lib/components/floatingMenu/index.js +0 -1
  51. package/lib/components/toolbar/controls/aiComponent/AiControl.vue +0 -204
  52. package/lib/components/toolbar/controls/aiComponent/AiControlHeader.vue +0 -28
  53. package/lib/components/toolbar/controls/aiComponent/AiSettings.vue +0 -153
  54. package/lib/components/toolbar/controls/aiComponent/AiSuggestionItem.vue +0 -84
  55. 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-562f4e4a] {
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-562f4e4a]::-moz-focus-inner {
46
+ .zw-button[data-v-ecf2f936]::-moz-focus-inner {
47
47
  border: 0 !important;
48
48
  }
49
- .zw-button[data-v-562f4e4a]:hover,
50
- .zw-button[data-v-562f4e4a]:focus {
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-562f4e4a]:disabled {
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-562f4e4a] {
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-562f4e4a] {
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-562f4e4a],
77
- .zw-button--secondary[data-v-562f4e4a] {
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-562f4e4a]:not(:disabled):hover,
84
- .zw-button--secondary[data-v-562f4e4a]:not(:disabled):hover {
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-562f4e4a]:not(.zw-button--icon) {
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-562f4e4a]:not(:disabled):hover,
91
- .zw-button--toolbar[data-v-562f4e4a]:not(:disabled):focus,
92
- .zw-button--toolbar.zw-button--active[data-v-562f4e4a]:not(:disabled) {
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-bb5c4efe] {
468
+ .zw-dropdown__activator[data-v-90a571d8] {
499
469
  width: 100%;
500
470
  }
501
- .zw-dropdown__activator-title[data-v-bb5c4efe] {
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-bb5c4efe] {
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-bb5c4efe] {
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-bb5c4efe] {
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-885109ea] {
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-style-preset-control[data-v-a1013442] {
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-70087590] {
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-dbb38600] {
554
+ .zw-font-weight-control[data-v-6d7f17c3] {
599
555
  width: 60px;
600
556
  }
601
557
 
602
- .zw-font-size-control[data-v-6b3c7f37] {
558
+ .zw-font-size-control[data-v-9b69a79c] {
603
559
  width: 72px;
604
560
  }
605
561
 
606
- .zw-line-height-control__modal[data-v-1fcd599c] {
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-1fcd599c] {
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-1fcd599c] {
569
+ .zw-line-height-control__range[data-v-6dc500fa] {
614
570
  width: 156px;
615
571
  }
616
- .zw-line-height-control__field[data-v-1fcd599c] {
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-toolbar[data-v-d18ac382] {
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-d18ac382]::before,
766
- .zw-toolbar[data-v-d18ac382]::after {
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-d18ac382]::before {
703
+ .zw-toolbar[data-v-09336b0a]::before {
775
704
  top: var(--zw-toolbar-safe-zone);
776
705
  }
777
- .zw-toolbar[data-v-d18ac382]::after {
706
+ .zw-toolbar[data-v-09336b0a]::after {
778
707
  bottom: var(--zw-toolbar-safe-zone);
779
708
  }
780
- .zw-toolbar--enter-active[data-v-d18ac382],
781
- .zw-toolbar--leave-active[data-v-d18ac382] {
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-d18ac382] {
713
+ .zw-toolbar--leave-active[data-v-09336b0a] {
785
714
  transition: opacity 0s ease-in;
786
715
  }
787
- .zw-toolbar--enter[data-v-d18ac382],
788
- .zw-toolbar--leave-to[data-v-d18ac382] {
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;