@ckeditor/ckeditor5-ui 48.0.1 → 48.1.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.
|
@@ -2,10 +2,10 @@
|
|
|
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
|
-
import type { FocusableView } from '../focuscycler.js';
|
|
6
5
|
/**
|
|
7
6
|
* @module ui/search/filteredview
|
|
8
7
|
*/
|
|
8
|
+
import type { FocusableView } from '../focuscycler.js';
|
|
9
9
|
/**
|
|
10
10
|
* A view that can be filtered by a {@link module:ui/search/text/searchtextview~SearchTextView}.
|
|
11
11
|
*/
|
|
@@ -2,10 +2,10 @@
|
|
|
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
|
-
import type { ToolbarConfig, ToolbarConfigItem } from '@ckeditor/ckeditor5-core';
|
|
6
5
|
/**
|
|
7
6
|
* @module ui/toolbar/normalizetoolbarconfig
|
|
8
7
|
*/
|
|
8
|
+
import type { ToolbarConfig, ToolbarConfigItem } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* Normalizes the toolbar configuration (`config.toolbar`), which:
|
|
11
11
|
*
|
package/dist/view.d.ts
CHANGED
|
@@ -77,41 +77,13 @@ declare const View_base: import("@ckeditor/ckeditor5-utils").Mixed<{
|
|
|
77
77
|
* console.log( 'The view has been clicked!' );
|
|
78
78
|
* } );
|
|
79
79
|
* ```
|
|
80
|
+
*
|
|
81
|
+
* @property {TElement | null} element An HTML element of the view. `null` until {@link module:ui/view~View#render rendered}
|
|
82
|
+
* from the {@link module:ui/view~View#template template}. The class-level example above illustrates typical usage. The
|
|
83
|
+
* full description, fenced examples, and assignment note are in the block comment immediately above the `element` field
|
|
84
|
+
* in the source.
|
|
80
85
|
*/
|
|
81
86
|
export declare class View<TElement extends HTMLElement = HTMLElement> extends /* #__PURE__ */ View_base {
|
|
82
|
-
/**
|
|
83
|
-
* An HTML element of the view. `null` until {@link #render rendered}
|
|
84
|
-
* from the {@link #template}.
|
|
85
|
-
*
|
|
86
|
-
* ```ts
|
|
87
|
-
* class SampleView extends View {
|
|
88
|
-
* constructor() {
|
|
89
|
-
* super();
|
|
90
|
-
*
|
|
91
|
-
* // A template instance the #element will be created from.
|
|
92
|
-
* this.setTemplate( {
|
|
93
|
-
* tag: 'p'
|
|
94
|
-
*
|
|
95
|
-
* // ...
|
|
96
|
-
* } );
|
|
97
|
-
* }
|
|
98
|
-
* }
|
|
99
|
-
*
|
|
100
|
-
* const view = new SampleView();
|
|
101
|
-
*
|
|
102
|
-
* // Renders the #template.
|
|
103
|
-
* view.render();
|
|
104
|
-
*
|
|
105
|
-
* // Append the HTML element of the view to <body>.
|
|
106
|
-
* document.body.appendChild( view.element );
|
|
107
|
-
* ```
|
|
108
|
-
*
|
|
109
|
-
* **Note**: The element of the view can also be assigned directly:
|
|
110
|
-
*
|
|
111
|
-
* ```ts
|
|
112
|
-
* view.element = document.querySelector( '#my-container' );
|
|
113
|
-
* ```
|
|
114
|
-
*/
|
|
115
87
|
element: TElement | null;
|
|
116
88
|
/**
|
|
117
89
|
* Set `true` when the view has already been {@link module:ui/view~View#render rendered}.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "48.0.
|
|
3
|
+
"version": "48.1.0-alpha.0",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"dist/translations/*.umd.js"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ckeditor/ckeditor5-core": "48.0.
|
|
33
|
-
"@ckeditor/ckeditor5-editor-multi-root": "48.0.
|
|
34
|
-
"@ckeditor/ckeditor5-engine": "48.0.
|
|
35
|
-
"@ckeditor/ckeditor5-icons": "48.0.
|
|
36
|
-
"@ckeditor/ckeditor5-utils": "48.0.
|
|
32
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.0",
|
|
33
|
+
"@ckeditor/ckeditor5-editor-multi-root": "48.1.0-alpha.0",
|
|
34
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.0",
|
|
35
|
+
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.0",
|
|
36
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.0",
|
|
37
37
|
"@types/color-convert": "2.0.4",
|
|
38
38
|
"color-convert": "3.1.0",
|
|
39
39
|
"color-parse": "2.0.2",
|