@ckeditor/ckeditor5-list 47.6.1 → 48.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.
Files changed (275) hide show
  1. package/LICENSE.md +1 -1
  2. package/ckeditor5-metadata.json +21 -18
  3. package/dist/index-content.css +135 -111
  4. package/dist/index-editor.css +152 -73
  5. package/dist/index.css +204 -238
  6. package/dist/index.css.map +1 -1
  7. package/dist/index.js.map +1 -1
  8. package/{src → dist}/legacylist/legacyconverters.d.ts +2 -2
  9. package/{src → dist}/legacylist/legacyindentcommand.d.ts +1 -1
  10. package/{src → dist}/legacylist/legacylistcommand.d.ts +1 -1
  11. package/{src → dist}/legacylist/legacylistediting.d.ts +3 -3
  12. package/{src → dist}/legacylist/legacylistutils.d.ts +2 -2
  13. package/{src → dist}/legacylist/legacyutils.d.ts +1 -1
  14. package/{src → dist}/legacylist.d.ts +1 -1
  15. package/{src → dist}/legacylistproperties/legacylistpropertiesediting.d.ts +1 -1
  16. package/{src → dist}/legacylistproperties/legacylistreversedcommand.d.ts +1 -1
  17. package/{src → dist}/legacylistproperties/legacyliststartcommand.d.ts +1 -1
  18. package/{src → dist}/legacylistproperties/legacyliststylecommand.d.ts +1 -1
  19. package/{src → dist}/legacylistproperties.d.ts +1 -1
  20. package/{src → dist}/legacytodolist/legacychecktodolistcommand.d.ts +2 -2
  21. package/{src → dist}/legacytodolist/legacytodolistconverters.d.ts +2 -2
  22. package/{src → dist}/legacytodolist/legacytodolistediting.d.ts +1 -1
  23. package/{src → dist}/legacytodolist.d.ts +1 -1
  24. package/{src → dist}/list/adjacentlistssupport.d.ts +1 -1
  25. package/{src → dist}/list/converters.d.ts +2 -2
  26. package/{src → dist}/list/listcommand.d.ts +2 -2
  27. package/{src → dist}/list/listediting.d.ts +5 -5
  28. package/{src → dist}/list/listindentcommand.d.ts +2 -2
  29. package/{src → dist}/list/listmergecommand.d.ts +2 -2
  30. package/{src → dist}/list/listsplitcommand.d.ts +2 -2
  31. package/{src → dist}/list/listui.d.ts +1 -1
  32. package/{src → dist}/list/listutils.d.ts +3 -3
  33. package/{src → dist}/list/utils/listwalker.d.ts +2 -2
  34. package/{src → dist}/list/utils/model.d.ts +2 -2
  35. package/{src → dist}/list/utils/postfixers.d.ts +1 -1
  36. package/{src → dist}/list/utils/view.d.ts +1 -1
  37. package/{src → dist}/list/utils.d.ts +1 -1
  38. package/{src → dist}/list.d.ts +1 -1
  39. package/{src → dist}/listconfig.d.ts +1 -1
  40. package/{src → dist}/listformatting/listitemboldintegration.d.ts +1 -1
  41. package/{src → dist}/listformatting/listitemfontcolorintegration.d.ts +1 -1
  42. package/{src → dist}/listformatting/listitemfontfamilyintegration.d.ts +1 -1
  43. package/{src → dist}/listformatting/listitemfontsizeintegration.d.ts +1 -1
  44. package/{src → dist}/listformatting/listitemitalicintegration.d.ts +1 -1
  45. package/{src → dist}/listformatting.d.ts +1 -1
  46. package/{src → dist}/listproperties/converters.d.ts +2 -2
  47. package/{src → dist}/listproperties/listpropertiesediting.d.ts +2 -2
  48. package/{src → dist}/listproperties/listpropertiesui.d.ts +1 -1
  49. package/{src → dist}/listproperties/listpropertiesutils.d.ts +1 -1
  50. package/{src → dist}/listproperties/listreversedcommand.d.ts +1 -1
  51. package/{src → dist}/listproperties/liststartcommand.d.ts +1 -1
  52. package/{src → dist}/listproperties/liststylecommand.d.ts +1 -1
  53. package/{src → dist}/listproperties/ui/listpropertiesview.d.ts +2 -2
  54. package/{src → dist}/listproperties.d.ts +1 -1
  55. package/{src → dist}/todolist/checktodolistcommand.d.ts +1 -1
  56. package/{src → dist}/todolist/todocheckboxchangeobserver.d.ts +1 -1
  57. package/{src → dist}/todolist/todolistediting.d.ts +1 -1
  58. package/{src → dist}/todolist/todolistui.d.ts +1 -1
  59. package/{src → dist}/todolist.d.ts +1 -1
  60. package/package.json +28 -52
  61. package/build/list.js +0 -5
  62. package/build/translations/af.js +0 -1
  63. package/build/translations/ar.js +0 -1
  64. package/build/translations/ast.js +0 -1
  65. package/build/translations/az.js +0 -1
  66. package/build/translations/be.js +0 -1
  67. package/build/translations/bg.js +0 -1
  68. package/build/translations/bn.js +0 -1
  69. package/build/translations/bs.js +0 -1
  70. package/build/translations/ca.js +0 -1
  71. package/build/translations/cs.js +0 -1
  72. package/build/translations/da.js +0 -1
  73. package/build/translations/de-ch.js +0 -1
  74. package/build/translations/de.js +0 -1
  75. package/build/translations/el.js +0 -1
  76. package/build/translations/en-au.js +0 -1
  77. package/build/translations/en-gb.js +0 -1
  78. package/build/translations/eo.js +0 -1
  79. package/build/translations/es-co.js +0 -1
  80. package/build/translations/es.js +0 -1
  81. package/build/translations/et.js +0 -1
  82. package/build/translations/eu.js +0 -1
  83. package/build/translations/fa.js +0 -1
  84. package/build/translations/fi.js +0 -1
  85. package/build/translations/fr.js +0 -1
  86. package/build/translations/gl.js +0 -1
  87. package/build/translations/gu.js +0 -1
  88. package/build/translations/he.js +0 -1
  89. package/build/translations/hi.js +0 -1
  90. package/build/translations/hr.js +0 -1
  91. package/build/translations/hu.js +0 -1
  92. package/build/translations/hy.js +0 -1
  93. package/build/translations/id.js +0 -1
  94. package/build/translations/it.js +0 -1
  95. package/build/translations/ja.js +0 -1
  96. package/build/translations/jv.js +0 -1
  97. package/build/translations/kk.js +0 -1
  98. package/build/translations/km.js +0 -1
  99. package/build/translations/kn.js +0 -1
  100. package/build/translations/ko.js +0 -1
  101. package/build/translations/ku.js +0 -1
  102. package/build/translations/lt.js +0 -1
  103. package/build/translations/lv.js +0 -1
  104. package/build/translations/ms.js +0 -1
  105. package/build/translations/nb.js +0 -1
  106. package/build/translations/ne.js +0 -1
  107. package/build/translations/nl.js +0 -1
  108. package/build/translations/no.js +0 -1
  109. package/build/translations/oc.js +0 -1
  110. package/build/translations/pl.js +0 -1
  111. package/build/translations/pt-br.js +0 -1
  112. package/build/translations/pt.js +0 -1
  113. package/build/translations/ro.js +0 -1
  114. package/build/translations/ru.js +0 -1
  115. package/build/translations/si.js +0 -1
  116. package/build/translations/sk.js +0 -1
  117. package/build/translations/sl.js +0 -1
  118. package/build/translations/sq.js +0 -1
  119. package/build/translations/sr-latn.js +0 -1
  120. package/build/translations/sr.js +0 -1
  121. package/build/translations/sv.js +0 -1
  122. package/build/translations/th.js +0 -1
  123. package/build/translations/ti.js +0 -1
  124. package/build/translations/tk.js +0 -1
  125. package/build/translations/tr.js +0 -1
  126. package/build/translations/tt.js +0 -1
  127. package/build/translations/ug.js +0 -1
  128. package/build/translations/uk.js +0 -1
  129. package/build/translations/ur.js +0 -1
  130. package/build/translations/uz.js +0 -1
  131. package/build/translations/vi.js +0 -1
  132. package/build/translations/zh-cn.js +0 -1
  133. package/build/translations/zh.js +0 -1
  134. package/lang/contexts.json +0 -37
  135. package/lang/translations/af.po +0 -152
  136. package/lang/translations/ar.po +0 -152
  137. package/lang/translations/ast.po +0 -152
  138. package/lang/translations/az.po +0 -152
  139. package/lang/translations/be.po +0 -152
  140. package/lang/translations/bg.po +0 -152
  141. package/lang/translations/bn.po +0 -152
  142. package/lang/translations/bs.po +0 -152
  143. package/lang/translations/ca.po +0 -152
  144. package/lang/translations/cs.po +0 -152
  145. package/lang/translations/da.po +0 -152
  146. package/lang/translations/de-ch.po +0 -152
  147. package/lang/translations/de.po +0 -152
  148. package/lang/translations/el.po +0 -152
  149. package/lang/translations/en-au.po +0 -152
  150. package/lang/translations/en-gb.po +0 -152
  151. package/lang/translations/en.po +0 -152
  152. package/lang/translations/eo.po +0 -152
  153. package/lang/translations/es-co.po +0 -152
  154. package/lang/translations/es.po +0 -152
  155. package/lang/translations/et.po +0 -152
  156. package/lang/translations/eu.po +0 -152
  157. package/lang/translations/fa.po +0 -152
  158. package/lang/translations/fi.po +0 -152
  159. package/lang/translations/fr.po +0 -152
  160. package/lang/translations/gl.po +0 -152
  161. package/lang/translations/gu.po +0 -152
  162. package/lang/translations/he.po +0 -152
  163. package/lang/translations/hi.po +0 -152
  164. package/lang/translations/hr.po +0 -152
  165. package/lang/translations/hu.po +0 -152
  166. package/lang/translations/hy.po +0 -152
  167. package/lang/translations/id.po +0 -152
  168. package/lang/translations/it.po +0 -152
  169. package/lang/translations/ja.po +0 -152
  170. package/lang/translations/jv.po +0 -152
  171. package/lang/translations/kk.po +0 -152
  172. package/lang/translations/km.po +0 -152
  173. package/lang/translations/kn.po +0 -152
  174. package/lang/translations/ko.po +0 -152
  175. package/lang/translations/ku.po +0 -152
  176. package/lang/translations/lt.po +0 -152
  177. package/lang/translations/lv.po +0 -152
  178. package/lang/translations/ms.po +0 -152
  179. package/lang/translations/nb.po +0 -152
  180. package/lang/translations/ne.po +0 -152
  181. package/lang/translations/nl.po +0 -152
  182. package/lang/translations/no.po +0 -152
  183. package/lang/translations/oc.po +0 -152
  184. package/lang/translations/pl.po +0 -152
  185. package/lang/translations/pt-br.po +0 -152
  186. package/lang/translations/pt.po +0 -152
  187. package/lang/translations/ro.po +0 -152
  188. package/lang/translations/ru.po +0 -152
  189. package/lang/translations/si.po +0 -152
  190. package/lang/translations/sk.po +0 -152
  191. package/lang/translations/sl.po +0 -152
  192. package/lang/translations/sq.po +0 -152
  193. package/lang/translations/sr-latn.po +0 -152
  194. package/lang/translations/sr.po +0 -152
  195. package/lang/translations/sv.po +0 -152
  196. package/lang/translations/th.po +0 -152
  197. package/lang/translations/ti.po +0 -152
  198. package/lang/translations/tk.po +0 -152
  199. package/lang/translations/tr.po +0 -152
  200. package/lang/translations/tt.po +0 -152
  201. package/lang/translations/ug.po +0 -152
  202. package/lang/translations/uk.po +0 -152
  203. package/lang/translations/ur.po +0 -152
  204. package/lang/translations/uz.po +0 -152
  205. package/lang/translations/vi.po +0 -152
  206. package/lang/translations/zh-cn.po +0 -152
  207. package/lang/translations/zh.po +0 -152
  208. package/src/augmentation.js +0 -5
  209. package/src/index.js +0 -67
  210. package/src/legacyerrors.js +0 -28
  211. package/src/legacylist/legacyconverters.js +0 -921
  212. package/src/legacylist/legacyindentcommand.js +0 -111
  213. package/src/legacylist/legacylistcommand.js +0 -278
  214. package/src/legacylist/legacylistediting.js +0 -167
  215. package/src/legacylist/legacylistutils.js +0 -52
  216. package/src/legacylist/legacyutils.js +0 -357
  217. package/src/legacylist.js +0 -36
  218. package/src/legacylistproperties/legacylistpropertiesediting.js +0 -703
  219. package/src/legacylistproperties/legacylistreversedcommand.js +0 -52
  220. package/src/legacylistproperties/legacyliststartcommand.js +0 -52
  221. package/src/legacylistproperties/legacyliststylecommand.js +0 -105
  222. package/src/legacylistproperties.js +0 -37
  223. package/src/legacytodolist/legacychecktodolistcommand.js +0 -82
  224. package/src/legacytodolist/legacytodolistconverters.js +0 -268
  225. package/src/legacytodolist/legacytodolistediting.js +0 -199
  226. package/src/legacytodolist.js +0 -37
  227. package/src/list/adjacentlistssupport.js +0 -87
  228. package/src/list/converters.js +0 -533
  229. package/src/list/listcommand.js +0 -176
  230. package/src/list/listediting.js +0 -696
  231. package/src/list/listindentcommand.js +0 -136
  232. package/src/list/listmergecommand.js +0 -182
  233. package/src/list/listsplitcommand.js +0 -74
  234. package/src/list/listui.js +0 -42
  235. package/src/list/listutils.js +0 -68
  236. package/src/list/utils/listwalker.js +0 -236
  237. package/src/list/utils/model.js +0 -487
  238. package/src/list/utils/postfixers.js +0 -131
  239. package/src/list/utils/view.js +0 -117
  240. package/src/list/utils.js +0 -51
  241. package/src/list.js +0 -36
  242. package/src/listconfig.js +0 -5
  243. package/src/listformatting/listitemboldintegration.js +0 -88
  244. package/src/listformatting/listitemfontcolorintegration.js +0 -92
  245. package/src/listformatting/listitemfontfamilyintegration.js +0 -93
  246. package/src/listformatting/listitemfontsizeintegration.js +0 -124
  247. package/src/listformatting/listitemitalicintegration.js +0 -88
  248. package/src/listformatting.js +0 -248
  249. package/src/listproperties/converters.js +0 -43
  250. package/src/listproperties/listpropertiesediting.js +0 -291
  251. package/src/listproperties/listpropertiesui.js +0 -385
  252. package/src/listproperties/listpropertiesutils.js +0 -50
  253. package/src/listproperties/listreversedcommand.js +0 -55
  254. package/src/listproperties/liststartcommand.js +0 -61
  255. package/src/listproperties/liststylecommand.js +0 -121
  256. package/src/listproperties/ui/listpropertiesview.js +0 -318
  257. package/src/listproperties/utils/config.js +0 -84
  258. package/src/listproperties/utils/style.js +0 -85
  259. package/src/listproperties.js +0 -37
  260. package/src/todolist/checktodolistcommand.js +0 -82
  261. package/src/todolist/todocheckboxchangeobserver.js +0 -36
  262. package/src/todolist/todolistediting.js +0 -470
  263. package/src/todolist/todolistui.js +0 -35
  264. package/src/todolist.js +0 -37
  265. package/theme/documentlist.css +0 -8
  266. package/theme/list.css +0 -40
  267. package/theme/listformatting.css +0 -66
  268. package/theme/listproperties.css +0 -10
  269. package/theme/liststyles.css +0 -8
  270. package/theme/todolist.css +0 -140
  271. /package/{src → dist}/augmentation.d.ts +0 -0
  272. /package/{src → dist}/index.d.ts +0 -0
  273. /package/{src → dist}/legacyerrors.d.ts +0 -0
  274. /package/{src → dist}/listproperties/utils/config.d.ts +0 -0
  275. /package/{src → dist}/listproperties/utils/style.d.ts +0 -0
package/LICENSE.md CHANGED
@@ -18,7 +18,7 @@ Where not otherwise indicated, all CKEditor 5 content is authored by CKSour
18
18
 
19
19
  The following libraries are included in CKEditor 5 under the [MIT license](https://opensource.org/licenses/MIT):
20
20
 
21
- * es-toolkit - Copyright (c) 2024 Viva Republica, Inc.
21
+ * es-toolkit - Copyright (c) 2024 Viva Republica, Inc and Copyright OpenJS Foundation and other contributors.
22
22
 
23
23
  Trademarks
24
24
  ----------
@@ -5,17 +5,17 @@
5
5
  "className": "LegacyList",
6
6
  "description": "Implements bulleted and numbered list features. Add the to-do list plugin to bring support for inserting interactive checkboxes.",
7
7
  "docs": "features/lists/lists.html",
8
- "path": "src/legacylist.js",
8
+ "path": "src/legacylist.ts",
9
9
  "uiComponents": [
10
10
  {
11
11
  "type": "Button",
12
12
  "name": "numberedList",
13
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/numbered-list.svg"
13
+ "iconName": "IconNumberedList"
14
14
  },
15
15
  {
16
16
  "type": "Button",
17
17
  "name": "bulletedList",
18
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/bulleted-list.svg"
18
+ "iconName": "IconBulletedList"
19
19
  }
20
20
  ],
21
21
  "htmlOutput": [
@@ -41,7 +41,7 @@
41
41
  {
42
42
  "type": "Button",
43
43
  "name": "todoList",
44
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/todo-list.svg"
44
+ "iconName": "IconTodoList"
45
45
  }
46
46
  ],
47
47
  "htmlOutput": [
@@ -75,7 +75,7 @@
75
75
  "className": "LegacyListProperties",
76
76
  "description": "Enables styling the list item markers for both ordered and unordered lists. You can choose various types of numerals and letters or visual markers to use with these lists. Also enables setting the start index (initial marker value) and list reversal (from ascending to descending) for numbered lists.",
77
77
  "docs": "features/lists/lists-properties.html#list-styles",
78
- "path": "src/legacylistproperties.js",
78
+ "path": "src/legacylistproperties.ts",
79
79
  "requires": [
80
80
  "LegacyList"
81
81
  ],
@@ -98,17 +98,17 @@
98
98
  "className": "List",
99
99
  "description": "Implements bulleted and numbered list features. Supports block content inside list elements. Incompatible with the LegacyList plugin.",
100
100
  "docs": "features/lists/lists.html",
101
- "path": "src/list.js",
101
+ "path": "src/list.ts",
102
102
  "uiComponents": [
103
103
  {
104
104
  "type": "Button",
105
105
  "name": "numberedList",
106
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/numbered-list.svg"
106
+ "iconName": "IconNumberedList"
107
107
  },
108
108
  {
109
109
  "type": "Button",
110
110
  "name": "bulletedList",
111
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/bulleted-list.svg"
111
+ "iconName": "IconBulletedList"
112
112
  }
113
113
  ],
114
114
  "htmlOutput": [
@@ -128,7 +128,7 @@
128
128
  "className": "ListFormatting",
129
129
  "description": "Enables integration with formatting plugins to style the list marker. Supports font color, font size, font family, bold, and italic formatting.",
130
130
  "docs": "features/lists/lists-properties.html#list-item-marker-formatting",
131
- "path": "src/listformatting.js",
131
+ "path": "src/listformatting.ts",
132
132
  "requires": [
133
133
  "ListItemBoldIntegration",
134
134
  "ListItemItalicIntegration",
@@ -142,7 +142,7 @@
142
142
  "className": "ListItemBoldIntegration",
143
143
  "description": "Integrates bold formatting with list items to style list markers with bold formatting when the content is consistently bold.",
144
144
  "docs": "features/lists/lists-properties.html#list-item-marker-formatting",
145
- "path": "src/listformatting/listitemboldintegration.js",
145
+ "path": "src/listformatting/listitemboldintegration.ts",
146
146
  "requires": [
147
147
  "ListEditing"
148
148
  ],
@@ -158,7 +158,7 @@
158
158
  "className": "ListItemItalicIntegration",
159
159
  "description": "Integrates italic formatting with list items to style list markers with italic formatting when the content is consistently italic.",
160
160
  "docs": "features/lists/lists-properties.html#list-item-marker-formatting",
161
- "path": "src/listformatting/listitemitalicintegration.js",
161
+ "path": "src/listformatting/listitemitalicintegration.ts",
162
162
  "requires": [
163
163
  "ListEditing"
164
164
  ],
@@ -174,7 +174,7 @@
174
174
  "className": "ListItemFontSizeIntegration",
175
175
  "description": "Integrates font size formatting with list items to style list markers with specific font sizes when the content has consistent font sizing.",
176
176
  "docs": "features/lists/lists-properties.html#list-item-marker-formatting",
177
- "path": "src/listformatting/listitemfontsizeintegration.js",
177
+ "path": "src/listformatting/listitemfontsizeintegration.ts",
178
178
  "requires": [
179
179
  "ListEditing"
180
180
  ],
@@ -197,7 +197,7 @@
197
197
  "className": "ListItemFontColorIntegration",
198
198
  "description": "Integrates font color formatting with list items to style list markers with specific colors when the content has consistent font coloring.",
199
199
  "docs": "features/lists/lists-properties.html#list-item-marker-formatting",
200
- "path": "src/listformatting/listitemfontcolorintegration.js",
200
+ "path": "src/listformatting/listitemfontcolorintegration.ts",
201
201
  "requires": [
202
202
  "ListEditing"
203
203
  ],
@@ -214,7 +214,7 @@
214
214
  "className": "ListItemFontFamilyIntegration",
215
215
  "description": "Integrates font family formatting with list items to style list markers with specific font families when the content has consistent font family formatting.",
216
216
  "docs": "features/lists/lists-properties.html#list-item-marker-formatting",
217
- "path": "src/listformatting/listitemfontfamilyintegration.js",
217
+ "path": "src/listformatting/listitemfontfamilyintegration.ts",
218
218
  "requires": [
219
219
  "ListEditing"
220
220
  ],
@@ -231,7 +231,7 @@
231
231
  "className": "TodoList",
232
232
  "description": "Allows for creating a list of interactive checkboxes with labels. Supports all features of lists so you can nest a to-do list together with bulleted and numbered lists in any combination.",
233
233
  "docs": "features/lists/todo-lists.html",
234
- "path": "src/todolist.js",
234
+ "path": "src/todolist.ts",
235
235
  "requires": [
236
236
  "List"
237
237
  ],
@@ -239,7 +239,7 @@
239
239
  {
240
240
  "type": "Button",
241
241
  "name": "todoList",
242
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/todo-list.svg"
242
+ "iconName": "IconTodoList"
243
243
  }
244
244
  ],
245
245
  "htmlOutput": [
@@ -252,7 +252,10 @@
252
252
  },
253
253
  {
254
254
  "elements": "label",
255
- "classes": [ "todo-list__label", "todo-list__label_without-description" ]
255
+ "classes": [
256
+ "todo-list__label",
257
+ "todo-list__label_without-description"
258
+ ]
256
259
  },
257
260
  {
258
261
  "elements": "span",
@@ -273,7 +276,7 @@
273
276
  "className": "ListProperties",
274
277
  "description": "Enables styling the list item markers for both ordered and unordered lists created by the list plugin. You can choose various types of numerals and letters or visual markers to use with these lists. Also enables setting the start index (initial marker value) and list reversal (from ascending to descending) for numbered lists.",
275
278
  "docs": "features/lists/lists-properties.html",
276
- "path": "src/listproperties.js",
279
+ "path": "src/listproperties.ts",
277
280
  "requires": [
278
281
  "List"
279
282
  ],
@@ -3,165 +3,189 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  :root{
6
- --ck-content-list-marker-color:var(--ck-content-font-color);
7
- --ck-content-list-marker-font-family:var(--ck-content-font-family);
8
- --ck-content-list-marker-font-size:var(--ck-content-font-size);
6
+ --ck-content-list-marker-color:var(--ck-content-font-color);
7
+ --ck-content-list-marker-font-family:var(--ck-content-font-family);
8
+ --ck-content-list-marker-font-size:var(--ck-content-font-size);
9
9
  }
10
10
 
11
11
  .ck-content li > p:first-of-type{
12
- margin-top:0;
13
- }
12
+ margin-top:0;
13
+ }
14
14
 
15
15
  .ck-content li > p:only-of-type{
16
- margin-top:0;
17
- margin-bottom:0;
18
- }
16
+ margin-top:0;
17
+ margin-bottom:0;
18
+ }
19
19
 
20
20
  .ck-content li.ck-list-marker-bold::marker{
21
- font-weight:bold;
22
- }
21
+ font-weight:bold;
22
+ }
23
23
 
24
24
  .ck-content li.ck-list-marker-italic::marker{
25
- font-style:italic;
26
- }
25
+ font-style:italic;
26
+ }
27
27
 
28
28
  .ck-content li.ck-list-marker-color::marker{
29
- color:var(--ck-content-list-marker-color);
30
- }
29
+ color:var(--ck-content-list-marker-color);
30
+ }
31
31
 
32
32
  .ck-content li.ck-list-marker-font-family::marker{
33
- font-family:var(--ck-content-list-marker-font-family);
34
- }
33
+ font-family:var(--ck-content-list-marker-font-family);
34
+ }
35
35
 
36
36
  .ck-content li.ck-list-marker-font-size::marker{
37
- font-size:var(--ck-content-list-marker-font-size);
38
- }
37
+ font-size:var(--ck-content-list-marker-font-size);
38
+ }
39
39
 
40
40
  .ck-content li.ck-list-marker-font-size-tiny::marker{
41
- font-size:var(--ck-content-font-size-tiny);
42
- }
41
+ font-size:var(--ck-content-font-size-tiny);
42
+ }
43
43
 
44
44
  .ck-content li.ck-list-marker-font-size-small::marker{
45
- font-size:var(--ck-content-font-size-small);
46
- }
45
+ font-size:var(--ck-content-font-size-small);
46
+ }
47
47
 
48
48
  .ck-content li.ck-list-marker-font-size-big::marker{
49
- font-size:var(--ck-content-font-size-big);
50
- }
49
+ font-size:var(--ck-content-font-size-big);
50
+ }
51
51
 
52
52
  .ck-content li.ck-list-marker-font-size-huge::marker{
53
- font-size:var(--ck-content-font-size-huge);
54
- }
53
+ font-size:var(--ck-content-font-size-huge);
54
+ }
55
55
 
56
56
  .ck-content ol{
57
- list-style-type:decimal;
57
+ list-style-type:decimal;
58
58
  }
59
59
 
60
60
  .ck-content ol ol{
61
- list-style-type:lower-latin;
62
- }
61
+ list-style-type:lower-latin;
62
+ }
63
63
 
64
64
  .ck-content ol ol ol{
65
- list-style-type:lower-roman;
66
- }
65
+ list-style-type:lower-roman;
66
+ }
67
67
 
68
68
  .ck-content ol ol ol ol{
69
- list-style-type:upper-latin;
70
- }
69
+ list-style-type:upper-latin;
70
+ }
71
71
 
72
72
  .ck-content ol ol ol ol ol{
73
- list-style-type:upper-roman;
74
- }
73
+ list-style-type:upper-roman;
74
+ }
75
75
 
76
76
  .ck-content ul{
77
- list-style-type:disc;
77
+ list-style-type:disc;
78
78
  }
79
79
 
80
80
  .ck-content ul ul{
81
- list-style-type:circle;
82
- }
81
+ list-style-type:circle;
82
+ }
83
83
 
84
84
  .ck-content ul ul ul{
85
- list-style-type:square;
86
- }
85
+ list-style-type:square;
86
+ }
87
87
 
88
88
  .ck-content ul ul ul ul{
89
- list-style-type:square;
90
- }
89
+ list-style-type:square;
90
+ }
91
91
 
92
92
  :root{
93
- --ck-content-todo-list-checkmark-size:16px;
93
+ --ck-content-todo-list-checkmark-size:16px;
94
+ }
95
+
96
+ .ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input{
97
+ -webkit-appearance:none;
98
+ width:var(--ck-content-todo-list-checkmark-size);
99
+ height:var(--ck-content-todo-list-checkmark-size);
100
+ vertical-align:middle;
101
+ border:0;
102
+ margin-left:0;
103
+ margin-right:-15px;
104
+ display:inline-block;
105
+ position:relative;
106
+ left:-25px;
107
+ right:0;
108
+ }
109
+
110
+ [dir="rtl"]:is(.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input){
111
+ margin-left:-15px;
112
+ margin-right:0;
113
+ left:0;
114
+ right:-25px;
115
+ }
116
+
117
+ :is(.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input):before{
118
+ box-sizing:border-box;
119
+ content:"";
120
+ border:1px solid #333;
121
+ border-radius:2px;
122
+ width:100%;
123
+ height:100%;
124
+ transition:box-shadow .25s ease-in-out;
125
+ display:block;
126
+ position:absolute;
94
127
  }
128
+
129
+ @media (prefers-reduced-motion: reduce){
130
+ :is(.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input):before{
131
+ transition:none;
132
+ }
133
+ }
134
+
135
+ :is(.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input):after{
136
+ box-sizing:content-box;
137
+ pointer-events:none;
138
+ content:"";
139
+ left:calc(var(--ck-content-todo-list-checkmark-size) / 3);
140
+ top:calc(var(--ck-content-todo-list-checkmark-size) / 5.3);
141
+ width:calc(var(--ck-content-todo-list-checkmark-size) / 5.3);
142
+ height:calc(var(--ck-content-todo-list-checkmark-size) / 2.6);
143
+ border-style:solid;
144
+ border-color:#0000;
145
+ border-width:0 calc(var(--ck-content-todo-list-checkmark-size) / 8) calc(var(--ck-content-todo-list-checkmark-size) / 8) 0;
146
+ display:block;
147
+ position:absolute;
148
+ transform:rotate(45deg);
149
+ }
150
+
151
+ :is(.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input)[checked]:before{
152
+ background:#26ab33;
153
+ border-color:#26ab33;
154
+ }
155
+
156
+ :is(.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input)[checked]:after{
157
+ border-color:#fff;
158
+ }
159
+
95
160
  .ck-content .todo-list{
96
- list-style:none;
161
+ list-style:none;
97
162
  }
163
+
98
164
  .ck-content .todo-list li{
99
- position:relative;
100
- margin-bottom:5px;
101
- }
165
+ margin-bottom:5px;
166
+ position:relative;
167
+ }
168
+
102
169
  .ck-content .todo-list li .todo-list{
103
- margin-top:5px;
104
- }
105
- .ck-content .todo-list .todo-list__label > input{
106
- -webkit-appearance:none;
107
- display:inline-block;
108
- position:relative;
109
- width:var(--ck-content-todo-list-checkmark-size);
110
- height:var(--ck-content-todo-list-checkmark-size);
111
- vertical-align:middle;
112
- border:0;
113
- left:-25px;
114
- margin-right:-15px;
115
- right:0;
116
- margin-left:0;
117
- }
118
- .ck-content[dir=rtl] .todo-list .todo-list__label > input{
119
- left:0;
120
- margin-right:0;
121
- right:-25px;
122
- margin-left:-15px;
123
- }
124
- .ck-content .todo-list .todo-list__label > input::before{
125
- display:block;
126
- position:absolute;
127
- box-sizing:border-box;
128
- content:'';
129
- width:100%;
130
- height:100%;
131
- border:1px solid hsl(0, 0%, 20%);
132
- border-radius:2px;
133
- transition:250ms ease-in-out box-shadow;
134
- }
135
- @media (prefers-reduced-motion: reduce){
136
- .ck-content .todo-list .todo-list__label > input::before{
137
- transition:none;
138
- }
139
- }
140
- .ck-content .todo-list .todo-list__label > input::after{
141
- display:block;
142
- position:absolute;
143
- box-sizing:content-box;
144
- pointer-events:none;
145
- content:'';
146
- left:calc( var(--ck-content-todo-list-checkmark-size) / 3);
147
- top:calc( var(--ck-content-todo-list-checkmark-size) / 5.3);
148
- width:calc( var(--ck-content-todo-list-checkmark-size) / 5.3);
149
- height:calc( var(--ck-content-todo-list-checkmark-size) / 2.6);
150
- border-style:solid;
151
- border-color:transparent;
152
- border-width:0 calc( var(--ck-content-todo-list-checkmark-size) / 8) calc( var(--ck-content-todo-list-checkmark-size) / 8) 0;
153
- transform:rotate(45deg);
154
- }
155
- .ck-content .todo-list .todo-list__label > input[checked]::before{
156
- background:hsl(126, 64%, 41%);
157
- border-color:hsl(126, 64%, 41%);
158
- }
159
- .ck-content .todo-list .todo-list__label > input[checked]::after{
160
- border-color:hsl(0, 0%, 100%);
161
- }
170
+ margin-top:5px;
171
+ }
172
+
162
173
  .ck-content .todo-list .todo-list__label .todo-list__label__description{
163
- vertical-align:middle;
164
- }
165
- .ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{
166
- position:absolute;
167
- }
174
+ vertical-align:middle;
175
+ }
176
+
177
+ .ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type="checkbox"]{
178
+ position:absolute;
179
+ }
180
+
181
+ .ck-editor__editable.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input{
182
+ cursor:pointer;
183
+ }
184
+
185
+ :is(.ck-editor__editable.ck-content .todo-list .todo-list__label > input, .ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input):hover:before{
186
+ box-shadow:0 0 0 5px #0000001a;
187
+ }
188
+
189
+ .ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type="checkbox"]{
190
+ position:absolute;
191
+ }