reacthub-pixitweenjs 0.2.63 → 0.2.64
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/components/PixiImageSprite/PixiImageSprite.stories.d.ts +8 -0
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +1 -1
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +122 -0
- package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +1 -1
- package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +130 -0
- package/dist/index.es.js +76 -76
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
|
@@ -115,6 +115,14 @@ declare const meta: {
|
|
|
115
115
|
action: string;
|
|
116
116
|
description: string;
|
|
117
117
|
};
|
|
118
|
+
pointerout: {
|
|
119
|
+
action: string;
|
|
120
|
+
description: string;
|
|
121
|
+
};
|
|
122
|
+
pointerover: {
|
|
123
|
+
action: string;
|
|
124
|
+
description: string;
|
|
125
|
+
};
|
|
118
126
|
};
|
|
119
127
|
};
|
|
120
128
|
export default meta;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
import { Effects } from "../../types/Effects";
|
|
4
|
-
interface PixiSvgPathSpriteProps extends PixiBaseSpriteProps {
|
|
4
|
+
export interface PixiSvgPathSpriteProps extends PixiBaseSpriteProps {
|
|
5
5
|
uniqueId: string;
|
|
6
6
|
path: string;
|
|
7
7
|
startAt: number;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<import("./PixiSvgPathSprite").PixiSvgPathSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
uniqueId: {
|
|
9
|
+
control: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
path: {
|
|
13
|
+
control: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
transformation: {
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
x: {
|
|
20
|
+
control: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
y: {
|
|
24
|
+
control: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
width: {
|
|
28
|
+
control: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
height: {
|
|
32
|
+
control: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
anchor: {
|
|
36
|
+
control: string;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
rotation: {
|
|
40
|
+
control: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
alpha: {
|
|
44
|
+
control: string;
|
|
45
|
+
min: number;
|
|
46
|
+
max: number;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
scale: {
|
|
50
|
+
control: string;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
tint: {
|
|
54
|
+
control: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
blendMode: {
|
|
58
|
+
control: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
colorCorrection: {
|
|
62
|
+
control: string;
|
|
63
|
+
description: string;
|
|
64
|
+
brightness: {
|
|
65
|
+
control: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
contrast: {
|
|
69
|
+
control: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
saturation: {
|
|
73
|
+
control: string;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
alpha: {
|
|
77
|
+
control: string;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
applyTransformer: {
|
|
83
|
+
control: string;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
startAt: {
|
|
87
|
+
control: string;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
endAt: {
|
|
91
|
+
control: string;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
initialAlpha: {
|
|
95
|
+
control: string;
|
|
96
|
+
min: number;
|
|
97
|
+
max: number;
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
onAnchorTransformationEnd: {
|
|
101
|
+
action: string;
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
104
|
+
pointerdown: {
|
|
105
|
+
action: string;
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
pointerout: {
|
|
109
|
+
action: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
pointerover: {
|
|
113
|
+
action: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export default meta;
|
|
119
|
+
type Story = StoryObj<typeof meta>;
|
|
120
|
+
export declare const Normal: Story;
|
|
121
|
+
export declare const FadeIn: Story;
|
|
122
|
+
export declare const Filters: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
import { Effects } from "../../types/Effects";
|
|
4
|
-
interface PixiTextSpriteProps extends PixiBaseSpriteProps {
|
|
4
|
+
export interface PixiTextSpriteProps extends PixiBaseSpriteProps {
|
|
5
5
|
text: string;
|
|
6
6
|
startAt: number;
|
|
7
7
|
endAt: number;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<import("./PixiTextSprite").PixiTextSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
uniqueId: {
|
|
9
|
+
control: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
control: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
transformation: {
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
x: {
|
|
20
|
+
control: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
y: {
|
|
24
|
+
control: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
width: {
|
|
28
|
+
control: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
height: {
|
|
32
|
+
control: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
anchor: {
|
|
36
|
+
control: string;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
rotation: {
|
|
40
|
+
control: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
alpha: {
|
|
44
|
+
control: string;
|
|
45
|
+
min: number;
|
|
46
|
+
max: number;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
scale: {
|
|
50
|
+
control: string;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
tint: {
|
|
54
|
+
control: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
blendMode: {
|
|
58
|
+
control: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
colorCorrection: {
|
|
62
|
+
control: string;
|
|
63
|
+
description: string;
|
|
64
|
+
brightness: {
|
|
65
|
+
control: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
contrast: {
|
|
69
|
+
control: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
saturation: {
|
|
73
|
+
control: string;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
alpha: {
|
|
77
|
+
control: string;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
applyTransformer: {
|
|
83
|
+
control: string;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
startAt: {
|
|
87
|
+
control: string;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
endAt: {
|
|
91
|
+
control: string;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
initialAlpha: {
|
|
95
|
+
control: string;
|
|
96
|
+
min: number;
|
|
97
|
+
max: number;
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
onAnchorTransformationEnd: {
|
|
101
|
+
action: string;
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
104
|
+
pointerup: {
|
|
105
|
+
action: string;
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
onTextUpdate: {
|
|
109
|
+
action: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
pointerdown: {
|
|
113
|
+
action: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
pointerout: {
|
|
117
|
+
action: string;
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
pointerover: {
|
|
121
|
+
action: string;
|
|
122
|
+
description: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export default meta;
|
|
127
|
+
type Story = StoryObj<typeof meta>;
|
|
128
|
+
export declare const Normal: Story;
|
|
129
|
+
export declare const FadeIn: Story;
|
|
130
|
+
export declare const Filters: Story;
|