@acvl/frontend-components 0.0.23 → 0.0.25

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,11 +1,11 @@
1
1
  import React from "react";
2
2
  export interface CSVMenuOptionProps {
3
- endpoint: string;
3
+ endpoint?: string;
4
4
  title?: string;
5
5
  custom?: string;
6
6
  }
7
7
  export interface CreateButtonWithMenuOptionsProps {
8
- permission: string;
8
+ permission: boolean;
9
9
  csv_upload?: {
10
10
  enable: boolean;
11
11
  extraOptions?: CSVMenuOptionProps[];
@@ -16,7 +16,7 @@ export interface BaseGridProps {
16
16
  };
17
17
  };
18
18
  edit?: EditGridAPIProps;
19
- delete?: Pick<DeleteGridWrapperProps, 'mutation'>;
19
+ delete?: Pick<DeleteGridWrapperProps, "mutation">;
20
20
  create?: CreateGridAPIProps;
21
21
  };
22
22
  slotProps?: {
@@ -7,7 +7,7 @@ export interface ExportCSVButtonProps extends Pick<ExportButtonProps, 'filterMod
7
7
  filters?: string[];
8
8
  sort?: boolean;
9
9
  };
10
- slots: {
10
+ slots?: {
11
11
  endpoint?: string;
12
12
  title?: string;
13
13
  variant?: string;
@@ -0,0 +1 @@
1
+ export { default as ExportCSV } from './CustomToolbar/slots/ExportButton/ExportCSV';
@@ -1,5 +1,6 @@
1
1
  export { default as Base } from './Base';
2
2
  export * from './cells';
3
3
  export * from './columns';
4
+ export * from './custom_slots';
4
5
  export type { GridColDefPropsOverrides, GridArgs, MyDataGridProps, MyGridFilterModel } from './types';
5
6
  export type { CustomToolbarProps } from './custom_slots/CustomToolbar';
@@ -11,3 +11,4 @@ export interface EditReadOnlyFields {
11
11
  names: string[];
12
12
  validator: FieldValidationProps;
13
13
  }
14
+ export type { FieldProps } from './Field/index';
@@ -2,3 +2,4 @@ export { default as CoverPage } from './CoverPage';
2
2
  export { default as DetailPage } from './DetailPage';
3
3
  export { default as ListPage } from './ListPage';
4
4
  export * from './(errors)';
5
+ export * from './DetailPage/types';