@tmagic/stage 1.4.14 → 1.4.16

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.
@@ -1774,6 +1774,7 @@ class ActionManager extends EventEmitter {
1774
1774
  if (!this.disabledMultiSelect) {
1775
1775
  this.isMultiSelectStatus = false;
1776
1776
  }
1777
+ this.isAltKeydown = false;
1777
1778
  });
1778
1779
  KeyController.global.keyup(ctrl, (e) => {
1779
1780
  e.inputEvent.preventDefault();
@@ -1771,6 +1771,7 @@
1771
1771
  if (!this.disabledMultiSelect) {
1772
1772
  this.isMultiSelectStatus = false;
1773
1773
  }
1774
+ this.isAltKeydown = false;
1774
1775
  });
1775
1776
  KeyController.global.keyup(ctrl, (e) => {
1776
1777
  e.inputEvent.preventDefault();
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.14",
2
+ "version": "1.4.16",
3
3
  "name": "@tmagic/stage",
4
4
  "type": "module",
5
5
  "main": "dist/tmagic-stage.umd.cjs",
@@ -40,13 +40,13 @@
40
40
  "@types/node": "^18.19.0",
41
41
  "rimraf": "^3.0.2",
42
42
  "sass": "^1.77.0",
43
- "vite": "^5.3.1"
43
+ "vite": "^5.3.5"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "typescript": "*",
47
- "@tmagic/core": "1.4.14",
48
- "@tmagic/schema": "1.4.14",
49
- "@tmagic/utils": "1.4.14"
47
+ "@tmagic/core": "1.4.16",
48
+ "@tmagic/utils": "1.4.16",
49
+ "@tmagic/schema": "1.4.16"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "typescript": {
@@ -567,6 +567,7 @@ export default class ActionManager extends EventEmitter {
567
567
  if (!this.disabledMultiSelect) {
568
568
  this.isMultiSelectStatus = false;
569
569
  }
570
+ this.isAltKeydown = false;
570
571
  });
571
572
  KeyController.global.keyup(ctrl, (e) => {
572
573
  e.inputEvent.preventDefault();
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import EventEmitter from 'events';
4
2
  import type { MoveableOptions } from 'moveable';
5
3
  import type { Id } from '@tmagic/schema';
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import EventEmitter from 'events';
3
2
  import type { MoveableOptions } from 'moveable';
4
3
  import { GuidesType, Mode } from './const';
package/types/Rule.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import EventEmitter from 'events';
3
2
  import Guides from '@scena/guides';
4
3
  import type { RuleOptions } from './types';
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { EventEmitter } from 'events';
4
2
  import type { MoveableOptions } from 'moveable';
5
3
  import type { Id } from '@tmagic/schema';
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { EventEmitter } from 'events';
3
2
  import Moveable from 'moveable';
4
3
  import TargetShadow from './TargetShadow';
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { EventEmitter } from 'events';
3
2
  import { Id } from '@tmagic/schema';
4
3
  import type { Point, RemoveData, RenderEvents, Runtime, RuntimeWindow, StageRenderConfig, UpdateData } from './types';
package/types/types.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { GuidesOptions } from '@scena/guides';
3
2
  import type { MoveableOptions, OnDragStart } from 'moveable';
4
3
  import Core from '@tmagic/core';