@nivaro/react 0.1.153 → 0.1.154
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/index.d.ts +5 -1
- package/dist/index.js +20071 -20069
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1779,7 +1779,7 @@ export declare type ItemEditAuthContextValue = {
|
|
|
1779
1779
|
userId: string;
|
|
1780
1780
|
};
|
|
1781
1781
|
|
|
1782
|
-
export declare function ItemEditForm({ collection, itemId: itemIdProp, layoutSlug, onBack, onSaved, onDeleted, showHeader, focusField, showItemActions, onDirtyChange, documentTitle, registerSaveHandler, onDuplicate, showRevisions, showClone, showPipeline, showWorkflow, showComments, showTasks, showLockBanner, className, headerClassName, renderField, extraTopContent, extraBottomContent, onHeaderWidgets, initialImportResult, initialValues, initialLinks, initialRows }: ItemEditFormProps): JSX.Element;
|
|
1782
|
+
export declare function ItemEditForm({ collection, itemId: itemIdProp, layoutSlug, onBack, onSaved, onDeleted, showHeader, headerExtra, focusField, showItemActions, onDirtyChange, documentTitle, registerSaveHandler, onDuplicate, showRevisions, showClone, showPipeline, showWorkflow, showComments, showTasks, showLockBanner, className, headerClassName, renderField, extraTopContent, extraBottomContent, onHeaderWidgets, initialImportResult, initialValues, initialLinks, initialRows }: ItemEditFormProps): JSX.Element;
|
|
1783
1783
|
|
|
1784
1784
|
export declare interface ItemEditFormProps {
|
|
1785
1785
|
collection: string;
|
|
@@ -1789,6 +1789,10 @@ export declare interface ItemEditFormProps {
|
|
|
1789
1789
|
onSaved?: (id: string) => void;
|
|
1790
1790
|
onDeleted?: () => void;
|
|
1791
1791
|
showHeader?: boolean;
|
|
1792
|
+
/** Host-provided content rendered at the start of the header's action
|
|
1793
|
+
* cluster (e.g. an "Open Project 360°" link) — keeps host actions inside
|
|
1794
|
+
* the toolbar instead of floating above the form. */
|
|
1795
|
+
headerExtra?: ReactNode;
|
|
1792
1796
|
/** Render extension-registered item actions (Push to Fusion etc.) in the
|
|
1793
1797
|
* header toolbar. Off by default — the admin's ItemEdit page renders its
|
|
1794
1798
|
* own copy in the page header; headless hosts opt in. */
|