@soonspacejs/plugin-drawing-shape 2.3.18 → 2.4.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import SoonSpace from 'soonspacejs';
2
- import { SetOptionsPointInfo, SetOptionsLineInfo, SetOptionsPolygonInfo, SetOptionsCircleInfo } from 'soonspacejs/src/Library';
2
+ import { SetOptionsPointInfo, SetOptionsLineInfo, SetOptionsPolygonInfo, SetOptionsCircleInfo } from 'soonspacejs/types/Library';
3
3
  export declare type DrawingPointInfo = SetOptionsPointInfo;
4
4
  export interface DrawingPointEvents {
5
5
  onCancel?: () => void;
@@ -19,7 +19,7 @@
19
19
  <script type="module">
20
20
  import SoonSpace from '../../../soonspacejs/dist/index.esm.js'
21
21
  import DrawingShapePlugin from '../dist/index.esm.js'
22
- import { GUI } from '../../../../lib/gui.js'
22
+ import { GUI } from '../../../../libs/gui.js'
23
23
 
24
24
  const ssp = window.ssp = new SoonSpace({
25
25
  el: '#view',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-drawing-shape",
3
3
  "pluginName": "DrawingShapePlugin",
4
- "version": "2.3.18",
4
+ "version": "2.4.0",
5
5
  "description": "DrawingShapePlugin plugin for SoonSpace.js",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.esm.js",
@@ -13,5 +13,5 @@
13
13
  ],
14
14
  "author": "xuek",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "7d5d1b7b9ff6b61df850c92b1f65c921437138ea"
16
+ "gitHead": "33f17a26b09ee1ff70726ef24baacba701a8a573"
17
17
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import SoonSpace, { Position, } from 'soonspacejs'
2
- import { SetOptionsPointInfo, SetOptionsLineInfo, SetOptionsPolygonInfo, SetOptionsCircleInfo, } from 'soonspacejs/src/Library'
2
+ import { SetOptionsPointInfo, SetOptionsLineInfo, SetOptionsPolygonInfo, SetOptionsCircleInfo, } from 'soonspacejs/types/Library'
3
3
  import { Vector3, } from 'three'
4
4
 
5
5
  export type DrawingPointInfo = SetOptionsPointInfo