@timpel/forumkit-sdk-web 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.
@@ -5390,13 +5390,12 @@ function ProfileTabs({ active, onSelect, showSaved = true }) {
5390
5390
 
5391
5391
  // src/views/components/profile/profile-empty-state.tsx
5392
5392
  import { jsx as jsx34, jsxs as jsxs28 } from "react/jsx-runtime";
5393
- function ProfileEmptyState({ tab, onUpdateSettings }) {
5393
+ function ProfileEmptyState({ tab }) {
5394
5394
  const copy = profileEmptyCopy(tab);
5395
5395
  return /* @__PURE__ */ jsxs28("div", { className: "fk-profile-empty", children: [
5396
5396
  /* @__PURE__ */ jsx34("div", { className: "fk-profile-empty-mascot", children: /* @__PURE__ */ jsx34(MascotIcon, { size: 120, variant: "empty" }) }),
5397
5397
  /* @__PURE__ */ jsx34("h2", { className: "fk-profile-empty-title", children: copy.title }),
5398
- /* @__PURE__ */ jsx34("p", { className: "fk-profile-empty-desc", children: copy.description }),
5399
- /* @__PURE__ */ jsx34(PillButton, { variant: "ghost", onClick: onUpdateSettings, style: { background: "var(--text)", color: "var(--bg)" }, children: "Update Settings" })
5398
+ /* @__PURE__ */ jsx34("p", { className: "fk-profile-empty-desc", children: copy.description })
5400
5399
  ] });
5401
5400
  }
5402
5401
 
@@ -5559,7 +5558,6 @@ function Profile() {
5559
5558
  loadMoreViewedProfileActivity,
5560
5559
  openComposer,
5561
5560
  openThread,
5562
- openSettings,
5563
5561
  votePost,
5564
5562
  toggleSavePost,
5565
5563
  setPostMenu,
@@ -5658,7 +5656,7 @@ function Profile() {
5658
5656
  ] })
5659
5657
  ] }),
5660
5658
  /* @__PURE__ */ jsx37("div", { className: "fk-profile-divider" }),
5661
- profile.activityItems.length === 0 && !profile.activityLoading ? /* @__PURE__ */ jsx37(ProfileEmptyState, { tab: profile.activeTab, onUpdateSettings: openSettings }) : /* @__PURE__ */ jsxs31(Fragment14, { children: [
5659
+ profile.activityItems.length === 0 && !profile.activityLoading ? /* @__PURE__ */ jsx37(ProfileEmptyState, { tab: profile.activeTab }) : /* @__PURE__ */ jsxs31(Fragment14, { children: [
5662
5660
  profile.activityItems.map((item) => item.kind === "thread" ? /* @__PURE__ */ jsx37(
5663
5661
  PostCard,
5664
5662
  {
@@ -13497,4 +13495,4 @@ if (!customElements.get("forum-kit")) {
13497
13495
  export {
13498
13496
  ForumKitElement
13499
13497
  };
13500
- //# sourceMappingURL=chunk-IFY5EDCC.js.map
13498
+ //# sourceMappingURL=chunk-G3BQUVWC.js.map