hive-react-kit 1.9.8 → 1.9.9
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 +35 -0
- package/dist/components/feed/SnapsFeedView.d.ts +5 -1
- package/dist/index.cjs.js +144 -144
- package/dist/index.esm.js +10367 -10250
- package/package.json +1 -1
package/dist/build.css
CHANGED
|
@@ -303,6 +303,9 @@
|
|
|
303
303
|
.\@container {
|
|
304
304
|
container-type: inline-size;
|
|
305
305
|
}
|
|
306
|
+
.pointer-events-auto {
|
|
307
|
+
pointer-events: auto;
|
|
308
|
+
}
|
|
306
309
|
.pointer-events-none {
|
|
307
310
|
pointer-events: none;
|
|
308
311
|
}
|
|
@@ -372,6 +375,12 @@
|
|
|
372
375
|
.top-3 {
|
|
373
376
|
top: calc(var(--spacing) * 3);
|
|
374
377
|
}
|
|
378
|
+
.top-12 {
|
|
379
|
+
top: calc(var(--spacing) * 12);
|
|
380
|
+
}
|
|
381
|
+
.top-14 {
|
|
382
|
+
top: calc(var(--spacing) * 14);
|
|
383
|
+
}
|
|
375
384
|
.top-24 {
|
|
376
385
|
top: calc(var(--spacing) * 24);
|
|
377
386
|
}
|
|
@@ -751,6 +760,9 @@
|
|
|
751
760
|
.aspect-video {
|
|
752
761
|
aspect-ratio: var(--aspect-video);
|
|
753
762
|
}
|
|
763
|
+
.h-0 {
|
|
764
|
+
height: 0;
|
|
765
|
+
}
|
|
754
766
|
.h-1 {
|
|
755
767
|
height: var(--spacing);
|
|
756
768
|
}
|
|
@@ -1431,6 +1443,13 @@
|
|
|
1431
1443
|
.gap-x-4 {
|
|
1432
1444
|
column-gap: calc(var(--spacing) * 4);
|
|
1433
1445
|
}
|
|
1446
|
+
.-space-x-1\.5 {
|
|
1447
|
+
:where(& > :not(:last-child)) {
|
|
1448
|
+
--tw-space-x-reverse: 0;
|
|
1449
|
+
margin-inline-start: calc(calc(var(--spacing) * -1.5) * var(--tw-space-x-reverse));
|
|
1450
|
+
margin-inline-end: calc(calc(var(--spacing) * -1.5) * calc(1 - var(--tw-space-x-reverse)));
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1434
1453
|
.space-x-1 {
|
|
1435
1454
|
:where(& > :not(:last-child)) {
|
|
1436
1455
|
--tw-space-x-reverse: 0;
|
|
@@ -1525,6 +1544,9 @@
|
|
|
1525
1544
|
.overflow-hidden {
|
|
1526
1545
|
overflow: hidden;
|
|
1527
1546
|
}
|
|
1547
|
+
.overflow-visible {
|
|
1548
|
+
overflow: visible;
|
|
1549
|
+
}
|
|
1528
1550
|
.overflow-x-auto {
|
|
1529
1551
|
overflow-x: auto;
|
|
1530
1552
|
}
|
|
@@ -1878,6 +1900,9 @@
|
|
|
1878
1900
|
.bg-\[\#1a1d21\] {
|
|
1879
1901
|
background-color: #1a1d21;
|
|
1880
1902
|
}
|
|
1903
|
+
.bg-\[\#1d9bf0\] {
|
|
1904
|
+
background-color: #1d9bf0;
|
|
1905
|
+
}
|
|
1881
1906
|
.bg-\[\#1e242c\] {
|
|
1882
1907
|
background-color: #1e242c;
|
|
1883
1908
|
}
|
|
@@ -3360,6 +3385,9 @@
|
|
|
3360
3385
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-blue-500) 10%, transparent) var(--tw-shadow-alpha), transparent);
|
|
3361
3386
|
}
|
|
3362
3387
|
}
|
|
3388
|
+
.ring-\[\#1d9bf0\] {
|
|
3389
|
+
--tw-ring-color: #1d9bf0;
|
|
3390
|
+
}
|
|
3363
3391
|
.ring-\[var\(--hrk-border-default\)\] {
|
|
3364
3392
|
--tw-ring-color: var(--hrk-border-default);
|
|
3365
3393
|
}
|
|
@@ -3740,6 +3768,13 @@
|
|
|
3740
3768
|
}
|
|
3741
3769
|
}
|
|
3742
3770
|
}
|
|
3771
|
+
.hover\:bg-\[\#1a8cd8\] {
|
|
3772
|
+
&:hover {
|
|
3773
|
+
@media (hover: hover) {
|
|
3774
|
+
background-color: #1a8cd8;
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3743
3778
|
.hover\:bg-\[var\(--hrk-bg-hover\)\] {
|
|
3744
3779
|
&:hover {
|
|
3745
3780
|
@media (hover: hover) {
|
|
@@ -29,6 +29,9 @@ export interface SnapsFeedSlot {
|
|
|
29
29
|
error?: string | null;
|
|
30
30
|
onLoadMore?: () => void;
|
|
31
31
|
onRefresh?: () => void;
|
|
32
|
+
newCount?: number;
|
|
33
|
+
newAvatars?: string[];
|
|
34
|
+
onShowNew?: () => void;
|
|
32
35
|
}
|
|
33
36
|
export interface SnapsFeedViewProps {
|
|
34
37
|
feeds: Record<SnapsFeedKey, SnapsFeedSlot>;
|
|
@@ -127,6 +130,7 @@ export interface SnapsFeedViewProps {
|
|
|
127
130
|
* page-level scrollbar instead of four independent ones. Column
|
|
128
131
|
* headers stay visible via `sticky top-0`. Mobile is unaffected. */
|
|
129
132
|
pageScroll?: boolean;
|
|
133
|
+
onActiveFeedChange?: (feed: SnapsFeedKey) => void;
|
|
130
134
|
}
|
|
131
|
-
export declare function SnapsFeedView({ feeds, labels, avatars, defaultPrimary, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, isPostReblogged, onCheckReblogged, onReSnap, onTip, onSharePost, onCommentClick, onClickCommentIcon, onClickCommentCount, onReportPost, onToggleBookmark, isPostBookmarked, onDeletePost, onEditSnap, onVotePoll, onUserClick, onPostClick, getPostUrl, getUserUrl, getTagUrl, getCommunityUrl, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, defaultVotePercent, voteWeightStep, allowLandscapeVideos, awaitingWalletApproval, defaultReward, toolbar, footer, renderHeaderActions, actionsAsMenu, pageScroll, }: SnapsFeedViewProps): import("react/jsx-runtime").JSX.Element;
|
|
135
|
+
export declare function SnapsFeedView({ feeds, labels, avatars, defaultPrimary, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, isPostReblogged, onCheckReblogged, onReSnap, onTip, onSharePost, onCommentClick, onClickCommentIcon, onClickCommentCount, onReportPost, onToggleBookmark, isPostBookmarked, onDeletePost, onEditSnap, onVotePoll, onUserClick, onPostClick, getPostUrl, getUserUrl, getTagUrl, getCommunityUrl, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, defaultVotePercent, voteWeightStep, allowLandscapeVideos, awaitingWalletApproval, defaultReward, toolbar, footer, renderHeaderActions, actionsAsMenu, pageScroll, onActiveFeedChange, }: SnapsFeedViewProps): import("react/jsx-runtime").JSX.Element;
|
|
132
136
|
export default SnapsFeedView;
|