hive-react-kit 0.0.33 → 0.0.35
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 +3017 -0
- package/dist/components/CommentsList.d.ts +12 -0
- package/dist/components/HiveDetailPost.d.ts +12 -0
- package/dist/components/UpvoteList.d.ts +9 -0
- package/dist/components/UserChannel.d.ts +7 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/index.cjs.js +89 -84
- package/dist/index.d.ts +2 -3
- package/dist/index.esm.js +14089 -12268
- package/dist/services/activityService.d.ts +16 -16
- package/dist/services/apiService.d.ts +1 -0
- package/dist/types/activity.d.ts +6 -6
- package/package.json +4 -3
- package/dist/components/ActivityHistory.d.ts +0 -7
- package/dist/components/modals/CommentsModal.d.ts +0 -8
- package/dist/components/modals/UpvoteListModal.d.ts +0 -7
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Discussion } from '@/types/comment';
|
|
2
|
+
interface CommentsListProps {
|
|
3
|
+
author: string;
|
|
4
|
+
permlink: string;
|
|
5
|
+
currentUser?: string;
|
|
6
|
+
token?: string;
|
|
7
|
+
onClickUpvoteButton?: (currentUser?: string, token?: string) => void;
|
|
8
|
+
onClickCommentUpvote?: (comment: Discussion) => void;
|
|
9
|
+
onClickCommentReply?: (comment: Discussion) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function CommentsList({ author, permlink, currentUser, token, onClickUpvoteButton, onClickCommentUpvote, onClickCommentReply, }: CommentsListProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Discussion } from '@/types';
|
|
2
|
+
interface HiveDetailPostProps {
|
|
3
|
+
author: string;
|
|
4
|
+
permlink: string;
|
|
5
|
+
currentUser?: string;
|
|
6
|
+
token?: string;
|
|
7
|
+
onClickUpvoteButton?: (currentUser?: string, token?: string) => void;
|
|
8
|
+
onClickCommentUpvote?: (comment: Discussion) => void;
|
|
9
|
+
onClickCommentReply?: (comment: Discussion) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function HiveDetailPost({ author, permlink, currentUser, token, onClickUpvoteButton, onClickCommentUpvote, onClickCommentReply }: HiveDetailPostProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface UpvoteListProps {
|
|
2
|
+
author: string;
|
|
3
|
+
permlink: string;
|
|
4
|
+
currentUser?: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
onClickUpvoteButton?: (currentUser?: string, token?: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function UpvoteList({ author, permlink, currentUser, token, onClickUpvoteButton }: UpvoteListProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -8,16 +8,17 @@ export { default as ProposalsList } from './ProposalsList';
|
|
|
8
8
|
export { default as FollowersList } from './FollowersList';
|
|
9
9
|
export { default as FollowingList } from './FollowingList';
|
|
10
10
|
export { default as ActivityList } from './ActivityList';
|
|
11
|
+
export { HiveDetailPost } from './HiveDetailPost';
|
|
11
12
|
export { default as FavouriteWidget } from './common/FavouriteWidget';
|
|
12
13
|
export { default as CommunitiesList } from './community/CommunitiesList';
|
|
13
14
|
export { default as CommunityAbout } from './community/CommunityAbout';
|
|
14
15
|
export { default as CommunityDetail } from './community/CommunityDetail';
|
|
15
16
|
export { default as CommunityMembers } from './community/CommunityMembers';
|
|
16
17
|
export { default as CommunityTeam } from './community/CommunityTeam';
|
|
17
|
-
export { default as CommentsModal } from './modals/CommentsModal';
|
|
18
18
|
export { default as DescriptionModal } from './modals/DescriptionModal';
|
|
19
19
|
export { default as Modal } from './modals/Modal';
|
|
20
|
-
export {
|
|
20
|
+
export { UpvoteList } from './UpvoteList';
|
|
21
|
+
export { CommentsList } from './CommentsList';
|
|
21
22
|
export { default as UserAccount } from './user/UserAccount';
|
|
22
23
|
export { default as UserFollowers } from './user/UserFollowers';
|
|
23
24
|
export { default as UserFollowing } from './user/UserFollowing';
|