hive-react-kit 0.6.9 → 0.7.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 +26 -0
- package/dist/components/user/UserDetailProfile.d.ts +4 -0
- package/dist/index.cjs.js +91 -91
- package/dist/index.esm.js +4705 -4672
- package/package.json +1 -1
package/dist/build.css
CHANGED
|
@@ -325,6 +325,9 @@
|
|
|
325
325
|
.end {
|
|
326
326
|
inset-inline-end: var(--spacing);
|
|
327
327
|
}
|
|
328
|
+
.-top-1 {
|
|
329
|
+
top: calc(var(--spacing) * -1);
|
|
330
|
+
}
|
|
328
331
|
.-top-8 {
|
|
329
332
|
top: calc(var(--spacing) * -8);
|
|
330
333
|
}
|
|
@@ -1766,6 +1769,9 @@
|
|
|
1766
1769
|
.fill-current {
|
|
1767
1770
|
fill: currentcolor;
|
|
1768
1771
|
}
|
|
1772
|
+
.fill-red-500 {
|
|
1773
|
+
fill: var(--color-red-500);
|
|
1774
|
+
}
|
|
1769
1775
|
.object-contain {
|
|
1770
1776
|
object-fit: contain;
|
|
1771
1777
|
}
|
|
@@ -2297,6 +2303,10 @@
|
|
|
2297
2303
|
.ring-gray-700 {
|
|
2298
2304
|
--tw-ring-color: var(--color-gray-700);
|
|
2299
2305
|
}
|
|
2306
|
+
.outline {
|
|
2307
|
+
outline-style: var(--tw-outline-style);
|
|
2308
|
+
outline-width: 1px;
|
|
2309
|
+
}
|
|
2300
2310
|
.filter {
|
|
2301
2311
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
2302
2312
|
}
|
|
@@ -2660,6 +2670,16 @@
|
|
|
2660
2670
|
}
|
|
2661
2671
|
}
|
|
2662
2672
|
}
|
|
2673
|
+
.hover\:bg-white\/10 {
|
|
2674
|
+
&:hover {
|
|
2675
|
+
@media (hover: hover) {
|
|
2676
|
+
background-color: color-mix(in srgb, #fff 10%, transparent);
|
|
2677
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2678
|
+
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2663
2683
|
.hover\:bg-white\/20 {
|
|
2664
2684
|
&:hover {
|
|
2665
2685
|
@media (hover: hover) {
|
|
@@ -4273,6 +4293,11 @@
|
|
|
4273
4293
|
inherits: false;
|
|
4274
4294
|
initial-value: 0 0 #0000;
|
|
4275
4295
|
}
|
|
4296
|
+
@property --tw-outline-style {
|
|
4297
|
+
syntax: "*";
|
|
4298
|
+
inherits: false;
|
|
4299
|
+
initial-value: solid;
|
|
4300
|
+
}
|
|
4276
4301
|
@property --tw-blur {
|
|
4277
4302
|
syntax: "*";
|
|
4278
4303
|
inherits: false;
|
|
@@ -4429,6 +4454,7 @@
|
|
|
4429
4454
|
--tw-ring-offset-width: 0px;
|
|
4430
4455
|
--tw-ring-offset-color: #fff;
|
|
4431
4456
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
4457
|
+
--tw-outline-style: solid;
|
|
4432
4458
|
--tw-blur: initial;
|
|
4433
4459
|
--tw-brightness: initial;
|
|
4434
4460
|
--tw-contrast: initial;
|
|
@@ -49,6 +49,10 @@ export interface UserDetailProfileProps {
|
|
|
49
49
|
onSharePost?: (author: string, permlink: string) => void;
|
|
50
50
|
/** When provided, clicking the comment icon navigates to the post detail instead of opening the comments modal. */
|
|
51
51
|
onCommentClick?: (author: string, permlink: string) => void;
|
|
52
|
+
onFavouriteList?: () => void | Promise<void>;
|
|
53
|
+
onAddToFavourite?: (username: string) => void | Promise<void>;
|
|
54
|
+
isFavourited?: boolean;
|
|
55
|
+
favouriteCount?: number;
|
|
52
56
|
}
|
|
53
57
|
type TabType = "blogs" | "posts" | "snaps" | "polls" | "comments" | "replies" | "activities" | "authorRewards" | "curationRewards" | "followers" | "following" | "wallet" | "votingPower" | "badges" | "witnessVotes";
|
|
54
58
|
declare const UserDetailProfile: React.FC<UserDetailProfileProps>;
|