@ckeditor/ckeditor5-ui 29.2.0 → 30.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/package.json +19 -20
- package/src/button/buttonview.js +1 -1
- package/src/notification/notification.js +1 -1
- package/src/panel/balloon/balloonpanelview.js +69 -7
- package/src/panel/balloon/contextualballoon.js +11 -4
- package/src/panel/sticky/stickypanelview.js +5 -1
- package/src/toolbar/balloon/balloontoolbar.js +1 -1
- package/src/toolbar/block/blocktoolbar.js +3 -2
- package/src/toolbar/toolbarview.js +2 -2
- package/CHANGELOG.md +0 -542
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "30.0.0",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -11,28 +11,27 @@
|
|
|
11
11
|
],
|
|
12
12
|
"main": "src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
15
|
-
"ckeditor5": "^
|
|
14
|
+
"@ckeditor/ckeditor5-utils": "^30.0.0",
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^30.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-
|
|
22
|
-
"@ckeditor/ckeditor5-editor-
|
|
23
|
-
"@ckeditor/ckeditor5-
|
|
24
|
-
"@ckeditor/ckeditor5-
|
|
25
|
-
"@ckeditor/ckeditor5-
|
|
26
|
-
"@ckeditor/ckeditor5-
|
|
27
|
-
"@ckeditor/ckeditor5-
|
|
28
|
-
"@ckeditor/ckeditor5-
|
|
29
|
-
"@ckeditor/ckeditor5-
|
|
30
|
-
"@ckeditor/ckeditor5-
|
|
31
|
-
"@ckeditor/ckeditor5-
|
|
32
|
-
"@ckeditor/ckeditor5-
|
|
33
|
-
"@ckeditor/ckeditor5-
|
|
34
|
-
"@ckeditor/ckeditor5-
|
|
35
|
-
"@ckeditor/ckeditor5-typing": "^29.2.0"
|
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^30.0.0",
|
|
20
|
+
"@ckeditor/ckeditor5-block-quote": "^30.0.0",
|
|
21
|
+
"@ckeditor/ckeditor5-editor-balloon": "^30.0.0",
|
|
22
|
+
"@ckeditor/ckeditor5-editor-classic": "^30.0.0",
|
|
23
|
+
"@ckeditor/ckeditor5-engine": "^30.0.0",
|
|
24
|
+
"@ckeditor/ckeditor5-enter": "^30.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-essentials": "^30.0.0",
|
|
26
|
+
"@ckeditor/ckeditor5-heading": "^30.0.0",
|
|
27
|
+
"@ckeditor/ckeditor5-image": "^30.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-link": "^30.0.0",
|
|
29
|
+
"@ckeditor/ckeditor5-list": "^30.0.0",
|
|
30
|
+
"@ckeditor/ckeditor5-mention": "^30.0.0",
|
|
31
|
+
"@ckeditor/ckeditor5-paragraph": "^30.0.0",
|
|
32
|
+
"@ckeditor/ckeditor5-horizontal-line": "^30.0.0",
|
|
33
|
+
"@ckeditor/ckeditor5-table": "^30.0.0",
|
|
34
|
+
"@ckeditor/ckeditor5-typing": "^30.0.0"
|
|
36
35
|
},
|
|
37
36
|
"engines": {
|
|
38
37
|
"node": ">=12.0.0",
|
package/src/button/buttonview.js
CHANGED
|
@@ -184,7 +184,7 @@ export default class ButtonView extends View {
|
|
|
184
184
|
this.children.add( this.tooltipView );
|
|
185
185
|
this.children.add( this.labelView );
|
|
186
186
|
|
|
187
|
-
if ( this.withKeystroke ) {
|
|
187
|
+
if ( this.withKeystroke && this.keystroke ) {
|
|
188
188
|
this.children.add( this.keystrokeView );
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -232,7 +232,8 @@ export default class BalloonPanelView extends View {
|
|
|
232
232
|
defaultPositions.northArrowSouthMiddleWest,
|
|
233
233
|
defaultPositions.northArrowSouthMiddleEast,
|
|
234
234
|
defaultPositions.northArrowSouthWest,
|
|
235
|
-
defaultPositions.northArrowSouthEast
|
|
235
|
+
defaultPositions.northArrowSouthEast,
|
|
236
|
+
defaultPositions.viewportStickyNorth
|
|
236
237
|
],
|
|
237
238
|
limiter: defaultLimiterElement,
|
|
238
239
|
fitInViewport: true
|
|
@@ -244,9 +245,11 @@ export default class BalloonPanelView extends View {
|
|
|
244
245
|
// so it is better to use int values.
|
|
245
246
|
const left = parseInt( optimalPosition.left );
|
|
246
247
|
const top = parseInt( optimalPosition.top );
|
|
247
|
-
const position = optimalPosition.name;
|
|
248
248
|
|
|
249
|
-
|
|
249
|
+
const { name: position, config = {} } = optimalPosition;
|
|
250
|
+
const { withArrow = true } = config;
|
|
251
|
+
|
|
252
|
+
Object.assign( this, { top, left, position, withArrow } );
|
|
250
253
|
}
|
|
251
254
|
|
|
252
255
|
/**
|
|
@@ -401,7 +404,7 @@ function getDomElement( object ) {
|
|
|
401
404
|
* \|/
|
|
402
405
|
* >|-----|<---------------- horizontal offset
|
|
403
406
|
*
|
|
404
|
-
* @default
|
|
407
|
+
* @default 25
|
|
405
408
|
* @member {Number} module:ui/panel/balloon/balloonpanelview~BalloonPanelView.arrowHorizontalOffset
|
|
406
409
|
*/
|
|
407
410
|
BalloonPanelView.arrowHorizontalOffset = 25;
|
|
@@ -420,11 +423,35 @@ BalloonPanelView.arrowHorizontalOffset = 25;
|
|
|
420
423
|
* -------------------------------
|
|
421
424
|
* ^
|
|
422
425
|
*
|
|
423
|
-
* @default
|
|
426
|
+
* @default 10
|
|
424
427
|
* @member {Number} module:ui/panel/balloon/balloonpanelview~BalloonPanelView.arrowVerticalOffset
|
|
425
428
|
*/
|
|
426
429
|
BalloonPanelView.arrowVerticalOffset = 10;
|
|
427
430
|
|
|
431
|
+
/**
|
|
432
|
+
* A vertical offset of the balloon panel from the edge of the viewport if sticky.
|
|
433
|
+
* It helps in accessing toolbar buttons underneath the balloon panel.
|
|
434
|
+
*
|
|
435
|
+
* +---------------------------------------------------+
|
|
436
|
+
* | Target |
|
|
437
|
+
* | |
|
|
438
|
+
* | /-- vertical offset |
|
|
439
|
+
* +-----------------------------V-------------------------+
|
|
440
|
+
* | Toolbar +-------------+ |
|
|
441
|
+
* +--------------------| Balloon |--------------------+
|
|
442
|
+
* | | +-------------+ | |
|
|
443
|
+
* | | | |
|
|
444
|
+
* | | | |
|
|
445
|
+
* | | | |
|
|
446
|
+
* | +---------------------------------------------------+ |
|
|
447
|
+
* | Viewport |
|
|
448
|
+
* +-------------------------------------------------------+
|
|
449
|
+
*
|
|
450
|
+
* @default 20
|
|
451
|
+
* @member {Number} module:ui/panel/balloon/balloonpanelview~BalloonPanelView.stickyVerticalOffset
|
|
452
|
+
*/
|
|
453
|
+
BalloonPanelView.stickyVerticalOffset = 20;
|
|
454
|
+
|
|
428
455
|
/**
|
|
429
456
|
* Function used to calculate the optimal position for the balloon.
|
|
430
457
|
*
|
|
@@ -702,6 +729,22 @@ BalloonPanelView._getOptimalPosition = getOptimalPosition;
|
|
|
702
729
|
* | Balloon |
|
|
703
730
|
* +-----------------+
|
|
704
731
|
*
|
|
732
|
+
* * `viewportStickyNorth`
|
|
733
|
+
*
|
|
734
|
+
* +---------------------------+
|
|
735
|
+
* | [ Target ] |
|
|
736
|
+
* | |
|
|
737
|
+
* +-----------------------------------+
|
|
738
|
+
* | | +-----------------+ | |
|
|
739
|
+
* | | | Balloon | | |
|
|
740
|
+
* | | +-----------------+ | |
|
|
741
|
+
* | | | |
|
|
742
|
+
* | | | |
|
|
743
|
+
* | | | |
|
|
744
|
+
* | | | |
|
|
745
|
+
* | +---------------------------+ |
|
|
746
|
+
* | Viewport |
|
|
747
|
+
* +-----------------------------------+
|
|
705
748
|
*
|
|
706
749
|
* See {@link module:ui/panel/balloon/balloonpanelview~BalloonPanelView#attachTo}.
|
|
707
750
|
*
|
|
@@ -710,7 +753,8 @@ BalloonPanelView._getOptimalPosition = getOptimalPosition;
|
|
|
710
753
|
* The name that the position function returns will be reflected in the balloon panel's class that
|
|
711
754
|
* controls the placement of the "arrow". See {@link #position} to learn more.
|
|
712
755
|
*
|
|
713
|
-
* @member {Object
|
|
756
|
+
* @member {Object.<String,module:utils/dom/position~positioningFunction>}
|
|
757
|
+
* module:ui/panel/balloon/balloonpanelview~BalloonPanelView.defaultPositions
|
|
714
758
|
*/
|
|
715
759
|
BalloonPanelView.defaultPositions = {
|
|
716
760
|
|
|
@@ -791,6 +835,7 @@ BalloonPanelView.defaultPositions = {
|
|
|
791
835
|
left: targetRect.right - ( balloonRect.width * .25 ) - BalloonPanelView.arrowHorizontalOffset,
|
|
792
836
|
name: 'arrow_smw'
|
|
793
837
|
} ),
|
|
838
|
+
|
|
794
839
|
northEastArrowSouth: ( targetRect, balloonRect ) => ( {
|
|
795
840
|
top: getNorthTop( targetRect, balloonRect ),
|
|
796
841
|
left: targetRect.right - balloonRect.width / 2,
|
|
@@ -808,6 +853,7 @@ BalloonPanelView.defaultPositions = {
|
|
|
808
853
|
left: targetRect.right - balloonRect.width + BalloonPanelView.arrowHorizontalOffset,
|
|
809
854
|
name: 'arrow_se'
|
|
810
855
|
} ),
|
|
856
|
+
|
|
811
857
|
// ------- South west
|
|
812
858
|
|
|
813
859
|
southWestArrowNorthWest: ( targetRect, balloonRect ) => ( {
|
|
@@ -901,8 +947,24 @@ BalloonPanelView.defaultPositions = {
|
|
|
901
947
|
top: getSouthTop( targetRect, balloonRect ),
|
|
902
948
|
left: targetRect.right - balloonRect.width + BalloonPanelView.arrowHorizontalOffset,
|
|
903
949
|
name: 'arrow_ne'
|
|
904
|
-
} )
|
|
950
|
+
} ),
|
|
951
|
+
|
|
952
|
+
// ------- Sticky
|
|
953
|
+
|
|
954
|
+
viewportStickyNorth: ( targetRect, balloonRect, viewportRect ) => {
|
|
955
|
+
if ( !targetRect.getIntersection( viewportRect ) ) {
|
|
956
|
+
return null;
|
|
957
|
+
}
|
|
905
958
|
|
|
959
|
+
return {
|
|
960
|
+
top: viewportRect.top + BalloonPanelView.stickyVerticalOffset,
|
|
961
|
+
left: targetRect.left + targetRect.width / 2 - balloonRect.width / 2,
|
|
962
|
+
name: 'arrowless',
|
|
963
|
+
config: {
|
|
964
|
+
withArrow: false
|
|
965
|
+
}
|
|
966
|
+
};
|
|
967
|
+
}
|
|
906
968
|
};
|
|
907
969
|
|
|
908
970
|
// Returns the top coordinate for positions starting with `north*`.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module ui/panel/balloon/contextualballoon
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import
|
|
10
|
+
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
|
11
11
|
import BalloonPanelView from './balloonpanelview';
|
|
12
12
|
import View from '../../view';
|
|
13
13
|
import ButtonView from '../../button/buttonview';
|
|
@@ -498,11 +498,18 @@ export default class ContextualBalloon extends Plugin {
|
|
|
498
498
|
_getBalloonPosition() {
|
|
499
499
|
let position = Array.from( this._visibleStack.values() ).pop().position;
|
|
500
500
|
|
|
501
|
-
|
|
502
|
-
|
|
501
|
+
if ( position ) {
|
|
502
|
+
// Use the default limiter if none has been specified.
|
|
503
|
+
if ( !position.limiter ) {
|
|
504
|
+
// Don't modify the original options object.
|
|
505
|
+
position = Object.assign( {}, position, {
|
|
506
|
+
limiter: this.positionLimiter
|
|
507
|
+
} );
|
|
508
|
+
}
|
|
509
|
+
|
|
503
510
|
// Don't modify the original options object.
|
|
504
511
|
position = Object.assign( {}, position, {
|
|
505
|
-
|
|
512
|
+
viewportOffsetConfig: this.editor.config.get( 'ui.viewportOffset' )
|
|
506
513
|
} );
|
|
507
514
|
}
|
|
508
515
|
|
|
@@ -80,7 +80,11 @@ export default class StickyPanelView extends View {
|
|
|
80
80
|
* either using `position: fixed` or `position: sticky`, which would cover the
|
|
81
81
|
* sticky panel or vice–versa (depending on the `z-index` hierarchy).
|
|
82
82
|
*
|
|
83
|
-
* @
|
|
83
|
+
* Bound to {@link module:core/editor/editorui~EditorUI#viewportOffset `EditorUI#viewportOffset`}.
|
|
84
|
+
*
|
|
85
|
+
* If {@link module:core/editor/editorconfig~EditorConfig#ui `EditorConfig#ui.viewportOffset.top`} is defined, then
|
|
86
|
+
* it will override the default value.
|
|
87
|
+
*
|
|
84
88
|
* @observable
|
|
85
89
|
* @default 0
|
|
86
90
|
* @member {Number} #viewportTopOffset
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module ui/toolbar/balloon/balloontoolbar
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import
|
|
10
|
+
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
|
11
11
|
import ContextualBalloon from '../../panel/balloon/contextualballoon';
|
|
12
12
|
import ToolbarView from '../toolbarview';
|
|
13
13
|
import BalloonPanelView from '../../panel/balloon/balloonpanelview.js';
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
/* global window */
|
|
11
11
|
|
|
12
|
-
import
|
|
12
|
+
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
|
13
|
+
import pilcrow from '@ckeditor/ckeditor5-core/theme/icons/pilcrow.svg';
|
|
13
14
|
|
|
14
15
|
import BlockButtonView from './blockbuttonview';
|
|
15
16
|
import BalloonPanelView from '../../panel/balloon/balloonpanelview';
|
|
@@ -273,7 +274,7 @@ export default class BlockToolbar extends Plugin {
|
|
|
273
274
|
|
|
274
275
|
buttonView.set( {
|
|
275
276
|
label: t( 'Edit block' ),
|
|
276
|
-
icon:
|
|
277
|
+
icon: pilcrow,
|
|
277
278
|
withText: false
|
|
278
279
|
} );
|
|
279
280
|
|
|
@@ -20,7 +20,7 @@ import global from '@ckeditor/ckeditor5-utils/src/dom/global';
|
|
|
20
20
|
import { createDropdown, addToolbarToDropdown } from '../dropdown/utils';
|
|
21
21
|
import { logWarning } from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
|
|
22
22
|
import normalizeToolbarConfig from './normalizetoolbarconfig';
|
|
23
|
-
import
|
|
23
|
+
import threeVerticalDots from '@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';
|
|
24
24
|
|
|
25
25
|
import '../../theme/components/toolbar/toolbar.css';
|
|
26
26
|
|
|
@@ -935,7 +935,7 @@ class DynamicGrouping {
|
|
|
935
935
|
label: t( 'Show more items' ),
|
|
936
936
|
tooltip: true,
|
|
937
937
|
tooltipPosition: locale.uiLanguageDirection === 'rtl' ? 'se' : 'sw',
|
|
938
|
-
icon:
|
|
938
|
+
icon: threeVerticalDots
|
|
939
939
|
} );
|
|
940
940
|
|
|
941
941
|
// 1:1 pass–through binding.
|
package/CHANGELOG.md
DELETED
|
@@ -1,542 +0,0 @@
|
|
|
1
|
-
Changelog
|
|
2
|
-
=========
|
|
3
|
-
|
|
4
|
-
All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
|
|
5
|
-
|
|
6
|
-
Changes for the past releases are available below.
|
|
7
|
-
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v18.0.0...v19.0.0) (2020-04-29)
|
|
9
|
-
|
|
10
|
-
### MAJOR BREAKING CHANGES
|
|
11
|
-
|
|
12
|
-
* `ViewCollection` no longer has the `locale` property.
|
|
13
|
-
* The `ViewCollection#constructor()` no longer accepts the `locale` parameter.
|
|
14
|
-
* `LabeledView` component was renamed to `LabeledFieldView`. Also, its instance of a labeled component's view is available through `LabeledFieldView#fieldView`. It replaced the `LabeledView#view`.
|
|
15
|
-
|
|
16
|
-
### MINOR BREAKING CHANGES
|
|
17
|
-
|
|
18
|
-
* The `DropdownView#focusTracker` property has been removed as it served no purpose.
|
|
19
|
-
|
|
20
|
-
### Features
|
|
21
|
-
|
|
22
|
-
* Allowed defining initial items of `ViewCollection` and `BodyCollection` in the constructor. See [ckeditor/ckeditor5#6319](https://github.com/ckeditor/ckeditor5/issues/6319). ([6cd15de](https://github.com/ckeditor/ckeditor5-ui/commit/6cd15de))
|
|
23
|
-
|
|
24
|
-
The `View#createCollection()` method now also accepts an iterator of views.
|
|
25
|
-
* Introduce `FormHeaderView` UI component. Closes [ckeditor/ckeditor5#6109](https://github.com/ckeditor/ckeditor5/issues/6109). ([eb1ce18](https://github.com/ckeditor/ckeditor5-ui/commit/eb1ce18))
|
|
26
|
-
* The `BlockToolbar` should group items when there is no place to show them all. Closes [ckeditor/ckeditor5#6449](https://github.com/ckeditor/ckeditor5/issues/6449). Closes [ckeditor/ckeditor5#6575](https://github.com/ckeditor/ckeditor5/issues/6575). Closes [ckeditor/ckeditor5#6570](https://github.com/ckeditor/ckeditor5/issues/6570). ([fcd9c4e](https://github.com/ckeditor/ckeditor5-ui/commit/fcd9c4e))
|
|
27
|
-
|
|
28
|
-
Improved `ToolbarView#maxWidth` and items grouping when the toolbar is invisible.
|
|
29
|
-
|
|
30
|
-
### Bug fixes
|
|
31
|
-
|
|
32
|
-
* Call `ResizeObserver.destroy()` when destroying block toolbar. ([59449d2](https://github.com/ckeditor/ckeditor5-ui/commit/59449d2))
|
|
33
|
-
|
|
34
|
-
### Other changes
|
|
35
|
-
|
|
36
|
-
* Removed the obsolete `DropdownView#focusTracker`. Closes [ckeditor/ckeditor5#6548](https://github.com/ckeditor/ckeditor5/issues/6548). ([ac750c7](https://github.com/ckeditor/ckeditor5-ui/commit/ac750c7))
|
|
37
|
-
* Rename `LabeledView` component to `LabeledFieldView`. See [ckeditor/ckeditor5#6110](https://github.com/ckeditor/ckeditor5/issues/6110). ([5a7aca7](https://github.com/ckeditor/ckeditor5-ui/commit/5a7aca7))
|
|
38
|
-
* Updated translations. ([2a391d6](https://github.com/ckeditor/ckeditor5-ui/commit/2a391d6))
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v17.0.0...v18.0.0) (2020-03-19)
|
|
42
|
-
|
|
43
|
-
### MAJOR BREAKING CHANGES
|
|
44
|
-
|
|
45
|
-
* The `BalloonToolbar` plugin now groups the overflowing items by default. This can be disabled by setting [`config.balloonToolbar.shouldNotGroupWhenFull`](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_toolbar_toolbarview-ToolbarOptions.html#member-shouldGroupWhenFull) configuration to `true`.
|
|
46
|
-
|
|
47
|
-
### Features
|
|
48
|
-
|
|
49
|
-
* The `BalloonToolbar` plugin should group items when its width is close to related editable's width. Closes [ckeditor/ckeditor5#5597](https://github.com/ckeditor/ckeditor5/issues/5597). Closes [ckeditor/ckeditor5#5501](https://github.com/ckeditor/ckeditor5/issues/5501). ([d36fd23](https://github.com/ckeditor/ckeditor5-ui/commit/d36fd23))
|
|
50
|
-
|
|
51
|
-
[`BalloonPanelView.defaultPositions`](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_panel_balloon_balloonpanelview-BalloonPanelView.html#static-member-defaultPositions) has been extended with additional positions. Please refer to the documentation to learn more.
|
|
52
|
-
|
|
53
|
-
### Other changes
|
|
54
|
-
|
|
55
|
-
* Updated translations. ([ace38eb](https://github.com/ckeditor/ckeditor5-ui/commit/ace38eb))
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v16.0.0...v17.0.0) (2020-02-19)
|
|
59
|
-
|
|
60
|
-
### Features
|
|
61
|
-
|
|
62
|
-
* Created the `LabeledView` class (see https://github.com/ckeditor/ckeditor5-table/pull/227). ([ec39406](https://github.com/ckeditor/ckeditor5-ui/commit/ec39406))
|
|
63
|
-
|
|
64
|
-
Also added `id` properties to the `DropdownView` and `LabelView` for compatibility with the `LabeledView`.
|
|
65
|
-
* Implemented the `Toolbar#isCompact` property to turn regular toolbars into compact ones (with less spacing) (see [ckeditor/ckeditor5#6112](https://github.com/ckeditor/ckeditor5/issues/6112)). ([a6b9c09](https://github.com/ckeditor/ckeditor5-ui/commit/a6b9c09))
|
|
66
|
-
* Reintroduced the concept of body collections with a focus on better management of multiple editors and support for context plugins (plugins which leave outside an editor instance). Closes [ckeditor/ckeditor5#5888](https://github.com/ckeditor/ckeditor5/issues/5888). ([23d12e9](https://github.com/ckeditor/ckeditor5-ui/commit/23d12e9))
|
|
67
|
-
|
|
68
|
-
### Bug fixes
|
|
69
|
-
|
|
70
|
-
* Make `BlockToolbar` work with an empty configuration. Closes [ckeditor/ckeditor5#5980](https://github.com/ckeditor/ckeditor5/issues/5980). ([1e05098](https://github.com/ckeditor/ckeditor5-ui/commit/1e05098))
|
|
71
|
-
|
|
72
|
-
### Other changes
|
|
73
|
-
|
|
74
|
-
* Replaced the `getResizeObserver()` helper with new `ResizeObserver` class in `ToolbarView`. ([be98aa4](https://github.com/ckeditor/ckeditor5-ui/commit/be98aa4))
|
|
75
|
-
|
|
76
|
-
Follow-up on: https://github.com/ckeditor/ckeditor5-utils/pull/320
|
|
77
|
-
* Updated translations. ([b8bd38e](https://github.com/ckeditor/ckeditor5-ui/commit/b8bd38e))
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v15.0.0...v16.0.0) (2019-12-04)
|
|
81
|
-
|
|
82
|
-
### Features
|
|
83
|
-
|
|
84
|
-
* Enabled keystroke preview in `ButtonView`. Implemented the `ButtonView#withKeystroke` property. Closes [ckeditor/ckeditor5#5782](https://github.com/ckeditor/ckeditor5/issues/5782). ([dac8ce0](https://github.com/ckeditor/ckeditor5-ui/commit/dac8ce0))
|
|
85
|
-
|
|
86
|
-
### Bug fixes
|
|
87
|
-
|
|
88
|
-
* Use relative positioning for dropdowns to prevent ugly blurring in Chrome. Closes [ckeditor/ckeditor5#1053](https://github.com/ckeditor/ckeditor5/issues/1053). ([95404e3](https://github.com/ckeditor/ckeditor5-ui/commit/95404e3))
|
|
89
|
-
|
|
90
|
-
### Other changes
|
|
91
|
-
|
|
92
|
-
* Updated translations. ([16ee253](https://github.com/ckeditor/ckeditor5-ui/commit/16ee253))
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v14.0.0...v15.0.0) (2019-10-23)
|
|
96
|
-
|
|
97
|
-
### MAJOR BREAKING CHANGES
|
|
98
|
-
|
|
99
|
-
* The internal structure of the toolbar component has changed. Toolbar items are no longer direct descendants of the toolbar in the DOM, which may affect some integrations (mainly CSS selectors if adjustments were made to the styles).
|
|
100
|
-
|
|
101
|
-
### Features
|
|
102
|
-
|
|
103
|
-
* The editor toolbar is now responsive. Closes [ckeditor/ckeditor5#416](https://github.com/ckeditor/ckeditor5/issues/416). ([46911bf](https://github.com/ckeditor/ckeditor5-ui/commit/46911bf))
|
|
104
|
-
|
|
105
|
-
### Other changes
|
|
106
|
-
|
|
107
|
-
* Updated translations. ([c233bb7](https://github.com/ckeditor/ckeditor5-ui/commit/c233bb7)) ([f8f07b2](https://github.com/ckeditor/ckeditor5-ui/commit/f8f07b2))
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
## [14.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.2...v14.0.0) (2019-08-26)
|
|
111
|
-
|
|
112
|
-
### Features
|
|
113
|
-
|
|
114
|
-
* Brought support for right–to–left (RTL) languages to various UI components. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([d6c7f55](https://github.com/ckeditor/ckeditor5-ui/commit/d6c7f55))
|
|
115
|
-
|
|
116
|
-
### Bug fixes
|
|
117
|
-
|
|
118
|
-
* `ColorGrid` should set the `#isOn` property value of new `ColorTiles`. See [ckeditor/ckeditor5-font#51](https://github.com/ckeditor/ckeditor5-font/issues/51). ([e89ad60](https://github.com/ckeditor/ckeditor5-ui/commit/e89ad60))
|
|
119
|
-
* All editor toolbars should come with the `role` and `aria-label` attributes. Closes [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404). ([bdede90](https://github.com/ckeditor/ckeditor5-ui/commit/bdede90))
|
|
120
|
-
* Screen reader will now properly prompt errors for text inputs. Closes [ckeditor/ckeditor5#1406](https://github.com/ckeditor/ckeditor5/issues/1406). ([3a164b7](https://github.com/ckeditor/ckeditor5-ui/commit/3a164b7))
|
|
121
|
-
|
|
122
|
-
### Other changes
|
|
123
|
-
|
|
124
|
-
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([451df7b](https://github.com/ckeditor/ckeditor5-ui/commit/451df7b))
|
|
125
|
-
* Updated translations. ([eca9fe6](https://github.com/ckeditor/ckeditor5-ui/commit/eca9fe6))
|
|
126
|
-
|
|
127
|
-
### BREAKING CHANGES
|
|
128
|
-
|
|
129
|
-
* The `ToolbarView` class requires the [editor locale](https://ckeditor.com/docs/ckeditor5/latest/api/module_utils_locale-Locale.html) to be passed into the constructor.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## [13.0.2](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.1...v13.0.2) (2019-07-10)
|
|
133
|
-
|
|
134
|
-
### Other changes
|
|
135
|
-
|
|
136
|
-
* Updated translations. ([ad189b6](https://github.com/ckeditor/ckeditor5-ui/commit/ad189b6))
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
## [13.0.1](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.0...v13.0.1) (2019-07-04)
|
|
140
|
-
|
|
141
|
-
### Other changes
|
|
142
|
-
|
|
143
|
-
* Updated translations. ([1964cc0](https://github.com/ckeditor/ckeditor5-ui/commit/1964cc0)) ([11cfd41](https://github.com/ckeditor/ckeditor5-ui/commit/11cfd41))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
## [13.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.1.0...v13.0.0) (2019-06-05)
|
|
147
|
-
|
|
148
|
-
### Features
|
|
149
|
-
|
|
150
|
-
* Implemented the single view mode for the `ContextualBalloon` plugin. See https://github.com/ckeditor/ckeditor5-mention/issues/74. ([c000c93](https://github.com/ckeditor/ckeditor5-ui/commit/c000c93))
|
|
151
|
-
* Introduced rotatable panels for `ContextualBalloon`. Closes https://github.com/ckeditor/ckeditor5-ui/issues/491. ([581d8f7](https://github.com/ckeditor/ckeditor5-ui/commit/581d8f7))
|
|
152
|
-
|
|
153
|
-
### Other changes
|
|
154
|
-
|
|
155
|
-
* Renamed a misspelled `InputTextViewariaDesribedById` property to `InputTextView#ariaDescribedById`. Closes [#483](https://github.com/ckeditor/ckeditor5-ui/issues/483). ([2288bf3](https://github.com/ckeditor/ckeditor5-ui/commit/2288bf3))
|
|
156
|
-
* The `_rwd.css` mixin was moved to this package from `@ckeditor/ckeditor5-theme-lark`. See [ckeditor/ckeditor5#1662](https://github.com/ckeditor/ckeditor5/issues/1662). ([96e3a3c](https://github.com/ckeditor/ckeditor5-ui/commit/96e3a3c))
|
|
157
|
-
* The `ContextualBalloon#add()` method should accept the `withArrow` option. Closes [#487](https://github.com/ckeditor/ckeditor5-ui/issues/487). ([0e7f670](https://github.com/ckeditor/ckeditor5-ui/commit/0e7f670))
|
|
158
|
-
* Updated translations. ([4699d8b](https://github.com/ckeditor/ckeditor5-ui/commit/4699d8b)) ([d4c5714](https://github.com/ckeditor/ckeditor5-ui/commit/d4c5714))
|
|
159
|
-
|
|
160
|
-
### BREAKING CHANGES
|
|
161
|
-
|
|
162
|
-
* The (misspelled) `InputTextView#ariaDesribedById` property is no longer available. Use `ariaDescribedById` instead.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
## [12.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.0.0...v12.1.0) (2019-04-10)
|
|
166
|
-
|
|
167
|
-
### Features
|
|
168
|
-
|
|
169
|
-
* Implemented `ColorGridView` and `ColorTileView` components. See [ckeditor/ckeditor5#1457](https://github.com/ckeditor/ckeditor5/issues/1457). ([6be52b4](https://github.com/ckeditor/ckeditor5-ui/commit/6be52b4))
|
|
170
|
-
|
|
171
|
-
### Bug fixes
|
|
172
|
-
|
|
173
|
-
* Fixed `View#render` collision when moving focus from a one editable to the other in multi-root editor. Closes https://github.com/ckeditor/ckeditor5/issues/1676. ([17e86f9](https://github.com/ckeditor/ckeditor5-ui/commit/17e86f9))
|
|
174
|
-
|
|
175
|
-
### Other changes
|
|
176
|
-
|
|
177
|
-
* Optimized icons. ([5325ea8](https://github.com/ckeditor/ckeditor5-ui/commit/5325ea8))
|
|
178
|
-
* Updated translations. ([dcdca2e](https://github.com/ckeditor/ckeditor5-ui/commit/dcdca2e))
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
## [12.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.2.0...v12.0.0) (2019-02-28)
|
|
182
|
-
|
|
183
|
-
### Bug fixes
|
|
184
|
-
|
|
185
|
-
* Prevented from changing the view document during the render phase. Closes https://github.com/ckeditor/ckeditor5/issues/1530. ([7cf835e](https://github.com/ckeditor/ckeditor5-ui/commit/7cf835e))
|
|
186
|
-
* Fixed memory leaks during editor initialization and destruction (see [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341)). ([fd18fb9](https://github.com/ckeditor/ckeditor5-ui/commit/fd18fb9))
|
|
187
|
-
|
|
188
|
-
### Other changes
|
|
189
|
-
|
|
190
|
-
* The `class` property should control the DOM class attribute in all UI components. Closes [#450](https://github.com/ckeditor/ckeditor5-ui/issues/450). ([b9b68c6](https://github.com/ckeditor/ckeditor5-ui/commit/b9b68c6))
|
|
191
|
-
* Updated translations. ([b9caee9](https://github.com/ckeditor/ckeditor5-ui/commit/b9caee9)) ([a3afaaa](https://github.com/ckeditor/ckeditor5-ui/commit/a3afaaa)) ([909e676](https://github.com/ckeditor/ckeditor5-ui/commit/909e676))
|
|
192
|
-
|
|
193
|
-
### BREAKING CHANGES
|
|
194
|
-
|
|
195
|
-
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
|
196
|
-
* The `BallonPanelView#className` property was renamed to `#class`.
|
|
197
|
-
* The `ToolbarView#className` property was renamed to `#class`.
|
|
198
|
-
* The `EditableUIView#externalElement` property (which held the element on which the editor was created if it was explicitly passed) was removed.
|
|
199
|
-
* The `EditorUIView#editableElement` property was made private. Use `editor.ui.getEditableElement()` method instead.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
## [11.2.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.1.0...v11.2.0) (2018-12-05)
|
|
203
|
-
|
|
204
|
-
### Features
|
|
205
|
-
|
|
206
|
-
* Added the `.ck-read-only` CSS class to the `EditableUIView` when `#isReadOnly` is `true`. ([4119822](https://github.com/ckeditor/ckeditor5-ui/commit/4119822))
|
|
207
|
-
* Added the optional `DropdownView#class` property to set a custom CSS class on the main element in DOM. Closes [#447](https://github.com/ckeditor/ckeditor5-ui/issues/447). ([9cdcd4a](https://github.com/ckeditor/ckeditor5-ui/commit/9cdcd4a))
|
|
208
|
-
|
|
209
|
-
Thanks to [@lucasreppewelander](https://github.com/lucasreppewelander)!
|
|
210
|
-
* Implemented `LabeledInputView#infoText` to display useful hints next to the input (see [ckeditor/ckeditor5-media-embed#35](https://github.com/ckeditor/ckeditor5-media-embed/issues/35)). ([6ac03ea](https://github.com/ckeditor/ckeditor5-ui/commit/6ac03ea))
|
|
211
|
-
* Implemented configurable, smart `DropdownView` panel positioning. Closes [#123](https://github.com/ckeditor/ckeditor5-ui/issues/123). ([8094f19](https://github.com/ckeditor/ckeditor5-ui/commit/8094f19))
|
|
212
|
-
|
|
213
|
-
### Other changes
|
|
214
|
-
|
|
215
|
-
* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([ed88305](https://github.com/ckeditor/ckeditor5-ui/commit/ed88305))
|
|
216
|
-
* Updated translations. ([2e409a9](https://github.com/ckeditor/ckeditor5-ui/commit/2e409a9)) ([611bd04](https://github.com/ckeditor/ckeditor5-ui/commit/611bd04)) ([c6689e4](https://github.com/ckeditor/ckeditor5-ui/commit/c6689e4)) ([07c4fdb](https://github.com/ckeditor/ckeditor5-ui/commit/07c4fdb))
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.0.0...v11.1.0) (2018-10-08)
|
|
220
|
-
|
|
221
|
-
### Features
|
|
222
|
-
|
|
223
|
-
* Allowed displaying an error message next to the `LabeledInputVIew` (see [ckeditor/ckeditor5-media-embed#1](https://github.com/ckeditor/ckeditor5-media-embed/issues/1)). ([81aaea4](https://github.com/ckeditor/ckeditor5-ui/commit/81aaea4))
|
|
224
|
-
|
|
225
|
-
### Bug fixes
|
|
226
|
-
|
|
227
|
-
* Made the `Edit block` string translatable. Closes [#445](https://github.com/ckeditor/ckeditor5-ui/issues/445). ([1fa84e9](https://github.com/ckeditor/ckeditor5-ui/commit/1fa84e9))
|
|
228
|
-
|
|
229
|
-
### Other changes
|
|
230
|
-
|
|
231
|
-
* Updated translations. ([baff3c9](https://github.com/ckeditor/ckeditor5-ui/commit/baff3c9))
|
|
232
|
-
* Updated translations. ([e58bcbb](https://github.com/ckeditor/ckeditor5-ui/commit/e58bcbb))
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.1.0...v11.0.0) (2018-07-18)
|
|
236
|
-
|
|
237
|
-
### Features
|
|
238
|
-
|
|
239
|
-
* Implemented the `SwitchButtonView`. Closes [#402](https://github.com/ckeditor/ckeditor5-ui/issues/402). Closes [#403](https://github.com/ckeditor/ckeditor5-ui/issues/403). ([105fbea](https://github.com/ckeditor/ckeditor5-ui/commit/105fbea))
|
|
240
|
-
|
|
241
|
-
Also:
|
|
242
|
-
|
|
243
|
-
* Simplified the `ListItemView` class, which is now just a container for `ButtonView` (and others),
|
|
244
|
-
* Moved `ListItemView#style` and `#class` to the `ButtonView` (as `#class` and `#labelStyle`),
|
|
245
|
-
* Enhanced the `addListToDropdown` utility with a better configuration (`ListDropdownItemDefinition`) and the support for buttons, switch buttons, and separators,
|
|
246
|
-
* `.ck-button` and `.ck-list` became `flex` containers; the first one to allow complex inner structures (like the toggle) and the later to take control of complex list items (like `.ck-switchbutton`).
|
|
247
|
-
|
|
248
|
-
### Bug fixes
|
|
249
|
-
|
|
250
|
-
* The `BalloonToolbar` should hide when the editable is blurred. Closes [#418](https://github.com/ckeditor/ckeditor5-ui/issues/418). ([f6a02d4](https://github.com/ckeditor/ckeditor5-ui/commit/f6a02d4))
|
|
251
|
-
* The `BlockToolbar` should add elements to the `FocusTracker` only after `uiReady` is fired to avoid errors. Closes [#424](https://github.com/ckeditor/ckeditor5-ui/issues/424). ([ae9fa09](https://github.com/ckeditor/ckeditor5-ui/commit/ae9fa09))
|
|
252
|
-
* The `BlockToolbar` should hide when the editor is blurred. Closes [#408](https://github.com/ckeditor/ckeditor5-ui/issues/408). ([e3bbccf](https://github.com/ckeditor/ckeditor5-ui/commit/e3bbccf))
|
|
253
|
-
|
|
254
|
-
### Other changes
|
|
255
|
-
|
|
256
|
-
* Allowed list item's buttons to have an outer, visible box-shadow. Ensured the balloon panel's arrow does not cover panel's children. Closes [#394](https://github.com/ckeditor/ckeditor5-ui/issues/394). ([8a64ee2](https://github.com/ckeditor/ckeditor5-ui/commit/8a64ee2))
|
|
257
|
-
* Updated translations. ([949585d](https://github.com/ckeditor/ckeditor5-ui/commit/949585d))
|
|
258
|
-
|
|
259
|
-
### BREAKING CHANGES
|
|
260
|
-
|
|
261
|
-
* Most of the `ListItemView` functionality is now handled by the `ButtonView`,
|
|
262
|
-
* The API of the `addListToDropdown` has changed; see `ListDropdownItemDefinition` to learn more,
|
|
263
|
-
* The `.ck-button` and `.ck-list` classes are using `flex` which may have an impact on rendering.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.0.0...v10.1.0) (2018-06-21)
|
|
267
|
-
|
|
268
|
-
### Features
|
|
269
|
-
|
|
270
|
-
* Implemented list component separators (see [ckeditor/ckeditor5-table#24](https://github.com/ckeditor/ckeditor5-table/issues/24)). ([0808a8c](https://github.com/ckeditor/ckeditor5-ui/commit/0808a8c))
|
|
271
|
-
* Introduced the `BlockToolbar` plugin. Closes [#391](https://github.com/ckeditor/ckeditor5-ui/issues/391). ([5868516](https://github.com/ckeditor/ckeditor5-ui/commit/5868516))
|
|
272
|
-
|
|
273
|
-
### Bug fixes
|
|
274
|
-
|
|
275
|
-
* The action should be executed upon the first click on a tooltip-enabled UI in iOS. Closes [ckeditor/ckeditor5#920](https://github.com/ckeditor/ckeditor5/issues/920). ([6508ba2](https://github.com/ckeditor/ckeditor5-ui/commit/6508ba2))
|
|
276
|
-
* The balloon toolbar should be attached correctly in case of a multi-range selection. Closes [#385](https://github.com/ckeditor/ckeditor5-ui/issues/385). ([714ef21](https://github.com/ckeditor/ckeditor5-ui/commit/714ef21))
|
|
277
|
-
* The buttons in the editor should provide basic accessibility. Closes [ckeditor/ckeditor5#1013](https://github.com/ckeditor/ckeditor5/issues/1013). ([9e17d13](https://github.com/ckeditor/ckeditor5-ui/commit/9e17d13))
|
|
278
|
-
|
|
279
|
-
### Other changes
|
|
280
|
-
|
|
281
|
-
* Disabling a `ListItemView` should be possible using the `isEnabled` property. Closes [#389](https://github.com/ckeditor/ckeditor5-ui/issues/389). ([76a4d47](https://github.com/ckeditor/ckeditor5-ui/commit/76a4d47))
|
|
282
|
-
* Made the `ContextualBalloon` always use the position of the topmost view in the stack (see: [ckeditor/ckeditor5-table#28](https://github.com/ckeditor/ckeditor5-table/issues/28)). Closes [ckeditor/ckeditor5#900](https://github.com/ckeditor/ckeditor5/issues/900). ([a2ef073](https://github.com/ckeditor/ckeditor5-ui/commit/a2ef073))
|
|
283
|
-
* Updated translations. ([084e8c6](https://github.com/ckeditor/ckeditor5-ui/commit/084e8c6))
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
|
|
287
|
-
|
|
288
|
-
### Other changes
|
|
289
|
-
|
|
290
|
-
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([f1e5fbf](https://github.com/ckeditor/ckeditor5-ui/commit/f1e5fbf))
|
|
291
|
-
|
|
292
|
-
### BREAKING CHANGES
|
|
293
|
-
|
|
294
|
-
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
|
|
298
|
-
|
|
299
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
|
|
303
|
-
|
|
304
|
-
### Other changes
|
|
305
|
-
|
|
306
|
-
* Renamed plural method names to singular. See [ckeditor/ckeditor5#742](https://github.com/ckeditor/ckeditor5/issues/742). ([48cd53d](https://github.com/ckeditor/ckeditor5-ui/commit/48cd53d))
|
|
307
|
-
|
|
308
|
-
### BREAKING CHANGES
|
|
309
|
-
|
|
310
|
-
* `View#registerChildren()` and `View#deregisterChildren()` have been renamed to `View#registerChild()` and `View#deregisterChild()`.
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
|
|
314
|
-
|
|
315
|
-
### Features
|
|
316
|
-
|
|
317
|
-
* Implemented the `IconView#fillColor` observable which fills child `.ck-icon__fill` paths with the color (see [ckeditor/ckeditor5-theme-lark#148](https://github.com/ckeditor/ckeditor5-theme-lark/issues/148)). ([728a691](https://github.com/ckeditor/ckeditor5-ui/commit/728a691))
|
|
318
|
-
* Initial implementation of the `ButtonDropdownView`. Closes [#333](https://github.com/ckeditor/ckeditor5-ui/issues/333). ([6e9c6e4](https://github.com/ckeditor/ckeditor5-ui/commit/6e9c6e4))
|
|
319
|
-
|
|
320
|
-
Also:
|
|
321
|
-
|
|
322
|
-
* Allowed vertical layout of the `ToolbarView` thanks to the `#isVertical` attribute.
|
|
323
|
-
* Implemented `ToolbarView#className` attribute.
|
|
324
|
-
* Implemented `DropdownView#isEnabled` attribute along with the CSS class binding.
|
|
325
|
-
* Updated UI components to bring the support for the refreshed Lark theme (see [ckeditor/ckeditor5#645](https://github.com/ckeditor/ckeditor5/issues/645)). ([623d536](https://github.com/ckeditor/ckeditor5-ui/commit/623d536))
|
|
326
|
-
|
|
327
|
-
### Bug fixes
|
|
328
|
-
|
|
329
|
-
* Button icon styles should not touch the dropdown's arrow. Closes [ckeditor/ckeditor5#831](https://github.com/ckeditor/ckeditor5/issues/831). ([507549f](https://github.com/ckeditor/ckeditor5-ui/commit/507549f))
|
|
330
|
-
|
|
331
|
-
### Other changes
|
|
332
|
-
|
|
333
|
-
* Added a CSS class to the SplitButtonView when the arrow is on (see [ckeditor/ckeditor5-theme-lark#134](https://github.com/ckeditor/ckeditor5-theme-lark/issues/134)). ([d490d61](https://github.com/ckeditor/ckeditor5-ui/commit/d490d61))
|
|
334
|
-
* Added the `.ck-content` CSS class to the `EditableUIView` in order to simplify styling the editor content. Closes [#176](https://github.com/ckeditor/ckeditor5-ui/issues/176). ([f38ae70](https://github.com/ckeditor/ckeditor5-ui/commit/f38ae70))
|
|
335
|
-
* Align feature class naming to a new scheme. ([1c500f6](https://github.com/ckeditor/ckeditor5-ui/commit/1c500f6))
|
|
336
|
-
* Aligned code to changes (`config.lang` to `config.languages`). Part of the Translation Service v2 ([ckeditor/ckeditor5#624](https://github.com/ckeditor/ckeditor5/issues/624)). ([876f681](https://github.com/ckeditor/ckeditor5-ui/commit/876f681))
|
|
337
|
-
* ComponentFactory.names() will return original component names (instead of normalized names). Closes [#376](https://github.com/ckeditor/ckeditor5-ui/issues/376). ([b6b39d7](https://github.com/ckeditor/ckeditor5-ui/commit/b6b39d7))
|
|
338
|
-
* CSS classes should be prefixed with `ck-` instead of `cke-`. Closes [#112](https://github.com/ckeditor/ckeditor5-ui/issues/112). ([7973f83](https://github.com/ckeditor/ckeditor5-ui/commit/7973f83))
|
|
339
|
-
* Introduced `SplitButtonView` and new dropdown creation helpers (`createDropdown()`, `addListToDropdown()` and `addToolbarToDropdown()`) Closes [#344](https://github.com/ckeditor/ckeditor5-ui/issues/344). Closes [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). ([0f26ca8](https://github.com/ckeditor/ckeditor5-ui/commit/0f26ca8))
|
|
340
|
-
* Migrated the package styles from SASS to PostCSS to bring theme support and avoid duplicates in some editor builds. Closes [#144](https://github.com/ckeditor/ckeditor5-ui/issues/144). Closes [ckeditor/ckeditor5#420](https://github.com/ckeditor/ckeditor5/issues/420). ([f152dfc](https://github.com/ckeditor/ckeditor5-ui/commit/f152dfc))
|
|
341
|
-
* Moved ck-button-icon mixin from ckeditor5-theme-lark. ([8757d27](https://github.com/ckeditor/ckeditor5-ui/commit/8757d27))
|
|
342
|
-
* Removed the `.ck-editor-toolbar` and `.ck-editor-toolbar-container` classes (see [ckeditor/ckeditor5-theme-lark#135](https://github.com/ckeditor/ckeditor5-theme-lark/issues/135)). ([352d056](https://github.com/ckeditor/ckeditor5-ui/commit/352d056))
|
|
343
|
-
* Rename `ContextualToolbar` to `BalloonToolbar`. Closes [ckeditor/ckeditor5#550](https://github.com/ckeditor/ckeditor5/issues/550). ([28f59df](https://github.com/ckeditor/ckeditor5-ui/commit/28f59df))
|
|
344
|
-
* The `closeDropdownOnBlur()` helper should use `clickOutsideHandler()`. Decorated the `View#render()` method. Closes [#311](https://github.com/ckeditor/ckeditor5-ui/issues/311). ([269e97b](https://github.com/ckeditor/ckeditor5-ui/commit/269e97b))
|
|
345
|
-
* Updated translations. ([f657be2](https://github.com/ckeditor/ckeditor5-ui/commit/f657be2))
|
|
346
|
-
|
|
347
|
-
### BREAKING CHANGES
|
|
348
|
-
|
|
349
|
-
* Renamed `contextual/contextualtoolbar~ContextualToolbar` to `balloon/balloontoolbar~BalloonToolbar`.
|
|
350
|
-
* Renamed `contextualToolbar` configuration option to `balloonToolbar`.
|
|
351
|
-
* Removed `DropdownModel` interface – you can use dropdown properties directly now. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356).
|
|
352
|
-
* Removed `createButtonDropdown()` and `ButtonDropdownView`. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356).
|
|
353
|
-
* Removed `createListDropdown()` and `ListDropdownView`. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356).
|
|
354
|
-
* The DOM structure of the dropdown component has changed. Please refer to the documentation to find out more.
|
|
355
|
-
* Basic properties of the balloon panel component have changed (i.e. the location of the arrow, the default positions), which may have an impact on existing integrations.
|
|
356
|
-
* The styles are no longer developed in SASS which means the `.scss` files became unavailable. Please refer to the [Theme Customization](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/ui/theme-customization.html) guide to learn more about migration to PostCSS.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
|
|
360
|
-
|
|
361
|
-
### Bug fixes
|
|
362
|
-
|
|
363
|
-
* `Template#getViews()` generator should not traverse native HTML elements. Closes [#337](https://github.com/ckeditor/ckeditor5-ui/issues/337). Closes [ckeditor/ckeditor5#657](https://github.com/ckeditor/ckeditor5/issues/657). ([894bad0](https://github.com/ckeditor/ckeditor5-ui/commit/894bad0))
|
|
364
|
-
* Improved binding of the `value` attribute in `InputTextView`. Closes [#335](https://github.com/ckeditor/ckeditor5-ui/issues/335). ([823120b](https://github.com/ckeditor/ckeditor5-ui/commit/823120b))
|
|
365
|
-
|
|
366
|
-
### Other changes
|
|
367
|
-
|
|
368
|
-
* Implemented `View#render()` method which replaces rendering the `#element` upon the first access and incorporates the `#init()` method functionality. Closes [#262](https://github.com/ckeditor/ckeditor5-ui/issues/262). Closes [#302](https://github.com/ckeditor/ckeditor5-ui/issues/302). ([bf90ad5](https://github.com/ckeditor/ckeditor5-ui/commit/bf90ad5))
|
|
369
|
-
|
|
370
|
-
In other words – the `View#render()` method needs to be called to render a view and it sets the `View#element` itself. It can be called only once and it is done automatically if a view is added to some other view (as its child). If you need to add any additional logic to your component's initialization, then override the `render()` method (and remember to call `super.render()`).
|
|
371
|
-
|
|
372
|
-
Additionally, from now on `View#setTemplate()` and `View#extendTemplate()` methods are recommended as a shorthand for `view.template = new Template( { ... } )` and `Template.extend( view.template )`.
|
|
373
|
-
|
|
374
|
-
Please refer to the updated [documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/architecture/intro.html#ui-library) to learn more.
|
|
375
|
-
* Removed legacy `width` and `height` attributes from the `BoxedEditorUIView`. Closes [#25](https://github.com/ckeditor/ckeditor5-ui/issues/25). ([ffa419a](https://github.com/ckeditor/ckeditor5-ui/commit/ffa419a))
|
|
376
|
-
* The `ComponentFactory` should be case-insensitive. Closes [#324](https://github.com/ckeditor/ckeditor5-ui/issues/324). ([94417e9](https://github.com/ckeditor/ckeditor5-ui/commit/94417e9))
|
|
377
|
-
* Updated translations. ([186f365](https://github.com/ckeditor/ckeditor5-ui/commit/186f365))
|
|
378
|
-
|
|
379
|
-
### BREAKING CHANGES
|
|
380
|
-
|
|
381
|
-
* The `View#init()` method in UI components has been renamed to `render()`. Please refer to the [documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/architecture/intro.html#UI-library) to learn more.
|
|
382
|
-
* The `View#element` is no longer a getter which renders an element when first referenced. Use the `View#render()` method instead.
|
|
383
|
-
* `Template#children` property became an `Array` (previously `ViewCollection`).
|
|
384
|
-
* `View#addChildren()` and `View#removeChildren()` methods became `#registerChildren()` and `#deregisterChildren()`.
|
|
385
|
-
* The DOM structure of the `StickyPanelView` has changed along with the class names. Please refer to the component documentation to learn more.
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.10.0...v1.0.0-alpha.1) (2017-10-03)
|
|
389
|
-
|
|
390
|
-
### Bug fixes
|
|
391
|
-
|
|
392
|
-
* `ContextualBalloon` should remember position passed to `#updatePosition()`. Closes [#305](https://github.com/ckeditor/ckeditor5-ui/issues/305). Closes [ckeditor/ckeditor5-image#141](https://github.com/ckeditor/ckeditor5-image/issues/141). ([c787c0d](https://github.com/ckeditor/ckeditor5-ui/commit/c787c0d))
|
|
393
|
-
* `ContextualToolbar` should not be positioned to a zero–width DOM rect when invoked for a multi-line forward selection. Closes [#308](https://github.com/ckeditor/ckeditor5-ui/issues/308). ([00b701b](https://github.com/ckeditor/ckeditor5-ui/commit/00b701b))
|
|
394
|
-
* `ContextualToolbar` will accept the object format of `config.contextualToolbar`. Closes [#316](https://github.com/ckeditor/ckeditor5-ui/issues/316). ([d71cad8](https://github.com/ckeditor/ckeditor5-ui/commit/d71cad8))
|
|
395
|
-
* Fixed sticky panel's `z-index` so it's correctly rendered above images (or other relatively positioned elements). Closes [#315](https://github.com/ckeditor/ckeditor5-ui/issues/315). ([00f2add](https://github.com/ckeditor/ckeditor5-ui/commit/00f2add))
|
|
396
|
-
* The content of the `BalloonPanelView` should be selectable. Closes [#294](https://github.com/ckeditor/ckeditor5-ui/issues/294). Closes https://github.com/ckeditor/ckeditor5/issues/498. ([e5315df](https://github.com/ckeditor/ckeditor5-ui/commit/e5315df))
|
|
397
|
-
|
|
398
|
-
### Features
|
|
399
|
-
|
|
400
|
-
* Implemented `View#removeChildren()`, the opposite of `View#addChildren()`. Closes [#303](https://github.com/ckeditor/ckeditor5-ui/issues/303). ([0f1ea5a](https://github.com/ckeditor/ckeditor5-ui/commit/0f1ea5a))
|
|
401
|
-
* Replaced `StickyToolbarView` with a generic `StickyPanelView`. Closes [#297](https://github.com/ckeditor/ckeditor5-ui/issues/297). ([b10b43c](https://github.com/ckeditor/ckeditor5-ui/commit/b10b43c))
|
|
402
|
-
|
|
403
|
-
### Other changes
|
|
404
|
-
|
|
405
|
-
* `ToolbarView#fillFromConfig()` will warn when the factory does not provide a component. Closes [#291](https://github.com/ckeditor/ckeditor5-ui/issues/291). Closes [ckeditor/ckeditor5#526](https://github.com/ckeditor/ckeditor5/issues/526). ([2e63e70](https://github.com/ckeditor/ckeditor5-ui/commit/2e63e70))
|
|
406
|
-
* The `escPressHandler` function should be replaced by the `KeystrokeHandler`. Closes [#150](https://github.com/ckeditor/ckeditor5-ui/issues/150). ([b322744](https://github.com/ckeditor/ckeditor5-ui/commit/b322744))
|
|
407
|
-
|
|
408
|
-
### BREAKING CHANGES
|
|
409
|
-
|
|
410
|
-
* `Toolbar#fillFromConfig()` cannot be now called with an `undefined`. Make sure to use `normalizeToolbarConfig()` to get a reliable object.
|
|
411
|
-
* The `escPressHandler` is no longer available. Please
|
|
412
|
-
refer to the `KeystrokeHandler` helper to learn more.
|
|
413
|
-
* The `StickyToolbarView` and corresponding CSS `.ck-sticky-panel` classes are no longer available. `StickyPanelView` + `ToolbarView` combo should be used instead.
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
## [0.10.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.9.0...v0.10.0) (2017-09-03)
|
|
417
|
-
|
|
418
|
-
### Bug fixes
|
|
419
|
-
|
|
420
|
-
* `ContextualToolbar` should have proper editor toolbar styling. Closes [#230](https://github.com/ckeditor/ckeditor5-ui/issues/230). ([4e2ee36](https://github.com/ckeditor/ckeditor5-ui/commit/4e2ee36))
|
|
421
|
-
* BalloonPanelView should prevent native #selectstart event. Closes [#243](https://github.com/ckeditor/ckeditor5-ui/issues/243). ([cba3fb1](https://github.com/ckeditor/ckeditor5-ui/commit/cba3fb1))
|
|
422
|
-
* Button tooltip should not look blurry on low-DPI screens. Closes [#142](https://github.com/ckeditor/ckeditor5-ui/issues/142). Closes [#133](https://github.com/ckeditor/ckeditor5-ui/issues/133). ([a497aff](https://github.com/ckeditor/ckeditor5-ui/commit/a497aff))
|
|
423
|
-
* Clicking and dragging in a dropdown panel should not break the selection. Closes [#228](https://github.com/ckeditor/ckeditor5-ui/issues/228). ([6066a09](https://github.com/ckeditor/ckeditor5-ui/commit/6066a09))
|
|
424
|
-
* Contextual toolbar should re–position correctly on window scroll. Closes [#227](https://github.com/ckeditor/ckeditor5-ui/issues/227). ([e5ea25f](https://github.com/ckeditor/ckeditor5-ui/commit/e5ea25f))
|
|
425
|
-
* `DropdownView` should open upon arrow down key press. Closes [#249](https://github.com/ckeditor/ckeditor5-ui/issues/249). ([c1e6afc](https://github.com/ckeditor/ckeditor5-ui/commit/c1e6afc))
|
|
426
|
-
* List items should handle Enter and Space key press when focused. Closes [#153](https://github.com/ckeditor/ckeditor5-ui/issues/153). ([403b64a](https://github.com/ckeditor/ckeditor5-ui/commit/403b64a))
|
|
427
|
-
* The `clickOutsideHandler` helper should use `mousedown` instead of `mouseup` event. Closes [#281](https://github.com/ckeditor/ckeditor5-ui/issues/281). ([6b980b6](https://github.com/ckeditor/ckeditor5-ui/commit/6b980b6))
|
|
428
|
-
* The `Template` class should not throw an error when a child view in the definition has an `id` attribute set without a value. Closes [#289](https://github.com/ckeditor/ckeditor5-ui/issues/289). ([d7072ba](https://github.com/ckeditor/ckeditor5-ui/commit/d7072ba))
|
|
429
|
-
* The `TooltipView` should hide when the `TooltipView#text` is empty. The `ButtonView's` ability to get a tooltip should not be restricted after `View` initialization. Closes [#283](https://github.com/ckeditor/ckeditor5-ui/issues/283). ([1588c82](https://github.com/ckeditor/ckeditor5-ui/commit/1588c82))
|
|
430
|
-
* The dropdown menu should not open using the keyboard when disabled. Closes [#238](https://github.com/ckeditor/ckeditor5-ui/issues/238). ([fc524b8](https://github.com/ckeditor/ckeditor5-ui/commit/fc524b8))
|
|
431
|
-
|
|
432
|
-
### Features
|
|
433
|
-
|
|
434
|
-
* `StickyToolbarView` now supports a configurable vertical offset from the top of the page. Closes [#277](https://github.com/ckeditor/ckeditor5-ui/issues/277). ([245f0fa](https://github.com/ckeditor/ckeditor5-ui/commit/245f0fa))
|
|
435
|
-
|
|
436
|
-
Also implemented the `normalizeToolbarConfig()` utility.
|
|
437
|
-
* Added `TextInputView#isReadOnly` and `LabeledInputView#isReadOnly` states. Closes [#266](https://github.com/ckeditor/ckeditor5-ui/issues/266). Closes [#268](https://github.com/ckeditor/ckeditor5-ui/issues/268). ([111a728](https://github.com/ckeditor/ckeditor5-ui/commit/111a728))
|
|
438
|
-
* Added optional notification title. Closes [#241](https://github.com/ckeditor/ckeditor5-ui/issues/241). ([abbb68f](https://github.com/ckeditor/ckeditor5-ui/commit/abbb68f))
|
|
439
|
-
* Allowed `BalloonPanelView` position limiter defined as a function. Made `ContextualBalloon` position limiter configurable via `#positionLimiter` property. Closes [#260](https://github.com/ckeditor/ckeditor5-ui/issues/260). ([322563e](https://github.com/ckeditor/ckeditor5-ui/commit/322563e))
|
|
440
|
-
* Implemented placeholder in `InputTextView`. Closes [#220](https://github.com/ckeditor/ckeditor5-ui/issues/220). ([5d91d18](https://github.com/ckeditor/ckeditor5-ui/commit/5d91d18))
|
|
441
|
-
* Introduced `CommandFactory#names()`. Closes [#287](https://github.com/ckeditor/ckeditor5-ui/issues/287). ([4038da2](https://github.com/ckeditor/ckeditor5-ui/commit/4038da2))
|
|
442
|
-
|
|
443
|
-
### Other changes
|
|
444
|
-
|
|
445
|
-
* Add support for multiple context elements in the `clickOutsideHandler` helper. Closes [#261](https://github.com/ckeditor/ckeditor5-ui/issues/261). ([9da5bf7](https://github.com/ckeditor/ckeditor5-ui/commit/9da5bf7))
|
|
446
|
-
* Added the `beforeShow` event to the `ContextualToolbar` plugin. Closes [#222](https://github.com/ckeditor/ckeditor5-ui/issues/222). ([835d0ac](https://github.com/ckeditor/ckeditor5-ui/commit/835d0ac))
|
|
447
|
-
* Implemented public `show()` and `hide()` methods in the `ContextualToolbar` plugin. Closes [#263](https://github.com/ckeditor/ckeditor5-ui/issues/263). ([eb4caab](https://github.com/ckeditor/ckeditor5-ui/commit/eb4caab))
|
|
448
|
-
* Improvements in the `BalloonPanelView`–based components for the balloon toolbar editor. Closes [#236](https://github.com/ckeditor/ckeditor5-ui/issues/236). Closes [#234](https://github.com/ckeditor/ckeditor5-ui/issues/234). Closes [#224](https://github.com/ckeditor/ckeditor5-ui/issues/224). ([737b55f](https://github.com/ckeditor/ckeditor5-ui/commit/737b55f))
|
|
449
|
-
* Made the UI component initialization and destruction processes synchronous. Closes [#225](https://github.com/ckeditor/ckeditor5-ui/issues/225). ([07e1502](https://github.com/ckeditor/ckeditor5-ui/commit/07e1502))
|
|
450
|
-
* Made the UI destruction a fail–safe, repeatable process. Closes [#248](https://github.com/ckeditor/ckeditor5-ui/issues/248). ([6f5ec0d](https://github.com/ckeditor/ckeditor5-ui/commit/6f5ec0d))
|
|
451
|
-
* The `ContextualToolbar` should not show up when all child items are disabled. The `ContextualToolbar#beforeShow` event has been replaced by `ContextualToolbar#show`. Closes [#269](https://github.com/ckeditor/ckeditor5-ui/issues/269). Closes [#232](https://github.com/ckeditor/ckeditor5-ui/issues/232). ([d83d07d](https://github.com/ckeditor/ckeditor5-ui/commit/d83d07d))
|
|
452
|
-
|
|
453
|
-
### BREAKING CHANGES
|
|
454
|
-
|
|
455
|
-
* `StickyToolbarView#limiterOffset` has been renamed to `StickyToolbarView#limiterBottomOffset`.
|
|
456
|
-
* `ContextualToolbar#beforeShow` is no longer available. Please refer to `ContextualToolbar#show` instead.
|
|
457
|
-
* The `clickOutsideHandler` helper's `contextElement` config option is now an `Array` named `contextElements`.
|
|
458
|
-
* `View#init()`, `View#destroy()` (also `ViewCollection#init()`, `ViewCollection#destroy()` and `ViewCollection#add()`) no longer return `Promise`. It may require updates in UI components which inherit from `View` and rely on the value returned by these methods.
|
|
459
|
-
* Various UI components switched to synchronous `init()` and `destroy()` (no longer returning `Promise`), which means that features using these components may need some updates to work properly.
|
|
460
|
-
* The position names in `BalloonPanelView.defaultPositions` and their results have changed. Please refer to the latest API documentation to learn more.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
## [0.9.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.8.0...v0.9.0) (2017-05-07)
|
|
464
|
-
|
|
465
|
-
### Bug fixes
|
|
466
|
-
|
|
467
|
-
* `BalloonPanelView` should not be focusable. Closes [#206](https://github.com/ckeditor/ckeditor5-ui/issues/206). ([f9e3bb7](https://github.com/ckeditor/ckeditor5-ui/commit/f9e3bb7))
|
|
468
|
-
|
|
469
|
-
T/206a: BalloonPanelView should not be focusable
|
|
470
|
-
* ContextualBalloon plugin should use BalloonPanelView#pin instead of #attachTo. Closes [#192](https://github.com/ckeditor/ckeditor5-ui/issues/192). ([28dd457](https://github.com/ckeditor/ckeditor5-ui/commit/28dd457))
|
|
471
|
-
* ContextualBalloon.view#element should be registered in editor's focus tracker. Closes [#193](https://github.com/ckeditor/ckeditor5-ui/issues/193). ([cfbe329](https://github.com/ckeditor/ckeditor5-ui/commit/cfbe329))
|
|
472
|
-
* FocusCycler should ignore invisible views. Closes [#209](https://github.com/ckeditor/ckeditor5-ui/issues/209). ([b8fbaf1](https://github.com/ckeditor/ckeditor5-ui/commit/b8fbaf1))
|
|
473
|
-
|
|
474
|
-
T/209: FocusCycler should not consider invisible views.
|
|
475
|
-
* ViewCollection#destroy should wait for all ViewCollection#add promises to resolve to avoid errors. Closes [#203](https://github.com/ckeditor/ckeditor5-ui/issues/203). ([a7e7c94](https://github.com/ckeditor/ckeditor5-ui/commit/a7e7c94))
|
|
476
|
-
|
|
477
|
-
### Features
|
|
478
|
-
|
|
479
|
-
* Added keepAttachedTo() method to the BalloonPanelView. Closes [#170](https://github.com/ckeditor/ckeditor5-ui/issues/170). ([101b465](https://github.com/ckeditor/ckeditor5-ui/commit/101b465))
|
|
480
|
-
* Introduced `ContextualToolbar` plugin. Closes [#182](https://github.com/ckeditor/ckeditor5-ui/issues/182). Closes [#187](https://github.com/ckeditor/ckeditor5-ui/issues/187). ([66a30b1](https://github.com/ckeditor/ckeditor5-ui/commit/66a30b1))
|
|
481
|
-
|
|
482
|
-
Introduced several new positions in `BalloonPanelView#defaultPositions`. Added `className` attribute to the `BalloonPanelView` interface.
|
|
483
|
-
|
|
484
|
-
BREAKING CHANGE: Default positions of the `BalloonPanelView` have been renamed.
|
|
485
|
-
|
|
486
|
-
BREAKING CHANGE: Class names controlling the arrow of the panel have been renamed.
|
|
487
|
-
* Introduced ContextualBalloon plugin for managing contextual balloons. Closes [#134](https://github.com/ckeditor/ckeditor5-ui/issues/134). ([3ceb6a6](https://github.com/ckeditor/ckeditor5-ui/commit/3ceb6a6))
|
|
488
|
-
* Introduced notification plugin. Closes [#189](https://github.com/ckeditor/ckeditor5-ui/issues/189). ([f2dd63f](https://github.com/ckeditor/ckeditor5-ui/commit/f2dd63f))
|
|
489
|
-
|
|
490
|
-
### Other changes
|
|
491
|
-
|
|
492
|
-
* Improved ContextualBalloon so it supports asynchronous Views. Closes [#200](https://github.com/ckeditor/ckeditor5-ui/issues/200). ([09067aa](https://github.com/ckeditor/ckeditor5-ui/commit/09067aa))
|
|
493
|
-
* Merged `FloatingPanelView` into `BalloonPanelView`. Closes [#191](https://github.com/ckeditor/ckeditor5-ui/issues/191). ([4b90faa](https://github.com/ckeditor/ckeditor5-ui/commit/4b90faa))
|
|
494
|
-
|
|
495
|
-
BREAKING CHANGE: `FloatingPanelView` is no longer available.
|
|
496
|
-
BREAKING CHANGE: `BalloonPanelView#keepAttachedTo()` has been replaced by `pin()`.
|
|
497
|
-
BREAKING CHANGE: Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`.
|
|
498
|
-
* Updated translations. ([3455fe7](https://github.com/ckeditor/ckeditor5-ui/commit/3455fe7))
|
|
499
|
-
|
|
500
|
-
### BREAKING CHANGES
|
|
501
|
-
|
|
502
|
-
* Default positions of the `BalloonPanelView` have been renamed.
|
|
503
|
-
* Class names controlling the arrow of the panel have been renamed.
|
|
504
|
-
* `FloatingPanelView` is no longer available.
|
|
505
|
-
* `BalloonPanelView#keepAttachedTo()` has been replaced by `pin()`.
|
|
506
|
-
* Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`.
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
## [0.8.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.1...v0.8.0) (2017-04-05)
|
|
510
|
-
|
|
511
|
-
### Features
|
|
512
|
-
|
|
513
|
-
* Allowed marking ListItemView active using the #isActive attribute. Closes [#166](https://github.com/ckeditor/ckeditor5-ui/issues/166). ([a19d6c4](https://github.com/ckeditor/ckeditor5-ui/commit/a19d6c4))
|
|
514
|
-
* Enabled styling via "class" attribute in ListItemView. Closes [#162](https://github.com/ckeditor/ckeditor5-ui/issues/162). ([672bf82](https://github.com/ckeditor/ckeditor5-ui/commit/672bf82))
|
|
515
|
-
* Implemented features necessary for creating inline editors UI – `FloatingPanelView` class, `Template.revert()` method and `enableToolbarKeyboardFocus()` util. Closes [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152). ([cb606d7](https://github.com/ckeditor/ckeditor5-ui/commit/cb606d7))
|
|
516
|
-
|
|
517
|
-
### Other changes
|
|
518
|
-
|
|
519
|
-
* `ComponentFactory` will throw an error when attempting to create a non-existent component. Closes [#174](https://github.com/ckeditor/ckeditor5-ui/issues/174). ([ef0a7f8](https://github.com/ckeditor/ckeditor5-ui/commit/ef0a7f8))
|
|
520
|
-
* Imported "ck-hidden" CSS class from ckeditor5-theme-lark. Closes [#164](https://github.com/ckeditor/ckeditor5-ui/issues/164). ([486bb22](https://github.com/ckeditor/ckeditor5-ui/commit/486bb22))
|
|
521
|
-
* Moved `ViewCollection#bindTo` method to `Collection` class in `ckeditor5-utils`. Closes [#168](https://github.com/ckeditor/ckeditor5-ui/issues/168). ([5b55987](https://github.com/ckeditor/ckeditor5-ui/commit/5b55987))
|
|
522
|
-
* Updated translations. ([3b27e51](https://github.com/ckeditor/ckeditor5-ui/commit/3b27e51))
|
|
523
|
-
|
|
524
|
-
### BREAKING CHANGES
|
|
525
|
-
|
|
526
|
-
* `ViewCollection#bindTo.as` is renamed to `Collection#bindTo.using` when mapping function is a parameter. See`Collection#bindTo` docs.
|
|
527
|
-
* The `ui/balloonpanel/balloonpanelview` module was renamed to `ui/panel/balloon/balloonpanelview`. See [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152).
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
## [0.7.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.0...v0.8.0) (2017-03-06)
|
|
531
|
-
|
|
532
|
-
### Bug fixes
|
|
533
|
-
|
|
534
|
-
* Removed title from the editable element. Fixes [#121](https://github.com/ckeditor/ckeditor5/issues/121). ([71fb3eb](https://github.com/ckeditor/ckeditor5-ui/commit/71fb3eb))
|
|
535
|
-
|
|
536
|
-
### Features
|
|
537
|
-
|
|
538
|
-
* Added support for toolbar item separators. Closes [#154](https://github.com/ckeditor/ckeditor5/issues/154). ([f3cb75d](https://github.com/ckeditor/ckeditor5-ui/commit/f3cb75d))
|
|
539
|
-
|
|
540
|
-
### Other changes
|
|
541
|
-
|
|
542
|
-
* Uploaded translations. ([67ba32b](https://github.com/ckeditor/ckeditor5-ui/commit/67ba32b))
|