@zipify/wysiwyg 3.5.0-ai-prototype → 3.5.2-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/cli.js +1 -1
- package/dist/wysiwyg.css +18 -11
- package/dist/wysiwyg.mjs +703 -517
- package/example/aiAdapter.js +33 -2
- package/lib/components/toolbar/controls/aiComponent/AiControl.vue +37 -24
- package/lib/components/toolbar/controls/aiComponent/AiSettings.vue +137 -0
- package/lib/components/toolbar/controls/aiComponent/AiSuggestionItem.vue +1 -2
- package/lib/extensions/AiComponent.js +6 -5
- package/package.json +1 -1
package/dist/wysiwyg.css
CHANGED
|
@@ -647,53 +647,60 @@
|
|
|
647
647
|
color: rgb(var(--zw-color-white));
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
.zw-ai-component__suggestion[data-v-
|
|
650
|
+
.zw-ai-component__suggestion[data-v-3b3df0c3] {
|
|
651
651
|
font-size: 14px;
|
|
652
652
|
margin-bottom: 8px;
|
|
653
653
|
padding: 16px 8px;
|
|
654
654
|
color: #CDD1DC;
|
|
655
655
|
border-radius: 2px;
|
|
656
656
|
}
|
|
657
|
-
.zw-ai-component-suggestion__request[data-v-
|
|
657
|
+
.zw-ai-component-suggestion__request[data-v-3b3df0c3] {
|
|
658
658
|
font-size: 12px;
|
|
659
659
|
color: #666;
|
|
660
660
|
}
|
|
661
|
-
.zw-ai-component-suggestion__button[data-v-
|
|
661
|
+
.zw-ai-component-suggestion__button[data-v-3b3df0c3] {
|
|
662
662
|
font-size: 14px;
|
|
663
663
|
padding: 4px 8px;
|
|
664
664
|
background-color: #A4A4A4;
|
|
665
665
|
color: #FFF;
|
|
666
666
|
border-radius: 2px;
|
|
667
667
|
}
|
|
668
|
-
.zw-ai-component-suggestion__button[data-v-
|
|
668
|
+
.zw-ai-component-suggestion__button[data-v-3b3df0c3]:hover {
|
|
669
669
|
opacity: 0.8;
|
|
670
670
|
background-color: #3AAA35;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
.zw-
|
|
673
|
+
.zw-selectors[data-v-5281be82] {
|
|
674
|
+
display: flex;
|
|
675
|
+
}
|
|
676
|
+
.zw-ai__dropdown[data-v-5281be82] {
|
|
677
|
+
width: 100%;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.zw-suggestion-modal[data-v-5714b6dc] {
|
|
674
681
|
width: 500px;
|
|
675
682
|
}
|
|
676
|
-
.zw-link-modal__body[data-v-
|
|
683
|
+
.zw-link-modal__body[data-v-5714b6dc] {
|
|
677
684
|
padding: var(--zw-offset-sm);
|
|
678
685
|
}
|
|
679
|
-
.zw-generated-text__suggestion[data-v-
|
|
686
|
+
.zw-generated-text__suggestion[data-v-5714b6dc] {
|
|
680
687
|
font-size: 14px;
|
|
681
688
|
color: #908E8E;
|
|
682
689
|
}
|
|
683
|
-
.zw-ai-component__send-button[data-v-
|
|
690
|
+
.zw-ai-component__send-button[data-v-5714b6dc] {
|
|
684
691
|
position: absolute;
|
|
685
692
|
top: 50%;
|
|
686
693
|
transform: translateY(-50%);
|
|
687
694
|
right: 16px;
|
|
688
695
|
}
|
|
689
|
-
.zw-ai-component__icon[data-v-
|
|
696
|
+
.zw-ai-component__icon[data-v-5714b6dc] {
|
|
690
697
|
color: #CDD1DC;
|
|
691
698
|
}
|
|
692
|
-
.zw-ai-component__send-button:hover .zw-ai-component__icon[data-v-
|
|
699
|
+
.zw-ai-component__send-button:hover .zw-ai-component__icon[data-v-5714b6dc] {
|
|
693
700
|
color: #878DA2;
|
|
694
701
|
transition: color 0.1s ease-in-out;
|
|
695
702
|
}
|
|
696
|
-
.zw-field__label[data-v-
|
|
703
|
+
.zw-field__label[data-v-5714b6dc] {
|
|
697
704
|
display: inline-block;
|
|
698
705
|
font-size: var(--zw-font-size-xxs);
|
|
699
706
|
padding-bottom: var(--zw-offset-xxs);
|