react-native-css 3.0.0-preview.2 → 3.0.0-preview.3
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 +3 -25
- package/dist/commonjs/compiler/atRules.js.map +1 -1
- package/dist/commonjs/compiler/compiler.js +70 -23
- 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 +64 -49
- 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/pseudo-elements.js +1 -1
- package/dist/commonjs/compiler/selector-builder.js +7 -5
- 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 +4 -5
- 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 +2 -2
- 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/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 +2 -2
- package/dist/commonjs/components/TextInput.js.map +1 -1
- package/dist/commonjs/components/View.js +2 -2
- package/dist/commonjs/components/View.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 -4
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/jest/index.js +5 -5
- package/dist/commonjs/jest/index.js.map +1 -1
- package/dist/commonjs/metro/index.js +12 -12
- 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/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.map +1 -0
- package/dist/commonjs/native/metro.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/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.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 +57 -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/native/injection.js +2 -0
- package/dist/commonjs/runtime/native/injection.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 +3 -25
- package/dist/module/compiler/atRules.js.map +1 -1
- package/dist/module/compiler/compiler.js +72 -25
- 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 +64 -49
- 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/pseudo-elements.js +1 -1
- package/dist/module/compiler/pseudo-elements.js.map +1 -1
- package/dist/module/compiler/selector-builder.js +7 -5
- 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 +4 -5
- 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 +1 -1
- 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/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 +1 -1
- package/dist/module/components/TextInput.js.map +1 -1
- package/dist/module/components/View.js +1 -1
- package/dist/module/components/View.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 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/jest/index.js +3 -3
- package/dist/module/jest/index.js.map +1 -1
- package/dist/module/metro/index.js +11 -11
- 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/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.map +1 -0
- package/dist/module/native/metro.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/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.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 +51 -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/native/injection.js +2 -0
- package/dist/module/runtime/native/injection.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/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 +5 -5
- 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/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.map +1 -1
- 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/View.d.ts +2 -2
- package/dist/typescript/commonjs/src/components/View.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/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/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.map +1 -0
- package/dist/typescript/commonjs/src/native/metro.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/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.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/native/injection.d.ts +1 -0
- package/dist/typescript/commonjs/src/runtime/native/injection.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/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 +5 -5
- 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/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.map +1 -1
- 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/View.d.ts +2 -2
- package/dist/typescript/module/src/components/View.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/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/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.map +1 -0
- package/dist/typescript/module/src/native/metro.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/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.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/native/injection.d.ts +1 -0
- package/dist/typescript/module/src/runtime/native/injection.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 +80 -48
- package/src/compiler/atRules.ts +2 -26
- package/src/compiler/compiler.ts +89 -27
- package/src/compiler/compiler.types.ts +16 -7
- package/src/compiler/declarations.ts +86 -85
- package/src/compiler/inline-variables.ts +209 -0
- package/src/compiler/pseudo-elements.ts +1 -1
- package/src/compiler/selector-builder.ts +8 -6
- package/src/compiler/selectors.ts +1 -1
- package/src/compiler/stylesheet.ts +5 -10
- package/src/components/Text.tsx +1 -1
- package/src/components/View.tsx +1 -1
- package/src/components/react-native-safe-area-context.native.tsx +7 -3
- package/src/jest/index.ts +4 -4
- package/src/metro/index.ts +19 -17
- package/src/metro/injection-code.ts +1 -1
- 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/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 +165 -0
- package/src/native/styles/shorthands/_handler.ts +122 -0
- package/src/native/styles/shorthands/animation.ts +123 -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/native/injection.ts +0 -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/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.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.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.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/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.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.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.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/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.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.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/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.map +0 -1
- 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.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.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/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/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/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/native → native}/index.js +0 -0
- /package/dist/commonjs/{runtime/native → native}/metro.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/resolve.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/web → 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/native → native}/index.js +0 -0
- /package/dist/module/{runtime/native → native}/metro.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/resolve.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/web → 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/native → native}/index.d.ts +0 -0
- /package/dist/typescript/commonjs/src/{runtime/native → native}/metro.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/animation.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/web → 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/native → native}/index.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/metro.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/utils → native}/objects.d.ts +0 -0
- /package/dist/typescript/module/src/{runtime/native → native}/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/animation.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/module/src/{runtime/web → web}/metro.d.ts +0 -0
- /package/src/{runtime/native → native}/conditions/guards.ts +0 -0
- /package/src/{runtime/native → native}/index.ts +0 -0
- /package/src/{runtime/native → native}/metro.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/{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/web → web}/metro.ts +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { StyleCollection } from "react-native-css/style-collection";
|
|
5
|
-
import { applyShorthand } from "../../../utils/index.js";
|
|
6
|
-
import { shorthandHandler } from "./_handler.js";
|
|
7
|
-
const name = ["animationName", "string", "none"];
|
|
8
|
-
const delay = ["animationDelay", "number", 0];
|
|
9
|
-
const duration = ["animationDuration", "number", 0];
|
|
10
|
-
const iteration = ["animationIterationCount", ["number", "infinite"], 1];
|
|
11
|
-
const fill = ["animationFillMode", ["none", "forwards", "backwards", "both"], "none"];
|
|
12
|
-
const playState = ["animationPlayState", ["running", "paused"], "running"];
|
|
13
|
-
const direction = ["animationDirection", ["normal", "reverse", "alternate", "alternate-reverse"], "normal"];
|
|
14
|
-
const timingFunction = ["animationTimingFunction", ["linear", "ease", "ease-in", "ease-out", "ease-in-out", "object"], "ease"];
|
|
15
|
-
export const animationShorthand = shorthandHandler([[name], [duration, name], [name, duration], [name, duration, iteration], [name, duration, timingFunction, iteration], [duration, delay, name], [duration, delay, iteration, name], [duration, delay, iteration, timingFunction, name], [name, duration, timingFunction, delay, iteration, fill]], [name, delay, direction, duration, fill, iteration, playState, timingFunction], "tuples");
|
|
16
|
-
export const animation = (resolveValue, value, get, options) => {
|
|
17
|
-
const animationShortHandTuples = animationShorthand(resolveValue, value, get, options);
|
|
18
|
-
if (!Array.isArray(animationShortHandTuples)) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
animationShortHandTuples.pop();
|
|
22
|
-
const nameTuple = animationShortHandTuples.find(tuple => tuple[1] === "animationName");
|
|
23
|
-
const name = nameTuple?.[0];
|
|
24
|
-
if (!nameTuple || typeof name !== "string") {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const keyframes = get(StyleCollection.keyframes(name));
|
|
28
|
-
const animation = {};
|
|
29
|
-
for (const [progress, declarations] of keyframes) {
|
|
30
|
-
animation[progress] ??= {};
|
|
31
|
-
const props = options.calculateProps?.(get,
|
|
32
|
-
// Cast this into a StyleRule[]
|
|
33
|
-
[{
|
|
34
|
-
s: [0],
|
|
35
|
-
d: declarations
|
|
36
|
-
}], options.renderGuards, options.inheritedVariables, options.inlineVariables);
|
|
37
|
-
if (!props) {
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if (props.normal) {
|
|
41
|
-
Object.assign(animation[progress], props.normal);
|
|
42
|
-
}
|
|
43
|
-
if (props.important) {
|
|
44
|
-
Object.assign(animation[progress], props.important);
|
|
45
|
-
}
|
|
46
|
-
animation[progress] = animation[progress].style;
|
|
47
|
-
}
|
|
48
|
-
nameTuple[0] = animation;
|
|
49
|
-
return applyShorthand(animationShortHandTuples);
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=animation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleCollection","applyShorthand","shorthandHandler","name","delay","duration","iteration","fill","playState","direction","timingFunction","animationShorthand","animation","resolveValue","value","get","options","animationShortHandTuples","Array","isArray","pop","nameTuple","find","tuple","keyframes","progress","declarations","props","calculateProps","s","d","renderGuards","inheritedVariables","inlineVariables","normal","Object","assign","important","style"],"sourceRoot":"../../../../../../src","sources":["runtime/native/styles/shorthands/animation.ts"],"mappings":";;AAAA;AACA,SAASA,eAAe,QAAQ,mCAAmC;AAEnE,SAASC,cAAc,QAAQ,yBAAgB;AAE/C,SAASC,gBAAgB,QAAQ,eAAY;AAE7C,MAAMC,IAAI,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAU;AACzD,MAAMC,KAAK,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,CAAC,CAAU;AACtD,MAAMC,QAAQ,GAAG,CAAC,mBAAmB,EAAE,QAAQ,EAAE,CAAC,CAAU;AAC5D,MAAMC,SAAS,GAAG,CAChB,yBAAyB,EACzB,CAAC,QAAQ,EAAE,UAAU,CAAC,EACtB,CAAC,CACO;AACV,MAAMC,IAAI,GAAG,CACX,mBAAmB,EACnB,CAAC,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,CAAC,EACzC,MAAM,CACE;AACV,MAAMC,SAAS,GAAG,CAChB,oBAAoB,EACpB,CAAC,SAAS,EAAE,QAAQ,CAAC,EACrB,SAAS,CACD;AACV,MAAMC,SAAS,GAAG,CAChB,oBAAoB,EACpB,CAAC,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,mBAAmB,CAAC,EACvD,QAAQ,CACA;AACV,MAAMC,cAAc,GAAG,CACrB,yBAAyB,EACzB,C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C;EAE3B,IAAI,CAACA,SAAS,IAAI,OAAOlB,IAAI,KAAK,QAAQ,EAAE;IAC1C;EACF;EAEA,MAAMqB,SAAS,GAAGT,GAAG,CAACf,eAAe,CAACwB,SAAS,CAACrB,IAAI,CAAC,CAAC;EAEtD,MAAMS,SAA8B,GAAG,CAAC,CAAC;EACzC,KAAK,MAAM,CAACa,QAAQ,EAAEC,YAAY,CAAC,IAAIF,SAAS,EAAE;IAChDZ,SAAS,CAACa,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1B,MAAME,KAAK,GAAGX,OAAO,CAACY,cAAc,GAClCb,GAAG;IACH;IACA,CAAC;MAAEc,CAAC,EAAE,CAAC,CAAC,CAAC;MAAEC,CAAC,EAAEJ;IAAa,CAAC,CAAC,EAC7BV,OAAO,CAACe,YAAY,EACpBf,OAAO,CAACgB,kBAAkB,EAC1BhB,OAAO,CAACiB,eACV,CAAC;IAED,IAAI,CAACN,KAAK,EAAE;MACV;IACF;IAEA,IAAIA,KAAK,CAACO,MAAM,EAAE;MAChBC,MAAM,CAACC,MAAM,CAACxB,SAAS,CAACa,QAAQ,CAAC,EAAEE,KAAK,CAACO,MAAM,CAAC;IAClD;IACA,IAAIP,KAAK,CAACU,SAAS,EAAE;MACnBF,MAAM,CAACC,MAAM,CAACxB,SAAS,CAACa,QAAQ,CAAC,EAAEE,KAAK,CAACU,SAAS,CAAC;IACrD;IAEAzB,SAAS,CAACa,QAAQ,CAAC,GAAGb,SAAS,CAACa,QAAQ,CAAC,CAACa,KAAK;EACjD;EAEAjB,SAAS,CAAC,CAAC,CAAC,GAAGT,SAAS;EAExB,OAAOX,cAAc,CAACgB,wBAAwB,CAAC;AACjD,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["shorthandHandler","width","style","color","border"],"sourceRoot":"../../../../../../src","sources":["runtime/native/styles/shorthands/border.ts"],"mappings":";;AAAA,SAASA,gBAAgB,QAAQ,eAAY;AAE7C,MAAMC,KAAK,GAAG,CAAC,aAAa,EAAE,QAAQ,CAAU;AAChD,MAAMC,KAAK,GAAG,CAAC,aAAa,EAAE,QAAQ,CAAU;AAChD,MAAMC,KAAK,GAAG,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAU;AAExD,OAAO,MAAMC,MAAM,GAAGJ,gBAAgB,CACpC,CAAC,CAACC,KAAK,EAAEC,KAAK,EAAEC,KAAK,CAAC,EAAE,CAACD,KAAK,EAAEC,KAAK,CAAC,EAAE,CAACF,KAAK,EAAEC,KAAK,CAAC,EAAE,CAACA,KAAK,CAAC,CAAC,EAChE,EACF,CAAC","ignoreList":[]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { isStyleDescriptorArray } from "../../../utils/index.js";
|
|
4
|
-
import { shorthandHandler } from "./_handler.js";
|
|
5
|
-
const color = ["color", "string"];
|
|
6
|
-
const offsetX = ["offsetX", "number"];
|
|
7
|
-
const offsetY = ["offsetY", "number"];
|
|
8
|
-
const blurRadius = ["blurRadius", "number"];
|
|
9
|
-
const spreadDistance = ["spreadDistance", "number"];
|
|
10
|
-
// const inset = ["inset", "string"] as const;
|
|
11
|
-
|
|
12
|
-
function deepFlattenToArrayOfStyleDescriptors(arr) {
|
|
13
|
-
const result = [];
|
|
14
|
-
const stack = [arr];
|
|
15
|
-
while (stack.length > 0) {
|
|
16
|
-
const current = stack.pop();
|
|
17
|
-
if (Array.isArray(current)) {
|
|
18
|
-
if (current.length > 0 && Array.isArray(current[0])) {
|
|
19
|
-
for (let i = current.length - 1; i >= 0; i--) {
|
|
20
|
-
const elem = current[i];
|
|
21
|
-
if (isStyleDescriptorArray(elem)) stack.push(elem);
|
|
22
|
-
}
|
|
23
|
-
} else {
|
|
24
|
-
result.push(current);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return result;
|
|
29
|
-
}
|
|
30
|
-
const handler = shorthandHandler([[offsetX, offsetY, blurRadius, spreadDistance, color], [color, offsetX, offsetY], [color, offsetX, offsetY, blurRadius], [color, offsetX, offsetY, blurRadius, spreadDistance], [offsetX, offsetY, color], [offsetX, offsetY, blurRadius, color]], [], "object");
|
|
31
|
-
export const boxShadow = (resolveValue, func, get, options) => {
|
|
32
|
-
const args = resolveValue(func[2]);
|
|
33
|
-
if (!isStyleDescriptorArray(args)) {
|
|
34
|
-
return args;
|
|
35
|
-
} else {
|
|
36
|
-
return deepFlattenToArrayOfStyleDescriptors(args).map(shadows => {
|
|
37
|
-
if (shadows === undefined) {
|
|
38
|
-
return [];
|
|
39
|
-
} else {
|
|
40
|
-
return omitTransparentShadows(handler(resolveValue, shadows, get, options));
|
|
41
|
-
}
|
|
42
|
-
}).filter(v => v !== undefined);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
function omitTransparentShadows(style) {
|
|
46
|
-
if (typeof style === "object" && style && "color" in style) {
|
|
47
|
-
if (style.color === "#0000" || style.color === "transparent") {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return style;
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=box-shadow.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isStyleDescriptorArray","shorthandHandler","color","offsetX","offsetY","blurRadius","spreadDistance","deepFlattenToArrayOfStyleDescriptors","arr","result","stack","length","current","pop","Array","isArray","i","elem","push","handler","boxShadow","resolveValue","func","get","options","args","map","shadows","undefined","omitTransparentShadows","filter","v","style"],"sourceRoot":"../../../../../../src","sources":["runtime/native/styles/shorthands/box-shadow.ts"],"mappings":";;AACA,SAASA,sBAAsB,QAAQ,yBAAgB;AAEvD,SAASC,gBAAgB,QAAQ,eAAY;AAE7C,MAAMC,KAAK,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU;AAC1C,MAAMC,OAAO,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAU;AAC9C,MAAMC,OAAO,GAAG,CAA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AEC,OAAO,EAAEF,KAAK,CAAC,EACzB,CAACC,OAAO,EAAEC,OAAO,EAAEC,UAAU,EAAEH,KAAK,CAAC,CACtC,EACD,EAAE,EACF,QACF,CAAC;AAED,OAAO,MAAMkB,SAAgC,GAAGA,CAC9CC,YAAY,EACZC,IAAI,EACJC,GAAG,EACHC,OAAO,KACJ;EACH,MAAMC,IAAI,GAAGJ,YAAY,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC;EAElC,IAAI,CAACtB,sBAAsB,CAACyB,IAAI,CAAC,EAAE;IACjC,OAAOA,IAAI;EACb,CAAC,MAAM;IACL,OAAOlB,oCAAoC,CAACkB,IAAI,CAAC,CAC9CC,GAAG,CAAEC,OAAO,IAAK;MAChB,IAAIA,OAAO,KAAKC,SAAS,EAAE;QACzB,OAAO,EAAE;MACX,CAAC,MAAM;QACL,OAAOC,sBAAsB,CAC3BV,OAAO,CAACE,YAAY,EAAEM,OAAO,EAAEJ,GAAG,EAAEC,OAAO,CAC7C,CAAC;MACH;IACF,CAAC,CAAC,CACDM,MAAM,CAAEC,CAAC,IAAKA,CAAC,KAAKH,SAAS,CAAC;EACnC;AACF,CAAC;AAED,SAASC,sBAAsBA,CAACG,KAAc,EAAE;EAC9C,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,IAAI,OAAO,IAAIA,KAAK,EAAE;IAC1D,IAAIA,KAAK,CAAC9B,KAAK,KAAK,OAAO,IAAI8B,KAAK,CAAC9B,KAAK,KAAK,aAAa,EAAE;MAC5D;IACF;EACF;EAEA,OAAO8B,KAAK;AACd","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["runtime/native/styles/shorthands/index.ts"],"mappings":";;AAAA,cAAc,gBAAa;AAC3B,cAAc,aAAU;AACxB,cAAc,iBAAc;AAC5B,cAAc,kBAAe;AAC7B,cAAc,gBAAa","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["shorthandHandler","width","height","blur","color","textShadow"],"sourceRoot":"../../../../../../src","sources":["runtime/native/styles/shorthands/text-shadow.ts"],"mappings":";;AAAA,SAASA,gBAAgB,QAAQ,eAAY;AAE7C,MAAMC,KAAK,GAAG,CAAC,CAAC,kBAAkB,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAU;AAChE,MAAMC,MAAM,GAAG,CAAC,CAAC,kBAAkB,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAU;AAClE,MAAMC,IAAI,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,kBAAkB,CAAU;AACxE,MAAMC,KAAK,GAAG,CAAC,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAU;AAE5D,OAAO,MAAMC,UAAU,GAAGL,gBAAgB,CACxC,CACE,CAACC,KAAK,EAAEC,MAAM,EAAEC,IAAI,EAAEC,KAAK,CAAC,EAC5B,CAACA,KAAK,EAAEH,KAAK,EAAEC,MAAM,EAAEC,IAAI,CAAC,EAC5B,CAACF,KAAK,EAAEC,MAAM,EAAEE,KAAK,CAAC,EACtB,CAACA,KAAK,EAAEH,KAAK,EAAEC,MAAM,CAAC,EACtB,CAACD,KAAK,EAAEC,MAAM,CAAC,CAChB,EACD,CAACC,IAAI,EAAEC,KAAK,CACd,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["transform","resolveValue","transformDescriptor","transforms","Array","isArray","filter","undefined"],"sourceRoot":"../../../../../../src","sources":["runtime/native/styles/shorthands/transform.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAgC,GAAGA,CAC9CC,YAAY,EACZC,mBAAmB,KAChB;EACH,MAAMC,UAAU,GAAGF,YAAY,CAACC,mBAAmB,CAAC,CAAC,CAAC,CAAC;EAEvD,IAAIE,KAAK,CAACC,OAAO,CAACF,UAAU,CAAC,EAAE;IAC7B,OAAOA,UAAU,CAACG,MAAM,CACrBN,SAAS,IAAKA,SAAS,KAAKO,SAAS,IAAIP,SAAS,KAAK,SAC1D,CAAC;EACH,CAAC,MAAM,IAAIG,UAAU,EAAE;IACrB;IACA,OAAO,CAACA,UAAU,CAAC;EACrB,CAAC,MAAM;IACL;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["vh","vhObs","vw","vwObs","em","resolve","func","value","emValue","round","_","get","rem","remValue","number","Math","Number","EPSILON"],"sourceRoot":"../../../../../src","sources":["runtime/native/styles/units.ts"],"mappings":";;AAAA,SAASA,EAAE,IAAIC,KAAK,EAAEC,EAAE,IAAIC,KAAK,QAAQ,kBAAe;AAGxD,OAAO,MAAMC,EAAyB,GAAGA,CAACC,OAAO,EAAEC,IAAI,KAAK;EAC1D,MAAMC,KAAK,GAAGD,IAAI,CAAC,CAAC,CAAC;EAErB,IAAI,OAAOC,KAAK,KAAK,QAAQ,EAAE;IAC7B;EACF;EAEA,IAAIC,OAAO,GAAGH,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;EAEnD,IAAI,OAAOG,OAAO,KAAK,QAAQ,EAAE;IAC/BA,OAAO,GAAGH,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;EAClD;EAEA,IAAI,OAAOG,OAAO,KAAK,QAAQ,EAAE;IAC/B;EACF;EAEA,OAAOC,KAAK,CAACF,KAAK,GAAGC,OAAO,CAAC;AAC/B,CAAC;AAED,OAAO,MAAMN,EAAyB,GAAGA,CAACQ,CAAC,EAAEJ,IAAI,EAAEK,GAAG,KAAK;EACzD,MAAMJ,KAAK,GAAGD,IAAI,CAAC,CAAC,CAAC;EAErB,IAAI,OAAOC,KAAK,KAAK,QAAQ,EAAE;IAC7B;EACF;EAEA,OAAOE,KAAK,CAACE,GAAG,CAACR,KAAK,CAAC,IAAII,KAAK,GAAG,GAAG,CAAC,CAAC;AAC1C,CAAC;AAED,OAAO,MAAMP,EAAyB,GAAGA,CAACU,CAAC,EAAEJ,IAAI,EAAEK,GAAG,KAAK;EACzD,MAAMJ,KAAK,GAAGD,IAAI,CAAC,CAAC,CAAC;EAErB,IAAI,OAAOC,KAAK,KAAK,QAAQ,EAAE;IAC7B;EACF;EAEA,OAAOE,KAAK,CAAEF,KAAK,GAAG,GAAG,GAAII,GAAG,CAACV,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,OAAO,MAAMW,GAA0B,GAAGA,CAACP,OAAO,EAAEC,IAAI,KAAK;EAC3D,MAAMC,KAAK,GAAGD,IAAI,CAAC,CAAC,CAAC;EAErB,IAAI,OAAOC,KAAK,KAAK,QAAQ,EAAE;IAC7B;EACF;EAEA,MAAMM,QAAQ,GAAGR,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;EAEvD,IAAI,OAAOQ,QAAQ,KAAK,QAAQ,EAAE;IAChC,OAAOJ,KAAK,CAACF,KAAK,GAAGM,QAAQ,CAAC;EAChC;EAEA;AACF,CAAC;AAED,SAASJ,KAAKA,CAACK,MAAc,EAAE;EAC7B,OAAOC,IAAI,CAACN,KAAK,CAAC,CAACK,MAAM,GAAGE,MAAM,CAACC,OAAO,IAAI,GAAG,CAAC,GAAG,GAAG;AAC1D","ignoreList":[]}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { rootVariables, universalVariables } from "react-native-css/style-collection";
|
|
4
|
-
import { isStyleDescriptorArray } from "../../utils/index.js";
|
|
5
|
-
import { VAR_SYMBOL } from "../reactivity.js";
|
|
6
|
-
export function varResolver(resolve, fn, get, options) {
|
|
7
|
-
const {
|
|
8
|
-
renderGuards,
|
|
9
|
-
inheritedVariables: variables = {
|
|
10
|
-
[VAR_SYMBOL]: true
|
|
11
|
-
},
|
|
12
|
-
inlineVariables,
|
|
13
|
-
variableHistory = new Set()
|
|
14
|
-
} = options;
|
|
15
|
-
const args = fn[2];
|
|
16
|
-
let name;
|
|
17
|
-
let fallback;
|
|
18
|
-
if (typeof args === "string") {
|
|
19
|
-
name = args;
|
|
20
|
-
} else {
|
|
21
|
-
const result = resolve(args);
|
|
22
|
-
if (isStyleDescriptorArray(result)) {
|
|
23
|
-
name = result[0];
|
|
24
|
-
fallback = result[1];
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
if (typeof name !== "string") {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// If this recurses back to the same variable, we need to stop
|
|
32
|
-
if (variableHistory.has(name)) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
if (name in variables) {
|
|
36
|
-
renderGuards?.push(["v", name, variables[name]]);
|
|
37
|
-
return variables[name];
|
|
38
|
-
}
|
|
39
|
-
variableHistory.add(name);
|
|
40
|
-
let value = resolve(inlineVariables?.[name]);
|
|
41
|
-
if (value !== undefined) {
|
|
42
|
-
options.inlineVariables ??= {
|
|
43
|
-
[VAR_SYMBOL]: "inline"
|
|
44
|
-
};
|
|
45
|
-
options.inlineVariables[name] = value;
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
value = resolve(variables[name]);
|
|
49
|
-
if (value !== undefined) {
|
|
50
|
-
renderGuards?.push(["v", name, value]);
|
|
51
|
-
options.inlineVariables ??= {
|
|
52
|
-
[VAR_SYMBOL]: "inline"
|
|
53
|
-
};
|
|
54
|
-
options.inlineVariables[name] = value;
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
value = resolve(get(universalVariables(name)));
|
|
58
|
-
if (value !== undefined) {
|
|
59
|
-
options.inlineVariables ??= {
|
|
60
|
-
[VAR_SYMBOL]: "inline"
|
|
61
|
-
};
|
|
62
|
-
options.inlineVariables[name] = value;
|
|
63
|
-
return value;
|
|
64
|
-
}
|
|
65
|
-
value = resolve(get(rootVariables(name)));
|
|
66
|
-
if (value !== undefined) {
|
|
67
|
-
options.inlineVariables ??= {
|
|
68
|
-
[VAR_SYMBOL]: "inline"
|
|
69
|
-
};
|
|
70
|
-
options.inlineVariables[name] = value;
|
|
71
|
-
return value;
|
|
72
|
-
}
|
|
73
|
-
return resolve(fallback);
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=variables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["rootVariables","universalVariables","isStyleDescriptorArray","VAR_SYMBOL","varResolver","resolve","fn","get","options","renderGuards","inheritedVariables","variables","inlineVariables","variableHistory","Set","args","name","fallback","result","has","push","add","value","undefined"],"sourceRoot":"../../../../../src","sources":["runtime/native/styles/variables.ts"],"mappings":";;AAAA,SACEA,aAAa,EACbC,kBAAkB,QACb,mCAAmC;AAG1C,SAASC,sBAAsB,QAAQ,sBAAa;AACpD,SAASC,UAAU,QAAqB,kBAAe;AAGvD,OAAO,SAASC,WAAWA,CACzBC,OAA2B,EAC3BC,EAAiB,EACjBC,GAAW,EACXC,OAA4B,EAC5B;EACA,MAAM;IACJC,YAAY;IACZC,kBAAkB,EAAEC,SAAS,GAAG;MAAE,CAACR,UAAU,GAAG;IAAK,CAAC;IACtDS,eAAe;IACfC,eAAe,GAAG,IAAIC,GAAG,CAAC;EAC5B,CAAC,GAAGN,OAAO;EAEX,MAAMO,IAAI,GAAGT,EAAE,CAAC,CAAC,CAAC;EAElB,IAAIU,IAAwB;EAC5B,IAAIC,QAAqC;EAEzC,IAAI,OAAOF,IAAI,KAAK,QAAQ,EAAE;IAC5BC,IAAI,GAAGD,IAAI;EACb,CAAC,MAAM;IACL,MAAMG,MAAM,GAAGb,OAAO,CAACU,IAAI,CAAC;IAE5B,IAAIb,sBAAsB,CAACgB,MAAM,CAAC,EAAE;MAClCF,IAAI,GAAGE,MAAM,CAAC,CAAC,CAAW;MAC1BD,QAAQ,GAAGC,MAAM,CAAC,CAAC,CAAC;IACtB;EACF;EAEA,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,GAAGjB,OAAO,CAACE,GAAG,CAACP,aAAa,CAACgB,IAAI,CAAC,CAAC,CAAC;EACzC,IAAIM,KAAK,KAAKC,SAAS,EAAE;IACvBf,OAAO,CAACI,eAAe,KAAK;MAAE,CAACT,UAAU,GAAG;IAAS,CAAC;IACtDK,OAAO,CAACI,eAAe,CAACI,IAAI,CAAC,GAAGM,KAAK;IACrC,OAAOA,KAAK;EACd;EAEA,OAAOjB,OAAO,CAACY,QAAQ,CAAC;AAC1B","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["runtime/runtime.ts"],"mappings":";;AAAA,cAAc,gBAAO","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["runtime/runtime.native.ts"],"mappings":";;AAAA,cAAc,mBAAU","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["runtime/runtime.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
const ForwardRefSymbol = Symbol.for("react.forward_ref");
|
|
5
|
-
export function getComponentType(component) {
|
|
6
|
-
switch (typeof component) {
|
|
7
|
-
case "function":
|
|
8
|
-
case "object":
|
|
9
|
-
return "$$typeof" in component && component.$$typeof === ForwardRefSymbol ? "forwardRef" : component.prototype?.isReactComponent ? "class" : typeof component;
|
|
10
|
-
default:
|
|
11
|
-
return "unknown";
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ForwardRefSymbol","Symbol","for","getComponentType","component","$$typeof","prototype","isReactComponent"],"sourceRoot":"../../../../src","sources":["runtime/utils/components.ts"],"mappings":";;AAAA;AACA,MAAMA,gBAAgB,GAAGC,MAAM,CAACC,GAAG,CAAC,mBAAmB,CAAC;AACxD,OAAO,SAASC,gBAAgBA,CAACC,SAAc,EAAE;EAC/C,QAAQ,OAAOA,SAAS;IACtB,KAAK,UAAU;IACf,KAAK,QAAQ;MACX,OAAO,UAAU,IAAIA,SAAS,IAAIA,SAAS,CAACC,QAAQ,KAAKL,gBAAgB,GACrE,YAAY,GACZI,SAAS,CAACE,SAAS,EAAEC,gBAAgB,GACnC,OAAO,GACP,OAAOH,SAAS;IACxB;MACE,OAAO,SAAS;EACpB;AACF","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/utils/dot-notation.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/utils/index.ts"],"mappings":";;AAAA,cAAc,cAAW;AACzB,cAAc,iBAAc;AAC5B,cAAc,kBAAe;AAC7B,cAAc,kBAAe;AAC7B,cAAc,kBAAe","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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":["runtime/utils/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,OAAO,CAACH,KAAK,CAAC,EAAE;IACxB,IAAII,MAAM,GAAGL,MAA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,OAAOP,MAAM;AACf","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Specificity","Order","ClassName","Important","Inline","PseudoElements","PseudoClass","inlineSpecificity","specificityCompareFn","a","b","aSpec","s","bSpec"],"sourceRoot":"../../../../src","sources":["runtime/utils/specificity.ts"],"mappings":";;AAAA;;AAIA,OAAO,MAAMA,WAAW,GAAG;EACzBC,KAAK,EAAE,CAAC;EACRC,SAAS,EAAE,CAAC;EACZC,SAAS,EAAE,CAAC;EACZC,MAAM,EAAE,CAAC;EACTC,cAAc,EAAE,CAAC;EACjBC,WAAW,EAAE;EACb;EACA;AACF,CAAC;AAED,MAAMH,SAAS,GAAGH,WAAW,CAACG,SAAS;AACvC,MAAMC,MAAM,GAAGJ,WAAW,CAACI,MAAM;AACjC,MAAMC,cAAc,GAAGL,WAAW,CAACK,cAAc;AACjD,MAAMH,SAAS,GAAGF,WAAW,CAACE,SAAS;AACvC,MAAMD,KAAK,GAAGD,WAAW,CAACC,KAAK;AAE/B,OAAO,MAAMM,iBAAmC,GAAG,EAAE;AACrDA,iBAAiB,CAACP,WAAW,CAACI,MAAM,CAAC,GAAG,CAAC;AAEzC,OAAO,MAAMI,oBAAoB,GAAGA,CAClCC,CAAgC,EAChCC,CAAgC,KAC7B;EACH,MAAMC,KAAK,GAAGF,CAAC,CAACG,CAAC,GAAGH,CAAC,CAACG,CAAC,GAAGL,iBAAiB;EAC3C,MAAMM,KAAK,GAAGH,CAAC,CAACE,CAAC,GAAGF,CAAC,CAACE,CAAC,GAAGL,iBAAiB;EAE3C,IAAII,KAAK,CAACR,SAAS,CAAC,KAAKU,KAAK,CAACV,SAAS,CAAC,EAAE;IACzC,OAAO,CAACQ,KAAK,CAACR,SAAS,CAAC,IAAI,CAAC,KAAKU,KAAK,CAACV,SAAS,CAAC,IAAI,CAAC,CAAC;EAC1D,CAAC,MAAM,IAAIQ,KAAK,CAACP,MAAM,CAAC,KAAKS,KAAK,CAACT,MAAM,CAAC,EAAE;IAC1C,OAAO,CAACO,KAAK,CAACP,MAAM,CAAC,IAAI,CAAC,KAAKS,KAAK,CAACT,MAAM,CAAC,IAAI,CAAC,CAAC;EACpD,CAAC,MAAM,IAAIO,KAAK,CAACN,cAAc,CAAC,KAAKQ,KAAK,CAACR,cAAc,CAAC,EAAE;IAC1D,OAAO,CAACM,KAAK,CAACN,cAAc,CAAC,IAAI,CAAC,KAAKQ,KAAK,CAACR,cAAc,CAAC,IAAI,CAAC,CAAC;EACpE,CAAC,MAAM,IAAIM,KAAK,CAACT,SAAS,CAAC,KAAKW,KAAK,CAACX,SAAS,CAAC,EAAE;IAChD,OAAO,CAACS,KAAK,CAACT,SAAS,CAAC,IAAI,CAAC,KAAKW,KAAK,CAACX,SAAS,CAAC,IAAI,CAAC,CAAC;EAC1D,CAAC,MAAM,IAAIS,KAAK,CAACV,KAAK,CAAC,KAAKY,KAAK,CAACZ,KAAK,CAAC,EAAE;IACxC,OAAO,CAACU,KAAK,CAACV,KAAK,CAAC,IAAI,CAAC,KAAKY,KAAK,CAACZ,KAAK,CAAC,IAAI,CAAC,CAAC;EAClD,CAAC,MAAM;IACL,OAAO,CAAC;EACV;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export function isStyleDescriptorArray(value) {
|
|
4
|
-
if (Array.isArray(value)) {
|
|
5
|
-
// If its an array and the first item is an object, the only allowed value is an array
|
|
6
|
-
return typeof value[0] === "object" ? Array.isArray(value[0]) : true;
|
|
7
|
-
}
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
export function isStyleFunction(value) {
|
|
11
|
-
if (Array.isArray(value)) {
|
|
12
|
-
return typeof value[0] === "object" ? Object.keys(value[0]).length === 0 : false;
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=style-value.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isStyleDescriptorArray","value","Array","isArray","isStyleFunction","Object","keys","length"],"sourceRoot":"../../../../src","sources":["runtime/utils/style-value.ts"],"mappings":";;AAEA,OAAO,SAASA,sBAAsBA,CACpCC,KAAc,EACc;EAC5B,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB;IACA,OAAO,OAAOA,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAGC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;EACtE;EAEA,OAAO,KAAK;AACd;AAEA,OAAO,SAASG,eAAeA,CAC7BH,KAAsB,EACE;EACxB,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB,OAAO,OAAOA,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,GAC/BI,MAAM,CAACC,IAAI,CAACL,KAAK,CAAC,CAAC,CAAC,CAAC,CAACM,MAAM,KAAK,CAAC,GAClC,KAAK;EACX;EAEA,OAAO,KAAK;AACd","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/utils/utils.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createElement","useMemo","Appearance","assignStyle","jsx","_jsx","styled","baseComponent","mapping","_options","props","useCssElement","component","incomingProps","key","value","Object","entries","source","target","$$css","split","colorScheme","get","getColorScheme","set","name","setColorScheme","vars","variables","$variables","startsWith","toString","VariableContextProvider","style","display","fromEntries","map","children","useNativeVariable","Error","useUnstableNativeVariable"],"sourceRoot":"../../../../src","sources":["runtime/web/api.tsx"],"mappings":";;AAAA,SACEA,aAAa,EACbC,OAAO,QAGF,OAAO;AACd,SAASC,UAAU,QAAQ,cAAc;AAUzC,SAASC,WAAW,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE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"names":["assignStyle","value","targets","props","target","shift","length","cb","args"],"sourceRoot":"../../../../src","sources":["runtime/web/assign-style.ts"],"mappings":";;AAAA;AACA,OAAO,SAASA,WAAWA,CACzBC,KAA0B,EAC1BC,OAAiB,EACjBC,KAA0B,EAC1B;EACA,MAAMC,MAAM,GAAGF,OAAO,CAACG,KAAK,CAAC,CAAC;EAE9B,IAAI,CAACD,MAAM,EAAE,OAAO,CAAC,CAAC;EAEtB,IAAIF,OAAO,CAACI,MAAM,KAAK,CAAC,EAAE;IACxB,IAAI,OAAOH,KAAK,CAACC,MAAM,CAAC,KAAK,UAAU,EAAE;MACvC,MAAMG,EAAE,GAAGJ,KAAK,CAACC,MAAM,CAAC;MACxBD,KAAK,CAACC,MAAM,CAAC,GAAG,CAAC,GAAGI,IAAW,KAAK;QAClC,OAAO,CAACD,EAAE,CAAC,GAAGC,IAAI,CAAC,EAAEP,KAAK,CAAC;MAC7B,CAAC;IACH,CAAC,MAAM;MACLE,KAAK,CAACC,MAAM,CAAC,GAAG,CAACD,KAAK,CAACC,MAAM,CAAC,EAAEH,KAAK,CAAC;IACxC;IACA,OAAOE,KAAK;EACd,CAAC,MAAM;IACLA,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpBJ,WAAW,CAACC,KAAK,EAAEC,OAAO,EAAEC,KAAK,CAACC,MAAM,CAAC,CAAC;IAC1C,OAAOD,KAAK;EACd;AACF","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/web/index.ts"],"mappings":";;AAAA;AACA,OAAO,YAAS;AAGhB,cAAc,UAAO","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/web/metro.ts"],"mappings":";;AAAA;AACA","ignoreList":[]}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { DEFAULT_CONTAINER_NAME } from "../runtime/native/conditions/container-query.js";
|
|
4
|
-
import { family, observable, observableBatch } from "../runtime/native/reactivity.js";
|
|
5
|
-
import { rootVariables, universalVariables } from "./root.js";
|
|
6
|
-
export { rootVariables, universalVariables };
|
|
7
|
-
globalThis.__react_native_css_style_collection ??= {
|
|
8
|
-
styles: family(() => {
|
|
9
|
-
return observable([], isDeepEqual);
|
|
10
|
-
}),
|
|
11
|
-
keyframes: family(() => {
|
|
12
|
-
return observable([], isDeepEqual);
|
|
13
|
-
}),
|
|
14
|
-
inject: function (options) {
|
|
15
|
-
observableBatch.current = new Set();
|
|
16
|
-
StyleCollection.styles("will-change-variable").set([{
|
|
17
|
-
s: [0],
|
|
18
|
-
v: []
|
|
19
|
-
}]);
|
|
20
|
-
StyleCollection.styles("will-change-container").set([{
|
|
21
|
-
s: [0],
|
|
22
|
-
c: [DEFAULT_CONTAINER_NAME]
|
|
23
|
-
}]);
|
|
24
|
-
StyleCollection.styles("will-change-animation").set([{
|
|
25
|
-
s: [0],
|
|
26
|
-
a: true
|
|
27
|
-
}]);
|
|
28
|
-
StyleCollection.styles("will-change-pressable").set([{
|
|
29
|
-
s: [0],
|
|
30
|
-
p: {
|
|
31
|
-
h: 1
|
|
32
|
-
}
|
|
33
|
-
}]);
|
|
34
|
-
if (options.s) {
|
|
35
|
-
for (const style of options.s) {
|
|
36
|
-
StyleCollection.styles(style[0]).set(style[1]);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
if (options.k) {
|
|
40
|
-
for (const keyframes of options.k) {
|
|
41
|
-
StyleCollection.keyframes(keyframes[0]).set(keyframes[1]);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
if (options.vr) {
|
|
45
|
-
for (const entry of options.vr) {
|
|
46
|
-
rootVariables(entry[0]).set(entry[1]);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
if (options.vu) {
|
|
50
|
-
for (const entry of options.vu) {
|
|
51
|
-
rootVariables(entry[0]).set(entry[1]);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
for (const effect of observableBatch.current) {
|
|
55
|
-
effect.run();
|
|
56
|
-
}
|
|
57
|
-
observableBatch.current = undefined;
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
export const StyleCollection = globalThis.__react_native_css_style_collection;
|
|
61
|
-
function isDeepEqual(a, b) {
|
|
62
|
-
const aArray = Array.isArray(a);
|
|
63
|
-
const bArray = Array.isArray(b);
|
|
64
|
-
const requiresKeyComparison = typeof a === "object" && typeof b === "object" && aArray === bArray;
|
|
65
|
-
|
|
66
|
-
// Only compare keys when both are an object or array
|
|
67
|
-
// This does not account for complex types like Date/Regex, because we don't use them
|
|
68
|
-
if (!requiresKeyComparison) return a === b;
|
|
69
|
-
|
|
70
|
-
// Make either are not null
|
|
71
|
-
if (!a || !b) {
|
|
72
|
-
return a === b;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// Shortcut for arrays
|
|
76
|
-
if (aArray && bArray && a.length !== b.length) {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// Compare a to b
|
|
81
|
-
for (const key in a) {
|
|
82
|
-
if (!isDeepEqual(a[key], b[key])) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Compare b to a
|
|
88
|
-
for (const key in b) {
|
|
89
|
-
if (!(key in a)) {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
return true;
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["DEFAULT_CONTAINER_NAME","family","observable","observableBatch","rootVariables","universalVariables","globalThis","__react_native_css_style_collection","styles","isDeepEqual","keyframes","inject","options","current","Set","StyleCollection","set","s","v","c","a","p","h","style","k","vr","entry","vu","effect","run","undefined","b","aArray","Array","isArray","bArray","requiresKeyComparison","length","key"],"sourceRoot":"../../../src","sources":["style-collection/index.ts"],"mappings":";;AAMA,SAASA,sBAAsB,QAAQ,iDAA8C;AACrF,SACEC,MAAM,EACNC,UAAU,EACVC,eAAe,QAEV,iCAA8B;AACrC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,WAAQ;AAE1D,SAASD,aAAa,EAAEC,kBAAkB;AAY1CC,UAAU,CAACC,mCAAmC,KAAK;EACjDC,MAAM,EAAEP,MAAM,CAAmC,MAAM;IACrD,OAAOC,UAAU,CAAC,EAAE,EAAEO,WAAW,CAAC;EACpC,CAAC,CAAC;EACFC,SAAS,EAAET,MAAM,CAAmC,MAAM;IACxD,OAAOC,UAAU,CAAC,EAAE,EAAEO,WAAW,CAAC;EACpC,CAAC,CAAC;EACFE,MAAM,EAAE,SAAAA,CAAUC,OAAiC,EAAE;IACnDT,eAAe,CAACU,OAAO,GAAG,IAAIC,GAAG,CAAC,CAAC;IAEnCC,eAAe,CAACP,MAAM,CAAC,sBAAsB,CAAC,CAACQ,GAAG,CAAC,CACjD;MACEC,CAAC,EAAE,CAAC,CAAC,CAAC;MACNC,CAAC,EAAE;IACL,CAAC,CACF,CAAC;IAEFH,eAAe,CAACP,MAAM,CAAC,uBAAuB,CAAC,CAACQ,GAAG,CAAC,CAClD;MACEC,CAAC,EAAE,CAAC,CAAC,CAAC;MACNE,CAAC,EAAE,CAACnB,sBAAsB;IAC5B,CAAC,CACF,CAAC;IAEFe,eAAe,CAACP,MAAM,CAAC,uBAAuB,CAAC,CAACQ,GAAG,CAAC,CAClD;MACEC,CAAC,EAAE,CAAC,CAAC,CAAC;MACNG,CAAC,EAAE;IACL,CAAC,CACF,CAAC;IAEFL,eAAe,CAACP,MAAM,CAAC,uBAAuB,CAAC,CAACQ,GAAG,CAAC,CAClD;MACEC,CAAC,EAAE,CAAC,CAAC,CAAC;MACNI,CAAC,EAAE;QACDC,CAAC,EAAE;MACL;IACF,CAAC,CACF,CAAC;IAEF,IAAIV,OAA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B,OAAOhB,CAAC,KAAK,QAAQ,IAAI,OAAOW,CAAC,KAAK,QAAQ,IAAIC,MAAM,KAAKG,MAAM;;EAErE;EACA;EACA,IAAI,CAACC,qBAAqB,EAAE,OAAOhB,CAAC,KAAKW,CAAC;;EAE1C;EACA,IAAI,CAACX,CAAC,IAAI,CAACW,CAAC,EAAE;IACZ,OAAOX,CAAC,KAAKW,CAAC;EAChB;;EAEA;EACA,IAAIC,MAAM,IAAIG,MAAM,IAAIf,CAAC,CAACiB,MAAM,KAAKN,CAAC,CAACM,MAAM,EAAE;IAC7C,OAAO,KAAK;EACd;;EAEA;EACA,KAAK,MAAMC,GAAG,IAAIlB,CAAC,EAAE;IACnB,IACE,CAACX,WAAW,CACTW,CAAC,CAA6BkB,GAAG,CAAC,EAClCP,CAAC,CAA6BO,GAAG,CACpC,CAAC,EACD;MACA,OAAO,KAAK;IACd;EACF;;EAEA;EACA,KAAK,MAAMA,GAAG,IAAIP,CAAC,EAAE;IACnB,IAAI,EAAEO,GAAG,IAAIlB,CAAC,CAAC,EAAE;MACf,OAAO,KAAK;IACd;EACF;EAEA,OAAO,IAAI;AACb","ignoreList":[]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { testMediaQuery } from "../runtime/native/conditions/media-query.js";
|
|
4
|
-
import { family, observable } from "../runtime/native/reactivity.js";
|
|
5
|
-
const rootVariableFamily = () => {
|
|
6
|
-
return family(() => {
|
|
7
|
-
const obs = observable((read, variableValue) => {
|
|
8
|
-
if (!variableValue) return undefined;
|
|
9
|
-
for (const [value, mediaQuery] of variableValue) {
|
|
10
|
-
if (!mediaQuery) {
|
|
11
|
-
return value;
|
|
12
|
-
}
|
|
13
|
-
if (testMediaQuery(mediaQuery, read)) {
|
|
14
|
-
return value;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return undefined;
|
|
18
|
-
});
|
|
19
|
-
return obs;
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
export const rootVariables = rootVariableFamily();
|
|
23
|
-
export const universalVariables = rootVariableFamily();
|
|
24
|
-
rootVariables("__rn-css-rem").set([[14]]);
|
|
25
|
-
//# sourceMappingURL=root.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["testMediaQuery","family","observable","rootVariableFamily","obs","read","variableValue","undefined","value","mediaQuery","rootVariables","universalVariables","set"],"sourceRoot":"../../../src","sources":["style-collection/root.ts"],"mappings":";;AAEA,SAASA,cAAc,QAAQ,6CAA0C;AACzE,SACEC,MAAM,EACNC,UAAU,QAEL,iCAA8B;AAErC,MAAMC,kBAAkB,GAAGA,CAAA,KAAM;EAC/B,OAAOF,MAAM,CAAuD,MAAM;IACxE,MAAMG,GAAG,GAAGF,UAAU,CACpB,CAACG,IAAI,EAAEC,aAAa,KAAK;MACvB,IAAI,CAACA,aAAa,EAAE,OAAOC,SAAS;MAEpC,KAAK,MAAM,CAACC,KAAK,EAAEC,UAAU,CAAC,IAAIH,aAAa,EAAE;QAC/C,IAAI,CAACG,UAAU,EAAE;UACf,OAAOD,KAAK;QACd;QAEA,IAAIR,cAAc,CAACS,UAAU,EAAEJ,IAAI,CAAC,EAAE;UACpC,OAAOG,KAAK;QACd;MACF;MAEA,OAAOD,SAAS;IAClB,CACF,CAAC;IAED,OAAOH,GAAG;EACZ,CAAC,CAAC;AACJ,CAAC;AAED,OAAO,MAAMM,aAAa,GAAGP,kBAAkB,CAAC,CAAC;AACjD,OAAO,MAAMQ,kBAAkB,GAAGR,kBAAkB,CAAC,CAAC;AAEtDO,aAAa,CAAC,cAAc,CAAC,CAACE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/runtime/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,WAAW,CAAC;AAC1B,mBAAmB,iBAAiB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { type PropsWithChildren } from "react";
|
|
2
|
-
import type { StyleDescriptor } from "../../compiler";
|
|
3
|
-
import type { ColorScheme, Props, StyledConfiguration, StyledOptions } from "../runtime.types";
|
|
4
|
-
import type { ReactComponent } from "../utils";
|
|
5
|
-
import { useNativeCss } from "./react/useNativeCss";
|
|
6
|
-
import { VAR_SYMBOL } from "./reactivity";
|
|
7
|
-
export { StyleCollection } from "react-native-css/style-collection";
|
|
8
|
-
export { useNativeCss };
|
|
9
|
-
/**
|
|
10
|
-
* Generates a new Higher-Order component the wraps the base component and applies the styles.
|
|
11
|
-
* This is added to the `interopComponents` map so that it can be used in the `wrapJSX` function
|
|
12
|
-
* @param baseComponent
|
|
13
|
-
* @param mapping
|
|
14
|
-
*/
|
|
15
|
-
export declare const styled: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(baseComponent: C, mapping: M, options?: StyledOptions) => any;
|
|
16
|
-
export declare const colorScheme: ColorScheme;
|
|
17
|
-
export declare const useUnstableNativeVariable: typeof useNativeVariable;
|
|
18
|
-
export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
19
|
-
export declare function useNativeVariable(name: string): any;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `<VariableContextProvider />` instead.
|
|
22
|
-
*/
|
|
23
|
-
export declare function vars(variables: Record<string, StyleDescriptor>): {
|
|
24
|
-
[VAR_SYMBOL]: string;
|
|
25
|
-
} & {
|
|
26
|
-
[k: string]: StyleDescriptor;
|
|
27
|
-
};
|
|
28
|
-
export declare function VariableContextProvider(props: PropsWithChildren<{
|
|
29
|
-
value: Record<`--${string}`, StyleDescriptor>;
|
|
30
|
-
}>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
//# sour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EAO9D;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,iBAAiB,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,eAAe,CAAC,CAAA;CAAE,CAAC,2CAgB5E"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { AttributeQuery } from "../../../compiler";
|
|
2
|
-
import type { Props } from "../../runtime.types";
|
|
3
|
-
import type { RenderGuard } from "./guards";
|
|
4
|
-
export declare function testAttributes(queries: AttributeQuery[], props: Props, guards: RenderGuard[]): boolean;
|
|
5
|
-
//# sourceMappingURL=attributes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,cAAc,CAC5B,OAAO,EAAE,cAAc,EAAE,EACzB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,WAAW,EAAE,WAGtB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ContainerQuery } from "../../../compiler";
|
|
2
|
-
import { type ContainerContextValue, type Getter } from "../reactivity";
|
|
3
|
-
import type { RenderGuard } from "./guards";
|
|
4
|
-
export declare const DEFAULT_CONTAINER_NAME = "c:___default___";
|
|
5
|
-
export declare function testContainerQueries(queries: ContainerQuery[], inheritedContainers: ContainerContextValue, guards: RenderGuard[], get: Getter): boolean;
|
|
6
|
-
export declare function testContainerQuery(query: ContainerQuery, inheritedContainers: ContainerContextValue, guards: RenderGuard[], get: Getter): boolean;
|
|
7
|
-
//# sourceMappingURL=container-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/container-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAML,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,cAAc,EAAE,EACzB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,WAKZ;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,EACrB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,GACV,OAAO,CAuBT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,WAAW,GACnB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAE3B,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EACrB,YAAY,EAAE,GAAG,EACjB,kBAAkB,EAAE,oBAAoB,EACxC,mBAAmB,EAAE,qBAAqB,uBA0B3C"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { StyleRule } from "../../../compiler";
|
|
2
|
-
import type { Props } from "../../runtime.types";
|
|
3
|
-
import { type ContainerContextValue, type Getter } from "../reactivity";
|
|
4
|
-
import type { RenderGuard } from "./guards";
|
|
5
|
-
export declare function testRule(rule: StyleRule, get: Getter, props: Props, guards: RenderGuard[], containerContext: ContainerContextValue): boolean;
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,wBAAgB,QAAQ,CACtB,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,WAAW,EAAE,EACrB,gBAAgB,EAAE,qBAAqB,WAmBxC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media-query.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/media-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAuB,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAEjE,wBAAgB,cAAc,CAAC,YAAY,EAAE,cAAc,EAAE,EAAE,GAAG,EAAE,MAAM,WAEzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/runtime/native/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,OAAO,CAAC;AACtB,mBAAmB,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metro.d.ts","sourceRoot":"","sources":["../../../../../../src/runtime/native/metro.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/react/interaction.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,eAAe,CAAC;AAOvB,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAExC,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,YAAY,GACZ,SAAS,GACT,QAAQ,CAAC;AAab,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,OAAO,UAAwB,WA7BL,GAAG,KAAK,IAAI,CA4EvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/react/rules.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,gBAAgB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,eAAwC,CAAC;AAExE,wBAAgB,WAAW,CACzB,KAAK,EAAE,cAAc,EAErB,YAAY,yCAAqB,EACjC,kBAAkB,uBAA2B,EAC7C,mBAAmB,wBAA4B,EAC/C,WAAW,UAAQ,EACnB,UAAU,UAAO,GAChB,cAAc,CAkOhB;AAgCD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,YAAY,CAAC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