reacthub-pixitweenjs 0.2.107-test.1 → 0.2.109-alpha.2
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/PixiAnimatedSprite/index.d.ts +1 -1
- package/dist/components/PixiAudioSprite/HowlerAudioSprite.d.ts +2 -1
- package/dist/components/PixiAudioSprite/PixiAudioSprite.d.ts +1 -1
- package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +4 -4
- package/dist/components/PixiAudioSprite/index.d.ts +1 -1
- package/dist/components/PixiAudioSprite/useAudioVisualizer.d.ts +2 -2
- package/dist/components/PixiAudioSprite/wave-config.d.ts +3 -2
- package/dist/components/PixiGifSprite/PixiGifGsapSync.d.ts +1 -1
- package/dist/components/PixiGifSprite/PixiGifSprite.stories.d.ts +3 -3
- package/dist/components/PixiGifSprite/index.d.ts +2 -2
- package/dist/components/PixiImageSprite/PixiImageSprite.d.ts +1 -1
- package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +4 -4
- package/dist/components/PixiImageSprite/index.d.ts +1 -1
- package/dist/components/PixiLottieSprite/PixiLottieSprite.d.ts +1 -1
- package/dist/components/PixiLottieSprite/PixiLottieSprite.stories.d.ts +3 -3
- package/dist/components/PixiLottieSprite/index.d.ts +1 -1
- package/dist/components/PixiRemotionSprite/PixiRemotionSprite.d.ts +1 -1
- package/dist/components/PixiRemotionSprite/index.d.ts +1 -1
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +3 -3
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +3 -3
- package/dist/components/PixiSVGSprite/index.d.ts +1 -1
- package/dist/components/PixiSequence/PixiSequence.stories.d.ts +3 -2
- package/dist/components/PixiSequence/index.d.ts +2 -2
- package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +4 -3
- package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +3 -3
- package/dist/components/PixiTextSprite/index.d.ts +1 -1
- package/dist/components/PixiTransformer/PixiDropdownMenu.d.ts +1 -2
- package/dist/components/PixiTransformer/PixiTransformer.d.ts +1 -1
- package/dist/components/PixiTransformer/PixiTransformerMenu.d.ts +2 -2
- package/dist/components/PixiTransformer/Transformer.d.ts +3 -3
- package/dist/components/PixiTransformer/index.d.ts +1 -1
- package/dist/components/PixiVideoSprite/PixiVideoCanvasSync.d.ts +1 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.d.ts +1 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +3 -3
- package/dist/components/PixiVideoSprite/index.d.ts +2 -2
- package/dist/components/index.d.ts +10 -10
- package/dist/events/Events.d.ts +3 -2
- package/dist/events/index.d.ts +1 -1
- package/dist/hocs/AbstractContainer.d.ts +3 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useGsapEffect.d.ts +15 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js +19124 -13813
- package/dist/index.umd.js +154 -148
- package/dist/providers/GsapPixieContextProvider.d.ts +1 -0
- package/dist/providers/index.d.ts +1 -1
- package/dist/stories/Features/TimelineTest.stories.d.ts +3 -2
- package/dist/types/BaseProps.d.ts +14 -6
- package/dist/types/index.d.ts +4 -4
- package/dist/types/transformation.d.ts +1 -0
- package/dist/utils/GsapAnims.d.ts +2 -1
- package/dist/utils/InteractionManager.d.ts +1 -2
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiAnimatedSprite } from
|
|
1
|
+
export { default as PixiAnimatedSprite } from './PixiAnimatedSprite';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
export interface PixiAudioSpriteProps extends PixiBaseSpriteProps {
|
|
4
4
|
uniqueId: string;
|
|
5
5
|
src: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Waveforms } from '../../types/Effects';
|
|
3
|
+
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: import(
|
|
6
|
+
component: import('react').ForwardRefExoticComponent<import('./PixiAudioSprite').PixiAudioSpriteProps & import('react').RefAttributes<import('../..').ForwardedRefResponse | null>>;
|
|
7
7
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiAudioSprite } from
|
|
1
|
+
export { default as PixiAudioSprite } from './PixiAudioSprite';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { default as AudioMotionAnalyzer } from 'audiomotion-analyzer';
|
|
2
|
+
import { PixiBaseSpriteProps } from '../../types/BaseProps';
|
|
1
3
|
import * as React from "react";
|
|
2
|
-
import AudioMotionAnalyzer from "audiomotion-analyzer";
|
|
3
|
-
import { PixiBaseSpriteProps } from "../../types/BaseProps";
|
|
4
4
|
export type AudioVisualizerProps = Partial<PixiBaseSpriteProps> & {
|
|
5
5
|
uniqueId: string;
|
|
6
6
|
src: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Waveforms } from
|
|
2
|
-
import { Options, ConstructorOptions } from
|
|
1
|
+
import { Waveforms } from '../../types/Effects';
|
|
2
|
+
import { Options, ConstructorOptions } from 'audiomotion-analyzer';
|
|
3
|
+
|
|
3
4
|
export type WaveConfigOptions = Partial<ConstructorOptions & Options>;
|
|
4
5
|
export declare const waveConfig: Record<Waveforms, WaveConfigOptions>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
export interface PixiGifSpriteProps extends PixiBaseSpriteProps {
|
|
4
4
|
uniqueId: string;
|
|
5
5
|
src: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./PixiGifGsapSync').PixiGifSpriteProps & import('react').RefAttributes<import('../../types').ForwardedRefResponse | null>>;
|
|
6
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as PixiGifSprite } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default as PixiGifSprite } from './PixiGifGsapSync';
|
|
2
|
+
export * from './PixiGifGsapSync';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
declare const PixiImageSprite: React.ForwardRefExoticComponent<PixiBaseSpriteProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
4
4
|
export default PixiImageSprite;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Effects } from '../../types/Effects';
|
|
3
|
+
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: import(
|
|
6
|
+
component: import('react').ForwardRefExoticComponent<import('../../types').PixiBaseSpriteProps & import('react').RefAttributes<import('../../types').ForwardedRefResponse | null>>;
|
|
7
7
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiImageSprite } from
|
|
1
|
+
export { default as PixiImageSprite } from './PixiImageSprite';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
export interface PixiLottieSpriteProps extends PixiBaseSpriteProps {
|
|
4
4
|
uniqueId: string;
|
|
5
5
|
src: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./PixiLottieSprite').PixiLottieSpriteProps & import('react').RefAttributes<import('../../types').ForwardedRefResponse | null>>;
|
|
6
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiLottieSprite } from
|
|
1
|
+
export { default as PixiLottieSprite } from './PixiLottieSprite';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as PIXI from "pixi.js";
|
|
3
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
4
4
|
export interface CanvasImageProps {
|
|
5
5
|
getCanvas: () => PIXI.TextureSource | PIXI.TextureSource[];
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiRemotionSprite } from
|
|
1
|
+
export { default as PixiRemotionSprite } from './PixiRemotionSprite';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
2
|
+
import { Effects } from '../../types/Effects';
|
|
3
|
+
import { Animations } from '../../types';
|
|
1
4
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
-
import { Effects } from "../../types/Effects";
|
|
4
|
-
import { Animations } from "../../types";
|
|
5
5
|
export interface PixiSvgPathSpriteProps extends PixiBaseSpriteProps {
|
|
6
6
|
uniqueId: string;
|
|
7
7
|
path: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./PixiSvgPathSprite').PixiSvgPathSpriteProps & import('react').RefAttributes<import('../../types').ForwardedRefResponse | null>>;
|
|
6
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiSvgPathSprite } from
|
|
1
|
+
export { default as PixiSvgPathSprite } from './PixiSvgPathSprite';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: (props: import(
|
|
5
|
+
component: (props: import('./PixiSequence').PixiSequenceProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
6
7
|
tags: string[];
|
|
7
8
|
argTypes: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './PixiSequence';
|
|
2
|
+
export * from './PixiSeqenceWrapper';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
2
|
+
import { Effects } from '../../types/Effects';
|
|
3
|
+
import { Animations } from '../../types';
|
|
1
4
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
-
import { Effects } from "../../types/Effects";
|
|
4
|
-
import { Animations } from "../../types";
|
|
5
5
|
export interface PixiTextSpriteProps extends PixiBaseSpriteProps {
|
|
6
6
|
text: string;
|
|
7
7
|
startAt: number;
|
|
@@ -47,6 +47,7 @@ export interface PixiTextSpriteProps extends PixiBaseSpriteProps {
|
|
|
47
47
|
align?: string;
|
|
48
48
|
textBaseline?: string;
|
|
49
49
|
trim?: boolean;
|
|
50
|
+
backgroundColor?: string;
|
|
50
51
|
colorCorrection?: {
|
|
51
52
|
enabled?: boolean;
|
|
52
53
|
temperature?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./PixiTextSprite').PixiTextSpriteProps & import('react').RefAttributes<import('../../types').ForwardedRefResponse | null>>;
|
|
6
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PixiTextSprite } from
|
|
1
|
+
export { default as PixiTextSprite } from './PixiTextSprite';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as PIXI from "pixi.js";
|
|
3
2
|
interface AlignmentOption {
|
|
4
3
|
icon: string;
|
|
@@ -11,6 +10,6 @@ interface DropdownPosition {
|
|
|
11
10
|
}
|
|
12
11
|
declare const useDropDownMenu: (setShowAlignmentDropdown: (show: boolean) => void) => {
|
|
13
12
|
createMenu: (showAlignmentDropdown: boolean, alignmentOptions: AlignmentOption[], dropdownPosition: DropdownPosition) => (() => void) | undefined;
|
|
14
|
-
dropdownRef: import(
|
|
13
|
+
dropdownRef: import('react').MutableRefObject<PIXI.Container<PIXI.DisplayObject> | null>;
|
|
15
14
|
};
|
|
16
15
|
export default useDropDownMenu;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Transformer } from 'reacthub-react-bindings';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { Transformer } from "reacthub-react-bindings";
|
|
3
3
|
type PixiTransformerProps = {
|
|
4
4
|
pixiTransformerRef: React.MutableRefObject<Transformer>;
|
|
5
5
|
imageRef: React.MutableRefObject<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Transformer } from '@pixi-essentials/transformer';
|
|
2
|
+
|
|
3
3
|
interface TransformerMenuProps {
|
|
4
4
|
PixiTransformer: React.MutableRefObject<Transformer>;
|
|
5
5
|
uniqueId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Matrix } from '@pixi/math';
|
|
2
|
+
import { TransformerHandle as TransformerHandleImpl, ITransformerCursors, ITransformerStyle, ITransformerHandleStyle } from '@pixi-essentials/transformer';
|
|
3
|
+
|
|
1
4
|
import * as PIXI from "pixi.js";
|
|
2
|
-
import { Matrix } from "@pixi/math";
|
|
3
|
-
import { TransformerHandle as TransformerHandleImpl } from "@pixi-essentials/transformer";
|
|
4
|
-
import type { ITransformerCursors, ITransformerStyle, ITransformerHandleStyle } from "@pixi-essentials/transformer";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
/** @internal */
|
|
7
7
|
export type TransformerProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Transformer';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as PIXI from "pixi.js";
|
|
3
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
4
4
|
export interface CanvasImageProps {
|
|
5
5
|
getCanvas: () => PIXI.TextureSource | PIXI.TextureSource[];
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from '../../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
3
|
export interface PixiVideoSpriteProps extends PixiBaseSpriteProps {
|
|
4
4
|
uniqueId: string;
|
|
5
5
|
src: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./PixiVideoSprite').PixiVideoSpriteProps & import('react').RefAttributes<import('../../types').ForwardedRefResponse | null>>;
|
|
6
6
|
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as PixiVideoSprite } from
|
|
2
|
-
export { default as PixiVideoCanvasSyncSprite } from
|
|
1
|
+
export { default as PixiVideoSprite } from './PixiVideoSprite';
|
|
2
|
+
export { default as PixiVideoCanvasSyncSprite } from './PixiVideoCanvasSync';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
1
|
+
export * from './PixiImageSprite';
|
|
2
|
+
export * from './PixiSVGSprite';
|
|
3
|
+
export * from './PixiAudioSprite';
|
|
4
|
+
export * from './PixiGifSprite';
|
|
5
|
+
export * from './PixiTextSprite';
|
|
6
|
+
export * from './PixiVideoSprite';
|
|
7
|
+
export * from './PixiAnimatedSprite';
|
|
8
|
+
export * from './PixiSequence';
|
|
9
|
+
export * from './PixiRemotionSprite';
|
|
10
|
+
export * from './PixiLottieSprite';
|
package/dist/events/Events.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { DependencyList } from
|
|
1
|
+
import { DependencyList } from 'react';
|
|
2
|
+
|
|
2
3
|
export declare function useCustomEventListener<T>(eventName: string, eventHandler: (data: T) => void, deps?: DependencyList): (el: HTMLElement | null) => void;
|
|
3
4
|
export declare function emitCustomEvent<T>(eventName: string, data?: T): void;
|
|
4
5
|
export declare function newCustomEventEmitter(): {
|
|
5
6
|
(el: HTMLElement | null): void;
|
|
6
|
-
emit<T>(eventName: string, data?: T
|
|
7
|
+
emit<T>(eventName: string, data?: T): void;
|
|
7
8
|
};
|
package/dist/events/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Events';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse, containerScale } from '../types/BaseProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../types/BaseProps";
|
|
3
3
|
interface AbstractContainerProps extends PixiBaseSpriteProps {
|
|
4
4
|
ignoreTlForVideo?: boolean;
|
|
5
5
|
isText?: boolean;
|
|
@@ -7,6 +7,8 @@ interface AbstractContainerProps extends PixiBaseSpriteProps {
|
|
|
7
7
|
isGif?: boolean;
|
|
8
8
|
onDoubleClick?: () => void;
|
|
9
9
|
isTextEditMode?: boolean;
|
|
10
|
+
handleDragWordWrap?: (width: number, containerScale: containerScale) => void;
|
|
11
|
+
handleDragFontSize?: (width: number, fontSize: number, containerScale: containerScale) => void;
|
|
10
12
|
}
|
|
11
13
|
declare const AbstractContainer: React.ForwardRefExoticComponent<AbstractContainerProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
12
14
|
export default AbstractContainer;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './useGsapEffect';
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as PIXI from "pixi.js";
|
|
2
|
+
interface GsapEffectVars {
|
|
3
|
+
immediateRender?: boolean;
|
|
4
|
+
x?: number;
|
|
5
|
+
y?: number;
|
|
6
|
+
overwrite?: boolean;
|
|
7
|
+
maxX?: number;
|
|
8
|
+
maxY?: number;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
11
|
+
interface GsapEffectResult {
|
|
12
|
+
updateEffect: (target: PIXI.Container | null, effect: string, vars: GsapEffectVars) => gsap.core.Tween | gsap.core.Timeline;
|
|
13
|
+
}
|
|
14
|
+
export declare function useGsapEffect(): GsapEffectResult;
|
|
15
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './providers';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './events';
|
|
5
|
+
export * from './hooks';
|