react-native-css 2.1.1 → 3.0.0-nightly.19372e8
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/{LICENSE.md → LICENSE} +6 -8
- package/README.md +177 -70
- package/dist/commonjs/babel/allowedModules.js +23 -0
- package/dist/commonjs/babel/allowedModules.js.map +1 -0
- package/dist/commonjs/babel/helpers.js +25 -0
- package/dist/commonjs/babel/helpers.js.map +1 -0
- package/dist/commonjs/babel/import-plugin.js +101 -0
- package/dist/commonjs/babel/import-plugin.js.map +1 -0
- package/dist/commonjs/babel/index.js +9 -0
- package/dist/commonjs/babel/index.js.map +1 -0
- package/dist/commonjs/babel/react-native-web.js +118 -0
- package/dist/commonjs/babel/react-native-web.js.map +1 -0
- package/dist/commonjs/babel/react-native.js +118 -0
- package/dist/commonjs/babel/react-native.js.map +1 -0
- package/dist/commonjs/compiler/atRules.js +114 -0
- package/dist/commonjs/compiler/atRules.js.map +1 -0
- package/dist/commonjs/compiler/compiler.js +281 -0
- package/dist/commonjs/compiler/compiler.js.map +1 -0
- package/dist/commonjs/compiler/compiler.types.js +4 -0
- package/dist/commonjs/compiler/compiler.types.js.map +1 -0
- package/dist/commonjs/compiler/container-query.js +63 -0
- package/dist/commonjs/compiler/container-query.js.map +1 -0
- package/dist/commonjs/compiler/declarations.js +2166 -0
- package/dist/commonjs/compiler/declarations.js.map +1 -0
- package/dist/commonjs/compiler/functions-web.js +44 -0
- package/dist/commonjs/compiler/functions-web.js.map +1 -0
- package/dist/commonjs/compiler/functions.js +59 -0
- package/dist/commonjs/compiler/functions.js.map +1 -0
- package/dist/commonjs/compiler/index.js +17 -0
- package/dist/commonjs/compiler/index.js.map +1 -0
- package/dist/commonjs/compiler/inheritance.test.js +78 -0
- package/dist/commonjs/compiler/inheritance.test.js.map +1 -0
- package/dist/commonjs/compiler/keyframes.js +60 -0
- package/dist/commonjs/compiler/keyframes.js.map +1 -0
- package/dist/commonjs/compiler/media-query.js +172 -0
- package/dist/commonjs/compiler/media-query.js.map +1 -0
- package/dist/commonjs/compiler/pseudo-elements.js +49 -0
- package/dist/commonjs/compiler/pseudo-elements.js.map +1 -0
- package/dist/commonjs/compiler/selector-builder.js +501 -0
- package/dist/commonjs/compiler/selector-builder.js.map +1 -0
- package/dist/commonjs/compiler/selectors.js +414 -0
- package/dist/commonjs/compiler/selectors.js.map +1 -0
- package/dist/commonjs/compiler/split-by-delimiter.js +21 -0
- package/dist/commonjs/compiler/split-by-delimiter.js.map +1 -0
- package/dist/commonjs/compiler/stylesheet.js +476 -0
- package/dist/commonjs/compiler/stylesheet.js.map +1 -0
- package/dist/commonjs/compiler/supports.js +27 -0
- package/dist/commonjs/compiler/supports.js.map +1 -0
- package/dist/commonjs/components/ActivityIndicator.js +22 -0
- package/dist/commonjs/components/ActivityIndicator.js.map +1 -0
- package/dist/commonjs/components/Button.js +22 -0
- package/dist/commonjs/components/Button.js.map +1 -0
- package/dist/commonjs/components/FlatList.js +19 -0
- package/dist/commonjs/components/FlatList.js.map +1 -0
- package/dist/commonjs/components/Image.js +17 -0
- package/dist/commonjs/components/Image.js.map +1 -0
- package/dist/commonjs/components/Switch.js +17 -0
- package/dist/commonjs/components/Switch.js.map +1 -0
- package/dist/commonjs/components/Text.js +17 -0
- package/dist/commonjs/components/Text.js.map +1 -0
- package/dist/commonjs/components/TextInput.js +17 -0
- package/dist/commonjs/components/TextInput.js.map +1 -0
- package/dist/commonjs/components/View.js +17 -0
- package/dist/commonjs/components/View.js.map +1 -0
- package/dist/commonjs/components/index.js +84 -0
- package/dist/commonjs/components/index.js.map +1 -0
- package/dist/commonjs/doctor/index.js +6 -0
- package/dist/commonjs/doctor/index.js.map +1 -0
- package/dist/commonjs/index.js +28 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/jest/expect.d.js +2 -0
- package/dist/commonjs/jest/expect.d.js.map +1 -0
- package/dist/commonjs/jest/index.js +56 -0
- package/dist/commonjs/jest/index.js.map +1 -0
- package/dist/commonjs/jest/setup.js +3 -0
- package/dist/commonjs/jest/setup.js.map +1 -0
- package/dist/commonjs/jest/setupAfterEnv.js +15 -0
- package/dist/commonjs/jest/setupAfterEnv.js.map +1 -0
- package/dist/commonjs/metro/index.js +167 -0
- package/dist/commonjs/metro/index.js.map +1 -0
- package/dist/commonjs/metro/injection-code.js +32 -0
- package/dist/commonjs/metro/injection-code.js.map +1 -0
- package/dist/commonjs/metro/metro-transformer.js +21 -0
- package/dist/commonjs/metro/metro-transformer.js.map +1 -0
- package/dist/commonjs/metro/picocolors.js +71 -0
- package/dist/commonjs/metro/picocolors.js.map +1 -0
- package/dist/commonjs/metro/resolver.js +62 -0
- package/dist/commonjs/metro/resolver.js.map +1 -0
- package/dist/commonjs/metro/stringify.js +59 -0
- package/dist/commonjs/metro/stringify.js.map +1 -0
- package/dist/commonjs/metro/typescript.js +47 -0
- package/dist/commonjs/metro/typescript.js.map +1 -0
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/poison.pill.js +39 -0
- package/dist/commonjs/poison.pill.js.map +1 -0
- package/dist/commonjs/runtime/index.js +17 -0
- package/dist/commonjs/runtime/index.js.map +1 -0
- package/dist/commonjs/runtime/native/api.js +90 -0
- package/dist/commonjs/runtime/native/api.js.map +1 -0
- package/dist/commonjs/runtime/native/conditions/attributes.js +42 -0
- package/dist/commonjs/runtime/native/conditions/attributes.js.map +1 -0
- package/dist/commonjs/runtime/native/conditions/container-query.js +123 -0
- package/dist/commonjs/runtime/native/conditions/container-query.js.map +1 -0
- package/dist/commonjs/runtime/native/conditions/guards.js +33 -0
- package/dist/commonjs/runtime/native/conditions/guards.js.map +1 -0
- package/dist/commonjs/runtime/native/conditions/index.js +40 -0
- package/dist/commonjs/runtime/native/conditions/index.js.map +1 -0
- package/dist/commonjs/runtime/native/conditions/media-query.js +98 -0
- package/dist/commonjs/runtime/native/conditions/media-query.js.map +1 -0
- package/dist/commonjs/runtime/native/index.js +28 -0
- package/dist/commonjs/runtime/native/index.js.map +1 -0
- package/dist/commonjs/runtime/native/injection.js +100 -0
- package/dist/commonjs/runtime/native/injection.js.map +1 -0
- package/dist/commonjs/runtime/native/metro.js +6 -0
- package/dist/commonjs/runtime/native/metro.js.map +1 -0
- package/dist/commonjs/runtime/native/react/interaction.js +63 -0
- package/dist/commonjs/runtime/native/react/interaction.js.map +1 -0
- package/dist/commonjs/runtime/native/react/rules.js +255 -0
- package/dist/commonjs/runtime/native/react/rules.js.map +1 -0
- package/dist/commonjs/runtime/native/react/useNativeCss.js +159 -0
- package/dist/commonjs/runtime/native/react/useNativeCss.js.map +1 -0
- package/dist/commonjs/runtime/native/react/usePassthrough.js +50 -0
- package/dist/commonjs/runtime/native/react/usePassthrough.js.map +1 -0
- package/dist/commonjs/runtime/native/reactivity.js +178 -0
- package/dist/commonjs/runtime/native/reactivity.js.map +1 -0
- package/dist/commonjs/runtime/native/reanimated.js +17 -0
- package/dist/commonjs/runtime/native/reanimated.js.map +1 -0
- package/dist/commonjs/runtime/native/root.js +28 -0
- package/dist/commonjs/runtime/native/root.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/calculate-props.js +148 -0
- package/dist/commonjs/runtime/native/styles/calculate-props.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/constants.js +9 -0
- package/dist/commonjs/runtime/native/styles/constants.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/defaults.js +69 -0
- package/dist/commonjs/runtime/native/styles/defaults.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/functions/animation-timing.js +34 -0
- package/dist/commonjs/runtime/native/styles/functions/animation-timing.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/functions/calc.js +125 -0
- package/dist/commonjs/runtime/native/styles/functions/calc.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/functions/filters.js +84 -0
- package/dist/commonjs/runtime/native/styles/functions/filters.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/functions/index.js +61 -0
- package/dist/commonjs/runtime/native/styles/functions/index.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/functions/platform-functions.js +46 -0
- package/dist/commonjs/runtime/native/styles/functions/platform-functions.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/functions/transform-functions.js +121 -0
- package/dist/commonjs/runtime/native/styles/functions/transform-functions.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/index.js +115 -0
- package/dist/commonjs/runtime/native/styles/index.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/resolve.js +106 -0
- package/dist/commonjs/runtime/native/styles/resolve.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/_handler.js +79 -0
- package/dist/commonjs/runtime/native/styles/shorthands/_handler.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/animation.js +57 -0
- package/dist/commonjs/runtime/native/styles/shorthands/animation.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/border.js +12 -0
- package/dist/commonjs/runtime/native/styles/shorthands/border.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js +40 -0
- package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/index.js +61 -0
- package/dist/commonjs/runtime/native/styles/shorthands/index.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js +13 -0
- package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/shorthands/transform.js +23 -0
- package/dist/commonjs/runtime/native/styles/shorthands/transform.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/units.js +52 -0
- package/dist/commonjs/runtime/native/styles/units.js.map +1 -0
- package/dist/commonjs/runtime/native/styles/variables.js +79 -0
- package/dist/commonjs/runtime/native/styles/variables.js.map +1 -0
- package/dist/commonjs/runtime/runtime.js +17 -0
- package/dist/commonjs/runtime/runtime.js.map +1 -0
- package/dist/commonjs/runtime/runtime.native.js +17 -0
- package/dist/commonjs/runtime/runtime.native.js.map +1 -0
- package/dist/commonjs/runtime/runtime.types.js +6 -0
- package/dist/commonjs/runtime/runtime.types.js.map +1 -0
- package/dist/commonjs/runtime/utils/components.js +18 -0
- package/dist/commonjs/runtime/utils/components.js.map +1 -0
- package/dist/commonjs/runtime/utils/dot-notation.types.js +2 -0
- package/dist/commonjs/runtime/utils/dot-notation.types.js.map +1 -0
- package/dist/commonjs/runtime/utils/index.js +61 -0
- package/dist/commonjs/runtime/utils/index.js.map +1 -0
- package/dist/commonjs/runtime/utils/objects.js +92 -0
- package/dist/commonjs/runtime/utils/objects.js.map +1 -0
- package/dist/commonjs/runtime/utils/specificity.js +44 -0
- package/dist/commonjs/runtime/utils/specificity.js.map +1 -0
- package/dist/commonjs/runtime/utils/style-value.js +21 -0
- package/dist/commonjs/runtime/utils/style-value.js.map +1 -0
- package/dist/commonjs/runtime/utils/utils.types.js +6 -0
- package/dist/commonjs/runtime/utils/utils.types.js.map +1 -0
- package/dist/commonjs/runtime/web/api.js +68 -0
- package/dist/commonjs/runtime/web/api.js.map +1 -0
- package/dist/commonjs/runtime/web/assign-style.js +27 -0
- package/dist/commonjs/runtime/web/assign-style.js.map +1 -0
- package/dist/commonjs/runtime/web/index.js +18 -0
- package/dist/commonjs/runtime/web/index.js.map +1 -0
- package/dist/commonjs/runtime/web/metro.js +6 -0
- package/dist/commonjs/runtime/web/metro.js.map +1 -0
- package/dist/module/babel/allowedModules.js +19 -0
- package/dist/module/babel/allowedModules.js.map +1 -0
- package/dist/module/babel/helpers.js +21 -0
- package/dist/module/babel/helpers.js.map +1 -0
- package/dist/module/babel/import-plugin.js +97 -0
- package/dist/module/babel/import-plugin.js.map +1 -0
- package/dist/module/babel/index.js +9 -0
- package/dist/module/babel/index.js.map +1 -0
- package/dist/module/babel/react-native-web.js +112 -0
- package/dist/module/babel/react-native-web.js.map +1 -0
- package/dist/module/babel/react-native.js +112 -0
- package/dist/module/babel/react-native.js.map +1 -0
- package/dist/module/compiler/atRules.js +110 -0
- package/dist/module/compiler/atRules.js.map +1 -0
- package/dist/module/compiler/compiler.js +276 -0
- package/dist/module/compiler/compiler.js.map +1 -0
- package/dist/module/compiler/compiler.types.js +60 -0
- package/dist/module/compiler/compiler.types.js.map +1 -0
- package/dist/module/compiler/container-query.js +59 -0
- package/dist/module/compiler/container-query.js.map +1 -0
- package/dist/module/compiler/declarations.js +2091 -0
- package/dist/module/compiler/declarations.js.map +1 -0
- package/dist/module/compiler/functions-web.js +32 -0
- package/dist/module/compiler/functions-web.js.map +1 -0
- package/dist/module/compiler/functions.js +47 -0
- package/dist/module/compiler/functions.js.map +1 -0
- package/dist/module/compiler/index.js +9 -0
- package/dist/module/compiler/index.js.map +1 -0
- package/dist/module/compiler/inheritance.test.js +78 -0
- package/dist/module/compiler/inheritance.test.js.map +1 -0
- package/dist/module/compiler/keyframes.js +54 -0
- package/dist/module/compiler/keyframes.js.map +1 -0
- package/dist/module/compiler/media-query.js +166 -0
- package/dist/module/compiler/media-query.js.map +1 -0
- package/dist/module/compiler/pseudo-elements.js +44 -0
- package/dist/module/compiler/pseudo-elements.js.map +1 -0
- package/dist/module/compiler/selector-builder.js +496 -0
- package/dist/module/compiler/selector-builder.js.map +1 -0
- package/dist/module/compiler/selectors.js +409 -0
- package/dist/module/compiler/selectors.js.map +1 -0
- package/dist/module/compiler/split-by-delimiter.js +17 -0
- package/dist/module/compiler/split-by-delimiter.js.map +1 -0
- package/dist/module/compiler/stylesheet.js +471 -0
- package/dist/module/compiler/stylesheet.js.map +1 -0
- package/dist/module/compiler/supports.js +23 -0
- package/dist/module/compiler/supports.js.map +1 -0
- package/dist/module/components/ActivityIndicator.js +17 -0
- package/dist/module/components/ActivityIndicator.js.map +1 -0
- package/dist/module/components/Button.js +17 -0
- package/dist/module/components/Button.js.map +1 -0
- package/dist/module/components/FlatList.js +14 -0
- package/dist/module/components/FlatList.js.map +1 -0
- package/dist/module/components/Image.js +12 -0
- package/dist/module/components/Image.js.map +1 -0
- package/dist/module/components/Switch.js +12 -0
- package/dist/module/components/Switch.js.map +1 -0
- package/dist/module/components/Text.js +12 -0
- package/dist/module/components/Text.js.map +1 -0
- package/dist/module/components/TextInput.js +12 -0
- package/dist/module/components/TextInput.js.map +1 -0
- package/dist/module/components/View.js +12 -0
- package/dist/module/components/View.js.map +1 -0
- package/dist/module/components/index.js +12 -0
- package/dist/module/components/index.js.map +1 -0
- package/dist/module/doctor/index.js +4 -0
- package/dist/module/doctor/index.js.map +1 -0
- package/dist/module/index.js +5 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/jest/expect.d.js +2 -0
- package/dist/module/jest/expect.d.js.map +1 -0
- package/dist/module/jest/index.js +50 -0
- package/dist/module/jest/index.js.map +1 -0
- package/dist/module/jest/setup.js +3 -0
- package/dist/module/jest/setup.js.map +1 -0
- package/dist/module/jest/setupAfterEnv.js +15 -0
- package/dist/module/jest/setupAfterEnv.js.map +1 -0
- package/dist/module/metro/index.js +161 -0
- package/dist/module/metro/index.js.map +1 -0
- package/dist/module/metro/injection-code.js +27 -0
- package/dist/module/metro/injection-code.js.map +1 -0
- package/dist/module/metro/metro-transformer.js +17 -0
- package/dist/module/metro/metro-transformer.js.map +1 -0
- package/dist/module/metro/picocolors.js +67 -0
- package/dist/module/metro/picocolors.js.map +1 -0
- package/dist/module/metro/resolver.js +57 -0
- package/dist/module/metro/resolver.js.map +1 -0
- package/dist/module/metro/stringify.js +55 -0
- package/dist/module/metro/stringify.js.map +1 -0
- package/dist/module/metro/typescript.js +42 -0
- package/dist/module/metro/typescript.js.map +1 -0
- package/dist/module/package.json +1 -0
- package/dist/module/poison.pill.js +37 -0
- package/dist/module/poison.pill.js.map +1 -0
- package/dist/module/runtime/index.js +9 -0
- package/dist/module/runtime/index.js.map +1 -0
- package/dist/module/runtime/native/api.js +75 -0
- package/dist/module/runtime/native/api.js.map +1 -0
- package/dist/module/runtime/native/conditions/attributes.js +38 -0
- package/dist/module/runtime/native/conditions/attributes.js.map +1 -0
- package/dist/module/runtime/native/conditions/container-query.js +117 -0
- package/dist/module/runtime/native/conditions/container-query.js.map +1 -0
- package/dist/module/runtime/native/conditions/guards.js +29 -0
- package/dist/module/runtime/native/conditions/guards.js.map +1 -0
- package/dist/module/runtime/native/conditions/index.js +36 -0
- package/dist/module/runtime/native/conditions/index.js.map +1 -0
- package/dist/module/runtime/native/conditions/media-query.js +93 -0
- package/dist/module/runtime/native/conditions/media-query.js.map +1 -0
- package/dist/module/runtime/native/index.js +5 -0
- package/dist/module/runtime/native/index.js.map +1 -0
- package/dist/module/runtime/native/injection.js +95 -0
- package/dist/module/runtime/native/injection.js.map +1 -0
- package/dist/module/runtime/native/metro.js +5 -0
- package/dist/module/runtime/native/metro.js.map +1 -0
- package/dist/module/runtime/native/react/interaction.js +59 -0
- package/dist/module/runtime/native/react/interaction.js.map +1 -0
- package/dist/module/runtime/native/react/rules.js +248 -0
- package/dist/module/runtime/native/react/rules.js.map +1 -0
- package/dist/module/runtime/native/react/useNativeCss.js +153 -0
- package/dist/module/runtime/native/react/useNativeCss.js.map +1 -0
- package/dist/module/runtime/native/react/usePassthrough.js +45 -0
- package/dist/module/runtime/native/react/usePassthrough.js.map +1 -0
- package/dist/module/runtime/native/reactivity.js +166 -0
- package/dist/module/runtime/native/reactivity.js.map +1 -0
- package/dist/module/runtime/native/reanimated.js +13 -0
- package/dist/module/runtime/native/reanimated.js.map +1 -0
- package/dist/module/runtime/native/root.js +24 -0
- package/dist/module/runtime/native/root.js.map +1 -0
- package/dist/module/runtime/native/styles/calculate-props.js +143 -0
- package/dist/module/runtime/native/styles/calculate-props.js.map +1 -0
- package/dist/module/runtime/native/styles/constants.js +5 -0
- package/dist/module/runtime/native/styles/constants.js.map +1 -0
- package/dist/module/runtime/native/styles/defaults.js +65 -0
- package/dist/module/runtime/native/styles/defaults.js.map +1 -0
- package/dist/module/runtime/native/styles/functions/animation-timing.js +30 -0
- package/dist/module/runtime/native/styles/functions/animation-timing.js.map +1 -0
- package/dist/module/runtime/native/styles/functions/calc.js +120 -0
- package/dist/module/runtime/native/styles/functions/calc.js.map +1 -0
- package/dist/module/runtime/native/styles/functions/filters.js +70 -0
- package/dist/module/runtime/native/styles/functions/filters.js.map +1 -0
- package/dist/module/runtime/native/styles/functions/index.js +8 -0
- package/dist/module/runtime/native/styles/functions/index.js.map +1 -0
- package/dist/module/runtime/native/styles/functions/platform-functions.js +36 -0
- package/dist/module/runtime/native/styles/functions/platform-functions.js.map +1 -0
- package/dist/module/runtime/native/styles/functions/transform-functions.js +114 -0
- package/dist/module/runtime/native/styles/functions/transform-functions.js.map +1 -0
- package/dist/module/runtime/native/styles/index.js +110 -0
- package/dist/module/runtime/native/styles/index.js.map +1 -0
- package/dist/module/runtime/native/styles/resolve.js +101 -0
- package/dist/module/runtime/native/styles/resolve.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/_handler.js +74 -0
- package/dist/module/runtime/native/styles/shorthands/_handler.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/animation.js +51 -0
- package/dist/module/runtime/native/styles/shorthands/animation.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/border.js +8 -0
- package/dist/module/runtime/native/styles/shorthands/border.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/box-shadow.js +35 -0
- package/dist/module/runtime/native/styles/shorthands/box-shadow.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/index.js +8 -0
- package/dist/module/runtime/native/styles/shorthands/index.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/text-shadow.js +9 -0
- package/dist/module/runtime/native/styles/shorthands/text-shadow.js.map +1 -0
- package/dist/module/runtime/native/styles/shorthands/transform.js +18 -0
- package/dist/module/runtime/native/styles/shorthands/transform.js.map +1 -0
- package/dist/module/runtime/native/styles/units.js +43 -0
- package/dist/module/runtime/native/styles/units.js.map +1 -0
- package/dist/module/runtime/native/styles/variables.js +75 -0
- package/dist/module/runtime/native/styles/variables.js.map +1 -0
- package/dist/module/runtime/runtime.js +4 -0
- package/dist/module/runtime/runtime.js.map +1 -0
- package/dist/module/runtime/runtime.native.js +4 -0
- package/dist/module/runtime/runtime.native.js.map +1 -0
- package/dist/module/runtime/runtime.types.js +4 -0
- package/dist/module/runtime/runtime.types.js.map +1 -0
- package/dist/module/runtime/utils/components.js +14 -0
- package/dist/module/runtime/utils/components.js.map +1 -0
- package/dist/module/runtime/utils/dot-notation.types.js +2 -0
- package/dist/module/runtime/utils/dot-notation.types.js.map +1 -0
- package/dist/module/runtime/utils/index.js +8 -0
- package/dist/module/runtime/utils/index.js.map +1 -0
- package/dist/module/runtime/utils/objects.js +84 -0
- package/dist/module/runtime/utils/objects.js.map +1 -0
- package/dist/module/runtime/utils/specificity.js +39 -0
- package/dist/module/runtime/utils/specificity.js.map +1 -0
- package/dist/module/runtime/utils/style-value.js +16 -0
- package/dist/module/runtime/utils/style-value.js.map +1 -0
- package/dist/module/runtime/utils/utils.types.js +4 -0
- package/dist/module/runtime/utils/utils.types.js.map +1 -0
- package/dist/module/runtime/web/api.js +59 -0
- package/dist/module/runtime/web/api.js.map +1 -0
- package/dist/module/runtime/web/assign-style.js +23 -0
- package/dist/module/runtime/web/assign-style.js.map +1 -0
- package/dist/module/runtime/web/index.js +6 -0
- package/dist/module/runtime/web/index.js.map +1 -0
- package/dist/module/runtime/web/metro.js +5 -0
- package/dist/module/runtime/web/metro.js.map +1 -0
- package/dist/typescript/commonjs/example/app.config.d.ts +4 -0
- package/dist/typescript/commonjs/example/app.config.d.ts.map +1 -0
- package/dist/typescript/commonjs/example/src/App.d.ts +3 -0
- package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -0
- package/dist/typescript/commonjs/package.json +1 -0
- package/dist/typescript/commonjs/src/babel/allowedModules.d.ts +2 -0
- package/dist/typescript/commonjs/src/babel/allowedModules.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/babel/helpers.d.ts +13 -0
- package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/babel/import-plugin.d.ts +6 -0
- package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/babel/index.d.ts +1 -0
- package/dist/typescript/commonjs/src/babel/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +8 -0
- package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/babel/react-native.d.ts +8 -0
- package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts +34 -0
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts +17 -0
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +197 -0
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/container-query.d.ts +5 -0
- package/dist/typescript/commonjs/src/compiler/container-query.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts +118 -0
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/functions-web.d.ts +11 -0
- package/dist/typescript/commonjs/src/compiler/functions-web.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/functions.d.ts +11 -0
- package/dist/typescript/commonjs/src/compiler/functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/index.d.ts +7 -0
- package/dist/typescript/commonjs/src/compiler/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +2 -0
- package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +7 -0
- package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/media-query.d.ts +7 -0
- package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/pseudo-elements.d.ts +4 -0
- package/dist/typescript/commonjs/src/compiler/pseudo-elements.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts +24 -0
- package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/selectors.d.ts +24 -0
- package/dist/typescript/commonjs/src/compiler/selectors.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/split-by-delimiter.d.ts +2 -0
- package/dist/typescript/commonjs/src/compiler/split-by-delimiter.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +68 -0
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/compiler/supports.d.ts +3 -0
- package/dist/typescript/commonjs/src/compiler/supports.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +13 -0
- package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Button.d.ts +13 -0
- package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/FlatList.d.ts +10 -0
- package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Image.d.ts +8 -0
- package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Switch.d.ts +8 -0
- package/dist/typescript/commonjs/src/components/Switch.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Text.d.ts +8 -0
- package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TextInput.d.ts +8 -0
- package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/View.d.ts +8 -0
- package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/index.d.ts +10 -0
- package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/doctor/index.d.ts +2 -0
- package/dist/typescript/commonjs/src/doctor/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/index.d.ts +3 -0
- package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/jest/index.d.ts +30 -0
- package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/jest/setup.d.ts +1 -0
- package/dist/typescript/commonjs/src/jest/setup.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts +1 -0
- package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/index.d.ts +11 -0
- package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/injection-code.d.ts +16 -0
- package/dist/typescript/commonjs/src/metro/injection-code.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +3 -0
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/picocolors.d.ts +27 -0
- package/dist/typescript/commonjs/src/metro/picocolors.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/resolver.d.ts +4 -0
- package/dist/typescript/commonjs/src/metro/resolver.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/stringify.d.ts +7 -0
- package/dist/typescript/commonjs/src/metro/stringify.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/typescript.d.ts +2 -0
- package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/poison.pill.d.ts +2 -0
- package/dist/typescript/commonjs/src/poison.pill.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/index.d.ts +7 -0
- package/dist/typescript/commonjs/src/runtime/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/api.d.ts +17 -0
- package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +7 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +6 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +16 -0
- package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/metro.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts +6 -0
- package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts +7 -0
- package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts +38 -0
- package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +55 -0
- package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/root.d.ts +11 -0
- package/dist/typescript/commonjs/src/runtime/native/root.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts +10 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts +3 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts +3 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts +3 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts +12 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts +6 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts +8 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +19 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +18 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts +11 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts +3 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts +6 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts +7 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts +6 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/runtime.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +47 -0
- package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts +23 -0
- package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +6 -0
- package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +13 -0
- package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +5 -0
- package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/web/api.d.ts +10 -0
- package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/web/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/runtime/web/metro.d.ts +2 -0
- package/dist/typescript/commonjs/src/runtime/web/metro.d.ts.map +1 -0
- package/dist/typescript/module/example/app.config.d.ts +4 -0
- package/dist/typescript/module/example/app.config.d.ts.map +1 -0
- package/dist/typescript/module/example/src/App.d.ts +3 -0
- package/dist/typescript/module/example/src/App.d.ts.map +1 -0
- package/dist/typescript/module/package.json +1 -0
- package/dist/typescript/module/src/babel/allowedModules.d.ts +2 -0
- package/dist/typescript/module/src/babel/allowedModules.d.ts.map +1 -0
- package/dist/typescript/module/src/babel/helpers.d.ts +13 -0
- package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -0
- package/dist/typescript/module/src/babel/import-plugin.d.ts +6 -0
- package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -0
- package/dist/typescript/module/src/babel/index.d.ts +1 -0
- package/dist/typescript/module/src/babel/index.d.ts.map +1 -0
- package/dist/typescript/module/src/babel/react-native-web.d.ts +8 -0
- package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -0
- package/dist/typescript/module/src/babel/react-native.d.ts +8 -0
- package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/atRules.d.ts +34 -0
- package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/compiler.d.ts +17 -0
- package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/compiler.types.d.ts +197 -0
- package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/container-query.d.ts +5 -0
- package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/declarations.d.ts +118 -0
- package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/functions-web.d.ts +11 -0
- package/dist/typescript/module/src/compiler/functions-web.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/functions.d.ts +11 -0
- package/dist/typescript/module/src/compiler/functions.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/index.d.ts +7 -0
- package/dist/typescript/module/src/compiler/index.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/inheritance.test.d.ts +2 -0
- package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/keyframes.d.ts +7 -0
- package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/media-query.d.ts +7 -0
- package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +4 -0
- package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/selector-builder.d.ts +24 -0
- package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/selectors.d.ts +24 -0
- package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/split-by-delimiter.d.ts +2 -0
- package/dist/typescript/module/src/compiler/split-by-delimiter.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/stylesheet.d.ts +68 -0
- package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -0
- package/dist/typescript/module/src/compiler/supports.d.ts +3 -0
- package/dist/typescript/module/src/compiler/supports.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts +13 -0
- package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Button.d.ts +13 -0
- package/dist/typescript/module/src/components/Button.d.ts.map +1 -0
- package/dist/typescript/module/src/components/FlatList.d.ts +10 -0
- package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Image.d.ts +8 -0
- package/dist/typescript/module/src/components/Image.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Switch.d.ts +8 -0
- package/dist/typescript/module/src/components/Switch.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Text.d.ts +8 -0
- package/dist/typescript/module/src/components/Text.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TextInput.d.ts +8 -0
- package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -0
- package/dist/typescript/module/src/components/View.d.ts +8 -0
- package/dist/typescript/module/src/components/View.d.ts.map +1 -0
- package/dist/typescript/module/src/components/index.d.ts +10 -0
- package/dist/typescript/module/src/components/index.d.ts.map +1 -0
- package/dist/typescript/module/src/doctor/index.d.ts +2 -0
- package/dist/typescript/module/src/doctor/index.d.ts.map +1 -0
- package/dist/typescript/module/src/index.d.ts +3 -0
- package/dist/typescript/module/src/index.d.ts.map +1 -0
- package/dist/typescript/module/src/jest/index.d.ts +30 -0
- package/dist/typescript/module/src/jest/index.d.ts.map +1 -0
- package/dist/typescript/module/src/jest/setup.d.ts +1 -0
- package/dist/typescript/module/src/jest/setup.d.ts.map +1 -0
- package/dist/typescript/module/src/jest/setupAfterEnv.d.ts +1 -0
- package/dist/typescript/module/src/jest/setupAfterEnv.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/index.d.ts +11 -0
- package/dist/typescript/module/src/metro/index.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/injection-code.d.ts +16 -0
- package/dist/typescript/module/src/metro/injection-code.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/metro-transformer.d.ts +3 -0
- package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/picocolors.d.ts +27 -0
- package/dist/typescript/module/src/metro/picocolors.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/resolver.d.ts +4 -0
- package/dist/typescript/module/src/metro/resolver.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/stringify.d.ts +7 -0
- package/dist/typescript/module/src/metro/stringify.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/typescript.d.ts +2 -0
- package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -0
- package/dist/typescript/module/src/poison.pill.d.ts +2 -0
- package/dist/typescript/module/src/poison.pill.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/index.d.ts +7 -0
- package/dist/typescript/module/src/runtime/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/api.d.ts +17 -0
- package/dist/typescript/module/src/runtime/native/api.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts +5 -0
- package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +7 -0
- package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts +5 -0
- package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +6 -0
- package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +4 -0
- package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/index.d.ts +4 -0
- package/dist/typescript/module/src/runtime/native/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/injection.d.ts +16 -0
- package/dist/typescript/module/src/runtime/native/injection.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/metro.d.ts +2 -0
- package/dist/typescript/module/src/runtime/native/metro.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/react/interaction.d.ts +6 -0
- package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/react/rules.d.ts +7 -0
- package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts +38 -0
- package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts +4 -0
- package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/reactivity.d.ts +55 -0
- package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/reanimated.d.ts +5 -0
- package/dist/typescript/module/src/runtime/native/reanimated.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/root.d.ts +11 -0
- package/dist/typescript/module/src/runtime/native/root.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts +10 -0
- package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/constants.d.ts +3 -0
- package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts +3 -0
- package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts +4 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts +3 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts +12 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts +6 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts +8 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts +5 -0
- package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/index.d.ts +19 -0
- package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +18 -0
- package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts +11 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts +4 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts +2 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts +3 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts +6 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts +2 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts +7 -0
- package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/units.d.ts +6 -0
- package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +5 -0
- package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/runtime.d.ts +2 -0
- package/dist/typescript/module/src/runtime/runtime.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/runtime.native.d.ts +2 -0
- package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/runtime.types.d.ts +47 -0
- package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/components.d.ts +2 -0
- package/dist/typescript/module/src/runtime/utils/components.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts +23 -0
- package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/index.d.ts +6 -0
- package/dist/typescript/module/src/runtime/utils/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/objects.d.ts +5 -0
- package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/specificity.d.ts +13 -0
- package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/style-value.d.ts +4 -0
- package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +5 -0
- package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/web/api.d.ts +10 -0
- package/dist/typescript/module/src/runtime/web/api.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/web/assign-style.d.ts +2 -0
- package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/web/index.d.ts +4 -0
- package/dist/typescript/module/src/runtime/web/index.d.ts.map +1 -0
- package/dist/typescript/module/src/runtime/web/metro.d.ts +2 -0
- package/dist/typescript/module/src/runtime/web/metro.d.ts.map +1 -0
- package/package.json +248 -45
- package/src/babel/allowedModules.ts +24 -0
- package/src/babel/helpers.ts +40 -0
- package/src/babel/import-plugin.ts +176 -0
- package/src/babel/index.ts +9 -0
- package/src/babel/react-native-web.ts +226 -0
- package/src/babel/react-native.ts +226 -0
- package/src/compiler/atRules.ts +158 -0
- package/src/compiler/compiler.ts +305 -0
- package/src/compiler/compiler.types.ts +267 -0
- package/src/compiler/container-query.ts +97 -0
- package/src/compiler/declarations.ts +3177 -0
- package/src/compiler/functions-web.ts +44 -0
- package/src/compiler/functions.ts +64 -0
- package/src/compiler/index.ts +7 -0
- package/src/compiler/inheritance.test.ts +121 -0
- package/src/compiler/keyframes.ts +86 -0
- package/src/compiler/media-query.ts +251 -0
- package/src/compiler/pseudo-elements.ts +54 -0
- package/src/compiler/selector-builder.ts +586 -0
- package/src/compiler/selectors.ts +505 -0
- package/src/compiler/split-by-delimiter.ts +19 -0
- package/src/compiler/stylesheet.ts +681 -0
- package/src/compiler/supports.ts +26 -0
- package/src/components/ActivityIndicator.tsx +27 -0
- package/src/components/Button.tsx +22 -0
- package/src/components/FlatList.tsx +21 -0
- package/src/components/Image.tsx +17 -0
- package/src/components/Switch.tsx +17 -0
- package/src/components/Text.tsx +17 -0
- package/src/components/TextInput.tsx +17 -0
- package/src/components/View.tsx +17 -0
- package/src/components/index.tsx +10 -0
- package/src/doctor/index.ts +1 -0
- package/src/index.ts +3 -0
- package/src/jest/expect.d.ts +1 -0
- package/src/jest/index.ts +74 -0
- package/src/jest/setup.ts +1 -0
- package/src/jest/setupAfterEnv.ts +13 -0
- package/src/metro/index.ts +237 -0
- package/src/metro/injection-code.ts +38 -0
- package/src/metro/metro-transformer.ts +31 -0
- package/src/metro/picocolors.ts +77 -0
- package/src/metro/resolver.ts +89 -0
- package/src/metro/stringify.ts +59 -0
- package/src/metro/typescript.ts +73 -0
- package/src/poison.pill.ts +36 -0
- package/src/runtime/index.ts +7 -0
- package/src/runtime/native/api.ts +106 -0
- package/src/runtime/native/conditions/attributes.ts +52 -0
- package/src/runtime/native/conditions/container-query.ts +162 -0
- package/src/runtime/native/conditions/guards.ts +44 -0
- package/src/runtime/native/conditions/index.ts +54 -0
- package/src/runtime/native/conditions/media-query.ts +98 -0
- package/src/runtime/native/index.ts +4 -0
- package/src/runtime/native/injection.ts +132 -0
- package/src/runtime/native/metro.ts +2 -0
- package/src/runtime/native/react/interaction.ts +90 -0
- package/src/runtime/native/react/rules.ts +330 -0
- package/src/runtime/native/react/useNativeCss.ts +203 -0
- package/src/runtime/native/react/usePassthrough.ts +51 -0
- package/src/runtime/native/reactivity.ts +243 -0
- package/src/runtime/native/reanimated.ts +22 -0
- package/src/runtime/native/root.ts +31 -0
- package/src/runtime/native/styles/calculate-props.ts +197 -0
- package/src/runtime/native/styles/constants.ts +2 -0
- package/src/runtime/native/styles/defaults.ts +79 -0
- package/src/runtime/native/styles/functions/animation-timing.ts +44 -0
- package/src/runtime/native/styles/functions/calc.ts +121 -0
- package/src/runtime/native/styles/functions/filters.ts +98 -0
- package/src/runtime/native/styles/functions/index.ts +5 -0
- package/src/runtime/native/styles/functions/platform-functions.ts +50 -0
- package/src/runtime/native/styles/functions/transform-functions.ts +84 -0
- package/src/runtime/native/styles/index.ts +197 -0
- package/src/runtime/native/styles/resolve.ts +162 -0
- package/src/runtime/native/styles/shorthands/_handler.ts +121 -0
- package/src/runtime/native/styles/shorthands/animation.ts +122 -0
- package/src/runtime/native/styles/shorthands/border.ts +10 -0
- package/src/runtime/native/styles/shorthands/box-shadow.ts +54 -0
- package/src/runtime/native/styles/shorthands/index.ts +5 -0
- package/src/runtime/native/styles/shorthands/text-shadow.ts +17 -0
- package/src/runtime/native/styles/shorthands/transform.ts +23 -0
- package/src/runtime/native/styles/units.ts +57 -0
- package/src/runtime/native/styles/variables.ts +84 -0
- package/src/runtime/runtime.native.ts +1 -0
- package/src/runtime/runtime.ts +1 -0
- package/src/runtime/runtime.types.ts +130 -0
- package/src/runtime/utils/components.ts +15 -0
- package/src/runtime/utils/dot-notation.types.ts +118 -0
- package/src/runtime/utils/index.ts +5 -0
- package/src/runtime/utils/objects.ts +109 -0
- package/src/runtime/utils/specificity.ts +45 -0
- package/src/runtime/utils/style-value.ts +24 -0
- package/src/runtime/utils/utils.types.ts +19 -0
- package/src/runtime/web/api.ts +88 -0
- package/src/runtime/web/assign-style.ts +26 -0
- package/src/runtime/web/index.ts +5 -0
- package/src/runtime/web/metro.ts +2 -0
- package/types.d.ts +70 -0
- package/.babelrc +0 -8
- package/.editorconfig +0 -17
- package/.eslintignore +0 -3
- package/.eslintrc +0 -39
- package/.npmignore +0 -7
- package/build/index.js +0 -294
- package/build/utils.js +0 -54
- package/circle.yml +0 -31
- package/jsconfig.json +0 -9
- package/login.sh +0 -11
- package/src/index.js +0 -184
- package/src/utils.js +0 -32
- package/test/rnc.test.js +0 -258
- package/yarn.lock +0 -3333
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/babel/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,MAAM,UAAU,GAAG,OAAO,WAAW,CAAC;AAE5C,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,cAAc,EACpB,CAAC,EAAE,UAAU,sBAsBd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/babel/import-plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EACjB,MAAM,WAAW,CAAC;AAYnB,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,EAAE,CAAC,GACT,EAAE;IACD,KAAK,EAAE,UAAU,CAAC;CACnB,GAAG,SAAS,CAAC,WAAW,CAAC,CAsJzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/babel/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type NodePath } from "@babel/traverse";
|
|
2
|
+
import tBabelTypes, { type ImportDeclaration, type ObjectPattern, type Statement, type VariableDeclaration } from "@babel/types";
|
|
3
|
+
type BabelTypes = typeof tBabelTypes;
|
|
4
|
+
export declare function handleReactNativeWebImport(declaration: ImportDeclaration, t: BabelTypes, filename: string): Statement[] | undefined;
|
|
5
|
+
export declare function handleReactNativeWebIdentifierRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: string, source: string, filename: string): tBabelTypes.VariableDeclaration[] | undefined;
|
|
6
|
+
export declare function handleReactNativeWebObjectPatternRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: ObjectPattern, source: string, filename: string): tBabelTypes.Statement[] | undefined;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=react-native-web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-native-web.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native-web.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,WAAW,EAAE,EAClB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AAItB,KAAK,UAAU,GAAG,OAAO,WAAW,CAAC;AAgCrC,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,iBAAiB,EAC9B,CAAC,EAAE,UAAU,EACb,QAAQ,EAAE,MAAM,GACf,SAAS,EAAE,GAAG,SAAS,CA6DzB;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,iDA0CjB;AAED,wBAAgB,wCAAwC,CACtD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,aAAa,EACjB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,uCA4DjB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type NodePath } from "@babel/traverse";
|
|
2
|
+
import tBabelTypes, { type ImportDeclaration, type ObjectPattern, type Statement, type VariableDeclaration } from "@babel/types";
|
|
3
|
+
type BabelTypes = typeof tBabelTypes;
|
|
4
|
+
export declare function handleReactNativeImport(declaration: ImportDeclaration, t: BabelTypes, filename: string): Statement[] | undefined;
|
|
5
|
+
export declare function handleReactNativeIdentifierRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: string, source: string, filename: string): tBabelTypes.VariableDeclaration[] | undefined;
|
|
6
|
+
export declare function handleReactNativeObjectPatternRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: ObjectPattern, source: string, filename: string): tBabelTypes.Statement[] | undefined;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=react-native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-native.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,WAAW,EAAE,EAClB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AAItB,KAAK,UAAU,GAAG,OAAO,WAAW,CAAC;AAgCrC,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,iBAAiB,EAC9B,CAAC,EAAE,UAAU,EACb,QAAQ,EAAE,MAAM,GACf,SAAS,EAAE,GAAG,SAAS,CA6DzB;AAED,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,iDA0CjB;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,aAAa,EACjB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,uCA4DjB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { DeclarationBlock, ParsedComponent, Rule, TokenOrValue } from "lightningcss";
|
|
2
|
+
import type { StyleRuleMapping } from "./compiler.types";
|
|
3
|
+
import type { StylesheetBuilder } from "./stylesheet";
|
|
4
|
+
export interface PropAtRule {
|
|
5
|
+
type: "unknown";
|
|
6
|
+
value: {
|
|
7
|
+
name: "prop";
|
|
8
|
+
prelude: Extract<TokenOrValue, {
|
|
9
|
+
type: "token";
|
|
10
|
+
}>[];
|
|
11
|
+
block: Extract<TokenOrValue, {
|
|
12
|
+
type: "token";
|
|
13
|
+
}>[] | null;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/***********************************************
|
|
17
|
+
* @react-native *
|
|
18
|
+
***********************************************/
|
|
19
|
+
export interface ReactNativeAtRule {
|
|
20
|
+
type: "custom";
|
|
21
|
+
value: {
|
|
22
|
+
name: "react-native";
|
|
23
|
+
prelude: null | Extract<ParsedComponent, {
|
|
24
|
+
type: "repeated";
|
|
25
|
+
}>;
|
|
26
|
+
body: {
|
|
27
|
+
type: "declaration-list";
|
|
28
|
+
value: Pick<DeclarationBlock, "declarations">;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export declare function maybeMutateReactNativeOptions(rule: Rule | ReactNativeAtRule, builder: StylesheetBuilder): void;
|
|
33
|
+
export declare function parsePropAtRule(rules?: (Rule | PropAtRule)[]): StyleRuleMapping;
|
|
34
|
+
//# sourceMappingURL=atRules.d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|
1
|
+
import type { CompilerOptions } from "./compiler.types";
|
|
2
|
+
/**
|
|
3
|
+
* Converts a CSS file to a collection of style declarations that can be used with the StyleSheet API
|
|
4
|
+
*
|
|
5
|
+
* @param code - The CSS file contents
|
|
6
|
+
* @param options - Compiler options
|
|
7
|
+
* @returns A `ReactNativeCssStyleSheet` that can be passed to `StyleSheet.register` or used with a custom runtime
|
|
8
|
+
*/
|
|
9
|
+
export declare function compile(code: Buffer | string, options?: CompilerOptions): {
|
|
10
|
+
stylesheet: () => import("./compiler.types").ReactNativeCssStyleSheet_V2;
|
|
11
|
+
warnings: () => {
|
|
12
|
+
properties?: string[];
|
|
13
|
+
values?: Record<string, unknown[]>;
|
|
14
|
+
functions?: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=compiler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,kBAAkB,CAAC;AAUxE;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,GAAE,eAAoB;;;;;;;EAmF3E"}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import type { Debugger } from "debug";
|
|
2
|
+
import type { MediaFeatureNameFor_MediaFeatureId } from "lightningcss";
|
|
3
|
+
import { VAR_SYMBOL } from "../runtime/native/reactivity";
|
|
4
|
+
export interface CompilerOptions {
|
|
5
|
+
inlineRem?: number | false;
|
|
6
|
+
grouping?: (string | RegExp)[];
|
|
7
|
+
selectorPrefix?: string;
|
|
8
|
+
stylesheetOrder?: number;
|
|
9
|
+
features?: FeatureFlagRecord;
|
|
10
|
+
logger?: (message: string) => void | Debugger;
|
|
11
|
+
/** Strip unused variables declarations. Defaults: false */
|
|
12
|
+
stripUnusedVariables?: boolean;
|
|
13
|
+
/** @internal */
|
|
14
|
+
ignorePropertyWarningRegex?: (string | RegExp)[];
|
|
15
|
+
preserveVariables?: boolean;
|
|
16
|
+
hexColors?: boolean;
|
|
17
|
+
colorPrecision?: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A `react-native-css` StyleSheet
|
|
21
|
+
*/
|
|
22
|
+
export type ReactNativeCssStyleSheet = ReactNativeCssStyleSheet_V2;
|
|
23
|
+
export interface ReactNativeCssStyleSheet_V2 {
|
|
24
|
+
/** Feature flags */
|
|
25
|
+
f?: FeatureFlagRecord;
|
|
26
|
+
/** rem */
|
|
27
|
+
r?: number;
|
|
28
|
+
/** StyleRuleSets */
|
|
29
|
+
s?: (readonly [string, StyleRuleSet])[];
|
|
30
|
+
/** KeyFrames */
|
|
31
|
+
k?: Animation_V2[];
|
|
32
|
+
/** Root Variables */
|
|
33
|
+
vr?: RootVariables;
|
|
34
|
+
/** Universal Variables */
|
|
35
|
+
vu?: RootVariables;
|
|
36
|
+
}
|
|
37
|
+
/******************************** Styles ********************************/
|
|
38
|
+
/**
|
|
39
|
+
* The JS representation of a style object
|
|
40
|
+
*
|
|
41
|
+
* This CSS rule is a single StyleRuleSet, made up of multiple StyleRules
|
|
42
|
+
*
|
|
43
|
+
* ```css
|
|
44
|
+
* .my-class {
|
|
45
|
+
* color: red;
|
|
46
|
+
* }
|
|
47
|
+
* ```
|
|
48
|
+
* Properties are split into normal and important properties, and then split
|
|
49
|
+
* into different StyleRules depending on their specificity, conditions, etc
|
|
50
|
+
*/
|
|
51
|
+
export type StyleRuleSet = StyleRule[];
|
|
52
|
+
export interface StyleRule {
|
|
53
|
+
/** Specificity */
|
|
54
|
+
s: SpecificityArray;
|
|
55
|
+
/** Declarations */
|
|
56
|
+
d?: StyleDeclaration[];
|
|
57
|
+
/** Variables */
|
|
58
|
+
v?: VariableDescriptor[];
|
|
59
|
+
/** Named Containers */
|
|
60
|
+
c?: string[];
|
|
61
|
+
/** Declarations use variables */
|
|
62
|
+
dv?: number;
|
|
63
|
+
target?: string | string[] | false;
|
|
64
|
+
/**
|
|
65
|
+
* Conditionals
|
|
66
|
+
*/
|
|
67
|
+
/** MediaQuery */
|
|
68
|
+
m?: MediaCondition[];
|
|
69
|
+
/** PseudoClassesQuery */
|
|
70
|
+
p?: PseudoClassesQuery;
|
|
71
|
+
/** Container Query */
|
|
72
|
+
cq?: ContainerQuery[];
|
|
73
|
+
/** Attribute Conditions */
|
|
74
|
+
aq?: AttributeQuery[];
|
|
75
|
+
/**
|
|
76
|
+
* Animations and Transitions
|
|
77
|
+
*/
|
|
78
|
+
/** Animations */
|
|
79
|
+
a?: boolean;
|
|
80
|
+
}
|
|
81
|
+
export type StyleDeclaration =
|
|
82
|
+
/** This is a static style object */
|
|
83
|
+
Record<string, StyleDescriptor>
|
|
84
|
+
/** A style that needs to be set */
|
|
85
|
+
| [StyleDescriptor, string | string[]]
|
|
86
|
+
/** A value that can only be computed at runtime, and only after styles have been calculated */
|
|
87
|
+
| [StyleDescriptor, string | string[], 1];
|
|
88
|
+
export type StyleDescriptor = string | number | boolean | undefined | StyleFunction | StyleDescriptor[];
|
|
89
|
+
export type StyleFunction = [
|
|
90
|
+
Record<never, never>,
|
|
91
|
+
string
|
|
92
|
+
] | readonly [
|
|
93
|
+
Record<never, never>,
|
|
94
|
+
string
|
|
95
|
+
] | [
|
|
96
|
+
Record<never, never>,
|
|
97
|
+
string,
|
|
98
|
+
StyleDescriptor
|
|
99
|
+
] | readonly [
|
|
100
|
+
Record<never, never>,
|
|
101
|
+
string,
|
|
102
|
+
StyleDescriptor
|
|
103
|
+
] | [
|
|
104
|
+
Record<never, never>,
|
|
105
|
+
string,
|
|
106
|
+
StyleDescriptor,
|
|
107
|
+
1
|
|
108
|
+
] | readonly [
|
|
109
|
+
Record<never, never>,
|
|
110
|
+
string,
|
|
111
|
+
StyleDescriptor,
|
|
112
|
+
1
|
|
113
|
+
];
|
|
114
|
+
/****************************** Variables *******************************/
|
|
115
|
+
export type VariableDescriptor = [string, StyleDescriptor];
|
|
116
|
+
export type VariableRecord = Record<string, VariableValue[]>;
|
|
117
|
+
export type VariableValue = [StyleDescriptor] | [StyleDescriptor, MediaCondition[]];
|
|
118
|
+
export type RootVariables = [string, VariableValue[]][];
|
|
119
|
+
export type InlineVariable = {
|
|
120
|
+
[VAR_SYMBOL]: "inline";
|
|
121
|
+
[key: string]: unknown | undefined;
|
|
122
|
+
};
|
|
123
|
+
/****************************** Animations V2 ******************************/
|
|
124
|
+
export type Animation_V2 = [string, AnimationKeyframes_V2[]];
|
|
125
|
+
export type AnimationRecord = Record<string, AnimationKeyframes_V2[]>;
|
|
126
|
+
export type AnimationKeyframes_V2 = [string | number, StyleDeclaration[]];
|
|
127
|
+
/****************************** Conditions ******************************/
|
|
128
|
+
export type MediaCondition = ["!!", MediaFeatureNameFor_MediaFeatureId] | ["!", MediaCondition] | ["&", MediaCondition[]] | ["|", MediaCondition[]] | [
|
|
129
|
+
MediaFeatureComparison,
|
|
130
|
+
MediaFeatureNameFor_MediaFeatureId | "dir",
|
|
131
|
+
StyleDescriptor
|
|
132
|
+
] | [
|
|
133
|
+
"[]",
|
|
134
|
+
MediaFeatureNameFor_MediaFeatureId,
|
|
135
|
+
StyleDescriptor,
|
|
136
|
+
MediaFeatureComparison,
|
|
137
|
+
StyleDescriptor,
|
|
138
|
+
MediaFeatureComparison
|
|
139
|
+
];
|
|
140
|
+
export type MediaFeatureComparison = "=" | ">" | ">=" | "<" | "<=";
|
|
141
|
+
export interface PseudoClassesQuery {
|
|
142
|
+
/** Hover */
|
|
143
|
+
h?: 1;
|
|
144
|
+
/** Active */
|
|
145
|
+
a?: 1;
|
|
146
|
+
/** Focus */
|
|
147
|
+
f?: 1;
|
|
148
|
+
}
|
|
149
|
+
type AttributeQueryType = "a" | "d";
|
|
150
|
+
export type AttributeQuery = [AttributeQueryType, string] | [AttributeQueryType, string, "!"] | [AttributeQueryType, string, AttrSelectorOperator, string] | [AttributeQueryType, string, AttrSelectorOperator, string, "i" | "s"];
|
|
151
|
+
export type AttrSelectorOperator = "=" | "~=" | "|=" | "^=" | "$=" | "*=";
|
|
152
|
+
/****************************** Containers *****************************/
|
|
153
|
+
export interface ContainerQuery {
|
|
154
|
+
/** Name */
|
|
155
|
+
n?: string | null;
|
|
156
|
+
m?: MediaCondition;
|
|
157
|
+
p?: PseudoClassesQuery;
|
|
158
|
+
a?: AttributeQuery[];
|
|
159
|
+
}
|
|
160
|
+
/****************************** Specificity *****************************/
|
|
161
|
+
/**
|
|
162
|
+
* https://drafts.csswg.org/selectors/#specificity-rules
|
|
163
|
+
*
|
|
164
|
+
* This array is sorted by most common values when parsing a StyleSheet
|
|
165
|
+
*/
|
|
166
|
+
export type SpecificityArray = SpecificityValue[];
|
|
167
|
+
export type SpecificityValue = number | undefined;
|
|
168
|
+
/****************************** Compiler ********************************/
|
|
169
|
+
type FeatureFlags = never;
|
|
170
|
+
export type FeatureFlagRecord = Partial<Record<FeatureFlags, boolean>>;
|
|
171
|
+
/** @internal */
|
|
172
|
+
export type PathTokens = string | string[];
|
|
173
|
+
/** @internal */
|
|
174
|
+
export type StyleRuleMapping = Record<string, PathTokens>;
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
export type LoggerOptions = {
|
|
179
|
+
logger: (message: string) => void;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
export interface CompilerCollection extends CompilerOptions {
|
|
185
|
+
features: FeatureFlagRecord;
|
|
186
|
+
rules: Map<string, StyleRule[]>;
|
|
187
|
+
keyframes: Map<string, AnimationKeyframes_V2[]>;
|
|
188
|
+
darkMode?: string | null;
|
|
189
|
+
rootVariables: VariableRecord;
|
|
190
|
+
universalVariables: VariableRecord;
|
|
191
|
+
selectorPrefix?: string;
|
|
192
|
+
appearanceOrder: number;
|
|
193
|
+
rem?: number | boolean;
|
|
194
|
+
varUsageCount: Map<string, number>;
|
|
195
|
+
}
|
|
196
|
+
export {};
|
|
197
|
+
//# sourceMappingURL=compiler.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compiler.types.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,QAAQ,CAAC;IAC9C,2DAA2D;IAC3D,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB;IAChB,0BAA0B,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACjD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAEnE,MAAM,WAAW,2BAA2B;IAC1C,oBAAoB;IACpB,CAAC,CAAC,EAAE,iBAAiB,CAAC;IACtB,UAAU;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC;IACx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ondition } from "lightningcss";
|
|
2
|
+
import type { MediaCondition } from "./compiler.types";
|
|
3
|
+
import type { StylesheetBuilder } from "./stylesheet";
|
|
4
|
+
export declare function parseContainerCondition(condition: CSSContainerCondition, builder: StylesheetBuilder): MediaCondition | undefined;
|
|
5
|
+
//# sourceMappingURL=container-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/container-query.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,kBAAkB,IAAI,qBAAqB,EAE5C,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,qBAAqB,EAChC,OAAO,EAAE,iBAAiB,8BAU3B"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { Angle, BorderSideWidth, BorderStyle, ColorOrAuto, CssColor, Declaration, DimensionPercentageFor_LengthValue, EnvironmentVariable, FontSize, FontStyle, FontVariantCaps, FontWeight, Length, LengthPercentageOrAuto, LengthValue, LineHeight, LineStyle, MaxSize, NumberOrPercentage, Scale, Size, Size2DFor_DimensionPercentageFor_LengthValue, Time, Token, TokenOrValue, Translate, UnresolvedColor } from "lightningcss";
|
|
2
|
+
import type { StyleDescriptor, StyleFunction } from "./compiler.types";
|
|
3
|
+
import type { StylesheetBuilder } from "./stylesheet";
|
|
4
|
+
type DeclarationType<P extends Declaration["property"]> = Extract<Declaration, {
|
|
5
|
+
property: P;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function parseDeclaration(declaration: Declaration, builder: StylesheetBuilder): void;
|
|
8
|
+
export declare function parseBorderInlineWidth(declaration: DeclarationType<"border-inline-width">, builder: StylesheetBuilder): void;
|
|
9
|
+
export declare function parseBorderInlineStyle(declaration: DeclarationType<"border-inline-style" | "border-inline-start-style" | "border-inline-end-style">, builder: StylesheetBuilder): void;
|
|
10
|
+
export declare function parseScaleValue(translate: Scale, prop: keyof Extract<Scale, object>, builder: StylesheetBuilder): StyleDescriptor;
|
|
11
|
+
export declare function parseUnparsedDeclaration(declaration: Extract<Declaration, {
|
|
12
|
+
property: "unparsed";
|
|
13
|
+
}>, builder: StylesheetBuilder): void;
|
|
14
|
+
export declare function parseCustomDeclaration(declaration: Extract<Declaration, {
|
|
15
|
+
property: "custom";
|
|
16
|
+
}>, builder: StylesheetBuilder): void;
|
|
17
|
+
export declare function reduceParseUnparsed(tokenOrValues: TokenOrValue[], builder: StylesheetBuilder, property: string, allowAuto: boolean): StyleDescriptor;
|
|
18
|
+
export declare function unparsedFunction(token: Extract<TokenOrValue, {
|
|
19
|
+
type: "function";
|
|
20
|
+
}>, builder: StylesheetBuilder, property: string, allowAuto: boolean): StyleFunction;
|
|
21
|
+
/**
|
|
22
|
+
* When the CSS cannot be parsed (often due to a runtime condition like a CSS variable)
|
|
23
|
+
* This export function best efforts parsing it into a export function that we can evaluate at runtime
|
|
24
|
+
*/
|
|
25
|
+
export declare function parseUnparsed(tokenOrValue: TokenOrValue | TokenOrValue[] | string | number | undefined | null, builder: StylesheetBuilder, property: string, allowAuto?: boolean): StyleDescriptor;
|
|
26
|
+
export declare function parseLengthDeclaration(declaration: {
|
|
27
|
+
value: number | Length | DimensionPercentageFor_LengthValue | NumberOrPercentage | LengthValue;
|
|
28
|
+
}, builder: StylesheetBuilder): StyleDescriptor;
|
|
29
|
+
export declare function parseLength(length: number | Length | DimensionPercentageFor_LengthValue | NumberOrPercentage | LengthValue, builder: StylesheetBuilder): StyleDescriptor;
|
|
30
|
+
export declare function parseAngle(angle: Angle | number, builder: StylesheetBuilder): string | undefined;
|
|
31
|
+
export declare function parseSizeDeclaration(declaration: {
|
|
32
|
+
value: Size | MaxSize;
|
|
33
|
+
}, builder: StylesheetBuilder): StyleDescriptor;
|
|
34
|
+
export declare function parsePointerEvents({ value }: {
|
|
35
|
+
value: string;
|
|
36
|
+
}, builder: StylesheetBuilder): "none" | "auto" | "box-none" | "box-only" | undefined;
|
|
37
|
+
export declare function parseSize(size: Size | MaxSize, builder: StylesheetBuilder, options?: {
|
|
38
|
+
allowAuto?: boolean;
|
|
39
|
+
}): StyleDescriptor;
|
|
40
|
+
export declare function parseSize(size: Size | MaxSize, builder: StylesheetBuilder, property: string, options?: {
|
|
41
|
+
allowAuto?: boolean;
|
|
42
|
+
}): StyleDescriptor;
|
|
43
|
+
export declare function parseColorOrAutoDeclaration({ value }: {
|
|
44
|
+
value: ColorOrAuto;
|
|
45
|
+
}, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
|
|
46
|
+
export declare function parseFontColorDeclaration(declaration: Extract<Declaration, {
|
|
47
|
+
value: CssColor;
|
|
48
|
+
}>, builder: StylesheetBuilder): void;
|
|
49
|
+
export declare function parseColorDeclaration(declaration: Extract<Declaration, {
|
|
50
|
+
value: CssColor;
|
|
51
|
+
}>, builder: StylesheetBuilder): void;
|
|
52
|
+
export declare function parseColor(cssColor: CssColor, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
|
|
53
|
+
export declare function parseLengthPercentageOrAutoDeclaration(value: {
|
|
54
|
+
value: LengthPercentageOrAuto;
|
|
55
|
+
}, builder: StylesheetBuilder): StyleDescriptor;
|
|
56
|
+
export declare function parseLengthPercentageOrAuto(lengthPercentageOrAuto: LengthPercentageOrAuto, builder: StylesheetBuilder, { allowAuto }?: {
|
|
57
|
+
allowAuto?: boolean | undefined;
|
|
58
|
+
}): StyleDescriptor;
|
|
59
|
+
export declare function parseJustifyContent(declaration: DeclarationType<"justify-content">, builder: StylesheetBuilder): string | undefined;
|
|
60
|
+
export declare function parseAlignContent(declaration: DeclarationType<"align-content">, builder: StylesheetBuilder): string | undefined;
|
|
61
|
+
export declare function parseAlignItems(alignItems: DeclarationType<"align-items">, builder: StylesheetBuilder): string | undefined;
|
|
62
|
+
export declare function parseAlignSelf(alignSelf: DeclarationType<"align-self">, builder: StylesheetBuilder): string | undefined;
|
|
63
|
+
export declare function parseFontWeightDeclaration(declaration: DeclarationType<"font-weight">, builder: StylesheetBuilder): string | undefined;
|
|
64
|
+
export declare function parseFontWeight(fontWeight: FontWeight, builder: StylesheetBuilder): string | undefined;
|
|
65
|
+
export declare function parseTextShadow(declaration: DeclarationType<"text-shadow">, builder: StylesheetBuilder): void;
|
|
66
|
+
export declare function parseTextDecorationStyle(declaration: DeclarationType<"text-decoration-style">, builder: StylesheetBuilder): import("lightningcss").TextDecorationStyle | undefined;
|
|
67
|
+
export declare function parseTextDecorationLineDeclaration(declaration: DeclarationType<"text-decoration-line">, builder: StylesheetBuilder): "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
68
|
+
export declare function parseTextDecorationLine(value: DeclarationType<"text-decoration-line">["value"], builder: StylesheetBuilder): "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
69
|
+
export declare function parsePosition({ value }: DeclarationType<"position">, builder: StylesheetBuilder): "absolute" | "relative" | undefined;
|
|
70
|
+
export declare function parseOverflow({ value }: DeclarationType<"overflow">, builder: StylesheetBuilder): import("lightningcss").OverflowKeyword | undefined;
|
|
71
|
+
export declare function parseBorderStyleDeclaration(declaration: DeclarationType<"border-style" | "border-left-style" | "border-right-style" | "border-top-style" | "border-bottom-style">, builder: StylesheetBuilder): LineStyle | undefined;
|
|
72
|
+
export declare function parseBorderStyle(value: BorderStyle | LineStyle, builder: StylesheetBuilder): LineStyle | undefined;
|
|
73
|
+
export declare function parseBorderBlockWidth(declaration: DeclarationType<"border-block-width">, builder: StylesheetBuilder): void;
|
|
74
|
+
export declare function parseBorderSideWidthDeclaration(declaration: DeclarationType<"border-block-end-width" | "border-block-start-width" | "border-bottom-width" | "border-inline-end-width" | "border-inline-start-width" | "border-left-width" | "border-right-width" | "border-top-width">, builder: StylesheetBuilder): StyleDescriptor;
|
|
75
|
+
export declare function parseBorderSideWidth(value: BorderSideWidth, builder: StylesheetBuilder): StyleDescriptor;
|
|
76
|
+
export declare function parseVerticalAlign({ value }: DeclarationType<"vertical-align">, builder: StylesheetBuilder): import("lightningcss").VerticalAlignKeyword | undefined;
|
|
77
|
+
export declare function parseLineHeightDeclaration(declaration: DeclarationType<"line-height">, builder: StylesheetBuilder): StyleDescriptor;
|
|
78
|
+
export declare function parseLineHeight(value: LineHeight, builder: StylesheetBuilder): StyleDescriptor;
|
|
79
|
+
export declare function parseFontSizeDeclaration(declaration: DeclarationType<"font-size">, builder: StylesheetBuilder): void;
|
|
80
|
+
export declare function parseFontSize(value: FontSize, builder: StylesheetBuilder): StyleDescriptor;
|
|
81
|
+
export declare function parseFontStyleDeclaration(declaration: DeclarationType<"font-style">, builder: StylesheetBuilder): "normal" | "italic" | undefined;
|
|
82
|
+
export declare function parseFontStyle(value: FontStyle, builder: StylesheetBuilder): "normal" | "italic" | undefined;
|
|
83
|
+
export declare function parseFontVariantCapsDeclaration(declaration: DeclarationType<"font-variant-caps">, builder: StylesheetBuilder): FontVariantCaps | undefined;
|
|
84
|
+
export declare function parseFontVariantCaps(value: FontVariantCaps, builder: StylesheetBuilder): FontVariantCaps | undefined;
|
|
85
|
+
export declare function parseLengthOrCoercePercentageToRuntime(value: Length | DimensionPercentageFor_LengthValue | NumberOrPercentage, builder: StylesheetBuilder): StyleDescriptor;
|
|
86
|
+
export declare function parseGap(declaration: DeclarationType<"gap" | "column-gap" | "row-gap">, builder: StylesheetBuilder): StyleDescriptor;
|
|
87
|
+
export declare function parseTextAlign({ value }: DeclarationType<"text-align">, builder: StylesheetBuilder): import("lightningcss").TextAlign | undefined;
|
|
88
|
+
export declare function parseBoxShadow({ value }: DeclarationType<"box-shadow">, builder: StylesheetBuilder): void;
|
|
89
|
+
export declare function parseDisplay({ value }: DeclarationType<"display">, builder: StylesheetBuilder): "flex" | "none" | undefined;
|
|
90
|
+
export declare function parseAspectRatio({ value, }: DeclarationType<"aspect-ratio">): StyleDescriptor;
|
|
91
|
+
export declare function parseDimension({ unit, value }: Extract<Token, {
|
|
92
|
+
type: "dimension";
|
|
93
|
+
}>, builder: StylesheetBuilder): StyleDescriptor;
|
|
94
|
+
export declare function parseUserSelect({ value }: DeclarationType<"user-select">, builder: StylesheetBuilder): import("lightningcss").UserSelect | undefined;
|
|
95
|
+
export declare function parseSVGPaint({ value, property }: DeclarationType<"fill" | "stroke">, builder: StylesheetBuilder): void;
|
|
96
|
+
export declare function round(number: number): number;
|
|
97
|
+
export declare function parseDimensionPercentageFor_LengthValue(value: DimensionPercentageFor_LengthValue, builder: StylesheetBuilder): StyleDescriptor;
|
|
98
|
+
export declare function parseEnv(value: EnvironmentVariable, builder: StylesheetBuilder): StyleFunction | undefined;
|
|
99
|
+
export declare function parseCalcFn(name: string, tokens: TokenOrValue[], builder: StylesheetBuilder, property: string): StyleDescriptor;
|
|
100
|
+
export declare function parseCalcArguments([...args]: TokenOrValue[], builder: StylesheetBuilder, property: string): StyleDescriptor[] | undefined;
|
|
101
|
+
export declare function parseTranslateProp(value: Translate, prop: keyof Extract<Translate, object>, builder: StylesheetBuilder): StyleDescriptor;
|
|
102
|
+
export declare function parseUnresolvedColor(color: UnresolvedColor, builder: StylesheetBuilder, property: string, allowAuto: boolean): StyleDescriptor;
|
|
103
|
+
export declare function allEqual(...params: unknown[]): boolean;
|
|
104
|
+
export declare function equal(a: unknown, b: unknown): boolean;
|
|
105
|
+
export declare function parseTime(time: Time): number;
|
|
106
|
+
export declare function parseSize2DDimensionPercentageDeclaration(declaration: {
|
|
107
|
+
value: Size2DFor_DimensionPercentageFor_LengthValue;
|
|
108
|
+
}, builder: StylesheetBuilder): StyleDescriptor;
|
|
109
|
+
export declare function parseSize2DDimensionPercentage(value: Size2DFor_DimensionPercentageFor_LengthValue, builder: StylesheetBuilder): StyleDescriptor;
|
|
110
|
+
export declare function addTransitionValue(declaration: Extract<Declaration, {
|
|
111
|
+
property: `transition${string}` | "transition";
|
|
112
|
+
}>, builder: StylesheetBuilder): void;
|
|
113
|
+
export declare function addAnimationValue(declaration: Extract<Declaration, {
|
|
114
|
+
property: `animation${string}` | "animation";
|
|
115
|
+
}>, builder: StylesheetBuilder): void;
|
|
116
|
+
export declare function kebabCase(str: string): string;
|
|
117
|
+
export {};
|
|
118
|
+
//# sourceMappingURL=declarations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declarations.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/declarations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,KAAK,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,QAAQ,EACR,WAAW,EACX,kCAAkC,EAClC,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,eAAe,EACf,UAAU,EAIV,MAAM,EACN,sBAAsB,EACtB,WAAW,EAEX,UAAU,EACV,SAAS,EACT,OAAO,EACP,kBAAkB,EAClB,KAAK,EACL,IAAI,EACJ,4CAA4C,EAC5C,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,SAAS,EACT,eAAe,EAChB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAItD,KAAK,eAAe,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,IAAI,OAAO,CAC/D,WAAW,EACX;IAAE,QAAQ,EAAE,CAAC,CAAA;CAAE,CAChB,CAAC;AAuMF,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,iBAAiB,QAuB3B;AAgPD,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,eAAe,CAAC,qBAAqB,CAAC,EACnD,OAAO,EAAE,iBAAiB,QAU3B;AAED,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,eAAe,CACxB,qBAAqB,GACrB,2BAA2B,GAC3B,yBAAy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QAAQ,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,WAI5C;AACD,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,WA0B3C;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,UAEnC;AAED,wBAAgB,yCAAyC,CACvD,WAAW,EAAE;IAAE,KAAK,EAAE,4CAA4C,CAAA;CAAE,EACpE,OAAO,EAAE,iBAAiB,mBAG3B;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,4CAA4C,EACnD,OAAO,EAAE,iBAAiB,mBAG3B;AAED,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,OAAO,CAClB,WAAW,EACX;IAAE,QAAQ,EAAE,aAAa,MAAM,EAAE,GAAG,YAAY,CAAA;CAAE,CACnD,EACD,OAAO,EAAE,iBAAiB,QAwD3B;AAED,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,OAAO,CAClB,WAAW,EACX;IAAE,QAAQ,EAAE,YAAY,MAAM,EAAE,GAAG,WAAW,CAAA;CAAE,CACjD,EACD,OAAO,EAAE,iBAAiB,QA+E3B;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,UAKpC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PlatformOSType } from "react-native";
|
|
2
|
+
export declare function hairlineWidth(): number;
|
|
3
|
+
export declare function platformSelect(specifics: Partial<Record<PlatformOSType | "default", unknown>>): unknown;
|
|
4
|
+
export declare function pixelScaleSelect(specifics: Partial<Record<number | "default", unknown>>): unknown;
|
|
5
|
+
export declare function fontScaleSelect(specifics: Partial<Record<number | "default", unknown>>): unknown;
|
|
6
|
+
export declare function pixelScale(value?: number): number;
|
|
7
|
+
export declare function fontScale(value?: number): number;
|
|
8
|
+
export declare function getPixelSizeForLayoutSize(value: number): number;
|
|
9
|
+
export declare function roundToNearestPixel(value: number): number;
|
|
10
|
+
export declare function platformColor(...colors: string[]): string[];
|
|
11
|
+
//# sourceMappingURL=functions-web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions-web.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/functions-web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,WAGhE;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,WAGxD;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,WAGxD;AAED,wBAAgB,UAAU,CAAC,KAAK,SAAI,UAEnC;AAED,wBAAgB,SAAS,CAAC,KAAK,SAAI,UAElC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,UAEtD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,UAEhD;AAED,wBAAgB,aAAa,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,YAEhD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PlatformOSType } from "react-native";
|
|
2
|
+
export declare function hairlineWidth(): string;
|
|
3
|
+
export declare function platformSelect(specifics: Partial<Record<PlatformOSType | "default", unknown>>): string;
|
|
4
|
+
export declare function pixelScaleSelect(specifics: Partial<Record<number | "default", unknown>>): string;
|
|
5
|
+
export declare function fontScaleSelect(specifics: Partial<Record<number | "default", unknown>>): string;
|
|
6
|
+
export declare function pixelScale(value?: number): string;
|
|
7
|
+
export declare function fontScale(value?: number): string;
|
|
8
|
+
export declare function getPixelSizeForLayoutSize(value: number): string;
|
|
9
|
+
export declare function roundToNearestPixel(value: number): string;
|
|
10
|
+
export declare function platformColor(...colors: string[]): string;
|
|
11
|
+
//# sourceMappingURL=functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/functions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,UAOhE;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,UAOxD;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,UAOxD;AAED,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,UAExC;AAED,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,UAEvC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,UAEtD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,UAEhD;AAED,wBAAgB,aAAa,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAUhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAC;AAC3B,mBAAmB,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inheritance.test.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/inheritance.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AnimationIterationCount, EasingFunction as CSSEasingFunction, KeyframesRule } from "lightningcss";
|
|
2
|
+
import type { StyleDescriptor } from "./compiler.types";
|
|
3
|
+
import type { StylesheetBuilder } from "./stylesheet";
|
|
4
|
+
export declare function parseIterationCount(value: AnimationIterationCount[]): number[];
|
|
5
|
+
export declare function parseEasingFunction(value: CSSEasingFunction[]): StyleDescriptor;
|
|
6
|
+
export declare function extractKeyFrames(keyframes: KeyframesRule, builder: StylesheetBuilder): void;
|
|
7
|
+
//# sourceMappingURL=keyframes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyframes.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/keyframes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,IAAI,iBAAiB,EACnC,aAAa,EACd,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,uBAAuB,EAAE,GAC/B,MAAM,EAAE,CAIV;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EAAE,GACzB,eAAe,CAwBjB;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,iBAAiB,QAqC3B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MediaFeatureComparison as CSSMediaFeatureComparison, MediaFeatureValue as CSSMediaFeatureValue, MediaQuery as CSSMediaQuery } from "lightningcss";
|
|
2
|
+
import type { MediaFeatureComparison, StyleDescriptor } from "./compiler.types";
|
|
3
|
+
import type { StylesheetBuilder } from "./stylesheet";
|
|
4
|
+
export declare function parseMediaQuery(query: CSSMediaQuery, builder: StylesheetBuilder): void;
|
|
5
|
+
export declare function parseMediaFeatureValue(value: CSSMediaFeatureValue, builder: StylesheetBuilder): StyleDescriptor;
|
|
6
|
+
export declare function parseMediaFeatureOperator(operator: CSSMediaFeatureComparison): MediaFeatureComparison;
|
|
7
|
+
//# sourceMappingURL=media-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-query.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/media-query.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,sBAAsB,IAAI,yBAAyB,EACnD,iBAAiB,IAAI,oBAAoB,EACzC,UAAU,IAAI,aAAa,EAE5B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAEV,sBAAsB,EACtB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,iBAAiB,QAwC3B;AAuED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE,iBAAiB,GACzB,eAAe,CAoCjB;AAED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,yBAAyB,GAClC,sBAAsB,CAgBxB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { StyleRule } from "./compiler.types";
|
|
2
|
+
export declare function modifyRuleForSelection(rule: StyleRule): StyleRule | undefined;
|
|
3
|
+
export declare function modifyRuleForPlaceholder(rule: StyleRule): StyleRule | undefined;
|
|
4
|
+
//# sourceMappingURL=pseudo-elements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pseudo-elements.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/pseudo-elements.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEpE,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAU7E;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,SAAS,GACd,SAAS,GAAG,SAAS,CAUvB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SelectorList } from "lightningcss";
|
|
2
|
+
import type { AttributeQuery, CompilerOptions, ContainerQuery, MediaCondition, PseudoClassesQuery, SpecificityArray } from "./compiler.types";
|
|
3
|
+
interface ReactNativeClassNameSelector {
|
|
4
|
+
type: "className";
|
|
5
|
+
specificity: SpecificityArray;
|
|
6
|
+
className: string;
|
|
7
|
+
mediaQuery?: MediaCondition[];
|
|
8
|
+
containerQuery?: ContainerQuery[];
|
|
9
|
+
pseudoClassesQuery?: PseudoClassesQuery;
|
|
10
|
+
attributeQuery?: AttributeQuery[];
|
|
11
|
+
pseudoElementQuery?: string[];
|
|
12
|
+
}
|
|
13
|
+
interface ReactNativeGlobalSelector {
|
|
14
|
+
type: "rootVariables" | "universalVariables";
|
|
15
|
+
}
|
|
16
|
+
type PartialSelector = Partial<ReactNativeClassNameSelector> & {
|
|
17
|
+
type: "className";
|
|
18
|
+
specificity: SpecificityArray;
|
|
19
|
+
};
|
|
20
|
+
export declare function getClassNameSelectors(selectors: SelectorList, options?: CompilerOptions, specificity?: SpecificityArray, root?: PartialSelector): (ReactNativeGlobalSelector | PartialSelector)[];
|
|
21
|
+
export declare function toRNProperty<T extends string>(str: T): CamelCase<T>;
|
|
22
|
+
type CamelCase<S extends string> = S extends `${infer P1}-${infer P2}${infer P3}` ? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}` : Lowercase<S>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=selector-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selector-builder.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/selector-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA2B,YAAY,EAAE,MAAM,cAAc,CAAC;AAG1E,OAAO,KAAK,EACV,cAAc,EAEd,eAAe,EACf,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