hive-react-kit 1.10.2 → 1.10.4

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/build.css CHANGED
@@ -303,9 +303,6 @@
303
303
  .\@container {
304
304
  container-type: inline-size;
305
305
  }
306
- .pointer-events-auto {
307
- pointer-events: auto;
308
- }
309
306
  .pointer-events-none {
310
307
  pointer-events: none;
311
308
  }
@@ -375,12 +372,6 @@
375
372
  .top-3 {
376
373
  top: calc(var(--spacing) * 3);
377
374
  }
378
- .top-12 {
379
- top: calc(var(--spacing) * 12);
380
- }
381
- .top-14 {
382
- top: calc(var(--spacing) * 14);
383
- }
384
375
  .top-24 {
385
376
  top: calc(var(--spacing) * 24);
386
377
  }
@@ -760,9 +751,6 @@
760
751
  .aspect-video {
761
752
  aspect-ratio: var(--aspect-video);
762
753
  }
763
- .h-0 {
764
- height: 0;
765
- }
766
754
  .h-1 {
767
755
  height: var(--spacing);
768
756
  }
@@ -1443,13 +1431,6 @@
1443
1431
  .gap-x-4 {
1444
1432
  column-gap: calc(var(--spacing) * 4);
1445
1433
  }
1446
- .-space-x-1\.5 {
1447
- :where(& > :not(:last-child)) {
1448
- --tw-space-x-reverse: 0;
1449
- margin-inline-start: calc(calc(var(--spacing) * -1.5) * var(--tw-space-x-reverse));
1450
- margin-inline-end: calc(calc(var(--spacing) * -1.5) * calc(1 - var(--tw-space-x-reverse)));
1451
- }
1452
- }
1453
1434
  .space-x-1 {
1454
1435
  :where(& > :not(:last-child)) {
1455
1436
  --tw-space-x-reverse: 0;
@@ -1544,9 +1525,6 @@
1544
1525
  .overflow-hidden {
1545
1526
  overflow: hidden;
1546
1527
  }
1547
- .overflow-visible {
1548
- overflow: visible;
1549
- }
1550
1528
  .overflow-x-auto {
1551
1529
  overflow-x: auto;
1552
1530
  }
@@ -1900,9 +1878,6 @@
1900
1878
  .bg-\[\#1a1d21\] {
1901
1879
  background-color: #1a1d21;
1902
1880
  }
1903
- .bg-\[\#1d9bf0\] {
1904
- background-color: #1d9bf0;
1905
- }
1906
1881
  .bg-\[\#1e242c\] {
1907
1882
  background-color: #1e242c;
1908
1883
  }
@@ -3385,9 +3360,6 @@
3385
3360
  --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-blue-500) 10%, transparent) var(--tw-shadow-alpha), transparent);
3386
3361
  }
3387
3362
  }
3388
- .ring-\[\#1d9bf0\] {
3389
- --tw-ring-color: #1d9bf0;
3390
- }
3391
3363
  .ring-\[var\(--hrk-border-default\)\] {
3392
3364
  --tw-ring-color: var(--hrk-border-default);
3393
3365
  }
@@ -3768,13 +3740,6 @@
3768
3740
  }
3769
3741
  }
3770
3742
  }
3771
- .hover\:bg-\[\#1a8cd8\] {
3772
- &:hover {
3773
- @media (hover: hover) {
3774
- background-color: #1a8cd8;
3775
- }
3776
- }
3777
- }
3778
3743
  .hover\:bg-\[var\(--hrk-bg-hover\)\] {
3779
3744
  &:hover {
3780
3745
  @media (hover: hover) {
@@ -6158,31 +6123,10 @@
6158
6123
  .hive-post-body img {
6159
6124
  max-width: 100%;
6160
6125
  height: auto;
6161
- max-height: 80vh;
6162
- object-fit: contain;
6163
6126
  border-radius: 0.75rem;
6164
6127
  margin: 1rem auto;
6165
6128
  display: block;
6166
6129
  }
6167
- .hive-post-body .hive-image-gallery {
6168
- display: flex;
6169
- flex-wrap: wrap;
6170
- gap: 0.5rem;
6171
- margin: 1rem 0;
6172
- justify-content: center;
6173
- }
6174
- .hive-post-body .hive-image-gallery .hive-img-figure {
6175
- flex: 1 1 0%;
6176
- min-width: 200px;
6177
- margin: 0;
6178
- }
6179
- .hive-post-body .hive-image-gallery .hive-img-figure img {
6180
- margin: 0;
6181
- width: 100%;
6182
- height: 100%;
6183
- object-fit: contain;
6184
- max-height: 80vh;
6185
- }
6186
6130
  .hive-post-body blockquote {
6187
6131
  border-left: 4px solid #3b82f680;
6188
6132
  background: #1f293780;
@@ -6582,8 +6526,6 @@
6582
6526
  .snaps-feed-body img {
6583
6527
  max-width: 100%;
6584
6528
  height: auto;
6585
- max-height: 80vh;
6586
- object-fit: contain;
6587
6529
  border-radius: 0.5rem;
6588
6530
  margin: 0.25rem 0;
6589
6531
  }
@@ -35,8 +35,6 @@ export interface BlogPostListProps {
35
35
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
36
36
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
37
37
  onReblog?: (author: string, permlink: string) => void;
38
- isPostReblogged?: (author: string, permlink: string) => boolean;
39
- onCheckReblogged?: (author: string, permlink: string) => void;
40
38
  onTip?: (author: string, permlink: string) => void;
41
39
  onSharePost?: (author: string, permlink: string) => void;
42
40
  onCommentClick?: (author: string, permlink: string) => void;
@@ -85,7 +85,6 @@ export interface HiveDetailPostProps {
85
85
  };
86
86
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
87
87
  onReblog?: () => void;
88
- isReblogged?: boolean;
89
88
  onShare?: () => void;
90
89
  onTip?: () => void;
91
90
  onReport?: () => void;
@@ -218,5 +217,5 @@ export interface HiveDetailPostProps {
218
217
  * page will then re-render with the new language. */
219
218
  onSelectLanguage?: (code: string) => void;
220
219
  }
221
- export declare function HiveDetailPost({ author, permlink, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, isReblogged, onShare, onTip, onReport, onEdit, onDelete, onShareComment, onTipComment, onReportComment, onToggleCommentBookmark, isCommentBookmarked, onEditComment, onDeleteComment, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, reportedAuthors, reportedPosts, hiveIconUrl, backgroundColor, onBack, onOpenMenu, onOpenProfileMenu, onUserClick, onCommunityClick, getUserUrl, getCommunityUrl, onNavigateToPost, isBookmarked, onToggleBookmark, onHeaderShare, onHeaderReport, language, onSelectLanguage, onVotePoll, showVoteButton, processBody, defaultReward, defaultBeneficiaries, beneficiaryFavorites, defaultVotePercent, voteWeightStep, allowLandscapeVideos, renderOptions, awaitingWalletApproval, }: HiveDetailPostProps): import("react/jsx-runtime").JSX.Element;
220
+ export declare function HiveDetailPost({ author, permlink, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, onShare, onTip, onReport, onEdit, onDelete, onShareComment, onTipComment, onReportComment, onToggleCommentBookmark, isCommentBookmarked, onEditComment, onDeleteComment, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, reportedAuthors, reportedPosts, hiveIconUrl, backgroundColor, onBack, onOpenMenu, onOpenProfileMenu, onUserClick, onCommunityClick, getUserUrl, getCommunityUrl, onNavigateToPost, isBookmarked, onToggleBookmark, onHeaderShare, onHeaderReport, language, onSelectLanguage, onVotePoll, showVoteButton, processBody, defaultReward, defaultBeneficiaries, beneficiaryFavorites, defaultVotePercent, voteWeightStep, allowLandscapeVideos, renderOptions, awaitingWalletApproval, }: HiveDetailPostProps): import("react/jsx-runtime").JSX.Element;
222
221
  export default HiveDetailPost;
@@ -7,10 +7,6 @@ interface LanguagePickerButtonProps {
7
7
  /** Optional override for the language list. Defaults to the same
8
8
  * 15-language set used by the selection-translate popover. */
9
9
  languages?: SelectionTranslateLanguage[];
10
- /** Optional class name to override styling. */
11
- className?: string;
12
- /** Optional flag to render as a menu item instead of header button. */
13
- isMenuItem?: boolean;
14
10
  }
15
- export declare function LanguagePickerButton({ language, onSelectLanguage, languages, className, isMenuItem, }: LanguagePickerButtonProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function LanguagePickerButton({ language, onSelectLanguage, languages, }: LanguagePickerButtonProps): import("react/jsx-runtime").JSX.Element;
16
12
  export default LanguagePickerButton;
@@ -4,7 +4,6 @@ export interface MoreActionsMenuProps {
4
4
  onEdit?: () => void;
5
5
  /** Show the Reblog item. */
6
6
  onReblog?: () => void;
7
- isReblogged?: boolean;
8
7
  /** Show the Re-snap item. Re-snap broadcasts a new snap whose body is
9
8
  * a URL pointing back at this snap — receivers render the original
10
9
  * inline with a "RE-SNAP" badge. */
@@ -34,5 +33,5 @@ export interface MoreActionsMenuProps {
34
33
  /** aria-label for the trigger. */
35
34
  ariaLabel?: string;
36
35
  }
37
- export declare function MoreActionsMenu({ onEdit, onReblog, isReblogged, onReSnap, onShare, onTip, onReport, onToggleBookmark, isBookmarked, onPin, onUnpin, onDelete, buttonClassName, ariaLabel, }: MoreActionsMenuProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function MoreActionsMenu({ onEdit, onReblog, onReSnap, onShare, onTip, onReport, onToggleBookmark, isBookmarked, onPin, onUnpin, onDelete, buttonClassName, ariaLabel, }: MoreActionsMenuProps): import("react/jsx-runtime").JSX.Element;
38
37
  export default MoreActionsMenu;
@@ -73,8 +73,6 @@ export interface PostActionButtonProps {
73
73
  onEdit?: () => void;
74
74
  /** Called when reblog is clicked (when logged in). */
75
75
  onReblog?: () => void;
76
- isReblogged?: boolean;
77
- onCheckReblogged?: (author: string, permlink: string) => void;
78
76
  /** Called when re-snap is clicked (when logged in). Re-snap appends
79
77
  * a new snap to the latest peak.snaps container whose body is a URL
80
78
  * to the original snap — receivers render the original inline. */
@@ -156,5 +154,5 @@ export interface PostActionButtonProps {
156
154
  * polls, community detail) where there isn't room for four icons. */
157
155
  actionsAsMenu?: boolean;
158
156
  }
159
- export declare function PostActionButton({ author, permlink, currentUser: currentUserProp, hiveValue, hiveIconUrl, payoutTooltip, payoutDetails, initialVotes, initialVoteCount, initialFlagWeight, initialCommentsCount, onUpvote, onSubmitComment, onComments, onEdit, onReblog, isReblogged, onCheckReblogged, onReSnap, onShare, onTip, onReport, onToggleBookmark, isBookmarked, onDelete, onPin, onUnpin, onClickCommentUpvote, onUserClick, getUserUrl, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, disableCommentsModal, onClickCommentIcon, onClickCommentCount, hasCommented, myReplyKey, showVoteButton, parentTags, defaultReward, defaultBeneficiaries, beneficiaryFavorites, defaultVotePercent, voteWeightStep, allowLandscapeVideos, actionsAsMenu, awaitingWalletApproval, postCreatedAt, size, }: PostActionButtonProps): import("react/jsx-runtime").JSX.Element;
157
+ export declare function PostActionButton({ author, permlink, currentUser: currentUserProp, hiveValue, hiveIconUrl, payoutTooltip, payoutDetails, initialVotes, initialVoteCount, initialFlagWeight, initialCommentsCount, onUpvote, onSubmitComment, onComments, onEdit, onReblog, onReSnap, onShare, onTip, onReport, onToggleBookmark, isBookmarked, onDelete, onPin, onUnpin, onClickCommentUpvote, onUserClick, getUserUrl, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, disableCommentsModal, onClickCommentIcon, onClickCommentCount, hasCommented, myReplyKey, showVoteButton, parentTags, defaultReward, defaultBeneficiaries, beneficiaryFavorites, defaultVotePercent, voteWeightStep, allowLandscapeVideos, actionsAsMenu, awaitingWalletApproval, postCreatedAt, size, }: PostActionButtonProps): import("react/jsx-runtime").JSX.Element;
160
158
  export default PostActionButton;
@@ -18,8 +18,6 @@ export interface CommunityDetailProps {
18
18
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
19
19
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
20
20
  onReblog?: (author: string, permlink: string) => void;
21
- isPostReblogged?: (author: string, permlink: string) => boolean;
22
- onCheckReblogged?: (author: string, permlink: string) => void;
23
21
  onTip?: (author: string, permlink: string) => void;
24
22
  onSharePost?: (author: string, permlink: string) => void;
25
23
  onReportPost?: (author: string, permlink: string) => void;
@@ -120,5 +118,5 @@ export interface CommunityDetailProps {
120
118
  * the view starts at the top, matching forward navigation. */
121
119
  shouldRestoreScroll?: boolean;
122
120
  }
123
- declare const CommunityDetail: ({ communityId, currentUser, onBack, onUserClick, onPostClick, getPostUrl, getUserUrl, getTagUrl, getCommunityUrl, onCommentClick, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, isPostReblogged, onCheckReblogged, onTip, onSharePost, onReportPost, onToggleBookmark, isPostBookmarked, onToggleCommunityBookmark, isCommunityBookmarked, onDeletePost, canPin, onPinPost, onUnpinPost, onVotePoll, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, defaultVotePercent, voteWeightStep, allowLandscapeVideos, awaitingWalletApproval, defaultReward, actionsAsMenu, onShare, onRss, isSubscribed: controlledIsSubscribed, onToggleSubscribe, subscribePending, canManage, onManageRoles, onOpenSettings, loadCommunitySnaps: _loadCommunitySnaps, reportedAuthors, reportedPosts, activeTab: controlledActiveTab, onActiveTabChange, postSort: controlledPostSort, onPostSortChange, shouldRestoreScroll, }: CommunityDetailProps) => import("react/jsx-runtime").JSX.Element;
121
+ declare const CommunityDetail: ({ communityId, currentUser, onBack, onUserClick, onPostClick, getPostUrl, getUserUrl, getTagUrl, getCommunityUrl, onCommentClick, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, onTip, onSharePost, onReportPost, onToggleBookmark, isPostBookmarked, onToggleCommunityBookmark, isCommunityBookmarked, onDeletePost, canPin, onPinPost, onUnpinPost, onVotePoll, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, defaultVotePercent, voteWeightStep, allowLandscapeVideos, awaitingWalletApproval, defaultReward, actionsAsMenu, onShare, onRss, isSubscribed: controlledIsSubscribed, onToggleSubscribe, subscribePending, canManage, onManageRoles, onOpenSettings, loadCommunitySnaps: _loadCommunitySnaps, reportedAuthors, reportedPosts, activeTab: controlledActiveTab, onActiveTabChange, postSort: controlledPostSort, onPostSortChange, shouldRestoreScroll, }: CommunityDetailProps) => import("react/jsx-runtime").JSX.Element;
124
122
  export default CommunityDetail;
@@ -29,8 +29,6 @@ export interface CommunitySnapsTabProps {
29
29
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
30
30
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
31
31
  onReblog?: (author: string, permlink: string) => void;
32
- isPostReblogged?: (author: string, permlink: string) => boolean;
33
- onCheckReblogged?: (author: string, permlink: string) => void;
34
32
  onTip?: (author: string, permlink: string) => void;
35
33
  onSharePost?: (author: string, permlink: string) => void;
36
34
  onCommentClick?: (author: string, permlink: string) => void;
@@ -25,8 +25,6 @@ export interface SnapsFeedCardProps {
25
25
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
26
26
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
27
27
  onReblog?: (author: string, permlink: string) => void;
28
- isPostReblogged?: (author: string, permlink: string) => boolean;
29
- onCheckReblogged?: (author: string, permlink: string) => void;
30
28
  /** Called when the viewer taps "Re-snap" in the snap's more menu.
31
29
  * Host implements the broadcast — body is a URL pointing at the
32
30
  * original snap (`http(s)://<frontend>/@<author>/<permlink>`) so
@@ -29,9 +29,6 @@ export interface SnapsFeedSlot {
29
29
  error?: string | null;
30
30
  onLoadMore?: () => void;
31
31
  onRefresh?: () => void;
32
- newCount?: number;
33
- newAvatars?: string[];
34
- onShowNew?: () => void;
35
32
  }
36
33
  export interface SnapsFeedViewProps {
37
34
  feeds: Record<SnapsFeedKey, SnapsFeedSlot>;
@@ -48,8 +45,6 @@ export interface SnapsFeedViewProps {
48
45
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
49
46
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
50
47
  onReblog?: (author: string, permlink: string) => void;
51
- isPostReblogged?: (author: string, permlink: string) => boolean;
52
- onCheckReblogged?: (author: string, permlink: string) => void;
53
48
  /** Called when the viewer taps "Re-snap" in a snap's more menu.
54
49
  * Host implements the broadcast — see SnapsFeedCard's `onReSnap`.
55
50
  * The `parentTags` argument carries the original snap's
@@ -130,7 +125,6 @@ export interface SnapsFeedViewProps {
130
125
  * page-level scrollbar instead of four independent ones. Column
131
126
  * headers stay visible via `sticky top-0`. Mobile is unaffected. */
132
127
  pageScroll?: boolean;
133
- onActiveFeedChange?: (feed: SnapsFeedKey) => void;
134
128
  }
135
- export declare function SnapsFeedView({ feeds, labels, avatars, defaultPrimary, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, isPostReblogged, onCheckReblogged, onReSnap, onTip, onSharePost, onCommentClick, onClickCommentIcon, onClickCommentCount, onReportPost, onToggleBookmark, isPostBookmarked, onDeletePost, onEditSnap, onVotePoll, onUserClick, onPostClick, getPostUrl, getUserUrl, getTagUrl, getCommunityUrl, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, defaultVotePercent, voteWeightStep, allowLandscapeVideos, awaitingWalletApproval, defaultReward, toolbar, footer, renderHeaderActions, actionsAsMenu, pageScroll, onActiveFeedChange, }: SnapsFeedViewProps): import("react/jsx-runtime").JSX.Element;
129
+ export declare function SnapsFeedView({ feeds, labels, avatars, defaultPrimary, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, onReSnap, onTip, onSharePost, onCommentClick, onClickCommentIcon, onClickCommentCount, onReportPost, onToggleBookmark, isPostBookmarked, onDeletePost, onEditSnap, onVotePoll, onUserClick, onPostClick, getPostUrl, getUserUrl, getTagUrl, getCommunityUrl, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, defaultVotePercent, voteWeightStep, allowLandscapeVideos, awaitingWalletApproval, defaultReward, toolbar, footer, renderHeaderActions, actionsAsMenu, pageScroll, }: SnapsFeedViewProps): import("react/jsx-runtime").JSX.Element;
136
130
  export default SnapsFeedView;
@@ -18,8 +18,6 @@ export interface PollListItemProps {
18
18
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
19
19
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
20
20
  onReblog?: (author: string, permlink: string) => void;
21
- isPostReblogged?: (author: string, permlink: string) => boolean;
22
- onCheckReblogged?: (author: string, permlink: string) => void;
23
21
  onTip?: (author: string, permlink: string) => void;
24
22
  onSharePost?: (author: string, permlink: string) => void;
25
23
  onCommentClick?: (author: string, permlink: string) => void;
@@ -22,8 +22,6 @@ export interface ProfileSnapsTabProps {
22
22
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
23
23
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
24
24
  onReblog?: (author: string, permlink: string) => void;
25
- isPostReblogged?: (author: string, permlink: string) => boolean;
26
- onCheckReblogged?: (author: string, permlink: string) => void;
27
25
  onTip?: (author: string, permlink: string) => void;
28
26
  onSharePost?: (author: string, permlink: string) => void;
29
27
  onCommentClick?: (author: string, permlink: string) => void;
@@ -27,22 +27,8 @@ export interface UserDetailProfileProps {
27
27
  */
28
28
  activeTab?: TabType;
29
29
  /** Called whenever the user clicks a different tab. Fires whether or
30
- * not `activeTab` is supplied. Always fires with the PARENT tab name
31
- * (e.g. `"posts"`, not `"blogs"`). */
30
+ * not `activeTab` is supplied. */
32
31
  onActiveTabChange?: (tab: TabType) => void;
33
- /**
34
- * Called whenever the user switches a sub-tab toggle (Blogs/Posts,
35
- * Comments/Replies, etc.). Receives both the parent tab name and the
36
- * sub-tab name so the host app can sync the URL (e.g. `?subtab=blogs`).
37
- */
38
- onSubTabChange?: (parentTab: TabType, subTab: string) => void;
39
- /**
40
- * Initial sub-tab to activate within the parent `activeTab`. Lets the
41
- * host app restore a sub-tab from the URL on first render.
42
- * E.g. `initialSubTab="replies"` opens the Replies sub-tab inside the
43
- * parent Replies tab.
44
- */
45
- initialSubTab?: string;
46
32
  /** Ecency image hosting token — enables image and video thumbnail upload in comment composer */
47
33
  ecencyToken?: string;
48
34
  /** 3Speak API key — enables audio and video upload in comment composer */
@@ -75,8 +61,6 @@ export interface UserDetailProfileProps {
75
61
  onSubmitComment?: (parentAuthor: string, parentPermlink: string, body: string) => void | Promise<void>;
76
62
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
77
63
  onReblog?: (author: string, permlink: string) => void;
78
- isPostReblogged?: (author: string, permlink: string) => boolean;
79
- onCheckReblogged?: (author: string, permlink: string) => void;
80
64
  onTip?: (author: string, permlink: string) => void;
81
65
  onReportPost?: (author: string, permlink: string, reason: string) => void | Promise<void>;
82
66
  /** Per-row bookmark toggle on every Blogs / Posts / Comments / Replies
@@ -245,6 +229,6 @@ export interface UserDetailProfileProps {
245
229
  * `addAccountAuthority` / `removeAccountAuthority`). */
246
230
  onPostingAuthority?: () => void;
247
231
  }
248
- type TabType = "blogs" | "posts" | "snaps" | "polls" | "comments" | "replies" | "activities" | "authorRewards" | "curationRewards" | "followers" | "following" | "wallet" | "votingPower" | "badges" | "witnessVotes" | "growth" | "curation" | "rewards" | "tokens" | "follows";
232
+ type TabType = "blogs" | "posts" | "snaps" | "polls" | "comments" | "replies" | "activities" | "authorRewards" | "curationRewards" | "followers" | "following" | "wallet" | "votingPower" | "badges" | "witnessVotes" | "growth" | "curation";
249
233
  declare const UserDetailProfile: React.FC<UserDetailProfileProps>;
250
234
  export default UserDetailProfile;
@@ -15,7 +15,7 @@
15
15
  * Missing keys for a non-English language fall back to the English entry,
16
16
  * which is the source of truth for every label.
17
17
  */
18
- export type KitMessageKey = "tab.blogs" | "tab.posts" | "tab.snaps" | "tab.polls" | "tab.comments" | "tab.replies" | "tab.activities" | "tab.authorRewards" | "tab.curationRewards" | "tab.growth" | "tab.followers" | "tab.following" | "tab.follows" | "tab.wallet" | "tab.engineTokens" | "tab.rewards" | "tab.votingPower" | "tab.badges" | "tab.witnessVotes" | "tab.curation" | "meta.followers" | "meta.following" | "meta.posts" | "action.follow" | "action.unfollow" | "action.ignoreAuthor" | "action.mute" | "action.unmute" | "action.reportUser" | "action.shareProfile" | "action.cancel" | "action.confirmIgnore" | "action.processing" | "modal.ignoreAuthorTitle" | "modal.ignoreAuthorBody" | "empty.noBlogs" | "empty.noPosts" | "empty.noSnaps" | "empty.noPolls" | "empty.noComments" | "empty.noReplies" | "empty.noFollowers" | "empty.notFollowing" | "empty.noBadges" | "empty.noWitnessVotes" | "empty.noPendingAuthor" | "empty.noPendingCuration" | "empty.curationHint" | "empty.votingPowerUnavailable" | "empty.userNotFound" | "empty.noCuration" | "status.active" | "status.ended" | "poll.selectAnOption" | "poll.selectUpTo" | "poll.changeYourVote" | "poll.selected" | "poll.submitVote" | "poll.submitVotes" | "poll.changeVote" | "poll.submitting" | "poll.voted" | "poll.voteChangesAllowed" | "poll.voter" | "poll.voters" | "poll.option" | "poll.options" | "poll.endsIn" | "common.translating" | "common.processing" | "common.fullyCharged" | "reward.pendingAuthor" | "reward.pendingCuration" | "reward.posts" | "reward.comments" | "reward.totalHbd" | "reward.totalHp" | "reward.avgEfficiency" | "reward.post" | "reward.comment" | "vp.upvotePower" | "vp.downvotePower" | "vp.resourceCredits";
18
+ export type KitMessageKey = "tab.blogs" | "tab.posts" | "tab.snaps" | "tab.polls" | "tab.comments" | "tab.replies" | "tab.activities" | "tab.authorRewards" | "tab.curationRewards" | "tab.growth" | "tab.followers" | "tab.following" | "tab.wallet" | "tab.engineTokens" | "tab.votingPower" | "tab.badges" | "tab.witnessVotes" | "tab.curation" | "meta.followers" | "meta.following" | "meta.posts" | "action.follow" | "action.unfollow" | "action.ignoreAuthor" | "action.mute" | "action.unmute" | "action.reportUser" | "action.shareProfile" | "action.cancel" | "action.confirmIgnore" | "action.processing" | "modal.ignoreAuthorTitle" | "modal.ignoreAuthorBody" | "empty.noBlogs" | "empty.noPosts" | "empty.noSnaps" | "empty.noPolls" | "empty.noComments" | "empty.noReplies" | "empty.noFollowers" | "empty.notFollowing" | "empty.noBadges" | "empty.noWitnessVotes" | "empty.noPendingAuthor" | "empty.noPendingCuration" | "empty.curationHint" | "empty.votingPowerUnavailable" | "empty.userNotFound" | "empty.noCuration" | "status.active" | "status.ended" | "poll.selectAnOption" | "poll.selectUpTo" | "poll.changeYourVote" | "poll.selected" | "poll.submitVote" | "poll.submitVotes" | "poll.changeVote" | "poll.submitting" | "poll.voted" | "poll.voteChangesAllowed" | "poll.voter" | "poll.voters" | "poll.option" | "poll.options" | "poll.endsIn" | "common.translating" | "common.processing" | "common.fullyCharged" | "reward.pendingAuthor" | "reward.pendingCuration" | "reward.posts" | "reward.comments" | "reward.totalHbd" | "reward.totalHp" | "reward.avgEfficiency" | "reward.post" | "reward.comment" | "vp.upvotePower" | "vp.downvotePower" | "vp.resourceCredits";
19
19
  export type KitMessages = Partial<Record<KitMessageKey, string>>;
20
20
  export declare const BUILTIN_MESSAGES: Record<string, Record<string, string>>;
21
21
  /**