shaders 2.0.643 → 2.0.645
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/react/components/Ascii.d.ts +22 -0
- package/dist/react/components/Ascii.d.ts.map +1 -0
- package/dist/react/components/Ripple.d.ts +22 -0
- package/dist/react/components/Ripple.d.ts.map +1 -0
- package/dist/react/index.cjs +23 -23
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +6944 -6817
- package/dist/react/index.js.map +1 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/svelte/components/Ascii.svelte +202 -0
- package/dist/svelte/components/Ascii.svelte.d.ts +39 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -0
- package/dist/vue/components/Ascii.vue.d.ts +48 -0
- package/dist/vue/components/Ascii.vue.d.ts.map +1 -0
- package/dist/vue/components/Ripple.vue.d.ts +48 -0
- package/dist/vue/components/Ripple.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +38 -38
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BlendMode } from 'shaders-core';
|
|
3
|
+
import { ComponentProps } from 'shaders-core/ascii';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Define component props including blend mode, opacity, and masking
|
|
7
|
+
*/
|
|
8
|
+
interface OmbreComponentProps extends Partial<ComponentProps> {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
blendMode?: BlendMode;
|
|
11
|
+
opacity?: number;
|
|
12
|
+
id?: string;
|
|
13
|
+
maskSource?: string;
|
|
14
|
+
maskType?: string;
|
|
15
|
+
ref?: React.Ref<any>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The main React wrapper component for Shader shader nodes
|
|
19
|
+
*/
|
|
20
|
+
export declare const OmbreComponent: React.FC<OmbreComponentProps>;
|
|
21
|
+
export default OmbreComponent;
|
|
22
|
+
//# sourceMappingURL=Ascii.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,EAIjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAI9E;;GAEG;AACH,UAAU,mBAAoB,SAAQ,OAAO,CAAC,cAAc,CAAC;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAwCD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8IxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BlendMode } from 'shaders-core';
|
|
3
|
+
import { ComponentProps } from 'shaders-core/ripple';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Define component props including blend mode, opacity, and masking
|
|
7
|
+
*/
|
|
8
|
+
interface OmbreComponentProps extends Partial<ComponentProps> {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
blendMode?: BlendMode;
|
|
11
|
+
opacity?: number;
|
|
12
|
+
id?: string;
|
|
13
|
+
maskSource?: string;
|
|
14
|
+
maskType?: string;
|
|
15
|
+
ref?: React.Ref<any>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The main React wrapper component for Shader shader nodes
|
|
19
|
+
*/
|
|
20
|
+
export declare const OmbreComponent: React.FC<OmbreComponentProps>;
|
|
21
|
+
export default OmbreComponent;
|
|
22
|
+
//# sourceMappingURL=Ripple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ripple.d.ts","sourceRoot":"","sources":["../../src/components/Ripple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAIjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI/E;;GAEG;AACH,UAAU,mBAAoB,SAAQ,OAAO,CAAC,cAAc,CAAC;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAwCD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8IxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|