@cliquify.me/state 6.0.1 → 6.0.2

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.
@@ -282,7 +282,7 @@ export declare const loadIllustrationItem: (payload: ITrackItem & IIllustration,
282
282
  flipX: boolean;
283
283
  flipY: boolean;
284
284
  rotate: string;
285
- visibility: "visible" | "hidden";
285
+ visibility: "hidden" | "visible";
286
286
  svgString: string;
287
287
  initialSvgString: string;
288
288
  colorMap: Record<string, string>;
@@ -317,7 +317,7 @@ export declare const loadShapeItem: (payload: ITrackItem & IShape, options: {
317
317
  flipX: boolean;
318
318
  flipY: boolean;
319
319
  rotate: string;
320
- visibility: "visible" | "hidden";
320
+ visibility: "hidden" | "visible";
321
321
  backgroundColor: string;
322
322
  };
323
323
  metadata: Record<string, any>;
@@ -349,7 +349,7 @@ export declare const loadRectItem: (payload: ITrackItem & IRect, options: {
349
349
  flipX: boolean;
350
350
  flipY: boolean;
351
351
  rotate: string;
352
- visibility: "visible" | "hidden";
352
+ visibility: "hidden" | "visible";
353
353
  backgroundColor: string;
354
354
  boxShadow: IBoxShadow;
355
355
  blur: number;
@@ -389,7 +389,7 @@ export declare const loadImageItem: (payload: ITrackItem & IImage, options: {
389
389
  flipX: boolean;
390
390
  flipY: boolean;
391
391
  rotate: string;
392
- visibility: "visible" | "hidden";
392
+ visibility: "hidden" | "visible";
393
393
  };
394
394
  metadata: Record<string, any>;
395
395
  }>;
@@ -597,7 +597,7 @@ export declare const loadTrackItem: (payload: ITrackItem & (IVideo | IAudio | II
597
597
  flipX: boolean;
598
598
  flipY: boolean;
599
599
  rotate: string;
600
- visibility: "visible" | "hidden";
600
+ visibility: "hidden" | "visible";
601
601
  };
602
602
  metadata: Record<string, any>;
603
603
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/state",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,9 +8,16 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
- "main": "src/index.ts",
12
- "module": "src/index.ts",
13
- "types": "src/index.ts",
11
+ "main": "dist/index.umd.js",
12
+ "module": "dist/index.es.js",
13
+ "types": "dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.es.js",
17
+ "require": "./dist/index.umd.js",
18
+ "types": "./dist/index.d.ts"
19
+ }
20
+ },
14
21
  "devDependencies": {
15
22
  "@designcombo/events": "^1.0.2",
16
23
  "@types/lodash.clonedeep": "^4.5.9",
@@ -21,7 +28,7 @@
21
28
  "typescript": "5.4.5",
22
29
  "vite": "^5.2.0",
23
30
  "vite-plugin-dts": "^3.9.1",
24
- "@cliquify.me/types": "6.0.1",
31
+ "@cliquify.me/types": "6.0.2",
25
32
  "@cliquify.me/typescript-config": "0.0.2"
26
33
  },
27
34
  "dependencies": {
@@ -35,7 +42,7 @@
35
42
  },
36
43
  "peerDependencies": {
37
44
  "@designcombo/events": "^1.0.2",
38
- "@cliquify.me/types": "6.0.1"
45
+ "@cliquify.me/types": "6.0.2"
39
46
  },
40
47
  "scripts": {
41
48
  "dev": "vite",
package/src/index.ts DELETED
@@ -1,3 +0,0 @@
1
- export { default } from "./state";
2
- export * from "./events";
3
- export { getAcceptsMap } from "./state-options";