hive-react-kit 1.7.15 → 1.7.17
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/components/HiveDetailPost.d.ts +2 -1
- package/dist/components/user/UserDetailProfile.d.ts +1 -0
- package/dist/index.cjs.js +207 -207
- package/dist/index.esm.js +19351 -19278
- package/package.json +1 -1
|
@@ -168,6 +168,7 @@ export interface HiveDetailPostProps {
|
|
|
168
168
|
* button appears at the far left of the header so the drawer is reachable
|
|
169
169
|
* from this full-screen page. */
|
|
170
170
|
onOpenMenu?: () => void;
|
|
171
|
+
onOpenProfileMenu?: () => void;
|
|
171
172
|
onUserClick?: (username: string) => void;
|
|
172
173
|
/** Called when user clicks "View parent post" — navigate to the parent post. */
|
|
173
174
|
onNavigateToPost?: (author: string, permlink: string) => void;
|
|
@@ -216,5 +217,5 @@ export interface HiveDetailPostProps {
|
|
|
216
217
|
* page will then re-render with the new language. */
|
|
217
218
|
onSelectLanguage?: (code: string) => void;
|
|
218
219
|
}
|
|
219
|
-
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, 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;
|
|
220
221
|
export default HiveDetailPost;
|
|
@@ -8,6 +8,7 @@ export interface UserDetailProfileProps {
|
|
|
8
8
|
* button appears at the far left of the header so the drawer stays
|
|
9
9
|
* reachable from this full-screen profile page. */
|
|
10
10
|
onOpenMenu?: () => void;
|
|
11
|
+
onOpenProfileMenu?: () => void;
|
|
11
12
|
showBackButton?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Controls which tabs are shown and their order.
|