hive-react-kit 1.8.0 → 1.8.1
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 +10 -0
- package/dist/components/UpvoteListModal.d.ts +3 -1
- package/dist/index.cjs.js +161 -161
- package/dist/index.esm.js +12748 -12659
- package/dist/services/apiService.d.ts +2 -0
- package/package.json +1 -1
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;
|