@tamagui/core 1.0.1-beta.69 → 1.0.1-beta.72

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 (203) hide show
  1. package/dist/cjs/createComponent.js +11 -6
  2. package/dist/cjs/createComponent.js.map +2 -2
  3. package/dist/cjs/helpers/getSplitStyles.js +3 -2
  4. package/dist/cjs/helpers/getSplitStyles.js.map +2 -2
  5. package/dist/cjs/hooks/useFeatures.js +3 -3
  6. package/dist/cjs/hooks/useFeatures.js.map +2 -2
  7. package/dist/cjs/types.js.map +1 -1
  8. package/dist/cjs/views/Text.js +2 -1
  9. package/dist/cjs/views/Text.js.map +2 -2
  10. package/dist/esm/createComponent.js +11 -6
  11. package/dist/esm/createComponent.js.map +2 -2
  12. package/dist/esm/helpers/getSplitStyles.js +3 -2
  13. package/dist/esm/helpers/getSplitStyles.js.map +2 -2
  14. package/dist/esm/hooks/useFeatures.js +3 -3
  15. package/dist/esm/hooks/useFeatures.js.map +2 -2
  16. package/dist/esm/views/Text.js +2 -1
  17. package/dist/esm/views/Text.js.map +2 -2
  18. package/dist/jsx/createComponent.js +11 -6
  19. package/dist/jsx/helpers/getSplitStyles.js +3 -2
  20. package/dist/jsx/hooks/useFeatures.js +3 -3
  21. package/dist/jsx/views/Text.js +2 -1
  22. package/package.json +6 -6
  23. package/reset.css +0 -1
  24. package/types/Pressability.d.ts +0 -0
  25. package/types/Pressability.d.ts.map +0 -0
  26. package/types/Pressability.native.d.ts +0 -0
  27. package/types/Pressability.native.d.ts.map +0 -0
  28. package/types/Tamagui.d.ts +0 -0
  29. package/types/Tamagui.d.ts.map +0 -0
  30. package/types/ThemeContext.d.ts +0 -0
  31. package/types/ThemeContext.d.ts.map +0 -0
  32. package/types/ThemeManager.d.ts +0 -0
  33. package/types/ThemeManager.d.ts.map +0 -0
  34. package/types/conf.d.ts +0 -0
  35. package/types/conf.d.ts.map +0 -0
  36. package/types/constants/constants.d.ts +0 -0
  37. package/types/constants/constants.d.ts.map +0 -0
  38. package/types/constants/platform.d.ts +0 -0
  39. package/types/constants/platform.d.ts.map +0 -0
  40. package/types/constants/rnw.d.ts +0 -0
  41. package/types/constants/rnw.d.ts.map +0 -0
  42. package/types/contexts/ButtonInsideButtonContext.d.ts +0 -0
  43. package/types/contexts/ButtonInsideButtonContext.d.ts.map +0 -0
  44. package/types/createComponent.d.ts +0 -0
  45. package/types/createComponent.d.ts.map +1 -1
  46. package/types/createFont.d.ts +0 -0
  47. package/types/createFont.d.ts.map +0 -0
  48. package/types/createShorthands.d.ts +0 -0
  49. package/types/createShorthands.d.ts.map +0 -0
  50. package/types/createTamagui.d.ts +0 -0
  51. package/types/createTamagui.d.ts.map +0 -0
  52. package/types/createTheme.d.ts +0 -0
  53. package/types/createTheme.d.ts.map +0 -0
  54. package/types/createTokens.d.ts +0 -0
  55. package/types/createTokens.d.ts.map +0 -0
  56. package/types/createVariable.d.ts +0 -0
  57. package/types/createVariable.d.ts.map +0 -0
  58. package/types/createVariables.d.ts +0 -0
  59. package/types/createVariables.d.ts.map +0 -0
  60. package/types/defaultComponentState.d.ts +0 -0
  61. package/types/defaultComponentState.d.ts.map +0 -0
  62. package/types/helpers/RNComponents.d.ts +0 -0
  63. package/types/helpers/RNComponents.d.ts.map +0 -0
  64. package/types/helpers/areEqualSets.d.ts +0 -0
  65. package/types/helpers/areEqualSets.d.ts.map +0 -0
  66. package/types/helpers/calc.d.ts +0 -0
  67. package/types/helpers/calc.d.ts.map +0 -0
  68. package/types/helpers/createMediaStyle.d.ts +0 -0
  69. package/types/helpers/createMediaStyle.d.ts.map +0 -0
  70. package/types/helpers/createPropMapper.d.ts +0 -0
  71. package/types/helpers/createPropMapper.d.ts.map +0 -0
  72. package/types/helpers/createShallowUpdate.d.ts +0 -0
  73. package/types/helpers/createShallowUpdate.d.ts.map +0 -0
  74. package/types/helpers/createTamaguiProvider.d.ts +0 -0
  75. package/types/helpers/createTamaguiProvider.d.ts.map +0 -0
  76. package/types/helpers/extendStaticConfig.d.ts +0 -0
  77. package/types/helpers/extendStaticConfig.d.ts.map +0 -0
  78. package/types/helpers/fixNativeShadow.d.ts +0 -0
  79. package/types/helpers/fixNativeShadow.d.ts.map +0 -0
  80. package/types/helpers/fixNativeShadow.native.d.ts +0 -0
  81. package/types/helpers/fixNativeShadow.native.d.ts.map +0 -0
  82. package/types/helpers/generateAtomicStyles.d.ts +0 -0
  83. package/types/helpers/generateAtomicStyles.d.ts.map +0 -0
  84. package/types/helpers/getExpandedShorthands.d.ts +0 -0
  85. package/types/helpers/getExpandedShorthands.d.ts.map +0 -0
  86. package/types/helpers/getSize.d.ts +0 -0
  87. package/types/helpers/getSize.d.ts.map +0 -0
  88. package/types/helpers/getSplitStyles.d.ts +0 -0
  89. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  90. package/types/helpers/getStackSize.d.ts +0 -0
  91. package/types/helpers/getStackSize.d.ts.map +0 -0
  92. package/types/helpers/getStylesAtomic.d.ts +0 -0
  93. package/types/helpers/getStylesAtomic.d.ts.map +0 -0
  94. package/types/helpers/getStylesAtomic.native.d.ts +0 -0
  95. package/types/helpers/getStylesAtomic.native.d.ts.map +0 -0
  96. package/types/helpers/getTextSize.d.ts +0 -0
  97. package/types/helpers/getTextSize.d.ts.map +0 -0
  98. package/types/helpers/getVariantExtras.d.ts +0 -0
  99. package/types/helpers/getVariantExtras.d.ts.map +0 -0
  100. package/types/helpers/insertStyleRule.d.ts +0 -0
  101. package/types/helpers/insertStyleRule.d.ts.map +0 -0
  102. package/types/helpers/isObj.d.ts +0 -0
  103. package/types/helpers/isObj.d.ts.map +0 -0
  104. package/types/helpers/isTamaguiComponent.d.ts +0 -0
  105. package/types/helpers/isTamaguiComponent.d.ts.map +0 -0
  106. package/types/helpers/isTamaguiElement.d.ts +0 -0
  107. package/types/helpers/isTamaguiElement.d.ts.map +0 -0
  108. package/types/helpers/matchMedia.d.ts +0 -0
  109. package/types/helpers/matchMedia.d.ts.map +0 -0
  110. package/types/helpers/matchMedia.native.d.ts +0 -0
  111. package/types/helpers/matchMedia.native.d.ts.map +0 -0
  112. package/types/helpers/mergeProps.d.ts +0 -0
  113. package/types/helpers/mergeProps.d.ts.map +0 -0
  114. package/types/helpers/mergeTransform.d.ts +0 -0
  115. package/types/helpers/mergeTransform.d.ts.map +0 -0
  116. package/types/helpers/nativeGestureHandler.native.d.ts +0 -0
  117. package/types/helpers/nativeGestureHandler.native.d.ts.map +0 -0
  118. package/types/helpers/proxyThemeVariables.d.ts +0 -0
  119. package/types/helpers/proxyThemeVariables.d.ts.map +0 -0
  120. package/types/helpers/pseudos.d.ts +0 -0
  121. package/types/helpers/pseudos.d.ts.map +0 -0
  122. package/types/helpers/registerCSSVariable.d.ts +0 -0
  123. package/types/helpers/registerCSSVariable.d.ts.map +0 -0
  124. package/types/helpers/themeable.d.ts +0 -0
  125. package/types/helpers/themeable.d.ts.map +0 -0
  126. package/types/helpers/validate.d.ts +0 -0
  127. package/types/helpers/validate.d.ts.map +0 -0
  128. package/types/helpers/withStaticProperties.d.ts +0 -0
  129. package/types/helpers/withStaticProperties.d.ts.map +0 -0
  130. package/types/helpers/wrapThemeManagerContext.d.ts +0 -0
  131. package/types/helpers/wrapThemeManagerContext.d.ts.map +0 -0
  132. package/types/hooks/useConstant.d.ts +0 -0
  133. package/types/hooks/useConstant.d.ts.map +0 -0
  134. package/types/hooks/useFeatures.d.ts +0 -0
  135. package/types/hooks/useFeatures.d.ts.map +0 -0
  136. package/types/hooks/useId.d.ts +0 -0
  137. package/types/hooks/useId.d.ts.map +0 -0
  138. package/types/hooks/useIsMounted.d.ts +0 -0
  139. package/types/hooks/useIsMounted.d.ts.map +0 -0
  140. package/types/hooks/useIsTouchDevice.d.ts +0 -0
  141. package/types/hooks/useIsTouchDevice.d.ts.map +0 -0
  142. package/types/hooks/useMedia.d.ts +0 -0
  143. package/types/hooks/useMedia.d.ts.map +0 -0
  144. package/types/hooks/usePressable.d.ts +0 -0
  145. package/types/hooks/usePressable.d.ts.map +0 -0
  146. package/types/hooks/usePrevious.d.ts +0 -0
  147. package/types/hooks/usePrevious.d.ts.map +0 -0
  148. package/types/hooks/useTheme.d.ts +0 -0
  149. package/types/hooks/useTheme.d.ts.map +0 -0
  150. package/types/hooks/useUnmountEffect.d.ts +0 -0
  151. package/types/hooks/useUnmountEffect.d.ts.map +0 -0
  152. package/types/index.d.ts +0 -0
  153. package/types/index.d.ts.map +0 -0
  154. package/types/insertFont.d.ts +0 -0
  155. package/types/insertFont.d.ts.map +0 -0
  156. package/types/static.d.ts +0 -0
  157. package/types/static.d.ts.map +0 -0
  158. package/types/styled.d.ts +0 -0
  159. package/types/styled.d.ts.map +0 -0
  160. package/types/types-rnw.d.ts +0 -0
  161. package/types/types-rnw.d.ts.map +0 -0
  162. package/types/types.d.ts +1 -0
  163. package/types/types.d.ts.map +1 -1
  164. package/types/views/Slot.d.ts +0 -0
  165. package/types/views/Slot.d.ts.map +0 -0
  166. package/types/views/Stack.d.ts +0 -0
  167. package/types/views/Stack.d.ts.map +0 -0
  168. package/types/views/Text.d.ts +0 -0
  169. package/types/views/Text.d.ts.map +1 -1
  170. package/types/views/TextAncestorContext.d.ts +0 -0
  171. package/types/views/TextAncestorContext.d.ts.map +0 -0
  172. package/types/views/Theme.d.ts +0 -0
  173. package/types/views/Theme.d.ts.map +0 -0
  174. package/types/views/ThemeInverse.d.ts +0 -0
  175. package/types/views/ThemeInverse.d.ts.map +0 -0
  176. package/types/views/ThemeProvider.d.ts +0 -0
  177. package/types/views/ThemeProvider.d.ts.map +0 -0
  178. package/types/views/ThemeReset.d.ts +0 -0
  179. package/types/views/ThemeReset.d.ts.map +0 -0
  180. package/dist/cjs/helpers/nativeGestureHandler.js +0 -29
  181. package/dist/cjs/helpers/nativeGestureHandler.js.map +0 -7
  182. package/dist/cjs/helpers/prefixStyles.js +0 -192
  183. package/dist/cjs/helpers/prefixStyles.js.map +0 -7
  184. package/dist/cjs/nativeGestureHandler.native.js +0 -18
  185. package/dist/cjs/nativeGestureHandler.native.js.map +0 -7
  186. package/dist/cjs/registerCSSVariable.js +0 -41
  187. package/dist/cjs/registerCSSVariable.js.map +0 -7
  188. package/dist/esm/helpers/nativeGestureHandler.js +0 -7
  189. package/dist/esm/helpers/nativeGestureHandler.js.map +0 -7
  190. package/dist/esm/helpers/prefixStyles.js +0 -166
  191. package/dist/esm/helpers/prefixStyles.js.map +0 -7
  192. package/dist/esm/nativeGestureHandler.native.js +0 -2
  193. package/dist/esm/nativeGestureHandler.native.js.map +0 -7
  194. package/dist/esm/registerCSSVariable.js +0 -17
  195. package/dist/esm/registerCSSVariable.js.map +0 -7
  196. package/dist/jsx/helpers/nativeGestureHandler.js +0 -6
  197. package/dist/jsx/helpers/prefixStyles.js +0 -165
  198. package/dist/jsx/nativeGestureHandler.native.js +0 -1
  199. package/dist/jsx/registerCSSVariable.js +0 -16
  200. package/types/helpers/prefixStyles.d.ts +0 -5
  201. package/types/helpers/prefixStyles.d.ts.map +0 -1
  202. package/types/registerCSSVariable.d.ts +0 -5
  203. package/types/registerCSSVariable.d.ts.map +0 -1
@@ -1,166 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import createPrefixer from "inline-style-prefixer/lib/createPrefixer";
4
- import backgroundClip from "inline-style-prefixer/lib/plugins/backgroundClip";
5
- import crossFade from "inline-style-prefixer/lib/plugins/crossFade";
6
- import cursor from "inline-style-prefixer/lib/plugins/cursor";
7
- import filter from "inline-style-prefixer/lib/plugins/filter";
8
- import flex from "inline-style-prefixer/lib/plugins/flex";
9
- import flexboxIE from "inline-style-prefixer/lib/plugins/flexboxIE";
10
- import flexboxOld from "inline-style-prefixer/lib/plugins/flexboxOld";
11
- import gradient from "inline-style-prefixer/lib/plugins/gradient";
12
- import grid from "inline-style-prefixer/lib/plugins/grid";
13
- import imageSet from "inline-style-prefixer/lib/plugins/imageSet";
14
- import logical from "inline-style-prefixer/lib/plugins/logical";
15
- import position from "inline-style-prefixer/lib/plugins/position";
16
- import sizing from "inline-style-prefixer/lib/plugins/sizing";
17
- import transition from "inline-style-prefixer/lib/plugins/transition";
18
- const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
19
- const prefixedStyles = prefixStyles(style);
20
- Object.keys(prefixedStyles).forEach((prop) => {
21
- const value = prefixedStyles[prop];
22
- if (Array.isArray(value)) {
23
- prefixedStyles[prop] = value[value.length - 1];
24
- }
25
- });
26
- return prefixedStyles;
27
- }, "prefixInlineStyles");
28
- const w = ["Webkit"];
29
- const m = ["Moz"];
30
- const ms = ["ms"];
31
- const wm = ["Webkit", "Moz"];
32
- const wms = ["Webkit", "ms"];
33
- const wmms = ["Webkit", "Moz", "ms"];
34
- const staticData = {
35
- plugins: [
36
- backgroundClip,
37
- crossFade,
38
- cursor,
39
- filter,
40
- flex,
41
- flexboxIE,
42
- flexboxOld,
43
- gradient,
44
- grid,
45
- imageSet,
46
- logical,
47
- position,
48
- sizing,
49
- transition
50
- ],
51
- prefixMap: {
52
- animation: w,
53
- animationDelay: w,
54
- animationDirection: w,
55
- animationFillMode: w,
56
- animationDuration: w,
57
- animationIterationCount: w,
58
- animationName: w,
59
- animationPlayState: w,
60
- animationTimingFunction: w,
61
- appearance: wm,
62
- userSelect: wmms,
63
- textEmphasisPosition: w,
64
- textEmphasis: w,
65
- textEmphasisStyle: w,
66
- textEmphasisColor: w,
67
- boxDecorationBreak: w,
68
- clipPath: w,
69
- maskImage: w,
70
- maskMode: w,
71
- maskRepeat: w,
72
- maskPosition: w,
73
- maskClip: w,
74
- maskOrigin: w,
75
- maskSize: w,
76
- maskComposite: w,
77
- mask: w,
78
- maskBorderSource: w,
79
- maskBorderMode: w,
80
- maskBorderSlice: w,
81
- maskBorderWidth: w,
82
- maskBorderOutset: w,
83
- maskBorderRepeat: w,
84
- maskBorder: w,
85
- maskType: w,
86
- textDecorationStyle: w,
87
- textDecorationSkip: w,
88
- textDecorationLine: w,
89
- textDecorationColor: w,
90
- filter: w,
91
- fontFeatureSettings: w,
92
- breakAfter: wmms,
93
- breakBefore: wmms,
94
- breakInside: wmms,
95
- columnCount: wm,
96
- columnFill: wm,
97
- columnGap: wm,
98
- columnRule: wm,
99
- columnRuleColor: wm,
100
- columnRuleStyle: wm,
101
- columnRuleWidth: wm,
102
- columns: wm,
103
- columnSpan: wm,
104
- columnWidth: wm,
105
- writingMode: wms,
106
- flex: wms,
107
- flexBasis: w,
108
- flexDirection: wms,
109
- flexGrow: w,
110
- flexFlow: wms,
111
- flexShrink: w,
112
- flexWrap: wms,
113
- alignContent: w,
114
- alignItems: w,
115
- alignSelf: w,
116
- justifyContent: w,
117
- order: w,
118
- transform: w,
119
- transformOrigin: w,
120
- transformOriginX: w,
121
- transformOriginY: w,
122
- backfaceVisibility: w,
123
- perspective: w,
124
- perspectiveOrigin: w,
125
- transformStyle: w,
126
- transformOriginZ: w,
127
- backdropFilter: w,
128
- fontKerning: w,
129
- scrollSnapType: wms,
130
- scrollSnapPointsX: wms,
131
- scrollSnapPointsY: wms,
132
- scrollSnapDestination: wms,
133
- scrollSnapCoordinate: wms,
134
- shapeImageThreshold: w,
135
- shapeImageMargin: w,
136
- shapeImageOutside: w,
137
- hyphens: wmms,
138
- flowInto: wms,
139
- flowFrom: wms,
140
- regionFragment: wms,
141
- textOrientation: w,
142
- textAlignLast: m,
143
- tabSize: m,
144
- wrapFlow: ms,
145
- wrapThrough: ms,
146
- wrapMargin: ms,
147
- touchAction: ms,
148
- textSizeAdjust: ["ms", "Webkit"],
149
- borderImage: w,
150
- borderImageOutset: w,
151
- borderImageRepeat: w,
152
- borderImageSlice: w,
153
- borderImageSource: w,
154
- borderImageWidth: w,
155
- transitionDelay: w,
156
- transitionDuration: w,
157
- transitionProperty: w,
158
- transitionTimingFunction: w
159
- }
160
- };
161
- const prefixStyles = createPrefixer(staticData);
162
- export {
163
- prefixInlineStyles,
164
- prefixStyles
165
- };
166
- //# sourceMappingURL=prefixStyles.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/prefixStyles.ts"],
4
- "sourcesContent": ["import createPrefixer from 'inline-style-prefixer/lib/createPrefixer'\nimport backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip'\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade'\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor'\nimport filter from 'inline-style-prefixer/lib/plugins/filter'\nimport flex from 'inline-style-prefixer/lib/plugins/flex'\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE'\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld'\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient'\nimport grid from 'inline-style-prefixer/lib/plugins/grid'\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet'\nimport logical from 'inline-style-prefixer/lib/plugins/logical'\nimport position from 'inline-style-prefixer/lib/plugins/position'\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing'\nimport transition from 'inline-style-prefixer/lib/plugins/transition'\n\ntype StyleModifier = (style: Object) => Object\n\nexport const prefixInlineStyles: StyleModifier = (style) => {\n const prefixedStyles = prefixStyles(style)\n\n // React@15 removed undocumented support for fallback values in\n // inline-styles. Revert array values to the standard CSS value\n Object.keys(prefixedStyles).forEach((prop) => {\n const value = prefixedStyles[prop]\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1]\n }\n })\n\n return prefixedStyles\n}\n\nconst w = ['Webkit']\nconst m = ['Moz']\nconst ms = ['ms']\nconst wm = ['Webkit', 'Moz']\nconst wms = ['Webkit', 'ms']\nconst wmms = ['Webkit', 'Moz', 'ms']\nconst staticData = {\n plugins: [\n backgroundClip,\n crossFade,\n cursor,\n filter,\n flex,\n flexboxIE,\n flexboxOld,\n gradient,\n grid,\n imageSet,\n logical,\n position,\n sizing,\n transition,\n ],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w,\n },\n}\n\nexport const prefixStyles: StyleModifier = createPrefixer(staticData)\n"],
5
- "mappings": "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",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- export * from "react-native-gesture-handler";
2
- //# sourceMappingURL=nativeGestureHandler.native.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/nativeGestureHandler.native.ts"],
4
- "sourcesContent": ["export * from 'react-native-gesture-handler'\n"],
5
- "mappings": "AAAA;",
6
- "names": []
7
- }
@@ -1,17 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import { createCSSVariable } from "./createVariable";
4
- const registerCSSVariable = /* @__PURE__ */ __name((v) => {
5
- tokensValueToVariable.set(v.val, v);
6
- const val = `--${createCSSVariable(v.name, false)}:${typeof v.val === "number" ? `${v.val}px` : v.val}`;
7
- tokenRules.add(val);
8
- return val;
9
- }, "registerCSSVariable");
10
- const tokensValueToVariable = /* @__PURE__ */ new Map();
11
- const tokenRules = /* @__PURE__ */ new Set();
12
- export {
13
- registerCSSVariable,
14
- tokenRules,
15
- tokensValueToVariable
16
- };
17
- //# sourceMappingURL=registerCSSVariable.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/registerCSSVariable.ts"],
4
- "sourcesContent": ["import { Variable, createCSSVariable } from './createVariable'\n\nexport const registerCSSVariable = (v: Variable) => {\n tokensValueToVariable.set(v.val, v)\n const val = `--${createCSSVariable(v.name, false)}:${\n typeof v.val === 'number' ? `${v.val}px` : v.val\n }`\n tokenRules.add(val)\n return val\n}\n\nexport const tokensValueToVariable = new Map<string, Variable>()\nexport const tokenRules = new Set<string>()\n"],
5
- "mappings": ";;AAAA;AAEO,MAAM,sBAAsB,wBAAC,MAAgB;AAClD,wBAAsB,IAAI,EAAE,KAAK,CAAC;AAClC,QAAM,MAAM,KAAK,kBAAkB,EAAE,MAAM,KAAK,KAC9C,OAAO,EAAE,QAAQ,WAAW,GAAG,EAAE,UAAU,EAAE;AAE/C,aAAW,IAAI,GAAG;AAClB,SAAO;AACT,GAPmC;AAS5B,MAAM,wBAAwB,oBAAI,IAAsB;AACxD,MAAM,aAAa,oBAAI,IAAY;",
6
- "names": []
7
- }
@@ -1,6 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- const BaseButton = /* @__PURE__ */ __name((props) => props.children, "BaseButton");
4
- export {
5
- BaseButton
6
- };
@@ -1,165 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import createPrefixer from "inline-style-prefixer/lib/createPrefixer";
4
- import backgroundClip from "inline-style-prefixer/lib/plugins/backgroundClip";
5
- import crossFade from "inline-style-prefixer/lib/plugins/crossFade";
6
- import cursor from "inline-style-prefixer/lib/plugins/cursor";
7
- import filter from "inline-style-prefixer/lib/plugins/filter";
8
- import flex from "inline-style-prefixer/lib/plugins/flex";
9
- import flexboxIE from "inline-style-prefixer/lib/plugins/flexboxIE";
10
- import flexboxOld from "inline-style-prefixer/lib/plugins/flexboxOld";
11
- import gradient from "inline-style-prefixer/lib/plugins/gradient";
12
- import grid from "inline-style-prefixer/lib/plugins/grid";
13
- import imageSet from "inline-style-prefixer/lib/plugins/imageSet";
14
- import logical from "inline-style-prefixer/lib/plugins/logical";
15
- import position from "inline-style-prefixer/lib/plugins/position";
16
- import sizing from "inline-style-prefixer/lib/plugins/sizing";
17
- import transition from "inline-style-prefixer/lib/plugins/transition";
18
- const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
19
- const prefixedStyles = prefixStyles(style);
20
- Object.keys(prefixedStyles).forEach((prop) => {
21
- const value = prefixedStyles[prop];
22
- if (Array.isArray(value)) {
23
- prefixedStyles[prop] = value[value.length - 1];
24
- }
25
- });
26
- return prefixedStyles;
27
- }, "prefixInlineStyles");
28
- const w = ["Webkit"];
29
- const m = ["Moz"];
30
- const ms = ["ms"];
31
- const wm = ["Webkit", "Moz"];
32
- const wms = ["Webkit", "ms"];
33
- const wmms = ["Webkit", "Moz", "ms"];
34
- const staticData = {
35
- plugins: [
36
- backgroundClip,
37
- crossFade,
38
- cursor,
39
- filter,
40
- flex,
41
- flexboxIE,
42
- flexboxOld,
43
- gradient,
44
- grid,
45
- imageSet,
46
- logical,
47
- position,
48
- sizing,
49
- transition
50
- ],
51
- prefixMap: {
52
- animation: w,
53
- animationDelay: w,
54
- animationDirection: w,
55
- animationFillMode: w,
56
- animationDuration: w,
57
- animationIterationCount: w,
58
- animationName: w,
59
- animationPlayState: w,
60
- animationTimingFunction: w,
61
- appearance: wm,
62
- userSelect: wmms,
63
- textEmphasisPosition: w,
64
- textEmphasis: w,
65
- textEmphasisStyle: w,
66
- textEmphasisColor: w,
67
- boxDecorationBreak: w,
68
- clipPath: w,
69
- maskImage: w,
70
- maskMode: w,
71
- maskRepeat: w,
72
- maskPosition: w,
73
- maskClip: w,
74
- maskOrigin: w,
75
- maskSize: w,
76
- maskComposite: w,
77
- mask: w,
78
- maskBorderSource: w,
79
- maskBorderMode: w,
80
- maskBorderSlice: w,
81
- maskBorderWidth: w,
82
- maskBorderOutset: w,
83
- maskBorderRepeat: w,
84
- maskBorder: w,
85
- maskType: w,
86
- textDecorationStyle: w,
87
- textDecorationSkip: w,
88
- textDecorationLine: w,
89
- textDecorationColor: w,
90
- filter: w,
91
- fontFeatureSettings: w,
92
- breakAfter: wmms,
93
- breakBefore: wmms,
94
- breakInside: wmms,
95
- columnCount: wm,
96
- columnFill: wm,
97
- columnGap: wm,
98
- columnRule: wm,
99
- columnRuleColor: wm,
100
- columnRuleStyle: wm,
101
- columnRuleWidth: wm,
102
- columns: wm,
103
- columnSpan: wm,
104
- columnWidth: wm,
105
- writingMode: wms,
106
- flex: wms,
107
- flexBasis: w,
108
- flexDirection: wms,
109
- flexGrow: w,
110
- flexFlow: wms,
111
- flexShrink: w,
112
- flexWrap: wms,
113
- alignContent: w,
114
- alignItems: w,
115
- alignSelf: w,
116
- justifyContent: w,
117
- order: w,
118
- transform: w,
119
- transformOrigin: w,
120
- transformOriginX: w,
121
- transformOriginY: w,
122
- backfaceVisibility: w,
123
- perspective: w,
124
- perspectiveOrigin: w,
125
- transformStyle: w,
126
- transformOriginZ: w,
127
- backdropFilter: w,
128
- fontKerning: w,
129
- scrollSnapType: wms,
130
- scrollSnapPointsX: wms,
131
- scrollSnapPointsY: wms,
132
- scrollSnapDestination: wms,
133
- scrollSnapCoordinate: wms,
134
- shapeImageThreshold: w,
135
- shapeImageMargin: w,
136
- shapeImageOutside: w,
137
- hyphens: wmms,
138
- flowInto: wms,
139
- flowFrom: wms,
140
- regionFragment: wms,
141
- textOrientation: w,
142
- textAlignLast: m,
143
- tabSize: m,
144
- wrapFlow: ms,
145
- wrapThrough: ms,
146
- wrapMargin: ms,
147
- touchAction: ms,
148
- textSizeAdjust: ["ms", "Webkit"],
149
- borderImage: w,
150
- borderImageOutset: w,
151
- borderImageRepeat: w,
152
- borderImageSlice: w,
153
- borderImageSource: w,
154
- borderImageWidth: w,
155
- transitionDelay: w,
156
- transitionDuration: w,
157
- transitionProperty: w,
158
- transitionTimingFunction: w
159
- }
160
- };
161
- const prefixStyles = createPrefixer(staticData);
162
- export {
163
- prefixInlineStyles,
164
- prefixStyles
165
- };
@@ -1 +0,0 @@
1
- export * from "react-native-gesture-handler";
@@ -1,16 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import { createCSSVariable } from "./createVariable";
4
- const registerCSSVariable = /* @__PURE__ */ __name((v) => {
5
- tokensValueToVariable.set(v.val, v);
6
- const val = `--${createCSSVariable(v.name, false)}:${typeof v.val === "number" ? `${v.val}px` : v.val}`;
7
- tokenRules.add(val);
8
- return val;
9
- }, "registerCSSVariable");
10
- const tokensValueToVariable = /* @__PURE__ */ new Map();
11
- const tokenRules = /* @__PURE__ */ new Set();
12
- export {
13
- registerCSSVariable,
14
- tokenRules,
15
- tokensValueToVariable
16
- };
@@ -1,5 +0,0 @@
1
- declare type StyleModifier = (style: Object) => Object;
2
- export declare const prefixInlineStyles: StyleModifier;
3
- export declare const prefixStyles: StyleModifier;
4
- export {};
5
- //# sourceMappingURL=prefixStyles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prefixStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/prefixStyles.ts"],"names":[],"mappings":"AAgBA,aAAK,aAAa,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;AAE9C,eAAO,MAAM,kBAAkB,EAAE,aAahC,CAAA;AAwID,eAAO,MAAM,YAAY,EAAE,aAA0C,CAAA"}
@@ -1,5 +0,0 @@
1
- import { Variable } from './createVariable';
2
- export declare const registerCSSVariable: (v: Variable) => string;
3
- export declare const tokensValueToVariable: Map<string, Variable<any>>;
4
- export declare const tokenRules: Set<string>;
5
- //# sourceMappingURL=registerCSSVariable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registerCSSVariable.d.ts","sourceRoot":"","sources":["../src/registerCSSVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,kBAAkB,CAAA;AAE9D,eAAO,MAAM,mBAAmB,MAAO,QAAQ,WAO9C,CAAA;AAED,eAAO,MAAM,qBAAqB,4BAA8B,CAAA;AAChE,eAAO,MAAM,UAAU,aAAoB,CAAA"}