@acvl/frontend-components 0.0.45 → 0.0.47
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/v1/buttons/SaveCancelButton/SaveCancelButton.d.ts +3 -3
- package/dist/cjs/types/src/components/v1/cards/ModuleCard/ModuleCard.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/datagrids/wrappers/CreateGridWrapper.d.ts +2 -0
- package/dist/cjs/types/src/components/v1/icons/ActiveIcon.d.ts +6 -0
- package/dist/cjs/types/src/components/v1/icons/index.d.ts +1 -0
- package/dist/cjs/types/src/components/v1/index.d.ts +1 -0
- package/dist/cjs/types/src/components/v1/layout/pages/CoverPage/index.d.ts +1 -1
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Section/index.d.ts +1 -1
- 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/v1/buttons/SaveCancelButton/SaveCancelButton.d.ts +3 -3
- package/dist/esm/types/src/components/v1/cards/ModuleCard/ModuleCard.d.ts +0 -1
- package/dist/esm/types/src/components/v1/datagrids/wrappers/CreateGridWrapper.d.ts +2 -0
- package/dist/esm/types/src/components/v1/icons/ActiveIcon.d.ts +6 -0
- package/dist/esm/types/src/components/v1/icons/index.d.ts +1 -0
- package/dist/esm/types/src/components/v1/index.d.ts +1 -0
- package/dist/esm/types/src/components/v1/layout/pages/CoverPage/index.d.ts +1 -1
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Section/index.d.ts +1 -1
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/index.d.ts +4 -1
- package/dist/index.d.ts +17 -8
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ButtonGroupProps,
|
|
1
|
+
import { ButtonGroupProps, IconButtonProps } from "@mui/material";
|
|
2
2
|
export interface SaveCancelButtonProps {
|
|
3
3
|
slotProps?: {
|
|
4
4
|
buttonGroup?: Partial<ButtonGroupProps>;
|
|
5
|
-
saveBtn?: Partial<
|
|
6
|
-
cancelBtn?: Partial<
|
|
5
|
+
saveBtn?: Partial<IconButtonProps>;
|
|
6
|
+
cancelBtn?: Partial<IconButtonProps>;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
declare const SaveCancelButton: (props: SaveCancelButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
2
|
import { MyDataGridProps } from "../types";
|
|
3
|
+
import { NavigateOptions } from "react-router-dom";
|
|
3
4
|
export interface CSVMenuOptionProps {
|
|
4
5
|
endpoint: string;
|
|
5
6
|
title?: string;
|
|
@@ -17,6 +18,7 @@ export interface CreateGridAPIProps {
|
|
|
17
18
|
enable: boolean;
|
|
18
19
|
extraOptions?: CSVMenuOptionProps[];
|
|
19
20
|
};
|
|
21
|
+
navigationOptions?: NavigateOptions;
|
|
20
22
|
}
|
|
21
23
|
export interface CreateGridWrapperProps extends CreateGridAPIProps {
|
|
22
24
|
permission: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ActiveIcon } from './ActiveIcon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MyTab, type PageType } from "../../../../../v1";
|
|
2
2
|
import type { SubsectionProps } from "../Subsection";
|
|
3
|
-
export interface SectionProps extends Omit<MyTab, "children"
|
|
3
|
+
export interface SectionProps extends Partial<Omit<MyTab, "children">> {
|
|
4
4
|
pageType?: PageType;
|
|
5
5
|
display?: boolean;
|
|
6
6
|
subsections: SubsectionProps[];
|
|
@@ -27,7 +27,10 @@ export interface DetailPageV2Props {
|
|
|
27
27
|
pageType: PageType;
|
|
28
28
|
slots?: {
|
|
29
29
|
button?: ReactNode;
|
|
30
|
-
extraButtons?:
|
|
30
|
+
extraButtons?: {
|
|
31
|
+
pageType: PageType | "all";
|
|
32
|
+
render: (id: number) => ReactNode;
|
|
33
|
+
}[];
|
|
31
34
|
badge?: string;
|
|
32
35
|
};
|
|
33
36
|
slotProps?: {
|