@tamagui/core 1.0.0-alpha.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/.ultra.cache.json +1 -0
- package/_/constants/constants.js +14 -0
- package/_/constants/constants.js.map +7 -0
- package/_/constants/platform.js +20 -0
- package/_/constants/platform.js.map +7 -0
- package/_/constants/pseudos.js +18 -0
- package/_/constants/pseudos.js.map +7 -0
- package/_/constants/rnw.js +22 -0
- package/_/constants/rnw.js.map +7 -0
- package/_/createComponent.js +427 -0
- package/_/createComponent.js.map +7 -0
- package/_/createShorthands.js +10 -0
- package/_/createShorthands.js.map +7 -0
- package/_/createTamagui.js +122 -0
- package/_/createTamagui.js.map +7 -0
- package/_/createTheme.js +20 -0
- package/_/createTheme.js.map +7 -0
- package/_/createTokens.js +29 -0
- package/_/createTokens.js.map +7 -0
- package/_/createVariable.js +22 -0
- package/_/createVariable.js.map +7 -0
- package/_/helpers/addStylesUsingClassname.js +32 -0
- package/_/helpers/addStylesUsingClassname.js.map +7 -0
- package/_/helpers/createMediaStyle.js +34 -0
- package/_/helpers/createMediaStyle.js.map +7 -0
- package/_/helpers/createTamaguiProvider.js +42 -0
- package/_/helpers/createTamaguiProvider.js.map +7 -0
- package/_/helpers/extendStaticConfig.js +176 -0
- package/_/helpers/extendStaticConfig.js.map +7 -0
- package/_/helpers/fixNativeShadow.js +8 -0
- package/_/helpers/fixNativeShadow.js.map +7 -0
- package/_/helpers/fixNativeShadow.native.js +30 -0
- package/_/helpers/fixNativeShadow.native.js.map +7 -0
- package/_/helpers/getSplitStyles.js +160 -0
- package/_/helpers/getSplitStyles.js.map +7 -0
- package/_/helpers/getStylesAtomic.js +84 -0
- package/_/helpers/getStylesAtomic.js.map +7 -0
- package/_/helpers/getStylesAtomic.native.js +10 -0
- package/_/helpers/getStylesAtomic.native.js.map +7 -0
- package/_/helpers/insertStyleRule.js +24 -0
- package/_/helpers/insertStyleRule.js.map +7 -0
- package/_/helpers/matchMedia.js +15 -0
- package/_/helpers/matchMedia.js.map +7 -0
- package/_/helpers/matchMedia.native.js +8 -0
- package/_/helpers/matchMedia.native.js.map +7 -0
- package/_/helpers/themeable.js +26 -0
- package/_/helpers/themeable.js.map +7 -0
- package/_/hooks/useConstant.js +15 -0
- package/_/hooks/useConstant.js.map +7 -0
- package/_/hooks/useFeatures.js +75 -0
- package/_/hooks/useFeatures.js.map +7 -0
- package/_/hooks/useForceUpdate.js +28 -0
- package/_/hooks/useForceUpdate.js.map +7 -0
- package/_/hooks/useMedia.js +173 -0
- package/_/hooks/useMedia.js.map +7 -0
- package/_/hooks/usePressable.js +14 -0
- package/_/hooks/usePressable.js.map +7 -0
- package/_/hooks/useTheme.js +94 -0
- package/_/hooks/useTheme.js.map +7 -0
- package/_/index.js +30 -0
- package/_/index.js.map +7 -0
- package/_/static/postProcessStyles.js +18 -0
- package/_/static/postProcessStyles.js.map +7 -0
- package/_/static.js +12 -0
- package/_/static.js.map +7 -0
- package/_/styled.js +21 -0
- package/_/styled.js.map +7 -0
- package/_/types.js +1 -0
- package/_/types.js.map +7 -0
- package/_/views/Animated.js +79 -0
- package/_/views/Animated.js.map +7 -0
- package/_/views/Stack.js +12 -0
- package/_/views/Stack.js.map +7 -0
- package/_/views/Text.js +60 -0
- package/_/views/Text.js.map +7 -0
- package/_/views/TextAncestorContext.js +19 -0
- package/_/views/TextAncestorContext.js.map +7 -0
- package/_/views/Theme.js +57 -0
- package/_/views/Theme.js.map +7 -0
- package/_/views/ThemeContext.js +6 -0
- package/_/views/ThemeContext.js.map +7 -0
- package/_/views/ThemeInverse.js +27 -0
- package/_/views/ThemeInverse.js.map +7 -0
- package/_/views/ThemeManagerContext.js +56 -0
- package/_/views/ThemeManagerContext.js.map +7 -0
- package/_/views/ThemeProvider.js +45 -0
- package/_/views/ThemeProvider.js.map +7 -0
- package/dist/constants/constants.js +14 -0
- package/dist/constants/constants.js.map +7 -0
- package/dist/constants/platform.js +19 -0
- package/dist/constants/platform.js.map +7 -0
- package/dist/constants/pseudos.js +18 -0
- package/dist/constants/pseudos.js.map +7 -0
- package/dist/constants/rnw.js +22 -0
- package/dist/constants/rnw.js.map +7 -0
- package/dist/constants/styleConstants.js +46 -0
- package/dist/constants/styleConstants.js.map +7 -0
- package/dist/createComponent.js +445 -0
- package/dist/createComponent.js.map +7 -0
- package/dist/createFont.js +24 -0
- package/dist/createFont.js.map +7 -0
- package/dist/createShorthands.js +10 -0
- package/dist/createShorthands.js.map +7 -0
- package/dist/createTamagui.js +159 -0
- package/dist/createTamagui.js.map +7 -0
- package/dist/createTheme.js +20 -0
- package/dist/createTheme.js.map +7 -0
- package/dist/createTokens.js +29 -0
- package/dist/createTokens.js.map +7 -0
- package/dist/createVariable.js +22 -0
- package/dist/createVariable.js.map +7 -0
- package/dist/helpers/addStylesUsingClassname.js +57 -0
- package/dist/helpers/addStylesUsingClassname.js.map +7 -0
- package/dist/helpers/createMediaStyle.js +34 -0
- package/dist/helpers/createMediaStyle.js.map +7 -0
- package/dist/helpers/createPropMapper.js +153 -0
- package/dist/helpers/createPropMapper.js.map +7 -0
- package/dist/helpers/createTamaguiProvider.js +25 -0
- package/dist/helpers/createTamaguiProvider.js.map +7 -0
- package/dist/helpers/extendStaticConfig.js +59 -0
- package/dist/helpers/extendStaticConfig.js.map +7 -0
- package/dist/helpers/fixNativeShadow.js +8 -0
- package/dist/helpers/fixNativeShadow.js.map +7 -0
- package/dist/helpers/fixNativeShadow.native.js +30 -0
- package/dist/helpers/fixNativeShadow.native.js.map +7 -0
- package/dist/helpers/getSplitStyles.js +160 -0
- package/dist/helpers/getSplitStyles.js.map +7 -0
- package/dist/helpers/getStylesAtomic.js +83 -0
- package/dist/helpers/getStylesAtomic.js.map +7 -0
- package/dist/helpers/getStylesAtomic.native.js +10 -0
- package/dist/helpers/getStylesAtomic.native.js.map +7 -0
- package/dist/helpers/insertStyleRule.js +24 -0
- package/dist/helpers/insertStyleRule.js.map +7 -0
- package/dist/helpers/isObj.js +7 -0
- package/dist/helpers/isObj.js.map +7 -0
- package/dist/helpers/matchMedia.js +15 -0
- package/dist/helpers/matchMedia.js.map +7 -0
- package/dist/helpers/matchMedia.native.js +8 -0
- package/dist/helpers/matchMedia.native.js.map +7 -0
- package/dist/helpers/pseudos.js +1 -0
- package/dist/helpers/pseudos.js.map +7 -0
- package/dist/helpers/themeable.js +26 -0
- package/dist/helpers/themeable.js.map +7 -0
- package/dist/hooks/useConstant.js +15 -0
- package/dist/hooks/useConstant.js.map +7 -0
- package/dist/hooks/useFeatures.js +75 -0
- package/dist/hooks/useFeatures.js.map +7 -0
- package/dist/hooks/useForceUpdate.js +28 -0
- package/dist/hooks/useForceUpdate.js.map +7 -0
- package/dist/hooks/useMedia.js +171 -0
- package/dist/hooks/useMedia.js.map +7 -0
- package/dist/hooks/usePressable.js +13 -0
- package/dist/hooks/usePressable.js.map +7 -0
- package/dist/hooks/useTheme.js +93 -0
- package/dist/hooks/useTheme.js.map +7 -0
- package/dist/index.cjs +2125 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +7 -0
- package/dist/packages/core/src/constants/constants.d.ts +8 -0
- package/dist/packages/core/src/constants/constants.d.ts.map +1 -0
- package/dist/packages/core/src/constants/platform.d.ts +9 -0
- package/dist/packages/core/src/constants/platform.d.ts.map +1 -0
- package/dist/packages/core/src/constants/pseudos.d.ts +15 -0
- package/dist/packages/core/src/constants/pseudos.d.ts.map +1 -0
- package/dist/packages/core/src/constants/rnw.d.ts +2 -0
- package/dist/packages/core/src/constants/rnw.d.ts.map +1 -0
- package/dist/packages/core/src/createComponent.d.ts +16 -0
- package/dist/packages/core/src/createComponent.d.ts.map +1 -0
- package/dist/packages/core/src/createShorthands.d.ts +2 -0
- package/dist/packages/core/src/createShorthands.d.ts.map +1 -0
- package/dist/packages/core/src/createTamagui.d.ts +37 -0
- package/dist/packages/core/src/createTamagui.d.ts.map +1 -0
- package/dist/packages/core/src/createTheme.d.ts +5 -0
- package/dist/packages/core/src/createTheme.d.ts.map +1 -0
- package/dist/packages/core/src/createTokens.d.ts +45 -0
- package/dist/packages/core/src/createTokens.d.ts.map +1 -0
- package/dist/packages/core/src/createVariable.d.ts +14 -0
- package/dist/packages/core/src/createVariable.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/addStylesUsingClassname.d.ts +2 -0
- package/dist/packages/core/src/helpers/addStylesUsingClassname.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/createMediaStyle.d.ts +8 -0
- package/dist/packages/core/src/helpers/createMediaStyle.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/createTamaguiProvider.d.ts +5 -0
- package/dist/packages/core/src/helpers/createTamaguiProvider.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/extendStaticConfig.d.ts +5 -0
- package/dist/packages/core/src/helpers/extendStaticConfig.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/fixNativeShadow.d.ts +2 -0
- package/dist/packages/core/src/helpers/fixNativeShadow.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/fixNativeShadow.native.d.ts +2 -0
- package/dist/packages/core/src/helpers/fixNativeShadow.native.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/getSplitStyles.d.ts +15 -0
- package/dist/packages/core/src/helpers/getSplitStyles.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/getStylesAtomic.d.ts +3 -0
- package/dist/packages/core/src/helpers/getStylesAtomic.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/getStylesAtomic.native.d.ts +2 -0
- package/dist/packages/core/src/helpers/getStylesAtomic.native.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/insertStyleRule.d.ts +2 -0
- package/dist/packages/core/src/helpers/insertStyleRule.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/matchMedia.d.ts +2 -0
- package/dist/packages/core/src/helpers/matchMedia.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/matchMedia.native.d.ts +3 -0
- package/dist/packages/core/src/helpers/matchMedia.native.d.ts.map +1 -0
- package/dist/packages/core/src/helpers/themeable.d.ts +10 -0
- package/dist/packages/core/src/helpers/themeable.d.ts.map +1 -0
- package/dist/packages/core/src/hooks/useConstant.d.ts +2 -0
- package/dist/packages/core/src/hooks/useConstant.d.ts.map +1 -0
- package/dist/packages/core/src/hooks/useFeatures.d.ts +5 -0
- package/dist/packages/core/src/hooks/useFeatures.d.ts.map +1 -0
- package/dist/packages/core/src/hooks/useForceUpdate.d.ts +2 -0
- package/dist/packages/core/src/hooks/useForceUpdate.d.ts.map +1 -0
- package/dist/packages/core/src/hooks/useMedia.d.ts +16 -0
- package/dist/packages/core/src/hooks/useMedia.d.ts.map +1 -0
- package/dist/packages/core/src/hooks/usePressable.d.ts +3 -0
- package/dist/packages/core/src/hooks/usePressable.d.ts.map +1 -0
- package/dist/packages/core/src/hooks/useTheme.d.ts +18 -0
- package/dist/packages/core/src/hooks/useTheme.d.ts.map +1 -0
- package/dist/packages/core/src/index.d.ts +27 -0
- package/dist/packages/core/src/index.d.ts.map +1 -0
- package/dist/packages/core/src/static/postProcessStyles.d.ts +7 -0
- package/dist/packages/core/src/static/postProcessStyles.d.ts.map +1 -0
- package/dist/packages/core/src/static.d.ts +12 -0
- package/dist/packages/core/src/static.d.ts.map +1 -0
- package/dist/packages/core/src/styled.d.ts +16 -0
- package/dist/packages/core/src/styled.d.ts.map +1 -0
- package/dist/packages/core/src/types.d.ts +305 -0
- package/dist/packages/core/src/types.d.ts.map +1 -0
- package/dist/packages/core/src/views/Animated.d.ts +15 -0
- package/dist/packages/core/src/views/Animated.d.ts.map +1 -0
- package/dist/packages/core/src/views/Stack.d.ts +3 -0
- package/dist/packages/core/src/views/Stack.d.ts.map +1 -0
- package/dist/packages/core/src/views/Text.d.ts +3 -0
- package/dist/packages/core/src/views/Text.d.ts.map +1 -0
- package/dist/packages/core/src/views/TextAncestorContext.d.ts +3 -0
- package/dist/packages/core/src/views/TextAncestorContext.d.ts.map +1 -0
- package/dist/packages/core/src/views/Theme.d.ts +8 -0
- package/dist/packages/core/src/views/Theme.d.ts.map +1 -0
- package/dist/packages/core/src/views/ThemeContext.d.ts +18 -0
- package/dist/packages/core/src/views/ThemeContext.d.ts.map +1 -0
- package/dist/packages/core/src/views/ThemeInverse.d.ts +10 -0
- package/dist/packages/core/src/views/ThemeInverse.d.ts.map +1 -0
- package/dist/packages/core/src/views/ThemeManagerContext.d.ts +15 -0
- package/dist/packages/core/src/views/ThemeManagerContext.d.ts.map +1 -0
- package/dist/packages/core/src/views/ThemeProvider.d.ts +10 -0
- package/dist/packages/core/src/views/ThemeProvider.d.ts.map +1 -0
- package/dist/packages/helpers/src/AllRules.d.ts +3 -0
- package/dist/packages/helpers/src/AllRules.d.ts.map +1 -0
- package/dist/packages/helpers/src/concatClassName.d.ts +2 -0
- package/dist/packages/helpers/src/concatClassName.d.ts.map +1 -0
- package/dist/packages/helpers/src/index.d.ts +5 -0
- package/dist/packages/helpers/src/index.d.ts.map +1 -0
- package/dist/packages/helpers/src/types.d.ts +8 -0
- package/dist/packages/helpers/src/types.d.ts.map +1 -0
- package/dist/packages/helpers/src/validStyleProps.d.ts +475 -0
- package/dist/packages/helpers/src/validStyleProps.d.ts.map +1 -0
- package/dist/static/postProcessStyles.js +18 -0
- package/dist/static/postProcessStyles.js.map +7 -0
- package/dist/static.js +15 -0
- package/dist/static.js.map +7 -0
- package/dist/styled.js +21 -0
- package/dist/styled.js.map +7 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +7 -0
- package/dist/views/Animated.js +79 -0
- package/dist/views/Animated.js.map +7 -0
- package/dist/views/SafeAreaProvider.js +30 -0
- package/dist/views/SafeAreaProvider.js.map +7 -0
- package/dist/views/Stack.js +12 -0
- package/dist/views/Stack.js.map +7 -0
- package/dist/views/Text.js +60 -0
- package/dist/views/Text.js.map +7 -0
- package/dist/views/TextAncestorContext.js +18 -0
- package/dist/views/TextAncestorContext.js.map +7 -0
- package/dist/views/Theme.js +56 -0
- package/dist/views/Theme.js.map +7 -0
- package/dist/views/ThemeContext.js +6 -0
- package/dist/views/ThemeContext.js.map +7 -0
- package/dist/views/ThemeInverse.js +27 -0
- package/dist/views/ThemeInverse.js.map +7 -0
- package/dist/views/ThemeManagerContext.js +55 -0
- package/dist/views/ThemeManagerContext.js.map +7 -0
- package/dist/views/ThemeProvider.js +45 -0
- package/dist/views/ThemeProvider.js.map +7 -0
- package/package.json +33 -0
- package/src/constants/constants.ts +12 -0
- package/src/constants/platform.ts +15 -0
- package/src/constants/pseudos.ts +14 -0
- package/src/constants/rnw.tsx +20 -0
- package/src/createComponent.tsx +596 -0
- package/src/createFont.ts +26 -0
- package/src/createShorthands.ts +5 -0
- package/src/createTamagui.ts +207 -0
- package/src/createTheme.ts +19 -0
- package/src/createTokens.ts +83 -0
- package/src/createVariable.ts +22 -0
- package/src/helpers/addStylesUsingClassname.tsx +60 -0
- package/src/helpers/createMediaStyle.ts +46 -0
- package/src/helpers/createPropMapper.ts +184 -0
- package/src/helpers/createTamaguiProvider.tsx +22 -0
- package/src/helpers/extendStaticConfig.ts +68 -0
- package/src/helpers/fixNativeShadow.native.tsx +27 -0
- package/src/helpers/fixNativeShadow.tsx +2 -0
- package/src/helpers/getSplitStyles.tsx +210 -0
- package/src/helpers/getStylesAtomic.native.ts +3 -0
- package/src/helpers/getStylesAtomic.ts +103 -0
- package/src/helpers/insertStyleRule.tsx +18 -0
- package/src/helpers/isObj.ts +1 -0
- package/src/helpers/matchMedia.native.ts +3 -0
- package/src/helpers/matchMedia.ts +9 -0
- package/src/helpers/themeable.tsx +42 -0
- package/src/hooks/useConstant.tsx +10 -0
- package/src/hooks/useFeatures.tsx +78 -0
- package/src/hooks/useForceUpdate.tsx +26 -0
- package/src/hooks/useMedia.tsx +194 -0
- package/src/hooks/usePressable.tsx +9 -0
- package/src/hooks/useTheme.tsx +107 -0
- package/src/index.ts +33 -0
- package/src/static/postProcessStyles.tsx +20 -0
- package/src/static.ts +22 -0
- package/src/styled.ts +82 -0
- package/src/types.tsx +561 -0
- package/src/views/Animated.tsx +121 -0
- package/src/views/SafeAreaProvider.tsx +33 -0
- package/src/views/Stack.tsx +21 -0
- package/src/views/Text.tsx +66 -0
- package/src/views/TextAncestorContext.tsx +12 -0
- package/src/views/Theme.tsx +73 -0
- package/src/views/ThemeContext.tsx +5 -0
- package/src/views/ThemeInverse.tsx +23 -0
- package/src/views/ThemeManagerContext.tsx +50 -0
- package/src/views/ThemeProvider.tsx +52 -0
- package/tsconfig.json +8 -0
- package/types.d.ts +558 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TextProps } from '../types';
|
|
2
|
+
export declare const Text: import("../types").StaticComponent<TextProps<import("../types").TextStyleProps<import("../types").WithThemeValues<Omit<import("react-native").TextStyle, "backfaceVisibility" | "display"> & import("../types").TransformStyleProps>>>, void, import("../types").StaticConfigParsed, any>;
|
|
3
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/Text.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AASpC,eAAO,MAAM,IAAI,2RAqDf,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextAncestorContext.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/TextAncestorContext.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,KAA2B,CAAA;AAE3D,eAAO,MAAM,oBAAoB,qBAKhC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/Theme.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAU,MAAM,UAAU,CAAA;AAI5C,oBAAY,UAAU,GAAG;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,IAAI,EAAE,SAAS,GAAG,IAAI,CAAA;IACtB,QAAQ,CAAC,EAAE,GAAG,CAAA;CACf,CAAA;AAED,eAAO,MAAM,KAAK,UAAW,UAAU,QAyDtC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ThemeContext: import("react").Context<{
|
|
3
|
+
[key: string]: {
|
|
4
|
+
bg: string | import("..").Variable;
|
|
5
|
+
bg2: string | import("..").Variable;
|
|
6
|
+
bg3: string | import("..").Variable;
|
|
7
|
+
bg4: string | import("..").Variable;
|
|
8
|
+
color: string | import("..").Variable;
|
|
9
|
+
color2: string | import("..").Variable;
|
|
10
|
+
color3: string | import("..").Variable;
|
|
11
|
+
color4: string | import("..").Variable;
|
|
12
|
+
borderColor: string | import("..").Variable;
|
|
13
|
+
borderColor2: string | import("..").Variable;
|
|
14
|
+
shadowColor: string | import("..").Variable;
|
|
15
|
+
shadowColor2: string | import("..").Variable;
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/ThemeContext.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;EAAqC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type StringRecord = {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function setThemeInversions(next: StringRecord): void;
|
|
6
|
+
export declare const ThemeInverse: (props: {
|
|
7
|
+
children: any;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ThemeInverse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeInverse.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/ThemeInverse.tsx"],"names":[],"mappings":";AAKA,aAAK,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAO7C,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,YAAY,QAEpD;AAED,eAAO,MAAM,YAAY,UAAW;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,gBAMpD,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare class ThemeManager {
|
|
3
|
+
name: string | null;
|
|
4
|
+
keys: Map<any, Set<string>>;
|
|
5
|
+
listeners: Map<any, Function>;
|
|
6
|
+
callbacks: Set<Function>;
|
|
7
|
+
theme: null;
|
|
8
|
+
setActiveTheme(name: string | null, theme?: any): void;
|
|
9
|
+
track(uuid: any, keys: Set<string>): void;
|
|
10
|
+
update(): void;
|
|
11
|
+
onChangeTheme(cb: (name: string | null) => void): () => void;
|
|
12
|
+
onUpdate(uuid: any, cb: Function): () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const ThemeManagerContext: import("react").Context<ThemeManager>;
|
|
15
|
+
//# sourceMappingURL=ThemeManagerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeManagerContext.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/ThemeManagerContext.tsx"],"names":[],"mappings":";AAEA,qBAAa,YAAY;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAU;IAC7B,IAAI,wBAA8B;IAClC,SAAS,qBAA2B;IACpC,SAAS,gBAAsB;IAC/B,KAAK,OAAO;IAEZ,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,GAAG;IAO/C,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC;IAKlC,MAAM;IAYN,aAAa,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI;IAO/C,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ;CAOjC;AAED,eAAO,MAAM,mBAAmB,uCAAkD,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type ThemeProviderProps = {
|
|
3
|
+
themes: any;
|
|
4
|
+
defaultTheme: string;
|
|
5
|
+
disableRootThemeClass?: boolean;
|
|
6
|
+
children?: any;
|
|
7
|
+
};
|
|
8
|
+
export declare const GET_DEFAULT_THEME = "___TGUI";
|
|
9
|
+
export declare const ThemeProvider: (props: ThemeProviderProps) => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../Users/n8/tamagui/packages/core/src/views/ThemeProvider.tsx"],"names":[],"mappings":";AAOA,oBAAY,kBAAkB,GAAG;IAC/B,MAAM,EAAE,GAAG,CAAA;IACX,YAAY,EAAE,MAAM,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,GAAG,CAAA;CACf,CAAA;AAED,eAAO,MAAM,iBAAiB,YAAY,CAAA;AAE1C,eAAO,MAAM,aAAa,UAAW,kBAAkB,gBAmCtD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,475 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { getSplitStyles } from "../helpers/getSplitStyles";
|
|
4
|
+
const postProcessStyles = /* @__PURE__ */ __name((inStyles, staticConfig, theme) => {
|
|
5
|
+
const { style, viewProps, pseudos, classNames } = getSplitStyles(inStyles, staticConfig, theme);
|
|
6
|
+
const next = {};
|
|
7
|
+
for (const s of style) {
|
|
8
|
+
if (!s)
|
|
9
|
+
continue;
|
|
10
|
+
Object.assign(next, s);
|
|
11
|
+
}
|
|
12
|
+
Object.assign(next, pseudos);
|
|
13
|
+
return { style: next, viewProps, classNames };
|
|
14
|
+
}, "postProcessStyles");
|
|
15
|
+
export {
|
|
16
|
+
postProcessStyles
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=postProcessStyles.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/static/postProcessStyles.tsx"],
|
|
4
|
+
"sourcesContent": ["import { getSplitStyles } from '../helpers/getSplitStyles'\nimport { StaticConfigParsed, TamaguiInternalConfig, ThemeObject } from '../types'\n\n// used only by static extractor\n\nexport const postProcessStyles = (\n inStyles: any,\n staticConfig: StaticConfigParsed,\n theme: ThemeObject\n) => {\n const { style, viewProps, pseudos, classNames } = getSplitStyles(inStyles, staticConfig, theme)\n // flattening\n const next = {}\n for (const s of style) {\n if (!s) continue\n Object.assign(next, s)\n }\n Object.assign(next, pseudos)\n return { style: next, viewProps, classNames }\n}\n"],
|
|
5
|
+
"mappings": ";;AAAA;AAKO,MAAM,oBAAoB,wBAC/B,UACA,cACA,UACG;AACH,QAAM,EAAE,OAAO,WAAW,SAAS,eAAe,eAAe,UAAU,cAAc;AAEzF,QAAM,OAAO;AACb,aAAW,KAAK,OAAO;AACrB,QAAI,CAAC;AAAG;AACR,WAAO,OAAO,MAAM;AAAA;AAEtB,SAAO,OAAO,MAAM;AACpB,SAAO,EAAE,OAAO,MAAM,WAAW;AAAA,GAbF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/static.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./styled";
|
|
2
|
+
export * from "./createComponent";
|
|
3
|
+
export * from "./createFont";
|
|
4
|
+
export * from "./createTokens";
|
|
5
|
+
export * from "./createTamagui";
|
|
6
|
+
export * from "./constants/constants";
|
|
7
|
+
export * from "./hooks/useMedia";
|
|
8
|
+
export * from "./hooks/useTheme";
|
|
9
|
+
export * from "./helpers/isObj";
|
|
10
|
+
export * from "./helpers/getStylesAtomic";
|
|
11
|
+
export * from "./helpers/getSplitStyles";
|
|
12
|
+
export * from "@tamagui/helpers";
|
|
13
|
+
export * from "./constants/pseudos";
|
|
14
|
+
export * from "./static/postProcessStyles";
|
|
15
|
+
//# sourceMappingURL=static.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/static.ts"],
|
|
4
|
+
"sourcesContent": ["// only stuff that gets extracted or needed by tamagui-static\n\nexport * from './styled'\nexport * from './createComponent'\nexport * from './createFont'\nexport * from './createTokens'\nexport * from './createTamagui'\nexport * from './constants/constants'\n\nexport * from './hooks/useMedia'\nexport * from './hooks/useTheme'\n\nexport * from './helpers/isObj'\nexport * from './helpers/getStylesAtomic'\nexport * from './helpers/getSplitStyles'\nexport * from '@tamagui/helpers'\n\nexport * from './constants/pseudos'\n\n// -- below exports are only bundled compile-time --\n\nexport * from './static/postProcessStyles'\n"],
|
|
5
|
+
"mappings": "AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAIA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|