tamagui 1.88.5 → 1.88.6
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 -2
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +3 -2
- package/dist/test.native.js.map +1 -1
- package/package.json +53 -53
package/dist/native.js
CHANGED
|
@@ -11857,7 +11857,7 @@ var require_getFontSize_native = __commonJS({
|
|
|
11857
11857
|
}, getFontSizeToken = (inSize, opts) => {
|
|
11858
11858
|
if (typeof inSize == "number")
|
|
11859
11859
|
return null;
|
|
11860
|
-
let relativeSize = (opts == null ? void 0 : opts.relativeSize) || 0, fontSize = (0, import_core13.getConfig)().fontsParsed[(opts == null ? void 0 : opts.font) || "$body"].size, size2 = (inSize === "$true" ? "$4" : inSize)
|
|
11860
|
+
let relativeSize = (opts == null ? void 0 : opts.relativeSize) || 0, fontSize = (0, import_core13.getConfig)().fontsParsed[(opts == null ? void 0 : opts.font) || "$body"].size, size2 = (inSize === "$true" && !("$true" in fontSize) ? "$4" : inSize) ?? ("$true" in fontSize ? "$true" : "$4"), sizeTokens = Object.keys(fontSize), foundIndex = sizeTokens.indexOf(size2);
|
|
11861
11861
|
foundIndex === -1 && size2.endsWith(".5") && (foundIndex = sizeTokens.indexOf(size2.replace(".5", ""))), process.env.NODE_ENV === "development" && foundIndex === -1 && console.warn("No font size found", size2, opts, "in size tokens", sizeTokens);
|
|
11862
11862
|
let tokenIndex = Math.min(
|
|
11863
11863
|
Math.max(0, foundIndex + relativeSize),
|
|
@@ -16842,7 +16842,8 @@ var require_SelectItem_native = __commonJS({
|
|
|
16842
16842
|
pressTheme: !0,
|
|
16843
16843
|
hoverTheme: !0,
|
|
16844
16844
|
cursor: "default",
|
|
16845
|
-
size: size2
|
|
16845
|
+
size: size2,
|
|
16846
|
+
outlineOffset: -1
|
|
16846
16847
|
},
|
|
16847
16848
|
...listItemProps,
|
|
16848
16849
|
...selectItemProps
|