@tamagui/core 1.0.1-beta.68 → 1.0.1-beta.71

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.
Files changed (219) hide show
  1. package/dist/cjs/constants/rnw.js +2 -13
  2. package/dist/cjs/constants/rnw.js.map +2 -2
  3. package/dist/cjs/createComponent.js +29 -22
  4. package/dist/cjs/createComponent.js.map +2 -2
  5. package/dist/cjs/helpers/createPropMapper.js +3 -0
  6. package/dist/cjs/helpers/createPropMapper.js.map +2 -2
  7. package/dist/cjs/helpers/generateAtomicStyles.js +133 -89
  8. package/dist/cjs/helpers/generateAtomicStyles.js.map +2 -2
  9. package/dist/cjs/helpers/getSplitStyles.js +22 -20
  10. package/dist/cjs/helpers/getSplitStyles.js.map +2 -2
  11. package/dist/cjs/helpers/getStylesAtomic.js +22 -67
  12. package/dist/cjs/helpers/getStylesAtomic.js.map +2 -2
  13. package/dist/cjs/helpers/pseudos.js.map +1 -1
  14. package/dist/cjs/views/Text.js +2 -1
  15. package/dist/cjs/views/Text.js.map +2 -2
  16. package/dist/esm/constants/rnw.js +2 -13
  17. package/dist/esm/constants/rnw.js.map +2 -2
  18. package/dist/esm/createComponent.js +29 -22
  19. package/dist/esm/createComponent.js.map +2 -2
  20. package/dist/esm/helpers/createPropMapper.js +3 -0
  21. package/dist/esm/helpers/createPropMapper.js.map +2 -2
  22. package/dist/esm/helpers/generateAtomicStyles.js +133 -89
  23. package/dist/esm/helpers/generateAtomicStyles.js.map +2 -2
  24. package/dist/esm/helpers/getSplitStyles.js +22 -21
  25. package/dist/esm/helpers/getSplitStyles.js.map +2 -2
  26. package/dist/esm/helpers/getStylesAtomic.js +22 -67
  27. package/dist/esm/helpers/getStylesAtomic.js.map +2 -2
  28. package/dist/esm/helpers/pseudos.js.map +1 -1
  29. package/dist/esm/views/Text.js +2 -1
  30. package/dist/esm/views/Text.js.map +2 -2
  31. package/dist/jsx/constants/rnw.js +2 -13
  32. package/dist/jsx/createComponent.js +29 -22
  33. package/dist/jsx/helpers/createPropMapper.js +3 -0
  34. package/dist/jsx/helpers/generateAtomicStyles.js +133 -89
  35. package/dist/jsx/helpers/getSplitStyles.js +22 -21
  36. package/dist/jsx/helpers/getStylesAtomic.js +22 -67
  37. package/dist/jsx/views/Text.js +2 -1
  38. package/package.json +6 -6
  39. package/reset.css +0 -1
  40. package/types/Pressability.d.ts +0 -0
  41. package/types/Pressability.d.ts.map +0 -0
  42. package/types/Pressability.native.d.ts +0 -0
  43. package/types/Pressability.native.d.ts.map +0 -0
  44. package/types/Tamagui.d.ts +0 -0
  45. package/types/Tamagui.d.ts.map +0 -0
  46. package/types/ThemeContext.d.ts +0 -0
  47. package/types/ThemeContext.d.ts.map +0 -0
  48. package/types/ThemeManager.d.ts +0 -0
  49. package/types/ThemeManager.d.ts.map +0 -0
  50. package/types/conf.d.ts +0 -0
  51. package/types/conf.d.ts.map +0 -0
  52. package/types/constants/constants.d.ts +0 -0
  53. package/types/constants/constants.d.ts.map +0 -0
  54. package/types/constants/platform.d.ts +0 -0
  55. package/types/constants/platform.d.ts.map +0 -0
  56. package/types/constants/rnw.d.ts +0 -0
  57. package/types/constants/rnw.d.ts.map +1 -1
  58. package/types/contexts/ButtonInsideButtonContext.d.ts +0 -0
  59. package/types/contexts/ButtonInsideButtonContext.d.ts.map +0 -0
  60. package/types/createComponent.d.ts +0 -0
  61. package/types/createComponent.d.ts.map +1 -1
  62. package/types/createFont.d.ts +0 -0
  63. package/types/createFont.d.ts.map +0 -0
  64. package/types/createShorthands.d.ts +0 -0
  65. package/types/createShorthands.d.ts.map +0 -0
  66. package/types/createTamagui.d.ts +0 -0
  67. package/types/createTamagui.d.ts.map +0 -0
  68. package/types/createTheme.d.ts +0 -0
  69. package/types/createTheme.d.ts.map +0 -0
  70. package/types/createTokens.d.ts +0 -0
  71. package/types/createTokens.d.ts.map +0 -0
  72. package/types/createVariable.d.ts +0 -0
  73. package/types/createVariable.d.ts.map +0 -0
  74. package/types/createVariables.d.ts +0 -0
  75. package/types/createVariables.d.ts.map +0 -0
  76. package/types/defaultComponentState.d.ts +0 -0
  77. package/types/defaultComponentState.d.ts.map +0 -0
  78. package/types/helpers/RNComponents.d.ts +0 -0
  79. package/types/helpers/RNComponents.d.ts.map +0 -0
  80. package/types/helpers/areEqualSets.d.ts +0 -0
  81. package/types/helpers/areEqualSets.d.ts.map +0 -0
  82. package/types/helpers/calc.d.ts +0 -0
  83. package/types/helpers/calc.d.ts.map +0 -0
  84. package/types/helpers/createMediaStyle.d.ts +0 -0
  85. package/types/helpers/createMediaStyle.d.ts.map +0 -0
  86. package/types/helpers/createPropMapper.d.ts +0 -0
  87. package/types/helpers/createPropMapper.d.ts.map +0 -0
  88. package/types/helpers/createShallowUpdate.d.ts +0 -0
  89. package/types/helpers/createShallowUpdate.d.ts.map +0 -0
  90. package/types/helpers/createTamaguiProvider.d.ts +0 -0
  91. package/types/helpers/createTamaguiProvider.d.ts.map +0 -0
  92. package/types/helpers/extendStaticConfig.d.ts +0 -0
  93. package/types/helpers/extendStaticConfig.d.ts.map +0 -0
  94. package/types/helpers/fixNativeShadow.d.ts +0 -0
  95. package/types/helpers/fixNativeShadow.d.ts.map +0 -0
  96. package/types/helpers/fixNativeShadow.native.d.ts +0 -0
  97. package/types/helpers/fixNativeShadow.native.d.ts.map +0 -0
  98. package/types/helpers/generateAtomicStyles.d.ts +3 -12
  99. package/types/helpers/generateAtomicStyles.d.ts.map +1 -1
  100. package/types/helpers/getExpandedShorthands.d.ts +0 -0
  101. package/types/helpers/getExpandedShorthands.d.ts.map +0 -0
  102. package/types/helpers/getSize.d.ts +0 -0
  103. package/types/helpers/getSize.d.ts.map +0 -0
  104. package/types/helpers/getSplitStyles.d.ts +6 -0
  105. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  106. package/types/helpers/getStackSize.d.ts +0 -0
  107. package/types/helpers/getStackSize.d.ts.map +0 -0
  108. package/types/helpers/getStylesAtomic.d.ts +0 -5
  109. package/types/helpers/getStylesAtomic.d.ts.map +1 -1
  110. package/types/helpers/getStylesAtomic.native.d.ts +0 -0
  111. package/types/helpers/getStylesAtomic.native.d.ts.map +0 -0
  112. package/types/helpers/getTextSize.d.ts +0 -0
  113. package/types/helpers/getTextSize.d.ts.map +0 -0
  114. package/types/helpers/getVariantExtras.d.ts +0 -0
  115. package/types/helpers/getVariantExtras.d.ts.map +0 -0
  116. package/types/helpers/insertStyleRule.d.ts +0 -0
  117. package/types/helpers/insertStyleRule.d.ts.map +0 -0
  118. package/types/helpers/isObj.d.ts +0 -0
  119. package/types/helpers/isObj.d.ts.map +0 -0
  120. package/types/helpers/isTamaguiComponent.d.ts +0 -0
  121. package/types/helpers/isTamaguiComponent.d.ts.map +0 -0
  122. package/types/helpers/isTamaguiElement.d.ts +0 -0
  123. package/types/helpers/isTamaguiElement.d.ts.map +0 -0
  124. package/types/helpers/matchMedia.d.ts +0 -0
  125. package/types/helpers/matchMedia.d.ts.map +0 -0
  126. package/types/helpers/matchMedia.native.d.ts +0 -0
  127. package/types/helpers/matchMedia.native.d.ts.map +0 -0
  128. package/types/helpers/mergeProps.d.ts +0 -0
  129. package/types/helpers/mergeProps.d.ts.map +0 -0
  130. package/types/helpers/mergeTransform.d.ts +0 -0
  131. package/types/helpers/mergeTransform.d.ts.map +0 -0
  132. package/types/helpers/nativeGestureHandler.native.d.ts +0 -0
  133. package/types/helpers/nativeGestureHandler.native.d.ts.map +0 -0
  134. package/types/helpers/proxyThemeVariables.d.ts +0 -0
  135. package/types/helpers/proxyThemeVariables.d.ts.map +0 -0
  136. package/types/helpers/pseudos.d.ts +1 -0
  137. package/types/helpers/pseudos.d.ts.map +1 -1
  138. package/types/helpers/registerCSSVariable.d.ts +0 -0
  139. package/types/helpers/registerCSSVariable.d.ts.map +0 -0
  140. package/types/helpers/themeable.d.ts +0 -0
  141. package/types/helpers/themeable.d.ts.map +0 -0
  142. package/types/helpers/validate.d.ts +0 -0
  143. package/types/helpers/validate.d.ts.map +0 -0
  144. package/types/helpers/withStaticProperties.d.ts +0 -0
  145. package/types/helpers/withStaticProperties.d.ts.map +0 -0
  146. package/types/helpers/wrapThemeManagerContext.d.ts +0 -0
  147. package/types/helpers/wrapThemeManagerContext.d.ts.map +0 -0
  148. package/types/hooks/useConstant.d.ts +0 -0
  149. package/types/hooks/useConstant.d.ts.map +0 -0
  150. package/types/hooks/useFeatures.d.ts +0 -0
  151. package/types/hooks/useFeatures.d.ts.map +0 -0
  152. package/types/hooks/useId.d.ts +0 -0
  153. package/types/hooks/useId.d.ts.map +0 -0
  154. package/types/hooks/useIsMounted.d.ts +0 -0
  155. package/types/hooks/useIsMounted.d.ts.map +0 -0
  156. package/types/hooks/useIsTouchDevice.d.ts +0 -0
  157. package/types/hooks/useIsTouchDevice.d.ts.map +0 -0
  158. package/types/hooks/useMedia.d.ts +0 -0
  159. package/types/hooks/useMedia.d.ts.map +0 -0
  160. package/types/hooks/usePressable.d.ts +0 -0
  161. package/types/hooks/usePressable.d.ts.map +0 -0
  162. package/types/hooks/usePrevious.d.ts +0 -0
  163. package/types/hooks/usePrevious.d.ts.map +0 -0
  164. package/types/hooks/useTheme.d.ts +0 -0
  165. package/types/hooks/useTheme.d.ts.map +0 -0
  166. package/types/hooks/useUnmountEffect.d.ts +0 -0
  167. package/types/hooks/useUnmountEffect.d.ts.map +0 -0
  168. package/types/index.d.ts +0 -0
  169. package/types/index.d.ts.map +0 -0
  170. package/types/insertFont.d.ts +0 -0
  171. package/types/insertFont.d.ts.map +0 -0
  172. package/types/static.d.ts +0 -0
  173. package/types/static.d.ts.map +0 -0
  174. package/types/styled.d.ts +0 -0
  175. package/types/styled.d.ts.map +0 -0
  176. package/types/types-rnw.d.ts +0 -0
  177. package/types/types-rnw.d.ts.map +0 -0
  178. package/types/types.d.ts +0 -0
  179. package/types/types.d.ts.map +0 -0
  180. package/types/views/Slot.d.ts +0 -0
  181. package/types/views/Slot.d.ts.map +0 -0
  182. package/types/views/Stack.d.ts +0 -0
  183. package/types/views/Stack.d.ts.map +0 -0
  184. package/types/views/Text.d.ts +0 -0
  185. package/types/views/Text.d.ts.map +1 -1
  186. package/types/views/TextAncestorContext.d.ts +0 -0
  187. package/types/views/TextAncestorContext.d.ts.map +0 -0
  188. package/types/views/Theme.d.ts +0 -0
  189. package/types/views/Theme.d.ts.map +0 -0
  190. package/types/views/ThemeInverse.d.ts +0 -0
  191. package/types/views/ThemeInverse.d.ts.map +0 -0
  192. package/types/views/ThemeProvider.d.ts +0 -0
  193. package/types/views/ThemeProvider.d.ts.map +0 -0
  194. package/types/views/ThemeReset.d.ts +0 -0
  195. package/types/views/ThemeReset.d.ts.map +0 -0
  196. package/dist/cjs/helpers/nativeGestureHandler.js +0 -29
  197. package/dist/cjs/helpers/nativeGestureHandler.js.map +0 -7
  198. package/dist/cjs/helpers/prefixStyles.js +0 -192
  199. package/dist/cjs/helpers/prefixStyles.js.map +0 -7
  200. package/dist/cjs/nativeGestureHandler.native.js +0 -18
  201. package/dist/cjs/nativeGestureHandler.native.js.map +0 -7
  202. package/dist/cjs/registerCSSVariable.js +0 -41
  203. package/dist/cjs/registerCSSVariable.js.map +0 -7
  204. package/dist/esm/helpers/nativeGestureHandler.js +0 -7
  205. package/dist/esm/helpers/nativeGestureHandler.js.map +0 -7
  206. package/dist/esm/helpers/prefixStyles.js +0 -166
  207. package/dist/esm/helpers/prefixStyles.js.map +0 -7
  208. package/dist/esm/nativeGestureHandler.native.js +0 -2
  209. package/dist/esm/nativeGestureHandler.native.js.map +0 -7
  210. package/dist/esm/registerCSSVariable.js +0 -17
  211. package/dist/esm/registerCSSVariable.js.map +0 -7
  212. package/dist/jsx/helpers/nativeGestureHandler.js +0 -6
  213. package/dist/jsx/helpers/prefixStyles.js +0 -165
  214. package/dist/jsx/nativeGestureHandler.native.js +0 -1
  215. package/dist/jsx/registerCSSVariable.js +0 -16
  216. package/types/helpers/prefixStyles.d.ts +0 -5
  217. package/types/helpers/prefixStyles.d.ts.map +0 -1
  218. package/types/registerCSSVariable.d.ts +0 -5
  219. package/types/registerCSSVariable.d.ts.map +0 -1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,21 +1,12 @@
1
+ import { StyleObject } from '@tamagui/helpers';
1
2
  import { TextStyle, ViewStyle } from 'react-native';
3
+ import { PseudoDescriptor } from './pseudos';
2
4
  declare type Value = Object | Array<any> | string | number;
3
5
  export declare type Style = {
4
6
  [key: string]: Value;
5
7
  };
6
- declare type Rule = string;
7
- declare type Rules = Array<Rule>;
8
- export declare type RulesData = {
9
- property?: string;
10
- value?: string;
11
- identifier: string;
12
- rules: Rules;
13
- };
14
- declare type CompilerOutput = {
15
- [key: string]: RulesData;
16
- };
8
+ export declare const generateAtomicStyles: (style: ViewStyle & TextStyle, pseudo?: PseudoDescriptor) => StyleObject[];
17
9
  export declare function expandStyles(style: any): {};
18
- export declare const generateAtomicStyles: (style: ViewStyle & TextStyle) => CompilerOutput;
19
10
  export declare function expandStyle(key: string, value: any): any;
20
11
  export {};
21
12
  //# sourceMappingURL=generateAtomicStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateAtomicStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/generateAtomicStyles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKnD,aAAK,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM,CAAA;AAClD,oBAAY,KAAK,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAA;CAAE,CAAA;AAE5C,aAAK,IAAI,GAAG,MAAM,CAAA;AAClB,aAAK,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA;AAExB,oBAAY,SAAS,GAAG;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,KAAK,CAAA;CACb,CAAA;AAED,aAAK,cAAc,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAA;AAYlD,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,MAatC;AAYD,eAAO,MAAM,oBAAoB,UAAW,SAAS,GAAG,SAAS,KAAG,cA2BnE,CAAA;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OA8ElD"}
1
+ {"version":3,"file":"generateAtomicStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/generateAtomicStyles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAc,MAAM,kBAAkB,CAAA;AAG1D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKnD,OAAO,EAAE,gBAAgB,EAAW,MAAM,WAAW,CAAA;AAErD,aAAK,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM,CAAA;AAClD,oBAAY,KAAK,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAA;CAAE,CAAA;AAE5C,eAAO,MAAM,oBAAoB,UACxB,SAAS,GAAG,SAAS,WACnB,gBAAgB,KACxB,WAAW,EAgCb,CAAA;AAeD,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,MAwBtC;AAiHD,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OA8ElD"}
File without changes
File without changes
File without changes
File without changes
@@ -7,6 +7,7 @@ declare type StyleSplitter = (props: {
7
7
  [key: string]: any;
8
8
  }, staticConfig: StaticConfigParsed, theme: ThemeObject, state: SplitStyleState & {
9
9
  keepVariantsAsProps?: boolean;
10
+ hasTextAncestor?: boolean;
10
11
  }, defaultClassNames?: any, debug?: DebugProp) => {
11
12
  pseudos: PseudoStyles;
12
13
  medias: Record<MediaKeys, ViewStyle>;
@@ -15,6 +16,11 @@ declare type StyleSplitter = (props: {
15
16
  rulesToInsert: [string, string][];
16
17
  viewProps: StackProps;
17
18
  };
19
+ export declare const pseudoCNInverse: {
20
+ hover: string;
21
+ focus: string;
22
+ press: string;
23
+ };
18
24
  export declare const getSplitStyles: StyleSplitter;
19
25
  export declare const insertSplitStyles: StyleSplitter;
20
26
  export declare const useSplitStyles: StyleSplitter;
@@ -1 +1 @@
1
- {"version":3,"file":"getSplitStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/getSplitStyles.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,OAAO,EACL,SAAS,EACT,SAAS,EAGT,YAAY,EACZ,eAAe,EACf,UAAU,EACV,kBAAkB,EAElB,WAAW,EACZ,MAAM,UAAU,CAAA;AAajB,oBAAY,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAC3D,oBAAY,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AACrD,oBAAY,gBAAgB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AA2BhE,aAAK,aAAa,GAAG,CACnB,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAC7B,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,eAAe,GAAG;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,EACD,iBAAiB,CAAC,EAAE,GAAG,EACvB,KAAK,CAAC,EAAE,SAAS,KACd;IACH,OAAO,EAAE,YAAY,CAAA;IACrB,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;IACpC,KAAK,EAAE,SAAS,CAAA;IAChB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;IACjC,SAAS,EAAE,UAAU,CAAA;CACtB,CAAA;AASD,eAAO,MAAM,cAAc,EAAE,aAoX5B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,aAM/B,CAAA;AAID,eAAO,MAAM,cAAc,EAAE,aAQ5B,CAAA;AAED,eAAO,MAAM,WAAW,YACb,MAAM,gBACD,kBAAkB,SACzB,WAAW,SACX,GAAG,SACH,eAAe,sBACF,OAAO,KAC1B,SAeF,CAAA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,QAI9C"}
1
+ {"version":3,"file":"getSplitStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/getSplitStyles.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,OAAO,EACL,SAAS,EACT,SAAS,EAGT,YAAY,EACZ,eAAe,EACf,UAAU,EACV,kBAAkB,EAElB,WAAW,EACZ,MAAM,UAAU,CAAA;AAajB,oBAAY,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAC3D,oBAAY,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AACrD,oBAAY,gBAAgB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AA2BhE,aAAK,aAAa,GAAG,CACnB,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAC7B,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,eAAe,GAAG;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,EACD,iBAAiB,CAAC,EAAE,GAAG,EACvB,KAAK,CAAC,EAAE,SAAS,KACd;IACH,OAAO,EAAE,YAAY,CAAA;IACrB,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;IACpC,KAAK,EAAE,SAAS,CAAA;IAChB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;IACjC,SAAS,EAAE,UAAU,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AASD,eAAO,MAAM,cAAc,EAAE,aA+W5B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,aAM/B,CAAA;AAID,eAAO,MAAM,cAAc,EAAE,aAQ5B,CAAA;AAED,eAAO,MAAM,WAAW,YACb,MAAM,gBACD,kBAAkB,SACzB,WAAW,SACX,GAAG,SACH,eAAe,sBACF,OAAO,KAC1B,SAeF,CAAA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,QAI9C"}
File without changes
File without changes
@@ -8,11 +8,6 @@ export declare type ViewStyleWithPseudos = ViewStyle & {
8
8
  declare type AtomicStyleOptions = {
9
9
  splitTransforms?: boolean;
10
10
  };
11
- export declare const pseudoCNInverse: {
12
- hover: string;
13
- focus: string;
14
- press: string;
15
- };
16
11
  export declare function getStylesAtomic(stylesIn: ViewStyleWithPseudos, options?: AtomicStyleOptions): StyleObject[];
17
12
  export {};
18
13
  //# sourceMappingURL=getStylesAtomic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getStylesAtomic.d.ts","sourceRoot":"","sources":["../../src/helpers/getStylesAtomic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAQxC,oBAAY,oBAAoB,GAAG,SAAS,GAAG;IAC7C,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAED,aAAK,kBAAkB,GAAG;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAQD,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,oBAAoB,EAAE,OAAO,GAAE,kBAAuB,iBAwB/F"}
1
+ {"version":3,"file":"getStylesAtomic.d.ts","sourceRoot":"","sources":["../../src/helpers/getStylesAtomic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AASxC,oBAAY,oBAAoB,GAAG,SAAS,GAAG;IAC7C,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAED,aAAK,kBAAkB,GAAG;IAExB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAID,wBAAgB,eAAe,CAAC,QAAQ,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,kBAAkB,iBA4B3F"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -12,4 +12,5 @@ export declare const pseudos: {
12
12
  readonly priority: 3;
13
13
  };
14
14
  };
15
+ export declare type PseudoDescriptor = typeof pseudos[keyof typeof pseudos];
15
16
  //# sourceMappingURL=pseudos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pseudos.d.ts","sourceRoot":"","sources":["../../src/helpers/pseudos.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAaV,CAAA"}
1
+ {"version":3,"file":"pseudos.d.ts","sourceRoot":"","sources":["../../src/helpers/pseudos.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAaV,CAAA;AAEV,oBAAY,gBAAgB,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/types/index.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
package/types/static.d.ts CHANGED
File without changes
File without changes
package/types/styled.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
package/types/types.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/views/Text.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAI/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AASnD,eAAO,MAAM,IAAI,6EA0Df,CAAA"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/views/Text.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAI/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AASnD,eAAO,MAAM,IAAI,6EA2Df,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,29 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var nativeGestureHandler_exports = {};
20
- __export(nativeGestureHandler_exports, {
21
- BaseButton: () => BaseButton
22
- });
23
- module.exports = __toCommonJS(nativeGestureHandler_exports);
24
- const BaseButton = /* @__PURE__ */ __name((props) => props.children, "BaseButton");
25
- // Annotate the CommonJS export names for ESM import in node:
26
- 0 && (module.exports = {
27
- BaseButton
28
- });
29
- //# sourceMappingURL=nativeGestureHandler.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/nativeGestureHandler.ts"],
4
- "sourcesContent": ["export const BaseButton = (props: any) => props.children\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aAAa,wBAAC,UAAe,MAAM,UAAtB;",
6
- "names": []
7
- }
@@ -1,192 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
21
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
22
- var prefixStyles_exports = {};
23
- __export(prefixStyles_exports, {
24
- prefixInlineStyles: () => prefixInlineStyles,
25
- prefixStyles: () => prefixStyles
26
- });
27
- module.exports = __toCommonJS(prefixStyles_exports);
28
- var import_createPrefixer = __toESM(require("inline-style-prefixer/lib/createPrefixer"));
29
- var import_backgroundClip = __toESM(require("inline-style-prefixer/lib/plugins/backgroundClip"));
30
- var import_crossFade = __toESM(require("inline-style-prefixer/lib/plugins/crossFade"));
31
- var import_cursor = __toESM(require("inline-style-prefixer/lib/plugins/cursor"));
32
- var import_filter = __toESM(require("inline-style-prefixer/lib/plugins/filter"));
33
- var import_flex = __toESM(require("inline-style-prefixer/lib/plugins/flex"));
34
- var import_flexboxIE = __toESM(require("inline-style-prefixer/lib/plugins/flexboxIE"));
35
- var import_flexboxOld = __toESM(require("inline-style-prefixer/lib/plugins/flexboxOld"));
36
- var import_gradient = __toESM(require("inline-style-prefixer/lib/plugins/gradient"));
37
- var import_grid = __toESM(require("inline-style-prefixer/lib/plugins/grid"));
38
- var import_imageSet = __toESM(require("inline-style-prefixer/lib/plugins/imageSet"));
39
- var import_logical = __toESM(require("inline-style-prefixer/lib/plugins/logical"));
40
- var import_position = __toESM(require("inline-style-prefixer/lib/plugins/position"));
41
- var import_sizing = __toESM(require("inline-style-prefixer/lib/plugins/sizing"));
42
- var import_transition = __toESM(require("inline-style-prefixer/lib/plugins/transition"));
43
- const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
44
- const prefixedStyles = prefixStyles(style);
45
- Object.keys(prefixedStyles).forEach((prop) => {
46
- const value = prefixedStyles[prop];
47
- if (Array.isArray(value)) {
48
- prefixedStyles[prop] = value[value.length - 1];
49
- }
50
- });
51
- return prefixedStyles;
52
- }, "prefixInlineStyles");
53
- const w = ["Webkit"];
54
- const m = ["Moz"];
55
- const ms = ["ms"];
56
- const wm = ["Webkit", "Moz"];
57
- const wms = ["Webkit", "ms"];
58
- const wmms = ["Webkit", "Moz", "ms"];
59
- const staticData = {
60
- plugins: [
61
- import_backgroundClip.default,
62
- import_crossFade.default,
63
- import_cursor.default,
64
- import_filter.default,
65
- import_flex.default,
66
- import_flexboxIE.default,
67
- import_flexboxOld.default,
68
- import_gradient.default,
69
- import_grid.default,
70
- import_imageSet.default,
71
- import_logical.default,
72
- import_position.default,
73
- import_sizing.default,
74
- import_transition.default
75
- ],
76
- prefixMap: {
77
- animation: w,
78
- animationDelay: w,
79
- animationDirection: w,
80
- animationFillMode: w,
81
- animationDuration: w,
82
- animationIterationCount: w,
83
- animationName: w,
84
- animationPlayState: w,
85
- animationTimingFunction: w,
86
- appearance: wm,
87
- userSelect: wmms,
88
- textEmphasisPosition: w,
89
- textEmphasis: w,
90
- textEmphasisStyle: w,
91
- textEmphasisColor: w,
92
- boxDecorationBreak: w,
93
- clipPath: w,
94
- maskImage: w,
95
- maskMode: w,
96
- maskRepeat: w,
97
- maskPosition: w,
98
- maskClip: w,
99
- maskOrigin: w,
100
- maskSize: w,
101
- maskComposite: w,
102
- mask: w,
103
- maskBorderSource: w,
104
- maskBorderMode: w,
105
- maskBorderSlice: w,
106
- maskBorderWidth: w,
107
- maskBorderOutset: w,
108
- maskBorderRepeat: w,
109
- maskBorder: w,
110
- maskType: w,
111
- textDecorationStyle: w,
112
- textDecorationSkip: w,
113
- textDecorationLine: w,
114
- textDecorationColor: w,
115
- filter: w,
116
- fontFeatureSettings: w,
117
- breakAfter: wmms,
118
- breakBefore: wmms,
119
- breakInside: wmms,
120
- columnCount: wm,
121
- columnFill: wm,
122
- columnGap: wm,
123
- columnRule: wm,
124
- columnRuleColor: wm,
125
- columnRuleStyle: wm,
126
- columnRuleWidth: wm,
127
- columns: wm,
128
- columnSpan: wm,
129
- columnWidth: wm,
130
- writingMode: wms,
131
- flex: wms,
132
- flexBasis: w,
133
- flexDirection: wms,
134
- flexGrow: w,
135
- flexFlow: wms,
136
- flexShrink: w,
137
- flexWrap: wms,
138
- alignContent: w,
139
- alignItems: w,
140
- alignSelf: w,
141
- justifyContent: w,
142
- order: w,
143
- transform: w,
144
- transformOrigin: w,
145
- transformOriginX: w,
146
- transformOriginY: w,
147
- backfaceVisibility: w,
148
- perspective: w,
149
- perspectiveOrigin: w,
150
- transformStyle: w,
151
- transformOriginZ: w,
152
- backdropFilter: w,
153
- fontKerning: w,
154
- scrollSnapType: wms,
155
- scrollSnapPointsX: wms,
156
- scrollSnapPointsY: wms,
157
- scrollSnapDestination: wms,
158
- scrollSnapCoordinate: wms,
159
- shapeImageThreshold: w,
160
- shapeImageMargin: w,
161
- shapeImageOutside: w,
162
- hyphens: wmms,
163
- flowInto: wms,
164
- flowFrom: wms,
165
- regionFragment: wms,
166
- textOrientation: w,
167
- textAlignLast: m,
168
- tabSize: m,
169
- wrapFlow: ms,
170
- wrapThrough: ms,
171
- wrapMargin: ms,
172
- touchAction: ms,
173
- textSizeAdjust: ["ms", "Webkit"],
174
- borderImage: w,
175
- borderImageOutset: w,
176
- borderImageRepeat: w,
177
- borderImageSlice: w,
178
- borderImageSource: w,
179
- borderImageWidth: w,
180
- transitionDelay: w,
181
- transitionDuration: w,
182
- transitionProperty: w,
183
- transitionTimingFunction: w
184
- }
185
- };
186
- const prefixStyles = (0, import_createPrefixer.default)(staticData);
187
- // Annotate the CommonJS export names for ESM import in node:
188
- 0 && (module.exports = {
189
- prefixInlineStyles,
190
- prefixStyles
191
- });
192
- //# sourceMappingURL=prefixStyles.js.map