@timpel/forumkit-sdk-react-native 0.2.7 → 0.2.8
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 +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5957,8 +5957,7 @@ function ProfileBody() {
|
|
|
5957
5957
|
activityLoading ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.View, { style: { alignItems: "center", paddingVertical: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Mascot, { size: 36 }) }) : activity.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_react_native46.View, { style: styles38.empty, children: [
|
|
5958
5958
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Mascot, { size: 88, animated: false, badge: false }),
|
|
5959
5959
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.Text, { style: [styles38.emptyTitle, { color: tokens.text }], children: copy.title }),
|
|
5960
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.Text, { style: [styles38.emptyDesc, { color: tokens.muted }], children: copy.description })
|
|
5961
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.Pressable, { onPress: () => setEditOpen(true), style: [styles38.settingsBtn, { backgroundColor: tokens.text }], children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.Text, { style: { color: tokens.bg, fontSize: 13.5, fontWeight: "700" }, children: "Update Settings" }) })
|
|
5960
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.Text, { style: [styles38.emptyDesc, { color: tokens.muted }], children: copy.description })
|
|
5962
5961
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_native46.View, { style: { paddingHorizontal: 16 }, children: activity.map((a, i) => a.kind === "thread" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5963
5962
|
PostRow,
|
|
5964
5963
|
{
|
|
@@ -6036,8 +6035,7 @@ var styles38 = import_react_native46.StyleSheet.create({
|
|
|
6036
6035
|
divider: { height: 1, marginTop: 10 },
|
|
6037
6036
|
empty: { alignItems: "center", paddingTop: 40, paddingHorizontal: 24 },
|
|
6038
6037
|
emptyTitle: { fontSize: 17, fontWeight: "800", marginTop: 16, textAlign: "center" },
|
|
6039
|
-
emptyDesc: { fontSize: 13.5, textAlign: "center", marginTop: 8, maxWidth: 280, lineHeight: 20 }
|
|
6040
|
-
settingsBtn: { borderRadius: 999, paddingVertical: 10, paddingHorizontal: 20, marginTop: 18 }
|
|
6038
|
+
emptyDesc: { fontSize: 13.5, textAlign: "center", marginTop: 8, maxWidth: 280, lineHeight: 20 }
|
|
6041
6039
|
});
|
|
6042
6040
|
|
|
6043
6041
|
// src/screens/SearchScreen.tsx
|