tamagui 1.88.4 → 1.88.5

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
@@ -6059,7 +6059,7 @@ var require_internalWithTheme_native = __commonJS({
6059
6059
  module2.exports = __toCommonJS2(internalWithTheme_exports);
6060
6060
  var import_useTheme = require_useTheme_native(), import_jsx_runtime6 = require("react/jsx-runtime"), internalWithTheme = (Component, styleProvider) => (props) => {
6061
6061
  let { expressions, ...rest } = props, theme = (0, import_useTheme.useTheme)();
6062
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Component, { style: styleProvider(theme, props.expressions), ...rest });
6062
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Component, { style: styleProvider(theme, expressions), ...rest });
6063
6063
  };
6064
6064
  }
6065
6065
  });
@@ -18211,11 +18211,12 @@ var require_createSwitch_native = __commonJS({
18211
18211
  // @ts-ignore
18212
18212
  require("react/jsx-runtime")
18213
18213
  );
18214
- function createSwitch({
18215
- disableActiveTheme,
18216
- Frame = import_Switch.SwitchFrame,
18217
- Thumb = import_Switch.SwitchThumb
18218
- }) {
18214
+ function createSwitch(createProps) {
18215
+ let {
18216
+ disableActiveTheme,
18217
+ Frame = import_Switch.SwitchFrame,
18218
+ Thumb = import_Switch.SwitchThumb
18219
+ } = createProps;
18219
18220
  process.env.NODE_ENV === "development" && (Frame !== import_Switch.SwitchFrame && Frame.staticConfig.context && console.warn(
18220
18221
  "Warning: createSwitch() needs to control context to pass checked state from Frame to Thumb, any custom context passed will be overridden."
18221
18222
  ), Thumb !== import_Switch.SwitchThumb && Thumb.staticConfig.context && console.warn(
@@ -18424,9 +18425,7 @@ var require_index_native63 = __commonJS({
18424
18425
  __reExport2(src_exports2, require_SwitchContext_native(), module2.exports);
18425
18426
  __reExport2(src_exports2, require_createSwitch_native(), module2.exports);
18426
18427
  var Switch = (0, import_createSwitch.createSwitch)({
18427
- // @ts-ignore
18428
18428
  Frame: import_Switch.SwitchFrame,
18429
- // @ts-ignore
18430
18429
  Thumb: import_Switch.SwitchThumb
18431
18430
  });
18432
18431
  }