hive-react-kit 0.2.3 → 0.2.5

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
@@ -291,6 +291,9 @@
291
291
  .start {
292
292
  inset-inline-start: var(--spacing);
293
293
  }
294
+ .end {
295
+ inset-inline-end: var(--spacing);
296
+ }
294
297
  .-top-8 {
295
298
  top: calc(var(--spacing) * -8);
296
299
  }
@@ -693,6 +696,9 @@
693
696
  .flex-shrink-0 {
694
697
  flex-shrink: 0;
695
698
  }
699
+ .shrink-0 {
700
+ flex-shrink: 0;
701
+ }
696
702
  .border-collapse {
697
703
  border-collapse: collapse;
698
704
  }
@@ -776,6 +782,9 @@
776
782
  .justify-center {
777
783
  justify-content: center;
778
784
  }
785
+ .justify-end {
786
+ justify-content: flex-end;
787
+ }
779
788
  .justify-start {
780
789
  justify-content: flex-start;
781
790
  }
@@ -3,8 +3,8 @@ export interface PostActionButtonProps {
3
3
  permlink: string;
4
4
  /** Current logged-in username; null or '' means not logged in */
5
5
  currentUser?: string | null;
6
- /** Optional: Hive payout/value to display */
7
- hiveValue?: number;
6
+ /** Optional: Hive value to display (string so unit is decided by user, e.g. "$8.50", "10 HIVE") */
7
+ hiveValue?: string;
8
8
  /** Called when user confirms vote with percent (1–100). Frontend handles signing/broadcast. */
9
9
  onUpvote?: (percent: number) => void | Promise<void>;
10
10
  /** Called when user submits a comment. Frontend handles signing/broadcast. */