reacthub-pixitweenjs 0.2.107-alpha.109 → 0.2.107-alpha.110

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/README.md CHANGED
@@ -34,7 +34,7 @@ PixiTweenJs is designed to help you build animated time-controlled canvas elemen
34
34
 
35
35
  ## Usage
36
36
 
37
- Visit the [storybook](https://64b9d71094fa7aed0c7291cf-bpnkkrlkgw.chromatic.com)
37
+ Visit the [storybook](https://pixitweenjs.xyz/)
38
38
 
39
39
  ## Documentation
40
40
 
@@ -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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { PixiBaseSpriteProps, ForwardedRefResponse } from "../types/BaseProps";
2
+ import { PixiBaseSpriteProps, ForwardedRefResponse, containerScale } 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;