@nar-bus/ui-shared 1.4.1 → 1.5.0
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/components/ListDetailPanel.d.ts +21 -1
- package/dist/components/ListDetailPanel.d.ts.map +1 -1
- package/dist/index.js +2043 -2024
- package/package.json +1 -1
|
@@ -7,11 +7,31 @@ export interface ListDetailPanelProps {
|
|
|
7
7
|
*/
|
|
8
8
|
title?: string;
|
|
9
9
|
subtitle?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Rich header content rendered in place of the title/subtitle text block —
|
|
12
|
+
* for headers that need badges / mono timestamps (e.g. a grid cell detail
|
|
13
|
+
* panel). Takes precedence over title/subtitle when both are given.
|
|
14
|
+
*/
|
|
15
|
+
headerContent?: ReactNode;
|
|
10
16
|
onEdit?: () => void;
|
|
11
17
|
onDelete?: () => void;
|
|
18
|
+
/** Renders a close (×) button at the far right of the action row. */
|
|
19
|
+
onClose?: () => void;
|
|
12
20
|
extraActions?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Pinned bottom bar (border-top) — action footers like "Manuel Giriş".
|
|
23
|
+
* No background of its own; supply one inside the footer content if needed.
|
|
24
|
+
*/
|
|
25
|
+
footer?: ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Standalone card chrome (bg-card + border + rounded + overflow-hidden) for
|
|
28
|
+
* panels that sit inline next to content instead of inside a Sheet.
|
|
29
|
+
* Evidence: management-ui EmailTemplateDetailPanel and MDM OsfCellSidePanel
|
|
30
|
+
* both hand-roll exactly this wrapper today. @default false
|
|
31
|
+
*/
|
|
32
|
+
boxed?: boolean;
|
|
13
33
|
children: ReactNode;
|
|
14
34
|
className?: string;
|
|
15
35
|
}
|
|
16
|
-
export declare function ListDetailPanel({ title, subtitle, onEdit, onDelete, extraActions, children, className, }: ListDetailPanelProps): import("react").JSX.Element;
|
|
36
|
+
export declare function ListDetailPanel({ title, subtitle, headerContent, onEdit, onDelete, onClose, extraActions, footer, boxed, children, className, }: ListDetailPanelProps): import("react").JSX.Element;
|
|
17
37
|
//# sourceMappingURL=ListDetailPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListDetailPanel.d.ts","sourceRoot":"","sources":["../../src/components/ListDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,SAAS,GACV,EAAE,oBAAoB,+
|
|
1
|
+
{"version":3,"file":"ListDetailPanel.d.ts","sourceRoot":"","sources":["../../src/components/ListDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,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