@acvl/frontend-components 0.0.50 → 0.0.51
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/ActionsMenu.d.ts +17 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/index.d.ts +4 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/ActionsMenu.d.ts +17 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/index.d.ts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export interface ActionsMenuProps {
|
|
3
|
+
delete?: {
|
|
4
|
+
mutation: any;
|
|
5
|
+
disableNavBack?: boolean;
|
|
6
|
+
};
|
|
7
|
+
historial?: {
|
|
8
|
+
endpoint?: string;
|
|
9
|
+
};
|
|
10
|
+
extraButtons?: {
|
|
11
|
+
title: string;
|
|
12
|
+
icon: ReactNode;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
}[];
|
|
15
|
+
}
|
|
16
|
+
declare const ActionsMenu: (props: ActionsMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default ActionsMenu;
|
|
@@ -30,7 +30,10 @@ export interface DetailPageV2Props {
|
|
|
30
30
|
button?: ReactNode;
|
|
31
31
|
extraButtons?: {
|
|
32
32
|
pageType: PageType | "all";
|
|
33
|
-
|
|
33
|
+
title: string;
|
|
34
|
+
icon: ReactNode;
|
|
35
|
+
onClick: (data: any) => void;
|
|
36
|
+
display?: (data: any) => boolean;
|
|
34
37
|
}[];
|
|
35
38
|
badge?: string;
|
|
36
39
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1160,7 +1160,10 @@ interface DetailPageV2Props {
|
|
|
1160
1160
|
button?: ReactNode;
|
|
1161
1161
|
extraButtons?: {
|
|
1162
1162
|
pageType: PageType | "all";
|
|
1163
|
-
|
|
1163
|
+
title: string;
|
|
1164
|
+
icon: ReactNode;
|
|
1165
|
+
onClick: (data: any) => void;
|
|
1166
|
+
display?: (data: any) => boolean;
|
|
1164
1167
|
}[];
|
|
1165
1168
|
badge?: string;
|
|
1166
1169
|
};
|
package/package.json
CHANGED