@cliquify.me/state 4.0.10 → 4.0.12

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.
@@ -1,4 +1,4 @@
1
- import { IAudio, ICaption, IComposition, ICustom, IDisplay, IIllustration, IImage, IShape, ISize, ITemplate, IText, ITrack, ITrackItem, ITrim, IVideo, IVideoDetails } from '@cliquify.me/types';
1
+ import { IAudio, ICaption, IComposition, IDisplay, IIllustration, IImage, ILinealAudioBars, IProgressBar, IProgressFrame, IRadialAudioBars, IShape, ISize, ITemplate, IText, ITrack, ITrackItem, ITrim, IVideo, IVideoDetails } from '@cliquify.me/types';
2
2
 
3
3
  type OptionsType = {
4
4
  size: {
@@ -50,24 +50,46 @@ export declare const loadAudioItem: (payload: ITrackItem & IAudio) => Promise<{
50
50
  };
51
51
  duration: number;
52
52
  }>;
53
- export declare const loadCustomItem: (payload: ITrackItem & ICustom, options: {
53
+ export declare const loadProgressBarItem: (payload: ITrackItem & IProgressBar, options: {
54
54
  size: ISize;
55
55
  scaleMode?: string;
56
56
  scaleAspectRatio?: number;
57
57
  }) => Promise<{
58
58
  id: string;
59
- name: string;
60
- type: string;
59
+ name: "progressBar";
60
+ type: "progressBar";
61
+ display: IDisplay;
62
+ details: {
63
+ width: any;
64
+ height: any;
65
+ top: any;
66
+ left: any;
67
+ border: any;
68
+ borderRadius: any;
69
+ borderWidth: any;
70
+ borderColor: any;
71
+ opacity: any;
72
+ flipX: any;
73
+ flipY: any;
74
+ inverted: any;
75
+ backgroundColors: any;
76
+ };
77
+ metadata: {};
78
+ }>;
79
+ export declare const loadProgressFrameItem: (payload: ITrackItem & IProgressFrame, options: {
80
+ size: ISize;
81
+ scaleMode?: string;
82
+ scaleAspectRatio?: number;
83
+ }) => Promise<{
84
+ id: string;
85
+ name: "progressFrame";
86
+ type: "progressFrame";
61
87
  display: IDisplay;
62
- trim: ITrim | undefined;
63
- duration: any;
64
88
  details: {
65
89
  width: any;
66
90
  height: any;
67
91
  top: any;
68
92
  left: any;
69
- firstBackgroundColor: any;
70
- secondBackgroundColor: any;
71
93
  border: any;
72
94
  borderRadius: any;
73
95
  borderWidth: any;
@@ -76,8 +98,64 @@ export declare const loadCustomItem: (payload: ITrackItem & ICustom, options: {
76
98
  flipX: any;
77
99
  flipY: any;
78
100
  inverted: any;
79
- srcs: any;
80
- reproduceAudio: any;
101
+ backgroundColors: any;
102
+ };
103
+ metadata: {};
104
+ }>;
105
+ export declare const loadRadialAudioBarsItem: (payload: ITrackItem & IRadialAudioBars, options: {
106
+ size: ISize;
107
+ scaleMode?: string;
108
+ scaleAspectRatio?: number;
109
+ }) => Promise<{
110
+ id: string;
111
+ name: "radialAudioBars";
112
+ type: "radialAudioBars";
113
+ display: {
114
+ from: number;
115
+ to: number;
116
+ };
117
+ details: {
118
+ width: any;
119
+ height: any;
120
+ top: any;
121
+ left: any;
122
+ radialBarColor: any;
123
+ border: any;
124
+ borderRadius: any;
125
+ borderWidth: any;
126
+ borderColor: any;
127
+ opacity: any;
128
+ flipX: any;
129
+ flipY: any;
130
+ };
131
+ metadata: {};
132
+ }>;
133
+ export declare const loadLinealAudioBarsItem: (payload: ITrackItem & ILinealAudioBars, options: {
134
+ size: ISize;
135
+ scaleMode?: string;
136
+ scaleAspectRatio?: number;
137
+ }) => Promise<{
138
+ id: string;
139
+ name: "linealAudioBars";
140
+ type: "linealAudioBars";
141
+ display: {
142
+ from: number;
143
+ to: number;
144
+ };
145
+ details: {
146
+ width: any;
147
+ height: any;
148
+ top: any;
149
+ left: any;
150
+ border: any;
151
+ borderRadius: any;
152
+ borderWidth: any;
153
+ borderColor: any;
154
+ opacity: any;
155
+ flipX: any;
156
+ flipY: any;
157
+ inverted: any;
158
+ linealBarColor: any;
81
159
  };
82
160
  metadata: {};
83
161
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/state",
3
- "version": "4.0.10",
3
+ "version": "4.0.12",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,8 +28,8 @@
28
28
  "typescript": "5.4.5",
29
29
  "vite": "^5.2.0",
30
30
  "vite-plugin-dts": "^3.9.1",
31
- "@cliquify.me/types": "4.0.10",
32
- "@cliquify.me/typescript-config": "0.0.2"
31
+ "@cliquify.me/typescript-config": "0.0.2",
32
+ "@cliquify.me/types": "4.0.12"
33
33
  },
34
34
  "dependencies": {
35
35
  "immer": "^10.1.1",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@designcombo/events": "^1.0.2",
45
- "@cliquify.me/types": "4.0.10"
45
+ "@cliquify.me/types": "4.0.12"
46
46
  },
47
47
  "scripts": {
48
48
  "dev": "vite",