@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.7
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/LICENSE.md +4 -0
- package/build/ai.js +1 -1
- package/dist/index-editor.css +54 -18
- package/dist/index.css +64 -19
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +0 -2
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +7 -2
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +4 -0
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +17 -0
- package/src/aicore/aiconnector.d.ts +13 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.d.ts +41 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +2 -2
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +6 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +0 -4
- package/theme/common/aiheader.css +1 -0
- package/src/aiquickactions/utils/common-translations.d.ts +0 -9
- package/src/aiquickactions/utils/common-translations.js +0 -23
package/dist/index-editor.css
CHANGED
|
@@ -452,6 +452,11 @@
|
|
|
452
452
|
flex-grow:1;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
+
.ck.ck-tabs.ck-ai-tabs .ck-tab-panel.ck-tab-panel_disabled{
|
|
456
|
+
pointer-events:none;
|
|
457
|
+
opacity:0.5;
|
|
458
|
+
}
|
|
459
|
+
|
|
455
460
|
.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay{
|
|
456
461
|
position:fixed;
|
|
457
462
|
height:var(--ck-tabs-overlay-height);
|
|
@@ -1549,6 +1554,10 @@
|
|
|
1549
1554
|
padding-bottom:0;
|
|
1550
1555
|
margin-bottom:var(--ck-spacing-medium);
|
|
1551
1556
|
}
|
|
1557
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__content.ck.ck-content:not(:focus){
|
|
1558
|
+
padding:0;
|
|
1559
|
+
border:0;
|
|
1560
|
+
}
|
|
1552
1561
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part:hover .ck-ai-suggestion__body__content-part__title .ck-toolbar{
|
|
1553
1562
|
visibility:visible;
|
|
1554
1563
|
opacity:1;
|
|
@@ -1619,6 +1628,11 @@
|
|
|
1619
1628
|
bottom:0;
|
|
1620
1629
|
transform:translateY(50%);
|
|
1621
1630
|
}
|
|
1631
|
+
.ck.ck-ai-mini-toolbar .ck-ai-interaction-counter{
|
|
1632
|
+
color:var(--ck-ai-chat-color-icon);
|
|
1633
|
+
letter-spacing:2.6px;
|
|
1634
|
+
font-family:var(--ck-ai-balloon-font-family);
|
|
1635
|
+
}
|
|
1622
1636
|
.ck.ck-ai-mini-toolbar .ck.ck-button{
|
|
1623
1637
|
font-size:.9em;
|
|
1624
1638
|
font-family:var(--ck-ai-chat-font-family);
|
|
@@ -1893,7 +1907,6 @@
|
|
|
1893
1907
|
.ck.ck-button.ck-ai-button-primary.ck-disabled{
|
|
1894
1908
|
color:var(--ck-ai-button-primary-disabled-color);
|
|
1895
1909
|
background-color:var(--ck-ai-button-primary-disabled-background-color);
|
|
1896
|
-
cursor:not-allowed;
|
|
1897
1910
|
}
|
|
1898
1911
|
.ck.ck-button.ck-ai-button-primary:disabled > .ck.ck-button__label,
|
|
1899
1912
|
.ck.ck-button.ck-ai-button-primary.ck-disabled > .ck.ck-button__label,
|
|
@@ -1918,7 +1931,6 @@
|
|
|
1918
1931
|
color:var(--ck-ai-button-secondary-disabled-color);
|
|
1919
1932
|
background-color:var(--ck-ai-button-secondary-disabled-background-color);
|
|
1920
1933
|
border:1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
1921
|
-
cursor:not-allowed;
|
|
1922
1934
|
}
|
|
1923
1935
|
.ck.ck-button.ck-ai-button-secondary:disabled > .ck.ck-button__label,
|
|
1924
1936
|
.ck.ck-button.ck-ai-button-secondary.ck-disabled > .ck.ck-button__label,
|
|
@@ -1937,7 +1949,6 @@
|
|
|
1937
1949
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled,
|
|
1938
1950
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled{
|
|
1939
1951
|
color:var(--ck-ai-button-tertiary-disabled-text-color);
|
|
1940
|
-
cursor:not-allowed;
|
|
1941
1952
|
}
|
|
1942
1953
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled > .ck.ck-button__label,
|
|
1943
1954
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled > .ck.ck-button__label,
|
|
@@ -1963,7 +1974,6 @@
|
|
|
1963
1974
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled{
|
|
1964
1975
|
color:var(--ck-ai-button-tertiary-filled-disabled-color);
|
|
1965
1976
|
background-color:var(--ck-ai-button-tertiary-filled-disabled-background-color);
|
|
1966
|
-
cursor:not-allowed;
|
|
1967
1977
|
}
|
|
1968
1978
|
.ck.ck-button.ck-ai-button-tertiary-filled:disabled > .ck.ck-button__label,
|
|
1969
1979
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck.ck-button__label,
|
|
@@ -2227,17 +2237,30 @@
|
|
|
2227
2237
|
margin:var(--ck-spacing-large) 0;
|
|
2228
2238
|
}
|
|
2229
2239
|
|
|
2230
|
-
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-
|
|
2231
|
-
font-size:
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
background-color:var(--ck-ai-background-color-action-button);
|
|
2238
|
-
color:var(--ck-ai-font-color-action-button);
|
|
2240
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation{
|
|
2241
|
+
font-size:11.7px;
|
|
2242
|
+
min-height:unset;
|
|
2243
|
+
border:1px solid var(--ck-ai-border-color-button);
|
|
2244
|
+
border-radius:var(--ck-border-radius);
|
|
2245
|
+
gap:var(--ck-spacing-small);
|
|
2246
|
+
color:var(--ck-ai-chat-color-text);
|
|
2239
2247
|
}
|
|
2240
2248
|
|
|
2249
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation:hover{
|
|
2250
|
+
background-color:var(--ck-ai-chat-button-active-background-color);
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation > .ck-button__label{
|
|
2254
|
+
line-height:1.4em;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation > .ck-button__icon{
|
|
2258
|
+
--ck-icon-font-size:.632em;
|
|
2259
|
+
|
|
2260
|
+
margin-inline-end:0;
|
|
2261
|
+
color:var(--ck-ai-chat-color-text);
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2241
2264
|
.ck .ck-ai-chat-history .ck-confirm-view{
|
|
2242
2265
|
--ck-icon-font-size:.666em;
|
|
2243
2266
|
--ck-ui-component-min-height:1.7em;
|
|
@@ -2418,7 +2441,6 @@
|
|
|
2418
2441
|
.ck.ck-button.ck-ai-button-primary:disabled{
|
|
2419
2442
|
color:var(--ck-ai-button-primary-disabled-color);
|
|
2420
2443
|
background-color:var(--ck-ai-button-primary-disabled-background-color);
|
|
2421
|
-
cursor:not-allowed;
|
|
2422
2444
|
}
|
|
2423
2445
|
.ck.ck-button.ck-ai-button-secondary{
|
|
2424
2446
|
color:var(--ck-ai-button-secondary-color);
|
|
@@ -2436,7 +2458,6 @@
|
|
|
2436
2458
|
color:var(--ck-ai-button-secondary-disabled-color);
|
|
2437
2459
|
background-color:var(--ck-ai-button-secondary-disabled-background-color);
|
|
2438
2460
|
border:1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
2439
|
-
cursor:not-allowed;
|
|
2440
2461
|
}
|
|
2441
2462
|
|
|
2442
2463
|
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader{
|
|
@@ -2455,6 +2476,20 @@
|
|
|
2455
2476
|
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader .ck-ai-suggestion__loader-text{
|
|
2456
2477
|
margin-left:var(--ck-spacing-medium);
|
|
2457
2478
|
}
|
|
2479
|
+
|
|
2480
|
+
.ck-ai-suggestion__container .ck.ck-ai-suggestion__error{
|
|
2481
|
+
padding:var(--ck-spacing-large) !important;
|
|
2482
|
+
height:150px;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
.ck-ai-suggestion__container .ck.ck-ai-suggestion__error .ck-ai-suggestion__error-text{
|
|
2486
|
+
background-color:hsla(15, 100%, 97%, 1);
|
|
2487
|
+
border:1px solid hsla(14, 100%, 68%, 1);
|
|
2488
|
+
color:hsla(0, 0%, 20%, 1);
|
|
2489
|
+
padding:var(--ck-spacing-medium);
|
|
2490
|
+
display:block;
|
|
2491
|
+
border-radius:var(--ck-border-radius);
|
|
2492
|
+
}
|
|
2458
2493
|
.ck span.ck-fake-ai-selection{
|
|
2459
2494
|
background:var(--ck-color-ai-selection);
|
|
2460
2495
|
}
|
|
@@ -2463,8 +2498,8 @@
|
|
|
2463
2498
|
outline-color:var(--ck-color-ai-selection);
|
|
2464
2499
|
}
|
|
2465
2500
|
|
|
2466
|
-
.ck.ck-
|
|
2467
|
-
|
|
2501
|
+
.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-ai-quick-actions-group-panel{
|
|
2502
|
+
max-height:316px;
|
|
2468
2503
|
}
|
|
2469
2504
|
|
|
2470
2505
|
:root{
|
|
@@ -2923,8 +2958,9 @@
|
|
|
2923
2958
|
overflow:hidden;
|
|
2924
2959
|
}
|
|
2925
2960
|
|
|
2926
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content{
|
|
2961
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus){
|
|
2927
2962
|
padding:0;
|
|
2963
|
+
border:0;
|
|
2928
2964
|
}
|
|
2929
2965
|
|
|
2930
2966
|
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > *{
|
package/dist/index.css
CHANGED
|
@@ -575,6 +575,11 @@
|
|
|
575
575
|
flex-grow: 1;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
+
.ck.ck-tabs.ck-ai-tabs .ck-tab-panel.ck-tab-panel_disabled {
|
|
579
|
+
pointer-events: none;
|
|
580
|
+
opacity: 0.5;
|
|
581
|
+
}
|
|
582
|
+
|
|
578
583
|
.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay {
|
|
579
584
|
position: fixed;
|
|
580
585
|
height: var(--ck-tabs-overlay-height);
|
|
@@ -603,6 +608,7 @@
|
|
|
603
608
|
.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-tabs_right {
|
|
604
609
|
border-right: 0;
|
|
605
610
|
}
|
|
611
|
+
|
|
606
612
|
/*
|
|
607
613
|
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
608
614
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
@@ -1857,6 +1863,11 @@
|
|
|
1857
1863
|
padding-bottom: 0;
|
|
1858
1864
|
margin-bottom: var(--ck-spacing-medium);
|
|
1859
1865
|
}
|
|
1866
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__content.ck.ck-content:not(:focus) {
|
|
1867
|
+
/* Reset default padding and border of `ck-content` class. */
|
|
1868
|
+
padding: 0;
|
|
1869
|
+
border: 0;
|
|
1870
|
+
}
|
|
1860
1871
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part:hover .ck-ai-suggestion__body__content-part__title .ck-toolbar {
|
|
1861
1872
|
visibility: visible;
|
|
1862
1873
|
opacity: 1;
|
|
@@ -1940,6 +1951,11 @@
|
|
|
1940
1951
|
bottom: 0;
|
|
1941
1952
|
transform: translateY(50%);
|
|
1942
1953
|
}
|
|
1954
|
+
.ck.ck-ai-mini-toolbar .ck-ai-interaction-counter {
|
|
1955
|
+
color: var(--ck-ai-chat-color-icon);
|
|
1956
|
+
letter-spacing: 2.6px;
|
|
1957
|
+
font-family: var(--ck-ai-balloon-font-family);
|
|
1958
|
+
}
|
|
1943
1959
|
.ck.ck-ai-mini-toolbar .ck.ck-button {
|
|
1944
1960
|
font-size: .9em;
|
|
1945
1961
|
font-family: var(--ck-ai-chat-font-family);
|
|
@@ -2021,6 +2037,7 @@
|
|
|
2021
2037
|
color: var(--ck-ai-chat-color-icon);
|
|
2022
2038
|
}
|
|
2023
2039
|
.ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation {
|
|
2040
|
+
/* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat history - empty viewr) */
|
|
2024
2041
|
/* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
|
|
2025
2042
|
font-size: 11.7px;
|
|
2026
2043
|
min-height: unset;
|
|
@@ -2271,7 +2288,6 @@
|
|
|
2271
2288
|
.ck.ck-button.ck-ai-button-primary.ck-disabled {
|
|
2272
2289
|
color: var(--ck-ai-button-primary-disabled-color);
|
|
2273
2290
|
background-color: var(--ck-ai-button-primary-disabled-background-color);
|
|
2274
|
-
cursor: not-allowed;
|
|
2275
2291
|
}
|
|
2276
2292
|
.ck.ck-button.ck-ai-button-primary:disabled > .ck.ck-button__label,
|
|
2277
2293
|
.ck.ck-button.ck-ai-button-primary.ck-disabled > .ck.ck-button__label,
|
|
@@ -2296,7 +2312,6 @@
|
|
|
2296
2312
|
color: var(--ck-ai-button-secondary-disabled-color);
|
|
2297
2313
|
background-color: var(--ck-ai-button-secondary-disabled-background-color);
|
|
2298
2314
|
border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
2299
|
-
cursor: not-allowed;
|
|
2300
2315
|
}
|
|
2301
2316
|
.ck.ck-button.ck-ai-button-secondary:disabled > .ck.ck-button__label,
|
|
2302
2317
|
.ck.ck-button.ck-ai-button-secondary.ck-disabled > .ck.ck-button__label,
|
|
@@ -2315,7 +2330,6 @@
|
|
|
2315
2330
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled,
|
|
2316
2331
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled {
|
|
2317
2332
|
color: var(--ck-ai-button-tertiary-disabled-text-color);
|
|
2318
|
-
cursor: not-allowed;
|
|
2319
2333
|
}
|
|
2320
2334
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled > .ck.ck-button__label,
|
|
2321
2335
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled > .ck.ck-button__label,
|
|
@@ -2341,7 +2355,6 @@
|
|
|
2341
2355
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled {
|
|
2342
2356
|
color: var(--ck-ai-button-tertiary-filled-disabled-color);
|
|
2343
2357
|
background-color: var(--ck-ai-button-tertiary-filled-disabled-background-color);
|
|
2344
|
-
cursor: not-allowed;
|
|
2345
2358
|
}
|
|
2346
2359
|
.ck.ck-button.ck-ai-button-tertiary-filled:disabled > .ck.ck-button__label,
|
|
2347
2360
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck.ck-button__label,
|
|
@@ -2630,17 +2643,34 @@
|
|
|
2630
2643
|
margin: var(--ck-spacing-large) 0;
|
|
2631
2644
|
}
|
|
2632
2645
|
|
|
2633
|
-
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
min-height:
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
color: var(--ck-ai-
|
|
2646
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation {
|
|
2647
|
+
/* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat header) */
|
|
2648
|
+
/* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
|
|
2649
|
+
font-size: 11.7px;
|
|
2650
|
+
min-height: unset;
|
|
2651
|
+
border: 1px solid var(--ck-ai-border-color-button);
|
|
2652
|
+
border-radius: var(--ck-border-radius);
|
|
2653
|
+
gap: var(--ck-spacing-small);
|
|
2654
|
+
color: var(--ck-ai-chat-color-text);
|
|
2642
2655
|
}
|
|
2643
2656
|
|
|
2657
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation:hover {
|
|
2658
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation > .ck-button__label {
|
|
2662
|
+
/* Custom value unlike the rest of editor UI. */
|
|
2663
|
+
line-height: 1.4em;
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation > .ck-button__icon {
|
|
2667
|
+
/* Custom value unlike the rest of editor UI (defaults to 14px). See how it's used in the icon.css */
|
|
2668
|
+
--ck-icon-font-size: .632em;
|
|
2669
|
+
|
|
2670
|
+
margin-inline-end: 0;
|
|
2671
|
+
color: var(--ck-ai-chat-color-text);
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2644
2674
|
.ck .ck-ai-chat-history .ck-confirm-view {
|
|
2645
2675
|
--ck-icon-font-size: .666em;
|
|
2646
2676
|
--ck-ui-component-min-height: 1.7em;
|
|
@@ -2846,7 +2876,6 @@
|
|
|
2846
2876
|
.ck.ck-button.ck-ai-button-primary:disabled {
|
|
2847
2877
|
color: var(--ck-ai-button-primary-disabled-color);
|
|
2848
2878
|
background-color: var(--ck-ai-button-primary-disabled-background-color);
|
|
2849
|
-
cursor: not-allowed;
|
|
2850
2879
|
}
|
|
2851
2880
|
.ck.ck-button.ck-ai-button-secondary {
|
|
2852
2881
|
color: var(--ck-ai-button-secondary-color);
|
|
@@ -2864,7 +2893,6 @@
|
|
|
2864
2893
|
color: var(--ck-ai-button-secondary-disabled-color);
|
|
2865
2894
|
background-color: var(--ck-ai-button-secondary-disabled-background-color);
|
|
2866
2895
|
border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
2867
|
-
cursor: not-allowed;
|
|
2868
2896
|
}
|
|
2869
2897
|
|
|
2870
2898
|
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader {
|
|
@@ -2884,6 +2912,20 @@
|
|
|
2884
2912
|
margin-left: var(--ck-spacing-medium);
|
|
2885
2913
|
}
|
|
2886
2914
|
|
|
2915
|
+
.ck-ai-suggestion__container .ck.ck-ai-suggestion__error {
|
|
2916
|
+
padding: var(--ck-spacing-large) !important;
|
|
2917
|
+
height: 150px;
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
.ck-ai-suggestion__container .ck.ck-ai-suggestion__error .ck-ai-suggestion__error-text {
|
|
2921
|
+
background-color: hsla(15, 100%, 97%, 1);
|
|
2922
|
+
border: 1px solid hsla(14, 100%, 68%, 1);
|
|
2923
|
+
color: hsla(0, 0%, 20%, 1);
|
|
2924
|
+
padding: var(--ck-spacing-medium);
|
|
2925
|
+
display: block;
|
|
2926
|
+
border-radius: var(--ck-border-radius);
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2887
2929
|
/*
|
|
2888
2930
|
* Classes used by the "fake visual selection" displayed in the content
|
|
2889
2931
|
* when the AI Balloon is open.
|
|
@@ -2898,8 +2940,9 @@
|
|
|
2898
2940
|
outline-color: var(--ck-color-ai-selection);
|
|
2899
2941
|
}
|
|
2900
2942
|
|
|
2901
|
-
.ck.ck-
|
|
2902
|
-
|
|
2943
|
+
.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-ai-quick-actions-group-panel {
|
|
2944
|
+
/* Override the height of the panel because the default height adds 2px scrollbar. */
|
|
2945
|
+
max-height: 316px;
|
|
2903
2946
|
}
|
|
2904
2947
|
/*
|
|
2905
2948
|
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
@@ -3408,9 +3451,10 @@
|
|
|
3408
3451
|
overflow: hidden;
|
|
3409
3452
|
}
|
|
3410
3453
|
|
|
3411
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content {
|
|
3412
|
-
/* Reset default padding of `ck-content
|
|
3454
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus) {
|
|
3455
|
+
/* Reset default padding and border of `ck-content` class. */
|
|
3413
3456
|
padding: 0;
|
|
3457
|
+
border: 0;
|
|
3414
3458
|
}
|
|
3415
3459
|
|
|
3416
3460
|
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > * {
|
|
@@ -3484,6 +3528,7 @@
|
|
|
3484
3528
|
}
|
|
3485
3529
|
|
|
3486
3530
|
.ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation {
|
|
3531
|
+
/* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat history - empty viewr) */
|
|
3487
3532
|
/* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
|
|
3488
3533
|
font-size: 11.7px;
|
|
3489
3534
|
min-height: unset;
|