hive-react-kit 1.7.5 → 1.7.7

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
@@ -1868,6 +1868,9 @@
1868
1868
  .bg-\[\#ff0000\] {
1869
1869
  background-color: #ff0000;
1870
1870
  }
1871
+ .bg-\[\#ff4500\] {
1872
+ background-color: #ff4500;
1873
+ }
1871
1874
  .bg-\[rgba\(255\,255\,255\,0\.04\)\] {
1872
1875
  background-color: rgba(255,255,255,0.04);
1873
1876
  }
@@ -164,6 +164,10 @@ export interface HiveDetailPostProps {
164
164
  /** Background color for the component. Pass a single color string for a solid background, or an array of colors for a gradient (e.g. `["#0f172a", "#1e293b"]` or `["#1a1a2e", "#16213e", "#0f3460"]`). Defaults to gray-900. */
165
165
  backgroundColor?: string | string[];
166
166
  onBack?: () => void;
167
+ /** Opens the host app's navigation (left) drawer. When set, a hamburger
168
+ * button appears at the far left of the header so the drawer is reachable
169
+ * from this full-screen page. */
170
+ onOpenMenu?: () => void;
167
171
  onUserClick?: (username: string) => void;
168
172
  /** Called when user clicks "View parent post" — navigate to the parent post. */
169
173
  onNavigateToPost?: (author: string, permlink: string) => void;
@@ -212,5 +216,5 @@ export interface HiveDetailPostProps {
212
216
  * page will then re-render with the new language. */
213
217
  onSelectLanguage?: (code: string) => void;
214
218
  }
215
- 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, 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;
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;
216
220
  export default HiveDetailPost;
@@ -4,6 +4,10 @@ export interface UserDetailProfileProps {
4
4
  username: string;
5
5
  currentUsername?: string;
6
6
  onBack?: () => void;
7
+ /** Opens the host app's navigation (left) drawer. When set, a hamburger
8
+ * button appears at the far left of the header so the drawer stays
9
+ * reachable from this full-screen profile page. */
10
+ onOpenMenu?: () => void;
7
11
  showBackButton?: boolean;
8
12
  /**
9
13
  * Controls which tabs are shown and their order.