@tamagui/core 2.3.3-1782469370633 → 2.3.3-1782495782270

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.
@@ -1,4 +1,4 @@
1
1
  $ tamagui-build
2
- built @tamagui/core in 676 ms
2
+ built @tamagui/core in 1169 ms
3
3
  Running afterBuild script...
4
- afterBuild completed in 228 ms
4
+ afterBuild completed in 389 ms
package/dist/native.cjs CHANGED
@@ -16474,7 +16474,15 @@ var init_useComponentState_native = __esmMin((() => {
16474
16474
  });
16475
16475
  }
16476
16476
  var groupName = props.group;
16477
- var setStateShallow = useCreateShallowSetState(setState, props.debug);
16477
+ if (!stateRef.current.baseSetStateShallow) {
16478
+ var r = stateRef.current;
16479
+ r.baseSetStateShallow = function(stateOrGetState) {
16480
+ setState(function(prev) {
16481
+ return mergeIfNotShallowEqual(prev, typeof stateOrGetState === "function" ? stateOrGetState(prev) : stateOrGetState);
16482
+ });
16483
+ };
16484
+ }
16485
+ var setStateShallow = stateRef.current.baseSetStateShallow;
16478
16486
  if (presenceState && isAnimated && isHydrated && staticConfig.variants) {
16479
16487
  var { enterVariant, exitVariant, enterExitVariant, custom } = presenceState;
16480
16488
  if (isObj(custom)) Object.assign(props, custom);
@@ -4940,7 +4940,15 @@ var useComponentState = function(props, animationDriver, staticConfig, config) {
4940
4940
  });
4941
4941
  }
4942
4942
  var groupName = props.group;
4943
- var setStateShallow = useCreateShallowSetState(setState, props.debug);
4943
+ if (!stateRef.current.baseSetStateShallow) {
4944
+ var r = stateRef.current;
4945
+ r.baseSetStateShallow = function(stateOrGetState) {
4946
+ setState(function(prev) {
4947
+ return mergeIfNotShallowEqual(prev, typeof stateOrGetState === "function" ? stateOrGetState(prev) : stateOrGetState);
4948
+ });
4949
+ };
4950
+ }
4951
+ var setStateShallow = stateRef.current.baseSetStateShallow;
4944
4952
  if (presenceState && isAnimated && isHydrated && staticConfig.variants) {
4945
4953
  var { enterVariant, exitVariant, enterExitVariant, custom } = presenceState;
4946
4954
  if (isObj(custom)) Object.assign(props, custom);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "2.3.3-1782469370633",
3
+ "version": "2.3.3-1782495782270",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -79,17 +79,17 @@
79
79
  "clean:build": "tamagui-build clean:build"
80
80
  },
81
81
  "dependencies": {
82
- "@tamagui/helpers": "2.3.3-1782469370633",
83
- "@tamagui/react-native-media-driver": "2.3.3-1782469370633",
84
- "@tamagui/react-native-use-pressable": "2.3.3-1782469370633",
85
- "@tamagui/use-element-layout": "2.3.3-1782469370633",
86
- "@tamagui/use-event": "2.3.3-1782469370633",
87
- "@tamagui/web": "2.3.3-1782469370633"
82
+ "@tamagui/helpers": "2.3.3-1782495782270",
83
+ "@tamagui/react-native-media-driver": "2.3.3-1782495782270",
84
+ "@tamagui/react-native-use-pressable": "2.3.3-1782495782270",
85
+ "@tamagui/use-element-layout": "2.3.3-1782495782270",
86
+ "@tamagui/use-event": "2.3.3-1782495782270",
87
+ "@tamagui/web": "2.3.3-1782495782270"
88
88
  },
89
89
  "devDependencies": {
90
- "@tamagui/build": "2.3.3-1782469370633",
91
- "@tamagui/native-bundle": "2.3.3-1782469370633",
92
- "@tamagui/react-native-web-lite": "2.3.3-1782469370633",
90
+ "@tamagui/build": "2.3.3-1782495782270",
91
+ "@tamagui/native-bundle": "2.3.3-1782495782270",
92
+ "@tamagui/react-native-web-lite": "2.3.3-1782495782270",
93
93
  "@testing-library/react": "^16.1.0",
94
94
  "csstype": "^3.0.10",
95
95
  "react": ">=19",