react-native-css 0.0.0-nightly.7bc9102 → 0.0.0-nightly.811f357
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 +165 -13
- 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/index.js +6 -2
- package/dist/commonjs/babel/index.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 +71 -42
- package/dist/commonjs/compiler/atRules.js.map +1 -1
- package/dist/commonjs/compiler/compiler.js +196 -64
- package/dist/commonjs/compiler/compiler.js.map +1 -1
- package/dist/commonjs/compiler/compiler.types.js +1 -1
- package/dist/commonjs/compiler/compiler.types.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 +321 -135
- package/dist/commonjs/compiler/declarations.js.map +1 -1
- package/dist/commonjs/compiler/inline-variables.js +142 -0
- package/dist/commonjs/compiler/inline-variables.js.map +1 -0
- package/dist/commonjs/compiler/keyframes.js +1 -1
- package/dist/commonjs/compiler/keyframes.js.map +1 -1
- package/dist/commonjs/compiler/lightningcss-loader.js +53 -0
- package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -0
- package/dist/commonjs/compiler/media-query.js +16 -6
- package/dist/commonjs/compiler/media-query.js.map +1 -1
- package/dist/commonjs/compiler/pseudo-elements.js +1 -1
- package/dist/commonjs/compiler/selector-builder.js +25 -11
- package/dist/commonjs/compiler/selector-builder.js.map +1 -1
- package/dist/commonjs/compiler/selectors.js +4 -4
- package/dist/commonjs/compiler/selectors.js.map +1 -1
- package/dist/commonjs/compiler/stylesheet.js +30 -15
- 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 +11 -9
- 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 +18 -0
- package/dist/commonjs/components/ImageBackground.js.map +1 -0
- package/dist/commonjs/components/KeyboardAvoidingView.js +18 -0
- package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -0
- package/dist/commonjs/components/Pressable.js +17 -0
- package/dist/commonjs/components/Pressable.js.map +1 -0
- package/dist/commonjs/components/SafeAreaProvider.js +13 -0
- package/dist/commonjs/components/SafeAreaProvider.js.map +1 -0
- package/dist/commonjs/components/ScrollView.js +18 -0
- package/dist/commonjs/components/ScrollView.js.map +1 -0
- 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 +12 -7
- package/dist/commonjs/components/TextInput.js.map +1 -1
- package/dist/commonjs/components/TouchableHighlight.js +17 -0
- package/dist/commonjs/components/TouchableHighlight.js.map +1 -0
- package/dist/commonjs/components/TouchableOpacity.js +17 -0
- package/dist/commonjs/components/TouchableOpacity.js.map +1 -0
- package/dist/commonjs/components/TouchableWithoutFeedback.js +17 -0
- package/dist/commonjs/components/TouchableWithoutFeedback.js.map +1 -0
- package/dist/commonjs/components/View.js +6 -6
- package/dist/commonjs/components/View.js.map +1 -1
- package/dist/commonjs/components/VirtualizedList.js +20 -0
- package/dist/commonjs/components/VirtualizedList.js.map +1 -0
- package/dist/commonjs/components/copyComponentProperties.js +19 -0
- package/dist/commonjs/components/copyComponentProperties.js.map +1 -0
- package/dist/commonjs/components/index.cjs +313 -0
- package/dist/commonjs/components/index.cjs.map +1 -0
- package/dist/commonjs/components/index.js +65 -1
- package/dist/commonjs/components/index.js.map +1 -1
- package/dist/commonjs/components/react-native-safe-area-context.native.js +3 -3
- package/dist/commonjs/components/react-native-safe-area-context.native.js.map +1 -1
- package/dist/commonjs/index.js +4 -15
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/jest/index.js +7 -8
- 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/injection-code.js +1 -1
- package/dist/commonjs/metro/injection-code.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/metro/override.js +6 -0
- package/dist/commonjs/metro/override.js.map +1 -0
- 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 +121 -0
- package/dist/commonjs/native/api.js.map +1 -0
- package/dist/commonjs/native/conditions/attributes.js +51 -0
- package/dist/commonjs/native/conditions/attributes.js.map +1 -0
- package/dist/commonjs/native/conditions/container-query.js +123 -0
- package/dist/commonjs/native/conditions/container-query.js.map +1 -0
- package/dist/commonjs/native/conditions/guards.js.map +1 -0
- package/dist/commonjs/native/conditions/index.js.map +1 -0
- package/dist/commonjs/native/conditions/media-query.js +98 -0
- package/dist/commonjs/native/conditions/media-query.js.map +1 -0
- package/dist/commonjs/native/index.js +28 -0
- package/dist/commonjs/native/index.js.map +1 -0
- package/dist/commonjs/native/objects.js.map +1 -0
- package/dist/commonjs/native/react/interaction.js +68 -0
- package/dist/commonjs/native/react/interaction.js.map +1 -0
- package/dist/commonjs/native/react/rules.js +266 -0
- package/dist/commonjs/native/react/rules.js.map +1 -0
- package/dist/commonjs/native/react/useNativeCss.js +215 -0
- package/dist/commonjs/native/react/useNativeCss.js.map +1 -0
- package/dist/commonjs/native/react/usePassthrough.js +53 -0
- package/dist/commonjs/native/react/usePassthrough.js.map +1 -0
- package/dist/commonjs/native/react-native-css-metro-override.js +39 -0
- package/dist/commonjs/native/react-native-css-metro-override.js.map +1 -0
- package/dist/commonjs/native/reactivity.js +218 -0
- package/dist/commonjs/native/reactivity.js.map +1 -0
- package/dist/commonjs/native/reanimated.js +29 -0
- package/dist/commonjs/native/reanimated.js.map +1 -0
- package/dist/commonjs/native/styles/calculate-props.js +162 -0
- package/dist/commonjs/native/styles/calculate-props.js.map +1 -0
- package/dist/commonjs/native/styles/constants.js.map +1 -0
- package/dist/commonjs/native/styles/defaults.js.map +1 -0
- package/dist/commonjs/native/styles/functions/animation-timing.js.map +1 -0
- package/dist/commonjs/native/styles/functions/calc.js.map +1 -0
- 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 +97 -0
- package/dist/commonjs/native/styles/functions/filters.js.map +1 -0
- package/dist/commonjs/native/styles/functions/index.js +94 -0
- package/dist/commonjs/native/styles/functions/index.js.map +1 -0
- package/dist/commonjs/native/styles/functions/numeric-functions.js +33 -0
- package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -0
- package/dist/commonjs/native/styles/functions/platform-functions.js.map +1 -0
- package/dist/commonjs/native/styles/functions/string-functions.js +38 -0
- package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -0
- package/dist/commonjs/native/styles/functions/transform-functions.js +122 -0
- package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -0
- package/dist/commonjs/native/styles/index.js +469 -0
- package/dist/commonjs/native/styles/index.js.map +1 -0
- package/dist/commonjs/native/styles/line-height.js +25 -0
- package/dist/commonjs/native/styles/line-height.js.map +1 -0
- package/dist/commonjs/native/styles/resolve.js +111 -0
- package/dist/commonjs/native/styles/resolve.js.map +1 -0
- 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 +89 -0
- package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/animation.js +64 -0
- package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/border.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/box-shadow.js +81 -0
- package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/index.js +72 -0
- package/dist/commonjs/native/styles/shorthands/index.js.map +1 -0
- 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/shorthands/text-shadow.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/transform.js.map +1 -0
- package/dist/commonjs/native/styles/units.js +54 -0
- package/dist/commonjs/native/styles/units.js.map +1 -0
- package/dist/commonjs/native/styles/variables.js +91 -0
- package/dist/commonjs/native/styles/variables.js.map +1 -0
- package/dist/commonjs/native-internal/README.md +11 -0
- package/dist/commonjs/native-internal/index.js +39 -0
- package/dist/commonjs/native-internal/index.js.map +1 -0
- package/dist/commonjs/native-internal/root.js +45 -0
- package/dist/commonjs/native-internal/root.js.map +1 -0
- package/dist/commonjs/native-internal/style-collection.js +110 -0
- package/dist/commonjs/native-internal/style-collection.js.map +1 -0
- package/dist/commonjs/native-internal/variables.js +27 -0
- package/dist/commonjs/native-internal/variables.js.map +1 -0
- package/dist/commonjs/runtime.js.map +1 -0
- package/dist/commonjs/runtime.native.js.map +1 -0
- package/dist/commonjs/runtime.types.js.map +1 -0
- package/dist/commonjs/utilities/dot-notation.types.js +6 -0
- package/dist/commonjs/utilities/dot-notation.types.js.map +1 -0
- package/dist/commonjs/utilities/index.js +39 -0
- package/dist/commonjs/utilities/index.js.map +1 -0
- package/dist/commonjs/utilities/specificity.js.map +1 -0
- package/dist/commonjs/utilities/style-descriptor.js +16 -0
- package/dist/commonjs/utilities/style-descriptor.js.map +1 -0
- package/dist/commonjs/web/api.js +89 -0
- package/dist/commonjs/web/api.js.map +1 -0
- package/dist/commonjs/web/assign-style.js +30 -0
- package/dist/commonjs/web/assign-style.js.map +1 -0
- package/dist/commonjs/web/index.js.map +1 -0
- package/dist/commonjs/web/metro.js.map +1 -0
- 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/index.js +2 -2
- package/dist/module/babel/index.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 +69 -42
- package/dist/module/compiler/atRules.js.map +1 -1
- package/dist/module/compiler/compiler.js +197 -65
- package/dist/module/compiler/compiler.js.map +1 -1
- package/dist/module/compiler/compiler.types.js +3 -1
- 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 +315 -135
- package/dist/module/compiler/declarations.js.map +1 -1
- package/dist/module/compiler/inline-variables.js +138 -0
- package/dist/module/compiler/inline-variables.js.map +1 -0
- package/dist/module/compiler/keyframes.js +1 -1
- package/dist/module/compiler/keyframes.js.map +1 -1
- package/dist/module/compiler/lightningcss-loader.js +48 -0
- package/dist/module/compiler/lightningcss-loader.js.map +1 -0
- package/dist/module/compiler/media-query.js +16 -6
- package/dist/module/compiler/media-query.js.map +1 -1
- package/dist/module/compiler/pseudo-elements.js +1 -1
- package/dist/module/compiler/pseudo-elements.js.map +1 -1
- package/dist/module/compiler/selector-builder.js +25 -11
- package/dist/module/compiler/selector-builder.js.map +1 -1
- package/dist/module/compiler/selectors.js +1 -1
- package/dist/module/compiler/selectors.js.map +1 -1
- package/dist/module/compiler/stylesheet.js +30 -15
- 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 +9 -6
- 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 +14 -0
- package/dist/module/components/ImageBackground.js.map +1 -0
- package/dist/module/components/KeyboardAvoidingView.js +14 -0
- package/dist/module/components/KeyboardAvoidingView.js.map +1 -0
- package/dist/module/components/Pressable.js +13 -0
- package/dist/module/components/Pressable.js.map +1 -0
- package/dist/module/components/SafeAreaProvider.js +4 -0
- package/dist/module/components/SafeAreaProvider.js.map +1 -0
- package/dist/module/components/ScrollView.js +14 -0
- package/dist/module/components/ScrollView.js.map +1 -0
- 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 +10 -4
- package/dist/module/components/TextInput.js.map +1 -1
- package/dist/module/components/TouchableHighlight.js +13 -0
- package/dist/module/components/TouchableHighlight.js.map +1 -0
- package/dist/module/components/TouchableOpacity.js +13 -0
- package/dist/module/components/TouchableOpacity.js.map +1 -0
- package/dist/module/components/TouchableWithoutFeedback.js +13 -0
- package/dist/module/components/TouchableWithoutFeedback.js.map +1 -0
- package/dist/module/components/View.js +4 -3
- package/dist/module/components/View.js.map +1 -1
- package/dist/module/components/VirtualizedList.js +16 -0
- package/dist/module/components/VirtualizedList.js.map +1 -0
- package/dist/module/components/copyComponentProperties.js +15 -0
- package/dist/module/components/copyComponentProperties.js.map +1 -0
- package/dist/module/components/index.cjs +313 -0
- package/dist/module/components/index.cjs.map +1 -0
- package/dist/module/components/index.js +8 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/react-native-safe-area-context.native.js +2 -2
- package/dist/module/components/react-native-safe-area-context.native.js.map +1 -1
- package/dist/module/index.js +1 -2
- package/dist/module/index.js.map +1 -1
- package/dist/module/jest/index.js +5 -6
- 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/injection-code.js +1 -1
- package/dist/module/metro/injection-code.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/metro/override.js.map +1 -0
- 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 +89 -0
- package/dist/module/native/api.js.map +1 -0
- package/dist/module/native/conditions/attributes.js +47 -0
- package/dist/module/native/conditions/attributes.js.map +1 -0
- package/dist/module/native/conditions/container-query.js +117 -0
- package/dist/module/native/conditions/container-query.js.map +1 -0
- package/dist/module/native/conditions/guards.js.map +1 -0
- package/dist/module/native/conditions/index.js.map +1 -0
- package/dist/module/native/conditions/media-query.js +93 -0
- package/dist/module/native/conditions/media-query.js.map +1 -0
- package/dist/module/native/index.js +5 -0
- package/dist/module/native/index.js.map +1 -0
- package/dist/module/native/objects.js.map +1 -0
- package/dist/module/native/react/interaction.js +64 -0
- package/dist/module/native/react/interaction.js.map +1 -0
- package/dist/module/native/react/rules.js +259 -0
- package/dist/module/native/react/rules.js.map +1 -0
- package/dist/module/native/react/useNativeCss.js +209 -0
- package/dist/module/native/react/useNativeCss.js.map +1 -0
- package/dist/module/native/react/usePassthrough.js +48 -0
- package/dist/module/native/react/usePassthrough.js.map +1 -0
- package/dist/module/native/react-native-css-metro-override.js +37 -0
- package/dist/module/native/react-native-css-metro-override.js.map +1 -0
- package/dist/module/native/reactivity.js +202 -0
- package/dist/module/native/reactivity.js.map +1 -0
- package/dist/module/native/reanimated.js +25 -0
- package/dist/module/native/reanimated.js.map +1 -0
- package/dist/module/native/styles/calculate-props.js +157 -0
- package/dist/module/native/styles/calculate-props.js.map +1 -0
- package/dist/module/native/styles/constants.js.map +1 -0
- package/dist/module/native/styles/defaults.js.map +1 -0
- package/dist/module/native/styles/functions/animation-timing.js.map +1 -0
- package/dist/module/native/styles/functions/calc.js.map +1 -0
- 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 +82 -0
- package/dist/module/native/styles/functions/filters.js.map +1 -0
- package/dist/module/native/styles/functions/index.js +11 -0
- package/dist/module/native/styles/functions/index.js.map +1 -0
- package/dist/module/native/styles/functions/numeric-functions.js +26 -0
- package/dist/module/native/styles/functions/numeric-functions.js.map +1 -0
- package/dist/module/native/styles/functions/platform-functions.js.map +1 -0
- package/dist/module/native/styles/functions/string-functions.js +31 -0
- package/dist/module/native/styles/functions/string-functions.js.map +1 -0
- package/dist/module/native/styles/functions/transform-functions.js +115 -0
- package/dist/module/native/styles/functions/transform-functions.js.map +1 -0
- package/dist/module/native/styles/index.js +465 -0
- package/dist/module/native/styles/index.js.map +1 -0
- package/dist/module/native/styles/line-height.js +20 -0
- package/dist/module/native/styles/line-height.js.map +1 -0
- package/dist/module/native/styles/resolve.js +106 -0
- package/dist/module/native/styles/resolve.js.map +1 -0
- 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 +84 -0
- package/dist/module/native/styles/shorthands/_handler.js.map +1 -0
- package/dist/module/native/styles/shorthands/animation.js +57 -0
- package/dist/module/native/styles/shorthands/animation.js.map +1 -0
- package/dist/module/native/styles/shorthands/border.js.map +1 -0
- package/dist/module/native/styles/shorthands/box-shadow.js +77 -0
- package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -0
- package/dist/module/native/styles/shorthands/index.js +9 -0
- package/dist/module/native/styles/shorthands/index.js.map +1 -0
- 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/shorthands/text-shadow.js.map +1 -0
- package/dist/module/native/styles/shorthands/transform.js.map +1 -0
- package/dist/module/native/styles/units.js +46 -0
- package/dist/module/native/styles/units.js.map +1 -0
- package/dist/module/native/styles/variables.js +87 -0
- package/dist/module/native/styles/variables.js.map +1 -0
- package/dist/module/native-internal/README.md +11 -0
- package/dist/module/native-internal/index.js +6 -0
- package/dist/module/native-internal/index.js.map +1 -0
- package/dist/module/native-internal/root.js +41 -0
- package/dist/module/native-internal/root.js.map +1 -0
- package/dist/module/native-internal/style-collection.js +95 -0
- package/dist/module/native-internal/style-collection.js.map +1 -0
- package/dist/module/native-internal/variables.js +22 -0
- package/dist/module/native-internal/variables.js.map +1 -0
- package/dist/module/runtime.js.map +1 -0
- package/dist/module/runtime.native.js.map +1 -0
- package/dist/module/runtime.types.js.map +1 -0
- package/dist/module/utilities/dot-notation.types.js +4 -0
- package/dist/module/utilities/dot-notation.types.js.map +1 -0
- package/dist/module/utilities/index.js +6 -0
- package/dist/module/utilities/index.js.map +1 -0
- package/dist/module/utilities/specificity.js.map +1 -0
- package/dist/module/utilities/style-descriptor.js +11 -0
- package/dist/module/utilities/style-descriptor.js.map +1 -0
- package/dist/module/web/api.js +79 -0
- package/dist/module/web/api.js.map +1 -0
- package/dist/module/web/assign-style.js +26 -0
- package/dist/module/web/assign-style.js.map +1 -0
- package/dist/module/web/index.js.map +1 -0
- package/dist/module/web/metro.js.map +1 -0
- 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/index.d.ts +3 -0
- package/dist/typescript/commonjs/src/babel/index.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 +5 -2
- 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 +17 -7
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts +21 -9
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts +4 -0
- package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts.map +1 -0
- 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 +30 -0
- package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -0
- 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 +1 -1
- package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +9 -9
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +2 -11
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Button.d.ts +2 -11
- package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/FlatList.d.ts +4 -8
- package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Image.d.ts +2 -6
- package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Pressable.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/Pressable.d.ts.map +1 -0
- 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 +4 -0
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts.map +1 -0
- 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 -6
- package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts.map +1 -0
- 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 +6 -0
- package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts.map +1 -0
- 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 +8 -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/index.d.ts +0 -1
- package/dist/typescript/commonjs/src/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/jest/index.d.ts +3 -11
- 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 +5 -1
- 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 +22 -0
- package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/conditions/attributes.d.ts +4 -0
- package/dist/typescript/commonjs/src/native/conditions/attributes.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts +7 -0
- package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/conditions/guards.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/conditions/index.d.ts +6 -0
- package/dist/typescript/commonjs/src/native/conditions/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/conditions/media-query.d.ts +4 -0
- package/dist/typescript/commonjs/src/native/conditions/media-query.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/native/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/objects.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/react/interaction.d.ts +6 -0
- package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -0
- 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 +63 -0
- package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts +10 -0
- package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/defaults.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/animation-timing.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/calc.d.ts.map +1 -0
- 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 +14 -0
- package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts +9 -0
- package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/platform-functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts +5 -0
- package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/index.d.ts +19 -0
- package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/line-height.d.ts +3 -0
- package/dist/typescript/commonjs/src/native/styles/line-height.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +19 -0
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -0
- 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 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts +5 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/border.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts +7 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -0
- 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/shorthands/text-shadow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/transform.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/units.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/variables.d.ts +5 -0
- package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native-internal/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/native-internal/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native-internal/root.d.ts +23 -0
- package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts +16 -0
- package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native-internal/variables.d.ts +8 -0
- package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime.native.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime.types.d.ts +54 -0
- package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +24 -0
- package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/utilities/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/utilities/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/utilities/specificity.d.ts +13 -0
- package/dist/typescript/commonjs/src/utilities/specificity.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +4 -0
- package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/web/api.d.ts +16 -0
- package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/web/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/web/metro.d.ts.map +1 -0
- 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/index.d.ts +3 -0
- package/dist/typescript/module/src/babel/index.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 +7 -4
- 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 +17 -7
- 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 +23 -11
- 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 +4 -0
- package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -0
- 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 +30 -0
- package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -0
- 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 +2 -2
- 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 +9 -9
- package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts +2 -11
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Button.d.ts +2 -11
- package/dist/typescript/module/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/module/src/components/FlatList.d.ts +4 -8
- package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Image.d.ts +2 -6
- package/dist/typescript/module/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ImageBackground.d.ts +4 -0
- package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -0
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts +4 -0
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Pressable.d.ts +4 -0
- package/dist/typescript/module/src/components/Pressable.d.ts.map +1 -0
- 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 +4 -0
- package/dist/typescript/module/src/components/ScrollView.d.ts.map +1 -0
- 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 -6
- package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts +4 -0
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts +4 -0
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts +4 -0
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts.map +1 -0
- 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 +6 -0
- package/dist/typescript/module/src/components/VirtualizedList.d.ts.map +1 -0
- 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 -8
- 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/index.d.ts +0 -1
- package/dist/typescript/module/src/index.d.ts.map +1 -1
- package/dist/typescript/module/src/jest/index.d.ts +3 -11
- 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 +22 -0
- package/dist/typescript/module/src/native/api.d.ts.map +1 -0
- package/dist/typescript/module/src/native/conditions/attributes.d.ts +4 -0
- package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -0
- package/dist/typescript/module/src/native/conditions/container-query.d.ts +7 -0
- package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -0
- package/dist/typescript/module/src/native/conditions/guards.d.ts +5 -0
- package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -0
- package/dist/typescript/module/src/native/conditions/index.d.ts +6 -0
- package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -0
- package/dist/typescript/module/src/native/conditions/media-query.d.ts +4 -0
- package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -0
- package/dist/typescript/module/src/native/index.d.ts +4 -0
- package/dist/typescript/module/src/native/index.d.ts.map +1 -0
- package/dist/typescript/module/src/native/objects.d.ts.map +1 -0
- package/dist/typescript/module/src/native/react/interaction.d.ts +6 -0
- package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -0
- package/dist/typescript/module/src/native/react/rules.d.ts +7 -0
- package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -0
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts +38 -0
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -0
- package/dist/typescript/module/src/native/react/usePassthrough.d.ts +4 -0
- package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -0
- 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 +63 -0
- package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -0
- package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/calculate-props.d.ts +10 -0
- package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/constants.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/defaults.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts +4 -0
- package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts +3 -0
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -0
- 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 +14 -0
- package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/index.d.ts +9 -0
- package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts +5 -0
- package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts +8 -0
- package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts +5 -0
- package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts +5 -0
- package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/index.d.ts +19 -0
- package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/line-height.d.ts +3 -0
- package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/resolve.d.ts +19 -0
- package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -0
- 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 +11 -0
- package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +5 -0
- package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/border.d.ts +2 -0
- package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts +3 -0
- package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/index.d.ts +7 -0
- package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -0
- 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 +2 -0
- package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts +7 -0
- package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/units.d.ts +6 -0
- package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/variables.d.ts +5 -0
- package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -0
- package/dist/typescript/module/src/native-internal/index.d.ts +4 -0
- package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -0
- package/dist/typescript/module/src/native-internal/root.d.ts +23 -0
- package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -0
- package/dist/typescript/module/src/native-internal/style-collection.d.ts +16 -0
- package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -0
- package/dist/typescript/module/src/native-internal/variables.d.ts +8 -0
- package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime.d.ts +2 -0
- package/dist/typescript/module/src/runtime.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime.native.d.ts +2 -0
- package/dist/typescript/module/src/runtime.native.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime.types.d.ts +54 -0
- package/dist/typescript/module/src/runtime.types.d.ts.map +1 -0
- package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +24 -0
- package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -0
- package/dist/typescript/module/src/utilities/index.d.ts +4 -0
- package/dist/typescript/module/src/utilities/index.d.ts.map +1 -0
- package/dist/typescript/module/src/utilities/specificity.d.ts +13 -0
- package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -0
- package/dist/typescript/module/src/utilities/style-descriptor.d.ts +4 -0
- package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -0
- package/dist/typescript/module/src/web/api.d.ts +16 -0
- package/dist/typescript/module/src/web/api.d.ts.map +1 -0
- package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -0
- package/dist/typescript/module/src/web/index.d.ts +4 -0
- package/dist/typescript/module/src/web/index.d.ts.map +1 -0
- package/dist/typescript/module/src/web/metro.d.ts.map +1 -0
- package/node/babel.mjs +4 -0
- package/node/compiler.mjs +2 -0
- package/node/metro.mjs +2 -0
- package/package.json +153 -74
- package/src/babel/helpers.ts +8 -1
- package/src/babel/import-plugin.ts +31 -16
- package/src/babel/index.ts +2 -2
- package/src/babel/react-native-web.ts +32 -4
- package/src/babel/react-native.ts +9 -4
- package/src/compiler/atRules.ts +78 -43
- package/src/compiler/compiler.ts +266 -77
- package/src/compiler/compiler.types.ts +25 -7
- package/src/compiler/container-query.ts +8 -3
- package/src/compiler/declarations.ts +513 -217
- package/src/compiler/inline-variables.ts +209 -0
- package/src/compiler/keyframes.ts +2 -2
- package/src/compiler/lightningcss-loader.ts +60 -0
- package/src/compiler/media-query.ts +20 -9
- package/src/compiler/pseudo-elements.ts +1 -1
- package/src/compiler/selector-builder.ts +45 -12
- package/src/compiler/selectors.ts +1 -1
- package/src/compiler/stylesheet.ts +39 -27
- package/src/compiler/supports.ts +2 -2
- package/src/components/ActivityIndicator.tsx +11 -8
- package/src/components/Button.tsx +11 -6
- package/src/components/FlatList.tsx +21 -10
- package/src/components/Image.tsx +11 -6
- package/src/components/ImageBackground.tsx +26 -0
- package/src/components/KeyboardAvoidingView.tsx +26 -0
- package/src/components/Pressable.tsx +22 -0
- package/src/components/SafeAreaProvider.tsx +1 -0
- package/src/components/ScrollView.tsx +23 -0
- package/src/components/Switch.tsx +9 -4
- package/src/components/Text.tsx +9 -4
- package/src/components/TextInput.tsx +17 -7
- package/src/components/TouchableHighlight.tsx +25 -0
- package/src/components/TouchableOpacity.tsx +25 -0
- package/src/components/TouchableWithoutFeedback.tsx +25 -0
- package/src/components/View.tsx +9 -4
- package/src/components/VirtualizedList.tsx +37 -0
- package/src/components/copyComponentProperties.ts +21 -0
- package/src/components/index.cts +311 -0
- package/src/components/index.ts +17 -0
- package/src/components/react-native-safe-area-context.native.tsx +7 -3
- package/src/index.ts +0 -2
- package/src/jest/index.ts +7 -7
- package/src/metro/cache-version.ts +48 -0
- package/src/metro/index.ts +17 -166
- package/src/metro/injection-code.ts +1 -1
- 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 +129 -0
- package/src/native/conditions/attributes.ts +71 -0
- package/src/native/conditions/container-query.ts +164 -0
- package/src/native/conditions/index.ts +55 -0
- package/src/native/conditions/media-query.ts +99 -0
- package/src/native/index.ts +3 -0
- package/src/native/react/interaction.ts +95 -0
- package/src/native/react/rules.ts +344 -0
- package/src/native/react/useNativeCss.ts +266 -0
- package/src/native/react/usePassthrough.ts +52 -0
- package/src/native/reactivity.ts +300 -0
- package/src/native/reanimated.ts +41 -0
- package/src/native/styles/calculate-props.ts +217 -0
- package/src/native/styles/functions/color-mix.ts +74 -0
- package/src/native/styles/functions/filters.ts +113 -0
- package/src/native/styles/functions/index.ts +8 -0
- package/src/native/styles/functions/numeric-functions.ts +39 -0
- package/src/native/styles/functions/string-functions.ts +40 -0
- package/src/native/styles/functions/transform-functions.ts +86 -0
- package/src/native/styles/index.ts +605 -0
- package/src/native/styles/line-height.ts +25 -0
- package/src/native/styles/resolve.ts +168 -0
- package/src/native/styles/scale-factor.ts +6 -0
- package/src/native/styles/shorthands/_handler.ts +135 -0
- package/src/native/styles/shorthands/animation.ts +137 -0
- package/src/native/styles/shorthands/box-shadow.ts +106 -0
- package/src/native/styles/shorthands/index.ts +6 -0
- package/src/native/styles/shorthands/logical-border-width.ts +32 -0
- package/src/native/styles/units.ts +62 -0
- package/src/native/styles/variables.ts +98 -0
- package/src/native-internal/README.md +11 -0
- package/src/native-internal/index.ts +3 -0
- package/src/native-internal/root.ts +71 -0
- package/src/native-internal/style-collection.ts +148 -0
- package/src/native-internal/variables.tsx +38 -0
- package/src/runtime.types.ts +152 -0
- package/src/utilities/dot-notation.types.ts +126 -0
- package/src/utilities/index.ts +3 -0
- package/src/utilities/specificity.ts +45 -0
- package/src/utilities/style-descriptor.ts +19 -0
- package/src/web/api.tsx +115 -0
- package/src/web/assign-style.ts +27 -0
- 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 +0 -39
- package/dist/commonjs/poison.pill.js.map +0 -1
- package/dist/commonjs/runtime/index.js +0 -17
- package/dist/commonjs/runtime/index.js.map +0 -1
- package/dist/commonjs/runtime/native/api.js +0 -96
- package/dist/commonjs/runtime/native/api.js.map +0 -1
- package/dist/commonjs/runtime/native/conditions/attributes.js +0 -42
- package/dist/commonjs/runtime/native/conditions/attributes.js.map +0 -1
- package/dist/commonjs/runtime/native/conditions/container-query.js +0 -123
- package/dist/commonjs/runtime/native/conditions/container-query.js.map +0 -1
- package/dist/commonjs/runtime/native/conditions/guards.js.map +0 -1
- package/dist/commonjs/runtime/native/conditions/index.js.map +0 -1
- package/dist/commonjs/runtime/native/conditions/media-query.js +0 -98
- package/dist/commonjs/runtime/native/conditions/media-query.js.map +0 -1
- package/dist/commonjs/runtime/native/index.js +0 -28
- package/dist/commonjs/runtime/native/index.js.map +0 -1
- package/dist/commonjs/runtime/native/metro.js.map +0 -1
- package/dist/commonjs/runtime/native/react/interaction.js +0 -63
- package/dist/commonjs/runtime/native/react/interaction.js.map +0 -1
- package/dist/commonjs/runtime/native/react/rules.js +0 -259
- package/dist/commonjs/runtime/native/react/rules.js.map +0 -1
- package/dist/commonjs/runtime/native/react/useNativeCss.js +0 -159
- package/dist/commonjs/runtime/native/react/useNativeCss.js.map +0 -1
- package/dist/commonjs/runtime/native/react/usePassthrough.js +0 -50
- package/dist/commonjs/runtime/native/react/usePassthrough.js.map +0 -1
- package/dist/commonjs/runtime/native/reactivity.js +0 -189
- package/dist/commonjs/runtime/native/reactivity.js.map +0 -1
- package/dist/commonjs/runtime/native/reanimated.js +0 -17
- package/dist/commonjs/runtime/native/reanimated.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/calculate-props.js +0 -148
- package/dist/commonjs/runtime/native/styles/calculate-props.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/constants.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/defaults.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/animation-timing.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/calc.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/filters.js +0 -84
- package/dist/commonjs/runtime/native/styles/functions/filters.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/index.js +0 -83
- package/dist/commonjs/runtime/native/styles/functions/index.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/numeric-functions.js +0 -32
- package/dist/commonjs/runtime/native/styles/functions/numeric-functions.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/platform-functions.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/string-functions.js +0 -23
- package/dist/commonjs/runtime/native/styles/functions/string-functions.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/functions/transform-functions.js +0 -121
- package/dist/commonjs/runtime/native/styles/functions/transform-functions.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/index.js +0 -115
- package/dist/commonjs/runtime/native/styles/index.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/resolve.js +0 -106
- package/dist/commonjs/runtime/native/styles/resolve.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/_handler.js +0 -79
- package/dist/commonjs/runtime/native/styles/shorthands/_handler.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/animation.js +0 -57
- package/dist/commonjs/runtime/native/styles/shorthands/animation.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/border.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js +0 -50
- package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/index.js +0 -61
- package/dist/commonjs/runtime/native/styles/shorthands/index.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/shorthands/transform.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/units.js +0 -52
- package/dist/commonjs/runtime/native/styles/units.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/variables.js +0 -79
- package/dist/commonjs/runtime/native/styles/variables.js.map +0 -1
- package/dist/commonjs/runtime/runtime.js.map +0 -1
- package/dist/commonjs/runtime/runtime.native.js.map +0 -1
- package/dist/commonjs/runtime/runtime.types.js.map +0 -1
- package/dist/commonjs/runtime/utils/components.js +0 -18
- package/dist/commonjs/runtime/utils/components.js.map +0 -1
- package/dist/commonjs/runtime/utils/dot-notation.types.js +0 -2
- package/dist/commonjs/runtime/utils/dot-notation.types.js.map +0 -1
- package/dist/commonjs/runtime/utils/index.js +0 -61
- package/dist/commonjs/runtime/utils/index.js.map +0 -1
- package/dist/commonjs/runtime/utils/objects.js.map +0 -1
- package/dist/commonjs/runtime/utils/specificity.js.map +0 -1
- package/dist/commonjs/runtime/utils/style-value.js +0 -21
- package/dist/commonjs/runtime/utils/style-value.js.map +0 -1
- package/dist/commonjs/runtime/utils/utils.types.js +0 -6
- package/dist/commonjs/runtime/utils/utils.types.js.map +0 -1
- package/dist/commonjs/runtime/web/api.js +0 -68
- package/dist/commonjs/runtime/web/api.js.map +0 -1
- package/dist/commonjs/runtime/web/assign-style.js +0 -27
- package/dist/commonjs/runtime/web/assign-style.js.map +0 -1
- package/dist/commonjs/runtime/web/index.js.map +0 -1
- package/dist/commonjs/runtime/web/metro.js +0 -6
- package/dist/commonjs/runtime/web/metro.js.map +0 -1
- package/dist/commonjs/style-collection/index.js +0 -110
- package/dist/commonjs/style-collection/index.js.map +0 -1
- package/dist/commonjs/style-collection/root.js +0 -28
- package/dist/commonjs/style-collection/root.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/poison.pill.js +0 -37
- package/dist/module/poison.pill.js.map +0 -1
- package/dist/module/runtime/index.js +0 -9
- package/dist/module/runtime/index.js.map +0 -1
- package/dist/module/runtime/native/api.js +0 -76
- package/dist/module/runtime/native/api.js.map +0 -1
- package/dist/module/runtime/native/conditions/attributes.js +0 -38
- package/dist/module/runtime/native/conditions/attributes.js.map +0 -1
- package/dist/module/runtime/native/conditions/container-query.js +0 -117
- package/dist/module/runtime/native/conditions/container-query.js.map +0 -1
- package/dist/module/runtime/native/conditions/guards.js.map +0 -1
- package/dist/module/runtime/native/conditions/index.js.map +0 -1
- package/dist/module/runtime/native/conditions/media-query.js +0 -93
- package/dist/module/runtime/native/conditions/media-query.js.map +0 -1
- package/dist/module/runtime/native/index.js +0 -5
- package/dist/module/runtime/native/index.js.map +0 -1
- package/dist/module/runtime/native/metro.js.map +0 -1
- package/dist/module/runtime/native/react/interaction.js +0 -59
- package/dist/module/runtime/native/react/interaction.js.map +0 -1
- package/dist/module/runtime/native/react/rules.js +0 -251
- package/dist/module/runtime/native/react/rules.js.map +0 -1
- package/dist/module/runtime/native/react/useNativeCss.js +0 -153
- package/dist/module/runtime/native/react/useNativeCss.js.map +0 -1
- package/dist/module/runtime/native/react/usePassthrough.js +0 -45
- package/dist/module/runtime/native/react/usePassthrough.js.map +0 -1
- package/dist/module/runtime/native/reactivity.js +0 -177
- package/dist/module/runtime/native/reactivity.js.map +0 -1
- package/dist/module/runtime/native/reanimated.js +0 -13
- package/dist/module/runtime/native/reanimated.js.map +0 -1
- package/dist/module/runtime/native/styles/calculate-props.js +0 -143
- package/dist/module/runtime/native/styles/calculate-props.js.map +0 -1
- package/dist/module/runtime/native/styles/constants.js.map +0 -1
- package/dist/module/runtime/native/styles/defaults.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/animation-timing.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/calc.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/filters.js +0 -70
- package/dist/module/runtime/native/styles/functions/filters.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/index.js +0 -10
- package/dist/module/runtime/native/styles/functions/index.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/numeric-functions.js +0 -25
- package/dist/module/runtime/native/styles/functions/numeric-functions.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/platform-functions.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/string-functions.js +0 -18
- package/dist/module/runtime/native/styles/functions/string-functions.js.map +0 -1
- package/dist/module/runtime/native/styles/functions/transform-functions.js +0 -114
- package/dist/module/runtime/native/styles/functions/transform-functions.js.map +0 -1
- package/dist/module/runtime/native/styles/index.js +0 -110
- package/dist/module/runtime/native/styles/index.js.map +0 -1
- package/dist/module/runtime/native/styles/resolve.js +0 -101
- package/dist/module/runtime/native/styles/resolve.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/_handler.js +0 -74
- package/dist/module/runtime/native/styles/shorthands/_handler.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/animation.js +0 -51
- package/dist/module/runtime/native/styles/shorthands/animation.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/border.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/box-shadow.js +0 -45
- package/dist/module/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/index.js +0 -8
- package/dist/module/runtime/native/styles/shorthands/index.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/text-shadow.js.map +0 -1
- package/dist/module/runtime/native/styles/shorthands/transform.js.map +0 -1
- package/dist/module/runtime/native/styles/units.js +0 -43
- package/dist/module/runtime/native/styles/units.js.map +0 -1
- package/dist/module/runtime/native/styles/variables.js +0 -75
- package/dist/module/runtime/native/styles/variables.js.map +0 -1
- package/dist/module/runtime/runtime.js.map +0 -1
- package/dist/module/runtime/runtime.native.js.map +0 -1
- package/dist/module/runtime/runtime.types.js.map +0 -1
- package/dist/module/runtime/utils/components.js +0 -14
- package/dist/module/runtime/utils/components.js.map +0 -1
- package/dist/module/runtime/utils/dot-notation.types.js +0 -2
- package/dist/module/runtime/utils/dot-notation.types.js.map +0 -1
- package/dist/module/runtime/utils/index.js +0 -8
- package/dist/module/runtime/utils/index.js.map +0 -1
- package/dist/module/runtime/utils/objects.js.map +0 -1
- package/dist/module/runtime/utils/specificity.js.map +0 -1
- package/dist/module/runtime/utils/style-value.js +0 -16
- package/dist/module/runtime/utils/style-value.js.map +0 -1
- package/dist/module/runtime/utils/utils.types.js +0 -4
- package/dist/module/runtime/utils/utils.types.js.map +0 -1
- package/dist/module/runtime/web/api.js +0 -59
- package/dist/module/runtime/web/api.js.map +0 -1
- package/dist/module/runtime/web/assign-style.js +0 -23
- package/dist/module/runtime/web/assign-style.js.map +0 -1
- package/dist/module/runtime/web/index.js.map +0 -1
- package/dist/module/runtime/web/metro.js +0 -5
- package/dist/module/runtime/web/metro.js.map +0 -1
- package/dist/module/style-collection/index.js +0 -95
- package/dist/module/style-collection/index.js.map +0 -1
- package/dist/module/style-collection/root.js +0 -24
- package/dist/module/style-collection/root.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 -3
- 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/poison.pill.d.ts +0 -2
- package/dist/typescript/commonjs/src/poison.pill.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/index.d.ts +0 -7
- package/dist/typescript/commonjs/src/runtime/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/api.d.ts +0 -19
- package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts +0 -5
- package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +0 -7
- package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +0 -6
- package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +0 -4
- package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/index.d.ts +0 -4
- package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts +0 -6
- package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +0 -55
- package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts +0 -10
- package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts +0 -12
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts +0 -8
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/numeric-functions.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/string-functions.d.ts +0 -3
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/string-functions.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +0 -19
- package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +0 -18
- package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts +0 -4
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts +0 -6
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +0 -5
- package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +0 -47
- package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +0 -2
- package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts +0 -23
- package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +0 -6
- package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +0 -13
- package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +0 -4
- package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +0 -5
- package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/web/api.d.ts +0 -10
- package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/runtime/web/metro.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/style-collection/index.d.ts +0 -14
- package/dist/typescript/commonjs/src/style-collection/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/style-collection/root.d.ts +0 -11
- package/dist/typescript/commonjs/src/style-collection/root.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 -3
- 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/poison.pill.d.ts +0 -2
- package/dist/typescript/module/src/poison.pill.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/index.d.ts +0 -7
- package/dist/typescript/module/src/runtime/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/api.d.ts +0 -19
- package/dist/typescript/module/src/runtime/native/api.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts +0 -5
- package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +0 -7
- package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts +0 -5
- package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +0 -6
- package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +0 -4
- package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/index.d.ts +0 -4
- package/dist/typescript/module/src/runtime/native/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/metro.d.ts +0 -2
- package/dist/typescript/module/src/runtime/native/metro.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/react/interaction.d.ts +0 -6
- package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/react/rules.d.ts +0 -7
- package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts +0 -38
- package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts +0 -4
- package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/reactivity.d.ts +0 -55
- package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/reanimated.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts +0 -10
- package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts +0 -4
- package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts +0 -3
- package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts +0 -12
- package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts +0 -8
- package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/numeric-functions.d.ts +0 -5
- package/dist/typescript/module/src/runtime/native/styles/functions/numeric-functions.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts +0 -8
- package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/string-functions.d.ts +0 -3
- package/dist/typescript/module/src/runtime/native/styles/functions/string-functions.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts +0 -5
- package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/index.d.ts +0 -19
- package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +0 -18
- package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts +0 -11
- package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts +0 -4
- package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts +0 -2
- package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts +0 -3
- package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts +0 -6
- package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts +0 -2
- package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts +0 -7
- package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/units.d.ts +0 -6
- package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +0 -5
- package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/runtime.d.ts +0 -2
- package/dist/typescript/module/src/runtime/runtime.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/runtime.native.d.ts +0 -2
- package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/runtime.types.d.ts +0 -47
- package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/components.d.ts +0 -2
- package/dist/typescript/module/src/runtime/utils/components.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts +0 -23
- package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/index.d.ts +0 -6
- package/dist/typescript/module/src/runtime/utils/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/specificity.d.ts +0 -13
- package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/style-value.d.ts +0 -4
- package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +0 -5
- package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/web/api.d.ts +0 -10
- package/dist/typescript/module/src/runtime/web/api.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/web/index.d.ts +0 -4
- package/dist/typescript/module/src/runtime/web/index.d.ts.map +0 -1
- package/dist/typescript/module/src/runtime/web/metro.d.ts +0 -2
- package/dist/typescript/module/src/runtime/web/metro.d.ts.map +0 -1
- package/dist/typescript/module/src/style-collection/index.d.ts +0 -14
- package/dist/typescript/module/src/style-collection/index.d.ts.map +0 -1
- package/dist/typescript/module/src/style-collection/root.d.ts +0 -11
- package/dist/typescript/module/src/style-collection/root.d.ts.map +0 -1
- package/src/compiler/inheritance.test.ts +0 -121
- package/src/components/index.tsx +0 -10
- package/src/runtime/index.ts +0 -7
- package/src/runtime/native/api.ts +0 -108
- package/src/runtime/native/conditions/attributes.ts +0 -52
- package/src/runtime/native/conditions/container-query.ts +0 -162
- package/src/runtime/native/conditions/index.ts +0 -54
- package/src/runtime/native/conditions/media-query.ts +0 -98
- package/src/runtime/native/index.ts +0 -4
- package/src/runtime/native/react/interaction.ts +0 -90
- package/src/runtime/native/react/rules.ts +0 -336
- package/src/runtime/native/react/useNativeCss.ts +0 -203
- package/src/runtime/native/react/usePassthrough.ts +0 -51
- package/src/runtime/native/reactivity.ts +0 -255
- package/src/runtime/native/reanimated.ts +0 -22
- package/src/runtime/native/styles/calculate-props.ts +0 -197
- package/src/runtime/native/styles/functions/filters.ts +0 -98
- package/src/runtime/native/styles/functions/index.ts +0 -7
- package/src/runtime/native/styles/functions/numeric-functions.ts +0 -38
- package/src/runtime/native/styles/functions/string-functions.ts +0 -22
- package/src/runtime/native/styles/functions/transform-functions.ts +0 -84
- package/src/runtime/native/styles/index.ts +0 -197
- package/src/runtime/native/styles/resolve.ts +0 -162
- package/src/runtime/native/styles/shorthands/_handler.ts +0 -121
- package/src/runtime/native/styles/shorthands/animation.ts +0 -123
- package/src/runtime/native/styles/shorthands/box-shadow.ts +0 -74
- package/src/runtime/native/styles/shorthands/index.ts +0 -5
- package/src/runtime/native/styles/units.ts +0 -57
- package/src/runtime/native/styles/variables.ts +0 -88
- package/src/runtime/runtime.types.ts +0 -130
- package/src/runtime/utils/components.ts +0 -15
- package/src/runtime/utils/dot-notation.types.ts +0 -118
- package/src/runtime/utils/index.ts +0 -5
- package/src/runtime/utils/specificity.ts +0 -45
- package/src/runtime/utils/style-value.ts +0 -24
- package/src/runtime/utils/utils.types.ts +0 -19
- package/src/runtime/web/api.ts +0 -88
- package/src/runtime/web/assign-style.ts +0 -26
- package/src/runtime/web/metro.ts +0 -2
- package/src/style-collection/index.ts +0 -142
- package/src/style-collection/root.ts +0 -35
- /package/dist/commonjs/{runtime/native → native}/conditions/guards.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/conditions/index.js +0 -0
- /package/dist/commonjs/{runtime/utils → native}/objects.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/constants.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/defaults.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/functions/animation-timing.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/functions/calc.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/shorthands/border.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/shorthands/text-shadow.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/shorthands/transform.js +0 -0
- /package/dist/commonjs/{runtime/runtime.js → runtime.js} +0 -0
- /package/dist/commonjs/{runtime/runtime.native.js → runtime.native.js} +0 -0
- /package/dist/commonjs/{runtime/runtime.types.js → runtime.types.js} +0 -0
- /package/dist/commonjs/{runtime/utils → utilities}/specificity.js +0 -0
- /package/dist/commonjs/{runtime/web → web}/index.js +0 -0
- /package/dist/commonjs/{runtime/native → web}/metro.js +0 -0
- /package/dist/module/{runtime/native → native}/conditions/guards.js +0 -0
- /package/dist/module/{runtime/native → native}/conditions/index.js +0 -0
- /package/dist/module/{runtime/utils → native}/objects.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/constants.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/defaults.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/functions/animation-timing.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/functions/calc.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/shorthands/border.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/shorthands/text-shadow.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/shorthands/transform.js +0 -0
- /package/dist/module/{runtime/runtime.js → runtime.js} +0 -0
- /package/dist/module/{runtime/runtime.native.js → runtime.native.js} +0 -0
- /package/dist/module/{runtime/runtime.types.js → runtime.types.js} +0 -0
- /package/dist/module/{runtime/utils → utilities}/specificity.js +0 -0
- /package/dist/module/{runtime/web → web}/index.js +0 -0
- /package/dist/module/{runtime/native → web}/metro.js +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/conditions/guards.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/utils → native}/objects.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/react/rules.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/react/useNativeCss.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/react/usePassthrough.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/reanimated.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/constants.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/defaults.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/animation-timing.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/calc.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/numeric-functions.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/platform-functions.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/transform-functions.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/_handler.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/border.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/box-shadow.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/text-shadow.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/transform.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/units.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/runtime.d.ts → runtime.d.ts} +0 -0
- /package/dist/typescript/commonjs/src/{runtime/runtime.native.d.ts → runtime.native.d.ts} +0 -0
- /package/dist/typescript/commonjs/src/{runtime/web → web}/assign-style.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/web → web}/index.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → web}/metro.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/utils → native}/objects.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/reanimated.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/constants.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/defaults.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/web → web}/assign-style.d.ts +0 -0
- /package/dist/typescript/{commonjs/src/runtime → module/src}/web/metro.d.ts +0 -0
- /package/src/{runtime/native → native}/conditions/guards.ts +0 -0
- /package/src/{runtime/utils → native}/objects.ts +0 -0
- /package/src/{poison.pill.ts → native/react-native-css-metro-override.ts} +0 -0
- /package/src/{runtime/native → native}/styles/constants.ts +0 -0
- /package/src/{runtime/native → native}/styles/defaults.ts +0 -0
- /package/src/{runtime/native → native}/styles/functions/animation-timing.ts +0 -0
- /package/src/{runtime/native → native}/styles/functions/calc.ts +0 -0
- /package/src/{runtime/native → native}/styles/functions/platform-functions.ts +0 -0
- /package/src/{runtime/native → native}/styles/shorthands/border.ts +0 -0
- /package/src/{runtime/native → native}/styles/shorthands/text-shadow.ts +0 -0
- /package/src/{runtime/native → native}/styles/shorthands/transform.ts +0 -0
- /package/src/{runtime/runtime.native.ts → runtime.native.ts} +0 -0
- /package/src/{runtime/runtime.ts → runtime.ts} +0 -0
- /package/src/{runtime/web → web}/index.ts +0 -0
- /package/src/{runtime/native → web}/metro.ts +0 -0
|
@@ -3,50 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.isMappingProperty = isMappingProperty;
|
|
6
7
|
exports.maybeMutateReactNativeOptions = maybeMutateReactNativeOptions;
|
|
7
8
|
exports.parsePropAtRule = parsePropAtRule;
|
|
9
|
+
exports.parsePropDeclarations = parsePropDeclarations;
|
|
8
10
|
var _selectors = require("./selectors.js");
|
|
9
11
|
var _splitByDelimiter = require("./split-by-delimiter.js");
|
|
10
12
|
/***********************************************
|
|
11
13
|
* @react-native *
|
|
12
14
|
***********************************************/
|
|
13
15
|
|
|
14
|
-
function maybeMutateReactNativeOptions(rule,
|
|
16
|
+
function maybeMutateReactNativeOptions(rule, _builder) {
|
|
15
17
|
if (rule.type !== "custom" || rule.value?.name !== "react-native") {
|
|
16
18
|
return;
|
|
17
19
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} = rule.value.body.value;
|
|
21
|
-
if (!declarations) return;
|
|
22
|
-
for (const declaration of declarations) {
|
|
23
|
-
if (declaration.property !== "custom") continue;
|
|
24
|
-
switch (declaration.value.name) {
|
|
25
|
-
case "preserve-variables":
|
|
26
|
-
{
|
|
27
|
-
declaration.value.value.forEach(token => {
|
|
28
|
-
if (token.type !== "dashed-ident") {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
if (token.value !== "true" && token.value !== "false") {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
builder.setOptions("preserveVariables", token.value === "true");
|
|
35
|
-
});
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
default:
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
20
|
+
|
|
21
|
+
// TODO: Add inline options
|
|
42
22
|
}
|
|
43
23
|
|
|
44
24
|
/***********************************************
|
|
45
|
-
* @
|
|
25
|
+
* @nativeMapping *
|
|
46
26
|
***********************************************/
|
|
47
27
|
|
|
48
|
-
function
|
|
49
|
-
return rule.type === "unknown" && rule.value.name === "
|
|
28
|
+
function isNativeMappingAtRule(rule) {
|
|
29
|
+
return rule.type === "unknown" && rule.value.name === "nativeMapping";
|
|
50
30
|
}
|
|
51
31
|
function parsePropAtRule(rules) {
|
|
52
32
|
// Include any default mapping here
|
|
@@ -57,16 +37,18 @@ function parsePropAtRule(rules) {
|
|
|
57
37
|
"stroke-width": ["strokeWidth"],
|
|
58
38
|
"-webkit-line-clamp": ["numberOfLines"],
|
|
59
39
|
"-rn-ripple-color": ["android_ripple", "color"],
|
|
60
|
-
"-rn-ripple-style": ["android_ripple", "borderless"]
|
|
40
|
+
"-rn-ripple-style": ["android_ripple", "borderless"],
|
|
41
|
+
"-rn-ripple-radius": ["android_ripple", "radius"],
|
|
42
|
+
"-rn-ripple-layer": ["android_ripple", "foreground"]
|
|
61
43
|
};
|
|
62
44
|
if (!rules) return mapping;
|
|
63
45
|
for (const rule of rules) {
|
|
64
|
-
if (!
|
|
46
|
+
if (!isNativeMappingAtRule(rule)) continue;
|
|
65
47
|
if (rule.value.prelude.length > 0) {
|
|
66
48
|
const prelude = rule.value.prelude.filter(item => {
|
|
67
49
|
return item.value.type !== "white-space";
|
|
68
50
|
});
|
|
69
|
-
|
|
51
|
+
nativeMappingAtRuleBlock(prelude, mapping);
|
|
70
52
|
} else if (rule.value.block) {
|
|
71
53
|
// Remove all whitespace tokens
|
|
72
54
|
const blocks = rule.value.block.filter(item => {
|
|
@@ -78,37 +60,84 @@ function parsePropAtRule(rules) {
|
|
|
78
60
|
return item.value.type === "semicolon";
|
|
79
61
|
});
|
|
80
62
|
for (const block of blockRules) {
|
|
81
|
-
|
|
63
|
+
nativeMappingAtRuleBlock(block, mapping);
|
|
82
64
|
}
|
|
83
65
|
}
|
|
84
66
|
}
|
|
85
67
|
return mapping;
|
|
86
68
|
}
|
|
87
|
-
|
|
88
|
-
|
|
69
|
+
const mappingProperty = "-rn-native-mapping";
|
|
70
|
+
function isMappingProperty(name) {
|
|
71
|
+
return name === mappingProperty || name.startsWith(`${mappingProperty}-`);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** Declaration metadata survives the optimizer flattening nested at rules. */
|
|
75
|
+
function parsePropDeclarations(declarations = []) {
|
|
76
|
+
const mapping = {};
|
|
77
|
+
for (const declaration of declarations) {
|
|
78
|
+
if (declaration.property !== "custom" || !isMappingProperty(declaration.value.name)) {
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
const {
|
|
82
|
+
name,
|
|
83
|
+
value
|
|
84
|
+
} = declaration.value;
|
|
85
|
+
const target = value.filter(item => item.type === "token" && item.value.type !== "white-space");
|
|
86
|
+
if (target.length === 0) continue;
|
|
87
|
+
nativeMappingAtRuleBlock([{
|
|
88
|
+
type: "token",
|
|
89
|
+
value: {
|
|
90
|
+
type: "ident",
|
|
91
|
+
value: name === mappingProperty ? "*" : name.slice(mappingProperty.length + 1)
|
|
92
|
+
}
|
|
93
|
+
}, {
|
|
94
|
+
type: "token",
|
|
95
|
+
value: {
|
|
96
|
+
type: "colon"
|
|
97
|
+
}
|
|
98
|
+
}, ...target], mapping);
|
|
99
|
+
}
|
|
100
|
+
return mapping;
|
|
101
|
+
}
|
|
102
|
+
function nativeMappingAtRuleBlock(token, mapping = {}) {
|
|
103
|
+
let [from, to] = (0, _splitByDelimiter.splitByDelimiter)(token, item => {
|
|
89
104
|
return item.value.type === "colon";
|
|
90
105
|
});
|
|
91
|
-
|
|
106
|
+
|
|
107
|
+
// @nativeMapping <to>; (has no from value)
|
|
108
|
+
if (!to) {
|
|
109
|
+
to = from;
|
|
110
|
+
from = [{
|
|
111
|
+
type: "token",
|
|
112
|
+
value: {
|
|
113
|
+
type: "ident",
|
|
114
|
+
value: "*"
|
|
115
|
+
}
|
|
116
|
+
}];
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// We can only map from a single property
|
|
120
|
+
if (!from || from.length !== 1 || !to) {
|
|
92
121
|
return mapping;
|
|
93
122
|
}
|
|
94
123
|
const fromToken = from[0];
|
|
95
124
|
if (!fromToken || fromToken.value.type !== "ident") {
|
|
96
125
|
return mapping;
|
|
97
126
|
}
|
|
98
|
-
|
|
99
|
-
mapping["*"] = (0, _selectors.toRNProperty)(fromToken.value.value);
|
|
100
|
-
return mapping;
|
|
101
|
-
}
|
|
102
|
-
mapping[(0, _selectors.toRNProperty)(fromToken.value.value)] = to.flatMap((item, index) => {
|
|
127
|
+
let value = to.flatMap((item, index) => {
|
|
103
128
|
switch (item.value.type) {
|
|
104
129
|
case "delim":
|
|
105
|
-
return index === 0 && item.value.value === "
|
|
130
|
+
return index === 0 && item.value.value === "&" ? ["&"] : [];
|
|
106
131
|
case "ident":
|
|
107
|
-
return
|
|
132
|
+
return item.value.value.split(".").map(part => (0, _selectors.toRNProperty)(part));
|
|
108
133
|
default:
|
|
109
134
|
return [];
|
|
110
135
|
}
|
|
111
136
|
});
|
|
137
|
+
if (value.length === 2 && value[0] === "&" && value[1]) {
|
|
138
|
+
value = value[1];
|
|
139
|
+
}
|
|
140
|
+
mapping[(0, _selectors.toRNProperty)(fromToken.value.value)] = value;
|
|
112
141
|
return mapping;
|
|
113
142
|
}
|
|
114
143
|
//# sourceMappingURL=atRules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_selectors","require","_splitByDelimiter","maybeMutateReactNativeOptions","rule","
|
|
1
|
+
{"version":3,"names":["_selectors","require","_splitByDelimiter","maybeMutateReactNativeOptions","rule","_builder","type","value","name","isNativeMappingAtRule","parsePropAtRule","rules","mapping","prelude","length","filter","item","nativeMappingAtRuleBlock","block","blocks","blockRules","splitByDelimiter","mappingProperty","isMappingProperty","startsWith","parsePropDeclarations","declarations","declaration","property","target","slice","token","from","to","fromToken","flatMap","index","split","map","part","toRNProperty"],"sourceRoot":"../../../src","sources":["compiler/atRules.ts"],"mappings":";;;;;;;;;AASA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAYA;AACA;AACA;;AAcO,SAASE,6BAA6BA,CAC3CC,IAA8B,EAC9BC,QAA2B,EAC3B;EACA,IAAID,IAAI,CAACE,IAAI,KAAK,QAAQ,IAAIF,IAAI,CAACG,KAAK,EAAEC,IAAI,KAAK,cAAc,EAAE;IACjE;EACF;;EAEA;AACF;;AAEA;AACA;AACA;;AAEA,SAASC,qBAAqBA,CAACL,IAAuB,EAAsB;EAC1E,OAAOA,IAAI,CAACE,IAAI,KAAK,SAAS,IAAIF,IAAI,CAACG,KAAK,CAACC,IAAI,KAAK,eAAe;AACvE;AAEO,SAASE,eAAeA,CAACC,KAA6B,EAAE;EAC7D;EACA,MAAMC,OAAyB,GAAG;IAChC,aAAa,EAAE,CAAC,aAAa,CAAC;IAC9B,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,cAAc,EAAE,CAAC,aAAa,CAAC;IAC/B,oBAAoB,EAAE,CAAC,eAAe,CAAC;IACvC,kBAAkB,EAAE,CAAC,gBAAgB,EAAE,OAAO,CAAC;IAC/C,kBAAkB,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;IACpD,mBAAmB,EAAE,CAAC,gBAAgB,EAAE,QAAQ,CAAC;IACjD,kBAAkB,EAAE,CAAC,gBAAgB,EAAE,YAAY;EACrD,CAAC;EAED,IAAI,CAACD,KAAK,EAAE,OAAOC,OAAO;EAE1B,KAAK,MAAMR,IAAI,IAAIO,KAAK,EAAE;IACxB,IAAI,CAACF,qBAAqB,CAACL,IAAI,CAAC,EAAE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EAEA,MAAMsB,SAAS,GAAGF,IAAI,CAAC,CAAC,CAAC;EACzB,IAAI,CAACE,SAAS,IAAIA,SAAS,CAAC3B,KAAK,CAACD,IAAI,KAAK,OAAO,EAAE;IAClD,OAAOM,OAAO;EAChB;EAEA,IAAIL,KAAwB,GAAG0B,EAAE,CAACE,OAAO,CAAC,CAACnB,IAAI,EAAEoB,KAAK,KAAK;IACzD,QAAQpB,IAAI,CAACT,KAAK,CAACD,IAAI;MACrB,KAAK,OAAO;QACV,OAAO8B,KAAK,KAAK,CAAC,IAAIpB,IAAI,CAACT,KAAK,CAACA,KAAK,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE;MAC7D,KAAK,OAAO;QACV,OAAOS,IAAI,CAACT,KAAK,CAACA,KAAK,CAAC8B,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAEC,IAAI,IAAK,IAAAC,uBAAY,EAACD,IAAI,CAAC,CAAC;MACtE;QACE,OAAO,EAAE;IACb;EACF,CAAC,CAAC;EAEF,IAAIhC,KAAK,CAACO,MAAM,KAAK,CAAC,IAAIP,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,IAAIA,KAAK,CAAC,CAAC,CAAC,EAAE;IACtDA,KAAK,GAAGA,KAAK,CAAC,CAAC,CAAC;EAClB;EAEAK,OAAO,CAAC,IAAA4B,uBAAY,EAACN,SAAS,CAAC3B,KAAK,CAACA,KAAK,CAAC,CAAC,GAAGA,KAAK;EAEpD,OAAOK,OAAO;AAChB","ignoreList":[]}
|
|
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.compile = compile;
|
|
7
7
|
var _nodeUtil = require("node:util");
|
|
8
8
|
var _debug = require("debug");
|
|
9
|
-
var _lightningcss = require("lightningcss");
|
|
10
9
|
var _atRules = require("./atRules.js");
|
|
11
10
|
var _containerQuery = require("./container-query.js");
|
|
12
11
|
var _declarations = require("./declarations.js");
|
|
12
|
+
var _inlineVariables = require("./inline-variables.js");
|
|
13
13
|
var _keyframes = require("./keyframes.js");
|
|
14
|
+
var _lightningcssLoader = require("./lightningcss-loader.js");
|
|
14
15
|
var _mediaQuery = require("./media-query.js");
|
|
15
16
|
var _stylesheet = require("./stylesheet.js");
|
|
16
17
|
var _supports = require("./supports.js");
|
|
@@ -18,6 +19,18 @@ var _supports = require("./supports.js");
|
|
|
18
19
|
|
|
19
20
|
const defaultLogger = (0, _debug.debug)("react-native-css:compiler");
|
|
20
21
|
|
|
22
|
+
// lightningcss reports this package's own at-rule as unknown
|
|
23
|
+
const OWN_AT_RULE_WARNING = "Unknown at rule: @nativeMapping";
|
|
24
|
+
|
|
25
|
+
// The warning is the only record of what lightningcss could not parse; only the first pass reads the author's CSS
|
|
26
|
+
function reportSyntaxWarnings(builder, warnings) {
|
|
27
|
+
for (const warning of warnings) {
|
|
28
|
+
if (warning.message !== OWN_AT_RULE_WARNING) {
|
|
29
|
+
builder.addSyntaxWarning(warning.message);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
21
34
|
/**
|
|
22
35
|
* Converts a CSS file to a collection of style declarations that can be used with the StyleSheet API
|
|
23
36
|
*
|
|
@@ -41,7 +54,100 @@ function compile(code, options = {}) {
|
|
|
41
54
|
}
|
|
42
55
|
}
|
|
43
56
|
const builder = new _stylesheet.StylesheetBuilder(options);
|
|
44
|
-
|
|
57
|
+
const {
|
|
58
|
+
lightningcss,
|
|
59
|
+
Features
|
|
60
|
+
} = (0, _lightningcssLoader.lightningcssLoader)();
|
|
61
|
+
logger(`Lightningcss first pass`);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Use the lightningcss library to traverse the CSS AST and extract style declarations and animations
|
|
65
|
+
*
|
|
66
|
+
* devongovett on Aug 20, 2023
|
|
67
|
+
* > calc simplification happens during the initial parse phase, which is before custom visitors run. Currently there is not an additional simplification pass done after transforms, resulting in the output you see here.
|
|
68
|
+
* https://github.com/parcel-bundler/lightningcss/issues/554#issuecomment-1685143494
|
|
69
|
+
*
|
|
70
|
+
* Due to the above issue, we run lightningcss twice
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
const vars = new Map();
|
|
74
|
+
|
|
75
|
+
// Determine the effective rem multiplier for compile-time inlining.
|
|
76
|
+
// If inlineRem is explicitly set, use that. Otherwise, scan for
|
|
77
|
+
// :root { font-size: Npx } in the CSS to allow CSS-based configuration.
|
|
78
|
+
let effectiveRem = options.inlineRem ?? undefined;
|
|
79
|
+
if (effectiveRem === undefined) {
|
|
80
|
+
const css = typeof code === "string" ? code : code.toString();
|
|
81
|
+
const match = css.match(/:root\s*\{[^}]*font-size:\s*([\d.]+)px/);
|
|
82
|
+
effectiveRem = match?.[1] ? parseFloat(match[1]) : 14;
|
|
83
|
+
options.inlineRem = effectiveRem;
|
|
84
|
+
}
|
|
85
|
+
const firstPassVisitor = {
|
|
86
|
+
Rule(rule) {
|
|
87
|
+
if (rule.type === "unknown" && ["cssInterop", "react-native"].includes(rule.value.name)) {
|
|
88
|
+
throw new Error(`Unsupported @${rule.value.name} configuration. Use the compiler inlineVariables.exclude option to preserve variables, @media (prefers-color-scheme: dark) for dark mode, and React Native Appearance.setColorScheme() for manual selection.`);
|
|
89
|
+
}
|
|
90
|
+
// Reject before variable inlining can erase an unsupported condition and
|
|
91
|
+
// accidentally turn its values into unconditional declarations.
|
|
92
|
+
if (rule.type === "style" && rule.value.selectors.some(selector => selector.some(part => part.type === "pseudo-class" && part.kind === "root") && selector.some(part => part.type === "class" || part.type === "attribute" && part.name === "class"))) {
|
|
93
|
+
throw new Error("Class-qualified :root selectors are unsupported on native. Use @media (prefers-color-scheme: dark) for dark mode, and React Native Appearance.setColorScheme() for manual selection.");
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
if (effectiveRem !== false) {
|
|
98
|
+
const remMultiplier = effectiveRem;
|
|
99
|
+
firstPassVisitor.Length = length => {
|
|
100
|
+
if (length.unit !== "rem") {
|
|
101
|
+
return length;
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
unit: "px",
|
|
105
|
+
value: (0, _declarations.round)(length.value * remMultiplier)
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
if (options.inlineVariables !== false) {
|
|
110
|
+
const exclusionList = options.inlineVariables?.exclude ?? [];
|
|
111
|
+
firstPassVisitor.Declaration = decl => {
|
|
112
|
+
if (decl.property === "custom" && decl.value.name.startsWith("--") && !exclusionList.includes(decl.value.name)) {
|
|
113
|
+
const entry = vars.get(decl.value.name) ?? {
|
|
114
|
+
count: 0,
|
|
115
|
+
value: [...decl.value.value, {
|
|
116
|
+
type: "token",
|
|
117
|
+
value: {
|
|
118
|
+
type: "white-space",
|
|
119
|
+
value: " "
|
|
120
|
+
}
|
|
121
|
+
}]
|
|
122
|
+
};
|
|
123
|
+
entry.count++;
|
|
124
|
+
vars.set(decl.value.name, entry);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
firstPassVisitor.StyleSheetExit = sheet => {
|
|
128
|
+
return (0, _inlineVariables.inlineVariables)(sheet, vars);
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
const {
|
|
132
|
+
code: firstPass,
|
|
133
|
+
warnings: firstPassWarnings
|
|
134
|
+
} = lightningcss({
|
|
135
|
+
code: typeof code === "string" ? new TextEncoder().encode(code) : code,
|
|
136
|
+
include: Features.DoublePositionGradients | Features.ColorFunction,
|
|
137
|
+
exclude: Features.VendorPrefixes,
|
|
138
|
+
visitor: firstPassVisitor,
|
|
139
|
+
filename: options.filename ?? "style.css",
|
|
140
|
+
projectRoot: options.projectRoot ?? process.cwd()
|
|
141
|
+
});
|
|
142
|
+
if (isLoggerEnabled) {
|
|
143
|
+
const MAX_LOG_SIZE = 100 * 1024; // 100KB
|
|
144
|
+
if (firstPass.length <= MAX_LOG_SIZE) {
|
|
145
|
+
logger(firstPass.toString());
|
|
146
|
+
} else {
|
|
147
|
+
logger(`firstPass buffer too large to log in full (${firstPass.length} bytes). Preview: ` + firstPass.subarray(0, 1024).toString() + "...");
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
logger(`Lightningcss second pass`);
|
|
45
151
|
const customAtRules = {
|
|
46
152
|
"react-native": {
|
|
47
153
|
body: "declaration-list"
|
|
@@ -50,6 +156,7 @@ function compile(code, options = {}) {
|
|
|
50
156
|
const visitor = {
|
|
51
157
|
Rule(rule) {
|
|
52
158
|
(0, _atRules.maybeMutateReactNativeOptions)(rule, builder);
|
|
159
|
+
return rule;
|
|
53
160
|
},
|
|
54
161
|
StyleSheetExit(sheet) {
|
|
55
162
|
if (isLoggerEnabled) {
|
|
@@ -66,35 +173,16 @@ function compile(code, options = {}) {
|
|
|
66
173
|
// We have processed this rule, so now delete it from the AST
|
|
67
174
|
}
|
|
68
175
|
logger(`Exiting lightningcss`);
|
|
176
|
+
return sheet;
|
|
69
177
|
}
|
|
70
178
|
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (token.type === "function") {
|
|
74
|
-
token.value.arguments.forEach(token => onVarUsage(token));
|
|
75
|
-
} else if (token.type === "var") {
|
|
76
|
-
builder.varUsage.add(token.value.name.ident);
|
|
77
|
-
if (token.value.fallback) {
|
|
78
|
-
const fallbackValues = token.value.fallback;
|
|
79
|
-
fallbackValues.forEach(varObj => onVarUsage(varObj));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
visitor.Declaration = decl => {
|
|
84
|
-
if (decl.property === "unparsed" || decl.property === "custom") {
|
|
85
|
-
decl.value.value.forEach(token => onVarUsage(token));
|
|
86
|
-
}
|
|
87
|
-
return decl;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// Use the lightningcss library to traverse the CSS AST and extract style declarations and animations
|
|
92
|
-
(0, _lightningcss.transform)({
|
|
93
|
-
code: typeof code === "string" ? new TextEncoder().encode(code) : code,
|
|
179
|
+
lightningcss({
|
|
180
|
+
code: firstPass,
|
|
94
181
|
visitor,
|
|
95
182
|
filename: options.filename ?? "style.css",
|
|
96
183
|
projectRoot: options.projectRoot ?? process.cwd()
|
|
97
184
|
});
|
|
185
|
+
reportSyntaxWarnings(builder, firstPassWarnings);
|
|
98
186
|
return {
|
|
99
187
|
stylesheet: () => builder.getNativeStyleSheet(),
|
|
100
188
|
warnings: () => builder.getWarnings()
|
|
@@ -104,7 +192,7 @@ function compile(code, options = {}) {
|
|
|
104
192
|
/**
|
|
105
193
|
* Extracts style declarations and animations from a given CSS rule, based on its type.
|
|
106
194
|
*/
|
|
107
|
-
function extractRule(rule, builder) {
|
|
195
|
+
function extractRule(rule, builder, mapping = {}) {
|
|
108
196
|
// Check the rule's type to determine which extraction function to call
|
|
109
197
|
switch (rule.type) {
|
|
110
198
|
case "keyframes":
|
|
@@ -116,13 +204,13 @@ function extractRule(rule, builder) {
|
|
|
116
204
|
case "container":
|
|
117
205
|
{
|
|
118
206
|
// If the rule is a container, extract it with the `extractedContainer` function
|
|
119
|
-
extractContainer(rule.value, builder);
|
|
207
|
+
extractContainer(rule.value, builder, mapping);
|
|
120
208
|
break;
|
|
121
209
|
}
|
|
122
210
|
case "media":
|
|
123
211
|
{
|
|
124
212
|
// If the rule is a media query, extract it with the `extractMedia` function
|
|
125
|
-
extractMedia(rule.value, builder);
|
|
213
|
+
extractMedia(rule.value, builder, mapping);
|
|
126
214
|
break;
|
|
127
215
|
}
|
|
128
216
|
case "nested-declarations":
|
|
@@ -131,7 +219,9 @@ function extractRule(rule, builder) {
|
|
|
131
219
|
const declarationBlock = value.declarations;
|
|
132
220
|
if (declarationBlock) {
|
|
133
221
|
if (declarationBlock.declarations?.length) {
|
|
134
|
-
builder.newNestedRule(
|
|
222
|
+
builder.newNestedRule({
|
|
223
|
+
mapping
|
|
224
|
+
});
|
|
135
225
|
for (const declaration of declarationBlock.declarations) {
|
|
136
226
|
(0, _declarations.parseDeclaration)(declaration, builder);
|
|
137
227
|
}
|
|
@@ -139,6 +229,7 @@ function extractRule(rule, builder) {
|
|
|
139
229
|
}
|
|
140
230
|
if (declarationBlock.importantDeclarations?.length) {
|
|
141
231
|
builder.newNestedRule({
|
|
232
|
+
mapping,
|
|
142
233
|
important: true
|
|
143
234
|
});
|
|
144
235
|
for (const declaration of declarationBlock.importantDeclarations) {
|
|
@@ -153,19 +244,24 @@ function extractRule(rule, builder) {
|
|
|
153
244
|
{
|
|
154
245
|
const value = rule.value;
|
|
155
246
|
const declarationBlock = value.declarations;
|
|
156
|
-
|
|
247
|
+
mapping = {
|
|
248
|
+
...mapping,
|
|
249
|
+
...(0, _atRules.parsePropAtRule)(value.rules),
|
|
250
|
+
...(0, _atRules.parsePropDeclarations)(declarationBlock?.declarations),
|
|
251
|
+
...(0, _atRules.parsePropDeclarations)(declarationBlock?.importantDeclarations)
|
|
252
|
+
};
|
|
157
253
|
|
|
158
254
|
// If the rule is a style declaration, extract it with the `getExtractedStyle` function and store it in the `declarations` map
|
|
159
255
|
builder = builder.fork("style", value.selectors);
|
|
160
256
|
if (declarationBlock) {
|
|
161
|
-
if (declarationBlock.declarations) {
|
|
257
|
+
if (declarationBlock.declarations?.length) {
|
|
162
258
|
builder.newRule(mapping);
|
|
163
259
|
for (const declaration of declarationBlock.declarations) {
|
|
164
260
|
(0, _declarations.parseDeclaration)(declaration, builder);
|
|
165
261
|
}
|
|
166
262
|
builder.applyRuleToSelectors();
|
|
167
263
|
}
|
|
168
|
-
if (declarationBlock.importantDeclarations) {
|
|
264
|
+
if (declarationBlock.importantDeclarations?.length) {
|
|
169
265
|
builder.newRule(mapping, {
|
|
170
266
|
important: true
|
|
171
267
|
});
|
|
@@ -177,30 +273,32 @@ function extractRule(rule, builder) {
|
|
|
177
273
|
}
|
|
178
274
|
if (value.rules) {
|
|
179
275
|
for (const nestedRule of value.rules) {
|
|
180
|
-
extractRule(nestedRule, builder);
|
|
276
|
+
extractRule(nestedRule, builder, mapping);
|
|
181
277
|
}
|
|
182
278
|
}
|
|
183
279
|
break;
|
|
184
280
|
}
|
|
185
281
|
case "layer-block":
|
|
186
282
|
for (const layerRule of rule.value.rules) {
|
|
187
|
-
extractRule(layerRule, builder);
|
|
283
|
+
extractRule(layerRule, builder, mapping);
|
|
188
284
|
}
|
|
189
285
|
break;
|
|
190
286
|
case "supports":
|
|
191
287
|
if ((0, _supports.supportsConditionValid)(rule.value.condition)) {
|
|
192
288
|
for (const layerRule of rule.value.rules) {
|
|
193
|
-
extractRule(layerRule, builder);
|
|
289
|
+
extractRule(layerRule, builder, mapping);
|
|
194
290
|
}
|
|
195
291
|
}
|
|
196
292
|
break;
|
|
293
|
+
case "property":
|
|
294
|
+
extractPropertyRule(rule.value, builder);
|
|
295
|
+
break;
|
|
197
296
|
case "custom":
|
|
198
297
|
case "font-face":
|
|
199
298
|
case "font-palette-values":
|
|
200
299
|
case "font-feature-values":
|
|
201
300
|
case "namespace":
|
|
202
301
|
case "layer-statement":
|
|
203
|
-
case "property":
|
|
204
302
|
case "view-transition":
|
|
205
303
|
case "ignored":
|
|
206
304
|
case "unknown":
|
|
@@ -227,34 +325,17 @@ function extractRule(rule, builder) {
|
|
|
227
325
|
*
|
|
228
326
|
* @returns undefined if no screen media queries are found in the mediaRule, else it returns the extracted styles.
|
|
229
327
|
*/
|
|
230
|
-
function extractMedia(mediaRule, builder) {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
// Initialize an empty array to store screen media queries
|
|
234
|
-
const media = [];
|
|
235
|
-
|
|
236
|
-
// Iterate over all media queries in the mediaRule
|
|
328
|
+
function extractMedia(mediaRule, builder, mapping) {
|
|
329
|
+
// Comma separated queries are alternatives. Each branch inherits the outer
|
|
330
|
+
// conditions without adding its siblings as required conjunctions.
|
|
237
331
|
for (const mediaQuery of mediaRule.query.mediaQueries) {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
mediaQuery.mediaType === "print" && mediaQuery.qualifier !== "not" ||
|
|
241
|
-
// If this is a @media not print {}
|
|
242
|
-
// We can only do this if there are no conditions, as @media not print and (min-width: 100px) could be valid
|
|
243
|
-
mediaQuery.mediaType !== "print" && mediaQuery.qualifier === "not" && mediaQuery.condition === null) {
|
|
332
|
+
const queryBuilder = builder.fork("media");
|
|
333
|
+
if (!(0, _mediaQuery.parseMediaQuery)(mediaQuery, queryBuilder)) {
|
|
244
334
|
continue;
|
|
245
335
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
for (const m of media) {
|
|
252
|
-
(0, _mediaQuery.parseMediaQuery)(m, builder);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
// Iterate over all rules in the mediaRule and extract their styles using the updated CompilerCollection
|
|
256
|
-
for (const rule of mediaRule.rules) {
|
|
257
|
-
extractRule(rule, builder);
|
|
336
|
+
for (const rule of mediaRule.rules) {
|
|
337
|
+
extractRule(rule, queryBuilder, mapping);
|
|
338
|
+
}
|
|
258
339
|
}
|
|
259
340
|
}
|
|
260
341
|
|
|
@@ -263,19 +344,70 @@ function extractMedia(mediaRule, builder) {
|
|
|
263
344
|
* @param collection - The CompilerCollection object to use when extracting styles.
|
|
264
345
|
* @param parseOptions - The CssToReactNativeRuntimeOptions object to use when parsing styles.
|
|
265
346
|
*/
|
|
266
|
-
function extractContainer(containerRule, builder) {
|
|
347
|
+
function extractContainer(containerRule, builder, mapping) {
|
|
267
348
|
builder = builder.fork("container");
|
|
268
349
|
|
|
269
350
|
// Iterate over all rules inside the containerRule and extract their styles using the updated CompilerCollection
|
|
351
|
+
const condition = (0, _containerQuery.parseContainerCondition)(containerRule.condition, builder);
|
|
352
|
+
if (!condition) {
|
|
353
|
+
// An unsupported condition must not turn into an unconditional container.
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
270
356
|
const query = {
|
|
271
|
-
m:
|
|
357
|
+
m: condition
|
|
272
358
|
};
|
|
273
359
|
if (containerRule.name) {
|
|
274
360
|
query.n = `c:${containerRule.name}`;
|
|
275
361
|
}
|
|
276
362
|
builder.addContainerQuery(query);
|
|
277
363
|
for (const rule of containerRule.rules) {
|
|
278
|
-
extractRule(rule, builder);
|
|
364
|
+
extractRule(rule, builder, mapping);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
function extractPropertyRule(propertyRule, builder) {
|
|
368
|
+
const {
|
|
369
|
+
initialValue,
|
|
370
|
+
name
|
|
371
|
+
} = propertyRule;
|
|
372
|
+
if (initialValue == null) {
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
const varName = name.startsWith("--") ? name.slice(2) : name;
|
|
376
|
+
const value = parsePropertyInitialValue(initialValue, builder);
|
|
377
|
+
if (value !== undefined) {
|
|
378
|
+
builder.addRootVariable(varName, value);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
function parsePropertyInitialValue(component, builder) {
|
|
382
|
+
switch (component.type) {
|
|
383
|
+
case "length":
|
|
384
|
+
return (0, _declarations.parseLength)(component.value, builder);
|
|
385
|
+
case "number":
|
|
386
|
+
case "integer":
|
|
387
|
+
return (0, _declarations.round)(component.value);
|
|
388
|
+
case "percentage":
|
|
389
|
+
return `${(0, _declarations.round)(component.value * 100)}%`;
|
|
390
|
+
case "color":
|
|
391
|
+
return (0, _declarations.parseColor)(component.value, builder);
|
|
392
|
+
case "angle":
|
|
393
|
+
return (0, _declarations.parseAngle)(component.value, builder);
|
|
394
|
+
case "length-percentage":
|
|
395
|
+
return (0, _declarations.parseLength)(component.value, builder);
|
|
396
|
+
case "token-list":
|
|
397
|
+
return (0, _declarations.reduceParseUnparsed)(component.value, builder, "@property", false);
|
|
398
|
+
case "custom-ident":
|
|
399
|
+
case "literal":
|
|
400
|
+
return component.value;
|
|
401
|
+
case "repeated":
|
|
402
|
+
{
|
|
403
|
+
const results = component.value.components.map(c => parsePropertyInitialValue(c, builder)).filter(v => v !== undefined);
|
|
404
|
+
// Unwrap single-child repeated values so downstream consumers get a
|
|
405
|
+
// scalar instead of a 1-element array. For example, `<length>+` with
|
|
406
|
+
// initial-value `10px` should produce the same shape as `<length>`.
|
|
407
|
+
return results.length === 1 ? results[0] : results;
|
|
408
|
+
}
|
|
409
|
+
default:
|
|
410
|
+
return undefined;
|
|
279
411
|
}
|
|
280
412
|
}
|
|
281
413
|
//# sourceMappingURL=compiler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_nodeUtil","require","_debug","_lightningcss","_atRules","_containerQuery","_declarations","_keyframes","_mediaQuery","_stylesheet","_supports","defaultLogger","debug","compile","code","options","logger","isLoggerEnabled","enabled","Boolean","features","Object","assign","selectorPrefix","startsWith","slice","JSON","stringify","process","env","NODE_ENV","toString","builder","StylesheetBuilder","customAtRules","body","visitor","Rule","rule","maybeMutateReactNativeOptions","StyleSheetExit","sheet","rules","length","inspect","depth","colors","compact","extractRule","stripUnusedVariables","onVarUsage","token","type","value","arguments","forEach","varUsage","add","name","ident","fallback","fallbackValues","varObj","Declaration","decl","property","lightningcss","TextEncoder","encode","filename","projectRoot","cwd","stylesheet","getNativeStyleSheet","warnings","getWarnings","extractKeyFrames","extractContainer","extractMedia","declarationBlock","declarations","newNestedRule","declaration","parseDeclaration","applyRuleToSelectors","importantDeclarations","important","mapping","parsePropAtRule","fork","selectors","newRule","nestedRule","layerRule","supportsConditionValid","condition","mediaRule","media","mediaQuery","query","mediaQueries","mediaType","qualifier","push","m","parseMediaQuery","containerRule","parseContainerCondition","n","addContainerQuery"],"sourceRoot":"../../../src","sources":["compiler/compiler.ts"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAWA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAA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G,KAAK,CAACC,YAAY,EAAE;IACrD;IACE;IACCF,UAAU,CAACG,SAAS,KAAK,OAAO,IAAIH,UAAU,CAACI,SAAS,KAAK,KAAK;IACnE;IACA;IACCJ,UAAU,CAACG,SAAS,KAAK,OAAO,IAC/BH,UAAU,CAACI,SAAS,KAAK,KAAK,IAC9BJ,UAAU,CAACH,SAAS,KAAK,IAAK,EAChC;MACA;IACF;IAEAE,KAAK,CAACM,IAAI,CAACL,UAAU,CAAC;EACxB;EAEA,IAAID,KAAK,CAACtD,MAAM,KAAK,CAAC,EAAE;IACtB;EACF;EAEA,KAAK,MAAM6D,CAAC,IAAIP,KAAK,EAAE;IACrB,IAAAQ,2BAAe,EAACD,CAAC,EAAExE,OAAO,CAAC;EAC7B;;EAEA;EACA,KAAK,MAAMM,IAAI,IAAI0D,SAAS,CAACtD,KAAK,EAAE;IAClCM,WAAW,CAACV,IAAI,EAAEN,OAAO,CAAC;EAC5B;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS6C,gBAAgBA,CACvB6B,aAA4B,EAC5B1E,OAA0B,EAC1B;EACAA,OAAO,GAAGA,OAAO,CAACyD,IAAI,CAAC,WAAW,CAAC;;EAEnC;EACA,MAAMU,KAAqB,GAAG;IAC5BK,CAAC,EAAE,IAAAG,uCAAuB,EAACD,aAAa,CAACX,SAAS,EAAE/D,OAAO;EAC7D,CAAC;EAED,IAAI0E,aAAa,CAAChD,IAAI,EAAE;IACtByC,KAAK,CAACS,CAAC,GAAG,KAAKF,aAAa,CAAChD,IAAI,EAAE;EACrC;EAEA1B,OAAO,CAAC6E,iBAAiB,CAACV,KAAK,CAAC;EAEhC,KAAK,MAAM7D,IAAI,IAAIoE,aAAa,CAAChE,KAAK,EAAE;IACtCM,WAAW,CAACV,IAAI,EAAEN,OAAO,CAAC;EAC5B;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_nodeUtil","require","_debug","_atRules","_containerQuery","_declarations","_inlineVariables","_keyframes","_lightningcssLoader","_mediaQuery","_stylesheet","_supports","defaultLogger","debug","OWN_AT_RULE_WARNING","reportSyntaxWarnings","builder","warnings","warning","message","addSyntaxWarning","compile","code","options","logger","isLoggerEnabled","enabled","Boolean","features","Object","assign","selectorPrefix","startsWith","slice","JSON","stringify","process","env","NODE_ENV","toString","StylesheetBuilder","lightningcss","Features","lightningcssLoader","vars","Map","effectiveRem","inlineRem","undefined","css","match","parseFloat","firstPassVisitor","Rule","rule","type","includes","value","name","Error","selectors","some","selector","part","kind","remMultiplier","Length","length","unit","round","inlineVariables","exclusionList","exclude","Declaration","decl","property","entry","get","count","set","StyleSheetExit","sheet","firstPass","firstPassWarnings","TextEncoder","encode","include","DoublePositionGradients","ColorFunction","VendorPrefixes","visitor","filename","projectRoot","cwd","MAX_LOG_SIZE","subarray","customAtRules","body","maybeMutateReactNativeOptions","rules","inspect","depth","colors","compact","extractRule","stylesheet","getNativeStyleSheet","getWarnings","mapping","extractKeyFrames","extractContainer","extractMedia","declarationBlock","declarations","newNestedRule","declaration","parseDeclaration","applyRuleToSelectors","importantDeclarations","important","parsePropAtRule","parsePropDeclarations","fork","newRule","nestedRule","layerRule","supportsConditionValid","condition","extractPropertyRule","mediaRule","mediaQuery","query","mediaQueries","queryBuilder","parseMediaQuery","containerRule","parseContainerCondition","m","n","addContainerQuery","propertyRule","initialValue","varName","parsePropertyInitialValue","addRootVariable","component","parseLength","parseColor","parseAngle","reduceParseUnparsed","results","components","map","c","filter","v"],"sourceRoot":"../../../src","sources":["compiler/compiler.ts"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAYA,IAAAE,QAAA,GAAAF,OAAA;AAYA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAQA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA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