@hoddy-ui/next 2.0.23 → 2.0.24
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/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -640,6 +640,7 @@ var LinkButton = ({
|
|
|
640
640
|
text: {
|
|
641
641
|
fontSize: (0, import_react_native_size_matters6.moderateScale)(fontSize),
|
|
642
642
|
fontWeight,
|
|
643
|
+
fontFamily: getConfig().DEFAULT_FONT_FAMILY || "System",
|
|
643
644
|
color: disabled ? "#777" : colors2[color].main
|
|
644
645
|
}
|
|
645
646
|
});
|
|
@@ -746,7 +747,8 @@ var Button = (0, import_react8.forwardRef)(
|
|
|
746
747
|
text: {
|
|
747
748
|
color: disabled ? variant === "text" || variant === "outlined" ? colors2.black[1] : colors2[color].text : colors2[color][variant === "text" || variant === "outlined" ? "main" : "text"],
|
|
748
749
|
fontWeight: variant === "outlined" ? "700" : "500",
|
|
749
|
-
fontSize: size === "small" ? "12@ms" : "16@ms"
|
|
750
|
+
fontSize: size === "small" ? "12@ms" : "16@ms",
|
|
751
|
+
fontFamily: getConfig().DEFAULT_FONT_FAMILY || "System"
|
|
750
752
|
}
|
|
751
753
|
});
|
|
752
754
|
return /* @__PURE__ */ import_react8.default.createElement(
|
|
@@ -1405,6 +1407,7 @@ var TextField = ({
|
|
|
1405
1407
|
paddingLeft: variant === "text" ? 0 : (0, import_react_native_size_matters14.moderateScale)(15),
|
|
1406
1408
|
paddingRight: (0, import_react_native_size_matters14.moderateScale)(10),
|
|
1407
1409
|
paddingTop: "11@vs",
|
|
1410
|
+
fontFamily: getConfig().DEFAULT_FONT_FAMILY || "System",
|
|
1408
1411
|
color: colors2.black[1],
|
|
1409
1412
|
zIndex: 10
|
|
1410
1413
|
// backgroundColor: "#284",
|
|
@@ -1416,6 +1419,7 @@ var TextField = ({
|
|
|
1416
1419
|
paddingTop: "13@ms"
|
|
1417
1420
|
},
|
|
1418
1421
|
label: {
|
|
1422
|
+
fontFamily: getConfig().DEFAULT_FONT_FAMILY || "System",
|
|
1419
1423
|
position: "absolute",
|
|
1420
1424
|
left: variant === "text" ? 0 : (0, import_react_native_size_matters14.moderateScale)(15),
|
|
1421
1425
|
fontSize: focused || value ? "10@s" : "13@s",
|