@toriistudio/shader-ui 0.0.4 → 0.0.6

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.
package/dist/index.d.mts CHANGED
@@ -188,4 +188,50 @@ type AnimatedDrawingSVGProps = {
188
188
  } & Omit<ComponentProps<"div">, "children">;
189
189
  declare function AnimatedDrawingSVG({ svgMarkup, animated, size, onAnimated, delay, className, style, ...divProps }: AnimatedDrawingSVGProps): react_jsx_runtime.JSX.Element;
190
190
 
191
- export { AnimatedDrawingSVG, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, ShaderArt, type ShaderArtUniforms, Snow };
191
+ type WandyHandProps = {
192
+ text: string;
193
+ fontUrl?: string;
194
+ fontSize?: number;
195
+ durationMs?: number;
196
+ strokeWidth?: number;
197
+ penOpacity?: number;
198
+ strokeColor?: string;
199
+ lineCap?: string;
200
+ lineJoin?: string;
201
+ samplesPerCurve?: number;
202
+ strokeMode?: string;
203
+ canvasPadding?: number;
204
+ backgroundColor?: string;
205
+ imperfectionsEnabled?: boolean;
206
+ size?: number | string;
207
+ animate?: boolean;
208
+ onDrawn?: () => void;
209
+ };
210
+ declare const WANDY_HAND_DEFAULTS: {
211
+ readonly fontSize: 160;
212
+ readonly durationMs: 2200;
213
+ readonly strokeWidth: 3.2;
214
+ readonly penOpacity: 1;
215
+ readonly strokeColor: "#fff";
216
+ readonly lineCap: "round";
217
+ readonly lineJoin: "round";
218
+ readonly samplesPerCurve: 5;
219
+ readonly strokeMode: "outline";
220
+ readonly canvasPadding: 8;
221
+ readonly backgroundColor: "transparent";
222
+ readonly imperfectionsEnabled: false;
223
+ readonly animate: true;
224
+ };
225
+ declare function WandyHand({ text, fontUrl, fontSize, durationMs, strokeWidth, penOpacity, strokeColor, lineCap, lineJoin, samplesPerCurve, strokeMode, canvasPadding, backgroundColor, imperfectionsEnabled, size, animate, onDrawn, }: WandyHandProps): react_jsx_runtime.JSX.Element;
226
+
227
+ type RippleWaveProps = {
228
+ width?: string | number;
229
+ height?: string | number;
230
+ intensity?: number;
231
+ zoom?: number;
232
+ speed?: number;
233
+ hexColors?: string[];
234
+ };
235
+ declare function RippleWave({ width, height, intensity, zoom, speed, hexColors, }: RippleWaveProps): react_jsx_runtime.JSX.Element;
236
+
237
+ export { AnimatedDrawingSVG, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, RippleWave, ShaderArt, type ShaderArtUniforms, Snow, WANDY_HAND_DEFAULTS, WandyHand };
package/dist/index.d.ts CHANGED
@@ -188,4 +188,50 @@ type AnimatedDrawingSVGProps = {
188
188
  } & Omit<ComponentProps<"div">, "children">;
189
189
  declare function AnimatedDrawingSVG({ svgMarkup, animated, size, onAnimated, delay, className, style, ...divProps }: AnimatedDrawingSVGProps): react_jsx_runtime.JSX.Element;
190
190
 
191
- export { AnimatedDrawingSVG, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, ShaderArt, type ShaderArtUniforms, Snow };
191
+ type WandyHandProps = {
192
+ text: string;
193
+ fontUrl?: string;
194
+ fontSize?: number;
195
+ durationMs?: number;
196
+ strokeWidth?: number;
197
+ penOpacity?: number;
198
+ strokeColor?: string;
199
+ lineCap?: string;
200
+ lineJoin?: string;
201
+ samplesPerCurve?: number;
202
+ strokeMode?: string;
203
+ canvasPadding?: number;
204
+ backgroundColor?: string;
205
+ imperfectionsEnabled?: boolean;
206
+ size?: number | string;
207
+ animate?: boolean;
208
+ onDrawn?: () => void;
209
+ };
210
+ declare const WANDY_HAND_DEFAULTS: {
211
+ readonly fontSize: 160;
212
+ readonly durationMs: 2200;
213
+ readonly strokeWidth: 3.2;
214
+ readonly penOpacity: 1;
215
+ readonly strokeColor: "#fff";
216
+ readonly lineCap: "round";
217
+ readonly lineJoin: "round";
218
+ readonly samplesPerCurve: 5;
219
+ readonly strokeMode: "outline";
220
+ readonly canvasPadding: 8;
221
+ readonly backgroundColor: "transparent";
222
+ readonly imperfectionsEnabled: false;
223
+ readonly animate: true;
224
+ };
225
+ declare function WandyHand({ text, fontUrl, fontSize, durationMs, strokeWidth, penOpacity, strokeColor, lineCap, lineJoin, samplesPerCurve, strokeMode, canvasPadding, backgroundColor, imperfectionsEnabled, size, animate, onDrawn, }: WandyHandProps): react_jsx_runtime.JSX.Element;
226
+
227
+ type RippleWaveProps = {
228
+ width?: string | number;
229
+ height?: string | number;
230
+ intensity?: number;
231
+ zoom?: number;
232
+ speed?: number;
233
+ hexColors?: string[];
234
+ };
235
+ declare function RippleWave({ width, height, intensity, zoom, speed, hexColors, }: RippleWaveProps): react_jsx_runtime.JSX.Element;
236
+
237
+ export { AnimatedDrawingSVG, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, RippleWave, ShaderArt, type ShaderArtUniforms, Snow, WANDY_HAND_DEFAULTS, WandyHand };