@prototyp/skeletor 1.0.15 → 1.0.17
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 +1 -0
- package/lib/module/components/Block/Block.js +22 -4
- package/lib/module/components/Block/Block.js.map +1 -1
- package/lib/module/components/Screen/Screen.js.map +1 -1
- package/lib/module/utils/extractAnimationProperties.js.map +1 -1
- package/lib/typescript/components/Block/Block.d.ts +1 -1
- package/lib/typescript/components/Block/Block.d.ts.map +1 -1
- package/lib/typescript/components/Screen/Screen.d.ts +2 -2
- package/lib/typescript/components/Screen/Screen.d.ts.map +1 -1
- package/lib/typescript/models/Animation.d.ts +11 -1
- package/lib/typescript/models/Animation.d.ts.map +1 -1
- package/lib/typescript/utils/extractAnimationProperties.d.ts +70 -70
- package/lib/typescript/utils/extractAnimationProperties.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ const BlockElement = ({
|
|
|
30
30
|
const positionProps = useMemo(() => extractPositionProperties(props), [props]);
|
|
31
31
|
const alignmentProps = useMemo(() => extractAlignmentProperties(props), [props]);
|
|
32
32
|
const styles = useMemo(() => StyleSheet.flatten([{
|
|
33
|
-
backgroundColor: background,
|
|
33
|
+
backgroundColor: typeof background === "string" ? background : undefined,
|
|
34
34
|
overflow,
|
|
35
35
|
opacity
|
|
36
36
|
}, alignmentProps, margins, paddings, border, flexProps, sizeProps, positionProps, gapProps, style]), [alignmentProps, sizeProps, background, style, overflow, margins, paddings, positionProps, flexProps, gapProps, border, opacity]);
|
|
@@ -53,7 +53,16 @@ export const Block = ({
|
|
|
53
53
|
...props
|
|
54
54
|
}) => {
|
|
55
55
|
if (!isScrollable(props)) {
|
|
56
|
-
return /*#__PURE__*/React.createElement(BlockElement, props,
|
|
56
|
+
return /*#__PURE__*/React.createElement(BlockElement, props, props.background && typeof props.background !== "string" && /*#__PURE__*/React.createElement(BlockElement, {
|
|
57
|
+
absolute: true,
|
|
58
|
+
zIndex: -1,
|
|
59
|
+
offsets: {
|
|
60
|
+
top: 0,
|
|
61
|
+
bottom: 0,
|
|
62
|
+
left: 0,
|
|
63
|
+
right: 0
|
|
64
|
+
}
|
|
65
|
+
}, props.background), children);
|
|
57
66
|
}
|
|
58
67
|
const {
|
|
59
68
|
scrollProps,
|
|
@@ -75,8 +84,17 @@ export const Block = ({
|
|
|
75
84
|
bounces: bounces,
|
|
76
85
|
contentContainerStyle: [{
|
|
77
86
|
flexGrow: 1,
|
|
78
|
-
backgroundColor: rest.background
|
|
87
|
+
backgroundColor: typeof rest.background === "string" ? rest.background : undefined
|
|
79
88
|
}, contentContainerStyle]
|
|
80
|
-
}, scrollProps), /*#__PURE__*/React.createElement(BlockElement, rest,
|
|
89
|
+
}, scrollProps), /*#__PURE__*/React.createElement(BlockElement, rest, rest.background && typeof rest.background !== "string" && /*#__PURE__*/React.createElement(BlockElement, {
|
|
90
|
+
absolute: true,
|
|
91
|
+
zIndex: -1,
|
|
92
|
+
offsets: {
|
|
93
|
+
top: 0,
|
|
94
|
+
bottom: 0,
|
|
95
|
+
left: 0,
|
|
96
|
+
right: 0
|
|
97
|
+
}
|
|
98
|
+
}, rest.background), children));
|
|
81
99
|
};
|
|
82
100
|
//# sourceMappingURL=Block.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","Animated","ScrollView","StyleSheet","extractAlignmentProperties","extractAnimationProperties","extractFlexProperties","extractGapProperties","extractPositionProperties","extractSizeProperties","BlockElement","children","props","border","paddings","margins","background","style","overflow","animations","opacity","flex","gap","view","animationProps","flexProps","gapProps","sizeProps","positionProps","alignmentProps","styles","flatten","backgroundColor","createElement","View","_extends","isScrollable","scrollable","Block","scrollProps","rest","horizontal","keyboardShouldPersistTaps","showsVerticalScrollIndicator","showsHorizontalScrollIndicator","bounces","contentContainerStyle","flexGrow"],"sourceRoot":"../../src","sources":["Block.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAuBC,O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et","extractAlignmentProperties","extractAnimationProperties","extractFlexProperties","extractGapProperties","extractPositionProperties","extractSizeProperties","BlockElement","children","props","border","paddings","margins","background","style","overflow","animations","opacity","flex","gap","view","animationProps","flexProps","gapProps","sizeProps","positionProps","alignmentProps","styles","flatten","backgroundColor","undefined","createElement","View","_extends","isScrollable","scrollable","Block","absolute","zIndex","offsets","top","bottom","left","right","scrollProps","rest","horizontal","keyboardShouldPersistTaps","showsVerticalScrollIndicator","showsHorizontalScrollIndicator","bounces","contentContainerStyle","flexGrow"],"sourceRoot":"../../src","sources":["Block.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAuBC,OAAO,QAAQ,OAAO;AACzD,SACEC,QAAQ,EACRC,UAAU,EAEVC,UAAU,QAGL,cAAc;AAWrB,SACEC,0BAA0B,EAC1BC,0BAA0B,EAC1BC,qBAAqB,EACrBC,oBAAoB,EACpBC,yBAAyB,EACzBC,qBAAqB,QAChB,aAAa;AA8BpB,MAAMC,YAA4D,GAAGA,CAAC;EACpEC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IACJC,MAAM;IACNC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,KAAK;IACLC,QAAQ;IACRC,UAAU;IACVC,OAAO;IACPC,IAAI;IACJC,GAAG;IACH,GAAGC;EACL,CAAC,GAAGX,KAAK;EAET,MAAMY,cAAc,GAAGxB,OAAO,CAC5B,MAAMK,0BAA0B,CAACc,UAAU,CAAC,EAC5C,CAACA,UAAU,CACb,CAAC;EACD,MAAMM,SAAS,GAAGzB,OAAO,CAAC,MAAMM,qBAAqB,CAAC;IAAEe;EAAK,CAAC,CAAC,EAAE,CAACA,IAAI,CAAC,CAAC;EACxE,MAAMK,QAAQ,GAAG1B,OAAO,CAAC,MAAMO,oBAAoB,CAAC;IAAEe;EAAI,CAAC,CAAC,EAAE,CAACA,GAAG,CAAC,CAAC;EACpE,MAAMK,SAAS,GAAG3B,OAAO,CAAC,MAAMS,qBAAqB,CAAC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AC;MAAEC,MAAM,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAE;EAAE,GAEjDE,IAAI,CAAChC,UACM,CACf,EACAL,QACW,CACJ,CAAC;AAEjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","SafeAreaView","StatusBar","StyleSheet","View","useSkeletor","Block","Screen","background","children","hideBottomSafeArea","hideTopSafeArea","bottomSafeAreaColor","topSafeAreaColor","statusBarType","paddings","paddingTop","OS","currentHeight","flex","blockProps","defaultStatusBarType","createElement","Fragment","style","absoluteFill","backgroundColor","translucent","barStyle","_extends"],"sourceRoot":"../../src","sources":["Screen.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SACEC,QAAQ,EACRC,YAAY,EACZC,SAAS,EACTC,UAAU,EACVC,IAAI,QACC,cAAc;AAErB,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,KAAK,
|
|
1
|
+
{"version":3,"names":["React","Platform","SafeAreaView","StatusBar","StyleSheet","View","useSkeletor","Block","Screen","background","children","hideBottomSafeArea","hideTopSafeArea","bottomSafeAreaColor","topSafeAreaColor","statusBarType","paddings","paddingTop","OS","currentHeight","flex","blockProps","defaultStatusBarType","createElement","Fragment","style","absoluteFill","backgroundColor","translucent","barStyle","_extends"],"sourceRoot":"../../src","sources":["Screen.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SACEC,QAAQ,EACRC,YAAY,EACZC,SAAS,EACTC,UAAU,EACVC,IAAI,QACC,cAAc;AAErB,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,KAAK,QAA8C,UAAU;AActE,OAAO,MAAMC,MAAgD,GAAGA,CAAC;EAC/DC,UAAU;EACVC,QAAQ;EACRC,kBAAkB;EAClBC,eAAe;EACfC,mBAAmB;EACnBC,gBAAgB;EAChBC,aAAa;EACbC,QAAQ,GAAG;IACTC,UAAU,EAAEhB,QAAQ,CAACiB,EAAE,KAAK,SAAS,GAAGf,SAAS,CAACgB,aAAa,GAAG;EACpE,CAAC;EACDC,IAAI,GAAG,CAAC;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAqB,CAAC,GAAGhB,WAAW,CAAC,CAAC;EAE9C,oBACEN,KAAA,CAAAuB,aAAA,CAAAvB,KAAA,CAAAwB,QAAA,QACGf,UAAU,KACR,OAAOA,UAAU,KAAK,QAAQ,gBAC7BT,KAAA,CAAAuB,aAAA,CAAClB,IAAI;IACHoB,KAAK,EAAE,CAACrB,UAAU,CAACsB,YAAY,EAAE;MAAEC,eAAe,EAAElB;IAAW,CAAC;EAAE,CACnE,CAAC,gBAEFT,KAAA,CAAAuB,aAAA,CAAClB,IAAI;IAACoB,KAAK,EAAErB,UAAU,CAACsB;EAAa,GAAEjB,UAAiB,CACzD,CAAC,EAEH,CAACG,eAAe,iBACfZ,KAAA,CAAAuB,aAAA,CAACrB,YAAY;IAACuB,KAAK,EAAE;MAAEE,eAAe,EAAEb;IAAiB;EAAE,CAAE,CAC9D,eAEDd,KAAA,CAAAuB,aAAA,CAACpB,SAAS;IACRyB,WAAW;IACXD,eAAe,EAAC,aAAa;IAC7BE,QAAQ,EAAEd,aAAa,IAAIO;EAAqB,CACjD,CAAC,eAEFtB,KAAA,CAAAuB,aAAA,CAAChB,KAAK,EAAAuB,QAAA;IAACV,IAAI,EAAEA,IAAK;IAACJ,QAAQ,EAAEA;EAAS,GAAKK,UAAU,GAClDX,QACI,CAAC,EAEP,CAACC,kBAAkB,iBAClBX,KAAA,CAAAuB,aAAA,CAACrB,YAAY;IACXuB,KAAK,EAAE;MACLE,eAAe,EAAEd;IACnB;EAAE,CACH,CAEH,CAAC;AAEP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["hasTransformProperties","props","translateX","translateY","scaleX","scaleY","rotation","extractAnimationProperties","undefined","mapped","transform","push","rotate"],"sourceRoot":"../../src","sources":["extractAnimationProperties.ts"],"mappings":"AAEA,SAASA,sBAAsBA,CAACC,
|
|
1
|
+
{"version":3,"names":["hasTransformProperties","props","translateX","translateY","scaleX","scaleY","rotation","extractAnimationProperties","undefined","mapped","transform","push","rotate"],"sourceRoot":"../../src","sources":["extractAnimationProperties.ts"],"mappings":"AAEA,SAASA,sBAAsBA,CAACC,KAAqB,EAAE;EACrD,OACEA,KAAK,CAACC,UAAU,IAChBD,KAAK,CAACE,UAAU,IAChBF,KAAK,CAACG,MAAM,IACZH,KAAK,CAACI,MAAM,IACZJ,KAAK,CAACI,MAAM,IACZJ,KAAK,CAACK,QAAQ;AAElB;AAEA,OAAO,SAASC,0BAA0BA,CAACN,KAAiC,EAAE;EAC5E,IAAI,CAACA,KAAK,EAAE,OAAOO,SAAS;EAE5B,MAAMC,MAAM,GAAG;IAAE,GAAGR;EAAM,CAAC;;EAE3B;EACA,IAAID,sBAAsB,CAACC,KAAK,CAAC,EAAE;IACjCQ,MAAM,CAACC,SAAS,GAAG,EAAE;IACrB,IAAIT,KAAK,CAACC,UAAU,EAAE;MACpBO,MAAM,CAACC,SAAS,CAACC,IAAI,CAAC;QAAET,UAAU,EAAED,KAAK,CAACC;MAAW,CAAC,CAAC;MACvD,OAAOO,MAAM,CAACP,UAAU;IAC1B;IAEA,IAAID,KAAK,CAACE,UAAU,EAAE;MACpBM,MAAM,CAACC,SAAS,CAACC,IAAI,CAAC;QAAER,UAAU,EAAEF,KAAK,CAACE;MAAW,CAAC,CAAC;MACvD,OAAOM,MAAM,CAACN,UAAU;IAC1B;IAEA,IAAIF,KAAK,CAACG,MAAM,EAAE;MAChBK,MAAM,CAACC,SAAS,CAACC,IAAI,CAAC;QAAEP,MAAM,EAAEH,KAAK,CAACG;MAAO,CAAC,CAAC;MAC/C,OAAOK,MAAM,CAACL,MAAM;IACtB;IAEA,IAAIH,KAAK,CAACI,MAAM,EAAE;MAChBI,MAAM,CAACC,SAAS,CAACC,IAAI,CAAC;QAAEN,MAAM,EAAEJ,KAAK,CAACI;MAAO,CAAC,CAAC;MAC/C,OAAOI,MAAM,CAACJ,MAAM;IACtB;IAEA,IAAIJ,KAAK,CAACK,QAAQ,EAAE;MAClBG,MAAM,CAACC,SAAS,CAACC,IAAI,CAAC;QAAEC,MAAM,EAAG,GAAEX,KAAK,CAACK,QAAS;MAAK,CAAC,CAAC;MACzD,OAAOG,MAAM,CAACH,QAAQ;IACxB;EACF;EAEA,OAAOG,MAAM;AACf"}
|
|
@@ -3,7 +3,7 @@ import { ScrollViewProps, ViewProps, ViewStyle } from "react-native";
|
|
|
3
3
|
import { Alignment, Animations, Border, Flex, Position, Size, Spacing } from "../../models";
|
|
4
4
|
declare type SkeletorProps = Alignment & Spacing & Size & Border & Flex & Position & Animations;
|
|
5
5
|
declare type SharedProps = SkeletorProps & {
|
|
6
|
-
background?: string;
|
|
6
|
+
background?: JSX.Element | string;
|
|
7
7
|
opacity?: ViewStyle["opacity"];
|
|
8
8
|
};
|
|
9
9
|
export declare type BlockScrollViewProps = SharedProps & ViewProps & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../src/components/Block/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAC1D,OAAO,EAGL,eAAe,EAEf,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,SAAS,EACT,UAAU,EACV,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,OAAO,EACR,MAAM,cAAc,CAAC;AAUtB,aAAK,aAAa,GAAG,SAAS,GAC5B,OAAO,GACP,IAAI,GACJ,MAAM,GACN,IAAI,GACJ,QAAQ,GACR,UAAU,CAAC;AAEb,aAAK,WAAW,GAAG,aAAa,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../src/components/Block/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAC1D,OAAO,EAGL,eAAe,EAEf,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,SAAS,EACT,UAAU,EACV,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,OAAO,EACR,MAAM,cAAc,CAAC;AAUtB,aAAK,aAAa,GAAG,SAAS,GAC5B,OAAO,GACP,IAAI,GACJ,MAAM,GACN,IAAI,GACJ,QAAQ,GACR,UAAU,CAAC;AAEb,aAAK,WAAW,GAAG,aAAa,GAAG;IACjC,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAClC,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC,CAAC;AAEF,oBAAY,oBAAoB,GAAG,WAAW,GAC5C,SAAS,GAAG;IACV,UAAU,EAAE,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEJ,oBAAY,cAAc,GAAG,WAAW,GACtC,SAAS,GAAG;IACV,UAAU,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;CAChC,CAAC;AAEJ,oBAAY,UAAU,GAAG,oBAAoB,GAAG,cAAc,CAAC;AAoF/D;;;;;sFAKsF;AACtF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC,CA8DzD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { BlockScrollViewProps, BlockViewProps } from "../Block";
|
|
3
3
|
declare type OwnProps = {
|
|
4
4
|
/** Pass a specific background view OR just a background color value. Custom components should be 100% height and width. */
|
|
5
5
|
background?: JSX.Element | string;
|
|
@@ -9,7 +9,7 @@ declare type OwnProps = {
|
|
|
9
9
|
topSafeAreaColor?: string;
|
|
10
10
|
statusBarType?: "default" | "light-content" | "dark-content";
|
|
11
11
|
};
|
|
12
|
-
export declare type ScreenProps = OwnProps &
|
|
12
|
+
export declare type ScreenProps = OwnProps & (BlockScrollViewProps | BlockViewProps);
|
|
13
13
|
export declare const Screen: React.FC<PropsWithChildren<ScreenProps>>;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=Screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../src/components/Screen/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAS,
|
|
1
|
+
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../src/components/Screen/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAS,oBAAoB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEvE,aAAK,QAAQ,GAAG;IACd,2HAA2H;IAC3H,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC;CAC9D,CAAC;AAEF,oBAAY,WAAW,GAAG,QAAQ,GAAG,CAAC,oBAAoB,GAAG,cAAc,CAAC,CAAC;AAE7E,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAkD3D,CAAC"}
|
|
@@ -28,7 +28,17 @@ export declare type ElementAnimation<Keys extends keyof ViewStyle> = {
|
|
|
28
28
|
/** Reset animations to initial value. Using forward.reset() */
|
|
29
29
|
reset: Animated.CompositeAnimation["reset"];
|
|
30
30
|
};
|
|
31
|
+
declare type ColorKeys = Extract<keyof ViewStyle, `${string}Color`>;
|
|
32
|
+
declare type ExcludeColorKeys = Exclude<keyof ViewStyle, `${string}Color`>;
|
|
33
|
+
declare type ColorValueAnimation<Keys extends ColorKeys = ColorKeys> = {
|
|
34
|
+
[K in Keys]?: ViewStyle[K] | Animated.AnimatedInterpolation<string | number>;
|
|
35
|
+
};
|
|
36
|
+
declare type ViewAnimation<Keys extends ExcludeColorKeys = ExcludeColorKeys> = {
|
|
37
|
+
[K in Keys]?: ViewStyle[K];
|
|
38
|
+
};
|
|
39
|
+
export declare type AnimationsProp = ColorValueAnimation & ViewAnimation;
|
|
31
40
|
export interface Animations {
|
|
32
|
-
animations?:
|
|
41
|
+
animations?: AnimationsProp;
|
|
33
42
|
}
|
|
43
|
+
export {};
|
|
34
44
|
//# sourceMappingURL=Animation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Animation.d.ts","sourceRoot":"","sources":["../../../src/models/Animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEnE,oBAAY,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,2DAA2D;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB,CAAC;AAEF,oBAAY,6BAA6B,GAAG,sBAAsB,GAAG;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,cAAc,CAAC,IAAI,SAAS,MAAM,SAAS,IAAI;KACxD,CAAC,IAAI,IA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,EAAE,SAAS,CAAC,CAAC,CAAC;CAC3B,CAAC;AAEF,oBAAY,cAAc,GAAG,mBAAmB,GAAG,aAAa,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B"}
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function extractAnimationProperties(props:
|
|
1
|
+
import { AnimationsProp } from "models";
|
|
2
|
+
export declare function extractAnimationProperties(props: AnimationsProp | undefined): {
|
|
3
|
+
backgroundColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
4
|
+
borderBlockColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
5
|
+
borderBlockEndColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
6
|
+
borderBlockStartColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
7
|
+
borderBottomColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
8
|
+
borderColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
9
|
+
borderEndColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
10
|
+
borderLeftColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
11
|
+
borderRightColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
12
|
+
borderStartColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
13
|
+
borderTopColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
14
|
+
shadowColor?: import("react-native/types").Animated.AnimatedInterpolation<string | number> | import("react-native/types").ColorValue | undefined;
|
|
15
|
+
alignItems?: import("react-native/types").FlexAlignType | undefined;
|
|
16
|
+
alignSelf?: import("react-native/types").FlexAlignType | "auto" | undefined;
|
|
17
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
18
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
3
19
|
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
borderBottomColor?: import("react-native").ColorValue | undefined;
|
|
9
|
-
borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
10
|
-
borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
11
|
-
borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
12
|
-
borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
13
|
-
borderColor?: import("react-native").ColorValue | undefined;
|
|
20
|
+
borderBottomEndRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
21
|
+
borderBottomLeftRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
22
|
+
borderBottomRightRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
23
|
+
borderBottomStartRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
14
24
|
borderCurve?: "circular" | "continuous" | undefined;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
borderRightColor?: import("react-native").ColorValue | undefined;
|
|
21
|
-
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
22
|
-
borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
23
|
-
borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
25
|
+
borderEndEndRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
26
|
+
borderEndStartRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
27
|
+
borderRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
28
|
+
borderStartEndRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
29
|
+
borderStartStartRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
24
30
|
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
opacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
31
|
+
borderTopEndRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
32
|
+
borderTopLeftRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
33
|
+
borderTopRightRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
34
|
+
borderTopStartRadius?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
35
|
+
opacity?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
31
36
|
elevation?: number | undefined;
|
|
32
37
|
pointerEvents?: "auto" | "box-none" | "none" | "box-only" | undefined;
|
|
33
38
|
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
|
34
|
-
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
35
|
-
alignSelf?: import("react-native").FlexAlignType | "auto" | undefined;
|
|
36
39
|
aspectRatio?: string | number | undefined;
|
|
37
40
|
borderBottomWidth?: number | undefined;
|
|
38
41
|
borderEndWidth?: number | undefined;
|
|
@@ -41,64 +44,61 @@ export declare function extractAnimationProperties(props: Partial<ViewStyle> | u
|
|
|
41
44
|
borderStartWidth?: number | undefined;
|
|
42
45
|
borderTopWidth?: number | undefined;
|
|
43
46
|
borderWidth?: number | undefined;
|
|
44
|
-
bottom?: import("react-native").DimensionValue | undefined;
|
|
47
|
+
bottom?: import("react-native/types").DimensionValue | undefined;
|
|
45
48
|
display?: "flex" | "none" | undefined;
|
|
46
|
-
end?: import("react-native").DimensionValue | undefined;
|
|
49
|
+
end?: import("react-native/types").DimensionValue | undefined;
|
|
47
50
|
flex?: number | undefined;
|
|
48
|
-
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
49
|
-
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
51
|
+
flexBasis?: import("react-native/types").DimensionValue | undefined;
|
|
50
52
|
rowGap?: number | undefined;
|
|
51
53
|
gap?: number | undefined;
|
|
52
54
|
columnGap?: number | undefined;
|
|
53
55
|
flexGrow?: number | undefined;
|
|
54
56
|
flexShrink?: number | undefined;
|
|
55
57
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
56
|
-
height?: import("react-native").DimensionValue | undefined;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
minWidth?: import("react-native").DimensionValue | undefined;
|
|
58
|
+
height?: import("react-native/types").DimensionValue | undefined;
|
|
59
|
+
left?: import("react-native/types").DimensionValue | undefined;
|
|
60
|
+
margin?: import("react-native/types").DimensionValue | undefined;
|
|
61
|
+
marginBottom?: import("react-native/types").DimensionValue | undefined;
|
|
62
|
+
marginEnd?: import("react-native/types").DimensionValue | undefined;
|
|
63
|
+
marginHorizontal?: import("react-native/types").DimensionValue | undefined;
|
|
64
|
+
marginLeft?: import("react-native/types").DimensionValue | undefined;
|
|
65
|
+
marginRight?: import("react-native/types").DimensionValue | undefined;
|
|
66
|
+
marginStart?: import("react-native/types").DimensionValue | undefined;
|
|
67
|
+
marginTop?: import("react-native/types").DimensionValue | undefined;
|
|
68
|
+
marginVertical?: import("react-native/types").DimensionValue | undefined;
|
|
69
|
+
maxHeight?: import("react-native/types").DimensionValue | undefined;
|
|
70
|
+
maxWidth?: import("react-native/types").DimensionValue | undefined;
|
|
71
|
+
minHeight?: import("react-native/types").DimensionValue | undefined;
|
|
72
|
+
minWidth?: import("react-native/types").DimensionValue | undefined;
|
|
72
73
|
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
73
|
-
padding?: import("react-native").DimensionValue | undefined;
|
|
74
|
-
paddingBottom?: import("react-native").DimensionValue | undefined;
|
|
75
|
-
paddingEnd?: import("react-native").DimensionValue | undefined;
|
|
76
|
-
paddingHorizontal?: import("react-native").DimensionValue | undefined;
|
|
77
|
-
paddingLeft?: import("react-native").DimensionValue | undefined;
|
|
78
|
-
paddingRight?: import("react-native").DimensionValue | undefined;
|
|
79
|
-
paddingStart?: import("react-native").DimensionValue | undefined;
|
|
80
|
-
paddingTop?: import("react-native").DimensionValue | undefined;
|
|
81
|
-
paddingVertical?: import("react-native").DimensionValue | undefined;
|
|
74
|
+
padding?: import("react-native/types").DimensionValue | undefined;
|
|
75
|
+
paddingBottom?: import("react-native/types").DimensionValue | undefined;
|
|
76
|
+
paddingEnd?: import("react-native/types").DimensionValue | undefined;
|
|
77
|
+
paddingHorizontal?: import("react-native/types").DimensionValue | undefined;
|
|
78
|
+
paddingLeft?: import("react-native/types").DimensionValue | undefined;
|
|
79
|
+
paddingRight?: import("react-native/types").DimensionValue | undefined;
|
|
80
|
+
paddingStart?: import("react-native/types").DimensionValue | undefined;
|
|
81
|
+
paddingTop?: import("react-native/types").DimensionValue | undefined;
|
|
82
|
+
paddingVertical?: import("react-native/types").DimensionValue | undefined;
|
|
82
83
|
position?: "absolute" | "relative" | undefined;
|
|
83
|
-
right?: import("react-native").DimensionValue | undefined;
|
|
84
|
-
start?: import("react-native").DimensionValue | undefined;
|
|
85
|
-
top?: import("react-native").DimensionValue | undefined;
|
|
86
|
-
width?: import("react-native").DimensionValue | undefined;
|
|
84
|
+
right?: import("react-native/types").DimensionValue | undefined;
|
|
85
|
+
start?: import("react-native/types").DimensionValue | undefined;
|
|
86
|
+
top?: import("react-native/types").DimensionValue | undefined;
|
|
87
|
+
width?: import("react-native/types").DimensionValue | undefined;
|
|
87
88
|
zIndex?: number | undefined;
|
|
88
89
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
89
|
-
shadowColor?: import("react-native").ColorValue | undefined;
|
|
90
90
|
shadowOffset?: Readonly<{
|
|
91
91
|
width: number;
|
|
92
92
|
height: number;
|
|
93
93
|
}> | undefined;
|
|
94
|
-
shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
94
|
+
shadowOpacity?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
95
95
|
shadowRadius?: number | undefined;
|
|
96
|
-
transform?: string | (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
96
|
+
transform?: string | (import("react-native/types").PerpectiveTransform | import("react-native/types").RotateTransform | import("react-native/types").RotateXTransform | import("react-native/types").RotateYTransform | import("react-native/types").RotateZTransform | import("react-native/types").ScaleTransform | import("react-native/types").ScaleXTransform | import("react-native/types").ScaleYTransform | import("react-native/types").TranslateXTransform | import("react-native/types").TranslateYTransform | import("react-native/types").SkewXTransform | import("react-native/types").SkewYTransform | import("react-native/types").MatrixTransform)[] | undefined;
|
|
97
97
|
transformMatrix?: number[] | undefined;
|
|
98
|
-
rotation?: import("react-native").AnimatableNumericValue | undefined;
|
|
99
|
-
scaleX?: import("react-native").AnimatableNumericValue | undefined;
|
|
100
|
-
scaleY?: import("react-native").AnimatableNumericValue | undefined;
|
|
101
|
-
translateX?: import("react-native").AnimatableNumericValue | undefined;
|
|
102
|
-
translateY?: import("react-native").AnimatableNumericValue | undefined;
|
|
98
|
+
rotation?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
99
|
+
scaleX?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
100
|
+
scaleY?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
101
|
+
translateX?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
102
|
+
translateY?: import("react-native/types").AnimatableNumericValue | undefined;
|
|
103
103
|
} | undefined;
|
|
104
104
|
//# sourceMappingURL=extractAnimationProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractAnimationProperties.d.ts","sourceRoot":"","sources":["../../../src/utils/extractAnimationProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"extractAnimationProperties.d.ts","sourceRoot":"","sources":["../../../src/utils/extractAnimationProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAaxC,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmC3E"}
|