react-toolkits 0.8.39 → 0.8.41

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 0.8.41
4
+
5
+ ### Patch Changes
6
+
7
+ - 1b9e1b2: feat: add 'components' prop
8
+
9
+ ## 0.8.40
10
+
11
+ ### Patch Changes
12
+
13
+ - c7c3fd6: feat: export RequestResponse type
14
+
3
15
  ## 0.8.39
4
16
 
5
17
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -286,7 +286,7 @@ declare interface QueryListPayload<Arg = any> {
286
286
  arg?: Arg;
287
287
  }
288
288
 
289
- export declare interface QueryListProps<Item = any, Values = any, Response = any, Arg extends Values = Values> extends Pick<TableProps<Item>, 'columns' | 'rowKey' | 'tableLayout' | 'expandable' | 'rowSelection' | 'bordered'> {
289
+ export declare interface QueryListProps<Item = any, Values = any, Response = any, Arg extends Values = Values> extends Pick<TableProps<Item>, 'columns' | 'rowKey' | 'tableLayout' | 'expandable' | 'rowSelection' | 'bordered' | 'components'> {
290
290
  code?: string;
291
291
  isGlobal?: boolean;
292
292
  action: string;
@@ -341,7 +341,7 @@ declare interface RequestOptions extends Omit<RequestInit, 'body'> {
341
341
  isGlobal?: boolean;
342
342
  }
343
343
 
344
- declare type RequestResponse<T> = Pick<Response, 'headers' | 'status' | 'statusText' | 'url'> & {
344
+ export declare type RequestResponse<T> = Pick<Response, 'headers' | 'status' | 'statusText' | 'url'> & {
345
345
  data: T;
346
346
  };
347
347
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-toolkits",
3
- "version": "0.8.39",
3
+ "version": "0.8.41",
4
4
  "packageManager": "^pnpm@8.7.5",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -70,8 +70,8 @@
70
70
  "vite": "^5.0.10",
71
71
  "vite-plugin-dts": "^3.6.4",
72
72
  "@flow97/eslint-config-mono": "0.0.4",
73
- "tsconfig": "0.0.5",
74
- "tailwind-config": "0.1.1"
73
+ "tailwind-config": "0.1.1",
74
+ "tsconfig": "0.0.5"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "antd": "^5.12.2",