react-native-css 0.0.0-nightly.99fdf44 → 0.0.0-nightly.a50d7d1
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/commonjs/compiler/atRules.js +1 -15
- package/dist/commonjs/compiler/atRules.js.map +1 -1
- package/dist/commonjs/compiler/compiler.js +1 -4
- package/dist/commonjs/compiler/compiler.js.map +1 -1
- package/dist/commonjs/compiler/stylesheet.js +2 -3
- package/dist/commonjs/compiler/stylesheet.js.map +1 -1
- package/dist/commonjs/components/ActivityIndicator.js.map +1 -1
- package/dist/commonjs/components/Button.js.map +1 -1
- package/dist/commonjs/components/FlatList.js +3 -4
- package/dist/commonjs/components/FlatList.js.map +1 -1
- package/dist/commonjs/components/Image.js.map +1 -1
- package/dist/commonjs/components/TextInput.js +1 -6
- package/dist/commonjs/components/TextInput.js.map +1 -1
- package/dist/commonjs/components/index.js +1 -65
- package/dist/commonjs/components/index.js.map +1 -1
- package/dist/commonjs/index.js +11 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/metro/index.js +1 -1
- package/dist/commonjs/metro/index.js.map +1 -1
- package/dist/module/compiler/atRules.js +1 -15
- package/dist/module/compiler/atRules.js.map +1 -1
- package/dist/module/compiler/compiler.js +1 -4
- package/dist/module/compiler/compiler.js.map +1 -1
- package/dist/module/compiler/stylesheet.js +2 -3
- package/dist/module/compiler/stylesheet.js.map +1 -1
- package/dist/module/components/ActivityIndicator.js.map +1 -1
- package/dist/module/components/Button.js.map +1 -1
- package/dist/module/components/FlatList.js +3 -4
- package/dist/module/components/FlatList.js.map +1 -1
- package/dist/module/components/Image.js.map +1 -1
- package/dist/module/components/TextInput.js +1 -6
- package/dist/module/components/TextInput.js.map +1 -1
- package/dist/module/components/index.js +0 -8
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/metro/index.js +1 -1
- package/dist/module/metro/index.js.map +1 -1
- package/dist/typescript/commonjs/example/app.config.d.ts.map +1 -1
- package/dist/typescript/commonjs/example/src/App.d.ts +1 -0
- package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +1 -2
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +10 -3
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Button.d.ts +10 -3
- package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/FlatList.d.ts +7 -3
- package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Image.d.ts +5 -3
- package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Text.d.ts +1 -1
- package/dist/typescript/commonjs/src/components/TextInput.d.ts +5 -3
- package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/View.d.ts +1 -1
- package/dist/typescript/commonjs/src/components/index.d.ts +0 -8
- package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/index.d.ts +1 -0
- package/dist/typescript/commonjs/src/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/api.d.ts +1 -1
- package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts +1 -1
- package/dist/typescript/module/example/app.config.d.ts.map +1 -1
- package/dist/typescript/module/example/src/App.d.ts +1 -0
- package/dist/typescript/module/example/src/App.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/stylesheet.d.ts +1 -2
- package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts +10 -3
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Button.d.ts +10 -3
- package/dist/typescript/module/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/module/src/components/FlatList.d.ts +7 -3
- package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Image.d.ts +5 -3
- package/dist/typescript/module/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Text.d.ts +1 -1
- package/dist/typescript/module/src/components/TextInput.d.ts +5 -3
- package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/module/src/components/View.d.ts +1 -1
- package/dist/typescript/module/src/components/index.d.ts +0 -8
- package/dist/typescript/module/src/components/index.d.ts.map +1 -1
- package/dist/typescript/module/src/index.d.ts +1 -0
- package/dist/typescript/module/src/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/api.d.ts +1 -1
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts +1 -1
- package/package.json +7 -7
- package/src/compiler/atRules.ts +1 -13
- package/src/compiler/compiler.ts +2 -2
- package/src/compiler/stylesheet.ts +2 -2
- package/src/components/ActivityIndicator.tsx +2 -2
- package/src/components/Button.tsx +2 -2
- package/src/components/FlatList.tsx +5 -6
- package/src/components/Image.tsx +2 -2
- package/src/components/TextInput.tsx +3 -8
- package/src/components/index.tsx +0 -8
- package/src/index.ts +2 -0
- package/src/metro/index.ts +1 -1
- package/dist/commonjs/components/ImageBackground.js +0 -22
- package/dist/commonjs/components/ImageBackground.js.map +0 -1
- package/dist/commonjs/components/KeyboardAvoidingView.js +0 -19
- package/dist/commonjs/components/KeyboardAvoidingView.js.map +0 -1
- package/dist/commonjs/components/Pressable.js +0 -17
- package/dist/commonjs/components/Pressable.js.map +0 -1
- package/dist/commonjs/components/ScrollView.js +0 -18
- package/dist/commonjs/components/ScrollView.js.map +0 -1
- package/dist/commonjs/components/TouchableHighlight.js +0 -17
- package/dist/commonjs/components/TouchableHighlight.js.map +0 -1
- package/dist/commonjs/components/TouchableOpacity.js +0 -17
- package/dist/commonjs/components/TouchableOpacity.js.map +0 -1
- package/dist/commonjs/components/TouchableWithoutFeedback.js +0 -17
- package/dist/commonjs/components/TouchableWithoutFeedback.js.map +0 -1
- package/dist/commonjs/components/VirtualizedList.js +0 -20
- package/dist/commonjs/components/VirtualizedList.js.map +0 -1
- package/dist/module/components/ImageBackground.js +0 -17
- package/dist/module/components/ImageBackground.js.map +0 -1
- package/dist/module/components/KeyboardAvoidingView.js +0 -14
- package/dist/module/components/KeyboardAvoidingView.js.map +0 -1
- package/dist/module/components/Pressable.js +0 -12
- package/dist/module/components/Pressable.js.map +0 -1
- package/dist/module/components/ScrollView.js +0 -13
- package/dist/module/components/ScrollView.js.map +0 -1
- package/dist/module/components/TouchableHighlight.js +0 -12
- package/dist/module/components/TouchableHighlight.js.map +0 -1
- package/dist/module/components/TouchableOpacity.js +0 -12
- package/dist/module/components/TouchableOpacity.js.map +0 -1
- package/dist/module/components/TouchableWithoutFeedback.js +0 -12
- package/dist/module/components/TouchableWithoutFeedback.js.map +0 -1
- package/dist/module/components/VirtualizedList.js +0 -15
- package/dist/module/components/VirtualizedList.js.map +0 -1
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/Pressable.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/Pressable.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts +0 -6
- package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts.map +0 -1
- package/dist/typescript/module/src/components/ImageBackground.d.ts +0 -6
- package/dist/typescript/module/src/components/ImageBackground.d.ts.map +0 -1
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts +0 -6
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +0 -1
- package/dist/typescript/module/src/components/Pressable.d.ts +0 -6
- package/dist/typescript/module/src/components/Pressable.d.ts.map +0 -1
- package/dist/typescript/module/src/components/ScrollView.d.ts +0 -6
- package/dist/typescript/module/src/components/ScrollView.d.ts.map +0 -1
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts +0 -6
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts.map +0 -1
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts +0 -6
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts.map +0 -1
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts +0 -6
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts.map +0 -1
- package/dist/typescript/module/src/components/VirtualizedList.d.ts +0 -6
- package/dist/typescript/module/src/components/VirtualizedList.d.ts.map +0 -1
- package/src/components/ImageBackground.tsx +0 -27
- package/src/components/KeyboardAvoidingView.tsx +0 -24
- package/src/components/Pressable.tsx +0 -17
- package/src/components/ScrollView.tsx +0 -20
- package/src/components/TouchableHighlight.tsx +0 -22
- package/src/components/TouchableOpacity.tsx +0 -22
- package/src/components/TouchableWithoutFeedback.tsx +0 -22
- package/src/components/VirtualizedList.tsx +0 -25
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type
|
|
3
|
-
declare const mapping:
|
|
1
|
+
import { type FlatListProps } from "react-native";
|
|
2
|
+
import { type StyledProps } from "../runtime";
|
|
3
|
+
declare const mapping: {
|
|
4
|
+
columnWrapperStyle: "columnWrapperStyle";
|
|
5
|
+
listFooterComponentClassName: "ListFooterComponentStyle";
|
|
6
|
+
listHeaderComponentClassName: "ListHeaderComponentStyle";
|
|
7
|
+
};
|
|
4
8
|
export declare function FlatList<ItemT>(props: StyledProps<FlatListProps<ItemT>, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
9
|
export default FlatList;
|
|
6
10
|
//# sourceMappingURL=FlatList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;;;CAIqC,CAAC;AAEnD,wBAAgB,QAAQ,CAAC,KAAK,EAC5B,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,OAAO,OAAO,CAAC,0FAGzD;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type
|
|
3
|
-
declare const mapping:
|
|
1
|
+
import { type ImageProps } from "react-native";
|
|
2
|
+
import { type StyledProps } from "../runtime";
|
|
3
|
+
declare const mapping: {
|
|
4
|
+
className: "style";
|
|
5
|
+
};
|
|
4
6
|
export declare function Image(props: StyledProps<ImageProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
7
|
export default Image;
|
|
6
8
|
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;CAEkC,CAAC;AAEhD,wBAAgB,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,EAAE,OAAO,OAAO,CAAC,0FAEnE;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -3,6 +3,6 @@ import { type StyledProps } from "react-native-css/native";
|
|
|
3
3
|
declare const mapping: {
|
|
4
4
|
className: "style";
|
|
5
5
|
};
|
|
6
|
-
export declare function Text(props: StyledProps<TextProps, typeof mapping>): import("react").
|
|
6
|
+
export declare function Text(props: StyledProps<TextProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
7
7
|
export default Text;
|
|
8
8
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type
|
|
3
|
-
declare const mapping:
|
|
1
|
+
import { type TextInputProps } from "react-native";
|
|
2
|
+
import { type StyledProps } from "../runtime";
|
|
3
|
+
declare const mapping: {
|
|
4
|
+
className: "style";
|
|
5
|
+
};
|
|
4
6
|
export declare function TextInput(props: StyledProps<TextInputProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
7
|
export default TextInput;
|
|
6
8
|
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7E,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;CAEsC,CAAC;AAEpD,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC,cAAc,EAAE,OAAO,OAAO,CAAC,0FAE3E;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -3,6 +3,6 @@ import { type StyledProps } from "react-native-css/native";
|
|
|
3
3
|
declare const mapping: {
|
|
4
4
|
className: "style";
|
|
5
5
|
};
|
|
6
|
-
export declare function View(props: StyledProps<ViewProps, typeof mapping>): import("react").
|
|
6
|
+
export declare function View(props: StyledProps<ViewProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
7
7
|
export default View;
|
|
8
8
|
//# sourceMappingURL=View.d.ts.map
|
|
@@ -3,16 +3,8 @@ export { ActivityIndicator } from "./ActivityIndicator";
|
|
|
3
3
|
export { Button } from "./Button";
|
|
4
4
|
export { FlatList } from "./FlatList";
|
|
5
5
|
export { Image } from "./Image";
|
|
6
|
-
export { ImageBackground } from "./ImageBackground";
|
|
7
|
-
export { KeyboardAvoidingView } from "./KeyboardAvoidingView";
|
|
8
|
-
export { Pressable } from "./Pressable";
|
|
9
|
-
export { ScrollView } from "./ScrollView";
|
|
10
6
|
export { Switch } from "./Switch";
|
|
11
7
|
export { Text } from "./Text";
|
|
12
8
|
export { TextInput } from "./TextInput";
|
|
13
|
-
export { TouchableHighlight } from "./TouchableHighlight";
|
|
14
|
-
export { TouchableOpacity } from "./TouchableOpacity";
|
|
15
|
-
export { TouchableWithoutFeedback } from "./TouchableWithoutFeedback";
|
|
16
9
|
export { View } from "./View";
|
|
17
|
-
export { VirtualizedList } from "./VirtualizedList";
|
|
18
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAE1B,cAAc,eAAe,CAAC"}
|
|
@@ -13,7 +13,7 @@ export { useNativeCss };
|
|
|
13
13
|
export declare const styled: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(baseComponent: C, mapping: M, options?: StyledOptions) => any;
|
|
14
14
|
export declare const colorScheme: ColorScheme;
|
|
15
15
|
export declare const useUnstableNativeVariable: typeof useNativeVariable;
|
|
16
|
-
export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").
|
|
16
|
+
export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
17
17
|
export declare function useNativeVariable(name: string): any;
|
|
18
18
|
/**
|
|
19
19
|
* @deprecated Use `<VariableContextProvider />` instead.
|
|
@@ -30,7 +30,7 @@ export type ComponentState = {
|
|
|
30
30
|
/**
|
|
31
31
|
* useNativeCss is the native implementation of the useCssElement hook.
|
|
32
32
|
*/
|
|
33
|
-
export declare function useNativeCss(type: ComponentType<any>, originalProps: Record<string, any> | undefined | null, configs?: Config[]): import("react").
|
|
33
|
+
export declare function useNativeCss(type: ComponentType<any>, originalProps: Record<string, any> | undefined | null, configs?: Config[]): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
34
34
|
/**
|
|
35
35
|
* Convert the styled() mapping to a config array
|
|
36
36
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-css",
|
|
3
|
-
"version": "0.0.0-nightly.
|
|
3
|
+
"version": "0.0.0-nightly.a50d7d1",
|
|
4
4
|
"description": "A CSS polyfill for React Native",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"debug": "^4.4.1"
|
|
193
193
|
},
|
|
194
194
|
"peerDependencies": {
|
|
195
|
-
"@expo/metro-config": ">=
|
|
195
|
+
"@expo/metro-config": ">=0.21.8",
|
|
196
196
|
"react": "19.1.0",
|
|
197
197
|
"react-native": "0.81.1"
|
|
198
198
|
},
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"@babel/core": "^7.28.0",
|
|
201
201
|
"@commitlint/config-conventional": "^19.8.1",
|
|
202
202
|
"@eslint/js": "^9.30.1",
|
|
203
|
-
"@expo/metro-config": "~
|
|
203
|
+
"@expo/metro-config": "~0.21.11",
|
|
204
204
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
|
205
205
|
"@tailwindcss/postcss": "^4.1.12",
|
|
206
206
|
"@testing-library/react-native": "^13.3.3",
|
|
@@ -211,22 +211,22 @@
|
|
|
211
211
|
"@types/react": "^19.1.10",
|
|
212
212
|
"@types/react-test-renderer": "^19",
|
|
213
213
|
"babel-plugin-tester": "^12.0.0",
|
|
214
|
-
"babel-preset-expo": "~
|
|
214
|
+
"babel-preset-expo": "~14.0.6",
|
|
215
215
|
"commitlint": "^19.8.1",
|
|
216
216
|
"eas-build-cache-provider": "^16.4.2",
|
|
217
217
|
"eslint": "^9.30.1",
|
|
218
218
|
"eslint-config-prettier": "^10.1.5",
|
|
219
219
|
"eslint-plugin-prettier": "^5.5.1",
|
|
220
|
-
"expo": "54.0.
|
|
220
|
+
"expo": "54.0.0-preview.16",
|
|
221
221
|
"jest": "^29.7.0",
|
|
222
|
-
"jest-expo": "~54.0.
|
|
222
|
+
"jest-expo": "~54.0.8",
|
|
223
223
|
"lefthook": "^1.12.3",
|
|
224
224
|
"lightningcss": "^1.30.1",
|
|
225
225
|
"metro-runtime": "^0.83.0",
|
|
226
226
|
"postcss": "^8.5.6",
|
|
227
227
|
"prettier": "^3.6.2",
|
|
228
228
|
"react": "19.1.0",
|
|
229
|
-
"react-native": "0.81.
|
|
229
|
+
"react-native": "0.81.1",
|
|
230
230
|
"react-native-builder-bob": "^0.40.13",
|
|
231
231
|
"react-native-reanimated": "~4.1.0",
|
|
232
232
|
"react-native-safe-area-context": "5.6.1",
|
package/src/compiler/atRules.ts
CHANGED
|
@@ -103,22 +103,10 @@ function propAtRuleBlock(
|
|
|
103
103
|
token: Extract<TokenOrValue, { type: "token" }>[],
|
|
104
104
|
mapping: StyleRuleMapping = {},
|
|
105
105
|
): StyleRuleMapping {
|
|
106
|
-
|
|
106
|
+
const [from, to] = splitByDelimiter(token, (item) => {
|
|
107
107
|
return item.value.type === "colon";
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
// @props <to>; (has no from value)
|
|
111
|
-
if (!to && from) {
|
|
112
|
-
to = from;
|
|
113
|
-
from = [
|
|
114
|
-
{
|
|
115
|
-
type: "token",
|
|
116
|
-
value: { type: "ident", value: "*" },
|
|
117
|
-
},
|
|
118
|
-
];
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// We can only map from a single property
|
|
122
110
|
if (!from || from.length !== 1) {
|
|
123
111
|
return mapping;
|
|
124
112
|
}
|
package/src/compiler/compiler.ts
CHANGED
|
@@ -212,7 +212,7 @@ function extractRule(
|
|
|
212
212
|
const declarationBlock = value.declarations;
|
|
213
213
|
if (declarationBlock) {
|
|
214
214
|
if (declarationBlock.declarations?.length) {
|
|
215
|
-
builder.newNestedRule(
|
|
215
|
+
builder.newNestedRule();
|
|
216
216
|
for (const declaration of declarationBlock.declarations) {
|
|
217
217
|
parseDeclaration(declaration, builder);
|
|
218
218
|
}
|
|
@@ -220,7 +220,7 @@ function extractRule(
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
if (declarationBlock.importantDeclarations?.length) {
|
|
223
|
-
builder.newNestedRule({
|
|
223
|
+
builder.newNestedRule({ important: true });
|
|
224
224
|
for (const declaration of declarationBlock.importantDeclarations) {
|
|
225
225
|
parseDeclaration(declaration, builder);
|
|
226
226
|
}
|
|
@@ -263,8 +263,8 @@ export class StylesheetBuilder {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
/** Used by nested declarations (for example @media inside a RuleSet) */
|
|
266
|
-
newNestedRule({ important = false
|
|
267
|
-
this.newRule(mapping, { important });
|
|
266
|
+
newNestedRule({ important = false } = {}) {
|
|
267
|
+
this.newRule(this.mapping, { important });
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/** Hack for light-dark, which requires adding a new rule without changing the current rule */
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
type StyledProps,
|
|
10
10
|
} from "../runtime";
|
|
11
11
|
|
|
12
|
-
const mapping
|
|
12
|
+
const mapping = {
|
|
13
13
|
className: {
|
|
14
14
|
target: "style",
|
|
15
15
|
nativeStyleMapping: {
|
|
16
16
|
color: "color",
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
|
-
}
|
|
19
|
+
} satisfies StyledConfiguration<typeof RNActivityIndicator>;
|
|
20
20
|
|
|
21
21
|
export function ActivityIndicator(
|
|
22
22
|
props: StyledProps<ActivityIndicatorProps, typeof mapping>,
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
type StyledProps,
|
|
7
7
|
} from "../runtime";
|
|
8
8
|
|
|
9
|
-
const mapping
|
|
9
|
+
const mapping = {
|
|
10
10
|
className: {
|
|
11
11
|
target: false,
|
|
12
12
|
nativeStyleMapping: {
|
|
13
13
|
color: "color",
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
|
-
}
|
|
16
|
+
} satisfies StyledConfiguration<typeof RNButton>;
|
|
17
17
|
|
|
18
18
|
export function Button(props: StyledProps<ButtonProps, typeof mapping>) {
|
|
19
19
|
return useCssElement(RNButton, props, mapping);
|
|
@@ -6,12 +6,11 @@ import {
|
|
|
6
6
|
type StyledProps,
|
|
7
7
|
} from "../runtime";
|
|
8
8
|
|
|
9
|
-
const mapping
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
9
|
+
const mapping = {
|
|
10
|
+
columnWrapperStyle: "columnWrapperStyle",
|
|
11
|
+
listFooterComponentClassName: "ListFooterComponentStyle",
|
|
12
|
+
listHeaderComponentClassName: "ListHeaderComponentStyle",
|
|
13
|
+
} satisfies StyledConfiguration<typeof RNFlatList>;
|
|
15
14
|
|
|
16
15
|
export function FlatList<ItemT>(
|
|
17
16
|
props: StyledProps<FlatListProps<ItemT>, typeof mapping>,
|
package/src/components/Image.tsx
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
type StyledProps,
|
|
7
7
|
} from "../runtime";
|
|
8
8
|
|
|
9
|
-
const mapping
|
|
9
|
+
const mapping = {
|
|
10
10
|
className: "style",
|
|
11
|
-
}
|
|
11
|
+
} satisfies StyledConfiguration<typeof RNImage>;
|
|
12
12
|
|
|
13
13
|
export function Image(props: StyledProps<ImageProps, typeof mapping>) {
|
|
14
14
|
return useCssElement(RNImage, props, mapping);
|
|
@@ -6,14 +6,9 @@ import {
|
|
|
6
6
|
type StyledProps,
|
|
7
7
|
} from "../runtime";
|
|
8
8
|
|
|
9
|
-
const mapping
|
|
10
|
-
className:
|
|
11
|
-
|
|
12
|
-
nativeStyleMapping: {
|
|
13
|
-
textAlign: true,
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
};
|
|
9
|
+
const mapping = {
|
|
10
|
+
className: "style",
|
|
11
|
+
} satisfies StyledConfiguration<typeof RNTextInput>;
|
|
17
12
|
|
|
18
13
|
export function TextInput(props: StyledProps<TextInputProps, typeof mapping>) {
|
|
19
14
|
return useCssElement(RNTextInput, props, mapping);
|
package/src/components/index.tsx
CHANGED
|
@@ -4,15 +4,7 @@ export { ActivityIndicator } from "./ActivityIndicator";
|
|
|
4
4
|
export { Button } from "./Button";
|
|
5
5
|
export { FlatList } from "./FlatList";
|
|
6
6
|
export { Image } from "./Image";
|
|
7
|
-
export { ImageBackground } from "./ImageBackground";
|
|
8
|
-
export { KeyboardAvoidingView } from "./KeyboardAvoidingView";
|
|
9
|
-
export { Pressable } from "./Pressable";
|
|
10
|
-
export { ScrollView } from "./ScrollView";
|
|
11
7
|
export { Switch } from "./Switch";
|
|
12
8
|
export { Text } from "./Text";
|
|
13
9
|
export { TextInput } from "./TextInput";
|
|
14
|
-
export { TouchableHighlight } from "./TouchableHighlight";
|
|
15
|
-
export { TouchableOpacity } from "./TouchableOpacity";
|
|
16
|
-
export { TouchableWithoutFeedback } from "./TouchableWithoutFeedback";
|
|
17
10
|
export { View } from "./View";
|
|
18
|
-
export { VirtualizedList } from "./VirtualizedList";
|
package/src/index.ts
CHANGED
package/src/metro/index.ts
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ImageBackground = ImageBackground;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: {
|
|
12
|
-
target: "style",
|
|
13
|
-
nativeStyleMapping: {
|
|
14
|
-
backgroundColor: true
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
function ImageBackground(props) {
|
|
19
|
-
return (0, _runtime.useCssElement)(_reactNative.ImageBackground, props, mapping);
|
|
20
|
-
}
|
|
21
|
-
var _default = exports.default = ImageBackground;
|
|
22
|
-
//# sourceMappingURL=ImageBackground.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","target","nativeStyleMapping","backgroundColor","ImageBackground","props","useCssElement","RNImageBackground","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/ImageBackground.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAAsD,GAAG;EAC7DC,SAAS,EAAE;IACTC,MAAM,EAAE,OAAO;IACfC,kBAAkB,EAAE;MAClBC,eAAe,EAAE;IACnB;EACF;AACF,CAAC;AAEM,SAASC,eAAeA,CAC7BC,KAAwD,EACxD;EACA,OAAO,IAAAC,sBAAa,EAACC,4BAAiB,EAAEF,KAAK,EAAEN,OAAO,CAAC;AACzD;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,eAAe","ignoreList":[]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.KeyboardAvoidingView = KeyboardAvoidingView;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: {
|
|
12
|
-
target: "style"
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
function KeyboardAvoidingView(props) {
|
|
16
|
-
return (0, _runtime.useCssElement)(_reactNative.KeyboardAvoidingView, props, mapping);
|
|
17
|
-
}
|
|
18
|
-
var _default = exports.default = KeyboardAvoidingView;
|
|
19
|
-
//# sourceMappingURL=KeyboardAvoidingView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","target","KeyboardAvoidingView","props","useCssElement","RNKeyboardAvoidingView","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/KeyboardAvoidingView.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAA2D,GAAG;EAClEC,SAAS,EAAE;IACTC,MAAM,EAAE;EACV;AACF,CAAC;AAEM,SAASC,oBAAoBA,CAClCC,KAA6D,EAC7D;EACA,OAAO,IAAAC,sBAAa,EAACC,iCAAsB,EAAEF,KAAK,EAAEJ,OAAO,CAAC;AAC9D;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,oBAAoB","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Pressable = Pressable;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: "style"
|
|
12
|
-
};
|
|
13
|
-
function Pressable(props) {
|
|
14
|
-
return (0, _runtime.useCssElement)(_reactNative.Pressable, props, mapping);
|
|
15
|
-
}
|
|
16
|
-
var _default = exports.default = Pressable;
|
|
17
|
-
//# sourceMappingURL=Pressable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","Pressable","props","useCssElement","RNPressable","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/Pressable.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAAgD,GAAG;EACvDC,SAAS,EAAE;AACb,CAAC;AAEM,SAASC,SAASA,CAACC,KAAkD,EAAE;EAC5E,OAAO,IAAAC,sBAAa,EAACC,sBAAW,EAAEF,KAAK,EAAEH,OAAO,CAAC;AACnD;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,SAAS","ignoreList":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ScrollView = ScrollView;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: "style",
|
|
12
|
-
contentContainerClassName: "contentContainerStyle"
|
|
13
|
-
};
|
|
14
|
-
function ScrollView(props) {
|
|
15
|
-
return (0, _runtime.useCssElement)(_reactNative.ScrollView, props, mapping);
|
|
16
|
-
}
|
|
17
|
-
var _default = exports.default = ScrollView;
|
|
18
|
-
//# sourceMappingURL=ScrollView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","contentContainerClassName","ScrollView","props","useCssElement","RNScrollView","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/ScrollView.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAAiD,GAAG;EACxDC,SAAS,EAAE,OAAO;EAClBC,yBAAyB,EAAE;AAC7B,CAAC;AAEM,SAASC,UAAUA,CACxBC,KAAmD,EACnD;EACA,OAAO,IAAAC,sBAAa,EAACC,uBAAY,EAAEF,KAAK,EAAEJ,OAAO,CAAC;AACpD;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,UAAU","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TouchableHighlight = TouchableHighlight;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: "style"
|
|
12
|
-
};
|
|
13
|
-
function TouchableHighlight(props) {
|
|
14
|
-
return (0, _runtime.useCssElement)(_reactNative.TouchableHighlight, props, mapping);
|
|
15
|
-
}
|
|
16
|
-
var _default = exports.default = TouchableHighlight;
|
|
17
|
-
//# sourceMappingURL=TouchableHighlight.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","TouchableHighlight","props","useCssElement","RNTouchableHighlight","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/TouchableHighlight.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAAyD,GAAG;EAChEC,SAAS,EAAE;AACb,CAAC;AAEM,SAASC,kBAAkBA,CAChCC,KAA2D,EAC3D;EACA,OAAO,IAAAC,sBAAa,EAACC,+BAAoB,EAAEF,KAAK,EAAEH,OAAO,CAAC;AAC5D;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,kBAAkB","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TouchableOpacity = TouchableOpacity;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: "style"
|
|
12
|
-
};
|
|
13
|
-
function TouchableOpacity(props) {
|
|
14
|
-
return (0, _runtime.useCssElement)(_reactNative.TouchableOpacity, props, mapping);
|
|
15
|
-
}
|
|
16
|
-
var _default = exports.default = TouchableOpacity;
|
|
17
|
-
//# sourceMappingURL=TouchableOpacity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","TouchableOpacity","props","useCssElement","RNTouchableOpacity","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/TouchableOpacity.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAAuD,GAAG;EAC9DC,SAAS,EAAE;AACb,CAAC;AAEM,SAASC,gBAAgBA,CAC9BC,KAAyD,EACzD;EACA,OAAO,IAAAC,sBAAa,EAACC,6BAAkB,EAAEF,KAAK,EAAEH,OAAO,CAAC;AAC1D;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,gBAAgB","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TouchableWithoutFeedback = TouchableWithoutFeedback;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: "style"
|
|
12
|
-
};
|
|
13
|
-
function TouchableWithoutFeedback(props) {
|
|
14
|
-
return (0, _runtime.useCssElement)(_reactNative.TouchableWithoutFeedback, props, mapping);
|
|
15
|
-
}
|
|
16
|
-
var _default = exports.default = TouchableWithoutFeedback;
|
|
17
|
-
//# sourceMappingURL=TouchableWithoutFeedback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","TouchableWithoutFeedback","props","useCssElement","RNTouchableWithoutFeedback","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/TouchableWithoutFeedback.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAA+D,GAAG;EACtEC,SAAS,EAAE;AACb,CAAC;AAEM,SAASC,wBAAwBA,CACtCC,KAAiE,EACjE;EACA,OAAO,IAAAC,sBAAa,EAACC,qCAA0B,EAAEF,KAAK,EAAEH,OAAO,CAAC;AAClE;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,wBAAwB","ignoreList":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.VirtualizedList = VirtualizedList;
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _runtime = require("../runtime");
|
|
10
|
-
const mapping = {
|
|
11
|
-
className: "style",
|
|
12
|
-
ListFooterComponentClassName: "ListFooterComponentStyle",
|
|
13
|
-
ListHeaderComponentClassName: "ListHeaderComponentStyle",
|
|
14
|
-
contentContainerClassName: "contentContainerStyle"
|
|
15
|
-
};
|
|
16
|
-
function VirtualizedList(props) {
|
|
17
|
-
return (0, _runtime.useCssElement)(_reactNative.VirtualizedList, props, mapping);
|
|
18
|
-
}
|
|
19
|
-
var _default = exports.default = VirtualizedList;
|
|
20
|
-
//# sourceMappingURL=VirtualizedList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_runtime","mapping","className","ListFooterComponentClassName","ListHeaderComponentClassName","contentContainerClassName","VirtualizedList","props","useCssElement","RNVirtualizedList","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/VirtualizedList.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA;AAMA,MAAME,OAAsD,GAAG;EAC7DC,SAAS,EAAE,OAAO;EAClBC,4BAA4B,EAAE,0BAA0B;EACxDC,4BAA4B,EAAE,0BAA0B;EACxDC,yBAAyB,EAAE;AAC7B,CAAC;AAEM,SAASC,eAAeA,CAC7BC,KAA+D,EAC/D;EACA,OAAO,IAAAC,sBAAa,EAACC,4BAAiB,EAAEF,KAAK,EAAEN,OAAO,CAAC;AACzD;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,eAAe","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { ImageBackground as RNImageBackground } from "react-native";
|
|
4
|
-
import { useCssElement } from "../runtime";
|
|
5
|
-
const mapping = {
|
|
6
|
-
className: {
|
|
7
|
-
target: "style",
|
|
8
|
-
nativeStyleMapping: {
|
|
9
|
-
backgroundColor: true
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
export function ImageBackground(props) {
|
|
14
|
-
return useCssElement(RNImageBackground, props, mapping);
|
|
15
|
-
}
|
|
16
|
-
export default ImageBackground;
|
|
17
|
-
//# sourceMappingURL=ImageBackground.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ImageBackground","RNImageBackground","useCssElement","mapping","className","target","nativeStyleMapping","backgroundColor","props"],"sourceRoot":"../../../src","sources":["components/ImageBackground.tsx"],"mappings":";;AAAA,SACEA,eAAe,IAAIC,iBAAiB,QAE/B,cAAc;AAErB,SACEC,aAAa,QAGR,YAAY;AAEnB,MAAMC,OAAsD,GAAG;EAC7DC,SAAS,EAAE;IACTC,MAAM,EAAE,OAAO;IACfC,kBAAkB,EAAE;MAClBC,eAAe,EAAE;IACnB;EACF;AACF,CAAC;AAED,OAAO,SAASP,eAAeA,CAC7BQ,KAAwD,EACxD;EACA,OAAON,aAAa,CAACD,iBAAiB,EAAEO,KAAK,EAAEL,OAAO,CAAC;AACzD;AAEA,eAAeH,eAAe","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { KeyboardAvoidingView as RNKeyboardAvoidingView } from "react-native";
|
|
4
|
-
import { useCssElement } from "../runtime";
|
|
5
|
-
const mapping = {
|
|
6
|
-
className: {
|
|
7
|
-
target: "style"
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
export function KeyboardAvoidingView(props) {
|
|
11
|
-
return useCssElement(RNKeyboardAvoidingView, props, mapping);
|
|
12
|
-
}
|
|
13
|
-
export default KeyboardAvoidingView;
|
|
14
|
-
//# sourceMappingURL=KeyboardAvoidingView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["KeyboardAvoidingView","RNKeyboardAvoidingView","useCssElement","mapping","className","target","props"],"sourceRoot":"../../../src","sources":["components/KeyboardAvoidingView.tsx"],"mappings":";;AAAA,SACEA,oBAAoB,IAAIC,sBAAsB,QAEzC,cAAc;AAErB,SACEC,aAAa,QAGR,YAAY;AAEnB,MAAMC,OAA2D,GAAG;EAClEC,SAAS,EAAE;IACTC,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,SAASL,oBAAoBA,CAClCM,KAA6D,EAC7D;EACA,OAAOJ,aAAa,CAACD,sBAAsB,EAAEK,KAAK,EAAEH,OAAO,CAAC;AAC9D;AAEA,eAAeH,oBAAoB","ignoreList":[]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { Pressable as RNPressable } from "react-native";
|
|
4
|
-
import { useCssElement } from "../runtime";
|
|
5
|
-
const mapping = {
|
|
6
|
-
className: "style"
|
|
7
|
-
};
|
|
8
|
-
export function Pressable(props) {
|
|
9
|
-
return useCssElement(RNPressable, props, mapping);
|
|
10
|
-
}
|
|
11
|
-
export default Pressable;
|
|
12
|
-
//# sourceMappingURL=Pressable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Pressable","RNPressable","useCssElement","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/Pressable.tsx"],"mappings":";;AAAA,SAASA,SAAS,IAAIC,WAAW,QAA6B,cAAc;AAE5E,SACEC,aAAa,QAGR,YAAY;AAEnB,MAAMC,OAAgD,GAAG;EACvDC,SAAS,EAAE;AACb,CAAC;AAED,OAAO,SAASJ,SAASA,CAACK,KAAkD,EAAE;EAC5E,OAAOH,aAAa,CAACD,WAAW,EAAEI,KAAK,EAAEF,OAAO,CAAC;AACnD;AAEA,eAAeH,SAAS","ignoreList":[]}
|