react-native-css 3.0.7 → 3.1.0-rc.1
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/CHANGELOG.md +21 -0
- package/README.md +24 -0
- package/dist/commonjs/babel/helpers.js +7 -0
- package/dist/commonjs/babel/helpers.js.map +1 -1
- package/dist/commonjs/babel/import-plugin.js +20 -8
- package/dist/commonjs/babel/import-plugin.js.map +1 -1
- package/dist/commonjs/babel/react-native-web.js +17 -4
- package/dist/commonjs/babel/react-native-web.js.map +1 -1
- package/dist/commonjs/babel/react-native.js +9 -4
- package/dist/commonjs/babel/react-native.js.map +1 -1
- package/dist/commonjs/compiler/atRules.js +35 -0
- package/dist/commonjs/compiler/atRules.js.map +1 -1
- package/dist/commonjs/compiler/compiler.js +44 -28
- package/dist/commonjs/compiler/compiler.js.map +1 -1
- package/dist/commonjs/compiler/container-query.js +6 -1
- package/dist/commonjs/compiler/container-query.js.map +1 -1
- package/dist/commonjs/compiler/declarations.js +103 -62
- package/dist/commonjs/compiler/declarations.js.map +1 -1
- package/dist/commonjs/compiler/lightningcss-loader.js +11 -8
- package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -1
- package/dist/commonjs/compiler/media-query.js +16 -6
- package/dist/commonjs/compiler/media-query.js.map +1 -1
- package/dist/commonjs/compiler/selector-builder.js +15 -4
- package/dist/commonjs/compiler/selector-builder.js.map +1 -1
- package/dist/commonjs/compiler/stylesheet.js +11 -3
- package/dist/commonjs/compiler/stylesheet.js.map +1 -1
- package/dist/commonjs/components/ImageBackground.js +2 -6
- package/dist/commonjs/components/ImageBackground.js.map +1 -1
- package/dist/commonjs/components/KeyboardAvoidingView.js +2 -3
- package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -1
- package/dist/commonjs/components/index.cjs +46 -1
- package/dist/commonjs/components/index.cjs.map +1 -1
- package/dist/commonjs/jest/index.js +1 -1
- package/dist/commonjs/jest/index.js.map +1 -1
- package/dist/commonjs/metro/cache-version.js +43 -0
- package/dist/commonjs/metro/cache-version.js.map +1 -0
- package/dist/commonjs/metro/index.js +2 -0
- package/dist/commonjs/metro/index.js.map +1 -1
- package/dist/commonjs/metro/metro-transformer.js +16 -3
- package/dist/commonjs/metro/metro-transformer.js.map +1 -1
- package/dist/commonjs/metro/typescript.js +26 -6
- package/dist/commonjs/metro/typescript.js.map +1 -1
- package/dist/commonjs/metro/warnings.js +135 -0
- package/dist/commonjs/metro/warnings.js.map +1 -0
- package/dist/commonjs/native/api.js +13 -9
- package/dist/commonjs/native/api.js.map +1 -1
- package/dist/commonjs/native/conditions/attributes.js +16 -9
- package/dist/commonjs/native/conditions/attributes.js.map +1 -1
- package/dist/commonjs/native/conditions/container-query.js +11 -11
- package/dist/commonjs/native/conditions/container-query.js.map +1 -1
- package/dist/commonjs/native/conditions/media-query.js +1 -1
- package/dist/commonjs/native/conditions/media-query.js.map +1 -1
- package/dist/commonjs/native/react/interaction.js +10 -5
- package/dist/commonjs/native/react/interaction.js.map +1 -1
- package/dist/commonjs/native/react/rules.js +12 -5
- package/dist/commonjs/native/react/rules.js.map +1 -1
- package/dist/commonjs/native/react/useNativeCss.js +60 -11
- package/dist/commonjs/native/react/useNativeCss.js.map +1 -1
- package/dist/commonjs/native/react/usePassthrough.js +5 -2
- package/dist/commonjs/native/react/usePassthrough.js.map +1 -1
- package/dist/commonjs/native/reactivity.js +61 -24
- package/dist/commonjs/native/reactivity.js.map +1 -1
- package/dist/commonjs/native/reanimated.js +15 -3
- package/dist/commonjs/native/reanimated.js.map +1 -1
- package/dist/commonjs/native/styles/functions/color-mix.js +43 -29
- package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -1
- package/dist/commonjs/native/styles/functions/filters.js +14 -1
- package/dist/commonjs/native/styles/functions/filters.js.map +1 -1
- package/dist/commonjs/native/styles/functions/numeric-functions.js +4 -3
- package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -1
- package/dist/commonjs/native/styles/functions/string-functions.js +16 -1
- package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -1
- package/dist/commonjs/native/styles/functions/transform-functions.js +5 -4
- package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -1
- package/dist/commonjs/native/styles/index.js +95 -12
- package/dist/commonjs/native/styles/index.js.map +1 -1
- package/dist/commonjs/native/styles/resolve.js +10 -6
- package/dist/commonjs/native/styles/resolve.js.map +1 -1
- package/dist/commonjs/native/styles/scale-factor.js +13 -0
- package/dist/commonjs/native/styles/scale-factor.js.map +1 -0
- package/dist/commonjs/native/styles/shorthands/animation.js +6 -3
- package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -1
- package/dist/commonjs/native/styles/shorthands/index.js +11 -0
- package/dist/commonjs/native/styles/shorthands/index.js.map +1 -1
- package/dist/commonjs/native/styles/shorthands/logical-border-width.js +22 -0
- package/dist/commonjs/native/styles/shorthands/logical-border-width.js.map +1 -0
- package/dist/commonjs/native/styles/variables.js +55 -43
- package/dist/commonjs/native/styles/variables.js.map +1 -1
- package/dist/commonjs/native-internal/root.js +18 -7
- package/dist/commonjs/native-internal/root.js.map +1 -1
- package/dist/commonjs/native-internal/style-collection.js +1 -1
- package/dist/commonjs/native-internal/style-collection.js.map +1 -1
- package/dist/commonjs/native-internal/variables.js +1 -1
- package/dist/commonjs/native-internal/variables.js.map +1 -1
- package/dist/commonjs/utilities/dot-notation.types.js +4 -0
- package/dist/commonjs/utilities/style-descriptor.js +4 -9
- package/dist/commonjs/utilities/style-descriptor.js.map +1 -1
- package/dist/commonjs/web/api.js +1 -1
- package/dist/commonjs/web/api.js.map +1 -1
- package/dist/commonjs/web/assign-style.js +4 -1
- package/dist/commonjs/web/assign-style.js.map +1 -1
- package/dist/module/babel/helpers.js +6 -0
- package/dist/module/babel/helpers.js.map +1 -1
- package/dist/module/babel/import-plugin.js +22 -10
- package/dist/module/babel/import-plugin.js.map +1 -1
- package/dist/module/babel/react-native-web.js +16 -4
- package/dist/module/babel/react-native-web.js.map +1 -1
- package/dist/module/babel/react-native.js +9 -4
- package/dist/module/babel/react-native.js.map +1 -1
- package/dist/module/compiler/atRules.js +33 -0
- package/dist/module/compiler/atRules.js.map +1 -1
- package/dist/module/compiler/compiler.js +45 -29
- package/dist/module/compiler/compiler.js.map +1 -1
- package/dist/module/compiler/compiler.types.js +2 -0
- package/dist/module/compiler/compiler.types.js.map +1 -1
- package/dist/module/compiler/container-query.js +6 -1
- package/dist/module/compiler/container-query.js.map +1 -1
- package/dist/module/compiler/declarations.js +103 -62
- package/dist/module/compiler/declarations.js.map +1 -1
- package/dist/module/compiler/lightningcss-loader.js +10 -8
- package/dist/module/compiler/lightningcss-loader.js.map +1 -1
- package/dist/module/compiler/media-query.js +16 -6
- package/dist/module/compiler/media-query.js.map +1 -1
- package/dist/module/compiler/selector-builder.js +15 -4
- package/dist/module/compiler/selector-builder.js.map +1 -1
- package/dist/module/compiler/stylesheet.js +11 -3
- package/dist/module/compiler/stylesheet.js.map +1 -1
- package/dist/module/components/ImageBackground.js +2 -6
- package/dist/module/components/ImageBackground.js.map +1 -1
- package/dist/module/components/KeyboardAvoidingView.js +2 -3
- package/dist/module/components/KeyboardAvoidingView.js.map +1 -1
- package/dist/module/components/index.cjs +46 -1
- package/dist/module/components/index.cjs.map +1 -1
- package/dist/module/jest/index.js +1 -1
- package/dist/module/jest/index.js.map +1 -1
- package/dist/module/metro/cache-version.js +39 -0
- package/dist/module/metro/cache-version.js.map +1 -0
- package/dist/module/metro/index.js +2 -0
- package/dist/module/metro/index.js.map +1 -1
- package/dist/module/metro/metro-transformer.js +16 -3
- package/dist/module/metro/metro-transformer.js.map +1 -1
- package/dist/module/metro/typescript.js +26 -6
- package/dist/module/metro/typescript.js.map +1 -1
- package/dist/module/metro/warnings.js +131 -0
- package/dist/module/metro/warnings.js.map +1 -0
- package/dist/module/native/api.js +15 -11
- package/dist/module/native/api.js.map +1 -1
- package/dist/module/native/conditions/attributes.js +16 -9
- package/dist/module/native/conditions/attributes.js.map +1 -1
- package/dist/module/native/conditions/container-query.js +11 -11
- package/dist/module/native/conditions/container-query.js.map +1 -1
- package/dist/module/native/conditions/media-query.js +1 -1
- package/dist/module/native/conditions/media-query.js.map +1 -1
- package/dist/module/native/react/interaction.js +10 -5
- package/dist/module/native/react/interaction.js.map +1 -1
- package/dist/module/native/react/rules.js +13 -6
- package/dist/module/native/react/rules.js.map +1 -1
- package/dist/module/native/react/useNativeCss.js +63 -14
- package/dist/module/native/react/useNativeCss.js.map +1 -1
- package/dist/module/native/react/usePassthrough.js +5 -2
- package/dist/module/native/react/usePassthrough.js.map +1 -1
- package/dist/module/native/reactivity.js +55 -22
- package/dist/module/native/reactivity.js.map +1 -1
- package/dist/module/native/reanimated.js +15 -3
- package/dist/module/native/reanimated.js.map +1 -1
- package/dist/module/native/styles/functions/color-mix.js +43 -29
- package/dist/module/native/styles/functions/color-mix.js.map +1 -1
- package/dist/module/native/styles/functions/filters.js +12 -0
- package/dist/module/native/styles/functions/filters.js.map +1 -1
- package/dist/module/native/styles/functions/numeric-functions.js +4 -3
- package/dist/module/native/styles/functions/numeric-functions.js.map +1 -1
- package/dist/module/native/styles/functions/string-functions.js +13 -0
- package/dist/module/native/styles/functions/string-functions.js.map +1 -1
- package/dist/module/native/styles/functions/transform-functions.js +5 -4
- package/dist/module/native/styles/functions/transform-functions.js.map +1 -1
- package/dist/module/native/styles/index.js +95 -12
- package/dist/module/native/styles/index.js.map +1 -1
- package/dist/module/native/styles/resolve.js +10 -6
- package/dist/module/native/styles/resolve.js.map +1 -1
- package/dist/module/native/styles/scale-factor.js +9 -0
- package/dist/module/native/styles/scale-factor.js.map +1 -0
- package/dist/module/native/styles/shorthands/animation.js +6 -3
- package/dist/module/native/styles/shorthands/animation.js.map +1 -1
- package/dist/module/native/styles/shorthands/index.js +1 -0
- package/dist/module/native/styles/shorthands/index.js.map +1 -1
- package/dist/module/native/styles/shorthands/logical-border-width.js +18 -0
- package/dist/module/native/styles/shorthands/logical-border-width.js.map +1 -0
- package/dist/module/native/styles/variables.js +55 -43
- package/dist/module/native/styles/variables.js.map +1 -1
- package/dist/module/native-internal/root.js +18 -7
- package/dist/module/native-internal/root.js.map +1 -1
- package/dist/module/native-internal/style-collection.js +1 -1
- package/dist/module/native-internal/style-collection.js.map +1 -1
- package/dist/module/native-internal/variables.js +2 -2
- package/dist/module/native-internal/variables.js.map +1 -1
- package/dist/module/utilities/dot-notation.types.js +2 -0
- package/dist/module/utilities/style-descriptor.js +4 -9
- package/dist/module/utilities/style-descriptor.js.map +1 -1
- package/dist/module/web/api.js +1 -1
- package/dist/module/web/api.js.map +1 -1
- package/dist/module/web/assign-style.js +4 -1
- package/dist/module/web/assign-style.js.map +1 -1
- package/dist/typescript/commonjs/src/babel/helpers.d.ts +2 -1
- package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +2 -1
- package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts +4 -1
- package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts +1 -5
- package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +6 -0
- package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts +2 -2
- package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/media-query.d.ts +1 -1
- package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +6 -8
- package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts +1 -1
- package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/jest/index.d.ts +2 -10
- package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/cache-version.d.ts +8 -0
- package/dist/typescript/commonjs/src/metro/cache-version.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/metro/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +9 -4
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/metro/warnings.d.ts +13 -0
- package/dist/typescript/commonjs/src/metro/warnings.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/api.d.ts +4 -8
- package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/interaction.d.ts +1 -1
- package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/reactivity.d.ts +14 -3
- package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/index.d.ts +2 -2
- package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +1 -0
- package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts +2 -0
- package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts +1 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
- package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native-internal/root.d.ts +12 -0
- package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/native-internal/variables.d.ts +1 -1
- package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/runtime.types.d.ts +11 -6
- package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +2 -1
- package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +1 -1
- package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/web/api.d.ts +5 -5
- package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -1
- package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/helpers.d.ts +2 -1
- package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/import-plugin.d.ts +1 -1
- package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/react-native-web.d.ts +2 -1
- package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -1
- package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/atRules.d.ts +6 -3
- package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.d.ts +3 -7
- package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.types.d.ts +7 -1
- package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/container-query.d.ts +2 -2
- package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/declarations.d.ts +4 -4
- package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/index.d.ts +2 -2
- package/dist/typescript/module/src/compiler/index.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/inline-variables.d.ts +1 -1
- package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/keyframes.d.ts +2 -2
- package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/media-query.d.ts +3 -3
- package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +1 -1
- package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/selector-builder.d.ts +1 -1
- package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/selectors.d.ts +2 -2
- package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/stylesheet.d.ts +6 -8
- package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
- package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -1
- package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -1
- package/dist/typescript/module/src/components/index.d.ts +16 -16
- package/dist/typescript/module/src/components/index.d.ts.map +1 -1
- package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts +1 -1
- package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
- package/dist/typescript/module/src/jest/index.d.ts +2 -10
- package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/cache-version.d.ts +8 -0
- package/dist/typescript/module/src/metro/cache-version.d.ts.map +1 -0
- package/dist/typescript/module/src/metro/index.d.ts +5 -1
- package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/metro-transformer.d.ts +10 -5
- package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/warnings.d.ts +13 -0
- package/dist/typescript/module/src/metro/warnings.d.ts.map +1 -0
- package/dist/typescript/module/src/native/api.d.ts +5 -9
- package/dist/typescript/module/src/native/api.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/attributes.d.ts +1 -1
- package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/container-query.d.ts +2 -2
- package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/guards.d.ts +2 -2
- package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/index.d.ts +3 -3
- package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/conditions/media-query.d.ts +1 -1
- package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -1
- package/dist/typescript/module/src/native/index.d.ts +3 -3
- package/dist/typescript/module/src/native/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/interaction.d.ts +2 -2
- package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/rules.d.ts +2 -2
- package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts +4 -4
- package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -1
- package/dist/typescript/module/src/native/react/usePassthrough.d.ts +1 -1
- package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -1
- package/dist/typescript/module/src/native/reactivity.d.ts +14 -3
- package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -1
- package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/calculate-props.d.ts +2 -2
- package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/filters.d.ts +3 -1
- package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/index.d.ts +8 -8
- package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts +3 -1
- package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/index.d.ts +7 -7
- package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/line-height.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/resolve.d.ts +4 -3
- package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/scale-factor.d.ts +2 -0
- package/dist/typescript/module/src/native/styles/scale-factor.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +2 -2
- package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/border.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/index.d.ts +6 -5
- package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
- package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
- package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/units.d.ts +1 -1
- package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -1
- package/dist/typescript/module/src/native/styles/variables.d.ts +2 -2
- package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/index.d.ts +3 -3
- package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/root.d.ts +13 -1
- package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/style-collection.d.ts +2 -2
- package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -1
- package/dist/typescript/module/src/native-internal/variables.d.ts +2 -2
- package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -1
- package/dist/typescript/module/src/runtime.d.ts +1 -1
- package/dist/typescript/module/src/runtime.d.ts.map +1 -1
- package/dist/typescript/module/src/runtime.native.d.ts +1 -1
- package/dist/typescript/module/src/runtime.native.d.ts.map +1 -1
- package/dist/typescript/module/src/runtime.types.d.ts +11 -6
- package/dist/typescript/module/src/runtime.types.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +2 -1
- package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/index.d.ts +3 -3
- package/dist/typescript/module/src/utilities/index.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/specificity.d.ts +2 -2
- package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -1
- package/dist/typescript/module/src/utilities/style-descriptor.d.ts +1 -1
- package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -1
- package/dist/typescript/module/src/web/api.d.ts +5 -5
- package/dist/typescript/module/src/web/api.d.ts.map +1 -1
- package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -1
- package/dist/typescript/module/src/web/index.d.ts +3 -3
- package/dist/typescript/module/src/web/index.d.ts.map +1 -1
- package/node/babel.mjs +4 -0
- package/node/compiler.mjs +2 -0
- package/node/metro.mjs +2 -0
- package/package.json +63 -28
- package/src/babel/helpers.ts +8 -1
- package/src/babel/import-plugin.ts +31 -16
- package/src/babel/react-native-web.ts +32 -4
- package/src/babel/react-native.ts +9 -4
- package/src/compiler/atRules.ts +44 -0
- package/src/compiler/compiler.ts +78 -47
- package/src/compiler/compiler.types.ts +9 -0
- package/src/compiler/container-query.ts +8 -3
- package/src/compiler/declarations.ts +190 -101
- package/src/compiler/lightningcss-loader.ts +16 -15
- package/src/compiler/media-query.ts +20 -9
- package/src/compiler/selector-builder.ts +31 -4
- package/src/compiler/stylesheet.ts +17 -10
- package/src/components/ImageBackground.tsx +2 -6
- package/src/components/KeyboardAvoidingView.tsx +2 -3
- package/src/components/index.cts +46 -1
- package/src/jest/index.ts +1 -1
- package/src/metro/cache-version.ts +48 -0
- package/src/metro/index.ts +7 -0
- package/src/metro/metro-transformer.ts +26 -8
- package/src/metro/typescript.ts +53 -6
- package/src/metro/warnings.ts +187 -0
- package/src/native/api.tsx +22 -17
- package/src/native/conditions/attributes.ts +26 -9
- package/src/native/conditions/container-query.ts +11 -9
- package/src/native/conditions/media-query.ts +1 -1
- package/src/native/react/interaction.ts +11 -6
- package/src/native/react/rules.ts +13 -5
- package/src/native/react/useNativeCss.ts +69 -14
- package/src/native/react/usePassthrough.ts +3 -2
- package/src/native/reactivity.ts +76 -24
- package/src/native/reanimated.ts +24 -5
- package/src/native/styles/functions/color-mix.ts +45 -39
- package/src/native/styles/functions/filters.ts +14 -0
- package/src/native/styles/functions/numeric-functions.ts +7 -6
- package/src/native/styles/functions/string-functions.ts +18 -0
- package/src/native/styles/functions/transform-functions.ts +5 -4
- package/src/native/styles/index.ts +100 -13
- package/src/native/styles/resolve.ts +15 -11
- package/src/native/styles/scale-factor.ts +6 -0
- package/src/native/styles/shorthands/animation.ts +8 -2
- package/src/native/styles/shorthands/index.ts +1 -0
- package/src/native/styles/shorthands/logical-border-width.ts +32 -0
- package/src/native/styles/variables.ts +48 -38
- package/src/native-internal/root.ts +40 -13
- package/src/native-internal/style-collection.ts +1 -1
- package/src/native-internal/variables.tsx +6 -4
- package/src/runtime.types.ts +17 -15
- package/src/utilities/dot-notation.types.ts +4 -3
- package/src/utilities/style-descriptor.ts +11 -16
- package/src/web/api.tsx +6 -11
- package/src/web/assign-style.ts +2 -1
- package/types.d.ts +0 -20
- package/dist/commonjs/compiler/inheritance.test.js +0 -78
- package/dist/commonjs/compiler/inheritance.test.js.map +0 -1
- package/dist/module/compiler/inheritance.test.js +0 -78
- package/dist/module/compiler/inheritance.test.js.map +0 -1
- package/dist/typescript/commonjs/.config/eslint.config.d.mts +0 -3
- package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +0 -1
- package/dist/typescript/commonjs/eslint.config.d.mts +0 -2
- package/dist/typescript/commonjs/eslint.config.d.mts.map +0 -1
- package/dist/typescript/commonjs/example/app.config.d.ts +0 -4
- package/dist/typescript/commonjs/example/app.config.d.ts.map +0 -1
- package/dist/typescript/commonjs/example/index.d.ts +0 -2
- package/dist/typescript/commonjs/example/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/example/metro.config.d.ts +0 -3
- package/dist/typescript/commonjs/example/metro.config.d.ts.map +0 -1
- package/dist/typescript/commonjs/example/postcss.config.d.mts +0 -7
- package/dist/typescript/commonjs/example/postcss.config.d.mts.map +0 -1
- package/dist/typescript/commonjs/example/src/App.d.ts +0 -3
- package/dist/typescript/commonjs/example/src/App.d.ts.map +0 -1
- package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +0 -2
- package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +0 -1
- package/dist/typescript/module/.config/eslint.config.d.mts +0 -3
- package/dist/typescript/module/.config/eslint.config.d.mts.map +0 -1
- package/dist/typescript/module/eslint.config.d.mts +0 -2
- package/dist/typescript/module/eslint.config.d.mts.map +0 -1
- package/dist/typescript/module/example/app.config.d.ts +0 -4
- package/dist/typescript/module/example/app.config.d.ts.map +0 -1
- package/dist/typescript/module/example/index.d.ts +0 -2
- package/dist/typescript/module/example/index.d.ts.map +0 -1
- package/dist/typescript/module/example/metro.config.d.ts +0 -3
- package/dist/typescript/module/example/metro.config.d.ts.map +0 -1
- package/dist/typescript/module/example/postcss.config.d.mts +0 -7
- package/dist/typescript/module/example/postcss.config.d.mts.map +0 -1
- package/dist/typescript/module/example/src/App.d.ts +0 -3
- package/dist/typescript/module/example/src/App.d.ts.map +0 -1
- package/dist/typescript/module/src/compiler/inheritance.test.d.ts +0 -2
- package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +0 -1
- package/src/compiler/inheritance.test.ts +0 -121
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metro-transformer.d.ts","sourceRoot":"","sources":["../../../../../src/metro/metro-transformer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"metro-transformer.d.ts","sourceRoot":"","sources":["../../../../../src/metro/metro-transformer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAEvE,KAAK,iBAAiB,GAAG,OAAO,CAC9B,UAAU,CAAC,cAAc,wBAAwB,EAAE,SAAS,CAAC,CAC9D,CAAC;AAMF,wBAAsB,SAAS,CAC7B,MAAM,EAAE,mBAAmB,GAAG;IAC5B,cAAc,CAAC,EACX,CAAC,eAAe,GAAG;QAAE,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;KAAE,CAAC,GAC3D,SAAS,CAAC;CACf,EACD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAmD5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../src/metro/typescript.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../src/metro/typescript.ts"],"names":[],"mappings":"AAQA,wBAAgB,eAAe,CAC7B,OAAO,SAA8B,EACrC,IAAI,SAAqB,QA6G1B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CompilerWarnings } from "../compiler/compiler.types";
|
|
2
|
+
/** "summary" prints one capped block per CSS file, "verbose" lists every entry, "none" prints nothing */
|
|
3
|
+
export type WarningLevel = "none" | "summary" | "verbose";
|
|
4
|
+
export declare function reportCompilerWarnings(warnings: CompilerWarnings, options: {
|
|
5
|
+
filename: string;
|
|
6
|
+
projectRoot: string;
|
|
7
|
+
level?: WarningLevel | undefined;
|
|
8
|
+
}): void;
|
|
9
|
+
export declare function formatCompilerWarnings(warnings: CompilerWarnings, options: {
|
|
10
|
+
displayPath: string;
|
|
11
|
+
verbose?: boolean | undefined;
|
|
12
|
+
}): string | undefined;
|
|
13
|
+
//# sourceMappingURL=warnings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"warnings.d.ts","sourceRoot":"","sources":["../../../../../src/metro/warnings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,yGAAyG;AACzG,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAY1D,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE;IACP,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CAClC,GACA,IAAI,CAwBN;AAGD,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,GAC9D,MAAM,GAAG,SAAS,CAsEpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { type ViewStyle } from "react-native";
|
|
1
2
|
import type { StyleDescriptor } from "react-native-css/compiler";
|
|
2
|
-
import type { ColorScheme, Props, ReactComponent,
|
|
3
|
+
import type { ColorScheme, Props, ReactComponent, Styled, StyledConfiguration } from "../runtime.types";
|
|
3
4
|
import { useNativeCss } from "./react/useNativeCss";
|
|
4
|
-
import { VAR_SYMBOL } from "./reactivity";
|
|
5
5
|
export { StyleCollection, VariableContext, VariableContextProvider, } from "react-native-css/native-internal";
|
|
6
6
|
export { useNativeCss };
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ export { useNativeCss };
|
|
|
10
10
|
* @param baseComponent
|
|
11
11
|
* @param mapping
|
|
12
12
|
*/
|
|
13
|
-
export declare const styled:
|
|
13
|
+
export declare const styled: Styled;
|
|
14
14
|
export declare const colorScheme: ColorScheme;
|
|
15
15
|
export declare const useUnstableNativeVariable: typeof useNativeVariable;
|
|
16
16
|
export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
@@ -18,9 +18,5 @@ export declare function useNativeVariable(name: string): any;
|
|
|
18
18
|
/**
|
|
19
19
|
* @deprecated Use `<VariableContextProvider />` instead.
|
|
20
20
|
*/
|
|
21
|
-
export declare function vars(variables: Record<string, StyleDescriptor>):
|
|
22
|
-
[VAR_SYMBOL]: string;
|
|
23
|
-
} & {
|
|
24
|
-
[k: string]: StyleDescriptor;
|
|
25
|
-
};
|
|
21
|
+
export declare function vars(variables: Record<string, StyleDescriptor>): ViewStyle;
|
|
26
22
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/native/api.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/native/api.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACL,cAAc,EACd,MAAM,EACN,mBAAmB,EAEpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAmB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAYrE,OAAO,EACL,eAAe,EACf,eAAe,EACf,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,CAAC;AAMxB;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,MAuBpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BAAoB,CAAC;AAE3D,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAAS,CAAC,qKAIX,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,OAyB7C;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,SAAS,CAK1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/container-query.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAML,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,cAAc,EAAE,EACzB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,WAKZ;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,EACrB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,GACV,OAAO,
|
|
1
|
+
{"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/container-query.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAML,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,cAAc,EAAE,EACzB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,WAKZ;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,EACrB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,GACV,OAAO,CAyBT"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Getter as WeakKey } from "../reactivity";
|
|
2
2
|
type Handler = (event: unknown) => void;
|
|
3
3
|
export type InteractionType = "onLayout" | "onHoverIn" | "onHoverOut" | "onPress" | "onPressIn" | "onPressOut" | "onFocus" | "onBlur";
|
|
4
|
-
export declare function getInteractionHandler(weakKey: WeakKey, type: InteractionType, handler?: Handler): (event: any) => void;
|
|
4
|
+
export declare function getInteractionHandler(weakKey: WeakKey, type: InteractionType, handler?: Handler | null): (event: any) => void;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=interaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/interaction.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,eAAe,CAAC;AAOvB,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAExC,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,YAAY,GACZ,SAAS,GACT,QAAQ,CAAC;AAab,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,OAAO,
|
|
1
|
+
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/interaction.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,eAAe,CAAC;AAOvB,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAExC,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,YAAY,GACZ,SAAS,GACT,QAAQ,CAAC;AAab,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,WA7BuB,GAAG,KAAK,IAAI,CAiF5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/rules.ts"],"names":[],"mappings":"AAQA,OAAO,
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/rules.ts"],"names":[],"mappings":"AAQA,OAAO,EAQL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,gBAAgB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,eAAwC,CAAC;AAExE,wBAAgB,WAAW,CACzB,KAAK,EAAE,cAAc,EAErB,YAAY,yCAAqB,EACjC,kBAAkB,uBAA2B,EAC7C,mBAAmB,wBAA4B,EAC/C,WAAW,UAAQ,EACnB,UAAU,UAAO,GAChB,cAAc,CAyOhB;AAgCD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,YAAY,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAChC,SAAS,CAAC,EAAE,OAAO,EACnB,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GACxB,MAAM,CAgBR;AAQD,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAiBpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNativeCss.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/useNativeCss.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"useNativeCss.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/useNativeCss.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAkB,YAAY,EAAE,MAAM,WAAW,CAAC;AAGzD,MAAM,MAAM,MAAM,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,KAAK,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,uCAAuC;IACvC,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IAEpB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IAEtD,kDAAkD;IAClD,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IAEvB,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IAEnC,kBAAkB,EAAE,oBAAoB,CAAC;IACzC,mBAAmB,EAAE,qBAAqB,CAAC;IAE3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,EACrD,OAAO,GAAE,MAAM,EAA+C,oKA0I/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,CAAC,GAAG,CAAC,YA4ChE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePassthrough.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/usePassthrough.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAI7C,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjC,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"usePassthrough.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/usePassthrough.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAI7C,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjC,OAAO,EAAE,MAAM,EAAE,0FAwClB"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { type ColorSchemeName, type LayoutRectangle } from "react-native";
|
|
2
2
|
import type { StyleDescriptor } from "react-native-css/compiler";
|
|
3
3
|
export type Effect = {
|
|
4
|
-
observers: Set<
|
|
4
|
+
observers: Set<Observable<any, any>>;
|
|
5
5
|
run(): void;
|
|
6
|
+
/** Dependencies recorded by the last cleanupEffect() */
|
|
7
|
+
dependencies?: Observable<any, any>[];
|
|
8
|
+
/** Dependency values recorded by the last cleanupEffect() */
|
|
9
|
+
snapshots?: [Observable<any, any>, unknown][];
|
|
6
10
|
};
|
|
7
11
|
export type Observable<Value, Arg = Value> = {
|
|
8
12
|
observers: Set<Effect>;
|
|
9
13
|
get: (effect?: Effect) => Value;
|
|
10
14
|
set: (arg: Arg) => void;
|
|
11
15
|
run: () => void;
|
|
16
|
+
unsubscribe: (effect: Effect) => void;
|
|
12
17
|
};
|
|
13
18
|
type Read<Value, Arg> = (get: Getter, arg?: Arg) => Value;
|
|
14
19
|
export type Getter = <Value>(observable: Observable<Value, any>) => Value;
|
|
@@ -17,6 +22,8 @@ export declare const observableBatch: {
|
|
|
17
22
|
};
|
|
18
23
|
export declare function observable<Value, Arg = Value>(init: Value | Read<Value, Arg>, equality?: (value1: Value, value2: Value) => boolean): Observable<Value, Arg>;
|
|
19
24
|
export declare function cleanupEffect(effect: Effect): void;
|
|
25
|
+
/** Whether any of the effect's dependencies changed since cleanupEffect() */
|
|
26
|
+
export declare function hasChangedDependencies(effect: Effect): boolean;
|
|
20
27
|
/** Family Helpers ************************************************************/
|
|
21
28
|
export declare function family<Key, Result = Key, Args extends any = void>(fn: (key: Key, args: Args) => Result): ((key: Key, args: Args) => Result) & {
|
|
22
29
|
delete(key: Key): boolean;
|
|
@@ -32,6 +39,7 @@ export declare const VAR_SYMBOL: unique symbol;
|
|
|
32
39
|
export type VariableContextValue = Record<string, StyleDescriptor> & {
|
|
33
40
|
[VAR_SYMBOL]: true;
|
|
34
41
|
};
|
|
42
|
+
export declare function toVariableRecord(variables: Record<string, StyleDescriptor>): Record<string, StyleDescriptor>;
|
|
35
43
|
/** Pseudo Classes ************************************************************/
|
|
36
44
|
export declare const hoverFamily: WeakFamilyFn<WeakKey, void, Observable<boolean, boolean>>;
|
|
37
45
|
export declare const activeFamily: WeakFamilyFn<WeakKey, void, Observable<boolean, boolean>>;
|
|
@@ -41,9 +49,12 @@ export declare const dimensions: Observable<import("react-native").ScaledSize, i
|
|
|
41
49
|
export declare const vw: Observable<number, number>;
|
|
42
50
|
export declare const vh: Observable<number, number>;
|
|
43
51
|
/** Color Scheme **************************************************************/
|
|
44
|
-
export declare const colorScheme: Observable<ColorSchemeName, ColorSchemeName>;
|
|
52
|
+
export declare const colorScheme: Observable<ColorSchemeName | null | undefined, ColorSchemeName | null | undefined>;
|
|
45
53
|
/** Containers ****************************************************************/
|
|
46
|
-
export type ContainerContextValue = Record<string,
|
|
54
|
+
export type ContainerContextValue = Record<string, {
|
|
55
|
+
key: WeakKey;
|
|
56
|
+
props: Record<string, unknown> | null | undefined;
|
|
57
|
+
}>;
|
|
47
58
|
export declare const ContainerContext: import("react").Context<ContainerContextValue>;
|
|
48
59
|
export declare const containerLayoutFamily: WeakFamilyFn<WeakKey, void, Observable<LayoutRectangle, LayoutRectangle>>;
|
|
49
60
|
export declare const containerWidthFamily: WeakFamilyFn<WeakKey, void, Observable<number, number>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivity.d.ts","sourceRoot":"","sources":["../../../../../src/native/reactivity.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,eAAe,EACrB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,MAAM,GAAG;IACnB,SAAS,EAAE,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"reactivity.d.ts","sourceRoot":"","sources":["../../../../../src/native/reactivity.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,e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AM,EAAE,eAAe,CAAC,GAAG;IACnE,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC;CACpB,CAAC;AAGF,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GACzC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAUjC;AAED,gFAAgF;AAEhF,eAAO,MAAM,WAAW,2DAAsC,CAAC;AAC/D,eAAO,MAAM,YAAY,2DAA+C,CAAC;AACzE,eAAO,MAAM,WAAW,2DAA+C,CAAC;AAExE,gFAAgF;AAEhF,eAAO,MAAM,UAAU,kFAAuC,CAAC;AAC/D,eAAO,MAAM,EAAE,4BAEd,CAAC;AACF,eAAO,MAAM,EAAE,4BAEd,CAAC;AAcF,gFAAgF;AAEhF,eAAO,MAAM,WAAW,oFAEvB,CAAC;AAGF,gFAAgF;AAEhF,MAAM,MAAM,qBAAqB,GAAG,MAAM,CACxC,MAAM,EACN;IACE,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CACF,CAAC;AACF,eAAO,MAAM,gBAAgB,gDAA2C,CAAC;AAEzE,eAAO,MAAM,qBAAqB,2EAOhC,CAAC;AAEH,eAAO,MAAM,oBAAoB,yDAI/B,CAAC;AAEH,eAAO,MAAM,qBAAqB,yDAIhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reanimated.d.ts","sourceRoot":"","sources":["../../../../../src/native/reanimated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,eAAO,MAAM,uBAAuB;;
|
|
1
|
+
{"version":3,"file":"reanimated.d.ts","sourceRoot":"","sources":["../../../../../src/native/reanimated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,eAAO,MAAM,uBAAuB;;CAoCnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-mix.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/color-mix.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"color-mix.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/color-mix.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAMxD,eAAO,MAAM,QAAQ,EAAE,qBAyDtB,CAAC"}
|
|
@@ -9,4 +9,6 @@ export declare const sepia: StyleFunctionResolver;
|
|
|
9
9
|
export declare const saturate: StyleFunctionResolver;
|
|
10
10
|
export declare const opacity: StyleFunctionResolver;
|
|
11
11
|
export declare const dropShadow: StyleFunctionResolver;
|
|
12
|
+
/** CSS variables may expand to multiple filters; native filter arrays must be flat. */
|
|
13
|
+
export declare const filter: StyleFunctionResolver;
|
|
12
14
|
//# sourceMappingURL=filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGxD,eAAO,MAAM,IAAI,EAAE,qBAKlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAKpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,qBAKrB,CAAC;AAmBF,eAAO,MAAM,UAAU,EAAE,qBAaxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGxD,eAAO,MAAM,IAAI,EAAE,qBAKlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAKpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,qBAKrB,CAAC;AAmBF,eAAO,MAAM,UAAU,EAAE,qBAaxB,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,MAAM,EAAE,qBAWpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numeric-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/numeric-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"numeric-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/numeric-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAgBnB,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import type { StyleFunctionResolver } from "../resolve";
|
|
2
|
+
export declare const gradientPosition: StyleFunctionResolver;
|
|
3
|
+
export declare const colorStop: StyleFunctionResolver;
|
|
2
4
|
export declare const join: StyleFunctionResolver;
|
|
3
5
|
//# sourceMappingURL=string-functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/string-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,IAAI,EAAE,qBAmBlB,CAAC"}
|
|
1
|
+
{"version":3,"file":"string-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/string-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,gBAAgB,EAAE,qBAM9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAQvB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,qBAmBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/transform-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"transform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/transform-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGxD,eAAO,MAAM,KAAK,EAAE,qBAsBnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAgCpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAsBvB,CAAC"}
|
|
@@ -10,10 +10,10 @@ export declare const stylesFamily: ((key: string, args: Set<VariableContextValue
|
|
|
10
10
|
guards: import("../conditions/guards").RenderGuard[];
|
|
11
11
|
important: Record<string, any> | undefined;
|
|
12
12
|
}> & {
|
|
13
|
-
|
|
13
|
+
unsubscribe: (effect: Effect) => void;
|
|
14
14
|
}) & {
|
|
15
15
|
delete(key: string): boolean;
|
|
16
16
|
clear(): void;
|
|
17
17
|
};
|
|
18
|
-
export declare function getStyledProps(state: ComponentState, inline: Record<string, any> | undefined | null): Record<string, any> | undefined;
|
|
18
|
+
export declare function getStyledProps(state: ComponentState, inline: Record<string, any> | undefined | null, adaptProps?: (props: Record<string, any> | undefined) => Record<string, any> | undefined): Record<string, any> | undefined;
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAQL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAkJvB,eAAO,MAAM,YAAY;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAQL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAkJvB,eAAO,MAAM,YAAY;;;;;;;;;0BAcG,MAAM;;;;CAQjC,CAAC;AAEF,wBAAgB,cAAc,CAC5B,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,EAC9C,UAAU,GAAE,CACV,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,KACnC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAA4B,mCAyHxD"}
|
|
@@ -11,6 +11,7 @@ export type ResolveValueOptions = {
|
|
|
11
11
|
inlineVariables?: InlineVariable | undefined;
|
|
12
12
|
renderGuards?: RenderGuard[];
|
|
13
13
|
variableHistory?: Set<string>;
|
|
14
|
+
variableCycles?: Set<string>;
|
|
14
15
|
/** Pass down to perform recursive calculations and avoid circular dependencies */
|
|
15
16
|
calculateProps?: typeof calculateProps;
|
|
16
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/resolve.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,aAAa,EACd,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/resolve.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,aAAa,EACd,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AASxD,MAAM,MAAM,kBAAkB,GAAG,CAC/B,KAAK,EAAE,eAAe,EACtB,WAAW,CAAC,EAAE,OAAO,KAClB,OAAO,CAAC;AAEb,MAAM,MAAM,qBAAqB,GAAG,CAClC,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,aAAa,EACpB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,KACzB,OAAO,CAAC;AAEb,MAAM,MAAM,aAAa,GAAG,CAC1B,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,KACzB,OAAO,CAAC;AAYb,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,eAAe,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC7C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,kFAAkF;IAClF,cAAc,CAAC,EAAE,OAAO,cAAc,CAAC;CACxC,CAAC;AAEF,wBAAgB,YAAY,CAC1B,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,GAC3B,GAAG,CAuGL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale-factor.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/scale-factor.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,WAKzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/animation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAgCxD,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/animation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAgCxD,eAAO,MAAM,kBAAkB,oCAyB9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBA+DvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAQ3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logical-border-width.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/logical-border-width.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAuBxD,eAAO,MAAM,gBAAgB,uBAG5B,CAAC;AACF,eAAO,MAAM,iBAAiB,uBAG7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAOhF,OAAO,EAAc,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,wBAAgB,WAAW,CACzB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,aAAa,EACjB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAOhF,OAAO,EAAc,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,wBAAgB,WAAW,CACzB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,aAAa,EACjB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,WAmF7B"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type { StyleDescriptor, VariableValue } from "react-native-css/compiler";
|
|
2
2
|
import { type Observable } from "../native/reactivity";
|
|
3
|
+
declare const rootVariableFamily: () => ((key: string, args: void) => Observable<StyleDescriptor, VariableValue[]>) & {
|
|
4
|
+
delete(key: string): boolean;
|
|
5
|
+
clear(): void;
|
|
6
|
+
};
|
|
7
|
+
interface RootVariableRegistries {
|
|
8
|
+
root: ReturnType<typeof rootVariableFamily>;
|
|
9
|
+
universal: ReturnType<typeof rootVariableFamily>;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
var __react_native_css_root_variable_registries: RootVariableRegistries | undefined;
|
|
13
|
+
}
|
|
3
14
|
export declare const rootVariables: ((key: string, args: void) => Observable<StyleDescriptor, VariableValue[]>) & {
|
|
4
15
|
delete(key: string): boolean;
|
|
5
16
|
clear(): void;
|
|
@@ -8,4 +19,5 @@ export declare const universalVariables: ((key: string, args: void) => Observabl
|
|
|
8
19
|
delete(key: string): boolean;
|
|
9
20
|
clear(): void;
|
|
10
21
|
};
|
|
22
|
+
export {};
|
|
11
23
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/root.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAGhF,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/root.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAGhF,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAE3E,QAAA,MAAM,kBAAkB;;;CAsBvB,CAAC;AAEF,UAAU,sBAAsB;IAC9B,IAAI,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC5C,SAAS,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,2CAA2C,EAC3C,sBAAsB,GACtB,SAAS,CAAC;CACf;AA2BD,eAAO,MAAM,aAAa;;;CACmC,CAAC;AAC9D,eAAO,MAAM,kBAAkB;;;CACmC,CAAC"}
|
|
@@ -4,5 +4,5 @@ import { type VariableContextValue } from "../native/reactivity";
|
|
|
4
4
|
export declare const VariableContext: import("react").Context<VariableContextValue>;
|
|
5
5
|
export declare function VariableContextProvider(props: PropsWithChildren<{
|
|
6
6
|
value: Record<`--${string}`, StyleDescriptor>;
|
|
7
|
-
}>): import("react
|
|
7
|
+
}>): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=variables.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/variables.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/variables.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAC;AAO9B,eAAO,MAAM,eAAe,+CAAiD,CAAC;AAE9E,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,iBAAiB,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,eAAe,CAAC,CAAA;CAAE,CAAC,+BAc5E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ClassicComponentClass, ComponentClass, ComponentProps, ComponentType, ForwardRefExoticComponent, FunctionComponent, ReactElement } from "react";
|
|
1
|
+
import type { ClassicComponentClass, ComponentClass, ComponentProps, ComponentPropsWithRef, ComponentType, ForwardRefExoticComponent, FunctionComponent, ReactElement } from "react";
|
|
2
2
|
import type { ColorSchemeName, ImageStyle, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import type { DotNotation, ResolveDotPath } from "react-native-css/utilities";
|
|
4
4
|
/******************************** API ********************************/
|
|
@@ -8,8 +8,13 @@ export type StyledReactElement<C extends ReactComponent, M extends StyledConfigu
|
|
|
8
8
|
export type StyledProps<P, M extends StyledConfiguration<any>> = P & {
|
|
9
9
|
[K in keyof M as K extends string ? M[K] extends undefined | false ? never : M[K] extends true | string | object ? K : never : never]?: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
|
|
11
|
+
export interface Styled {
|
|
12
|
+
<const C extends ReactComponent>(component: C, mapping?: undefined, options?: StyledOptions): ComponentType<ComponentPropsWithRef<C> & {
|
|
13
|
+
className?: string;
|
|
14
|
+
}>;
|
|
15
|
+
<const C extends ReactComponent, const M extends StyledConfiguration<C>>(component: C, mapping: M & StyledConfiguration<C>, options?: StyledOptions): StyledComponent<C, M>;
|
|
16
|
+
}
|
|
17
|
+
type StyledComponent<C extends ReactComponent, M extends StyledConfiguration<C>> = ComponentType<ComponentPropsWithRef<C> & {
|
|
13
18
|
[K in keyof M as K extends string ? M[K] extends undefined | false ? never : M[K] extends true | string | object ? K : never : never]?: string;
|
|
14
19
|
}>;
|
|
15
20
|
export type StyledConfiguration<C extends ReactComponent, K extends string = string> = Record<K, boolean | ComponentPropsDotNotation<C> | StyledConfigurationObject<C, ComponentPropsDotNotation<C> | false>>;
|
|
@@ -17,7 +22,7 @@ interface StyledConfigurationObject<C extends ReactComponent, T extends Componen
|
|
|
17
22
|
target: T;
|
|
18
23
|
nativeStyleMapping?: T extends false ? NativeStyleMapping<string, ComponentProps<C>> : NativeStyleMapping<ResolveDotPath<T, ComponentProps<C>>, ComponentProps<C>>;
|
|
19
24
|
/** @deprecated Please use nativeStyleMapping */
|
|
20
|
-
nativeStyleToProp?:
|
|
25
|
+
nativeStyleToProp?: StyledConfigurationObject<C, T>["nativeStyleMapping"];
|
|
21
26
|
}
|
|
22
27
|
type NativeStyleMapping<T, S> = T extends object ? {
|
|
23
28
|
[K in keyof T as K extends string ? K : never]: true | DotNotation<S>;
|
|
@@ -42,8 +47,8 @@ export type Callback = () => void;
|
|
|
42
47
|
export type RNStyle = ViewStyle & TextStyle & ImageStyle;
|
|
43
48
|
/******************************** Globals ********************************/
|
|
44
49
|
export interface ColorScheme {
|
|
45
|
-
get: () => ColorSchemeName;
|
|
46
|
-
set: (value: ColorSchemeName) => void;
|
|
50
|
+
get: () => ColorSchemeName | null | undefined;
|
|
51
|
+
set: (value: ColorSchemeName | null | undefined) => void;
|
|
47
52
|
}
|
|
48
53
|
export {};
|
|
49
54
|
//# sourceMappingURL=runtime.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.types.d.ts","sourceRoot":"","sources":["../../../../src/runtime.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,aAAa,EACb,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACb,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE9E,gFAAgF;AAEhF,MAAM,MAAM,kBAAkB,CAC5B,CAAC,SAAS,cAAc,EACxB,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,IAC9B,YAAY,CACd,cAAc,CAAC,CAAC,CAAC,GAAG;KACjB,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAC7B,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,GAAG,KAAK,GAC5B,KAAK,GACL,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GACjC,CAAC,GACD,KAAK,GACT,KAAK,CAAC,CAAC,EAAE,MAAM;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG;KAClE,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAC7B,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,GAAG,KAAK,GAC5B,KAAK,GACL,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GACjC,CAAC,GACD,KAAK,GACT,KAAK,CAAC,CAAC,EAAE,MAAM;CACpB,CAAC;AAEF,MAAM,
|
|
1
|
+
{"version":3,"file":"runtime.types.d.ts","sourceRoot":"","sources":["../../../../src/runtime.types.ts"],"names":[],"mappings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I,GACJ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,EAAE,GAC9C,CAAC,MAAM,OAAO,CAAC,CAAC;AAEpB,gFAAgF;AAEhF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC;AAClC,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEzD,iFAAiF;AAEjF,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,eAAe,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,GAAG,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;CAC1D"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Component, ReactElement } from "react";
|
|
1
2
|
type Falsy = undefined | null | false | "";
|
|
2
3
|
type RegisteredStyle<T> = number & {
|
|
3
4
|
__registeredStyleBrand: T;
|
|
@@ -10,7 +11,7 @@ type UnwrapRecursiveArray<T, Depth extends unknown[] = [], MaxDepth extends numb
|
|
|
10
11
|
type RemoveFalsy<T> = Exclude<T, Falsy>;
|
|
11
12
|
type RemoveRegisteredStyle<T> = T extends RegisteredStyle<any> ? never : T;
|
|
12
13
|
type ExtractStyleObject<T> = RemoveRegisteredStyle<RemoveFalsy<UnwrapRecursiveArray<T extends StyleProp<infer U> ? U : T>>>;
|
|
13
|
-
type IsPlainObject<T> = T extends object ? T extends Function ? false : T extends readonly any[] ? false : true : false;
|
|
14
|
+
type IsPlainObject<T> = T extends object ? T extends Function | Component | ReactElement ? false : T extends readonly any[] ? false : true : false;
|
|
14
15
|
type Split<T extends string, Delimiter extends string> = T extends `${infer Head}${Delimiter}${infer Tail}` ? [Head, ...Split<Tail, Delimiter>] : [T];
|
|
15
16
|
type ParsePath<T extends string> = T extends `${infer Head}[${number}]${infer Rest}` ? [Head, number, ...ParsePath<Rest extends `.${infer R}` ? R : Rest>] : Split<T, ".">;
|
|
16
17
|
type ResolvePath<T, Parts extends readonly any[]> = Parts extends [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dot-notation.types.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/dot-notation.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dot-notation.types.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/dot-notation.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIrD,KAAK,KAAK,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,GAAG,EAAE,CAAC;AAC3C,KAAK,eAAe,CAAC,CAAC,IAAI,MAAM,GAAG;IAAE,sBAAsB,EAAE,CAAC,CAAA;CAAE,CAAC;AAEjE,KAAK,SAAS,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,GACT,IAAI,GACJ,MAAM,GACN,KAAK,GACL,IAAI,CAAC;AAET,UAAU,cAAc,CAAC,CAAC,CACxB,SAAQ,KAAK,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;CAAG;AAE5D,MAAM,MAAM,SAAS,CAAC,CAAC,IACnB,CAAC,GACD,eAAe,CAAC,CAAC,CAAC,GAClB,cAAc,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAC9C,KAAK,CAAC;AAKV,KAAK,oBAAoB,CACvB,CAAC,EACD,KAAK,SAAS,OAAO,EAAE,GAAG,EAAE,EAC5B,QAAQ,SAAS,MAAM,GAAG,EAAE,IAC1B,KAAK,CAAC,QAAQ,CAAC,SAAS,QAAQ,GAChC,CAAC,GACD,CAAC,SAAS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EAAE,GAC/D,GAAG,GACT,KAAK,GACT,KAAK,CAAC;AAIZ,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,IAAI,WAAW,CAC9D,CAAC,EACD,SAAS,CAAC,IAAI,CAAC,CAChB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { StyleDescriptor, StyleFunction } from "react-native-css/compiler";
|
|
2
2
|
export declare function isStyleDescriptorArray(value: unknown): value is StyleDescriptor[];
|
|
3
|
-
export declare function isStyleFunction(value:
|
|
3
|
+
export declare function isStyleFunction(value: unknown): value is StyleFunction;
|
|
4
4
|
//# sourceMappingURL=style-descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style-descriptor.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/style-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAEhF,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"style-descriptor.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/style-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAEhF,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,eAAe,EAAE,CAE5B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAUtE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { ColorScheme, Props, StyledConfiguration
|
|
3
|
-
import type { ReactComponent } from "../runtime.types";
|
|
4
|
-
export declare const styled:
|
|
1
|
+
import { type PropsWithChildren } from "react";
|
|
2
|
+
import type { ColorScheme, Props, StyledConfiguration } from "react-native-css";
|
|
3
|
+
import type { ReactComponent, Styled } from "../runtime.types";
|
|
4
|
+
export declare const styled: Styled;
|
|
5
5
|
export declare const useCssElement: <C extends ReactComponent>(component: C, incomingProps: Props, mapping: StyledConfiguration<C>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
6
6
|
export declare const colorScheme: ColorScheme;
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ export declare const colorScheme: ColorScheme;
|
|
|
10
10
|
export declare function vars(variables: Record<string, string | number>): Record<string, string>;
|
|
11
11
|
export declare function VariableContextProvider(props: PropsWithChildren<{
|
|
12
12
|
value: Record<`--${string}`, string | number>;
|
|
13
|
-
}>): import("react
|
|
13
|
+
}>): import("react").JSX.Element;
|
|
14
14
|
export declare const useNativeVariable: () => never;
|
|
15
15
|
export declare const useUnstableNativeVariable: () => never;
|
|
16
16
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/web/api.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/web/api.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACL,mBAAmB,EAEpB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAO/D,eAAO,MAAM,MAAM,EAAE,MAQpB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,cAAc,EACpD,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAAS,mBAAmB,CAAC,CAAC,CAAC,2FA4BhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAOzB,CAAC;AAEF;;GAEG;AACH,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,0BAW9D;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,iBAAiB,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;CAAE,CAAC,+BAe5E;AAED,eAAO,MAAM,iBAAiB,aAE7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAErC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-style.d.ts","sourceRoot":"","sources":["../../../../../src/web/assign-style.ts"],"names":[],"mappings":"AACA,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,EAAE,MAAM,EAAE,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"assign-style.d.ts","sourceRoot":"","sources":["../../../../../src/web/assign-style.ts"],"names":[],"mappings":"AACA,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,EAAE,MAAM,EAAE,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,uBAsB3B"}
|
|
@@ -7,7 +7,8 @@ export interface PluginOpts {
|
|
|
7
7
|
}
|
|
8
8
|
export interface PluginState {
|
|
9
9
|
opts?: PluginOpts;
|
|
10
|
-
filename: string;
|
|
10
|
+
filename: string | undefined;
|
|
11
11
|
}
|
|
12
12
|
export declare function getInteropRequireDefaultSource(init: CallExpression, t: BabelTypes): string | undefined;
|
|
13
|
+
export declare function resolveImportSource(filename: string, source: string): string;
|
|
13
14
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/babel/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/babel/helpers.ts"],"names":[],"mappings":"AAEA,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,GAAG,SAAS,CAAC;CAC9B;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,cAAc,EACpB,CAAC,EAAE,UAAU,sBAsBd;AAGD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE5E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PluginObj } from "@babel/core";
|
|
2
|
-
import { type BabelTypes, type PluginState } from "./helpers";
|
|
2
|
+
import { type BabelTypes, type PluginState } from "./helpers.js";
|
|
3
3
|
export default function ({ types: t, }: {
|
|
4
4
|
types: BabelTypes;
|
|
5
5
|
}): PluginObj<PluginState>;
|
|
@@ -1 +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,
|
|
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,cAAW,CAAC;AAanB,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,EAAE,CAAC,GACT,EAAE;IACD,KAAK,EAAE,UAAU,CAAC;CACnB,GAAG,SAAS,CAAC,WAAW,CAAC,CAoKzB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type NodePath } from "@babel/traverse";
|
|
2
|
-
import tBabelTypes, { type ImportDeclaration, type ObjectPattern, type Statement, type VariableDeclaration } from "@babel/types";
|
|
2
|
+
import tBabelTypes, { type CallExpression, type ImportDeclaration, type ObjectPattern, type Statement, type VariableDeclaration } from "@babel/types";
|
|
3
3
|
type BabelTypes = typeof tBabelTypes;
|
|
4
4
|
export declare function handleReactNativeWebImport(declaration: ImportDeclaration, t: BabelTypes, filename: string): Statement[] | undefined;
|
|
5
5
|
export declare function handleReactNativeWebIdentifierRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: string, source: string, filename: string): tBabelTypes.VariableDeclaration[] | undefined;
|
|
6
|
+
export declare function handleReactNativeWebInteropRequireDefault(path: NodePath<VariableDeclaration>, t: BabelTypes, id: string, init: CallExpression, source: string, filename: string): tBabelTypes.VariableDeclaration[] | undefined;
|
|
6
7
|
export declare function handleReactNativeWebObjectPatternRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: ObjectPattern, source: string, filename: string): tBabelTypes.Statement[] | undefined;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=react-native-web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-native-web.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native-web.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-native-web.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native-web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,WAAW,EAAE,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AAKtB,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,CAkEzB;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,yCAAyC,CACvD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,iDAcjB;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,uCA6DjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-native.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-native.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native.ts"],"names":[],"mappings":"AAAA,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;AAKtB,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,CAkEzB;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,uCA6DjB"}
|