reacthub-pixitweenjs 0.2.107-alpha.103 → 0.2.107-alpha.105
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/PixiAudioSprite/PixiAudioSprite.d.ts +4 -4
- package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +3 -13
- package/dist/hocs/OverlayTilingSprite.d.ts +5 -0
- package/dist/index.es.js +1155 -1030
- package/dist/index.umd.js +15 -15
- package/dist/providers/AudioContextProvider.d.ts +12 -0
- package/dist/types/BaseProps.d.ts +2 -1
- package/dist/utils/isRemoteAsset.d.ts +1 -0
- package/package.json +4 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
2
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
+
export interface PixiAudioSpriteProps extends PixiBaseSpriteProps {
|
|
3
4
|
uniqueId: string;
|
|
4
5
|
src: string;
|
|
5
6
|
startAt: number;
|
|
@@ -9,7 +10,6 @@ type PixiAudioSpriteProps = {
|
|
|
9
10
|
mute: boolean;
|
|
10
11
|
speed: number;
|
|
11
12
|
visible: boolean;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare const PixiAudioSprite: React.FC<PixiAudioSpriteProps>;
|
|
13
|
+
}
|
|
14
|
+
declare const PixiAudioSprite: React.ForwardRefExoticComponent<PixiAudioSpriteProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
15
15
|
export default PixiAudioSprite;
|
|
@@ -2,18 +2,7 @@
|
|
|
2
2
|
import type { StoryObj } from "@storybook/react";
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import("react").
|
|
6
|
-
uniqueId: string;
|
|
7
|
-
src: string;
|
|
8
|
-
startAt: number;
|
|
9
|
-
endAt: number;
|
|
10
|
-
audioStartAt: number;
|
|
11
|
-
audioEndAt: number;
|
|
12
|
-
mute: boolean;
|
|
13
|
-
speed: number;
|
|
14
|
-
visible: boolean;
|
|
15
|
-
waveform?: boolean | undefined;
|
|
16
|
-
}>;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<import("./PixiAudioSprite").PixiAudioSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
|
|
17
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
18
7
|
tags: string[];
|
|
19
8
|
argTypes: {
|
|
@@ -58,6 +47,7 @@ declare const meta: {
|
|
|
58
47
|
export default meta;
|
|
59
48
|
type Story = StoryObj<typeof meta>;
|
|
60
49
|
export declare const Normal: Story;
|
|
50
|
+
export declare const Visualization: Story;
|
|
61
51
|
export declare const Speech: Story;
|
|
62
|
-
export declare const
|
|
52
|
+
export declare const Muted: Story;
|
|
63
53
|
export declare const SplitPosition: Story;
|
|
@@ -6,6 +6,11 @@ export declare enum OverlayTypes {
|
|
|
6
6
|
GRUNGE = "grunge",
|
|
7
7
|
BRICKS = "bricks"
|
|
8
8
|
}
|
|
9
|
+
export declare enum Waveforms {
|
|
10
|
+
NONE = "none",
|
|
11
|
+
EQUALIZER = "equalizer",
|
|
12
|
+
SIRIWAVE = "siriwave"
|
|
13
|
+
}
|
|
9
14
|
export interface Overlay {
|
|
10
15
|
src: string;
|
|
11
16
|
blendmode: "ADD" | "MULTIPLY";
|