@standardbeagle/edit-db 0.4.449 → 0.4.450

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.
@@ -1,4 +1,3 @@
1
- import { ReactNode } from 'react';
2
1
  /**
3
2
  * Renders a muted placeholder so empty grid/detail cells are visibly distinct
4
3
  * from cells that merely failed to render. In a DB editor the difference between
@@ -15,9 +14,3 @@ export declare function EmptyValue({ kind }: {
15
14
  * than its stringified form.
16
15
  */
17
16
  export declare function isEmptyValue(value: unknown): boolean;
18
- /**
19
- * Render a scalar cell value, substituting a muted placeholder for null/empty.
20
- * Non-empty values are returned as their string form so callers don't repeat
21
- * the coercion.
22
- */
23
- export declare function renderScalarValue(value: unknown): ReactNode;
@@ -9,9 +9,9 @@ interface M2mPanelProps {
9
9
  /**
10
10
  * One detail tab for a many-to-many relationship. The junction is skipped for
11
11
  * navigation: each row shows the linked target entity (resolved through the
12
- * junction), with an indicator and an expand toggle that reveals the junction
13
- * payload columns. Links can be attached (insert a junction row) and detached
14
- * (delete the junction row by its primary key).
12
+ * junction) alongside the junction payload columns. Links can be attached
13
+ * (insert a junction row) and detached (delete the junction row by its primary
14
+ * key).
15
15
  */
16
16
  export declare function M2mPanel({ parentTable, m2m, parentRowId, onOpenColumn }: M2mPanelProps): import("react/jsx-runtime").JSX.Element;
17
17
  export {};
@@ -7,8 +7,9 @@ interface RowActionsProps {
7
7
  }
8
8
  /**
9
9
  * Floating row action toolbar using the Popover API.
10
- * Anchored to the row element, positioned below-left with automatic
11
- * flip to above when near the viewport bottom.
10
+ * Overlays the row it's anchored to — pinned to the row's right edge and
11
+ * vertically centered — so the buttons sit ON the row and are easy to reach,
12
+ * rather than floating below it.
12
13
  */
13
14
  export declare function RowActions({ anchorEl, onEdit, onDelete, onMouseEnter, onDismiss }: RowActionsProps): import("react/jsx-runtime").JSX.Element;
14
15
  export {};
@@ -14,3 +14,14 @@ import { ReactElement } from 'react';
14
14
  * @returns React element containing the edit form dialog
15
15
  */
16
16
  export declare function DataEdit(): ReactElement;
17
+ /**
18
+ * Prop-driven edit dialog. Use this to edit a record in place — from a grid at
19
+ * any nesting depth — without changing the route, so the surrounding drill
20
+ * context (parent → child → grandchild, side columns) is preserved. `table` is
21
+ * the table's `graphQlName`; `editid` is the encoded PK route ('' to insert).
22
+ */
23
+ export declare function DataEditDialog({ table, editid, onClose }: {
24
+ table: string;
25
+ editid: string;
26
+ onClose: () => void;
27
+ }): ReactElement;