react-native-css 3.0.7 → 3.1.0-rc.0
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/dist/commonjs/babel/import-plugin.js +9 -3
- package/dist/commonjs/babel/import-plugin.js.map +1 -1
- package/dist/commonjs/babel/react-native-web.js +16 -3
- package/dist/commonjs/babel/react-native-web.js.map +1 -1
- package/dist/commonjs/babel/react-native.js +7 -2
- 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 +29 -27
- 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 +102 -61
- 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 +13 -3
- package/dist/commonjs/compiler/selector-builder.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 +1 -1
- 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/native/api.js +12 -8
- 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 +48 -12
- 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 +32 -22
- 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/style-collection.js +1 -1
- package/dist/commonjs/native-internal/style-collection.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/import-plugin.js +11 -5
- 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 +7 -2
- 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 +30 -28
- package/dist/module/compiler/compiler.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 +102 -61
- 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 +13 -3
- package/dist/module/compiler/selector-builder.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 +1 -1
- 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/native/api.js +14 -10
- 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 +49 -13
- 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 +32 -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/style-collection.js +1 -1
- package/dist/module/native-internal/style-collection.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/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.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/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/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.map +1 -1
- package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +5 -3
- 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/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 +7 -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/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/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 +2 -2
- package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
- package/dist/typescript/module/src/compiler/compiler.types.d.ts +1 -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 +1 -1
- 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/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 +1 -1
- package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
- package/dist/typescript/module/src/metro/metro-transformer.d.ts +6 -4
- 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/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 +7 -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 +1 -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 +61 -27
- package/src/babel/import-plugin.ts +15 -4
- package/src/babel/react-native-web.ts +32 -3
- package/src/babel/react-native.ts +7 -1
- package/src/compiler/atRules.ts +44 -0
- package/src/compiler/compiler.ts +59 -46
- package/src/compiler/container-query.ts +8 -3
- package/src/compiler/declarations.ts +189 -100
- package/src/compiler/lightningcss-loader.ts +16 -15
- package/src/compiler/media-query.ts +20 -9
- package/src/compiler/selector-builder.ts +29 -3
- 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 +2 -0
- package/src/metro/metro-transformer.ts +9 -6
- package/src/metro/typescript.ts +53 -6
- package/src/native/api.tsx +20 -14
- 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 +54 -14
- package/src/native/react/usePassthrough.ts +3 -2
- package/src/native/reactivity.ts +42 -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/style-collection.ts +1 -1
- 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,6 +1,6 @@
|
|
|
1
1
|
import type { InlineVariable, StyleDeclaration, StyleRule } from "react-native-css/compiler";
|
|
2
|
-
import type { RenderGuard } from "../conditions/guards";
|
|
3
|
-
import { type Getter, type VariableContextValue } from "../reactivity";
|
|
2
|
+
import type { RenderGuard } from "../conditions/guards.js";
|
|
3
|
+
import { type Getter, type VariableContextValue } from "../reactivity.js";
|
|
4
4
|
export declare function calculateProps(get: Getter, rules: (StyleRule | InlineVariable | VariableContextValue)[], guards?: RenderGuard[], inheritedVariables?: VariableContextValue, inlineVariables?: InlineVariable): {
|
|
5
5
|
normal: Record<string, any> | undefined;
|
|
6
6
|
guards: RenderGuard[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculate-props.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/calculate-props.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACV,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"calculate-props.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/calculate-props.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACV,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAsB,CAAC;AAExD,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,kBAAe,CAAC;AAIvB,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,CAAC,SAAS,GAAG,cAAc,GAAG,oBAAoB,CAAC,EAAE,EAC5D,MAAM,GAAE,WAAW,EAAO,EAC1B,kBAAkB,GAAE,oBAEnB,EACD,eAAe,GAAE,cAEhB;;;;EAmEF;AAED,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,gBAAgB,EAAE,EAChC,eAAe,EAAE,cAAc,EAC/B,kBAAkB,EAAE,oBAAoB,EACxC,aAAa,GAAE,CAAC,MAAM,IAAI,CAAC,EAAO,EAClC,eAAe,GAAE,CAAC,MAAM,IAAI,CAAC,EAAO,EACpC,MAAM,GAAE,WAAW,EAAO,EAC1B,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EAChC,cAAc,sBAAS,QA+GxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
2
|
export declare const cubicBezier: StyleFunctionResolver;
|
|
3
3
|
export declare const steps: StyleFunctionResolver;
|
|
4
4
|
//# sourceMappingURL=animation-timing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation-timing.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/animation-timing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"animation-timing.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/animation-timing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,CAAC;AA0CxD,eAAO,MAAM,WAAW,uBAAyB,CAAC;AAClD,eAAO,MAAM,KAAK,uBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calc.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/calc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"calc.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/calc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,CAAC;AASxD,eAAO,MAAM,IAAI,EAAE,qBA2GlB,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,eAAY,CAAC;AAMxD,eAAO,MAAM,QAAQ,EAAE,qBAyDtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
2
|
export declare const blur: StyleFunctionResolver;
|
|
3
3
|
export declare const brightness: StyleFunctionResolver;
|
|
4
4
|
export declare const contrast: StyleFunctionResolver;
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,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,9 +1,9 @@
|
|
|
1
|
-
export * from "./animation-timing";
|
|
2
|
-
export * from "./calc";
|
|
3
|
-
export * from "./filters";
|
|
4
|
-
export * from "./numeric-functions";
|
|
5
|
-
export * from "./platform-functions";
|
|
6
|
-
export * from "./string-functions";
|
|
7
|
-
export * from "./transform-functions";
|
|
8
|
-
export * from "./color-mix";
|
|
1
|
+
export * from "./animation-timing.js";
|
|
2
|
+
export * from "./calc.js";
|
|
3
|
+
export * from "./filters.js";
|
|
4
|
+
export * from "./numeric-functions.js";
|
|
5
|
+
export * from "./platform-functions.js";
|
|
6
|
+
export * from "./string-functions.js";
|
|
7
|
+
export * from "./transform-functions.js";
|
|
8
|
+
export * from "./color-mix.js";
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAoB,CAAC;AACnC,cAAc,WAAQ,CAAC;AACvB,cAAc,cAAW,CAAC;AAC1B,cAAc,wBAAqB,CAAC;AACpC,cAAc,yBAAsB,CAAC;AACrC,cAAc,uBAAoB,CAAC;AACnC,cAAc,0BAAuB,CAAC;AACtC,cAAc,gBAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
2
|
export declare const max: StyleFunctionResolver;
|
|
3
3
|
export declare const min: StyleFunctionResolver;
|
|
4
4
|
export declare const clamp: StyleFunctionResolver;
|
|
@@ -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,
|
|
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,eAAY,CAAC;AAExD,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAgBnB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
2
|
export declare const platformColor: StyleFunctionResolver;
|
|
3
3
|
export declare const hairlineWidth: StyleFunctionResolver;
|
|
4
4
|
export declare const pixelRatio: StyleFunctionResolver;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/platform-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"platform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/platform-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAE3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAExB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAEvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,qBAUvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,qBAUjC,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
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,
|
|
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,eAAY,CAAC;AAExD,eAAO,MAAM,gBAAgB,EAAE,qBAM9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAQvB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,qBAmBlB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
2
|
export declare const scale: StyleFunctionResolver;
|
|
3
3
|
export declare const rotate: StyleFunctionResolver;
|
|
4
4
|
export declare const translate: StyleFunctionResolver;
|
|
@@ -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,
|
|
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,eAAY,CAAC;AAGxD,eAAO,MAAM,KAAK,EAAE,qBAsBnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAgCpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAsBvB,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { InlineVariable, StyleRule } from "react-native-css/compiler";
|
|
2
|
-
import type { ComponentState } from "../react/useNativeCss";
|
|
3
|
-
import { type Effect, type VariableContextValue } from "../reactivity";
|
|
4
|
-
export declare const stylesFamily: ((key: string, args: Set<VariableContextValue | StyleRule | InlineVariable>) => import("../reactivity").Observable<{
|
|
2
|
+
import type { ComponentState } from "../react/useNativeCss.js";
|
|
3
|
+
import { type Effect, type VariableContextValue } from "../reactivity.js";
|
|
4
|
+
export declare const stylesFamily: ((key: string, args: Set<VariableContextValue | StyleRule | InlineVariable>) => import("../reactivity.js").Observable<{
|
|
5
5
|
normal: Record<string, any> | undefined;
|
|
6
|
-
guards: import("../conditions/guards").RenderGuard[];
|
|
6
|
+
guards: import("../conditions/guards.js").RenderGuard[];
|
|
7
7
|
important: Record<string, any> | undefined;
|
|
8
8
|
}, {
|
|
9
9
|
normal: Record<string, any> | undefined;
|
|
10
|
-
guards: import("../conditions/guards").RenderGuard[];
|
|
10
|
+
guards: import("../conditions/guards.js").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,
|
|
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,0BAAuB,CAAC;AACpE,OAAO,EAQL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,kBAAe,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-height.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/line-height.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"line-height.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/line-height.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAW,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,qBAkBxB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InlineVariable, StyleDescriptor, StyleFunction } from "react-native-css/compiler";
|
|
2
|
-
import type { RenderGuard } from "../conditions/guards";
|
|
3
|
-
import { type Getter, type VariableContextValue } from "../reactivity";
|
|
4
|
-
import type { calculateProps } from "./calculate-props";
|
|
2
|
+
import type { RenderGuard } from "../conditions/guards.js";
|
|
3
|
+
import { type Getter, type VariableContextValue } from "../reactivity.js";
|
|
4
|
+
import type { calculateProps } from "./calculate-props.js";
|
|
5
5
|
export type SimpleResolveValue = (value: StyleDescriptor, castToArray?: boolean) => unknown;
|
|
6
6
|
export type StyleFunctionResolver = (resolveValue: SimpleResolveValue, value: StyleFunction, get: Getter, options: ResolveValueOptions) => unknown;
|
|
7
7
|
export type StyleResolver = (resolveValue: SimpleResolveValue, value: StyleDescriptor, get: Getter, options: ResolveValueOptions) => unknown;
|
|
@@ -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,yBAAsB,CAAC;AACxD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAe,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAmB,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,4 +1,4 @@
|
|
|
1
|
-
import type { StyleResolver } from "../resolve";
|
|
1
|
+
import type { StyleResolver } from "../resolve.js";
|
|
2
2
|
type ShorthandType = "string" | "number" | "length" | "color" | Readonly<(string | Function)[]>;
|
|
3
3
|
type ShorthandRequiredValue = readonly [string | readonly string[], ShorthandType] | ShorthandDefaultValue;
|
|
4
4
|
type ShorthandDefaultValue = readonly [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_handler.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/_handler.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"_handler.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/_handler.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAY,CAAC;AAEhD,KAAK,aAAa,GACd,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,CAAC,CAAC,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAEpC,KAAK,sBAAsB,GACvB,SAAS,CAAC,MAAM,GAAG,SAAS,MAAM,EAAE,EAAE,aAAa,CAAC,GACpD,qBAAqB,CAAC;AAE1B,KAAK,qBAAqB,GAAG,SAAS;IACpC,MAAM,GAAG,SAAS,MAAM,EAAE;IAC1B,aAAa;IACb,GAAG;CACJ,CAAC;AAEF,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,sBAAsB,EAAE,EAAE,EACpC,QAAQ,EAAE,qBAAqB,EAAE,EACjC,UAAU,GAAE,iBAAiB,GAAG,QAAQ,GAAG,QAA4B,GACtE,aAAa,CAsGf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
2
|
-
export declare const animationShorthand: import("../resolve").StyleResolver;
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
|
+
export declare const animationShorthand: import("../resolve.js").StyleResolver;
|
|
3
3
|
export declare const animation: StyleFunctionResolver;
|
|
4
4
|
export declare const animationName: StyleFunctionResolver;
|
|
5
5
|
//# sourceMappingURL=animation.d.ts.map
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/animation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,CAAC;AAgCxD,eAAO,MAAM,kBAAkB,uCAyB9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBA+DvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAQ3B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const border: import("../resolve").StyleResolver;
|
|
1
|
+
export declare const border: import("../resolve.js").StyleResolver;
|
|
2
2
|
//# sourceMappingURL=border.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/border.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/border.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM,uCAGlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box-shadow.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/box-shadow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"box-shadow.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/box-shadow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,CAAC;AAgCxD,eAAO,MAAM,SAAS,EAAE,qBAoCvB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export * from "./animation";
|
|
2
|
-
export * from "./border";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
1
|
+
export * from "./animation.js";
|
|
2
|
+
export * from "./border.js";
|
|
3
|
+
export * from "./logical-border-width.js";
|
|
4
|
+
export * from "./box-shadow.js";
|
|
5
|
+
export * from "./text-shadow.js";
|
|
6
|
+
export * from "./transform.js";
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAa,CAAC;AAC5B,cAAc,aAAU,CAAC;AACzB,cAAc,2BAAwB,CAAC;AACvC,cAAc,iBAAc,CAAC;AAC7B,cAAc,kBAAe,CAAC;AAC9B,cAAc,gBAAa,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,eAAY,CAAC;AAuBxD,eAAO,MAAM,gBAAgB,uBAG5B,CAAC;AACF,eAAO,MAAM,iBAAiB,uBAG7B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const textShadow: import("../resolve").StyleResolver;
|
|
1
|
+
export declare const textShadow: import("../resolve.js").StyleResolver;
|
|
2
2
|
//# sourceMappingURL=text-shadow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-shadow.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/text-shadow.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"text-shadow.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/text-shadow.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,uCAStB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StyleFunctionResolver } from "../resolve";
|
|
1
|
+
import type { StyleFunctionResolver } from "../resolve.js";
|
|
2
2
|
/**
|
|
3
3
|
* Handle the unparsable transform property by converting its values into StyleDeclarations
|
|
4
4
|
* Each value should be a StyleDescriptor function of the transform type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAY,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,qBAgBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/units.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/units.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAW,CAAC;AAEvD,eAAO,MAAM,EAAE,EAAE,qBAkBhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,qBAQhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,qBAQhB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,qBAcjB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StyleFunction } from "react-native-css/compiler";
|
|
2
|
-
import { type Getter } from "../reactivity";
|
|
3
|
-
import type { ResolveValueOptions, SimpleResolveValue } from "./resolve";
|
|
2
|
+
import { type Getter } from "../reactivity.js";
|
|
3
|
+
import type { ResolveValueOptions, SimpleResolveValue } from "./resolve.js";
|
|
4
4
|
export declare function varResolver(resolve: SimpleResolveValue, fn: StyleFunction, get: Getter, options: ResolveValueOptions): unknown;
|
|
5
5
|
//# sourceMappingURL=variables.d.ts.map
|
|
@@ -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,
|
|
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,kBAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,cAAW,CAAC;AAEzE,wBAAgB,WAAW,CACzB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,aAAa,EACjB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,WAmF7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./root";
|
|
2
|
-
export * from "./style-collection";
|
|
3
|
-
export * from "./variables";
|
|
1
|
+
export * from "./root.js";
|
|
2
|
+
export * from "./style-collection.js";
|
|
3
|
+
export * from "./variables.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAQ,CAAC;AACvB,cAAc,uBAAoB,CAAC;AACnC,cAAc,gBAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StyleDescriptor, VariableValue } from "react-native-css/compiler";
|
|
2
|
-
import { type Observable } from "../native/reactivity";
|
|
2
|
+
import { type Observable } from "../native/reactivity.js";
|
|
3
3
|
export declare const rootVariables: ((key: string, args: void) => Observable<StyleDescriptor, VariableValue[]>) & {
|
|
4
4
|
delete(key: string): boolean;
|
|
5
5
|
clear(): void;
|
|
@@ -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,
|
|
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,yBAAsB,CAAC;AA0B3E,eAAO,MAAM,aAAa;;;CAAuB,CAAC;AAClD,eAAO,MAAM,kBAAkB;;;CAAuB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Context } from "react";
|
|
2
2
|
import type { Animation, ReactNativeCssStyleSheet, StyleRuleSet } from "react-native-css/compiler";
|
|
3
|
-
import { family, type Observable, type VariableContextValue } from "../native/reactivity";
|
|
4
|
-
import { rootVariables, universalVariables } from "./root";
|
|
3
|
+
import { family, type Observable, type VariableContextValue } from "../native/reactivity.js";
|
|
4
|
+
import { rootVariables, universalVariables } from "./root.js";
|
|
5
5
|
export { rootVariables, universalVariables };
|
|
6
6
|
interface StyleCollectionType {
|
|
7
7
|
styles: ReturnType<typeof family<string, Observable<StyleRuleSet>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style-collection.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/style-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EACxB,YAAY,EACb,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,MAAM,EAGN,KAAK,UAAU,EACf,KAAK,oBAAoB,EAC1B,MAAM,
|
|
1
|
+
{"version":3,"file":"style-collection.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/style-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EACxB,YAAY,EACb,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,MAAM,EAGN,KAAK,UAAU,EACf,KAAK,oBAAoB,EAC1B,MAAM,yBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,WAAQ,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC;AAE7C,UAAU,mBAAmB;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACpE,SAAS,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,MAAM,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACrD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,mCAAmC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACzE,IAAI,mCAAmC,EACnC,OAAO,CAAC,oBAAoB,CAAC,GAC7B,SAAS,CAAC;CACf;AA0ED,eAAO,MAAM,eAAe,qBAAiD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type PropsWithChildren } from "react";
|
|
2
2
|
import type { StyleDescriptor } from "react-native-css/compiler";
|
|
3
|
-
import { type VariableContextValue } from "../native/reactivity";
|
|
3
|
+
import { type VariableContextValue } from "../native/reactivity.js";
|
|
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,EAAc,KAAK,oBAAoB,EAAE,MAAM,
|
|
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,EAAc,KAAK,oBAAoB,EAAE,MAAM,yBAAsB,CAAC;AAO7E,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,+BAgB5E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./web";
|
|
1
|
+
export * from "./web/index.js";
|
|
2
2
|
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/runtime.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/runtime.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAO,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./native";
|
|
1
|
+
export * from "./native/index.js";
|
|
2
2
|
//# sourceMappingURL=runtime.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.native.d.ts","sourceRoot":"","sources":["../../../../src/runtime.native.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"runtime.native.d.ts","sourceRoot":"","sources":["../../../../src/runtime.native.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAU,CAAC"}
|
|
@@ -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,KA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S,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,CAAC,MAAM,CAAC,CAAC,EAAE,GACnB,oBAAoB,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,GACtD,CAAC,CAAC;AAGR,KAAK,WAAW,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;A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* from "./specificity";
|
|
2
|
-
export * from "./style-descriptor";
|
|
3
|
-
export * from "./dot-notation.types";
|
|
1
|
+
export * from "./specificity.js";
|
|
2
|
+
export * from "./style-descriptor.js";
|
|
3
|
+
export * from "./dot-notation.types.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAe,CAAC;AAC9B,cAAc,uBAAoB,CAAC;AACnC,cAAc,yBAAsB,CAAC"}
|