@ckeditor/ckeditor5-ui 38.2.0-alpha.1 → 39.0.1

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 (164) hide show
  1. package/README.md +0 -1
  2. package/lang/translations/ar.po +5 -1
  3. package/lang/translations/ast.po +4 -0
  4. package/lang/translations/az.po +4 -0
  5. package/lang/translations/bg.po +5 -1
  6. package/lang/translations/bn.po +5 -1
  7. package/lang/translations/ca.po +5 -1
  8. package/lang/translations/cs.po +5 -1
  9. package/lang/translations/da.po +5 -1
  10. package/lang/translations/de-ch.po +4 -0
  11. package/lang/translations/de.po +5 -1
  12. package/lang/translations/el.po +5 -1
  13. package/lang/translations/en-au.po +4 -0
  14. package/lang/translations/en-gb.po +4 -0
  15. package/lang/translations/en.po +4 -0
  16. package/lang/translations/eo.po +4 -0
  17. package/lang/translations/es.po +5 -1
  18. package/lang/translations/et.po +5 -1
  19. package/lang/translations/eu.po +4 -0
  20. package/lang/translations/fa.po +4 -0
  21. package/lang/translations/fi.po +5 -1
  22. package/lang/translations/fr.po +5 -1
  23. package/lang/translations/gl.po +7 -3
  24. package/lang/translations/he.po +5 -1
  25. package/lang/translations/hi.po +5 -1
  26. package/lang/translations/hr.po +6 -2
  27. package/lang/translations/hu.po +5 -1
  28. package/lang/translations/id.po +5 -1
  29. package/lang/translations/it.po +4 -0
  30. package/lang/translations/ja.po +5 -1
  31. package/lang/translations/km.po +4 -0
  32. package/lang/translations/kn.po +4 -0
  33. package/lang/translations/ko.po +5 -1
  34. package/lang/translations/ku.po +4 -0
  35. package/lang/translations/lt.po +5 -1
  36. package/lang/translations/lv.po +5 -1
  37. package/lang/translations/ms.po +5 -1
  38. package/lang/translations/nb.po +4 -0
  39. package/lang/translations/ne.po +4 -0
  40. package/lang/translations/nl.po +5 -1
  41. package/lang/translations/no.po +5 -1
  42. package/lang/translations/pl.po +5 -1
  43. package/lang/translations/pt-br.po +5 -1
  44. package/lang/translations/pt.po +5 -1
  45. package/lang/translations/ro.po +5 -1
  46. package/lang/translations/ru.po +5 -1
  47. package/lang/translations/sk.po +5 -1
  48. package/lang/translations/sl.po +4 -0
  49. package/lang/translations/sq.po +17 -13
  50. package/lang/translations/sr-latn.po +4 -0
  51. package/lang/translations/sr.po +5 -1
  52. package/lang/translations/sv.po +5 -1
  53. package/lang/translations/th.po +5 -1
  54. package/lang/translations/tk.po +4 -0
  55. package/lang/translations/tr.po +5 -1
  56. package/lang/translations/tt.po +4 -0
  57. package/lang/translations/ug.po +4 -0
  58. package/lang/translations/uk.po +5 -1
  59. package/lang/translations/ur.po +4 -0
  60. package/lang/translations/uz.po +4 -0
  61. package/lang/translations/vi.po +5 -1
  62. package/lang/translations/zh-cn.po +5 -1
  63. package/lang/translations/zh.po +5 -1
  64. package/package.json +4 -5
  65. package/src/augmentation.d.ts +1 -1
  66. package/src/bindings/addkeyboardhandlingforgrid.d.ts +1 -1
  67. package/src/bindings/csstransitiondisablermixin.d.ts +1 -1
  68. package/src/bindings/injectcsstransitiondisabler.d.ts +2 -2
  69. package/src/bindings/injectcsstransitiondisabler.js +1 -1
  70. package/src/bindings/preventdefault.d.ts +3 -3
  71. package/src/bindings/preventdefault.js +1 -1
  72. package/src/bindings/submithandler.d.ts +2 -2
  73. package/src/bindings/submithandler.js +1 -1
  74. package/src/button/buttonview.d.ts +4 -4
  75. package/src/button/buttonview.js +2 -2
  76. package/src/button/switchbuttonview.d.ts +2 -2
  77. package/src/button/switchbuttonview.js +2 -2
  78. package/src/colorgrid/colorgridview.d.ts +4 -4
  79. package/src/colorgrid/colorgridview.js +3 -3
  80. package/src/colorgrid/colortileview.d.ts +1 -1
  81. package/src/colorgrid/colortileview.js +1 -1
  82. package/src/colorpicker/colorpickerview.d.ts +3 -3
  83. package/src/colorpicker/colorpickerview.js +4 -4
  84. package/src/colorselector/colorgridsfragmentview.js +1 -2
  85. package/src/colorselector/documentcolorcollection.d.ts +1 -1
  86. package/src/componentfactory.d.ts +1 -1
  87. package/src/dropdown/button/dropdownbutton.d.ts +2 -2
  88. package/src/dropdown/button/dropdownbuttonview.d.ts +3 -3
  89. package/src/dropdown/button/dropdownbuttonview.js +2 -2
  90. package/src/dropdown/button/splitbuttonview.d.ts +5 -5
  91. package/src/dropdown/button/splitbuttonview.js +2 -2
  92. package/src/dropdown/dropdownpanelview.d.ts +3 -3
  93. package/src/dropdown/dropdownpanelview.js +3 -2
  94. package/src/dropdown/dropdownview.d.ts +6 -6
  95. package/src/dropdown/dropdownview.js +1 -1
  96. package/src/dropdown/utils.d.ts +7 -7
  97. package/src/dropdown/utils.js +12 -12
  98. package/src/editableui/editableuiview.d.ts +1 -1
  99. package/src/editableui/editableuiview.js +1 -1
  100. package/src/editableui/inline/inlineeditableuiview.d.ts +1 -1
  101. package/src/editableui/inline/inlineeditableuiview.js +1 -1
  102. package/src/editorui/bodycollection.d.ts +2 -2
  103. package/src/editorui/bodycollection.js +2 -2
  104. package/src/editorui/boxed/boxededitoruiview.d.ts +2 -2
  105. package/src/editorui/boxed/boxededitoruiview.js +2 -2
  106. package/src/editorui/editorui.d.ts +5 -5
  107. package/src/editorui/editorui.js +3 -3
  108. package/src/editorui/editoruiview.d.ts +3 -3
  109. package/src/editorui/editoruiview.js +2 -2
  110. package/src/editorui/poweredby.js +9 -4
  111. package/src/focuscycler.d.ts +2 -2
  112. package/src/formheader/formheaderview.d.ts +2 -2
  113. package/src/formheader/formheaderview.js +1 -1
  114. package/src/icon/iconview.d.ts +1 -1
  115. package/src/icon/iconview.js +1 -1
  116. package/src/iframe/iframeview.d.ts +1 -1
  117. package/src/iframe/iframeview.js +1 -1
  118. package/src/index.d.ts +53 -53
  119. package/src/index.js +51 -51
  120. package/src/input/inputview.d.ts +1 -1
  121. package/src/input/inputview.js +1 -1
  122. package/src/inputnumber/inputnumberview.d.ts +1 -1
  123. package/src/inputnumber/inputnumberview.js +1 -1
  124. package/src/inputtext/inputtextview.d.ts +1 -1
  125. package/src/inputtext/inputtextview.js +1 -1
  126. package/src/label/labelview.d.ts +1 -1
  127. package/src/label/labelview.js +1 -1
  128. package/src/labeledfield/labeledfieldview.d.ts +4 -4
  129. package/src/labeledfield/labeledfieldview.js +2 -2
  130. package/src/labeledfield/utils.d.ts +4 -4
  131. package/src/labeledfield/utils.js +3 -3
  132. package/src/labeledinput/labeledinputview.d.ts +3 -3
  133. package/src/labeledinput/labeledinputview.js +2 -2
  134. package/src/list/listitemview.d.ts +2 -2
  135. package/src/list/listitemview.js +1 -1
  136. package/src/list/listseparatorview.d.ts +1 -1
  137. package/src/list/listseparatorview.js +1 -1
  138. package/src/list/listview.d.ts +3 -3
  139. package/src/list/listview.js +2 -2
  140. package/src/panel/balloon/balloonpanelview.d.ts +2 -2
  141. package/src/panel/balloon/balloonpanelview.js +1 -1
  142. package/src/panel/balloon/contextualballoon.d.ts +4 -4
  143. package/src/panel/balloon/contextualballoon.js +3 -3
  144. package/src/panel/sticky/stickypanelview.d.ts +8 -6
  145. package/src/panel/sticky/stickypanelview.js +16 -57
  146. package/src/template.d.ts +2 -2
  147. package/src/template.js +2 -2
  148. package/src/toolbar/balloon/balloontoolbar.d.ts +2 -2
  149. package/src/toolbar/balloon/balloontoolbar.js +4 -4
  150. package/src/toolbar/block/blockbuttonview.d.ts +1 -1
  151. package/src/toolbar/block/blockbuttonview.js +1 -1
  152. package/src/toolbar/block/blocktoolbar.d.ts +3 -3
  153. package/src/toolbar/block/blocktoolbar.js +5 -5
  154. package/src/toolbar/toolbarlinebreakview.d.ts +1 -1
  155. package/src/toolbar/toolbarlinebreakview.js +1 -1
  156. package/src/toolbar/toolbarseparatorview.d.ts +1 -1
  157. package/src/toolbar/toolbarseparatorview.js +1 -1
  158. package/src/toolbar/toolbarview.d.ts +4 -4
  159. package/src/toolbar/toolbarview.js +7 -7
  160. package/src/tooltipmanager.d.ts +2 -2
  161. package/src/tooltipmanager.js +2 -2
  162. package/src/view.d.ts +2 -2
  163. package/src/view.js +2 -2
  164. package/src/viewcollection.d.ts +1 -1
@@ -114,4 +114,8 @@ msgstr "Ordbehandlarens kontextuella verktygsfält"
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "HEX"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "Acceptera"
@@ -114,4 +114,8 @@ msgstr "แถบเครื่องมือแก้ไขข้อควา
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "HEX"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "ยอมรับ"
@@ -115,3 +115,7 @@ msgstr ""
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
117
  msgstr ""
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr ""
@@ -114,4 +114,8 @@ msgstr "Düzenleyici içeriksel araç çubuğu"
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "ONALTILIK"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "Kabul et"
@@ -115,3 +115,7 @@ msgstr ""
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
117
  msgstr ""
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr ""
@@ -115,3 +115,7 @@ msgstr ""
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
117
  msgstr ""
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "قوشۇل"
@@ -114,4 +114,8 @@ msgstr "Контекстна панель інструментів редакт
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "Шістнадцятковий"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "Прийняти"
@@ -115,3 +115,7 @@ msgstr ""
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
117
  msgstr ""
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr ""
@@ -115,3 +115,7 @@ msgstr ""
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
117
  msgstr ""
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr ""
@@ -114,4 +114,8 @@ msgstr "Thanh công cụ chỉnh sửa theo ngữ cảnh"
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "HEX"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "Chấp nhận"
@@ -114,4 +114,8 @@ msgstr "编辑器上下文工具栏"
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "十六进制"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "接受"
@@ -114,4 +114,8 @@ msgstr "編輯器關聯式工具列"
114
114
 
115
115
  msgctxt "Label of an input field for typing colors in the HEX color format."
116
116
  msgid "HEX"
117
- msgstr ""
117
+ msgstr "十六進位"
118
+
119
+ msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
+ msgid "Accept"
121
+ msgstr "接受"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "38.2.0-alpha.1",
3
+ "version": "39.0.1",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -10,13 +10,12 @@
10
10
  "ckeditor5-dll"
11
11
  ],
12
12
  "main": "src/index.js",
13
- "type": "module",
14
13
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "38.2.0-alpha.1",
16
- "@ckeditor/ckeditor5-utils": "38.2.0-alpha.1",
14
+ "@ckeditor/ckeditor5-core": "39.0.1",
15
+ "@ckeditor/ckeditor5-utils": "39.0.1",
17
16
  "color-convert": "2.0.1",
18
17
  "color-parse": "1.4.2",
19
- "lodash-es": "^4.17.15",
18
+ "lodash-es": "4.17.21",
20
19
  "vanilla-colorful": "0.7.2"
21
20
  },
22
21
  "engines": {
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { BalloonToolbar, BlockToolbar, ContextualBalloon, Notification } from './index.js';
5
+ import type { BalloonToolbar, BlockToolbar, ContextualBalloon, Notification } from './index';
6
6
  import type { ToolbarConfig } from '@ckeditor/ckeditor5-core';
7
7
  declare module '@ckeditor/ckeditor5-core' {
8
8
  interface EditorConfig {
@@ -6,7 +6,7 @@
6
6
  * @module ui/bindings/addkeyboardhandlingforgrid
7
7
  */
8
8
  import type { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils';
9
- import type ViewCollection from '../viewcollection.js';
9
+ import type ViewCollection from '../viewcollection';
10
10
  /**
11
11
  * A helper that adds a keyboard navigation support (arrow up/down/left/right) for grids.
12
12
  *
@@ -6,7 +6,7 @@
6
6
  * @module ui/bindings/csstransitiondisablermixin
7
7
  */
8
8
  import type { Constructor, Mixed } from '@ckeditor/ckeditor5-utils';
9
- import type View from '../view.js';
9
+ import type View from '../view';
10
10
  /**
11
11
  * A mixin that brings the possibility to temporarily disable CSS transitions using
12
12
  * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/bindings/injectcsstransitiondisabler
7
7
  */
8
- import type View from '../view.js';
8
+ import type View from '../view';
9
9
  /**
10
10
  * A decorator that brings the possibility to temporarily disable CSS transitions using
11
11
  * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen
@@ -21,7 +21,7 @@ import type View from '../view.js';
21
21
  * {@link module:ui/view~View#setTemplate} is called:
22
22
  *
23
23
  * ```ts
24
- * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js';
24
+ * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler';
25
25
  *
26
26
  * class MyView extends View {
27
27
  * constructor() {
@@ -17,7 +17,7 @@
17
17
  * {@link module:ui/view~View#setTemplate} is called:
18
18
  *
19
19
  * ```ts
20
- * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js';
20
+ * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler';
21
21
  *
22
22
  * class MyView extends View {
23
23
  * constructor() {
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/bindings/preventdefault
7
7
  */
8
- import type { ListenerBinding } from '../template.js';
9
- import type View from '../view.js';
8
+ import type { ListenerBinding } from '../template';
9
+ import type View from '../view';
10
10
  /**
11
11
  * A helper which executes a native `Event.preventDefault()` if the target of an event equals the
12
12
  * {@link module:ui/view~View#element element of the view}. It shortens the definition of a
@@ -14,7 +14,7 @@ import type View from '../view.js';
14
14
  *
15
15
  * ```ts
16
16
  * // In a class extending View.
17
- * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js';
17
+ * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault';
18
18
  *
19
19
  * // ...
20
20
  *
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * ```ts
11
11
  * // In a class extending View.
12
- * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js';
12
+ * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault';
13
13
  *
14
14
  * // ...
15
15
  *
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/bindings/submithandler
7
7
  */
8
- import type View from '../view.js';
8
+ import type View from '../view';
9
9
  /**
10
10
  * A handler useful for {@link module:ui/view~View views} working as HTML forms. It intercepts a native DOM
11
11
  * `submit` event, prevents the default web browser behavior (navigation and page reload) and
@@ -13,7 +13,7 @@ import type View from '../view.js';
13
13
  * {@link module:utils/dom/emittermixin~DomEmitter emitter}, e.g. to serialize the form data.
14
14
  *
15
15
  * ```ts
16
- * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler.js';
16
+ * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler';
17
17
  *
18
18
  * // ...
19
19
  *
@@ -9,7 +9,7 @@
9
9
  * {@link module:utils/dom/emittermixin~DomEmitter emitter}, e.g. to serialize the form data.
10
10
  *
11
11
  * ```ts
12
- * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler.js';
12
+ * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler';
13
13
  *
14
14
  * // ...
15
15
  *
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module ui/button/buttonview
7
7
  */
8
- import View from '../view.js';
9
- import IconView from '../icon/iconview.js';
10
- import type ViewCollection from '../viewcollection.js';
11
- import type { default as Button } from './button.js';
8
+ import View from '../view';
9
+ import IconView from '../icon/iconview';
10
+ import type ViewCollection from '../viewcollection';
11
+ import type { default as Button } from './button';
12
12
  import { type Locale } from '@ckeditor/ckeditor5-utils';
13
13
  import '../../theme/components/button/button.css';
14
14
  /**
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/button/buttonview
7
7
  */
8
- import View from '../view.js';
9
- import IconView from '../icon/iconview.js';
8
+ import View from '../view';
9
+ import IconView from '../icon/iconview';
10
10
  import { env, getEnvKeystrokeText, uid, delay } from '@ckeditor/ckeditor5-utils';
11
11
  import '../../theme/components/button/button.css';
12
12
  /**
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/button/switchbuttonview
7
7
  */
8
- import View from '../view.js';
9
- import ButtonView from './buttonview.js';
8
+ import View from '../view';
9
+ import ButtonView from './buttonview';
10
10
  import type { Locale } from '@ckeditor/ckeditor5-utils';
11
11
  import '../../theme/components/button/switchbutton.css';
12
12
  /**
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/button/switchbuttonview
7
7
  */
8
- import View from '../view.js';
9
- import ButtonView from './buttonview.js';
8
+ import View from '../view';
9
+ import ButtonView from './buttonview';
10
10
  import '../../theme/components/button/switchbutton.css';
11
11
  /**
12
12
  * The switch button view class.
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module ui/colorgrid/colorgridview
7
7
  */
8
- import View from '../view.js';
9
- import ColorTileView from './colortileview.js';
10
- import type DropdownPanelFocusable from '../dropdown/dropdownpanelfocusable.js';
11
- import type ViewCollection from '../viewcollection.js';
8
+ import View from '../view';
9
+ import ColorTileView from './colortileview';
10
+ import type DropdownPanelFocusable from '../dropdown/dropdownpanelfocusable';
11
+ import type ViewCollection from '../viewcollection';
12
12
  import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
13
13
  import '../../theme/components/colorgrid/colorgrid.css';
14
14
  /**
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module ui/colorgrid/colorgridview
7
7
  */
8
- import View from '../view.js';
9
- import ColorTileView from './colortileview.js';
10
- import addKeyboardHandlingForGrid from '../bindings/addkeyboardhandlingforgrid.js';
8
+ import View from '../view';
9
+ import ColorTileView from './colortileview';
10
+ import addKeyboardHandlingForGrid from '../bindings/addkeyboardhandlingforgrid';
11
11
  import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils';
12
12
  import '../../theme/components/colorgrid/colorgrid.css';
13
13
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/colorgrid/colortileview
7
7
  */
8
- import ButtonView from '../button/buttonview.js';
8
+ import ButtonView from '../button/buttonview';
9
9
  import type { Locale } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * This class represents a single color tile in the {@link module:ui/colorgrid/colorgridview~ColorGridView}.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/colorgrid/colortileview
7
7
  */
8
- import ButtonView from '../button/buttonview.js';
8
+ import ButtonView from '../button/buttonview';
9
9
  import checkIcon from '../../theme/icons/color-tile-check.svg';
10
10
  /**
11
11
  * This class represents a single color tile in the {@link module:ui/colorgrid/colorgridview~ColorGridView}.
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module ui/colorpicker/colorpickerview
7
7
  */
8
- import { type ColorPickerViewConfig } from './utils.js';
8
+ import { type ColorPickerViewConfig } from './utils';
9
9
  import { type Locale } from '@ckeditor/ckeditor5-utils';
10
- import View from '../view.js';
11
- import type ViewCollection from '../viewcollection.js';
10
+ import View from '../view';
11
+ import type ViewCollection from '../viewcollection';
12
12
  import 'vanilla-colorful/hex-color-picker.js';
13
13
  import '../../theme/components/colorpicker/colorpicker.css';
14
14
  /**
@@ -5,12 +5,12 @@
5
5
  /**
6
6
  * @module ui/colorpicker/colorpickerview
7
7
  */
8
- import { convertColor, convertToHex } from './utils.js';
8
+ import { convertColor, convertToHex } from './utils';
9
9
  import { global, env } from '@ckeditor/ckeditor5-utils';
10
10
  import { debounce } from 'lodash-es';
11
- import View from '../view.js';
12
- import LabeledFieldView from '../labeledfield/labeledfieldview.js';
13
- import { createLabeledInputText } from '../labeledfield/utils.js';
11
+ import View from '../view';
12
+ import LabeledFieldView from '../labeledfield/labeledfieldview';
13
+ import { createLabeledInputText } from '../labeledfield/utils';
14
14
  import 'vanilla-colorful/hex-color-picker.js';
15
15
  import '../../theme/components/colorpicker/colorpicker.css';
16
16
  const waitingTime = 150;
@@ -80,8 +80,7 @@ export default class ColorGridsFragmentView extends View {
80
80
  const document = model.document;
81
81
  const maxCount = this.documentColorsCount;
82
82
  this.documentColors.clear();
83
- for (const rootName of document.getRootNames()) {
84
- const root = document.getRoot(rootName);
83
+ for (const root of document.getRoots()) {
85
84
  const range = model.createRangeIn(root);
86
85
  for (const node of range.getItems()) {
87
86
  if (node.is('$textProxy') && node.hasAttribute(attributeName)) {
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/colorselector/documentcolorcollection
7
7
  */
8
- import type { ColorDefinition } from '../colorgrid/colorgridview.js';
8
+ import type { ColorDefinition } from '../colorgrid/colorgridview';
9
9
  import { Collection, type CollectionAddEvent, type CollectionRemoveEvent, type CollectionChangeEvent } from '@ckeditor/ckeditor5-utils';
10
10
  declare const DocumentColorCollection_base: import("@ckeditor/ckeditor5-utils").Mixed<{
11
11
  new (options?: {
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type Locale } from '@ckeditor/ckeditor5-utils';
9
9
  import type { Editor } from '@ckeditor/ckeditor5-core';
10
- import type View from './view.js';
10
+ import type View from './view';
11
11
  /**
12
12
  * A helper class implementing the UI component ({@link module:ui/view~View view}) factory.
13
13
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/dropdown/button/dropdownbutton
7
7
  */
8
- import type Button from '../../button/button.js';
9
- import type ViewCollection from '../../viewcollection.js';
8
+ import type Button from '../../button/button';
9
+ import type ViewCollection from '../../viewcollection';
10
10
  /**
11
11
  * The dropdown button interface.
12
12
  */
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module ui/dropdown/button/dropdownbuttonview
7
7
  */
8
- import ButtonView from '../../button/buttonview.js';
9
- import type DropdownButton from './dropdownbutton.js';
10
- import IconView from '../../icon/iconview.js';
8
+ import ButtonView from '../../button/buttonview';
9
+ import type DropdownButton from './dropdownbutton';
10
+ import IconView from '../../icon/iconview';
11
11
  import type { Locale } from '@ckeditor/ckeditor5-utils';
12
12
  /**
13
13
  * The default dropdown button view class.
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/dropdown/button/dropdownbuttonview
7
7
  */
8
- import ButtonView from '../../button/buttonview.js';
9
- import IconView from '../../icon/iconview.js';
8
+ import ButtonView from '../../button/buttonview';
9
+ import IconView from '../../icon/iconview';
10
10
  import dropdownArrowIcon from '../../../theme/icons/dropdown-arrow.svg';
11
11
  /**
12
12
  * The default dropdown button view class.
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module ui/dropdown/button/splitbuttonview
7
7
  */
8
- import View from '../../view.js';
9
- import ButtonView from '../../button/buttonview.js';
10
- import type ViewCollection from '../../viewcollection.js';
11
- import type Button from '../../button/button.js';
12
- import type DropdownButton from './dropdownbutton.js';
8
+ import View from '../../view';
9
+ import ButtonView from '../../button/buttonview';
10
+ import type ViewCollection from '../../viewcollection';
11
+ import type Button from '../../button/button';
12
+ import type DropdownButton from './dropdownbutton';
13
13
  import { KeystrokeHandler, FocusTracker, type Locale } from '@ckeditor/ckeditor5-utils';
14
14
  import '../../../theme/components/dropdown/splitbutton.css';
15
15
  /**
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/dropdown/button/splitbuttonview
7
7
  */
8
- import View from '../../view.js';
9
- import ButtonView from '../../button/buttonview.js';
8
+ import View from '../../view';
9
+ import ButtonView from '../../button/buttonview';
10
10
  import { KeystrokeHandler, FocusTracker } from '@ckeditor/ckeditor5-utils';
11
11
  import dropdownArrowIcon from '../../../theme/icons/dropdown-arrow.svg';
12
12
  import '../../../theme/components/dropdown/splitbutton.css';
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module ui/dropdown/dropdownpanelview
7
7
  */
8
- import View from '../view.js';
9
- import type ViewCollection from '../viewcollection.js';
10
- import type DropdownPanelFocusable from './dropdownpanelfocusable.js';
8
+ import View from '../view';
9
+ import type ViewCollection from '../viewcollection';
10
+ import type DropdownPanelFocusable from './dropdownpanelfocusable';
11
11
  import { type Locale } from '@ckeditor/ckeditor5-utils';
12
12
  /**
13
13
  * The dropdown panel view class.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/dropdown/dropdownpanelview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import { logWarning } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The dropdown panel view class.
@@ -31,7 +31,8 @@ export default class DropdownPanelView extends View {
31
31
  'ck-dropdown__panel',
32
32
  bind.to('position', value => `ck-dropdown__panel_${value}`),
33
33
  bind.if('isVisible', 'ck-dropdown__panel-visible')
34
- ]
34
+ ],
35
+ tabindex: '-1'
35
36
  },
36
37
  children: this.children,
37
38
  on: {
@@ -5,12 +5,12 @@
5
5
  /**
6
6
  * @module ui/dropdown/dropdownview
7
7
  */
8
- import View from '../view.js';
9
- import type { default as DropdownButton } from './button/dropdownbutton.js';
10
- import type { default as DropdownPanelView, PanelPosition } from './dropdownpanelview.js';
11
- import type { FocusableView } from '../focuscycler.js';
12
- import type ListView from '../list/listview.js';
13
- import type ToolbarView from '../toolbar/toolbarview.js';
8
+ import View from '../view';
9
+ import type { default as DropdownButton } from './button/dropdownbutton';
10
+ import type { default as DropdownPanelView, PanelPosition } from './dropdownpanelview';
11
+ import type { FocusableView } from '../focuscycler';
12
+ import type ListView from '../list/listview';
13
+ import type ToolbarView from '../toolbar/toolbarview';
14
14
  import { KeystrokeHandler, FocusTracker, type Locale, type PositioningFunction } from '@ckeditor/ckeditor5-utils';
15
15
  import '../../theme/components/dropdown/dropdown.css';
16
16
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/dropdown/dropdownview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import { KeystrokeHandler, FocusTracker, getOptimalPosition } from '@ckeditor/ckeditor5-utils';
10
10
  import '../../theme/components/dropdown/dropdown.css';
11
11
  /**
@@ -2,13 +2,13 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import DropdownView from './dropdownview.js';
6
- import ViewCollection from '../viewcollection.js';
7
- import type { default as View } from '../view.js';
8
- import type Model from '../model.js';
9
- import type DropdownButton from './button/dropdownbutton.js';
10
- import type { FocusableView } from '../focuscycler.js';
11
- import type { FalsyValue } from '../template.js';
5
+ import DropdownView from './dropdownview';
6
+ import ViewCollection from '../viewcollection';
7
+ import type { default as View } from '../view';
8
+ import type Model from '../model';
9
+ import type DropdownButton from './button/dropdownbutton';
10
+ import type { FocusableView } from '../focuscycler';
11
+ import type { FalsyValue } from '../template';
12
12
  import { type Collection, type Locale } from '@ckeditor/ckeditor5-utils';
13
13
  import '../../theme/components/dropdown/toolbardropdown.css';
14
14
  import '../../theme/components/dropdown/listdropdown.css';
@@ -5,18 +5,18 @@
5
5
  /**
6
6
  * @module ui/dropdown/utils
7
7
  */
8
- import DropdownPanelView from './dropdownpanelview.js';
9
- import DropdownView from './dropdownview.js';
10
- import DropdownButtonView from './button/dropdownbuttonview.js';
11
- import ToolbarView from '../toolbar/toolbarview.js';
12
- import ListView from '../list/listview.js';
13
- import ListItemView from '../list/listitemview.js';
14
- import ListSeparatorView from '../list/listseparatorview.js';
15
- import ButtonView from '../button/buttonview.js';
16
- import SplitButtonView from './button/splitbuttonview.js';
17
- import SwitchButtonView from '../button/switchbuttonview.js';
18
- import ViewCollection from '../viewcollection.js';
19
- import clickOutsideHandler from '../bindings/clickoutsidehandler.js';
8
+ import DropdownPanelView from './dropdownpanelview';
9
+ import DropdownView from './dropdownview';
10
+ import DropdownButtonView from './button/dropdownbuttonview';
11
+ import ToolbarView from '../toolbar/toolbarview';
12
+ import ListView from '../list/listview';
13
+ import ListItemView from '../list/listitemview';
14
+ import ListSeparatorView from '../list/listseparatorview';
15
+ import ButtonView from '../button/buttonview';
16
+ import SplitButtonView from './button/splitbuttonview';
17
+ import SwitchButtonView from '../button/switchbuttonview';
18
+ import ViewCollection from '../viewcollection';
19
+ import clickOutsideHandler from '../bindings/clickoutsidehandler';
20
20
  import { global, priorities, logWarning } from '@ckeditor/ckeditor5-utils';
21
21
  import '../../theme/components/dropdown/toolbardropdown.css';
22
22
  import '../../theme/components/dropdown/listdropdown.css';