@tamagui/core 2.2.0-1781132308330 → 2.2.0-1781217884154

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 3383 ms
2
+ built @tamagui/core in 1067 ms
3
3
  Running afterBuild script...
4
- afterBuild completed in 691 ms
4
+ afterBuild completed in 280 ms
package/dist/native.cjs CHANGED
@@ -16438,6 +16438,11 @@ function createComponent(staticConfig) {
16438
16438
  var componentState = useComponentState(props, (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.isStub) ? null : animationDriver, staticConfig, config);
16439
16439
  var { disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, inputStyle, outputStyle, willBeAnimated, willBeAnimatedClient, platformPseudo, startedUnhydrated } = componentState;
16440
16440
  if (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.avoidReRenders) useIsomorphicLayoutEffect(function() {
16441
+ var emitted = stateRef.current.prevPseudoState;
16442
+ if (emitted && (emitted.hover || emitted.press || emitted.focus)) {
16443
+ var _stateRef_current_updateStyleListener, _stateRef_current;
16444
+ (_stateRef_current_updateStyleListener = (_stateRef_current = stateRef.current).updateStyleListener) === null || _stateRef_current_updateStyleListener === void 0 || _stateRef_current_updateStyleListener.call(_stateRef_current);
16445
+ }
16441
16446
  var pendingState = stateRef.current.nextState;
16442
16447
  if (!pendingState) return;
16443
16448
  stateRef.current.nextState = void 0;
@@ -4948,6 +4948,11 @@ function createComponent(staticConfig) {
4948
4948
  var componentState = useComponentState(props, (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.isStub) ? null : animationDriver, staticConfig, config);
4949
4949
  var { disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, inputStyle, outputStyle, willBeAnimated, willBeAnimatedClient, platformPseudo, startedUnhydrated } = componentState;
4950
4950
  if (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.avoidReRenders) useIsomorphicLayoutEffect(function() {
4951
+ var emitted = stateRef.current.prevPseudoState;
4952
+ if (emitted && (emitted.hover || emitted.press || emitted.focus)) {
4953
+ var _stateRef_current_updateStyleListener, _stateRef_current;
4954
+ (_stateRef_current_updateStyleListener = (_stateRef_current = stateRef.current).updateStyleListener) === null || _stateRef_current_updateStyleListener === void 0 || _stateRef_current_updateStyleListener.call(_stateRef_current);
4955
+ }
4951
4956
  var pendingState = stateRef.current.nextState;
4952
4957
  if (!pendingState) return;
4953
4958
  stateRef.current.nextState = void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "2.2.0-1781132308330",
3
+ "version": "2.2.0-1781217884154",
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.2.0-1781132308330",
83
- "@tamagui/react-native-media-driver": "2.2.0-1781132308330",
84
- "@tamagui/react-native-use-pressable": "2.2.0-1781132308330",
85
- "@tamagui/use-element-layout": "2.2.0-1781132308330",
86
- "@tamagui/use-event": "2.2.0-1781132308330",
87
- "@tamagui/web": "2.2.0-1781132308330"
82
+ "@tamagui/helpers": "2.2.0-1781217884154",
83
+ "@tamagui/react-native-media-driver": "2.2.0-1781217884154",
84
+ "@tamagui/react-native-use-pressable": "2.2.0-1781217884154",
85
+ "@tamagui/use-element-layout": "2.2.0-1781217884154",
86
+ "@tamagui/use-event": "2.2.0-1781217884154",
87
+ "@tamagui/web": "2.2.0-1781217884154"
88
88
  },
89
89
  "devDependencies": {
90
- "@tamagui/build": "2.2.0-1781132308330",
91
- "@tamagui/native-bundle": "2.2.0-1781132308330",
92
- "@tamagui/react-native-web-lite": "2.2.0-1781132308330",
90
+ "@tamagui/build": "2.2.0-1781217884154",
91
+ "@tamagui/native-bundle": "2.2.0-1781217884154",
92
+ "@tamagui/react-native-web-lite": "2.2.0-1781217884154",
93
93
  "@testing-library/react": "^16.1.0",
94
94
  "csstype": "^3.0.10",
95
95
  "react": ">=19",