hive-react-kit 0.2.6 → 0.3.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/README.md CHANGED
@@ -80,6 +80,57 @@ import type { Video, Comment, Wallet as WalletType } from 'hive-react-kit/types'
80
80
  - **UserFollowers** - User followers list
81
81
  - **UserFollowing** - User following list
82
82
 
83
+ ### Toolbar Component
84
+
85
+ - **HiveToolbar** - A fixed bottom toolbar showcasing Hive ecosystem apps and witness voting links. Responsive across mobile, tablet, and desktop.
86
+
87
+ #### HiveToolbar Usage
88
+
89
+ ```tsx
90
+ import { HiveToolbar } from 'hive-react-kit';
91
+
92
+ // Show all items (default)
93
+ <HiveToolbar />
94
+
95
+ // Hide specific items
96
+ <HiveToolbar isDistriator={false} isHpolls={false} />
97
+
98
+ // Custom background color
99
+ <HiveToolbar backgroundColor="#1a1a2e" />
100
+ ```
101
+
102
+ #### HiveToolbar Props
103
+
104
+ | Prop | Type | Default | Description |
105
+ |------|------|---------|-------------|
106
+ | `isDistriator` | `boolean` | `true` | Show/hide Distriator link |
107
+ | `isCheckinwithxyz` | `boolean` | `true` | Show/hide CheckinWithXYZ link |
108
+ | `isHreplier` | `boolean` | `true` | Show/hide HReplier link |
109
+ | `isHpolls` | `boolean` | `true` | Show/hide HPolls link |
110
+ | `isHstats` | `boolean` | `true` | Show/hide HStats link |
111
+ | `isHsnaps` | `boolean` | `true` | Show/hide HSnaps link |
112
+ | `isHiveFestFacts` | `boolean` | `true` | Show/hide HiveFestFacts link |
113
+ | `backgroundColor` | `string` | `'#ffffff'` | Toolbar background color |
114
+ | `textColor` | `string` | `'#4b5563'` | Text color for all app names |
115
+ | `borderTopColor` | `string` | `'#e2e8f0'` | Top border color of the toolbar |
116
+
117
+ > **Note:** Vote Witness Sagar, Vote Witness 3Speak, and 3Speak are always visible and cannot be hidden.
118
+
119
+ #### Toolbar Items
120
+
121
+ | Item | URL |
122
+ |------|-----|
123
+ | Vote Witness Sagar | https://vote.hive.uno/@sagarkothari88 |
124
+ | Vote Witness 3Speak | https://vote.hive.uno/@threespeak |
125
+ | Distriator | https://distriator.com/ |
126
+ | CheckinWithXYZ | https://checkinwith.xyz/ |
127
+ | HReplier | https://hreplier.sagarkothari88.one/ |
128
+ | HPolls | https://hpolls.sagarkothari88.one/ |
129
+ | HStats | https://hstats.sagarkothari88.one/ |
130
+ | HSnaps | https://hsnaps.sagarkothari88.one/ |
131
+ | 3Speak | https://3speak.tv/ |
132
+ | HiveFestFacts | https://hivefestfacts.sagarkothari88.one/ |
133
+
83
134
  ### Feed Components
84
135
 
85
136
  - **PostFeedList** - Display a list of posts with sorting, filtering, and interaction capabilities
package/dist/build.css CHANGED
@@ -737,6 +737,9 @@
737
737
  .cursor-pointer {
738
738
  cursor: pointer;
739
739
  }
740
+ .resize {
741
+ resize: both;
742
+ }
740
743
  .resize-none {
741
744
  resize: none;
742
745
  }
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ export interface HiveToolbarProps {
3
+ isDistriator?: boolean;
4
+ isCheckinwithxyz?: boolean;
5
+ isHreplier?: boolean;
6
+ isHpolls?: boolean;
7
+ isHstats?: boolean;
8
+ isHsnaps?: boolean;
9
+ isHiveFestFacts?: boolean;
10
+ backgroundColor?: string;
11
+ textColor?: string;
12
+ borderTopColor?: string;
13
+ }
14
+ declare const HiveToolbar: React.FC<HiveToolbarProps>;
15
+ export default HiveToolbar;
@@ -9,6 +9,7 @@ export { default as FollowersList } from './FollowersList';
9
9
  export { default as FollowingList } from './FollowingList';
10
10
  export { default as ActivityList } from './ActivityList';
11
11
  export { HiveDetailPost } from './HiveDetailPost';
12
+ export { default as HiveToolbar, type HiveToolbarProps } from './HiveToolbar';
12
13
  export { default as FavouriteWidget } from './common/FavouriteWidget';
13
14
  export { default as CommunitiesList } from './community/CommunitiesList';
14
15
  export { default as CommunityAbout } from './community/CommunityAbout';
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file