@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.
- package/dist/native.js +3 -4
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +3 -4
- package/dist/test.native.js.map +1 -1
- package/package.json +7 -7
package/dist/native.js
CHANGED
|
@@ -5930,12 +5930,11 @@ var require_createShallowSetState_native = __commonJS({
|
|
|
5930
5930
|
return cb();
|
|
5931
5931
|
};
|
|
5932
5932
|
function createShallowSetState(setter, onlyAllow, transition, debugIn, callback) {
|
|
5933
|
-
var debug = !0;
|
|
5934
5933
|
return (0, import_react3.useCallback)(function(next) {
|
|
5935
5934
|
var wrap = transition ? import_react3.startTransition : callImmediate;
|
|
5936
5935
|
wrap(function() {
|
|
5937
5936
|
setter(function(prev) {
|
|
5938
|
-
var out = mergeIfNotShallowEqual(prev, next, onlyAllow,
|
|
5937
|
+
var out = mergeIfNotShallowEqual(prev, next, onlyAllow, debugIn);
|
|
5939
5938
|
return callback == null || callback(out), out;
|
|
5940
5939
|
});
|
|
5941
5940
|
});
|
|
@@ -5943,7 +5942,7 @@ var require_createShallowSetState_native = __commonJS({
|
|
|
5943
5942
|
setter,
|
|
5944
5943
|
onlyAllow ? onlyAllow.join("") : "",
|
|
5945
5944
|
transition,
|
|
5946
|
-
|
|
5945
|
+
debugIn,
|
|
5947
5946
|
callback
|
|
5948
5947
|
]);
|
|
5949
5948
|
}
|
|
@@ -8472,7 +8471,7 @@ var require_createFont_native = __commonJS({
|
|
|
8472
8471
|
];
|
|
8473
8472
|
}));
|
|
8474
8473
|
}, createFont = function(font) {
|
|
8475
|
-
var sizeKeys = Object.keys(font.size), processedFont = Object.fromEntries(Object.entries(font).map(function(param) {
|
|
8474
|
+
var sizeKeys = Object.keys(font.size || {}), processedFont = Object.fromEntries(Object.entries(font).map(function(param) {
|
|
8476
8475
|
var [key, section] = param;
|
|
8477
8476
|
return [
|
|
8478
8477
|
key,
|