@tamagui/core 2.2.0-1781044625560 → 2.2.0-1781071309197

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 686 ms
2
+ built @tamagui/core in 706 ms
3
3
  Running afterBuild script...
4
- afterBuild completed in 207 ms
4
+ afterBuild completed in 228 ms
package/dist/native.cjs CHANGED
@@ -16533,7 +16533,8 @@ function createComponent(staticConfig) {
16533
16533
  var nextStyles = getSplitStyles(props, staticConfig, theme, themeName, updatedState, mediaState2 ? _objectSpread2(_objectSpread2({}, styleProps), {}, { mediaState: mediaState2 }) : styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp, animationDriver);
16534
16534
  var effectiveTransition2 = resolveEffectivePseudoTransition(stateRef.current.prevPseudoState, updatedState, nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.pseudoTransitions, props.transition);
16535
16535
  stateRef.current.prevPseudoState = extractPseudoState(updatedState);
16536
- useStyleListener((nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.style) || {}, effectiveTransition2);
16536
+ var hasActivePseudo = Boolean(updatedState.hover || updatedState.press || updatedState.pressIn || updatedState.focus || updatedState.focusWithin);
16537
+ useStyleListener((nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.style) || {}, effectiveTransition2, hasActivePseudo);
16537
16538
  };
16538
16539
  componentContext.mediaEmitListeners = componentContext.mediaEmitListeners || /* @__PURE__ */ new Set();
16539
16540
  if (!stateRef.current.mediaEmitCleanup) {
@@ -5047,7 +5047,8 @@ function createComponent(staticConfig) {
5047
5047
  var nextStyles = getSplitStyles(props, staticConfig, theme, themeName, updatedState, mediaState2 ? _objectSpread2(_objectSpread2({}, styleProps), {}, { mediaState: mediaState2 }) : styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp, animationDriver);
5048
5048
  var effectiveTransition2 = resolveEffectivePseudoTransition(stateRef.current.prevPseudoState, updatedState, nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.pseudoTransitions, props.transition);
5049
5049
  stateRef.current.prevPseudoState = extractPseudoState(updatedState);
5050
- useStyleListener((nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.style) || {}, effectiveTransition2);
5050
+ var hasActivePseudo = Boolean(updatedState.hover || updatedState.press || updatedState.pressIn || updatedState.focus || updatedState.focusWithin);
5051
+ useStyleListener((nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.style) || {}, effectiveTransition2, hasActivePseudo);
5051
5052
  };
5052
5053
  componentContext.mediaEmitListeners = componentContext.mediaEmitListeners || /* @__PURE__ */ new Set();
5053
5054
  if (!stateRef.current.mediaEmitCleanup) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "2.2.0-1781044625560",
3
+ "version": "2.2.0-1781071309197",
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-1781044625560",
83
- "@tamagui/react-native-media-driver": "2.2.0-1781044625560",
84
- "@tamagui/react-native-use-pressable": "2.2.0-1781044625560",
85
- "@tamagui/use-element-layout": "2.2.0-1781044625560",
86
- "@tamagui/use-event": "2.2.0-1781044625560",
87
- "@tamagui/web": "2.2.0-1781044625560"
82
+ "@tamagui/helpers": "2.2.0-1781071309197",
83
+ "@tamagui/react-native-media-driver": "2.2.0-1781071309197",
84
+ "@tamagui/react-native-use-pressable": "2.2.0-1781071309197",
85
+ "@tamagui/use-element-layout": "2.2.0-1781071309197",
86
+ "@tamagui/use-event": "2.2.0-1781071309197",
87
+ "@tamagui/web": "2.2.0-1781071309197"
88
88
  },
89
89
  "devDependencies": {
90
- "@tamagui/build": "2.2.0-1781044625560",
91
- "@tamagui/native-bundle": "2.2.0-1781044625560",
92
- "@tamagui/react-native-web-lite": "2.2.0-1781044625560",
90
+ "@tamagui/build": "2.2.0-1781071309197",
91
+ "@tamagui/native-bundle": "2.2.0-1781071309197",
92
+ "@tamagui/react-native-web-lite": "2.2.0-1781071309197",
93
93
  "@testing-library/react": "^16.1.0",
94
94
  "csstype": "^3.0.10",
95
95
  "react": ">=19",