@node-projects/web-component-designer 0.1.6 → 0.1.8

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.
@@ -2,7 +2,7 @@ import { IUiCommandHandler } from '../../../commandHandling/IUiCommandHandler.js
2
2
  import { IDisposable } from '../../../interfaces/IDisposable.js';
3
3
  import { IStringPosition } from '../../services/htmlWriterService/IStringPosition.js';
4
4
  import { TypedEvent } from '@node-projects/base-custom-webcomponent';
5
- export interface ICodeView extends IUiCommandHandler, IDisposable {
5
+ export interface ICodeView extends IUiCommandHandler, IDisposable, HTMLElement {
6
6
  update(code: string): any;
7
7
  getText(): any;
8
8
  setSelection(position: IStringPosition): any;
@@ -2,6 +2,6 @@ import { IUiCommandHandler } from '../../../commandHandling/IUiCommandHandler.js
2
2
  import { IDisposable } from '../../../interfaces/IDisposable.js';
3
3
  import { InstanceServiceContainer } from '../../services/InstanceServiceContainer.js';
4
4
  import { ServiceContainer } from '../../services/ServiceContainer.js';
5
- export interface IDemoView extends IUiCommandHandler, IDisposable {
5
+ export interface IDemoView extends IUiCommandHandler, IDisposable, HTMLElement {
6
6
  display(serviceContainer: ServiceContainer, instanceServiceContainer: InstanceServiceContainer, code: string, style: string): any;
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A UI designer for Polymer apps",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.1.6",
4
+ "version": "0.1.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",
@@ -12,7 +12,7 @@
12
12
  "prepublishOnly": "npm run build"
13
13
  },
14
14
  "dependencies": {
15
- "@node-projects/base-custom-webcomponent": "^0.17.2"
15
+ "@node-projects/base-custom-webcomponent": "^0.18.1"
16
16
  },
17
17
  "devDependencies": {
18
18
  "mdn-data": "^2.1.0"