@ckeditor/ckeditor5-ui 27.1.0 → 29.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 (63) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +6 -2
  3. package/ckeditor5-metadata.json +11 -0
  4. package/lang/contexts.json +0 -2
  5. package/lang/translations/ar.po +0 -8
  6. package/lang/translations/ast.po +0 -8
  7. package/lang/translations/az.po +0 -8
  8. package/lang/translations/cs.po +0 -8
  9. package/lang/translations/da.po +0 -8
  10. package/lang/translations/de-ch.po +0 -8
  11. package/lang/translations/de.po +0 -8
  12. package/lang/translations/el.po +0 -8
  13. package/lang/translations/en-au.po +0 -8
  14. package/lang/translations/en-gb.po +0 -8
  15. package/lang/translations/en.po +0 -8
  16. package/lang/translations/eo.po +0 -8
  17. package/lang/translations/es.po +0 -8
  18. package/lang/translations/et.po +0 -8
  19. package/lang/translations/eu.po +0 -8
  20. package/lang/translations/fa.po +0 -8
  21. package/lang/translations/fi.po +0 -8
  22. package/lang/translations/fr.po +0 -8
  23. package/lang/translations/gl.po +0 -8
  24. package/lang/translations/he.po +0 -8
  25. package/lang/translations/hi.po +0 -8
  26. package/lang/translations/hr.po +0 -8
  27. package/lang/translations/hu.po +0 -8
  28. package/lang/translations/id.po +0 -8
  29. package/lang/translations/it.po +0 -8
  30. package/lang/translations/ja.po +0 -8
  31. package/lang/translations/km.po +0 -8
  32. package/lang/translations/kn.po +0 -8
  33. package/lang/translations/ko.po +0 -8
  34. package/lang/translations/ku.po +0 -8
  35. package/lang/translations/lt.po +0 -8
  36. package/lang/translations/lv.po +0 -8
  37. package/lang/translations/nb.po +0 -8
  38. package/lang/translations/ne.po +0 -8
  39. package/lang/translations/nl.po +0 -8
  40. package/lang/translations/no.po +0 -8
  41. package/lang/translations/pl.po +0 -8
  42. package/lang/translations/pt-br.po +0 -8
  43. package/lang/translations/pt.po +0 -8
  44. package/lang/translations/ro.po +0 -8
  45. package/lang/translations/ru.po +0 -8
  46. package/lang/translations/sk.po +0 -8
  47. package/lang/translations/sl.po +0 -8
  48. package/lang/translations/sq.po +0 -8
  49. package/lang/translations/sr-latn.po +0 -8
  50. package/lang/translations/sr.po +0 -8
  51. package/lang/translations/sv.po +0 -8
  52. package/lang/translations/th.po +0 -8
  53. package/lang/translations/tk.po +0 -8
  54. package/lang/translations/tr.po +0 -8
  55. package/lang/translations/ug.po +0 -8
  56. package/lang/translations/uk.po +0 -8
  57. package/lang/translations/vi.po +0 -8
  58. package/lang/translations/zh-cn.po +0 -8
  59. package/lang/translations/zh.po +0 -8
  60. package/package.json +22 -21
  61. package/src/dropdown/button/splitbuttonview.js +2 -0
  62. package/src/index.js +2 -0
  63. package/src/toolbar/toolbarview.js +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "27.1.0",
3
+ "version": "29.2.0",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,28 +11,28 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-utils": "^27.1.0",
15
- "ckeditor5": "^27.1.0",
14
+ "@ckeditor/ckeditor5-utils": "^29.2.0",
15
+ "ckeditor5": "^29.2.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-basic-styles": "^27.1.0",
20
- "@ckeditor/ckeditor5-block-quote": "^27.1.0",
21
- "@ckeditor/ckeditor5-core": "^27.1.0",
22
- "@ckeditor/ckeditor5-editor-balloon": "^27.1.0",
23
- "@ckeditor/ckeditor5-editor-classic": "^27.1.0",
24
- "@ckeditor/ckeditor5-engine": "^27.1.0",
25
- "@ckeditor/ckeditor5-enter": "^27.1.0",
26
- "@ckeditor/ckeditor5-essentials": "^27.1.0",
27
- "@ckeditor/ckeditor5-heading": "^27.1.0",
28
- "@ckeditor/ckeditor5-image": "^27.1.0",
29
- "@ckeditor/ckeditor5-link": "^27.1.0",
30
- "@ckeditor/ckeditor5-list": "^27.1.0",
31
- "@ckeditor/ckeditor5-mention": "^27.1.0",
32
- "@ckeditor/ckeditor5-paragraph": "^27.1.0",
33
- "@ckeditor/ckeditor5-horizontal-line": "^27.1.0",
34
- "@ckeditor/ckeditor5-table": "^27.1.0",
35
- "@ckeditor/ckeditor5-typing": "^27.1.0"
19
+ "@ckeditor/ckeditor5-basic-styles": "^29.2.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^29.2.0",
21
+ "@ckeditor/ckeditor5-core": "^29.2.0",
22
+ "@ckeditor/ckeditor5-editor-balloon": "^29.2.0",
23
+ "@ckeditor/ckeditor5-editor-classic": "^29.2.0",
24
+ "@ckeditor/ckeditor5-engine": "^29.2.0",
25
+ "@ckeditor/ckeditor5-enter": "^29.2.0",
26
+ "@ckeditor/ckeditor5-essentials": "^29.2.0",
27
+ "@ckeditor/ckeditor5-heading": "^29.2.0",
28
+ "@ckeditor/ckeditor5-image": "^29.2.0",
29
+ "@ckeditor/ckeditor5-link": "^29.2.0",
30
+ "@ckeditor/ckeditor5-list": "^29.2.0",
31
+ "@ckeditor/ckeditor5-mention": "^29.2.0",
32
+ "@ckeditor/ckeditor5-paragraph": "^29.2.0",
33
+ "@ckeditor/ckeditor5-horizontal-line": "^29.2.0",
34
+ "@ckeditor/ckeditor5-table": "^29.2.0",
35
+ "@ckeditor/ckeditor5-typing": "^29.2.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=12.0.0",
@@ -50,6 +50,7 @@
50
50
  "files": [
51
51
  "lang",
52
52
  "src",
53
- "theme"
53
+ "theme",
54
+ "ckeditor5-metadata.json"
54
55
  ]
55
56
  }
@@ -47,6 +47,7 @@ export default class SplitButtonView extends View {
47
47
  const bind = this.bindTemplate;
48
48
 
49
49
  // Implement the Button interface.
50
+ this.set( 'class' );
50
51
  this.set( 'icon' );
51
52
  this.set( 'isEnabled', true );
52
53
  this.set( 'isOn', false );
@@ -111,6 +112,7 @@ export default class SplitButtonView extends View {
111
112
  class: [
112
113
  'ck',
113
114
  'ck-splitbutton',
115
+ bind.to( 'class' ),
114
116
  bind.if( 'isVisible', 'ck-hidden', value => !value ),
115
117
  this.arrowView.bindTemplate.if( 'isOn', 'ck-splitbutton_open' )
116
118
  ]
package/src/index.js CHANGED
@@ -34,6 +34,8 @@ export { default as FocusCycler } from './focuscycler';
34
34
  export { default as IconView } from './icon/iconview';
35
35
  export { default as InputTextView } from './inputtext/inputtextview';
36
36
 
37
+ export { default as IframeView } from './iframe/iframeview';
38
+
37
39
  export { default as LabelView } from './label/labelview';
38
40
  export { default as LabeledFieldView } from './labeledfield/labeledfieldview';
39
41
  export * from './labeledfield/utils';
@@ -171,16 +171,19 @@ export default class ToolbarView extends View {
171
171
  * @protected
172
172
  * @member {module:ui/focuscycler~FocusCycler}
173
173
  */
174
+
175
+ const isRtl = locale.uiLanguageDirection === 'rtl';
176
+
174
177
  this._focusCycler = new FocusCycler( {
175
178
  focusables: this.focusables,
176
179
  focusTracker: this.focusTracker,
177
180
  keystrokeHandler: this.keystrokes,
178
181
  actions: {
179
182
  // Navigate toolbar items backwards using the arrow[left,up] keys.
180
- focusPrevious: [ 'arrowleft', 'arrowup' ],
183
+ focusPrevious: [ isRtl ? 'arrowright' : 'arrowleft', 'arrowup' ],
181
184
 
182
185
  // Navigate toolbar items forwards using the arrow[right,down] keys.
183
- focusNext: [ 'arrowright', 'arrowdown' ]
186
+ focusNext: [ isRtl ? 'arrowleft' : 'arrowright', 'arrowdown' ]
184
187
  }
185
188
  } );
186
189