@ckeditor/ckeditor5-widget 0.0.0-internal-20241017.0 → 0.0.0-internal-20241206.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.

Potentially problematic release.


This version of @ckeditor/ckeditor5-widget might be problematic. Click here for more details.

Files changed (226) hide show
  1. package/LICENSE.md +7 -2
  2. package/README.md +17 -6
  3. package/dist/index.css +3 -3
  4. package/dist/index.css.map +1 -1
  5. package/dist/index.js +428 -460
  6. package/dist/index.js.map +1 -1
  7. package/dist/translations/af.d.ts +8 -0
  8. package/dist/translations/af.js +5 -0
  9. package/dist/translations/af.umd.js +11 -0
  10. package/dist/translations/ar.js +1 -1
  11. package/dist/translations/ar.umd.js +1 -1
  12. package/dist/translations/ast.d.ts +8 -0
  13. package/dist/translations/ast.js +5 -0
  14. package/dist/translations/ast.umd.js +11 -0
  15. package/dist/translations/bs.d.ts +8 -0
  16. package/dist/translations/bs.js +5 -0
  17. package/dist/translations/bs.umd.js +11 -0
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/en-gb.d.ts +8 -0
  21. package/dist/translations/en-gb.js +5 -0
  22. package/dist/translations/en-gb.umd.js +11 -0
  23. package/dist/translations/en.js +1 -1
  24. package/dist/translations/en.umd.js +1 -1
  25. package/dist/translations/eo.d.ts +8 -0
  26. package/dist/translations/eo.js +5 -0
  27. package/dist/translations/eo.umd.js +11 -0
  28. package/dist/translations/es-co.d.ts +8 -0
  29. package/dist/translations/es-co.js +5 -0
  30. package/dist/translations/es-co.umd.js +11 -0
  31. package/dist/translations/es.js +1 -1
  32. package/dist/translations/es.umd.js +1 -1
  33. package/dist/translations/eu.d.ts +8 -0
  34. package/dist/translations/eu.js +5 -0
  35. package/dist/translations/eu.umd.js +11 -0
  36. package/dist/translations/fa.js +1 -1
  37. package/dist/translations/fa.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gu.d.ts +8 -0
  41. package/dist/translations/gu.js +5 -0
  42. package/dist/translations/gu.umd.js +11 -0
  43. package/dist/translations/he.js +1 -1
  44. package/dist/translations/he.umd.js +1 -1
  45. package/dist/translations/hr.js +1 -1
  46. package/dist/translations/hr.umd.js +1 -1
  47. package/dist/translations/hy.d.ts +8 -0
  48. package/dist/translations/hy.js +5 -0
  49. package/dist/translations/hy.umd.js +11 -0
  50. package/dist/translations/it.js +1 -1
  51. package/dist/translations/it.umd.js +1 -1
  52. package/dist/translations/jv.d.ts +8 -0
  53. package/dist/translations/jv.js +5 -0
  54. package/dist/translations/jv.umd.js +11 -0
  55. package/dist/translations/kk.d.ts +8 -0
  56. package/dist/translations/kk.js +5 -0
  57. package/dist/translations/kk.umd.js +11 -0
  58. package/dist/translations/km.d.ts +8 -0
  59. package/dist/translations/km.js +5 -0
  60. package/dist/translations/km.umd.js +11 -0
  61. package/dist/translations/kn.d.ts +8 -0
  62. package/dist/translations/kn.js +5 -0
  63. package/dist/translations/kn.umd.js +11 -0
  64. package/dist/translations/lt.js +1 -1
  65. package/dist/translations/lt.umd.js +1 -1
  66. package/dist/translations/lv.js +1 -1
  67. package/dist/translations/lv.umd.js +1 -1
  68. package/dist/translations/nb.d.ts +8 -0
  69. package/dist/translations/nb.js +5 -0
  70. package/dist/translations/nb.umd.js +11 -0
  71. package/dist/translations/ne.d.ts +8 -0
  72. package/dist/translations/ne.js +5 -0
  73. package/dist/translations/ne.umd.js +11 -0
  74. package/dist/translations/oc.d.ts +8 -0
  75. package/dist/translations/oc.js +5 -0
  76. package/dist/translations/oc.umd.js +11 -0
  77. package/dist/translations/pl.js +1 -1
  78. package/dist/translations/pl.umd.js +1 -1
  79. package/dist/translations/pt-br.js +1 -1
  80. package/dist/translations/pt-br.umd.js +1 -1
  81. package/dist/translations/pt.js +1 -1
  82. package/dist/translations/pt.umd.js +1 -1
  83. package/dist/translations/ro.js +1 -1
  84. package/dist/translations/ro.umd.js +1 -1
  85. package/dist/translations/ru.js +1 -1
  86. package/dist/translations/ru.umd.js +1 -1
  87. package/dist/translations/si.d.ts +8 -0
  88. package/dist/translations/si.js +5 -0
  89. package/dist/translations/si.umd.js +11 -0
  90. package/dist/translations/sk.js +1 -1
  91. package/dist/translations/sk.umd.js +1 -1
  92. package/dist/translations/sl.d.ts +8 -0
  93. package/dist/translations/sl.js +5 -0
  94. package/dist/translations/sl.umd.js +11 -0
  95. package/dist/translations/sr-latn.js +1 -1
  96. package/dist/translations/sr-latn.umd.js +1 -1
  97. package/dist/translations/sr.js +1 -1
  98. package/dist/translations/sr.umd.js +1 -1
  99. package/dist/translations/ti.d.ts +8 -0
  100. package/dist/translations/ti.js +5 -0
  101. package/dist/translations/ti.umd.js +11 -0
  102. package/dist/translations/tt.d.ts +8 -0
  103. package/dist/translations/tt.js +5 -0
  104. package/dist/translations/tt.umd.js +11 -0
  105. package/dist/translations/ug.d.ts +8 -0
  106. package/dist/translations/ug.js +5 -0
  107. package/dist/translations/ug.umd.js +11 -0
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/uz.js +1 -1
  111. package/dist/translations/uz.umd.js +1 -1
  112. package/lang/translations/af.po +52 -0
  113. package/lang/translations/ar.po +4 -10
  114. package/lang/translations/ast.po +52 -0
  115. package/lang/translations/az.po +3 -9
  116. package/lang/translations/bg.po +3 -9
  117. package/lang/translations/bn.po +3 -9
  118. package/lang/translations/bs.po +52 -0
  119. package/lang/translations/ca.po +3 -9
  120. package/lang/translations/cs.po +4 -10
  121. package/lang/translations/da.po +3 -9
  122. package/lang/translations/de-ch.po +3 -9
  123. package/lang/translations/de.po +3 -9
  124. package/lang/translations/el.po +3 -9
  125. package/lang/translations/en-au.po +3 -9
  126. package/lang/translations/en-gb.po +52 -0
  127. package/lang/translations/en.po +5 -11
  128. package/lang/translations/eo.po +52 -0
  129. package/lang/translations/es-co.po +52 -0
  130. package/lang/translations/es.po +4 -10
  131. package/lang/translations/et.po +3 -9
  132. package/lang/translations/eu.po +52 -0
  133. package/lang/translations/fa.po +4 -10
  134. package/lang/translations/fi.po +3 -9
  135. package/lang/translations/fr.po +4 -10
  136. package/lang/translations/gl.po +3 -9
  137. package/lang/translations/gu.po +52 -0
  138. package/lang/translations/he.po +4 -10
  139. package/lang/translations/hi.po +3 -9
  140. package/lang/translations/hr.po +4 -10
  141. package/lang/translations/hu.po +3 -9
  142. package/lang/translations/hy.po +52 -0
  143. package/lang/translations/id.po +3 -9
  144. package/lang/translations/it.po +4 -10
  145. package/lang/translations/ja.po +3 -9
  146. package/lang/translations/jv.po +52 -0
  147. package/lang/translations/kk.po +52 -0
  148. package/lang/translations/km.po +52 -0
  149. package/lang/translations/kn.po +52 -0
  150. package/lang/translations/ko.po +3 -9
  151. package/lang/translations/ku.po +3 -9
  152. package/lang/translations/lt.po +4 -10
  153. package/lang/translations/lv.po +4 -10
  154. package/lang/translations/ms.po +3 -9
  155. package/lang/translations/nb.po +52 -0
  156. package/lang/translations/ne.po +52 -0
  157. package/lang/translations/nl.po +3 -9
  158. package/lang/translations/no.po +3 -9
  159. package/lang/translations/oc.po +52 -0
  160. package/lang/translations/pl.po +4 -10
  161. package/lang/translations/pt-br.po +4 -10
  162. package/lang/translations/pt.po +4 -10
  163. package/lang/translations/ro.po +4 -10
  164. package/lang/translations/ru.po +4 -10
  165. package/lang/translations/si.po +52 -0
  166. package/lang/translations/sk.po +4 -10
  167. package/lang/translations/sl.po +52 -0
  168. package/lang/translations/sq.po +3 -9
  169. package/lang/translations/sr-latn.po +4 -10
  170. package/lang/translations/sr.po +4 -10
  171. package/lang/translations/sv.po +3 -9
  172. package/lang/translations/th.po +3 -9
  173. package/lang/translations/ti.po +52 -0
  174. package/lang/translations/tk.po +3 -9
  175. package/lang/translations/tr.po +3 -9
  176. package/lang/translations/tt.po +52 -0
  177. package/lang/translations/ug.po +52 -0
  178. package/lang/translations/uk.po +4 -10
  179. package/lang/translations/ur.po +3 -9
  180. package/lang/translations/uz.po +4 -10
  181. package/lang/translations/vi.po +3 -9
  182. package/lang/translations/zh-cn.po +3 -9
  183. package/lang/translations/zh.po +3 -9
  184. package/package.json +27 -9
  185. package/src/augmentation.d.ts +1 -1
  186. package/src/augmentation.js +1 -1
  187. package/src/highlightstack.d.ts +1 -1
  188. package/src/highlightstack.js +1 -1
  189. package/src/index.d.ts +1 -1
  190. package/src/index.js +1 -1
  191. package/src/utils.d.ts +1 -1
  192. package/src/utils.js +1 -1
  193. package/src/verticalnavigation.d.ts +1 -1
  194. package/src/verticalnavigation.js +1 -1
  195. package/src/widget.d.ts +1 -1
  196. package/src/widget.js +1 -1
  197. package/src/widgetresize/resizer.d.ts +1 -1
  198. package/src/widgetresize/resizer.js +1 -1
  199. package/src/widgetresize/resizerstate.d.ts +1 -1
  200. package/src/widgetresize/resizerstate.js +1 -1
  201. package/src/widgetresize/sizeview.d.ts +1 -1
  202. package/src/widgetresize/sizeview.js +1 -1
  203. package/src/widgetresize.d.ts +1 -1
  204. package/src/widgetresize.js +1 -1
  205. package/src/widgettoolbarrepository.d.ts +1 -1
  206. package/src/widgettoolbarrepository.js +1 -1
  207. package/src/widgettypearound/utils.d.ts +1 -1
  208. package/src/widgettypearound/utils.js +1 -1
  209. package/src/widgettypearound/widgettypearound.d.ts +1 -1
  210. package/src/widgettypearound/widgettypearound.js +1 -1
  211. package/theme/widget.css +1 -1
  212. package/theme/widgetresize.css +1 -1
  213. package/theme/widgettypearound.css +1 -1
  214. package/dist/augmentation.d.ts +0 -17
  215. package/dist/highlightstack.d.ts +0 -78
  216. package/dist/index.d.ts +0 -17
  217. package/dist/utils.d.ts +0 -219
  218. package/dist/verticalnavigation.d.ts +0 -19
  219. package/dist/widget.d.ts +0 -111
  220. package/dist/widgetresize/resizer.d.ts +0 -181
  221. package/dist/widgetresize/resizerstate.d.ts +0 -129
  222. package/dist/widgetresize/sizeview.d.ts +0 -59
  223. package/dist/widgetresize.d.ts +0 -133
  224. package/dist/widgettoolbarrepository.d.ts +0 -102
  225. package/dist/widgettypearound/utils.d.ts +0 -42
  226. package/dist/widgettypearound/widgettypearound.d.ts +0 -237
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-widget",
3
- "version": "0.0.0-internal-20241017.0",
3
+ "version": "0.0.0-internal-20241206.0",
4
4
  "description": "Widget API for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,16 +12,16 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "0.0.0-internal-20241017.0",
16
- "@ckeditor/ckeditor5-engine": "0.0.0-internal-20241017.0",
17
- "@ckeditor/ckeditor5-enter": "0.0.0-internal-20241017.0",
18
- "@ckeditor/ckeditor5-ui": "0.0.0-internal-20241017.0",
19
- "@ckeditor/ckeditor5-utils": "0.0.0-internal-20241017.0",
20
- "@ckeditor/ckeditor5-typing": "0.0.0-internal-20241017.0",
15
+ "@ckeditor/ckeditor5-core": "0.0.0-internal-20241206.0",
16
+ "@ckeditor/ckeditor5-engine": "0.0.0-internal-20241206.0",
17
+ "@ckeditor/ckeditor5-enter": "0.0.0-internal-20241206.0",
18
+ "@ckeditor/ckeditor5-ui": "0.0.0-internal-20241206.0",
19
+ "@ckeditor/ckeditor5-utils": "0.0.0-internal-20241206.0",
20
+ "@ckeditor/ckeditor5-typing": "0.0.0-internal-20241206.0",
21
21
  "lodash-es": "4.17.21"
22
22
  },
23
23
  "author": "CKSource (http://cksource.com/)",
24
- "license": "GPL-2.0-or-later",
24
+ "license": "SEE LICENSE IN LICENSE.md",
25
25
  "homepage": "https://ckeditor.com/ckeditor-5",
26
26
  "bugs": "https://github.com/ckeditor/ckeditor5/issues",
27
27
  "repository": {
@@ -38,5 +38,23 @@
38
38
  "ckeditor5-metadata.json",
39
39
  "CHANGELOG.md"
40
40
  ],
41
- "types": "src/index.d.ts"
41
+ "types": "src/index.d.ts",
42
+ "exports": {
43
+ ".": {
44
+ "types": "./src/index.d.ts",
45
+ "import": "./src/index.js"
46
+ },
47
+ "./dist/*": {
48
+ "types": "./src/index.d.ts",
49
+ "import": "./dist/*"
50
+ },
51
+ "./src/*": {
52
+ "types": "./src/index.d.ts",
53
+ "import": "./src/*"
54
+ },
55
+ "./lang/*": "./lang/*",
56
+ "./theme/*": "./theme/*",
57
+ "./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
58
+ "./package.json": "./package.json"
59
+ }
42
60
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  export {};
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { DowncastWriter, HighlightDescriptor } from '@ckeditor/ckeditor5-engine';
6
6
  declare const HighlightStack_base: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/highlightstack
package/src/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget
package/src/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/utils
package/src/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/utils
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/verticalnavigation
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/verticalnavigation
package/src/widget.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widget
package/src/widget.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widget
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Rect, type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
6
6
  import ResizeState from './resizerstate.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgetresize/resizer
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { ResizerOptions } from '../widgetresize.js';
6
6
  declare const ResizeState_base: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgetresize/resizerstate
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgetresize/sizeview
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgetresize/sizeview
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgetresize
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgetresize
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgettoolbarrepository
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgettoolbarrepository
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { DocumentSelection, DomConverter, Element, Schema, Selection, ViewElement } from '@ckeditor/ckeditor5-engine';
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgettypearound/utils
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module widget/widgettypearound/widgettypearound
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /* global DOMParser */
6
6
  /**
package/theme/widget.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
6
  .ck .ck-widget_with-resizer {
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
6
  .ck .ck-widget {
@@ -1,17 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface PluginsMap {
12
- [Widget.pluginName]: Widget;
13
- [WidgetResize.pluginName]: WidgetResize;
14
- [WidgetToolbarRepository.pluginName]: WidgetToolbarRepository;
15
- [WidgetTypeAround.pluginName]: WidgetTypeAround;
16
- }
17
- }
@@ -1,78 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- import type { DowncastWriter, HighlightDescriptor } from '@ckeditor/ckeditor5-engine';
10
- declare const HighlightStack_base: {
11
- new (): import("@ckeditor/ckeditor5-utils").Emitter;
12
- prototype: import("@ckeditor/ckeditor5-utils").Emitter;
13
- };
14
- /**
15
- * Class used to handle the correct order of highlights on elements.
16
- *
17
- * When different highlights are applied to same element the correct order should be preserved:
18
- *
19
- * * highlight with highest priority should be applied,
20
- * * if two highlights have same priority - sort by CSS class provided in
21
- * {@link module:engine/conversion/downcasthelpers~HighlightDescriptor}.
22
- *
23
- * This way, highlight will be applied with the same rules it is applied on texts.
24
- */
25
- export default class HighlightStack extends /* #__PURE__ */ HighlightStack_base {
26
- private readonly _stack;
27
- /**
28
- * Adds highlight descriptor to the stack.
29
- *
30
- * @fires change:top
31
- */
32
- add(descriptor: HighlightDescriptor, writer: DowncastWriter): void;
33
- /**
34
- * Removes highlight descriptor from the stack.
35
- *
36
- * @fires change:top
37
- * @param id Id of the descriptor to remove.
38
- */
39
- remove(id: string, writer: DowncastWriter): void;
40
- /**
41
- * Inserts a given descriptor in correct place in the stack. It also takes care about updating information
42
- * when descriptor with same id is already present.
43
- */
44
- private _insertDescriptor;
45
- /**
46
- * Removes descriptor with given id from the stack.
47
- *
48
- * @param id Descriptor's id.
49
- */
50
- private _removeDescriptor;
51
- }
52
- /**
53
- * Fired when top element on {@link module:widget/highlightstack~HighlightStack} has been changed
54
- *
55
- * @eventName ~HighlightStack#change:top
56
- */
57
- export type HighlightStackChangeEvent = {
58
- name: 'change' | 'change:top';
59
- args: [HighlightStackChangeEventData];
60
- };
61
- /**
62
- * Additional information about the change.
63
- */
64
- export type HighlightStackChangeEventData = {
65
- /**
66
- * Old highlight descriptor. It will be `undefined` when first descriptor is added to the stack.
67
- */
68
- oldDescriptor: HighlightDescriptor;
69
- /**
70
- * New highlight descriptor. It will be `undefined` when last descriptor is removed from the stack.
71
- */
72
- newDescriptor: HighlightDescriptor;
73
- /**
74
- * View writer that can be used to modify element.
75
- */
76
- writer: DowncastWriter;
77
- };
78
- export {};
package/dist/index.d.ts DELETED
@@ -1,17 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module widget
11
- */
12
- export { default as Widget } from './widget.js';
13
- export { default as WidgetToolbarRepository } from './widgettoolbarrepository.js';
14
- export { default as WidgetResize } from './widgetresize.js';
15
- export { default as WidgetTypeAround } from './widgettypearound/widgettypearound.js';
16
- export * from './utils.js';
17
- import './augmentation.js';