hive-react-kit 1.7.4 → 1.7.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
@@ -1063,6 +1063,9 @@
1063
1063
  .w-48 {
1064
1064
  width: calc(var(--spacing) * 48);
1065
1065
  }
1066
+ .w-52 {
1067
+ width: calc(var(--spacing) * 52);
1068
+ }
1066
1069
  .w-56 {
1067
1070
  width: calc(var(--spacing) * 56);
1068
1071
  }
@@ -233,6 +233,10 @@ export interface ParentPostComposerProps {
233
233
  submitLabelWithVideo?: string;
234
234
  /** Page title shown in the sticky header (default "Create post"). */
235
235
  title?: string;
236
+ /** Add a top safe-area inset to the sticky header so its buttons clear
237
+ * the device status bar / notch. Enable on full-screen routes; leave
238
+ * off inside modals/sheets that already sit below the notch. */
239
+ safeAreaTop?: boolean;
236
240
  /** Hint shown when the wallet is awaiting approval during the broadcast. */
237
241
  walletApprovalLabel?: string;
238
242
  /** When true, the composer renders a blinking "approve in wallet" banner. */
@@ -69,6 +69,10 @@ export interface PostTemplatesPanelProps {
69
69
  * state via the existing `applyTemplate` ref (or by remounting the
70
70
  * composer). */
71
71
  onApplyTemplate: (template: PostTemplate) => void;
72
+ /** Which view to show when the panel opens — `'list'` (load a template)
73
+ * or `'save'` (save the current post as a new template). Defaults to
74
+ * `'list'`. */
75
+ initialView?: 'list' | 'save';
72
76
  }
73
- declare function PostTemplatesPanel({ isOpen, onClose, templates, currentPayload, busy, onSaveTemplate, onDeleteTemplate, onApplyTemplate, }: PostTemplatesPanelProps): React.JSX.Element | null;
77
+ declare function PostTemplatesPanel({ isOpen, onClose, templates, currentPayload, busy, onSaveTemplate, onDeleteTemplate, onApplyTemplate, initialView, }: PostTemplatesPanelProps): React.JSX.Element | null;
74
78
  export default PostTemplatesPanel;