hive-react-kit 1.9.9 → 1.10.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
@@ -6158,10 +6158,31 @@
6158
6158
  .hive-post-body img {
6159
6159
  max-width: 100%;
6160
6160
  height: auto;
6161
+ max-height: 80vh;
6162
+ object-fit: contain;
6161
6163
  border-radius: 0.75rem;
6162
6164
  margin: 1rem auto;
6163
6165
  display: block;
6164
6166
  }
6167
+ .hive-post-body .hive-image-gallery {
6168
+ display: flex;
6169
+ flex-wrap: wrap;
6170
+ gap: 0.5rem;
6171
+ margin: 1rem 0;
6172
+ justify-content: center;
6173
+ }
6174
+ .hive-post-body .hive-image-gallery .hive-img-figure {
6175
+ flex: 1 1 0%;
6176
+ min-width: 200px;
6177
+ margin: 0;
6178
+ }
6179
+ .hive-post-body .hive-image-gallery .hive-img-figure img {
6180
+ margin: 0;
6181
+ width: 100%;
6182
+ height: 100%;
6183
+ object-fit: contain;
6184
+ max-height: 80vh;
6185
+ }
6165
6186
  .hive-post-body blockquote {
6166
6187
  border-left: 4px solid #3b82f680;
6167
6188
  background: #1f293780;
@@ -6561,6 +6582,8 @@
6561
6582
  .snaps-feed-body img {
6562
6583
  max-width: 100%;
6563
6584
  height: auto;
6585
+ max-height: 80vh;
6586
+ object-fit: contain;
6564
6587
  border-radius: 0.5rem;
6565
6588
  margin: 0.25rem 0;
6566
6589
  }
@@ -7,6 +7,10 @@ interface LanguagePickerButtonProps {
7
7
  /** Optional override for the language list. Defaults to the same
8
8
  * 15-language set used by the selection-translate popover. */
9
9
  languages?: SelectionTranslateLanguage[];
10
+ /** Optional class name to override styling. */
11
+ className?: string;
12
+ /** Optional flag to render as a menu item instead of header button. */
13
+ isMenuItem?: boolean;
10
14
  }
11
- export declare function LanguagePickerButton({ language, onSelectLanguage, languages, }: LanguagePickerButtonProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function LanguagePickerButton({ language, onSelectLanguage, languages, className, isMenuItem, }: LanguagePickerButtonProps): import("react/jsx-runtime").JSX.Element;
12
16
  export default LanguagePickerButton;