canvas-editor-engine 1.0.23 → 1.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -224,7 +224,6 @@ ExcretionsComponent.css = `
224
224
 
225
225
  .crop-button--view {
226
226
  display: flex;
227
- z-index: 1001;
228
227
  }
229
228
 
230
229
  @keyframes border-dance {
package/dist/config.d.ts CHANGED
@@ -1,7 +1,13 @@
1
1
  import { ICanvasSize } from "./types/canvas";
2
- export default class AppConfig {
3
- private static _WEB_COMPONENT_TAG_NAME;
4
- private static _CANVAS_SIZE;
2
+ export interface IConfigStore {
3
+ _WEB_COMPONENT_TAG_NAME: string;
4
+ _CANVAS_SIZE: ICanvasSize;
5
+ }
6
+ export declare class ConfigFabric {
7
+ protected static _WEB_COMPONENT_TAG_NAME: string;
8
+ protected static _CANVAS_SIZE: ICanvasSize;
9
+ }
10
+ export default class AppConfig extends ConfigFabric {
5
11
  static get WEB_COMPONENT_TAG_NAME(): string;
6
12
  static set WEB_COMPONENT_TAG_NAME(value: string | undefined);
7
13
  static get CANVAS_SIZE(): ICanvasSize;
package/dist/config.js CHANGED
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- class AppConfig {
3
+ exports.ConfigFabric = void 0;
4
+ class ConfigFabric {
5
+ }
6
+ exports.ConfigFabric = ConfigFabric;
7
+ class AppConfig extends ConfigFabric {
4
8
  static get WEB_COMPONENT_TAG_NAME() {
5
9
  return AppConfig._WEB_COMPONENT_TAG_NAME;
6
10
  }
@@ -21,9 +25,11 @@ class AppConfig {
21
25
  }
22
26
  }
23
27
  }
24
- AppConfig._WEB_COMPONENT_TAG_NAME = 'canvas-editor-engine';
25
- AppConfig._CANVAS_SIZE = {
26
- width: 300,
27
- height: 150,
28
- };
28
+ (() => {
29
+ AppConfig._CANVAS_SIZE = {
30
+ width: 300,
31
+ height: 150,
32
+ };
33
+ AppConfig._WEB_COMPONENT_TAG_NAME = 'canvas-editor-engine';
34
+ })();
29
35
  exports.default = AppConfig;
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",