@mysetup/hooks 2.0.1 → 2.0.7
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/README.md +50 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2 -0
- package/dist/src/index.d.ts +0 -1
- package/dist/src/useBreakpoint/index.d.ts +0 -1
- package/dist/src/useBreakpoint/useBreakpoint.d.ts +0 -1
- package/dist/src/useDebounce/index.d.ts +0 -1
- package/dist/src/useDebounce/useDebounce.d.ts +0 -1
- package/dist/src/useForm/helpers.d.ts +0 -1
- package/dist/src/useForm/index.d.ts +0 -1
- package/dist/src/useForm/rulesList.d.ts +0 -1
- package/dist/src/useForm/types.d.ts +0 -1
- package/dist/src/useForm/useForm.d.ts +0 -1
- package/dist/src/useForm/useFormArray.d.ts +0 -1
- package/dist/src/useFormatPhoneNumber/index.d.ts +0 -1
- package/dist/src/useFormatPhoneNumber/useFormatPhoneNumber.d.ts +0 -1
- package/dist/src/useIsBreakpoint/index.d.ts +0 -1
- package/dist/src/useIsBreakpoint/useIsBreakpoint.d.ts +0 -1
- package/dist/src/useModal/index.d.ts +0 -1
- package/dist/src/useModal/useModal.d.ts +0 -1
- package/dist/src/useTouchEndFix/index.d.ts +0 -1
- package/dist/src/useTouchEndFix/useTouchEndFix.d.ts +0 -1
- package/package.json +68 -51
- package/dist/index.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/useBreakpoint/index.d.ts.map +0 -1
- package/dist/src/useBreakpoint/useBreakpoint.d.ts.map +0 -1
- package/dist/src/useDebounce/index.d.ts.map +0 -1
- package/dist/src/useDebounce/useDebounce.d.ts.map +0 -1
- package/dist/src/useForm/helpers.d.ts.map +0 -1
- package/dist/src/useForm/index.d.ts.map +0 -1
- package/dist/src/useForm/rulesList.d.ts.map +0 -1
- package/dist/src/useForm/types.d.ts.map +0 -1
- package/dist/src/useForm/useForm.d.ts.map +0 -1
- package/dist/src/useForm/useFormArray.d.ts.map +0 -1
- package/dist/src/useFormatPhoneNumber/index.d.ts.map +0 -1
- package/dist/src/useFormatPhoneNumber/useFormatPhoneNumber.d.ts.map +0 -1
- package/dist/src/useIsBreakpoint/index.d.ts.map +0 -1
- package/dist/src/useIsBreakpoint/useIsBreakpoint.d.ts.map +0 -1
- package/dist/src/useModal/index.d.ts.map +0 -1
- package/dist/src/useModal/useModal.d.ts.map +0 -1
- package/dist/src/useTouchEndFix/index.d.ts.map +0 -1
- package/dist/src/useTouchEndFix/useTouchEndFix.d.ts.map +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# @mysetup/hooks
|
|
2
|
+
|
|
3
|
+
Reusable React hooks for forms, responsive state, and UI behavior.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @mysetup/hooks react react-dom
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Supported libraries and runtimes
|
|
12
|
+
|
|
13
|
+
| Supported | Notes |
|
|
14
|
+
| ------------------------- | ------------------------ |
|
|
15
|
+
| React | Required peer dependency |
|
|
16
|
+
| Vite React apps | Supported |
|
|
17
|
+
| Next.js client components | Supported |
|
|
18
|
+
| Next.js server components | Not supported |
|
|
19
|
+
| Node.js scripts | Not supported |
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```tsx
|
|
24
|
+
"use client";
|
|
25
|
+
|
|
26
|
+
import { useDebounce, useModal } from "@mysetup/hooks";
|
|
27
|
+
|
|
28
|
+
function SearchBox({ value }: { value: string }) {
|
|
29
|
+
const debouncedValue = useDebounce(value, 400);
|
|
30
|
+
const { isOpen, toggleModal, close } = useModal();
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<>
|
|
34
|
+
<button onClick={toggleModal}>{isOpen ? "Close" : "Open"}</button>
|
|
35
|
+
<p>{debouncedValue}</p>
|
|
36
|
+
<button onClick={close}>Reset</button>
|
|
37
|
+
</>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Exports
|
|
43
|
+
|
|
44
|
+
- `useBreakpoint`
|
|
45
|
+
- `useDebounce`
|
|
46
|
+
- `useForm`
|
|
47
|
+
- `useFormatPhoneNumber`
|
|
48
|
+
- `useIsBreakpoint`
|
|
49
|
+
- `useModal`
|
|
50
|
+
- `useTouchEndFix`
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/src/index.d.ts
CHANGED
|
@@ -10,4 +10,3 @@ export declare const isBlank: (value: unknown) => boolean;
|
|
|
10
10
|
export declare const testRegex: (value: string, regex: string | RegExp) => boolean;
|
|
11
11
|
export declare const getValidationClass: (value?: AlertState, customClass?: string[]) => string[] | undefined;
|
|
12
12
|
export declare const getValidationMessage: (value?: AlertState) => React.JSX.Element;
|
|
13
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -42,4 +42,3 @@ export interface RuleInfo {
|
|
|
42
42
|
export type Validations<T extends object> = Partial<Record<keyof T, Validation<T>>>;
|
|
43
43
|
export declare const stateInputClassesManditory: Record<AlertType, string>;
|
|
44
44
|
export declare const stateMessageClasses: Record<AlertType, string>;
|
|
45
|
-
//# sourceMappingURL=types.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,53 +1,70 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
"name": "@mysetup/hooks",
|
|
3
|
+
"version": "2.0.7",
|
|
4
|
+
"description": "Shared React hooks for application and UI state.",
|
|
5
|
+
"author": "krishnaraj <krishnaraj.webdev@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"react",
|
|
9
|
+
"hooks",
|
|
10
|
+
"nextjs",
|
|
11
|
+
"vite",
|
|
12
|
+
"typescript"
|
|
13
|
+
],
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js",
|
|
28
|
+
"require": "./dist/index.js"
|
|
16
29
|
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
}
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@mysetup/classnames": "^2.0.7",
|
|
34
|
+
"@mysetup/types": "^2.0.10"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"react": "^18.3.1 || ^19.0.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@testing-library/react": "^16.2.0",
|
|
41
|
+
"@types/jest": "^29.5.14",
|
|
42
|
+
"@types/node": "^22.13.1",
|
|
43
|
+
"@types/react": "^18.3.1",
|
|
44
|
+
"@types/react-dom": "^18.3.1",
|
|
45
|
+
"jest": "^29.7.0",
|
|
46
|
+
"react": "^18.3.1",
|
|
47
|
+
"react-dom": "^18.3.1",
|
|
48
|
+
"typescript": "5.5.4",
|
|
49
|
+
"@mysetup/jest-config": "^2.0.7",
|
|
50
|
+
"@mysetup/eslint-config": "^2.0.8",
|
|
51
|
+
"@mysetup/prettier-config": "^2.0.7",
|
|
52
|
+
"@mysetup/tsconfig": "^2.0.7",
|
|
53
|
+
"@mysetup/test-helpers": "^2.0.7"
|
|
54
|
+
},
|
|
55
|
+
"prettier": "@mysetup/prettier-config",
|
|
56
|
+
"engines": {
|
|
57
|
+
"node": ">=20.15.1"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "node ../scripts/package-fs.cjs remove dist && tsc -p tsconfig.build.json && node ../scripts/package-fs.cjs ensure-leading-text dist/index.js \"\\\"use client\\\";\"",
|
|
61
|
+
"lint": "node ../scripts/run-eslint.cjs .",
|
|
62
|
+
"test": "jest",
|
|
63
|
+
"test:update": "pnpm test -- -u",
|
|
64
|
+
"test:coverage": "jest --coverage",
|
|
65
|
+
"typecheck": "tsc --noEmit",
|
|
66
|
+
"format": "prettier --write \"**/*.{ts,tsx,md,js,mjs,json}\"",
|
|
67
|
+
"checks": "pnpm typecheck && pnpm lint && pnpm test && pnpm build",
|
|
68
|
+
"clean": "node ../scripts/package-fs.cjs remove node_modules .swc dist pnpm-lock.yaml && echo \"Cleaned\""
|
|
69
|
+
}
|
|
70
|
+
}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
package/dist/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useBreakpoint/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/useBreakpoint/useBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,gBAAgB,CAAC;AAQ5D,eAAO,MAAM,aAAa,8BAoCzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useDebounce/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../src/useDebounce/useDebounce.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,CAc1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/useForm/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE/D,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,iBAChD,QAAQ,SACP,MAAM,CAAC,aACH,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,eACxB,WAAW,CAAC,CAAC,CAAC,WA4B9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,MAAM,WAO9C,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,OAAO,OAEhD,CAAC;AAEF,eAAO,MAAM,IAAI,QAAS,MAAM,QAAQ,OAAO,WAQ9C,CAAC;AAEF,eAAO,MAAM,QAAQ,SAAU,OAAO,qCAOrC,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,OAAO,YAMrC,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,MAAM,SAAS,MAAM,GAAG,MAAM,YAE9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,WACnB,UAAU,gBACJ,MAAM,EAAE,yBAGzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,WAAY,UAAU,sBAYtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useForm/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rulesList.d.ts","sourceRoot":"","sources":["../../../src/useForm/rulesList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,QAAQ,CA8FhD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/useForm/types.ts"],"names":[],"mappings":"AAAA,OAAO,EA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|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useFormatPhoneNumber/index.tsx"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFormatPhoneNumber.d.ts","sourceRoot":"","sources":["../../../src/useFormatPhoneNumber/useFormatPhoneNumber.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,UAAW,MAAM,WAanD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useIsBreakpoint/index.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useIsBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/useIsBreakpoint/useIsBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,wBAAgB,eAAe,CAAC,GAAG,WAAW,EAAE,UAAU,EAAE,GAAG,OAAO,CAQrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useModal/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../src/useModal/useModal.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;CAgBpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/useTouchEndFix/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTouchEndFix.d.ts","sourceRoot":"","sources":["../../../src/useTouchEndFix/useTouchEndFix.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,QAqCtD"}
|