@ckeditor/ckeditor5-utils 27.1.0 → 29.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,8 +2,8 @@ CKEditor 5 utilities
2
2
  ========================================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-utils.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils)
5
- [![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-utils/status.svg)](https://david-dm.org/ckeditor/ckeditor5-utils)
6
- [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-utils/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-utils?type=dev)
5
+ [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
+ [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://travis-ci.com/ckeditor/ckeditor5)
7
7
 
8
8
  Various utilities used by CKEditor 5 and its features. This is a sort of CKEditor 5's standard library.
9
9
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-utils",
3
- "version": "27.1.0",
4
- "description": "Miscellaneous utils used by CKEditor 5.",
3
+ "version": "29.2.0",
4
+ "description": "Miscellaneous utilities used by CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
7
7
  "ckeditor5",
@@ -14,10 +14,10 @@
14
14
  "lodash-es": "^4.17.15"
15
15
  },
16
16
  "devDependencies": {
17
- "@ckeditor/ckeditor5-build-classic": "^27.1.0",
18
- "@ckeditor/ckeditor5-editor-classic": "^27.1.0",
19
- "@ckeditor/ckeditor5-core": "^27.1.0",
20
- "@ckeditor/ckeditor5-engine": "^27.1.0",
17
+ "@ckeditor/ckeditor5-build-classic": "^29.2.0",
18
+ "@ckeditor/ckeditor5-editor-classic": "^29.2.0",
19
+ "@ckeditor/ckeditor5-core": "^29.2.0",
20
+ "@ckeditor/ckeditor5-engine": "^29.2.0",
21
21
  "assertion-error": "^1.1.0",
22
22
  "js-beautify": "^1.11.0"
23
23
  },
@@ -37,6 +37,7 @@
37
37
  "files": [
38
38
  "lang",
39
39
  "src",
40
- "theme"
40
+ "theme",
41
+ "ckeditor5-metadata.json"
41
42
  ]
42
43
  }
@@ -377,7 +377,7 @@ function getAbsoluteRectCoordinates( { left, top } ) {
377
377
  /**
378
378
  * Target with respect to which the `element` is to be positioned.
379
379
  *
380
- * @member {HTMLElement|Range|ClientRect|Rect|Function} #target
380
+ * @member {HTMLElement|Range|Window|ClientRect|DOMRect|module:utils/dom/rect~Rect|Object|Function} #target
381
381
  */
382
382
 
383
383
  /**
@@ -393,7 +393,7 @@ function getAbsoluteRectCoordinates( { left, top } ) {
393
393
  * When set, the algorithm will chose position which fits the most in the
394
394
  * limiter's bounding rect.
395
395
  *
396
- * @member {HTMLElement|Range|ClientRect|Rect|Function} #limiter
396
+ * @member {HTMLElement|Range|Window|ClientRect|DOMRect|module:utils/dom/rect~Rect|Object|Function} #limiter
397
397
  */
398
398
 
399
399
  /**
package/src/dom/rect.js CHANGED
@@ -46,7 +46,7 @@ export default class Rect {
46
46
  * ant the rect of a `window` includes scrollbars too. Use {@link #excludeScrollbarsAndBorders}
47
47
  * to get the inner part of the rect.
48
48
  *
49
- * @param {HTMLElement|Range|Window|ClientRect|module:utils/dom/rect~Rect|Object} source A source object to create the rect.
49
+ * @param {HTMLElement|Range|Window|ClientRect|DOMRect|module:utils/dom/rect~Rect|Object} source A source object to create the rect.
50
50
  */
51
51
  constructor( source ) {
52
52
  const isSourceRange = isRange( source );
@@ -56,7 +56,7 @@ export default class Rect {
56
56
  *
57
57
  * @protected
58
58
  * @readonly
59
- * @member {HTMLElement|Range|ClientRect|module:utils/dom/rect~Rect|Object} #_source
59
+ * @member {HTMLElement|Range|Window|ClientRect|DOMRect|module:utils/dom/rect~Rect|Object} #_source
60
60
  */
61
61
  Object.defineProperty( this, '_source', {
62
62
  // If the source is a Rect instance, copy it's #_source.
@@ -23,9 +23,9 @@ const _decoratedOriginal = Symbol( 'decoratedOriginal' );
23
23
  * {@link ~Observable} interface.
24
24
  *
25
25
  * Read more about the concept of observables in the:
26
- * * {@glink framework/guides/architecture/core-editor-architecture#event-system-and-observables "Event system and observables"}
27
- * section of the {@glink framework/guides/architecture/core-editor-architecture "Core editor architecture"} guide,
28
- * * {@glink framework/guides/deep-dive/observables "Observables" deep dive} guide.
26
+ * * {@glink framework/guides/architecture/core-editor-architecture#event-system-and-observables Event system and observables}
27
+ * section of the {@glink framework/guides/architecture/core-editor-architecture Core editor architecture} guide,
28
+ * * {@glink framework/guides/deep-dive/observables Observables deep dive} guide.
29
29
  *
30
30
  * @mixin ObservableMixin
31
31
  * @mixes module:utils/emittermixin~EmitterMixin
@@ -701,9 +701,9 @@ function attachBindToListeners( observable, toBindings ) {
701
701
  * Can be easily implemented by a class by mixing the {@link module:utils/observablemixin~ObservableMixin} mixin.
702
702
  *
703
703
  * Read more about the usage of this interface in the:
704
- * * {@glink framework/guides/architecture/core-editor-architecture#event-system-and-observables "Event system and observables"}
705
- * section of the {@glink framework/guides/architecture/core-editor-architecture "Core editor architecture"} guide,
706
- * * {@glink framework/guides/deep-dive/observables "Observables" deep dive} guide.
704
+ * * {@glink framework/guides/architecture/core-editor-architecture#event-system-and-observables Event system and observables}
705
+ * section of the {@glink framework/guides/architecture/core-editor-architecture Core editor architecture} guide,
706
+ * * {@glink framework/guides/deep-dive/observables Observables deep dive} guide.
707
707
  *
708
708
  * @interface Observable
709
709
  * @extends module:utils/emittermixin~Emitter
package/src/version.js CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  import CKEditorError from './ckeditorerror';
13
13
 
14
- const version = '27.1.0';
14
+ const version = '29.2.0';
15
15
 
16
16
  export default version;
17
17