tamagui 1.122.0 → 1.122.2

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/native.js CHANGED
@@ -8713,8 +8713,9 @@ var require_createComponent_native = __commonJS({
8713
8713
  var componentContext = import_react3.default.useContext(import_ComponentContext.ComponentContext), styledContextProps, overriddenContextProps, contextValue, { context, isReactNative } = staticConfig;
8714
8714
  if (context && (contextValue = import_react3.default.useContext(context), contextValue)) {
8715
8715
  process.env.NODE_ENV === "development" && (defaultProps == null ? void 0 : defaultProps.debug) === "verbose" && (0, import_log.log)(" \u{1F447} contextValue", contextValue);
8716
+ var shorthands = config == null ? void 0 : config.shorthands;
8716
8717
  for (var key in context.props) {
8717
- var propVal = propsIn[key];
8718
+ var propVal = propsIn[key] || propsIn[shorthands == null ? void 0 : shorthands[propsIn]];
8718
8719
  if (propVal === void 0) {
8719
8720
  var val = contextValue == null ? void 0 : contextValue[key];
8720
8721
  val !== void 0 && (styledContextProps || (styledContextProps = {}), styledContextProps[key] = val);
@@ -18778,6 +18779,7 @@ var require_createSheet_native = __commonJS({
18778
18779
  );
18779
18780
  }, [
18780
18781
  props.onPress,
18782
+ props.opacity,
18781
18783
  context.dismissOnOverlayPress
18782
18784
  ]);
18783
18785
  return (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -18976,6 +18978,7 @@ var require_Sheet_native = __commonJS({
18976
18978
  variants: {
18977
18979
  open: {
18978
18980
  true: {
18981
+ opacity: 1,
18979
18982
  pointerEvents: "auto"
18980
18983
  },
18981
18984
  false: {
@@ -19006,11 +19009,9 @@ var require_Sheet_native = __commonJS({
19006
19009
  variants: {
19007
19010
  open: {
19008
19011
  true: {
19009
- opacity: 1,
19010
19012
  pointerEvents: "auto"
19011
19013
  },
19012
19014
  false: {
19013
- opacity: 0,
19014
19015
  pointerEvents: "none"
19015
19016
  }
19016
19017
  },