@acvl/frontend-components 0.0.41 → 0.0.43

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,5 +1,5 @@
1
1
  import { GridPaginationModel, GridSortModel } from "@mui/x-data-grid";
2
2
  import { MyGridFilterModel } from "./types";
3
- export declare function setWithExpiry(key: string, value: any, ttl: number): void;
4
- export declare function getWithExpiry(key: string): any;
3
+ export declare function saveGridState(key: string, value: any): void;
4
+ export declare function loadGridState(key: string): any;
5
5
  export declare const getQueryArgs: (paginationModel: GridPaginationModel, sortModel: GridSortModel, filterModel: MyGridFilterModel, extraArgs: any | undefined) => any;
@@ -16,7 +16,6 @@ export interface ArrayFieldProps {
16
16
  defaultValues: {
17
17
  [key: string]: any;
18
18
  };
19
- form?: any;
20
19
  dataGridProps: DataGridProps;
21
20
  gridProps?: GridProps;
22
21
  pageType?: PageType;
@@ -10,6 +10,7 @@ export interface MyTab {
10
10
  export interface MyTabProps {
11
11
  tabs: MyTab[];
12
12
  initialValue?: string;
13
+ storageKey?: string;
13
14
  type?: PageType;
14
15
  slotProps?: {
15
16
  mainContainer?: BoxProps;
package/dist/index.d.ts CHANGED
@@ -601,7 +601,6 @@ interface ArrayFieldProps {
601
601
  defaultValues: {
602
602
  [key: string]: any;
603
603
  };
604
- form?: any;
605
604
  dataGridProps: DataGridProps$1;
606
605
  gridProps?: GridProps;
607
606
  pageType?: PageType;
@@ -720,6 +719,7 @@ interface MyTab {
720
719
  interface MyTabProps {
721
720
  tabs: MyTab[];
722
721
  initialValue?: string;
722
+ storageKey?: string;
723
723
  type?: PageType;
724
724
  slotProps?: {
725
725
  mainContainer?: BoxProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acvl/frontend-components",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "Component library for ACV frontend projects.",
5
5
  "homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
6
6
  "access": "public",