hive-react-kit 0.5.6 → 0.5.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 CHANGED
@@ -20,8 +20,6 @@
20
20
  --color-orange-300: oklch(83.7% 0.128 66.29);
21
21
  --color-orange-400: oklch(75% 0.183 55.934);
22
22
  --color-orange-500: oklch(70.5% 0.213 47.604);
23
- --color-orange-600: oklch(64.6% 0.222 41.116);
24
- --color-orange-700: oklch(55.3% 0.195 38.402);
25
23
  --color-orange-900: oklch(40.8% 0.123 38.172);
26
24
  --color-amber-300: oklch(87.9% 0.169 91.605);
27
25
  --color-amber-400: oklch(82.8% 0.189 84.429);
@@ -1264,6 +1262,9 @@
1264
1262
  border-color: color-mix(in oklab, var(--color-white) 30%, transparent);
1265
1263
  }
1266
1264
  }
1265
+ .border-yellow-800 {
1266
+ border-color: var(--color-yellow-800);
1267
+ }
1267
1268
  .border-t-transparent {
1268
1269
  border-top-color: transparent;
1269
1270
  }
@@ -1366,12 +1367,6 @@
1366
1367
  background-color: color-mix(in oklab, var(--color-blue-900) 10%, transparent);
1367
1368
  }
1368
1369
  }
1369
- .bg-blue-900\/20 {
1370
- background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);
1371
- @supports (color: color-mix(in lab, red, red)) {
1372
- background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);
1373
- }
1374
- }
1375
1370
  .bg-blue-900\/30 {
1376
1371
  background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 30%, transparent);
1377
1372
  @supports (color: color-mix(in lab, red, red)) {
@@ -1486,9 +1481,6 @@
1486
1481
  background-color: color-mix(in oklab, var(--color-orange-500) 15%, transparent);
1487
1482
  }
1488
1483
  }
1489
- .bg-orange-600 {
1490
- background-color: var(--color-orange-600);
1491
- }
1492
1484
  .bg-purple-100 {
1493
1485
  background-color: var(--color-purple-100);
1494
1486
  }
@@ -1558,6 +1550,12 @@
1558
1550
  .bg-yellow-800 {
1559
1551
  background-color: var(--color-yellow-800);
1560
1552
  }
1553
+ .bg-yellow-900\/20 {
1554
+ background-color: color-mix(in srgb, oklch(42.1% 0.095 57.708) 20%, transparent);
1555
+ @supports (color: color-mix(in lab, red, red)) {
1556
+ background-color: color-mix(in oklab, var(--color-yellow-900) 20%, transparent);
1557
+ }
1558
+ }
1561
1559
  .bg-gradient-to-b {
1562
1560
  --tw-gradient-position: to bottom in oklab;
1563
1561
  background-image: linear-gradient(var(--tw-gradient-stops));
@@ -2048,6 +2046,9 @@
2048
2046
  color: color-mix(in oklab, var(--color-white) 90%, transparent);
2049
2047
  }
2050
2048
  }
2049
+ .text-yellow-200 {
2050
+ color: var(--color-yellow-200);
2051
+ }
2051
2052
  .text-yellow-400 {
2052
2053
  color: var(--color-yellow-400);
2053
2054
  }
@@ -2442,13 +2443,6 @@
2442
2443
  }
2443
2444
  }
2444
2445
  }
2445
- .hover\:bg-orange-700 {
2446
- &:hover {
2447
- @media (hover: hover) {
2448
- background-color: var(--color-orange-700);
2449
- }
2450
- }
2451
- }
2452
2446
  .hover\:bg-orange-900\/20 {
2453
2447
  &:hover {
2454
2448
  @media (hover: hover) {
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface ReportModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ onReport: (reason: string) => Promise<void>;
6
+ reportType: 'user' | 'post';
7
+ targetUsername: string;
8
+ targetPermlink?: string;
9
+ }
10
+ export declare const ReportModal: React.FC<ReportModalProps>;
11
+ export default ReportModal;
@@ -22,6 +22,13 @@ export interface UserDetailProfileProps {
22
22
  templateToken?: string;
23
23
  /** Custom template API endpoint (defaults to https://hreplier-api.sagarkothari88.one/data/templates) */
24
24
  templateApiBaseUrl?: string;
25
+ /** List of reported posts to exclude from feed. Each entry has { author, permlink }. */
26
+ reportedPosts?: {
27
+ author: string;
28
+ permlink: string;
29
+ }[];
30
+ /** List of reported/ignored author usernames to exclude from feed. */
31
+ reportedAuthors?: string[];
25
32
  onFollow?: (username: string) => void | Promise<void>;
26
33
  onUnfollow?: (username: string) => void | Promise<void>;
27
34
  onIgnoreAuthor?: (username: string) => void | Promise<void>;
@@ -31,7 +38,7 @@ export interface UserDetailProfileProps {
31
38
  onClickCommentUpvote?: (author: string, permlink: string, percent: number) => void | Promise<void>;
32
39
  onReblog?: (author: string, permlink: string) => void;
33
40
  onTip?: (author: string, permlink: string) => void;
34
- onReportPost?: (author: string, permlink: string) => void;
41
+ onReportPost?: (author: string, permlink: string, reason: string) => void | Promise<void>;
35
42
  onUserClick?: (username: string) => void;
36
43
  onPostClick?: (author: string, permlink: string, title: string) => void;
37
44
  onSnapClick?: (author: string, permlink: string) => void;
@@ -39,6 +46,7 @@ export interface UserDetailProfileProps {
39
46
  onActivityPermlink?: (author: string, permlink: string) => void;
40
47
  onActivitySelect?: (activity: any) => void;
41
48
  onShare?: (username: string) => void;
49
+ onSharePost?: (author: string, permlink: string) => void;
42
50
  }
43
51
  type TabType = "blogs" | "posts" | "snaps" | "polls" | "comments" | "replies" | "activities" | "authorRewards" | "curationRewards" | "followers" | "following" | "wallet";
44
52
  declare const UserDetailProfile: React.FC<UserDetailProfileProps>;