Skip to content

File tree

96 files changed

+547
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+547
-157
lines changed

hooks/hooks/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.4.0](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-24)
7+
8+
9+
### Features
10+
11+
* export @pansy/use-fullscreen ([021fa3f](https://github.com/pansyjs/react-hooks/commit/021fa3f43e40fd7fcf19ef0bbb78215e0e9ac3be))
12+
13+
14+
15+
16+
617
## [2.3.1](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-21)
718

819
**Note:** Version bump only for package @pansy/react-hooks

hooks/hooks/package.json

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pansy/react-hooks",
3-
"version": "2.3.1",
3+
"version": "2.4.0",
44
"main": "lib/index.js",
55
"module": "es/index.js",
66
"types": "es/index.d.ts",
@@ -18,50 +18,50 @@
1818
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
1919
},
2020
"dependencies": {
21-
"@pansy/use-boolean": "0.3.1",
22-
"@pansy/use-click-away": "0.4.2",
23-
"@pansy/use-controllable-value": "0.4.1",
24-
"@pansy/use-cookie-state": "0.2.2",
25-
"@pansy/use-creation": "0.2.3",
26-
"@pansy/use-deep-compare-effect": "1.3.2",
27-
"@pansy/use-deep-compare-layout-effect": "1.1.1",
28-
"@pansy/use-document-visibility": "0.3.3",
29-
"@pansy/use-event-listener": "0.3.3",
30-
"@pansy/use-event-target": "0.2.7",
31-
"@pansy/use-external": "^0.1.5",
32-
"@pansy/use-favicon": "^0.2.5",
33-
"@pansy/use-get-state": "0.4.1",
34-
"@pansy/use-hover": "0.4.2",
35-
"@pansy/use-in-viewport": "0.4.2",
36-
"@pansy/use-interval": "0.3.1",
37-
"@pansy/use-key-press": "0.3.2",
38-
"@pansy/use-latest": "^0.2.5",
39-
"@pansy/use-local-storage-state": "0.3.3",
40-
"@pansy/use-lock-fn": "^1.0.6",
41-
"@pansy/use-memoized-fn": "0.3.2",
42-
"@pansy/use-modal": "1.0.2",
43-
"@pansy/use-mount": "^0.2.0",
44-
"@pansy/use-mouse": "0.3.2",
45-
"@pansy/use-pagination": "0.1.1",
46-
"@pansy/use-portal": "^0.2.1",
47-
"@pansy/use-previous": "^0.2.5",
48-
"@pansy/use-raf-state": "0.2.8",
49-
"@pansy/use-request": "0.3.2",
50-
"@pansy/use-scroll": "0.3.3",
51-
"@pansy/use-fullscreen": "^0.0.1",
52-
"@pansy/use-scroll-lock": "1.3.3",
53-
"@pansy/use-selections": "0.4.1",
54-
"@pansy/use-session-storage-state": "0.3.3",
55-
"@pansy/use-size": "0.3.3",
56-
"@pansy/use-timeout": "0.2.7",
57-
"@pansy/use-title": "0.3.3",
58-
"@pansy/use-toggle": "^0.2.5",
59-
"@pansy/use-unmount": "0.2.8",
60-
"@pansy/use-update": "^0.2.5",
61-
"@pansy/use-update-effect": "^0.2.5",
62-
"@pansy/use-update-layout-effect": "0.2.12",
63-
"@pansy/use-watermark": "0.3.3",
64-
"@pansy/use-web-socket": "0.2.2"
21+
"@pansy/use-boolean": "0.3.2",
22+
"@pansy/use-click-away": "0.4.3",
23+
"@pansy/use-controllable-value": "0.4.2",
24+
"@pansy/use-cookie-state": "0.2.3",
25+
"@pansy/use-creation": "0.2.4",
26+
"@pansy/use-deep-compare-effect": "1.3.3",
27+
"@pansy/use-deep-compare-layout-effect": "1.1.2",
28+
"@pansy/use-document-visibility": "0.3.4",
29+
"@pansy/use-event-listener": "0.3.4",
30+
"@pansy/use-event-target": "0.2.8",
31+
"@pansy/use-external": "0.1.6",
32+
"@pansy/use-favicon": "0.2.6",
33+
"@pansy/use-fullscreen": "0.1.0",
34+
"@pansy/use-get-state": "0.4.2",
35+
"@pansy/use-hover": "0.4.3",
36+
"@pansy/use-in-viewport": "0.4.3",
37+
"@pansy/use-interval": "0.3.2",
38+
"@pansy/use-key-press": "0.3.3",
39+
"@pansy/use-latest": "0.2.6",
40+
"@pansy/use-local-storage-state": "0.3.4",
41+
"@pansy/use-lock-fn": "1.0.7",
42+
"@pansy/use-memoized-fn": "0.3.3",
43+
"@pansy/use-modal": "1.0.3",
44+
"@pansy/use-mount": "0.2.1",
45+
"@pansy/use-mouse": "0.3.3",
46+
"@pansy/use-pagination": "0.1.2",
47+
"@pansy/use-portal": "0.2.2",
48+
"@pansy/use-previous": "0.2.6",
49+
"@pansy/use-raf-state": "0.2.9",
50+
"@pansy/use-request": "0.3.3",
51+
"@pansy/use-scroll": "0.3.4",
52+
"@pansy/use-scroll-lock": "1.3.4",
53+
"@pansy/use-selections": "0.4.2",
54+
"@pansy/use-session-storage-state": "0.3.4",
55+
"@pansy/use-size": "0.3.4",
56+
"@pansy/use-timeout": "0.2.8",
57+
"@pansy/use-title": "0.3.4",
58+
"@pansy/use-toggle": "0.2.6",
59+
"@pansy/use-unmount": "0.2.9",
60+
"@pansy/use-update": "0.2.6",
61+
"@pansy/use-update-effect": "0.2.6",
62+
"@pansy/use-update-layout-effect": "0.2.13",
63+
"@pansy/use-watermark": "0.3.4",
64+
"@pansy/use-web-socket": "0.2.3"
6565
},
6666
"publishConfig": {
6767
"registry": "https://registry.npmjs.org",

hooks/useBoolean/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.3.2](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-24)
7+
8+
**Note:** Version bump only for package @pansy/use-boolean
9+
10+
11+
12+
13+
614
## [0.3.1](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-21)
715

816
**Note:** Version bump only for package @pansy/use-boolean

hooks/useBoolean/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pansy/use-boolean",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "优雅的管理 boolean 状态的 Hook",
55
"sideEffects": false,
66
"main": "lib/index.js",
@@ -19,7 +19,7 @@
1919
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
2020
},
2121
"dependencies": {
22-
"@pansy/use-toggle": "^0.2.5"
22+
"@pansy/use-toggle": "0.2.6"
2323
},
2424
"publishConfig": {
2525
"registry": "https://registry.npmjs.org",

hooks/useClickAway/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.4.3](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-24)
7+
8+
**Note:** Version bump only for package @pansy/use-click-away
9+
10+
11+
12+
13+
614
## [0.4.2](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-21)
715

816
**Note:** Version bump only for package @pansy/use-click-away

hooks/useClickAway/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pansy/use-click-away",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "监听目标元素外的点击事件",
55
"sideEffects": false,
66
"main": "lib/index.js",
@@ -19,9 +19,9 @@
1919
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
2020
},
2121
"dependencies": {
22-
"@pansy/hook-utils": "^0.5.2",
22+
"@pansy/hook-utils": "0.5.3",
2323
"@pansy/shared": "^1.15.0",
24-
"@pansy/use-latest": "^0.2.5"
24+
"@pansy/use-latest": "0.2.6"
2525
},
2626
"publishConfig": {
2727
"registry": "https://registry.npmjs.org",

hooks/useControllableValue/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.4.2](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-24)
7+
8+
**Note:** Version bump only for package @pansy/use-controllable-value
9+
10+
11+
12+
13+
614
## [0.4.1](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-21)
715

816
**Note:** Version bump only for package @pansy/use-controllable-value

hooks/useControllableValue/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pansy/use-controllable-value",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "组件的状态既可以自己管理,也可以被外部控制",
55
"sideEffects": false,
66
"main": "lib/index.js",
@@ -20,8 +20,8 @@
2020
},
2121
"dependencies": {
2222
"@pansy/shared": "^1.15.0",
23-
"@pansy/use-memoized-fn": "0.3.2",
24-
"@pansy/use-update": "0.2.5"
23+
"@pansy/use-memoized-fn": "0.3.3",
24+
"@pansy/use-update": "0.2.6"
2525
},
2626
"publishConfig": {
2727
"registry": "https://registry.npmjs.org",

hooks/useCookieState/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.2.3](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-24)
7+
8+
**Note:** Version bump only for package @pansy/use-cookie-state
9+
10+
11+
12+
13+
614
## [0.2.2](https://github.com/pansyjs/react-hooks/compare/@pansy/[email protected]...@pansy/[email protected]) (2024-01-21)
715

816
**Note:** Version bump only for package @pansy/use-cookie-state

hooks/useCookieState/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@pansy/use-cookie-state",
33
"description": "一个可以将状态存储在 Cookie 中的 Hook",
44
"sideEffects": false,
5-
"version": "0.2.2",
5+
"version": "0.2.3",
66
"main": "lib/index.js",
77
"module": "es/index.js",
88
"types": "es/index.d.ts",
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"@pansy/shared": "^1.15.0",
23-
"@pansy/use-memoized-fn": "0.3.2",
23+
"@pansy/use-memoized-fn": "0.3.3",
2424
"@types/js-cookie": "^2.x.x",
2525
"js-cookie": "^2.x.x"
2626
},

0 commit comments

Comments
 (0)