shaders 2.2.8 → 2.2.9

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 (270) hide show
  1. package/dist/react/generatePresetCode-CbulNGo3.js +316 -0
  2. package/dist/react/generatePresetCode-ClK4i9O1.cjs +13 -0
  3. package/dist/react/index.cjs +398 -409
  4. package/dist/react/index.js +43787 -44329
  5. package/dist/react/utils/generatePresetCode.cjs +1 -13
  6. package/dist/react/utils/generatePresetCode.js +3 -609
  7. package/dist/svelte/generatePresetCode-CbulNGo3.js +316 -0
  8. package/dist/{react/utils/generatePresetCode.d.ts → svelte/generatePresetCode.template.d.ts} +1 -2
  9. package/dist/svelte/index.js +42894 -43383
  10. package/dist/svelte/utils/generatePresetCode.js +3 -609
  11. package/dist/vue/generatePresetCode-Baa8DyZE.js +322 -0
  12. package/dist/vue/index.js +1 -1
  13. package/dist/vue/utils/generatePresetCode.js +1 -1
  14. package/package.json +1 -1
  15. package/dist/react/codegen.d.ts +0 -1
  16. package/dist/react/components/AngularBlur.d.ts +0 -31
  17. package/dist/react/components/AngularBlur.d.ts.map +0 -1
  18. package/dist/react/components/Ascii.d.ts +0 -31
  19. package/dist/react/components/Ascii.d.ts.map +0 -1
  20. package/dist/react/components/Blob.d.ts +0 -31
  21. package/dist/react/components/Blob.d.ts.map +0 -1
  22. package/dist/react/components/Blur.d.ts +0 -31
  23. package/dist/react/components/Blur.d.ts.map +0 -1
  24. package/dist/react/components/Bulge.d.ts +0 -31
  25. package/dist/react/components/Bulge.d.ts.map +0 -1
  26. package/dist/react/components/CRTScreen.d.ts +0 -31
  27. package/dist/react/components/CRTScreen.d.ts.map +0 -1
  28. package/dist/react/components/ChannelBlur.d.ts +0 -31
  29. package/dist/react/components/ChannelBlur.d.ts.map +0 -1
  30. package/dist/react/components/Checkerboard.d.ts +0 -31
  31. package/dist/react/components/Checkerboard.d.ts.map +0 -1
  32. package/dist/react/components/ChromaFlow.d.ts +0 -31
  33. package/dist/react/components/ChromaFlow.d.ts.map +0 -1
  34. package/dist/react/components/ChromaticAberration.d.ts +0 -31
  35. package/dist/react/components/ChromaticAberration.d.ts.map +0 -1
  36. package/dist/react/components/Circle.d.ts +0 -31
  37. package/dist/react/components/Circle.d.ts.map +0 -1
  38. package/dist/react/components/ColorMapping.d.ts +0 -29
  39. package/dist/react/components/ColorMapping.d.ts.map +0 -1
  40. package/dist/react/components/CursorTrail.d.ts +0 -31
  41. package/dist/react/components/CursorTrail.d.ts.map +0 -1
  42. package/dist/react/components/DiffuseBlur.d.ts +0 -31
  43. package/dist/react/components/DiffuseBlur.d.ts.map +0 -1
  44. package/dist/react/components/Dither.d.ts +0 -31
  45. package/dist/react/components/Dither.d.ts.map +0 -1
  46. package/dist/react/components/DotGrid.d.ts +0 -31
  47. package/dist/react/components/DotGrid.d.ts.map +0 -1
  48. package/dist/react/components/Duotone.d.ts +0 -31
  49. package/dist/react/components/Duotone.d.ts.map +0 -1
  50. package/dist/react/components/Exposure.d.ts +0 -29
  51. package/dist/react/components/Exposure.d.ts.map +0 -1
  52. package/dist/react/components/FilmGrain.d.ts +0 -31
  53. package/dist/react/components/FilmGrain.d.ts.map +0 -1
  54. package/dist/react/components/FloatingParticles.d.ts +0 -31
  55. package/dist/react/components/FloatingParticles.d.ts.map +0 -1
  56. package/dist/react/components/Glass.d.ts +0 -31
  57. package/dist/react/components/Glass.d.ts.map +0 -1
  58. package/dist/react/components/GlassTiles.d.ts +0 -31
  59. package/dist/react/components/GlassTiles.d.ts.map +0 -1
  60. package/dist/react/components/Glitch.d.ts +0 -29
  61. package/dist/react/components/Glitch.d.ts.map +0 -1
  62. package/dist/react/components/Glow.d.ts +0 -31
  63. package/dist/react/components/Glow.d.ts.map +0 -1
  64. package/dist/react/components/Godrays.d.ts +0 -31
  65. package/dist/react/components/Godrays.d.ts.map +0 -1
  66. package/dist/react/components/Grayscale.d.ts +0 -31
  67. package/dist/react/components/Grayscale.d.ts.map +0 -1
  68. package/dist/react/components/Grid.d.ts +0 -31
  69. package/dist/react/components/Grid.d.ts.map +0 -1
  70. package/dist/react/components/GridDistortion.d.ts +0 -31
  71. package/dist/react/components/GridDistortion.d.ts.map +0 -1
  72. package/dist/react/components/Group.d.ts +0 -31
  73. package/dist/react/components/Group.d.ts.map +0 -1
  74. package/dist/react/components/Halftone.d.ts +0 -31
  75. package/dist/react/components/Halftone.d.ts.map +0 -1
  76. package/dist/react/components/HueShift.d.ts +0 -31
  77. package/dist/react/components/HueShift.d.ts.map +0 -1
  78. package/dist/react/components/ImageTexture.d.ts +0 -31
  79. package/dist/react/components/ImageTexture.d.ts.map +0 -1
  80. package/dist/react/components/Invert.d.ts +0 -31
  81. package/dist/react/components/Invert.d.ts.map +0 -1
  82. package/dist/react/components/LinearBlur.d.ts +0 -31
  83. package/dist/react/components/LinearBlur.d.ts.map +0 -1
  84. package/dist/react/components/LinearGradient.d.ts +0 -31
  85. package/dist/react/components/LinearGradient.d.ts.map +0 -1
  86. package/dist/react/components/Liquify.d.ts +0 -31
  87. package/dist/react/components/Liquify.d.ts.map +0 -1
  88. package/dist/react/components/Mirror.d.ts +0 -29
  89. package/dist/react/components/Mirror.d.ts.map +0 -1
  90. package/dist/react/components/PerlinNoise.d.ts +0 -29
  91. package/dist/react/components/PerlinNoise.d.ts.map +0 -1
  92. package/dist/react/components/Pixelate.d.ts +0 -31
  93. package/dist/react/components/Pixelate.d.ts.map +0 -1
  94. package/dist/react/components/PolarCoordinates.d.ts +0 -31
  95. package/dist/react/components/PolarCoordinates.d.ts.map +0 -1
  96. package/dist/react/components/Posterize.d.ts +0 -31
  97. package/dist/react/components/Posterize.d.ts.map +0 -1
  98. package/dist/react/components/ProgressiveBlur.d.ts +0 -31
  99. package/dist/react/components/ProgressiveBlur.d.ts.map +0 -1
  100. package/dist/react/components/RadialBlur.d.ts +0 -29
  101. package/dist/react/components/RadialBlur.d.ts.map +0 -1
  102. package/dist/react/components/RadialGradient.d.ts +0 -31
  103. package/dist/react/components/RadialGradient.d.ts.map +0 -1
  104. package/dist/react/components/RectangularCoordinates.d.ts +0 -31
  105. package/dist/react/components/RectangularCoordinates.d.ts.map +0 -1
  106. package/dist/react/components/Ripples.d.ts +0 -31
  107. package/dist/react/components/Ripples.d.ts.map +0 -1
  108. package/dist/react/components/Saturation.d.ts +0 -31
  109. package/dist/react/components/Saturation.d.ts.map +0 -1
  110. package/dist/react/components/SimplexNoise.d.ts +0 -31
  111. package/dist/react/components/SimplexNoise.d.ts.map +0 -1
  112. package/dist/react/components/SineWave.d.ts +0 -31
  113. package/dist/react/components/SineWave.d.ts.map +0 -1
  114. package/dist/react/components/SolidColor.d.ts +0 -31
  115. package/dist/react/components/SolidColor.d.ts.map +0 -1
  116. package/dist/react/components/Spiral.d.ts +0 -31
  117. package/dist/react/components/Spiral.d.ts.map +0 -1
  118. package/dist/react/components/Strands.d.ts +0 -31
  119. package/dist/react/components/Strands.d.ts.map +0 -1
  120. package/dist/react/components/Stretch.d.ts +0 -31
  121. package/dist/react/components/Stretch.d.ts.map +0 -1
  122. package/dist/react/components/Swirl.d.ts +0 -31
  123. package/dist/react/components/Swirl.d.ts.map +0 -1
  124. package/dist/react/components/TiltShift.d.ts +0 -31
  125. package/dist/react/components/TiltShift.d.ts.map +0 -1
  126. package/dist/react/components/Tint.d.ts +0 -29
  127. package/dist/react/components/Tint.d.ts.map +0 -1
  128. package/dist/react/components/Tritone.d.ts +0 -31
  129. package/dist/react/components/Tritone.d.ts.map +0 -1
  130. package/dist/react/components/Twirl.d.ts +0 -31
  131. package/dist/react/components/Twirl.d.ts.map +0 -1
  132. package/dist/react/components/VCR.d.ts +0 -29
  133. package/dist/react/components/VCR.d.ts.map +0 -1
  134. package/dist/react/components/Vibrance.d.ts +0 -31
  135. package/dist/react/components/Vibrance.d.ts.map +0 -1
  136. package/dist/react/components/Vignette.d.ts +0 -29
  137. package/dist/react/components/Vignette.d.ts.map +0 -1
  138. package/dist/react/components/Voronoi.d.ts +0 -29
  139. package/dist/react/components/Voronoi.d.ts.map +0 -1
  140. package/dist/react/components/WaveDistortion.d.ts +0 -31
  141. package/dist/react/components/WaveDistortion.d.ts.map +0 -1
  142. package/dist/react/components/ZoomBlur.d.ts +0 -31
  143. package/dist/react/components/ZoomBlur.d.ts.map +0 -1
  144. package/dist/react/index.d.ts +0 -56
  145. package/dist/react/index.d.ts.map +0 -1
  146. package/dist/react/utils/generatePresetCode.d.ts.map +0 -1
  147. package/dist/svelte/components/ColorMapping.svelte.d.ts +0 -17
  148. package/dist/svelte/components/Exposure.svelte.d.ts +0 -17
  149. package/dist/svelte/components/Glass.svelte.d.ts +0 -19
  150. package/dist/svelte/components/Glitch.svelte.d.ts +0 -17
  151. package/dist/svelte/components/Mirror.svelte.d.ts +0 -17
  152. package/dist/svelte/components/PerlinNoise.svelte.d.ts +0 -17
  153. package/dist/svelte/components/RadialBlur.svelte.d.ts +0 -17
  154. package/dist/svelte/components/Tint.svelte.d.ts +0 -17
  155. package/dist/svelte/components/VCR.svelte.d.ts +0 -17
  156. package/dist/svelte/components/Vignette.svelte.d.ts +0 -17
  157. package/dist/svelte/components/Voronoi.svelte.d.ts +0 -17
  158. package/dist/vue/codegen.d.ts +0 -1
  159. package/dist/vue/components/AngularBlur.vue.d.ts +0 -57
  160. package/dist/vue/components/AngularBlur.vue.d.ts.map +0 -1
  161. package/dist/vue/components/Ascii.vue.d.ts +0 -57
  162. package/dist/vue/components/Ascii.vue.d.ts.map +0 -1
  163. package/dist/vue/components/Blob.vue.d.ts +0 -57
  164. package/dist/vue/components/Blob.vue.d.ts.map +0 -1
  165. package/dist/vue/components/Blur.vue.d.ts +0 -57
  166. package/dist/vue/components/Blur.vue.d.ts.map +0 -1
  167. package/dist/vue/components/Bulge.vue.d.ts +0 -57
  168. package/dist/vue/components/Bulge.vue.d.ts.map +0 -1
  169. package/dist/vue/components/CRTScreen.vue.d.ts +0 -57
  170. package/dist/vue/components/CRTScreen.vue.d.ts.map +0 -1
  171. package/dist/vue/components/ChannelBlur.vue.d.ts +0 -57
  172. package/dist/vue/components/ChannelBlur.vue.d.ts.map +0 -1
  173. package/dist/vue/components/Checkerboard.vue.d.ts +0 -57
  174. package/dist/vue/components/Checkerboard.vue.d.ts.map +0 -1
  175. package/dist/vue/components/ChromaFlow.vue.d.ts +0 -57
  176. package/dist/vue/components/ChromaFlow.vue.d.ts.map +0 -1
  177. package/dist/vue/components/ChromaticAberration.vue.d.ts +0 -57
  178. package/dist/vue/components/ChromaticAberration.vue.d.ts.map +0 -1
  179. package/dist/vue/components/Circle.vue.d.ts +0 -57
  180. package/dist/vue/components/Circle.vue.d.ts.map +0 -1
  181. package/dist/vue/components/CursorTrail.vue.d.ts +0 -57
  182. package/dist/vue/components/CursorTrail.vue.d.ts.map +0 -1
  183. package/dist/vue/components/DiffuseBlur.vue.d.ts +0 -57
  184. package/dist/vue/components/DiffuseBlur.vue.d.ts.map +0 -1
  185. package/dist/vue/components/Dither.vue.d.ts +0 -57
  186. package/dist/vue/components/Dither.vue.d.ts.map +0 -1
  187. package/dist/vue/components/DotGrid.vue.d.ts +0 -57
  188. package/dist/vue/components/DotGrid.vue.d.ts.map +0 -1
  189. package/dist/vue/components/Duotone.vue.d.ts +0 -57
  190. package/dist/vue/components/Duotone.vue.d.ts.map +0 -1
  191. package/dist/vue/components/FilmGrain.vue.d.ts +0 -57
  192. package/dist/vue/components/FilmGrain.vue.d.ts.map +0 -1
  193. package/dist/vue/components/FloatingParticles.vue.d.ts +0 -57
  194. package/dist/vue/components/FloatingParticles.vue.d.ts.map +0 -1
  195. package/dist/vue/components/GlassTiles.vue.d.ts +0 -57
  196. package/dist/vue/components/GlassTiles.vue.d.ts.map +0 -1
  197. package/dist/vue/components/Glow.vue.d.ts +0 -57
  198. package/dist/vue/components/Glow.vue.d.ts.map +0 -1
  199. package/dist/vue/components/Godrays.vue.d.ts +0 -57
  200. package/dist/vue/components/Godrays.vue.d.ts.map +0 -1
  201. package/dist/vue/components/Grayscale.vue.d.ts +0 -57
  202. package/dist/vue/components/Grayscale.vue.d.ts.map +0 -1
  203. package/dist/vue/components/Grid.vue.d.ts +0 -57
  204. package/dist/vue/components/Grid.vue.d.ts.map +0 -1
  205. package/dist/vue/components/GridDistortion.vue.d.ts +0 -57
  206. package/dist/vue/components/GridDistortion.vue.d.ts.map +0 -1
  207. package/dist/vue/components/Group.vue.d.ts +0 -57
  208. package/dist/vue/components/Group.vue.d.ts.map +0 -1
  209. package/dist/vue/components/HalfTone.vue.d.ts +0 -57
  210. package/dist/vue/components/HalfTone.vue.d.ts.map +0 -1
  211. package/dist/vue/components/HueShift.vue.d.ts +0 -57
  212. package/dist/vue/components/HueShift.vue.d.ts.map +0 -1
  213. package/dist/vue/components/ImageTexture.vue.d.ts +0 -57
  214. package/dist/vue/components/ImageTexture.vue.d.ts.map +0 -1
  215. package/dist/vue/components/Invert.vue.d.ts +0 -57
  216. package/dist/vue/components/Invert.vue.d.ts.map +0 -1
  217. package/dist/vue/components/LinearBlur.vue.d.ts +0 -57
  218. package/dist/vue/components/LinearBlur.vue.d.ts.map +0 -1
  219. package/dist/vue/components/LinearGradient.vue.d.ts +0 -57
  220. package/dist/vue/components/LinearGradient.vue.d.ts.map +0 -1
  221. package/dist/vue/components/Liquify.vue.d.ts +0 -57
  222. package/dist/vue/components/Liquify.vue.d.ts.map +0 -1
  223. package/dist/vue/components/Pixelate.vue.d.ts +0 -57
  224. package/dist/vue/components/Pixelate.vue.d.ts.map +0 -1
  225. package/dist/vue/components/PolarCoordinates.vue.d.ts +0 -57
  226. package/dist/vue/components/PolarCoordinates.vue.d.ts.map +0 -1
  227. package/dist/vue/components/Posterize.vue.d.ts +0 -57
  228. package/dist/vue/components/Posterize.vue.d.ts.map +0 -1
  229. package/dist/vue/components/ProgressiveBlur.vue.d.ts +0 -57
  230. package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +0 -1
  231. package/dist/vue/components/RadialGradient.vue.d.ts +0 -57
  232. package/dist/vue/components/RadialGradient.vue.d.ts.map +0 -1
  233. package/dist/vue/components/RectangularCoordinates.vue.d.ts +0 -57
  234. package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +0 -1
  235. package/dist/vue/components/Ripples.vue.d.ts +0 -57
  236. package/dist/vue/components/Ripples.vue.d.ts.map +0 -1
  237. package/dist/vue/components/Saturation.vue.d.ts +0 -57
  238. package/dist/vue/components/Saturation.vue.d.ts.map +0 -1
  239. package/dist/vue/components/SimplexNoise.vue.d.ts +0 -57
  240. package/dist/vue/components/SimplexNoise.vue.d.ts.map +0 -1
  241. package/dist/vue/components/SineWave.vue.d.ts +0 -57
  242. package/dist/vue/components/SineWave.vue.d.ts.map +0 -1
  243. package/dist/vue/components/SolidColor.vue.d.ts +0 -57
  244. package/dist/vue/components/SolidColor.vue.d.ts.map +0 -1
  245. package/dist/vue/components/Spiral.vue.d.ts +0 -57
  246. package/dist/vue/components/Spiral.vue.d.ts.map +0 -1
  247. package/dist/vue/components/Strands.vue.d.ts +0 -57
  248. package/dist/vue/components/Strands.vue.d.ts.map +0 -1
  249. package/dist/vue/components/Stretch.vue.d.ts +0 -57
  250. package/dist/vue/components/Stretch.vue.d.ts.map +0 -1
  251. package/dist/vue/components/Swirl.vue.d.ts +0 -57
  252. package/dist/vue/components/Swirl.vue.d.ts.map +0 -1
  253. package/dist/vue/components/TiltShift.vue.d.ts +0 -57
  254. package/dist/vue/components/TiltShift.vue.d.ts.map +0 -1
  255. package/dist/vue/components/Tritone.vue.d.ts +0 -57
  256. package/dist/vue/components/Tritone.vue.d.ts.map +0 -1
  257. package/dist/vue/components/Twirl.vue.d.ts +0 -57
  258. package/dist/vue/components/Twirl.vue.d.ts.map +0 -1
  259. package/dist/vue/components/Vibrance.vue.d.ts +0 -57
  260. package/dist/vue/components/Vibrance.vue.d.ts.map +0 -1
  261. package/dist/vue/components/WaveDistortion.vue.d.ts +0 -57
  262. package/dist/vue/components/WaveDistortion.vue.d.ts.map +0 -1
  263. package/dist/vue/components/ZoomBlur.vue.d.ts +0 -57
  264. package/dist/vue/components/ZoomBlur.vue.d.ts.map +0 -1
  265. package/dist/vue/generatePresetCode-DoYZnbEH.js +0 -613
  266. package/dist/vue/index.d.ts +0 -56
  267. package/dist/vue/index.d.ts.map +0 -1
  268. package/dist/vue/utils/generatePresetCode.d.ts +0 -13
  269. package/dist/vue/utils/generatePresetCode.d.ts.map +0 -1
  270. /package/dist/svelte/components/{HalfTone.svelte.d.ts → Halftone.svelte.d.ts} +0 -0
@@ -0,0 +1,322 @@
1
+ function p(a) {
2
+ return a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
3
+ }
4
+ var c = {
5
+ AngularBlur: {
6
+ opacity: 1,
7
+ blendMode: "normal"
8
+ },
9
+ Ascii: {
10
+ opacity: 1,
11
+ blendMode: "normal"
12
+ },
13
+ Blob: {
14
+ opacity: 1,
15
+ blendMode: "normal"
16
+ },
17
+ Blur: {
18
+ opacity: 1,
19
+ blendMode: "normal"
20
+ },
21
+ Bulge: {
22
+ opacity: 1,
23
+ blendMode: "normal"
24
+ },
25
+ CRTScreen: {
26
+ opacity: 1,
27
+ blendMode: "normal"
28
+ },
29
+ ChannelBlur: {
30
+ opacity: 1,
31
+ blendMode: "normal"
32
+ },
33
+ Checkerboard: {
34
+ opacity: 1,
35
+ blendMode: "normal"
36
+ },
37
+ ChromaFlow: {
38
+ opacity: 1,
39
+ blendMode: "normal"
40
+ },
41
+ ChromaticAberration: {
42
+ opacity: 1,
43
+ blendMode: "normal"
44
+ },
45
+ Circle: {
46
+ opacity: 1,
47
+ blendMode: "normal"
48
+ },
49
+ CursorTrail: {
50
+ opacity: 1,
51
+ blendMode: "normal"
52
+ },
53
+ DiffuseBlur: {
54
+ opacity: 1,
55
+ blendMode: "normal"
56
+ },
57
+ Dither: {
58
+ opacity: 1,
59
+ blendMode: "normal"
60
+ },
61
+ DotGrid: {
62
+ opacity: 1,
63
+ blendMode: "normal"
64
+ },
65
+ Duotone: {
66
+ opacity: 1,
67
+ blendMode: "normal"
68
+ },
69
+ FilmGrain: {
70
+ opacity: 1,
71
+ blendMode: "normal"
72
+ },
73
+ FloatingParticles: {
74
+ opacity: 1,
75
+ blendMode: "normal"
76
+ },
77
+ GlassTiles: {
78
+ opacity: 1,
79
+ blendMode: "normal"
80
+ },
81
+ Glow: {
82
+ opacity: 1,
83
+ blendMode: "normal"
84
+ },
85
+ Godrays: {
86
+ opacity: 1,
87
+ blendMode: "normal"
88
+ },
89
+ Grayscale: {
90
+ opacity: 1,
91
+ blendMode: "normal"
92
+ },
93
+ Grid: {
94
+ opacity: 1,
95
+ blendMode: "normal"
96
+ },
97
+ GridDistortion: {
98
+ opacity: 1,
99
+ blendMode: "normal"
100
+ },
101
+ Group: {
102
+ opacity: 1,
103
+ blendMode: "normal"
104
+ },
105
+ Halftone: {
106
+ opacity: 1,
107
+ blendMode: "normal"
108
+ },
109
+ HueShift: {
110
+ opacity: 1,
111
+ blendMode: "normal"
112
+ },
113
+ ImageTexture: {
114
+ opacity: 1,
115
+ blendMode: "normal"
116
+ },
117
+ Invert: {
118
+ opacity: 1,
119
+ blendMode: "normal"
120
+ },
121
+ LinearBlur: {
122
+ opacity: 1,
123
+ blendMode: "normal"
124
+ },
125
+ LinearGradient: {
126
+ opacity: 1,
127
+ blendMode: "normal"
128
+ },
129
+ Liquify: {
130
+ opacity: 1,
131
+ blendMode: "normal"
132
+ },
133
+ Pixelate: {
134
+ opacity: 1,
135
+ blendMode: "normal"
136
+ },
137
+ PolarCoordinates: {
138
+ opacity: 1,
139
+ blendMode: "normal"
140
+ },
141
+ Posterize: {
142
+ opacity: 1,
143
+ blendMode: "normal"
144
+ },
145
+ ProgressiveBlur: {
146
+ opacity: 1,
147
+ blendMode: "normal"
148
+ },
149
+ RadialGradient: {
150
+ opacity: 1,
151
+ blendMode: "normal"
152
+ },
153
+ RectangularCoordinates: {
154
+ opacity: 1,
155
+ blendMode: "normal"
156
+ },
157
+ Ripples: {
158
+ opacity: 1,
159
+ blendMode: "normal"
160
+ },
161
+ Saturation: {
162
+ opacity: 1,
163
+ blendMode: "normal"
164
+ },
165
+ SimplexNoise: {
166
+ opacity: 1,
167
+ blendMode: "normal"
168
+ },
169
+ SineWave: {
170
+ opacity: 1,
171
+ blendMode: "normal"
172
+ },
173
+ SolidColor: {
174
+ opacity: 1,
175
+ blendMode: "normal"
176
+ },
177
+ Spiral: {
178
+ opacity: 1,
179
+ blendMode: "normal"
180
+ },
181
+ Strands: {
182
+ opacity: 1,
183
+ blendMode: "normal"
184
+ },
185
+ Stretch: {
186
+ opacity: 1,
187
+ blendMode: "normal"
188
+ },
189
+ Swirl: {
190
+ opacity: 1,
191
+ blendMode: "normal"
192
+ },
193
+ TiltShift: {
194
+ opacity: 1,
195
+ blendMode: "normal"
196
+ },
197
+ Tritone: {
198
+ opacity: 1,
199
+ blendMode: "normal"
200
+ },
201
+ Twirl: {
202
+ opacity: 1,
203
+ blendMode: "normal"
204
+ },
205
+ Vibrance: {
206
+ opacity: 1,
207
+ blendMode: "normal"
208
+ },
209
+ WaveDistortion: {
210
+ opacity: 1,
211
+ blendMode: "normal"
212
+ },
213
+ ZoomBlur: {
214
+ opacity: 1,
215
+ blendMode: "normal"
216
+ }
217
+ };
218
+ function s(a, t, o = " ") {
219
+ return Object.entries(a).filter(([e, r]) => {
220
+ const n = c[t] || {};
221
+ if (n.hasOwnProperty(e)) {
222
+ const l = n[e];
223
+ return typeof r == "object" && typeof l == "object" ? JSON.stringify(r) !== JSON.stringify(l) : r !== l;
224
+ }
225
+ return !(e === "opacity" && r === 1 || e === "blendMode" && r === "normal");
226
+ }).map(([e, r]) => {
227
+ const n = p(e);
228
+ return typeof r == "string" ? `${n}="${r}"` : typeof r == "object" ? `:${n}="${JSON.stringify(r).replace(/"/g, "'").replace(/'/g, "'")}"` : `:${n}="${r}"`;
229
+ }).join(`
230
+ ` + o + " ");
231
+ }
232
+ function m(a, t) {
233
+ const o = [];
234
+ function e(r) {
235
+ for (const n of r)
236
+ o.push(n), n.children && e(n.children);
237
+ }
238
+ return e(t), o.some((r) => r.props?.maskSource === a);
239
+ }
240
+ function y(a) {
241
+ const t = (o, e = " ") => {
242
+ const r = o.props ? s(o.props, o.type, e) : "";
243
+ let n = "";
244
+ o.id && m(o.id, a.components) && (n = `id="${o.id}"`);
245
+ const l = [n, r].filter(Boolean).join(`
246
+ ` + e + " ");
247
+ if (o.children && o.children.length > 0) {
248
+ const i = o.children.map((d) => t(d, e + " ")).join(`
249
+ `);
250
+ return l ? `${e}<${o.type}
251
+ ${e} ${l}>
252
+ ${i}
253
+ ${e}</${o.type}>` : `${e}<${o.type}>
254
+ ${i}
255
+ ${e}</${o.type}>`;
256
+ } else return l ? `${e}<${o.type}
257
+ ${e} ${l}/>` : `${e}<${o.type}/>`;
258
+ };
259
+ return `<Shader>
260
+ ${a.components.map((o) => t(o)).join(`
261
+ `)}
262
+ </Shader>`;
263
+ }
264
+ const b = [
265
+ "AngularBlur",
266
+ "Ascii",
267
+ "Blob",
268
+ "Blur",
269
+ "Bulge",
270
+ "CRTScreen",
271
+ "ChannelBlur",
272
+ "Checkerboard",
273
+ "ChromaFlow",
274
+ "ChromaticAberration",
275
+ "Circle",
276
+ "CursorTrail",
277
+ "DiffuseBlur",
278
+ "Dither",
279
+ "DotGrid",
280
+ "Duotone",
281
+ "FilmGrain",
282
+ "FloatingParticles",
283
+ "GlassTiles",
284
+ "Glow",
285
+ "Godrays",
286
+ "Grayscale",
287
+ "Grid",
288
+ "GridDistortion",
289
+ "Group",
290
+ "Halftone",
291
+ "HueShift",
292
+ "ImageTexture",
293
+ "Invert",
294
+ "LinearBlur",
295
+ "LinearGradient",
296
+ "Liquify",
297
+ "Pixelate",
298
+ "PolarCoordinates",
299
+ "Posterize",
300
+ "ProgressiveBlur",
301
+ "RadialGradient",
302
+ "RectangularCoordinates",
303
+ "Ripples",
304
+ "Saturation",
305
+ "SimplexNoise",
306
+ "SineWave",
307
+ "SolidColor",
308
+ "Spiral",
309
+ "Strands",
310
+ "Stretch",
311
+ "Swirl",
312
+ "TiltShift",
313
+ "Tritone",
314
+ "Twirl",
315
+ "Vibrance",
316
+ "WaveDistortion",
317
+ "ZoomBlur"
318
+ ];
319
+ export {
320
+ y as n,
321
+ b as t
322
+ };
package/dist/vue/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as L3e } from "./generatePresetCode-DoYZnbEH.js";
1
+ import { n as L3e } from "./generatePresetCode-Baa8DyZE.js";
2
2
  import { computed as Ve, createElementBlock as Yne, createElementVNode as Kne, defineComponent as Xt, effectScope as Qt, inject as O, mergeDefaults as er, mergeProps as Zne, onBeforeUnmount as Be, onMounted as Jne, openBlock as Qne, provide as Bt, ref as qf, renderSlot as Yt, toValue as tr, watch as oe } from "vue";
3
3
  var dA = Object.defineProperty, eie = Object.getOwnPropertyDescriptor, P7 = Object.getOwnPropertyNames, tie = Object.prototype.hasOwnProperty, q_ = (e, t) => function() {
4
4
  return e && (t = (0, e[P7(e)[0]])(e = 0)), t;
@@ -1,4 +1,4 @@
1
- import { n as a, t as o } from "../generatePresetCode-DoYZnbEH.js";
1
+ import { n as a, t as o } from "../generatePresetCode-Baa8DyZE.js";
2
2
  export {
3
3
  o as availableComponents,
4
4
  a as generatePresetCode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shaders",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "Declarative shader components for Vue, React, and Svelte",
5
5
  "author": "Simon Le Marchant<https://github.com/marchantweb>",
6
6
  "homepage": "https://shaders.com/",
@@ -1 +0,0 @@
1
- export * from './utils/generatePresetCode'
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/AngularBlur';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=AngularBlur.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AngularBlur.d.ts","sourceRoot":"","sources":["../../src/components/AngularBlur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGpF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/Ascii';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=Ascii.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Ascii.d.ts","sourceRoot":"","sources":["../../src/components/Ascii.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG9E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/Blob';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=Blob.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Blob.d.ts","sourceRoot":"","sources":["../../src/components/Blob.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG7E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/Blur';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=Blur.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Blur.d.ts","sourceRoot":"","sources":["../../src/components/Blur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG7E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/Bulge';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=Bulge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Bulge.d.ts","sourceRoot":"","sources":["../../src/components/Bulge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG9E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/CRTScreen';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=CRTScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CRTScreen.d.ts","sourceRoot":"","sources":["../../src/components/CRTScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGlF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/ChannelBlur';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=ChannelBlur.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChannelBlur.d.ts","sourceRoot":"","sources":["../../src/components/ChannelBlur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGpF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/Checkerboard';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=Checkerboard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkerboard.d.ts","sourceRoot":"","sources":["../../src/components/Checkerboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGrF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BlendMode, TransformConfig } from 'shaders/core';
3
- import { ComponentProps } from 'shaders/core/ChromaFlow';
4
-
5
- export type { ComponentProps };
6
- /**
7
- * Base props that all shader components have
8
- */
9
- interface BaseShaderProps {
10
- children?: React.ReactNode;
11
- blendMode?: BlendMode;
12
- opacity?: number;
13
- visible?: boolean;
14
- id?: string;
15
- maskSource?: string;
16
- maskType?: string;
17
- renderOrder?: number;
18
- transform?: Partial<TransformConfig>;
19
- ref?: React.Ref<any>;
20
- }
21
- /**
22
- * Component-specific props that merge base props with shader-specific props
23
- * Note: ComponentProps are made optional since they have defaults from the shader definition
24
- */
25
- type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
26
- /**
27
- * The main React wrapper component for Shader shader nodes
28
- */
29
- export declare const OmbreComponent: React.FC<ShaderComponentProps>;
30
- export default OmbreComponent;
31
- //# sourceMappingURL=ChromaFlow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChromaFlow.d.ts","sourceRoot":"","sources":["../../src/components/ChromaFlow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGnF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}