@ckeditor/ckeditor5-ui 31.0.0 → 33.0.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 +2 -2
- package/lang/translations/ar.po +2 -2
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +23 -23
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +4 -4
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +2 -2
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/ug.po +2 -2
- package/lang/translations/uk.po +1 -1
- package/lang/translations/uz.po +105 -0
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +20 -20
- package/src/bindings/clickoutsidehandler.js +1 -1
- package/src/bindings/injectcsstransitiondisabler.js +1 -1
- package/src/bindings/preventdefault.js +1 -1
- package/src/bindings/submithandler.js +1 -1
- package/src/button/button.jsdoc +1 -1
- package/src/button/buttonview.js +1 -1
- package/src/button/switchbuttonview.js +1 -1
- package/src/colorgrid/colorgridview.js +11 -1
- package/src/colorgrid/colortileview.js +1 -1
- package/src/colorgrid/utils.js +1 -1
- package/src/componentfactory.js +1 -1
- package/src/dropdown/button/dropdownbutton.jsdoc +1 -1
- package/src/dropdown/button/dropdownbuttonview.js +1 -1
- package/src/dropdown/button/splitbuttonview.js +11 -1
- package/src/dropdown/dropdownpanelfocusable.jsdoc +1 -1
- package/src/dropdown/dropdownpanelview.js +1 -1
- package/src/dropdown/dropdownview.js +1 -1
- package/src/dropdown/utils.js +1 -1
- package/src/editableui/editableuiview.js +1 -1
- package/src/editableui/inline/inlineeditableuiview.js +1 -1
- package/src/editorui/bodycollection.js +1 -1
- package/src/editorui/boxed/boxededitoruiview.js +1 -1
- package/src/editorui/editoruiview.js +1 -1
- package/src/focuscycler.js +19 -4
- package/src/formheader/formheaderview.js +1 -1
- package/src/icon/iconview.js +1 -1
- package/src/iframe/iframeview.js +1 -1
- package/src/index.js +3 -1
- package/src/input/inputview.js +216 -0
- package/src/inputnumber/inputnumberview.js +71 -0
- package/src/inputtext/inputtextview.js +7 -172
- package/src/label/labelview.js +1 -1
- package/src/labeledfield/labeledfieldview.js +1 -1
- package/src/labeledfield/utils.js +54 -5
- package/src/labeledinput/labeledinputview.js +1 -1
- package/src/list/listitemview.js +1 -1
- package/src/list/listseparatorview.js +1 -1
- package/src/list/listview.js +11 -1
- package/src/model.js +1 -1
- package/src/notification/notification.js +1 -1
- package/src/panel/balloon/balloonpanelview.js +289 -225
- package/src/panel/balloon/contextualballoon.js +21 -1
- package/src/panel/sticky/stickypanelview.js +1 -1
- package/src/template.js +1 -1
- package/src/toolbar/balloon/balloontoolbar.js +48 -35
- package/src/toolbar/block/blockbuttonview.js +1 -1
- package/src/toolbar/block/blocktoolbar.js +1 -1
- package/src/toolbar/enabletoolbarkeyboardfocus.js +1 -1
- package/src/toolbar/normalizetoolbarconfig.js +1 -1
- package/src/toolbar/toolbarlinebreakview.js +1 -1
- package/src/toolbar/toolbarseparatorview.js +1 -1
- package/src/toolbar/toolbarview.js +5 -2
- package/src/tooltip/tooltipview.js +1 -1
- package/src/view.js +1 -1
- package/src/viewcollection.js +1 -1
- package/theme/components/button/button.css +1 -1
- package/theme/components/button/switchbutton.css +1 -1
- package/theme/components/colorgrid/colorgrid.css +1 -1
- package/theme/components/dropdown/dropdown.css +1 -1
- package/theme/components/dropdown/listdropdown.css +1 -1
- package/theme/components/dropdown/splitbutton.css +1 -1
- package/theme/components/dropdown/toolbardropdown.css +1 -1
- package/theme/components/editorui/editorui.css +1 -1
- package/theme/components/formheader/formheader.css +1 -1
- package/theme/components/icon/icon.css +1 -1
- package/theme/components/{inputtext/inputtext.css → input/input.css} +1 -1
- package/theme/components/label/label.css +1 -1
- package/theme/components/labeledfield/labeledfieldview.css +1 -1
- package/theme/components/labeledinput/labeledinput.css +1 -1
- package/theme/components/list/list.css +1 -1
- package/theme/components/panel/balloonpanel.css +1 -1
- package/theme/components/panel/balloonrotator.css +1 -1
- package/theme/components/panel/fakepanel.css +1 -1
- package/theme/components/panel/stickypanel.css +1 -1
- package/theme/components/responsive-form/responsiveform.css +1 -1
- package/theme/components/toolbar/blocktoolbar.css +1 -1
- package/theme/components/toolbar/toolbar.css +1 -1
- package/theme/components/tooltip/mixins/_tooltip.css +1 -1
- package/theme/components/tooltip/tooltip.css +1 -1
- package/theme/globals/_hidden.css +1 -1
- package/theme/globals/_reset.css +1 -1
- package/theme/globals/_transition.css +1 -1
- package/theme/globals/_zindex.css +1 -1
- package/theme/globals/globals.css +1 -1
- package/theme/mixins/_dir.css +1 -1
- package/theme/mixins/_rwd.css +1 -1
- package/theme/mixins/_unselectable.css +1 -1
|
@@ -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: Uzbek (https://www.transifex.com/ckeditor/teams/11143/uz/)\n"
|
|
16
|
+
"Language: uz\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Title of the CKEditor5 editor."
|
|
20
|
+
msgid "Rich Text Editor, %0"
|
|
21
|
+
msgstr "Tahrirlovchi, %0"
|
|
22
|
+
|
|
23
|
+
msgctxt "Title of the CKEditor5 editor."
|
|
24
|
+
msgid "Rich Text Editor"
|
|
25
|
+
msgstr "Tahrirlovchi"
|
|
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 "Blokni tahrirlash"
|
|
30
|
+
|
|
31
|
+
msgctxt "Label for a button showing the next thing (tab, page, etc.)."
|
|
32
|
+
msgid "Next"
|
|
33
|
+
msgstr "Keyingi"
|
|
34
|
+
|
|
35
|
+
msgctxt "Label for a button showing the previous thing (tab, page, etc.)."
|
|
36
|
+
msgid "Previous"
|
|
37
|
+
msgstr "Oldingi"
|
|
38
|
+
|
|
39
|
+
msgctxt "Label used by assistive technologies describing a generic editor toolbar."
|
|
40
|
+
msgid "Editor toolbar"
|
|
41
|
+
msgstr "Tahrirlovchi asboblar paneli"
|
|
42
|
+
|
|
43
|
+
msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown."
|
|
44
|
+
msgid "Dropdown toolbar"
|
|
45
|
+
msgstr "Ochiladigan asboblar paneli"
|
|
46
|
+
|
|
47
|
+
msgctxt "Label of a button that applies a black color in color pickers."
|
|
48
|
+
msgid "Black"
|
|
49
|
+
msgstr "Qora"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label of a button that applies a dim grey color in color pickers."
|
|
52
|
+
msgid "Dim grey"
|
|
53
|
+
msgstr "To'q kulrang"
|
|
54
|
+
|
|
55
|
+
msgctxt "Label of a button that applies a grey color in color pickers."
|
|
56
|
+
msgid "Grey"
|
|
57
|
+
msgstr "Kulrang"
|
|
58
|
+
|
|
59
|
+
msgctxt "Label of a button that applies a light grey color in color pickers."
|
|
60
|
+
msgid "Light grey"
|
|
61
|
+
msgstr "Och kulrang"
|
|
62
|
+
|
|
63
|
+
msgctxt "Label of a button that applies a white color in color pickers."
|
|
64
|
+
msgid "White"
|
|
65
|
+
msgstr "Oq"
|
|
66
|
+
|
|
67
|
+
msgctxt "Label of a button that applies a red color in color pickers."
|
|
68
|
+
msgid "Red"
|
|
69
|
+
msgstr "Qizil"
|
|
70
|
+
|
|
71
|
+
msgctxt "Label of a button that applies a orange color in color pickers."
|
|
72
|
+
msgid "Orange"
|
|
73
|
+
msgstr "To'q sariq"
|
|
74
|
+
|
|
75
|
+
msgctxt "Label of a button that applies a yellow color in color pickers."
|
|
76
|
+
msgid "Yellow"
|
|
77
|
+
msgstr "Sariq"
|
|
78
|
+
|
|
79
|
+
msgctxt "Label of a button that applies a light green color in color pickers."
|
|
80
|
+
msgid "Light green"
|
|
81
|
+
msgstr "Och yashil"
|
|
82
|
+
|
|
83
|
+
msgctxt "Label of a button that applies a green color in color pickers."
|
|
84
|
+
msgid "Green"
|
|
85
|
+
msgstr "Yashil"
|
|
86
|
+
|
|
87
|
+
msgctxt "Label of a button that applies a aquamarine color in color pickers."
|
|
88
|
+
msgid "Aquamarine"
|
|
89
|
+
msgstr "Akuamarin"
|
|
90
|
+
|
|
91
|
+
msgctxt "Label of a button that applies a turquoise color in color pickers."
|
|
92
|
+
msgid "Turquoise"
|
|
93
|
+
msgstr "Turkuaz"
|
|
94
|
+
|
|
95
|
+
msgctxt "Label of a button that applies a light blue color in color pickers."
|
|
96
|
+
msgid "Light blue"
|
|
97
|
+
msgstr "Moviy"
|
|
98
|
+
|
|
99
|
+
msgctxt "Label of a button that applies a blue color in color pickers."
|
|
100
|
+
msgid "Blue"
|
|
101
|
+
msgstr "Ko'k"
|
|
102
|
+
|
|
103
|
+
msgctxt "Label of a button that applies a purple color in color pickers."
|
|
104
|
+
msgid "Purple"
|
|
105
|
+
msgstr "Siyohrang"
|
package/lang/translations/vi.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.0",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -11,30 +11,30 @@
|
|
|
11
11
|
],
|
|
12
12
|
"main": "src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
15
|
-
"@ckeditor/ckeditor5-core": "^
|
|
14
|
+
"@ckeditor/ckeditor5-utils": "^33.0.0",
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^33.0.0",
|
|
16
16
|
"lodash-es": "^4.17.15"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
|
20
|
-
"@ckeditor/ckeditor5-block-quote": "^
|
|
21
|
-
"@ckeditor/ckeditor5-editor-balloon": "^
|
|
22
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
|
23
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
24
|
-
"@ckeditor/ckeditor5-enter": "^
|
|
25
|
-
"@ckeditor/ckeditor5-essentials": "^
|
|
26
|
-
"@ckeditor/ckeditor5-heading": "^
|
|
27
|
-
"@ckeditor/ckeditor5-image": "^
|
|
28
|
-
"@ckeditor/ckeditor5-link": "^
|
|
29
|
-
"@ckeditor/ckeditor5-list": "^
|
|
30
|
-
"@ckeditor/ckeditor5-mention": "^
|
|
31
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
32
|
-
"@ckeditor/ckeditor5-horizontal-line": "^
|
|
33
|
-
"@ckeditor/ckeditor5-table": "^
|
|
34
|
-
"@ckeditor/ckeditor5-typing": "^
|
|
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"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
37
|
+
"node": ">=14.0.0",
|
|
38
38
|
"npm": ">=5.7.1"
|
|
39
39
|
},
|
|
40
40
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/button/button.jsdoc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/button/buttonview.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -176,6 +176,16 @@ export default class ColorGridView extends View {
|
|
|
176
176
|
this.keystrokes.listenTo( this.element );
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
+
/**
|
|
180
|
+
* @inheritDoc
|
|
181
|
+
*/
|
|
182
|
+
destroy() {
|
|
183
|
+
super.destroy();
|
|
184
|
+
|
|
185
|
+
this.focusTracker.destroy();
|
|
186
|
+
this.keystrokes.destroy();
|
|
187
|
+
}
|
|
188
|
+
|
|
179
189
|
/**
|
|
180
190
|
* Fired when the `ColorTileView` for the picked item is executed.
|
|
181
191
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/colorgrid/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/componentfactory.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -155,6 +155,16 @@ export default class SplitButtonView extends View {
|
|
|
155
155
|
} );
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* @inheritDoc
|
|
160
|
+
*/
|
|
161
|
+
destroy() {
|
|
162
|
+
super.destroy();
|
|
163
|
+
|
|
164
|
+
this.focusTracker.destroy();
|
|
165
|
+
this.keystrokes.destroy();
|
|
166
|
+
}
|
|
167
|
+
|
|
158
168
|
/**
|
|
159
169
|
* Focuses the {@link #actionView#element} of the action part of split button.
|
|
160
170
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/dropdown/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/focuscycler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module ui/focuscycler
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import
|
|
10
|
+
import isVisible from '@ckeditor/ckeditor5-utils/src/dom/isvisible';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* A utility class that helps cycling over focusable {@link module:ui/view~View views} in a
|
|
@@ -131,6 +131,8 @@ export default class FocusCycler {
|
|
|
131
131
|
* Returns the first focusable view in {@link #focusables}.
|
|
132
132
|
* Returns `null` if there is none.
|
|
133
133
|
*
|
|
134
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
135
|
+
*
|
|
134
136
|
* @readonly
|
|
135
137
|
* @member {module:ui/view~View|null} #first
|
|
136
138
|
*/
|
|
@@ -142,6 +144,8 @@ export default class FocusCycler {
|
|
|
142
144
|
* Returns the last focusable view in {@link #focusables}.
|
|
143
145
|
* Returns `null` if there is none.
|
|
144
146
|
*
|
|
147
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
148
|
+
*
|
|
145
149
|
* @readonly
|
|
146
150
|
* @member {module:ui/view~View|null} #last
|
|
147
151
|
*/
|
|
@@ -153,6 +157,8 @@ export default class FocusCycler {
|
|
|
153
157
|
* Returns the next focusable view in {@link #focusables} based on {@link #current}.
|
|
154
158
|
* Returns `null` if there is none.
|
|
155
159
|
*
|
|
160
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
161
|
+
*
|
|
156
162
|
* @readonly
|
|
157
163
|
* @member {module:ui/view~View|null} #next
|
|
158
164
|
*/
|
|
@@ -164,6 +170,8 @@ export default class FocusCycler {
|
|
|
164
170
|
* Returns the previous focusable view in {@link #focusables} based on {@link #current}.
|
|
165
171
|
* Returns `null` if there is none.
|
|
166
172
|
*
|
|
173
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
174
|
+
*
|
|
167
175
|
* @readonly
|
|
168
176
|
* @member {module:ui/view~View|null} #previous
|
|
169
177
|
*/
|
|
@@ -201,6 +209,8 @@ export default class FocusCycler {
|
|
|
201
209
|
|
|
202
210
|
/**
|
|
203
211
|
* Focuses the {@link #first} item in {@link #focusables}.
|
|
212
|
+
*
|
|
213
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
204
214
|
*/
|
|
205
215
|
focusFirst() {
|
|
206
216
|
this._focus( this.first );
|
|
@@ -208,6 +218,8 @@ export default class FocusCycler {
|
|
|
208
218
|
|
|
209
219
|
/**
|
|
210
220
|
* Focuses the {@link #last} item in {@link #focusables}.
|
|
221
|
+
*
|
|
222
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
211
223
|
*/
|
|
212
224
|
focusLast() {
|
|
213
225
|
this._focus( this.last );
|
|
@@ -215,6 +227,8 @@ export default class FocusCycler {
|
|
|
215
227
|
|
|
216
228
|
/**
|
|
217
229
|
* Focuses the {@link #next} item in {@link #focusables}.
|
|
230
|
+
*
|
|
231
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
218
232
|
*/
|
|
219
233
|
focusNext() {
|
|
220
234
|
this._focus( this.next );
|
|
@@ -222,6 +236,8 @@ export default class FocusCycler {
|
|
|
222
236
|
|
|
223
237
|
/**
|
|
224
238
|
* Focuses the {@link #previous} item in {@link #focusables}.
|
|
239
|
+
*
|
|
240
|
+
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
225
241
|
*/
|
|
226
242
|
focusPrevious() {
|
|
227
243
|
this._focus( this.previous );
|
|
@@ -269,7 +285,6 @@ export default class FocusCycler {
|
|
|
269
285
|
do {
|
|
270
286
|
const view = this.focusables.get( index );
|
|
271
287
|
|
|
272
|
-
// TODO: Check if view is visible.
|
|
273
288
|
if ( isFocusable( view ) ) {
|
|
274
289
|
return view;
|
|
275
290
|
}
|
|
@@ -288,5 +303,5 @@ export default class FocusCycler {
|
|
|
288
303
|
// @param {module:ui/view~View} view A view to be checked.
|
|
289
304
|
// @returns {Boolean}
|
|
290
305
|
function isFocusable( view ) {
|
|
291
|
-
return !!( view.focus &&
|
|
306
|
+
return !!( view.focus && isVisible( view.element ) );
|
|
292
307
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/icon/iconview.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/iframe/iframeview.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, 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
5
|
|
|
@@ -32,7 +32,9 @@ export { default as FormHeaderView } from './formheader/formheaderview';
|
|
|
32
32
|
export { default as FocusCycler } from './focuscycler';
|
|
33
33
|
|
|
34
34
|
export { default as IconView } from './icon/iconview';
|
|
35
|
+
export { default as InputView } from './input/inputview';
|
|
35
36
|
export { default as InputTextView } from './inputtext/inputtextview';
|
|
37
|
+
export { default as InputNumberView } from './inputnumber/inputnumberview';
|
|
36
38
|
|
|
37
39
|
export { default as IframeView } from './iframe/iframeview';
|
|
38
40
|
|