@ckeditor/ckeditor5-editor-decoupled 48.2.0-alpha.7 → 48.3.0-alpha.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.
@@ -1,58 +1,58 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module editor-decoupled/decouplededitoruiview
7
- */
8
- import { EditorUIView, InlineEditableUIView, MenuBarView, ToolbarView } from '@ckeditor/ckeditor5-ui';
9
- import type { Locale } from '@ckeditor/ckeditor5-utils';
10
- import type { EditingView } from '@ckeditor/ckeditor5-engine';
11
- import type { ViewRootElementDefinition } from '@ckeditor/ckeditor5-core';
6
+ * @module editor-decoupled/decouplededitoruiview
7
+ */
8
+ import { EditorUIView, InlineEditableUIView, MenuBarView, ToolbarView } from "@ckeditor/ckeditor5-ui";
9
+ import type { Locale } from "@ckeditor/ckeditor5-utils";
10
+ import type { EditingView } from "@ckeditor/ckeditor5-engine";
11
+ import type { ViewRootElementDefinition } from "@ckeditor/ckeditor5-core";
12
12
  /**
13
- * The decoupled editor UI view. It is a virtual view providing an inline
14
- * {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#editable},
15
- * {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#toolbar}, and a
16
- * {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#menuBarView} but without any
17
- * specific arrangement of the components in the DOM.
18
- *
19
- * See {@link module:editor-decoupled/decouplededitor~DecoupledEditor.create `DecoupledEditor.create()`}
20
- * to learn more about this view.
21
- */
13
+ * The decoupled editor UI view. It is a virtual view providing an inline
14
+ * {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#editable},
15
+ * {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#toolbar}, and a
16
+ * {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#menuBarView} but without any
17
+ * specific arrangement of the components in the DOM.
18
+ *
19
+ * See {@link module:editor-decoupled/decouplededitor~DecoupledEditor.create `DecoupledEditor.create()`}
20
+ * to learn more about this view.
21
+ */
22
22
  export declare class DecoupledEditorUIView extends EditorUIView {
23
- /**
24
- * The main toolbar of the decoupled editor UI.
25
- */
26
- readonly toolbar: ToolbarView;
27
- /**
28
- * The editable of the decoupled editor UI.
29
- */
30
- readonly editable: InlineEditableUIView;
31
- /**
32
- * Menu bar view instance.
33
- */
34
- menuBarView: MenuBarView;
35
- /**
36
- * Creates an instance of the decoupled editor UI view.
37
- *
38
- * @param locale The {@link module:core/editor/editor~Editor#locale} instance.
39
- * @param editingView The editing view instance this view is related to.
40
- * @param options Configuration options for the view instance.
41
- * @param options.editableElement The editable element. If not specified, it will be automatically created by
42
- * {@link module:ui/editableui/editableuiview~EditableUIView}. Otherwise, the given element will be used.
43
- * @param options.shouldToolbarGroupWhenFull When set `true` enables automatic items grouping
44
- * in the main {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#toolbar toolbar}.
45
- * See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
46
- * @param options.label When set, this value will be used as an accessible `aria-label` of the
47
- * {@link module:ui/editableui/editableuiview~EditableUIView editable view}.
48
- */
49
- constructor(locale: Locale, editingView: EditingView, options?: {
50
- editableElement?: HTMLElement | ViewRootElementDefinition;
51
- shouldToolbarGroupWhenFull?: boolean;
52
- label?: string | Record<string, string>;
53
- });
54
- /**
55
- * @inheritDoc
56
- */
57
- render(): void;
23
+ /**
24
+ * The main toolbar of the decoupled editor UI.
25
+ */
26
+ override readonly toolbar: ToolbarView;
27
+ /**
28
+ * The editable of the decoupled editor UI.
29
+ */
30
+ readonly editable: InlineEditableUIView;
31
+ /**
32
+ * Menu bar view instance.
33
+ */
34
+ override menuBarView: MenuBarView;
35
+ /**
36
+ * Creates an instance of the decoupled editor UI view.
37
+ *
38
+ * @param locale The {@link module:core/editor/editor~Editor#locale} instance.
39
+ * @param editingView The editing view instance this view is related to.
40
+ * @param options Configuration options for the view instance.
41
+ * @param options.editableElement The editable element. If not specified, it will be automatically created by
42
+ * {@link module:ui/editableui/editableuiview~EditableUIView}. Otherwise, the given element will be used.
43
+ * @param options.shouldToolbarGroupWhenFull When set `true` enables automatic items grouping
44
+ * in the main {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#toolbar toolbar}.
45
+ * See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
46
+ * @param options.label When set, this value will be used as an accessible `aria-label` of the
47
+ * {@link module:ui/editableui/editableuiview~EditableUIView editable view}.
48
+ */
49
+ constructor(locale: Locale, editingView: EditingView, options?: {
50
+ editableElement?: HTMLElement | ViewRootElementDefinition;
51
+ shouldToolbarGroupWhenFull?: boolean;
52
+ label?: string | Record<string, string>;
53
+ });
54
+ /**
55
+ * @inheritDoc
56
+ */
57
+ override render(): void;
58
58
  }
@@ -2,3 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+
@@ -2,3 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+
package/dist/index.css CHANGED
@@ -3,5 +3,3 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
-
7
- /*# sourceMappingURL=index.css.map */
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module editor-decoupled
7
- */
8
- export { DecoupledEditor } from './decouplededitor.js';
9
- export { DecoupledEditorUI } from './decouplededitorui.js';
10
- export { DecoupledEditorUIView } from './decouplededitoruiview.js';
6
+ * @module editor-decoupled
7
+ */
8
+ export { DecoupledEditor } from "./decouplededitor.js";
9
+ export { DecoupledEditorUI } from "./decouplededitorui.js";
10
+ export { DecoupledEditorUIView } from "./decouplededitoruiview.js";