@ckeditor/ckeditor5-ui 40.0.0 → 40.2.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 (171) hide show
  1. package/CHANGELOG.md +26 -26
  2. package/LICENSE.md +3 -3
  3. package/lang/translations/gl.po +4 -4
  4. package/lang/translations/pt-br.po +1 -1
  5. package/lang/translations/sr-latn.po +6 -6
  6. package/lang/translations/ug.po +26 -26
  7. package/package.json +3 -3
  8. package/src/arialiveannouncer.d.ts +94 -0
  9. package/src/arialiveannouncer.js +113 -0
  10. package/src/augmentation.d.ts +86 -86
  11. package/src/augmentation.js +5 -5
  12. package/src/autocomplete/autocompleteview.d.ts +81 -81
  13. package/src/autocomplete/autocompleteview.js +153 -146
  14. package/src/bindings/addkeyboardhandlingforgrid.d.ts +27 -27
  15. package/src/bindings/addkeyboardhandlingforgrid.js +107 -107
  16. package/src/bindings/clickoutsidehandler.d.ts +28 -28
  17. package/src/bindings/clickoutsidehandler.js +36 -36
  18. package/src/bindings/csstransitiondisablermixin.d.ts +40 -40
  19. package/src/bindings/csstransitiondisablermixin.js +55 -55
  20. package/src/bindings/injectcsstransitiondisabler.d.ts +59 -59
  21. package/src/bindings/injectcsstransitiondisabler.js +71 -71
  22. package/src/bindings/preventdefault.d.ts +33 -33
  23. package/src/bindings/preventdefault.js +34 -34
  24. package/src/bindings/submithandler.d.ts +57 -57
  25. package/src/bindings/submithandler.js +47 -47
  26. package/src/button/button.d.ts +172 -178
  27. package/src/button/button.js +5 -5
  28. package/src/button/buttonlabel.d.ts +34 -34
  29. package/src/button/buttonlabel.js +5 -5
  30. package/src/button/buttonlabelview.d.ts +31 -31
  31. package/src/button/buttonlabelview.js +42 -42
  32. package/src/button/buttonview.d.ts +181 -185
  33. package/src/button/buttonview.js +217 -219
  34. package/src/button/switchbuttonview.d.ts +45 -45
  35. package/src/button/switchbuttonview.js +75 -75
  36. package/src/collapsible/collapsibleview.d.ts +69 -0
  37. package/src/collapsible/collapsibleview.js +95 -0
  38. package/src/colorgrid/colorgridview.d.ts +132 -132
  39. package/src/colorgrid/colorgridview.js +124 -124
  40. package/src/colorgrid/colortileview.d.ts +28 -28
  41. package/src/colorgrid/colortileview.js +40 -40
  42. package/src/colorgrid/utils.d.ts +47 -47
  43. package/src/colorgrid/utils.js +84 -84
  44. package/src/colorpicker/colorpickerview.d.ts +137 -137
  45. package/src/colorpicker/colorpickerview.js +270 -270
  46. package/src/colorpicker/utils.d.ts +43 -43
  47. package/src/colorpicker/utils.js +99 -99
  48. package/src/colorselector/colorgridsfragmentview.d.ts +194 -194
  49. package/src/colorselector/colorgridsfragmentview.js +289 -289
  50. package/src/colorselector/colorpickerfragmentview.d.ts +128 -128
  51. package/src/colorselector/colorpickerfragmentview.js +205 -205
  52. package/src/colorselector/colorselectorview.d.ts +242 -242
  53. package/src/colorselector/colorselectorview.js +256 -256
  54. package/src/colorselector/documentcolorcollection.d.ts +70 -70
  55. package/src/colorselector/documentcolorcollection.js +42 -42
  56. package/src/componentfactory.d.ts +81 -81
  57. package/src/componentfactory.js +104 -104
  58. package/src/dropdown/button/dropdownbutton.d.ts +25 -25
  59. package/src/dropdown/button/dropdownbutton.js +5 -5
  60. package/src/dropdown/button/dropdownbuttonview.d.ts +48 -48
  61. package/src/dropdown/button/dropdownbuttonview.js +66 -66
  62. package/src/dropdown/button/splitbuttonview.d.ts +162 -161
  63. package/src/dropdown/button/splitbuttonview.js +154 -152
  64. package/src/dropdown/dropdownpanelfocusable.d.ts +21 -21
  65. package/src/dropdown/dropdownpanelfocusable.js +5 -5
  66. package/src/dropdown/dropdownpanelview.d.ts +62 -62
  67. package/src/dropdown/dropdownpanelview.js +97 -97
  68. package/src/dropdown/dropdownview.d.ts +315 -315
  69. package/src/dropdown/dropdownview.js +379 -379
  70. package/src/dropdown/utils.d.ts +235 -235
  71. package/src/dropdown/utils.js +463 -458
  72. package/src/editableui/editableuiview.d.ts +72 -72
  73. package/src/editableui/editableuiview.js +112 -112
  74. package/src/editableui/inline/inlineeditableuiview.d.ts +40 -40
  75. package/src/editableui/inline/inlineeditableuiview.js +48 -48
  76. package/src/editorui/bodycollection.d.ts +55 -55
  77. package/src/editorui/bodycollection.js +84 -84
  78. package/src/editorui/boxed/boxededitoruiview.d.ts +40 -40
  79. package/src/editorui/boxed/boxededitoruiview.js +81 -81
  80. package/src/editorui/editorui.d.ts +288 -282
  81. package/src/editorui/editorui.js +412 -410
  82. package/src/editorui/editoruiview.d.ts +39 -39
  83. package/src/editorui/editoruiview.js +38 -38
  84. package/src/editorui/poweredby.d.ts +71 -71
  85. package/src/editorui/poweredby.js +276 -276
  86. package/src/focuscycler.d.ts +226 -226
  87. package/src/focuscycler.js +245 -245
  88. package/src/formheader/formheaderview.d.ts +59 -59
  89. package/src/formheader/formheaderview.js +69 -69
  90. package/src/highlightedtext/highlightedtextview.d.ts +38 -38
  91. package/src/highlightedtext/highlightedtextview.js +102 -102
  92. package/src/icon/iconview.d.ts +85 -85
  93. package/src/icon/iconview.js +114 -114
  94. package/src/iframe/iframeview.d.ts +50 -50
  95. package/src/iframe/iframeview.js +63 -63
  96. package/src/index.d.ts +74 -73
  97. package/src/index.js +71 -70
  98. package/src/input/inputbase.d.ts +107 -107
  99. package/src/input/inputbase.js +110 -110
  100. package/src/input/inputview.d.ts +36 -36
  101. package/src/input/inputview.js +24 -24
  102. package/src/inputnumber/inputnumberview.d.ts +49 -49
  103. package/src/inputnumber/inputnumberview.js +40 -40
  104. package/src/inputtext/inputtextview.d.ts +18 -18
  105. package/src/inputtext/inputtextview.js +27 -27
  106. package/src/label/labelview.d.ts +36 -36
  107. package/src/label/labelview.js +41 -41
  108. package/src/labeledfield/labeledfieldview.d.ts +187 -187
  109. package/src/labeledfield/labeledfieldview.js +157 -157
  110. package/src/labeledfield/utils.d.ts +123 -123
  111. package/src/labeledfield/utils.js +176 -176
  112. package/src/labeledinput/labeledinputview.d.ts +125 -125
  113. package/src/labeledinput/labeledinputview.js +125 -125
  114. package/src/list/listitemgroupview.d.ts +59 -51
  115. package/src/list/listitemgroupview.js +67 -75
  116. package/src/list/listitemview.d.ts +36 -36
  117. package/src/list/listitemview.js +42 -42
  118. package/src/list/listseparatorview.d.ts +18 -18
  119. package/src/list/listseparatorview.js +28 -28
  120. package/src/list/listview.d.ts +123 -122
  121. package/src/list/listview.js +188 -187
  122. package/src/model.d.ts +22 -22
  123. package/src/model.js +31 -31
  124. package/src/notification/notification.d.ts +211 -211
  125. package/src/notification/notification.js +187 -187
  126. package/src/panel/balloon/balloonpanelview.d.ts +685 -685
  127. package/src/panel/balloon/balloonpanelview.js +1010 -1010
  128. package/src/panel/balloon/contextualballoon.d.ts +299 -299
  129. package/src/panel/balloon/contextualballoon.js +572 -572
  130. package/src/panel/sticky/stickypanelview.d.ts +156 -156
  131. package/src/panel/sticky/stickypanelview.js +234 -234
  132. package/src/search/filteredview.d.ts +31 -31
  133. package/src/search/filteredview.js +5 -5
  134. package/src/search/searchinfoview.d.ts +45 -45
  135. package/src/search/searchinfoview.js +59 -59
  136. package/src/search/searchresultsview.d.ts +54 -54
  137. package/src/search/searchresultsview.js +65 -65
  138. package/src/search/text/searchtextqueryview.d.ts +76 -76
  139. package/src/search/text/searchtextqueryview.js +75 -75
  140. package/src/search/text/searchtextview.d.ts +219 -219
  141. package/src/search/text/searchtextview.js +201 -201
  142. package/src/spinner/spinnerview.d.ts +25 -25
  143. package/src/spinner/spinnerview.js +38 -38
  144. package/src/template.d.ts +942 -942
  145. package/src/template.js +1294 -1294
  146. package/src/textarea/textareaview.d.ts +88 -88
  147. package/src/textarea/textareaview.js +142 -140
  148. package/src/toolbar/balloon/balloontoolbar.d.ts +122 -122
  149. package/src/toolbar/balloon/balloontoolbar.js +300 -300
  150. package/src/toolbar/block/blockbuttonview.d.ts +35 -35
  151. package/src/toolbar/block/blockbuttonview.js +41 -41
  152. package/src/toolbar/block/blocktoolbar.d.ts +161 -161
  153. package/src/toolbar/block/blocktoolbar.js +395 -395
  154. package/src/toolbar/normalizetoolbarconfig.d.ts +40 -40
  155. package/src/toolbar/normalizetoolbarconfig.js +52 -51
  156. package/src/toolbar/toolbarlinebreakview.d.ts +18 -18
  157. package/src/toolbar/toolbarlinebreakview.js +28 -28
  158. package/src/toolbar/toolbarseparatorview.d.ts +18 -18
  159. package/src/toolbar/toolbarseparatorview.js +28 -28
  160. package/src/toolbar/toolbarview.d.ts +266 -266
  161. package/src/toolbar/toolbarview.js +719 -719
  162. package/src/tooltipmanager.d.ts +180 -180
  163. package/src/tooltipmanager.js +353 -353
  164. package/src/view.d.ts +422 -422
  165. package/src/view.js +396 -396
  166. package/src/viewcollection.d.ts +139 -139
  167. package/src/viewcollection.js +206 -206
  168. package/theme/components/arialiveannouncer/arialiveannouncer.css +10 -0
  169. package/theme/components/button/button.css +9 -1
  170. package/theme/components/collapsible/collapsible.css +10 -0
  171. package/theme/components/formheader/formheader.css +0 -4
package/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@ All changes in the package are documented in the main repository. See: https://g
5
5
 
6
6
  Changes for the past releases are available below.
7
7
 
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v18.0.0...v19.0.0) (2020-04-29)
8
+ ## [19.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v18.0.0...v19.0.0) (April 29, 2020)
9
9
 
10
10
  ### MAJOR BREAKING CHANGES
11
11
 
@@ -38,7 +38,7 @@ Changes for the past releases are available below.
38
38
  * Updated translations. ([2a391d6](https://github.com/ckeditor/ckeditor5-ui/commit/2a391d6))
39
39
 
40
40
 
41
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v17.0.0...v18.0.0) (2020-03-19)
41
+ ## [18.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v17.0.0...v18.0.0) (March 19, 2020)
42
42
 
43
43
  ### MAJOR BREAKING CHANGES
44
44
 
@@ -55,7 +55,7 @@ Changes for the past releases are available below.
55
55
  * Updated translations. ([ace38eb](https://github.com/ckeditor/ckeditor5-ui/commit/ace38eb))
56
56
 
57
57
 
58
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v16.0.0...v17.0.0) (2020-02-19)
58
+ ## [17.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v16.0.0...v17.0.0) (February 19, 2020)
59
59
 
60
60
  ### Features
61
61
 
@@ -77,7 +77,7 @@ Changes for the past releases are available below.
77
77
  * Updated translations. ([b8bd38e](https://github.com/ckeditor/ckeditor5-ui/commit/b8bd38e))
78
78
 
79
79
 
80
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v15.0.0...v16.0.0) (2019-12-04)
80
+ ## [16.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v15.0.0...v16.0.0) (December 4, 2019)
81
81
 
82
82
  ### Features
83
83
 
@@ -92,7 +92,7 @@ Changes for the past releases are available below.
92
92
  * Updated translations. ([16ee253](https://github.com/ckeditor/ckeditor5-ui/commit/16ee253))
93
93
 
94
94
 
95
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v14.0.0...v15.0.0) (2019-10-23)
95
+ ## [15.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v14.0.0...v15.0.0) (October 23, 2019)
96
96
 
97
97
  ### MAJOR BREAKING CHANGES
98
98
 
@@ -107,7 +107,7 @@ Changes for the past releases are available below.
107
107
  * Updated translations. ([c233bb7](https://github.com/ckeditor/ckeditor5-ui/commit/c233bb7)) ([f8f07b2](https://github.com/ckeditor/ckeditor5-ui/commit/f8f07b2))
108
108
 
109
109
 
110
- ## [14.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.2...v14.0.0) (2019-08-26)
110
+ ## [14.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.2...v14.0.0) (August 26, 2019)
111
111
 
112
112
  ### Features
113
113
 
@@ -129,21 +129,21 @@ Changes for the past releases are available below.
129
129
  * The `ToolbarView` class requires the [editor locale](https://ckeditor.com/docs/ckeditor5/latest/api/module_utils_locale-Locale.html) to be passed into the constructor.
130
130
 
131
131
 
132
- ## [13.0.2](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.1...v13.0.2) (2019-07-10)
132
+ ## [13.0.2](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.1...v13.0.2) (July 10, 2019)
133
133
 
134
134
  ### Other changes
135
135
 
136
136
  * Updated translations. ([ad189b6](https://github.com/ckeditor/ckeditor5-ui/commit/ad189b6))
137
137
 
138
138
 
139
- ## [13.0.1](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.0...v13.0.1) (2019-07-04)
139
+ ## [13.0.1](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.0...v13.0.1) (July 4, 2019)
140
140
 
141
141
  ### Other changes
142
142
 
143
143
  * Updated translations. ([1964cc0](https://github.com/ckeditor/ckeditor5-ui/commit/1964cc0)) ([11cfd41](https://github.com/ckeditor/ckeditor5-ui/commit/11cfd41))
144
144
 
145
145
 
146
- ## [13.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.1.0...v13.0.0) (2019-06-05)
146
+ ## [13.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.1.0...v13.0.0) (June 6, 2019)
147
147
 
148
148
  ### Features
149
149
 
@@ -162,7 +162,7 @@ Changes for the past releases are available below.
162
162
  * The (misspelled) `InputTextView#ariaDesribedById` property is no longer available. Use `ariaDescribedById` instead.
163
163
 
164
164
 
165
- ## [12.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.0.0...v12.1.0) (2019-04-10)
165
+ ## [12.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.0.0...v12.1.0) (April 4, 2019)
166
166
 
167
167
  ### Features
168
168
 
@@ -178,7 +178,7 @@ Changes for the past releases are available below.
178
178
  * Updated translations. ([dcdca2e](https://github.com/ckeditor/ckeditor5-ui/commit/dcdca2e))
179
179
 
180
180
 
181
- ## [12.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.2.0...v12.0.0) (2019-02-28)
181
+ ## [12.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.2.0...v12.0.0) (February 28, 2019)
182
182
 
183
183
  ### Bug fixes
184
184
 
@@ -199,7 +199,7 @@ Changes for the past releases are available below.
199
199
  * The `EditorUIView#editableElement` property was made private. Use `editor.ui.getEditableElement()` method instead.
200
200
 
201
201
 
202
- ## [11.2.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.1.0...v11.2.0) (2018-12-05)
202
+ ## [11.2.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.1.0...v11.2.0) (December 5, 2018)
203
203
 
204
204
  ### Features
205
205
 
@@ -216,7 +216,7 @@ Changes for the past releases are available below.
216
216
  * Updated translations. ([2e409a9](https://github.com/ckeditor/ckeditor5-ui/commit/2e409a9)) ([611bd04](https://github.com/ckeditor/ckeditor5-ui/commit/611bd04)) ([c6689e4](https://github.com/ckeditor/ckeditor5-ui/commit/c6689e4)) ([07c4fdb](https://github.com/ckeditor/ckeditor5-ui/commit/07c4fdb))
217
217
 
218
218
 
219
- ## [11.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.0.0...v11.1.0) (2018-10-08)
219
+ ## [11.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.0.0...v11.1.0) (October 8, 2018)
220
220
 
221
221
  ### Features
222
222
 
@@ -232,7 +232,7 @@ Changes for the past releases are available below.
232
232
  * Updated translations. ([e58bcbb](https://github.com/ckeditor/ckeditor5-ui/commit/e58bcbb))
233
233
 
234
234
 
235
- ## [11.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.1.0...v11.0.0) (2018-07-18)
235
+ ## [11.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.1.0...v11.0.0) (July 18, 2018)
236
236
 
237
237
  ### Features
238
238
 
@@ -263,7 +263,7 @@ Changes for the past releases are available below.
263
263
  * The `.ck-button` and `.ck-list` classes are using `flex` which may have an impact on rendering.
264
264
 
265
265
 
266
- ## [10.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.0.0...v10.1.0) (2018-06-21)
266
+ ## [10.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.0.0...v10.1.0) (June 21, 2018)
267
267
 
268
268
  ### Features
269
269
 
@@ -283,7 +283,7 @@ Changes for the past releases are available below.
283
283
  * Updated translations. ([084e8c6](https://github.com/ckeditor/ckeditor5-ui/commit/084e8c6))
284
284
 
285
285
 
286
- ## [10.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
286
+ ## [10.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
287
287
 
288
288
  ### Other changes
289
289
 
@@ -294,12 +294,12 @@ Changes for the past releases are available below.
294
294
  * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
295
295
 
296
296
 
297
- ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
297
+ ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
298
298
 
299
299
  Internal changes only (updated dependencies, documentation, etc.).
300
300
 
301
301
 
302
- ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
302
+ ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
303
303
 
304
304
  ### Other changes
305
305
 
@@ -310,7 +310,7 @@ Internal changes only (updated dependencies, documentation, etc.).
310
310
  * `View#registerChildren()` and `View#deregisterChildren()` have been renamed to `View#registerChild()` and `View#deregisterChild()`.
311
311
 
312
312
 
313
- ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
313
+ ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
314
314
 
315
315
  ### Features
316
316
 
@@ -356,7 +356,7 @@ Internal changes only (updated dependencies, documentation, etc.).
356
356
  * The styles are no longer developed in SASS which means the `.scss` files became unavailable. Please refer to the [Theme Customization](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/ui/theme-customization.html) guide to learn more about migration to PostCSS.
357
357
 
358
358
 
359
- ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
359
+ ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
360
360
 
361
361
  ### Bug fixes
362
362
 
@@ -385,14 +385,14 @@ Internal changes only (updated dependencies, documentation, etc.).
385
385
  * The DOM structure of the `StickyPanelView` has changed along with the class names. Please refer to the component documentation to learn more.
386
386
 
387
387
 
388
- ## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.10.0...v1.0.0-alpha.1) (2017-10-03)
388
+ ## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.10.0...v1.0.0-alpha.1) (October 3, 2017)
389
389
 
390
390
  ### Bug fixes
391
391
 
392
392
  * `ContextualBalloon` should remember position passed to `#updatePosition()`. Closes [#305](https://github.com/ckeditor/ckeditor5-ui/issues/305). Closes [ckeditor/ckeditor5-image#141](https://github.com/ckeditor/ckeditor5-image/issues/141). ([c787c0d](https://github.com/ckeditor/ckeditor5-ui/commit/c787c0d))
393
393
  * `ContextualToolbar` should not be positioned to a zero–width DOM rect when invoked for a multi-line forward selection. Closes [#308](https://github.com/ckeditor/ckeditor5-ui/issues/308). ([00b701b](https://github.com/ckeditor/ckeditor5-ui/commit/00b701b))
394
394
  * `ContextualToolbar` will accept the object format of `config.contextualToolbar`. Closes [#316](https://github.com/ckeditor/ckeditor5-ui/issues/316). ([d71cad8](https://github.com/ckeditor/ckeditor5-ui/commit/d71cad8))
395
- * Fixed sticky panel's `z-index` so it's correctly rendered above images (or other relatively positioned elements). Closes [#315](https://github.com/ckeditor/ckeditor5-ui/issues/315). ([00f2add](https://github.com/ckeditor/ckeditor5-ui/commit/00f2add))
395
+ * Fixed sticky panel's `z-index` so it is correctly rendered above images (or other relatively positioned elements). Closes [#315](https://github.com/ckeditor/ckeditor5-ui/issues/315). ([00f2add](https://github.com/ckeditor/ckeditor5-ui/commit/00f2add))
396
396
  * The content of the `BalloonPanelView` should be selectable. Closes [#294](https://github.com/ckeditor/ckeditor5-ui/issues/294). Closes https://github.com/ckeditor/ckeditor5/issues/498. ([e5315df](https://github.com/ckeditor/ckeditor5-ui/commit/e5315df))
397
397
 
398
398
  ### Features
@@ -413,7 +413,7 @@ refer to the `KeystrokeHandler` helper to learn more.
413
413
  * The `StickyToolbarView` and corresponding CSS `.ck-sticky-panel` classes are no longer available. `StickyPanelView` + `ToolbarView` combo should be used instead.
414
414
 
415
415
 
416
- ## [0.10.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.9.0...v0.10.0) (2017-09-03)
416
+ ## [0.10.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.9.0...v0.10.0) (September 3, 2017)
417
417
 
418
418
  ### Bug fixes
419
419
 
@@ -460,7 +460,7 @@ refer to the `KeystrokeHandler` helper to learn more.
460
460
  * The position names in `BalloonPanelView.defaultPositions` and their results have changed. Please refer to the latest API documentation to learn more.
461
461
 
462
462
 
463
- ## [0.9.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.8.0...v0.9.0) (2017-05-07)
463
+ ## [0.9.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.8.0...v0.9.0) (May 7, 2017)
464
464
 
465
465
  ### Bug fixes
466
466
 
@@ -506,7 +506,7 @@ refer to the `KeystrokeHandler` helper to learn more.
506
506
  * Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`.
507
507
 
508
508
 
509
- ## [0.8.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.1...v0.8.0) (2017-04-05)
509
+ ## [0.8.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.1...v0.8.0) (April 5, 2017)
510
510
 
511
511
  ### Features
512
512
 
@@ -527,7 +527,7 @@ refer to the `KeystrokeHandler` helper to learn more.
527
527
  * The `ui/balloonpanel/balloonpanelview` module was renamed to `ui/panel/balloon/balloonpanelview`. See [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152).
528
528
 
529
529
 
530
- ## [0.7.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.0...v0.8.0) (2017-03-06)
530
+ ## [0.7.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.0...v0.8.0) (March 6, 2017)
531
531
 
532
532
  ### Bug fixes
533
533
 
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 UI framework** – https://github.com/ckeditor/ckeditor5-ui <br>
5
- Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 20032023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
8
 
@@ -13,9 +13,9 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
13
13
 
14
14
  The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
15
15
 
16
- * lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
16
+ * Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
17
17
 
18
18
  Trademarks
19
19
  ----------
20
20
 
21
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
21
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
@@ -31,11 +31,11 @@ msgstr "Editar bloque"
31
31
 
32
32
  msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
33
  msgid "Click to edit block"
34
- msgstr ""
34
+ msgstr "Prema para editar o bloque"
35
35
 
36
36
  msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
37
  msgid "Drag to move"
38
- msgstr ""
38
+ msgstr "Arrastre para mover"
39
39
 
40
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
41
41
  msgid "Next"
@@ -131,8 +131,8 @@ msgstr "Aceptar"
131
131
 
132
132
  msgctxt "The main text of the message shown to the user when given query does not match any results."
133
133
  msgid "No results found"
134
- msgstr ""
134
+ msgstr "Non se atoparon resultados"
135
135
 
136
136
  msgctxt "The main text of the message shown to the user when no results are available."
137
137
  msgid "No searchable items"
138
- msgstr ""
138
+ msgstr "Non hai elementos que se poidan buscar"
@@ -119,7 +119,7 @@ msgstr "Barra de ferramentas de bloco do Editor"
119
119
 
120
120
  msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)."
121
121
  msgid "Editor contextual toolbar"
122
- msgstr "Barra de ferramentas contextuais do Editor"
122
+ msgstr "Barra de ferramentas contextual do Editor"
123
123
 
124
124
  msgctxt "Label of an input field for typing colors in the HEX color format."
125
125
  msgid "HEX"
@@ -31,11 +31,11 @@ msgstr "Blok uređivač"
31
31
 
32
32
  msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
33
  msgid "Click to edit block"
34
- msgstr ""
34
+ msgstr "Kliknite da biste uredili blok"
35
35
 
36
36
  msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
37
  msgid "Drag to move"
38
- msgstr ""
38
+ msgstr "Prevucite da biste premestili"
39
39
 
40
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
41
41
  msgid "Next"
@@ -123,16 +123,16 @@ msgstr "Kontekstualna traka sa alatkama Editor"
123
123
 
124
124
  msgctxt "Label of an input field for typing colors in the HEX color format."
125
125
  msgid "HEX"
126
- msgstr ""
126
+ msgstr "HEX"
127
127
 
128
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
129
129
  msgid "Accept"
130
- msgstr ""
130
+ msgstr "Prihvati"
131
131
 
132
132
  msgctxt "The main text of the message shown to the user when given query does not match any results."
133
133
  msgid "No results found"
134
- msgstr ""
134
+ msgstr "Nije pronađen nijedan rezultat"
135
135
 
136
136
  msgctxt "The main text of the message shown to the user when no results are available."
137
137
  msgid "No searchable items"
138
- msgstr ""
138
+ msgstr "Nema stavki koje se mogu pretražiti"
@@ -23,79 +23,79 @@ msgstr "تېكىست تەھرىرلىگۈچ"
23
23
 
24
24
  msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role."
25
25
  msgid "Editor editing area: %0"
26
- msgstr ""
26
+ msgstr "تەھرىرلىگۈچ تەھرىرلەش رايونى: %0"
27
27
 
28
28
  msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
29
29
  msgid "Edit block"
30
- msgstr ""
30
+ msgstr "بۆلەك تەھرىر"
31
31
 
32
32
  msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
33
  msgid "Click to edit block"
34
- msgstr ""
34
+ msgstr "چېكىلسە بۆلەك تەھرىرلىنىدۇ"
35
35
 
36
36
  msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
37
  msgid "Drag to move"
38
- msgstr ""
38
+ msgstr "يۆتكەشتە سۆرىلىدۇ"
39
39
 
40
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
41
41
  msgid "Next"
42
- msgstr ""
42
+ msgstr "كېيىنكى"
43
43
 
44
44
  msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
45
45
  msgid "Previous"
46
- msgstr ""
46
+ msgstr "ئالدىنقى"
47
47
 
48
48
  msgctxt "Label used by assistive technologies describing a generic editor toolbar."
49
49
  msgid "Editor toolbar"
50
- msgstr ""
50
+ msgstr "تەھرىرلىگۈچ قورال بالداق"
51
51
 
52
52
  msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown."
53
53
  msgid "Dropdown toolbar"
54
- msgstr ""
54
+ msgstr "سىرىلما قورال بالداق"
55
55
 
56
56
  msgctxt "Label of a button that applies a black color in color pickers."
57
57
  msgid "Black"
58
- msgstr ""
58
+ msgstr "قارا"
59
59
 
60
60
  msgctxt "Label of a button that applies a dim grey color in color pickers."
61
61
  msgid "Dim grey"
62
- msgstr ""
62
+ msgstr "سۇس كۈلرەڭ"
63
63
 
64
64
  msgctxt "Label of a button that applies a grey color in color pickers."
65
65
  msgid "Grey"
66
- msgstr ""
66
+ msgstr "كۈلرەڭ"
67
67
 
68
68
  msgctxt "Label of a button that applies a light grey color in color pickers."
69
69
  msgid "Light grey"
70
- msgstr ""
70
+ msgstr "ئوچۇق كۈلرەڭ"
71
71
 
72
72
  msgctxt "Label of a button that applies a white color in color pickers."
73
73
  msgid "White"
74
- msgstr ""
74
+ msgstr "ئاق"
75
75
 
76
76
  msgctxt "Label of a button that applies a red color in color pickers."
77
77
  msgid "Red"
78
- msgstr ""
78
+ msgstr "قىزىل"
79
79
 
80
80
  msgctxt "Label of a button that applies a orange color in color pickers."
81
81
  msgid "Orange"
82
- msgstr ""
82
+ msgstr "قىزغۇچ سېرىق"
83
83
 
84
84
  msgctxt "Label of a button that applies a yellow color in color pickers."
85
85
  msgid "Yellow"
86
- msgstr ""
86
+ msgstr "سېرىق"
87
87
 
88
88
  msgctxt "Label of a button that applies a light green color in color pickers."
89
89
  msgid "Light green"
90
- msgstr ""
90
+ msgstr "ئوچۇق يېشىل"
91
91
 
92
92
  msgctxt "Label of a button that applies a green color in color pickers."
93
93
  msgid "Green"
94
- msgstr ""
94
+ msgstr "يېشىل"
95
95
 
96
96
  msgctxt "Label of a button that applies a aquamarine color in color pickers."
97
97
  msgid "Aquamarine"
98
- msgstr ""
98
+ msgstr "دېڭىز كۆكى"
99
99
 
100
100
  msgctxt "Label of a button that applies a turquoise color in color pickers."
101
101
  msgid "Turquoise"
@@ -103,23 +103,23 @@ msgstr ""
103
103
 
104
104
  msgctxt "Label of a button that applies a light blue color in color pickers."
105
105
  msgid "Light blue"
106
- msgstr ""
106
+ msgstr "ئوچۇق كۆك"
107
107
 
108
108
  msgctxt "Label of a button that applies a blue color in color pickers."
109
109
  msgid "Blue"
110
- msgstr ""
110
+ msgstr "كۆك"
111
111
 
112
112
  msgctxt "Label of a button that applies a purple color in color pickers."
113
113
  msgid "Purple"
114
- msgstr ""
114
+ msgstr "بىنەپشە"
115
115
 
116
116
  msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)."
117
117
  msgid "Editor block content toolbar"
118
- msgstr ""
118
+ msgstr "تەھرىرلىگۈچ بۆلىكى مەزمۇن قورال بالداق"
119
119
 
120
120
  msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)."
121
121
  msgid "Editor contextual toolbar"
122
- msgstr ""
122
+ msgstr "تەھرىرلىگۈچ مەزمۇن قورال بالداق"
123
123
 
124
124
  msgctxt "Label of an input field for typing colors in the HEX color format."
125
125
  msgid "HEX"
@@ -131,8 +131,8 @@ msgstr "قوشۇل"
131
131
 
132
132
  msgctxt "The main text of the message shown to the user when given query does not match any results."
133
133
  msgid "No results found"
134
- msgstr ""
134
+ msgstr "ھېچقانداق نەتىجە تېپىلمىدى"
135
135
 
136
136
  msgctxt "The main text of the message shown to the user when no results are available."
137
137
  msgid "No searchable items"
138
- msgstr ""
138
+ msgstr "ئىزدىگۈدەك تۈر يوق"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "40.0.0",
3
+ "version": "40.2.0",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-core": "40.0.0",
15
- "@ckeditor/ckeditor5-utils": "40.0.0",
14
+ "@ckeditor/ckeditor5-core": "40.2.0",
15
+ "@ckeditor/ckeditor5-utils": "40.2.0",
16
16
  "color-convert": "2.0.1",
17
17
  "color-parse": "1.4.2",
18
18
  "lodash-es": "4.17.21",
@@ -0,0 +1,94 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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
+ * @module ui/arialiveannouncer
7
+ */
8
+ import type { Editor } from '@ckeditor/ckeditor5-core';
9
+ import type { Locale } from '@ckeditor/ckeditor5-utils';
10
+ import type ViewCollection from './viewcollection';
11
+ import View from './view';
12
+ import '../theme/components/arialiveannouncer/arialiveannouncer.css';
13
+ /**
14
+ * The politeness level of an `aria-live` announcement.
15
+ *
16
+ * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#Politeness_levels
17
+ */
18
+ export declare enum AriaLiveAnnouncerPoliteness {
19
+ POLITE = "polite",
20
+ ASSERTIVE = "assertive"
21
+ }
22
+ /**
23
+ * An accessibility helper that manages all ARIA live regions associated with an editor instance. ARIA live regions announce changes
24
+ * to the state of the editor features.
25
+ *
26
+ * These announcements are consumed and propagated by screen readers and give users a better understanding of the current
27
+ * state of the editor.
28
+ *
29
+ * To announce a state change to an editor feature named `'Some feature'`, use the {@link #announce} method:
30
+ * ```ts
31
+ * editor.ui.ariaLiveAnnouncer.announce( 'Some feature', 'Text of an announcement.' );
32
+ * ```
33
+ */
34
+ export default class AriaLiveAnnouncer {
35
+ /**
36
+ * The editor instance.
37
+ */
38
+ readonly editor: Editor;
39
+ /**
40
+ * The view that aggregates all `aria-live` regions.
41
+ */
42
+ view?: AriaLiveAnnouncerView;
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ constructor(editor: Editor);
47
+ /**
48
+ * Sets an announcement text to an aria region associated with a specific editor feature. The text is then
49
+ * announced by a screen reader to the user.
50
+ *
51
+ * If the aria region of a given name does not exist, it will be created and can be re-used later. The name of the region
52
+ * groups announcements originating from a specific editor feature and does not get announced by a screen reader.
53
+ *
54
+ * Using multiple regions allows for many announcements to be emitted in a short period of time. Changes to ARIA-live announcements
55
+ * are captured by a screen reader and read out in the order they were emitted.
56
+ *
57
+ * The default announcement politeness level is `'polite'`.
58
+ *
59
+ * ```ts
60
+ * // Most screen readers will queue announcements from multiple aria-live regions and read them out in the order they were emitted.
61
+ * editor.ui.ariaLiveAnnouncer.announce( 'image', 'Image uploaded.' );
62
+ * editor.ui.ariaLiveAnnouncer.announce( 'network', 'Connection lost. Reconnecting.' );
63
+ * ```
64
+ */
65
+ announce(regionName: string, announcementText: string, politeness?: AriaLiveAnnouncerPoliteness): void;
66
+ }
67
+ /**
68
+ * The view that aggregates all `aria-live` regions.
69
+ */
70
+ export declare class AriaLiveAnnouncerView extends View {
71
+ /**
72
+ * A collection of all views that represent individual `aria-live` regions.
73
+ */
74
+ readonly regionViews: ViewCollection<AriaLiveAnnouncerRegionView>;
75
+ constructor(locale: Locale);
76
+ }
77
+ /**
78
+ * The view that represents a single `aria-live` region (e.g. for a specific editor feature) and its text.
79
+ */
80
+ export declare class AriaLiveAnnouncerRegionView extends View {
81
+ /**
82
+ * Current text of the region.
83
+ */
84
+ text: string;
85
+ /**
86
+ * Current politeness level of the region.
87
+ */
88
+ politeness: AriaLiveAnnouncerPoliteness;
89
+ /**
90
+ * A unique name of the region, usually associated with a specific editor feature or system.
91
+ */
92
+ regionName: string;
93
+ constructor(locale: Locale);
94
+ }