@ckeditor/ckeditor5-ai 46.1.1 → 47.0.0-alpha.0
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 +2648 -0
- package/dist/index.css +3047 -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 +162 -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/aiassistant/legacyerrors.js +23 -0
- 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 +82 -31
- 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 +101 -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 +19 -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 +154 -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/legacyerrors.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,376 @@
|
|
|
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 "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--ck-ai-chat-feed-item-color-text: hsla(0, 0%, 0%, 1);
|
|
14
|
+
--ck-ai-chat-feed-item-color-background: hsla(0, 0%, 96%, 1);
|
|
15
|
+
--ck-ai-chat-feed-item-color-background-secondary: hsla(0, 0%, 96%, 1);
|
|
16
|
+
--ck-ai-chat-feed-item-color-actions-button-hover: hsla(263, 59%, 40%, 1);
|
|
17
|
+
--ck-ai-chat-feed-item-color-show-changes-toggle-hover-color: hsla(263, 59%, 40%, 1);
|
|
18
|
+
--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background: hsl(262, 100%, 96%);
|
|
19
|
+
--ck-ai-chat-feed-item-color-show-changes-toggle-on-color: hsla(263, 59%, 40%, 1);
|
|
20
|
+
--ck-ai-chat-feed-item-color-show-changes-toggle-on-background: hsl(262, 100%, 96%);
|
|
21
|
+
--ck-ai-chat-feed-item-color-show-changes-toggle-active-background: hsl(262, 100%, 96%);
|
|
22
|
+
--ck-ai-chat-feed-loader-icon-color: hsla(0, 0%, 85%, 1);
|
|
23
|
+
--ck-ai-chat-feed-interaction-header-capabilities-color-text: hsla(0, 0%, 44%, 1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ck.ck-ai-chat__feed {
|
|
27
|
+
flex: 1 1 auto;
|
|
28
|
+
overflow-y: auto;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
justify-content: flex-start;
|
|
32
|
+
align-items: stretch;
|
|
33
|
+
flex-wrap: nowrap;
|
|
34
|
+
padding-bottom: var(--ck-spacing-extra-large);
|
|
35
|
+
gap: var(--ck-spacing-large);
|
|
36
|
+
position: relative;
|
|
37
|
+
|
|
38
|
+
/* This is needed to prevent the feed from overflowing when the skeleton is visible. */
|
|
39
|
+
&:has(.ck-ai-skeleton:not(.ck-hidden)) {
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ck.ck-ai-chat__feed__items {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: var(--ck-spacing-extra-large) 0;
|
|
47
|
+
|
|
48
|
+
& > .ck-ai-chat__feed__item {
|
|
49
|
+
&:first-child {
|
|
50
|
+
margin-top: var(--ck-spacing-extra-large);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
& .ck.ck-ai-chat__feed__item {
|
|
56
|
+
margin: 0 var(--ck-spacing-large);
|
|
57
|
+
scroll-margin: var(--ck-spacing-large);
|
|
58
|
+
|
|
59
|
+
/* These controls show up only after the item is done */
|
|
60
|
+
& .ck-ai-mini-toolbar,
|
|
61
|
+
& .ck-ai-chat__feed__ai-suggestion__actions,
|
|
62
|
+
& .ck-ai-suggestion__header__show-changes-toggle {
|
|
63
|
+
transition: opacity .4s, display .4s allow-discrete;
|
|
64
|
+
|
|
65
|
+
@starting-style {
|
|
66
|
+
& {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
& .ck-ai-suggestion__header__show-changes-toggle {
|
|
73
|
+
--ck-color-button-default-hover-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background);
|
|
74
|
+
--ck-color-button-on-hover-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background);
|
|
75
|
+
--ck-color-button-default-active-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);
|
|
76
|
+
--ck-color-button-on-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);
|
|
77
|
+
--ck-color-focus-border: var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);
|
|
78
|
+
--ck-focus-ring: 1px solid var(--ck-color-focus-border);
|
|
79
|
+
|
|
80
|
+
padding: 0 var(--ck-spacing-small);
|
|
81
|
+
min-height: 22px;
|
|
82
|
+
font-size: var(--ck-ai-chat-suggestion-container-header-font-size);
|
|
83
|
+
color: var(--ck-ai-chat-color-icon);
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
color: var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-color);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&:active {
|
|
90
|
+
box-shadow: none;
|
|
91
|
+
color: var(--ck-ai-chat-feed-item-color-show-changes-toggle-on-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.ck-on {
|
|
95
|
+
color: var(--ck-ai-chat-feed-item-color-show-changes-toggle-on-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:focus {
|
|
99
|
+
border: 1px solid transparent;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
> .ck-icon {
|
|
103
|
+
width: 16px;
|
|
104
|
+
height: 16px;
|
|
105
|
+
margin-right: 0;
|
|
106
|
+
margin-left: var(--ck-spacing-medium);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&:not(.ck-ai-chat__feed__item_done) {
|
|
111
|
+
& .ck-ai-mini-toolbar,
|
|
112
|
+
& .ck-ai-chat__feed__ai-suggestion__actions,
|
|
113
|
+
& .ck-ai-suggestion__header__show-changes-toggle {
|
|
114
|
+
display: none;
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
* Any item that contains text (AI replies, suggestions, user messages etc.)
|
|
121
|
+
*/
|
|
122
|
+
&.ck.ck-ai-chat__feed__text-item {
|
|
123
|
+
word-break: normal;
|
|
124
|
+
text-wrap: auto;
|
|
125
|
+
|
|
126
|
+
& pre > code {
|
|
127
|
+
white-space: pre-wrap;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/*
|
|
132
|
+
* User message item with a query to the AI
|
|
133
|
+
*/
|
|
134
|
+
&.ck.ck-ai-chat__feed__user-message {
|
|
135
|
+
&:has(.ck-ai-chat-context-chips-wrapper) {
|
|
136
|
+
max-width: 100%;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
& .ck-ai-chat__feed__message-content {
|
|
140
|
+
max-width: 80%;
|
|
141
|
+
margin-inline-end: 0;
|
|
142
|
+
margin-inline-start: auto;
|
|
143
|
+
text-align: end;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
p {
|
|
147
|
+
display: inline-block;
|
|
148
|
+
background-color: var(--ck-ai-chat-feed-item-color-background-secondary);
|
|
149
|
+
padding: 8px;
|
|
150
|
+
border-radius: var(--ck-ai-border-radius);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*
|
|
155
|
+
* Replies from the AI that aren't suggestions.
|
|
156
|
+
*
|
|
157
|
+
* Also, occasionally used for static notifications.
|
|
158
|
+
*/
|
|
159
|
+
/* &.ck-ai-chat__feed__ai-reply {} */
|
|
160
|
+
|
|
161
|
+
/*
|
|
162
|
+
* This is the kind of reply from the AI where content changes are suggested.
|
|
163
|
+
*/
|
|
164
|
+
&.ck-ai-chat__feed__ai-suggestion {
|
|
165
|
+
|
|
166
|
+
/*
|
|
167
|
+
* Actions for the suggestion.
|
|
168
|
+
*/
|
|
169
|
+
& .ck-ai-chat__feed__ai-suggestion__actions {
|
|
170
|
+
--ck-color-split-button-hover-background: var(--ck-ai-background-color-action-button);
|
|
171
|
+
|
|
172
|
+
margin-top: var(--ck-spacing-medium);
|
|
173
|
+
width: fit-content;
|
|
174
|
+
|
|
175
|
+
& > .ck-button {
|
|
176
|
+
--ck-color-button-default-background: var(--ck-ai-background-color-action-button);
|
|
177
|
+
--ck-color-button-default-hover-background: var(--ck-ai-chat-feed-item-color-actions-button-hover);
|
|
178
|
+
--ck-color-button-on-hover-background: var(--ck-ai-chat-feed-item-color-actions-button-hover);
|
|
179
|
+
--ck-color-button-default-active-background: var(--ck-ai-chat-feed-item-color-actions-button-hover);
|
|
180
|
+
--ck-color-button-on-background: var(--ck-ai-chat-feed-item-color-actions-button-hover);
|
|
181
|
+
--ck-color-button-on-active-background: var(--ck-ai-chat-feed-item-color-actions-button-hover);
|
|
182
|
+
--ck-color-focus-border: var(--ck-color-base-background);
|
|
183
|
+
--ck-focus-ring: 1px solid var(--ck-color-focus-border);
|
|
184
|
+
|
|
185
|
+
color: var(--ck-color-base-background);
|
|
186
|
+
|
|
187
|
+
&.ck-splitbutton__action {
|
|
188
|
+
@mixin ck-rounded-corners {
|
|
189
|
+
border-top-right-radius: 0;
|
|
190
|
+
border-bottom-right-radius: 0;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.ck-splitbutton__arrow {
|
|
195
|
+
width: 1.9em;
|
|
196
|
+
color: var(--ck-color-base-background);
|
|
197
|
+
|
|
198
|
+
/* Separator always visible */
|
|
199
|
+
&:after {
|
|
200
|
+
content: '';
|
|
201
|
+
position: absolute;
|
|
202
|
+
width: 1px;
|
|
203
|
+
height: 100%;
|
|
204
|
+
left: -1px;
|
|
205
|
+
background: var(--ck-color-base-background);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&.ck-disabled {
|
|
210
|
+
background: hsl(263, 59%, 52%, 0.5);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/*
|
|
217
|
+
* Interaction header showing capabilities used for the entire interaction.
|
|
218
|
+
*/
|
|
219
|
+
&.ck.ck-ai-chat__feed__interaction-header {
|
|
220
|
+
& .ck-ai-chat__feed__interaction-header__capabilities {
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center;
|
|
223
|
+
gap: 4px;
|
|
224
|
+
color: var(--ck-ai-chat-feed-interaction-header-capabilities-color-text);
|
|
225
|
+
|
|
226
|
+
& svg {
|
|
227
|
+
border-radius: 50%;
|
|
228
|
+
flex-shrink: 0;
|
|
229
|
+
background-color: var(--ck-tabs-panels-container-background);
|
|
230
|
+
|
|
231
|
+
&:not(:first-child) {
|
|
232
|
+
margin-left: calc(var(--ck-icon-size) * -0.75)
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
& .ck-ai-chat__feed__interaction-header__capabilities__text {
|
|
238
|
+
color: var(--ck-ai-chat-feed-interaction-header-capabilities-color-text);
|
|
239
|
+
font-weight: 500;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.ck-ai-chat__feed__ai-reply-container {
|
|
244
|
+
> * {
|
|
245
|
+
&:first-child {
|
|
246
|
+
/* This is needed to clear the default top margin from first HTML element from reply. */
|
|
247
|
+
margin-top: 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&:last-child {
|
|
251
|
+
/* This is needed to clear the default bottom margin from last HTML element from reply. */
|
|
252
|
+
margin-bottom: 0;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body *,
|
|
258
|
+
&.ck.ck-ai-chat__feed__text-item
|
|
259
|
+
*:not(.ck-ai-chat__feed__context-chips):not(.ck-ai-chat__feed__context-chips *):not(.ck-ai-web-source .ck-button__label) {
|
|
260
|
+
white-space: normal;
|
|
261
|
+
line-height: 1.4em;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* TODO: This CSS class is added twice. */
|
|
265
|
+
& .ck-ai-chat__feed__context-chips {
|
|
266
|
+
display: flex;
|
|
267
|
+
justify-content: flex-end;
|
|
268
|
+
margin-bottom: var(--ck-spacing-medium-small);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* stylelint-disable-next-line no-descending-specificity */
|
|
272
|
+
& .ck-ai-web-sources {
|
|
273
|
+
display: grid;
|
|
274
|
+
grid-template-columns: repeat(3, 1fr);
|
|
275
|
+
gap: var(--ck-spacing-standard);
|
|
276
|
+
|
|
277
|
+
padding: var(--ck-spacing-medium-small) var(--ck-spacing-large) var(--ck-spacing-extra-large) var(--ck-spacing-large);
|
|
278
|
+
|
|
279
|
+
& > .ck-ai-web-sources__header {
|
|
280
|
+
grid-column-start: span 3;
|
|
281
|
+
|
|
282
|
+
font-size: 12px;
|
|
283
|
+
font-weight: 500;
|
|
284
|
+
line-height: 1.4em;
|
|
285
|
+
|
|
286
|
+
& > .ck-icon {
|
|
287
|
+
vertical-align: text-bottom;
|
|
288
|
+
width: 14px;
|
|
289
|
+
height: 14px;
|
|
290
|
+
margin-right: var(--ck-spacing-medium-small);
|
|
291
|
+
color: hsl(0, 0%, 44%);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
& > span {
|
|
295
|
+
color: hsl(0, 0%, 44%);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
& > .ck-ai-web-source {
|
|
300
|
+
padding: var(--ck-spacing-medium) var(--ck-spacing-large);
|
|
301
|
+
border: 0;
|
|
302
|
+
border-radius: 50px;
|
|
303
|
+
background-color: var(--ck-ai-chat-feed-item-color-background);
|
|
304
|
+
|
|
305
|
+
&:focus, &:active {
|
|
306
|
+
box-shadow: none;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
& .ck-button__icon {
|
|
310
|
+
margin-right: var(--ck-spacing-medium);
|
|
311
|
+
color: var(--ck-ai-button-primary-background-color);
|
|
312
|
+
width: 16px;
|
|
313
|
+
height: 16px;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
& .ck-button__label {
|
|
317
|
+
/* display: inline-block; */
|
|
318
|
+
white-space: nowrap;
|
|
319
|
+
overflow: hidden;
|
|
320
|
+
text-overflow: ellipsis;
|
|
321
|
+
max-width: 80px;
|
|
322
|
+
font-size: 10px;
|
|
323
|
+
font-weight: 700;
|
|
324
|
+
line-height: 1.4em;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
& .ck-ai-web-source__title {
|
|
328
|
+
display: flex;
|
|
329
|
+
align-items: center;
|
|
330
|
+
gap: var(--ck-spacing-small);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* Remove padding if it's directly inside the reply container as the padding is already set. */
|
|
336
|
+
& > .ck-ai-web-sources {
|
|
337
|
+
padding: var(--ck-spacing-extra-large) 0 var(--ck-spacing-medium) 0;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
& .ck.ck-ai-chat__loader {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: flex-start;
|
|
344
|
+
|
|
345
|
+
& .ck.ck-spinner-container.ck-ai-spinner {
|
|
346
|
+
/* Designs have 16px but it needs to be aligned with chat feed items */
|
|
347
|
+
margin: 0 var(--ck-spacing-large);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
& .ck.ck-ai-chat__loader-text {
|
|
351
|
+
font-weight: 500;
|
|
352
|
+
line-height: 1.462em;
|
|
353
|
+
white-space: normal;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* This is the balloon panel for the suggestion actions.
|
|
360
|
+
*/
|
|
361
|
+
.ck-ai-chat__feed__ai-suggestion__actions__balloon {
|
|
362
|
+
& .ck-button.ck-list-item-button {
|
|
363
|
+
padding-top: 0;
|
|
364
|
+
padding-bottom: 0;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
@keyframes ck-html-streamer-fade-in {
|
|
369
|
+
from {
|
|
370
|
+
opacity: 0;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
to {
|
|
374
|
+
opacity: 1;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
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
|
+
--ai-active-icon-size: 17px;
|
|
12
|
+
|
|
13
|
+
--ck-ai-loader-icon-color: hsla(0, 0%, 85%, 1);
|
|
14
|
+
--ck-ai-loader-icon-dot-color: hsla(0, 0%, 65%, 1);
|
|
15
|
+
--ck-ai-chat-feed-item-spacing: var(--ck-spacing-extra-large);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ck .ck-ai-chat-history {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
height: 100%;
|
|
22
|
+
|
|
23
|
+
.ck-ai-chat-history__content,
|
|
24
|
+
.ck-search {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
flex: 1 1 auto;
|
|
28
|
+
min-height: 0;
|
|
29
|
+
gap: var(--ck-spacing-medium-small);
|
|
30
|
+
position: relative;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ck-ai-chat-history__content {
|
|
34
|
+
.ck-ai-chat-error {
|
|
35
|
+
margin: var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-medium) var(--ck-spacing-large);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ck-search > .ck-labeled-field-view {
|
|
40
|
+
margin-top: var(--ck-spacing-medium);
|
|
41
|
+
padding: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-tiny);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ck-search__results {
|
|
45
|
+
min-height: 0;
|
|
46
|
+
flex: 1 1 auto;
|
|
47
|
+
overflow-y: auto;
|
|
48
|
+
overflow-x: hidden;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ck-dropdown .ck-dropdown__arrow {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ck-ai-chat-history__sections {
|
|
56
|
+
gap: var(--ck-spacing-medium-small);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text) {
|
|
60
|
+
padding: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ck-ai-chat-history__section-title {
|
|
64
|
+
color: var(--ck-ai-chat-color-icon);
|
|
65
|
+
font-size: 0.85em;
|
|
66
|
+
font-weight: 700;
|
|
67
|
+
line-height: 1.85em;
|
|
68
|
+
padding: 0.48em 0.9em 0 0.9em;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ck-confirm-view .ck-confirm-view-inner, .ck-ai-chat-history__item {
|
|
72
|
+
padding: var(--ck-spacing-tiny)
|
|
73
|
+
var(--ck-spacing-extra-large)
|
|
74
|
+
var(--ck-spacing-tiny)
|
|
75
|
+
var(--ck-spacing-large);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.ck-ai-chat-history__item {
|
|
79
|
+
display: flex;
|
|
80
|
+
position: relative;
|
|
81
|
+
transition: transform 300ms ease;
|
|
82
|
+
|
|
83
|
+
@media (prefers-reduced-motion: reduce) {
|
|
84
|
+
transition: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:hover {
|
|
88
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ck-ai-chat-history__item-title {
|
|
93
|
+
display: inline-block;
|
|
94
|
+
width: 100%;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ck-ai-chat-history__item--active {
|
|
100
|
+
& .ck-ai-chat-history__item-title {
|
|
101
|
+
font-weight: 700;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ck-ai-chat-history__item-row {
|
|
106
|
+
--ck-icon-font-size: .666em;
|
|
107
|
+
--ck-ui-component-min-height: 1.7em;
|
|
108
|
+
--ck-ui-component-min-width: 1.7em;
|
|
109
|
+
|
|
110
|
+
width: 100%;
|
|
111
|
+
min-width: 0;
|
|
112
|
+
margin-left: 0.3em;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ck-ai-chat-history__item-row, .ck-ai-chat-history__item-actions {
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: 0.6em;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ck-ai-chat-history__item-actions {
|
|
122
|
+
height: 100%;
|
|
123
|
+
|
|
124
|
+
& > .ck-button,
|
|
125
|
+
& > .ck-dropdown .ck-dropdown__button {
|
|
126
|
+
opacity: .7;
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
opacity: 1;
|
|
130
|
+
background: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&.ck-on {
|
|
134
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
135
|
+
color: var(--ck-ai-chat-button-hover-color);
|
|
136
|
+
|
|
137
|
+
svg {
|
|
138
|
+
color: var(--ck-ai-chat-button-active-color);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ck-ai-chat-history__item--edit .ck-input,
|
|
145
|
+
.ck-ai-chat-history__item--edit .ck-input_focused {
|
|
146
|
+
width: 100%;
|
|
147
|
+
padding: 0;
|
|
148
|
+
border: none;
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
background: transparent;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ck-ai-chat-history__item--edit {
|
|
154
|
+
background: var(--ck-ai-chat-button-active-background-color);
|
|
155
|
+
|
|
156
|
+
& .ck-ai-chat-history__item-edit .ck-input {
|
|
157
|
+
background: var(--ck-ai-chat-button-active-background-color);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
& .ck-ai-chat-history__item-actions {
|
|
161
|
+
align-items: center;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.ck-ai-chat-history__item-content {
|
|
166
|
+
display: flex;
|
|
167
|
+
flex-direction: column;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
align-items: flex-start;
|
|
170
|
+
flex: 1 0 0;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ck-ai-chat-history__item-main-content {
|
|
175
|
+
width: 100%;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ck-ai-chat-history__item-main-content, .ck-ai-chat-history__item-check-container {
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
height: 2em;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.ck-ai-chat-history__item-check-container {
|
|
185
|
+
--ck-icon-font-size: .5em;
|
|
186
|
+
|
|
187
|
+
min-width: var(--ai-active-icon-size);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ck-ai-chat-history__item-date {
|
|
191
|
+
line-height: 1.385em;
|
|
192
|
+
color: var(--ck-ai-chat-color-icon);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.ck-ai-chat-history__empty {
|
|
196
|
+
padding: var(--ck-spacing-tiny) var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-large);
|
|
197
|
+
|
|
198
|
+
.ck-ai-chat-history__empty-message {
|
|
199
|
+
text-wrap: auto;
|
|
200
|
+
line-height: 1.85em;
|
|
201
|
+
margin: var(--ck-spacing-large) 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ck-ai-chat-history__open-chat-button {
|
|
205
|
+
font-size: 0.9em;
|
|
206
|
+
border: none;
|
|
207
|
+
padding: 0 var(--ck-spacing-standard);
|
|
208
|
+
min-height: 22px;
|
|
209
|
+
height: 22px;
|
|
210
|
+
|
|
211
|
+
background-color: var(--ck-ai-background-color-action-button);
|
|
212
|
+
color: var(--ck-ai-font-color-action-button);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.ck-confirm-view {
|
|
217
|
+
--ck-icon-font-size: .666em;
|
|
218
|
+
--ck-ui-component-min-height: 1.7em;
|
|
219
|
+
--ck-ui-component-min-width: 1.7em;
|
|
220
|
+
|
|
221
|
+
.ck-confirm-view-inner {
|
|
222
|
+
flex-direction: row;
|
|
223
|
+
align-items: center;
|
|
224
|
+
justify-content: space-between;
|
|
225
|
+
gap: 0.6em;
|
|
226
|
+
flex: 1 0 0;
|
|
227
|
+
margin-left: var(--ai-active-icon-size);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.ck-confirm-view-actions {
|
|
231
|
+
display: flex;
|
|
232
|
+
gap: 0.6em;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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-mini-toolbar {
|
|
11
|
+
--ck-color-button-action-background: hsl(263.2, 59.2%, 52%);
|
|
12
|
+
--ck-color-button-default-hover-background: hsl(262.1, 100%, 96.3%);
|
|
13
|
+
--ck-color-button-default-active-background: hsl(262.1, 100%, 96.3%);
|
|
14
|
+
--ck-color-button-on-background: hsl(262.1, 100%, 96.3%);
|
|
15
|
+
--ck-color-button-on-hover-background: hsl(262.1, 100%, 96.3%);
|
|
16
|
+
--ck-color-button-on-active-background: hsl(262.1, 100%, 96.3%);
|
|
17
|
+
--ck-color-button-on-disabled-background: hsl(262.1, 100%, 96.3%);
|
|
18
|
+
--ck-color-button-on-color: hsl(263.2, 59.2%, 52%);
|
|
19
|
+
--ck-color-button-action-hover-background: hsl(262.6, 58.9%, 49.6%);
|
|
20
|
+
--ck-color-button-action-active-background: hsl(262.6, 58.9%, 49.6%);
|
|
21
|
+
--ck-color-button-action-disabled-background: hsl(263.8, 59.3%, 75.9%);
|
|
22
|
+
|
|
23
|
+
position: absolute;
|
|
24
|
+
right: var(--ck-spacing-large);
|
|
25
|
+
bottom: 0;
|
|
26
|
+
transform: translateY(50%);
|
|
27
|
+
|
|
28
|
+
& .ck.ck-button {
|
|
29
|
+
font-size: .9em;
|
|
30
|
+
font-family: var(--ck-ai-chat-font-family);
|
|
31
|
+
color: var(--ck-ai-chat-color-icon);
|
|
32
|
+
|
|
33
|
+
&.ck-on {
|
|
34
|
+
color: var(--ck-ai-background-color-action-button);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.ck-button_with-text {
|
|
38
|
+
min-height: 2.1em;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
flex-direction: row-reverse;
|
|
41
|
+
padding-right: 0.3em;
|
|
42
|
+
padding-left: 0.3em;
|
|
43
|
+
|
|
44
|
+
span {
|
|
45
|
+
line-height: 1.4em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
svg {
|
|
49
|
+
margin-left: var(--ck-spacing-medium);
|
|
50
|
+
margin-right: 0;
|
|
51
|
+
--ck-icon-size: 16px
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.ck-ai-mini-toolbar-copy-button {
|
|
56
|
+
& .ck-ai-mini-toolbar-copy-button__check-mark {
|
|
57
|
+
position: absolute;
|
|
58
|
+
top: 50%;
|
|
59
|
+
right: 50%;
|
|
60
|
+
transform: translate(50%, -50%);
|
|
61
|
+
color: var(--ck-color-base-action);
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.ck-ai-mini-toolbar-copy-button_copied {
|
|
66
|
+
& .ck-button__icon {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
& .ck-ai-mini-toolbar-copy-button__check-mark {
|
|
71
|
+
display: block;
|
|
72
|
+
animation-duration: 1s;
|
|
73
|
+
animation-name: ck-ai-mini-toolbar-copy-animation;
|
|
74
|
+
animation-iteration-count: 1;
|
|
75
|
+
animation-timing-function: ease-out;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@keyframes ck-ai-mini-toolbar-copy-animation {
|
|
83
|
+
0% {
|
|
84
|
+
clip-path: inset(0 100% 0 0);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
50% {
|
|
88
|
+
clip-path: inset(0 0 0 0);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
100% {
|
|
92
|
+
clip-path: inset(0 0 0 0);
|
|
93
|
+
}
|
|
94
|
+
}
|