@ckeditor/ckeditor5-ui 37.0.0-alpha.1 → 37.0.0-alpha.2
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 +21 -21
- package/src/colorgrid/colorgridview.js +2 -3
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.2",
|
|
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.2",
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
|
|
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.2",
|
|
20
|
+
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
|
|
21
|
+
"@ckeditor/ckeditor5-editor-balloon": "^37.0.0-alpha.2",
|
|
22
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
|
|
23
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
|
|
24
|
+
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.2",
|
|
25
|
+
"@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.2",
|
|
26
|
+
"@ckeditor/ckeditor5-font": "^37.0.0-alpha.2",
|
|
27
|
+
"@ckeditor/ckeditor5-find-and-replace": "^37.0.0-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-heading": "^37.0.0-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.2",
|
|
30
|
+
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.2",
|
|
31
|
+
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.2",
|
|
32
|
+
"@ckeditor/ckeditor5-mention": "^37.0.0-alpha.2",
|
|
33
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
|
|
34
|
+
"@ckeditor/ckeditor5-horizontal-line": "^37.0.0-alpha.2",
|
|
35
|
+
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.2",
|
|
36
|
+
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
|
|
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
|
};
|