@ckeditor/ckeditor5-ui 38.2.0-alpha.1 → 39.0.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 (165) 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
  165. package/theme/icons/project-logo.svg +1 -1
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/editableui/editableuiview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import type { View as EditingView } from '@ckeditor/ckeditor5-engine';
10
10
  import type { Locale } from '@ckeditor/ckeditor5-utils';
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/editableui/editableuiview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  /**
10
10
  * The editable UI view class.
11
11
  */
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/editableui/inline/inlineeditableuiview
7
7
  */
8
- import EditableUIView from '../editableuiview.js';
8
+ import EditableUIView from '../editableuiview';
9
9
  import type { View } from '@ckeditor/ckeditor5-engine';
10
10
  import type { Locale } from '@ckeditor/ckeditor5-utils';
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/editableui/inline/inlineeditableuiview
7
7
  */
8
- import EditableUIView from '../editableuiview.js';
8
+ import EditableUIView from '../editableuiview';
9
9
  /**
10
10
  * The inline editable UI class implementing an inline {@link module:ui/editableui/editableuiview~EditableUIView}.
11
11
  */
@@ -2,8 +2,8 @@
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 ViewCollection from '../viewcollection.js';
6
- import type View from '../view.js';
5
+ import ViewCollection from '../viewcollection';
6
+ import type View from '../view';
7
7
  import { type Locale } from '@ckeditor/ckeditor5-utils';
8
8
  /**
9
9
  * This is a special {@link module:ui/viewcollection~ViewCollection} dedicated to elements that are detached
@@ -6,8 +6,8 @@
6
6
  * @module ui/editorui/bodycollection
7
7
  */
8
8
  /* globals document */
9
- import Template from '../template.js';
10
- import ViewCollection from '../viewcollection.js';
9
+ import Template from '../template';
10
+ import ViewCollection from '../viewcollection';
11
11
  import { createElement } from '@ckeditor/ckeditor5-utils';
12
12
  /**
13
13
  * This is a special {@link module:ui/viewcollection~ViewCollection} dedicated to elements that are detached
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/editorui/boxed/boxededitoruiview
7
7
  */
8
- import EditorUIView from '../editoruiview.js';
9
- import type ViewCollection from '../../viewcollection.js';
8
+ import EditorUIView from '../editoruiview';
9
+ import type ViewCollection from '../../viewcollection';
10
10
  import type { Locale } from '@ckeditor/ckeditor5-utils';
11
11
  /**
12
12
  * The boxed editor UI view class. This class represents an editor interface
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/editorui/boxed/boxededitoruiview
7
7
  */
8
- import EditorUIView from '../editoruiview.js';
9
- import LabelView from '../../label/labelview.js';
8
+ import EditorUIView from '../editoruiview';
9
+ import LabelView from '../../label/labelview';
10
10
  /**
11
11
  * The boxed editor UI view class. This class represents an editor interface
12
12
  * consisting of a toolbar and an editable area, enclosed within a box.
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module ui/editorui/editorui
7
7
  */
8
- import ComponentFactory from '../componentfactory.js';
9
- import TooltipManager from '../tooltipmanager.js';
10
- import PoweredBy from './poweredby.js';
11
- import type EditorUIView from './editoruiview.js';
12
- import type ToolbarView from '../toolbar/toolbarview.js';
8
+ import ComponentFactory from '../componentfactory';
9
+ import TooltipManager from '../tooltipmanager';
10
+ import PoweredBy from './poweredby';
11
+ import type EditorUIView from './editoruiview';
12
+ import type ToolbarView from '../toolbar/toolbarview';
13
13
  import { FocusTracker } from '@ckeditor/ckeditor5-utils';
14
14
  import type { Editor } from '@ckeditor/ckeditor5-core';
15
15
  declare const EditorUI_base: {
@@ -6,9 +6,9 @@
6
6
  * @module ui/editorui/editorui
7
7
  */
8
8
  /* globals console */
9
- import ComponentFactory from '../componentfactory.js';
10
- import TooltipManager from '../tooltipmanager.js';
11
- import PoweredBy from './poweredby.js';
9
+ import ComponentFactory from '../componentfactory';
10
+ import TooltipManager from '../tooltipmanager';
11
+ import PoweredBy from './poweredby';
12
12
  import { ObservableMixin, isVisible, FocusTracker } from '@ckeditor/ckeditor5-utils';
13
13
  /**
14
14
  * A class providing the minimal interface that is required to successfully bootstrap any editor UI.
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module ui/editorui/editoruiview
7
7
  */
8
- import View from '../view.js';
9
- import BodyCollection from './bodycollection.js';
10
- import type EditableUIView from '../editableui/editableuiview.js';
8
+ import View from '../view';
9
+ import BodyCollection from './bodycollection';
10
+ import type EditableUIView from '../editableui/editableuiview';
11
11
  import type { Locale, LocaleTranslate } from '@ckeditor/ckeditor5-utils';
12
12
  import '../../theme/components/editorui/editorui.css';
13
13
  /**
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/editorui/editoruiview
7
7
  */
8
- import View from '../view.js';
9
- import BodyCollection from './bodycollection.js';
8
+ import View from '../view';
9
+ import BodyCollection from './bodycollection';
10
10
  import '../../theme/components/editorui/editorui.css';
11
11
  /**
12
12
  * The editor UI view class. Base class for the editor main views.
@@ -3,9 +3,9 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  import { Rect, DomEmitterMixin, findClosestScrollableAncestor, verifyLicense } from '@ckeditor/ckeditor5-utils';
6
- import BalloonPanelView from '../panel/balloon/balloonpanelview.js';
7
- import IconView from '../icon/iconview.js';
8
- import View from '../view.js';
6
+ import BalloonPanelView from '../panel/balloon/balloonpanelview';
7
+ import IconView from '../icon/iconview';
8
+ import View from '../view';
9
9
  import { throttle } from 'lodash-es';
10
10
  import poweredByIcon from '../../theme/icons/project-logo.svg';
11
11
  const ICON_WIDTH = 53;
@@ -264,8 +264,13 @@ function getLowerCornerPosition(focusedEditableElement, config, getBalloonLeft)
264
264
  const firstScrollableEditableElementAncestor = findClosestScrollableAncestor(focusedEditableElement);
265
265
  if (firstScrollableEditableElementAncestor) {
266
266
  const firstScrollableEditableElementAncestorRect = new Rect(firstScrollableEditableElementAncestor);
267
+ const notVisibleVertically = visibleEditableElementRect.bottom + balloonRect.height / 2 >
268
+ firstScrollableEditableElementAncestorRect.bottom;
269
+ const notVisibleHorizontally = config.side === 'left' ?
270
+ editableElementRect.left < firstScrollableEditableElementAncestorRect.left :
271
+ editableElementRect.right > firstScrollableEditableElementAncestorRect.right;
267
272
  // The watermark cannot be positioned in this corner because the corner is "not visible enough".
268
- if (visibleEditableElementRect.bottom + balloonRect.height / 2 > firstScrollableEditableElementAncestorRect.bottom) {
273
+ if (notVisibleVertically || notVisibleHorizontally) {
269
274
  return OFF_THE_SCREEN_POSITION;
270
275
  }
271
276
  }
@@ -6,8 +6,8 @@
6
6
  * @module ui/focuscycler
7
7
  */
8
8
  import { type ArrayOrItem, type FocusTracker, type KeystrokeHandler } from '@ckeditor/ckeditor5-utils';
9
- import type View from './view.js';
10
- import type ViewCollection from './viewcollection.js';
9
+ import type View from './view';
10
+ import type ViewCollection from './viewcollection';
11
11
  /**
12
12
  * A utility class that helps cycling over focusable {@link module:ui/view~View views} in a
13
13
  * {@link module:ui/viewcollection~ViewCollection} when the focus is tracked by the
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/formheader/formheaderview
7
7
  */
8
- import View from '../view.js';
9
- import type ViewCollection from '../viewcollection.js';
8
+ import View from '../view';
9
+ import type ViewCollection from '../viewcollection';
10
10
  import type { Locale } from '@ckeditor/ckeditor5-utils';
11
11
  import '../../theme/components/formheader/formheader.css';
12
12
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/formheader/formheaderview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import '../../theme/components/formheader/formheader.css';
10
10
  /**
11
11
  * The class component representing a form header view. It should be used in more advanced forms to
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/icon/iconview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import '../../theme/components/icon/icon.css';
10
10
  /**
11
11
  * The icon view class.
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module ui/icon/iconview
8
8
  */
9
- import View from '../view.js';
9
+ import View from '../view';
10
10
  import '../../theme/components/icon/icon.css';
11
11
  /**
12
12
  * The icon view class.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/iframe/iframeview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import type { Locale } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The iframe view class.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/iframe/iframeview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  /**
10
10
  * The iframe view class.
11
11
  *
package/src/index.d.ts CHANGED
@@ -5,59 +5,59 @@
5
5
  /**
6
6
  * @module ui
7
7
  */
8
- export { default as clickOutsideHandler } from './bindings/clickoutsidehandler.js';
9
- export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler.js';
10
- export { default as CssTransitionDisablerMixin, type ViewWithCssTransitionDisabler } from './bindings/csstransitiondisablermixin.js';
11
- export { default as submitHandler } from './bindings/submithandler.js';
12
- export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid.js';
13
- export { default as BodyCollection } from './editorui/bodycollection.js';
14
- export { type ButtonExecuteEvent } from './button/button.js';
15
- export { default as ButtonView } from './button/buttonview.js';
16
- export { default as SwitchButtonView } from './button/switchbuttonview.js';
17
- export * from './colorgrid/utils.js';
18
- export { default as ColorGridView, type ColorDefinition } from './colorgrid/colorgridview.js';
19
- export { default as ColorTileView } from './colorgrid/colortileview.js';
20
- export { default as ColorPickerView } from './colorpicker/colorpickerview.js';
21
- export type { ColorPickerConfig, ColorPickerViewConfig, ColorPickerOutputFormat } from './colorpicker/utils.js';
22
- export { default as ColorSelectorView, type ColorSelectorExecuteEvent, type ColorSelectorColorPickerCancelEvent, type ColorSelectorColorPickerShowEvent } from './colorselector/colorselectorview.js';
23
- export { default as ComponentFactory } from './componentfactory.js';
24
- export { default as DropdownView } from './dropdown/dropdownview.js';
25
- export { default as DropdownPanelView } from './dropdown/dropdownpanelview.js';
26
- export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview.js';
27
- export { default as SplitButtonView } from './dropdown/button/splitbuttonview.js';
28
- export * from './dropdown/utils.js';
29
- export { default as EditorUI, type EditorUIReadyEvent, type EditorUIUpdateEvent } from './editorui/editorui.js';
30
- export { default as EditorUIView } from './editorui/editoruiview.js';
31
- export { default as BoxedEditorUIView } from './editorui/boxed/boxededitoruiview.js';
32
- export { default as InlineEditableUIView } from './editableui/inline/inlineeditableuiview.js';
33
- export { default as FormHeaderView } from './formheader/formheaderview.js';
34
- export { default as FocusCycler, type FocusableView } from './focuscycler.js';
35
- export { default as IconView } from './icon/iconview.js';
36
- export { default as InputView } from './input/inputview.js';
37
- export { default as InputTextView } from './inputtext/inputtextview.js';
38
- export { default as InputNumberView } from './inputnumber/inputnumberview.js';
39
- export { default as IframeView } from './iframe/iframeview.js';
40
- export { default as LabelView } from './label/labelview.js';
41
- export { default as LabeledFieldView } from './labeledfield/labeledfieldview.js';
42
- export * from './labeledfield/utils.js';
43
- export { default as ListItemView } from './list/listitemview.js';
44
- export { default as ListView } from './list/listview.js';
45
- export { default as Notification } from './notification/notification.js';
46
- export { default as Model } from './model.js';
47
- export { default as BalloonPanelView } from './panel/balloon/balloonpanelview.js';
48
- export { default as ContextualBalloon } from './panel/balloon/contextualballoon.js';
49
- export { default as StickyPanelView } from './panel/sticky/stickypanelview.js';
50
- export { default as TooltipManager } from './tooltipmanager.js';
51
- export { default as Template, type TemplateDefinition } from './template.js';
52
- export { default as ToolbarView } from './toolbar/toolbarview.js';
53
- export { default as ToolbarLineBreakView } from './toolbar/toolbarlinebreakview.js';
54
- export { default as ToolbarSeparatorView } from './toolbar/toolbarseparatorview.js';
55
- export { default as normalizeToolbarConfig } from './toolbar/normalizetoolbarconfig.js';
56
- export { default as BalloonToolbar, type BalloonToolbarShowEvent } from './toolbar/balloon/balloontoolbar.js';
57
- export { default as BlockToolbar } from './toolbar/block/blocktoolbar.js';
58
- export { default as View, type UIViewRenderEvent } from './view.js';
59
- export { default as ViewCollection } from './viewcollection.js';
8
+ export { default as clickOutsideHandler } from './bindings/clickoutsidehandler';
9
+ export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler';
10
+ export { default as CssTransitionDisablerMixin, type ViewWithCssTransitionDisabler } from './bindings/csstransitiondisablermixin';
11
+ export { default as submitHandler } from './bindings/submithandler';
12
+ export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid';
13
+ export { default as BodyCollection } from './editorui/bodycollection';
14
+ export { type ButtonExecuteEvent } from './button/button';
15
+ export { default as ButtonView } from './button/buttonview';
16
+ export { default as SwitchButtonView } from './button/switchbuttonview';
17
+ export * from './colorgrid/utils';
18
+ export { default as ColorGridView, type ColorDefinition } from './colorgrid/colorgridview';
19
+ export { default as ColorTileView } from './colorgrid/colortileview';
20
+ export { default as ColorPickerView } from './colorpicker/colorpickerview';
21
+ export type { ColorPickerConfig, ColorPickerViewConfig, ColorPickerOutputFormat } from './colorpicker/utils';
22
+ export { default as ColorSelectorView, type ColorSelectorExecuteEvent, type ColorSelectorColorPickerCancelEvent, type ColorSelectorColorPickerShowEvent } from './colorselector/colorselectorview';
23
+ export { default as ComponentFactory } from './componentfactory';
24
+ export { default as DropdownView } from './dropdown/dropdownview';
25
+ export { default as DropdownPanelView } from './dropdown/dropdownpanelview';
26
+ export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview';
27
+ export { default as SplitButtonView } from './dropdown/button/splitbuttonview';
28
+ export * from './dropdown/utils';
29
+ export { default as EditorUI, type EditorUIReadyEvent, type EditorUIUpdateEvent } from './editorui/editorui';
30
+ export { default as EditorUIView } from './editorui/editoruiview';
31
+ export { default as BoxedEditorUIView } from './editorui/boxed/boxededitoruiview';
32
+ export { default as InlineEditableUIView } from './editableui/inline/inlineeditableuiview';
33
+ export { default as FormHeaderView } from './formheader/formheaderview';
34
+ export { default as FocusCycler, type FocusableView } from './focuscycler';
35
+ export { default as IconView } from './icon/iconview';
36
+ export { default as InputView } from './input/inputview';
37
+ export { default as InputTextView } from './inputtext/inputtextview';
38
+ export { default as InputNumberView } from './inputnumber/inputnumberview';
39
+ export { default as IframeView } from './iframe/iframeview';
40
+ export { default as LabelView } from './label/labelview';
41
+ export { default as LabeledFieldView } from './labeledfield/labeledfieldview';
42
+ export * from './labeledfield/utils';
43
+ export { default as ListItemView } from './list/listitemview';
44
+ export { default as ListView } from './list/listview';
45
+ export { default as Notification } from './notification/notification';
46
+ export { default as Model } from './model';
47
+ export { default as BalloonPanelView } from './panel/balloon/balloonpanelview';
48
+ export { default as ContextualBalloon } from './panel/balloon/contextualballoon';
49
+ export { default as StickyPanelView } from './panel/sticky/stickypanelview';
50
+ export { default as TooltipManager } from './tooltipmanager';
51
+ export { default as Template, type TemplateDefinition } from './template';
52
+ export { default as ToolbarView } from './toolbar/toolbarview';
53
+ export { default as ToolbarLineBreakView } from './toolbar/toolbarlinebreakview';
54
+ export { default as ToolbarSeparatorView } from './toolbar/toolbarseparatorview';
55
+ export { default as normalizeToolbarConfig } from './toolbar/normalizetoolbarconfig';
56
+ export { default as BalloonToolbar, type BalloonToolbarShowEvent } from './toolbar/balloon/balloontoolbar';
57
+ export { default as BlockToolbar } from './toolbar/block/blocktoolbar';
58
+ export { default as View, type UIViewRenderEvent } from './view';
59
+ export { default as ViewCollection } from './viewcollection';
60
60
  export declare const icons: {
61
61
  colorPaletteIcon: string;
62
62
  };
63
- import './augmentation.js';
63
+ import './augmentation';
package/src/index.js CHANGED
@@ -5,58 +5,58 @@
5
5
  /**
6
6
  * @module ui
7
7
  */
8
- export { default as clickOutsideHandler } from './bindings/clickoutsidehandler.js';
9
- export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler.js';
10
- export { default as CssTransitionDisablerMixin } from './bindings/csstransitiondisablermixin.js';
11
- export { default as submitHandler } from './bindings/submithandler.js';
12
- export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid.js';
13
- export { default as BodyCollection } from './editorui/bodycollection.js';
14
- export { default as ButtonView } from './button/buttonview.js';
15
- export { default as SwitchButtonView } from './button/switchbuttonview.js';
16
- export * from './colorgrid/utils.js';
17
- export { default as ColorGridView } from './colorgrid/colorgridview.js';
18
- export { default as ColorTileView } from './colorgrid/colortileview.js';
19
- export { default as ColorPickerView } from './colorpicker/colorpickerview.js';
20
- export { default as ColorSelectorView } from './colorselector/colorselectorview.js';
21
- export { default as ComponentFactory } from './componentfactory.js';
22
- export { default as DropdownView } from './dropdown/dropdownview.js';
23
- export { default as DropdownPanelView } from './dropdown/dropdownpanelview.js';
24
- export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview.js';
25
- export { default as SplitButtonView } from './dropdown/button/splitbuttonview.js';
26
- export * from './dropdown/utils.js';
27
- export { default as EditorUI } from './editorui/editorui.js';
28
- export { default as EditorUIView } from './editorui/editoruiview.js';
29
- export { default as BoxedEditorUIView } from './editorui/boxed/boxededitoruiview.js';
30
- export { default as InlineEditableUIView } from './editableui/inline/inlineeditableuiview.js';
31
- export { default as FormHeaderView } from './formheader/formheaderview.js';
32
- export { default as FocusCycler } from './focuscycler.js';
33
- export { default as IconView } from './icon/iconview.js';
34
- export { default as InputView } from './input/inputview.js';
35
- export { default as InputTextView } from './inputtext/inputtextview.js';
36
- export { default as InputNumberView } from './inputnumber/inputnumberview.js';
37
- export { default as IframeView } from './iframe/iframeview.js';
38
- export { default as LabelView } from './label/labelview.js';
39
- export { default as LabeledFieldView } from './labeledfield/labeledfieldview.js';
40
- export * from './labeledfield/utils.js';
41
- export { default as ListItemView } from './list/listitemview.js';
42
- export { default as ListView } from './list/listview.js';
43
- export { default as Notification } from './notification/notification.js';
44
- export { default as Model } from './model.js';
45
- export { default as BalloonPanelView } from './panel/balloon/balloonpanelview.js';
46
- export { default as ContextualBalloon } from './panel/balloon/contextualballoon.js';
47
- export { default as StickyPanelView } from './panel/sticky/stickypanelview.js';
48
- export { default as TooltipManager } from './tooltipmanager.js';
49
- export { default as Template } from './template.js';
50
- export { default as ToolbarView } from './toolbar/toolbarview.js';
51
- export { default as ToolbarLineBreakView } from './toolbar/toolbarlinebreakview.js';
52
- export { default as ToolbarSeparatorView } from './toolbar/toolbarseparatorview.js';
53
- export { default as normalizeToolbarConfig } from './toolbar/normalizetoolbarconfig.js';
54
- export { default as BalloonToolbar } from './toolbar/balloon/balloontoolbar.js';
55
- export { default as BlockToolbar } from './toolbar/block/blocktoolbar.js';
56
- export { default as View } from './view.js';
57
- export { default as ViewCollection } from './viewcollection.js';
8
+ export { default as clickOutsideHandler } from './bindings/clickoutsidehandler';
9
+ export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler';
10
+ export { default as CssTransitionDisablerMixin } from './bindings/csstransitiondisablermixin';
11
+ export { default as submitHandler } from './bindings/submithandler';
12
+ export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid';
13
+ export { default as BodyCollection } from './editorui/bodycollection';
14
+ export { default as ButtonView } from './button/buttonview';
15
+ export { default as SwitchButtonView } from './button/switchbuttonview';
16
+ export * from './colorgrid/utils';
17
+ export { default as ColorGridView } from './colorgrid/colorgridview';
18
+ export { default as ColorTileView } from './colorgrid/colortileview';
19
+ export { default as ColorPickerView } from './colorpicker/colorpickerview';
20
+ export { default as ColorSelectorView } from './colorselector/colorselectorview';
21
+ export { default as ComponentFactory } from './componentfactory';
22
+ export { default as DropdownView } from './dropdown/dropdownview';
23
+ export { default as DropdownPanelView } from './dropdown/dropdownpanelview';
24
+ export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview';
25
+ export { default as SplitButtonView } from './dropdown/button/splitbuttonview';
26
+ export * from './dropdown/utils';
27
+ export { default as EditorUI } from './editorui/editorui';
28
+ export { default as EditorUIView } from './editorui/editoruiview';
29
+ export { default as BoxedEditorUIView } from './editorui/boxed/boxededitoruiview';
30
+ export { default as InlineEditableUIView } from './editableui/inline/inlineeditableuiview';
31
+ export { default as FormHeaderView } from './formheader/formheaderview';
32
+ export { default as FocusCycler } from './focuscycler';
33
+ export { default as IconView } from './icon/iconview';
34
+ export { default as InputView } from './input/inputview';
35
+ export { default as InputTextView } from './inputtext/inputtextview';
36
+ export { default as InputNumberView } from './inputnumber/inputnumberview';
37
+ export { default as IframeView } from './iframe/iframeview';
38
+ export { default as LabelView } from './label/labelview';
39
+ export { default as LabeledFieldView } from './labeledfield/labeledfieldview';
40
+ export * from './labeledfield/utils';
41
+ export { default as ListItemView } from './list/listitemview';
42
+ export { default as ListView } from './list/listview';
43
+ export { default as Notification } from './notification/notification';
44
+ export { default as Model } from './model';
45
+ export { default as BalloonPanelView } from './panel/balloon/balloonpanelview';
46
+ export { default as ContextualBalloon } from './panel/balloon/contextualballoon';
47
+ export { default as StickyPanelView } from './panel/sticky/stickypanelview';
48
+ export { default as TooltipManager } from './tooltipmanager';
49
+ export { default as Template } from './template';
50
+ export { default as ToolbarView } from './toolbar/toolbarview';
51
+ export { default as ToolbarLineBreakView } from './toolbar/toolbarlinebreakview';
52
+ export { default as ToolbarSeparatorView } from './toolbar/toolbarseparatorview';
53
+ export { default as normalizeToolbarConfig } from './toolbar/normalizetoolbarconfig';
54
+ export { default as BalloonToolbar } from './toolbar/balloon/balloontoolbar';
55
+ export { default as BlockToolbar } from './toolbar/block/blocktoolbar';
56
+ export { default as View } from './view';
57
+ export { default as ViewCollection } from './viewcollection';
58
58
  import { default as colorPaletteIcon } from '../theme/icons/color-palette.svg';
59
59
  export const icons = {
60
60
  colorPaletteIcon
61
61
  };
62
- import './augmentation.js';
62
+ import './augmentation';
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/input/inputview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import { FocusTracker, type Locale } from '@ckeditor/ckeditor5-utils';
10
10
  import '../../theme/components/input/input.css';
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/input/inputview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import { FocusTracker } from '@ckeditor/ckeditor5-utils';
10
10
  import '../../theme/components/input/input.css';
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/inputnumber/inputnumberview
7
7
  */
8
- import InputView from '../input/inputview.js';
8
+ import InputView from '../input/inputview';
9
9
  import type { Locale } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The number input view class.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/inputnumber/inputnumberview
7
7
  */
8
- import InputView from '../input/inputview.js';
8
+ import InputView from '../input/inputview';
9
9
  /**
10
10
  * The number input view class.
11
11
  */
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/inputtext/inputtextview
7
7
  */
8
- import InputView from '../input/inputview.js';
8
+ import InputView from '../input/inputview';
9
9
  import type { Locale } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The text input view class.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/inputtext/inputtextview
7
7
  */
8
- import InputView from '../input/inputview.js';
8
+ import InputView from '../input/inputview';
9
9
  /**
10
10
  * The text input view class.
11
11
  */
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/label/labelview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import { type Locale } from '@ckeditor/ckeditor5-utils';
10
10
  import '../../theme/components/label/label.css';
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ui/label/labelview
7
7
  */
8
- import View from '../view.js';
8
+ import View from '../view';
9
9
  import { uid } from '@ckeditor/ckeditor5-utils';
10
10
  import '../../theme/components/label/label.css';
11
11
  /**
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module ui/labeledfield/labeledfieldview
7
7
  */
8
- import View from '../view.js';
9
- import LabelView from '../label/labelview.js';
10
- import type { FocusableView } from '../focuscycler.js';
11
- import type ViewCollection from '../viewcollection.js';
8
+ import View from '../view';
9
+ import LabelView from '../label/labelview';
10
+ import type { FocusableView } from '../focuscycler';
11
+ import type ViewCollection from '../viewcollection';
12
12
  import { type Locale } from '@ckeditor/ckeditor5-utils';
13
13
  import '../../theme/components/labeledfield/labeledfieldview.css';
14
14
  /**
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module ui/labeledfield/labeledfieldview
7
7
  */
8
- import View from '../view.js';
9
- import LabelView from '../label/labelview.js';
8
+ import View from '../view';
9
+ import LabelView from '../label/labelview';
10
10
  import { uid } from '@ckeditor/ckeditor5-utils';
11
11
  import '../../theme/components/labeledfield/labeledfieldview.css';
12
12
  /**
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module ui/labeledfield/utils
7
7
  */
8
- import InputTextView from '../inputtext/inputtextview.js';
9
- import InputNumberView from '../inputnumber/inputnumberview.js';
10
- import type LabeledFieldView from './labeledfieldview.js';
11
- import type DropdownView from '../dropdown/dropdownview.js';
8
+ import InputTextView from '../inputtext/inputtextview';
9
+ import InputNumberView from '../inputnumber/inputnumberview';
10
+ import type LabeledFieldView from './labeledfieldview';
11
+ import type DropdownView from '../dropdown/dropdownview';
12
12
  /**
13
13
  * A helper for creating labeled inputs.
14
14
  *