@tamagui/react-native-web-lite 1.121.10 → 1.121.12

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.
@@ -29,8 +29,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
30
  value: !0
31
31
  }), mod);
32
- var src_exports = {};
33
- __export(src_exports, {
32
+ var index_exports = {};
33
+ __export(index_exports, {
34
34
  AccessibilityInfo: () => import_AccessibilityInfo.default,
35
35
  AccessibilityUtil: () => import_react_native_web_internals.AccessibilityUtil,
36
36
  ActivityIndicator: () => import_ActivityIndicator.default,
@@ -109,7 +109,7 @@ __export(src_exports, {
109
109
  usePlatformMethods: () => import_react_native_web_internals.usePlatformMethods,
110
110
  useWindowDimensions: () => import_useWindowDimensions.default
111
111
  });
112
- module.exports = __toCommonJS(src_exports);
112
+ module.exports = __toCommonJS(index_exports);
113
113
  var import_createElement = __toESM(require("./createElement/index.cjs")),
114
114
  import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
115
115
  import_render = __toESM(require("./render/index.cjs")),
package/dist/cjs/index.js CHANGED
@@ -20,8 +20,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
20
20
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
21
  mod
22
22
  )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
- var src_exports = {};
24
- __export(src_exports, {
23
+ var index_exports = {};
24
+ __export(index_exports, {
25
25
  AccessibilityInfo: () => import_AccessibilityInfo.default,
26
26
  AccessibilityUtil: () => import_react_native_web_internals.AccessibilityUtil,
27
27
  ActivityIndicator: () => import_ActivityIndicator.default,
@@ -100,7 +100,7 @@ __export(src_exports, {
100
100
  usePlatformMethods: () => import_react_native_web_internals.usePlatformMethods,
101
101
  useWindowDimensions: () => import_useWindowDimensions.default
102
102
  });
103
- module.exports = __toCommonJS(src_exports);
103
+ module.exports = __toCommonJS(index_exports);
104
104
  var import_createElement = __toESM(require("./createElement/index")), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_render = __toESM(require("./render/index")), import_react_dom = require("react-dom"), import_NativeModules = __toESM(require("./NativeModules/index")), import_findNodeHandle = require("./findNodeHandle"), import_Easing = __toESM(require("./vendor/react-native/Animated/Easing")), import_Animated = __toESM(require("./vendor/react-native/Animated/Animated")), import_NativeEventEmitter = __toESM(require("./vendor/react-native/NativeEventEmitter/index")), import_AccessibilityInfo = __toESM(require("./AccessibilityInfo/index")), import_Alert = __toESM(require("./Alert/index")), import_Appearance = __toESM(require("./Appearance/index")), import_AppRegistry = __toESM(require("./AppRegistry/index")), import_AppState = __toESM(require("./AppState/index")), import_BackHandler = __toESM(require("./BackHandler/index")), import_Clipboard = __toESM(require("./Clipboard/index")), import_DeviceInfo = __toESM(require("./DeviceInfo/index")), import_DeviceEmitter = __toESM(require("./DeviceEmitter")), import_DeviceEmitter2 = __toESM(require("./DeviceEmitter")), import_Dimensions = __toESM(require("./Dimensions/index")), import_I18nManager = __toESM(require("./I18nManager/index")), import_Keyboard = __toESM(require("./Keyboard/index")), import_Linking = __toESM(require("./Linking/index")), import_PanResponder = __toESM(require("./PanResponder/index")), import_PixelRatio = __toESM(require("./PixelRatio/index")), import_Share = __toESM(require("./Share/index")), import_Vibration = __toESM(require("./Vibration/index")), import_UnimplementedView = __toESM(require("./UnimplementedView")), import_UnimplementedView2 = __toESM(require("./UnimplementedView")), import_VirtualizedList = __toESM(require("./vendor/react-native/VirtualizedList")), import_FlatList = __toESM(require("./FlatList")), import_UnimplementedView3 = __toESM(require("./UnimplementedView")), import_UnimplementedView4 = __toESM(require("./UnimplementedView")), import_UnimplementedView5 = __toESM(require("./UnimplementedView")), import_TouchableOpacity = __toESM(require("./TouchableOpacity")), import_TouchableOpacity2 = __toESM(require("./TouchableOpacity")), import_TouchableWithoutFeedback = __toESM(require("./TouchableWithoutFeedback")), import_ActivityIndicator = __toESM(require("./ActivityIndicator/index")), import_Image = __toESM(require("./Image/index")), import_ImageBackground = __toESM(require("./ImageBackground/index")), import_KeyboardAvoidingView = __toESM(require("./KeyboardAvoidingView/index")), import_Modal = __toESM(require("./Modal/index")), import_Pressable = __toESM(require("./Pressable/index")), import_RefreshControl = __toESM(require("./RefreshControl/index")), import_SafeAreaView = __toESM(require("./SafeAreaView/index")), import_ScrollView = __toESM(require("./ScrollView/index")), import_StatusBar = __toESM(require("./StatusBar/index")), import_Text = __toESM(require("./Text/index")), import_TextInput = __toESM(require("./TextInput/index")), import_View = __toESM(require("./View/index")), import_LogBox = __toESM(require("./LogBox/index")), import_useColorScheme = __toESM(require("./useColorScheme/index")), import_useLocaleContext = require("./useLocaleContext/index"), import_useWindowDimensions = __toESM(require("./useWindowDimensions/index"));
105
105
  function requireNativeComponent(name) {
106
106
  return function() {
@@ -21,8 +21,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
21
21
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
22
  mod
23
23
  )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
- var src_exports = {};
25
- __export(src_exports, {
24
+ var index_exports = {};
25
+ __export(index_exports, {
26
26
  AccessibilityInfo: () => import_AccessibilityInfo.default,
27
27
  AccessibilityUtil: () => import_react_native_web_internals.AccessibilityUtil,
28
28
  ActivityIndicator: () => import_ActivityIndicator.default,
@@ -101,7 +101,7 @@ __export(src_exports, {
101
101
  usePlatformMethods: () => import_react_native_web_internals.usePlatformMethods,
102
102
  useWindowDimensions: () => import_useWindowDimensions.default
103
103
  });
104
- module.exports = __toCommonJS(src_exports);
104
+ module.exports = __toCommonJS(index_exports);
105
105
  var import_createElement = __toESM(require("./createElement/index")), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_render = __toESM(require("./render/index")), import_react_dom = require("react-dom"), import_NativeModules = __toESM(require("./NativeModules/index")), import_findNodeHandle = require("./findNodeHandle"), import_Easing = __toESM(require("./vendor/react-native/Animated/Easing")), import_Animated = __toESM(require("./vendor/react-native/Animated/Animated")), import_NativeEventEmitter = __toESM(require("./vendor/react-native/NativeEventEmitter/index")), import_AccessibilityInfo = __toESM(require("./AccessibilityInfo/index")), import_Alert = __toESM(require("./Alert/index")), import_Appearance = __toESM(require("./Appearance/index")), import_AppRegistry = __toESM(require("./AppRegistry/index")), import_AppState = __toESM(require("./AppState/index")), import_BackHandler = __toESM(require("./BackHandler/index")), import_Clipboard = __toESM(require("./Clipboard/index")), import_DeviceInfo = __toESM(require("./DeviceInfo/index")), import_DeviceEmitter = __toESM(require("./DeviceEmitter")), import_DeviceEmitter2 = __toESM(require("./DeviceEmitter")), import_Dimensions = __toESM(require("./Dimensions/index")), import_I18nManager = __toESM(require("./I18nManager/index")), import_Keyboard = __toESM(require("./Keyboard/index")), import_Linking = __toESM(require("./Linking/index")), import_PanResponder = __toESM(require("./PanResponder/index")), import_PixelRatio = __toESM(require("./PixelRatio/index")), import_Share = __toESM(require("./Share/index")), import_Vibration = __toESM(require("./Vibration/index")), import_UnimplementedView = __toESM(require("./UnimplementedView")), import_UnimplementedView2 = __toESM(require("./UnimplementedView")), import_VirtualizedList = __toESM(require("./vendor/react-native/VirtualizedList")), import_FlatList = __toESM(require("./FlatList")), import_UnimplementedView3 = __toESM(require("./UnimplementedView")), import_UnimplementedView4 = __toESM(require("./UnimplementedView")), import_UnimplementedView5 = __toESM(require("./UnimplementedView")), import_TouchableOpacity = __toESM(require("./TouchableOpacity")), import_TouchableOpacity2 = __toESM(require("./TouchableOpacity")), import_TouchableWithoutFeedback = __toESM(require("./TouchableWithoutFeedback")), import_ActivityIndicator = __toESM(require("./ActivityIndicator/index")), import_Image = __toESM(require("./Image/index")), import_ImageBackground = __toESM(require("./ImageBackground/index")), import_KeyboardAvoidingView = __toESM(require("./KeyboardAvoidingView/index")), import_Modal = __toESM(require("./Modal/index")), import_Pressable = __toESM(require("./Pressable/index")), import_RefreshControl = __toESM(require("./RefreshControl/index")), import_SafeAreaView = __toESM(require("./SafeAreaView/index")), import_ScrollView = __toESM(require("./ScrollView/index")), import_StatusBar = __toESM(require("./StatusBar/index")), import_Text = __toESM(require("./Text/index")), import_TextInput = __toESM(require("./TextInput/index")), import_View = __toESM(require("./View/index")), import_LogBox = __toESM(require("./LogBox/index")), import_useColorScheme = __toESM(require("./useColorScheme/index")), import_useLocaleContext = require("./useLocaleContext/index"), import_useWindowDimensions = __toESM(require("./useWindowDimensions/index"));
106
106
  function requireNativeComponent(name) {
107
107
  return function() {
@@ -26,26 +26,7 @@ __export(render_exports, {
26
26
  render: () => render
27
27
  });
28
28
  module.exports = __toCommonJS(render_exports);
29
- var import_react_dom = require("react-dom"),
30
- import_client = require("react-dom/client");
31
- function hydrate(element, root) {
32
- return (0, import_client.hydrateRoot)(root, element);
33
- }
34
- function render(element, root) {
35
- const reactRoot = (0, import_client.createRoot)(root);
36
- return reactRoot.render(element), reactRoot;
37
- }
38
- function hydrateLegacy(element, root, callback) {
39
- return (0, import_react_dom.hydrate)(element, root, callback), {
40
- unmount: function () {
41
- return (0, import_react_dom.unmountComponentAtNode)(root);
42
- }
43
- };
44
- }
45
- function renderLegacy(element, root, callback) {
46
- return (0, import_react_dom.render)(element, root, callback), {
47
- unmount: function () {
48
- return (0, import_react_dom.unmountComponentAtNode)(root);
49
- }
50
- };
51
- }
29
+ function hydrate(element, root) {}
30
+ function render(element, root) {}
31
+ function hydrateLegacy(element, root, callback) {}
32
+ function renderLegacy(element, root, callback) {}
@@ -20,26 +20,12 @@ __export(render_exports, {
20
20
  render: () => render
21
21
  });
22
22
  module.exports = __toCommonJS(render_exports);
23
- var import_react_dom = require("react-dom"), import_client = require("react-dom/client");
24
23
  function hydrate(element, root) {
25
- return (0, import_client.hydrateRoot)(root, element);
26
24
  }
27
25
  function render(element, root) {
28
- const reactRoot = (0, import_client.createRoot)(root);
29
- return reactRoot.render(element), reactRoot;
30
26
  }
31
27
  function hydrateLegacy(element, root, callback) {
32
- return (0, import_react_dom.hydrate)(element, root, callback), {
33
- unmount: function() {
34
- return (0, import_react_dom.unmountComponentAtNode)(root);
35
- }
36
- };
37
28
  }
38
29
  function renderLegacy(element, root, callback) {
39
- return (0, import_react_dom.render)(element, root, callback), {
40
- unmount: function() {
41
- return (0, import_react_dom.unmountComponentAtNode)(root);
42
- }
43
- };
44
30
  }
45
31
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/render/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,uBAIO,sBACP,gBAGO;AAEA,SAAS,QAAQ,SAAS,MAAM;AACrC,aAAO,cAAAA,aAAe,MAAM,OAAO;AACrC;AAEO,SAAS,OAAO,SAAS,MAAM;AACpC,QAAM,gBAAY,cAAAC,YAAc,IAAI;AACpC,mBAAU,OAAO,OAAO,GACjB;AACT;AAEO,SAAS,cAAc,SAAS,MAAM,UAAU;AACrD,8BAAAC,SAAiB,SAAS,MAAM,QAAQ,GACjC;AAAA,IACL,SAAS,WAAY;AACnB,iBAAO,yCAAuB,IAAI;AAAA,IACpC;AAAA,EACF;AACF;AAEe,SAAR,aAA8B,SAAS,MAAM,UAAU;AAC5D,8BAAAC,QAAgB,SAAS,MAAM,QAAQ,GAChC;AAAA,IACL,SAAS,WAAY;AACnB,iBAAO,yCAAuB,IAAI;AAAA,IACpC;AAAA,EACF;AACF;",
5
- "names": ["domHydrateRoot", "domCreateRoot", "domLegacyHydrate", "domLegacyRender"]
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,QAAQ,SAAS,MAAM;AAAC;AAEjC,SAAS,OAAO,SAAS,MAAM;AAAC;AAEhC,SAAS,cAAc,SAAS,MAAM,UAAU;AAAC;AAEzC,SAAR,aAA8B,SAAS,MAAM,UAAU;AAAC;",
5
+ "names": []
6
6
  }
@@ -21,27 +21,13 @@ __export(render_exports, {
21
21
  render: () => render
22
22
  });
23
23
  module.exports = __toCommonJS(render_exports);
24
- var import_react_dom = require("react-dom"), import_client = require("react-dom/client");
25
24
  function hydrate(element, root) {
26
- return (0, import_client.hydrateRoot)(root, element);
27
25
  }
28
26
  function render(element, root) {
29
- var reactRoot = (0, import_client.createRoot)(root);
30
- return reactRoot.render(element), reactRoot;
31
27
  }
32
28
  function hydrateLegacy(element, root, callback) {
33
- return (0, import_react_dom.hydrate)(element, root, callback), {
34
- unmount: function() {
35
- return (0, import_react_dom.unmountComponentAtNode)(root);
36
- }
37
- };
38
29
  }
39
30
  function renderLegacy(element, root, callback) {
40
- return (0, import_react_dom.render)(element, root, callback), {
41
- unmount: function() {
42
- return (0, import_react_dom.unmountComponentAtNode)(root);
43
- }
44
- };
45
31
  }
46
32
  // Annotate the CommonJS export names for ESM import in node:
47
33
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/render/Users/n8/tamagui/code/packages/react-native-web-lite/src/render/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;;AASA,uBAIO,sBACP,gBAGO;AAEA,SAASA,QAAQC,SAASC,MAAI;AACnC,aAAOC,cAAAA,aAAeD,MAAMD,OAAAA;AAC9B;AAEO,SAASG,OAAOH,SAASC,MAAI;AAClC,MAAMG,gBAAYC,cAAAA,YAAcJ,IAAAA;AAChCG,mBAAUD,OAAOH,OAAAA,GACVI;AACT;AAEO,SAASE,cAAcN,SAASC,MAAMM,UAAQ;AACnDC,8BAAAA,SAAiBR,SAASC,MAAMM,QAAAA,GACzB;IACLE,SAAS,WAATA;AACE,iBAAOC,yCAAuBT,IAAAA;IAChC;EACF;AACF;AAEe,SAAf,aAAqCD,SAASC,MAAMM,UAAQ;AAC1DI,8BAAAA,QAAgBX,SAASC,MAAMM,QAAAA,GACxB;IACLE,SAAS,WAATA;AACE,iBAAOC,yCAAuBT,IAAAA;IAChC;EACF;AACF;",
5
- "names": ["hydrate", "element", "root", "domHydrateRoot", "render", "reactRoot", "domCreateRoot", "hydrateLegacy", "callback", "domLegacyHydrate", "unmount", "unmountComponentAtNode", "domLegacyRender"]
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;;AASO,SAASA,QAAQC,SAASC,MAAI;AAAG;AAEjC,SAASC,OAAOF,SAASC,MAAI;AAAG;AAEhC,SAASE,cAAcH,SAASC,MAAMG,UAAQ;AAAG;AAEzC,SAAf,aAAqCJ,SAASC,MAAMG,UAAQ;AAAG;",
5
+ "names": ["hydrate", "element", "root", "render", "hydrateLegacy", "callback"]
6
6
  }
@@ -1,32 +1,10 @@
1
- import {
2
- hydrate as domLegacyHydrate,
3
- render as domLegacyRender,
4
- unmountComponentAtNode
5
- } from "react-dom";
6
- import {
7
- createRoot as domCreateRoot,
8
- hydrateRoot as domHydrateRoot
9
- } from "react-dom/client";
10
1
  function hydrate(element, root) {
11
- return domHydrateRoot(root, element);
12
2
  }
13
3
  function render(element, root) {
14
- const reactRoot = domCreateRoot(root);
15
- return reactRoot.render(element), reactRoot;
16
4
  }
17
5
  function hydrateLegacy(element, root, callback) {
18
- return domLegacyHydrate(element, root, callback), {
19
- unmount: function() {
20
- return unmountComponentAtNode(root);
21
- }
22
- };
23
6
  }
24
7
  function renderLegacy(element, root, callback) {
25
- return domLegacyRender(element, root, callback), {
26
- unmount: function() {
27
- return unmountComponentAtNode(root);
28
- }
29
- };
30
8
  }
31
9
  export {
32
10
  renderLegacy as default,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/render/index.tsx"],
4
- "mappings": "AASA;AAAA,EACE,WAAW;AAAA,EACX,UAAU;AAAA,EACV;AAAA,OACK;AACP;AAAA,EACE,cAAc;AAAA,EACd,eAAe;AAAA,OACV;AAEA,SAAS,QAAQ,SAAS,MAAM;AACrC,SAAO,eAAe,MAAM,OAAO;AACrC;AAEO,SAAS,OAAO,SAAS,MAAM;AACpC,QAAM,YAAY,cAAc,IAAI;AACpC,mBAAU,OAAO,OAAO,GACjB;AACT;AAEO,SAAS,cAAc,SAAS,MAAM,UAAU;AACrD,0BAAiB,SAAS,MAAM,QAAQ,GACjC;AAAA,IACL,SAAS,WAAY;AACnB,aAAO,uBAAuB,IAAI;AAAA,IACpC;AAAA,EACF;AACF;AAEe,SAAR,aAA8B,SAAS,MAAM,UAAU;AAC5D,yBAAgB,SAAS,MAAM,QAAQ,GAChC;AAAA,IACL,SAAS,WAAY;AACnB,aAAO,uBAAuB,IAAI;AAAA,IACpC;AAAA,EACF;AACF;",
4
+ "mappings": "AASO,SAAS,QAAQ,SAAS,MAAM;AAAC;AAEjC,SAAS,OAAO,SAAS,MAAM;AAAC;AAEhC,SAAS,cAAc,SAAS,MAAM,UAAU;AAAC;AAEzC,SAAR,aAA8B,SAAS,MAAM,UAAU;AAAC;",
5
5
  "names": []
6
6
  }
@@ -1,25 +1,6 @@
1
- import { hydrate as domLegacyHydrate, render as domLegacyRender, unmountComponentAtNode } from "react-dom";
2
- import { createRoot as domCreateRoot, hydrateRoot as domHydrateRoot } from "react-dom/client";
3
- function hydrate(element, root) {
4
- return domHydrateRoot(root, element);
5
- }
6
- function render(element, root) {
7
- const reactRoot = domCreateRoot(root);
8
- return reactRoot.render(element), reactRoot;
9
- }
10
- function hydrateLegacy(element, root, callback) {
11
- return domLegacyHydrate(element, root, callback), {
12
- unmount: function () {
13
- return unmountComponentAtNode(root);
14
- }
15
- };
16
- }
17
- function renderLegacy(element, root, callback) {
18
- return domLegacyRender(element, root, callback), {
19
- unmount: function () {
20
- return unmountComponentAtNode(root);
21
- }
22
- };
23
- }
1
+ function hydrate(element, root) {}
2
+ function render(element, root) {}
3
+ function hydrateLegacy(element, root, callback) {}
4
+ function renderLegacy(element, root, callback) {}
24
5
  export { renderLegacy as default, hydrate, hydrateLegacy, render };
25
6
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["hydrate","domLegacyHydrate","render","domLegacyRender","unmountComponentAtNode","createRoot","domCreateRoot","hydrateRoot","domHydrateRoot","element","root","reactRoot","hydrateLegacy","callback","unmount","renderLegacy"],"sources":["../../../src/render/index.tsx"],"sourcesContent":[null],"mappings":"AASA,SACEA,OAAA,IAAWC,gBAAA,EACXC,MAAA,IAAUC,eAAA,EACVC,sBAAA,QACK;AACP,SACEC,UAAA,IAAcC,aAAA,EACdC,WAAA,IAAeC,cAAA,QACV;AAEA,SAASR,QAAQS,OAAA,EAASC,IAAA,EAAM;EACrC,OAAOF,cAAA,CAAeE,IAAA,EAAMD,OAAO;AACrC;AAEO,SAASP,OAAOO,OAAA,EAASC,IAAA,EAAM;EACpC,MAAMC,SAAA,GAAYL,aAAA,CAAcI,IAAI;EACpC,OAAAC,SAAA,CAAUT,MAAA,CAAOO,OAAO,GACjBE,SAAA;AACT;AAEO,SAASC,cAAcH,OAAA,EAASC,IAAA,EAAMG,QAAA,EAAU;EACrD,OAAAZ,gBAAA,CAAiBQ,OAAA,EAASC,IAAA,EAAMG,QAAQ,GACjC;IACLC,OAAA,EAAS,SAAAA,CAAA,EAAY;MACnB,OAAOV,sBAAA,CAAuBM,IAAI;IACpC;EACF;AACF;AAEe,SAARK,aAA8BN,OAAA,EAASC,IAAA,EAAMG,QAAA,EAAU;EAC5D,OAAAV,eAAA,CAAgBM,OAAA,EAASC,IAAA,EAAMG,QAAQ,GAChC;IACLC,OAAA,EAAS,SAAAA,CAAA,EAAY;MACnB,OAAOV,sBAAA,CAAuBM,IAAI;IACpC;EACF;AACF","ignoreList":[]}
1
+ {"version":3,"names":["hydrate","element","root","render","hydrateLegacy","callback","renderLegacy"],"sources":["../../../src/render/index.tsx"],"sourcesContent":[null],"mappings":"AASO,SAASA,QAAQC,OAAA,EAASC,IAAA,EAAM,CAAC;AAEjC,SAASC,OAAOF,OAAA,EAASC,IAAA,EAAM,CAAC;AAEhC,SAASE,cAAcH,OAAA,EAASC,IAAA,EAAMG,QAAA,EAAU,CAAC;AAEzC,SAARC,aAA8BL,OAAA,EAASC,IAAA,EAAMG,QAAA,EAAU,CAAC","ignoreList":[]}
@@ -1,25 +1,10 @@
1
- import { hydrate as domLegacyHydrate, render as domLegacyRender, unmountComponentAtNode } from "react-dom";
2
- import { createRoot as domCreateRoot, hydrateRoot as domHydrateRoot } from "react-dom/client";
3
1
  function hydrate(element, root) {
4
- return domHydrateRoot(root, element);
5
2
  }
6
3
  function render(element, root) {
7
- var reactRoot = domCreateRoot(root);
8
- return reactRoot.render(element), reactRoot;
9
4
  }
10
5
  function hydrateLegacy(element, root, callback) {
11
- return domLegacyHydrate(element, root, callback), {
12
- unmount: function() {
13
- return unmountComponentAtNode(root);
14
- }
15
- };
16
6
  }
17
7
  function renderLegacy(element, root, callback) {
18
- return domLegacyRender(element, root, callback), {
19
- unmount: function() {
20
- return unmountComponentAtNode(root);
21
- }
22
- };
23
8
  }
24
9
  export {
25
10
  renderLegacy as default,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/render/Users/n8/tamagui/code/packages/react-native-web-lite/src/render/index.tsx"],
4
- "mappings": "AASA,SACEA,WAAWC,kBACXC,UAAUC,iBACVC,8BACK;AACP,SACEC,cAAcC,eACdC,eAAeC,sBACV;AAEA,SAASR,QAAQS,SAASC,MAAI;AACnC,SAAOF,eAAeE,MAAMD,OAAAA;AAC9B;AAEO,SAASP,OAAOO,SAASC,MAAI;AAClC,MAAMC,YAAYL,cAAcI,IAAAA;AAChCC,mBAAUT,OAAOO,OAAAA,GACVE;AACT;AAEO,SAASC,cAAcH,SAASC,MAAMG,UAAQ;AACnDZ,0BAAiBQ,SAASC,MAAMG,QAAAA,GACzB;IACLC,SAAS,WAATA;AACE,aAAOV,uBAAuBM,IAAAA;IAChC;EACF;AACF;AAEe,SAAf,aAAqCD,SAASC,MAAMG,UAAQ;AAC1DV,yBAAgBM,SAASC,MAAMG,QAAAA,GACxB;IACLC,SAAS,WAATA;AACE,aAAOV,uBAAuBM,IAAAA;IAChC;EACF;AACF;",
5
- "names": ["hydrate", "domLegacyHydrate", "render", "domLegacyRender", "unmountComponentAtNode", "createRoot", "domCreateRoot", "hydrateRoot", "domHydrateRoot", "element", "root", "reactRoot", "hydrateLegacy", "callback", "unmount"]
4
+ "mappings": "AASO,SAASA,QAAQC,SAASC,MAAI;AAAG;AAEjC,SAASC,OAAOF,SAASC,MAAI;AAAG;AAEhC,SAASE,cAAcH,SAASC,MAAMG,UAAQ;AAAG;AAEzC,SAAf,aAAqCJ,SAASC,MAAMG,UAAQ;AAAG;",
5
+ "names": ["hydrate", "element", "root", "render", "hydrateLegacy", "callback"]
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/react-native-web-lite",
3
- "version": "1.121.10",
3
+ "version": "1.121.12",
4
4
  "description": "React Native for Web",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs",
@@ -41,14 +41,14 @@
41
41
  "./dist/*": "./dist/cjs/*/index.mjs"
42
42
  },
43
43
  "dependencies": {
44
- "@tamagui/normalize-css-color": "1.121.10",
45
- "@tamagui/react-native-use-pressable": "1.121.10",
46
- "@tamagui/react-native-use-responder-events": "1.121.10",
47
- "@tamagui/react-native-web-internals": "1.121.10",
44
+ "@tamagui/normalize-css-color": "1.121.12",
45
+ "@tamagui/react-native-use-pressable": "1.121.12",
46
+ "@tamagui/react-native-use-responder-events": "1.121.12",
47
+ "@tamagui/react-native-web-internals": "1.121.12",
48
48
  "invariant": "^2.2.4"
49
49
  },
50
50
  "devDependencies": {
51
- "@tamagui/build": "1.121.10",
51
+ "@tamagui/build": "1.121.12",
52
52
  "react": "*"
53
53
  },
54
54
  "peerDependencies": {
@@ -7,40 +7,10 @@
7
7
  * @noflow
8
8
  */
9
9
 
10
- import {
11
- hydrate as domLegacyHydrate,
12
- render as domLegacyRender,
13
- unmountComponentAtNode,
14
- } from 'react-dom'
15
- import {
16
- createRoot as domCreateRoot,
17
- hydrateRoot as domHydrateRoot,
18
- } from 'react-dom/client'
10
+ export function hydrate(element, root) {}
19
11
 
20
- export function hydrate(element, root) {
21
- return domHydrateRoot(root, element)
22
- }
12
+ export function render(element, root) {}
23
13
 
24
- export function render(element, root) {
25
- const reactRoot = domCreateRoot(root)
26
- reactRoot.render(element)
27
- return reactRoot
28
- }
14
+ export function hydrateLegacy(element, root, callback) {}
29
15
 
30
- export function hydrateLegacy(element, root, callback) {
31
- domLegacyHydrate(element, root, callback)
32
- return {
33
- unmount: function () {
34
- return unmountComponentAtNode(root)
35
- },
36
- }
37
- }
38
-
39
- export default function renderLegacy(element, root, callback) {
40
- domLegacyRender(element, root, callback)
41
- return {
42
- unmount: function () {
43
- return unmountComponentAtNode(root)
44
- },
45
- }
46
- }
16
+ export default function renderLegacy(element, root, callback) {}