@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 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/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +70 -19
- package/dist/index.css +80 -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 +6 -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.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +9 -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.d.ts +6 -0
- 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.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- 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.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +4 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +14 -2
- package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
- 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/ckeditor5-metadata.json
CHANGED
|
@@ -39,6 +39,20 @@
|
|
|
39
39
|
"description": "Provides quick access to common AI-powered actions like improve writing, change tone, translate, and custom commands",
|
|
40
40
|
"docs": "features/ai/ckeditor-ai-overview.html",
|
|
41
41
|
"path": "src/aiquickactions/aiquickactions.js"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "AI Editor Integration",
|
|
45
|
+
"className": "AIEditorIntegration",
|
|
46
|
+
"description": "Provides integration between AI-powered features and the editor",
|
|
47
|
+
"docs": "features/ai/ckeditor-ai-overview.html",
|
|
48
|
+
"path": "src/aieditorintegration/aieditorintegration.js",
|
|
49
|
+
"uiComponents": [
|
|
50
|
+
{
|
|
51
|
+
"type": "Button",
|
|
52
|
+
"name": "toggleAi",
|
|
53
|
+
"iconPath": "@ckeditor/ckeditor5-icons/theme/icons/ai-ask-ai.svg"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
42
56
|
}
|
|
43
57
|
]
|
|
44
58
|
}
|
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);
|
|
@@ -1041,6 +1046,12 @@
|
|
|
1041
1046
|
padding-bottom:var(--ck-spacing-large);
|
|
1042
1047
|
}
|
|
1043
1048
|
|
|
1049
|
+
.ck.ck-ai-chat-controls.ck-ai-chat-controls-disabled{
|
|
1050
|
+
opacity:0.5;
|
|
1051
|
+
pointer-events:none;
|
|
1052
|
+
cursor:default;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1044
1055
|
.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection{
|
|
1045
1056
|
line-height:0;
|
|
1046
1057
|
}
|
|
@@ -1537,12 +1548,16 @@
|
|
|
1537
1548
|
}
|
|
1538
1549
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title .ck-toolbar .ck-button{
|
|
1539
1550
|
margin:0;
|
|
1540
|
-
|
|
1551
|
+
color:var(--ck-ai-chat-suggestion-icon-default-color);
|
|
1541
1552
|
}
|
|
1542
1553
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__content :last-child{
|
|
1543
1554
|
padding-bottom:0;
|
|
1544
1555
|
margin-bottom:var(--ck-spacing-medium);
|
|
1545
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
|
+
}
|
|
1546
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{
|
|
1547
1562
|
visibility:visible;
|
|
1548
1563
|
opacity:1;
|
|
@@ -1554,13 +1569,16 @@
|
|
|
1554
1569
|
display:block;
|
|
1555
1570
|
clear:both;
|
|
1556
1571
|
}
|
|
1572
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_pending:hover .ck-toolbar .ck-icon{
|
|
1573
|
+
color:var(--ck-ai-background-color-action-button);
|
|
1574
|
+
}
|
|
1557
1575
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:hover::before{
|
|
1558
1576
|
content:'';
|
|
1559
1577
|
position:absolute;
|
|
1560
1578
|
left:calc((-1 * var(--ck-spacing-large)) - 1px);
|
|
1561
1579
|
top:5px;
|
|
1562
1580
|
height:100%;
|
|
1563
|
-
border-left:
|
|
1581
|
+
border-left:3px solid var(--ck-ai-chat-suggestion-border-hover-color);
|
|
1564
1582
|
}
|
|
1565
1583
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:last-child::before{
|
|
1566
1584
|
height:calc(100% - 10px);
|
|
@@ -1610,6 +1628,11 @@
|
|
|
1610
1628
|
bottom:0;
|
|
1611
1629
|
transform:translateY(50%);
|
|
1612
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
|
+
}
|
|
1613
1636
|
.ck.ck-ai-mini-toolbar .ck.ck-button{
|
|
1614
1637
|
font-size:.9em;
|
|
1615
1638
|
font-family:var(--ck-ai-chat-font-family);
|
|
@@ -1884,7 +1907,6 @@
|
|
|
1884
1907
|
.ck.ck-button.ck-ai-button-primary.ck-disabled{
|
|
1885
1908
|
color:var(--ck-ai-button-primary-disabled-color);
|
|
1886
1909
|
background-color:var(--ck-ai-button-primary-disabled-background-color);
|
|
1887
|
-
cursor:not-allowed;
|
|
1888
1910
|
}
|
|
1889
1911
|
.ck.ck-button.ck-ai-button-primary:disabled > .ck.ck-button__label,
|
|
1890
1912
|
.ck.ck-button.ck-ai-button-primary.ck-disabled > .ck.ck-button__label,
|
|
@@ -1909,7 +1931,6 @@
|
|
|
1909
1931
|
color:var(--ck-ai-button-secondary-disabled-color);
|
|
1910
1932
|
background-color:var(--ck-ai-button-secondary-disabled-background-color);
|
|
1911
1933
|
border:1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
1912
|
-
cursor:not-allowed;
|
|
1913
1934
|
}
|
|
1914
1935
|
.ck.ck-button.ck-ai-button-secondary:disabled > .ck.ck-button__label,
|
|
1915
1936
|
.ck.ck-button.ck-ai-button-secondary.ck-disabled > .ck.ck-button__label,
|
|
@@ -1928,7 +1949,6 @@
|
|
|
1928
1949
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled,
|
|
1929
1950
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled{
|
|
1930
1951
|
color:var(--ck-ai-button-tertiary-disabled-text-color);
|
|
1931
|
-
cursor:not-allowed;
|
|
1932
1952
|
}
|
|
1933
1953
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled > .ck.ck-button__label,
|
|
1934
1954
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled > .ck.ck-button__label,
|
|
@@ -1954,7 +1974,6 @@
|
|
|
1954
1974
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled{
|
|
1955
1975
|
color:var(--ck-ai-button-tertiary-filled-disabled-color);
|
|
1956
1976
|
background-color:var(--ck-ai-button-tertiary-filled-disabled-background-color);
|
|
1957
|
-
cursor:not-allowed;
|
|
1958
1977
|
}
|
|
1959
1978
|
.ck.ck-button.ck-ai-button-tertiary-filled:disabled > .ck.ck-button__label,
|
|
1960
1979
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck.ck-button__label,
|
|
@@ -1990,6 +2009,8 @@
|
|
|
1990
2009
|
--ck-ai-chat-color-text:hsla(263, 59%, 52%, 1);
|
|
1991
2010
|
--ck-ai-chat-color-icon:hsla(0, 0%, 44%, 1);
|
|
1992
2011
|
--ck-ai-chat-border-width:1px;
|
|
2012
|
+
--ck-ai-chat-suggestion-icon-default-color:hsl(0, 0%, 44%);
|
|
2013
|
+
--ck-ai-chat-suggestion-border-hover-color:hsl(262, 64%, 78%);
|
|
1993
2014
|
|
|
1994
2015
|
--ck-ai-chat-button-active-background-color:hsla(262, 100%, 96%, 1);
|
|
1995
2016
|
--ck-ai-chat-button-active-color:hsla(263, 59%, 52%, 1);
|
|
@@ -2216,17 +2237,30 @@
|
|
|
2216
2237
|
margin:var(--ck-spacing-large) 0;
|
|
2217
2238
|
}
|
|
2218
2239
|
|
|
2219
|
-
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-
|
|
2220
|
-
font-size:
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
background-color:var(--ck-ai-background-color-action-button);
|
|
2227
|
-
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);
|
|
2228
2247
|
}
|
|
2229
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
|
+
|
|
2230
2264
|
.ck .ck-ai-chat-history .ck-confirm-view{
|
|
2231
2265
|
--ck-icon-font-size:.666em;
|
|
2232
2266
|
--ck-ui-component-min-height:1.7em;
|
|
@@ -2407,7 +2441,6 @@
|
|
|
2407
2441
|
.ck.ck-button.ck-ai-button-primary:disabled{
|
|
2408
2442
|
color:var(--ck-ai-button-primary-disabled-color);
|
|
2409
2443
|
background-color:var(--ck-ai-button-primary-disabled-background-color);
|
|
2410
|
-
cursor:not-allowed;
|
|
2411
2444
|
}
|
|
2412
2445
|
.ck.ck-button.ck-ai-button-secondary{
|
|
2413
2446
|
color:var(--ck-ai-button-secondary-color);
|
|
@@ -2425,7 +2458,6 @@
|
|
|
2425
2458
|
color:var(--ck-ai-button-secondary-disabled-color);
|
|
2426
2459
|
background-color:var(--ck-ai-button-secondary-disabled-background-color);
|
|
2427
2460
|
border:1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
2428
|
-
cursor:not-allowed;
|
|
2429
2461
|
}
|
|
2430
2462
|
|
|
2431
2463
|
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader{
|
|
@@ -2444,6 +2476,20 @@
|
|
|
2444
2476
|
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader .ck-ai-suggestion__loader-text{
|
|
2445
2477
|
margin-left:var(--ck-spacing-medium);
|
|
2446
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
|
+
}
|
|
2447
2493
|
.ck span.ck-fake-ai-selection{
|
|
2448
2494
|
background:var(--ck-color-ai-selection);
|
|
2449
2495
|
}
|
|
@@ -2452,8 +2498,8 @@
|
|
|
2452
2498
|
outline-color:var(--ck-color-ai-selection);
|
|
2453
2499
|
}
|
|
2454
2500
|
|
|
2455
|
-
.ck.ck-
|
|
2456
|
-
|
|
2501
|
+
.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-ai-quick-actions-group-panel{
|
|
2502
|
+
max-height:316px;
|
|
2457
2503
|
}
|
|
2458
2504
|
|
|
2459
2505
|
:root{
|
|
@@ -2912,6 +2958,11 @@
|
|
|
2912
2958
|
overflow:hidden;
|
|
2913
2959
|
}
|
|
2914
2960
|
|
|
2961
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus){
|
|
2962
|
+
padding:0;
|
|
2963
|
+
border:0;
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2915
2966
|
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > *{
|
|
2916
2967
|
white-space:normal;
|
|
2917
2968
|
}
|
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,
|
|
@@ -1272,6 +1278,12 @@
|
|
|
1272
1278
|
padding-bottom: var(--ck-spacing-large);
|
|
1273
1279
|
}
|
|
1274
1280
|
|
|
1281
|
+
.ck.ck-ai-chat-controls.ck-ai-chat-controls-disabled {
|
|
1282
|
+
opacity: 0.5;
|
|
1283
|
+
pointer-events: none;
|
|
1284
|
+
cursor: default;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1275
1287
|
.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection {
|
|
1276
1288
|
line-height: 0;
|
|
1277
1289
|
}
|
|
@@ -1845,12 +1857,17 @@
|
|
|
1845
1857
|
}
|
|
1846
1858
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title .ck-toolbar .ck-button {
|
|
1847
1859
|
margin: 0;
|
|
1848
|
-
|
|
1860
|
+
color: var(--ck-ai-chat-suggestion-icon-default-color);
|
|
1849
1861
|
}
|
|
1850
1862
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__content :last-child {
|
|
1851
1863
|
padding-bottom: 0;
|
|
1852
1864
|
margin-bottom: var(--ck-spacing-medium);
|
|
1853
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
|
+
}
|
|
1854
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 {
|
|
1855
1872
|
visibility: visible;
|
|
1856
1873
|
opacity: 1;
|
|
@@ -1862,6 +1879,9 @@
|
|
|
1862
1879
|
display: block;
|
|
1863
1880
|
clear: both;
|
|
1864
1881
|
}
|
|
1882
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_pending:hover .ck-toolbar .ck-icon {
|
|
1883
|
+
color: var(--ck-ai-background-color-action-button);
|
|
1884
|
+
}
|
|
1865
1885
|
/* TODO: This is only a temporary implementation for preview demo purposes. Make it nice. */
|
|
1866
1886
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:hover::before {
|
|
1867
1887
|
content: '';
|
|
@@ -1869,7 +1889,7 @@
|
|
|
1869
1889
|
left: calc((-1 * var(--ck-spacing-large)) - 1px);
|
|
1870
1890
|
top: 5px;
|
|
1871
1891
|
height: 100%;
|
|
1872
|
-
border-left:
|
|
1892
|
+
border-left: 3px solid var(--ck-ai-chat-suggestion-border-hover-color);
|
|
1873
1893
|
}
|
|
1874
1894
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:last-child::before {
|
|
1875
1895
|
height: calc(100% - 10px);
|
|
@@ -1931,6 +1951,11 @@
|
|
|
1931
1951
|
bottom: 0;
|
|
1932
1952
|
transform: translateY(50%);
|
|
1933
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
|
+
}
|
|
1934
1959
|
.ck.ck-ai-mini-toolbar .ck.ck-button {
|
|
1935
1960
|
font-size: .9em;
|
|
1936
1961
|
font-family: var(--ck-ai-chat-font-family);
|
|
@@ -2012,6 +2037,7 @@
|
|
|
2012
2037
|
color: var(--ck-ai-chat-color-icon);
|
|
2013
2038
|
}
|
|
2014
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) */
|
|
2015
2041
|
/* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
|
|
2016
2042
|
font-size: 11.7px;
|
|
2017
2043
|
min-height: unset;
|
|
@@ -2262,7 +2288,6 @@
|
|
|
2262
2288
|
.ck.ck-button.ck-ai-button-primary.ck-disabled {
|
|
2263
2289
|
color: var(--ck-ai-button-primary-disabled-color);
|
|
2264
2290
|
background-color: var(--ck-ai-button-primary-disabled-background-color);
|
|
2265
|
-
cursor: not-allowed;
|
|
2266
2291
|
}
|
|
2267
2292
|
.ck.ck-button.ck-ai-button-primary:disabled > .ck.ck-button__label,
|
|
2268
2293
|
.ck.ck-button.ck-ai-button-primary.ck-disabled > .ck.ck-button__label,
|
|
@@ -2287,7 +2312,6 @@
|
|
|
2287
2312
|
color: var(--ck-ai-button-secondary-disabled-color);
|
|
2288
2313
|
background-color: var(--ck-ai-button-secondary-disabled-background-color);
|
|
2289
2314
|
border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
2290
|
-
cursor: not-allowed;
|
|
2291
2315
|
}
|
|
2292
2316
|
.ck.ck-button.ck-ai-button-secondary:disabled > .ck.ck-button__label,
|
|
2293
2317
|
.ck.ck-button.ck-ai-button-secondary.ck-disabled > .ck.ck-button__label,
|
|
@@ -2306,7 +2330,6 @@
|
|
|
2306
2330
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled,
|
|
2307
2331
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled {
|
|
2308
2332
|
color: var(--ck-ai-button-tertiary-disabled-text-color);
|
|
2309
|
-
cursor: not-allowed;
|
|
2310
2333
|
}
|
|
2311
2334
|
.ck.ck-button.ck-ai-button-tertiary-text:disabled > .ck.ck-button__label,
|
|
2312
2335
|
.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled > .ck.ck-button__label,
|
|
@@ -2332,7 +2355,6 @@
|
|
|
2332
2355
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled {
|
|
2333
2356
|
color: var(--ck-ai-button-tertiary-filled-disabled-color);
|
|
2334
2357
|
background-color: var(--ck-ai-button-tertiary-filled-disabled-background-color);
|
|
2335
|
-
cursor: not-allowed;
|
|
2336
2358
|
}
|
|
2337
2359
|
.ck.ck-button.ck-ai-button-tertiary-filled:disabled > .ck.ck-button__label,
|
|
2338
2360
|
.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck.ck-button__label,
|
|
@@ -2376,6 +2398,8 @@
|
|
|
2376
2398
|
--ck-ai-chat-color-text: hsla(263, 59%, 52%, 1);
|
|
2377
2399
|
--ck-ai-chat-color-icon: hsla(0, 0%, 44%, 1);
|
|
2378
2400
|
--ck-ai-chat-border-width: 1px;
|
|
2401
|
+
--ck-ai-chat-suggestion-icon-default-color: hsl(0, 0%, 44%);
|
|
2402
|
+
--ck-ai-chat-suggestion-border-hover-color: hsl(262, 64%, 78%);
|
|
2379
2403
|
|
|
2380
2404
|
--ck-ai-chat-button-active-background-color: hsla(262, 100%, 96%, 1);
|
|
2381
2405
|
--ck-ai-chat-button-active-color: hsla(263, 59%, 52%, 1);
|
|
@@ -2619,17 +2643,34 @@
|
|
|
2619
2643
|
margin: var(--ck-spacing-large) 0;
|
|
2620
2644
|
}
|
|
2621
2645
|
|
|
2622
|
-
.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
min-height:
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
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);
|
|
2631
2655
|
}
|
|
2632
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
|
+
|
|
2633
2674
|
.ck .ck-ai-chat-history .ck-confirm-view {
|
|
2634
2675
|
--ck-icon-font-size: .666em;
|
|
2635
2676
|
--ck-ui-component-min-height: 1.7em;
|
|
@@ -2835,7 +2876,6 @@
|
|
|
2835
2876
|
.ck.ck-button.ck-ai-button-primary:disabled {
|
|
2836
2877
|
color: var(--ck-ai-button-primary-disabled-color);
|
|
2837
2878
|
background-color: var(--ck-ai-button-primary-disabled-background-color);
|
|
2838
|
-
cursor: not-allowed;
|
|
2839
2879
|
}
|
|
2840
2880
|
.ck.ck-button.ck-ai-button-secondary {
|
|
2841
2881
|
color: var(--ck-ai-button-secondary-color);
|
|
@@ -2853,7 +2893,6 @@
|
|
|
2853
2893
|
color: var(--ck-ai-button-secondary-disabled-color);
|
|
2854
2894
|
background-color: var(--ck-ai-button-secondary-disabled-background-color);
|
|
2855
2895
|
border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
2856
|
-
cursor: not-allowed;
|
|
2857
2896
|
}
|
|
2858
2897
|
|
|
2859
2898
|
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader {
|
|
@@ -2873,6 +2912,20 @@
|
|
|
2873
2912
|
margin-left: var(--ck-spacing-medium);
|
|
2874
2913
|
}
|
|
2875
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
|
+
|
|
2876
2929
|
/*
|
|
2877
2930
|
* Classes used by the "fake visual selection" displayed in the content
|
|
2878
2931
|
* when the AI Balloon is open.
|
|
@@ -2887,8 +2940,9 @@
|
|
|
2887
2940
|
outline-color: var(--ck-color-ai-selection);
|
|
2888
2941
|
}
|
|
2889
2942
|
|
|
2890
|
-
.ck.ck-
|
|
2891
|
-
|
|
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;
|
|
2892
2946
|
}
|
|
2893
2947
|
/*
|
|
2894
2948
|
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
@@ -3397,6 +3451,12 @@
|
|
|
3397
3451
|
overflow: hidden;
|
|
3398
3452
|
}
|
|
3399
3453
|
|
|
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. */
|
|
3456
|
+
padding: 0;
|
|
3457
|
+
border: 0;
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3400
3460
|
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > * {
|
|
3401
3461
|
white-space: normal;
|
|
3402
3462
|
}
|
|
@@ -3468,6 +3528,7 @@
|
|
|
3468
3528
|
}
|
|
3469
3529
|
|
|
3470
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) */
|
|
3471
3532
|
/* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
|
|
3472
3533
|
font-size: 11.7px;
|
|
3473
3534
|
min-height: unset;
|