@drincs/nqtr 0.1.14 → 0.1.15

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.
@@ -1,18 +1,17 @@
1
- import { GraphicItemInterface, GraphicHTMLElement } from '@drincs/nqtr/dist/override';
1
+ import { GraphicItemInterface } from '@drincs/nqtr/dist/override';
2
2
  import { CanvasBase } from '@drincs/pixi-vn';
3
3
 
4
4
  /**
5
5
  * Grafic item type.
6
- * You can override this type you must override this the GraphicItemInterface and the GraphicHTMLElement interfaces.
6
+ * You can override this type you must override this the GraphicItemInterface interface.
7
7
  * @example
8
8
  * ```typescript
9
9
  * // nqtr.types.ts
10
10
  * declare module '@drincs/nqtr/dist/override' {
11
11
  * interface GraphicItemInterface {}
12
- * interface GraphicHTMLElement {}
13
12
  * }
14
13
  * ```
15
14
  */
16
- type GraphicItemType = string | CanvasBase<any> | GraphicItemInterface | GraphicHTMLElement;
15
+ type GraphicItemType = string | CanvasBase<any> | GraphicItemInterface | JSX.Element | HTMLElement;
17
16
 
18
17
  export type { GraphicItemType as default };
@@ -1,18 +1,17 @@
1
- import { GraphicItemInterface, GraphicHTMLElement } from '@drincs/nqtr/dist/override';
1
+ import { GraphicItemInterface } from '@drincs/nqtr/dist/override';
2
2
  import { CanvasBase } from '@drincs/pixi-vn';
3
3
 
4
4
  /**
5
5
  * Grafic item type.
6
- * You can override this type you must override this the GraphicItemInterface and the GraphicHTMLElement interfaces.
6
+ * You can override this type you must override this the GraphicItemInterface interface.
7
7
  * @example
8
8
  * ```typescript
9
9
  * // nqtr.types.ts
10
10
  * declare module '@drincs/nqtr/dist/override' {
11
11
  * interface GraphicItemInterface {}
12
- * interface GraphicHTMLElement {}
13
12
  * }
14
13
  * ```
15
14
  */
16
- type GraphicItemType = string | CanvasBase<any> | GraphicItemInterface | GraphicHTMLElement;
15
+ type GraphicItemType = string | CanvasBase<any> | GraphicItemInterface | JSX.Element | HTMLElement;
17
16
 
18
17
  export type { GraphicItemType as default };
@@ -1,4 +1,3 @@
1
- export { default as GraphicHTMLElement } from './GraphicHTMLElement.mjs';
2
1
  export { default as GraphicItemInterface } from './GraphicItemInterface.mjs';
3
2
  export { default as GraphicItemType } from './GraphicItemType.mjs';
4
3
  export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.mjs';
@@ -1,4 +1,3 @@
1
- export { default as GraphicHTMLElement } from './GraphicHTMLElement.js';
2
1
  export { default as GraphicItemInterface } from './GraphicItemInterface.js';
3
2
  export { default as GraphicItemType } from './GraphicItemType.js';
4
3
  export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/nqtr",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,7 +0,0 @@
1
- /**
2
- * Grafic item type.
3
- * For now, it can be a JSX element or a HTML element.
4
- */
5
- type GraphicHTMLElement = JSX.Element | HTMLElement;
6
-
7
- export type { GraphicHTMLElement as default };
@@ -1,7 +0,0 @@
1
- /**
2
- * Grafic item type.
3
- * For now, it can be a JSX element or a HTML element.
4
- */
5
- type GraphicHTMLElement = JSX.Element | HTMLElement;
6
-
7
- export type { GraphicHTMLElement as default };
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=out.js.map
4
- //# sourceMappingURL=GraphicHTMLElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=out.js.map
3
- //# sourceMappingURL=GraphicHTMLElement.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}