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 +3 -0
- package/dist/components/composer/ParentPostComposer.d.ts +4 -0
- package/dist/components/composer/PostTemplatesPanel.d.ts +5 -1
- package/dist/index.cjs.js +170 -170
- package/dist/index.esm.js +14656 -14586
- package/package.json +1 -1
package/dist/build.css
CHANGED
|
@@ -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;
|