react-native-css 0.0.0-nightly.99fdf44 → 0.0.0-nightly.a37903f
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 +29 -5
- package/dist/commonjs/babel/helpers.js +7 -0
- package/dist/commonjs/babel/helpers.js.map +1 -1
- package/dist/commonjs/babel/import-plugin.js +20 -8
- package/dist/commonjs/babel/import-plugin.js.map +1 -1
- package/dist/commonjs/babel/react-native-web.js +17 -4
- package/dist/commonjs/babel/react-native-web.js.map +1 -1
- package/dist/commonjs/babel/react-native.js +9 -4
- package/dist/commonjs/babel/react-native.js.map +1 -1
- package/dist/commonjs/compiler/atRules.js +52 -17
- package/dist/commonjs/compiler/atRules.js.map +1 -1
- package/dist/commonjs/compiler/compiler.js +107 -32
- package/dist/commonjs/compiler/compiler.js.map +1 -1
- package/dist/commonjs/compiler/container-query.js +6 -1
- package/dist/commonjs/compiler/container-query.js.map +1 -1
- package/dist/commonjs/compiler/declarations.js +159 -67
- package/dist/commonjs/compiler/declarations.js.map +1 -1
- package/dist/commonjs/compiler/keyframes.js +1 -1
- package/dist/commonjs/compiler/keyframes.js.map +1 -1
- package/dist/commonjs/compiler/lightningcss-loader.js +15 -2
- package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -1
- package/dist/commonjs/compiler/media-query.js +16 -6
- package/dist/commonjs/compiler/media-query.js.map +1 -1
- package/dist/commonjs/compiler/selector-builder.js +15 -4
- package/dist/commonjs/compiler/selector-builder.js.map +1 -1
- package/dist/commonjs/compiler/stylesheet.js +18 -8
- package/dist/commonjs/compiler/stylesheet.js.map +1 -1
- package/dist/commonjs/compiler/supports.js +2 -2
- package/dist/commonjs/compiler/supports.js.map +1 -1
- package/dist/commonjs/components/ActivityIndicator.js +6 -6
- package/dist/commonjs/components/ActivityIndicator.js.map +1 -1
- package/dist/commonjs/components/Button.js +6 -6
- package/dist/commonjs/components/Button.js.map +1 -1
- package/dist/commonjs/components/FlatList.js +7 -6
- package/dist/commonjs/components/FlatList.js.map +1 -1
- package/dist/commonjs/components/Image.js +6 -6
- package/dist/commonjs/components/Image.js.map +1 -1
- package/dist/commonjs/components/ImageBackground.js +8 -12
- package/dist/commonjs/components/ImageBackground.js.map +1 -1
- package/dist/commonjs/components/KeyboardAvoidingView.js +8 -9
- package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -1
- package/dist/commonjs/components/Pressable.js +6 -6
- package/dist/commonjs/components/Pressable.js.map +1 -1
- package/dist/commonjs/components/SafeAreaProvider.js +13 -0
- package/dist/commonjs/components/SafeAreaProvider.js.map +1 -0
- package/dist/commonjs/components/ScrollView.js +6 -6
- package/dist/commonjs/components/ScrollView.js.map +1 -1
- package/dist/commonjs/components/Switch.js +6 -6
- package/dist/commonjs/components/Switch.js.map +1 -1
- package/dist/commonjs/components/Text.js +6 -6
- package/dist/commonjs/components/Text.js.map +1 -1
- package/dist/commonjs/components/TextInput.js +6 -6
- package/dist/commonjs/components/TextInput.js.map +1 -1
- package/dist/commonjs/components/TouchableHighlight.js +6 -6
- package/dist/commonjs/components/TouchableHighlight.js.map +1 -1
- package/dist/commonjs/components/TouchableOpacity.js +6 -6
- package/dist/commonjs/components/TouchableOpacity.js.map +1 -1
- package/dist/commonjs/components/TouchableWithoutFeedback.js +6 -6
- package/dist/commonjs/components/TouchableWithoutFeedback.js.map +1 -1
- package/dist/commonjs/components/View.js +6 -6
- package/dist/commonjs/components/View.js.map +1 -1
- package/dist/commonjs/components/VirtualizedList.js +6 -6
- package/dist/commonjs/components/VirtualizedList.js.map +1 -1
- package/dist/commonjs/components/copyComponentProperties.js +19 -0
- package/dist/commonjs/components/copyComponentProperties.js.map +1 -0
- package/dist/commonjs/components/index.cjs +310 -0
- package/dist/commonjs/components/index.cjs.map +1 -0
- package/dist/commonjs/components/index.js.map +1 -1
- package/dist/commonjs/jest/index.js +2 -2
- package/dist/commonjs/jest/index.js.map +1 -1
- package/dist/commonjs/metro/cache-version.js +43 -0
- package/dist/commonjs/metro/cache-version.js.map +1 -0
- package/dist/commonjs/metro/index.js +10 -118
- package/dist/commonjs/metro/index.js.map +1 -1
- package/dist/commonjs/metro/metro-transformer.js +24 -4
- package/dist/commonjs/metro/metro-transformer.js.map +1 -1
- package/dist/commonjs/{native/metro.js → metro/override.js} +1 -1
- package/dist/commonjs/{native/metro.js.map → metro/override.js.map} +1 -1
- package/dist/commonjs/metro/resolver.js +15 -22
- package/dist/commonjs/metro/resolver.js.map +1 -1
- package/dist/commonjs/metro/typescript.js +26 -6
- package/dist/commonjs/metro/typescript.js.map +1 -1
- package/dist/commonjs/metro/warnings.js +135 -0
- package/dist/commonjs/metro/warnings.js.map +1 -0
- package/dist/commonjs/native/api.js +18 -10
- package/dist/commonjs/native/api.js.map +1 -1
- package/dist/commonjs/native/conditions/attributes.js +16 -9
- package/dist/commonjs/native/conditions/attributes.js.map +1 -1
- package/dist/commonjs/native/conditions/container-query.js +11 -11
- package/dist/commonjs/native/conditions/container-query.js.map +1 -1
- package/dist/commonjs/native/conditions/media-query.js +1 -1
- package/dist/commonjs/native/conditions/media-query.js.map +1 -1
- package/dist/commonjs/native/index.js +8 -8
- package/dist/commonjs/native/index.js.map +1 -1
- package/dist/commonjs/native/react/interaction.js +10 -5
- package/dist/commonjs/native/react/interaction.js.map +1 -1
- package/dist/commonjs/native/react/rules.js +12 -5
- package/dist/commonjs/native/react/rules.js.map +1 -1
- package/dist/commonjs/native/react/useNativeCss.js +70 -15
- package/dist/commonjs/native/react/useNativeCss.js.map +1 -1
- package/dist/commonjs/native/react/usePassthrough.js +5 -2
- package/dist/commonjs/native/react/usePassthrough.js.map +1 -1
- package/dist/commonjs/{poison.pill.js → native/react-native-css-metro-override.js} +1 -1
- package/dist/commonjs/native/react-native-css-metro-override.js.map +1 -0
- package/dist/commonjs/native/reactivity.js +61 -24
- package/dist/commonjs/native/reactivity.js.map +1 -1
- package/dist/commonjs/native/reanimated.js +15 -3
- package/dist/commonjs/native/reanimated.js.map +1 -1
- package/dist/commonjs/native/styles/calculate-props.js +1 -1
- package/dist/commonjs/native/styles/functions/color-mix.js +64 -0
- package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -0
- package/dist/commonjs/native/styles/functions/filters.js +18 -5
- package/dist/commonjs/native/styles/functions/filters.js.map +1 -1
- package/dist/commonjs/native/styles/functions/index.js +11 -0
- package/dist/commonjs/native/styles/functions/index.js.map +1 -1
- package/dist/commonjs/native/styles/functions/numeric-functions.js +4 -3
- package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -1
- package/dist/commonjs/native/styles/functions/string-functions.js +16 -1
- package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -1
- package/dist/commonjs/native/styles/functions/transform-functions.js +5 -4
- package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -1
- package/dist/commonjs/native/styles/index.js +382 -28
- package/dist/commonjs/native/styles/index.js.map +1 -1
- package/dist/commonjs/native/styles/resolve.js +10 -7
- package/dist/commonjs/native/styles/resolve.js.map +1 -1
- package/dist/commonjs/native/styles/scale-factor.js +13 -0
- package/dist/commonjs/native/styles/scale-factor.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/_handler.js +10 -0
- package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -1
- package/dist/commonjs/native/styles/shorthands/animation.js +11 -4
- package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -1
- package/dist/commonjs/native/styles/shorthands/box-shadow.js +45 -12
- package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -1
- package/dist/commonjs/native/styles/shorthands/index.js +11 -0
- package/dist/commonjs/native/styles/shorthands/index.js.map +1 -1
- package/dist/commonjs/native/styles/shorthands/logical-border-width.js +22 -0
- package/dist/commonjs/native/styles/shorthands/logical-border-width.js.map +1 -0
- package/dist/commonjs/native/styles/variables.js +55 -43
- package/dist/commonjs/native/styles/variables.js.map +1 -1
- package/dist/commonjs/native-internal/root.js +18 -7
- package/dist/commonjs/native-internal/root.js.map +1 -1
- package/dist/commonjs/native-internal/style-collection.js +1 -1
- package/dist/commonjs/native-internal/style-collection.js.map +1 -1
- package/dist/commonjs/native-internal/variables.js +1 -1
- package/dist/commonjs/native-internal/variables.js.map +1 -1
- package/dist/commonjs/utilities/dot-notation.types.js +4 -0
- package/dist/commonjs/utilities/style-descriptor.js +4 -9
- package/dist/commonjs/utilities/style-descriptor.js.map +1 -1
- package/dist/commonjs/web/api.js +7 -4
- package/dist/commonjs/web/api.js.map +1 -1
- package/dist/commonjs/web/assign-style.js +4 -1
- package/dist/commonjs/web/assign-style.js.map +1 -1
- package/dist/module/babel/helpers.js +6 -0
- package/dist/module/babel/helpers.js.map +1 -1
- package/dist/module/babel/import-plugin.js +22 -10
- package/dist/module/babel/import-plugin.js.map +1 -1
- package/dist/module/babel/react-native-web.js +16 -4
- package/dist/module/babel/react-native-web.js.map +1 -1
- package/dist/module/babel/react-native.js +9 -4
- package/dist/module/babel/react-native.js.map +1 -1
- package/dist/module/compiler/atRules.js +50 -17
- package/dist/module/compiler/atRules.js.map +1 -1
- package/dist/module/compiler/compiler.js +109 -34
- package/dist/module/compiler/compiler.js.map +1 -1
- package/dist/module/compiler/compiler.types.js +2 -0
- package/dist/module/compiler/compiler.types.js.map +1 -1
- package/dist/module/compiler/container-query.js +6 -1
- package/dist/module/compiler/container-query.js.map +1 -1
- package/dist/module/compiler/declarations.js +158 -67
- package/dist/module/compiler/declarations.js.map +1 -1
- package/dist/module/compiler/keyframes.js +1 -1
- package/dist/module/compiler/keyframes.js.map +1 -1
- package/dist/module/compiler/lightningcss-loader.js +14 -2
- package/dist/module/compiler/lightningcss-loader.js.map +1 -1
- package/dist/module/compiler/media-query.js +16 -6
- package/dist/module/compiler/media-query.js.map +1 -1
- package/dist/module/compiler/selector-builder.js +15 -4
- package/dist/module/compiler/selector-builder.js.map +1 -1
- package/dist/module/compiler/stylesheet.js +18 -8
- package/dist/module/compiler/stylesheet.js.map +1 -1
- package/dist/module/compiler/supports.js +2 -2
- package/dist/module/compiler/supports.js.map +1 -1
- package/dist/module/components/ActivityIndicator.js +4 -3
- package/dist/module/components/ActivityIndicator.js.map +1 -1
- package/dist/module/components/Button.js +4 -3
- package/dist/module/components/Button.js.map +1 -1
- package/dist/module/components/FlatList.js +5 -3
- package/dist/module/components/FlatList.js.map +1 -1
- package/dist/module/components/Image.js +4 -3
- package/dist/module/components/Image.js.map +1 -1
- package/dist/module/components/ImageBackground.js +6 -9
- package/dist/module/components/ImageBackground.js.map +1 -1
- package/dist/module/components/KeyboardAvoidingView.js +6 -6
- package/dist/module/components/KeyboardAvoidingView.js.map +1 -1
- package/dist/module/components/Pressable.js +4 -3
- package/dist/module/components/Pressable.js.map +1 -1
- package/dist/module/components/SafeAreaProvider.js +4 -0
- package/dist/module/components/SafeAreaProvider.js.map +1 -0
- package/dist/module/components/ScrollView.js +4 -3
- package/dist/module/components/ScrollView.js.map +1 -1
- package/dist/module/components/Switch.js +4 -3
- package/dist/module/components/Switch.js.map +1 -1
- package/dist/module/components/Text.js +4 -3
- package/dist/module/components/Text.js.map +1 -1
- package/dist/module/components/TextInput.js +4 -3
- package/dist/module/components/TextInput.js.map +1 -1
- package/dist/module/components/TouchableHighlight.js +4 -3
- package/dist/module/components/TouchableHighlight.js.map +1 -1
- package/dist/module/components/TouchableOpacity.js +4 -3
- package/dist/module/components/TouchableOpacity.js.map +1 -1
- package/dist/module/components/TouchableWithoutFeedback.js +4 -3
- package/dist/module/components/TouchableWithoutFeedback.js.map +1 -1
- package/dist/module/components/View.js +4 -3
- package/dist/module/components/View.js.map +1 -1
- package/dist/module/components/VirtualizedList.js +4 -3
- package/dist/module/components/VirtualizedList.js.map +1 -1
- package/dist/module/components/copyComponentProperties.js +15 -0
- package/dist/module/components/copyComponentProperties.js.map +1 -0
- package/dist/module/components/index.cjs +310 -0
- package/dist/module/components/index.cjs.map +1 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/jest/index.js +2 -2
- package/dist/module/jest/index.js.map +1 -1
- package/dist/module/metro/cache-version.js +39 -0
- package/dist/module/metro/cache-version.js.map +1 -0
- package/dist/module/metro/index.js +10 -117
- package/dist/module/metro/index.js.map +1 -1
- package/dist/module/metro/metro-transformer.js +24 -4
- package/dist/module/metro/metro-transformer.js.map +1 -1
- package/dist/module/metro/override.js +4 -0
- package/dist/module/{native/metro.js.map → metro/override.js.map} +1 -1
- package/dist/module/metro/resolver.js +15 -22
- package/dist/module/metro/resolver.js.map +1 -1
- package/dist/module/metro/typescript.js +26 -6
- package/dist/module/metro/typescript.js.map +1 -1
- package/dist/module/metro/warnings.js +131 -0
- package/dist/module/metro/warnings.js.map +1 -0
- package/dist/module/native/api.js +19 -12
- package/dist/module/native/api.js.map +1 -1
- package/dist/module/native/conditions/attributes.js +16 -9
- package/dist/module/native/conditions/attributes.js.map +1 -1
- package/dist/module/native/conditions/container-query.js +11 -11
- package/dist/module/native/conditions/container-query.js.map +1 -1
- package/dist/module/native/conditions/media-query.js +1 -1
- package/dist/module/native/conditions/media-query.js.map +1 -1
- package/dist/module/native/index.js +1 -1
- package/dist/module/native/index.js.map +1 -1
- package/dist/module/native/react/interaction.js +10 -5
- package/dist/module/native/react/interaction.js.map +1 -1
- package/dist/module/native/react/rules.js +13 -6
- package/dist/module/native/react/rules.js.map +1 -1
- package/dist/module/native/react/useNativeCss.js +73 -18
- package/dist/module/native/react/useNativeCss.js.map +1 -1
- package/dist/module/native/react/usePassthrough.js +5 -2
- package/dist/module/native/react/usePassthrough.js.map +1 -1
- package/dist/module/{poison.pill.js → native/react-native-css-metro-override.js} +1 -1
- package/dist/module/native/react-native-css-metro-override.js.map +1 -0
- package/dist/module/native/reactivity.js +55 -22
- package/dist/module/native/reactivity.js.map +1 -1
- package/dist/module/native/reanimated.js +15 -3
- package/dist/module/native/reanimated.js.map +1 -1
- package/dist/module/native/styles/calculate-props.js +1 -1
- package/dist/module/native/styles/functions/color-mix.js +59 -0
- package/dist/module/native/styles/functions/color-mix.js.map +1 -0
- package/dist/module/native/styles/functions/filters.js +16 -4
- package/dist/module/native/styles/functions/filters.js.map +1 -1
- package/dist/module/native/styles/functions/index.js +1 -0
- package/dist/module/native/styles/functions/index.js.map +1 -1
- package/dist/module/native/styles/functions/numeric-functions.js +4 -3
- package/dist/module/native/styles/functions/numeric-functions.js.map +1 -1
- package/dist/module/native/styles/functions/string-functions.js +13 -0
- package/dist/module/native/styles/functions/string-functions.js.map +1 -1
- package/dist/module/native/styles/functions/transform-functions.js +5 -4
- package/dist/module/native/styles/functions/transform-functions.js.map +1 -1
- package/dist/module/native/styles/index.js +383 -28
- package/dist/module/native/styles/index.js.map +1 -1
- package/dist/module/native/styles/resolve.js +10 -7
- package/dist/module/native/styles/resolve.js.map +1 -1
- package/dist/module/native/styles/scale-factor.js +9 -0
- package/dist/module/native/styles/scale-factor.js.map +1 -0
- package/dist/module/native/styles/shorthands/_handler.js +11 -1
- package/dist/module/native/styles/shorthands/_handler.js.map +1 -1
- package/dist/module/native/styles/shorthands/animation.js +9 -3
- package/dist/module/native/styles/shorthands/animation.js.map +1 -1
- package/dist/module/native/styles/shorthands/box-shadow.js +46 -12
- package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -1
- package/dist/module/native/styles/shorthands/index.js +1 -0
- package/dist/module/native/styles/shorthands/index.js.map +1 -1
- package/dist/module/native/styles/shorthands/logical-border-width.js +18 -0
- package/dist/module/native/styles/shorthands/logical-border-width.js.map +1 -0
- package/dist/module/native/styles/variables.js +55 -43
- package/dist/module/native/styles/variables.js.map +1 -1
- package/dist/module/native-internal/root.js +18 -7
- package/dist/module/native-internal/root.js.map +1 -1
- package/dist/module/native-internal/style-collection.js +1 -1
- package/dist/module/native-internal/style-collection.js.map +1 -1
- package/dist/module/native-internal/variables.js +2 -2
- package/dist/module/native-internal/variables.js.map +1 -1
- package/dist/module/utilities/dot-notation.types.js +2 -0
- package/dist/module/utilities/style-descriptor.js +4 -9
- package/dist/module/utilities/style-descriptor.js.map +1 -1
- package/dist/module/web/api.js +7 -4
- package/dist/module/web/api.js.map +1 -1
- package/dist/module/web/assign-style.js +4 -1
- package/dist/module/web/assign-style.js.map +1 -1
- package/dist/typescript/commonjs/src/babel/helpers.d.ts +2 -1
- package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +2 -1
- package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts +4 -1
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts +1 -5
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +6 -0
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts +2 -1
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +1 -1
- package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/media-query.d.ts +1 -1
- package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +7 -8
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Button.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/FlatList.d.ts +3 -3
- package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Image.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Pressable.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/Pressable.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/SafeAreaProvider.d.ts +2 -0
- package/dist/typescript/commonjs/src/components/SafeAreaProvider.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Switch.d.ts +2 -6
- package/dist/typescript/commonjs/src/components/Switch.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Text.d.ts +2 -6
- package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TextInput.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts +2 -4
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/View.d.ts +2 -6
- package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts +3 -3
- package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/copyComponentProperties.d.ts +5 -0
- package/dist/typescript/commonjs/src/components/copyComponentProperties.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/index.d.cts +2 -0
- package/dist/typescript/commonjs/src/components/index.d.cts.map +1 -0
- package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts +1 -1
- package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/jest/index.d.ts +2 -10
- package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/cache-version.d.ts +8 -0
- package/dist/typescript/commonjs/src/metro/cache-version.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +9 -4
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/override.d.ts +2 -0
- package/dist/typescript/commonjs/src/metro/override.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/resolver.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/warnings.d.ts +13 -0
- package/dist/typescript/commonjs/src/metro/warnings.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/api.d.ts +5 -9
- package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/index.d.ts +1 -1
- package/dist/typescript/commonjs/src/native/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/interaction.d.ts +1 -1
- package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts +1 -1
- package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react-native-css-metro-override.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/react-native-css-metro-override.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/reactivity.d.ts +14 -3
- package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts +3 -0
- package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/index.d.ts +2 -2
- package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +1 -0
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/_handler.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native-internal/root.d.ts +12 -0
- package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native-internal/variables.d.ts +1 -1
- package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/runtime.types.d.ts +11 -6
- package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +3 -2
- package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +1 -1
- package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/web/api.d.ts +5 -5
- package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/helpers.d.ts +2 -1
- package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/import-plugin.d.ts +1 -1
- package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/react-native-web.d.ts +2 -1
- package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/atRules.d.ts +6 -3
- package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.d.ts +3 -7
- package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.types.d.ts +7 -1
- package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/container-query.d.ts +2 -2
- package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/declarations.d.ts +4 -3
- package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/index.d.ts +2 -2
- package/dist/typescript/module/src/compiler/index.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/inline-variables.d.ts +1 -1
- package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/keyframes.d.ts +3 -3
- package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/media-query.d.ts +3 -3
- package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +1 -1
- package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/selector-builder.d.ts +1 -1
- package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/selectors.d.ts +2 -2
- package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/stylesheet.d.ts +7 -8
- package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts +2 -4
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Button.d.ts +2 -4
- package/dist/typescript/module/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/module/src/components/FlatList.d.ts +3 -3
- package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Image.d.ts +2 -4
- package/dist/typescript/module/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ImageBackground.d.ts +2 -4
- package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -1
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts +2 -4
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Pressable.d.ts +2 -4
- package/dist/typescript/module/src/components/Pressable.d.ts.map +1 -1
- package/dist/typescript/module/src/components/SafeAreaProvider.d.ts +2 -0
- package/dist/typescript/module/src/components/SafeAreaProvider.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ScrollView.d.ts +2 -4
- package/dist/typescript/module/src/components/ScrollView.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Switch.d.ts +2 -6
- package/dist/typescript/module/src/components/Switch.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Text.d.ts +2 -6
- package/dist/typescript/module/src/components/Text.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TextInput.d.ts +2 -4
- package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts +2 -4
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts +2 -4
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts +2 -4
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts.map +1 -1
- package/dist/typescript/module/src/components/View.d.ts +2 -6
- package/dist/typescript/module/src/components/View.d.ts.map +1 -1
- package/dist/typescript/module/src/components/VirtualizedList.d.ts +3 -3
- package/dist/typescript/module/src/components/VirtualizedList.d.ts.map +1 -1
- package/dist/typescript/module/src/components/copyComponentProperties.d.ts +5 -0
- package/dist/typescript/module/src/components/copyComponentProperties.d.ts.map +1 -0
- package/dist/typescript/module/src/components/index.d.cts +2 -0
- package/dist/typescript/module/src/components/index.d.cts.map +1 -0
- package/dist/typescript/module/src/components/index.d.ts +16 -16
- package/dist/typescript/module/src/components/index.d.ts.map +1 -1
- package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts +1 -1
- package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
- package/dist/typescript/module/src/jest/index.d.ts +2 -10
- package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/cache-version.d.ts +8 -0
- package/dist/typescript/module/src/metro/cache-version.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/index.d.ts +5 -1
- package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/metro-transformer.d.ts +10 -5
- package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/override.d.ts +2 -0
- package/dist/typescript/module/src/metro/override.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/resolver.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/warnings.d.ts +13 -0
- package/dist/typescript/module/src/metro/warnings.d.ts.map +1 -0
- package/dist/typescript/module/src/native/api.d.ts +6 -10
- package/dist/typescript/module/src/native/api.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/attributes.d.ts +1 -1
- package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/container-query.d.ts +2 -2
- package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/guards.d.ts +2 -2
- package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/index.d.ts +3 -3
- package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/media-query.d.ts +1 -1
- package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -1
- package/dist/typescript/module/src/native/index.d.ts +3 -3
- package/dist/typescript/module/src/native/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/interaction.d.ts +2 -2
- package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/rules.d.ts +2 -2
- package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts +5 -5
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/usePassthrough.d.ts +1 -1
- package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react-native-css-metro-override.d.ts +2 -0
- package/dist/typescript/module/src/native/react-native-css-metro-override.d.ts.map +1 -0
- package/dist/typescript/module/src/native/reactivity.d.ts +14 -3
- package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -1
- package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/calculate-props.d.ts +2 -2
- package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +3 -0
- package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/filters.d.ts +3 -1
- package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/index.d.ts +8 -7
- package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts +3 -1
- package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/index.d.ts +7 -7
- package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/line-height.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/resolve.d.ts +4 -3
- package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/scale-factor.d.ts +2 -0
- package/dist/typescript/module/src/native/styles/scale-factor.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +3 -2
- package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/border.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/index.d.ts +6 -5
- package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
- package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/units.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/variables.d.ts +2 -2
- package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/index.d.ts +3 -3
- package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/root.d.ts +13 -1
- package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/style-collection.d.ts +2 -2
- package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/variables.d.ts +2 -2
- package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -1
- package/dist/typescript/module/src/runtime.d.ts +1 -1
- package/dist/typescript/module/src/runtime.d.ts.map +1 -1
- package/dist/typescript/module/src/runtime.native.d.ts +1 -1
- package/dist/typescript/module/src/runtime.native.d.ts.map +1 -1
- package/dist/typescript/module/src/runtime.types.d.ts +11 -6
- package/dist/typescript/module/src/runtime.types.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +3 -2
- package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/index.d.ts +3 -3
- package/dist/typescript/module/src/utilities/index.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/specificity.d.ts +2 -2
- package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/style-descriptor.d.ts +1 -1
- package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -1
- package/dist/typescript/module/src/web/api.d.ts +5 -5
- package/dist/typescript/module/src/web/api.d.ts.map +1 -1
- package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -1
- package/dist/typescript/module/src/web/index.d.ts +3 -3
- package/dist/typescript/module/src/web/index.d.ts.map +1 -1
- package/node/babel.mjs +4 -0
- package/node/compiler.mjs +2 -0
- package/node/metro.mjs +2 -0
- package/package.json +87 -39
- package/src/babel/helpers.ts +8 -1
- package/src/babel/import-plugin.ts +31 -16
- package/src/babel/react-native-web.ts +32 -4
- package/src/babel/react-native.ts +9 -4
- package/src/compiler/atRules.ts +63 -18
- package/src/compiler/compiler.ts +159 -43
- package/src/compiler/compiler.types.ts +9 -0
- package/src/compiler/container-query.ts +8 -3
- package/src/compiler/declarations.ts +290 -105
- package/src/compiler/keyframes.ts +2 -2
- package/src/compiler/lightningcss-loader.ts +21 -1
- package/src/compiler/media-query.ts +20 -9
- package/src/compiler/selector-builder.ts +31 -4
- package/src/compiler/stylesheet.ts +26 -15
- package/src/compiler/supports.ts +2 -2
- package/src/components/ActivityIndicator.tsx +9 -6
- package/src/components/Button.tsx +9 -4
- package/src/components/FlatList.tsx +15 -5
- package/src/components/Image.tsx +9 -4
- package/src/components/ImageBackground.tsx +11 -12
- package/src/components/KeyboardAvoidingView.tsx +11 -9
- package/src/components/Pressable.tsx +9 -4
- package/src/components/SafeAreaProvider.tsx +1 -0
- package/src/components/ScrollView.tsx +9 -6
- package/src/components/Switch.tsx +9 -4
- package/src/components/Text.tsx +9 -4
- package/src/components/TextInput.tsx +9 -4
- package/src/components/TouchableHighlight.tsx +9 -6
- package/src/components/TouchableOpacity.tsx +9 -6
- package/src/components/TouchableWithoutFeedback.tsx +9 -6
- package/src/components/View.tsx +9 -4
- package/src/components/VirtualizedList.tsx +18 -6
- package/src/components/copyComponentProperties.ts +21 -0
- package/src/components/index.cts +308 -0
- package/src/components/{index.tsx → index.ts} +0 -1
- package/src/jest/index.ts +3 -2
- package/src/metro/cache-version.ts +48 -0
- package/src/metro/index.ts +15 -166
- package/src/metro/metro-transformer.ts +41 -9
- package/src/metro/override.ts +1 -0
- package/src/metro/resolver.ts +29 -28
- package/src/metro/typescript.ts +53 -6
- package/src/metro/warnings.ts +187 -0
- package/src/native/api.tsx +26 -17
- package/src/native/conditions/attributes.ts +26 -9
- package/src/native/conditions/container-query.ts +11 -9
- package/src/native/conditions/media-query.ts +1 -1
- package/src/native/index.ts +1 -2
- package/src/native/react/interaction.ts +11 -6
- package/src/native/react/rules.ts +13 -5
- package/src/native/react/useNativeCss.ts +79 -17
- package/src/native/react/usePassthrough.ts +3 -2
- package/src/native/reactivity.ts +76 -24
- package/src/native/reanimated.ts +24 -5
- package/src/native/styles/calculate-props.ts +1 -1
- package/src/native/styles/functions/color-mix.ts +74 -0
- package/src/native/styles/functions/filters.ts +20 -6
- package/src/native/styles/functions/index.ts +1 -0
- package/src/native/styles/functions/numeric-functions.ts +7 -6
- package/src/native/styles/functions/string-functions.ts +18 -0
- package/src/native/styles/functions/transform-functions.ts +5 -4
- package/src/native/styles/index.ts +443 -36
- package/src/native/styles/resolve.ts +15 -12
- package/src/native/styles/scale-factor.ts +6 -0
- package/src/native/styles/shorthands/_handler.ts +14 -1
- package/src/native/styles/shorthands/animation.ts +17 -3
- package/src/native/styles/shorthands/box-shadow.ts +50 -15
- package/src/native/styles/shorthands/index.ts +1 -0
- package/src/native/styles/shorthands/logical-border-width.ts +32 -0
- package/src/native/styles/variables.ts +48 -38
- package/src/native-internal/root.ts +40 -13
- package/src/native-internal/style-collection.ts +1 -1
- package/src/native-internal/variables.tsx +6 -4
- package/src/runtime.types.ts +17 -15
- package/src/utilities/dot-notation.types.ts +12 -4
- package/src/utilities/style-descriptor.ts +11 -16
- package/src/web/api.tsx +13 -13
- package/src/web/assign-style.ts +2 -1
- package/types.d.ts +3 -20
- package/dist/commonjs/compiler/inheritance.test.js +0 -78
- package/dist/commonjs/compiler/inheritance.test.js.map +0 -1
- package/dist/commonjs/poison.pill.js.map +0 -1
- package/dist/commonjs/runtime/native/injection.js +0 -2
- package/dist/commonjs/runtime/native/injection.js.map +0 -1
- package/dist/module/compiler/inheritance.test.js +0 -78
- package/dist/module/compiler/inheritance.test.js.map +0 -1
- package/dist/module/native/metro.js +0 -5
- package/dist/module/poison.pill.js.map +0 -1
- package/dist/module/runtime/native/injection.js +0 -2
- package/dist/module/runtime/native/injection.js.map +0 -1
- package/dist/typescript/commonjs/example/app.config.d.ts +0 -4
- package/dist/typescript/commonjs/example/app.config.d.ts.map +0 -1
- package/dist/typescript/commonjs/example/src/App.d.ts +0 -2
- package/dist/typescript/commonjs/example/src/App.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +0 -2
- package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/native/metro.d.ts +0 -2
- package/dist/typescript/commonjs/src/native/metro.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/poison.pill.d.ts +0 -2
- package/dist/typescript/commonjs/src/poison.pill.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +0 -1
- package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +0 -1
- package/dist/typescript/module/example/app.config.d.ts +0 -4
- package/dist/typescript/module/example/app.config.d.ts.map +0 -1
- package/dist/typescript/module/example/src/App.d.ts +0 -2
- package/dist/typescript/module/example/src/App.d.ts.map +0 -1
- package/dist/typescript/module/src/compiler/inheritance.test.d.ts +0 -2
- package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +0 -1
- package/dist/typescript/module/src/native/metro.d.ts +0 -2
- package/dist/typescript/module/src/native/metro.d.ts.map +0 -1
- package/dist/typescript/module/src/poison.pill.d.ts +0 -2
- package/dist/typescript/module/src/poison.pill.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/injection.d.ts +0 -1
- package/dist/typescript/module/src/runtime/native/injection.d.ts.map +0 -1
- package/src/compiler/inheritance.test.ts +0 -121
- package/src/native/metro.ts +0 -2
- package/src/runtime/native/injection.ts +0 -0
- /package/src/{poison.pill.ts → native/react-native-css-metro-override.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TouchableHighlight","RNTouchableHighlight","useCssElement","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/TouchableHighlight.tsx"],"mappings":";;AAAA,SACEA,kBAAkB,IAAIC,oBAAoB,QAErC,cAAc;AAErB,SACEC,aAAa,QAGR,
|
|
1
|
+
{"version":3,"names":["TouchableHighlight","RNTouchableHighlight","useCssElement","copyComponentProperties","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/TouchableHighlight.tsx"],"mappings":";;AAAA,SACEA,kBAAkB,IAAIC,oBAAoB,QAErC,cAAc;AAErB,SACEC,aAAa,QAGR,kBAAkB;AAEzB,SAASC,uBAAuB,QAAQ,8BAA2B;AAEnE,MAAMC,OAAyD,GAAG;EAChEC,SAAS,EAAE;AACb,CAAC;AAED,OAAO,MAAML,kBAAkB,GAAGG,uBAAuB,CACvDF,oBAAoB,EACnBK,KAA2D,IAAK;EAC/D,OAAOJ,aAAa,CAACD,oBAAoB,EAAEK,KAAK,EAAEF,OAAO,CAAC;AAC5D,CACF,CAAC;AAED,eAAeJ,kBAAkB","ignoreList":[]}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { TouchableOpacity as RNTouchableOpacity } from "react-native";
|
|
4
|
-
import { useCssElement } from "
|
|
4
|
+
import { useCssElement } from "react-native-css";
|
|
5
|
+
import { copyComponentProperties } from "./copyComponentProperties.js";
|
|
5
6
|
const mapping = {
|
|
6
7
|
className: "style"
|
|
7
8
|
};
|
|
8
|
-
export
|
|
9
|
+
export const TouchableOpacity = copyComponentProperties(RNTouchableOpacity, props => {
|
|
9
10
|
return useCssElement(RNTouchableOpacity, props, mapping);
|
|
10
|
-
}
|
|
11
|
+
});
|
|
11
12
|
export default TouchableOpacity;
|
|
12
13
|
//# sourceMappingURL=TouchableOpacity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TouchableOpacity","RNTouchableOpacity","useCssElement","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/TouchableOpacity.tsx"],"mappings":";;AAAA,SACEA,gBAAgB,IAAIC,kBAAkB,QAEjC,cAAc;AAErB,SACEC,aAAa,QAGR,
|
|
1
|
+
{"version":3,"names":["TouchableOpacity","RNTouchableOpacity","useCssElement","copyComponentProperties","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/TouchableOpacity.tsx"],"mappings":";;AAAA,SACEA,gBAAgB,IAAIC,kBAAkB,QAEjC,cAAc;AAErB,SACEC,aAAa,QAGR,kBAAkB;AAEzB,SAASC,uBAAuB,QAAQ,8BAA2B;AAEnE,MAAMC,OAAuD,GAAG;EAC9DC,SAAS,EAAE;AACb,CAAC;AAED,OAAO,MAAML,gBAAgB,GAAGG,uBAAuB,CACrDF,kBAAkB,EACjBK,KAAyD,IAAK;EAC7D,OAAOJ,aAAa,CAACD,kBAAkB,EAAEK,KAAK,EAAEF,OAAO,CAAC;AAC1D,CACF,CAAC;AAED,eAAeJ,gBAAgB","ignoreList":[]}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { TouchableWithoutFeedback as RNTouchableWithoutFeedback } from "react-native";
|
|
4
|
-
import { useCssElement } from "
|
|
4
|
+
import { useCssElement } from "react-native-css";
|
|
5
|
+
import { copyComponentProperties } from "./copyComponentProperties.js";
|
|
5
6
|
const mapping = {
|
|
6
7
|
className: "style"
|
|
7
8
|
};
|
|
8
|
-
export
|
|
9
|
+
export const TouchableWithoutFeedback = copyComponentProperties(RNTouchableWithoutFeedback, props => {
|
|
9
10
|
return useCssElement(RNTouchableWithoutFeedback, props, mapping);
|
|
10
|
-
}
|
|
11
|
+
});
|
|
11
12
|
export default TouchableWithoutFeedback;
|
|
12
13
|
//# sourceMappingURL=TouchableWithoutFeedback.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TouchableWithoutFeedback","RNTouchableWithoutFeedback","useCssElement","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/TouchableWithoutFeedback.tsx"],"mappings":";;AAAA,SACEA,wBAAwB,IAAIC,0BAA0B,QAEjD,cAAc;AAErB,SACEC,aAAa,QAGR,
|
|
1
|
+
{"version":3,"names":["TouchableWithoutFeedback","RNTouchableWithoutFeedback","useCssElement","copyComponentProperties","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/TouchableWithoutFeedback.tsx"],"mappings":";;AAAA,SACEA,wBAAwB,IAAIC,0BAA0B,QAEjD,cAAc;AAErB,SACEC,aAAa,QAGR,kBAAkB;AAEzB,SAASC,uBAAuB,QAAQ,8BAA2B;AAEnE,MAAMC,OAA+D,GAAG;EACtEC,SAAS,EAAE;AACb,CAAC;AAED,OAAO,MAAML,wBAAwB,GAAGG,uBAAuB,CAC7DF,0BAA0B,EACzBK,KAAiE,IAAK;EACrE,OAAOJ,aAAa,CAACD,0BAA0B,EAAEK,KAAK,EAAEF,OAAO,CAAC;AAClE,CACF,CAAC;AAED,eAAeJ,wBAAwB","ignoreList":[]}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View as RNView } from "react-native";
|
|
4
|
-
import { useCssElement } from "react-native-css
|
|
4
|
+
import { useCssElement } from "react-native-css";
|
|
5
|
+
import { copyComponentProperties } from "./copyComponentProperties.js";
|
|
5
6
|
const mapping = {
|
|
6
7
|
className: "style"
|
|
7
8
|
};
|
|
8
|
-
export
|
|
9
|
+
export const View = copyComponentProperties(RNView, props => {
|
|
9
10
|
return useCssElement(RNView, props, mapping);
|
|
10
|
-
}
|
|
11
|
+
});
|
|
11
12
|
export default View;
|
|
12
13
|
//# sourceMappingURL=View.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","RNView","useCssElement","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/View.tsx"],"mappings":";;AAAA,SAASA,IAAI,IAAIC,MAAM,QAAwB,cAAc;AAE7D,SACEC,aAAa,QAGR,
|
|
1
|
+
{"version":3,"names":["View","RNView","useCssElement","copyComponentProperties","mapping","className","props"],"sourceRoot":"../../../src","sources":["components/View.tsx"],"mappings":";;AAAA,SAASA,IAAI,IAAIC,MAAM,QAAwB,cAAc;AAE7D,SACEC,aAAa,QAGR,kBAAkB;AAEzB,SAASC,uBAAuB,QAAQ,8BAA2B;AAEnE,MAAMC,OAAO,GAAG;EACdC,SAAS,EAAE;AACb,CAA8C;AAE9C,OAAO,MAAML,IAAI,GAAGG,uBAAuB,CACzCF,MAAM,EACLK,KAA6C,IAAK;EACjD,OAAOJ,aAAa,CAACD,MAAM,EAAEK,KAAK,EAAEF,OAAO,CAAC;AAC9C,CACF,CAAC;AAED,eAAeJ,IAAI","ignoreList":[]}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { VirtualizedList as RNVirtualizedList } from "react-native";
|
|
4
|
-
import { useCssElement } from "
|
|
4
|
+
import { useCssElement } from "react-native-css";
|
|
5
|
+
import { copyComponentProperties } from "./copyComponentProperties.js";
|
|
5
6
|
const mapping = {
|
|
6
7
|
className: "style",
|
|
7
8
|
ListFooterComponentClassName: "ListFooterComponentStyle",
|
|
8
9
|
ListHeaderComponentClassName: "ListHeaderComponentStyle",
|
|
9
10
|
contentContainerClassName: "contentContainerStyle"
|
|
10
11
|
};
|
|
11
|
-
export
|
|
12
|
+
export const VirtualizedList = copyComponentProperties(RNVirtualizedList, function (props) {
|
|
12
13
|
return useCssElement(RNVirtualizedList, props, mapping);
|
|
13
|
-
}
|
|
14
|
+
});
|
|
14
15
|
export default VirtualizedList;
|
|
15
16
|
//# sourceMappingURL=VirtualizedList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VirtualizedList","RNVirtualizedList","useCssElement","mapping","className","ListFooterComponentClassName","ListHeaderComponentClassName","contentContainerClassName","props"],"sourceRoot":"../../../src","sources":["components/VirtualizedList.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["VirtualizedList","RNVirtualizedList","useCssElement","copyComponentProperties","mapping","className","ListFooterComponentClassName","ListHeaderComponentClassName","contentContainerClassName","props"],"sourceRoot":"../../../src","sources":["components/VirtualizedList.tsx"],"mappings":";;AACA,SACEA,eAAe,IAAIC,iBAAiB,QAE/B,cAAc;AAErB,SACEC,aAAa,QAGR,kBAAkB;AAEzB,SAASC,uBAAuB,QAAQ,8BAA2B;AAEnE,MAAMC,OAAsD,GAAG;EAC7DC,SAAS,EAAE,OAAO;EAClBC,4BAA4B,EAAE,0BAA0B;EACxDC,4BAA4B,EAAE,0BAA0B;EACxDC,yBAAyB,EAAE;AAC7B,CAAC;AAED,OAAO,MAAMR,eAAe,GAAGG,uBAAuB,CACpDF,iBAAiB,EACjB,UACEQ,KAA+D,EAC/D;EACA,OAAOP,aAAa,CAACD,iBAAiB,EAAEQ,KAAK,EAAEL,OAAO,CAAC;AACzD,CACF,CAMiB;AAEjB,eAAeJ,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
+
|
|
5
|
+
export function copyComponentProperties(BaseComponent, Component) {
|
|
6
|
+
for (const [key, value] of Object.entries(BaseComponent)) {
|
|
7
|
+
if (key === "$$typeof" || key === "render" || key === "contextType") {
|
|
8
|
+
continue;
|
|
9
|
+
}
|
|
10
|
+
Component[key] = value;
|
|
11
|
+
}
|
|
12
|
+
Component.displayName = BaseComponent.displayName;
|
|
13
|
+
return Component;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=copyComponentProperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["copyComponentProperties","BaseComponent","Component","key","value","Object","entries","displayName"],"sourceRoot":"../../../src","sources":["components/copyComponentProperties.ts"],"mappings":";;AAEA;;AAGA,OAAO,SAASA,uBAAuBA,CACrCC,aAAgB,EAChBC,SAAuB,EACvB;EACA,KAAK,MAAM,CAACC,GAAG,EAAEC,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACL,aAAa,CAAC,EAAE;IACxD,IAAIE,GAAG,KAAK,UAAU,IAAIA,GAAG,KAAK,QAAQ,IAAIA,GAAG,KAAK,aAAa,EAAE;MACnE;IACF;IAECD,SAAS,CAAwCC,GAAG,CAAC,GAAGC,KAAK;EAChE;EAEAF,SAAS,CAACK,WAAW,GAAGN,aAAa,CAACM,WAAW;EAEjD,OAAOL,SAAS;AAClB","ignoreList":[]}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
5
|
+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
6
|
+
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
7
|
+
|
|
8
|
+
module.exports = {
|
|
9
|
+
get ActivityIndicator() {
|
|
10
|
+
return require("./ActivityIndicator").ActivityIndicator;
|
|
11
|
+
},
|
|
12
|
+
get Button() {
|
|
13
|
+
return require("./Button").Button;
|
|
14
|
+
},
|
|
15
|
+
get FlatList() {
|
|
16
|
+
return require("./FlatList").FlatList;
|
|
17
|
+
},
|
|
18
|
+
get Image() {
|
|
19
|
+
return require("./Image").Image;
|
|
20
|
+
},
|
|
21
|
+
get ImageBackground() {
|
|
22
|
+
return require("./ImageBackground").ImageBackground;
|
|
23
|
+
},
|
|
24
|
+
get KeyboardAvoidingView() {
|
|
25
|
+
return require("./KeyboardAvoidingView").KeyboardAvoidingView;
|
|
26
|
+
},
|
|
27
|
+
get Pressable() {
|
|
28
|
+
return require("./Pressable").Pressable;
|
|
29
|
+
},
|
|
30
|
+
get ScrollView() {
|
|
31
|
+
return require("./ScrollView").ScrollView;
|
|
32
|
+
},
|
|
33
|
+
get Switch() {
|
|
34
|
+
return require("./Switch").Switch;
|
|
35
|
+
},
|
|
36
|
+
get Text() {
|
|
37
|
+
return require("./Text").Text;
|
|
38
|
+
},
|
|
39
|
+
get TextInput() {
|
|
40
|
+
return require("./TextInput").TextInput;
|
|
41
|
+
},
|
|
42
|
+
get TouchableHighlight() {
|
|
43
|
+
return require("./TouchableHighlight").TouchableHighlight;
|
|
44
|
+
},
|
|
45
|
+
get TouchableOpacity() {
|
|
46
|
+
return require("./TouchableOpacity").TouchableOpacity;
|
|
47
|
+
},
|
|
48
|
+
get View() {
|
|
49
|
+
return require("./View").View;
|
|
50
|
+
},
|
|
51
|
+
get VirtualizedList() {
|
|
52
|
+
return require("./VirtualizedList").VirtualizedList;
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* We need to return
|
|
56
|
+
*/
|
|
57
|
+
get DrawerLayoutAndroid() {
|
|
58
|
+
return require("react-native").DrawerLayoutAndroid;
|
|
59
|
+
},
|
|
60
|
+
get InputAccessoryView() {
|
|
61
|
+
return require("react-native").InputAccessoryView;
|
|
62
|
+
},
|
|
63
|
+
get experimental_LayoutConformance() {
|
|
64
|
+
return require("react-native").experimental_LayoutConformance;
|
|
65
|
+
},
|
|
66
|
+
get Modal() {
|
|
67
|
+
return require("react-native").Modal;
|
|
68
|
+
},
|
|
69
|
+
get ProgressBarAndroid() {
|
|
70
|
+
return require("react-native").ProgressBarAndroid;
|
|
71
|
+
},
|
|
72
|
+
get RefreshControl() {
|
|
73
|
+
return require("react-native").RefreshControl;
|
|
74
|
+
},
|
|
75
|
+
get SafeAreaView() {
|
|
76
|
+
return require("react-native").SafeAreaView;
|
|
77
|
+
},
|
|
78
|
+
get SectionList() {
|
|
79
|
+
return require("react-native").SectionList;
|
|
80
|
+
},
|
|
81
|
+
get StatusBar() {
|
|
82
|
+
return require("react-native").StatusBar;
|
|
83
|
+
},
|
|
84
|
+
get unstable_TextAncestorContext() {
|
|
85
|
+
return require("react-native").unstable_TextAncestorContext;
|
|
86
|
+
},
|
|
87
|
+
get Touchable() {
|
|
88
|
+
return require("react-native").Touchable;
|
|
89
|
+
},
|
|
90
|
+
get TouchableNativeFeedback() {
|
|
91
|
+
return require("react-native").TouchableNativeFeedback;
|
|
92
|
+
},
|
|
93
|
+
get TouchableWithoutFeedback() {
|
|
94
|
+
return require("./TouchableWithoutFeedback").TouchableWithoutFeedback;
|
|
95
|
+
},
|
|
96
|
+
get VirtualizedSectionList() {
|
|
97
|
+
return require("react-native").VirtualizedSectionList;
|
|
98
|
+
},
|
|
99
|
+
get unstable_VirtualView() {
|
|
100
|
+
return require("react-native").unstable_VirtualView;
|
|
101
|
+
},
|
|
102
|
+
get AccessibilityInfo() {
|
|
103
|
+
return require("react-native").AccessibilityInfo;
|
|
104
|
+
},
|
|
105
|
+
get ActionSheetIOS() {
|
|
106
|
+
return require("react-native").ActionSheetIOS;
|
|
107
|
+
},
|
|
108
|
+
get Alert() {
|
|
109
|
+
return require("react-native").Alert;
|
|
110
|
+
},
|
|
111
|
+
get Animated() {
|
|
112
|
+
return require("react-native").Animated;
|
|
113
|
+
},
|
|
114
|
+
get Appearance() {
|
|
115
|
+
return require("react-native").Appearance;
|
|
116
|
+
},
|
|
117
|
+
get AppRegistry() {
|
|
118
|
+
return require("react-native").AppRegistry;
|
|
119
|
+
},
|
|
120
|
+
get AppState() {
|
|
121
|
+
return require("react-native").AppState;
|
|
122
|
+
},
|
|
123
|
+
get BackHandler() {
|
|
124
|
+
return require("react-native").BackHandler;
|
|
125
|
+
},
|
|
126
|
+
get Clipboard() {
|
|
127
|
+
return require("react-native").Clipboard;
|
|
128
|
+
},
|
|
129
|
+
get codegenNativeCommands() {
|
|
130
|
+
return require("react-native").codegenNativeCommands;
|
|
131
|
+
},
|
|
132
|
+
get codegenNativeComponent() {
|
|
133
|
+
return require("react-native").codegenNativeComponent;
|
|
134
|
+
},
|
|
135
|
+
get DeviceEventEmitter() {
|
|
136
|
+
return require("react-native").DeviceEventEmitter;
|
|
137
|
+
},
|
|
138
|
+
get DeviceInfo() {
|
|
139
|
+
return require("react-native").DeviceInfo;
|
|
140
|
+
},
|
|
141
|
+
get DevMenu() {
|
|
142
|
+
return require("react-native").DevMenu;
|
|
143
|
+
},
|
|
144
|
+
get DevSettings() {
|
|
145
|
+
return require("react-native").DevSettings;
|
|
146
|
+
},
|
|
147
|
+
get Dimensions() {
|
|
148
|
+
return require("react-native").Dimensions;
|
|
149
|
+
},
|
|
150
|
+
get DynamicColorIOS() {
|
|
151
|
+
return require("react-native").DynamicColorIOS;
|
|
152
|
+
},
|
|
153
|
+
get Easing() {
|
|
154
|
+
return require("react-native").Easing;
|
|
155
|
+
},
|
|
156
|
+
get findNodeHandle() {
|
|
157
|
+
return require("react-native").findNodeHandle;
|
|
158
|
+
},
|
|
159
|
+
get I18nManager() {
|
|
160
|
+
return require("react-native").I18nManager;
|
|
161
|
+
},
|
|
162
|
+
get InteractionManager() {
|
|
163
|
+
return require("react-native").InteractionManager;
|
|
164
|
+
},
|
|
165
|
+
get Keyboard() {
|
|
166
|
+
return require("react-native").Keyboard;
|
|
167
|
+
},
|
|
168
|
+
get LayoutAnimation() {
|
|
169
|
+
return require("react-native").LayoutAnimation;
|
|
170
|
+
},
|
|
171
|
+
get Linking() {
|
|
172
|
+
return require("react-native").Linking;
|
|
173
|
+
},
|
|
174
|
+
get LogBox() {
|
|
175
|
+
return require("react-native").LogBox;
|
|
176
|
+
},
|
|
177
|
+
get NativeAppEventEmitter() {
|
|
178
|
+
return require("react-native").NativeAppEventEmitter;
|
|
179
|
+
},
|
|
180
|
+
get NativeDialogManagerAndroid() {
|
|
181
|
+
return require("react-native").NativeDialogManagerAndroid;
|
|
182
|
+
},
|
|
183
|
+
get NativeEventEmitter() {
|
|
184
|
+
return require("react-native").NativeEventEmitter;
|
|
185
|
+
},
|
|
186
|
+
get NativeModules() {
|
|
187
|
+
return require("react-native").NativeModules;
|
|
188
|
+
},
|
|
189
|
+
get Networking() {
|
|
190
|
+
return require("react-native").Networking;
|
|
191
|
+
},
|
|
192
|
+
get PanResponder() {
|
|
193
|
+
return require("react-native").PanResponder;
|
|
194
|
+
},
|
|
195
|
+
get PermissionsAndroid() {
|
|
196
|
+
return require("react-native").PermissionsAndroid;
|
|
197
|
+
},
|
|
198
|
+
get PixelRatio() {
|
|
199
|
+
return require("react-native").PixelRatio;
|
|
200
|
+
},
|
|
201
|
+
get Platform() {
|
|
202
|
+
return require("react-native").Platform;
|
|
203
|
+
},
|
|
204
|
+
get PlatformColor() {
|
|
205
|
+
return require("react-native").PlatformColor;
|
|
206
|
+
},
|
|
207
|
+
get PushNotificationIOS() {
|
|
208
|
+
return require("react-native").PushNotificationIOS;
|
|
209
|
+
},
|
|
210
|
+
get processColor() {
|
|
211
|
+
return require("react-native").processColor;
|
|
212
|
+
},
|
|
213
|
+
get registerCallableModule() {
|
|
214
|
+
return require("react-native").registerCallableModule;
|
|
215
|
+
},
|
|
216
|
+
get requireNativeComponent() {
|
|
217
|
+
return require("react-native").requireNativeComponent;
|
|
218
|
+
},
|
|
219
|
+
get RootTagContext() {
|
|
220
|
+
return require("react-native").RootTagContext;
|
|
221
|
+
},
|
|
222
|
+
get Settings() {
|
|
223
|
+
return require("react-native").Settings;
|
|
224
|
+
},
|
|
225
|
+
get Share() {
|
|
226
|
+
return require("react-native").Share;
|
|
227
|
+
},
|
|
228
|
+
get StyleSheet() {
|
|
229
|
+
return require("react-native").StyleSheet;
|
|
230
|
+
},
|
|
231
|
+
get Systrace() {
|
|
232
|
+
return require("react-native").Systrace;
|
|
233
|
+
},
|
|
234
|
+
get ToastAndroid() {
|
|
235
|
+
return require("react-native").ToastAndroid;
|
|
236
|
+
},
|
|
237
|
+
get TurboModuleRegistry() {
|
|
238
|
+
return require("react-native").TurboModuleRegistry;
|
|
239
|
+
},
|
|
240
|
+
get UIManager() {
|
|
241
|
+
return require("react-native").UIManager;
|
|
242
|
+
},
|
|
243
|
+
get unstable_batchedUpdates() {
|
|
244
|
+
return require("react-native").unstable_batchedUpdates;
|
|
245
|
+
},
|
|
246
|
+
get useAnimatedValue() {
|
|
247
|
+
return require("react-native").useAnimatedValue;
|
|
248
|
+
},
|
|
249
|
+
get useColorScheme() {
|
|
250
|
+
return require("react-native").useColorScheme;
|
|
251
|
+
},
|
|
252
|
+
get useWindowDimensions() {
|
|
253
|
+
return require("react-native").useWindowDimensions;
|
|
254
|
+
},
|
|
255
|
+
get UTFSequence() {
|
|
256
|
+
return require("react-native").UTFSequence;
|
|
257
|
+
},
|
|
258
|
+
get Vibration() {
|
|
259
|
+
return require("react-native").Vibration;
|
|
260
|
+
},
|
|
261
|
+
get VirtualViewMode() {
|
|
262
|
+
return require("react-native").VirtualViewMode;
|
|
263
|
+
},
|
|
264
|
+
get EventEmitter() {
|
|
265
|
+
return require("react-native").EventEmitter;
|
|
266
|
+
},
|
|
267
|
+
get unstable_NativeText() {
|
|
268
|
+
return require("react-native").unstable_NativeText;
|
|
269
|
+
},
|
|
270
|
+
get unstable_NativeView() {
|
|
271
|
+
return require("react-native").unstable_NativeView;
|
|
272
|
+
},
|
|
273
|
+
get unstable_VirtualArray() {
|
|
274
|
+
return require("react-native").unstable_VirtualArray;
|
|
275
|
+
},
|
|
276
|
+
get unstable_createVirtualCollectionView() {
|
|
277
|
+
return require("react-native").unstable_createVirtualCollectionView;
|
|
278
|
+
},
|
|
279
|
+
get unstable_VirtualColumn() {
|
|
280
|
+
return require("react-native").unstable_VirtualColumn;
|
|
281
|
+
},
|
|
282
|
+
get unstable_VirtualColumnGenerator() {
|
|
283
|
+
return require("react-native").unstable_VirtualColumnGenerator;
|
|
284
|
+
},
|
|
285
|
+
get unstable_VirtualRow() {
|
|
286
|
+
return require("react-native").unstable_VirtualRow;
|
|
287
|
+
},
|
|
288
|
+
get unstable_getScrollParent() {
|
|
289
|
+
return require("react-native").unstable_getScrollParent;
|
|
290
|
+
},
|
|
291
|
+
get unstable_DEFAULT_INITIAL_NUM_TO_RENDER() {
|
|
292
|
+
return require("react-native").unstable_DEFAULT_INITIAL_NUM_TO_RENDER;
|
|
293
|
+
},
|
|
294
|
+
get NativeComponentRegistry() {
|
|
295
|
+
return require("react-native").NativeComponentRegistry;
|
|
296
|
+
},
|
|
297
|
+
get ReactNativeVersion() {
|
|
298
|
+
return require("react-native").ReactNativeVersion;
|
|
299
|
+
},
|
|
300
|
+
get useAnimatedValueXY() {
|
|
301
|
+
return require("react-native").useAnimatedValueXY;
|
|
302
|
+
},
|
|
303
|
+
get useAnimatedColor() {
|
|
304
|
+
return require("react-native").useAnimatedColor;
|
|
305
|
+
},
|
|
306
|
+
get usePressability() {
|
|
307
|
+
return require("react-native").usePressability;
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["module","exports","ActivityIndicator","require","Button","FlatList","Image","ImageBackground","KeyboardAvoidingView","Pressable","ScrollView","Switch","Text","TextInput","TouchableHighlight","TouchableOpacity","View","VirtualizedList","DrawerLayoutAndroid","InputAccessoryView","experimental_LayoutConformance","Modal","ProgressBarAndroid","RefreshControl","SafeAreaView","SectionList","StatusBar","unstable_TextAncestorContext","Touchable","TouchableNativeFeedback","TouchableWithoutFeedback","VirtualizedSectionList","unstable_VirtualView","AccessibilityInfo","ActionSheetIOS","Alert","Animated","Appearance","AppRegistry","AppState","BackHandler","Clipboard","codegenNativeCommands","codegenNativeComponent","DeviceEventEmitter","DeviceInfo","DevMenu","DevSettings","Dimensions","DynamicColorIOS","Easing","findNodeHandle","I18nManager","InteractionManager","Keyboard","LayoutAnimation","Linking","LogBox","NativeAppEventEmitter","NativeDialogManagerAndroid","NativeEventEmitter","NativeModules","Networking","PanResponder","PermissionsAndroid","PixelRatio","Platform","PlatformColor","PushNotificationIOS","processColor","registerCallableModule","requireNativeComponent","RootTagContext","Settings","Share","StyleSheet","Systrace","ToastAndroid","TurboModuleRegistry","UIManager","unstable_batchedUpdates","useAnimatedValue","useColorScheme","useWindowDimensions","UTFSequence","Vibration","VirtualViewMode","EventEmitter","unstable_NativeText","unstable_NativeView","unstable_VirtualArray","unstable_createVirtualCollectionView","unstable_VirtualColumn","unstable_VirtualColumnGenerator","unstable_VirtualRow","unstable_getScrollParent","unstable_DEFAULT_INITIAL_NUM_TO_RENDER","NativeComponentRegistry","ReactNativeVersion","useAnimatedValueXY","useAnimatedColor","usePressability"],"sourceRoot":"../../../src","sources":["components/index.cts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEAA,MAAM,CAACC,OAAO,GAAG;EACf,IAAIC,iBAAiBA,CAAA,EAAG;IACtB,OAAOC,OAAO,CAAC,qBAAqB,CAAC,CAACD,iBAAiB;EACzD,CAAC;EACD,IAAIE,MAAMA,CAAA,EAAG;IACX,OAAOD,OAAO,CAAC,UAAU,CAAC,CAACC,MAAM;EACnC,CAAC;EACD,IAAIC,QAAQA,CAAA,EAAG;IACb,OAAOF,OAAO,CAAC,YAAY,CAAC,CAACE,QAAQ;EACvC,CAAC;EACD,IAAIC,KAAKA,CAAA,EAAG;IACV,OAAOH,OAAO,CAAC,SAAS,CAAC,CAACG,KAAK;EACjC,CAAC;EACD,IAAIC,eAAeA,CAAA,EAAG;IACpB,OAAOJ,OAAO,CAAC,mBAAmB,CAAC,CAACI,eAAe;EACrD,CAAC;EACD,IAAIC,oBAAoBA,CAAA,EAAG;IACzB,OAAOL,OAAO,CAAC,wBAAwB,CAAC,CAACK,oBAAoB;EAC/D,CAAC;EACD,IAAIC,SAASA,CAAA,EAAG;IACd,OAAON,OAAO,CAAC,aAAa,CAAC,CAACM,SAAS;EACzC,CAAC;EACD,IAAIC,UAAUA,CAAA,EAAG;IACf,OAAOP,OAAO,CAAC,c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AAC,CAAC+F,kBAAkB;EACnD,CAAC;EACD,IAAIC,kBAAkBA,CAAA,EAAG;IACvB,OAAOhG,OAAO,CAAC,cAAc,CAAC,CAACgG,kBAAkB;EACnD,CAAC;EACD,IAAIC,gBAAgBA,CAAA,EAAG;IACrB,OAAOjG,OAAO,CAAC,cAAc,CAAC,CAACiG,gBAAgB;EACjD,CAAC;EACD,IAAIC,eAAeA,CAAA,EAAG;IACpB,OAAOlG,OAAO,CAAC,cAAc,CAAC,CAACkG,eAAe;EAChD;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ActivityIndicator","Button","FlatList","Image","ImageBackground","KeyboardAvoidingView","Pressable","ScrollView","Switch","Text","TextInput","TouchableHighlight","TouchableOpacity","TouchableWithoutFeedback","View","VirtualizedList"],"sourceRoot":"../../../src","sources":["components/index.
|
|
1
|
+
{"version":3,"names":["ActivityIndicator","Button","FlatList","Image","ImageBackground","KeyboardAvoidingView","Pressable","ScrollView","Switch","Text","TextInput","TouchableHighlight","TouchableOpacity","TouchableWithoutFeedback","View","VirtualizedList"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,cAAc,cAAc;AAC5B,SAASA,iBAAiB,QAAQ,wBAAqB;AACvD,SAASC,MAAM,QAAQ,aAAU;AACjC,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,KAAK,QAAQ,YAAS;AAC/B,SAASC,eAAe,QAAQ,sBAAmB;AACnD,SAASC,oBAAoB,QAAQ,2BAAwB;AAC7D,SAASC,SAAS,QAAQ,gBAAa;AACvC,SAASC,UAAU,QAAQ,iBAAc;AACzC,SAASC,MAAM,QAAQ,aAAU;AACjC,SAASC,IAAI,QAAQ,WAAQ;AAC7B,SAASC,SAAS,QAAQ,gBAAa;AACvC,SAASC,kBAAkB,QAAQ,yBAAsB;AACzD,SAASC,gBAAgB,QAAQ,uBAAoB;AACrD,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,IAAI,QAAQ,WAAQ;AAC7B,SAASC,eAAe,QAAQ,sBAAmB","ignoreList":[]}
|
|
@@ -9,10 +9,10 @@ export const testID = "react-native-css";
|
|
|
9
9
|
beforeEach(() => {
|
|
10
10
|
StyleCollection.styles.clear();
|
|
11
11
|
dimensions.set(Dimensions.get("window"));
|
|
12
|
-
Appearance.setColorScheme(
|
|
12
|
+
Appearance.setColorScheme("unspecified");
|
|
13
13
|
colorScheme.set(null);
|
|
14
14
|
});
|
|
15
|
-
const debugDefault = Boolean(process.env.REACT_NATIVE_CSS_TEST_DEBUG && process.env.NODE_OPTIONS
|
|
15
|
+
const debugDefault = Boolean(process.env.REACT_NATIVE_CSS_TEST_DEBUG && typeof process.env.NODE_OPTIONS === "string" && process.env.NODE_OPTIONS.includes("--inspect"));
|
|
16
16
|
export function registerCSS(css, options = {}) {
|
|
17
17
|
const {
|
|
18
18
|
debug = debugDefault
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Appearance","Dimensions","inspect","compile","StyleCollection","colorScheme","dimensions","testID","beforeEach","styles","clear","set","get","setColorScheme","debugDefault","Boolean","process","env","REACT_NATIVE_CSS_TEST_DEBUG","NODE_OPTIONS","includes","registerCSS","css","options","debug","compiled","compileWithAutoDebug","console","log","stylesheet","warnings","depth","colors","compact","inject","logger","text","startsWith","undefined"],"sourceRoot":"../../../src","sources":["jest/index.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAErD,SAASC,OAAO,QAAQ,WAAW;AAEnC,SAASC,OAAO,QAA8B,2BAA2B;AACzE,SAASC,eAAe,QAAQ,yBAAyB;AAEzD,SAASC,WAAW,EAAEC,UAAU,QAAQ,yBAAsB;AAW9D,OAAO,MAAMC,MAAM,GAAG,kBAAkB;AAExCC,UAAU,CAAC,MAAM;EACfJ,eAAe,CAACK,MAAM,CAACC,KAAK,CAAC,CAAC;EAC9BJ,UAAU,CAACK,GAAG,CAACV,UAAU,CAACW,GAAG,CAAC,QAAQ,CAAC,CAAC;EACxCZ,UAAU,CAACa,cAAc,CAAC,
|
|
1
|
+
{"version":3,"names":["Appearance","Dimensions","inspect","compile","StyleCollection","colorScheme","dimensions","testID","beforeEach","styles","clear","set","get","setColorScheme","debugDefault","Boolean","process","env","REACT_NATIVE_CSS_TEST_DEBUG","NODE_OPTIONS","includes","registerCSS","css","options","debug","compiled","compileWithAutoDebug","console","log","stylesheet","warnings","depth","colors","compact","inject","logger","text","startsWith","undefined"],"sourceRoot":"../../../src","sources":["jest/index.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAErD,SAASC,OAAO,QAAQ,WAAW;AAEnC,SAASC,OAAO,QAA8B,2BAA2B;AACzE,SAASC,eAAe,QAAQ,yBAAyB;AAEzD,SAASC,WAAW,EAAEC,UAAU,QAAQ,yBAAsB;AAW9D,OAAO,MAAMC,MAAM,GAAG,kBAAkB;AAExCC,UAAU,CAAC,MAAM;EACfJ,eAAe,CAACK,MAAM,CAACC,KAAK,CAAC,CAAC;EAC9BJ,UAAU,CAACK,GAAG,CAACV,UAAU,CAACW,GAAG,CAAC,QAAQ,CAAC,CAAC;EACxCZ,UAAU,CAACa,cAAc,CAAC,aAAa,CAAC;EACxCR,WAAW,CAACM,GAAG,CAAC,IAAI,CAAC;AACvB,CAAC,CAAC;AAEF,MAAMG,YAAY,GAAGC,OAAO,CAC1BC,OAAO,CAACC,GAAG,CAACC,2BAA2B,IACrC,OAAOF,OAAO,CAACC,GAAG,CAACE,YAAY,KAAK,QAAQ,IAC5CH,OAAO,CAACC,GAAG,CAACE,YAAY,CAACC,QAAQ,CAAC,WAAW,CACjD,CAAC;AAED,OAAO,SAASC,WAAWA,CACzBC,GAAW,EACXC,OAA8C,GAAG,CAAC,CAAC,EACnD;EACA,MAAM;IAAEC,KAAK,GAAGV;EAAa,CAAC,GAAGS,OAAO;EACxC,MAAME,QAAQ,GAAGC,oBAAoB,CAACJ,GAAG,EAAEC,OAAO,CAAC;EAEnD,IAAIC,KAAK,EAAE;IACTG,OAAO,CAACC,GAAG,CACT,mBAAmB1B,OAAO,CACxB;MACE2B,UAAU,EAAEJ,QAAQ,CAACI,UAAU,CAAC,CAAC;MACjCC,QAAQ,EAAEL,QAAQ,CAACK,QAAQ,CAAC;IAC9B,CAAC,EACD;MAAEC,KAAK,EAAE,IAAI;MAAEC,MAAM,EAAE,IAAI;MAAEC,OAAO,EAAE;IAAM,CAC9C,CAAC,EACH,CAAC;EACH;EAEA7B,eAAe,CAAC8B,MAAM,CAACT,QAAQ,CAACI,UAAU,CAAC,CAAC,CAAC;EAE7C,OAAOJ,QAAQ;AACjB;AAEA,OAAO,SAASC,oBAAoBA,CAClCJ,GAAW,EACX;EACEE,KAAK,GAAGV,YAAY;EACpB,GAAGS;AAC8C,CAAC,GAAG,CAAC,CAAC,EACzD;EACA,MAAMY,MAAM,GAAGX,KAAK,GACfY,IAAY,IAAK;IAChB;IACA,IAAIA,IAAI,CAACC,UAAU,CAAC,GAAG,CAAC,IAAIb,KAAK,KAAK,SAAS,EAAE;MAC/CG,OAAO,CAACC,GAAG,CAAC,gBAAgBQ,IAAI,EAAE,CAAC;IACrC;EACF,CAAC,GACDE,SAAS;EAEb,OAAOnC,OAAO,CAACmB,GAAG,EAAE;IAAE,GAAGC,OAAO;IAAEY;EAAO,CAAC,CAAC;AAC7C","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createHash } from "node:crypto";
|
|
4
|
+
import { readdirSync, readFileSync } from "node:fs";
|
|
5
|
+
import { dirname, join, relative } from "node:path";
|
|
6
|
+
/**
|
|
7
|
+
* Expo's supervising worker bypasses a custom worker's getCacheKey hook.
|
|
8
|
+
* Put the engine fingerprint in Metro's top level cacheVersion instead so
|
|
9
|
+
* both supervised and direct workers invalidate compiled CSS after an update.
|
|
10
|
+
*/
|
|
11
|
+
export function getCacheVersion(cacheVersion, options) {
|
|
12
|
+
const root = dirname(__dirname);
|
|
13
|
+
const hash = createHash("sha256");
|
|
14
|
+
function visit(directory) {
|
|
15
|
+
for (const entry of readdirSync(directory, {
|
|
16
|
+
withFileTypes: true
|
|
17
|
+
}).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)) {
|
|
18
|
+
const file = join(directory, entry.name);
|
|
19
|
+
if (entry.isDirectory()) {
|
|
20
|
+
if (!["__tests__", "__fixtures__", "__mocks__"].includes(entry.name)) {
|
|
21
|
+
visit(file);
|
|
22
|
+
}
|
|
23
|
+
} else if (entry.isFile() && /\.[cm]?[jt]sx?$/.test(entry.name) && !/\.d\.[cm]?ts$/.test(entry.name) && !/\.(test|spec)\.[cm]?[jt]sx?$/.test(entry.name)) {
|
|
24
|
+
// Relative names keep identical installations independent of location.
|
|
25
|
+
hash.update(relative(root, file).split("\\").join("/"));
|
|
26
|
+
hash.update("\0");
|
|
27
|
+
hash.update(readFileSync(file));
|
|
28
|
+
hash.update("\0");
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Cover transitive engine helpers as well as the transformer itself. Maps,
|
|
34
|
+
// declarations, and tests do not affect the generated application code.
|
|
35
|
+
visit(root);
|
|
36
|
+
hash.update(JSON.stringify(options ?? {}));
|
|
37
|
+
return `${cacheVersion ?? ""}:react-native-css:${hash.digest("hex")}`;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=cache-version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createHash","readdirSync","readFileSync","dirname","join","relative","getCacheVersion","cacheVersion","options","root","__dirname","hash","visit","directory","entry","withFileTypes","sort","a","b","name","file","isDirectory","includes","isFile","test","update","split","JSON","stringify","digest"],"sourceRoot":"../../../src","sources":["metro/cache-version.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,aAAa;AACxC,SAASC,WAAW,EAAEC,YAAY,QAAQ,SAAS;AACnD,SAASC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