@dloizides/ui-nav 1.23.1 → 1.23.2
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/CHANGELOG.md +4 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -66,10 +66,22 @@ var navStyles = StyleSheet.create({
|
|
|
66
66
|
},
|
|
67
67
|
topbarLeft: { flex: 1 },
|
|
68
68
|
topbarRight: { flexDirection: "row", alignItems: "center" },
|
|
69
|
-
topbarRowItem: {
|
|
69
|
+
topbarRowItem: {
|
|
70
|
+
marginHorizontal: 8,
|
|
71
|
+
alignItems: "center",
|
|
72
|
+
justifyContent: "center",
|
|
73
|
+
minHeight: MIN_TOUCH_TARGET,
|
|
74
|
+
minWidth: MIN_TOUCH_TARGET
|
|
75
|
+
},
|
|
70
76
|
topbarLabel: { fontSize: 14 },
|
|
71
77
|
userBlock: { marginHorizontal: 12, alignItems: "flex-end" },
|
|
72
78
|
userName: { fontWeight: "600" },
|
|
79
|
+
accountNameBtn: {
|
|
80
|
+
minHeight: MIN_TOUCH_TARGET,
|
|
81
|
+
minWidth: MIN_TOUCH_TARGET,
|
|
82
|
+
justifyContent: "center",
|
|
83
|
+
alignItems: "flex-end"
|
|
84
|
+
},
|
|
73
85
|
userEmail: { fontSize: 12 },
|
|
74
86
|
accountBtn: {
|
|
75
87
|
marginLeft: 8,
|
|
@@ -971,6 +983,7 @@ var Topbar = ({
|
|
|
971
983
|
accessibilityHint: richAccount.accountHint ?? richAccount.displayName,
|
|
972
984
|
accessibilityLabel: richAccount.displayName,
|
|
973
985
|
ringColor: primaryColor,
|
|
986
|
+
style: navStyles.accountNameBtn,
|
|
974
987
|
testID: richAccount.accountTestID ?? NAV_TEST_IDS.accountName,
|
|
975
988
|
onPress: richAccount.onAccount,
|
|
976
989
|
children: /* @__PURE__ */ jsx(Text, { style: [navStyles.userName, { color: colors.text }], children: richAccount.displayName })
|