@ckeditor/ckeditor5-ai 47.0.0 → 47.1.0-alpha.1
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/build/ai.js +1 -1
- package/ckeditor5-metadata.json +9 -2
- package/dist/index-editor.css +119 -34
- package/dist/index.css +144 -35
- 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.js +1 -1
- 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.js +1 -1
- package/src/aichat/aichat.d.ts +3 -3
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +6 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +2 -4
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +11 -4
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- 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.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.js +1 -1
- 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 +4 -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.js +1 -1
- package/src/aicore/model/aireply.d.ts +1 -1
- 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.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.d.ts +2 -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.d.ts +2 -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.d.ts +3 -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.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -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/aireviewmodeformdropdown.d.ts +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 +4 -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/errors.d.ts +5 -0
- package/src/errors.js +23 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
- package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
- package/theme/aichat/aichat-controls.css +1 -0
- package/theme/aichat/aichat.css +0 -1
- package/theme/aichat/aichatfeed.css +9 -0
- package/theme/aichat/aisuggestioncontainer.css +7 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
- package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
- package/theme/aitabs/aitabsview.css +2 -2
- package/theme/aitabs/tabs/tabsview.css +13 -3
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
package/ckeditor5-metadata.json
CHANGED
|
@@ -38,8 +38,15 @@
|
|
|
38
38
|
"className": "AIQuickActions",
|
|
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
|
-
"path": "src/aiquickactions/aiquickactions.js"
|
|
42
|
-
|
|
41
|
+
"path": "src/aiquickactions/aiquickactions.js",
|
|
42
|
+
"uiComponents": [
|
|
43
|
+
{
|
|
44
|
+
"type": "SplitButton",
|
|
45
|
+
"name": "aiQuickActions",
|
|
46
|
+
"iconPath": "@ckeditor/ckeditor5-icons/theme/icons/ai-quick-actions.svg"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
43
50
|
{
|
|
44
51
|
"name": "AI Editor Integration",
|
|
45
52
|
"className": "AIEditorIntegration",
|
package/dist/index-editor.css
CHANGED
|
@@ -358,7 +358,6 @@
|
|
|
358
358
|
|
|
359
359
|
:root{
|
|
360
360
|
--ck-tabs-buttons-container-buttons-vertical-spacing:0;
|
|
361
|
-
--ck-tabs-panels-container-width:auto;
|
|
362
361
|
--ck-tabs-panels-container-background:hsl(0, 0%, 100%);
|
|
363
362
|
--ck-tab-button-padding:12px;
|
|
364
363
|
--ck-tab-button-gap:var(--ck-spacing-medium);
|
|
@@ -370,11 +369,11 @@
|
|
|
370
369
|
|
|
371
370
|
.ck.ck-tabs{
|
|
372
371
|
display:flex;
|
|
373
|
-
height:100%;
|
|
374
372
|
|
|
375
373
|
font-size:var(--ck-font-size-base);
|
|
376
374
|
border:1px solid var(--ck-color-base-border);
|
|
377
375
|
border-radius:var(--ck-border-radius);
|
|
376
|
+
min-width:0;
|
|
378
377
|
}
|
|
379
378
|
|
|
380
379
|
.ck.ck-tabs.ck-tabs_top{
|
|
@@ -390,11 +389,11 @@
|
|
|
390
389
|
}
|
|
391
390
|
|
|
392
391
|
.ck.ck-tabs .ck-tabs__panels-container{
|
|
393
|
-
width:var(--ck-tabs-panels-container-width);
|
|
394
392
|
transition:width 0.8s ease-in-out;
|
|
395
393
|
transition:height 0.8s ease-in-out;
|
|
396
394
|
background-color:var(--ck-tabs-panels-container-background);
|
|
397
395
|
flex-grow:1;
|
|
396
|
+
min-width:0
|
|
398
397
|
}
|
|
399
398
|
|
|
400
399
|
.ck.ck-tabs .ck-tabs__buttons-container{
|
|
@@ -423,6 +422,7 @@
|
|
|
423
422
|
.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_right{
|
|
424
423
|
flex-direction:column;
|
|
425
424
|
padding-top:var(--ck-tabs-buttons-container-buttons-vertical-spacing);
|
|
425
|
+
padding-bottom:var(--ck-tabs-buttons-container-buttons-vertical-spacing);
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
:root{
|
|
@@ -433,12 +433,12 @@
|
|
|
433
433
|
--ck-tabs-overlay-height:100%;
|
|
434
434
|
--ck-ai-tabs-overlay-width:500px;
|
|
435
435
|
--ck-ai-tabs-overlay-width-maximized:50%;
|
|
436
|
+
--ck-ai-tabs-overlay-z-index:calc(var(--ck-z-dialog) - 1);
|
|
436
437
|
}
|
|
437
438
|
|
|
438
439
|
.ck.ck-tabs.ck-ai-tabs{
|
|
439
440
|
--ck-tabs-buttons-container-buttons-vertical-spacing:61.5px;
|
|
440
441
|
--ck-color-tab-button-active-icon:hsl(263, 59%, 52%);
|
|
441
|
-
--ck-tabs-panels-container-width:450px;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.ck.ck-tabs.ck-ai-tabs .ck-tab-panel{
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
right:var(--ck-tabs-overlay-right-position);
|
|
465
465
|
left:var(--ck-tabs-overlay-left-position);
|
|
466
466
|
bottom:var(--ck-tabs-overlay-bottom-position);
|
|
467
|
-
z-index:
|
|
467
|
+
z-index:var(--ck-ai-tabs-overlay-z-index);
|
|
468
468
|
border-radius:0;
|
|
469
469
|
border-top:0;
|
|
470
470
|
border-bottom:0;
|
|
@@ -559,6 +559,37 @@
|
|
|
559
559
|
color:var(--ck-ai-chat-color-icon);
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
+
.ck.ck-ai-chat-controls-model-unavailable-message{
|
|
563
|
+
border:1px solid hsl(262, 51%, 80%);
|
|
564
|
+
border-radius:4px;
|
|
565
|
+
background-color:hsla(263, 59%, 52%, 0.051);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p{
|
|
569
|
+
white-space:normal;
|
|
570
|
+
line-height:1.4;
|
|
571
|
+
padding:var(--ck-spacing-large);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button{
|
|
575
|
+
background:none;
|
|
576
|
+
border:none;
|
|
577
|
+
padding:0;
|
|
578
|
+
cursor:default;
|
|
579
|
+
vertical-align:baseline;
|
|
580
|
+
color:var(--ck-ai-chat-color-text);
|
|
581
|
+
text-decoration:underline;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:hover{
|
|
585
|
+
background:none;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:active, .ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:focus{
|
|
589
|
+
background:none;
|
|
590
|
+
box-shadow:none;
|
|
591
|
+
}
|
|
592
|
+
|
|
562
593
|
:root{
|
|
563
594
|
--ck-ai-chat-context-controls-balloon-width:400px;
|
|
564
595
|
}
|
|
@@ -863,6 +894,7 @@
|
|
|
863
894
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel{
|
|
864
895
|
min-width:157px;
|
|
865
896
|
max-width:250px;
|
|
897
|
+
z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
866
898
|
}
|
|
867
899
|
|
|
868
900
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button{
|
|
@@ -905,6 +937,10 @@
|
|
|
905
937
|
flex-grow:1;
|
|
906
938
|
}
|
|
907
939
|
|
|
940
|
+
.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel{
|
|
941
|
+
z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
942
|
+
}
|
|
943
|
+
|
|
908
944
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form{
|
|
909
945
|
width:var(--ck-ai-chat-context-controls-balloon-width);
|
|
910
946
|
line-height:var(--ck-form-header-height);
|
|
@@ -949,6 +985,7 @@
|
|
|
949
985
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel{
|
|
950
986
|
width:var(--ck-ai-chat-context-controls-balloon-width);
|
|
951
987
|
height:319px;
|
|
988
|
+
z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
952
989
|
}
|
|
953
990
|
|
|
954
991
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel:has(.ck-ai-skeleton:not(.ck-hidden)){
|
|
@@ -1202,6 +1239,7 @@
|
|
|
1202
1239
|
padding-bottom:var(--ck-spacing-extra-large);
|
|
1203
1240
|
gap:var(--ck-spacing-large);
|
|
1204
1241
|
position:relative;
|
|
1242
|
+
contain:size;
|
|
1205
1243
|
}
|
|
1206
1244
|
.ck.ck-ai-chat__feed:has(.ck-ai-skeleton:not(.ck-hidden)){
|
|
1207
1245
|
overflow:hidden;
|
|
@@ -1462,6 +1500,9 @@
|
|
|
1462
1500
|
line-height:1.462em;
|
|
1463
1501
|
white-space:normal;
|
|
1464
1502
|
}
|
|
1503
|
+
.ck-ai-chat__feed__ai-suggestion__actions__balloon.ck-balloon-panel{
|
|
1504
|
+
z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
1505
|
+
}
|
|
1465
1506
|
.ck-ai-chat__feed__ai-suggestion__actions__balloon .ck-list__item{
|
|
1466
1507
|
min-width:fit-content;
|
|
1467
1508
|
}
|
|
@@ -1482,6 +1523,7 @@
|
|
|
1482
1523
|
}
|
|
1483
1524
|
}
|
|
1484
1525
|
:root{
|
|
1526
|
+
--ck-ai-chat-color-icon-outdated:var(--ck-ai-chat-suggestion-icon-default-color);
|
|
1485
1527
|
--ck-ai-chat-suggestion-container-header-font-size:.9em;
|
|
1486
1528
|
--ck-ai-background-color-action-button-semi-transparent:hsla(263, 59%, 52%, 0.5);
|
|
1487
1529
|
}
|
|
@@ -1567,6 +1609,9 @@
|
|
|
1567
1609
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title > .ck-ai-suggestion__body__content-part__icon-rejected{
|
|
1568
1610
|
color:var(--ck-color-base-error);
|
|
1569
1611
|
}
|
|
1612
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title > .ck-ai-suggestion__body__content-part__icon-outdated{
|
|
1613
|
+
color:var(--ck-ai-chat-color-icon-outdated);
|
|
1614
|
+
}
|
|
1570
1615
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title > .ck-icon,
|
|
1571
1616
|
.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-icon{
|
|
1572
1617
|
--ck-icon-size:1.477em;
|
|
@@ -1614,18 +1659,19 @@
|
|
|
1614
1659
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:last-child:first-child::before{
|
|
1615
1660
|
display:none;
|
|
1616
1661
|
}
|
|
1617
|
-
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__content, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__content{
|
|
1662
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__content, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__content, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__content{
|
|
1618
1663
|
opacity:0.5;
|
|
1619
1664
|
}
|
|
1620
1665
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__title
|
|
1621
1666
|
:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *), .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__title
|
|
1667
|
+
:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *), .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__title
|
|
1622
1668
|
:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *){
|
|
1623
1669
|
opacity:0.5;
|
|
1624
1670
|
}
|
|
1625
|
-
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__icon-title, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__icon-title{
|
|
1671
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__icon-title, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__icon-title, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__icon-title{
|
|
1626
1672
|
color:var(--ck-ai-background-color-action-button-semi-transparent);
|
|
1627
1673
|
}
|
|
1628
|
-
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted::after, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected::after{
|
|
1674
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted::after, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected::after, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated::after{
|
|
1629
1675
|
opacity:0.5;
|
|
1630
1676
|
}
|
|
1631
1677
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck.ck-ai-chat__feed__item.ck-ai-chat-error_warning{
|
|
@@ -2066,7 +2112,6 @@
|
|
|
2066
2112
|
.ck.ck-ai-chat{
|
|
2067
2113
|
|
|
2068
2114
|
width:100%;
|
|
2069
|
-
min-height:300px;
|
|
2070
2115
|
display:flex;
|
|
2071
2116
|
flex-direction:column;
|
|
2072
2117
|
overflow:hidden;
|
|
@@ -2707,6 +2752,10 @@
|
|
|
2707
2752
|
flex-shrink:0;
|
|
2708
2753
|
}
|
|
2709
2754
|
|
|
2755
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row .ck.ck-labeled-field-view{
|
|
2756
|
+
width:100%;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2710
2759
|
.ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-custom-actions .ck.ck-form__row .ck.ck-input.ck-textarea.ck-review-mode__prompt-input{
|
|
2711
2760
|
width:100%;
|
|
2712
2761
|
}
|
|
@@ -2878,15 +2927,43 @@
|
|
|
2878
2927
|
border-bottom:1px solid var(--ck-color-base-border);
|
|
2879
2928
|
}
|
|
2880
2929
|
|
|
2881
|
-
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title{
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
overflow:hidden;
|
|
2886
|
-
max-width:100%;
|
|
2887
|
-
text-overflow:ellipsis;
|
|
2930
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper{
|
|
2931
|
+
display:flex;
|
|
2932
|
+
align-items:flex-start;
|
|
2933
|
+
min-width:0;
|
|
2888
2934
|
}
|
|
2889
2935
|
|
|
2936
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper > .ck-ai-spinner{
|
|
2937
|
+
transition:width 0.25s, opacity 0.25s, margin-inline-end 0.25s, display 0.25s;
|
|
2938
|
+
transition-behavior:allow-discrete;
|
|
2939
|
+
margin-inline-end:var(--ck-spacing-large);
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper > .ck-ai-spinner.ck-hidden{
|
|
2943
|
+
width:0;
|
|
2944
|
+
opacity:0;
|
|
2945
|
+
margin-inline-end:0;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content{
|
|
2949
|
+
min-width:0;
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content .ck-ai-review-mode__check-run-results-header-title,
|
|
2953
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content .ck-ai-review-mode__check-run-results-header-subtitle{
|
|
2954
|
+
display:block;
|
|
2955
|
+
align-self:center;
|
|
2956
|
+
white-space:nowrap;
|
|
2957
|
+
overflow:hidden;
|
|
2958
|
+
max-width:100%;
|
|
2959
|
+
text-overflow:ellipsis;
|
|
2960
|
+
line-height:1.5;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content .ck-ai-review-mode__check-run-results-header-title{
|
|
2964
|
+
font-weight:bold;
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2890
2967
|
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-buttons{
|
|
2891
2968
|
display:flex;
|
|
2892
2969
|
gap:var(--ck-spacing-standard);
|
|
@@ -3013,26 +3090,12 @@
|
|
|
3013
3090
|
width:300px;
|
|
3014
3091
|
}
|
|
3015
3092
|
|
|
3016
|
-
.ck.ck-balloon-panel > .ck-ai-review-mode-balloon-panel-suggestion
|
|
3017
|
-
|
|
3018
|
-
}
|
|
3019
|
-
|
|
3020
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response{
|
|
3021
|
-
overflow:hidden;
|
|
3022
|
-
}
|
|
3023
|
-
|
|
3024
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus){
|
|
3025
|
-
padding:0;
|
|
3026
|
-
border:0;
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > *{
|
|
3030
|
-
white-space:normal;
|
|
3093
|
+
.ck.ck-balloon-panel > .ck-ai-review-mode-balloon-panel-suggestion:has(.ck-ai-review-mode__check-run-result-response.ck-hidden){
|
|
3094
|
+
width:auto;
|
|
3031
3095
|
}
|
|
3032
3096
|
|
|
3033
|
-
.ck-
|
|
3034
|
-
|
|
3035
|
-
max-height:125px;
|
|
3097
|
+
.ck.ck-balloon-panel > .ck-ai-review-mode-balloon-panel-suggestion .ck-suggestion-marker{
|
|
3098
|
+
white-space:break-spaces;
|
|
3036
3099
|
}
|
|
3037
3100
|
|
|
3038
3101
|
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-footer{
|
|
@@ -3057,6 +3120,28 @@
|
|
|
3057
3120
|
margin-left:auto;
|
|
3058
3121
|
}
|
|
3059
3122
|
|
|
3123
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response{
|
|
3124
|
+
overflow:hidden;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus){
|
|
3128
|
+
padding:0;
|
|
3129
|
+
border:0;
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck-hidden + .ck-ai-review-mode__check-run-result-footer{
|
|
3133
|
+
margin-top:0;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > *{
|
|
3137
|
+
white-space:normal;
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response img{
|
|
3141
|
+
max-width:125px;
|
|
3142
|
+
max-height:125px;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3060
3145
|
.ck-ai-header{
|
|
3061
3146
|
--ck-ui-component-min-height:1.7em;
|
|
3062
3147
|
--ck-ui-component-min-width:1.7em;
|
package/dist/index.css
CHANGED
|
@@ -472,7 +472,6 @@
|
|
|
472
472
|
|
|
473
473
|
:root {
|
|
474
474
|
--ck-tabs-buttons-container-buttons-vertical-spacing: 0;
|
|
475
|
-
--ck-tabs-panels-container-width: auto;
|
|
476
475
|
--ck-tabs-panels-container-background: hsl(0, 0%, 100%);
|
|
477
476
|
--ck-tab-button-padding: 12px;
|
|
478
477
|
--ck-tab-button-gap: var(--ck-spacing-medium);
|
|
@@ -484,11 +483,16 @@
|
|
|
484
483
|
|
|
485
484
|
.ck.ck-tabs {
|
|
486
485
|
display: flex;
|
|
487
|
-
height: 100%;
|
|
488
486
|
|
|
489
487
|
font-size: var(--ck-font-size-base);
|
|
490
488
|
border: 1px solid var(--ck-color-base-border);
|
|
491
489
|
border-radius: var(--ck-border-radius);
|
|
490
|
+
|
|
491
|
+
/*
|
|
492
|
+
* This is essential for avoiding horizontal stretching by children with white-space: nowrap
|
|
493
|
+
* (see https://stackoverflow.com/questions/38223879/white-space-nowrap-breaks-flexbox-layout)
|
|
494
|
+
*/
|
|
495
|
+
min-width: 0;
|
|
492
496
|
}
|
|
493
497
|
|
|
494
498
|
.ck.ck-tabs.ck-tabs_top {
|
|
@@ -504,11 +508,16 @@
|
|
|
504
508
|
}
|
|
505
509
|
|
|
506
510
|
.ck.ck-tabs .ck-tabs__panels-container {
|
|
507
|
-
width: var(--ck-tabs-panels-container-width);
|
|
508
511
|
transition: width 0.8s ease-in-out;
|
|
509
512
|
transition: height 0.8s ease-in-out;
|
|
510
513
|
background-color: var(--ck-tabs-panels-container-background);
|
|
511
514
|
flex-grow: 1;
|
|
515
|
+
|
|
516
|
+
/*
|
|
517
|
+
* This is essential for avoiding horizontal stretching by children with white-space: nowrap
|
|
518
|
+
* (see https://stackoverflow.com/questions/38223879/white-space-nowrap-breaks-flexbox-layout)
|
|
519
|
+
*/
|
|
520
|
+
min-width: 0
|
|
512
521
|
}
|
|
513
522
|
|
|
514
523
|
.ck.ck-tabs .ck-tabs__buttons-container {
|
|
@@ -537,6 +546,7 @@
|
|
|
537
546
|
.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_right {
|
|
538
547
|
flex-direction: column;
|
|
539
548
|
padding-top: var(--ck-tabs-buttons-container-buttons-vertical-spacing);
|
|
549
|
+
padding-bottom: var(--ck-tabs-buttons-container-buttons-vertical-spacing);
|
|
540
550
|
}
|
|
541
551
|
|
|
542
552
|
/*
|
|
@@ -556,12 +566,12 @@
|
|
|
556
566
|
--ck-tabs-overlay-height: 100%;
|
|
557
567
|
--ck-ai-tabs-overlay-width: 500px;
|
|
558
568
|
--ck-ai-tabs-overlay-width-maximized: 50%;
|
|
569
|
+
--ck-ai-tabs-overlay-z-index: calc(var(--ck-z-dialog) - 1);
|
|
559
570
|
}
|
|
560
571
|
|
|
561
572
|
.ck.ck-tabs.ck-ai-tabs {
|
|
562
573
|
--ck-tabs-buttons-container-buttons-vertical-spacing: 61.5px;
|
|
563
574
|
--ck-color-tab-button-active-icon: hsl(263, 59%, 52%);
|
|
564
|
-
--ck-tabs-panels-container-width: 450px;
|
|
565
575
|
}
|
|
566
576
|
|
|
567
577
|
.ck.ck-tabs.ck-ai-tabs .ck-tab-panel {
|
|
@@ -587,7 +597,7 @@
|
|
|
587
597
|
right: var(--ck-tabs-overlay-right-position);
|
|
588
598
|
left: var(--ck-tabs-overlay-left-position);
|
|
589
599
|
bottom: var(--ck-tabs-overlay-bottom-position);
|
|
590
|
-
z-index:
|
|
600
|
+
z-index: var(--ck-ai-tabs-overlay-z-index);
|
|
591
601
|
border-radius: 0;
|
|
592
602
|
border-top: 0;
|
|
593
603
|
border-bottom: 0;
|
|
@@ -737,6 +747,46 @@
|
|
|
737
747
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
738
748
|
*/
|
|
739
749
|
|
|
750
|
+
.ck.ck-ai-chat-controls-model-unavailable-message {
|
|
751
|
+
border: 1px solid hsl(262, 51%, 80%);
|
|
752
|
+
border-radius: 4px;
|
|
753
|
+
background-color: hsla(263, 59%, 52%, 0.051);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p {
|
|
757
|
+
white-space: normal;
|
|
758
|
+
line-height: 1.4;
|
|
759
|
+
padding: var(--ck-spacing-large);
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button {
|
|
763
|
+
background: none;
|
|
764
|
+
border: none;
|
|
765
|
+
padding: 0;
|
|
766
|
+
cursor: default;
|
|
767
|
+
vertical-align: baseline;
|
|
768
|
+
color: var(--ck-ai-chat-color-text);
|
|
769
|
+
text-decoration: underline;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:hover {
|
|
773
|
+
background: none;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:active, .ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:focus {
|
|
777
|
+
background: none;
|
|
778
|
+
box-shadow: none;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/*
|
|
782
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
783
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
784
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
785
|
+
*
|
|
786
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
787
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
788
|
+
*/
|
|
789
|
+
|
|
740
790
|
:root {
|
|
741
791
|
--ck-ai-chat-context-controls-balloon-width: 400px;
|
|
742
792
|
}
|
|
@@ -1089,6 +1139,7 @@
|
|
|
1089
1139
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel {
|
|
1090
1140
|
min-width: 157px;
|
|
1091
1141
|
max-width: 250px;
|
|
1142
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
1092
1143
|
}
|
|
1093
1144
|
|
|
1094
1145
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button {
|
|
@@ -1135,6 +1186,10 @@
|
|
|
1135
1186
|
flex-grow: 1;
|
|
1136
1187
|
}
|
|
1137
1188
|
|
|
1189
|
+
.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel {
|
|
1190
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1138
1193
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form {
|
|
1139
1194
|
width: var(--ck-ai-chat-context-controls-balloon-width);
|
|
1140
1195
|
line-height: var(--ck-form-header-height);
|
|
@@ -1179,6 +1234,7 @@
|
|
|
1179
1234
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel {
|
|
1180
1235
|
width: var(--ck-ai-chat-context-controls-balloon-width);
|
|
1181
1236
|
height: 319px;
|
|
1237
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
1182
1238
|
}
|
|
1183
1239
|
|
|
1184
1240
|
.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel:has(.ck-ai-skeleton:not(.ck-hidden)) {
|
|
@@ -1452,6 +1508,12 @@
|
|
|
1452
1508
|
gap: var(--ck-spacing-large);
|
|
1453
1509
|
position: relative;
|
|
1454
1510
|
|
|
1511
|
+
/*
|
|
1512
|
+
* Addresses an issue in Chrome where the entire feed gets repainted by the browser's engine when the user
|
|
1513
|
+
* types in the prompt textarea. See https://github.com/ckeditor/ckeditor5-commercial/issues/8611.
|
|
1514
|
+
*/
|
|
1515
|
+
contain: size;
|
|
1516
|
+
|
|
1455
1517
|
/* This is needed to prevent the feed from overflowing when the skeleton is visible. */
|
|
1456
1518
|
}
|
|
1457
1519
|
.ck.ck-ai-chat__feed:has(.ck-ai-skeleton:not(.ck-hidden)) {
|
|
@@ -1747,6 +1809,9 @@
|
|
|
1747
1809
|
/**
|
|
1748
1810
|
* This is the balloon panel for the suggestion actions.
|
|
1749
1811
|
*/
|
|
1812
|
+
.ck-ai-chat__feed__ai-suggestion__actions__balloon.ck-balloon-panel {
|
|
1813
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
1814
|
+
}
|
|
1750
1815
|
.ck-ai-chat__feed__ai-suggestion__actions__balloon .ck-list__item {
|
|
1751
1816
|
min-width: fit-content;
|
|
1752
1817
|
}
|
|
@@ -1784,6 +1849,7 @@
|
|
|
1784
1849
|
* @see $ck-border-radius
|
|
1785
1850
|
*/
|
|
1786
1851
|
:root {
|
|
1852
|
+
--ck-ai-chat-color-icon-outdated: var(--ck-ai-chat-suggestion-icon-default-color);
|
|
1787
1853
|
--ck-ai-chat-suggestion-container-header-font-size: .9em;
|
|
1788
1854
|
--ck-ai-background-color-action-button-semi-transparent: hsla(263, 59%, 52%, 0.5);
|
|
1789
1855
|
}
|
|
@@ -1876,6 +1942,9 @@
|
|
|
1876
1942
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title > .ck-ai-suggestion__body__content-part__icon-rejected {
|
|
1877
1943
|
color: var(--ck-color-base-error);
|
|
1878
1944
|
}
|
|
1945
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title > .ck-ai-suggestion__body__content-part__icon-outdated {
|
|
1946
|
+
color: var(--ck-ai-chat-color-icon-outdated);
|
|
1947
|
+
}
|
|
1879
1948
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title > .ck-icon,
|
|
1880
1949
|
.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-icon {
|
|
1881
1950
|
--ck-icon-size: 1.477em;
|
|
@@ -1925,21 +1994,22 @@
|
|
|
1925
1994
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:last-child:first-child::before {
|
|
1926
1995
|
display: none;
|
|
1927
1996
|
}
|
|
1928
|
-
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__content, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__content {
|
|
1997
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__content, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__content, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__content {
|
|
1929
1998
|
opacity: 0.5;
|
|
1930
1999
|
}
|
|
1931
2000
|
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__title
|
|
1932
2001
|
:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *), .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__title
|
|
2002
|
+
:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *), .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__title
|
|
1933
2003
|
:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *) {
|
|
1934
2004
|
opacity: 0.5;
|
|
1935
2005
|
}
|
|
1936
2006
|
/* stylelint-disable no-descending-specificity */
|
|
1937
|
-
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__icon-title, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__icon-title {
|
|
2007
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__icon-title, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__icon-title, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__icon-title {
|
|
1938
2008
|
/* Icon can not be transparent because the border would be visible, it has to be controlled by the color. */
|
|
1939
2009
|
color: var(--ck-ai-background-color-action-button-semi-transparent);
|
|
1940
2010
|
}
|
|
1941
2011
|
/* stylelint-enable no-descending-specificity */
|
|
1942
|
-
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted::after, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected::after {
|
|
2012
|
+
.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted::after, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected::after, .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated::after {
|
|
1943
2013
|
opacity: 0.5;
|
|
1944
2014
|
}
|
|
1945
2015
|
/* The warning is displayed when some parts of the suggestion are empty. */
|
|
@@ -2468,7 +2538,6 @@
|
|
|
2468
2538
|
.ck.ck-ai-chat {
|
|
2469
2539
|
|
|
2470
2540
|
width: 100%;
|
|
2471
|
-
min-height: 300px;
|
|
2472
2541
|
display: flex;
|
|
2473
2542
|
flex-direction: column;
|
|
2474
2543
|
overflow: hidden;
|
|
@@ -3179,6 +3248,10 @@
|
|
|
3179
3248
|
flex-shrink: 0;
|
|
3180
3249
|
}
|
|
3181
3250
|
|
|
3251
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row .ck.ck-labeled-field-view {
|
|
3252
|
+
width: 100%;
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3182
3255
|
.ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-custom-actions .ck.ck-form__row .ck.ck-input.ck-textarea.ck-review-mode__prompt-input {
|
|
3183
3256
|
width: 100%;
|
|
3184
3257
|
}
|
|
@@ -3359,15 +3432,43 @@
|
|
|
3359
3432
|
border-bottom: 1px solid var(--ck-color-base-border);
|
|
3360
3433
|
}
|
|
3361
3434
|
|
|
3362
|
-
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title {
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
overflow: hidden;
|
|
3367
|
-
max-width: 100%;
|
|
3368
|
-
text-overflow: ellipsis;
|
|
3435
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper {
|
|
3436
|
+
display: flex;
|
|
3437
|
+
align-items: flex-start;
|
|
3438
|
+
min-width: 0;
|
|
3369
3439
|
}
|
|
3370
3440
|
|
|
3441
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper > .ck-ai-spinner {
|
|
3442
|
+
transition: width 0.25s, opacity 0.25s, margin-inline-end 0.25s, display 0.25s;
|
|
3443
|
+
transition-behavior: allow-discrete;
|
|
3444
|
+
margin-inline-end: var(--ck-spacing-large);
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper > .ck-ai-spinner.ck-hidden {
|
|
3448
|
+
width: 0;
|
|
3449
|
+
opacity: 0;
|
|
3450
|
+
margin-inline-end: 0;
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content {
|
|
3454
|
+
min-width: 0;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content .ck-ai-review-mode__check-run-results-header-title,
|
|
3458
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content .ck-ai-review-mode__check-run-results-header-subtitle {
|
|
3459
|
+
display: block;
|
|
3460
|
+
align-self: center;
|
|
3461
|
+
white-space: nowrap;
|
|
3462
|
+
overflow: hidden;
|
|
3463
|
+
max-width: 100%;
|
|
3464
|
+
text-overflow: ellipsis;
|
|
3465
|
+
line-height: 1.5;
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title-wrapper .ck-ai-review-mode__check-run-results-header-title-content .ck-ai-review-mode__check-run-results-header-title {
|
|
3469
|
+
font-weight: bold;
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3371
3472
|
.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-buttons {
|
|
3372
3473
|
display: flex;
|
|
3373
3474
|
gap: var(--ck-spacing-standard);
|
|
@@ -3514,6 +3615,10 @@
|
|
|
3514
3615
|
width: 300px;
|
|
3515
3616
|
}
|
|
3516
3617
|
|
|
3618
|
+
.ck.ck-balloon-panel > .ck-ai-review-mode-balloon-panel-suggestion:has(.ck-ai-review-mode__check-run-result-response.ck-hidden) {
|
|
3619
|
+
width: auto;
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3517
3622
|
.ck.ck-balloon-panel > .ck-ai-review-mode-balloon-panel-suggestion .ck-suggestion-marker {
|
|
3518
3623
|
white-space: break-spaces;
|
|
3519
3624
|
}
|
|
@@ -3527,25 +3632,6 @@
|
|
|
3527
3632
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
3528
3633
|
*/
|
|
3529
3634
|
|
|
3530
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response {
|
|
3531
|
-
overflow: hidden;
|
|
3532
|
-
}
|
|
3533
|
-
|
|
3534
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus) {
|
|
3535
|
-
/* Reset default padding and border of `ck-content` class. */
|
|
3536
|
-
padding: 0;
|
|
3537
|
-
border: 0;
|
|
3538
|
-
}
|
|
3539
|
-
|
|
3540
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > * {
|
|
3541
|
-
white-space: normal;
|
|
3542
|
-
}
|
|
3543
|
-
|
|
3544
|
-
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response img {
|
|
3545
|
-
max-width: 125px;
|
|
3546
|
-
max-height: 125px;
|
|
3547
|
-
}
|
|
3548
|
-
|
|
3549
3635
|
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-footer {
|
|
3550
3636
|
margin-top: var(--ck-spacing-standard);
|
|
3551
3637
|
display: flex;
|
|
@@ -3568,6 +3654,29 @@
|
|
|
3568
3654
|
margin-left: auto;
|
|
3569
3655
|
}
|
|
3570
3656
|
|
|
3657
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response {
|
|
3658
|
+
overflow: hidden;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck.ck-content:not(:focus) {
|
|
3662
|
+
/* Reset default padding and border of `ck-content` class. */
|
|
3663
|
+
padding: 0;
|
|
3664
|
+
border: 0;
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response.ck-hidden + .ck-ai-review-mode__check-run-result-footer {
|
|
3668
|
+
margin-top: 0;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response > * {
|
|
3672
|
+
white-space: normal;
|
|
3673
|
+
}
|
|
3674
|
+
|
|
3675
|
+
.ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response img {
|
|
3676
|
+
max-width: 125px;
|
|
3677
|
+
max-height: 125px;
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3571
3680
|
/*
|
|
3572
3681
|
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3573
3682
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|