shaders 2.2.15 → 2.2.17

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.
Files changed (71) hide show
  1. package/dist/index.js +1 -0
  2. package/dist/react/engine/component.template.d.ts +2 -2
  3. package/dist/solid/codegen.js +1 -0
  4. package/dist/solid/engine/Shader.d.ts +22 -0
  5. package/dist/solid/engine/Shader.d.ts.map +1 -0
  6. package/dist/solid/engine/component.template.d.ts +28 -0
  7. package/dist/solid/engine/component.template.d.ts.map +1 -0
  8. package/dist/solid/index.js +103781 -0
  9. package/dist/solid/utils/generatePresetCode.js +328 -0
  10. package/dist/solid/utils/generatePresetCode.template.d.ts +13 -0
  11. package/dist/solid/utils/generatePresetCode.template.d.ts.map +1 -0
  12. package/dist/svelte/components/AngularBlur.svelte.d.ts +2 -2
  13. package/dist/svelte/components/Ascii.svelte.d.ts +2 -2
  14. package/dist/svelte/components/Blob.svelte.d.ts +2 -2
  15. package/dist/svelte/components/Blur.svelte.d.ts +2 -2
  16. package/dist/svelte/components/Bulge.svelte.d.ts +2 -2
  17. package/dist/svelte/components/CRTScreen.svelte.d.ts +2 -2
  18. package/dist/svelte/components/ChannelBlur.svelte.d.ts +2 -2
  19. package/dist/svelte/components/Checkerboard.svelte.d.ts +2 -2
  20. package/dist/svelte/components/ChromaFlow.svelte.d.ts +2 -2
  21. package/dist/svelte/components/ChromaticAberration.svelte.d.ts +2 -2
  22. package/dist/svelte/components/Circle.svelte.d.ts +2 -2
  23. package/dist/svelte/components/CursorTrail.svelte.d.ts +2 -2
  24. package/dist/svelte/components/DiffuseBlur.svelte.d.ts +2 -2
  25. package/dist/svelte/components/Dither.svelte.d.ts +2 -2
  26. package/dist/svelte/components/DotGrid.svelte.d.ts +2 -2
  27. package/dist/svelte/components/Duotone.svelte.d.ts +2 -2
  28. package/dist/svelte/components/FilmGrain.svelte.d.ts +2 -2
  29. package/dist/svelte/components/FloatingParticles.svelte.d.ts +2 -2
  30. package/dist/svelte/components/GlassTiles.svelte.d.ts +2 -2
  31. package/dist/svelte/components/Glow.svelte.d.ts +2 -2
  32. package/dist/svelte/components/Godrays.svelte.d.ts +2 -2
  33. package/dist/svelte/components/Grayscale.svelte.d.ts +2 -2
  34. package/dist/svelte/components/Grid.svelte.d.ts +2 -2
  35. package/dist/svelte/components/GridDistortion.svelte.d.ts +2 -2
  36. package/dist/svelte/components/Group.svelte.d.ts +2 -2
  37. package/dist/svelte/components/Halftone.svelte.d.ts +2 -2
  38. package/dist/svelte/components/HueShift.svelte.d.ts +2 -2
  39. package/dist/svelte/components/ImageTexture.svelte.d.ts +2 -2
  40. package/dist/svelte/components/Invert.svelte.d.ts +2 -2
  41. package/dist/svelte/components/LinearBlur.svelte.d.ts +2 -2
  42. package/dist/svelte/components/LinearGradient.svelte.d.ts +2 -2
  43. package/dist/svelte/components/Liquify.svelte.d.ts +2 -2
  44. package/dist/svelte/components/Pixelate.svelte.d.ts +2 -2
  45. package/dist/svelte/components/PolarCoordinates.svelte.d.ts +2 -2
  46. package/dist/svelte/components/Posterize.svelte.d.ts +2 -2
  47. package/dist/svelte/components/ProgressiveBlur.svelte.d.ts +2 -2
  48. package/dist/svelte/components/RadialGradient.svelte.d.ts +2 -2
  49. package/dist/svelte/components/RectangularCoordinates.svelte.d.ts +2 -2
  50. package/dist/svelte/components/Ripples.svelte.d.ts +2 -2
  51. package/dist/svelte/components/Saturation.svelte.d.ts +2 -2
  52. package/dist/svelte/components/SimplexNoise.svelte.d.ts +2 -2
  53. package/dist/svelte/components/SineWave.svelte.d.ts +2 -2
  54. package/dist/svelte/components/SolidColor.svelte.d.ts +2 -2
  55. package/dist/svelte/components/Spherize.svelte.d.ts +2 -2
  56. package/dist/svelte/components/Spiral.svelte.d.ts +2 -2
  57. package/dist/svelte/components/Strands.svelte.d.ts +2 -2
  58. package/dist/svelte/components/Stretch.svelte.d.ts +2 -2
  59. package/dist/svelte/components/Swirl.svelte.d.ts +2 -2
  60. package/dist/svelte/components/TiltShift.svelte.d.ts +2 -2
  61. package/dist/svelte/components/Tritone.svelte.d.ts +2 -2
  62. package/dist/svelte/components/Twirl.svelte.d.ts +2 -2
  63. package/dist/svelte/components/Vibrance.svelte.d.ts +2 -2
  64. package/dist/svelte/components/WaveDistortion.svelte.d.ts +2 -2
  65. package/dist/svelte/components/ZoomBlur.svelte.d.ts +2 -2
  66. package/dist/svelte/engine/component.template.svelte.d.ts +2 -2
  67. package/dist/vue/engine/Shader.vue.d.ts +1 -1
  68. package/package.json +21 -18
  69. package/dist/react/generatePresetCode-DWBlTzlt.cjs +0 -13
  70. package/dist/react/index.cjs +0 -4456
  71. package/dist/react/utils/generatePresetCode.cjs +0 -1
@@ -0,0 +1,328 @@
1
+ const c = {
2
+ AngularBlur: {
3
+ opacity: 1,
4
+ blendMode: "normal"
5
+ },
6
+ Ascii: {
7
+ opacity: 1,
8
+ blendMode: "normal"
9
+ },
10
+ Blob: {
11
+ opacity: 1,
12
+ blendMode: "normal"
13
+ },
14
+ Blur: {
15
+ opacity: 1,
16
+ blendMode: "normal"
17
+ },
18
+ Bulge: {
19
+ opacity: 1,
20
+ blendMode: "normal"
21
+ },
22
+ CRTScreen: {
23
+ opacity: 1,
24
+ blendMode: "normal"
25
+ },
26
+ ChannelBlur: {
27
+ opacity: 1,
28
+ blendMode: "normal"
29
+ },
30
+ Checkerboard: {
31
+ opacity: 1,
32
+ blendMode: "normal"
33
+ },
34
+ ChromaFlow: {
35
+ opacity: 1,
36
+ blendMode: "normal"
37
+ },
38
+ ChromaticAberration: {
39
+ opacity: 1,
40
+ blendMode: "normal"
41
+ },
42
+ Circle: {
43
+ opacity: 1,
44
+ blendMode: "normal"
45
+ },
46
+ CursorTrail: {
47
+ opacity: 1,
48
+ blendMode: "normal"
49
+ },
50
+ DiffuseBlur: {
51
+ opacity: 1,
52
+ blendMode: "normal"
53
+ },
54
+ Dither: {
55
+ opacity: 1,
56
+ blendMode: "normal"
57
+ },
58
+ DotGrid: {
59
+ opacity: 1,
60
+ blendMode: "normal"
61
+ },
62
+ Duotone: {
63
+ opacity: 1,
64
+ blendMode: "normal"
65
+ },
66
+ FilmGrain: {
67
+ opacity: 1,
68
+ blendMode: "normal"
69
+ },
70
+ FloatingParticles: {
71
+ opacity: 1,
72
+ blendMode: "normal"
73
+ },
74
+ GlassTiles: {
75
+ opacity: 1,
76
+ blendMode: "normal"
77
+ },
78
+ Glow: {
79
+ opacity: 1,
80
+ blendMode: "normal"
81
+ },
82
+ Godrays: {
83
+ opacity: 1,
84
+ blendMode: "normal"
85
+ },
86
+ Grayscale: {
87
+ opacity: 1,
88
+ blendMode: "normal"
89
+ },
90
+ Grid: {
91
+ opacity: 1,
92
+ blendMode: "normal"
93
+ },
94
+ GridDistortion: {
95
+ opacity: 1,
96
+ blendMode: "normal"
97
+ },
98
+ Group: {
99
+ opacity: 1,
100
+ blendMode: "normal"
101
+ },
102
+ Halftone: {
103
+ opacity: 1,
104
+ blendMode: "normal"
105
+ },
106
+ HueShift: {
107
+ opacity: 1,
108
+ blendMode: "normal"
109
+ },
110
+ ImageTexture: {
111
+ opacity: 1,
112
+ blendMode: "normal"
113
+ },
114
+ Invert: {
115
+ opacity: 1,
116
+ blendMode: "normal"
117
+ },
118
+ LinearBlur: {
119
+ opacity: 1,
120
+ blendMode: "normal"
121
+ },
122
+ LinearGradient: {
123
+ opacity: 1,
124
+ blendMode: "normal"
125
+ },
126
+ Liquify: {
127
+ opacity: 1,
128
+ blendMode: "normal"
129
+ },
130
+ Pixelate: {
131
+ opacity: 1,
132
+ blendMode: "normal"
133
+ },
134
+ PolarCoordinates: {
135
+ opacity: 1,
136
+ blendMode: "normal"
137
+ },
138
+ Posterize: {
139
+ opacity: 1,
140
+ blendMode: "normal"
141
+ },
142
+ ProgressiveBlur: {
143
+ opacity: 1,
144
+ blendMode: "normal"
145
+ },
146
+ RadialGradient: {
147
+ opacity: 1,
148
+ blendMode: "normal"
149
+ },
150
+ RectangularCoordinates: {
151
+ opacity: 1,
152
+ blendMode: "normal"
153
+ },
154
+ Ripples: {
155
+ opacity: 1,
156
+ blendMode: "normal"
157
+ },
158
+ Saturation: {
159
+ opacity: 1,
160
+ blendMode: "normal"
161
+ },
162
+ SimplexNoise: {
163
+ opacity: 1,
164
+ blendMode: "normal"
165
+ },
166
+ SineWave: {
167
+ opacity: 1,
168
+ blendMode: "normal"
169
+ },
170
+ SolidColor: {
171
+ opacity: 1,
172
+ blendMode: "normal"
173
+ },
174
+ Spherize: {
175
+ opacity: 1,
176
+ blendMode: "normal"
177
+ },
178
+ Spiral: {
179
+ opacity: 1,
180
+ blendMode: "normal"
181
+ },
182
+ Strands: {
183
+ opacity: 1,
184
+ blendMode: "normal"
185
+ },
186
+ Stretch: {
187
+ opacity: 1,
188
+ blendMode: "normal"
189
+ },
190
+ Swirl: {
191
+ opacity: 1,
192
+ blendMode: "normal"
193
+ },
194
+ TiltShift: {
195
+ opacity: 1,
196
+ blendMode: "normal"
197
+ },
198
+ Tritone: {
199
+ opacity: 1,
200
+ blendMode: "normal"
201
+ },
202
+ Twirl: {
203
+ opacity: 1,
204
+ blendMode: "normal"
205
+ },
206
+ Vibrance: {
207
+ opacity: 1,
208
+ blendMode: "normal"
209
+ },
210
+ WaveDistortion: {
211
+ opacity: 1,
212
+ blendMode: "normal"
213
+ },
214
+ ZoomBlur: {
215
+ opacity: 1,
216
+ blendMode: "normal"
217
+ }
218
+ };
219
+ function s(a, l, t = " ") {
220
+ return Object.entries(a).filter(([o, e]) => {
221
+ const r = c[l] || {};
222
+ if (r.hasOwnProperty(o)) {
223
+ const n = r[o];
224
+ return e !== null && n !== null && typeof e == "object" && typeof n == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n;
225
+ }
226
+ return !(o === "opacity" && e === 1 || o === "blendMode" && e === "normal");
227
+ }).map(([o, e]) => typeof e == "string" ? `${o}=${JSON.stringify(e)}` : e !== null && typeof e == "object" ? `${o}={${JSON.stringify(e)}}` : `${o}={${e}}`).join(`
228
+ ` + t + " ");
229
+ }
230
+ function m(a, l) {
231
+ const t = [];
232
+ function o(e) {
233
+ for (const r of e)
234
+ t.push(r), r.children && o(r.children);
235
+ }
236
+ return o(l), t.some(
237
+ (e) => {
238
+ var r;
239
+ return ((r = e.props) == null ? void 0 : r.maskSource) === a;
240
+ }
241
+ );
242
+ }
243
+ function y(a) {
244
+ const l = (o, e = " ") => {
245
+ const r = o.props ? s(o.props, o.type, e) : "";
246
+ let n = "";
247
+ o.id && m(o.id, a.components) && (n = `id="${o.id}"`);
248
+ const i = [n, r].filter(Boolean).join(`
249
+ ` + e + " ");
250
+ if (o.children && o.children.length > 0) {
251
+ const d = o.children.map((p) => l(p, e + " ")).join(`
252
+ `);
253
+ return i ? `${e}<${o.type}
254
+ ${e} ${i}>
255
+ ${d}
256
+ ${e}</${o.type}>` : `${e}<${o.type}>
257
+ ${d}
258
+ ${e}</${o.type}>`;
259
+ } else
260
+ return i ? `${e}<${o.type}
261
+ ${e} ${i} />` : `${e}<${o.type} />`;
262
+ };
263
+ return `<Shader>
264
+ ${a.components.map((o) => l(o)).join(`
265
+ `)}
266
+ </Shader>`;
267
+ }
268
+ const b = [
269
+ // @ts-ignore - replaced at build time
270
+ "AngularBlur",
271
+ "Ascii",
272
+ "Blob",
273
+ "Blur",
274
+ "Bulge",
275
+ "CRTScreen",
276
+ "ChannelBlur",
277
+ "Checkerboard",
278
+ "ChromaFlow",
279
+ "ChromaticAberration",
280
+ "Circle",
281
+ "CursorTrail",
282
+ "DiffuseBlur",
283
+ "Dither",
284
+ "DotGrid",
285
+ "Duotone",
286
+ "FilmGrain",
287
+ "FloatingParticles",
288
+ "GlassTiles",
289
+ "Glow",
290
+ "Godrays",
291
+ "Grayscale",
292
+ "Grid",
293
+ "GridDistortion",
294
+ "Group",
295
+ "Halftone",
296
+ "HueShift",
297
+ "ImageTexture",
298
+ "Invert",
299
+ "LinearBlur",
300
+ "LinearGradient",
301
+ "Liquify",
302
+ "Pixelate",
303
+ "PolarCoordinates",
304
+ "Posterize",
305
+ "ProgressiveBlur",
306
+ "RadialGradient",
307
+ "RectangularCoordinates",
308
+ "Ripples",
309
+ "Saturation",
310
+ "SimplexNoise",
311
+ "SineWave",
312
+ "SolidColor",
313
+ "Spherize",
314
+ "Spiral",
315
+ "Strands",
316
+ "Stretch",
317
+ "Swirl",
318
+ "TiltShift",
319
+ "Tritone",
320
+ "Twirl",
321
+ "Vibrance",
322
+ "WaveDistortion",
323
+ "ZoomBlur"
324
+ ];
325
+ export {
326
+ b as availableComponents,
327
+ y as generatePresetCode
328
+ };
@@ -0,0 +1,13 @@
1
+ interface ComponentConfig {
2
+ type: string;
3
+ id?: string;
4
+ props?: Record<string, any>;
5
+ children?: ComponentConfig[];
6
+ }
7
+ interface PresetConfig {
8
+ components: ComponentConfig[];
9
+ }
10
+ export declare function generatePresetCode(preset: PresetConfig): string;
11
+ export declare const availableComponents: any[];
12
+ export {};
13
+ //# sourceMappingURL=generatePresetCode.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePresetCode.template.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.template.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;AAgED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAyC/D;AAGD,eAAO,MAAM,mBAAmB,OAG/B,CAAA"}
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/AngularBlur';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/AngularBlur';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Ascii';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Ascii';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Blob';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Blob';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Blur';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Blur';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Bulge';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Bulge';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/CRTScreen';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/CRTScreen';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/ChannelBlur';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/ChannelBlur';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Checkerboard';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Checkerboard';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/ChromaFlow';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/ChromaFlow';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/ChromaticAberration';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/ChromaticAberration';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Circle';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Circle';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/CursorTrail';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/CursorTrail';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/DiffuseBlur';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/DiffuseBlur';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Dither';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Dither';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/DotGrid';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/DotGrid';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Duotone';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Duotone';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/FilmGrain';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/FilmGrain';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/FloatingParticles';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/FloatingParticles';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/GlassTiles';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/GlassTiles';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Glow';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Glow';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Godrays';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Godrays';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Grayscale';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Grayscale';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Grid';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Grid';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/GridDistortion';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/GridDistortion';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Group';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Group';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Halftone';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Halftone';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/HueShift';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/HueShift';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/ImageTexture';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/ImageTexture';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Invert';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Invert';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/LinearBlur';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/LinearBlur';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/LinearGradient';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/LinearGradient';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Liquify';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Liquify';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/Pixelate';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/Pixelate';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type BlendMode, type TransformConfig } from 'shaders/core';
2
- import { type ComponentProps } from 'shaders/core/PolarCoordinates';
1
+ import { type BlendMode, type TransformConfig } from '../../core';
2
+ import { type ComponentProps } from '../../core/PolarCoordinates';
3
3
  /**
4
4
  * Define component props including blend mode, opacity, visibility, masking, and transformation
5
5
  */