react-native-unistyles 3.0.0-nightly-20250127 → 3.0.0-nightly-20250131
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 +14 -2
- package/android/src/main/cxx/NativeUnistylesModule.cpp +1 -1
- package/android/src/main/java/com/unistyles/NativePlatform+android.kt +1 -2
- package/android/src/main/java/com/unistyles/NativePlatform+insets.kt +4 -0
- package/android/src/main/java/com/unistyles/NativePlatform+listener.kt +2 -1
- package/android/src/main/java/com/unistyles/UnistylesModule.kt +0 -4
- package/components/native/Animated/package.json +5 -0
- package/components/native/NativeText/package.json +5 -0
- package/components/native/NativeView/package.json +5 -0
- package/cxx/core/Unistyle.h +4 -0
- package/cxx/core/UnistylesRegistry.cpp +24 -3
- package/cxx/core/UnistylesRegistry.h +3 -0
- package/cxx/hybridObjects/HybridShadowRegistry.cpp +7 -0
- package/cxx/hybridObjects/HybridStyleSheet.cpp +27 -2
- package/cxx/parser/Parser.cpp +10 -4
- package/ios/NativePlatform+ios.swift +16 -4
- package/lib/commonjs/components/native/Animated.js +23 -0
- package/lib/commonjs/components/native/Animated.js.map +1 -0
- package/lib/commonjs/components/native/ImageBackground.js +3 -1
- package/lib/commonjs/components/native/ImageBackground.js.map +1 -1
- package/lib/commonjs/components/native/NativeText.js +13 -0
- package/lib/commonjs/components/native/NativeText.js.map +1 -0
- package/lib/commonjs/components/native/NativeText.native.js +18 -0
- package/lib/commonjs/components/native/NativeText.native.js.map +1 -0
- package/lib/commonjs/components/native/NativeView.js +9 -0
- package/lib/commonjs/components/native/NativeView.js.map +1 -0
- package/lib/commonjs/components/native/NativeView.native.js +20 -0
- package/lib/commonjs/components/native/NativeView.native.js.map +1 -0
- package/lib/commonjs/components/native/Pressable.native.js +15 -2
- package/lib/commonjs/components/native/Pressable.native.js.map +1 -1
- package/lib/commonjs/core/createUnistylesElement.js +26 -22
- package/lib/commonjs/core/createUnistylesElement.js.map +1 -1
- package/lib/commonjs/core/createUnistylesElement.native.js +25 -21
- package/lib/commonjs/core/createUnistylesElement.native.js.map +1 -1
- package/lib/commonjs/core/createUnistylesImageBackground.js +34 -30
- package/lib/commonjs/core/createUnistylesImageBackground.js.map +1 -1
- package/lib/commonjs/specs/StyleSheet/index.js.map +1 -1
- package/lib/commonjs/utils.js +16 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/commonjs/web/utils/unistyle.js +5 -1
- package/lib/commonjs/web/utils/unistyle.js.map +1 -1
- package/lib/module/components/native/Animated.js +19 -0
- package/lib/module/components/native/Animated.js.map +1 -0
- package/lib/module/components/native/ImageBackground.js +3 -1
- package/lib/module/components/native/ImageBackground.js.map +1 -1
- package/lib/module/components/native/NativeText.js +4 -0
- package/lib/module/components/native/NativeText.js.map +1 -0
- package/lib/module/components/native/NativeText.native.js +15 -0
- package/lib/module/components/native/NativeText.native.js.map +1 -0
- package/lib/module/components/native/NativeView.js +5 -0
- package/lib/module/components/native/NativeView.js.map +1 -0
- package/lib/module/components/native/NativeView.native.js +17 -0
- package/lib/module/components/native/NativeView.native.js.map +1 -0
- package/lib/module/components/native/Pressable.native.js +15 -2
- package/lib/module/components/native/Pressable.native.js.map +1 -1
- package/lib/module/core/createUnistylesElement.js +26 -22
- package/lib/module/core/createUnistylesElement.js.map +1 -1
- package/lib/module/core/createUnistylesElement.native.js +25 -21
- package/lib/module/core/createUnistylesElement.native.js.map +1 -1
- package/lib/module/core/createUnistylesImageBackground.js +34 -30
- package/lib/module/core/createUnistylesImageBackground.js.map +1 -1
- package/lib/module/specs/StyleSheet/index.js.map +1 -1
- package/lib/module/utils.js +14 -0
- package/lib/module/utils.js.map +1 -1
- package/lib/module/web/utils/unistyle.js +5 -1
- package/lib/module/web/utils/unistyle.js.map +1 -1
- package/lib/typescript/src/components/native/ActivityIndicator.d.ts +1 -3
- package/lib/typescript/src/components/native/ActivityIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/native/Animated.d.ts +39 -0
- package/lib/typescript/src/components/native/Animated.d.ts.map +1 -0
- package/lib/typescript/src/components/native/FlatList.d.ts +1 -3
- package/lib/typescript/src/components/native/FlatList.d.ts.map +1 -1
- package/lib/typescript/src/components/native/Image.d.ts +1 -3
- package/lib/typescript/src/components/native/Image.d.ts.map +1 -1
- package/lib/typescript/src/components/native/ImageBackground.d.ts +1 -8
- package/lib/typescript/src/components/native/ImageBackground.d.ts.map +1 -1
- package/lib/typescript/src/components/native/ImageBackground.native.d.ts +1 -2
- package/lib/typescript/src/components/native/ImageBackground.native.d.ts.map +1 -1
- package/lib/typescript/src/components/native/KeyboardAvoidingView.d.ts +1 -3
- package/lib/typescript/src/components/native/KeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/src/components/native/NativeText.d.ts +2 -0
- package/lib/typescript/src/components/native/NativeText.d.ts.map +1 -0
- package/lib/typescript/src/components/native/NativeText.native.d.ts +2 -0
- package/lib/typescript/src/components/native/NativeText.native.d.ts.map +1 -0
- package/lib/typescript/src/components/native/NativeView.d.ts +3 -0
- package/lib/typescript/src/components/native/NativeView.d.ts.map +1 -0
- package/lib/typescript/src/components/native/NativeView.native.d.ts +3 -0
- package/lib/typescript/src/components/native/NativeView.native.d.ts.map +1 -0
- package/lib/typescript/src/components/native/Pressable.native.d.ts.map +1 -1
- package/lib/typescript/src/components/native/RefreshControl.d.ts +1 -3
- package/lib/typescript/src/components/native/RefreshControl.d.ts.map +1 -1
- package/lib/typescript/src/components/native/ScrollView.d.ts +1 -3
- package/lib/typescript/src/components/native/ScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/native/SectionList.d.ts +1 -3
- package/lib/typescript/src/components/native/SectionList.d.ts.map +1 -1
- package/lib/typescript/src/components/native/Switch.d.ts +1 -3
- package/lib/typescript/src/components/native/Switch.d.ts.map +1 -1
- package/lib/typescript/src/components/native/Text.d.ts +1 -3
- package/lib/typescript/src/components/native/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/native/TextInput.d.ts +1 -3
- package/lib/typescript/src/components/native/TextInput.d.ts.map +1 -1
- package/lib/typescript/src/components/native/TouchableHighlight.d.ts +1 -3
- package/lib/typescript/src/components/native/TouchableHighlight.d.ts.map +1 -1
- package/lib/typescript/src/components/native/TouchableOpacity.d.ts +1 -3
- package/lib/typescript/src/components/native/TouchableOpacity.d.ts.map +1 -1
- package/lib/typescript/src/components/native/View.d.ts +1 -3
- package/lib/typescript/src/components/native/View.d.ts.map +1 -1
- package/lib/typescript/src/components/native/VirtualizedList.d.ts +1 -3
- package/lib/typescript/src/components/native/VirtualizedList.d.ts.map +1 -1
- package/lib/typescript/src/core/createUnistylesElement.d.ts +1 -7
- package/lib/typescript/src/core/createUnistylesElement.d.ts.map +1 -1
- package/lib/typescript/src/core/createUnistylesElement.native.d.ts +1 -2
- package/lib/typescript/src/core/createUnistylesElement.native.d.ts.map +1 -1
- package/lib/typescript/src/core/createUnistylesImageBackground.d.ts +2 -3
- package/lib/typescript/src/core/createUnistylesImageBackground.d.ts.map +1 -1
- package/lib/typescript/src/specs/StyleSheet/index.d.ts +1 -0
- package/lib/typescript/src/specs/StyleSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/utils.d.ts +1 -0
- package/lib/typescript/src/utils.d.ts.map +1 -1
- package/lib/typescript/src/web/utils/unistyle.d.ts.map +1 -1
- package/package.json +9 -7
- package/plugin/consts.js +63 -0
- package/plugin/exotic.js +54 -0
- package/plugin/index.d.ts +79 -33
- package/plugin/index.js +23 -31
- package/plugin/stylesheet.js +12 -1
- package/plugin/variants.js +1 -1
- package/src/components/native/Animated.tsx +17 -0
- package/src/components/native/ImageBackground.tsx +4 -1
- package/src/components/native/NativeText.native.tsx +12 -0
- package/src/components/native/NativeText.tsx +1 -0
- package/src/components/native/NativeView.native.tsx +13 -0
- package/src/components/native/NativeView.tsx +3 -0
- package/src/components/native/Pressable.native.tsx +20 -2
- package/src/core/createUnistylesElement.native.tsx +28 -23
- package/src/core/createUnistylesElement.tsx +34 -29
- package/src/core/createUnistylesImageBackground.tsx +38 -33
- package/src/specs/StyleSheet/index.ts +2 -1
- package/src/utils.ts +17 -0
- package/src/web/utils/unistyle.ts +7 -1
@@ -4,39 +4,43 @@ import React, { useLayoutEffect, useRef } from 'react';
|
|
4
4
|
import { UnistylesShadowRegistry } from '../specs';
|
5
5
|
import { passForwardedRef } from './passForwardRef';
|
6
6
|
import { maybeWarnAboutMultipleUnistyles } from './warn';
|
7
|
+
import { copyComponentProperties } from '../utils';
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
8
|
-
export const createUnistylesImageBackground = Component =>
|
9
|
-
const
|
10
|
-
|
11
|
-
|
12
|
-
if (storedImageRef.current) {
|
13
|
-
// @ts-ignore
|
14
|
-
UnistylesShadowRegistry.remove(storedImageRef.current);
|
15
|
-
}
|
16
|
-
};
|
17
|
-
}, []);
|
18
|
-
|
19
|
-
// @ts-expect-error we don't know the type of the component
|
20
|
-
maybeWarnAboutMultipleUnistyles(props.style, 'ImageBackground');
|
21
|
-
// @ts-ignore we don't know the type of the component
|
22
|
-
maybeWarnAboutMultipleUnistyles(props.imageStyle, 'ImageBackground');
|
23
|
-
return /*#__PURE__*/_jsx(Component, {
|
24
|
-
...props,
|
25
|
-
ref: ref => {
|
26
|
-
passForwardedRef(props, ref, forwardedRef);
|
9
|
+
export const createUnistylesImageBackground = Component => {
|
10
|
+
const UnistylesImageBackground = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {
|
11
|
+
const storedImageRef = useRef(null);
|
12
|
+
useLayoutEffect(() => {
|
27
13
|
return () => {
|
28
|
-
|
29
|
-
|
14
|
+
if (storedImageRef.current) {
|
15
|
+
// @ts-ignore
|
16
|
+
UnistylesShadowRegistry.remove(storedImageRef.current);
|
17
|
+
}
|
30
18
|
};
|
31
|
-
},
|
32
|
-
imageRef: ref => {
|
33
|
-
if (ref) {
|
34
|
-
storedImageRef.current = ref;
|
35
|
-
}
|
19
|
+
}, []);
|
36
20
|
|
37
|
-
|
38
|
-
|
39
|
-
|
21
|
+
// @ts-expect-error we don't know the type of the component
|
22
|
+
maybeWarnAboutMultipleUnistyles(props.style, 'ImageBackground');
|
23
|
+
// @ts-ignore we don't know the type of the component
|
24
|
+
maybeWarnAboutMultipleUnistyles(props.imageStyle, 'ImageBackground');
|
25
|
+
return /*#__PURE__*/_jsx(Component, {
|
26
|
+
...props,
|
27
|
+
ref: ref => {
|
28
|
+
passForwardedRef(props, ref, forwardedRef);
|
29
|
+
return () => {
|
30
|
+
// @ts-ignore
|
31
|
+
UnistylesShadowRegistry.remove(ref);
|
32
|
+
};
|
33
|
+
},
|
34
|
+
imageRef: ref => {
|
35
|
+
if (ref) {
|
36
|
+
storedImageRef.current = ref;
|
37
|
+
}
|
38
|
+
|
39
|
+
// @ts-expect-error web types are not compatible with RN styles
|
40
|
+
UnistylesShadowRegistry.add(ref, props.imageStyle);
|
41
|
+
}
|
42
|
+
});
|
40
43
|
});
|
41
|
-
|
44
|
+
return copyComponentProperties(Component, UnistylesImageBackground);
|
45
|
+
};
|
42
46
|
//# sourceMappingURL=createUnistylesImageBackground.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","useLayoutEffect","useRef","UnistylesShadowRegistry","passForwardedRef","maybeWarnAboutMultipleUnistyles","jsx","_jsx","createUnistylesImageBackground","Component","forwardRef","props","forwardedRef","storedImageRef","current","remove","style","imageStyle","ref","imageRef","add"],"sourceRoot":"../../../src","sources":["core/createUnistylesImageBackground.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,eAAe,EAAEC,MAAM,QAAQ,OAAO;AAEtD,SAASC,uBAAuB,QAAQ,UAAU;AAClD,SAASC,gBAAgB,QAAQ,kBAAkB;AACnD,SAASC,+BAA+B,QAAQ,QAAQ;AAAA,SAAAC,GAAA,IAAAC,IAAA;
|
1
|
+
{"version":3,"names":["React","useLayoutEffect","useRef","UnistylesShadowRegistry","passForwardedRef","maybeWarnAboutMultipleUnistyles","copyComponentProperties","jsx","_jsx","createUnistylesImageBackground","Component","UnistylesImageBackground","forwardRef","props","forwardedRef","storedImageRef","current","remove","style","imageStyle","ref","imageRef","add"],"sourceRoot":"../../../src","sources":["core/createUnistylesImageBackground.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,eAAe,EAAEC,MAAM,QAAQ,OAAO;AAEtD,SAASC,uBAAuB,QAAQ,UAAU;AAClD,SAASC,gBAAgB,QAAQ,kBAAkB;AACnD,SAASC,+BAA+B,QAAQ,QAAQ;AACxD,SAASC,uBAAuB,QAAQ,UAAU;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAElD,OAAO,MAAMC,8BAA8B,GAAIC,SAAiC,IAAK;EACjF,MAAMC,wBAAwB,gBAAGX,KAAK,CAACY,UAAU,CAAwC,CAACC,KAAK,EAAEC,YAAY,KAAK;IAC9G,MAAMC,cAAc,GAAGb,MAAM,CAAe,IAAI,CAAC;IAEjDD,eAAe,CAAC,MAAM;MAClB,OAAO,MAAM;QACT,IAAIc,cAAc,CAACC,OAAO,EAAE;UACxB;UACAb,uBAAuB,CAACc,MAAM,CAACF,cAAc,CAACC,OAAO,CAAC;QAC1D;MACJ,CAAC;IACL,CAAC,EAAE,EAAE,CAAC;;IAEN;IACAX,+BAA+B,CAACQ,KAAK,CAACK,KAAK,EAAE,iBAAiB,CAAC;IAC/D;IACAb,+BAA+B,CAACQ,KAAK,CAACM,UAAU,EAAE,iBAAiB,CAAC;IAEpE,oBACIX,IAAA,CAACE,SAAS;MAAA,GACFG,KAAK;MACTO,GAAG,EAAEA,GAAG,IAAI;QACRhB,gBAAgB,CAACS,KAAK,EAAEO,GAAG,EAAEN,YAAY,CAAC;QAE1C,OAAO,MAAM;UACT;UACAX,uBAAuB,CAACc,MAAM,CAACG,GAAG,CAAC;QACvC,CAAC;MACL,CAAE;MACFC,QAAQ,EAAED,GAAG,IAAI;QACb,IAAIA,GAAG,EAAE;UACLL,cAAc,CAACC,OAAO,GAAGI,GAAG;QAChC;;QAEA;QACAjB,uBAAuB,CAACmB,GAAG,CAACF,GAAG,EAAEP,KAAK,CAACM,UAAU,CAAC;MACtD;IAAE,CACL,CAAC;EAEV,CAAC,CAAC;EAEF,OAAOb,uBAAuB,CAACI,SAAS,EAAEC,wBAAwB,CAAC;AACvE,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["NitroModules","processColor","StyleSheet","NativeStyleSheet","HybridUnistylesStyleSheet","createHybridObject","absoluteFillObject","absoluteFill","flatten","compose","jsMethods","init"],"sourceRoot":"../../../../src","sources":["specs/StyleSheet/index.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,4BAA4B;AACzD,SAASC,YAAY,EAAEC,UAAU,IAAIC,gBAAgB,QAAQ,cAAc;
|
1
|
+
{"version":3,"names":["NitroModules","processColor","StyleSheet","NativeStyleSheet","HybridUnistylesStyleSheet","createHybridObject","absoluteFillObject","absoluteFill","flatten","compose","jsMethods","init"],"sourceRoot":"../../../../src","sources":["specs/StyleSheet/index.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,4BAA4B;AACzD,SAASC,YAAY,EAAEC,UAAU,IAAIC,gBAAgB,QAAQ,cAAc;AAsC3E,MAAMC,yBAAyB,GAAGJ,YAAY,CACzCK,kBAAkB,CAAsB,qBAAqB,CAAC;AAEnED,yBAAyB,CAACE,kBAAkB,GAAGH,gBAAgB,CAACG,kBAAkB;AAClFF,yBAAyB,CAACG,YAAY,GAAGJ,gBAAgB,CAACI,YAAY;AACtEH,yBAAyB,CAACI,OAAO,GAAGL,gBAAgB,CAACK,OAAO;AAC5DJ,yBAAyB,CAACK,OAAO,GAAGN,gBAAgB,CAACM,OAAO;AAC5DL,yBAAyB,CAACM,SAAS,GAAG;EAClCT;AACJ,CAAC;AAEDG,yBAAyB,CAACO,IAAI,CAAC,CAAC;AAIhC,OAAO,MAAMT,UAAU,GAAGE,yBAAsE","ignoreList":[]}
|
package/lib/module/utils.js
CHANGED
@@ -19,4 +19,18 @@ export const deepMergeObjects = (...sources) => {
|
|
19
19
|
});
|
20
20
|
return target;
|
21
21
|
};
|
22
|
+
export const copyComponentProperties = (Component, UnistylesComponent) => {
|
23
|
+
Object.entries(Component).forEach(([key, value]) => {
|
24
|
+
// Filter out the keys we don't want to copy
|
25
|
+
if (['$$typeof', 'render'].includes(key)) {
|
26
|
+
return;
|
27
|
+
}
|
28
|
+
UnistylesComponent[key] = value;
|
29
|
+
});
|
30
|
+
|
31
|
+
// Those are not enumerable, so we need to copy them manually
|
32
|
+
UnistylesComponent.displayName = Component.displayName;
|
33
|
+
UnistylesComponent.name = Component.name;
|
34
|
+
return UnistylesComponent;
|
35
|
+
};
|
22
36
|
//# sourceMappingURL=utils.js.map
|
package/lib/module/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["isDefined","value","undefined","deepMergeObjects","sources","target","filter","forEach","source","Object","keys","key","sourceValue","targetValue"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":";;AAAA,OAAO,MAAMA,SAAS,GAAOC,KAAQ,IAA8BA,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI;AAExG,OAAO,MAAME,gBAAgB,GAAGA,CAAqC,GAAGC,OAAiB,KAAK;EAC1F,MAAMC,MAAM,GAAG,CAAC,CAAM;EAEtBD,OAAO,CACFE,MAAM,CAACN,SAAS,CAAC,CACjBO,OAAO,CAACC,MAAM,IAAI;IACfC,MAAM,CAACC,IAAI,CAACF,MAAM,CAAC,CAACD,OAAO,CAACI,GAAG,IAAI;MAC/B,MAAMC,WAAW,GAAGJ,MAAM,CAACG,GAAG,CAAC;MAC/B,MAAME,WAAW,GAAGR,MAAM,CAACM,GAAG,CAAC;MAE/B,IAAIF,MAAM,CAACG,WAAW,CAAC,KAAKA,WAAW,IAAIH,MAAM,CAACI,WAAW,CAAC,KAAKA,WAAW,EAAE;QAC5E;QACAR,MAAM,CAACM,GAAG,CAAC,GAAGR,gBAAgB,CAACU,WAAW,EAAED,WAAW,CAAC;QAExD;MACJ;;MAEA;MACAP,MAAM,CAACM,GAAG,CAAC,GAAGC,WAAW;IACjC,CAAC,CAAC;EACN,CAAC,CAAC;EAEF,OAAOP,MAAM;AACjB,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["isDefined","value","undefined","deepMergeObjects","sources","target","filter","forEach","source","Object","keys","key","sourceValue","targetValue","copyComponentProperties","Component","UnistylesComponent","entries","includes","displayName","name"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":";;AAAA,OAAO,MAAMA,SAAS,GAAOC,KAAQ,IAA8BA,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI;AAExG,OAAO,MAAME,gBAAgB,GAAGA,CAAqC,GAAGC,OAAiB,KAAK;EAC1F,MAAMC,MAAM,GAAG,CAAC,CAAM;EAEtBD,OAAO,CACFE,MAAM,CAACN,SAAS,CAAC,CACjBO,OAAO,CAACC,MAAM,IAAI;IACfC,MAAM,CAACC,IAAI,CAACF,MAAM,CAAC,CAACD,OAAO,CAACI,GAAG,IAAI;MAC/B,MAAMC,WAAW,GAAGJ,MAAM,CAACG,GAAG,CAAC;MAC/B,MAAME,WAAW,GAAGR,MAAM,CAACM,GAAG,CAAC;MAE/B,IAAIF,MAAM,CAACG,WAAW,CAAC,KAAKA,WAAW,IAAIH,MAAM,CAACI,WAAW,CAAC,KAAKA,WAAW,EAAE;QAC5E;QACAR,MAAM,CAACM,GAAG,CAAC,GAAGR,gBAAgB,CAACU,WAAW,EAAED,WAAW,CAAC;QAExD;MACJ;;MAEA;MACAP,MAAM,CAACM,GAAG,CAAC,GAAGC,WAAW;IACjC,CAAC,CAAC;EACN,CAAC,CAAC;EAEF,OAAOP,MAAM;AACjB,CAAC;AAED,OAAO,MAAMS,uBAAuB,GAAGA,CAACC,SAAc,EAAEC,kBAAuB,KAAK;EAChFP,MAAM,CAACQ,OAAO,CAACF,SAAS,CAAC,CAACR,OAAO,CAAC,CAAC,CAACI,GAAG,EAAEV,KAAK,CAAC,KAAK;IAChD;IACA,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAACiB,QAAQ,CAACP,GAAG,CAAC,EAAE;MACtC;IACJ;IAEAK,kBAAkB,CAACL,GAAG,CAAC,GAAGV,KAAK;EACnC,CAAC,CAAC;;EAEF;EACAe,kBAAkB,CAACG,WAAW,GAAGJ,SAAS,CAACI,WAAW;EACtDH,kBAAkB,CAACI,IAAI,GAAGL,SAAS,CAACK,IAAI;EAExC,OAAOJ,kBAAkB;AAC7B,CAAC","ignoreList":[]}
|
@@ -34,7 +34,11 @@ export const extractSecrets = object => {
|
|
34
34
|
if (!secrets) {
|
35
35
|
return undefined;
|
36
36
|
}
|
37
|
-
|
37
|
+
const hiddenSecrets = Object.getOwnPropertyDescriptors(secrets);
|
38
|
+
if (Object.keys(hiddenSecrets).length === 0) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
return reduceObject(hiddenSecrets, secret => secret.value);
|
38
42
|
};
|
39
43
|
export const removeInlineStyles = values => {
|
40
44
|
const returnValue = {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["ColorScheme","Orientation","isUnistylesMq","parseMq","keyInObject","reduceObject","UnistylesWeb","schemeToTheme","scheme","Dark","Light","assignSecrets","object","secrets","secretsId","Math","random","toString","slice","Object","defineProperties","secret","value","enumerable","configurable","extractSecrets","undefined","entries","find","key","startsWith","getOwnPropertyDescriptors","removeInlineStyles","values","returnValue","isInDocument","element","document","body","contains","getMediaQuery","query","allBreakpoints","includes","minWidth","maxWidth","minHeight","maxHeight","queries","filter","Boolean","join","breakpointValue","runtime","breakpoints","nextBreakpoint","b","map","sort","a","extractUnistyleDependencies","dependencies","uni__dependencies","Array","isArray"],"sourceRoot":"../../../../src","sources":["web/utils/unistyle.ts"],"mappings":";;AACA,SAASA,WAAW,EAAEC,WAAW,QAAQ,mBAAmB;AAE5D,SAASC,aAAa,EAAEC,OAAO,QAAQ,UAAU;AACjD,SAASC,WAAW,EAAEC,YAAY,QAAQ,UAAU;AAEpD,SAASC,YAAY,QAAQ,UAAU;AAEvC,OAAO,MAAMC,aAAa,GAAIC,MAAmB,IAAK;EAClD,QAAQA,MAAM;IACV,KAAKR,WAAW,CAACS,IAAI;MACjB,OAAO,MAAM;IACjB,KAAKT,WAAW,CAACU,KAAK;IACtB;MACI,OAAO,OAAO;EACtB;AACJ,CAAC;AASD,OAAO,MAAMC,aAAa,GAAGA,CAAIC,MAAS,EAAEC,OAAwB,KAAK;EACrE,MAAMC,SAAS,GAAGC,IAAI,CAACC,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,EAAE,CAAC,CAACC,KAAK,CAAC,CAAC,CAAC;;EAErD;EACAN,MAAM,CAAC,aAAaE,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC;EACrC;EACAK,MAAM,CAACC,gBAAgB,CAACR,MAAM,CAAC,aAAaE,SAAS,EAAE,CAAC,EAAET,YAAY,CAACQ,OAAO,EAAEQ,MAAM,KAAK;IACvFC,KAAK,EAAED,MAAM;IACbE,UAAU,EAAE,KAAK;IACjBC,YAAY,EAAE;EAClB,CAAC,CAAC,CAAC,CAAC;EAEJ,OAAOZ,MAAM;AACjB,CAAC;AAED,OAAO,MAAMa,cAAc,GAAIb,MAAW,IAAK;EAC3C,IAAI,CAACA,MAAM,EAAE;IACT,OAAOc,SAAS;EACpB;EAEA,MAAM,GAAGb,OAAO,CAAC,GAAGM,MAAM,CAACQ,OAAO,CAACf,MAAM,CAAC,CAACgB,IAAI,CAAC,CAAC,CAACC,GAAG,CAAC,KAAKA,GAAG,CAACC,UAAU,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE;EAE9F,IAAI,CAACjB,OAAO,EAAE;IACV,OAAOa,SAAS;EACpB;EAEA,
|
1
|
+
{"version":3,"names":["ColorScheme","Orientation","isUnistylesMq","parseMq","keyInObject","reduceObject","UnistylesWeb","schemeToTheme","scheme","Dark","Light","assignSecrets","object","secrets","secretsId","Math","random","toString","slice","Object","defineProperties","secret","value","enumerable","configurable","extractSecrets","undefined","entries","find","key","startsWith","hiddenSecrets","getOwnPropertyDescriptors","keys","length","removeInlineStyles","values","returnValue","isInDocument","element","document","body","contains","getMediaQuery","query","allBreakpoints","includes","minWidth","maxWidth","minHeight","maxHeight","queries","filter","Boolean","join","breakpointValue","runtime","breakpoints","nextBreakpoint","b","map","sort","a","extractUnistyleDependencies","dependencies","uni__dependencies","Array","isArray"],"sourceRoot":"../../../../src","sources":["web/utils/unistyle.ts"],"mappings":"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","ignoreList":[]}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const ActivityIndicator:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const ActivityIndicator: any;
|
4
2
|
//# sourceMappingURL=ActivityIndicator.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActivityIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ActivityIndicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"ActivityIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ActivityIndicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,KAAkD,CAAA"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { Animated as RNAnimated } from 'react-native';
|
2
|
+
export declare const Animated: {
|
3
|
+
View: RNAnimated.AnimatedComponent<any>;
|
4
|
+
Text: RNAnimated.AnimatedComponent<any>;
|
5
|
+
FlatList: RNAnimated.AnimatedComponent<any>;
|
6
|
+
Image: RNAnimated.AnimatedComponent<any>;
|
7
|
+
ScrollView: RNAnimated.AnimatedComponent<any>;
|
8
|
+
SectionList: RNAnimated.AnimatedComponent<any>;
|
9
|
+
decay(value: RNAnimated.AnimatedValue | RNAnimated.AnimatedValueXY, config: RNAnimated.DecayAnimationConfig): RNAnimated.CompositeAnimation;
|
10
|
+
add<OutputT extends number | string>(a: RNAnimated.Animated, b: RNAnimated.Animated): RNAnimated.AnimatedAddition<OutputT>;
|
11
|
+
subtract<OutputT extends number | string>(a: RNAnimated.Animated, b: RNAnimated.Animated): RNAnimated.AnimatedSubtraction<OutputT>;
|
12
|
+
divide<OutputT extends number | string>(a: RNAnimated.Animated, b: RNAnimated.Animated): RNAnimated.AnimatedDivision<OutputT>;
|
13
|
+
multiply<OutputT extends number | string>(a: RNAnimated.Animated, b: RNAnimated.Animated): RNAnimated.AnimatedMultiplication<OutputT>;
|
14
|
+
modulo<OutputT extends number | string>(a: RNAnimated.Animated, modulus: number): RNAnimated.AnimatedModulo<OutputT>;
|
15
|
+
diffClamp<OutputT extends number | string>(a: RNAnimated.Animated, min: number, max: number): RNAnimated.AnimatedDiffClamp<OutputT>;
|
16
|
+
delay(time: number): RNAnimated.CompositeAnimation;
|
17
|
+
sequence(animations: Array<RNAnimated.CompositeAnimation>): RNAnimated.CompositeAnimation;
|
18
|
+
stagger(time: number, animations: Array<RNAnimated.CompositeAnimation>): RNAnimated.CompositeAnimation;
|
19
|
+
loop(animation: RNAnimated.CompositeAnimation, config?: RNAnimated.LoopAnimationConfig): RNAnimated.CompositeAnimation;
|
20
|
+
spring(value: RNAnimated.AnimatedValue | RNAnimated.AnimatedValueXY, config: RNAnimated.SpringAnimationConfig): RNAnimated.CompositeAnimation;
|
21
|
+
parallel(animations: Array<RNAnimated.CompositeAnimation>, config?: RNAnimated.ParallelConfig): RNAnimated.CompositeAnimation;
|
22
|
+
event<T>(argMapping: Array<RNAnimated.Mapping | null>, config?: RNAnimated.EventConfig<T>): (...args: any[]) => void;
|
23
|
+
createAnimatedComponent<T extends React.ComponentType<any>>(component: T, options?: RNAnimated.AnimatedComponentOptions): RNAnimated.AnimatedComponent<T>;
|
24
|
+
Animated: typeof RNAnimated.Animated;
|
25
|
+
AnimatedNode: typeof RNAnimated.AnimatedNode;
|
26
|
+
AnimatedWithChildren: typeof RNAnimated.AnimatedWithChildren;
|
27
|
+
AnimatedColor: typeof RNAnimated.AnimatedColor;
|
28
|
+
AnimatedInterpolation: typeof RNAnimated.AnimatedInterpolation;
|
29
|
+
Value: typeof RNAnimated.Value;
|
30
|
+
ValueXY: typeof RNAnimated.ValueXY;
|
31
|
+
timing: (value: RNAnimated.AnimatedValue | RNAnimated.AnimatedValueXY, config: RNAnimated.TimingAnimationConfig) => RNAnimated.CompositeAnimation;
|
32
|
+
AnimatedAddition: typeof RNAnimated.AnimatedAddition;
|
33
|
+
AnimatedSubtraction: typeof RNAnimated.AnimatedSubtraction;
|
34
|
+
AnimatedDivision: typeof RNAnimated.AnimatedDivision;
|
35
|
+
AnimatedMultiplication: typeof RNAnimated.AnimatedMultiplication;
|
36
|
+
AnimatedModulo: typeof RNAnimated.AnimatedModulo;
|
37
|
+
AnimatedDiffClamp: typeof RNAnimated.AnimatedDiffClamp;
|
38
|
+
};
|
39
|
+
//# sourceMappingURL=Animated.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Animated.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Animated.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAQrD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;iGAS0he,GAAG;sCAAuoD,MAAO,aAAa;;;;;;;;;;;;;;;CAD5shB,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const FlatList:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const FlatList: any;
|
4
2
|
//# sourceMappingURL=FlatList.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/FlatList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/FlatList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,KAAyC,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const Image:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const Image: any;
|
4
2
|
//# sourceMappingURL=Image.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Image.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Image.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,KAAsC,CAAA"}
|
@@ -1,9 +1,2 @@
|
|
1
|
-
|
2
|
-
import type { UnistylesValues } from '../../types';
|
3
|
-
type Props = {
|
4
|
-
style?: UnistylesValues;
|
5
|
-
imageStyle?: UnistylesValues;
|
6
|
-
};
|
7
|
-
export declare const ImageBackground: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
|
8
|
-
export {};
|
1
|
+
export declare const ImageBackground: any;
|
9
2
|
//# sourceMappingURL=ImageBackground.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ImageBackground.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ImageBackground.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ImageBackground.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ImageBackground.tsx"],"names":[],"mappings":"AA0DA,eAAO,MAAM,eAAe,KAA2E,CAAA"}
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const ImageBackground: import("react").ForwardRefExoticComponent<import("react-native").ImageBackgroundProps & import("react").RefAttributes<NativeImageBackground>>;
|
1
|
+
export declare const ImageBackground: any;
|
3
2
|
//# sourceMappingURL=ImageBackground.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ImageBackground.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ImageBackground.native.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ImageBackground.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ImageBackground.native.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,KAAwD,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const KeyboardAvoidingView:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const KeyboardAvoidingView: any;
|
4
2
|
//# sourceMappingURL=KeyboardAvoidingView.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"KeyboardAvoidingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/KeyboardAvoidingView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"KeyboardAvoidingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/KeyboardAvoidingView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,KAAqD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NativeText.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/NativeText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NativeText.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/NativeText.native.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,UAAU,KAAmC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NativeView.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/NativeView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,eAAe,IAAI,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NativeView.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/NativeView.native.tsx"],"names":[],"mappings":";AAYA,wBAA+C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pressable.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Pressable.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAA;AAElE,OAAO,KAAK,EAAE,cAAc,IAAI,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"Pressable.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Pressable.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAA;AAElE,OAAO,KAAK,EAAE,cAAc,IAAI,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAwBjE,eAAO,MAAM,SAAS;eAnBP,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;8BAkE7C,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const RefreshControl:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const RefreshControl: any;
|
4
2
|
//# sourceMappingURL=RefreshControl.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RefreshControl.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/RefreshControl.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc
|
1
|
+
{"version":3,"file":"RefreshControl.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/RefreshControl.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,KAA+C,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const ScrollView:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const ScrollView: any;
|
4
2
|
//# sourceMappingURL=ScrollView.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ScrollView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/ScrollView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,KAA2C,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const SectionList:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const SectionList: any;
|
4
2
|
//# sourceMappingURL=SectionList.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/SectionList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"SectionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/SectionList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,KAA4C,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const Switch:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const Switch: any;
|
4
2
|
//# sourceMappingURL=Switch.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Switch.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Switch.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,KAAuC,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const Text:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const Text: any;
|
4
2
|
//# sourceMappingURL=Text.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Text.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/Text.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,KAAqC,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const TextInput:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const TextInput: any;
|
4
2
|
//# sourceMappingURL=TextInput.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/TextInput.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/TextInput.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,KAA0C,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const TouchableHighlight:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const TouchableHighlight: any;
|
4
2
|
//# sourceMappingURL=TouchableHighlight.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TouchableHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/TouchableHighlight.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB
|
1
|
+
{"version":3,"file":"TouchableHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/TouchableHighlight.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,KAAmD,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const TouchableOpacity:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const TouchableOpacity: any;
|
4
2
|
//# sourceMappingURL=TouchableOpacity.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TouchableOpacity.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/TouchableOpacity.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB
|
1
|
+
{"version":3,"file":"TouchableOpacity.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/TouchableOpacity.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,KAAiD,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const View:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const View: any;
|
4
2
|
//# sourceMappingURL=View.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/View.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/View.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,KAAqC,CAAA"}
|
@@ -1,4 +1,2 @@
|
|
1
|
-
export declare const VirtualizedList:
|
2
|
-
style?: import("../../types").UnistylesValues | Array<import("../../types").UnistylesValues>;
|
3
|
-
} & import("react").RefAttributes<unknown>>;
|
1
|
+
export declare const VirtualizedList: any;
|
4
2
|
//# sourceMappingURL=VirtualizedList.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VirtualizedList.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/VirtualizedList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"VirtualizedList.d.ts","sourceRoot":"","sources":["../../../../../src/components/native/VirtualizedList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,KAAgD,CAAA"}
|
@@ -1,8 +1,2 @@
|
|
1
|
-
|
2
|
-
import type { UnistylesValues } from '../types';
|
3
|
-
type ComponentProps = {
|
4
|
-
style?: UnistylesValues | Array<UnistylesValues>;
|
5
|
-
};
|
6
|
-
export declare const createUnistylesElement: (Component: any) => React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<unknown>>;
|
7
|
-
export {};
|
1
|
+
export declare const createUnistylesElement: (Component: any) => any;
|
8
2
|
//# sourceMappingURL=createUnistylesElement.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createUnistylesElement.d.ts","sourceRoot":"","sources":["../../../../src/core/createUnistylesElement.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"createUnistylesElement.d.ts","sourceRoot":"","sources":["../../../../src/core/createUnistylesElement.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,sBAAsB,cAAe,GAAG,QAmCpD,CAAA"}
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const createUnistylesElement: (Component: any) => React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
1
|
+
export declare const createUnistylesElement: (Component: any) => any;
|
3
2
|
//# sourceMappingURL=createUnistylesElement.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createUnistylesElement.native.d.ts","sourceRoot":"","sources":["../../../../src/core/createUnistylesElement.native.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"createUnistylesElement.native.d.ts","sourceRoot":"","sources":["../../../../src/core/createUnistylesElement.native.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,sBAAsB,cAAe,GAAG,QA+BpD,CAAA"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export declare const createUnistylesImageBackground: (Component: typeof ImageBackground) => React.ForwardRefExoticComponent<ImageBackgroundProps & React.RefAttributes<ImageBackground>>;
|
1
|
+
import type { ImageBackground } from 'react-native';
|
2
|
+
export declare const createUnistylesImageBackground: (Component: typeof ImageBackground) => any;
|
4
3
|
//# sourceMappingURL=createUnistylesImageBackground.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createUnistylesImageBackground.d.ts","sourceRoot":"","sources":["../../../../src/core/createUnistylesImageBackground.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"createUnistylesImageBackground.d.ts","sourceRoot":"","sources":["../../../../src/core/createUnistylesImageBackground.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAS,eAAe,EAAwB,MAAM,cAAc,CAAA;AAMhF,eAAO,MAAM,8BAA8B,cAAe,OAAO,eAAe,QA0C/E,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/specs/StyleSheet/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAkC,MAAM,cAAc,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,IAAI,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,KAAK,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AACjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAE5D,KAAK,sBAAsB,GAAG;IAC1B,YAAY,EAAE,CAAC,MAAM,MAAM,eAAe,CAAC,GAAG,MAAM,eAAe,CAAA;CACtE,GAAG;IACA,cAAc,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,KAAK,iBAAiB,GAAG,sBAAsB,GAAG;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/specs/StyleSheet/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAkC,MAAM,cAAc,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,IAAI,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,KAAK,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AACjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAE5D,KAAK,sBAAsB,GAAG;IAC1B,YAAY,EAAE,CAAC,MAAM,MAAM,eAAe,CAAC,GAAG,MAAM,eAAe,CAAA;CACtE,GAAG;IACA,cAAc,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,KAAK,iBAAiB,GAAG,sBAAsB,GAAG;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,WAAW,CAAC,EAAE,oBAAoB,CAAA;CACrC,CAAA;AAED,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB;IAChE,kBAAkB,EAAE,OAAO,oBAAoB,CAAC,kBAAkB,CAAC;IACnE,YAAY,EAAE,OAAO,oBAAoB,CAAC,YAAY,CAAC;IACvD,OAAO,EAAE,OAAO,oBAAoB,CAAC,OAAO,CAAC;IAC7C,OAAO,EAAE,OAAO,oBAAoB,CAAC,OAAO,CAAC;IAG7C,IAAI,IAAI,IAAI,CAAC;IACb,MAAM,EAAE,yBAAyB,CAAC;IAClC,SAAS,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IACzC,SAAS,EAAE;QACP,YAAY,EAAE,OAAO,YAAY,CAAA;KACpC,CAAA;CACJ;AAeD,KAAK,cAAc,GAAG,WAAW,GAAG,mBAAmB,GAAG,MAAM,CAAA;AAEhE,eAAO,MAAM,UAAU,EAAgC,IAAI,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export declare const isDefined: <T>(value: T) => value is NonNullable<T>;
|
2
2
|
export declare const deepMergeObjects: <T extends Record<PropertyKey, any>>(...sources: Array<T>) => T;
|
3
|
+
export declare const copyComponentProperties: (Component: any, UnistylesComponent: any) => any;
|
3
4
|
//# sourceMappingURL=utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,CAAC,KAAG,KAAK,IAAI,WAAW,CAAC,CAAC,CAA0C,CAAA;AAExG,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,cAAc,KAAK,CAAC,CAAC,CAAC,MAuBxF,CAAA"}
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,CAAC,KAAG,KAAK,IAAI,WAAW,CAAC,CAAC,CAA0C,CAAA;AAExG,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,cAAc,KAAK,CAAC,CAAC,CAAC,MAuBxF,CAAA;AAED,eAAO,MAAM,uBAAuB,cAAe,GAAG,sBAAsB,GAAG,QAe9E,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"unistyle.d.ts","sourceRoot":"","sources":["../../../../../src/web/utils/unistyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAMpG,eAAO,MAAM,aAAa,WAAY,WAAW,qBAQhD,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,iBAAiB,EAAE,yBAAyB,CAAC,UAAU,CAAC,CAAC;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAA;CAC/D,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,UAAU,CAAC,WAAW,eAAe,MAanE,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,GAAG;;
|
1
|
+
{"version":3,"file":"unistyle.d.ts","sourceRoot":"","sources":["../../../../../src/web/utils/unistyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAMpG,eAAO,MAAM,aAAa,WAAY,WAAW,qBAQhD,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,iBAAiB,EAAE,yBAAyB,CAAC,UAAU,CAAC,CAAC;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAA;CAC/D,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,UAAU,CAAC,WAAW,eAAe,MAanE,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,GAAG;;aAkBzC,CAAA;AAED,eAAO,MAAM,kBAAkB,WAAY,eAAe,OAUzD,CAAA;AAED,eAAO,MAAM,YAAY,YAAa,WAAW,YAAoC,CAAA;AAErF,eAAO,MAAM,aAAa,UAAW,MAAM,kBAAkB,KAAK,CAAC,MAAM,CAAC,WA6BzE,CAAA;AAED,eAAO,MAAM,2BAA2B,UAAW,GAAG,yBAQrD,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-native-unistyles",
|
3
|
-
"version": "3.0.0-nightly-
|
3
|
+
"version": "3.0.0-nightly-20250131",
|
4
4
|
"description": "Level up your React Native StyleSheet",
|
5
5
|
"scripts": {
|
6
6
|
"test": "jest",
|
@@ -11,15 +11,15 @@
|
|
11
11
|
"precommit": "concurrently 'yarn tsc' 'yarn lint' 'yarn test'",
|
12
12
|
"release": "release-it"
|
13
13
|
},
|
14
|
-
"main": "lib/commonjs/index",
|
15
|
-
"module": "lib/module/index",
|
14
|
+
"main": "lib/commonjs/index.js",
|
15
|
+
"module": "lib/module/index.js",
|
16
16
|
"types": "lib/typescript/src/index.d.ts",
|
17
17
|
"source": "src/index",
|
18
18
|
"exports": {
|
19
19
|
".": {
|
20
20
|
"types": "./lib/typescript/src/index.d.ts",
|
21
|
-
"module": "./lib/module/index",
|
22
|
-
"default": "./lib/commonjs/index",
|
21
|
+
"module": "./lib/module/index.js",
|
22
|
+
"default": "./lib/commonjs/index.js",
|
23
23
|
"react-native": "./src/index"
|
24
24
|
},
|
25
25
|
"./components/native/*": {
|
@@ -34,8 +34,8 @@
|
|
34
34
|
"./package.json": "./package.json",
|
35
35
|
"./server": {
|
36
36
|
"types": "./lib/typescript/src/server/index.d.ts",
|
37
|
-
"module": "./lib/module/server/index",
|
38
|
-
"default": "./lib/commonjs/server/index",
|
37
|
+
"module": "./lib/module/server/index.js",
|
38
|
+
"default": "./lib/commonjs/server/index.js",
|
39
39
|
"react-native": "./src/server"
|
40
40
|
}
|
41
41
|
},
|
@@ -82,6 +82,8 @@
|
|
82
82
|
},
|
83
83
|
"devDependencies": {
|
84
84
|
"@babel/plugin-syntax-jsx": "7.25.9",
|
85
|
+
"@babel/preset-flow": "7.25.9",
|
86
|
+
"@babel/preset-typescript": "7.26.0",
|
85
87
|
"@biomejs/biome": "1.9.4",
|
86
88
|
"@commitlint/config-conventional": "19.6.0",
|
87
89
|
"@react-native/normalize-colors": "0.77.0",
|