UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

40 lines (39 loc) 2.33 kB
// bSocial - Bitcoin Social UI Components and Hooks // Isolated social functionality for bigblocks // Core Components (implemented) export { PostButton } from "./components/PostButton.js"; export { LikeButton } from "./components/LikeButton.js"; export { FollowButton } from "./components/FollowButton.js"; // Compact Components (NEW) export { CompactPostButton } from "./components/CompactPostButton.js"; export { CompactMessageButton } from "./components/CompactMessageButton.js"; // Viewing Components (NEW - Critical Gap Filled!) export { PostCard } from "./components/PostCard.js"; export { SocialFeed } from "./components/SocialFeed.js"; export { MessageDisplay } from "./components/MessageDisplay.js"; export { FriendsDialog } from "./components/FriendsDialog.js"; export { ContextualComments } from "./components/ContextualComments.js"; // Individual Social Hooks (implemented) export { useSocialPost, useReplyPost } from "./hooks/useSocialPost.js"; export { useSocialMessage } from "./hooks/useSocialMessage.js"; export { useLikePost, useUnlikePost, useToggleLike, } from "./hooks/useLikePost.js"; export { useFollowUser, useUnfollowUser, useToggleFollow, } from "./hooks/useFollowUser.js"; export { useFriends } from "./hooks/useFriends.js"; export { useFriendRequests } from "./hooks/useFriendRequests.js"; export { useFriendActions } from "./hooks/useFriendActions.js"; export { useSocialFeed, usePostSearch } from "./hooks/useSocialFeed.js"; // Combined Social Hook export { useSocial } from "./hooks/useSocial.js"; // New hooks using bmap-api-types export { useFetchLikes, useFetchUserLikes } from "./hooks/useFetchLikes.js"; export { useFetchPost, useFetchReplies } from "./hooks/useFetchPost.js"; export { useChannels, useChannelMessages } from "./hooks/useChannels.js"; export { useApiClient, apiClient, ApiError } from "./hooks/useApiClient.js"; export { useContextualPosts } from "./hooks/useContextualPosts.js"; // Protocol Utilities (implemented) export { buildSocialTransaction, signWithAIP, buildOpReturnScript, SocialActions, } from "./utils/protocol.js"; export { broadcastSocialTransaction, getUtxos, } from "./utils/broadcast.js"; // Utils export { formatSocialTimestamp, validateSocialContent, } from "./utils/format.js"; // MetaLens - Universal Contextual Commenting export * from "../metalens/index.js";