@tamagui/core 1.125.12 → 1.125.14

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.
@@ -5562,12 +5562,11 @@ var require_createShallowSetState_native = __commonJS({
5562
5562
  return cb();
5563
5563
  };
5564
5564
  function createShallowSetState(setter, onlyAllow, transition, debugIn, callback) {
5565
- var debug = !0;
5566
5565
  return (0, import_react3.useCallback)(function(next) {
5567
5566
  var wrap = transition ? import_react3.startTransition : callImmediate;
5568
5567
  wrap(function() {
5569
5568
  setter(function(prev) {
5570
- var out = mergeIfNotShallowEqual(prev, next, onlyAllow, debug);
5569
+ var out = mergeIfNotShallowEqual(prev, next, onlyAllow, debugIn);
5571
5570
  return callback == null || callback(out), out;
5572
5571
  });
5573
5572
  });
@@ -5575,7 +5574,7 @@ var require_createShallowSetState_native = __commonJS({
5575
5574
  setter,
5576
5575
  onlyAllow ? onlyAllow.join("") : "",
5577
5576
  transition,
5578
- debug,
5577
+ debugIn,
5579
5578
  callback
5580
5579
  ]);
5581
5580
  }
@@ -7899,7 +7898,7 @@ var require_createFont_native = __commonJS({
7899
7898
  ];
7900
7899
  }));
7901
7900
  }, createFont = function(font) {
7902
- var sizeKeys = Object.keys(font.size), processedFont = Object.fromEntries(Object.entries(font).map(function(param) {
7901
+ var sizeKeys = Object.keys(font.size || {}), processedFont = Object.fromEntries(Object.entries(font).map(function(param) {
7903
7902
  var [key, section] = param;
7904
7903
  return [
7905
7904
  key,