@lemon-fe/components 1.2.11-alpha.1 → 1.2.11-alpha.2

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.
@@ -4,14 +4,14 @@ import type { DataGridProps } from '../data-grid/typings';
4
4
  import type { FilterProps } from '../filter/typings';
5
5
  import type { SelectViewProps } from '../select-view';
6
6
  declare type PropsGetter<T> = ((props: T) => T) | Partial<T>;
7
- interface ContextProps {
7
+ export interface ComponentConfigureContextProps {
8
8
  DataGrid?: PropsGetter<DataGridProps<unknown>>;
9
9
  Filter?: PropsGetter<FilterProps<unknown>>;
10
10
  Actions?: PropsGetter<ActionsProps>;
11
11
  SelectView?: PropsGetter<SelectViewProps<unknown, unknown>>;
12
12
  }
13
- export declare const ComponentConfigureContext: import("react").Context<ContextProps>;
14
- export declare const ComponentConfigureProvider: import("react").Provider<ContextProps>;
15
- export declare const ComponentConfigureConsumer: import("react").Consumer<ContextProps>;
16
- export declare function useComponentDefaultProps<T>(key: keyof ContextProps, originalProps: T): T;
13
+ export declare const ComponentConfigureContext: import("react").Context<ComponentConfigureContextProps>;
14
+ export declare const ComponentConfigureProvider: import("react").Provider<ComponentConfigureContextProps>;
15
+ export declare const ComponentConfigureConsumer: import("react").Consumer<ComponentConfigureContextProps>;
16
+ export declare function useComponentDefaultProps<T>(key: keyof ComponentConfigureContextProps, originalProps: T): T;
17
17
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "1.2.11-alpha.1",
3
+ "version": "1.2.11-alpha.2",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -27,7 +27,7 @@
27
27
  "@ag-grid-community/react": "29.2.0",
28
28
  "@ag-grid-community/styles": "29.2.0",
29
29
  "@dnd-kit/core": "^6.0.8",
30
- "@lemon-fe/hooks": "^1.2.0",
30
+ "@lemon-fe/hooks": "^1.2.11-alpha.2",
31
31
  "@lemon-fe/utils": "^1.1.0",
32
32
  "async-validator": "^4.2.5",
33
33
  "bignumber.js": ">=9.0.0",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "registry": "https://registry.npmjs.org"
69
69
  },
70
- "gitHead": "892c465f5858b1bc5b5d789ff154ea69d5d5a075"
70
+ "gitHead": "ae15ff1f11ac069128da561e6afeb1515c77a36e"
71
71
  }