hive-react-kit 1.8.0 → 1.8.2

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/README.md CHANGED
@@ -132,7 +132,7 @@ import { UserDetailProfile } from 'hive-react-kit';
132
132
  | `threeSpeakApiKey` | `string` | `undefined` | 3Speak API key. Enables audio recording/upload and video upload (TUS protocol). Hidden when not provided |
133
133
  | `giphyApiKey` | `string` | `undefined` | GIPHY API key. Enables GIF search. Hidden when not provided |
134
134
  | `templateToken` | `string` | `undefined` | HReplier API JWT token. Enables template picker. Hidden when not provided |
135
- | `templateApiBaseUrl` | `string` | `https://hreplier-api...` | Custom template API endpoint. Override when self-hosting |
135
+ | `templateApiBaseUrl` | `string` | `https://api.hivesuite.app...` | Custom template API endpoint. Override when self-hosting |
136
136
 
137
137
  **Social Action Callbacks**
138
138
 
package/dist/build.css CHANGED
@@ -4508,11 +4508,21 @@
4508
4508
  background-color: var(--hrk-bg-surface-raised);
4509
4509
  }
4510
4510
  }
4511
+ .disabled\:bg-gray-700 {
4512
+ &:disabled {
4513
+ background-color: var(--color-gray-700);
4514
+ }
4515
+ }
4511
4516
  .disabled\:text-\[var\(--hrk-text-tertiary\)\] {
4512
4517
  &:disabled {
4513
4518
  color: var(--hrk-text-tertiary);
4514
4519
  }
4515
4520
  }
4521
+ .disabled\:text-gray-400 {
4522
+ &:disabled {
4523
+ color: var(--color-gray-400);
4524
+ }
4525
+ }
4516
4526
  .disabled\:opacity-30 {
4517
4527
  &:disabled {
4518
4528
  opacity: 30%;
@@ -39,6 +39,8 @@ interface UpvoteListModalProps {
39
39
  /** Builds a profile URL so voter rows render as real <a href> links
40
40
  * (open-in-new-tab). Paired with `onUserClick` for SPA nav. */
41
41
  getUserUrl?: (username: string) => string;
42
+ /** True total vote count from the chain to display when the active_votes array is capped */
43
+ totalVoteCount?: number;
42
44
  }
43
45
  /** A single row in voters-only mode. `value` is an optional weight
44
46
  * (e.g. the voter's MHP) used for sorting + the breakdown bar. */
@@ -47,5 +49,5 @@ export interface VoterRow {
47
49
  value?: number;
48
50
  }
49
51
  export declare function formatTimeAgo(date: string | Date): string;
50
- declare const UpvoteListModal: ({ author, permlink, onClose, currentUser, token, onClickUpvoteButton, hiveIconUrl, voters, fetchVoters, valueUnit, title, voteFilter, onUserClick, getUserUrl, }: UpvoteListModalProps) => import("react/jsx-runtime").JSX.Element;
52
+ declare const UpvoteListModal: ({ author, permlink, onClose, currentUser, token, onClickUpvoteButton, hiveIconUrl, voters, fetchVoters, valueUnit, title, voteFilter, onUserClick, getUserUrl, totalVoteCount, }: UpvoteListModalProps) => import("react/jsx-runtime").JSX.Element;
51
53
  export default UpvoteListModal;
@@ -24,7 +24,7 @@ export interface PostComposerProps {
24
24
  youtubeApiKey?: string;
25
25
  /** HReplier API token — enables template picker */
26
26
  templateToken?: string;
27
- /** Custom template API endpoint (defaults to https://hreplier-api.sagarkothari88.one/data/templates) */
27
+ /** Custom template API endpoint (defaults to https://api.hivesuite.app/data/templates) */
28
28
  templateApiBaseUrl?: string;
29
29
  /** Hide individual toolbar features */
30
30
  hideBold?: boolean;
@@ -63,6 +63,7 @@ export interface CommunitySnapsTabProps {
63
63
  /** Collapse the per-card secondary actions (reblog · share · tip ·
64
64
  * flag) into a single 3-dot kebab. Forwarded into <SnapsFeedView/>. */
65
65
  actionsAsMenu?: boolean;
66
+ pageScroll?: boolean;
66
67
  }
67
68
  declare const CommunitySnapsTab: React.FC<CommunitySnapsTabProps>;
68
69
  export default CommunitySnapsTab;
@@ -37,7 +37,7 @@ export interface UserDetailProfileProps {
37
37
  giphyApiKey?: string;
38
38
  /** HReplier API token — enables template picker in comment composer */
39
39
  templateToken?: string;
40
- /** Custom template API endpoint (defaults to https://hreplier-api.sagarkothari88.one/data/templates) */
40
+ /** Custom template API endpoint (defaults to https://api.hivesuite.app/data/templates) */
41
41
  templateApiBaseUrl?: string;
42
42
  /** List of reported posts to exclude from feed. Each entry has { author, permlink }. */
43
43
  reportedPosts?: {