@ckeditor/ckeditor5-ui 47.7.1 → 47.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "47.7.1",
3
+ "version": "47.7.2",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -17,11 +17,11 @@
17
17
  "type": "module",
18
18
  "main": "src/index.js",
19
19
  "dependencies": {
20
- "@ckeditor/ckeditor5-core": "47.7.1",
21
- "@ckeditor/ckeditor5-editor-multi-root": "47.7.1",
22
- "@ckeditor/ckeditor5-engine": "47.7.1",
23
- "@ckeditor/ckeditor5-icons": "47.7.1",
24
- "@ckeditor/ckeditor5-utils": "47.7.1",
20
+ "@ckeditor/ckeditor5-core": "47.7.2",
21
+ "@ckeditor/ckeditor5-editor-multi-root": "47.7.2",
22
+ "@ckeditor/ckeditor5-engine": "47.7.2",
23
+ "@ckeditor/ckeditor5-icons": "47.7.2",
24
+ "@ckeditor/ckeditor5-utils": "47.7.2",
25
25
  "@types/color-convert": "2.0.4",
26
26
  "color-convert": "3.1.0",
27
27
  "color-parse": "2.0.2",
@@ -151,7 +151,7 @@ export class ButtonView extends View {
151
151
  return String(!!isOn);
152
152
  });
153
153
  // On Safari we have to force the focus on a button on click as it's the only browser
154
- // that doesn't do that automatically. See #12115.
154
+ // that doesn't do that automatically. See https://github.com/ckeditor/ckeditor5/issues/12115.
155
155
  if (env.isSafari) {
156
156
  if (!this._focusDelayed) {
157
157
  this._focusDelayed = delay(() => this.focus(), 0);
@@ -489,8 +489,9 @@ function focusDropdownButtonOnClose(dropdownView) {
489
489
  return;
490
490
  }
491
491
  const elements = dropdownView.focusTracker.elements;
492
- // If the dropdown was closed, move the focus back to the button (#12125).
493
- // Don't touch the focus, if it moved somewhere else (e.g. moved to the editing root on #execute) (#12178).
492
+ // If the dropdown was closed, move the focus back to the button (https://github.com/ckeditor/ckeditor5/issues/12125).
493
+ // Don't touch the focus, if it moved somewhere else (e.g. moved to the editing root on #execute).
494
+ // See https://github.com/ckeditor/ckeditor5/issues/12178.
494
495
  // Note: Don't use the state of the DropdownView#focusTracker here. It fires #blur with the timeout.
495
496
  if (elements.some(element => element.contains(global.document.activeElement))) {
496
497
  dropdownView.buttonView.focus();
@@ -364,7 +364,7 @@ export class EditorUI extends /* #__PURE__ */ ObservableMixin() {
364
364
  // This ensures, the navigation works always the same and no pair of toolbars takes over
365
365
  // (e.g. image and table toolbars when a selected image is inside a cell).
366
366
  // * It could be that the focus went to the toolbar by clicking a toolbar item (e.g. a dropdown). In this case,
367
- // there were no candidates so they must be obtained (#12339).
367
+ // there were no candidates so they must be obtained (https://github.com/ckeditor/ckeditor5/issues/12339).
368
368
  if (!currentFocusedToolbarDefinition || !candidateDefinitions) {
369
369
  candidateDefinitions = this._getFocusableCandidateToolbarDefinitions();
370
370
  }
@@ -174,7 +174,7 @@ export class BlockToolbar extends Plugin {
174
174
  */
175
175
  destroy() {
176
176
  super.destroy();
177
- // Destroy created UI components as they are not automatically destroyed (see ckeditor5#1341).
177
+ // Destroy created UI components as they are not automatically destroyed (see https://github.com/ckeditor/ckeditor5/issues/1341).
178
178
  this.panelView.destroy();
179
179
  this.buttonView.destroy();
180
180
  this.toolbarView.destroy();
@@ -5,7 +5,7 @@
5
5
 
6
6
  .ck.ck-sticky-panel {
7
7
  & .ck-sticky-panel__content_sticky {
8
- z-index: var(--ck-z-panel); /* #315 */
8
+ z-index: var(--ck-z-panel); /* https://github.com/ckeditor/ckeditor5/issues/315 */
9
9
  position: fixed;
10
10
  top: 0;
11
11
  }