@ckeditor/ckeditor5-ai 46.1.1 → 47.0.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/LICENSE.md +18 -5
- package/README.md +10 -9
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +24 -3
- package/dist/index-content.css +0 -1
- package/dist/index-editor.css +2742 -0
- package/dist/index.css +3141 -0
- package/dist/index.js +4 -2
- 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 +163 -1
- package/lang/translations/af.po +612 -0
- package/lang/translations/ar.po +628 -0
- package/lang/translations/ast.po +612 -0
- package/lang/translations/az.po +612 -0
- package/lang/translations/be.po +616 -0
- package/lang/translations/bg.po +612 -0
- package/lang/translations/bn.po +612 -0
- package/lang/translations/bs.po +616 -0
- package/lang/translations/ca.po +612 -0
- package/lang/translations/cs.po +616 -0
- package/lang/translations/da.po +612 -0
- package/lang/translations/de-ch.po +612 -0
- package/lang/translations/de.po +612 -0
- package/lang/translations/el.po +612 -0
- package/lang/translations/en-au.po +612 -0
- package/lang/translations/en-gb.po +612 -0
- package/lang/translations/en.po +612 -0
- package/lang/translations/eo.po +612 -0
- package/lang/translations/es-co.po +612 -0
- package/lang/translations/es.po +612 -0
- package/lang/translations/et.po +612 -0
- package/lang/translations/eu.po +612 -0
- package/lang/translations/fa.po +608 -0
- package/lang/translations/fi.po +612 -0
- package/lang/translations/fr.po +612 -0
- package/lang/translations/gl.po +612 -0
- package/lang/translations/gu.po +612 -0
- package/lang/translations/he.po +612 -0
- package/lang/translations/hi.po +612 -0
- package/lang/translations/hr.po +616 -0
- package/lang/translations/hu.po +612 -0
- package/lang/translations/hy.po +612 -0
- package/lang/translations/id.po +608 -0
- package/lang/translations/it.po +612 -0
- package/lang/translations/ja.po +608 -0
- package/lang/translations/jv.po +612 -0
- package/lang/translations/kk.po +612 -0
- package/lang/translations/km.po +608 -0
- package/lang/translations/kn.po +612 -0
- package/lang/translations/ko.po +608 -0
- package/lang/translations/ku.po +612 -0
- package/lang/translations/lt.po +616 -0
- package/lang/translations/lv.po +616 -0
- package/lang/translations/ms.po +608 -0
- package/lang/translations/nb.po +612 -0
- package/lang/translations/ne.po +612 -0
- package/lang/translations/nl.po +612 -0
- package/lang/translations/no.po +612 -0
- package/lang/translations/oc.po +612 -0
- package/lang/translations/pl.po +616 -0
- package/lang/translations/pt-br.po +612 -0
- package/lang/translations/pt.po +612 -0
- package/lang/translations/ro.po +616 -0
- package/lang/translations/ru.po +616 -0
- package/lang/translations/si.po +612 -0
- package/lang/translations/sk.po +616 -0
- package/lang/translations/sl.po +620 -0
- package/lang/translations/sq.po +612 -0
- package/lang/translations/sr-latn.po +616 -0
- package/lang/translations/sr.po +616 -0
- package/lang/translations/sv.po +612 -0
- package/lang/translations/th.po +608 -0
- package/lang/translations/ti.po +612 -0
- package/lang/translations/tk.po +612 -0
- package/lang/translations/tr.po +612 -0
- package/lang/translations/tt.po +608 -0
- package/lang/translations/ug.po +608 -0
- package/lang/translations/uk.po +616 -0
- package/lang/translations/ur.po +612 -0
- package/lang/translations/uz.po +612 -0
- package/lang/translations/vi.po +608 -0
- package/lang/translations/zh-cn.po +608 -0
- package/lang/translations/zh.po +608 -0
- package/package.json +23 -11
- package/src/aiactions/aiactions.d.ts +48 -0
- package/src/aiactions/aiactions.js +23 -0
- package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
- package/src/aiactions/model/aiactionsinteraction.js +23 -0
- package/src/aiactions/model/aiactionsreply.d.ts +15 -0
- package/src/aiactions/model/aiactionsreply.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
- package/src/aiassistant/adapters/aitextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
- package/src/aiassistant/adapters/awstextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
- package/src/aiassistant/adapters/openaitextadapter.js +23 -0
- package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
- package/src/aiassistant/aiassistant.js +23 -0
- package/src/aiassistant/aiassistantediting.js +23 -0
- package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
- package/src/aiassistant/aiassistantui.js +23 -0
- package/src/{legacyerrors.js → aiassistant/legacyerrors.js} +1 -1
- package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
- package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
- package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
- package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
- package/src/aiassistant/ui/form/prompthistory.js +23 -0
- package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
- package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
- package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +72 -0
- package/src/aiballoon/aiballoon.js +23 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
- package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
- package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
- package/src/aiballoon/ui/aiballoonview.js +23 -0
- package/src/aichat/aichat.d.ts +79 -0
- package/src/aichat/aichat.js +23 -0
- package/src/aichat/aichatcontroller.d.ts +68 -0
- package/src/aichat/aichatcontroller.js +23 -0
- package/src/aichat/aichatui.d.ts +297 -0
- package/src/aichat/aichatui.js +23 -0
- package/src/aichat/model/aichatcontext.d.ts +360 -0
- package/src/aichat/model/aichatcontext.js +23 -0
- package/src/aichat/model/aichatconversation.d.ts +270 -0
- package/src/aichat/model/aichatconversation.js +23 -0
- package/src/aichat/model/aichatinteraction.d.ts +46 -0
- package/src/aichat/model/aichatinteraction.js +23 -0
- package/src/aichat/model/aichatmodels.d.ts +77 -0
- package/src/aichat/model/aichatmodels.js +23 -0
- package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
- package/src/aichat/ui/aichatcontrolsview.js +23 -0
- package/src/aichat/ui/aichatfeedview.d.ts +114 -0
- package/src/aichat/ui/aichatfeedview.js +23 -0
- package/src/aichat/ui/aichatheaderview.d.ts +29 -0
- package/src/aichat/ui/aichatheaderview.js +23 -0
- package/src/aichat/ui/aichatview.d.ts +37 -0
- package/src/aichat/ui/aichatview.js +23 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
- package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
- package/src/aichat/utils/eventnames.d.ts +5 -0
- package/src/aichat/utils/eventnames.js +23 -0
- package/src/aichat/utils/promisequeue.d.ts +32 -0
- package/src/aichat/utils/promisequeue.js +23 -0
- package/src/aichat/utils/scrollmanager.d.ts +23 -0
- package/src/aichat/utils/scrollmanager.js +23 -0
- package/src/aichathistory/aichathistory.d.ts +30 -0
- package/src/aichathistory/aichathistory.js +23 -0
- package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
- package/src/aichathistory/aichathistorycontroller.js +23 -0
- package/src/aichathistory/aichathistoryui.d.ts +112 -0
- package/src/aichathistory/aichathistoryui.js +23 -0
- package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
- package/src/aichathistory/model/aichathistoryconversations.js +23 -0
- package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
- package/src/aichathistory/model/aichathistoryitem.js +23 -0
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
- package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
- package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
- package/src/aichathistory/ui/aichathistorylistview.js +23 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
- package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
- package/src/aichathistory/ui/aichathistoryview.js +23 -0
- package/src/aiconfig.d.ts +92 -30
- package/src/aicore/aiconnector.d.ts +302 -0
- package/src/aicore/aiconnector.js +23 -0
- package/src/aicore/aiediting.d.ts +61 -0
- package/src/aicore/aiediting.js +23 -0
- package/src/aicore/model/aicapabilities.d.ts +55 -0
- package/src/aicore/model/aicapabilities.js +23 -0
- package/src/aicore/model/aicontext.d.ts +53 -0
- package/src/aicore/model/aicontext.js +23 -0
- package/src/aicore/model/aiinteraction.d.ts +135 -0
- package/src/aicore/model/aiinteraction.js +23 -0
- package/src/aicore/model/aireply.d.ts +178 -0
- package/src/aicore/model/aireply.js +23 -0
- package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
- package/src/aicore/pipeline/airesponseapplier.js +24 -0
- package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
- package/src/aicore/pipeline/airesponseparser.js +24 -0
- package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
- package/src/aicore/ui/aidisclaimerview.js +23 -0
- package/src/aicore/ui/aiskeleton.d.ts +37 -0
- package/src/aicore/ui/aiskeleton.js +23 -0
- package/src/aicore/ui/aispinner.d.ts +14 -0
- package/src/aicore/ui/aispinner.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
- package/src/aicore/utils/common-translations.d.ts +9 -0
- package/src/aicore/utils/common-translations.js +23 -0
- package/src/aicore/utils/createresizebutton.d.ts +12 -0
- package/src/aicore/utils/createresizebutton.js +23 -0
- package/src/aicore/utils/documentposition.d.ts +41 -0
- package/src/aicore/utils/documentposition.js +23 -0
- package/src/aicore/utils/documentrange.d.ts +46 -0
- package/src/aicore/utils/documentrange.js +23 -0
- package/src/aicore/utils/eventnames.d.ts +9 -0
- package/src/aicore/utils/eventnames.js +23 -0
- package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
- package/src/aicore/utils/geteditorfromcontext.js +23 -0
- package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
- package/src/aicore/utils/getoperationsfromreply.js +23 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
- package/src/aicore/utils/htmlparser.d.ts +35 -0
- package/src/aicore/utils/htmlparser.js +23 -0
- package/src/aicore/utils/htmlstreamer.d.ts +123 -0
- package/src/aicore/utils/htmlstreamer.js +23 -0
- package/src/aiquickactions/aiquickactions.d.ts +41 -0
- package/src/aiquickactions/aiquickactions.js +23 -0
- package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
- package/src/aiquickactions/aiquickactionscommand.js +23 -0
- package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
- package/src/aiquickactions/aiquickactionsediting.js +23 -0
- package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
- package/src/aiquickactions/aiquickactionsui.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
- package/src/aiquickactions/utils/common-translations.d.ts +9 -0
- package/src/aiquickactions/utils/common-translations.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +30 -0
- package/src/aireviewmode/aireviewmode.js +23 -0
- package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
- package/src/aireviewmode/aireviewmodecontroller.js +23 -0
- package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
- package/src/aireviewmode/aireviewmodeediting.js +23 -0
- package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
- package/src/aireviewmode/aireviewmodeui.js +23 -0
- package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
- package/src/aireviewmode/model/aireviewcheck.js +23 -0
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
- package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
- package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
- package/src/aireviewmode/model/aireviewchecklist.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
- package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +102 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
- package/src/aireviewmode/model/aireviewmodels.js +23 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +23 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
- package/src/aireviewmode/utils/common-translations.d.ts +9 -0
- package/src/aireviewmode/utils/common-translations.js +23 -0
- package/src/aitabs/aitabs.d.ts +92 -0
- package/src/aitabs/aitabs.js +23 -0
- package/src/aitabs/aitabsmainview.d.ts +45 -0
- package/src/aitabs/aitabsmainview.js +23 -0
- package/src/aitabs/tabs/aitabsview.d.ts +147 -0
- package/src/aitabs/tabs/aitabsview.js +23 -0
- package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
- package/src/aitabs/tabs/tabbuttonview.js +23 -0
- package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
- package/src/aitabs/tabs/tabpanelview.js +23 -0
- package/src/augmentation.d.ts +22 -6
- package/src/index.d.ts +40 -9
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +207 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
- package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
- package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
- package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
- package/theme/aichat/aichat-controls/prompt-input.css +55 -0
- package/theme/aichat/aichat-controls.css +154 -0
- package/theme/aichat/aichat.css +68 -0
- package/theme/aichat/aichatfeed.css +376 -0
- package/theme/aichat/aichathistory.css +235 -0
- package/theme/aichat/aiminitoolbar.css +94 -0
- package/theme/aichat/aisuggestioncontainer.css +203 -0
- package/theme/aiquickactions/aiquickactions.css +43 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +255 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
- package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
- package/theme/aireviewmode/aireviewmode.css +73 -0
- package/theme/aitabs/aitabsview.css +64 -0
- package/theme/aitabs/tabs/tabbuttonview.css +74 -0
- package/theme/aitabs/tabs/tabsview.css +78 -0
- package/theme/common/aibutton.css +145 -0
- package/theme/common/aichaterror.css +61 -0
- package/theme/common/aidisclaimer.css +29 -0
- package/theme/common/aiheader.css +88 -0
- package/theme/common/aiskeleton.css +54 -0
- package/theme/common/aispinner.css +58 -0
- package/src/adapters/aiadapter.js +0 -23
- package/src/adapters/aitextadapter.js +0 -23
- package/src/adapters/awstextadapter.js +0 -23
- package/src/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant.js +0 -23
- package/src/aiassistantediting.js +0 -23
- package/src/aiassistantui.js +0 -23
- package/src/ui/aiassistantcontroller.js +0 -24
- package/src/ui/form/aiformcontentarea.js +0 -23
- package/src/ui/form/aiformerrorview.js +0 -23
- package/src/ui/form/aiformpromptview.js +0 -23
- package/src/ui/form/aiformtoolbarview.js +0 -23
- package/src/ui/form/aiformview.js +0 -23
- package/src/ui/form/aihistorylistitemview.js +0 -23
- package/src/ui/form/aihistorylistview.js +0 -23
- package/src/ui/form/prompthistory.js +0 -23
- package/src/ui/showaiassistantcommand.js +0 -23
- /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
- /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
- /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
- /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
- /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
- /package/theme/{ai.css → aiassistant/ai.css} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ck.ck-ai-review-mode {
|
|
11
|
+
& .ck-ai-review-mode__review-completed {
|
|
12
|
+
& .ck-ai-review-mode__review-completed-header {
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: var(--ck-spacing-standard);
|
|
17
|
+
|
|
18
|
+
padding: var(--ck-spacing-extra-large) var(--ck-spacing-large);
|
|
19
|
+
border-bottom: 1px solid var(--ck-color-base-border);
|
|
20
|
+
|
|
21
|
+
& .ck-ai-review-mode__review-completed-header-title {
|
|
22
|
+
align-self: center;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
max-width: 100%;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .ck-ai-review-mode__review-completed-header-buttons {
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: var(--ck-spacing-standard);
|
|
32
|
+
flex-shrink: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& .ck-ai-review-mode__review-completed-content {
|
|
37
|
+
padding: var(--ck-spacing-extra-large) var(--ck-spacing-extra-large) 0 var(--ck-spacing-extra-large);
|
|
38
|
+
text-align: center;
|
|
39
|
+
|
|
40
|
+
& .ck-ai-review-mode__review-completed-content-icon {
|
|
41
|
+
font-size: 20px;
|
|
42
|
+
line-height: 20px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
& .ck-ai-review-mode__review-completed-content-text {
|
|
46
|
+
margin-top: var(--ck-spacing-large);
|
|
47
|
+
text-align: center;
|
|
48
|
+
white-space: normal;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
@import '../common/aiheader.css';
|
|
11
|
+
|
|
12
|
+
.ck {
|
|
13
|
+
--ck-color-ai-review-mode-suggestion: hsla(263, 59%, 52%, 0.5);
|
|
14
|
+
|
|
15
|
+
.ck-ai-review-mode {
|
|
16
|
+
max-height: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.ck-ai-review-mode-highlights {
|
|
23
|
+
|
|
24
|
+
span.ck-ai_review-mode-marker_add {
|
|
25
|
+
border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
span.ck-ai_review-mode-marker_hide {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
span.ck-ai_review-mode-marker_strikethrough {
|
|
33
|
+
position: relative;
|
|
34
|
+
|
|
35
|
+
&:before {
|
|
36
|
+
border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
|
|
37
|
+
position: absolute;
|
|
38
|
+
content: "";
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 60%;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
span.ck-ai_review-mode-marker_underline {
|
|
45
|
+
border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.ck-ai-review-mode-diff {
|
|
50
|
+
|
|
51
|
+
span.ck-ai_review-mode-marker_add {
|
|
52
|
+
white-space: break-spaces;
|
|
53
|
+
border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
54
|
+
border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
55
|
+
background: var(--ck-color-suggestion-marker-insertion-background);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
span.ck-ai_review-mode-marker_hide,
|
|
59
|
+
span.ck-ai_review-mode-marker_strikethrough {
|
|
60
|
+
white-space: break-spaces;
|
|
61
|
+
border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
62
|
+
border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
63
|
+
text-decoration: line-through;
|
|
64
|
+
text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
|
|
65
|
+
text-decoration-thickness: 3px;
|
|
66
|
+
background: var(--ck-color-suggestion-marker-deletion-background);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
span.ck-ai_review-mode-marker_underline {
|
|
70
|
+
border: none;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-tabs-overlay-top-position: 0;
|
|
12
|
+
--ck-tabs-overlay-right-position: 0;
|
|
13
|
+
--ck-tabs-overlay-left-position: auto;
|
|
14
|
+
--ck-tabs-overlay-bottom-position: auto;
|
|
15
|
+
--ck-tabs-overlay-height: 100%;
|
|
16
|
+
--ck-ai-tabs-overlay-width: 500px;
|
|
17
|
+
--ck-ai-tabs-overlay-width-maximized: 50%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ck.ck-tabs.ck-ai-tabs {
|
|
21
|
+
--ck-tabs-buttons-container-buttons-vertical-spacing: 61.5px;
|
|
22
|
+
--ck-color-tab-button-active-icon: hsl(263, 59%, 52%);
|
|
23
|
+
--ck-tabs-panels-container-width: 450px;
|
|
24
|
+
|
|
25
|
+
& .ck-tab-panel {
|
|
26
|
+
height: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
|
|
31
|
+
&>* {
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.ck-ai-tabs__overlay {
|
|
37
|
+
position: fixed;
|
|
38
|
+
height: var(--ck-tabs-overlay-height);
|
|
39
|
+
top: var(--ck-tabs-overlay-top-position);
|
|
40
|
+
right: var(--ck-tabs-overlay-right-position);
|
|
41
|
+
left: var(--ck-tabs-overlay-left-position);
|
|
42
|
+
bottom: var(--ck-tabs-overlay-bottom-position);
|
|
43
|
+
z-index: calc(var(--ck-z-dialog) - 1);
|
|
44
|
+
border-radius: 0;
|
|
45
|
+
border-top: 0;
|
|
46
|
+
border-bottom: 0;
|
|
47
|
+
width: var(--ck-ai-tabs-overlay-width);
|
|
48
|
+
transition: width 0.3s ease;
|
|
49
|
+
|
|
50
|
+
&.ck-ai-tabs_maximized {
|
|
51
|
+
width: var(--ck-ai-tabs-overlay-width-maximized);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.ck-tabs_left {
|
|
55
|
+
--ck-tabs-overlay-right-position: auto;
|
|
56
|
+
--ck-tabs-overlay-left-position: 0;
|
|
57
|
+
border-left: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.ck-tabs_right {
|
|
61
|
+
border-right: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ck.ck-button.ck-tab-button {
|
|
11
|
+
padding: 0;
|
|
12
|
+
border: 0;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
|
|
16
|
+
&:active,
|
|
17
|
+
&:focus {
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:not(.ck-disabled):hover {
|
|
22
|
+
background-color: var(--ck-color-tab-button-active-background);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .ck.ck-icon {
|
|
26
|
+
padding: var(--ck-tab-button-padding);
|
|
27
|
+
color: var(--ck-color-tab-button-icon);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.ck-on {
|
|
31
|
+
border: 0;
|
|
32
|
+
background-color: var(--ck-color-tab-button-active-background);
|
|
33
|
+
|
|
34
|
+
& .ck.ck-icon {
|
|
35
|
+
color: var(--ck-color-tab-button-active-icon);
|
|
36
|
+
background-color: var(--ck-color-tab-button-active-background);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.ck-tab-button_top {
|
|
41
|
+
&.ck-on {
|
|
42
|
+
border-bottom: 1px solid var(--ck-color-tab-button-active-icon);
|
|
43
|
+
box-shadow: var(--ck-color-tab-button-active-icon) 0 1px 0 0;
|
|
44
|
+
|
|
45
|
+
& .ck.ck-icon {
|
|
46
|
+
padding-bottom: calc(var(--ck-tab-button-padding) - 1px);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.ck-tab-button_left {
|
|
52
|
+
&.ck-on {
|
|
53
|
+
border-left: 0;
|
|
54
|
+
border-right: 1px solid var(--ck-color-tab-button-active-icon);
|
|
55
|
+
box-shadow: var(--ck-color-tab-button-active-icon) 1px 0 0 0;
|
|
56
|
+
|
|
57
|
+
& .ck.ck-icon {
|
|
58
|
+
padding-right: calc(var(--ck-tab-button-padding) - 1px);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.ck-tab-button_right {
|
|
64
|
+
&.ck-on {
|
|
65
|
+
border-right: 0;
|
|
66
|
+
border-left: 1px solid var(--ck-color-tab-button-active-icon);
|
|
67
|
+
box-shadow: var(--ck-color-tab-button-active-icon) -1px 0 0 0;
|
|
68
|
+
|
|
69
|
+
& .ck.ck-icon {
|
|
70
|
+
padding-left: calc(var(--ck-tab-button-padding) - 1px);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-tabs-buttons-container-buttons-vertical-spacing: 0;
|
|
12
|
+
--ck-tabs-panels-container-width: auto;
|
|
13
|
+
--ck-tabs-panels-container-background: hsl(0, 0%, 100%);
|
|
14
|
+
--ck-tab-button-padding: 12px;
|
|
15
|
+
--ck-tab-button-gap: var(--ck-spacing-medium);
|
|
16
|
+
--ck-color-tabs-buttons-container-background: hsl(0, 0%, 96%);
|
|
17
|
+
--ck-color-tab-button-icon: hsl(0, 0%, 44%);
|
|
18
|
+
--ck-color-tab-button-active-icon: hsl(0, 0%, 44%);
|
|
19
|
+
--ck-color-tab-button-active-background: hsl(0, 0%, 91%);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ck.ck-tabs {
|
|
23
|
+
display: flex;
|
|
24
|
+
height: 100%;
|
|
25
|
+
|
|
26
|
+
font-size: var(--ck-font-size-base);
|
|
27
|
+
border: 1px solid var(--ck-color-base-border);
|
|
28
|
+
border-radius: var(--ck-border-radius);
|
|
29
|
+
|
|
30
|
+
&.ck-tabs_top {
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.ck-tabs_left {
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.ck-tabs_right {
|
|
39
|
+
flex-direction: row-reverse;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
.ck-tabs__panels-container {
|
|
44
|
+
width: var(--ck-tabs-panels-container-width);
|
|
45
|
+
transition: width 0.8s ease-in-out;
|
|
46
|
+
transition: height 0.8s ease-in-out;
|
|
47
|
+
background-color: var(--ck-tabs-panels-container-background);
|
|
48
|
+
flex-grow: 1;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ck-tabs__buttons-container {
|
|
52
|
+
display: flex;
|
|
53
|
+
background-color: var(--ck-color-tabs-buttons-container-background);
|
|
54
|
+
gap: var(--ck-tab-button-gap);
|
|
55
|
+
|
|
56
|
+
&.ck-tabs__buttons-container_top {
|
|
57
|
+
border-top: none;
|
|
58
|
+
border-bottom: 1px solid var(--ck-color-base-border);
|
|
59
|
+
flex-direction: row;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.ck-tabs__buttons-container_left {
|
|
63
|
+
border-left: none;
|
|
64
|
+
border-right: 1px solid var(--ck-color-base-border);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.ck-tabs__buttons-container_right {
|
|
68
|
+
border-right: none;
|
|
69
|
+
border-left: 1px solid var(--ck-color-base-border);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.ck-tabs__buttons-container_left,
|
|
73
|
+
&.ck-tabs__buttons-container_right {
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
padding-top: var(--ck-tabs-buttons-container-buttons-vertical-spacing);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
/* Primary button */
|
|
12
|
+
--ck-ai-button-primary-color: hsla(0, 0%, 100%, 1);
|
|
13
|
+
--ck-ai-button-primary-disabled-color: hsla(0, 0%, 100%, 1);
|
|
14
|
+
--ck-ai-button-primary-background-color: hsla(263, 59%, 52%, 1);
|
|
15
|
+
--ck-ai-button-primary-disabled-background-color: hsla(263, 59%, 52%, 0.5);
|
|
16
|
+
--ck-ai-button-primary-hover-background-color: hsla(263, 59%, 40%, 1);
|
|
17
|
+
|
|
18
|
+
/* Secondary button */
|
|
19
|
+
--ck-ai-button-secondary-color: hsla(263, 59%, 52%, 1);
|
|
20
|
+
--ck-ai-button-secondary-disabled-color: hsla(263, 59%, 52%, 0.5);
|
|
21
|
+
--ck-ai-button-secondary-background-color: hsla(0, 0%, 100%, 1);
|
|
22
|
+
--ck-ai-button-secondary-disabled-background-color: hsla(0, 0%, 100%, 0.5);
|
|
23
|
+
--ck-ai-button-secondary-border-color: hsla(262, 51%, 80%, 1);
|
|
24
|
+
--ck-ai-button-secondary-disabled-border-color: hsla(262, 51%, 80%, 0.5);
|
|
25
|
+
--ck-ai-button-secondary-hover-background-color: hsla(262, 100%, 96%, 1);
|
|
26
|
+
--ck-ai-button-secondary-active-background-color: hsla(262, 100%, 96%, 1);
|
|
27
|
+
|
|
28
|
+
/* Tertiary text button */
|
|
29
|
+
--ck-ai-button-tertiary-text-color: hsla(263, 59%, 52%, 1);
|
|
30
|
+
--ck-ai-button-tertiary-disabled-text-color: hsla(263, 59%, 52%, 0.5);
|
|
31
|
+
--ck-ai-button-tertiary-text-background-color: transparent;
|
|
32
|
+
--ck-ai-button-tertiary-text-hover-background-color: hsla(262, 100%, 96%, 1);
|
|
33
|
+
|
|
34
|
+
/* Tertiary filled button */
|
|
35
|
+
--ck-ai-button-tertiary-filled-color: hsla(0, 0%, 44%, 1);
|
|
36
|
+
--ck-ai-button-tertiary-filled-disabled-color: hsla(0, 0%, 44%, 0.5);
|
|
37
|
+
--ck-ai-button-tertiary-filled-hover-color: hsla(0, 0%, 20%, 1);
|
|
38
|
+
--ck-ai-button-tertiary-filled-active-color: hsla(263, 59%, 52%, 1);
|
|
39
|
+
--ck-ai-button-tertiary-filled-background-color: transparent;
|
|
40
|
+
--ck-ai-button-tertiary-filled-disabled-background-color: hsla(0, 0%, 93%, 1);
|
|
41
|
+
--ck-ai-button-tertiary-filled-hover-background-color: hsla(262, 100%, 96%, 1);
|
|
42
|
+
--ck-ai-button-tertiary-filled-active-background-color: hsla(262, 100%, 96%, 1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ck.ck-button {
|
|
46
|
+
&.ck-ai-button-primary {
|
|
47
|
+
color: var(--ck-ai-button-primary-color);
|
|
48
|
+
background-color: var(--ck-ai-button-primary-background-color);
|
|
49
|
+
border: none;
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
background-color: var(--ck-ai-button-primary-hover-background-color);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:disabled,
|
|
56
|
+
&.ck-disabled {
|
|
57
|
+
color: var(--ck-ai-button-primary-disabled-color);
|
|
58
|
+
background-color: var(--ck-ai-button-primary-disabled-background-color);
|
|
59
|
+
cursor: not-allowed;
|
|
60
|
+
|
|
61
|
+
& > .ck.ck-button__label,
|
|
62
|
+
& > .ck-button__icon {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.ck-ai-button-secondary {
|
|
69
|
+
color: var(--ck-ai-button-secondary-color);
|
|
70
|
+
background-color: var(--ck-ai-button-secondary-background-color);
|
|
71
|
+
border: 1px solid var(--ck-ai-button-secondary-border-color);
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
background-color: var(--ck-ai-button-secondary-hover-background-color);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:active,
|
|
78
|
+
&.ck-on {
|
|
79
|
+
background-color: var(--ck-ai-button-secondary-active-background-color);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:disabled,
|
|
83
|
+
&.ck-disabled {
|
|
84
|
+
color: var(--ck-ai-button-secondary-disabled-color);
|
|
85
|
+
background-color: var(--ck-ai-button-secondary-disabled-background-color);
|
|
86
|
+
border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
87
|
+
cursor: not-allowed;
|
|
88
|
+
|
|
89
|
+
& > .ck.ck-button__label,
|
|
90
|
+
& > .ck-button__icon {
|
|
91
|
+
opacity: 1;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.ck-ai-button-tertiary-text {
|
|
97
|
+
color: var(--ck-ai-button-tertiary-text-color);
|
|
98
|
+
background-color: var(--ck-ai-button-tertiary-text-background-color);
|
|
99
|
+
border: none;
|
|
100
|
+
|
|
101
|
+
&:hover {
|
|
102
|
+
background-color: var(--ck-ai-button-tertiary-text-hover-background-color);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:disabled,
|
|
106
|
+
&.ck-disabled {
|
|
107
|
+
color: var(--ck-ai-button-tertiary-disabled-text-color);
|
|
108
|
+
cursor: not-allowed;
|
|
109
|
+
|
|
110
|
+
& > .ck.ck-button__label,
|
|
111
|
+
& > .ck-button__icon {
|
|
112
|
+
opacity: 1;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.ck-ai-button-tertiary-filled {
|
|
118
|
+
color: var(--ck-ai-button-tertiary-filled-color);
|
|
119
|
+
background-color: var(--ck-ai-button-tertiary-filled-background-color);
|
|
120
|
+
border: none;
|
|
121
|
+
|
|
122
|
+
&:hover {
|
|
123
|
+
color: var(--ck-ai-button-tertiary-filled-hover-color);
|
|
124
|
+
background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:active,
|
|
128
|
+
&.ck-on {
|
|
129
|
+
color: var(--ck-ai-button-tertiary-filled-active-color);
|
|
130
|
+
background-color: var(--ck-ai-button-tertiary-filled-active-background-color);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&:disabled,
|
|
134
|
+
&.ck-disabled {
|
|
135
|
+
color: var(--ck-ai-button-tertiary-filled-disabled-color);
|
|
136
|
+
background-color: var(--ck-ai-button-tertiary-filled-disabled-background-color);
|
|
137
|
+
cursor: not-allowed;
|
|
138
|
+
|
|
139
|
+
& > .ck.ck-button__label,
|
|
140
|
+
& > .ck-button__icon {
|
|
141
|
+
opacity: 1;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-ai-chat-color-background-error: hsla(15, 100%, 97%, 1);
|
|
12
|
+
--ck-ai-chat-color-background-warning: hsla(36, 100%, 65.10%, 0.10);
|
|
13
|
+
|
|
14
|
+
--ck-ai-chat-color-border-error: hsla(14, 100%, 68%, 1);
|
|
15
|
+
--ck-ai-chat-color-border-warning: hsla(36, 100%, 65%, 1);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* TODO: rename the class to make it more generic and function as a modifier. */
|
|
19
|
+
.ck.ck-ai-chat-error {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
gap: var(--ck-spacing-medium);
|
|
24
|
+
width: fit-content;
|
|
25
|
+
|
|
26
|
+
background-color: var(--ck-ai-chat-color-background-error);
|
|
27
|
+
border: 1px solid var(--ck-ai-chat-color-border-error);
|
|
28
|
+
padding: var(--ck-spacing-standard);
|
|
29
|
+
border-radius: var(--ck-ai-border-radius);
|
|
30
|
+
|
|
31
|
+
&.ck-ai-chat-error_warning {
|
|
32
|
+
background-color: var(--ck-ai-chat-color-background-warning);
|
|
33
|
+
border-color: var(--ck-ai-chat-color-border-warning);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& > p {
|
|
37
|
+
flex: 1;
|
|
38
|
+
max-width: calc(100% - (16px + var(--ck-spacing-medium)));
|
|
39
|
+
white-space: normal;
|
|
40
|
+
color: var(--ck-color-base-text);
|
|
41
|
+
line-height: var(--ck-line-height-base);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
& > .ck-button {
|
|
45
|
+
--ck-icon-font-size: 0.666em;
|
|
46
|
+
|
|
47
|
+
&.ck-ai-chat-error__dismiss-button {
|
|
48
|
+
--ck-icon-font-size: 0.666em;
|
|
49
|
+
--ck-ui-component-min-height: 16px;
|
|
50
|
+
|
|
51
|
+
padding: 0;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.ck-ai-chat-error_full-width {
|
|
57
|
+
& > p {
|
|
58
|
+
max-width: 100%;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-ai-disclaimer-background-color: hsla(0, 0%, 96%, 1);
|
|
12
|
+
--ck-ai-disclaimer-border-color: hsla(220, 6%, 82%, 1);
|
|
13
|
+
--ck-ai-disclaimer-text-color: hsla(0, 0%, 44%, 1);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ck.ck-ai-disclaimer {
|
|
17
|
+
background-color: var(--ck-ai-disclaimer-background-color);
|
|
18
|
+
border-top: 1px solid var(--ck-ai-disclaimer-border-color);
|
|
19
|
+
padding: var(--ck-spacing-standard) 1em;
|
|
20
|
+
|
|
21
|
+
& > .ck.ck-ai-disclaimer__content {
|
|
22
|
+
color: var(--ck-ai-disclaimer-text-color);
|
|
23
|
+
font-size: 0.75em;
|
|
24
|
+
line-height: 1.025em;
|
|
25
|
+
text-align: center;
|
|
26
|
+
word-break: normal;
|
|
27
|
+
text-wrap: auto;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ck-ai-header {
|
|
11
|
+
/* Custom values unlike the rest of editor UI. */
|
|
12
|
+
--ck-ui-component-min-height: 1.7em;
|
|
13
|
+
--ck-ui-component-min-width: 1.7em;
|
|
14
|
+
|
|
15
|
+
/* Custom value. It defaults to the toolbar component height so they look fine on next to each other. */
|
|
16
|
+
--ck-form-header-height: 3em;
|
|
17
|
+
--ck-form-header-small-icon-color: hsla(0, 0%, 20%, 1);
|
|
18
|
+
|
|
19
|
+
& > .ck-button {
|
|
20
|
+
margin-inline-start: var(--ck-spacing-standard);
|
|
21
|
+
|
|
22
|
+
& > .ck-button__icon {
|
|
23
|
+
/* Custom value unlike the rest of editor UI (defaults to 16px). See how it's used in the icon.css */
|
|
24
|
+
--ck-icon-font-size: .666em;
|
|
25
|
+
|
|
26
|
+
color: var(--ck-ai-chat-color-icon);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& > .ck.ck-button.ck-ai-chat__start-conversation {
|
|
31
|
+
/* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
|
|
32
|
+
font-size: 11.7px;
|
|
33
|
+
min-height: unset;
|
|
34
|
+
border: 1px solid var(--ck-ai-border-color-button);
|
|
35
|
+
border-radius: var(--ck-border-radius);
|
|
36
|
+
gap: var(--ck-spacing-small);
|
|
37
|
+
color: var(--ck-ai-chat-color-text);
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
& > .ck-button__label {
|
|
44
|
+
/* Custom value unlike the rest of editor UI. */
|
|
45
|
+
line-height: 1.4em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& > .ck-button__icon {
|
|
49
|
+
/* Custom value unlike the rest of editor UI (defaults to 14px). See how it's used in the icon.css */
|
|
50
|
+
--ck-icon-font-size: .632em;
|
|
51
|
+
|
|
52
|
+
margin-inline-end: 0;
|
|
53
|
+
color: var(--ck-ai-chat-color-text);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& > span.ck-button__label {
|
|
57
|
+
position: relative;
|
|
58
|
+
top: 1px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.ck-ai-header_small {
|
|
63
|
+
& > .ck.ck-button.ck-button-back {
|
|
64
|
+
margin-inline-start: 0;
|
|
65
|
+
margin-inline-end: var(--ck-spacing-small);
|
|
66
|
+
|
|
67
|
+
& > .ck-button__icon {
|
|
68
|
+
/* Custom value unlike the rest of editor UI (defaults to 16px). See how it's used in the icon.css */
|
|
69
|
+
--ck-icon-font-size: 13px;
|
|
70
|
+
|
|
71
|
+
color: var(--ck-form-header-small-icon-color);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
& .ck-form__header__label {
|
|
76
|
+
--ck-font-size-base: 13px;
|
|
77
|
+
--ck-font-face: var(--ck-ai-chat-font-family);
|
|
78
|
+
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
& .ck-form__header__label {
|
|
84
|
+
&:not(:last-child) {
|
|
85
|
+
margin-inline-end: var(--ck-spacing-small);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|