hive-react-kit 0.7.0 → 0.7.2
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 +23 -0
- package/dist/components/user/UserDetailProfile.d.ts +4 -2
- package/dist/index.cjs.js +88 -88
- package/dist/index.esm.js +4601 -4581
- 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
|
}
|
|
@@ -2297,6 +2300,10 @@
|
|
|
2297
2300
|
.ring-gray-700 {
|
|
2298
2301
|
--tw-ring-color: var(--color-gray-700);
|
|
2299
2302
|
}
|
|
2303
|
+
.outline {
|
|
2304
|
+
outline-style: var(--tw-outline-style);
|
|
2305
|
+
outline-width: 1px;
|
|
2306
|
+
}
|
|
2300
2307
|
.filter {
|
|
2301
2308
|
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
2309
|
}
|
|
@@ -2660,6 +2667,16 @@
|
|
|
2660
2667
|
}
|
|
2661
2668
|
}
|
|
2662
2669
|
}
|
|
2670
|
+
.hover\:bg-white\/10 {
|
|
2671
|
+
&:hover {
|
|
2672
|
+
@media (hover: hover) {
|
|
2673
|
+
background-color: color-mix(in srgb, #fff 10%, transparent);
|
|
2674
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2675
|
+
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2663
2680
|
.hover\:bg-white\/20 {
|
|
2664
2681
|
&:hover {
|
|
2665
2682
|
@media (hover: hover) {
|
|
@@ -4273,6 +4290,11 @@
|
|
|
4273
4290
|
inherits: false;
|
|
4274
4291
|
initial-value: 0 0 #0000;
|
|
4275
4292
|
}
|
|
4293
|
+
@property --tw-outline-style {
|
|
4294
|
+
syntax: "*";
|
|
4295
|
+
inherits: false;
|
|
4296
|
+
initial-value: solid;
|
|
4297
|
+
}
|
|
4276
4298
|
@property --tw-blur {
|
|
4277
4299
|
syntax: "*";
|
|
4278
4300
|
inherits: false;
|
|
@@ -4429,6 +4451,7 @@
|
|
|
4429
4451
|
--tw-ring-offset-width: 0px;
|
|
4430
4452
|
--tw-ring-offset-color: #fff;
|
|
4431
4453
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
4454
|
+
--tw-outline-style: solid;
|
|
4432
4455
|
--tw-blur: initial;
|
|
4433
4456
|
--tw-brightness: initial;
|
|
4434
4457
|
--tw-contrast: initial;
|
|
@@ -49,8 +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
|
-
|
|
53
|
-
|
|
52
|
+
onFavouriteList?: () => void | Promise<void>;
|
|
53
|
+
onAddToFavourite?: (username: string) => void | Promise<void>;
|
|
54
|
+
isFavourited?: boolean;
|
|
55
|
+
favouriteCount?: number;
|
|
54
56
|
}
|
|
55
57
|
type TabType = "blogs" | "posts" | "snaps" | "polls" | "comments" | "replies" | "activities" | "authorRewards" | "curationRewards" | "followers" | "following" | "wallet" | "votingPower" | "badges" | "witnessVotes";
|
|
56
58
|
declare const UserDetailProfile: React.FC<UserDetailProfileProps>;
|