@ckeditor/ckeditor5-ui 29.1.0 → 31.1.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 (71) hide show
  1. package/lang/contexts.json +0 -1
  2. package/lang/translations/ar.po +0 -4
  3. package/lang/translations/ast.po +0 -4
  4. package/lang/translations/az.po +0 -4
  5. package/lang/translations/cs.po +0 -4
  6. package/lang/translations/da.po +0 -4
  7. package/lang/translations/de-ch.po +0 -4
  8. package/lang/translations/de.po +0 -4
  9. package/lang/translations/el.po +0 -4
  10. package/lang/translations/en-au.po +0 -4
  11. package/lang/translations/en-gb.po +0 -4
  12. package/lang/translations/en.po +0 -4
  13. package/lang/translations/eo.po +0 -4
  14. package/lang/translations/es.po +0 -4
  15. package/lang/translations/et.po +0 -4
  16. package/lang/translations/eu.po +0 -4
  17. package/lang/translations/fa.po +0 -4
  18. package/lang/translations/fi.po +0 -4
  19. package/lang/translations/fr.po +0 -4
  20. package/lang/translations/gl.po +0 -4
  21. package/lang/translations/he.po +0 -4
  22. package/lang/translations/hi.po +0 -4
  23. package/lang/translations/hr.po +0 -4
  24. package/lang/translations/hu.po +0 -4
  25. package/lang/translations/id.po +0 -4
  26. package/lang/translations/it.po +0 -4
  27. package/lang/translations/ja.po +0 -4
  28. package/lang/translations/km.po +0 -4
  29. package/lang/translations/kn.po +0 -4
  30. package/lang/translations/ko.po +0 -4
  31. package/lang/translations/ku.po +0 -4
  32. package/lang/translations/lt.po +0 -4
  33. package/lang/translations/lv.po +0 -4
  34. package/lang/translations/nb.po +0 -4
  35. package/lang/translations/ne.po +0 -4
  36. package/lang/translations/nl.po +0 -4
  37. package/lang/translations/no.po +0 -4
  38. package/lang/translations/pl.po +0 -4
  39. package/lang/translations/pt-br.po +0 -4
  40. package/lang/translations/pt.po +0 -4
  41. package/lang/translations/ro.po +0 -4
  42. package/lang/translations/ru.po +0 -4
  43. package/lang/translations/sk.po +0 -4
  44. package/lang/translations/sl.po +0 -4
  45. package/lang/translations/sq.po +0 -4
  46. package/lang/translations/sr-latn.po +0 -4
  47. package/lang/translations/sr.po +0 -4
  48. package/lang/translations/sv.po +0 -4
  49. package/lang/translations/th.po +0 -4
  50. package/lang/translations/tk.po +0 -4
  51. package/lang/translations/tr.po +0 -4
  52. package/lang/translations/ug.po +0 -4
  53. package/lang/translations/uk.po +0 -4
  54. package/lang/translations/uz.po +105 -0
  55. package/lang/translations/vi.po +0 -4
  56. package/lang/translations/zh-cn.po +0 -4
  57. package/lang/translations/zh.po +0 -4
  58. package/package.json +19 -20
  59. package/src/button/buttonview.js +1 -1
  60. package/src/colorgrid/colorgridview.js +10 -0
  61. package/src/dropdown/button/splitbuttonview.js +10 -0
  62. package/src/inputtext/inputtextview.js +13 -1
  63. package/src/list/listview.js +10 -0
  64. package/src/notification/notification.js +1 -1
  65. package/src/panel/balloon/balloonpanelview.js +342 -216
  66. package/src/panel/balloon/contextualballoon.js +31 -4
  67. package/src/panel/sticky/stickypanelview.js +5 -1
  68. package/src/toolbar/balloon/balloontoolbar.js +48 -35
  69. package/src/toolbar/block/blocktoolbar.js +3 -2
  70. package/src/toolbar/toolbarview.js +4 -2
  71. package/CHANGELOG.md +0 -542
@@ -0,0 +1,105 @@
1
+ # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Uzbek (https://www.transifex.com/ckeditor/teams/11143/uz/)\n"
16
+ "Language: uz\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Title of the CKEditor5 editor."
20
+ msgid "Rich Text Editor, %0"
21
+ msgstr "Tahrirlovchi, %0"
22
+
23
+ msgctxt "Title of the CKEditor5 editor."
24
+ msgid "Rich Text Editor"
25
+ msgstr "Tahrirlovchi"
26
+
27
+ 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)"
28
+ msgid "Edit block"
29
+ msgstr "Blokni tahrirlash"
30
+
31
+ msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
+ msgid "Next"
33
+ msgstr "Keyingi"
34
+
35
+ msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
36
+ msgid "Previous"
37
+ msgstr "Oldingi"
38
+
39
+ msgctxt "Label used by assistive technologies describing a generic editor toolbar."
40
+ msgid "Editor toolbar"
41
+ msgstr "Tahrirlovchi asboblar paneli"
42
+
43
+ msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown."
44
+ msgid "Dropdown toolbar"
45
+ msgstr "Ochiladigan asboblar paneli"
46
+
47
+ msgctxt "Label of a button that applies a black color in color pickers."
48
+ msgid "Black"
49
+ msgstr "Qora"
50
+
51
+ msgctxt "Label of a button that applies a dim grey color in color pickers."
52
+ msgid "Dim grey"
53
+ msgstr "To'q kulrang"
54
+
55
+ msgctxt "Label of a button that applies a grey color in color pickers."
56
+ msgid "Grey"
57
+ msgstr "Kulrang"
58
+
59
+ msgctxt "Label of a button that applies a light grey color in color pickers."
60
+ msgid "Light grey"
61
+ msgstr "Och kulrang"
62
+
63
+ msgctxt "Label of a button that applies a white color in color pickers."
64
+ msgid "White"
65
+ msgstr "Oq"
66
+
67
+ msgctxt "Label of a button that applies a red color in color pickers."
68
+ msgid "Red"
69
+ msgstr "Qizil"
70
+
71
+ msgctxt "Label of a button that applies a orange color in color pickers."
72
+ msgid "Orange"
73
+ msgstr "To'q sariq"
74
+
75
+ msgctxt "Label of a button that applies a yellow color in color pickers."
76
+ msgid "Yellow"
77
+ msgstr "Sariq"
78
+
79
+ msgctxt "Label of a button that applies a light green color in color pickers."
80
+ msgid "Light green"
81
+ msgstr "Och yashil"
82
+
83
+ msgctxt "Label of a button that applies a green color in color pickers."
84
+ msgid "Green"
85
+ msgstr "Yashil"
86
+
87
+ msgctxt "Label of a button that applies a aquamarine color in color pickers."
88
+ msgid "Aquamarine"
89
+ msgstr "Akuamarin"
90
+
91
+ msgctxt "Label of a button that applies a turquoise color in color pickers."
92
+ msgid "Turquoise"
93
+ msgstr "Turkuaz"
94
+
95
+ msgctxt "Label of a button that applies a light blue color in color pickers."
96
+ msgid "Light blue"
97
+ msgstr "Moviy"
98
+
99
+ msgctxt "Label of a button that applies a blue color in color pickers."
100
+ msgid "Blue"
101
+ msgstr "Ko'k"
102
+
103
+ msgctxt "Label of a button that applies a purple color in color pickers."
104
+ msgid "Purple"
105
+ msgstr "Siyohrang"
@@ -36,10 +36,6 @@ msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
36
36
  msgid "Previous"
37
37
  msgstr "Quay lại"
38
38
 
39
- msgctxt "Label for a 'page X of Y' status of a typical next/previous page navigation."
40
- msgid "%0 of %1"
41
- msgstr "%0 đến %1"
42
-
43
39
  msgctxt "Label used by assistive technologies describing a generic editor toolbar."
44
40
  msgid "Editor toolbar"
45
41
  msgstr "Thanh công cụ biên tập"
@@ -36,10 +36,6 @@ msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
36
36
  msgid "Previous"
37
37
  msgstr "上一步"
38
38
 
39
- msgctxt "Label for a 'page X of Y' status of a typical next/previous page navigation."
40
- msgid "%0 of %1"
41
- msgstr "第 %0 步,共 %1 步"
42
-
43
39
  msgctxt "Label used by assistive technologies describing a generic editor toolbar."
44
40
  msgid "Editor toolbar"
45
41
  msgstr "编辑器工具栏"
@@ -36,10 +36,6 @@ msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
36
36
  msgid "Previous"
37
37
  msgstr "上一"
38
38
 
39
- msgctxt "Label for a 'page X of Y' status of a typical next/previous page navigation."
40
- msgid "%0 of %1"
41
- msgstr "%0/%1"
42
-
43
39
  msgctxt "Label used by assistive technologies describing a generic editor toolbar."
44
40
  msgid "Editor toolbar"
45
41
  msgstr "編輯器工具"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "29.1.0",
3
+ "version": "31.1.0",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,28 +11,27 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-utils": "^29.1.0",
15
- "ckeditor5": "^29.1.0",
14
+ "@ckeditor/ckeditor5-utils": "^31.1.0",
15
+ "@ckeditor/ckeditor5-core": "^31.1.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-basic-styles": "^29.1.0",
20
- "@ckeditor/ckeditor5-block-quote": "^29.1.0",
21
- "@ckeditor/ckeditor5-core": "^29.1.0",
22
- "@ckeditor/ckeditor5-editor-balloon": "^29.1.0",
23
- "@ckeditor/ckeditor5-editor-classic": "^29.1.0",
24
- "@ckeditor/ckeditor5-engine": "^29.1.0",
25
- "@ckeditor/ckeditor5-enter": "^29.1.0",
26
- "@ckeditor/ckeditor5-essentials": "^29.1.0",
27
- "@ckeditor/ckeditor5-heading": "^29.1.0",
28
- "@ckeditor/ckeditor5-image": "^29.1.0",
29
- "@ckeditor/ckeditor5-link": "^29.1.0",
30
- "@ckeditor/ckeditor5-list": "^29.1.0",
31
- "@ckeditor/ckeditor5-mention": "^29.1.0",
32
- "@ckeditor/ckeditor5-paragraph": "^29.1.0",
33
- "@ckeditor/ckeditor5-horizontal-line": "^29.1.0",
34
- "@ckeditor/ckeditor5-table": "^29.1.0",
35
- "@ckeditor/ckeditor5-typing": "^29.1.0"
19
+ "@ckeditor/ckeditor5-basic-styles": "^31.1.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^31.1.0",
21
+ "@ckeditor/ckeditor5-editor-balloon": "^31.1.0",
22
+ "@ckeditor/ckeditor5-editor-classic": "^31.1.0",
23
+ "@ckeditor/ckeditor5-engine": "^31.1.0",
24
+ "@ckeditor/ckeditor5-enter": "^31.1.0",
25
+ "@ckeditor/ckeditor5-essentials": "^31.1.0",
26
+ "@ckeditor/ckeditor5-heading": "^31.1.0",
27
+ "@ckeditor/ckeditor5-image": "^31.1.0",
28
+ "@ckeditor/ckeditor5-link": "^31.1.0",
29
+ "@ckeditor/ckeditor5-list": "^31.1.0",
30
+ "@ckeditor/ckeditor5-mention": "^31.1.0",
31
+ "@ckeditor/ckeditor5-paragraph": "^31.1.0",
32
+ "@ckeditor/ckeditor5-horizontal-line": "^31.1.0",
33
+ "@ckeditor/ckeditor5-table": "^31.1.0",
34
+ "@ckeditor/ckeditor5-typing": "^31.1.0"
36
35
  },
37
36
  "engines": {
38
37
  "node": ">=12.0.0",
@@ -184,7 +184,7 @@ export default class ButtonView extends View {
184
184
  this.children.add( this.tooltipView );
185
185
  this.children.add( this.labelView );
186
186
 
187
- if ( this.withKeystroke ) {
187
+ if ( this.withKeystroke && this.keystroke ) {
188
188
  this.children.add( this.keystrokeView );
189
189
  }
190
190
  }
@@ -176,6 +176,16 @@ export default class ColorGridView extends View {
176
176
  this.keystrokes.listenTo( this.element );
177
177
  }
178
178
 
179
+ /**
180
+ * @inheritDoc
181
+ */
182
+ destroy() {
183
+ super.destroy();
184
+
185
+ this.focusTracker.destroy();
186
+ this.keystrokes.destroy();
187
+ }
188
+
179
189
  /**
180
190
  * Fired when the `ColorTileView` for the picked item is executed.
181
191
  *
@@ -155,6 +155,16 @@ export default class SplitButtonView extends View {
155
155
  } );
156
156
  }
157
157
 
158
+ /**
159
+ * @inheritDoc
160
+ */
161
+ destroy() {
162
+ super.destroy();
163
+
164
+ this.focusTracker.destroy();
165
+ this.keystrokes.destroy();
166
+ }
167
+
158
168
  /**
159
169
  * Focuses the {@link #actionView#element} of the action part of split button.
160
170
  */
@@ -125,7 +125,10 @@ export default class InputTextView extends View {
125
125
  'aria-describedby': bind.to( 'ariaDescribedById' )
126
126
  },
127
127
  on: {
128
- input: bind.to( 'input' ),
128
+ input: bind.to( ( ...args ) => {
129
+ this.fire( 'input', ...args );
130
+ this._updateIsEmpty();
131
+ } ),
129
132
  change: bind.to( this._updateIsEmpty.bind( this ) )
130
133
  }
131
134
  } );
@@ -157,6 +160,15 @@ export default class InputTextView extends View {
157
160
  } );
158
161
  }
159
162
 
163
+ /**
164
+ * @inheritDoc
165
+ */
166
+ destroy() {
167
+ super.destroy();
168
+
169
+ this.focusTracker.destroy();
170
+ }
171
+
160
172
  /**
161
173
  * Moves the focus to the input and selects the value.
162
174
  */
@@ -109,6 +109,16 @@ export default class ListView extends View {
109
109
  this.keystrokes.listenTo( this.element );
110
110
  }
111
111
 
112
+ /**
113
+ * @inheritDoc
114
+ */
115
+ destroy() {
116
+ super.destroy();
117
+
118
+ this.focusTracker.destroy();
119
+ this.keystrokes.destroy();
120
+ }
121
+
112
122
  /**
113
123
  * Focuses the first focusable in {@link #items}.
114
124
  */
@@ -9,7 +9,7 @@
9
9
 
10
10
  /* globals window */
11
11
 
12
- import { ContextPlugin } from 'ckeditor5/src/core';
12
+ import ContextPlugin from '@ckeditor/ckeditor5-core/src/contextplugin';
13
13
 
14
14
  /**
15
15
  * The Notification plugin.