@ckeditor/ckeditor5-ui 30.0.0 → 31.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "30.0.0",
3
+ "version": "31.0.0",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,27 +11,27 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-utils": "^30.0.0",
15
- "@ckeditor/ckeditor5-core": "^30.0.0",
14
+ "@ckeditor/ckeditor5-utils": "^31.0.0",
15
+ "@ckeditor/ckeditor5-core": "^31.0.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
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"
19
+ "@ckeditor/ckeditor5-basic-styles": "^31.0.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^31.0.0",
21
+ "@ckeditor/ckeditor5-editor-balloon": "^31.0.0",
22
+ "@ckeditor/ckeditor5-editor-classic": "^31.0.0",
23
+ "@ckeditor/ckeditor5-engine": "^31.0.0",
24
+ "@ckeditor/ckeditor5-enter": "^31.0.0",
25
+ "@ckeditor/ckeditor5-essentials": "^31.0.0",
26
+ "@ckeditor/ckeditor5-heading": "^31.0.0",
27
+ "@ckeditor/ckeditor5-image": "^31.0.0",
28
+ "@ckeditor/ckeditor5-link": "^31.0.0",
29
+ "@ckeditor/ckeditor5-list": "^31.0.0",
30
+ "@ckeditor/ckeditor5-mention": "^31.0.0",
31
+ "@ckeditor/ckeditor5-paragraph": "^31.0.0",
32
+ "@ckeditor/ckeditor5-horizontal-line": "^31.0.0",
33
+ "@ckeditor/ckeditor5-table": "^31.0.0",
34
+ "@ckeditor/ckeditor5-typing": "^31.0.0"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=12.0.0",
@@ -125,7 +125,10 @@ export default class InputTextView extends View {
125
125
  'aria-describedby': bind.to( 'ariaDescribedById' )
126
126
  },
127
127
  on: {
128
- input: bind.to( 'input' ),
128
+ input: bind.to( ( ...args ) => {
129
+ this.fire( 'input', ...args );
130
+ this._updateIsEmpty();
131
+ } ),
129
132
  change: bind.to( this._updateIsEmpty.bind( this ) )
130
133
  }
131
134
  } );
@@ -509,7 +509,7 @@ export default class ContextualBalloon extends Plugin {
509
509
 
510
510
  // Don't modify the original options object.
511
511
  position = Object.assign( {}, position, {
512
- viewportOffsetConfig: this.editor.config.get( 'ui.viewportOffset' )
512
+ viewportOffsetConfig: this.editor.ui.viewportOffset
513
513
  } );
514
514
  }
515
515