@ckeditor/ckeditor5-ui 37.0.0-alpha.1 → 37.0.0-alpha.3
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "37.0.0-alpha.
|
|
3
|
+
"version": "37.0.0-alpha.3",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -11,29 +11,29 @@
|
|
|
11
11
|
],
|
|
12
12
|
"main": "src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.
|
|
15
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
|
14
|
+
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
|
|
16
16
|
"lodash-es": "^4.17.15"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-editor-balloon": "^37.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-font": "^37.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-find-and-replace": "^37.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-heading": "^37.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-mention": "^37.0.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-horizontal-line": "^37.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.
|
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
|
|
20
|
+
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.3",
|
|
21
|
+
"@ckeditor/ckeditor5-editor-balloon": "^37.0.0-alpha.3",
|
|
22
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
|
|
23
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
|
|
24
|
+
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.3",
|
|
25
|
+
"@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.3",
|
|
26
|
+
"@ckeditor/ckeditor5-font": "^37.0.0-alpha.3",
|
|
27
|
+
"@ckeditor/ckeditor5-find-and-replace": "^37.0.0-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-heading": "^37.0.0-alpha.3",
|
|
29
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.3",
|
|
30
|
+
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.3",
|
|
31
|
+
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.3",
|
|
32
|
+
"@ckeditor/ckeditor5-mention": "^37.0.0-alpha.3",
|
|
33
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
|
|
34
|
+
"@ckeditor/ckeditor5-horizontal-line": "^37.0.0-alpha.3",
|
|
35
|
+
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.3",
|
|
36
|
+
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.3",
|
|
37
37
|
"typescript": "^4.8.4",
|
|
38
38
|
"webpack": "^5.58.1",
|
|
39
39
|
"webpack-cli": "^4.9.0"
|
|
@@ -25,10 +25,9 @@ export default class ColorGridView extends View {
|
|
|
25
25
|
* @param options.columns A number of columns to display the tiles.
|
|
26
26
|
*/
|
|
27
27
|
constructor(locale, options) {
|
|
28
|
-
var _a, _b;
|
|
29
28
|
super(locale);
|
|
30
|
-
const colorDefinitions =
|
|
31
|
-
this.columns =
|
|
29
|
+
const colorDefinitions = options && options.colorDefinitions ? options.colorDefinitions : [];
|
|
30
|
+
this.columns = options && options.columns ? options.columns : 5;
|
|
32
31
|
const viewStyleAttribute = {
|
|
33
32
|
gridTemplateColumns: `repeat( ${this.columns}, 1fr)`
|
|
34
33
|
};
|
package/src/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { default as ColorGridView, type ColorDefinition } from './colorgrid/colo
|
|
|
19
19
|
export { default as ColorTileView } from './colorgrid/colortileview';
|
|
20
20
|
export { default as ComponentFactory } from './componentfactory';
|
|
21
21
|
export { default as DropdownView } from './dropdown/dropdownview';
|
|
22
|
+
export { default as DropdownPanelView } from './dropdown/dropdownpanelview';
|
|
22
23
|
export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview';
|
|
23
24
|
export { default as SplitButtonView } from './dropdown/button/splitbuttonview';
|
|
24
25
|
export * from './dropdown/utils';
|
package/src/index.js
CHANGED
|
@@ -18,6 +18,7 @@ export { default as ColorGridView } from './colorgrid/colorgridview';
|
|
|
18
18
|
export { default as ColorTileView } from './colorgrid/colortileview';
|
|
19
19
|
export { default as ComponentFactory } from './componentfactory';
|
|
20
20
|
export { default as DropdownView } from './dropdown/dropdownview';
|
|
21
|
+
export { default as DropdownPanelView } from './dropdown/dropdownpanelview';
|
|
21
22
|
export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview';
|
|
22
23
|
export { default as SplitButtonView } from './dropdown/button/splitbuttonview';
|
|
23
24
|
export * from './dropdown/utils';
|
|
@@ -2,8 +2,12 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @module ui/toolbar/balloon/balloontoolbar
|
|
7
|
+
*/
|
|
8
|
+
import ContextualBalloon from '../../panel/balloon/contextualballoon';
|
|
5
9
|
import ToolbarView from '../toolbarview';
|
|
6
|
-
import { Plugin, type Editor
|
|
10
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
7
11
|
import { FocusTracker } from '@ckeditor/ckeditor5-utils';
|
|
8
12
|
/**
|
|
9
13
|
* The contextual toolbar.
|
|
@@ -55,7 +59,7 @@ export default class BalloonToolbar extends Plugin {
|
|
|
55
59
|
/**
|
|
56
60
|
* @inheritDoc
|
|
57
61
|
*/
|
|
58
|
-
static get requires():
|
|
62
|
+
static get requires(): readonly [typeof ContextualBalloon];
|
|
59
63
|
/**
|
|
60
64
|
* @inheritDoc
|
|
61
65
|
*/
|