@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
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x222f78,_0xab8d27){var _0x4a01a4=_0x5181,_0x2b8f25=_0x222f78();while(!![]){try{var _0x22c89b=-parseInt(_0x4a01a4(0x106))/0x1+parseInt(_0x4a01a4(0x107))/0x2*(parseInt(_0x4a01a4(0x109))/0x3)+parseInt(_0x4a01a4(0x108))/0x4+parseInt(_0x4a01a4(0x104))/0x5+parseInt(_0x4a01a4(0x102))/0x6*(-parseInt(_0x4a01a4(0x103))/0x7)+parseInt(_0x4a01a4(0x105))/0x8*(-parseInt(_0x4a01a4(0x10a))/0x9)+-parseInt(_0x4a01a4(0x101))/0xa;if(_0x22c89b===_0xab8d27)break;else _0x2b8f25['push'](_0x2b8f25['shift']());}catch(_0x485f43){_0x2b8f25['push'](_0x2b8f25['shift']());}}}(_0x1318,0x27360));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';function _0x1318(){var _0x351ebd=['928952GHWIpj','5127mmNYfz','927jpavcm','1373730NcJGFB','2562CKaJHG','490GpbwsE','340595qhmfmb','5992FTkiPf','30350EySDzf','158aHYujt'];_0x1318=function(){return _0x351ebd;};return _0x1318();}export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';function _0x5181(_0x254152,_0x5ebb1c){var _0x1318d2=_0x1318();return _0x5181=function(_0x51819c,_0x432d19){_0x51819c=_0x51819c-0x101;var _0x4496d1=_0x1318d2[_0x51819c];return _0x4496d1;},_0x5181(_0x254152,_0x5ebb1c);}export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
|
|
@@ -0,0 +1,207 @@
|
|
|
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
|
+
/* Taken from old AI Assistant */
|
|
12
|
+
--ck-color-ai-selection: hsl(262.5, 60%, 90%);
|
|
13
|
+
|
|
14
|
+
/* Primary button */
|
|
15
|
+
--ck-ai-button-primary-color: hsla(0, 0%, 100%, 1);
|
|
16
|
+
--ck-ai-button-primary-disabled-color: hsla(0, 0%, 100%, 1);
|
|
17
|
+
--ck-ai-button-primary-background-color: hsla(263, 59%, 52%, 1);
|
|
18
|
+
--ck-ai-button-primary-disabled-background-color: hsla(263, 59%, 52%, 0.5);
|
|
19
|
+
--ck-ai-button-primary-hover-background-color: hsla(263, 59%, 40%, 1);
|
|
20
|
+
|
|
21
|
+
/* Secondary button */
|
|
22
|
+
--ck-ai-button-secondary-color: hsla(263, 59%, 52%, 1);
|
|
23
|
+
--ck-ai-button-secondary-disabled-color: hsla(263, 59%, 52%, 0.5);
|
|
24
|
+
--ck-ai-button-secondary-background-color: hsla(0, 0%, 100%, 1);
|
|
25
|
+
--ck-ai-button-secondary-disabled-background-color: hsla(0, 0%, 100%, 0.5);
|
|
26
|
+
--ck-ai-button-secondary-border-color: hsla(262, 51%, 80%, 1);
|
|
27
|
+
--ck-ai-button-secondary-disabled-border-color: hsla(262, 51%, 80%, 0.5);
|
|
28
|
+
--ck-ai-button-secondary-hover-background-color: hsla(262, 100%, 96%, 1);
|
|
29
|
+
--ck-ai-button-secondary-active-background-color: hsla(262, 100%, 96%, 1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ck.ai-balloon {
|
|
33
|
+
--ck-ai-balloon-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
34
|
+
--ck-ai-balloon-disclaimer-text-color: hsla(0, 0%, 44%, 1);
|
|
35
|
+
|
|
36
|
+
.ck-dialog__content {
|
|
37
|
+
width: 580px;
|
|
38
|
+
padding: var(--ck-spacing-large);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ck-ai-suggestion__header {
|
|
42
|
+
display: none
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ck.ck-ai-balloon__toolbar {
|
|
46
|
+
border: none;
|
|
47
|
+
padding: 0;
|
|
48
|
+
margin-top: var(--ck-spacing-medium);
|
|
49
|
+
margin-bottom: 0;
|
|
50
|
+
|
|
51
|
+
.ck-button_with-text {
|
|
52
|
+
margin-bottom: 0;
|
|
53
|
+
margin-top: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ck-ai-balloon__disclaimer {
|
|
58
|
+
margin-top: var(--ck-spacing-medium);
|
|
59
|
+
|
|
60
|
+
.ck-ai-balloon__disclaimer-content {
|
|
61
|
+
color: var(--ck-ai-balloon-disclaimer-text-color);
|
|
62
|
+
font-size: 0.75em;
|
|
63
|
+
line-height: 1.025em;
|
|
64
|
+
text-align: left;
|
|
65
|
+
word-break: normal;
|
|
66
|
+
text-wrap: auto;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ck-ai-suggestion__body {
|
|
71
|
+
height: 150px;
|
|
72
|
+
word-break: normal;
|
|
73
|
+
text-wrap: auto;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
|
|
76
|
+
& pre>code {
|
|
77
|
+
white-space: pre-wrap;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ck-ai-suggestion__changes {
|
|
82
|
+
height: 150px;
|
|
83
|
+
overflow-y: auto;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
* {
|
|
87
|
+
font-family: var(--ck-ai-balloon-font-family) !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ck-ai-suggestion__changes *,
|
|
91
|
+
.ck-ai-suggestion__body *,
|
|
92
|
+
.ck-ai-suggestion__change * {
|
|
93
|
+
white-space: normal;
|
|
94
|
+
line-height: 1.4em;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ck.ai-balloon-rotator {
|
|
99
|
+
.ck.ck-form__header {
|
|
100
|
+
justify-content: center;
|
|
101
|
+
position: relative;
|
|
102
|
+
|
|
103
|
+
h2.ck.ck-form__header__label {
|
|
104
|
+
flex-grow: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
button.ck-button {
|
|
108
|
+
margin-right: var(--ck-spacing-large);
|
|
109
|
+
margin-left: var(--ck-spacing-large);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ck-button:last-child {
|
|
113
|
+
position: absolute;
|
|
114
|
+
right: var(--ck-spacing-large);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&::after {
|
|
119
|
+
content: "";
|
|
120
|
+
position: absolute;
|
|
121
|
+
top: 8px;
|
|
122
|
+
left: 8px;
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: 100%;
|
|
125
|
+
background: var(--ck-color-dialog-background);
|
|
126
|
+
z-index: -1;
|
|
127
|
+
border-radius: var(--ck-border-radius);
|
|
128
|
+
box-shadow: var(--ck-drop-shadow), 0 0;
|
|
129
|
+
border: 1px solid var(--ck-color-base-border);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Buttons styles will be removed after shared code is merged. */
|
|
134
|
+
.ck.ck-button {
|
|
135
|
+
&.ck-ai-button-primary {
|
|
136
|
+
color: var(--ck-ai-button-primary-color);
|
|
137
|
+
background-color: var(--ck-ai-button-primary-background-color);
|
|
138
|
+
border: none;
|
|
139
|
+
|
|
140
|
+
&:hover {
|
|
141
|
+
background-color: var(--ck-ai-button-primary-hover-background-color);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:disabled {
|
|
145
|
+
color: var(--ck-ai-button-primary-disabled-color);
|
|
146
|
+
background-color: var(--ck-ai-button-primary-disabled-background-color);
|
|
147
|
+
cursor: not-allowed;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.ck-ai-button-secondary {
|
|
152
|
+
color: var(--ck-ai-button-secondary-color);
|
|
153
|
+
background-color: var(--ck-ai-button-secondary-background-color);
|
|
154
|
+
border: 1px solid var(--ck-ai-button-secondary-border-color);
|
|
155
|
+
|
|
156
|
+
&:hover {
|
|
157
|
+
background-color: var(--ck-ai-button-secondary-hover-background-color);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:active,
|
|
161
|
+
&.ck-on {
|
|
162
|
+
background-color: var(--ck-ai-button-secondary-active-background-color);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&:disabled {
|
|
166
|
+
color: var(--ck-ai-button-secondary-disabled-color);
|
|
167
|
+
background-color: var(--ck-ai-button-secondary-disabled-background-color);
|
|
168
|
+
border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
|
|
169
|
+
cursor: not-allowed;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader {
|
|
175
|
+
padding: var(--ck-spacing-large) !important;
|
|
176
|
+
height: 150px;
|
|
177
|
+
|
|
178
|
+
.ck.ck-spinner-container.ck-ai-spinner .ck-spinner {
|
|
179
|
+
--ck-ai-spinner-size: 18px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_small {
|
|
183
|
+
--ck-ai-spinner-size: 18px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ck-ai-suggestion__loader-text {
|
|
187
|
+
margin-left: var(--ck-spacing-medium);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/*
|
|
192
|
+
* Classes used by the "fake visual selection" displayed in the content
|
|
193
|
+
* when the AI Balloon is open.
|
|
194
|
+
*
|
|
195
|
+
* Narrow down to <span> to prevent changing background for widgets and nested editables.
|
|
196
|
+
*/
|
|
197
|
+
.ck span.ck-fake-ai-selection {
|
|
198
|
+
background: var(--ck-color-ai-selection);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ck .ck-widget.ck-fake-ai-selection {
|
|
202
|
+
outline-color: var(--ck-color-ai-selection);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.ck.ck-dialog-overlay:has(.ai-balloon) {
|
|
206
|
+
z-index: 998;
|
|
207
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
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
|
+
|
|
11
|
+
/* .ck-ai-chat-context-chip {
|
|
12
|
+
|
|
13
|
+
} */
|
|
14
|
+
|
|
15
|
+
:root {
|
|
16
|
+
--ck-ai-chat-context-balloon-width: 290px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ck.ck-balloon-panel,
|
|
20
|
+
.ck.ck-ai-chat {
|
|
21
|
+
& .ck-ai-chat-context-chip {
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
|
|
27
|
+
max-width: max(calc(33% - var(--ck-spacing-medium-small) - (2 * var(--ck-spacing-large) / 3)), 118px);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
|
|
30
|
+
width: auto;
|
|
31
|
+
|
|
32
|
+
padding: var(--ck-spacing-small) var(--ck-spacing-medium-small);
|
|
33
|
+
|
|
34
|
+
background-color: var(--ck-ai-chat-user-context-background);
|
|
35
|
+
border-radius: var(--ck-ai-border-radius);
|
|
36
|
+
border: var(--ck-ai-chat-border-width) solid var(--ck-ai-border-color-main);
|
|
37
|
+
|
|
38
|
+
line-height: 1;
|
|
39
|
+
color: var(--ck-ai-chat-color-icon);
|
|
40
|
+
|
|
41
|
+
&.ck-ai-chat-context-chip_wide {
|
|
42
|
+
max-width: max(calc(66% - var(--ck-spacing-medium-small)), 240px);
|
|
43
|
+
width: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.ck-ai-chat-context-chip_document {
|
|
47
|
+
max-width: unset;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.ck-ai-chat-context-chip_new-chip {
|
|
51
|
+
animation: ck-ai-new-item-flash var(--ck-ai-chat-animation-duration) var(--ck-ai-chat-animation-timing);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& > .ck-ai-chat-context-chip__label {
|
|
55
|
+
font-size: 0.9em;
|
|
56
|
+
display: inline-block;
|
|
57
|
+
margin: 0 var(--ck-spacing-medium-small);
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
line-height: 1.25;
|
|
61
|
+
color: var(--ck-ai-chat-color-icon);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& > .ck-icon.ck-ai-chat-context-chip__type-icon {
|
|
65
|
+
--ck-icon-size: 1em;
|
|
66
|
+
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
font-size: 1em;
|
|
69
|
+
fill: var(--ck-ai-chat-color-icon);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
& .ck-button {
|
|
73
|
+
--ck-ui-component-min-height: 1em;
|
|
74
|
+
|
|
75
|
+
max-width: var(--ck-ui-component-min-height);
|
|
76
|
+
max-height: var(--ck-ui-component-min-height);
|
|
77
|
+
border: none;
|
|
78
|
+
padding: var(--ck-spacing-tiny);
|
|
79
|
+
|
|
80
|
+
& > .ck-icon {
|
|
81
|
+
--ck-icon-size: 1em;
|
|
82
|
+
|
|
83
|
+
font-size: 1em;
|
|
84
|
+
fill: var(--ck-ai-chat-color-icon);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
& .ck-ai-chat-context-chips-wrapper {
|
|
90
|
+
display: flex;
|
|
91
|
+
gap: var(--ck-spacing-medium-small);
|
|
92
|
+
flex-wrap: wrap;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: flex-end;
|
|
95
|
+
|
|
96
|
+
width: 100%;
|
|
97
|
+
margin-bottom: 0;
|
|
98
|
+
padding: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
& .ck-ai-chat-context-chips-wrapper-balloon {
|
|
102
|
+
display: flex;
|
|
103
|
+
gap: var(--ck-spacing-standard);
|
|
104
|
+
flex-wrap: wrap;
|
|
105
|
+
align-items: center;
|
|
106
|
+
justify-content: flex-start;
|
|
107
|
+
|
|
108
|
+
width: var(--ck-ai-chat-context-balloon-width);
|
|
109
|
+
max-height: 10em;
|
|
110
|
+
padding: var(--ck-spacing-standard);
|
|
111
|
+
overflow-y: auto;
|
|
112
|
+
|
|
113
|
+
& .ck-ai-chat-context-chip {
|
|
114
|
+
max-width: max( calc(50% - var(--ck-spacing-standard)), 110px);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.ck-ai-chat-context-chip_wide {
|
|
118
|
+
max-width: 100%;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
& .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip {
|
|
122
|
+
animation: none;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@keyframes ck-ai-new-item-flash {
|
|
128
|
+
0% {
|
|
129
|
+
background-color: var(--ck-ai-chat-flash-color);
|
|
130
|
+
color: var(--ck-ai-chat-flash-color-text);
|
|
131
|
+
border-color: var(--ck-ai-chat-flash-color-text);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
100% {
|
|
135
|
+
background-color: var(--ck-ai-chat-user-context-background);
|
|
136
|
+
color: var(--ck-ai-chat-color-icon);
|
|
137
|
+
border-color: var(--ck-ai-border-color-main);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
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-balloon-panel {
|
|
11
|
+
&.ck-ai-chat-context-controls__add-context-balloon-panel {
|
|
12
|
+
min-width: 157px;
|
|
13
|
+
max-width: 250px;
|
|
14
|
+
|
|
15
|
+
& .ck-ai-chat-context-controls__balloon-button {
|
|
16
|
+
width: 100%;
|
|
17
|
+
display: flex;
|
|
18
|
+
padding-left: var(--ck-spacing-extra-large);
|
|
19
|
+
padding-right: var(--ck-spacing-extra-large);
|
|
20
|
+
|
|
21
|
+
&:first-child {
|
|
22
|
+
margin-top: var(--ck-spacing-tiny);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:last-child {
|
|
26
|
+
margin-bottom: var(--ck-spacing-tiny);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .ck-icon.ck-button__icon {
|
|
30
|
+
--ck-icon-size: 16px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .ck-button__label {
|
|
34
|
+
margin: 0;
|
|
35
|
+
line-height: var(--ck-line-height-base);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background-color: var(--ck-ai-button-secondary-hover-background-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
& > .ck-ai-chat-context-controls__balloon-button-source__arrow {
|
|
43
|
+
width: var(--ck-dropdown-arrow-size);
|
|
44
|
+
|
|
45
|
+
transform: rotate(-90deg);
|
|
46
|
+
|
|
47
|
+
/* A space to accommodate the triangle. */
|
|
48
|
+
margin-left: var(--ck-spacing-standard);
|
|
49
|
+
|
|
50
|
+
/* Nudge the arrow gently to the right because its center of gravity is to the left */
|
|
51
|
+
margin-right: calc(-1 * var(--ck-spacing-small));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& > span {
|
|
55
|
+
flex-grow: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.ck-ai-chat-context-controls__url-balloon-panel {
|
|
61
|
+
& .ck-ai-chat-context-controls__url-form {
|
|
62
|
+
width: var(--ck-ai-chat-context-controls-balloon-width);
|
|
63
|
+
line-height: var(--ck-form-header-height);
|
|
64
|
+
|
|
65
|
+
& .ck-ai-chat-context-controls__url-input-section {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: flex-start;
|
|
68
|
+
padding: var(--ck-spacing-large);
|
|
69
|
+
|
|
70
|
+
&>.ck-labeled-field-view {
|
|
71
|
+
width: 100%;
|
|
72
|
+
|
|
73
|
+
&>.ck.ck-labeled-field-view__input-wrapper {
|
|
74
|
+
&>.ck.ck-input {
|
|
75
|
+
width: 100%;
|
|
76
|
+
font: normal normal normal var(--ck-font-size-base) / var(--ck-line-height-base) var(--ck-font-face);
|
|
77
|
+
vertical-align: middle;
|
|
78
|
+
line-height: var(--ck-line-height-base);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&>.ck.ck-label {
|
|
82
|
+
visibility: hidden;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&>.ck.ck-button {
|
|
88
|
+
height: auto;
|
|
89
|
+
margin-left: var(--ck-spacing-medium);
|
|
90
|
+
background-color: var(--ck-ai-background-color-action-button);
|
|
91
|
+
color: var(--ck-ai-font-color-action-button);
|
|
92
|
+
|
|
93
|
+
&.ck-disabled {
|
|
94
|
+
opacity: 0.5;
|
|
95
|
+
|
|
96
|
+
&>.ck-button__icon {
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.ck-ai-chat-context-controls__source-balloon-panel {
|
|
106
|
+
width: var(--ck-ai-chat-context-controls-balloon-width);
|
|
107
|
+
height: 319px;
|
|
108
|
+
|
|
109
|
+
&:has(.ck-ai-skeleton:not(.ck-hidden)) {
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ck.ck-search__query_with-icon {
|
|
114
|
+
padding: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-tiny) var(--ck-spacing-large);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ck-ai-skeleton {
|
|
118
|
+
--ck-ai-skeleton-gap: var(--ck-spacing-small);
|
|
119
|
+
|
|
120
|
+
padding-top: var(--ck-spacing-standard);
|
|
121
|
+
padding-bottom: var(--ck-spacing-standard);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ck-ai-chat-resources__list {
|
|
125
|
+
height: 233px;
|
|
126
|
+
overflow-y: auto;
|
|
127
|
+
overflow-x: hidden;
|
|
128
|
+
|
|
129
|
+
.ck-ai-chat-resources__item {
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
padding: var(--ck-spacing-tiny) var(--ck-spacing-extra-large);
|
|
133
|
+
border-radius: var(--ck-border-radius);
|
|
134
|
+
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
transition: background-color 0.2s;
|
|
137
|
+
|
|
138
|
+
&:hover {
|
|
139
|
+
background-color: var(--ck-ai-button-secondary-hover-background-color);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.ck-ai-chat-resources__item--in-context {
|
|
143
|
+
color: hsla(0, 0%, 20%, 0.5);
|
|
144
|
+
pointer-events: none;
|
|
145
|
+
|
|
146
|
+
* {
|
|
147
|
+
color: inherit;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ck-ai-chat-resources__item__icon {
|
|
152
|
+
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
height: 1.14em;
|
|
156
|
+
margin-right: 0.35em;
|
|
157
|
+
flex-shrink: 0;
|
|
158
|
+
|
|
159
|
+
.ck-icon {
|
|
160
|
+
height: 1.368em;
|
|
161
|
+
fill: currentColor;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.ck-ai-chat-resources__item--in-context .ck-ai-chat-resources__item__icon {
|
|
166
|
+
color: hsla(0, 0%, 20%, 0.5);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ck-ai-chat-resources__item-title {
|
|
170
|
+
flex: 1;
|
|
171
|
+
font-size: 1em;
|
|
172
|
+
line-height: var(--ck-line-height-base);
|
|
173
|
+
overflow: hidden;
|
|
174
|
+
text-overflow: ellipsis;
|
|
175
|
+
white-space: nowrap;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ck-ai-chat-resources__list.ck-hidden {
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&.ck-ai-chat-context-controls__chip-tooltip {
|
|
186
|
+
max-width: 180px;
|
|
187
|
+
|
|
188
|
+
& .ck.ck-tooltip__text {
|
|
189
|
+
white-space: normal;
|
|
190
|
+
display: inline-block;
|
|
191
|
+
padding: var(--ck-tooltip-text-padding) 0;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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-context-controls-balloon-width: 400px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ck.ck-ai-chat-controls {
|
|
15
|
+
.ck-ai-chat-context-controls {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-content: center;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
align-items: flex-start;
|
|
20
|
+
flex-wrap: wrap;
|
|
21
|
+
padding-top: 0;
|
|
22
|
+
gap: var(--ck-spacing-medium-small);
|
|
23
|
+
|
|
24
|
+
padding-bottom: var(--ck-spacing-medium-small);
|
|
25
|
+
|
|
26
|
+
&:has(.ck-ai-chat-context-controls__pending-contexts:empty) {
|
|
27
|
+
padding-bottom: var(--ck-spacing-small);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .ck-ai-chat-context-controls__pending-contexts {
|
|
31
|
+
display: contents;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* The button to add context living inside the query input. */
|
|
36
|
+
& .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button {
|
|
37
|
+
position: absolute;
|
|
38
|
+
bottom: 3px;
|
|
39
|
+
opacity: .7;
|
|
40
|
+
margin: 0;
|
|
41
|
+
|
|
42
|
+
&:hover, &:focus {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -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-ai-chat-controls-button {
|
|
11
|
+
--ck-ui-component-min-height: 1.88em;
|
|
12
|
+
|
|
13
|
+
padding: var(--ck-spacing-tiny);
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
|
|
19
|
+
&:not(.ck-button_with-text) {
|
|
20
|
+
margin: 0 0 var(--ck-spacing-tiny) 0;
|
|
21
|
+
padding: var(--ck-spacing-tiny);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.ck-button_with-text.ck-ai-chat-controls_context_show-more-button {
|
|
25
|
+
display: block;
|
|
26
|
+
padding: 0;
|
|
27
|
+
border-width: 0;
|
|
28
|
+
letter-spacing: -0.1em;
|
|
29
|
+
text-align: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:not(.ck-disabled) {
|
|
33
|
+
&:hover {
|
|
34
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
35
|
+
color: var(--ck-ai-chat-button-hover-color);
|
|
36
|
+
|
|
37
|
+
& .ck-button__icon {
|
|
38
|
+
fill: var(--ck-ai-chat-button-hover-color);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:active {
|
|
43
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
44
|
+
color: var(--ck-ai-chat-button-active-color);
|
|
45
|
+
|
|
46
|
+
& .ck-button__icon {
|
|
47
|
+
fill: var(--ck-ai-chat-button-active-color);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.ck-on:not(:hover):not(:active):not(.ck-disabled) {
|
|
52
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
53
|
+
color: var(--ck-ai-chat-button-active-color);
|
|
54
|
+
|
|
55
|
+
& .ck-button__icon {
|
|
56
|
+
color: var(--ck-ai-chat-button-active-color);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& > .ck-icon {
|
|
62
|
+
--ck-icon-size: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
& .ck-dropdown__arrow {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* svg {
|
|
70
|
+
margin-right: 0;
|
|
71
|
+
width: auto;
|
|
72
|
+
font-size: 1em;
|
|
73
|
+
} */
|
|
74
|
+
}
|