hive-react-kit 1.5.8 → 1.6.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 CHANGED
@@ -50,7 +50,6 @@
50
50
  --color-sky-300: oklch(82.8% 0.111 230.318);
51
51
  --color-sky-400: oklch(74.6% 0.16 232.661);
52
52
  --color-sky-500: oklch(68.5% 0.169 237.323);
53
- --color-sky-900: oklch(39.1% 0.09 240.876);
54
53
  --color-blue-100: oklch(93.2% 0.032 255.585);
55
54
  --color-blue-200: oklch(88.2% 0.059 254.128);
56
55
  --color-blue-300: oklch(80.9% 0.105 251.813);
@@ -1112,6 +1111,9 @@
1112
1111
  .max-w-\[250px\] {
1113
1112
  max-width: 250px;
1114
1113
  }
1114
+ .max-w-\[260px\] {
1115
+ max-width: 260px;
1116
+ }
1115
1117
  .max-w-\[280px\] {
1116
1118
  max-width: 280px;
1117
1119
  }
@@ -2519,13 +2521,6 @@
2519
2521
  --tw-gradient-from: var(--color-purple-600);
2520
2522
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2521
2523
  }
2522
- .from-sky-900\/40 {
2523
- --tw-gradient-from: color-mix(in srgb, oklch(39.1% 0.09 240.876) 40%, transparent);
2524
- @supports (color: color-mix(in lab, red, red)) {
2525
- --tw-gradient-from: color-mix(in oklab, var(--color-sky-900) 40%, transparent);
2526
- }
2527
- --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2528
- }
2529
2524
  .from-violet-900\/40 {
2530
2525
  --tw-gradient-from: color-mix(in srgb, oklch(38% 0.189 293.745) 40%, transparent);
2531
2526
  @supports (color: color-mix(in lab, red, red)) {
@@ -2579,13 +2574,6 @@
2579
2574
  }
2580
2575
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2581
2576
  }
2582
- .to-slate-950\/60 {
2583
- --tw-gradient-to: color-mix(in srgb, oklch(12.9% 0.042 264.695) 60%, transparent);
2584
- @supports (color: color-mix(in lab, red, red)) {
2585
- --tw-gradient-to: color-mix(in oklab, var(--color-slate-950) 60%, transparent);
2586
- }
2587
- --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2588
- }
2589
2577
  .to-transparent {
2590
2578
  --tw-gradient-to: transparent;
2591
2579
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
@@ -3168,12 +3156,6 @@
3168
3156
  .text-white {
3169
3157
  color: var(--color-white);
3170
3158
  }
3171
- .text-white\/40 {
3172
- color: color-mix(in srgb, #fff 40%, transparent);
3173
- @supports (color: color-mix(in lab, red, red)) {
3174
- color: color-mix(in oklab, var(--color-white) 40%, transparent);
3175
- }
3176
- }
3177
3159
  .text-white\/50 {
3178
3160
  color: color-mix(in srgb, #fff 50%, transparent);
3179
3161
  @supports (color: color-mix(in lab, red, red)) {
@@ -6304,6 +6286,14 @@
6304
6286
  border-radius: 0.75rem;
6305
6287
  object-fit: contain;
6306
6288
  }
6289
+ .three-speak-snap-strip .threeSpeakNative, .three-speak-snap-strip .threeSpeakNative.threeSpeakNativeNoThumb, .three-speak-snap-strip .threeSpeakNative.threeSpeakNativeLandscape, .three-speak-snap-strip .threeSpeakNative.threeSpeakNativePortrait {
6290
+ width: auto;
6291
+ height: 100%;
6292
+ max-width: 100%;
6293
+ max-height: 100%;
6294
+ min-height: 0;
6295
+ margin: 0;
6296
+ }
6307
6297
  .threeSpeakNativeMessage {
6308
6298
  color: var(--hrk-text-tertiary);
6309
6299
  font-size: 0.875rem;
@@ -155,6 +155,10 @@ export interface HiveDetailPostProps {
155
155
  onUserClick?: (username: string) => void;
156
156
  /** Called when user clicks "View parent post" — navigate to the parent post. */
157
157
  onNavigateToPost?: (author: string, permlink: string) => void;
158
+ /** Called when the user taps the community pill in the header.
159
+ * Receives the community ID (`hive-xxxxxx`) so the consumer can route
160
+ * to its community-detail page. */
161
+ onCommunityClick?: (communityId: string) => void;
158
162
  /** True when the post is bookmarked by the current user. Controls
159
163
  * the visual state of the header's Bookmark item (filled vs.
160
164
  * outline). The kit doesn't fetch this — pass it from the
@@ -194,5 +198,5 @@ export interface HiveDetailPostProps {
194
198
  * page will then re-render with the new language. */
195
199
  onSelectLanguage?: (code: string) => void;
196
200
  }
197
- export declare function HiveDetailPost({ author, permlink, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, onShare, onTip, onReport, onEdit, onShareComment, onTipComment, onReportComment, onToggleCommentBookmark, isCommentBookmarked, onEditComment, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, reportedAuthors, reportedPosts, hiveIconUrl, backgroundColor, onBack, onUserClick, onNavigateToPost, isBookmarked, onToggleBookmark, onHeaderShare, onHeaderReport, language, onSelectLanguage, onVotePoll, showVoteButton, processBody, defaultReward, defaultBeneficiaries, beneficiaryFavorites, defaultVotePercent, voteWeightStep, allowLandscapeVideos, renderOptions, awaitingWalletApproval, }: HiveDetailPostProps): import("react/jsx-runtime").JSX.Element;
201
+ export declare function HiveDetailPost({ author, permlink, currentUser, onUpvote, onSubmitComment, onClickCommentUpvote, onReblog, onShare, onTip, onReport, onEdit, onShareComment, onTipComment, onReportComment, onToggleCommentBookmark, isCommentBookmarked, onEditComment, ecencyToken, threeSpeakApiKey, giphyApiKey, templateToken, templateApiBaseUrl, reportedAuthors, reportedPosts, hiveIconUrl, backgroundColor, onBack, onUserClick, onCommunityClick, onNavigateToPost, isBookmarked, onToggleBookmark, onHeaderShare, onHeaderReport, language, onSelectLanguage, onVotePoll, showVoteButton, processBody, defaultReward, defaultBeneficiaries, beneficiaryFavorites, defaultVotePercent, voteWeightStep, allowLandscapeVideos, renderOptions, awaitingWalletApproval, }: HiveDetailPostProps): import("react/jsx-runtime").JSX.Element;
198
202
  export default HiveDetailPost;