Releases: ckeditor/ckeditor5-ui
v19.0.0
MAJOR BREAKING CHANGES
ViewCollectionno longer has thelocaleproperty.- The
ViewCollection#constructor()no longer accepts thelocaleparameter. LabeledViewcomponent was renamed toLabeledFieldView. Also, its instance of a labeled component's view is available throughLabeledFieldView#fieldView. It replaced theLabeledView#view.
MINOR BREAKING CHANGES
- The
DropdownView#focusTrackerproperty has been removed as it served no purpose.
Features
-
Allowed defining initial items of
ViewCollectionandBodyCollectionin the constructor. See ckeditor/ckeditor5#6319. (6cd15de)The
View#createCollection()method now also accepts an iterator of views. -
Introduce
FormHeaderViewUI component. Closes ckeditor/ckeditor5#6109. (eb1ce18) -
The
BlockToolbarshould group items when there is no place to show them all. Closes ckeditor/ckeditor5#6449. Closes ckeditor/ckeditor5#6575. Closes ckeditor/ckeditor5#6570. (fcd9c4e)Improved
ToolbarView#maxWidthand items grouping when the toolbar is invisible.
Bug fixes
- Call
ResizeObserver.destroy()when destroying block toolbar. (59449d2)
Other changes
- Removed the obsolete
DropdownView#focusTracker. Closes ckeditor/ckeditor5#6548. (ac750c7) - Rename
LabeledViewcomponent toLabeledFieldView. See ckeditor/ckeditor5#6110. (5a7aca7) - Updated translations. (2a391d6)
v18.0.0
MAJOR BREAKING CHANGES
- The
BalloonToolbarplugin now groups the overflowing items by default. This can be disabled by settingconfig.balloonToolbar.shouldNotGroupWhenFullconfiguration totrue.
Features
-
The
BalloonToolbarplugin should group items when its width is close to related editable's width. Closes ckeditor/ckeditor5#5597. Closes ckeditor/ckeditor5#5501. (d36fd23)BalloonPanelView.defaultPositionshas been extended with additional positions. Please refer to the documentation to learn more.
Other changes
- Updated translations. (ace38eb)
v17.0.0
Features
-
Created the
LabeledViewclass (see ckeditor/ckeditor5-table#227). (ec39406)Also added
idproperties to theDropdownViewandLabelViewfor compatibility with theLabeledView. -
Implemented the
Toolbar#isCompactproperty to turn regular toolbars into compact ones (with less spacing) (see ckeditor/ckeditor5#6112). (a6b9c09) -
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. (23d12e9)
Bug fixes
- Make
BlockToolbarwork with an empty configuration. Closes ckeditor/ckeditor5#5980. (1e05098)
Other changes
-
Replaced the
getResizeObserver()helper with newResizeObserverclass inToolbarView. (be98aa4)Follow-up on: ckeditor/ckeditor5-utils#320
-
Updated translations. (b8bd38e)
v16.0.0
Features
- Enabled keystroke preview in
ButtonView. Implemented theButtonView#withKeystrokeproperty. Closes ckeditor/ckeditor5#5782. (dac8ce0)
Bug fixes
- Use relative positioning for dropdowns to prevent ugly blurring in Chrome. Closes ckeditor/ckeditor5#1053. (95404e3)
Other changes
- Updated translations. (16ee253)
v15.0.0
MAJOR BREAKING CHANGES
- 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).
Features
- The editor toolbar is now responsive. Closes ckeditor/ckeditor5#416. (46911bf)
Other changes
v14.0.0
Features
- Brought support for right–to–left (RTL) languages to various UI components. See ckeditor/ckeditor5#1151. (d6c7f55)
Bug fixes
ColorGridshould set the#isOnproperty value of newColorTiles. See ckeditor/ckeditor5-font#51. (e89ad60)- All editor toolbars should come with the
roleandaria-labelattributes. Closes ckeditor/ckeditor5#1404. (bdede90) - Screen reader will now properly prompt errors for text inputs. Closes ckeditor/ckeditor5#1406. (3a164b7)
Other changes
- The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See ckeditor/ckeditor5#1988. (451df7b)
- Updated translations. (eca9fe6)
BREAKING CHANGES
- The
ToolbarViewclass requires the editor locale to be passed into the constructor.
v13.0.2
v13.0.1
v13.0.0
Features
- Implemented the single view mode for the
ContextualBalloonplugin. See https://github.com/ckeditor/ckeditor5-mention/issues/74. (c000c93) - Introduced rotatable panels for
ContextualBalloon. Closes https://github.com/ckeditor/ckeditor5-ui/issues/491. (581d8f7)
Other changes
- Renamed a misspelled
InputTextViewariaDesribedByIdproperty toInputTextView#ariaDescribedById. Closes #483. (2288bf3) - The
_rwd.cssmixin was moved to this package from@ckeditor/ckeditor5-theme-lark. See ckeditor/ckeditor5#1662. (96e3a3c) - The
ContextualBalloon#add()method should accept thewithArrowoption. Closes #487. (0e7f670) - Updated translations. (4699d8b) (d4c5714)
BREAKING CHANGES
- The (misspelled)
InputTextView#ariaDesribedByIdproperty is no longer available. UseariaDescribedByIdinstead.
v12.1.0
Features
- Implemented
ColorGridViewandColorTileViewcomponents. See ckeditor/ckeditor5#1457. (6be52b4)
Bug fixes
- Fixed
View#rendercollision when moving focus from a one editable to the other in multi-root editor. Closes ckeditor/ckeditor5#1676. (17e86f9)