@ckeditor/ckeditor5-ui 33.0.0 → 34.2.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.
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor 5 UI framework** – https://github.com/ckeditor/ckeditor5-ui <br>
5
- Copyright (c) 2003-2022, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
5
+ Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
8
 
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
14
14
  Trademarks
15
15
  ----------
16
16
 
17
- **CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
17
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
package/README.md CHANGED
@@ -3,7 +3,8 @@ CKEditor 5 UI framework
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-ui.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
- [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://travis-ci.com/ckeditor/ckeditor5)
6
+ [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
+ ![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-ui)
7
8
 
8
9
  This package implements a simple UI framework and CKEditor 5's standard UI library.
9
10
 
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
16
16
  "Language: es\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "Title of the CKEditor5 editor."
20
20
  msgid "Rich Text Editor, %0"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
16
16
  "Language: fr\n"
17
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "Title of the CKEditor5 editor."
20
20
  msgid "Rich Text Editor, %0"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
16
16
  "Language: it\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "Title of the CKEditor5 editor."
20
20
  msgid "Rich Text Editor, %0"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "Title of the CKEditor5 editor."
20
20
  msgid "Rich Text Editor, %0"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "Title of the CKEditor5 editor."
20
20
  msgid "Rich Text Editor, %0"
@@ -30,11 +30,11 @@ msgstr ""
30
30
 
31
31
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
32
  msgid "Next"
33
- msgstr ""
33
+ msgstr "Seguinte"
34
34
 
35
35
  msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
36
36
  msgid "Previous"
37
- msgstr ""
37
+ msgstr "Anterior"
38
38
 
39
39
  msgctxt "Label used by assistive technologies describing a generic editor toolbar."
40
40
  msgid "Editor toolbar"
@@ -0,0 +1,105 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
16
+ "Language: ur\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "Title of the CKEditor5 editor."
20
+ msgid "Rich Text Editor, %0"
21
+ msgstr ""
22
+
23
+ msgctxt "Title of the CKEditor5 editor."
24
+ msgid "Rich Text Editor"
25
+ msgstr ""
26
+
27
+ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
28
+ msgid "Edit block"
29
+ msgstr ""
30
+
31
+ msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
+ msgid "Next"
33
+ msgstr "اگلا"
34
+
35
+ msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
36
+ msgid "Previous"
37
+ msgstr "پچھلا"
38
+
39
+ msgctxt "Label used by assistive technologies describing a generic editor toolbar."
40
+ msgid "Editor toolbar"
41
+ msgstr ""
42
+
43
+ msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown."
44
+ msgid "Dropdown toolbar"
45
+ msgstr "آلہ جات برائے فہرست "
46
+
47
+ msgctxt "Label of a button that applies a black color in color pickers."
48
+ msgid "Black"
49
+ msgstr ""
50
+
51
+ msgctxt "Label of a button that applies a dim grey color in color pickers."
52
+ msgid "Dim grey"
53
+ msgstr ""
54
+
55
+ msgctxt "Label of a button that applies a grey color in color pickers."
56
+ msgid "Grey"
57
+ msgstr ""
58
+
59
+ msgctxt "Label of a button that applies a light grey color in color pickers."
60
+ msgid "Light grey"
61
+ msgstr ""
62
+
63
+ msgctxt "Label of a button that applies a white color in color pickers."
64
+ msgid "White"
65
+ msgstr ""
66
+
67
+ msgctxt "Label of a button that applies a red color in color pickers."
68
+ msgid "Red"
69
+ msgstr ""
70
+
71
+ msgctxt "Label of a button that applies a orange color in color pickers."
72
+ msgid "Orange"
73
+ msgstr ""
74
+
75
+ msgctxt "Label of a button that applies a yellow color in color pickers."
76
+ msgid "Yellow"
77
+ msgstr ""
78
+
79
+ msgctxt "Label of a button that applies a light green color in color pickers."
80
+ msgid "Light green"
81
+ msgstr ""
82
+
83
+ msgctxt "Label of a button that applies a green color in color pickers."
84
+ msgid "Green"
85
+ msgstr ""
86
+
87
+ msgctxt "Label of a button that applies a aquamarine color in color pickers."
88
+ msgid "Aquamarine"
89
+ msgstr ""
90
+
91
+ msgctxt "Label of a button that applies a turquoise color in color pickers."
92
+ msgid "Turquoise"
93
+ msgstr ""
94
+
95
+ msgctxt "Label of a button that applies a light blue color in color pickers."
96
+ msgid "Light blue"
97
+ msgstr ""
98
+
99
+ msgctxt "Label of a button that applies a blue color in color pickers."
100
+ msgid "Blue"
101
+ msgstr ""
102
+
103
+ msgctxt "Label of a button that applies a purple color in color pickers."
104
+ msgid "Purple"
105
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "33.0.0",
3
+ "version": "34.2.0",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,27 +11,27 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-utils": "^33.0.0",
15
- "@ckeditor/ckeditor5-core": "^33.0.0",
14
+ "@ckeditor/ckeditor5-utils": "^34.2.0",
15
+ "@ckeditor/ckeditor5-core": "^34.2.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-basic-styles": "^33.0.0",
20
- "@ckeditor/ckeditor5-block-quote": "^33.0.0",
21
- "@ckeditor/ckeditor5-editor-balloon": "^33.0.0",
22
- "@ckeditor/ckeditor5-editor-classic": "^33.0.0",
23
- "@ckeditor/ckeditor5-engine": "^33.0.0",
24
- "@ckeditor/ckeditor5-enter": "^33.0.0",
25
- "@ckeditor/ckeditor5-essentials": "^33.0.0",
26
- "@ckeditor/ckeditor5-heading": "^33.0.0",
27
- "@ckeditor/ckeditor5-image": "^33.0.0",
28
- "@ckeditor/ckeditor5-link": "^33.0.0",
29
- "@ckeditor/ckeditor5-list": "^33.0.0",
30
- "@ckeditor/ckeditor5-mention": "^33.0.0",
31
- "@ckeditor/ckeditor5-paragraph": "^33.0.0",
32
- "@ckeditor/ckeditor5-horizontal-line": "^33.0.0",
33
- "@ckeditor/ckeditor5-table": "^33.0.0",
34
- "@ckeditor/ckeditor5-typing": "^33.0.0"
19
+ "@ckeditor/ckeditor5-basic-styles": "^34.2.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^34.2.0",
21
+ "@ckeditor/ckeditor5-editor-balloon": "^34.2.0",
22
+ "@ckeditor/ckeditor5-editor-classic": "^34.2.0",
23
+ "@ckeditor/ckeditor5-engine": "^34.2.0",
24
+ "@ckeditor/ckeditor5-enter": "^34.2.0",
25
+ "@ckeditor/ckeditor5-essentials": "^34.2.0",
26
+ "@ckeditor/ckeditor5-heading": "^34.2.0",
27
+ "@ckeditor/ckeditor5-image": "^34.2.0",
28
+ "@ckeditor/ckeditor5-link": "^34.2.0",
29
+ "@ckeditor/ckeditor5-list": "^34.2.0",
30
+ "@ckeditor/ckeditor5-mention": "^34.2.0",
31
+ "@ckeditor/ckeditor5-paragraph": "^34.2.0",
32
+ "@ckeditor/ckeditor5-horizontal-line": "^34.2.0",
33
+ "@ckeditor/ckeditor5-table": "^34.2.0",
34
+ "@ckeditor/ckeditor5-typing": "^34.2.0"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=14.0.0",
@@ -229,6 +229,8 @@ export default class SplitButtonView extends View {
229
229
  } );
230
230
 
231
231
  arrowView.bind( 'isEnabled' ).to( this );
232
+ arrowView.bind( 'label' ).to( this );
233
+ arrowView.bind( 'tooltip' ).to( this );
232
234
 
233
235
  arrowView.delegate( 'execute' ).to( this, 'open' );
234
236
 
@@ -49,7 +49,7 @@ import '../../theme/components/dropdown/listdropdown.css';
49
49
  * {@link module:ui/dropdown/button/dropdownbutton~DropdownButton} interface). For instance, you can use
50
50
  * {@link module:ui/dropdown/button/splitbuttonview~SplitButtonView} to create a dropdown with a split button.
51
51
  *
52
- * const dropdown = createDropdown( model, SplitButtonView );
52
+ * const dropdown = createDropdown( locale, SplitButtonView );
53
53
  *
54
54
  * // Configure dropdown's button properties:
55
55
  * dropdown.buttonView.set( {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
6
  /**
@@ -31,12 +31,9 @@ a.ck.ck-button {
31
31
  justify-content: center;
32
32
  }
33
33
 
34
- &:hover {
34
+ &:hover,
35
+ /* Enable toolbar button tooltips for keyboard users too. See https://github.com/ckeditor/ckeditor5/issues/5581. */
36
+ &:focus {
35
37
  @mixin ck-tooltip_visible;
36
38
  }
37
-
38
- /* Get rid of the native focus outline around the tooltip when focused (but not :hover). */
39
- &:focus:not(:hover) {
40
- @mixin ck-tooltip_disabled;
41
- }
42
39
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  .ck.ck-reset,
7
7
  .ck.ck-reset_all,
8
- .ck.ck-reset_all * {
8
+ .ck-reset_all *:not(.ck-reset_all-excluded *) {
9
9
  box-sizing: border-box;
10
10
  width: auto;
11
11
  height: auto;