shop-components 0.2.5 → 0.2.6

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.
@@ -5,7 +5,7 @@ import { ObjectSize } from './utils';
5
5
  import { SizeBox } from './dimension/size-box';
6
6
  import { AMRAssembly } from './assembly';
7
7
  import EventEmitter from 'eventemitter3';
8
- import { CropperConfigs } from '../cropper';
8
+ import type { CropperConfigs } from '../cropper';
9
9
  import { GoodsBox } from './goods-box';
10
10
  import { Logo } from './logo';
11
11
  export declare const textureLoader: TextureLoader;
@@ -1,8 +1,6 @@
1
- import { Texture } from 'pixi.js';
2
1
  export declare function downloadBlob(blob: Blob, filename: string): void;
3
2
  export declare function calculateArrayAverage(array: number[]): number;
4
3
  export declare function arrayBufferToUrl(arrayBuffer: ArrayBuffer, mimeType: string): string;
5
4
  export declare function isAppleDevice(): boolean;
6
- export declare function imageBitmapToPixiTexture(imageBitmap: ImageBitmap): Texture | undefined;
7
5
  export declare function imageBitmapToUrl(imageBitmap: ImageBitmap): string | undefined;
8
6
  export declare function calculateFocalLength(fov: number, sensorSize?: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shop-components",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Shop components",
5
5
  "main": "dist/shop-components.umd.js",
6
6
  "module": "dist/shop-components.mjs",
@@ -51,8 +51,6 @@
51
51
  "eventemitter3": "^5.0.1",
52
52
  "howler": "^2.2.4",
53
53
  "lit": "^3.1.0",
54
- "pixi-viewport": "^5.0.2",
55
- "pixi.js": "7.4.0",
56
54
  "stats-fps.js": "0.0.6",
57
55
  "stylus": "^0.63.0",
58
56
  "terser": "^5.44.0",