@zipify/wysiwyg 3.4.1-dev → 3.5.0-ai-prototype

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/wysiwyg.css CHANGED
@@ -409,6 +409,45 @@
409
409
  color: rgb(var(--zw-color-red));
410
410
  }
411
411
 
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
+
412
451
  .zw-checkbox[data-v-c9d1da12] {
413
452
  display: inline-flex;
414
453
  align-items: center;
@@ -594,6 +633,73 @@
594
633
  display: flex;
595
634
  }
596
635
 
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-390cf52c] {
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-390cf52c] {
658
+ font-size: 12px;
659
+ color: #666;
660
+ }
661
+ .zw-ai-component-suggestion__button[data-v-390cf52c] {
662
+ font-size: 14px;
663
+ padding: 4px 8px;
664
+ background-color: #A4A4A4;
665
+ color: #FFF;
666
+ border-radius: 2px;
667
+ }
668
+ .zw-ai-component-suggestion__button[data-v-390cf52c]:hover {
669
+ opacity: 0.8;
670
+ background-color: #3AAA35;
671
+ }
672
+
673
+ .zw-suggestion-modal[data-v-a21c0bda] {
674
+ width: 500px;
675
+ }
676
+ .zw-link-modal__body[data-v-a21c0bda] {
677
+ padding: var(--zw-offset-sm);
678
+ }
679
+ .zw-generated-text__suggestion[data-v-a21c0bda] {
680
+ font-size: 14px;
681
+ color: #908E8E;
682
+ }
683
+ .zw-ai-component__send-button[data-v-a21c0bda] {
684
+ position: absolute;
685
+ top: 50%;
686
+ transform: translateY(-50%);
687
+ right: 16px;
688
+ }
689
+ .zw-ai-component__icon[data-v-a21c0bda] {
690
+ color: #CDD1DC;
691
+ }
692
+ .zw-ai-component__send-button:hover .zw-ai-component__icon[data-v-a21c0bda] {
693
+ color: #878DA2;
694
+ transition: color 0.1s ease-in-out;
695
+ }
696
+ .zw-field__label[data-v-a21c0bda] {
697
+ display: inline-block;
698
+ font-size: var(--zw-font-size-xxs);
699
+ padding-bottom: var(--zw-offset-xxs);
700
+ line-height: var(--zw-line-height-xxs);
701
+ }
702
+
597
703
  .zw-link-modal-header[data-v-0a0c67c1] {
598
704
  display: flex;
599
705
  align-items: center;
@@ -639,7 +745,8 @@
639
745
  width: 234px;
640
746
  }
641
747
 
642
- .zw-toolbar[data-v-3ceb232a] {
748
+ .zw-toolbar[data-v-d18ac382] {
749
+ border: 1px solid rgba(var(--zw-color-white), 0.2);
643
750
  border-radius: 2px;
644
751
  background-color: rgb(var(--zw-color-n15));
645
752
  color: rgb(var(--zw-color-n70));
@@ -647,8 +754,8 @@
647
754
  text-align: left;
648
755
  position: absolute;
649
756
  }
650
- .zw-toolbar[data-v-3ceb232a]::before,
651
- .zw-toolbar[data-v-3ceb232a]::after {
757
+ .zw-toolbar[data-v-d18ac382]::before,
758
+ .zw-toolbar[data-v-d18ac382]::after {
652
759
  content: "";
653
760
  display: block;
654
761
  width: 100%;
@@ -656,23 +763,96 @@
656
763
  position: absolute;
657
764
  --zw-toolbar-safe-zone: calc(-1 * var(--zw-toolbar-offset-y));
658
765
  }
659
- .zw-toolbar[data-v-3ceb232a]::before {
766
+ .zw-toolbar[data-v-d18ac382]::before {
660
767
  top: var(--zw-toolbar-safe-zone);
661
768
  }
662
- .zw-toolbar[data-v-3ceb232a]::after {
769
+ .zw-toolbar[data-v-d18ac382]::after {
663
770
  bottom: var(--zw-toolbar-safe-zone);
664
771
  }
665
- .zw-toolbar--enter-active[data-v-3ceb232a],
666
- .zw-toolbar--leave-active[data-v-3ceb232a] {
772
+ .zw-toolbar--enter-active[data-v-d18ac382],
773
+ .zw-toolbar--leave-active[data-v-d18ac382] {
667
774
  transition: opacity 150ms ease-out;
668
775
  }
669
- .zw-toolbar--leave-active[data-v-3ceb232a] {
776
+ .zw-toolbar--leave-active[data-v-d18ac382] {
670
777
  transition: opacity 0s ease-in;
671
778
  }
672
- .zw-toolbar--enter[data-v-3ceb232a],
673
- .zw-toolbar--leave-to[data-v-3ceb232a] {
779
+ .zw-toolbar--enter[data-v-d18ac382],
780
+ .zw-toolbar--leave-to[data-v-d18ac382] {
674
781
  opacity: 0;
675
782
  }
783
+
784
+ .zw-ai-component__suggestion[data-v-6fbdb7d6] {
785
+ font-size: 14px;
786
+ margin-bottom: 8px;
787
+ padding: 16px 8px;
788
+ background-color: #FFF;
789
+ border: 0.5px solid #CDD1DC;
790
+ border-radius: 2px;
791
+ }
792
+ .zw-ai-component-suggestion__request[data-v-6fbdb7d6] {
793
+ font-size: 12px;
794
+ color: #666;
795
+ }
796
+ .zw-ai-component-suggestion__button[data-v-6fbdb7d6] {
797
+ font-size: 14px;
798
+ padding: 2px 4px;
799
+ background-color: #3AAA35;
800
+ color: #FFF;
801
+ border-radius: 2px;
802
+ }
803
+ .zw-ai-component-suggestion__button[data-v-6fbdb7d6]:hover {
804
+ opacity: 0.8;
805
+ }
806
+
807
+ .zw-floating-menu__button[data-v-88889ea8] {
808
+ padding: 2px;
809
+ background-color: rgba(255, 252, 252, 1);
810
+ border-radius: 50%;
811
+ box-shadow: 0 0 0 0 1px #878DA2;
812
+ }
813
+ .zw-link-modal[data-v-88889ea8] {
814
+ width: 450px;
815
+ background-color: #FCFCFC;
816
+ border-radius: 8px;
817
+ 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);
818
+ }
819
+ .zw-link-modal__body[data-v-88889ea8] {
820
+ padding: var(--zw-offset-sm);
821
+ }
822
+ .zw-link-form__body[data-v-88889ea8] {
823
+ overscroll-behavior: contain;
824
+ overflow: auto;
825
+ 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));
826
+ }
827
+ .zw-ai-component__selected-text[data-v-88889ea8] {
828
+ font-size: 14px;
829
+ margin-bottom: 8px;
830
+ padding: 16px 8px;
831
+ background-color: #FFF;
832
+ border: 0.5px solid #000;
833
+ border-radius: 2px;
834
+ }
835
+ .zw-ai-component__input[data-v-88889ea8] {
836
+ width: 100%;
837
+ min-height: 40px;
838
+ border: 1px solid #E9E9E9;
839
+ border-radius: 5px;
840
+ padding: 8px;
841
+ font-size: 14px;
842
+ }
843
+ .zw-ai-component__send-button[data-v-88889ea8] {
844
+ position: absolute;
845
+ top: 50%;
846
+ transform: translateY(-50%);
847
+ right: 16px;
848
+ }
849
+ .zw-ai-component__icon[data-v-88889ea8] {
850
+ color: #CDD1DC;
851
+ }
852
+ .zw-ai-component__send-button:hover .zw-ai-component__icon[data-v-88889ea8] {
853
+ color: #878DA2;
854
+ transition: color 0.1s ease-in-out;
855
+ }
676
856
  .zw-wysiwyg {
677
857
  --zw-color-n5: 13, 13, 13; /* #0D0D0D; */
678
858
  --zw-color-n15: 38, 38, 38; /* #262626; */