@pawover/kit 0.0.0-beta.45 → 0.0.0-beta.50

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.
Files changed (52) hide show
  1. package/package.json +52 -82
  2. package/{dist/hooks-alova.d.ts → packages/hooks/dist/alova.d.ts} +4 -5
  3. package/{dist/hooks-alova.js → packages/hooks/dist/alova.js} +3 -5
  4. package/packages/hooks/dist/index.d.ts +1 -0
  5. package/packages/hooks/dist/index.js +0 -0
  6. package/packages/hooks/dist/metadata.json +16 -0
  7. package/{dist/hooks-react.d.ts → packages/hooks/dist/react.d.ts} +76 -72
  8. package/packages/hooks/dist/react.js +4419 -0
  9. package/packages/utils/dist/index.d.ts +4293 -0
  10. package/packages/utils/dist/index.js +1527 -0
  11. package/packages/utils/dist/math.d.ts +54 -0
  12. package/packages/utils/dist/math.js +56 -0
  13. package/packages/utils/dist/metadata.json +14 -0
  14. package/packages/utils/dist/string-CESQdidv.js +793 -0
  15. package/packages/utils/dist/vite.d.ts +16 -0
  16. package/packages/utils/dist/vite.js +26 -0
  17. package/packages/zod/dist/index.d.ts +58 -0
  18. package/packages/zod/dist/index.js +61 -0
  19. package/dist/enums.d.ts +0 -2
  20. package/dist/enums.js +0 -145
  21. package/dist/enums.js.map +0 -1
  22. package/dist/except-6l9Qdmn1.d.ts +0 -986
  23. package/dist/except-6l9Qdmn1.d.ts.map +0 -1
  24. package/dist/hooks-alova.d.ts.map +0 -1
  25. package/dist/hooks-alova.js.map +0 -1
  26. package/dist/hooks-react.d.ts.map +0 -1
  27. package/dist/hooks-react.js +0 -166
  28. package/dist/hooks-react.js.map +0 -1
  29. package/dist/index-DsR_kNCf.d.ts +0 -18
  30. package/dist/index-DsR_kNCf.d.ts.map +0 -1
  31. package/dist/index-JKtXbRi8.d.ts +0 -149
  32. package/dist/index-JKtXbRi8.d.ts.map +0 -1
  33. package/dist/index.d.ts +0 -3736
  34. package/dist/index.d.ts.map +0 -1
  35. package/dist/index.js +0 -2
  36. package/dist/patches-fetchEventSource.d.ts +0 -87
  37. package/dist/patches-fetchEventSource.d.ts.map +0 -1
  38. package/dist/patches-fetchEventSource.js +0 -200
  39. package/dist/patches-fetchEventSource.js.map +0 -1
  40. package/dist/utils-B7AhGrZp.js +0 -2042
  41. package/dist/utils-B7AhGrZp.js.map +0 -1
  42. package/dist/value-of-Dz22arsm.d.ts +0 -26
  43. package/dist/value-of-Dz22arsm.d.ts.map +0 -1
  44. package/dist/vite.d.ts +0 -12
  45. package/dist/vite.d.ts.map +0 -1
  46. package/dist/vite.js +0 -23
  47. package/dist/vite.js.map +0 -1
  48. package/dist/zod.d.ts +0 -112
  49. package/dist/zod.d.ts.map +0 -1
  50. package/dist/zod.js +0 -112
  51. package/dist/zod.js.map +0 -1
  52. package/metadata.json +0 -184
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@pawover/kit",
3
- "author": "pawover<pawover@outlook.com>",
4
- "description": "pawover's kit",
3
+ "author": {
4
+ "name": "pawover",
5
+ "email": "pawover@outlook.com",
6
+ "url": "https://github.com/pawover"
7
+ },
8
+ "description": "一个基于 TypeScript 的开发工具包",
5
9
  "license": "MIT",
6
10
  "type": "module",
7
- "version": "0.0.0-beta.45",
11
+ "version": "0.0.0-beta.50",
8
12
  "packageManager": "pnpm@10.28.2",
9
13
  "engines": {
10
14
  "node": ">=22.20.0"
@@ -18,104 +22,70 @@
18
22
  "type": "git",
19
23
  "url": "git+https://github.com/pawover/pawover-kit.git"
20
24
  },
21
- "main": "./dist/index.js",
22
- "module": "./dist/index.js",
23
- "types": "./dist/index.d.ts",
25
+ "main": "./packages/utils/dist/index.js",
26
+ "module": "./packages/utils/dist/index.js",
27
+ "types": "./packages/utils/dist/index.d.ts",
24
28
  "files": [
25
- "dist",
26
- "metadata.json"
29
+ "packages/utils/dist",
30
+ "packages/hooks/dist",
31
+ "packages/zod/dist"
27
32
  ],
28
33
  "exports": {
29
- ".": "./dist/index.js",
30
- "./enums": "./dist/enums.js",
31
- "./vite": "./dist/vite.js",
32
- "./zod": "./dist/zod.js",
33
- "./hooks-alova": "./dist/hooks-alova.js",
34
- "./hooks-react": "./dist/hooks-react.js",
35
- "./patches-fetchEventSource": "./dist/patches-fetchEventSource.js",
36
- "./metadata.json": "./metadata.json",
37
- "./package.json": "./package.json"
34
+ ".": "./packages/utils/dist/index.js",
35
+ "./math": "./packages/utils/dist/math.js",
36
+ "./vite": "./packages/utils/dist/vite.js",
37
+ "./metadata.json": "./packages/utils/dist/metadata.json",
38
+ "./utils": "./packages/utils/dist/index.js",
39
+ "./utils/math": "./packages/utils/dist/math.js",
40
+ "./utils/vite": "./packages/utils/dist/vite.js",
41
+ "./utils/*": "./packages/utils/dist/*",
42
+ "./hooks/alova": "./packages/hooks/dist/alova.js",
43
+ "./hooks/react": "./packages/hooks/dist/react.js",
44
+ "./hooks/*": "./packages/hooks/dist/*",
45
+ "./zod": "./packages/zod/dist/index.js",
46
+ "./zod/*": "./packages/zod/dist/*"
38
47
  },
39
48
  "scripts": {
40
49
  "test": "vitest",
41
- "build": "tsdown && pnpm build:metadata",
42
- "build:metadata": "node scripts/metadata.ts",
43
- "public": "pnpm build && npm publish --access public --tag bate",
44
- "check": "pnpm build && pnpm check:types & pnpm check:eslint & pnpm check:format",
50
+ "build": "turbo build-all",
51
+ "build:force": "turbo build-all --force",
52
+ "public": "turbo build-all && npm publish --access public --tag bate",
53
+ "check": "pnpm check:types & pnpm check:eslint & pnpm check:format",
45
54
  "check:types": "tsc --noEmit",
46
55
  "check:eslint": "eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\" --cache-location=.cache/eslint.cache.json --cache",
47
- "check:format": "prettier --write \"**/*.{html,json}\" !.vscode/settings.json --cache-location=.cache/prettier.cache.json --cache",
56
+ "check:format": "prettier --write \"**/*.{html,json}\" --cache-location=.cache/prettier.cache.json --cache",
48
57
  "check:pack": "attw --pack .",
49
- "clean": "pnpm clean:cache & pnpm clean:lib & pnpm clean:output",
50
- "clean:cache": "rimraf -g **/.cache",
51
- "clean:lib": "rimraf -g **/node_modules",
52
- "clean:output": "rimraf dist",
58
+ "clean": "turbo clean & rimraf .cache node_modules dist",
59
+ "clean:turbo": "rimraf -g **/.turbo",
60
+ "clean:cache": "rimraf .cache",
61
+ "clean:lib": "turbo clean:lib",
62
+ "clean:output": "turbo clean:output",
53
63
  "lib:up": "taze -I -r --exclude pnpm"
54
64
  },
55
- "dependencies": {
56
- "alova": "^3.5.1",
57
- "mathjs": "^15.1.1",
58
- "react": "^19.2.4",
59
- "vite": "^7.3.1",
60
- "vue": "^3.5.31",
61
- "zod": "^4.3.6"
62
- },
63
65
  "devDependencies": {
64
- "@eslint-react/eslint-plugin": "^3.0.0",
65
- "@pawover/eslint-rules": "^0.0.0-beta.11",
66
- "@pawover/types": "^0.0.0-alpha.11",
66
+ "@eslint-react/eslint-plugin": "^4.2.3",
67
+ "@pawover/eslint-rules": "^0.0.2",
67
68
  "@playwright/test": "^1.59.1",
68
69
  "@stylistic/eslint-plugin": "^5.10.0",
69
70
  "@types/fs-extra": "^11.0.4",
70
- "@types/node": "^25.5.0",
71
- "@types/react": "^19.2.14",
71
+ "@types/node": "^25.6.0",
72
72
  "@vitejs/plugin-react": "^5.2.0",
73
- "@vitest/browser-playwright": "^4.1.2",
74
- "eslint": "^10.1.0",
73
+ "@vitest/browser-playwright": "^4.1.5",
74
+ "eslint": "^10.2.1",
75
75
  "eslint-plugin-antfu": "^3.2.2",
76
- "eslint-plugin-react-hooks": "^7.0.1",
76
+ "eslint-plugin-import-lite": "^0.6.0",
77
+ "eslint-plugin-react-hooks": "^7.1.1",
78
+ "eslint-plugin-simple-import-sort": "^13.0.0",
77
79
  "fs-extra": "^11.3.4",
78
- "jsdom": "^29.0.1",
79
- "prettier": "^3.8.1",
80
- "radashi": "^12.7.2",
81
- "react-dom": "^19.2.4",
80
+ "jsdom": "^29.0.2",
81
+ "prettier": "^3.8.3",
82
82
  "rimraf": "^6.1.3",
83
83
  "taze": "^19.11.0",
84
- "ts-toolbelt": "^9.6.0",
85
- "tsdown": "^0.21.7",
86
- "type-fest": "^5.5.0",
87
- "typescript": "^6.0.2",
88
- "typescript-eslint": "^8.58.0",
89
- "vitest": "^4.1.2",
90
- "vitest-browser-react": "^2.1.0",
91
- "vue-tsc": "^3.2.6"
92
- },
93
- "peerDependencies": {
94
- "alova": ">=3.3.0",
95
- "mathjs": ">=15.0.0",
96
- "react": ">=19.2.0",
97
- "vite": ">=4.0",
98
- "vue": ">=3.5.0",
99
- "zod": ">=4.1.0"
100
- },
101
- "peerDependenciesMeta": {
102
- "alova": {
103
- "optional": true
104
- },
105
- "mathjs": {
106
- "optional": true
107
- },
108
- "react": {
109
- "optional": true
110
- },
111
- "vite": {
112
- "optional": true
113
- },
114
- "vue": {
115
- "optional": true
116
- },
117
- "zod": {
118
- "optional": true
119
- }
84
+ "tsdown": "^0.21.10",
85
+ "turbo": "^2.9.6",
86
+ "typescript": "^6.0.3",
87
+ "typescript-eslint": "^8.59.0",
88
+ "vitest": "^4.1.5",
89
+ "vitest-browser-react": "^2.2.0"
120
90
  }
121
91
  }
@@ -2,7 +2,7 @@ import * as _$alova_client0 from "alova/client";
2
2
  import { AlovaFrontMiddlewareContext, AlovaMethodHandler, CompleteHandler, ErrorHandler, PaginationHookConfig, RequestHookConfig, SuccessHandler, WatcherHookConfig } from "alova/client";
3
3
  import { AlovaGenerics, Method } from "alova";
4
4
 
5
- //#region src/hooks/alova/useAlovaPagination.d.ts
5
+ //#region src/alova/useAlovaPagination.d.ts
6
6
  interface HookOptions$2<AG extends AlovaGenerics, L extends any[], Args extends any[]> extends PaginationHookConfig<AG, L> {
7
7
  onBeforeRequest?: ((context: AlovaFrontMiddlewareContext<AG, any[]>) => void) | undefined;
8
8
  onSuccess?: SuccessHandler<AG, Args> | undefined;
@@ -11,7 +11,7 @@ interface HookOptions$2<AG extends AlovaGenerics, L extends any[], Args extends
11
11
  }
12
12
  declare function useAlovaPagination<AG extends AlovaGenerics, L extends any[], Args extends any[]>(methodHandler: (page: number, pageSize: number, ...args: Args) => Method<AG>, hookOptions?: HookOptions$2<AG, L, Args> | undefined): _$alova_client0.UsePaginationExposure<AG, L, Args>;
13
13
  //#endregion
14
- //#region src/hooks/alova/useAlovaRequest.d.ts
14
+ //#region src/alova/useAlovaRequest.d.ts
15
15
  interface HookOptions$1<AG extends AlovaGenerics, Args extends any[]> extends RequestHookConfig<AG, Args> {
16
16
  onBeforeRequest?: ((context: AlovaFrontMiddlewareContext<AG, Args>) => void) | undefined;
17
17
  onSuccess?: SuccessHandler<AG, Args> | undefined;
@@ -20,7 +20,7 @@ interface HookOptions$1<AG extends AlovaGenerics, Args extends any[]> extends Re
20
20
  }
21
21
  declare function useAlovaRequest<AG extends AlovaGenerics, Args extends any[] = any[]>(methodHandler: Method<AG> | AlovaMethodHandler<AG, Args>, hookOptions?: HookOptions$1<AG, Args> | undefined): _$alova_client0.UseHookExposure<AG, Args, unknown>;
22
22
  //#endregion
23
- //#region src/hooks/alova/useAlovaWatcher.d.ts
23
+ //#region src/alova/useAlovaWatcher.d.ts
24
24
  interface HookOptions<AG extends AlovaGenerics, Args extends any[]> extends WatcherHookConfig<AG, Args> {
25
25
  onSuccess?: SuccessHandler<AG, Args> | undefined;
26
26
  onError?: ErrorHandler<AG, Args> | undefined;
@@ -28,5 +28,4 @@ interface HookOptions<AG extends AlovaGenerics, Args extends any[]> extends Watc
28
28
  }
29
29
  declare function useAlovaWatcher<AG extends AlovaGenerics, Args extends any[] = any[]>(methodHandler: Method<AG> | AlovaMethodHandler<AG, Args>, watchingStates: AG["StatesExport"]["Watched"][], hookOptions?: HookOptions<AG, Args>): _$alova_client0.UseHookExposure<AG, Args, unknown>;
30
30
  //#endregion
31
- export { useAlovaPagination, useAlovaRequest, useAlovaWatcher };
32
- //# sourceMappingURL=hooks-alova.d.ts.map
31
+ export { useAlovaPagination, useAlovaRequest, useAlovaWatcher };
@@ -1,5 +1,5 @@
1
1
  import { usePagination, useRequest, useWatcher } from "alova/client";
2
- //#region src/hooks/alova/useAlovaPagination.ts
2
+ //#region src/alova/useAlovaPagination.ts
3
3
  function useAlovaPagination(methodHandler, hookOptions) {
4
4
  const options = {
5
5
  ...hookOptions,
@@ -25,7 +25,7 @@ function useAlovaPagination(methodHandler, hookOptions) {
25
25
  return exposure;
26
26
  }
27
27
  //#endregion
28
- //#region src/hooks/alova/useAlovaRequest.ts
28
+ //#region src/alova/useAlovaRequest.ts
29
29
  function useAlovaRequest(methodHandler, hookOptions) {
30
30
  const options = {
31
31
  ...hookOptions,
@@ -51,7 +51,7 @@ function useAlovaRequest(methodHandler, hookOptions) {
51
51
  return exposure;
52
52
  }
53
53
  //#endregion
54
- //#region src/hooks/alova/useAlovaWatcher.ts
54
+ //#region src/alova/useAlovaWatcher.ts
55
55
  function useAlovaWatcher(methodHandler, watchingStates, hookOptions = {}) {
56
56
  const options = hookOptions || {};
57
57
  const exposure = useWatcher(methodHandler, watchingStates, options);
@@ -62,5 +62,3 @@ function useAlovaWatcher(methodHandler, watchingStates, hookOptions = {}) {
62
62
  }
63
63
  //#endregion
64
64
  export { useAlovaPagination, useAlovaRequest, useAlovaWatcher };
65
-
66
- //# sourceMappingURL=hooks-alova.js.map
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1,16 @@
1
+ {
2
+ "alova": [
3
+ "useAlovaPagination",
4
+ "useAlovaRequest",
5
+ "useAlovaWatcher"
6
+ ],
7
+ "react": [
8
+ "BREAK_POINT_TOKEN",
9
+ "useCreation",
10
+ "useLatest",
11
+ "useMount",
12
+ "useResponsive",
13
+ "useTitle",
14
+ "useUnmount"
15
+ ]
16
+ }
@@ -1,8 +1,51 @@
1
- import { s as BREAK_POINT_TOKEN_TYPE } from "./index-JKtXbRi8.js";
2
- import { r as AnyFunction, t as AnyAsyncFunction } from "./index-DsR_kNCf.js";
3
1
  import { DependencyList, EffectCallback, RefObject } from "react";
4
2
 
5
- //#region node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/tuple-to-union.d.ts
3
+ //#region src/react/useCreation.d.ts
4
+ /**
5
+ * 确保实例不会被重复创建
6
+ *
7
+ * @param factory
8
+ * @param deps
9
+ */
10
+ declare function useCreation<T>(factory: () => T, deps: DependencyList): T;
11
+ //#endregion
12
+ //#region src/react/useLatest.d.ts
13
+ /**
14
+ * 返回当前最新值的 Hook
15
+ *
16
+ * @param value
17
+ */
18
+ declare function useLatest<T>(value: T): RefObject<T>;
19
+ //#endregion
20
+ //#region ../../node_modules/.pnpm/@pawover+types@0.0.1_@types+react@19.2.14_typescript@6.0.3/node_modules/@pawover/types/dist/index.d.ts
21
+ /** 描述函数类型 */
22
+ type AnyFunction<P extends any[] = any[], R = any> = (...arg: P) => R;
23
+ /** 描述异步函数类型 */
24
+ type AnyAsyncFunction<P extends any[] = any[], R = any> = (...args: P) => Promise<R>;
25
+ /** 描述生成器函数类型 */
26
+ //#endregion
27
+ //#region src/react/useMount.d.ts
28
+ /**
29
+ * 在组件初始化时执行的 Hook
30
+ * - 即使在严格模式(React StrictMode)也只执行一次
31
+ * - 自动使用最新版 effect 函数
32
+ *
33
+ * @param effect 副作用函数(必须为同步函数;若为异步函数,清理逻辑需自行处理)
34
+ * @example
35
+ * useMount(() => {
36
+ * console.log('组件挂载');
37
+ * return () => console.log('组件卸载');
38
+ * });
39
+ *
40
+ * useMount(async () => {
41
+ * const data = await fetchData();
42
+ * // 清理逻辑需通过 ref/AbortController 自行管理
43
+ * // ❌ 不要 return cleanupFn(async 函数返回 Promise,无法作为清理函数)
44
+ * });
45
+ */
46
+ declare function useMount(effect: EffectCallback | AnyAsyncFunction): void;
47
+ //#endregion
48
+ //#region ../../node_modules/.pnpm/type-fest@5.6.0/node_modules/type-fest/source/tuple-to-union.d.ts
6
49
  /**
7
50
  Convert a tuple/array into a union type of its elements.
8
51
 
@@ -56,82 +99,45 @@ type NumberBool = typeof numberBool[number];
56
99
  */
57
100
  type TupleToUnion<ArrayType> = ArrayType extends readonly unknown[] ? ArrayType[number] : never;
58
101
  //#endregion
59
- //#region src/hooks/react/useCreation.d.ts
60
- /**
61
- * useCreation
62
- * @reference https://ahooks.js.org/zh-CN/hooks/use-creation
63
- *
64
- * @param factory
65
- * @param deps
66
- */
67
- declare function useCreation<T>(factory: () => T, deps: DependencyList): T;
68
- //#endregion
69
- //#region src/hooks/react/useLatest.d.ts
70
- /**
71
- * 返回当前最新值的 Hook
72
- * @reference https://ahooks.js.org/zh-CN/hooks/use-latest
73
- *
74
- * @param value
75
- */
76
- declare function useLatest<T>(value: T): RefObject<T>;
77
- //#endregion
78
- //#region src/hooks/react/useMount.d.ts
79
- /**
80
- * 在组件初始化时执行的 Hook
81
- * - 即使在严格模式(React StrictMode)也只执行一次
82
- * - 自动使用最新版 effect 函数
83
- *
84
- * @param effect 副作用函数(必须为同步函数;若为异步函数,清理逻辑需自行处理)
85
- * @example
86
- * useMount(() => {
87
- * console.log('组件挂载');
88
- * return () => console.log('组件卸载');
89
- * });
90
- *
91
- * useMount(async () => {
92
- * const data = await fetchData();
93
- * // 清理逻辑需通过 ref/AbortController 自行管理
94
- * // ❌ 不要 return cleanupFn(async 函数返回 Promise,无法作为清理函数)
95
- * });
96
- */
97
- declare function useMount(effect: EffectCallback | AnyAsyncFunction): void;
98
- //#endregion
99
- //#region src/hooks/react/useResponsive.d.ts
102
+ //#region src/react/useResponsive.d.ts
100
103
  type Breakpoint = TupleToUnion<typeof BREAK_POINTS>;
101
104
  type ResponsiveValues = Record<Breakpoint, boolean>;
105
+ type BreakPointTokens = Record<keyof typeof BREAK_POINT_TOKEN, number>;
106
+ /** 屏幕响应断点 token 配置 */
107
+ declare const BREAK_POINT_TOKEN: {
108
+ readonly XS: 480;
109
+ readonly XSMax: 575;
110
+ readonly XSMin: 480;
111
+ readonly SM: 576;
112
+ readonly SMMax: 767;
113
+ readonly SMMin: 576;
114
+ readonly MD: 768;
115
+ readonly MDMax: 991;
116
+ readonly MDMin: 768;
117
+ readonly LG: 992;
118
+ readonly LGMax: 1199;
119
+ readonly LGMin: 992;
120
+ readonly XL: 1200;
121
+ readonly XLMax: 1599;
122
+ readonly XLMin: 1200;
123
+ readonly XXL: 1600;
124
+ readonly XXLMax: 1919;
125
+ readonly XXLMin: 1600;
126
+ readonly XXXL: 1920;
127
+ readonly XXXLMin: 1920;
128
+ };
102
129
  declare const BREAK_POINTS: readonly ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
103
130
  interface ResponsiveHookOptions {
104
131
  /** 屏幕响应断点 token 配置 */
105
- breakPointTokens?: BREAK_POINT_TOKEN_TYPE;
132
+ breakPointTokens?: BreakPointTokens;
106
133
  }
107
134
  declare function useResponsive(options?: ResponsiveHookOptions | undefined): {
108
135
  responsive: ResponsiveValues;
109
136
  current: "xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs";
110
- breakPointTokens: {
111
- XS: 480;
112
- XSMax: 575;
113
- XSMin: 480;
114
- SM: 576;
115
- SMMax: 767;
116
- SMMin: 576;
117
- MD: 768;
118
- MDMax: 991;
119
- MDMin: 768;
120
- LG: 992;
121
- LGMax: 1199;
122
- LGMin: 992;
123
- XL: 1200;
124
- XLMax: 1599;
125
- XLMin: 1200;
126
- XXL: 1600;
127
- XXLMax: 1919;
128
- XXLMin: 1600;
129
- XXXL: 1920;
130
- XXXLMin: 1920;
131
- };
137
+ breakPointTokens: BreakPointTokens;
132
138
  };
133
139
  //#endregion
134
- //#region src/hooks/react/useTitle.d.ts
140
+ //#region src/react/useTitle.d.ts
135
141
  interface TitleHookOptions {
136
142
  /** 件卸载时是否恢复原始标题 */
137
143
  isRestoreOnUnmount?: boolean;
@@ -147,14 +153,12 @@ interface TitleHookOptions {
147
153
  */
148
154
  declare function useTitle(title: string, options?: TitleHookOptions | undefined): void;
149
155
  //#endregion
150
- //#region src/hooks/react/useUnmount.d.ts
156
+ //#region src/react/useUnmount.d.ts
151
157
  /**
152
158
  * 在组件卸载时执行的 Hook
153
- * @reference https://ahooks.js.org/zh-CN/hooks/use-unmount
154
159
  *
155
160
  * @param effect 副作用函数
156
161
  */
157
162
  declare function useUnmount(effect: AnyFunction): void;
158
163
  //#endregion
159
- export { ResponsiveHookOptions, useCreation, useLatest, useMount, useResponsive, useTitle, useUnmount };
160
- //# sourceMappingURL=hooks-react.d.ts.map
164
+ export { BREAK_POINT_TOKEN, BreakPointTokens, ResponsiveHookOptions, useCreation, useLatest, useMount, useResponsive, useTitle, useUnmount };