@tamagui/core 1.0.0-alpha.10 → 1.0.0-alpha.14
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/dist/cjs/createComponent.js +2 -1
- package/dist/cjs/createComponent.js.map +2 -2
- package/dist/cjs/createTamagui.js +2 -0
- package/dist/cjs/createTamagui.js.map +2 -2
- package/dist/cjs/createVariable.js +1 -1
- package/dist/cjs/createVariable.js.map +2 -2
- package/dist/cjs/helpers/createPropMapper.js +20 -13
- package/dist/cjs/helpers/createPropMapper.js.map +2 -2
- package/dist/cjs/hooks/useMedia.js +4 -2
- package/dist/cjs/hooks/useMedia.js.map +2 -2
- package/dist/cjs/types.js.map +1 -1
- package/dist/cjs/views/Text.js +2 -2
- package/dist/cjs/views/Text.js.map +2 -2
- package/dist/cjs/views/Theme.js +15 -12
- package/dist/cjs/views/Theme.js.map +2 -2
- package/dist/{constants → esm/constants}/constants.js +0 -0
- package/dist/{constants → esm/constants}/constants.js.map +1 -1
- package/dist/{constants → esm/constants}/platform.js +0 -0
- package/dist/{constants → esm/constants}/platform.js.map +1 -1
- package/dist/{constants → esm/constants}/pseudos.js +0 -0
- package/dist/{constants → esm/constants}/pseudos.js.map +1 -1
- package/dist/{constants → esm/constants}/rnw.js +0 -0
- package/dist/{constants → esm/constants}/rnw.js.map +1 -1
- package/dist/{createComponent.js → esm/createComponent.js} +2 -1
- package/dist/esm/createComponent.js.map +7 -0
- package/dist/{createFont.js → esm/createFont.js} +0 -0
- package/dist/{createFont.js.map → esm/createFont.js.map} +1 -1
- package/dist/{createShorthands.js → esm/createShorthands.js} +0 -0
- package/dist/{createShorthands.js.map → esm/createShorthands.js.map} +1 -1
- package/dist/{createTamagui.js → esm/createTamagui.js} +2 -0
- package/dist/esm/createTamagui.js.map +7 -0
- package/dist/{createTheme.js → esm/createTheme.js} +0 -0
- package/dist/{createTheme.js.map → esm/createTheme.js.map} +1 -1
- package/dist/{createTokens.js → esm/createTokens.js} +0 -0
- package/dist/{createTokens.js.map → esm/createTokens.js.map} +1 -1
- package/dist/{createVariable.js → esm/createVariable.js} +1 -1
- package/dist/{createVariable.js.map → esm/createVariable.js.map} +3 -3
- package/dist/{helpers → esm/helpers}/addStylesUsingClassname.js +0 -0
- package/dist/{helpers → esm/helpers}/addStylesUsingClassname.js.map +1 -1
- package/dist/{helpers → esm/helpers}/createMediaStyle.js +0 -0
- package/dist/{helpers → esm/helpers}/createMediaStyle.js.map +1 -1
- package/dist/{helpers → esm/helpers}/createPropMapper.js +14 -7
- package/dist/esm/helpers/createPropMapper.js.map +7 -0
- package/dist/{helpers → esm/helpers}/createTamaguiProvider.js +0 -0
- package/dist/{helpers → esm/helpers}/createTamaguiProvider.js.map +1 -1
- package/dist/{helpers → esm/helpers}/extendStaticConfig.js +0 -0
- package/dist/{helpers → esm/helpers}/extendStaticConfig.js.map +1 -1
- package/dist/{helpers → esm/helpers}/fixNativeShadow.js +0 -0
- package/dist/{helpers → esm/helpers}/fixNativeShadow.js.map +1 -1
- package/dist/{helpers → esm/helpers}/fixNativeShadow.native.js +0 -0
- package/dist/{helpers → esm/helpers}/fixNativeShadow.native.js.map +1 -1
- package/dist/{helpers → esm/helpers}/getSplitStyles.js +0 -0
- package/dist/{helpers → esm/helpers}/getSplitStyles.js.map +1 -1
- package/dist/{helpers → esm/helpers}/getStylesAtomic.js +0 -0
- package/dist/{helpers → esm/helpers}/getStylesAtomic.js.map +1 -1
- package/dist/{helpers → esm/helpers}/getStylesAtomic.native.js +0 -0
- package/dist/{helpers → esm/helpers}/getStylesAtomic.native.js.map +1 -1
- package/dist/{helpers → esm/helpers}/insertStyleRule.js +0 -0
- package/dist/{helpers → esm/helpers}/insertStyleRule.js.map +1 -1
- package/dist/{helpers → esm/helpers}/isObj.js +0 -0
- package/dist/{helpers → esm/helpers}/isObj.js.map +1 -1
- package/dist/{helpers → esm/helpers}/isTamaguiElement.js +0 -0
- package/dist/{helpers → esm/helpers}/isTamaguiElement.js.map +1 -1
- package/dist/{helpers → esm/helpers}/matchMedia.js +0 -0
- package/dist/{helpers → esm/helpers}/matchMedia.js.map +1 -1
- package/dist/{helpers → esm/helpers}/matchMedia.native.js +0 -0
- package/dist/{helpers → esm/helpers}/matchMedia.native.js.map +1 -1
- package/dist/{helpers → esm/helpers}/themeable.js +0 -0
- package/dist/{helpers → esm/helpers}/themeable.js.map +1 -1
- package/dist/{helpers → esm/helpers}/validate.js +0 -0
- package/dist/{helpers → esm/helpers}/validate.js.map +1 -1
- package/dist/{hooks → esm/hooks}/useConstant.js +0 -0
- package/dist/{hooks → esm/hooks}/useConstant.js.map +1 -1
- package/dist/{hooks → esm/hooks}/useFeatures.js +0 -0
- package/dist/{hooks → esm/hooks}/useFeatures.js.map +1 -1
- package/dist/{hooks → esm/hooks}/useMedia.js +4 -2
- package/dist/esm/hooks/useMedia.js.map +7 -0
- package/dist/{hooks → esm/hooks}/usePressable.js +0 -0
- package/dist/{hooks → esm/hooks}/usePressable.js.map +1 -1
- package/dist/{hooks → esm/hooks}/useTheme.js +0 -0
- package/dist/{hooks → esm/hooks}/useTheme.js.map +1 -1
- package/dist/{index.js → esm/index.js} +0 -0
- package/dist/{index.js.map → esm/index.js.map} +1 -1
- package/dist/{static → esm/static}/postProcessStyles.js +0 -0
- package/dist/{static → esm/static}/postProcessStyles.js.map +1 -1
- package/dist/{static.js → esm/static.js} +0 -0
- package/dist/{static.js.map → esm/static.js.map} +1 -1
- package/dist/{styled.js → esm/styled.js} +0 -0
- package/dist/{styled.js.map → esm/styled.js.map} +1 -1
- package/dist/{types.js → esm/types.js} +0 -0
- package/dist/{types.js.map → esm/types.js.map} +0 -0
- package/dist/{views → esm/views}/Animated.js +0 -0
- package/dist/{views → esm/views}/Animated.js.map +1 -1
- package/dist/{views → esm/views}/Stack.js +0 -0
- package/dist/{views → esm/views}/Stack.js.map +1 -1
- package/dist/{views → esm/views}/Text.js +1 -1
- package/dist/esm/views/Text.js.map +7 -0
- package/dist/{views → esm/views}/TextAncestorContext.js +0 -0
- package/dist/{views → esm/views}/TextAncestorContext.js.map +1 -1
- package/dist/{views → esm/views}/Theme.js +15 -12
- package/dist/esm/views/Theme.js.map +7 -0
- package/dist/{views → esm/views}/ThemeContext.js +0 -0
- package/dist/{views → esm/views}/ThemeContext.js.map +1 -1
- package/dist/{views → esm/views}/ThemeInverse.js +0 -0
- package/dist/{views → esm/views}/ThemeInverse.js.map +1 -1
- package/dist/{views → esm/views}/ThemeManagerContext.js +0 -0
- package/dist/{views → esm/views}/ThemeManagerContext.js.map +1 -1
- package/dist/{views → esm/views}/ThemeProvider.js +0 -0
- package/dist/{views → esm/views}/ThemeProvider.js.map +1 -1
- package/dist/jsx/constants/constants.js +13 -0
- package/dist/jsx/constants/platform.js +18 -0
- package/dist/jsx/constants/pseudos.js +17 -0
- package/dist/jsx/constants/rnw.js +21 -0
- package/dist/jsx/createComponent.js +458 -0
- package/dist/jsx/createFont.js +27 -0
- package/dist/jsx/createShorthands.js +9 -0
- package/dist/jsx/createTamagui.js +169 -0
- package/dist/jsx/createTheme.js +19 -0
- package/dist/jsx/createTokens.js +32 -0
- package/dist/jsx/createVariable.js +24 -0
- package/dist/jsx/helpers/addStylesUsingClassname.js +56 -0
- package/dist/jsx/helpers/createMediaStyle.js +33 -0
- package/dist/jsx/helpers/createPropMapper.js +159 -0
- package/dist/jsx/helpers/createTamaguiProvider.js +19 -0
- package/dist/jsx/helpers/extendStaticConfig.js +58 -0
- package/dist/jsx/helpers/fixNativeShadow.js +7 -0
- package/dist/jsx/helpers/fixNativeShadow.native.js +29 -0
- package/dist/jsx/helpers/getSplitStyles.js +149 -0
- package/dist/jsx/helpers/getStylesAtomic.js +82 -0
- package/dist/jsx/helpers/getStylesAtomic.native.js +9 -0
- package/dist/jsx/helpers/insertStyleRule.js +23 -0
- package/dist/jsx/helpers/isObj.js +6 -0
- package/dist/{helpers/isTamaguiComponent.js → jsx/helpers/isTamaguiElement.js} +3 -4
- package/dist/jsx/helpers/matchMedia.js +17 -0
- package/dist/jsx/helpers/matchMedia.native.js +8 -0
- package/dist/jsx/helpers/themeable.js +23 -0
- package/dist/{helpers/validateConfig.js → jsx/helpers/validate.js} +35 -22
- package/dist/jsx/hooks/useConstant.js +14 -0
- package/dist/jsx/hooks/useFeatures.js +57 -0
- package/dist/jsx/hooks/useMedia.js +172 -0
- package/dist/jsx/hooks/usePressable.js +12 -0
- package/dist/jsx/hooks/useTheme.js +88 -0
- package/dist/jsx/index.js +31 -0
- package/dist/jsx/static/postProcessStyles.js +17 -0
- package/dist/jsx/static.js +14 -0
- package/dist/jsx/styled.js +20 -0
- package/dist/jsx/types.js +0 -0
- package/dist/jsx/views/Animated.js +74 -0
- package/dist/jsx/views/Stack.js +11 -0
- package/dist/jsx/views/Text.js +59 -0
- package/dist/jsx/views/TextAncestorContext.js +14 -0
- package/dist/jsx/views/Theme.js +62 -0
- package/dist/jsx/views/ThemeContext.js +5 -0
- package/dist/jsx/views/ThemeInverse.js +22 -0
- package/dist/jsx/views/ThemeManagerContext.js +60 -0
- package/dist/jsx/views/ThemeProvider.js +39 -0
- package/package.json +10 -11
- package/src/createComponent.tsx +4 -2
- package/src/createTamagui.ts +1 -0
- package/src/createVariable.ts +1 -1
- package/src/helpers/createPropMapper.ts +14 -6
- package/src/hooks/useMedia.tsx +5 -3
- package/src/types.tsx +6 -6
- package/src/views/Text.tsx +2 -1
- package/src/views/Theme.tsx +24 -20
- package/{dist/packages/core/src → types}/constants/constants.d.ts +0 -0
- package/types/constants/constants.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/constants/platform.d.ts +0 -0
- package/types/constants/platform.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/constants/pseudos.d.ts +0 -0
- package/types/constants/pseudos.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/constants/rnw.d.ts +0 -0
- package/types/constants/rnw.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/createComponent.d.ts +3 -2
- package/types/createComponent.d.ts.map +1 -0
- package/types/createFont.d.ts +3 -0
- package/types/createFont.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/createShorthands.d.ts +0 -0
- package/types/createShorthands.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/createTamagui.d.ts +18 -1
- package/types/createTamagui.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/createTheme.d.ts +0 -0
- package/types/createTheme.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/createTokens.d.ts +24 -14
- package/types/createTokens.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/createVariable.d.ts +1 -0
- package/types/createVariable.d.ts.map +1 -0
- package/types/helpers/addStylesUsingClassname.d.ts +3 -0
- package/types/helpers/addStylesUsingClassname.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/createMediaStyle.d.ts +0 -1
- package/types/helpers/createMediaStyle.d.ts.map +1 -0
- package/types/helpers/createPropMapper.d.ts +3 -0
- package/types/helpers/createPropMapper.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/createTamaguiProvider.d.ts +0 -0
- package/types/helpers/createTamaguiProvider.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/extendStaticConfig.d.ts +1 -1
- package/types/helpers/extendStaticConfig.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/fixNativeShadow.d.ts +0 -0
- package/types/helpers/fixNativeShadow.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/fixNativeShadow.native.d.ts +0 -0
- package/types/helpers/fixNativeShadow.native.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/getSplitStyles.d.ts +0 -0
- package/types/helpers/getSplitStyles.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/getStylesAtomic.d.ts +0 -1
- package/types/helpers/getStylesAtomic.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/getStylesAtomic.native.d.ts +0 -0
- package/types/helpers/getStylesAtomic.native.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/insertStyleRule.d.ts +0 -0
- package/types/helpers/insertStyleRule.d.ts.map +1 -0
- package/types/helpers/isObj.d.ts +2 -0
- package/types/helpers/isObj.d.ts.map +1 -0
- package/types/helpers/isTamaguiElement.d.ts +3 -0
- package/types/helpers/isTamaguiElement.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/matchMedia.d.ts +0 -0
- package/types/helpers/matchMedia.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/matchMedia.native.d.ts +0 -0
- package/types/helpers/matchMedia.native.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/helpers/themeable.d.ts +0 -0
- package/types/helpers/themeable.d.ts.map +1 -0
- package/types/helpers/validate.d.ts +4 -0
- package/types/helpers/validate.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/hooks/useConstant.d.ts +0 -0
- package/types/hooks/useConstant.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/hooks/useFeatures.d.ts +0 -0
- package/types/hooks/useFeatures.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/hooks/useMedia.d.ts +0 -0
- package/types/hooks/useMedia.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/hooks/usePressable.d.ts +0 -0
- package/types/hooks/usePressable.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/hooks/useTheme.d.ts +3 -1
- package/types/hooks/useTheme.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/index.d.ts +3 -1
- package/types/index.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/static/postProcessStyles.d.ts +0 -0
- package/types/static/postProcessStyles.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/static.d.ts +3 -0
- package/types/static.d.ts.map +1 -0
- package/types/styled.d.ts +21 -0
- package/types/styled.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/types.d.ts +71 -70
- package/types/types.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/Animated.d.ts +0 -0
- package/types/views/Animated.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/Stack.d.ts +0 -0
- package/types/views/Stack.d.ts.map +1 -0
- package/types/views/Text.d.ts +3 -0
- package/types/views/Text.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/TextAncestorContext.d.ts +0 -0
- package/types/views/TextAncestorContext.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/Theme.d.ts +1 -1
- package/types/views/Theme.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/ThemeContext.d.ts +0 -0
- package/types/views/ThemeContext.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/ThemeInverse.d.ts +0 -0
- package/types/views/ThemeInverse.d.ts.map +1 -0
- package/types/views/ThemeManagerContext.d.ts +22 -0
- package/types/views/ThemeManagerContext.d.ts.map +1 -0
- package/{dist/packages/core/src → types}/views/ThemeProvider.d.ts +0 -0
- package/types/views/ThemeProvider.d.ts.map +1 -0
- package/dist/constants/styleConstants.js +0 -46
- package/dist/constants/styleConstants.js.map +0 -7
- package/dist/createComponent.js.map +0 -7
- package/dist/createTamagui.js.map +0 -7
- package/dist/helpers/createPropMapper.js.map +0 -7
- package/dist/helpers/isComponent.js +0 -10
- package/dist/helpers/isComponent.js.map +0 -7
- package/dist/helpers/isTamaguiComponent.js.map +0 -7
- package/dist/helpers/pseudos.js +0 -1
- package/dist/helpers/pseudos.js.map +0 -7
- package/dist/helpers/validateConfig.js.map +0 -7
- package/dist/helpers/validateTokens.js +0 -29
- package/dist/helpers/validateTokens.js.map +0 -7
- package/dist/hooks/useForceUpdate.js +0 -28
- package/dist/hooks/useForceUpdate.js.map +0 -7
- package/dist/hooks/useMedia.js.map +0 -7
- package/dist/index.cjs +0 -2202
- package/dist/index.cjs.map +0 -7
- package/dist/packages/core/src/constants/constants.d.ts.map +0 -1
- package/dist/packages/core/src/constants/platform.d.ts.map +0 -1
- package/dist/packages/core/src/constants/pseudos.d.ts.map +0 -1
- package/dist/packages/core/src/constants/rnw.d.ts.map +0 -1
- package/dist/packages/core/src/createComponent.d.ts.map +0 -1
- package/dist/packages/core/src/createShorthands.d.ts.map +0 -1
- package/dist/packages/core/src/createTamagui.d.ts.map +0 -1
- package/dist/packages/core/src/createTheme.d.ts.map +0 -1
- package/dist/packages/core/src/createTokens.d.ts.map +0 -1
- package/dist/packages/core/src/createVariable.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/addStylesUsingClassname.d.ts +0 -2
- package/dist/packages/core/src/helpers/addStylesUsingClassname.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/createMediaStyle.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/createTamaguiProvider.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/extendStaticConfig.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/fixNativeShadow.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/fixNativeShadow.native.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/getSplitStyles.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/getStylesAtomic.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/getStylesAtomic.native.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/insertStyleRule.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/matchMedia.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/matchMedia.native.d.ts.map +0 -1
- package/dist/packages/core/src/helpers/themeable.d.ts.map +0 -1
- package/dist/packages/core/src/hooks/useConstant.d.ts.map +0 -1
- package/dist/packages/core/src/hooks/useFeatures.d.ts.map +0 -1
- package/dist/packages/core/src/hooks/useForceUpdate.d.ts +0 -2
- package/dist/packages/core/src/hooks/useForceUpdate.d.ts.map +0 -1
- package/dist/packages/core/src/hooks/useMedia.d.ts.map +0 -1
- package/dist/packages/core/src/hooks/usePressable.d.ts.map +0 -1
- package/dist/packages/core/src/hooks/useTheme.d.ts.map +0 -1
- package/dist/packages/core/src/index.d.ts.map +0 -1
- package/dist/packages/core/src/static/postProcessStyles.d.ts.map +0 -1
- package/dist/packages/core/src/static.d.ts.map +0 -1
- package/dist/packages/core/src/styled.d.ts +0 -16
- package/dist/packages/core/src/styled.d.ts.map +0 -1
- package/dist/packages/core/src/types.d.ts.map +0 -1
- package/dist/packages/core/src/views/Animated.d.ts.map +0 -1
- package/dist/packages/core/src/views/Stack.d.ts.map +0 -1
- package/dist/packages/core/src/views/Text.d.ts +0 -3
- package/dist/packages/core/src/views/Text.d.ts.map +0 -1
- package/dist/packages/core/src/views/TextAncestorContext.d.ts.map +0 -1
- package/dist/packages/core/src/views/Theme.d.ts.map +0 -1
- package/dist/packages/core/src/views/ThemeContext.d.ts.map +0 -1
- package/dist/packages/core/src/views/ThemeInverse.d.ts.map +0 -1
- package/dist/packages/core/src/views/ThemeManagerContext.d.ts +0 -15
- package/dist/packages/core/src/views/ThemeManagerContext.d.ts.map +0 -1
- package/dist/packages/core/src/views/ThemeProvider.d.ts.map +0 -1
- package/dist/packages/helpers/src/AllRules.d.ts +0 -3
- package/dist/packages/helpers/src/AllRules.d.ts.map +0 -1
- package/dist/packages/helpers/src/concatClassName.d.ts +0 -2
- package/dist/packages/helpers/src/concatClassName.d.ts.map +0 -1
- package/dist/packages/helpers/src/index.d.ts +0 -5
- package/dist/packages/helpers/src/index.d.ts.map +0 -1
- package/dist/packages/helpers/src/types.d.ts +0 -8
- package/dist/packages/helpers/src/types.d.ts.map +0 -1
- package/dist/packages/helpers/src/validStyleProps.d.ts +0 -475
- package/dist/packages/helpers/src/validStyleProps.d.ts.map +0 -1
- package/dist/views/SafeAreaProvider.js +0 -30
- package/dist/views/SafeAreaProvider.js.map +0 -7
- package/dist/views/Text.js.map +0 -7
- package/dist/views/Theme.js.map +0 -7
- package/types.d.ts +0 -559
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AllRules.d.ts","sourceRoot":"","sources":["../../../../../../../../../Users/n8/tamagui/packages/helpers/src/AllRules.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,cAAY,CAAA;AAEjC,eAAO,MAAM,aAAa,oBAAiB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concatClassName.d.ts","sourceRoot":"","sources":["../../../../../../../../../Users/n8/tamagui/packages/helpers/src/concatClassName.ts"],"names":[],"mappings":"AAMA,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,EAAE,UAiEvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../Users/n8/tamagui/packages/helpers/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../Users/n8/tamagui/packages/helpers/src/types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,CAAA"}
|
|
@@ -1,475 +0,0 @@
|
|
|
1
|
-
export declare const stylePropsTransform: {
|
|
2
|
-
x: boolean;
|
|
3
|
-
y: boolean;
|
|
4
|
-
scale: boolean;
|
|
5
|
-
perspective: boolean;
|
|
6
|
-
scaleX: boolean;
|
|
7
|
-
scaleY: boolean;
|
|
8
|
-
skewX: boolean;
|
|
9
|
-
skewY: boolean;
|
|
10
|
-
matrix: boolean;
|
|
11
|
-
rotate: boolean;
|
|
12
|
-
rotateY: boolean;
|
|
13
|
-
rotateX: boolean;
|
|
14
|
-
rotateZ: boolean;
|
|
15
|
-
};
|
|
16
|
-
export declare const stylePropsView: Readonly<{
|
|
17
|
-
userSelect?: boolean | undefined;
|
|
18
|
-
cursor?: boolean | undefined;
|
|
19
|
-
contain?: boolean | undefined;
|
|
20
|
-
pointerEvents?: boolean | undefined;
|
|
21
|
-
boxSizing?: boolean | undefined;
|
|
22
|
-
x: boolean;
|
|
23
|
-
y: boolean;
|
|
24
|
-
scale: boolean;
|
|
25
|
-
perspective: boolean;
|
|
26
|
-
scaleX: boolean;
|
|
27
|
-
scaleY: boolean;
|
|
28
|
-
skewX: boolean;
|
|
29
|
-
skewY: boolean;
|
|
30
|
-
matrix: boolean;
|
|
31
|
-
rotate: boolean;
|
|
32
|
-
rotateY: boolean;
|
|
33
|
-
rotateX: boolean;
|
|
34
|
-
rotateZ: boolean;
|
|
35
|
-
backfaceVisibility: boolean;
|
|
36
|
-
backgroundColor: boolean;
|
|
37
|
-
borderBottomColor: boolean;
|
|
38
|
-
borderBottomEndRadius: boolean;
|
|
39
|
-
borderBottomLeftRadius: boolean;
|
|
40
|
-
borderBottomRightRadius: boolean;
|
|
41
|
-
borderBottomStartRadius: boolean;
|
|
42
|
-
borderBottomWidth: boolean;
|
|
43
|
-
borderColor: boolean;
|
|
44
|
-
borderEndColor: boolean;
|
|
45
|
-
borderLeftColor: boolean;
|
|
46
|
-
borderLeftWidth: boolean;
|
|
47
|
-
borderRadius: boolean;
|
|
48
|
-
borderRightColor: boolean;
|
|
49
|
-
borderRightWidth: boolean;
|
|
50
|
-
borderStartColor: boolean;
|
|
51
|
-
borderStyle: boolean;
|
|
52
|
-
borderTopColor: boolean;
|
|
53
|
-
borderTopEndRadius: boolean;
|
|
54
|
-
borderTopLeftRadius: boolean;
|
|
55
|
-
borderTopRightRadius: boolean;
|
|
56
|
-
borderTopStartRadius: boolean;
|
|
57
|
-
borderTopWidth: boolean;
|
|
58
|
-
borderWidth: boolean;
|
|
59
|
-
opacity: boolean;
|
|
60
|
-
transform: boolean;
|
|
61
|
-
alignContent: boolean;
|
|
62
|
-
alignItems: boolean;
|
|
63
|
-
alignSelf: boolean;
|
|
64
|
-
aspectRatio: boolean;
|
|
65
|
-
borderEndWidth: boolean;
|
|
66
|
-
borderStartWidth: boolean;
|
|
67
|
-
bottom: boolean;
|
|
68
|
-
display: boolean;
|
|
69
|
-
end: boolean;
|
|
70
|
-
flex: boolean;
|
|
71
|
-
flexBasis: boolean;
|
|
72
|
-
flexDirection: boolean;
|
|
73
|
-
flexGrow: boolean;
|
|
74
|
-
flexShrink: boolean;
|
|
75
|
-
flexWrap: boolean;
|
|
76
|
-
height: boolean;
|
|
77
|
-
justifyContent: boolean;
|
|
78
|
-
left: boolean;
|
|
79
|
-
margin: boolean;
|
|
80
|
-
marginBottom: boolean;
|
|
81
|
-
marginEnd: boolean;
|
|
82
|
-
marginHorizontal: boolean;
|
|
83
|
-
marginLeft: boolean;
|
|
84
|
-
marginRight: boolean;
|
|
85
|
-
marginStart: boolean;
|
|
86
|
-
marginTop: boolean;
|
|
87
|
-
marginVertical: boolean;
|
|
88
|
-
maxHeight: boolean;
|
|
89
|
-
maxWidth: boolean;
|
|
90
|
-
minHeight: boolean;
|
|
91
|
-
minWidth: boolean;
|
|
92
|
-
overflow: boolean;
|
|
93
|
-
padding: boolean;
|
|
94
|
-
paddingBottom: boolean;
|
|
95
|
-
paddingEnd: boolean;
|
|
96
|
-
paddingHorizontal: boolean;
|
|
97
|
-
paddingLeft: boolean;
|
|
98
|
-
paddingRight: boolean;
|
|
99
|
-
paddingStart: boolean;
|
|
100
|
-
paddingTop: boolean;
|
|
101
|
-
paddingVertical: boolean;
|
|
102
|
-
position: boolean;
|
|
103
|
-
right: boolean;
|
|
104
|
-
start: boolean;
|
|
105
|
-
top: boolean;
|
|
106
|
-
width: boolean;
|
|
107
|
-
zIndex: boolean;
|
|
108
|
-
direction: boolean;
|
|
109
|
-
shadowColor: boolean;
|
|
110
|
-
shadowOffset: boolean;
|
|
111
|
-
shadowOpacity: boolean;
|
|
112
|
-
shadowRadius: boolean;
|
|
113
|
-
}>;
|
|
114
|
-
export declare const stylePropsTextOnly: Readonly<{
|
|
115
|
-
whiteSpace?: boolean | undefined;
|
|
116
|
-
wordWrap?: boolean | undefined;
|
|
117
|
-
textOverflow?: boolean | undefined;
|
|
118
|
-
textDecorationDistance?: boolean | undefined;
|
|
119
|
-
color: boolean;
|
|
120
|
-
fontFamily: boolean;
|
|
121
|
-
fontSize: boolean;
|
|
122
|
-
fontStyle: boolean;
|
|
123
|
-
fontWeight: boolean;
|
|
124
|
-
letterSpacing: boolean;
|
|
125
|
-
lineHeight: boolean;
|
|
126
|
-
textAlign: boolean;
|
|
127
|
-
textDecorationLine: boolean;
|
|
128
|
-
textDecorationStyle: boolean;
|
|
129
|
-
textDecorationColor: boolean;
|
|
130
|
-
textShadowColor: boolean;
|
|
131
|
-
textShadowOffset: boolean;
|
|
132
|
-
textShadowRadius: boolean;
|
|
133
|
-
textTransform: boolean;
|
|
134
|
-
}>;
|
|
135
|
-
export declare const stylePropsText: Readonly<{
|
|
136
|
-
whiteSpace?: boolean | undefined;
|
|
137
|
-
wordWrap?: boolean | undefined;
|
|
138
|
-
textOverflow?: boolean | undefined;
|
|
139
|
-
textDecorationDistance?: boolean | undefined;
|
|
140
|
-
color: boolean;
|
|
141
|
-
fontFamily: boolean;
|
|
142
|
-
fontSize: boolean;
|
|
143
|
-
fontStyle: boolean;
|
|
144
|
-
fontWeight: boolean;
|
|
145
|
-
letterSpacing: boolean;
|
|
146
|
-
lineHeight: boolean;
|
|
147
|
-
textAlign: boolean;
|
|
148
|
-
textDecorationLine: boolean;
|
|
149
|
-
textDecorationStyle: boolean;
|
|
150
|
-
textDecorationColor: boolean;
|
|
151
|
-
textShadowColor: boolean;
|
|
152
|
-
textShadowOffset: boolean;
|
|
153
|
-
textShadowRadius: boolean;
|
|
154
|
-
textTransform: boolean;
|
|
155
|
-
userSelect?: boolean | undefined;
|
|
156
|
-
cursor?: boolean | undefined;
|
|
157
|
-
contain?: boolean | undefined;
|
|
158
|
-
pointerEvents?: boolean | undefined;
|
|
159
|
-
boxSizing?: boolean | undefined;
|
|
160
|
-
x: boolean;
|
|
161
|
-
y: boolean;
|
|
162
|
-
scale: boolean;
|
|
163
|
-
perspective: boolean;
|
|
164
|
-
scaleX: boolean;
|
|
165
|
-
scaleY: boolean;
|
|
166
|
-
skewX: boolean;
|
|
167
|
-
skewY: boolean;
|
|
168
|
-
matrix: boolean;
|
|
169
|
-
rotate: boolean;
|
|
170
|
-
rotateY: boolean;
|
|
171
|
-
rotateX: boolean;
|
|
172
|
-
rotateZ: boolean;
|
|
173
|
-
backfaceVisibility: boolean;
|
|
174
|
-
backgroundColor: boolean;
|
|
175
|
-
borderBottomColor: boolean;
|
|
176
|
-
borderBottomEndRadius: boolean;
|
|
177
|
-
borderBottomLeftRadius: boolean;
|
|
178
|
-
borderBottomRightRadius: boolean;
|
|
179
|
-
borderBottomStartRadius: boolean;
|
|
180
|
-
borderBottomWidth: boolean;
|
|
181
|
-
borderColor: boolean;
|
|
182
|
-
borderEndColor: boolean;
|
|
183
|
-
borderLeftColor: boolean;
|
|
184
|
-
borderLeftWidth: boolean;
|
|
185
|
-
borderRadius: boolean;
|
|
186
|
-
borderRightColor: boolean;
|
|
187
|
-
borderRightWidth: boolean;
|
|
188
|
-
borderStartColor: boolean;
|
|
189
|
-
borderStyle: boolean;
|
|
190
|
-
borderTopColor: boolean;
|
|
191
|
-
borderTopEndRadius: boolean;
|
|
192
|
-
borderTopLeftRadius: boolean;
|
|
193
|
-
borderTopRightRadius: boolean;
|
|
194
|
-
borderTopStartRadius: boolean;
|
|
195
|
-
borderTopWidth: boolean;
|
|
196
|
-
borderWidth: boolean;
|
|
197
|
-
opacity: boolean;
|
|
198
|
-
transform: boolean;
|
|
199
|
-
alignContent: boolean;
|
|
200
|
-
alignItems: boolean;
|
|
201
|
-
alignSelf: boolean;
|
|
202
|
-
aspectRatio: boolean;
|
|
203
|
-
borderEndWidth: boolean;
|
|
204
|
-
borderStartWidth: boolean;
|
|
205
|
-
bottom: boolean;
|
|
206
|
-
display: boolean;
|
|
207
|
-
end: boolean;
|
|
208
|
-
flex: boolean;
|
|
209
|
-
flexBasis: boolean;
|
|
210
|
-
flexDirection: boolean;
|
|
211
|
-
flexGrow: boolean;
|
|
212
|
-
flexShrink: boolean;
|
|
213
|
-
flexWrap: boolean;
|
|
214
|
-
height: boolean;
|
|
215
|
-
justifyContent: boolean;
|
|
216
|
-
left: boolean;
|
|
217
|
-
margin: boolean;
|
|
218
|
-
marginBottom: boolean;
|
|
219
|
-
marginEnd: boolean;
|
|
220
|
-
marginHorizontal: boolean;
|
|
221
|
-
marginLeft: boolean;
|
|
222
|
-
marginRight: boolean;
|
|
223
|
-
marginStart: boolean;
|
|
224
|
-
marginTop: boolean;
|
|
225
|
-
marginVertical: boolean;
|
|
226
|
-
maxHeight: boolean;
|
|
227
|
-
maxWidth: boolean;
|
|
228
|
-
minHeight: boolean;
|
|
229
|
-
minWidth: boolean;
|
|
230
|
-
overflow: boolean;
|
|
231
|
-
padding: boolean;
|
|
232
|
-
paddingBottom: boolean;
|
|
233
|
-
paddingEnd: boolean;
|
|
234
|
-
paddingHorizontal: boolean;
|
|
235
|
-
paddingLeft: boolean;
|
|
236
|
-
paddingRight: boolean;
|
|
237
|
-
paddingStart: boolean;
|
|
238
|
-
paddingTop: boolean;
|
|
239
|
-
paddingVertical: boolean;
|
|
240
|
-
position: boolean;
|
|
241
|
-
right: boolean;
|
|
242
|
-
start: boolean;
|
|
243
|
-
top: boolean;
|
|
244
|
-
width: boolean;
|
|
245
|
-
zIndex: boolean;
|
|
246
|
-
direction: boolean;
|
|
247
|
-
shadowColor: boolean;
|
|
248
|
-
shadowOffset: boolean;
|
|
249
|
-
shadowOpacity: boolean;
|
|
250
|
-
shadowRadius: boolean;
|
|
251
|
-
}>;
|
|
252
|
-
export declare const stylePropsAll: Readonly<{
|
|
253
|
-
whiteSpace?: boolean | undefined;
|
|
254
|
-
wordWrap?: boolean | undefined;
|
|
255
|
-
textOverflow?: boolean | undefined;
|
|
256
|
-
textDecorationDistance?: boolean | undefined;
|
|
257
|
-
color: boolean;
|
|
258
|
-
fontFamily: boolean;
|
|
259
|
-
fontSize: boolean;
|
|
260
|
-
fontStyle: boolean;
|
|
261
|
-
fontWeight: boolean;
|
|
262
|
-
letterSpacing: boolean;
|
|
263
|
-
lineHeight: boolean;
|
|
264
|
-
textAlign: boolean;
|
|
265
|
-
textDecorationLine: boolean;
|
|
266
|
-
textDecorationStyle: boolean;
|
|
267
|
-
textDecorationColor: boolean;
|
|
268
|
-
textShadowColor: boolean;
|
|
269
|
-
textShadowOffset: boolean;
|
|
270
|
-
textShadowRadius: boolean;
|
|
271
|
-
textTransform: boolean;
|
|
272
|
-
userSelect?: boolean | undefined;
|
|
273
|
-
cursor?: boolean | undefined;
|
|
274
|
-
contain?: boolean | undefined;
|
|
275
|
-
pointerEvents?: boolean | undefined;
|
|
276
|
-
boxSizing?: boolean | undefined;
|
|
277
|
-
x: boolean;
|
|
278
|
-
y: boolean;
|
|
279
|
-
scale: boolean;
|
|
280
|
-
perspective: boolean;
|
|
281
|
-
scaleX: boolean;
|
|
282
|
-
scaleY: boolean;
|
|
283
|
-
skewX: boolean;
|
|
284
|
-
skewY: boolean;
|
|
285
|
-
matrix: boolean;
|
|
286
|
-
rotate: boolean;
|
|
287
|
-
rotateY: boolean;
|
|
288
|
-
rotateX: boolean;
|
|
289
|
-
rotateZ: boolean;
|
|
290
|
-
backfaceVisibility: boolean;
|
|
291
|
-
backgroundColor: boolean;
|
|
292
|
-
borderBottomColor: boolean;
|
|
293
|
-
borderBottomEndRadius: boolean;
|
|
294
|
-
borderBottomLeftRadius: boolean;
|
|
295
|
-
borderBottomRightRadius: boolean;
|
|
296
|
-
borderBottomStartRadius: boolean;
|
|
297
|
-
borderBottomWidth: boolean;
|
|
298
|
-
borderColor: boolean;
|
|
299
|
-
borderEndColor: boolean;
|
|
300
|
-
borderLeftColor: boolean;
|
|
301
|
-
borderLeftWidth: boolean;
|
|
302
|
-
borderRadius: boolean;
|
|
303
|
-
borderRightColor: boolean;
|
|
304
|
-
borderRightWidth: boolean;
|
|
305
|
-
borderStartColor: boolean;
|
|
306
|
-
borderStyle: boolean;
|
|
307
|
-
borderTopColor: boolean;
|
|
308
|
-
borderTopEndRadius: boolean;
|
|
309
|
-
borderTopLeftRadius: boolean;
|
|
310
|
-
borderTopRightRadius: boolean;
|
|
311
|
-
borderTopStartRadius: boolean;
|
|
312
|
-
borderTopWidth: boolean;
|
|
313
|
-
borderWidth: boolean;
|
|
314
|
-
opacity: boolean;
|
|
315
|
-
transform: boolean;
|
|
316
|
-
alignContent: boolean;
|
|
317
|
-
alignItems: boolean;
|
|
318
|
-
alignSelf: boolean;
|
|
319
|
-
aspectRatio: boolean;
|
|
320
|
-
borderEndWidth: boolean;
|
|
321
|
-
borderStartWidth: boolean;
|
|
322
|
-
bottom: boolean;
|
|
323
|
-
display: boolean;
|
|
324
|
-
end: boolean;
|
|
325
|
-
flex: boolean;
|
|
326
|
-
flexBasis: boolean;
|
|
327
|
-
flexDirection: boolean;
|
|
328
|
-
flexGrow: boolean;
|
|
329
|
-
flexShrink: boolean;
|
|
330
|
-
flexWrap: boolean;
|
|
331
|
-
height: boolean;
|
|
332
|
-
justifyContent: boolean;
|
|
333
|
-
left: boolean;
|
|
334
|
-
margin: boolean;
|
|
335
|
-
marginBottom: boolean;
|
|
336
|
-
marginEnd: boolean;
|
|
337
|
-
marginHorizontal: boolean;
|
|
338
|
-
marginLeft: boolean;
|
|
339
|
-
marginRight: boolean;
|
|
340
|
-
marginStart: boolean;
|
|
341
|
-
marginTop: boolean;
|
|
342
|
-
marginVertical: boolean;
|
|
343
|
-
maxHeight: boolean;
|
|
344
|
-
maxWidth: boolean;
|
|
345
|
-
minHeight: boolean;
|
|
346
|
-
minWidth: boolean;
|
|
347
|
-
overflow: boolean;
|
|
348
|
-
padding: boolean;
|
|
349
|
-
paddingBottom: boolean;
|
|
350
|
-
paddingEnd: boolean;
|
|
351
|
-
paddingHorizontal: boolean;
|
|
352
|
-
paddingLeft: boolean;
|
|
353
|
-
paddingRight: boolean;
|
|
354
|
-
paddingStart: boolean;
|
|
355
|
-
paddingTop: boolean;
|
|
356
|
-
paddingVertical: boolean;
|
|
357
|
-
position: boolean;
|
|
358
|
-
right: boolean;
|
|
359
|
-
start: boolean;
|
|
360
|
-
top: boolean;
|
|
361
|
-
width: boolean;
|
|
362
|
-
zIndex: boolean;
|
|
363
|
-
direction: boolean;
|
|
364
|
-
shadowColor: boolean;
|
|
365
|
-
shadowOffset: boolean;
|
|
366
|
-
shadowOpacity: boolean;
|
|
367
|
-
shadowRadius: boolean;
|
|
368
|
-
}>;
|
|
369
|
-
export declare const validStylesPseudo: {
|
|
370
|
-
hoverStyle: boolean;
|
|
371
|
-
pressStyle: boolean;
|
|
372
|
-
focusStyle: boolean;
|
|
373
|
-
};
|
|
374
|
-
export declare const validStyles: {
|
|
375
|
-
userSelect?: boolean | undefined;
|
|
376
|
-
cursor?: boolean | undefined;
|
|
377
|
-
contain?: boolean | undefined;
|
|
378
|
-
pointerEvents?: boolean | undefined;
|
|
379
|
-
boxSizing?: boolean | undefined;
|
|
380
|
-
x: boolean;
|
|
381
|
-
y: boolean;
|
|
382
|
-
scale: boolean;
|
|
383
|
-
perspective: boolean;
|
|
384
|
-
scaleX: boolean;
|
|
385
|
-
scaleY: boolean;
|
|
386
|
-
skewX: boolean;
|
|
387
|
-
skewY: boolean;
|
|
388
|
-
matrix: boolean;
|
|
389
|
-
rotate: boolean;
|
|
390
|
-
rotateY: boolean;
|
|
391
|
-
rotateX: boolean;
|
|
392
|
-
rotateZ: boolean;
|
|
393
|
-
backfaceVisibility: boolean;
|
|
394
|
-
backgroundColor: boolean;
|
|
395
|
-
borderBottomColor: boolean;
|
|
396
|
-
borderBottomEndRadius: boolean;
|
|
397
|
-
borderBottomLeftRadius: boolean;
|
|
398
|
-
borderBottomRightRadius: boolean;
|
|
399
|
-
borderBottomStartRadius: boolean;
|
|
400
|
-
borderBottomWidth: boolean;
|
|
401
|
-
borderColor: boolean;
|
|
402
|
-
borderEndColor: boolean;
|
|
403
|
-
borderLeftColor: boolean;
|
|
404
|
-
borderLeftWidth: boolean;
|
|
405
|
-
borderRadius: boolean;
|
|
406
|
-
borderRightColor: boolean;
|
|
407
|
-
borderRightWidth: boolean;
|
|
408
|
-
borderStartColor: boolean;
|
|
409
|
-
borderStyle: boolean;
|
|
410
|
-
borderTopColor: boolean;
|
|
411
|
-
borderTopEndRadius: boolean;
|
|
412
|
-
borderTopLeftRadius: boolean;
|
|
413
|
-
borderTopRightRadius: boolean;
|
|
414
|
-
borderTopStartRadius: boolean;
|
|
415
|
-
borderTopWidth: boolean;
|
|
416
|
-
borderWidth: boolean;
|
|
417
|
-
opacity: boolean;
|
|
418
|
-
transform: boolean;
|
|
419
|
-
alignContent: boolean;
|
|
420
|
-
alignItems: boolean;
|
|
421
|
-
alignSelf: boolean;
|
|
422
|
-
aspectRatio: boolean;
|
|
423
|
-
borderEndWidth: boolean;
|
|
424
|
-
borderStartWidth: boolean;
|
|
425
|
-
bottom: boolean;
|
|
426
|
-
display: boolean;
|
|
427
|
-
end: boolean;
|
|
428
|
-
flex: boolean;
|
|
429
|
-
flexBasis: boolean;
|
|
430
|
-
flexDirection: boolean;
|
|
431
|
-
flexGrow: boolean;
|
|
432
|
-
flexShrink: boolean;
|
|
433
|
-
flexWrap: boolean;
|
|
434
|
-
height: boolean;
|
|
435
|
-
justifyContent: boolean;
|
|
436
|
-
left: boolean;
|
|
437
|
-
margin: boolean;
|
|
438
|
-
marginBottom: boolean;
|
|
439
|
-
marginEnd: boolean;
|
|
440
|
-
marginHorizontal: boolean;
|
|
441
|
-
marginLeft: boolean;
|
|
442
|
-
marginRight: boolean;
|
|
443
|
-
marginStart: boolean;
|
|
444
|
-
marginTop: boolean;
|
|
445
|
-
marginVertical: boolean;
|
|
446
|
-
maxHeight: boolean;
|
|
447
|
-
maxWidth: boolean;
|
|
448
|
-
minHeight: boolean;
|
|
449
|
-
minWidth: boolean;
|
|
450
|
-
overflow: boolean;
|
|
451
|
-
padding: boolean;
|
|
452
|
-
paddingBottom: boolean;
|
|
453
|
-
paddingEnd: boolean;
|
|
454
|
-
paddingHorizontal: boolean;
|
|
455
|
-
paddingLeft: boolean;
|
|
456
|
-
paddingRight: boolean;
|
|
457
|
-
paddingStart: boolean;
|
|
458
|
-
paddingTop: boolean;
|
|
459
|
-
paddingVertical: boolean;
|
|
460
|
-
position: boolean;
|
|
461
|
-
right: boolean;
|
|
462
|
-
start: boolean;
|
|
463
|
-
top: boolean;
|
|
464
|
-
width: boolean;
|
|
465
|
-
zIndex: boolean;
|
|
466
|
-
direction: boolean;
|
|
467
|
-
shadowColor: boolean;
|
|
468
|
-
shadowOffset: boolean;
|
|
469
|
-
shadowOpacity: boolean;
|
|
470
|
-
shadowRadius: boolean;
|
|
471
|
-
hoverStyle: boolean;
|
|
472
|
-
pressStyle: boolean;
|
|
473
|
-
focusStyle: boolean;
|
|
474
|
-
};
|
|
475
|
-
//# sourceMappingURL=validStyleProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validStyleProps.d.ts","sourceRoot":"","sources":["../../../../../../../../../Users/n8/tamagui/packages/helpers/src/validStyleProps.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;CAc/B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFzB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;EAyB7B,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiB,CAAA;AAE3C,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { Platform } from "react-native";
|
|
5
|
-
import {
|
|
6
|
-
SafeAreaProvider as RNSafeAreaProvider,
|
|
7
|
-
initialWindowMetrics as defaultInitialWindowMetrics
|
|
8
|
-
} from "react-native-safe-area-context";
|
|
9
|
-
let defaultMetrics = null;
|
|
10
|
-
const SafeAreaProvider = /* @__PURE__ */ __name(({
|
|
11
|
-
initialWindowMetrics,
|
|
12
|
-
children
|
|
13
|
-
}) => {
|
|
14
|
-
if (!initialWindowMetrics && !defaultMetrics) {
|
|
15
|
-
defaultMetrics = Platform.select({
|
|
16
|
-
web: {
|
|
17
|
-
frame: { x: 0, y: 0, width: 0, height: 0 },
|
|
18
|
-
insets: { top: 0, left: 0, right: 0, bottom: 0 }
|
|
19
|
-
},
|
|
20
|
-
default: defaultInitialWindowMetrics
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
return /* @__PURE__ */ React.createElement(RNSafeAreaProvider, {
|
|
24
|
-
initialMetrics: initialWindowMetrics ?? defaultMetrics
|
|
25
|
-
}, children);
|
|
26
|
-
}, "SafeAreaProvider");
|
|
27
|
-
export {
|
|
28
|
-
SafeAreaProvider
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=SafeAreaProvider.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/views/SafeAreaProvider.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react'\nimport { Platform } from 'react-native'\nimport {\n Metrics,\n SafeAreaProvider as RNSafeAreaProvider,\n initialWindowMetrics as defaultInitialWindowMetrics,\n} from 'react-native-safe-area-context'\n\nlet defaultMetrics: Metrics | null = null\n\nexport const SafeAreaProvider = ({\n initialWindowMetrics,\n children,\n}: {\n children?: any\n initialWindowMetrics?: any\n}) => {\n if (!initialWindowMetrics && !defaultMetrics) {\n defaultMetrics = Platform.select({\n web: {\n frame: { x: 0, y: 0, width: 0, height: 0 },\n insets: { top: 0, left: 0, right: 0, bottom: 0 },\n },\n default: defaultInitialWindowMetrics,\n })\n }\n\n return (\n <RNSafeAreaProvider initialMetrics={initialWindowMetrics ?? defaultMetrics}>\n {children}\n </RNSafeAreaProvider>\n )\n}\n"],
|
|
5
|
-
"mappings": ";;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAMA,IAAI,iBAAiC;AAE9B,MAAM,mBAAmB,wBAAC;AAAA,EAC/B;AAAA,EACA;AAAA,MAII;AACJ,MAAI,CAAC,wBAAwB,CAAC,gBAAgB;AAC5C,qBAAiB,SAAS,OAAO;AAAA,MAC/B,KAAK;AAAA,QACH,OAAO,EAAE,GAAG,GAAG,GAAG,GAAG,OAAO,GAAG,QAAQ;AAAA,QACvC,QAAQ,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ;AAAA;AAAA,MAE/C,SAAS;AAAA;AAAA;AAIb,SACE,oCAAC,oBAAD;AAAA,IAAoB,gBAAgB,wBAAwB;AAAA,KACzD;AAAA,GAnByB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/views/Text.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/views/Text.tsx"],
|
|
4
|
-
"sourcesContent": ["import { isWeb } from '../constants/platform'\nimport { createComponent } from '../createComponent'\nimport { stylePropsTextOnly, validStyles } from '../static'\nimport { TextProps } from '../types'\n\nconst ellipseStyle = {\n maxWidth: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n}\n\nexport const Text = createComponent<TextProps>({\n isText: true,\n defaultProps: {\n display: isWeb ? 'inline' : 'inline-flex',\n boxSizing: 'border-box',\n fontFamily: 'System',\n wordWrap: 'break-word',\n },\n variants: {\n numberOfLines: {\n 1: ellipseStyle,\n // TODO imply fn, test 1, could do types `>1` `<2`\n '[number]': (lines) => (lines > 1 ? { WebkitLineClamp: 1 } : null),\n },\n\n selectable: {\n true: {\n userSelect: 'text',\n },\n false: {\n userSelect: 'none',\n },\n },\n\n pressable: {\n true: {\n cursor: 'pointer',\n },\n },\n\n ellipse: {\n true: isWeb\n ? ellipseStyle\n : {\n numberOfLines: 1,\n lineBreakMode: 'clip',\n },\n },\n },\n // TODO document\n deoptProps: new Set(isWeb ? [] : ['ellipse']),\n validStyles: {\n ...validStyles,\n ...stylePropsTextOnly,\n ...(isWeb && {\n userSelect: true,\n textOverflow: true,\n whiteSpace: true,\n wordWrap: true,\n selectable: true,\n cursor: true,\n }),\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA;AACA;AACA;AAGA,MAAM,eAAe;AAAA,EACnB,UAAU;AAAA,EACV,UAAU;AAAA,EACV,cAAc;AAAA,EACd,YAAY;AAAA;AAGP,MAAM,OAAO,gBAA2B;AAAA,EAC7C,QAAQ;AAAA,EACR,cAAc;AAAA,IACZ,SAAS,QAAQ,WAAW;AAAA,IAC5B,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,UAAU;AAAA;AAAA,EAEZ,UAAU;AAAA,IACR,eAAe;AAAA,MACb,GAAG;AAAA,MAEH,YAAY,CAAC,UAAW,QAAQ,IAAI,EAAE,iBAAiB,MAAM;AAAA;AAAA,IAG/D,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,YAAY;AAAA;AAAA,MAEd,OAAO;AAAA,QACL,YAAY;AAAA;AAAA;AAAA,IAIhB,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,QAAQ;AAAA;AAAA;AAAA,IAIZ,SAAS;AAAA,MACP,MAAM,QACF,eACA;AAAA,QACE,eAAe;AAAA,QACf,eAAe;AAAA;AAAA;AAAA;AAAA,EAKzB,YAAY,IAAI,IAAI,QAAQ,KAAK,CAAC;AAAA,EAClC,aAAa;AAAA,OACR;AAAA,OACA;AAAA,OACC,SAAS;AAAA,MACX,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA;AAAA;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/views/Theme.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/views/Theme.tsx"],
|
|
4
|
-
"sourcesContent": ["import React, { useContext, useState } from 'react'\n\nimport { isWeb, useIsomorphicLayoutEffect } from '../constants/platform'\nimport { getThemeParentClassName } from '../createTamagui'\nimport { useConstant } from '../hooks/useConstant'\nimport { ThemeName } from '../types'\nimport { ThemeContext } from './ThemeContext'\nimport { ThemeManager, ThemeManagerContext } from './ThemeManagerContext'\n\nexport type ThemeProps = {\n disableThemeClass?: boolean\n name: ThemeName | null\n children?: any\n}\n\nexport const Theme = (props: ThemeProps) => {\n const parent = useContext(ThemeManagerContext)\n const themes = useContext(ThemeContext)\n const [parentName, setParentName] = useState(parent.name || 'light')\n if (!themes) {\n console.warn('Error, no themes in context', props)\n return props.children\n }\n const name = props.name as string\n const nextNameParent = `${name}-${parentName}`\n const nextNameParentParent = `${name}-${parent.parentName}`\n const activeName = !name\n ? null\n : name in themes\n ? name\n : nextNameParent in themes\n ? nextNameParent\n : nextNameParentParent in themes\n ? nextNameParentParent\n : null\n const theme = activeName ? themes[activeName] : null\n const themeManager = useConstant<ThemeManager | null>(() => {\n if (!theme) {\n return null\n }\n const manager = new ThemeManager()\n if (name) {\n manager.setActiveTheme({ name, theme: themes[name], parentName })\n }\n return manager\n })\n\n useIsomorphicLayoutEffect(() => {\n if (!themeManager) {\n return\n }\n themeManager.setActiveTheme({ name: activeName, theme, parentName })\n return parent.onChangeTheme((next) => {\n if (next) {\n themeManager.setActiveTheme({ name: next, theme: themes[next], parentName })\n setParentName(next)\n }\n })\n }, [themes, activeName, parentName])\n\n if (!name || !theme) {\n return props.children\n }\n\n const contents = themeManager ? (\n <ThemeManagerContext.Provider value={themeManager}>\n {props.children}\n </ThemeManagerContext.Provider>\n ) : (\n props.children\n )\n\n if (isWeb) {\n if (props.disableThemeClass) {\n return contents\n }\n const color = themes[name]?.['color']?.['variable']\n return (\n <div\n className={getThemeParentClassName(name)}\n // in order to provide currentColor, set color by default\n style={{ display: 'contents', color }}\n >\n {contents}\n </div>\n )\n }\n\n return contents\n}\n"],
|
|
5
|
-
"mappings": ";;AAAA;AAEA;AACA;AACA;AAEA;AACA;AAQO,MAAM,QAAQ,wBAAC,UAAsB;AAC1C,QAAM,SAAS,WAAW;AAC1B,QAAM,SAAS,WAAW;AAC1B,QAAM,CAAC,YAAY,iBAAiB,SAAS,OAAO,QAAQ;AAC5D,MAAI,CAAC,QAAQ;AACX,YAAQ,KAAK,+BAA+B;AAC5C,WAAO,MAAM;AAAA;AAEf,QAAM,OAAO,MAAM;AACnB,QAAM,iBAAiB,GAAG,QAAQ;AAClC,QAAM,uBAAuB,GAAG,QAAQ,OAAO;AAC/C,QAAM,aAAa,CAAC,OAChB,OACA,QAAQ,SACR,OACA,kBAAkB,SAClB,iBACA,wBAAwB,SACxB,uBACA;AACJ,QAAM,QAAQ,aAAa,OAAO,cAAc;AAChD,QAAM,eAAe,YAAiC,MAAM;AAC1D,QAAI,CAAC,OAAO;AACV,aAAO;AAAA;AAET,UAAM,UAAU,IAAI;AACpB,QAAI,MAAM;AACR,cAAQ,eAAe,EAAE,MAAM,OAAO,OAAO,OAAO;AAAA;AAEtD,WAAO;AAAA;AAGT,4BAA0B,MAAM;AAC9B,QAAI,CAAC,cAAc;AACjB;AAAA;AAEF,iBAAa,eAAe,EAAE,MAAM,YAAY,OAAO;AACvD,WAAO,OAAO,cAAc,CAAC,SAAS;AACpC,UAAI,MAAM;AACR,qBAAa,eAAe,EAAE,MAAM,MAAM,OAAO,OAAO,OAAO;AAC/D,sBAAc;AAAA;AAAA;AAAA,KAGjB,CAAC,QAAQ,YAAY;AAExB,MAAI,CAAC,QAAQ,CAAC,OAAO;AACnB,WAAO,MAAM;AAAA;AAGf,QAAM,WAAW,eACf,oCAAC,oBAAoB,UAArB;AAAA,IAA8B,OAAO;AAAA,KAClC,MAAM,YAGT,MAAM;AAGR,MAAI,OAAO;AACT,QAAI,MAAM,mBAAmB;AAC3B,aAAO;AAAA;AAET,UAAM,QAAQ,OAAO,QAAQ,WAAW;AACxC,WACE,oCAAC,OAAD;AAAA,MACE,WAAW,wBAAwB;AAAA,MAEnC,OAAO,EAAE,SAAS,YAAY;AAAA,OAE7B;AAAA;AAKP,SAAO;AAAA,GAzEY;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|