@tamagui/react-native-web-lite 1.130.8 → 1.131.1
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/ActivityIndicator/__tests__/index-test.cjs +1 -1
- package/dist/cjs/ActivityIndicator/index.cjs +1 -1
- package/dist/cjs/AppRegistry/AppContainer.cjs +1 -1
- package/dist/cjs/AppRegistry/__tests__/index-test.cjs +1 -1
- package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +2 -2
- package/dist/cjs/AppRegistry/index.cjs +1 -1
- package/dist/cjs/AppRegistry/renderApplication.cjs +2 -2
- package/dist/cjs/AppState/__tests__/index-test.cjs +1 -1
- package/dist/cjs/DeviceEmitter.cjs +1 -1
- package/dist/cjs/DeviceInfo/index.cjs +1 -1
- package/dist/cjs/Dimensions/__tests__/index-test.cjs +1 -1
- package/dist/cjs/FlatList.cjs +4 -4
- package/dist/cjs/Image/index.cjs +3 -3
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +2 -2
- package/dist/cjs/ImageBackground/index.cjs +2 -2
- package/dist/cjs/InteractionManager/index.cjs +3 -3
- package/dist/cjs/KeyboardAvoidingView/index.cjs +1 -1
- package/dist/cjs/Linking/__tests__/index-test.cjs +1 -1
- package/dist/cjs/Modal/ModalAnimation.cjs +1 -1
- package/dist/cjs/Modal/ModalContent.cjs +1 -1
- package/dist/cjs/PanResponder/index.cjs +1 -1
- package/dist/cjs/PixelRatio/index.cjs +1 -1
- package/dist/cjs/Pressable/index.cjs +1 -1
- package/dist/cjs/RefreshControl/index.cjs +1 -1
- package/dist/cjs/SafeAreaView/index.cjs +1 -1
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +1 -1
- package/dist/cjs/ScrollView/index.cjs +3 -3
- package/dist/cjs/SectionList.cjs +1 -1
- package/dist/cjs/Text/index.cjs +1 -1
- package/dist/cjs/TextInput/index.cjs +1 -1
- package/dist/cjs/TouchableNativeFeedback.cjs +1 -1
- package/dist/cjs/TouchableOpacity.cjs +1 -1
- package/dist/cjs/UnimplementedView.cjs +1 -1
- package/dist/cjs/View/index.cjs +1 -1
- package/dist/cjs/VirtualizedList.cjs +1 -1
- package/dist/cjs/createElement/__tests__/index-test.cjs +1 -1
- package/dist/cjs/index.cjs +47 -47
- package/dist/cjs/useColorScheme/index.cjs +1 -1
- package/dist/cjs/useWindowDimensions/index.cjs +1 -3
- package/dist/cjs/useWindowDimensions/index.js +0 -1
- package/dist/cjs/useWindowDimensions/index.js.map +1 -1
- package/dist/cjs/useWindowDimensions/index.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +8 -8
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +3 -4
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -1
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +19 -19
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +8 -8
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +1 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +6 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +1 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +4 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +4 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +4 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +4 -4
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +1 -1
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +1 -1
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +4 -4
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +1 -1
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +1 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +1 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +9 -9
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +1 -1
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +1 -1
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +1 -1
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +2 -2
- package/dist/cjs/without-animated.cjs +48 -48
- package/dist/esm/useWindowDimensions/index.js.map +1 -1
- package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
- package/dist/esm/useWindowDimensions/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +1 -1
- package/package.json +7 -7
- package/src/useWindowDimensions/index.tsx +12 -14
- package/src/vendor/react-native/Animated/AnimatedEvent.js +0 -1
- package/dist/cjs/TextInput/__tests__/index-test.cjs +0 -709
- package/dist/cjs/TextInput/__tests__/index-test.js +0 -422
- package/dist/cjs/TextInput/__tests__/index-test.js.map +0 -6
- package/dist/cjs/TextInput/__tests__/index-test.native.js +0 -532
- package/dist/cjs/TextInput/__tests__/index-test.native.js.map +0 -6
- package/dist/esm/TextInput/__tests__/index-test.js +0 -408
- package/dist/esm/TextInput/__tests__/index-test.js.map +0 -6
- package/dist/esm/TextInput/__tests__/index-test.mjs +0 -688
- package/dist/esm/TextInput/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/TextInput/__tests__/index-test.native.js +0 -703
- package/dist/esm/TextInput/__tests__/index-test.native.js.map +0 -1
|
@@ -24,7 +24,7 @@ var import_react = require("@testing-library/react"),
|
|
|
24
24
|
import_dom_event_testing_library = require("dom-event-testing-library"),
|
|
25
25
|
import_react2 = __toESM(require("react")),
|
|
26
26
|
import_test_utils = require("react-dom/test-utils"),
|
|
27
|
-
import__ = __toESM(require("
|
|
27
|
+
import__ = __toESM(require("../index.cjs")),
|
|
28
28
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
29
29
|
describe("components/ActivityIndicator", () => {
|
|
30
30
|
describe('prop "accessibilityLabel"', () => {
|
|
@@ -36,7 +36,7 @@ __export(ActivityIndicator_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(ActivityIndicator_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_View = __toESM(require("../View/index")),
|
|
39
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
40
40
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
const createSvgCircle = style => /* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
|
|
42
42
|
cx: "16",
|
|
@@ -36,7 +36,7 @@ __export(AppContainer_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(AppContainer_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_View = __toESM(require("../View/index")),
|
|
39
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
40
40
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
const RootTagContext = React.createContext(null),
|
|
42
42
|
AppContainer = React.forwardRef((props, forwardedRef) => {
|
|
@@ -21,7 +21,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
var import_react = __toESM(require("react")),
|
|
24
|
-
import__ = __toESM(require("
|
|
24
|
+
import__ = __toESM(require("../index.cjs"));
|
|
25
25
|
const NoopComponent = () => import_react.default.createElement("div");
|
|
26
26
|
describe("AppRegistry", () => {
|
|
27
27
|
describe("runApplication", () => {
|
|
@@ -23,8 +23,8 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
23
23
|
var import_react = __toESM(require("react")),
|
|
24
24
|
import_server = __toESM(require("react-dom/server")),
|
|
25
25
|
import_StyleSheet = __toESM(require("../../StyleSheet/index")),
|
|
26
|
-
import_View = __toESM(require("../../View")),
|
|
27
|
-
import__ = __toESM(require("
|
|
26
|
+
import_View = __toESM(require("../../View/index.cjs")),
|
|
27
|
+
import__ = __toESM(require("../index.cjs"));
|
|
28
28
|
const NoopComponent = () => import_react.default.createElement("div");
|
|
29
29
|
describe("AppRegistry", () => {
|
|
30
30
|
describe("getApplication", () => {
|
|
@@ -36,7 +36,7 @@ __export(AppRegistry_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(AppRegistry_exports);
|
|
37
37
|
var import_react_dom = require("react-dom"),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_renderApplication = __toESM(require("./renderApplication"));
|
|
39
|
+
import_renderApplication = __toESM(require("./renderApplication.cjs"));
|
|
40
40
|
const emptyObject = {},
|
|
41
41
|
runnables = {};
|
|
42
42
|
let componentProviderInstrumentationHook = component => component(),
|
|
@@ -37,8 +37,8 @@ __export(renderApplication_exports, {
|
|
|
37
37
|
module.exports = __toCommonJS(renderApplication_exports);
|
|
38
38
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
39
|
import_react_native_web_internals2 = require("@tamagui/react-native-web-internals"),
|
|
40
|
-
import_render = __toESM(require("../render/index")),
|
|
41
|
-
import_AppContainer = __toESM(require("./AppContainer")),
|
|
40
|
+
import_render = __toESM(require("../render/index.cjs")),
|
|
41
|
+
import_AppContainer = __toESM(require("./AppContainer.cjs")),
|
|
42
42
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
43
43
|
function renderApplication(RootComponent, WrapperComponent = null, callback = () => {}, options) {
|
|
44
44
|
const {
|
|
@@ -20,7 +20,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
|
-
var import__ = __toESM(require("
|
|
23
|
+
var import__ = __toESM(require("../index.cjs"));
|
|
24
24
|
describe("apis/AppState", () => {
|
|
25
25
|
const handler = () => {};
|
|
26
26
|
describe("addEventListener", () => {
|
|
@@ -34,5 +34,5 @@ __export(DeviceEmitter_exports, {
|
|
|
34
34
|
default: () => DeviceEmitter_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(DeviceEmitter_exports);
|
|
37
|
-
var import_EventEmitter = __toESM(require("./vendor/react-native/emitter/_EventEmitter")),
|
|
37
|
+
var import_EventEmitter = __toESM(require("./vendor/react-native/emitter/_EventEmitter.cjs")),
|
|
38
38
|
DeviceEmitter_default = new import_EventEmitter.default();
|
|
@@ -35,7 +35,7 @@ __export(DeviceInfo_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(DeviceInfo_exports);
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
|
-
import_Dimensions = __toESM(require("../Dimensions/index"));
|
|
38
|
+
import_Dimensions = __toESM(require("../Dimensions/index.cjs"));
|
|
39
39
|
const DeviceInfo = {
|
|
40
40
|
Dimensions: {
|
|
41
41
|
get windowPhysicalPixels() {
|
|
@@ -20,7 +20,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
|
-
var import__ = __toESM(require("
|
|
23
|
+
var import__ = __toESM(require("../index.cjs"));
|
|
24
24
|
describe("apis/Dimensions/index.js", () => {
|
|
25
25
|
test("get", () => {
|
|
26
26
|
expect(import__.default.get("screen")).toMatchInlineSnapshot(`
|
package/dist/cjs/FlatList.cjs
CHANGED
|
@@ -37,10 +37,10 @@ module.exports = __toCommonJS(FlatList_exports);
|
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
38
|
import_memoize_one = __toESM(require("memoize-one")),
|
|
39
39
|
import_react = __toESM(require("react")),
|
|
40
|
-
import_deepDiffer = __toESM(require("./vendor/react-native/deepDiffer")),
|
|
41
|
-
import_VirtualizedList = __toESM(require("./vendor/react-native/VirtualizedList")),
|
|
42
|
-
import_VirtualizeUtils = require("./vendor/react-native/VirtualizeUtils"),
|
|
43
|
-
import_View = __toESM(require("./View")),
|
|
40
|
+
import_deepDiffer = __toESM(require("./vendor/react-native/deepDiffer/index.cjs")),
|
|
41
|
+
import_VirtualizedList = __toESM(require("./vendor/react-native/VirtualizedList/index.cjs")),
|
|
42
|
+
import_VirtualizeUtils = require("./vendor/react-native/VirtualizeUtils/index.cjs"),
|
|
43
|
+
import_View = __toESM(require("./View/index.cjs")),
|
|
44
44
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
45
45
|
function removeClippedSubviewsOrDefault(removeClippedSubviews) {
|
|
46
46
|
return removeClippedSubviews ?? import_react_native_web_internals.Platform.OS === "android";
|
package/dist/cjs/Image/index.cjs
CHANGED
|
@@ -37,9 +37,9 @@ module.exports = __toCommonJS(Image_exports);
|
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
39
|
import_react_native_web_internals2 = require("@tamagui/react-native-web-internals"),
|
|
40
|
-
import_createElement = __toESM(require("../createElement/index")),
|
|
41
|
-
import_PixelRatio = __toESM(require("../PixelRatio/index")),
|
|
42
|
-
import_View = __toESM(require("../View/index")),
|
|
40
|
+
import_createElement = __toESM(require("../createElement/index.cjs")),
|
|
41
|
+
import_PixelRatio = __toESM(require("../PixelRatio/index.cjs")),
|
|
42
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
43
43
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
44
44
|
const ERRORED = "ERRORED",
|
|
45
45
|
LOADED = "LOADED",
|
|
@@ -21,8 +21,8 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
var import_react = require("@testing-library/react"),
|
|
24
|
-
import_Text = __toESM(require("../../Text")),
|
|
25
|
-
import__ = __toESM(require("
|
|
24
|
+
import_Text = __toESM(require("../../Text/index.cjs")),
|
|
25
|
+
import__ = __toESM(require("../index.cjs")),
|
|
26
26
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
27
27
|
function findImage(container) {
|
|
28
28
|
return container.firstChild.firstChild;
|
|
@@ -36,8 +36,8 @@ __export(ImageBackground_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(ImageBackground_exports);
|
|
37
37
|
var import_react = require("react"),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_Image = __toESM(require("../Image/index")),
|
|
40
|
-
import_View = __toESM(require("../View/index")),
|
|
39
|
+
import_Image = __toESM(require("../Image/index.cjs")),
|
|
40
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
41
41
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
42
42
|
const emptyObject = {},
|
|
43
43
|
ImageBackground = (0, import_react.forwardRef)((props, forwardedRef) => {
|
|
@@ -35,9 +35,9 @@ __export(InteractionManager_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(InteractionManager_exports);
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
|
-
import_EventEmitter = __toESM(require("../vendor/react-native/emitter/_EventEmitter")),
|
|
39
|
-
import_TaskQueue = __toESM(require("./TaskQueue")),
|
|
40
|
-
import_requestIdleCallback = __toESM(require("../modules/requestIdleCallback"));
|
|
38
|
+
import_EventEmitter = __toESM(require("../vendor/react-native/emitter/_EventEmitter.cjs")),
|
|
39
|
+
import_TaskQueue = __toESM(require("./TaskQueue.cjs")),
|
|
40
|
+
import_requestIdleCallback = __toESM(require("../modules/requestIdleCallback.cjs"));
|
|
41
41
|
const _emitter = new import_EventEmitter.default(),
|
|
42
42
|
InteractionManager = {
|
|
43
43
|
Events: {
|
|
@@ -35,7 +35,7 @@ __export(KeyboardAvoidingView_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(KeyboardAvoidingView_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
|
-
import_View = __toESM(require("../View/index")),
|
|
38
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
39
39
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
40
40
|
class KeyboardAvoidingView extends React.Component {
|
|
41
41
|
frame = null;
|
|
@@ -20,7 +20,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
|
-
var import__ = __toESM(require("
|
|
23
|
+
var import__ = __toESM(require("../index.cjs"));
|
|
24
24
|
describe("apis/Linking", () => {
|
|
25
25
|
describe("openURL", () => {
|
|
26
26
|
test("calls open with a url and target", done => {
|
|
@@ -36,7 +36,7 @@ __export(ModalAnimation_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(ModalAnimation_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_createElement = __toESM(require("../createElement/index")),
|
|
39
|
+
import_createElement = __toESM(require("../createElement/index.cjs")),
|
|
40
40
|
ANIMATION_DURATION = 300;
|
|
41
41
|
function getAnimationStyle(animationType, visible) {
|
|
42
42
|
return animationType === "slide" ? visible ? animatedSlideInStyles : animatedSlideOutStyles : animationType === "fade" ? visible ? animatedFadeInStyles : animatedFadeOutStyles : visible ? styles.container : styles.hidden;
|
|
@@ -36,7 +36,7 @@ __export(ModalContent_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(ModalContent_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_View = __toESM(require("../View")),
|
|
39
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
40
40
|
ModalContent = /* @__PURE__ */React.forwardRef((props, forwardedRef) => {
|
|
41
41
|
const {
|
|
42
42
|
active,
|
|
@@ -34,5 +34,5 @@ __export(PanResponder_exports, {
|
|
|
34
34
|
default: () => PanResponder_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(PanResponder_exports);
|
|
37
|
-
var import_PanResponder = __toESM(require("../vendor/react-native/PanResponder/index")),
|
|
37
|
+
var import_PanResponder = __toESM(require("../vendor/react-native/PanResponder/index.cjs")),
|
|
38
38
|
PanResponder_default = import_PanResponder.default;
|
|
@@ -34,7 +34,7 @@ __export(PixelRatio_exports, {
|
|
|
34
34
|
default: () => PixelRatio
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(PixelRatio_exports);
|
|
37
|
-
var import_Dimensions = __toESM(require("../Dimensions/index"));
|
|
37
|
+
var import_Dimensions = __toESM(require("../Dimensions/index.cjs"));
|
|
38
38
|
class PixelRatio {
|
|
39
39
|
/**
|
|
40
40
|
* Returns the device pixel density.
|
|
@@ -41,7 +41,7 @@ var import_react_native_use_pressable = require("@tamagui/react-native-use-press
|
|
|
41
41
|
import_react = require("react"),
|
|
42
42
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
43
43
|
import_react_native_web_internals2 = require("@tamagui/react-native-web-internals"),
|
|
44
|
-
import_View = __toESM(require("../View/index")),
|
|
44
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
45
45
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
46
46
|
function Pressable(props, forwardedRef) {
|
|
47
47
|
const {
|
|
@@ -34,7 +34,7 @@ __export(RefreshControl_exports, {
|
|
|
34
34
|
default: () => RefreshControl_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(RefreshControl_exports);
|
|
37
|
-
var import_View = __toESM(require("../View/index")),
|
|
37
|
+
var import_View = __toESM(require("../View/index.cjs")),
|
|
38
38
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
39
39
|
function RefreshControl(props) {
|
|
40
40
|
const {
|
|
@@ -36,7 +36,7 @@ __export(SafeAreaView_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(SafeAreaView_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_View = __toESM(require("../View/index")),
|
|
39
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
40
40
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
const cssFunction = import_react_native_web_internals.canUseDOM && window.CSS && window.CSS.supports && window.CSS.supports("top: constant(safe-area-inset-top)") ? "constant" : "env",
|
|
42
42
|
SafeAreaView = React.forwardRef((props, ref) => {
|
|
@@ -36,7 +36,7 @@ __export(ScrollViewBase_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(ScrollViewBase_exports);
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
38
|
React = __toESM(require("react")),
|
|
39
|
-
import_View = __toESM(require("../View/index")),
|
|
39
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
40
40
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
function normalizeScrollEvent(e) {
|
|
42
42
|
return {
|
|
@@ -36,9 +36,9 @@ __export(ScrollView_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(ScrollView_exports);
|
|
37
37
|
var import_react = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
-
import_Dimensions = __toESM(require("../Dimensions/index")),
|
|
40
|
-
import_View = __toESM(require("../View/index")),
|
|
41
|
-
import_ScrollViewBase = __toESM(require("./ScrollViewBase")),
|
|
39
|
+
import_Dimensions = __toESM(require("../Dimensions/index.cjs")),
|
|
40
|
+
import_View = __toESM(require("../View/index.cjs")),
|
|
41
|
+
import_ScrollViewBase = __toESM(require("./ScrollViewBase.cjs")),
|
|
42
42
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
43
43
|
const emptyObject = {},
|
|
44
44
|
IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;
|
package/dist/cjs/SectionList.cjs
CHANGED
|
@@ -34,5 +34,5 @@ __export(SectionList_exports, {
|
|
|
34
34
|
default: () => SectionList_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(SectionList_exports);
|
|
37
|
-
var import_SectionList = __toESM(require("./vendor/react-native/SectionList")),
|
|
37
|
+
var import_SectionList = __toESM(require("./vendor/react-native/SectionList/index.cjs")),
|
|
38
38
|
SectionList_default = import_SectionList.default;
|
package/dist/cjs/Text/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ __export(Text_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(Text_exports);
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
38
|
React = __toESM(require("react")),
|
|
39
|
-
import_createElement = require("../createElement/index"),
|
|
39
|
+
import_createElement = require("../createElement/index.cjs"),
|
|
40
40
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
const pickProps = props => (0, import_react_native_web_internals.pick)(props, import_react_native_web_internals.forwardPropsListText),
|
|
42
42
|
Text = React.forwardRef((props, forwardedRef) => {
|
|
@@ -37,7 +37,7 @@ module.exports = __toCommonJS(TextInput_exports);
|
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
38
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
39
|
import_react_native_web_internals2 = require("@tamagui/react-native-web-internals"),
|
|
40
|
-
import_createElement = require("../createElement/index");
|
|
40
|
+
import_createElement = require("../createElement/index.cjs");
|
|
41
41
|
const isSelectionStale = (node, selection) => {
|
|
42
42
|
const {
|
|
43
43
|
selectionEnd,
|
|
@@ -34,5 +34,5 @@ __export(TouchableNativeFeedback_exports, {
|
|
|
34
34
|
default: () => TouchableNativeFeedback_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(TouchableNativeFeedback_exports);
|
|
37
|
-
var import_UnimplementedView = __toESM(require("./UnimplementedView")),
|
|
37
|
+
var import_UnimplementedView = __toESM(require("./UnimplementedView.cjs")),
|
|
38
38
|
TouchableNativeFeedback_default = import_UnimplementedView.default;
|
|
@@ -39,7 +39,7 @@ module.exports = __toCommonJS(TouchableOpacity_exports);
|
|
|
39
39
|
var React = __toESM(require("react")),
|
|
40
40
|
import_react = require("react"),
|
|
41
41
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
42
|
-
import_View = __toESM(require("./View")),
|
|
42
|
+
import_View = __toESM(require("./View/index.cjs")),
|
|
43
43
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
44
44
|
function TouchableOpacity(props, forwardedRef) {
|
|
45
45
|
const {
|
|
@@ -35,7 +35,7 @@ __export(UnimplementedView_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(UnimplementedView_exports);
|
|
37
37
|
var import_react = __toESM(require("react")),
|
|
38
|
-
import_View = __toESM(require("./View/index")),
|
|
38
|
+
import_View = __toESM(require("./View/index.cjs")),
|
|
39
39
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
40
40
|
class UnimplementedView extends import_react.default.Component {
|
|
41
41
|
setNativeProps = () => {};
|
package/dist/cjs/View/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ __export(View_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(View_exports);
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
38
|
React = __toESM(require("react")),
|
|
39
|
-
import_createElement = require("../createElement/index");
|
|
39
|
+
import_createElement = require("../createElement/index.cjs");
|
|
40
40
|
const pickProps = props => (0, import_react_native_web_internals.pick)(props, import_react_native_web_internals.forwardPropsListView),
|
|
41
41
|
View = React.forwardRef((props, forwardedRef) => {
|
|
42
42
|
const {
|
|
@@ -34,5 +34,5 @@ __export(VirtualizedList_exports, {
|
|
|
34
34
|
default: () => VirtualizedList_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(VirtualizedList_exports);
|
|
37
|
-
var import_VirtualizedList = __toESM(require("./vendor/react-native/VirtualizedList")),
|
|
37
|
+
var import_VirtualizedList = __toESM(require("./vendor/react-native/VirtualizedList/index.cjs")),
|
|
38
38
|
VirtualizedList_default = import_VirtualizedList.default;
|
|
@@ -21,7 +21,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
var import_react = require("@testing-library/react"),
|
|
24
|
-
import__ = __toESM(require("
|
|
24
|
+
import__ = __toESM(require("../index.cjs")),
|
|
25
25
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
26
26
|
function getAttribute(container, attribute) {
|
|
27
27
|
return container.firstChild.getAttribute(attribute);
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -110,53 +110,53 @@ __export(index_exports, {
|
|
|
110
110
|
});
|
|
111
111
|
module.exports = __toCommonJS(index_exports);
|
|
112
112
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
113
|
-
import_createElement = __toESM(require("./createElement/index")),
|
|
114
|
-
import_NativeModules = __toESM(require("./NativeModules/index")),
|
|
115
|
-
import_render = __toESM(require("./render/index")),
|
|
116
|
-
import_Animated = __toESM(require("./vendor/react-native/Animated/Animated")),
|
|
117
|
-
import_Easing = __toESM(require("./vendor/react-native/Animated/Easing")),
|
|
118
|
-
import_NativeEventEmitter = __toESM(require("./vendor/react-native/EventEmitter/NativeEventEmitter")),
|
|
119
|
-
import_AccessibilityInfo = __toESM(require("./AccessibilityInfo/index")),
|
|
120
|
-
import_Alert = __toESM(require("./Alert/index")),
|
|
121
|
-
import_Appearance = __toESM(require("./Appearance/index")),
|
|
122
|
-
import_AppRegistry = __toESM(require("./AppRegistry/index")),
|
|
123
|
-
import_AppState = __toESM(require("./AppState/index")),
|
|
124
|
-
import_BackHandler = __toESM(require("./BackHandler/index")),
|
|
125
|
-
import_Clipboard = __toESM(require("./Clipboard/index")),
|
|
126
|
-
import_DeviceEmitter = __toESM(require("./DeviceEmitter")),
|
|
127
|
-
import_DeviceInfo = __toESM(require("./DeviceInfo/index")),
|
|
128
|
-
import_Dimensions = __toESM(require("./Dimensions/index")),
|
|
129
|
-
import_I18nManager = __toESM(require("./I18nManager/index")),
|
|
130
|
-
import_Keyboard = __toESM(require("./Keyboard/index")),
|
|
131
|
-
import_Linking = __toESM(require("./Linking/index")),
|
|
132
|
-
import_PanResponder = __toESM(require("./PanResponder/index")),
|
|
133
|
-
import_PixelRatio = __toESM(require("./PixelRatio/index")),
|
|
134
|
-
import_Share = __toESM(require("./Share/index")),
|
|
135
|
-
import_Vibration = __toESM(require("./Vibration/index")),
|
|
136
|
-
import_FlatList = __toESM(require("./FlatList")),
|
|
137
|
-
import_SectionList = __toESM(require("./SectionList")),
|
|
138
|
-
import_VirtualizedList = __toESM(require("./VirtualizedList")),
|
|
139
|
-
import_TouchableNativeFeedback = __toESM(require("./TouchableNativeFeedback")),
|
|
140
|
-
import_UnimplementedView = __toESM(require("./UnimplementedView")),
|
|
141
|
-
import_TouchableOpacity = __toESM(require("./TouchableOpacity")),
|
|
142
|
-
import_TouchableWithoutFeedback = __toESM(require("./TouchableWithoutFeedback")),
|
|
143
|
-
import_ActivityIndicator = __toESM(require("./ActivityIndicator/index")),
|
|
144
|
-
import_Image = __toESM(require("./Image/index")),
|
|
145
|
-
import_ImageBackground = __toESM(require("./ImageBackground/index")),
|
|
146
|
-
import_KeyboardAvoidingView = __toESM(require("./KeyboardAvoidingView/index")),
|
|
147
|
-
import_LogBox = __toESM(require("./LogBox/index")),
|
|
148
|
-
import_Modal = __toESM(require("./Modal/index")),
|
|
149
|
-
import_Pressable = __toESM(require("./Pressable/index")),
|
|
150
|
-
import_RefreshControl = __toESM(require("./RefreshControl/index")),
|
|
151
|
-
import_SafeAreaView = __toESM(require("./SafeAreaView/index")),
|
|
152
|
-
import_ScrollView = __toESM(require("./ScrollView/index")),
|
|
153
|
-
import_StatusBar = __toESM(require("./StatusBar/index")),
|
|
154
|
-
import_Text = __toESM(require("./Text/index")),
|
|
155
|
-
import_TextInput = __toESM(require("./TextInput/index")),
|
|
156
|
-
import_View = __toESM(require("./View/index")),
|
|
157
|
-
import_useColorScheme = __toESM(require("./useColorScheme/index")),
|
|
158
|
-
import_useLocaleContext = require("./useLocaleContext/index"),
|
|
159
|
-
import_useWindowDimensions = __toESM(require("./useWindowDimensions/index"));
|
|
113
|
+
import_createElement = __toESM(require("./createElement/index.cjs")),
|
|
114
|
+
import_NativeModules = __toESM(require("./NativeModules/index.cjs")),
|
|
115
|
+
import_render = __toESM(require("./render/index.cjs")),
|
|
116
|
+
import_Animated = __toESM(require("./vendor/react-native/Animated/Animated.cjs")),
|
|
117
|
+
import_Easing = __toESM(require("./vendor/react-native/Animated/Easing.cjs")),
|
|
118
|
+
import_NativeEventEmitter = __toESM(require("./vendor/react-native/EventEmitter/NativeEventEmitter.cjs")),
|
|
119
|
+
import_AccessibilityInfo = __toESM(require("./AccessibilityInfo/index.cjs")),
|
|
120
|
+
import_Alert = __toESM(require("./Alert/index.cjs")),
|
|
121
|
+
import_Appearance = __toESM(require("./Appearance/index.cjs")),
|
|
122
|
+
import_AppRegistry = __toESM(require("./AppRegistry/index.cjs")),
|
|
123
|
+
import_AppState = __toESM(require("./AppState/index.cjs")),
|
|
124
|
+
import_BackHandler = __toESM(require("./BackHandler/index.cjs")),
|
|
125
|
+
import_Clipboard = __toESM(require("./Clipboard/index.cjs")),
|
|
126
|
+
import_DeviceEmitter = __toESM(require("./DeviceEmitter.cjs")),
|
|
127
|
+
import_DeviceInfo = __toESM(require("./DeviceInfo/index.cjs")),
|
|
128
|
+
import_Dimensions = __toESM(require("./Dimensions/index.cjs")),
|
|
129
|
+
import_I18nManager = __toESM(require("./I18nManager/index.cjs")),
|
|
130
|
+
import_Keyboard = __toESM(require("./Keyboard/index.cjs")),
|
|
131
|
+
import_Linking = __toESM(require("./Linking/index.cjs")),
|
|
132
|
+
import_PanResponder = __toESM(require("./PanResponder/index.cjs")),
|
|
133
|
+
import_PixelRatio = __toESM(require("./PixelRatio/index.cjs")),
|
|
134
|
+
import_Share = __toESM(require("./Share/index.cjs")),
|
|
135
|
+
import_Vibration = __toESM(require("./Vibration/index.cjs")),
|
|
136
|
+
import_FlatList = __toESM(require("./FlatList.cjs")),
|
|
137
|
+
import_SectionList = __toESM(require("./SectionList.cjs")),
|
|
138
|
+
import_VirtualizedList = __toESM(require("./VirtualizedList.cjs")),
|
|
139
|
+
import_TouchableNativeFeedback = __toESM(require("./TouchableNativeFeedback.cjs")),
|
|
140
|
+
import_UnimplementedView = __toESM(require("./UnimplementedView.cjs")),
|
|
141
|
+
import_TouchableOpacity = __toESM(require("./TouchableOpacity.cjs")),
|
|
142
|
+
import_TouchableWithoutFeedback = __toESM(require("./TouchableWithoutFeedback.cjs")),
|
|
143
|
+
import_ActivityIndicator = __toESM(require("./ActivityIndicator/index.cjs")),
|
|
144
|
+
import_Image = __toESM(require("./Image/index.cjs")),
|
|
145
|
+
import_ImageBackground = __toESM(require("./ImageBackground/index.cjs")),
|
|
146
|
+
import_KeyboardAvoidingView = __toESM(require("./KeyboardAvoidingView/index.cjs")),
|
|
147
|
+
import_LogBox = __toESM(require("./LogBox/index.cjs")),
|
|
148
|
+
import_Modal = __toESM(require("./Modal/index.cjs")),
|
|
149
|
+
import_Pressable = __toESM(require("./Pressable/index.cjs")),
|
|
150
|
+
import_RefreshControl = __toESM(require("./RefreshControl/index.cjs")),
|
|
151
|
+
import_SafeAreaView = __toESM(require("./SafeAreaView/index.cjs")),
|
|
152
|
+
import_ScrollView = __toESM(require("./ScrollView/index.cjs")),
|
|
153
|
+
import_StatusBar = __toESM(require("./StatusBar/index.cjs")),
|
|
154
|
+
import_Text = __toESM(require("./Text/index.cjs")),
|
|
155
|
+
import_TextInput = __toESM(require("./TextInput/index.cjs")),
|
|
156
|
+
import_View = __toESM(require("./View/index.cjs")),
|
|
157
|
+
import_useColorScheme = __toESM(require("./useColorScheme/index.cjs")),
|
|
158
|
+
import_useLocaleContext = require("./useLocaleContext/index.cjs"),
|
|
159
|
+
import_useWindowDimensions = __toESM(require("./useWindowDimensions/index.cjs"));
|
|
160
160
|
function requireNativeComponent(name) {
|
|
161
161
|
return function () {
|
|
162
162
|
return null;
|
|
@@ -35,7 +35,7 @@ __export(useColorScheme_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(useColorScheme_exports);
|
|
37
37
|
var React = __toESM(require("react")),
|
|
38
|
-
import_Appearance = __toESM(require("../Appearance/index"));
|
|
38
|
+
import_Appearance = __toESM(require("../Appearance/index.cjs"));
|
|
39
39
|
function useColorScheme() {
|
|
40
40
|
const [colorScheme, setColorScheme] = React.useState(import_Appearance.default.getColorScheme());
|
|
41
41
|
return React.useEffect(() => {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
var __create = Object.create;
|
|
4
2
|
var __defProp = Object.defineProperty;
|
|
5
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -37,7 +35,7 @@ __export(useWindowDimensions_exports, {
|
|
|
37
35
|
});
|
|
38
36
|
module.exports = __toCommonJS(useWindowDimensions_exports);
|
|
39
37
|
var import_react = __toESM(require("react")),
|
|
40
|
-
import_Dimensions = __toESM(require("../Dimensions/index"));
|
|
38
|
+
import_Dimensions = __toESM(require("../Dimensions/index.cjs"));
|
|
41
39
|
function useWindowDimensions() {
|
|
42
40
|
const [dims, setDims] = import_react.default.useState(() => import_Dimensions.default.get("window"));
|
|
43
41
|
return import_react.default.useEffect(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/useWindowDimensions/index.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,mBAAkB,2BAGlB,oBAAuB;AAER,SAAR,sBAAuD;AAC5D,QAAM,CAAC,MAAM,OAAO,IAAI,aAAAA,QAAM,SAAS,MAAM,kBAAAC,QAAW,IAAI,QAAQ,CAAC;AACrE,sBAAAD,QAAM,UAAU,MAAM;AACpB,aAAS,aAAa,EAAE,OAAO,GAAG;AAChC,MAAI,UAAU,QACZ,QAAQ,MAAM;AAAA,IAElB;AACA,6BAAAC,QAAW,iBAAiB,UAAU,YAAY,GAIlD,QAAQ,kBAAAA,QAAW,IAAI,QAAQ,CAAC,GACzB,MAAM;AACX,wBAAAA,QAAW,oBAAoB,UAAU,YAAY;AAAA,IACvD;AAAA,EACF,GAAG,CAAC,CAAC,GACE;AACT;",
|
|
5
5
|
"names": ["React", "Dimensions"]
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/useWindowDimensions/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAUA,mBAAkB,2BAGlB,oBAAuB;AAER,SAAf,sBAAwBA;AACtB,MAAM,CAACC,MAAMC,OAAAA,IAAWC,aAAAA,QAAMC,SAAS,WAAA;WAAMC,kBAAAA,QAAWC,IAAI,QAAA;;AAC5DH,sBAAAA,QAAMI,UAAU,WAAA;AACd,aAASC,aAAa,OAAU;UAAV,EAAEC,OAAM,IAAR;AACpB,MAAIA,UAAU,QACZP,QAAQO,MAAAA;IAEZ;AACAJ,6BAAAA,QAAWK,iBAAiB,UAAUF,YAAAA,GAItCN,QAAQG,kBAAAA,QAAWC,IAAI,QAAA,CAAA,GAChB,WAAA;AACLD,wBAAAA,QAAWM,oBAAoB,UAAUH,YAAAA;IAC3C;EACF,GAAG,CAAA,CAAE,GACEP;AACT;",
|
|
5
5
|
"names": ["useWindowDimensions", "dims", "setDims", "React", "useState", "Dimensions", "get", "useEffect", "handleChange", "window", "addEventListener", "removeEventListener"]
|
|
6
6
|
}
|
|
@@ -35,14 +35,14 @@ __export(Animated_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(Animated_exports);
|
|
37
37
|
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
38
|
-
import_AnimatedFlatList = __toESM(require("./components/AnimatedFlatList")),
|
|
39
|
-
import_AnimatedImage = __toESM(require("./components/AnimatedImage")),
|
|
40
|
-
import_AnimatedScrollView = __toESM(require("./components/AnimatedScrollView")),
|
|
41
|
-
import_AnimatedSectionList = __toESM(require("./components/AnimatedSectionList")),
|
|
42
|
-
import_AnimatedText = __toESM(require("./components/AnimatedText")),
|
|
43
|
-
import_AnimatedView = __toESM(require("./components/AnimatedView")),
|
|
44
|
-
import_AnimatedMock = __toESM(require("./AnimatedMock")),
|
|
45
|
-
import_AnimatedImplementation = __toESM(require("./AnimatedImplementation"));
|
|
38
|
+
import_AnimatedFlatList = __toESM(require("./components/AnimatedFlatList.cjs")),
|
|
39
|
+
import_AnimatedImage = __toESM(require("./components/AnimatedImage.cjs")),
|
|
40
|
+
import_AnimatedScrollView = __toESM(require("./components/AnimatedScrollView.cjs")),
|
|
41
|
+
import_AnimatedSectionList = __toESM(require("./components/AnimatedSectionList.cjs")),
|
|
42
|
+
import_AnimatedText = __toESM(require("./components/AnimatedText.cjs")),
|
|
43
|
+
import_AnimatedView = __toESM(require("./components/AnimatedView.cjs")),
|
|
44
|
+
import_AnimatedMock = __toESM(require("./AnimatedMock.cjs")),
|
|
45
|
+
import_AnimatedImplementation = __toESM(require("./AnimatedImplementation.cjs"));
|
|
46
46
|
const Animated = import_react_native_web_internals.Platform.isTesting ? import_AnimatedMock.default : import_AnimatedImplementation.default;
|
|
47
47
|
var Animated_default = {
|
|
48
48
|
FlatList: import_AnimatedFlatList.default,
|
|
@@ -37,10 +37,10 @@ __export(AnimatedEvent_exports, {
|
|
|
37
37
|
attachNativeEvent: () => attachNativeEvent
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(AnimatedEvent_exports);
|
|
40
|
-
var import_AnimatedValue = __toESM(require("./nodes/AnimatedValue")),
|
|
41
|
-
import_NativeAnimatedHelper = __toESM(require("./NativeAnimatedHelper")),
|
|
40
|
+
var import_AnimatedValue = __toESM(require("./nodes/AnimatedValue.cjs")),
|
|
41
|
+
import_NativeAnimatedHelper = __toESM(require("./NativeAnimatedHelper.cjs")),
|
|
42
42
|
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
43
|
-
import_NativeAnimatedHelper2 = require("./NativeAnimatedHelper");
|
|
43
|
+
import_NativeAnimatedHelper2 = require("./NativeAnimatedHelper.cjs");
|
|
44
44
|
const __DEV__ = process.env.NODE_ENV !== "production";
|
|
45
45
|
function attachNativeEvent(viewRef, eventName, argMapping) {
|
|
46
46
|
const eventMappings = [],
|
|
@@ -80,7 +80,6 @@ function validateMapping(argMapping, args) {
|
|
|
80
80
|
class AnimatedEvent {
|
|
81
81
|
_argMapping;
|
|
82
82
|
_listeners = [];
|
|
83
|
-
_callListeners;
|
|
84
83
|
_attachedEvent;
|
|
85
84
|
__isNative;
|
|
86
85
|
constructor(argMapping, config) {
|