tamagui 1.134.0 → 1.134.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.
@@ -8197,10 +8197,8 @@ var require_createComponent_native = __commonJS({
8197
8197
  };
8198
8198
  if ("themeInverse" in props && (themeStateProps.inverse = props.themeInverse), "theme" in props && (themeStateProps.name = props.theme), typeof stateRef.current.isListeningToTheme == "boolean" && (themeStateProps.needsUpdate = function() {
8199
8199
  return !!stateRef.current.isListeningToTheme;
8200
- }), themeStateProps.deopt = willBeAnimated, !1) {
8201
- var name, type, dataIs, banner;
8202
- if (console.info(`%c ${banner} (hydrated: ${isHydrated}) (unmounted: ${state.unmounted})`, "background: green; color: white;"), !import_constants4.isServer) var ch, childLog;
8203
- }
8200
+ }), themeStateProps.deopt = willBeAnimated, !1)
8201
+ var name, type, dataIs, banner, ch, childLog;
8204
8202
  var [theme, themeState] = (0, import_useTheme.useThemeWithState)(themeStateProps);
8205
8203
  elementType = Component || elementType;
8206
8204
  var isStringElement = typeof elementType == "string", mediaState3 = (0, import_useMedia.useMedia)(componentContext, debugProp);
@@ -8248,8 +8246,8 @@ var require_createComponent_native = __commonJS({
8248
8246
  }), stateRef.current.setStateShallow = function(nextOrGetNext) {
8249
8247
  var prev = stateRef.current.nextState || state, next = typeof nextOrGetNext == "function" ? nextOrGetNext(prev) : nextOrGetNext;
8250
8248
  if (!(next === prev || (0, import_is_equal_shallow.isEqualShallow)(prev, next))) {
8251
- var canAvoidReRender = Object.keys(next).every(function(key3) {
8252
- return avoidReRenderKeys.has(key3);
8249
+ var canAvoidReRender = Object.keys(next).every(function(key2) {
8250
+ return avoidReRenderKeys.has(key2);
8253
8251
  }), updatedState = {
8254
8252
  ...prev,
8255
8253
  ...next
@@ -8485,19 +8483,10 @@ var require_createComponent_native = __commonJS({
8485
8483
  })), "group" in props && (content = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_GroupContext.GroupContext.Provider, {
8486
8484
  value: allGroupContexts,
8487
8485
  children: content
8488
- })), content = disableTheme || !splitStyles ? content : (0, import_Theme.getThemedChildren)(themeState, content, themeStateProps, !1, stateRef), staticConfig.context) {
8489
- var contextProps = staticConfig.context.props;
8490
- for (var key in contextProps) if (viewProps.style && key in viewProps.style || key in viewProps) {
8491
- var _viewProps_style;
8492
- overriddenContextProps || (overriddenContextProps = {});
8493
- var _viewProps_style_key;
8494
- overriddenContextProps[key] = (_viewProps_style_key = (_viewProps_style = viewProps.style) === null || _viewProps_style === void 0 ? void 0 : _viewProps_style[key]) !== null && _viewProps_style_key !== void 0 ? _viewProps_style_key : viewProps[key];
8495
- }
8496
- }
8497
- if (overriddenContextProps) {
8486
+ })), content = disableTheme || !splitStyles ? content : (0, import_Theme.getThemedChildren)(themeState, content, themeStateProps, !1, stateRef), overriddenContextProps) {
8498
8487
  var Provider = staticConfig.context.Provider;
8499
- for (var key1 in styledContextValue) key1 in overriddenContextProps || (overriddenContextProps[key1] = styledContextValue[key1]);
8500
- content = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Provider, {
8488
+ for (var key in styledContextValue) key in overriddenContextProps || (overriddenContextProps[key] = styledContextValue[key]);
8489
+ debugProp && console.info("overriddenContextProps", overriddenContextProps), content = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Provider, {
8501
8490
  __disableMergeDefaultValues: !0,
8502
8491
  ...overriddenContextProps,
8503
8492
  children: content
@@ -8507,7 +8496,7 @@ var require_createComponent_native = __commonJS({
8507
8496
  if (0) {
8508
8497
  var element1, title;
8509
8498
  if (!import_constants4.isWeb)
8510
- for (var key2 in splitStylesStyle) ;
8499
+ for (var key1 in splitStylesStyle) ;
8511
8500
  }
8512
8501
  return content;
8513
8502
  });
@@ -20966,6 +20955,7 @@ var require_Button_native = __commonJS({
20966
20955
  propsIn.children
20967
20956
  ] : (0, import_text2.wrapChildrenInText)(Text3, {
20968
20957
  children: propsIn.children,
20958
+ color,
20969
20959
  fontFamily,
20970
20960
  fontSize,
20971
20961
  textProps,