react-native-css 3.0.0-preview.2 → 3.0.0-preview.4
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 +138 -10
- package/dist/commonjs/compiler/atRules.js +33 -41
- package/dist/commonjs/compiler/atRules.js.map +1 -1
- package/dist/commonjs/compiler/compiler.js +96 -39
- 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/declarations.js +66 -51
- 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 +40 -0
- package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -0
- package/dist/commonjs/compiler/pseudo-elements.js +1 -1
- package/dist/commonjs/compiler/selector-builder.js +10 -7
- 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 +9 -12
- package/dist/commonjs/compiler/stylesheet.js.map +1 -1
- package/dist/commonjs/components/ActivityIndicator.js +2 -2
- package/dist/commonjs/components/ActivityIndicator.js.map +1 -1
- package/dist/commonjs/components/Button.js +2 -2
- package/dist/commonjs/components/Button.js.map +1 -1
- package/dist/commonjs/components/FlatList.js +6 -5
- package/dist/commonjs/components/FlatList.js.map +1 -1
- package/dist/commonjs/components/Image.js +2 -2
- package/dist/commonjs/components/Image.js.map +1 -1
- package/dist/commonjs/components/ImageBackground.js +22 -0
- package/dist/commonjs/components/ImageBackground.js.map +1 -0
- package/dist/commonjs/components/KeyboardAvoidingView.js +19 -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/ScrollView.js +18 -0
- package/dist/commonjs/components/ScrollView.js.map +1 -0
- package/dist/commonjs/components/Switch.js +2 -2
- package/dist/commonjs/components/Switch.js.map +1 -1
- package/dist/commonjs/components/Text.js +2 -2
- package/dist/commonjs/components/Text.js.map +1 -1
- package/dist/commonjs/components/TextInput.js +8 -3
- 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 +2 -2
- 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/index.cjs +265 -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 +6 -6
- package/dist/commonjs/jest/index.js.map +1 -1
- package/dist/commonjs/metro/index.js +8 -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 +8 -1
- 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 +11 -20
- package/dist/commonjs/metro/resolver.js.map +1 -1
- package/dist/commonjs/native/api.js +113 -0
- package/dist/commonjs/native/api.js.map +1 -0
- package/dist/commonjs/native/conditions/attributes.js +44 -0
- package/dist/commonjs/native/conditions/attributes.js.map +1 -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.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.map +1 -0
- package/dist/commonjs/native/react/rules.js +259 -0
- package/dist/commonjs/native/react/rules.js.map +1 -0
- package/dist/commonjs/native/react/useNativeCss.js +160 -0
- package/dist/commonjs/native/react/useNativeCss.js.map +1 -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 +181 -0
- package/dist/commonjs/native/reactivity.js.map +1 -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/filters.js +84 -0
- package/dist/commonjs/native/styles/functions/filters.js.map +1 -0
- package/dist/commonjs/native/styles/functions/index.js.map +1 -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.map +1 -0
- package/dist/commonjs/native/styles/functions/transform-functions.js +121 -0
- package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -0
- package/dist/commonjs/native/styles/index.js +115 -0
- package/dist/commonjs/native/styles/index.js.map +1 -0
- package/dist/commonjs/native/styles/line-height.js.map +1 -0
- package/dist/commonjs/native/styles/resolve.js +107 -0
- package/dist/commonjs/native/styles/resolve.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/_handler.js +79 -0
- package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/animation.js +61 -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 +48 -0
- package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/index.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.map +1 -0
- package/dist/commonjs/native/styles/variables.js +79 -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 +34 -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.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 +21 -0
- package/dist/commonjs/utilities/style-descriptor.js.map +1 -0
- package/dist/commonjs/web/api.js.map +1 -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/compiler/atRules.js +33 -41
- package/dist/module/compiler/atRules.js.map +1 -1
- package/dist/module/compiler/compiler.js +96 -39
- package/dist/module/compiler/compiler.js.map +1 -1
- package/dist/module/compiler/compiler.types.js +1 -1
- package/dist/module/compiler/compiler.types.js.map +1 -1
- package/dist/module/compiler/declarations.js +66 -51
- 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 +36 -0
- package/dist/module/compiler/lightningcss-loader.js.map +1 -0
- 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 +10 -7
- 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 +9 -12
- package/dist/module/compiler/stylesheet.js.map +1 -1
- package/dist/module/components/ActivityIndicator.js +1 -1
- package/dist/module/components/ActivityIndicator.js.map +1 -1
- package/dist/module/components/Button.js +1 -1
- package/dist/module/components/Button.js.map +1 -1
- package/dist/module/components/FlatList.js +5 -4
- package/dist/module/components/FlatList.js.map +1 -1
- package/dist/module/components/Image.js +1 -1
- package/dist/module/components/Image.js.map +1 -1
- package/dist/module/components/ImageBackground.js +17 -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 +12 -0
- package/dist/module/components/Pressable.js.map +1 -0
- package/dist/module/components/ScrollView.js +13 -0
- package/dist/module/components/ScrollView.js.map +1 -0
- package/dist/module/components/Switch.js +1 -1
- package/dist/module/components/Switch.js.map +1 -1
- package/dist/module/components/Text.js +1 -1
- package/dist/module/components/Text.js.map +1 -1
- package/dist/module/components/TextInput.js +7 -2
- package/dist/module/components/TextInput.js.map +1 -1
- package/dist/module/components/TouchableHighlight.js +12 -0
- package/dist/module/components/TouchableHighlight.js.map +1 -0
- package/dist/module/components/TouchableOpacity.js +12 -0
- package/dist/module/components/TouchableOpacity.js.map +1 -0
- package/dist/module/components/TouchableWithoutFeedback.js +12 -0
- package/dist/module/components/TouchableWithoutFeedback.js.map +1 -0
- package/dist/module/components/View.js +1 -1
- package/dist/module/components/View.js.map +1 -1
- package/dist/module/components/VirtualizedList.js +15 -0
- package/dist/module/components/VirtualizedList.js.map +1 -0
- package/dist/module/components/index.cjs +265 -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 +4 -4
- package/dist/module/jest/index.js.map +1 -1
- package/dist/module/metro/index.js +8 -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 +8 -1
- 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 +11 -20
- package/dist/module/metro/resolver.js.map +1 -1
- package/dist/module/native/api.js +82 -0
- package/dist/module/native/api.js.map +1 -0
- package/dist/module/native/conditions/attributes.js +40 -0
- package/dist/module/native/conditions/attributes.js.map +1 -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.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.map +1 -0
- package/dist/module/native/react/rules.js +252 -0
- package/dist/module/native/react/rules.js.map +1 -0
- package/dist/module/native/react/useNativeCss.js +154 -0
- package/dist/module/native/react/useNativeCss.js.map +1 -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 +169 -0
- package/dist/module/native/reactivity.js.map +1 -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/filters.js +70 -0
- package/dist/module/native/styles/functions/filters.js.map +1 -0
- package/dist/module/native/styles/functions/index.js.map +1 -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.map +1 -0
- package/dist/module/native/styles/functions/transform-functions.js +114 -0
- package/dist/module/native/styles/functions/transform-functions.js.map +1 -0
- package/dist/module/native/styles/index.js +110 -0
- package/dist/module/native/styles/index.js.map +1 -0
- package/dist/module/native/styles/line-height.js.map +1 -0
- package/dist/module/native/styles/resolve.js +102 -0
- package/dist/module/native/styles/resolve.js.map +1 -0
- package/dist/module/native/styles/shorthands/_handler.js +74 -0
- package/dist/module/native/styles/shorthands/_handler.js.map +1 -0
- package/dist/module/native/styles/shorthands/animation.js +54 -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 +43 -0
- package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -0
- package/dist/module/native/styles/shorthands/index.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.map +1 -0
- package/dist/module/native/styles/variables.js +75 -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 +30 -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.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 +16 -0
- package/dist/module/utilities/style-descriptor.js.map +1 -0
- package/dist/module/web/api.js.map +1 -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/.config/eslint.config.d.mts +3 -0
- package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +1 -0
- package/dist/typescript/commonjs/eslint.config.d.mts +2 -0
- package/dist/typescript/commonjs/eslint.config.d.mts.map +1 -0
- package/dist/typescript/commonjs/example/app.config.d.ts.map +1 -1
- package/dist/typescript/commonjs/example/index.d.ts +2 -0
- package/dist/typescript/commonjs/example/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/example/metro.config.d.ts +3 -0
- package/dist/typescript/commonjs/example/metro.config.d.ts.map +1 -0
- package/dist/typescript/commonjs/example/postcss.config.d.mts +7 -0
- package/dist/typescript/commonjs/example/postcss.config.d.mts.map +1 -0
- package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts +1 -1
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +11 -7
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts +6 -6
- 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/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 +2 -1
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +3 -10
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Button.d.ts +3 -10
- package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/FlatList.d.ts +3 -7
- package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/Image.d.ts +3 -5
- package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Pressable.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/Pressable.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/ScrollView.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Text.d.ts +2 -2
- package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TextInput.d.ts +3 -5
- package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/View.d.ts +2 -2
- 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/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.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 +1 -1
- package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/index.d.ts +1 -1
- package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
- 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/native/api.d.ts +26 -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.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 +52 -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/filters.d.ts.map +1 -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.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.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +18 -0
- package/dist/typescript/commonjs/src/native/styles/resolve.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.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 +11 -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 +49 -0
- package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -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/.config/eslint.config.d.mts +3 -0
- package/dist/typescript/module/.config/eslint.config.d.mts.map +1 -0
- package/dist/typescript/module/eslint.config.d.mts +2 -0
- package/dist/typescript/module/eslint.config.d.mts.map +1 -0
- package/dist/typescript/module/example/app.config.d.ts.map +1 -1
- package/dist/typescript/module/example/index.d.ts +2 -0
- package/dist/typescript/module/example/index.d.ts.map +1 -0
- package/dist/typescript/module/example/metro.config.d.ts +3 -0
- package/dist/typescript/module/example/metro.config.d.ts.map +1 -0
- package/dist/typescript/module/example/postcss.config.d.mts +7 -0
- package/dist/typescript/module/example/postcss.config.d.mts.map +1 -0
- package/dist/typescript/module/example/src/App.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/atRules.d.ts +1 -1
- package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.types.d.ts +11 -7
- package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/declarations.d.ts +6 -6
- package/dist/typescript/module/src/compiler/declarations.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 +1 -1
- 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/selector-builder.d.ts +1 -1
- package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/stylesheet.d.ts +2 -1
- package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts +3 -10
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Button.d.ts +3 -10
- package/dist/typescript/module/src/components/Button.d.ts.map +1 -1
- package/dist/typescript/module/src/components/FlatList.d.ts +3 -7
- package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
- package/dist/typescript/module/src/components/Image.d.ts +3 -5
- package/dist/typescript/module/src/components/Image.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ImageBackground.d.ts +6 -0
- package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -0
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts +6 -0
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Pressable.d.ts +6 -0
- package/dist/typescript/module/src/components/Pressable.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ScrollView.d.ts +6 -0
- package/dist/typescript/module/src/components/ScrollView.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Text.d.ts +2 -2
- package/dist/typescript/module/src/components/Text.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TextInput.d.ts +3 -5
- package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -1
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts +6 -0
- package/dist/typescript/module/src/components/TouchableHighlight.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts +6 -0
- package/dist/typescript/module/src/components/TouchableOpacity.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts +6 -0
- package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts.map +1 -0
- package/dist/typescript/module/src/components/View.d.ts +2 -2
- 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/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 +8 -0
- 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.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 +1 -1
- package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/index.d.ts +1 -1
- package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
- 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/native/api.d.ts +26 -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.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.map +1 -0
- package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -0
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -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 +52 -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.map +1 -0
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -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.map +1 -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.map +1 -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.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.map +1 -0
- package/dist/typescript/module/src/native/styles/resolve.d.ts +18 -0
- package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -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.map +1 -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.map +1 -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.map +1 -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 +11 -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.map +1 -0
- package/dist/typescript/module/src/runtime.native.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime.types.d.ts +49 -0
- package/dist/typescript/module/src/runtime.types.d.ts.map +1 -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.map +1 -0
- package/dist/typescript/module/src/web/metro.d.ts.map +1 -0
- package/package.json +84 -55
- package/src/compiler/atRules.ts +32 -43
- package/src/compiler/compiler.ts +115 -42
- package/src/compiler/compiler.types.ts +16 -7
- package/src/compiler/declarations.ts +88 -87
- package/src/compiler/inline-variables.ts +209 -0
- package/src/compiler/keyframes.ts +2 -2
- package/src/compiler/lightningcss-loader.ts +40 -0
- package/src/compiler/pseudo-elements.ts +1 -1
- package/src/compiler/selector-builder.ts +14 -8
- package/src/compiler/selectors.ts +1 -1
- package/src/compiler/stylesheet.ts +10 -17
- package/src/components/ActivityIndicator.tsx +2 -2
- package/src/components/Button.tsx +2 -2
- package/src/components/FlatList.tsx +6 -5
- package/src/components/Image.tsx +2 -2
- package/src/components/ImageBackground.tsx +27 -0
- package/src/components/KeyboardAvoidingView.tsx +24 -0
- package/src/components/Pressable.tsx +17 -0
- package/src/components/ScrollView.tsx +20 -0
- package/src/components/Text.tsx +1 -1
- package/src/components/TextInput.tsx +8 -3
- package/src/components/TouchableHighlight.tsx +22 -0
- package/src/components/TouchableOpacity.tsx +22 -0
- package/src/components/TouchableWithoutFeedback.tsx +22 -0
- package/src/components/View.tsx +1 -1
- package/src/components/VirtualizedList.tsx +25 -0
- package/src/components/index.cts +263 -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 +6 -5
- package/src/metro/index.ts +10 -166
- package/src/metro/injection-code.ts +1 -1
- package/src/metro/metro-transformer.ts +15 -1
- package/src/metro/override.ts +1 -0
- package/src/metro/resolver.ts +20 -26
- package/src/native/api.tsx +120 -0
- package/src/native/conditions/attributes.ts +54 -0
- package/src/native/conditions/container-query.ts +162 -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/rules.ts +336 -0
- package/src/native/react/useNativeCss.ts +204 -0
- package/src/native/reactivity.ts +248 -0
- package/src/native/styles/calculate-props.ts +217 -0
- package/src/native/styles/functions/filters.ts +99 -0
- package/src/native/styles/functions/transform-functions.ts +85 -0
- package/src/native/styles/index.ts +198 -0
- package/src/native/styles/resolve.ts +164 -0
- package/src/native/styles/shorthands/_handler.ts +122 -0
- package/src/native/styles/shorthands/animation.ts +131 -0
- package/src/native/styles/shorthands/box-shadow.ts +71 -0
- package/src/native/styles/variables.ts +88 -0
- package/src/native-internal/README.md +11 -0
- package/src/native-internal/index.ts +3 -0
- package/src/native-internal/root.ts +44 -0
- package/src/native-internal/style-collection.ts +148 -0
- package/src/native-internal/variables.tsx +36 -0
- package/src/runtime.types.ts +150 -0
- package/src/utilities/index.ts +3 -0
- package/src/utilities/specificity.ts +45 -0
- package/src/utilities/style-descriptor.ts +24 -0
- package/src/web/api.tsx +115 -0
- 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 -115
- 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.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.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.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.map +0 -1
- package/dist/commonjs/runtime/native/reactivity.js +0 -185
- package/dist/commonjs/runtime/native/reactivity.js.map +0 -1
- 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.map +0 -1
- 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.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/line-height.js.map +0 -1
- package/dist/commonjs/runtime/native/styles/resolve.js +0 -108
- 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 -58
- package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
- 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.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.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.map +0 -1
- 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 -29
- package/dist/commonjs/style-collection/root.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 -94
- 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.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.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.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.map +0 -1
- package/dist/module/runtime/native/reactivity.js +0 -173
- package/dist/module/runtime/native/reactivity.js.map +0 -1
- 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.map +0 -1
- 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.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/line-height.js.map +0 -1
- package/dist/module/runtime/native/styles/resolve.js +0 -103
- 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 -53
- package/dist/module/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
- 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.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.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.map +0 -1
- 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 -25
- package/dist/module/style-collection/root.js.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 -31
- 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.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 -53
- 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.map +0 -1
- 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.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/line-height.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.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.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 -16
- 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/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 -31
- 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.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.map +0 -1
- 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.map +0 -1
- 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 -53
- 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.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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/line-height.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.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.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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.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 -16
- 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.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/components/index.tsx +0 -10
- package/src/runtime/index.ts +0 -7
- package/src/runtime/native/api.tsx +0 -135
- 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/rules.ts +0 -336
- package/src/runtime/native/react/useNativeCss.ts +0 -203
- package/src/runtime/native/reactivity.ts +0 -251
- 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/transform-functions.ts +0 -84
- package/src/runtime/native/styles/index.ts +0 -197
- package/src/runtime/native/styles/resolve.ts +0 -164
- 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 -80
- 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/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.tsx +0 -114
- package/src/runtime/web/metro.ts +0 -2
- package/src/style-collection/index.ts +0 -142
- package/src/style-collection/root.ts +0 -37
- /package/dist/commonjs/{runtime/native → native}/conditions/container-query.js +0 -0
- /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/native → native}/conditions/media-query.js +0 -0
- /package/dist/commonjs/{runtime/utils → native}/objects.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/react/interaction.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/react/usePassthrough.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/reanimated.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/index.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/functions/numeric-functions.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/functions/string-functions.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/line-height.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/shorthands/border.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/styles/shorthands/index.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/native → native}/styles/units.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}/dot-notation.types.js +0 -0
- /package/dist/commonjs/{runtime/utils → utilities}/specificity.js +0 -0
- /package/dist/commonjs/{runtime/web → web}/api.js +0 -0
- /package/dist/commonjs/{runtime/web → web}/assign-style.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/container-query.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/native → native}/conditions/media-query.js +0 -0
- /package/dist/module/{runtime/utils → native}/objects.js +0 -0
- /package/dist/module/{runtime/native → native}/react/interaction.js +0 -0
- /package/dist/module/{runtime/native → native}/react/usePassthrough.js +0 -0
- /package/dist/module/{runtime/native → native}/reanimated.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/index.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/functions/numeric-functions.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/functions/string-functions.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/line-height.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/shorthands/border.js +0 -0
- /package/dist/module/{runtime/native → native}/styles/shorthands/index.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/native → native}/styles/units.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}/dot-notation.types.js +0 -0
- /package/dist/module/{runtime/utils → utilities}/specificity.js +0 -0
- /package/dist/module/{runtime/web → web}/api.js +0 -0
- /package/dist/module/{runtime/web → web}/assign-style.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/interaction.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/filters.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/index.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/string-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/line-height.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/index.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/utils → utilities}/dot-notation.types.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/native → native}/conditions/guards.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}/react/interaction.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/react/rules.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/react/useNativeCss.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/react/usePassthrough.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/native → native}/styles/functions/animation-timing.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/calc.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/filters.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/index.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/numeric-functions.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/platform-functions.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/string-functions.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/transform-functions.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/line-height.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/_handler.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/border.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/box-shadow.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/index.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/text-shadow.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/transform.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/styles/units.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/runtime.d.ts → runtime.d.ts} +0 -0
- /package/dist/typescript/module/src/{runtime/runtime.native.d.ts → runtime.native.d.ts} +0 -0
- /package/dist/typescript/module/src/{runtime/utils → utilities}/dot-notation.types.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/web → web}/assign-style.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/web → web}/index.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/{runtime/native → native}/react/interaction.ts +0 -0
- /package/src/{runtime/native → native}/react/usePassthrough.ts +0 -0
- /package/src/{poison.pill.ts → native/react-native-css-metro-override.ts} +0 -0
- /package/src/{runtime/native → native}/reanimated.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/index.ts +0 -0
- /package/src/{runtime/native → native}/styles/functions/numeric-functions.ts +0 -0
- /package/src/{runtime/native → native}/styles/functions/platform-functions.ts +0 -0
- /package/src/{runtime/native → native}/styles/functions/string-functions.ts +0 -0
- /package/src/{runtime/native → native}/styles/line-height.ts +0 -0
- /package/src/{runtime/native → native}/styles/shorthands/border.ts +0 -0
- /package/src/{runtime/native → native}/styles/shorthands/index.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/native → native}/styles/units.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/utils → utilities}/dot-notation.types.ts +0 -0
- /package/src/{runtime/web → web}/assign-style.ts +0 -0
- /package/src/{runtime/web → web}/index.ts +0 -0
- /package/src/{runtime/native → web}/metro.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["unstable_transformerPath","compile","getNativeInjectionCode","worker","require","transform","config","projectRoot","filePath","data","options","isCss","type","test","platform","cssFile","css","output","code","toString","productionJS","reactNativeCSS","filename","stylesheet","Buffer","from"],"sourceRoot":"../../../src","sources":["metro/metro-transformer.ts"],"mappings":";;AAAA,SAASA,wBAAwB,QAAQ,oBAAoB;AAO7D,SAASC,OAAO,QAA8B,sBAAa;AAC3D,SAASC,sBAAsB,QAAQ,qBAAkB;AAEzD,MAAMC,MAAM;AACV;AACAC,OAAO,CAACJ,wBAAwB,CAA4C;AAE9E,OAAO,eAAeK,SAASA,CAC7BC,MAA2B,EAC3BC,WAAmB,EACnBC,QAAgB,EAChBC,IAAY,EACZC,OAEC,EAC2B;EAC5B,MAAMC,KAAK,GAAGD,OAAO,CAACE,IAAI,KAAK,OAAO,IAAI,iBAAiB,CAACC,IAAI,CAACL,QAAQ,CAAC;EAE1E,IAAIE,OAAO,CAACI,QAAQ,KAAK,KAAK,IAAI,CAACH,KAAK,EAAE;IACxC,OAAOR,MAAM,CAACE,SAAS,CAACC,MAAM,EAAEC,WAAW,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,CAAC;EACvE;EAEA,MAAMK,OAAO,GAAI,MAAMZ,MAAM,CAACE,SAAS,CAACC,MAAM,EAAEC,WAAW,EAAEC,QAAQ,EAAEC,IAAI,EAAE;IAC3E,GAAGC,OAAO;IACVI,QAAQ,EAAE;EACZ,CAAC,CAEA;EAED,MAAME,GAAG,GAAGD,OAAO,CAACE,MAAM,CAAC,CAAC,CAAC,CAACR,IAAI,CAACO,GAAG,CAACE,IAAI,CAACC,QAAQ,CAAC,CAAC;EAEtD,MAAMC,YAAY,GAAGnB,OAAO,CAACe,GAAG,EAAE;IAChC,GAAGN,OAAO,CAACW,cAAc;IACzBC,QAAQ,EAAEd,QAAQ;IAClBD,WAAW,EAAEA;EACf,CAAC,CAAC,CAACgB,UAAU,CAAC,CAAC;EAEfd,IAAI,GAAGe,MAAM,CAACC,IAAI,CAACvB,sBAAsB,CAAC,EAAE,EAAE,CAACkB,YAAY,CAAC,CAAC,CAAC;EAE9D,
|
|
1
|
+
{"version":3,"names":["unstable_transformerPath","compile","getNativeInjectionCode","worker","require","transform","config","projectRoot","filePath","data","options","isCss","type","test","platform","cssFile","css","output","code","toString","productionJS","reactNativeCSS","filename","stylesheet","Buffer","from","skipCache"],"sourceRoot":"../../../src","sources":["metro/metro-transformer.ts"],"mappings":";;AAAA,SAASA,wBAAwB,QAAQ,oBAAoB;AAO7D,SAASC,OAAO,QAA8B,sBAAa;AAC3D,SAASC,sBAAsB,QAAQ,qBAAkB;AAEzD,MAAMC,MAAM;AACV;AACAC,OAAO,CAACJ,wBAAwB,CAA4C;AAE9E,OAAO,eAAeK,SAASA,CAC7BC,MAA2B,EAC3BC,WAAmB,EACnBC,QAAgB,EAChBC,IAAY,EACZC,OAEC,EAC2B;EAC5B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ings":";;AAAA","ignoreList":[]}
|
|
@@ -9,32 +9,23 @@ function isFromThisModule(filename) {
|
|
|
9
9
|
}
|
|
10
10
|
export function nativeResolver(resolver, context, moduleName, platform) {
|
|
11
11
|
const resolution = resolver(context, moduleName, platform);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// Only operate on source files
|
|
16
|
-
resolution.type !== "sourceFile" ||
|
|
17
|
-
// Skip the React Native barrel file to prevent infinite recursion
|
|
18
|
-
context.originModulePath.endsWith("react-native/index.js") ||
|
|
19
|
-
// Skip anything that isn't importing a React Native component
|
|
20
|
-
!(moduleName.startsWith("react-native") || moduleName.startsWith("react-native/"))) {
|
|
12
|
+
const isInternal = isFromThisModule(context.originModulePath);
|
|
13
|
+
const isReactNativeIndex = context.originModulePath.endsWith(`react-native${sep}index.js`);
|
|
14
|
+
if (isInternal || resolution.type !== "sourceFile" || isReactNativeIndex) {
|
|
21
15
|
return resolution;
|
|
22
16
|
}
|
|
23
17
|
if (moduleName === "react-native") {
|
|
24
18
|
return resolver(context, `react-native-css/components`, platform);
|
|
25
|
-
}
|
|
26
|
-
if (moduleName === "react-native-safe-area-context") {
|
|
19
|
+
} else if (moduleName === "react-native-safe-area-context") {
|
|
27
20
|
return resolver(context, `react-native-css/components/react-native-safe-area-context`, platform);
|
|
21
|
+
} else if (resolution.filePath.includes(`${sep}react-native${sep}Libraries${sep}`)) {
|
|
22
|
+
const filename = basename(resolution.filePath.split(sep).at(-1) ?? "");
|
|
23
|
+
const module = filename.split(".").at(0);
|
|
24
|
+
if (module && allowedModules.has(module)) {
|
|
25
|
+
return resolver(context, `react-native-css/components/${module}`, platform);
|
|
26
|
+
}
|
|
28
27
|
}
|
|
29
|
-
|
|
30
|
-
// We only care about `react-native/Library/Components/<module>.js` components
|
|
31
|
-
const segments = resolution.filePath.split(sep);
|
|
32
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
33
|
-
const module = basename(segments.at(-1)).split(".")[0];
|
|
34
|
-
if (!module || !allowedModules.has(module)) {
|
|
35
|
-
return resolution;
|
|
36
|
-
}
|
|
37
|
-
return resolver(context, `react-native-css/components/${module}`, platform);
|
|
28
|
+
return resolution;
|
|
38
29
|
}
|
|
39
30
|
export function webResolver(resolver, context, moduleName, platform) {
|
|
40
31
|
const resolution = resolver(context, moduleName, platform);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["basename","resolve","sep","allowedModules","thisModuleDist","__dirname","thisModuleSrc","isFromThisModule","filename","startsWith","nativeResolver","resolver","context","moduleName","platform","resolution","originModulePath","
|
|
1
|
+
{"version":3,"names":["basename","resolve","sep","allowedModules","thisModuleDist","__dirname","thisModuleSrc","isFromThisModule","filename","startsWith","nativeResolver","resolver","context","moduleName","platform","resolution","isInternal","originModulePath","isReactNativeIndex","endsWith","type","filePath","includes","split","at","module","has","webResolver","segments","isIndex"],"sourceRoot":"../../../src","sources":["metro/resolver.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,OAAO,EAAEC,GAAG,QAAQ,WAAW;AAQlD,SAASC,cAAc,QAAQ,4BAAyB;AAExD,MAAMC,cAAc,GAAGH,OAAO,CAACI,SAAS,EAAE,eAAe,CAAC;AAC1D,MAAMC,aAAa,GAAGL,OAAO,CAACI,SAAS,EAAE,cAAc,CAAC;AAExD,SAASE,gBAAgBA,CAACC,QAAgB,EAAW;EACnD,OACEA,QAAQ,CAACC,UAAU,CAACL,cAAc,CAAC,IAAII,QAAQ,CAACC,UAAU,CAACH,aAAa,CAAC;AAE7E;AAEA,OAAO,SAASI,cAAcA,CAC5BC,QAAwB,EACxBC,OAAgC,EAChCC,UAAkB,EAClBC,QAAuB,EACX;EACZ,MAAMC,UAAU,GAAGJ,QAAQ,CAACC,OAAO,EAAEC,UAAU,EAAEC,QAAQ,CAAC;EAC1D,MAAME,UAAU,GAAGT,gBAAgB,CAACK,OAAO,CAACK,gBAAgB,CAAC;EAC7D,MAAMC,kBAAkB,GAAGN,OAAO,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,CAACC,QAAQ,CAAC,GAAGpB,GAAG,mBAAmBA,GAAG,EAAE,CAAC,EAC7D;IACA,OAAOa,UAAU;EACnB;;EAEA;EACA,MAAMa,QAAQ,GAAGb,UAAU,CAACM,QAAQ,CAACE,KAAK,CAACrB,GAAG,CAAC;EAC/C,MAAM2B,OAAO,GAAGD,QAAQ,CAACJ,EAAE,CAAC,CAAC,CAAC,CAAC,EAAEf,UAAU,CAAC,QAAQ,CAAC;EACrD,MAAMgB,MAAM,GAAGG,QAAQ,CAACJ,EAAE,CAAC,CAAC,CAAC,CAAC;EAE9B,IAAI,CAACK,OAAO,IAAI,CAACJ,MAAM,IAAI,CAACtB,cAAc,CAACuB,GAAG,CAACD,MAAM,CAAC,EAAE;IACtD,OAAOV,UAAU;EACnB;EAEA,OAAOJ,QAAQ,CAACC,OAAO,EAAE,+BAA+Ba,MAAM,EAAE,EAAEX,QAAQ,CAAC;AAC7E","ignoreList":[]}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { useContext, useState } from "react";
|
|
5
|
+
import { Appearance } from "react-native";
|
|
6
|
+
import { VariableContext } from "react-native-css/native-internal";
|
|
7
|
+
import { mappingToConfig, useNativeCss } from "./react/useNativeCss.js";
|
|
8
|
+
import { usePassthrough } from "./react/usePassthrough.js";
|
|
9
|
+
import { colorScheme as colorSchemeObs, VAR_SYMBOL } from "./reactivity.js";
|
|
10
|
+
import { resolveValue } from "./styles/resolve.js";
|
|
11
|
+
export { StyleCollection, VariableContext, VariableContextProvider } from "react-native-css/native-internal";
|
|
12
|
+
export { useNativeCss };
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Generates a new Higher-Order component the wraps the base component and applies the styles.
|
|
16
|
+
* This is added to the `interopComponents` map so that it can be used in the `wrapJSX` function
|
|
17
|
+
* @param baseComponent
|
|
18
|
+
* @param mapping
|
|
19
|
+
*/
|
|
20
|
+
export const styled = (baseComponent, mapping, options) => {
|
|
21
|
+
let component;
|
|
22
|
+
// const type = getComponentType(baseComponent);
|
|
23
|
+
|
|
24
|
+
const configs = mappingToConfig(mapping);
|
|
25
|
+
if (options?.passThrough) {
|
|
26
|
+
component = props => {
|
|
27
|
+
return usePassthrough(baseComponent, props, configs);
|
|
28
|
+
};
|
|
29
|
+
} else {
|
|
30
|
+
component = props => {
|
|
31
|
+
return useNativeCss(baseComponent, props, configs);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
const name = baseComponent.displayName ?? baseComponent.name ?? "unknown";
|
|
35
|
+
component.displayName = `CssInterop.${name}`;
|
|
36
|
+
return component;
|
|
37
|
+
};
|
|
38
|
+
export const colorScheme = {
|
|
39
|
+
get() {
|
|
40
|
+
return colorSchemeObs.get() ?? Appearance.getColorScheme() ?? "light";
|
|
41
|
+
},
|
|
42
|
+
set(value) {
|
|
43
|
+
return colorSchemeObs.set(value);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export const useUnstableNativeVariable = useNativeVariable;
|
|
47
|
+
export const useCssElement = (component, incomingProps, mapping) => {
|
|
48
|
+
const [config] = useState(() => mappingToConfig(mapping));
|
|
49
|
+
return useNativeCss(component, incomingProps, config);
|
|
50
|
+
};
|
|
51
|
+
export function useNativeVariable(name) {
|
|
52
|
+
if (name.startsWith("--")) {
|
|
53
|
+
name = name.slice(2);
|
|
54
|
+
}
|
|
55
|
+
const inheritedVariables = useContext(VariableContext);
|
|
56
|
+
const [effect, setState] = useState(() => {
|
|
57
|
+
const effect = {
|
|
58
|
+
observers: new Set(),
|
|
59
|
+
run: () => setState(state => ({
|
|
60
|
+
...state
|
|
61
|
+
}))
|
|
62
|
+
};
|
|
63
|
+
const get = observable => observable.get(effect);
|
|
64
|
+
return {
|
|
65
|
+
...effect,
|
|
66
|
+
get
|
|
67
|
+
};
|
|
68
|
+
});
|
|
69
|
+
return resolveValue([{}, "var", [name]], effect.get, {
|
|
70
|
+
inheritedVariables
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated Use `<VariableContextProvider />` instead.
|
|
76
|
+
*/
|
|
77
|
+
export function vars(variables) {
|
|
78
|
+
return Object.assign({
|
|
79
|
+
[VAR_SYMBOL]: "inline"
|
|
80
|
+
}, Object.fromEntries(Object.entries(variables).map(([k, v]) => [k.replace(/^--/, ""), v])));
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","useState","Appearance","VariableContext","mappingToConfig","useNativeCss","usePassthrough","colorScheme","colorSchemeObs","VAR_SYMBOL","resolveValue","StyleCollection","VariableContextProvider","styled","baseComponent","mapping","options","component","configs","passThrough","props","name","displayName","get","getColorScheme","set","value","useUnstableNativeVariable","useNativeVariable","useCssElement","incomingProps","config","startsWith","slice","inheritedVariables","effect","setState","observers","Set","run","state","observable","vars","variables","Object","assign","fromEntries","entries","map","k","v","replace"],"sourceRoot":"../../../src","sources":["native/api.tsx"],"mappings":";;AAAA;AACA,SAASA,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AAC5C,SAASC,UAAU,QAAQ,cAAc;AAGzC,SAASC,eAAe,QAAQ,kCAAkC;AASlE,SAASC,eAAe,EAAEC,YAAY,QAAQ,yBAAsB;AACpE,SAASC,cAAc,QAAQ,2BAAwB;AACvD,SACEC,WAAW,IAAIC,cAAc,EAC7BC,UAAU,QAGL,iBAAc;AACrB,SAASC,YAAY,QAAQ,qBAAkB;AAE/C,SACEC,eAAe,EACfR,eAAe,EACfS,uBAAuB,QAClB,kCAAkC;AAEzC,SAASP,YAAY;;AAErB;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMQ,MAAM,GAAGA,CAIpBC,aAAgB,EAChBC,OAAU,EACVC,OAAuB,KACpB;EACH,IAAIC,SAAc;EAClB;;EAEA,MAAMC,OAAO,GAAGd,eAAe,CAACW,OAAO,C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AAM,CAACgC,MAAM,EAAEC,QAAQ,CAAC,GAAGnC,QAAQ,CAAC,MAAM;IACxC,MAAMkC,MAAc,GAAG;MACrBE,SAAS,EAAE,IAAIC,GAAG,CAAC,CAAC;MACpBC,GAAG,EAAEA,CAAA,KAAMH,QAAQ,CAAEI,KAAK,KAAM;QAAE,GAAGA;MAAM,CAAC,CAAC;IAC/C,CAAC;IAED,MAAMjB,GAAW,GAAIkB,UAAU,IAAKA,UAAU,CAAClB,GAAG,CAACY,MAAM,CAAC;IAE1D,OAAO;MAAE,GAAGA,MAAM;MAAEZ;IAAI,CAAC;EAC3B,CAAC,CAAC;EAEF,OAAOb,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAACW,IAAI,CAAC,CAAC,EAAEc,MAAM,CAACZ,GAAG,EAAE;IAAEW;EAAmB,CAAC,CAAC;AAC9E;;AAEA;AACA;AACA;AACA,OAAO,SAASQ,IAAIA,CAACC,SAA0C,EAAE;EAC/D,OAAOC,MAAM,CAACC,MAAM,CAClB;IAAE,CAACpC,UAAU,GAAG;EAAS,CAAC,EAC1BmC,MAAM,CAACE,WAAW,CAChBF,MAAM,CAACG,OAAO,CAACJ,SAAS,CAAC,CAACK,GAAG,CAAC,CAAC,CAACC,CAAC,EAAEC,CAAC,CAAC,KAAK,CAACD,CAAC,CAACE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,EAAED,CAAC,CAAC,CACrE,CACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export function testAttributes(queries, props, guards) {
|
|
4
|
+
return queries.every(query => testAttribute(query, props, guards));
|
|
5
|
+
}
|
|
6
|
+
function testAttribute([type, prop, operator, testValue], props, guards) {
|
|
7
|
+
let value = undefined;
|
|
8
|
+
if (props) {
|
|
9
|
+
if (type === "a") {
|
|
10
|
+
value = props[prop];
|
|
11
|
+
} else {
|
|
12
|
+
const dataSet = props.dataSet;
|
|
13
|
+
value = dataSet?.[prop];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
guards.push([type, prop, value]);
|
|
17
|
+
if (!operator) {
|
|
18
|
+
return value !== undefined && value !== null && value !== false;
|
|
19
|
+
}
|
|
20
|
+
switch (operator) {
|
|
21
|
+
case "!":
|
|
22
|
+
return !value;
|
|
23
|
+
case "=":
|
|
24
|
+
return value == testValue;
|
|
25
|
+
case "~=":
|
|
26
|
+
return testValue && value?.toString().split(" ").includes(testValue);
|
|
27
|
+
case "|=":
|
|
28
|
+
return testValue && value?.toString().startsWith(testValue + "-");
|
|
29
|
+
case "^=":
|
|
30
|
+
return testValue && value?.toString().startsWith(testValue);
|
|
31
|
+
case "$=":
|
|
32
|
+
return testValue && value?.toString().endsWith(testValue);
|
|
33
|
+
case "*=":
|
|
34
|
+
return testValue && value?.toString().includes(testValue);
|
|
35
|
+
default:
|
|
36
|
+
operator;
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=attributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["testAttributes","queries","props","guards","every","query","testAttribute","type","prop","operator","testValue","value","undefined","dataSet","push","toString","split","includes","startsWith","endsWith"],"sourceRoot":"../../../../src","sources":["native/conditions/attributes.ts"],"mappings":";;AAIA,OAAO,SAASA,cAAcA,CAC5BC,OAAyB,EACzBC,KAAiD,EACjDC,MAAqB,EACrB;EACA,OAAOF,OAAO,CAACG,KAAK,CAAEC,KAAK,IAAKC,aAAa,CAACD,KAAK,EAAEH,KAAK,EAAEC,MAAM,CAAC,CAAC;AACtE;AAEA,SAASG,aAAaA,CACpB,CAACC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,SAAS,CAAiB,EACjDR,KAAiD,EACjDC,MAAqB,EACrB;EACA,IAAIQ,KAAc,GAAGC,SAAS;EAE9B,IAAIV,KAAK,EAAE;IACT,IAAIK,IAAI,KAAK,GAAG,EAAE;MAChBI,KAAK,GAAGT,KAAK,CAACM,IAAI,CAAC;IACrB,CAAC,MAAM;MACL,MAAMK,OAAO,GAAGX,KAAK,CAACW,OAA8C;MACpEF,KAAK,GAAGE,OAAO,GAAGL,IAAI,CAAC;IACzB;EACF;EAEAL,MAAM,CAACW,IAAI,CAAC,CAACP,IAAI,EAAEC,IAAI,EAAEG,KAAK,CAAC,CAAC;EAEhC,IAAI,CAACF,QAAQ,EAAE;IACb,OAAOE,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAK,KAAK;EACjE;EAEA,QAAQF,QAAQ;IACd,KAAK,GAAG;MACN,OAAO,CAACE,KAAK;IACf,KAAK,GAAG;MACN,OAAOA,KAAK,IAAID,SAAS;IAC3B,KAAK,IAAI;MACP,OAAOA,SAAS,IAAIC,KAAK,EAAEI,QAAQ,CAAC,CAAC,CAACC,KAAK,CAAC,GAAG,CAAC,CAACC,QAAQ,CAACP,SAAS,CAAC;IACtE,KAAK,IAAI;MACP,OAAOA,SAAS,IAAIC,KAAK,EAAEI,QAAQ,CAAC,CAAC,CAACG,UAAU,CAACR,SAAS,GAAG,GAAG,CAAC;IACnE,KAAK,IAAI;MACP,OAAOA,SAAS,IAAIC,KAAK,EAAEI,QAAQ,CAAC,CAAC,CAACG,UAAU,CAACR,SAAS,CAAC;IAC7D,KAAK,IAAI;MACP,OAAOA,SAAS,IAAIC,KAAK,EAAEI,QAAQ,CAAC,CAAC,CAACI,QAAQ,CAACT,SAAS,CAAC;IAC3D,KAAK,IAAI;MACP,OAAOA,SAAS,IAAIC,KAAK,EAAEI,QAAQ,CAAC,CAAC,CAACE,QAAQ,CAACP,SAAS,CAAC;IAC3D;MACED,QAAQ;MACR,OAAO,KAAK;EAChB;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["activeFamily","containerHeightFamily","containerWidthFamily","focusFamily","hoverFamily","DEFAULT_CONTAINER_NAME","testContainerQueries","queries","inheritedContainers","guards","get","every","query","testContainerQuery","name","n","container","push","m","testContainerMediaCondition","p","testContainerPseudoCondition","containerKey","h","a","f","condition","some","left","getContainerFeatureValue","right","width","height"],"sourceRoot":"../../../../src","sources":["native/conditions/container-query.ts"],"mappings":";;AAAA;;AASA,SACEA,YAAY,EACZC,qBAAqB,EACrBC,oBAAoB,EACpBC,WAAW,EACXC,WAAW,QAGN,kBAAe;AACtB;;AAGA,OAAO,MAAMC,sBAAsB,GAAG,iBAAiB;AAEvD,OAAO,SAASC,oBAAoBA,CAClCC,OAAyB,EACzBC,mBAA0C,EAC1CC,MAAqB,EACrBC,GAAW,EACX;EACA,OAAOH,OAAO,CAACI,KAAK,CAAEC,KAAK,IAAK;IAC9B,OAAOC,kBAAkB,CAACD,KAAK,EAAEJ,mBAAmB,EAAEC,MAAM,EAAEC,GAAG,CAAC;EACpE,CAAC,CAAC;AACJ;AAEA,OAAO,SAASG,kBAAkBA,CAChCD,KAAqB,EACrBJ,mBAA0C,EAC1CC,MAAqB,EACrBC,GAAW,EACF;EACT,MAAMI,IAAI,GAAGF,KAAK,CAACG,CAAC,IAAIV,sBAAsB;EAC9C,MAAMW,SAAS,GAAGR,mBAAmB,CAACM,IAAI,CAAE;EAE5CL,MAAM,CAACQ,IAAI,CAAC,CAAC,GAAG,EAAEH,IAAI,EAAEE,SAAS,CAAC,CAAC;EAEnC,IAAI,CAACA,SAAS,EAAE;IACd,OAAO,KAAK;EACd;;EAEA;EACA;EACA;;EAEA,IAAIJ,KAAK,CAACM,CAAC,IAAI,CAACC,2BAA2B,CAACP,KAAK,CAACM,CAAC,EAAEF,SAAS,EAAEN,GAAG,CAAC,EAAE;IACpE,OAAO,KAAK;EACd;EAEA,IAAIE,KAAK,CAACQ,CAAC,IAAI,CAACC,4BAA4B,CAACT,KAAK,CAACQ,CAAC,EAAEJ,SAAS,EAAEN,GAAG,CAAC,EAAE;IACrE,OAAO,KAAK;EACd;EAEA,OAAO,IAAI;A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,CAAC,CAAC;MACvD,OAAOS,KAAK,GAAGC,MAAM,GAAG,WAAW,GAAG,UAAU;IAClD,KAAK,aAAa;IAClB,KAAK,YAAY;IACjB;MACE;EACJ;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["testGuards","state","currentProps","inheritedVariables","inheritedContainers","guards","some","guard","result","dataSet"],"sourceRoot":"../../../../src","sources":["native/conditions/guards.ts"],"mappings":";;AAAA;;AAaA,OAAO,SAASA,UAAUA,CACxBC,KAAqB,EACrBC,YAAiB,EACjBC,kBAAwC,EACxCC,mBAA0C,EAC1C;EACA,OAAOH,KAAK,CAACI,MAAM,EAAEC,IAAI,CAAEC,KAAK,IAAK;IACnC,IAAIC,MAAM,GAAG,KAAK;IAElB,QAAQD,KAAK,CAAC,CAAC,CAAC;MACd,KAAK,GAAG;QACN;QACAC,MAAM,GAAGN,YAAY,GAAGK,KAAK,CAAC,CAAC,CAAC,CAAC,KAAKA,KAAK,CAAC,CAAC,CAAC;QAC9C;MACF,KAAK,GAAG;QACN;QACAC,MAAM,GAAGN,YAAY,EAAEO,OAAO,GAAGF,KAAK,CAAC,CAAC,CAAC,CAAC,KAAKA,KAAK,CAAC,CAAC,CAAC;QACvD;MACF,KAAK,GAAG;QACN;QACAC,MAAM,GAAGL,kBAAkB,CAACI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAKA,KAAK,CAAC,CAAC,CAAC;QAClD;MACF,KAAK,GAAG;QACN;QACAC,MAAM,GAAGJ,mBAAmB,CAACG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAKA,KAAK,CAAC,CAAC,CAAC;QACnD;IACJ;IAEA,OAAOC,MAAM;EACf,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["activeFamily","focusFamily","hoverFamily","testAttributes","testContainerQueries","testMediaQuery","testRule","rule","get","props","guards","containerContext","p","pseudoClasses","m","aq","cq","query","a","h","f"],"sourceRoot":"../../../../src","sources":["native/conditions/index.ts"],"mappings":";;AAGA,SACEA,YAAY,EACZC,WAAW,EACXC,WAAW,QAGN,kBAAe;AACtB,SAASC,cAAc,QAAQ,iBAAc;AAC7C,SAASC,oBAAoB,QAAQ,sBAAmB;AAExD,SAASC,cAAc,QAAQ,kBAAe;AAE9C,OAAO,SAASC,QAAQA,CACtBC,IAAe,EACfC,GAAW,EACXC,KAAY,EACZC,MAAqB,EACrBC,gBAAuC,EACvC;EACA,IAAIJ,IAAI,CAACK,CAAC,IAAI,CAACC,aAAa,CAACN,IAAI,CAACK,CAAC,EAAEJ,GAAG,CAAC,EAAE;IACzC,OAAO,KAAK;EACd;EACA,IAAID,IAAI,CAACO,CAAC,IAAI,CAACT,cAAc,CAACE,IAAI,CAACO,CAAC,EAAEN,GAAG,CAAC,EAAE;IAC1C,OAAO,KAAK;EACd;EACA,IAAID,IAAI,CAACQ,EAAE,IAAI,CAACZ,cAAc,CAACI,IAAI,CAACQ,EAAE,EAAEN,KAAK,EAAEC,MAAM,CAAC,EAAE;IACtD,OAAO,KAAK;EACd;EACA,IACEH,IAAI,CAACS,EAAE,IACP,CAACZ,oBAAoB,CAACG,IAAI,CAACS,EAAE,EAAEL,gBAAgB,EAAED,MAAM,EAAEF,GAAG,CAAC,EAC7D;IACA,OAAO,KAAK;EACd;EAEA,OAAO,IAAI;AACb;AAEA,SAASK,aAAaA,CAACI,KAAyB,EAAET,GAAW,EAAE;EAC7D;EACA;EACA,IAAIS,KAAK,CAACC,CAAC,IAAI,CAACV,GAAG,CAACR,YAAY,CAACQ,GAAG,CAAC,CAAC,EAAE;IACtC,OAAO,KAAK;EACd;EACA,IAAIS,KAAK,CAACE,CAAC,IAAI,CAACX,GAAG,CAACN,WAAW,CAACM,GAAG,CAAC,CAAC,EAAE;IACrC,OAAO,KAAK;EACd;EACA,IAAIS,KAAK,CAACG,CAAC,IAAI,CAACZ,GAAG,CAACP,WAAW,CAACO,GAAG,CAAC,CAAC,EAAE;IACrC,OAAO,KAAK;EACd;EACA,OAAO,IAAI;AACb","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["I18nManager","PixelRatio","Platform","colorScheme","vh","vw","testMediaQuery","mediaQueries","get","every","query","test","mediaQuery","some","testComparison","value","isRTL","OS","left","right"],"sourceRoot":"../../../../src","sources":["native/conditions/media-query.ts"],"mappings":";;AAAA;AACA,SAASA,WAAW,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAIhE,SAASC,WAAW,EAAEC,EAAE,EAAEC,EAAE,QAAqB,kBAAe;AAEhE,OAAO,SAASC,cAAcA,CAACC,YAA8B,EAAEC,GAAW,EAAE;EAC1E,OAAOD,YAAY,CAACE,KAAK,CAAEC,KAAK,IAAKC,IAAI,CAACD,KAAK,EAAEF,GAAG,CAAC,CAAC;AACxD;AAEA,SAASG,IAAIA,CAACC,UAA0B,EAAEJ,GAAW,EAAW;EAC9D,QAAQI,UAAU,CAAC,CAAC,CAAC;IACnB,KAAK,IAAI;IACT,KAAK,IAAI;MACP,OAAO,KAAK;IACd,KAAK,GAAG;MACN,OAAO,CAACD,IAAI,CAACC,UAAU,CAAC,CAAC,CAAC,EAAEJ,GAAG,CAAC;IAClC,KAAK,GAAG;MACN,OAAOI,UAAU,CAAC,CAAC,CAAC,CAACH,KAAK,CAAEC,KAAK,IAAK;QACpC,OAAOC,IAAI,CAACD,KAAK,EAAEF,GAAG,CAAC;MACzB,CAAC,CAAC;IACJ,KAAK,GAAG;MACN,OAAOI,UAAU,CAAC,CAAC,CAAC,CAACC,IAAI,CAAEH,KAAK,IAAK;QACnC,OAAOC,IAAI,CAACD,KAAK,EAAEF,GAAG,CAAC;MACzB,CAAC,CAAC;IACJ,KAAK,GAAG;IACR,KAAK,IAAI;IACT,KAAK,GAAG;IACR,KAAK,IAAI;IACT,KAAK,GAAG;MAAE;QACR,OAAOM,cAAc,CAACF,UAAU,EAAEJ,GAAG,CAAC;MACxC;E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,KAAK,GAAGJ,KAAK;EAEnB,QAAQH,UAAU,CAAC,CAAC,CAAC;IACnB,KAAK,OAAO;MACVM,IAAI,GAAGV,GAAG,CAACH,EAAE,CAAC;MACd;IACF,KAAK,QAAQ;MACXa,IAAI,GAAGV,GAAG,CAACJ,EAAE,CAAC;MACd;IACF,KAAK,YAAY;MACfc,IAAI,GAAGjB,UAAU,CAACO,GAAG,CAAC,CAAC;MACvB;IACF;MACE,OAAO,KAAK;EAChB;EAEA,QAAQI,UAAU,CAAC,CAAC,CAAC;IACnB,KAAK,GAAG;MACN,OAAOM,IAAI,KAAKC,KAAK;IACvB,KAAK,GAAG;MACN,OAAOD,IAAI,GAAGC,KAAK;IACrB,KAAK,IAAI;MACP,OAAOD,IAAI,IAAIC,KAAK;IACtB,KAAK,GAAG;MACN,OAAOD,IAAI,GAAGC,KAAK;IACrB,KAAK,IAAI;MACP,OAAOD,IAAI,IAAIC,KAAK;IACtB;MACE,OAAO,KAAK;EAChB;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["native/index.ts"],"mappings":";;AAAA,cAAc,UAAO;AAErB,cAAc,sCAAmC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ShortHandSymbol","transformKeys","getDeepPath","source","paths","undefined","Array","isArray","target","path","has","transform","find","t","applyShorthand","value","values","prop","applyValue","transformArray","filter","push","Object","assign","setDeepPath","i","length"],"sourceRoot":"../../../src","sources":["native/objects.ts"],"mappings":";;AAAA;AACA,SAASA,eAAe,QAAQ,+BAA4B;AAC5D,SAASC,aAAa,QAAQ,8BAA2B;AAEzD,OAAO,SAASC,WAAWA,CAACC,MAAW,EAAEC,KAAgC,EAAE;EACzE,IAAI,CAACD,MAAM,EAAE;IACX;EACF;EAEA,IAAIC,KAAK,KAAK,KAAK,EAAE;IACnB,OAAOC,SAAS;EAClB;EAEA,IAAIC,KAAK,CAACC,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AK,CAACsB,MAAM,GAAG,CAAC,CAAC,CAAE,GAAGX,KAAK;EAExC,OAAOP,MAAM;AACf","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["activeFamily","containerLayoutFamily","focusFamily","hoverFamily","mainCache","WeakMap","defaultHandlers","onLayout","onHoverIn","onHoverOut","onPress","onPressIn","onPressOut","onFocus","onBlur","getInteractionHandler","weakKey","type","handler","cache","get","set","cached","event","nativeEvent","layout"],"sourceRoot":"../../../../src","sources":["native/react/interaction.ts"],"mappings":";;AAAA;;AAGA,SACEA,YAAY,EACZC,qBAAqB,EACrBC,WAAW,EACXC,WAAW,QAEN,kBAAe;AAEtB,MAAMC,SAAS,GAAG,IAAIC,OAAO,CAG3B,CAAC;AAcH,MAAMC,eAAiD,GAAG;EACxDC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;EAClBC,SAAS,EAAEA,CAAA,KAAM,CAAC,CAAC;EACnBC,UAAU,EAAEA,CAAA,KAAM,CAAC,CAAC;EACpBC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;EACjBC,SAAS,EAAEA,CAAA,KAAM,CAAC,CAAC;EACnBC,UAAU,EAAEA,CAAA,KAAM,CAAC,CAAC;EACpBC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;EACjBC,MAAM,EAAEA,CAAA,KAAM,CAAC;AACjB,CAAC;AAED,OAAO,SAASC,qBAAqBA,CACnCC,OAAgB,EAChBC,IAAqB,EACrBC,OAAO,GAAGZ,eAAe,CAACW,IAAI,CAAC,EAC/B;EACA,IAAIE,KAAK,GAAGf,SAAS,CAACgB,GAAG,CAACJ,OAAO,CAAC;EAClC,IAAI,CAACG,KAAK,EAAE;IACVA,KAAK,GAAG,IAAId,OAAO,CAAC,CAAC;IACrBD,SAAS,CAACiB,GAAG,CAACL,OAAO,EAAEG,KAAK,CAAC;EAC/B;EAEA,IAAIG,MAAM,GAAGH,KAAK,CAACC,GAAG,CAACF,OAAO,CAAC;EAC/B,IAAI,CAACI,MAAM,EAAE;IACXA,MAAM,GAAIC,KAAU,IAAK;MACvB,IAAIL,OAAO,EAAE;QACXA,OAAO,CAACK,KAAK,CAAC;MAChB;MAEA,QAAQN,IAAI;QACV,KAAK,UAAU;UACbhB,qBAAqB,CAACe,OAAO,CAAC,CAACK,GAAG,CAC/BE,KAAK,CAAuBC,WAAW,CAACC,MAC3C,CAAC;UACD;QACF,KAAK,WAAW;UACdtB,WAAW,CAACa,OAAO,CAAC,CAACK,GAAG,CAAC,IAAI,CAAC;UAC9B;QACF,KAAK,YAAY;UACflB,WAAW,CAACa,OAAO,CAAC,CAACK,GAAG,CAAC,KAAK,CAAC;UAC/B;QACF,KAAK,SAAS;UACZ;QACF,KAAK,WAAW;UACdrB,YAAY,CAACgB,OAAO,CAAC,CAACK,GAAG,CAAC,IAAI,CAAC;UAC/B;QACF,KAAK,YAAY;UACfrB,YAAY,CAACgB,OAAO,CAAC,CAACK,GAAG,CAAC,KAAK,CAAC;UAChC;QACF,KAAK,SAAS;UACZnB,WAAW,CAACc,OAAO,CAAC,CAACK,GAAG,CAAC,IAAI,CAAC;UAC9B;QACF,KAAK,QAAQ;UACXnB,WAAW,CAACc,OAAO,CAAC,CAACK,GAAG,CAAC,KAAK,CAAC;UAC/B;MACJ;IACF,CAAC;IACDF,KAAK,CAACE,GAAG,CAACH,OAAO,EAAEI,MAAM,CAAC;EAC5B;EAEA,OAAOA,MAAM;AACf","ignoreList":[]}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { StyleCollection } from "react-native-css/native-internal";
|
|
6
|
+
import { testRule } from "../conditions/index.js";
|
|
7
|
+
import { DEFAULT_CONTAINER_NAME } from "../conditions/container-query.js";
|
|
8
|
+
import { getDeepPath } from "../objects.js";
|
|
9
|
+
import { activeFamily, containerLayoutFamily, focusFamily, hoverFamily, VAR_SYMBOL, weakFamily } from "../reactivity.js";
|
|
10
|
+
import { stylesFamily } from "../styles/index.js";
|
|
11
|
+
export const INLINE_RULE_SYMBOL = Symbol("react-native-css.inlineRule");
|
|
12
|
+
export function updateRules(state,
|
|
13
|
+
// Either update the state with new props or use the current props
|
|
14
|
+
currentProps = state.currentProps, inheritedVariables = state.inheritedVariables, inheritedContainers = state.inheritedContainers, forceUpdate = false, isRerender = true) {
|
|
15
|
+
const guards = [];
|
|
16
|
+
const rules = new Set();
|
|
17
|
+
if (forceUpdate) {
|
|
18
|
+
state = {
|
|
19
|
+
...state,
|
|
20
|
+
guards,
|
|
21
|
+
currentProps
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
let usesVariables = false;
|
|
25
|
+
let variables;
|
|
26
|
+
let containers;
|
|
27
|
+
const inlineVariables = new Set();
|
|
28
|
+
let animated = false;
|
|
29
|
+
let pressable = false;
|
|
30
|
+
for (const config of state.configs) {
|
|
31
|
+
const source = currentProps?.[config.source];
|
|
32
|
+
const shallowTarget = Array.isArray(config.target) ? config.target[0] : config.target;
|
|
33
|
+
guards.push(["a", config.source, source]);
|
|
34
|
+
if (shallowTarget) {
|
|
35
|
+
guards.push(["a", shallowTarget, currentProps?.[shallowTarget]]);
|
|
36
|
+
}
|
|
37
|
+
const styleRuleSet = [];
|
|
38
|
+
if (typeof source === "string") {
|
|
39
|
+
const classNames = source.split(/\s+/);
|
|
40
|
+
for (const className of classNames) {
|
|
41
|
+
styleRuleSet.push(...StyleCollection.styles(className).get(state.ruleEffect));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const target = getDeepPath(currentProps, config.target);
|
|
45
|
+
if (target) {
|
|
46
|
+
if (Array.isArray(target)) {
|
|
47
|
+
for (const item of target) {
|
|
48
|
+
// undefined or falsy is allowed in the style array
|
|
49
|
+
if (!item) {
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
if (VAR_SYMBOL in item) {
|
|
53
|
+
inlineVariables.add(item);
|
|
54
|
+
} else if (INLINE_RULE_SYMBOL in item && typeof item[INLINE_RULE_SYMBOL] === "string") {
|
|
55
|
+
pushInlineRule(state, item, styleRuleSet);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
} else if (config.target && typeof target === "object" && target && VAR_SYMBOL in target) {
|
|
59
|
+
inlineVariables.add(target);
|
|
60
|
+
} else if (INLINE_RULE_SYMBOL in target && typeof target[INLINE_RULE_SYMBOL] === "string") {
|
|
61
|
+
pushInlineRule(state, target, styleRuleSet);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
for (let rule of styleRuleSet) {
|
|
65
|
+
usesVariables ||= Boolean(rule.dv);
|
|
66
|
+
|
|
67
|
+
// We do this even if the rule doesn't match so we can maintain a consistent render tree
|
|
68
|
+
// We we need to inject React context
|
|
69
|
+
if (rule.a) animated = true;
|
|
70
|
+
if (rule.v) {
|
|
71
|
+
variables ??= inheritedVariables;
|
|
72
|
+
}
|
|
73
|
+
if (rule.c) {
|
|
74
|
+
containers ??= inheritedContainers;
|
|
75
|
+
activeFamily(state.ruleEffectGetter);
|
|
76
|
+
}
|
|
77
|
+
if (!testRule(rule, state.ruleEffectGetter, currentProps, guards, inheritedContainers)) {
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
if (rule.v) {
|
|
81
|
+
if (variables === inheritedVariables) {
|
|
82
|
+
variables = {
|
|
83
|
+
...inheritedVariables
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
for (const v of rule.v) {
|
|
87
|
+
variables[v[0]] = v[1];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
if (rule.c) {
|
|
91
|
+
// We're going to set a value, so we need to create a new object
|
|
92
|
+
if (containers === inheritedContainers) {
|
|
93
|
+
containers = {
|
|
94
|
+
...inheritedContainers,
|
|
95
|
+
// This container becomes the default container
|
|
96
|
+
[DEFAULT_CONTAINER_NAME]: state.ruleEffectGetter
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// This this component as the named container
|
|
101
|
+
for (const name of rule.c) {
|
|
102
|
+
containers[name] = state.ruleEffectGetter;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Enable hover/active/focus/layout handlers
|
|
106
|
+
hoverFamily(state.ruleEffectGetter);
|
|
107
|
+
activeFamily(state.ruleEffectGetter);
|
|
108
|
+
focusFamily(state.ruleEffectGetter);
|
|
109
|
+
containerLayoutFamily(state.ruleEffectGetter);
|
|
110
|
+
}
|
|
111
|
+
if (rule.a) {
|
|
112
|
+
animated = true;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Rules normally target style. If the target is not style, we need to create a new rule.
|
|
116
|
+
if (config.target !== "style") {
|
|
117
|
+
rule = getRuleVariation(rule)(config);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Add the rule to the set and update the hash
|
|
121
|
+
rules.add(rule);
|
|
122
|
+
}
|
|
123
|
+
if (process.env.NODE_ENV !== "production") {
|
|
124
|
+
if (isRerender) {
|
|
125
|
+
const pressable = activeFamily.has(state.ruleEffectGetter);
|
|
126
|
+
if (Boolean(variables) !== Boolean(state.variables)) {
|
|
127
|
+
console.log(`ReactNativeCss: className '${source}' added or removed a variable after the initial render. This causes the components state to be reset and all children be re-mounted. Use the className 'will-change-variable' to avoid this warning. If this was caused by sibling components being added/removed, use a 'key' prop so React can track the component correctly.`);
|
|
128
|
+
} else if (Boolean(containers) !== Boolean(state.containers)) {
|
|
129
|
+
console.log(`ReactNativeCss: className '${source}' added or removed a container after the initial render. This causes the components state to be reset and all children be re-mounted. This will cause unexpected behavior. Use the className 'will-change-container' to avoid this warning. If this was caused by sibling components being added/removed, use a 'key' prop so React can track the component correctly.`);
|
|
130
|
+
} else if (animated !== state.animated) {
|
|
131
|
+
console.log(`ReactNativeCss: className '${source}' added or removed an animation after the initial render. This causes the components state to be reset and all children be re-mounted. This will cause unexpected behavior. Use the className 'will-change-animation' to avoid this warning. If this was caused by sibling components being added/removed, use a 'key' prop so React can track the component correctly.`);
|
|
132
|
+
} else if (pressable !== state.pressable) {
|
|
133
|
+
console.log(`ReactNativeCss: className '${source}' added or removed a pressable state after the initial render. This causes the components state to be reset and all children be re-mounted. This will cause unexpected behavior. Use the className 'will-change-pressable' to avoid this warning. If this was caused by sibling components being added/removed, use a 'key' prop so React can track the component correctly.`);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
pressable = activeFamily.has(state.ruleEffectGetter);
|
|
139
|
+
if (!rules.size && !state.stylesObs && !inlineVariables.size) {
|
|
140
|
+
return {
|
|
141
|
+
...state,
|
|
142
|
+
currentProps,
|
|
143
|
+
guards,
|
|
144
|
+
animated,
|
|
145
|
+
pressable,
|
|
146
|
+
variables,
|
|
147
|
+
containers
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
if (usesVariables || variables) {
|
|
151
|
+
rules.add(inheritedVariables);
|
|
152
|
+
if (inlineVariables.size) {
|
|
153
|
+
variables = Object.assign({}, variables, inheritedVariables, ...Array.from(inlineVariables), {
|
|
154
|
+
[VAR_SYMBOL]: true
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
for (const variable of inlineVariables) {
|
|
158
|
+
rules.add(variable);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Generate a StyleObservable for this unique set of rules / variables
|
|
163
|
+
const stylesObs = stylesFamily(generateStateHash(state, rules), rules);
|
|
164
|
+
|
|
165
|
+
// Get the guards without subscribing to the observable
|
|
166
|
+
// We will subscribe within the render using the StyleEffect
|
|
167
|
+
guards.push(...stylesObs.get().guards);
|
|
168
|
+
|
|
169
|
+
// If these are the same styles with no inline variables, we can skip the update
|
|
170
|
+
if (state.stylesObs === stylesObs && !inlineVariables.size) {
|
|
171
|
+
return state;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// Remove this component from the old observer
|
|
175
|
+
state.stylesObs?.cleanup(state.ruleEffect);
|
|
176
|
+
return {
|
|
177
|
+
...state,
|
|
178
|
+
currentProps,
|
|
179
|
+
stylesObs,
|
|
180
|
+
variables,
|
|
181
|
+
containers,
|
|
182
|
+
guards,
|
|
183
|
+
animated,
|
|
184
|
+
pressable
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Create variations of a style rule based on the config.
|
|
190
|
+
* Cache for reference equality.
|
|
191
|
+
*/
|
|
192
|
+
const getRuleVariation = weakFamily(rule => {
|
|
193
|
+
return weakFamily(config => {
|
|
194
|
+
return {
|
|
195
|
+
...rule,
|
|
196
|
+
target: config.target
|
|
197
|
+
};
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
function pushInlineRule(state, item, styleRuleSet) {
|
|
201
|
+
for (const className of item[INLINE_RULE_SYMBOL].split(/\s+/)) {
|
|
202
|
+
let inlineRuleSet = StyleCollection.styles(className).get(state.ruleEffect);
|
|
203
|
+
for (let rule of inlineRuleSet) {
|
|
204
|
+
styleRuleSet.push(rule);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Get a unique number for a weak key.
|
|
211
|
+
*/
|
|
212
|
+
let hashKeyCount = 0;
|
|
213
|
+
const hashKeyFamily = weakFamily(() => hashKeyCount++);
|
|
214
|
+
export function generateStateHash(state, iterableKeys, variables, inlineVars) {
|
|
215
|
+
if (!iterableKeys) {
|
|
216
|
+
return "";
|
|
217
|
+
}
|
|
218
|
+
const keys = [state.configs, ...iterableKeys];
|
|
219
|
+
if (variables) {
|
|
220
|
+
keys.push(variables);
|
|
221
|
+
}
|
|
222
|
+
if (inlineVars) {
|
|
223
|
+
keys.push(...inlineVars);
|
|
224
|
+
}
|
|
225
|
+
return generateHash(keys);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Quickly generate a unique hash for a set of numbers.
|
|
230
|
+
* This is not a cryptographic hash, but it is fast and has a low chance of collision.
|
|
231
|
+
*/
|
|
232
|
+
const MOD = 9007199254740871; // Largest prime within safe integer range 2^53
|
|
233
|
+
const PRIME = 31; // A smaller prime for mixing
|
|
234
|
+
export function generateHash(keys) {
|
|
235
|
+
let hash = 0;
|
|
236
|
+
let product = 1; // Used for mixing to enhance uniqueness
|
|
237
|
+
|
|
238
|
+
for (const key of keys) {
|
|
239
|
+
if (!key) continue; // Skip if key is undefined
|
|
240
|
+
|
|
241
|
+
const num = hashKeyFamily(key);
|
|
242
|
+
hash = (hash ^ num) % MOD; // XOR and modular arithmetic
|
|
243
|
+
product = product * (num + PRIME) % MOD; // Mix with multiplication
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Combine hash and product to form the final hash
|
|
247
|
+
hash = (hash + product) % MOD;
|
|
248
|
+
|
|
249
|
+
// Return the hash as a string
|
|
250
|
+
return hash.toString(36);
|
|
251
|
+
}
|
|
252
|
+
//# sourceMappingURL=rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleCollection","testRule","DEFAULT_CONTAINER_NAME","getDeepPath","activeFamily","containerLayoutFamily","focusFamily","hoverFamily","VAR_SYMBOL","weakFamily","stylesFamily","INLINE_RULE_SYMBOL","Symbol","updateRules","state","currentProps","inheritedVariables","inheritedContainers","forceUpdate","isRerender","guards","rules","Set","usesVariables","variables","containers","inlineVariables","animated","pressable","config","configs","source","shallowTarget","Array","isArray","target","push","styleRuleSet","classNames","split","className","styles","get","ruleEffect","item","add","pushInlineRule","rule","Boolean","dv","a","v","c","ruleEffectGetter","name","getRuleVariation","process","env","NODE_ENV","has","console","log","size","stylesObs","Object","assign","from","variable","generateStateHash","cleanup","inlineRuleSet","hashKeyCount","hashKeyFamily","iterableKeys","inlineVars","keys","generateHash","MOD","PRIME","hash","product","key","num","toString"],"sourceRoot":"../../../../src","sources":["native/react/rules.ts"],"mappings":";;AAAA;;AAEA,SAASA,eAAe,QAAQ,kCAAk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