@tamagui/react-native-web-lite 1.141.1 → 1.141.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/without-animated.cjs +86 -44
- package/dist/cjs/without-animated.js +40 -2
- package/dist/cjs/without-animated.js.map +1 -1
- package/dist/esm/without-animated.js +59 -8
- package/dist/esm/without-animated.js.map +2 -2
- package/dist/esm/without-animated.mjs +71 -46
- package/dist/esm/without-animated.mjs.map +1 -1
- package/package.json +7 -7
- package/src/without-animated.tsx +50 -6
|
@@ -33,6 +33,7 @@ var __export = (target, all) => {
|
|
|
33
33
|
var without_animated_exports = {};
|
|
34
34
|
__export(without_animated_exports, {
|
|
35
35
|
AccessibilityInfo: () => import_AccessibilityInfo.AccessibilityInfo,
|
|
36
|
+
AccessibilityUtil: () => import_react_native_web_internals.AccessibilityUtil,
|
|
36
37
|
ActivityIndicator: () => import_ActivityIndicator.ActivityIndicator,
|
|
37
38
|
Alert: () => import_Alert.Alert,
|
|
38
39
|
Animated: () => Animated,
|
|
@@ -46,14 +47,17 @@ __export(without_animated_exports, {
|
|
|
46
47
|
DeviceInfo: () => import_DeviceInfo.DeviceInfo,
|
|
47
48
|
Dimensions: () => import_Dimensions.Dimensions,
|
|
48
49
|
DrawerLayoutAndroid: () => import_UnimplementedView.UnimplementedView,
|
|
50
|
+
Easing: () => Easing,
|
|
49
51
|
FlatList: () => import_UnimplementedView4.UnimplementedView,
|
|
50
52
|
I18nManager: () => import_I18nManager.I18nManager,
|
|
51
53
|
Image: () => import_Image.Image,
|
|
52
54
|
ImageBackground: () => import_ImageBackground.ImageBackground,
|
|
53
55
|
ImageLoader: () => import_react_native_web_internals.ImageLoader,
|
|
56
|
+
InteractionManager: () => import_react_native_web_internals.InteractionManager,
|
|
54
57
|
Keyboard: () => import_Keyboard.Keyboard,
|
|
55
58
|
KeyboardAvoidingView: () => import_KeyboardAvoidingView.KeyboardAvoidingView,
|
|
56
59
|
Linking: () => import_Linking.Linking,
|
|
60
|
+
LocaleProvider: () => import_react_native_web_internals.LocaleProvider,
|
|
57
61
|
LogBox: () => import_LogBox.LogBox,
|
|
58
62
|
Modal: () => import_Modal.Modal,
|
|
59
63
|
NativeEventEmitter: () => import_NativeEventEmitter.default,
|
|
@@ -63,14 +67,18 @@ __export(without_animated_exports, {
|
|
|
63
67
|
Platform: () => import_react_native_web_internals.Platform,
|
|
64
68
|
Pressable: () => import_Pressable.Pressable,
|
|
65
69
|
RefreshControl: () => import_RefreshControl.RefreshControl,
|
|
70
|
+
RootTagContext: () => RootTagContext,
|
|
66
71
|
SafeAreaView: () => import_SafeAreaView.SafeAreaView,
|
|
67
72
|
ScrollView: () => import_ScrollView.ScrollView,
|
|
68
73
|
SectionList: () => import_UnimplementedView7.UnimplementedView,
|
|
69
74
|
Share: () => import_Share.Share,
|
|
70
75
|
StatusBar: () => import_StatusBar.StatusBar,
|
|
76
|
+
StyleSheet: () => import_react_native_web_internals.StyleSheet,
|
|
71
77
|
Switch: () => import_UnimplementedView2.UnimplementedView,
|
|
72
78
|
Text: () => import_Text.Text,
|
|
79
|
+
TextAncestorContext: () => import_react_native_web_internals.TextAncestorContext,
|
|
73
80
|
TextInput: () => import_TextInput.TextInput,
|
|
81
|
+
Touchable: () => import_TouchableOpacity.TouchableOpacity,
|
|
74
82
|
TouchableHighlight: () => import_UnimplementedView5.UnimplementedView,
|
|
75
83
|
TouchableNativeFeedback: () => import_UnimplementedView6.UnimplementedView,
|
|
76
84
|
TouchableOpacity: () => import_TouchableOpacity.TouchableOpacity,
|
|
@@ -80,22 +88,32 @@ __export(without_animated_exports, {
|
|
|
80
88
|
View: () => import_View.View,
|
|
81
89
|
VirtualizedList: () => import_UnimplementedView3.UnimplementedView,
|
|
82
90
|
canUseDOM: () => import_react_native_web_internals.canUseDOM,
|
|
91
|
+
clickProps: () => import_react_native_web_internals.clickProps,
|
|
92
|
+
createDOMProps: () => import_react_native_web_internals.createDOMProps,
|
|
83
93
|
dismissKeyboard: () => import_react_native_web_internals.dismissKeyboard,
|
|
94
|
+
findNodeHandle: () => findNodeHandle,
|
|
95
|
+
flattenStyle: () => import_react_native_web_internals.flattenStyle,
|
|
84
96
|
isWebColor: () => import_react_native_web_internals.isWebColor,
|
|
85
97
|
mergeRefs: () => import_react_native_web_internals.mergeRefs,
|
|
98
|
+
normalizeColor: () => import_react_native_web_internals.normalizeColor,
|
|
86
99
|
processColor: () => import_react_native_web_internals.processColor,
|
|
100
|
+
processStyle: () => import_react_native_web_internals.processStyle,
|
|
87
101
|
render: () => import_render.render,
|
|
88
102
|
requireNativeComponent: () => requireNativeComponent,
|
|
103
|
+
unstable_batchedUpdates: () => import_react_dom.unstable_batchedUpdates,
|
|
89
104
|
unstable_createElement: () => import_createElement.createElement,
|
|
90
105
|
useColorScheme: () => import_useColorScheme.useColorScheme,
|
|
91
106
|
useEvent: () => import_react_native_web_internals.useEvent,
|
|
92
107
|
useHover: () => import_react_native_web_internals.useHover,
|
|
108
|
+
useLayoutEffect: () => import_react_native_web_internals.useLayoutEffect,
|
|
93
109
|
useLocaleContext: () => import_useLocaleContext.useLocaleContext,
|
|
94
110
|
useMergeRefs: () => import_react_native_web_internals.useMergeRefs,
|
|
111
|
+
usePlatformMethods: () => import_react_native_web_internals.usePlatformMethods,
|
|
95
112
|
useWindowDimensions: () => import_useWindowDimensions.useWindowDimensions
|
|
96
113
|
});
|
|
97
114
|
module.exports = __toCommonJS(without_animated_exports);
|
|
98
|
-
var
|
|
115
|
+
var import_react = require("react"),
|
|
116
|
+
import_createElement = require("./createElement/index.cjs"),
|
|
99
117
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
100
118
|
import_render = require("./render/index.cjs"),
|
|
101
119
|
import_NativeModules = require("./NativeModules/index.cjs"),
|
|
@@ -145,54 +163,78 @@ var import_createElement = require("./createElement/index.cjs"),
|
|
|
145
163
|
import_useLocaleContext = require("./useLocaleContext/index.cjs"),
|
|
146
164
|
import_useWindowDimensions = require("./useWindowDimensions/index.cjs");
|
|
147
165
|
__reExport(without_animated_exports, require("@tamagui/react-native-web-internals"), module.exports);
|
|
166
|
+
var import_react_dom = require("react-dom");
|
|
148
167
|
function requireNativeComponent(name) {
|
|
149
168
|
return function () {
|
|
150
169
|
return null;
|
|
151
170
|
};
|
|
152
171
|
}
|
|
153
172
|
const Animated = {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
173
|
+
View: "div",
|
|
174
|
+
Text: "span",
|
|
175
|
+
Image: "img",
|
|
176
|
+
ScrollView: "div",
|
|
177
|
+
FlatList: "div",
|
|
178
|
+
SectionList: "div",
|
|
179
|
+
Value: class {
|
|
180
|
+
constructor() {}
|
|
181
|
+
},
|
|
182
|
+
ValueXY: class {
|
|
183
|
+
constructor() {}
|
|
184
|
+
},
|
|
185
|
+
timing: () => ({
|
|
186
|
+
start: () => {}
|
|
187
|
+
}),
|
|
188
|
+
spring: () => ({
|
|
189
|
+
start: () => {}
|
|
190
|
+
}),
|
|
191
|
+
decay: () => ({
|
|
192
|
+
start: () => {}
|
|
193
|
+
}),
|
|
194
|
+
sequence: () => ({
|
|
195
|
+
start: () => {}
|
|
196
|
+
}),
|
|
197
|
+
parallel: () => ({
|
|
198
|
+
start: () => {}
|
|
199
|
+
}),
|
|
200
|
+
stagger: () => ({
|
|
201
|
+
start: () => {}
|
|
202
|
+
}),
|
|
203
|
+
loop: () => ({
|
|
204
|
+
start: () => {}
|
|
205
|
+
}),
|
|
206
|
+
event: () => () => {},
|
|
207
|
+
add: () => new class {}(),
|
|
208
|
+
subtract: () => new class {}(),
|
|
209
|
+
multiply: () => new class {}(),
|
|
210
|
+
divide: () => new class {}(),
|
|
211
|
+
modulo: () => new class {}(),
|
|
212
|
+
diffClamp: () => new class {}(),
|
|
213
|
+
delay: () => ({
|
|
214
|
+
start: () => {}
|
|
215
|
+
}),
|
|
216
|
+
createAnimatedComponent: c => c
|
|
162
217
|
},
|
|
163
|
-
|
|
164
|
-
|
|
218
|
+
Easing = {
|
|
219
|
+
step0: () => 0,
|
|
220
|
+
step1: () => 1,
|
|
221
|
+
linear: t => t,
|
|
222
|
+
ease: t => t,
|
|
223
|
+
quad: t => t * t,
|
|
224
|
+
cubic: t => t * t * t,
|
|
225
|
+
poly: () => t => t,
|
|
226
|
+
sin: t => t,
|
|
227
|
+
circle: t => t,
|
|
228
|
+
exp: t => t,
|
|
229
|
+
elastic: () => t => t,
|
|
230
|
+
back: () => t => t,
|
|
231
|
+
bounce: t => t,
|
|
232
|
+
bezier: () => t => t,
|
|
233
|
+
in: fn => fn,
|
|
234
|
+
out: fn => fn,
|
|
235
|
+
inOut: fn => fn
|
|
165
236
|
},
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
start: () => {}
|
|
171
|
-
}),
|
|
172
|
-
decay: () => ({
|
|
173
|
-
start: () => {}
|
|
174
|
-
}),
|
|
175
|
-
sequence: () => ({
|
|
176
|
-
start: () => {}
|
|
177
|
-
}),
|
|
178
|
-
parallel: () => ({
|
|
179
|
-
start: () => {}
|
|
180
|
-
}),
|
|
181
|
-
stagger: () => ({
|
|
182
|
-
start: () => {}
|
|
183
|
-
}),
|
|
184
|
-
loop: () => ({
|
|
185
|
-
start: () => {}
|
|
186
|
-
}),
|
|
187
|
-
event: () => () => {},
|
|
188
|
-
add: () => new class {}(),
|
|
189
|
-
subtract: () => new class {}(),
|
|
190
|
-
multiply: () => new class {}(),
|
|
191
|
-
divide: () => new class {}(),
|
|
192
|
-
modulo: () => new class {}(),
|
|
193
|
-
diffClamp: () => new class {}(),
|
|
194
|
-
delay: () => ({
|
|
195
|
-
start: () => {}
|
|
196
|
-
}),
|
|
197
|
-
createAnimatedComponent: c => c
|
|
198
|
-
};
|
|
237
|
+
findNodeHandle = component => {
|
|
238
|
+
throw new Error("not supported - use ref instead");
|
|
239
|
+
},
|
|
240
|
+
RootTagContext = (0, import_react.createContext)(null);
|
|
@@ -22,6 +22,7 @@ var __export = (target, all) => {
|
|
|
22
22
|
var without_animated_exports = {};
|
|
23
23
|
__export(without_animated_exports, {
|
|
24
24
|
AccessibilityInfo: () => import_AccessibilityInfo.AccessibilityInfo,
|
|
25
|
+
AccessibilityUtil: () => import_react_native_web_internals.AccessibilityUtil,
|
|
25
26
|
ActivityIndicator: () => import_ActivityIndicator.ActivityIndicator,
|
|
26
27
|
Alert: () => import_Alert.Alert,
|
|
27
28
|
Animated: () => Animated,
|
|
@@ -35,14 +36,17 @@ __export(without_animated_exports, {
|
|
|
35
36
|
DeviceInfo: () => import_DeviceInfo.DeviceInfo,
|
|
36
37
|
Dimensions: () => import_Dimensions.Dimensions,
|
|
37
38
|
DrawerLayoutAndroid: () => import_UnimplementedView.UnimplementedView,
|
|
39
|
+
Easing: () => Easing,
|
|
38
40
|
FlatList: () => import_UnimplementedView4.UnimplementedView,
|
|
39
41
|
I18nManager: () => import_I18nManager.I18nManager,
|
|
40
42
|
Image: () => import_Image.Image,
|
|
41
43
|
ImageBackground: () => import_ImageBackground.ImageBackground,
|
|
42
44
|
ImageLoader: () => import_react_native_web_internals.ImageLoader,
|
|
45
|
+
InteractionManager: () => import_react_native_web_internals.InteractionManager,
|
|
43
46
|
Keyboard: () => import_Keyboard.Keyboard,
|
|
44
47
|
KeyboardAvoidingView: () => import_KeyboardAvoidingView.KeyboardAvoidingView,
|
|
45
48
|
Linking: () => import_Linking.Linking,
|
|
49
|
+
LocaleProvider: () => import_react_native_web_internals.LocaleProvider,
|
|
46
50
|
LogBox: () => import_LogBox.LogBox,
|
|
47
51
|
Modal: () => import_Modal.Modal,
|
|
48
52
|
NativeEventEmitter: () => import_NativeEventEmitter.default,
|
|
@@ -52,14 +56,18 @@ __export(without_animated_exports, {
|
|
|
52
56
|
Platform: () => import_react_native_web_internals.Platform,
|
|
53
57
|
Pressable: () => import_Pressable.Pressable,
|
|
54
58
|
RefreshControl: () => import_RefreshControl.RefreshControl,
|
|
59
|
+
RootTagContext: () => RootTagContext,
|
|
55
60
|
SafeAreaView: () => import_SafeAreaView.SafeAreaView,
|
|
56
61
|
ScrollView: () => import_ScrollView.ScrollView,
|
|
57
62
|
SectionList: () => import_UnimplementedView7.UnimplementedView,
|
|
58
63
|
Share: () => import_Share.Share,
|
|
59
64
|
StatusBar: () => import_StatusBar.StatusBar,
|
|
65
|
+
StyleSheet: () => import_react_native_web_internals.StyleSheet,
|
|
60
66
|
Switch: () => import_UnimplementedView2.UnimplementedView,
|
|
61
67
|
Text: () => import_Text.Text,
|
|
68
|
+
TextAncestorContext: () => import_react_native_web_internals.TextAncestorContext,
|
|
62
69
|
TextInput: () => import_TextInput.TextInput,
|
|
70
|
+
Touchable: () => import_TouchableOpacity.TouchableOpacity,
|
|
63
71
|
TouchableHighlight: () => import_UnimplementedView5.UnimplementedView,
|
|
64
72
|
TouchableNativeFeedback: () => import_UnimplementedView6.UnimplementedView,
|
|
65
73
|
TouchableOpacity: () => import_TouchableOpacity.TouchableOpacity,
|
|
@@ -69,23 +77,33 @@ __export(without_animated_exports, {
|
|
|
69
77
|
View: () => import_View.View,
|
|
70
78
|
VirtualizedList: () => import_UnimplementedView3.UnimplementedView,
|
|
71
79
|
canUseDOM: () => import_react_native_web_internals.canUseDOM,
|
|
80
|
+
clickProps: () => import_react_native_web_internals.clickProps,
|
|
81
|
+
createDOMProps: () => import_react_native_web_internals.createDOMProps,
|
|
72
82
|
dismissKeyboard: () => import_react_native_web_internals.dismissKeyboard,
|
|
83
|
+
findNodeHandle: () => findNodeHandle,
|
|
84
|
+
flattenStyle: () => import_react_native_web_internals.flattenStyle,
|
|
73
85
|
isWebColor: () => import_react_native_web_internals.isWebColor,
|
|
74
86
|
mergeRefs: () => import_react_native_web_internals.mergeRefs,
|
|
87
|
+
normalizeColor: () => import_react_native_web_internals.normalizeColor,
|
|
75
88
|
processColor: () => import_react_native_web_internals.processColor,
|
|
89
|
+
processStyle: () => import_react_native_web_internals.processStyle,
|
|
76
90
|
render: () => import_render.render,
|
|
77
91
|
requireNativeComponent: () => requireNativeComponent,
|
|
92
|
+
unstable_batchedUpdates: () => import_react_dom.unstable_batchedUpdates,
|
|
78
93
|
unstable_createElement: () => import_createElement.createElement,
|
|
79
94
|
useColorScheme: () => import_useColorScheme.useColorScheme,
|
|
80
95
|
useEvent: () => import_react_native_web_internals.useEvent,
|
|
81
96
|
useHover: () => import_react_native_web_internals.useHover,
|
|
97
|
+
useLayoutEffect: () => import_react_native_web_internals.useLayoutEffect,
|
|
82
98
|
useLocaleContext: () => import_useLocaleContext.useLocaleContext,
|
|
83
99
|
useMergeRefs: () => import_react_native_web_internals.useMergeRefs,
|
|
100
|
+
usePlatformMethods: () => import_react_native_web_internals.usePlatformMethods,
|
|
84
101
|
useWindowDimensions: () => import_useWindowDimensions.useWindowDimensions
|
|
85
102
|
});
|
|
86
103
|
module.exports = __toCommonJS(without_animated_exports);
|
|
87
|
-
var import_createElement = require("./createElement/index"), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_render = require("./render/index"), import_NativeModules = require("./NativeModules/index"), import_NativeEventEmitter = __toESM(require("./vendor/react-native/EventEmitter/NativeEventEmitter"), 1), import_AccessibilityInfo = require("./AccessibilityInfo/index"), import_Alert = require("./Alert/index"), import_Appearance = require("./Appearance/index"), import_AppRegistry = require("./AppRegistry/index"), import_AppState = require("./AppState/index"), import_BackHandler = require("./BackHandler/index"), import_Clipboard = require("./Clipboard/index"), import_DeviceInfo = require("./DeviceInfo/index"), import_DeviceEmitter = require("./DeviceEmitter"), import_DeviceEmitter2 = require("./DeviceEmitter"), import_Dimensions = require("./Dimensions/index"), import_I18nManager = require("./I18nManager/index"), import_Keyboard = require("./Keyboard/index"), import_Linking = require("./Linking/index"), import_PanResponder = require("./PanResponder/index"), import_PixelRatio = require("./PixelRatio/index"), import_Share = require("./Share/index"), import_Vibration = require("./Vibration/index"), import_UnimplementedView = require("./UnimplementedView"), import_UnimplementedView2 = require("./UnimplementedView"), import_UnimplementedView3 = require("./UnimplementedView"), import_UnimplementedView4 = require("./UnimplementedView"), import_UnimplementedView5 = require("./UnimplementedView"), import_UnimplementedView6 = require("./UnimplementedView"), import_UnimplementedView7 = require("./UnimplementedView"), import_TouchableOpacity = require("./TouchableOpacity"), import_TouchableWithoutFeedback = require("./TouchableWithoutFeedback"), import_ActivityIndicator = require("./ActivityIndicator/index"), import_Image = require("./Image/index"), import_ImageBackground = require("./ImageBackground/index"), import_KeyboardAvoidingView = require("./KeyboardAvoidingView/index"), import_Modal = require("./Modal/index"), import_Pressable = require("./Pressable/index"), import_RefreshControl = require("./RefreshControl/index"), import_SafeAreaView = require("./SafeAreaView/index"), import_ScrollView = require("./ScrollView/index"), import_StatusBar = require("./StatusBar/index"), import_Text = require("./Text/index"), import_TextInput = require("./TextInput/index"), import_View = require("./View/index"), import_LogBox = require("./LogBox/index"), import_useColorScheme = require("./useColorScheme/index"), import_useLocaleContext = require("./useLocaleContext/index"), import_useWindowDimensions = require("./useWindowDimensions/index");
|
|
104
|
+
var import_react = require("react"), import_createElement = require("./createElement/index"), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_render = require("./render/index"), import_NativeModules = require("./NativeModules/index"), import_NativeEventEmitter = __toESM(require("./vendor/react-native/EventEmitter/NativeEventEmitter"), 1), import_AccessibilityInfo = require("./AccessibilityInfo/index"), import_Alert = require("./Alert/index"), import_Appearance = require("./Appearance/index"), import_AppRegistry = require("./AppRegistry/index"), import_AppState = require("./AppState/index"), import_BackHandler = require("./BackHandler/index"), import_Clipboard = require("./Clipboard/index"), import_DeviceInfo = require("./DeviceInfo/index"), import_DeviceEmitter = require("./DeviceEmitter"), import_DeviceEmitter2 = require("./DeviceEmitter"), import_Dimensions = require("./Dimensions/index"), import_I18nManager = require("./I18nManager/index"), import_Keyboard = require("./Keyboard/index"), import_Linking = require("./Linking/index"), import_PanResponder = require("./PanResponder/index"), import_PixelRatio = require("./PixelRatio/index"), import_Share = require("./Share/index"), import_Vibration = require("./Vibration/index"), import_UnimplementedView = require("./UnimplementedView"), import_UnimplementedView2 = require("./UnimplementedView"), import_UnimplementedView3 = require("./UnimplementedView"), import_UnimplementedView4 = require("./UnimplementedView"), import_UnimplementedView5 = require("./UnimplementedView"), import_UnimplementedView6 = require("./UnimplementedView"), import_UnimplementedView7 = require("./UnimplementedView"), import_TouchableOpacity = require("./TouchableOpacity"), import_TouchableWithoutFeedback = require("./TouchableWithoutFeedback"), import_ActivityIndicator = require("./ActivityIndicator/index"), import_Image = require("./Image/index"), import_ImageBackground = require("./ImageBackground/index"), import_KeyboardAvoidingView = require("./KeyboardAvoidingView/index"), import_Modal = require("./Modal/index"), import_Pressable = require("./Pressable/index"), import_RefreshControl = require("./RefreshControl/index"), import_SafeAreaView = require("./SafeAreaView/index"), import_ScrollView = require("./ScrollView/index"), import_StatusBar = require("./StatusBar/index"), import_Text = require("./Text/index"), import_TextInput = require("./TextInput/index"), import_View = require("./View/index"), import_LogBox = require("./LogBox/index"), import_useColorScheme = require("./useColorScheme/index"), import_useLocaleContext = require("./useLocaleContext/index"), import_useWindowDimensions = require("./useWindowDimensions/index");
|
|
88
105
|
__reExport(without_animated_exports, require("@tamagui/react-native-web-internals"), module.exports);
|
|
106
|
+
var import_react_dom = require("react-dom");
|
|
89
107
|
function requireNativeComponent(name) {
|
|
90
108
|
return function() {
|
|
91
109
|
return null;
|
|
@@ -137,5 +155,25 @@ const Animated = {
|
|
|
137
155
|
delay: () => ({ start: () => {
|
|
138
156
|
} }),
|
|
139
157
|
createAnimatedComponent: (c) => c
|
|
140
|
-
}
|
|
158
|
+
}, Easing = {
|
|
159
|
+
step0: () => 0,
|
|
160
|
+
step1: () => 1,
|
|
161
|
+
linear: (t) => t,
|
|
162
|
+
ease: (t) => t,
|
|
163
|
+
quad: (t) => t * t,
|
|
164
|
+
cubic: (t) => t * t * t,
|
|
165
|
+
poly: () => (t) => t,
|
|
166
|
+
sin: (t) => t,
|
|
167
|
+
circle: (t) => t,
|
|
168
|
+
exp: (t) => t,
|
|
169
|
+
elastic: () => (t) => t,
|
|
170
|
+
back: () => (t) => t,
|
|
171
|
+
bounce: (t) => t,
|
|
172
|
+
bezier: () => (t) => t,
|
|
173
|
+
in: (fn) => fn,
|
|
174
|
+
out: (fn) => fn,
|
|
175
|
+
inOut: (fn) => fn
|
|
176
|
+
}, findNodeHandle = (component) => {
|
|
177
|
+
throw new Error("not supported - use ref instead");
|
|
178
|
+
}, RootTagContext = (0, import_react.createContext)(null);
|
|
141
179
|
//# sourceMappingURL=without-animated.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/without-animated.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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IAAI;AAAA,EAC9B,MAAM,MAAM,CAAC,MAAc;AAAA,EAC3B,KAAK,CAAC,MAAc;AAAA,EACpB,QAAQ,CAAC,MAAc;AAAA,EACvB,KAAK,CAAC,MAAc;AAAA,EACpB,SAAS,MAAM,CAAC,MAAc;AAAA,EAC9B,MAAM,MAAM,CAAC,MAAc;AAAA,EAC3B,QAAQ,CAAC,MAAc;AAAA,EACvB,QAAQ,MAAM,CAAC,MAAc;AAAA,EAC7B,IAAI,CAAC,OAAY;AAAA,EACjB,KAAK,CAAC,OAAY;AAAA,EAClB,OAAO,CAAC,OAAY;AACtB,GAEa,iBAAiB,CAAC,cAAmB;AAChD,QAAM,IAAI,MAAM,iCAAiC;AACnD,GAKa,qBAAiB,4BAAc,IAAI;",
|
|
5
5
|
"names": ["import_DeviceEmitter", "import_UnimplementedView"]
|
|
6
6
|
}
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
+
import { createContext } from "react";
|
|
1
2
|
import { createElement } from "./createElement/index";
|
|
2
3
|
import {
|
|
3
|
-
|
|
4
|
-
Platform,
|
|
5
|
-
UIManager,
|
|
4
|
+
AccessibilityUtil,
|
|
6
5
|
canUseDOM,
|
|
6
|
+
clickProps,
|
|
7
|
+
createDOMProps,
|
|
7
8
|
dismissKeyboard,
|
|
9
|
+
flattenStyle,
|
|
10
|
+
ImageLoader,
|
|
11
|
+
InteractionManager,
|
|
8
12
|
isWebColor,
|
|
13
|
+
LocaleProvider,
|
|
9
14
|
mergeRefs,
|
|
10
|
-
|
|
15
|
+
normalizeColor,
|
|
16
|
+
Platform,
|
|
17
|
+
processColor,
|
|
18
|
+
processStyle,
|
|
19
|
+
StyleSheet,
|
|
20
|
+
TextAncestorContext,
|
|
21
|
+
UIManager,
|
|
11
22
|
useEvent,
|
|
12
23
|
useHover,
|
|
13
|
-
|
|
24
|
+
useLayoutEffect,
|
|
25
|
+
useMergeRefs,
|
|
26
|
+
usePlatformMethods
|
|
14
27
|
} from "@tamagui/react-native-web-internals";
|
|
15
28
|
import { render } from "./render/index";
|
|
16
29
|
import { NativeModules } from "./NativeModules/index";
|
|
@@ -40,7 +53,7 @@ import { UnimplementedView as UnimplementedView4 } from "./UnimplementedView";
|
|
|
40
53
|
import { UnimplementedView as UnimplementedView5 } from "./UnimplementedView";
|
|
41
54
|
import { UnimplementedView as UnimplementedView6 } from "./UnimplementedView";
|
|
42
55
|
import { UnimplementedView as UnimplementedView7 } from "./UnimplementedView";
|
|
43
|
-
import { TouchableOpacity } from "./TouchableOpacity";
|
|
56
|
+
import { TouchableOpacity, TouchableOpacity as TouchableOpacity2 } from "./TouchableOpacity";
|
|
44
57
|
import { TouchableWithoutFeedback } from "./TouchableWithoutFeedback";
|
|
45
58
|
import { ActivityIndicator } from "./ActivityIndicator/index";
|
|
46
59
|
import { Image } from "./Image/index";
|
|
@@ -60,6 +73,7 @@ import { useColorScheme } from "./useColorScheme/index";
|
|
|
60
73
|
import { useLocaleContext } from "./useLocaleContext/index";
|
|
61
74
|
import { useWindowDimensions } from "./useWindowDimensions/index";
|
|
62
75
|
export * from "@tamagui/react-native-web-internals";
|
|
76
|
+
import { unstable_batchedUpdates } from "react-dom";
|
|
63
77
|
function requireNativeComponent(name) {
|
|
64
78
|
return function() {
|
|
65
79
|
return null;
|
|
@@ -111,9 +125,30 @@ const Animated = {
|
|
|
111
125
|
delay: () => ({ start: () => {
|
|
112
126
|
} }),
|
|
113
127
|
createAnimatedComponent: (c) => c
|
|
114
|
-
}
|
|
128
|
+
}, Easing = {
|
|
129
|
+
step0: () => 0,
|
|
130
|
+
step1: () => 1,
|
|
131
|
+
linear: (t) => t,
|
|
132
|
+
ease: (t) => t,
|
|
133
|
+
quad: (t) => t * t,
|
|
134
|
+
cubic: (t) => t * t * t,
|
|
135
|
+
poly: () => (t) => t,
|
|
136
|
+
sin: (t) => t,
|
|
137
|
+
circle: (t) => t,
|
|
138
|
+
exp: (t) => t,
|
|
139
|
+
elastic: () => (t) => t,
|
|
140
|
+
back: () => (t) => t,
|
|
141
|
+
bounce: (t) => t,
|
|
142
|
+
bezier: () => (t) => t,
|
|
143
|
+
in: (fn) => fn,
|
|
144
|
+
out: (fn) => fn,
|
|
145
|
+
inOut: (fn) => fn
|
|
146
|
+
}, findNodeHandle = (component) => {
|
|
147
|
+
throw new Error("not supported - use ref instead");
|
|
148
|
+
}, RootTagContext = createContext(null);
|
|
115
149
|
export {
|
|
116
150
|
AccessibilityInfo,
|
|
151
|
+
AccessibilityUtil,
|
|
117
152
|
ActivityIndicator,
|
|
118
153
|
Alert,
|
|
119
154
|
Animated,
|
|
@@ -127,14 +162,17 @@ export {
|
|
|
127
162
|
DeviceInfo,
|
|
128
163
|
Dimensions,
|
|
129
164
|
UnimplementedView as DrawerLayoutAndroid,
|
|
165
|
+
Easing,
|
|
130
166
|
UnimplementedView4 as FlatList,
|
|
131
167
|
I18nManager,
|
|
132
168
|
Image,
|
|
133
169
|
ImageBackground,
|
|
134
170
|
ImageLoader,
|
|
171
|
+
InteractionManager,
|
|
135
172
|
Keyboard,
|
|
136
173
|
KeyboardAvoidingView,
|
|
137
174
|
Linking,
|
|
175
|
+
LocaleProvider,
|
|
138
176
|
LogBox,
|
|
139
177
|
Modal,
|
|
140
178
|
default2 as NativeEventEmitter,
|
|
@@ -144,35 +182,48 @@ export {
|
|
|
144
182
|
Platform,
|
|
145
183
|
Pressable,
|
|
146
184
|
RefreshControl,
|
|
185
|
+
RootTagContext,
|
|
147
186
|
SafeAreaView,
|
|
148
187
|
ScrollView,
|
|
149
188
|
UnimplementedView7 as SectionList,
|
|
150
189
|
Share,
|
|
151
190
|
StatusBar,
|
|
191
|
+
StyleSheet,
|
|
152
192
|
UnimplementedView2 as Switch,
|
|
153
193
|
Text,
|
|
194
|
+
TextAncestorContext,
|
|
154
195
|
TextInput,
|
|
196
|
+
TouchableOpacity as Touchable,
|
|
155
197
|
UnimplementedView5 as TouchableHighlight,
|
|
156
198
|
UnimplementedView6 as TouchableNativeFeedback,
|
|
157
|
-
TouchableOpacity,
|
|
199
|
+
TouchableOpacity2 as TouchableOpacity,
|
|
158
200
|
TouchableWithoutFeedback,
|
|
159
201
|
UIManager,
|
|
160
202
|
Vibration,
|
|
161
203
|
View,
|
|
162
204
|
UnimplementedView3 as VirtualizedList,
|
|
163
205
|
canUseDOM,
|
|
206
|
+
clickProps,
|
|
207
|
+
createDOMProps,
|
|
164
208
|
dismissKeyboard,
|
|
209
|
+
findNodeHandle,
|
|
210
|
+
flattenStyle,
|
|
165
211
|
isWebColor,
|
|
166
212
|
mergeRefs,
|
|
213
|
+
normalizeColor,
|
|
167
214
|
processColor,
|
|
215
|
+
processStyle,
|
|
168
216
|
render,
|
|
169
217
|
requireNativeComponent,
|
|
218
|
+
unstable_batchedUpdates,
|
|
170
219
|
createElement as unstable_createElement,
|
|
171
220
|
useColorScheme,
|
|
172
221
|
useEvent,
|
|
173
222
|
useHover,
|
|
223
|
+
useLayoutEffect,
|
|
174
224
|
useLocaleContext,
|
|
175
225
|
useMergeRefs,
|
|
226
|
+
usePlatformMethods,
|
|
176
227
|
useWindowDimensions
|
|
177
228
|
};
|
|
178
229
|
//# sourceMappingURL=without-animated.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/without-animated.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAA0B,qBAA8B;AACxD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,cAAc;AACvB,SAAS,qBAAqB;AAG9B,SAAoB,WAAXA,gBAAqC;AAG9C,SAAS,yBAAyB;AAClC,SAAS,aAAa;AACtB,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,gBAAgB;AACzB,SAAS,mBAAmB;AAC5B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,S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a,iBAAiB,CAAC,cAAmB;AAChD,QAAM,IAAI,MAAM,iCAAiC;AACnD,GAKa,iBAAiB,cAAc,IAAI;",
|
|
5
|
+
"names": ["default", "DeviceEmitter", "UnimplementedView", "TouchableOpacity"]
|
|
6
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { createContext } from "react";
|
|
1
2
|
import { createElement } from "./createElement/index.mjs";
|
|
2
|
-
import {
|
|
3
|
+
import { AccessibilityUtil, canUseDOM, clickProps, createDOMProps, dismissKeyboard, flattenStyle, ImageLoader, InteractionManager, isWebColor, LocaleProvider, mergeRefs, normalizeColor, Platform, processColor, processStyle, StyleSheet, TextAncestorContext, UIManager, useEvent, useHover, useLayoutEffect, useMergeRefs, usePlatformMethods } from "@tamagui/react-native-web-internals";
|
|
3
4
|
import { render } from "./render/index.mjs";
|
|
4
5
|
import { NativeModules } from "./NativeModules/index.mjs";
|
|
5
6
|
import { default as default2 } from "./vendor/react-native/EventEmitter/NativeEventEmitter.mjs";
|
|
@@ -28,7 +29,7 @@ import { UnimplementedView as UnimplementedView4 } from "./UnimplementedView.mjs
|
|
|
28
29
|
import { UnimplementedView as UnimplementedView5 } from "./UnimplementedView.mjs";
|
|
29
30
|
import { UnimplementedView as UnimplementedView6 } from "./UnimplementedView.mjs";
|
|
30
31
|
import { UnimplementedView as UnimplementedView7 } from "./UnimplementedView.mjs";
|
|
31
|
-
import { TouchableOpacity } from "./TouchableOpacity.mjs";
|
|
32
|
+
import { TouchableOpacity, TouchableOpacity as TouchableOpacity2 } from "./TouchableOpacity.mjs";
|
|
32
33
|
import { TouchableWithoutFeedback } from "./TouchableWithoutFeedback.mjs";
|
|
33
34
|
import { ActivityIndicator } from "./ActivityIndicator/index.mjs";
|
|
34
35
|
import { Image } from "./Image/index.mjs";
|
|
@@ -48,56 +49,80 @@ import { useColorScheme } from "./useColorScheme/index.mjs";
|
|
|
48
49
|
import { useLocaleContext } from "./useLocaleContext/index.mjs";
|
|
49
50
|
import { useWindowDimensions } from "./useWindowDimensions/index.mjs";
|
|
50
51
|
export * from "@tamagui/react-native-web-internals";
|
|
52
|
+
import { unstable_batchedUpdates } from "react-dom";
|
|
51
53
|
function requireNativeComponent(name) {
|
|
52
54
|
return function () {
|
|
53
55
|
return null;
|
|
54
56
|
};
|
|
55
57
|
}
|
|
56
58
|
const Animated = {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
View: "div",
|
|
60
|
+
Text: "span",
|
|
61
|
+
Image: "img",
|
|
62
|
+
ScrollView: "div",
|
|
63
|
+
FlatList: "div",
|
|
64
|
+
SectionList: "div",
|
|
65
|
+
Value: class {
|
|
66
|
+
constructor() {}
|
|
67
|
+
},
|
|
68
|
+
ValueXY: class {
|
|
69
|
+
constructor() {}
|
|
70
|
+
},
|
|
71
|
+
timing: () => ({
|
|
72
|
+
start: () => {}
|
|
73
|
+
}),
|
|
74
|
+
spring: () => ({
|
|
75
|
+
start: () => {}
|
|
76
|
+
}),
|
|
77
|
+
decay: () => ({
|
|
78
|
+
start: () => {}
|
|
79
|
+
}),
|
|
80
|
+
sequence: () => ({
|
|
81
|
+
start: () => {}
|
|
82
|
+
}),
|
|
83
|
+
parallel: () => ({
|
|
84
|
+
start: () => {}
|
|
85
|
+
}),
|
|
86
|
+
stagger: () => ({
|
|
87
|
+
start: () => {}
|
|
88
|
+
}),
|
|
89
|
+
loop: () => ({
|
|
90
|
+
start: () => {}
|
|
91
|
+
}),
|
|
92
|
+
event: () => () => {},
|
|
93
|
+
add: () => new class {}(),
|
|
94
|
+
subtract: () => new class {}(),
|
|
95
|
+
multiply: () => new class {}(),
|
|
96
|
+
divide: () => new class {}(),
|
|
97
|
+
modulo: () => new class {}(),
|
|
98
|
+
diffClamp: () => new class {}(),
|
|
99
|
+
delay: () => ({
|
|
100
|
+
start: () => {}
|
|
101
|
+
}),
|
|
102
|
+
createAnimatedComponent: c => c
|
|
65
103
|
},
|
|
66
|
-
|
|
67
|
-
|
|
104
|
+
Easing = {
|
|
105
|
+
step0: () => 0,
|
|
106
|
+
step1: () => 1,
|
|
107
|
+
linear: t => t,
|
|
108
|
+
ease: t => t,
|
|
109
|
+
quad: t => t * t,
|
|
110
|
+
cubic: t => t * t * t,
|
|
111
|
+
poly: () => t => t,
|
|
112
|
+
sin: t => t,
|
|
113
|
+
circle: t => t,
|
|
114
|
+
exp: t => t,
|
|
115
|
+
elastic: () => t => t,
|
|
116
|
+
back: () => t => t,
|
|
117
|
+
bounce: t => t,
|
|
118
|
+
bezier: () => t => t,
|
|
119
|
+
in: fn => fn,
|
|
120
|
+
out: fn => fn,
|
|
121
|
+
inOut: fn => fn
|
|
68
122
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}),
|
|
75
|
-
decay: () => ({
|
|
76
|
-
start: () => {}
|
|
77
|
-
}),
|
|
78
|
-
sequence: () => ({
|
|
79
|
-
start: () => {}
|
|
80
|
-
}),
|
|
81
|
-
parallel: () => ({
|
|
82
|
-
start: () => {}
|
|
83
|
-
}),
|
|
84
|
-
stagger: () => ({
|
|
85
|
-
start: () => {}
|
|
86
|
-
}),
|
|
87
|
-
loop: () => ({
|
|
88
|
-
start: () => {}
|
|
89
|
-
}),
|
|
90
|
-
event: () => () => {},
|
|
91
|
-
add: () => new class {}(),
|
|
92
|
-
subtract: () => new class {}(),
|
|
93
|
-
multiply: () => new class {}(),
|
|
94
|
-
divide: () => new class {}(),
|
|
95
|
-
modulo: () => new class {}(),
|
|
96
|
-
diffClamp: () => new class {}(),
|
|
97
|
-
delay: () => ({
|
|
98
|
-
start: () => {}
|
|
99
|
-
}),
|
|
100
|
-
createAnimatedComponent: c => c
|
|
101
|
-
};
|
|
102
|
-
export { AccessibilityInfo, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Clipboard, DeviceEmitter, DeviceEmitter2 as DeviceEventEmitter, DeviceInfo, Dimensions, UnimplementedView as DrawerLayoutAndroid, UnimplementedView4 as FlatList, I18nManager, Image, ImageBackground, ImageLoader, Keyboard, KeyboardAvoidingView, Linking, LogBox, Modal, default2 as NativeEventEmitter, NativeModules, PanResponder, PixelRatio, Platform, Pressable, RefreshControl, SafeAreaView, ScrollView, UnimplementedView7 as SectionList, Share, StatusBar, UnimplementedView2 as Switch, Text, TextInput, UnimplementedView5 as TouchableHighlight, UnimplementedView6 as TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, UnimplementedView3 as VirtualizedList, canUseDOM, dismissKeyboard, isWebColor, mergeRefs, processColor, render, requireNativeComponent, createElement as unstable_createElement, useColorScheme, useEvent, useHover, useLocaleContext, useMergeRefs, useWindowDimensions };
|
|
123
|
+
findNodeHandle = component => {
|
|
124
|
+
throw new Error("not supported - use ref instead");
|
|
125
|
+
},
|
|
126
|
+
RootTagContext = createContext(null);
|
|
127
|
+
export { AccessibilityInfo, AccessibilityUtil, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Clipboard, DeviceEmitter, DeviceEmitter2 as DeviceEventEmitter, DeviceInfo, Dimensions, UnimplementedView as DrawerLayoutAndroid, Easing, UnimplementedView4 as FlatList, I18nManager, Image, ImageBackground, ImageLoader, InteractionManager, Keyboard, KeyboardAvoidingView, Linking, LocaleProvider, LogBox, Modal, default2 as NativeEventEmitter, NativeModules, PanResponder, PixelRatio, Platform, Pressable, RefreshControl, RootTagContext, SafeAreaView, ScrollView, UnimplementedView7 as SectionList, Share, StatusBar, StyleSheet, UnimplementedView2 as Switch, Text, TextAncestorContext, TextInput, TouchableOpacity as Touchable, UnimplementedView5 as TouchableHighlight, UnimplementedView6 as TouchableNativeFeedback, TouchableOpacity2 as TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, UnimplementedView3 as VirtualizedList, canUseDOM, clickProps, createDOMProps, dismissKeyboard, findNodeHandle, flattenStyle, isWebColor, mergeRefs, normalizeColor, processColor, processStyle, render, requireNativeComponent, unstable_batchedUpdates, createElement as unstable_createElement, useColorScheme, useEvent, useHover, useLayoutEffect, useLocaleContext, useMergeRefs, usePlatformMethods, useWindowDimensions };
|
|
103
128
|
//# sourceMappingURL=without-animated.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createElement","
|
|
1
|
+
{"version":3,"names":["createContext","createElement","AccessibilityUtil","canUseDOM","clickProps","createDOMProps","dismissKeyboard","flattenStyle","ImageLoader","InteractionManager","isWebColor","LocaleProvider","mergeRefs","normalizeColor","Platform","processColor","processStyle","StyleSheet","TextAncestorContext","UIManager","useEvent","useHover","useLayoutEffect","useMergeRefs","usePlatformMethods","render","NativeModules","default","default2","AccessibilityInfo","Alert","Appearance","AppRegistry","AppState","BackHandler","Clipboard","DeviceInfo","DeviceEmitter","DeviceEmitter2","Dimensions","I18nManager","Keyboard","Linking","PanResponder","PixelRatio","Share","Vibration","UnimplementedView","UnimplementedView2","UnimplementedView3","UnimplementedView4","UnimplementedView5","UnimplementedView6","UnimplementedView7","TouchableOpacity","TouchableOpacity2","TouchableWithoutFeedback","ActivityIndicator","Image","ImageBackground","KeyboardAvoidingView","Modal","Pressable","RefreshControl","SafeAreaView","ScrollView","StatusBar","Text","TextInput","View","LogBox","useColorScheme","useLocaleContext","useWindowDimensions","unstable_batchedUpdates","requireNativeComponent","name","Animated","FlatList","SectionList","Value","constructor","ValueXY","timing","start","spring","decay","sequence","parallel","stagger","loop","event","add","subtract","multiply","divide","modulo","diffClamp","delay","createAnimatedComponent","c","Easing","step0","step1","linear","t","ease","quad","cubic","poly","sin","circle","exp","elastic","back","bounce","bezier","in","fn","out","inOut","findNodeHandle","component","Error","RootTagContext"],"sources":["../../src/without-animated.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;AAE9B,SAA0BC,aAAA,QAA8B;AACxD,SACEC,iBAAA,EACAC,SAAA,EACAC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,IAAcA,CAAA;IAC7BY,EAAA,EAAKC,EAAA,IAAYA,EAAA;IACjBC,GAAA,EAAMD,EAAA,IAAYA,EAAA;IAClBE,KAAA,EAAQF,EAAA,IAAYA;EACtB;EAEaG,cAAA,GAAkBC,SAAA,IAAmB;IAChD,MAAM,IAAIC,KAAA,CAAM,iCAAiC;EACnD;EAKaC,cAAA,GAAiB5H,aAAA,CAAc,IAAI","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/react-native-web-lite",
|
|
3
|
-
"version": "1.141.
|
|
3
|
+
"version": "1.141.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React Native for Web",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@tamagui/normalize-css-color": "1.141.
|
|
58
|
-
"@tamagui/react-native-use-pressable": "1.141.
|
|
59
|
-
"@tamagui/react-native-use-responder-events": "1.141.
|
|
60
|
-
"@tamagui/react-native-web-internals": "1.141.
|
|
61
|
-
"@tamagui/web": "1.141.
|
|
57
|
+
"@tamagui/normalize-css-color": "1.141.3",
|
|
58
|
+
"@tamagui/react-native-use-pressable": "1.141.3",
|
|
59
|
+
"@tamagui/react-native-use-responder-events": "1.141.3",
|
|
60
|
+
"@tamagui/react-native-web-internals": "1.141.3",
|
|
61
|
+
"@tamagui/web": "1.141.3",
|
|
62
62
|
"invariant": "^2.2.4",
|
|
63
63
|
"memoize-one": "^6.0.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tamagui/build": "1.141.
|
|
66
|
+
"@tamagui/build": "1.141.3",
|
|
67
67
|
"react": "*",
|
|
68
68
|
"react-dom": "*"
|
|
69
69
|
},
|
package/src/without-animated.tsx
CHANGED
|
@@ -1,16 +1,30 @@
|
|
|
1
|
+
import { createContext } from 'react'
|
|
2
|
+
|
|
1
3
|
export { createElement as unstable_createElement } from './createElement/index'
|
|
2
4
|
export {
|
|
3
|
-
|
|
4
|
-
Platform,
|
|
5
|
-
UIManager,
|
|
5
|
+
AccessibilityUtil,
|
|
6
6
|
canUseDOM,
|
|
7
|
+
clickProps,
|
|
8
|
+
createDOMProps,
|
|
7
9
|
dismissKeyboard,
|
|
10
|
+
flattenStyle,
|
|
11
|
+
ImageLoader,
|
|
12
|
+
InteractionManager,
|
|
8
13
|
isWebColor,
|
|
14
|
+
LocaleProvider,
|
|
9
15
|
mergeRefs,
|
|
10
|
-
|
|
16
|
+
normalizeColor,
|
|
17
|
+
Platform,
|
|
18
|
+
processColor,
|
|
19
|
+
processStyle,
|
|
20
|
+
StyleSheet,
|
|
21
|
+
TextAncestorContext,
|
|
22
|
+
UIManager,
|
|
11
23
|
useEvent,
|
|
12
24
|
useHover,
|
|
13
|
-
|
|
25
|
+
useLayoutEffect,
|
|
26
|
+
useMergeRefs,
|
|
27
|
+
usePlatformMethods,
|
|
14
28
|
} from '@tamagui/react-native-web-internals'
|
|
15
29
|
export { render } from './render/index'
|
|
16
30
|
export { NativeModules } from './NativeModules/index'
|
|
@@ -48,7 +62,7 @@ export { UnimplementedView as TouchableHighlight } from './UnimplementedView'
|
|
|
48
62
|
export { UnimplementedView as TouchableNativeFeedback } from './UnimplementedView'
|
|
49
63
|
export { UnimplementedView as SectionList } from './UnimplementedView'
|
|
50
64
|
|
|
51
|
-
export { TouchableOpacity } from './TouchableOpacity'
|
|
65
|
+
export { TouchableOpacity as Touchable, TouchableOpacity } from './TouchableOpacity'
|
|
52
66
|
export { TouchableWithoutFeedback } from './TouchableWithoutFeedback'
|
|
53
67
|
|
|
54
68
|
// components
|
|
@@ -112,3 +126,33 @@ export const Animated = {
|
|
|
112
126
|
delay: () => ({ start: () => {} }),
|
|
113
127
|
createAnimatedComponent: (c: any) => c,
|
|
114
128
|
}
|
|
129
|
+
|
|
130
|
+
// minimal stub for Easing - satisfies imports but does nothing
|
|
131
|
+
export const Easing = {
|
|
132
|
+
step0: () => 0,
|
|
133
|
+
step1: () => 1,
|
|
134
|
+
linear: (t: number) => t,
|
|
135
|
+
ease: (t: number) => t,
|
|
136
|
+
quad: (t: number) => t * t,
|
|
137
|
+
cubic: (t: number) => t * t * t,
|
|
138
|
+
poly: () => (t: number) => t,
|
|
139
|
+
sin: (t: number) => t,
|
|
140
|
+
circle: (t: number) => t,
|
|
141
|
+
exp: (t: number) => t,
|
|
142
|
+
elastic: () => (t: number) => t,
|
|
143
|
+
back: () => (t: number) => t,
|
|
144
|
+
bounce: (t: number) => t,
|
|
145
|
+
bezier: () => (t: number) => t,
|
|
146
|
+
in: (fn: any) => fn,
|
|
147
|
+
out: (fn: any) => fn,
|
|
148
|
+
inOut: (fn: any) => fn,
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export const findNodeHandle = (component: any) => {
|
|
152
|
+
throw new Error('not supported - use ref instead')
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// compat with rn:
|
|
156
|
+
export { unstable_batchedUpdates } from 'react-dom'
|
|
157
|
+
|
|
158
|
+
export const RootTagContext = createContext(null)
|