hive-react-kit 1.7.14 → 1.7.16
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 +24 -0
- package/dist/components/HiveDetailPost.d.ts +2 -1
- package/dist/components/user/UserDetailProfile.d.ts +1 -0
- package/dist/index.cjs.js +216 -216
- package/dist/index.esm.js +20565 -20324
- package/package.json +1 -1
package/dist/build.css
CHANGED
|
@@ -1412,6 +1412,13 @@
|
|
|
1412
1412
|
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
|
+
.space-y-8 {
|
|
1416
|
+
:where(& > :not(:last-child)) {
|
|
1417
|
+
--tw-space-y-reverse: 0;
|
|
1418
|
+
margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
|
|
1419
|
+
margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1415
1422
|
.gap-x-1\.5 {
|
|
1416
1423
|
column-gap: calc(var(--spacing) * 1.5);
|
|
1417
1424
|
}
|
|
@@ -1464,6 +1471,9 @@
|
|
|
1464
1471
|
.gap-y-1\.5 {
|
|
1465
1472
|
row-gap: calc(var(--spacing) * 1.5);
|
|
1466
1473
|
}
|
|
1474
|
+
.gap-y-2 {
|
|
1475
|
+
row-gap: calc(var(--spacing) * 2);
|
|
1476
|
+
}
|
|
1467
1477
|
.divide-y {
|
|
1468
1478
|
:where(& > :not(:last-child)) {
|
|
1469
1479
|
--tw-divide-y-reverse: 0;
|
|
@@ -1958,6 +1968,12 @@
|
|
|
1958
1968
|
.bg-\[var\(--hrk-bg-surface-raised\)\] {
|
|
1959
1969
|
background-color: var(--hrk-bg-surface-raised);
|
|
1960
1970
|
}
|
|
1971
|
+
.bg-\[var\(--hrk-bg-surface-raised\)\]\/35 {
|
|
1972
|
+
background-color: var(--hrk-bg-surface-raised);
|
|
1973
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1974
|
+
background-color: color-mix(in oklab, var(--hrk-bg-surface-raised) 35%, transparent);
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1961
1977
|
.bg-\[var\(--hrk-bg-surface-raised\)\]\/50 {
|
|
1962
1978
|
background-color: var(--hrk-bg-surface-raised);
|
|
1963
1979
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2774,6 +2790,9 @@
|
|
|
2774
2790
|
.pt-4 {
|
|
2775
2791
|
padding-top: calc(var(--spacing) * 4);
|
|
2776
2792
|
}
|
|
2793
|
+
.pt-6 {
|
|
2794
|
+
padding-top: calc(var(--spacing) * 6);
|
|
2795
|
+
}
|
|
2777
2796
|
.pt-8 {
|
|
2778
2797
|
padding-top: calc(var(--spacing) * 8);
|
|
2779
2798
|
}
|
|
@@ -4450,6 +4469,11 @@
|
|
|
4450
4469
|
}
|
|
4451
4470
|
}
|
|
4452
4471
|
}
|
|
4472
|
+
.focus\:ring-offset-\[var\(--hrk-bg-surface\)\] {
|
|
4473
|
+
&:focus {
|
|
4474
|
+
--tw-ring-offset-color: var(--hrk-bg-surface);
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4453
4477
|
.focus\:outline-none {
|
|
4454
4478
|
&:focus {
|
|
4455
4479
|
--tw-outline-style: none;
|
|
@@ -168,6 +168,7 @@ export interface HiveDetailPostProps {
|
|
|
168
168
|
* button appears at the far left of the header so the drawer is reachable
|
|
169
169
|
* from this full-screen page. */
|
|
170
170
|
onOpenMenu?: () => void;
|
|
171
|
+
onOpenProfileMenu?: () => void;
|
|
171
172
|
onUserClick?: (username: string) => void;
|
|
172
173
|
/** Called when user clicks "View parent post" — navigate to the parent post. */
|
|
173
174
|
onNavigateToPost?: (author: string, permlink: string) => void;
|
|
@@ -216,5 +217,5 @@ export interface HiveDetailPostProps {
|
|
|
216
217
|
* page will then re-render with the new language. */
|
|
217
218
|
onSelectLanguage?: (code: string) => void;
|
|
218
219
|
}
|
|
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;
|
|
220
|
+
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, onOpenProfileMenu, 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;
|
|
220
221
|
export default HiveDetailPost;
|
|
@@ -8,6 +8,7 @@ export interface UserDetailProfileProps {
|
|
|
8
8
|
* button appears at the far left of the header so the drawer stays
|
|
9
9
|
* reachable from this full-screen profile page. */
|
|
10
10
|
onOpenMenu?: () => void;
|
|
11
|
+
onOpenProfileMenu?: () => void;
|
|
11
12
|
showBackButton?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Controls which tabs are shown and their order.
|