@cliquify.me/state 4.0.15 → 4.0.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.
@@ -252,7 +252,7 @@ export declare const loadIllustrationItem: (payload: ITrackItem & IIllustration,
252
252
  flipX: boolean;
253
253
  flipY: boolean;
254
254
  rotate: string;
255
- visibility: "visible" | "hidden";
255
+ visibility: "hidden" | "visible";
256
256
  svgString: string;
257
257
  initialSvgString: string;
258
258
  colorMap: Record<string, string>;
@@ -287,7 +287,7 @@ export declare const loadShapeItem: (payload: ITrackItem & IShape, options: {
287
287
  flipX: boolean;
288
288
  flipY: boolean;
289
289
  rotate: string;
290
- visibility: "visible" | "hidden";
290
+ visibility: "hidden" | "visible";
291
291
  backgroundColor: string;
292
292
  };
293
293
  metadata: Record<string, any>;
@@ -319,7 +319,7 @@ export declare const loadRectItem: (payload: ITrackItem & IRect, options: {
319
319
  flipX: boolean;
320
320
  flipY: boolean;
321
321
  rotate: string;
322
- visibility: "visible" | "hidden";
322
+ visibility: "hidden" | "visible";
323
323
  backgroundColor: string;
324
324
  boxShadow: IBoxShadow;
325
325
  blur: number;
@@ -359,7 +359,7 @@ export declare const loadImageItem: (payload: ITrackItem & IImage, options: {
359
359
  flipX: boolean;
360
360
  flipY: boolean;
361
361
  rotate: string;
362
- visibility: "visible" | "hidden";
362
+ visibility: "hidden" | "visible";
363
363
  };
364
364
  metadata: Record<string, any>;
365
365
  }>;
@@ -561,7 +561,7 @@ export declare const loadTrackItem: (payload: ITrackItem & (IVideo | IAudio | II
561
561
  flipX: boolean;
562
562
  flipY: boolean;
563
563
  rotate: string;
564
- visibility: "visible" | "hidden";
564
+ visibility: "hidden" | "visible";
565
565
  };
566
566
  metadata: Record<string, any>;
567
567
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/state",
3
- "version": "4.0.15",
3
+ "version": "4.0.16",
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": "4.0.15",
31
+ "@cliquify.me/types": "4.0.16",
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": "4.0.15"
45
+ "@cliquify.me/types": "4.0.16"
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";