@stryke/hooks 0.4.24 → 0.4.32
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 +356 -0
- package/README.md +18 -10
- package/dist/index.cjs +1 -192
- package/dist/index.d.cts +18 -0
- package/dist/index.d.mts +18 -0
- package/dist/index.mjs +1 -1
- package/dist/is-function-BhD7GXOO.cjs +1 -0
- package/dist/is-function-md4Ym3I0.mjs +2 -0
- package/dist/is-function-md4Ym3I0.mjs.map +1 -0
- package/dist/navigator-CY6InfsZ.d.cts +23 -0
- package/dist/navigator-CY6InfsZ.d.cts.map +1 -0
- package/dist/navigator-DUOlrD-4.d.mts +23 -0
- package/dist/navigator-DUOlrD-4.d.mts.map +1 -0
- package/dist/use-battery-BkRIfbJz.d.mts +11 -0
- package/dist/use-battery-BkRIfbJz.d.mts.map +1 -0
- package/dist/use-battery-DZZDx003.cjs +1 -0
- package/dist/use-battery-DaA7I4_x.mjs +2 -0
- package/dist/use-battery-DaA7I4_x.mjs.map +1 -0
- package/dist/use-battery-DpuF7GMz.d.cts +11 -0
- package/dist/use-battery-DpuF7GMz.d.cts.map +1 -0
- package/dist/use-battery.cjs +1 -46
- package/dist/use-battery.d.cts +2 -0
- package/dist/use-battery.d.mts +2 -0
- package/dist/use-battery.mjs +1 -1
- package/dist/use-callback-ref-B-95d49K.d.mts +9 -0
- package/dist/use-callback-ref-B-95d49K.d.mts.map +1 -0
- package/dist/use-callback-ref-CloM-Kqk.cjs +1 -0
- package/dist/use-callback-ref-ctiFnQn4.d.cts +9 -0
- package/dist/use-callback-ref-ctiFnQn4.d.cts.map +1 -0
- package/dist/use-callback-ref-otlhGzUu.mjs +2 -0
- package/dist/use-callback-ref-otlhGzUu.mjs.map +1 -0
- package/dist/use-callback-ref.cjs +1 -13
- package/dist/use-callback-ref.d.cts +2 -0
- package/dist/use-callback-ref.d.mts +2 -0
- package/dist/use-callback-ref.mjs +1 -1
- package/dist/use-callback-stable-C3QZzhdC.mjs +2 -0
- package/dist/use-callback-stable-C3QZzhdC.mjs.map +1 -0
- package/dist/use-callback-stable-C5X8ySnU.d.mts +55 -0
- package/dist/use-callback-stable-C5X8ySnU.d.mts.map +1 -0
- package/dist/use-callback-stable-CvXmYtWT.cjs +1 -0
- package/dist/use-callback-stable-D_wCU4yv.d.cts +55 -0
- package/dist/use-callback-stable-D_wCU4yv.d.cts.map +1 -0
- package/dist/use-callback-stable.cjs +1 -10
- package/dist/use-callback-stable.d.cts +2 -0
- package/dist/use-callback-stable.d.mts +2 -0
- package/dist/use-callback-stable.mjs +1 -1
- package/dist/use-click-away-Bpl7sh5j.cjs +1 -0
- package/dist/use-click-away-D-DKaD9B.mjs +2 -0
- package/dist/use-click-away-D-DKaD9B.mjs.map +1 -0
- package/dist/use-click-away-DG8ULjSN.d.cts +14 -0
- package/dist/use-click-away-DG8ULjSN.d.cts.map +1 -0
- package/dist/use-click-away-kc61inYs.d.mts +14 -0
- package/dist/use-click-away-kc61inYs.d.mts.map +1 -0
- package/dist/use-click-away.cjs +1 -22
- package/dist/use-click-away.d.cts +2 -0
- package/dist/use-click-away.d.mts +2 -0
- package/dist/use-click-away.mjs +1 -1
- package/dist/use-compose-refs-BUwJN8zY.cjs +1 -0
- package/dist/use-compose-refs-BysZtFy1.mjs +2 -0
- package/dist/use-compose-refs-BysZtFy1.mjs.map +1 -0
- package/dist/{use-compose-refs.d.ts → use-compose-refs-D1nHM35F.d.cts} +10 -4
- package/dist/use-compose-refs-D1nHM35F.d.cts.map +1 -0
- package/dist/use-compose-refs-Dy3epP6l.d.mts +31 -0
- package/dist/use-compose-refs-Dy3epP6l.d.mts.map +1 -0
- package/dist/use-compose-refs.cjs +1 -21
- package/dist/use-compose-refs.d.cts +2 -0
- package/dist/use-compose-refs.d.mts +2 -0
- package/dist/use-compose-refs.mjs +1 -1
- package/dist/use-copy-to-clipboard-Cls03hBs.mjs +2 -0
- package/dist/use-copy-to-clipboard-Cls03hBs.mjs.map +1 -0
- package/dist/use-copy-to-clipboard-D3QmuRQ2.d.mts +10 -0
- package/dist/use-copy-to-clipboard-D3QmuRQ2.d.mts.map +1 -0
- package/dist/use-copy-to-clipboard-DFTtZkv7.cjs +1 -0
- package/dist/use-copy-to-clipboard-DzccpceW.d.cts +10 -0
- package/dist/use-copy-to-clipboard-DzccpceW.d.cts.map +1 -0
- package/dist/use-copy-to-clipboard.cjs +1 -25
- package/dist/use-copy-to-clipboard.d.cts +2 -0
- package/dist/use-copy-to-clipboard.d.mts +2 -0
- package/dist/use-copy-to-clipboard.mjs +1 -1
- package/dist/use-debounce-B07BBb1-.d.mts +17 -0
- package/dist/use-debounce-B07BBb1-.d.mts.map +1 -0
- package/dist/use-debounce-Bh6vyN-1.d.cts +17 -0
- package/dist/use-debounce-Bh6vyN-1.d.cts.map +1 -0
- package/dist/use-debounce-Cto2Ny5z.mjs +2 -0
- package/dist/use-debounce-Cto2Ny5z.mjs.map +1 -0
- package/dist/use-debounce-DWeScEkQ.cjs +1 -0
- package/dist/use-debounce.cjs +1 -26
- package/dist/use-debounce.d.cts +2 -0
- package/dist/use-debounce.d.mts +2 -0
- package/dist/use-debounce.mjs +1 -1
- package/dist/use-did-finish-ssr-B6M_wlP4.mjs +2 -0
- package/dist/use-did-finish-ssr-B6M_wlP4.mjs.map +1 -0
- package/dist/use-did-finish-ssr-BbXffDj5.cjs +1 -0
- package/dist/use-did-finish-ssr-CBz5xeHc.d.mts +10 -0
- package/dist/use-did-finish-ssr-CBz5xeHc.d.mts.map +1 -0
- package/dist/use-did-finish-ssr-D3CpAwOz.d.cts +10 -0
- package/dist/use-did-finish-ssr-D3CpAwOz.d.cts.map +1 -0
- package/dist/use-did-finish-ssr.cjs +1 -28
- package/dist/use-did-finish-ssr.d.cts +2 -0
- package/dist/use-did-finish-ssr.d.mts +2 -0
- package/dist/use-did-finish-ssr.mjs +1 -1
- package/dist/use-escape-keydown-BsJYLp1N.d.cts +8 -0
- package/dist/use-escape-keydown-BsJYLp1N.d.cts.map +1 -0
- package/dist/use-escape-keydown-CFy25Wk6.mjs +2 -0
- package/dist/use-escape-keydown-CFy25Wk6.mjs.map +1 -0
- package/dist/use-escape-keydown-DgPvPpzz.d.mts +8 -0
- package/dist/use-escape-keydown-DgPvPpzz.d.mts.map +1 -0
- package/dist/use-escape-keydown-ITaT9SqI.cjs +1 -0
- package/dist/use-escape-keydown.cjs +1 -19
- package/dist/use-escape-keydown.d.cts +2 -0
- package/dist/use-escape-keydown.d.mts +2 -0
- package/dist/use-escape-keydown.mjs +1 -1
- package/dist/use-event-CBTGhPhg.mjs +2 -0
- package/dist/use-event-CBTGhPhg.mjs.map +1 -0
- package/dist/use-event-DG39UVbo.cjs +1 -0
- package/dist/{use-event.d.ts → use-event-DHFCg8sl.d.cts} +5 -2
- package/dist/use-event-DHFCg8sl.d.cts.map +1 -0
- package/dist/use-event-DQyUWk4T.d.mts +12 -0
- package/dist/use-event-DQyUWk4T.d.mts.map +1 -0
- package/dist/use-event.cjs +1 -20
- package/dist/use-event.d.cts +2 -0
- package/dist/use-event.d.mts +2 -0
- package/dist/use-event.mjs +1 -1
- package/dist/{use-hover.d.ts → use-hover-CPJ3UcMM.d.mts} +5 -1
- package/dist/use-hover-CPJ3UcMM.d.mts.map +1 -0
- package/dist/use-hover-DCP1g7QG.mjs +2 -0
- package/dist/use-hover-DCP1g7QG.mjs.map +1 -0
- package/dist/use-hover-DeFTY9RX.d.cts +10 -0
- package/dist/use-hover-DeFTY9RX.d.cts.map +1 -0
- package/dist/use-hover-SNRrnUoI.cjs +1 -0
- package/dist/use-hover.cjs +1 -21
- package/dist/use-hover.d.cts +2 -0
- package/dist/use-hover.d.mts +2 -0
- package/dist/use-hover.mjs +1 -1
- package/dist/{use-idle.d.ts → use-idle-Car_0ThE.d.cts} +5 -1
- package/dist/use-idle-Car_0ThE.d.cts.map +1 -0
- package/dist/use-idle-CrCoMyLz.cjs +1 -0
- package/dist/use-idle-DrgoS1jh.mjs +2 -0
- package/dist/use-idle-DrgoS1jh.mjs.map +1 -0
- package/dist/use-idle-DwhHMDDp.d.mts +11 -0
- package/dist/use-idle-DwhHMDDp.d.mts.map +1 -0
- package/dist/use-idle.cjs +1 -27
- package/dist/use-idle.d.cts +2 -0
- package/dist/use-idle.d.mts +2 -0
- package/dist/use-idle.mjs +1 -1
- package/dist/use-isomorphic-layout-effect-Br2hUBEM.cjs +1 -0
- package/dist/use-isomorphic-layout-effect-CwRlvm9E.d.cts +13 -0
- package/dist/use-isomorphic-layout-effect-CwRlvm9E.d.cts.map +1 -0
- package/dist/use-isomorphic-layout-effect-D7uazny2.mjs +2 -0
- package/dist/use-isomorphic-layout-effect-D7uazny2.mjs.map +1 -0
- package/dist/use-isomorphic-layout-effect-IWX2e-IS.d.mts +13 -0
- package/dist/use-isomorphic-layout-effect-IWX2e-IS.d.mts.map +1 -0
- package/dist/use-isomorphic-layout-effect.cjs +1 -9
- package/dist/use-isomorphic-layout-effect.d.cts +2 -0
- package/dist/use-isomorphic-layout-effect.d.mts +2 -0
- package/dist/use-isomorphic-layout-effect.mjs +1 -1
- package/dist/use-keyboard-visible-83MQ2ogF.mjs +2 -0
- package/dist/use-keyboard-visible-83MQ2ogF.mjs.map +1 -0
- package/dist/use-keyboard-visible-BHYBoMGb.cjs +1 -0
- package/dist/use-keyboard-visible-BPIMSGQ1.d.cts +5 -0
- package/dist/use-keyboard-visible-BPIMSGQ1.d.cts.map +1 -0
- package/dist/use-keyboard-visible-iH9veUTt.d.mts +5 -0
- package/dist/use-keyboard-visible-iH9veUTt.d.mts.map +1 -0
- package/dist/use-keyboard-visible.cjs +1 -23
- package/dist/use-keyboard-visible.d.cts +2 -0
- package/dist/use-keyboard-visible.d.mts +2 -0
- package/dist/use-keyboard-visible.mjs +1 -1
- package/dist/{use-memo-stable.d.ts → use-memo-stable-Aqx3eZTS.d.mts} +5 -1
- package/dist/use-memo-stable-Aqx3eZTS.d.mts.map +1 -0
- package/dist/use-memo-stable-DKI3Fj07.mjs +2 -0
- package/dist/use-memo-stable-DKI3Fj07.mjs.map +1 -0
- package/dist/use-memo-stable-DKW_L41q.cjs +1 -0
- package/dist/{use-callback-stable.d.ts → use-memo-stable-i9UN2iWi.d.cts} +7 -7
- package/dist/use-memo-stable-i9UN2iWi.d.cts.map +1 -0
- package/dist/use-memo-stable.cjs +1 -28
- package/dist/use-memo-stable.d.cts +2 -0
- package/dist/use-memo-stable.d.mts +2 -0
- package/dist/use-memo-stable.mjs +1 -1
- package/dist/use-network-state-Bce55hBv.cjs +1 -0
- package/dist/use-network-state-CtGu_gfo.mjs +2 -0
- package/dist/use-network-state-CtGu_gfo.mjs.map +1 -0
- package/dist/use-network-state-DPhNT5_N.d.mts +20 -0
- package/dist/use-network-state-DPhNT5_N.d.mts.map +1 -0
- package/dist/use-network-state-DQegmILl.d.cts +20 -0
- package/dist/use-network-state-DQegmILl.d.cts.map +1 -0
- package/dist/use-network-state.cjs +1 -44
- package/dist/use-network-state.d.cts +2 -0
- package/dist/use-network-state.d.mts +2 -0
- package/dist/use-network-state.mjs +1 -1
- package/dist/use-previous-BNZSuZUn.cjs +1 -0
- package/dist/use-previous-BvOs-yn-.d.cts +5 -0
- package/dist/use-previous-BvOs-yn-.d.cts.map +1 -0
- package/dist/use-previous-ChmuSO8b.d.mts +5 -0
- package/dist/use-previous-ChmuSO8b.d.mts.map +1 -0
- package/dist/use-previous-vtWmTmEN.mjs +2 -0
- package/dist/use-previous-vtWmTmEN.mjs.map +1 -0
- package/dist/use-previous.cjs +1 -14
- package/dist/use-previous.d.cts +2 -0
- package/dist/use-previous.d.mts +2 -0
- package/dist/use-previous.mjs +1 -1
- package/package.json +79 -309
- package/dist/index.d.ts +0 -25
- package/dist/use-battery.d.ts +0 -4
- package/dist/use-callback-ref.d.ts +0 -5
- package/dist/use-click-away.d.ts +0 -7
- package/dist/use-copy-to-clipboard.d.ts +0 -6
- package/dist/use-debounce.d.ts +0 -9
- package/dist/use-did-finish-ssr.d.ts +0 -7
- package/dist/use-escape-keydown.d.ts +0 -4
- package/dist/use-isomorphic-layout-effect.d.ts +0 -7
- package/dist/use-keyboard-visible.d.ts +0 -1
- package/dist/use-network-state.d.ts +0 -13
- package/dist/use-previous.d.ts +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Changelog for Stryke - Hooks
|
|
4
|
+
|
|
5
|
+
## [0.4.31](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.31) (12/07/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **hooks:** Added missing configuration file from `tsconfig.json`
|
|
10
|
+
([f83e71d](https://github.com/storm-software/stryke/commit/f83e71d))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **type-checks** to **v0.5.5**
|
|
15
|
+
- Updated **helpers** to **v0.9.22**
|
|
16
|
+
- Updated **types** to **v0.10.19**
|
|
17
|
+
- Updated **env** to **v0.20.33**
|
|
18
|
+
|
|
19
|
+
## [0.4.30](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.30) (12/07/2025)
|
|
20
|
+
|
|
21
|
+
### Updated Dependencies
|
|
22
|
+
|
|
23
|
+
- Updated **type-checks** to **v0.5.4**
|
|
24
|
+
- Updated **helpers** to **v0.9.21**
|
|
25
|
+
- Updated **types** to **v0.10.18**
|
|
26
|
+
- Updated **env** to **v0.20.32**
|
|
27
|
+
|
|
28
|
+
## [0.4.29](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.29) (12/07/2025)
|
|
29
|
+
|
|
30
|
+
### Miscellaneous
|
|
31
|
+
|
|
32
|
+
- **monorepo:** Format monorepo source files
|
|
33
|
+
([9428936](https://github.com/storm-software/stryke/commit/9428936))
|
|
34
|
+
|
|
35
|
+
### Updated Dependencies
|
|
36
|
+
|
|
37
|
+
- Updated **type-checks** to **v0.5.3**
|
|
38
|
+
- Updated **helpers** to **v0.9.20**
|
|
39
|
+
- Updated **types** to **v0.10.17**
|
|
40
|
+
- Updated **env** to **v0.20.31**
|
|
41
|
+
|
|
42
|
+
## [0.4.28](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.28) (12/06/2025)
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- **tools-nx:** Resolved issue inferring build command-line arguments for local
|
|
47
|
+
packages ([de00278](https://github.com/storm-software/stryke/commit/de00278))
|
|
48
|
+
|
|
49
|
+
### Updated Dependencies
|
|
50
|
+
|
|
51
|
+
- Updated **type-checks** to **v0.5.2**
|
|
52
|
+
- Updated **helpers** to **v0.9.19**
|
|
53
|
+
- Updated **types** to **v0.10.16**
|
|
54
|
+
- Updated **env** to **v0.20.30**
|
|
55
|
+
|
|
56
|
+
## [0.4.27](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.27) (12/06/2025)
|
|
57
|
+
|
|
58
|
+
### Updated Dependencies
|
|
59
|
+
|
|
60
|
+
- Updated **type-checks** to **v0.5.1**
|
|
61
|
+
- Updated **helpers** to **v0.9.18**
|
|
62
|
+
- Updated **types** to **v0.10.15**
|
|
63
|
+
- Updated **env** to **v0.20.29**
|
|
64
|
+
|
|
65
|
+
## [0.4.26](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.26) (12/05/2025)
|
|
66
|
+
|
|
67
|
+
### Updated Dependencies
|
|
68
|
+
|
|
69
|
+
- Updated **type-checks** to **v0.5.0**
|
|
70
|
+
- Updated **helpers** to **v0.9.17**
|
|
71
|
+
- Updated **env** to **v0.20.28**
|
|
72
|
+
|
|
73
|
+
## [0.4.25](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.25) (12/05/2025)
|
|
74
|
+
|
|
75
|
+
### Features
|
|
76
|
+
|
|
77
|
+
- **monorepo:** Update repository to use `tsdown` to build/bundle packages
|
|
78
|
+
([8ceb909](https://github.com/storm-software/stryke/commit/8ceb909))
|
|
79
|
+
|
|
80
|
+
### Updated Dependencies
|
|
81
|
+
|
|
82
|
+
- Updated **type-checks** to **v0.4.5**
|
|
83
|
+
- Updated **helpers** to **v0.9.16**
|
|
84
|
+
- Updated **types** to **v0.10.14**
|
|
85
|
+
- Updated **env** to **v0.20.27**
|
|
86
|
+
|
|
87
|
+
## [0.4.24](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.24) (12/01/2025)
|
|
88
|
+
|
|
89
|
+
### Updated Dependencies
|
|
90
|
+
|
|
91
|
+
- Updated **type-checks** to **v0.4.4**
|
|
92
|
+
- Updated **helpers** to **v0.9.15**
|
|
93
|
+
- Updated **types** to **v0.10.13**
|
|
94
|
+
- Updated **env** to **v0.20.26**
|
|
95
|
+
|
|
96
|
+
## [0.4.23](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.23) (11/30/2025)
|
|
97
|
+
|
|
98
|
+
### Updated Dependencies
|
|
99
|
+
|
|
100
|
+
- Updated **type-checks** to **v0.4.3**
|
|
101
|
+
- Updated **helpers** to **v0.9.14**
|
|
102
|
+
- Updated **types** to **v0.10.12**
|
|
103
|
+
- Updated **env** to **v0.20.25**
|
|
104
|
+
|
|
105
|
+
## [0.4.22](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.22) (11/30/2025)
|
|
106
|
+
|
|
107
|
+
### Updated Dependencies
|
|
108
|
+
|
|
109
|
+
- Updated **type-checks** to **v0.4.2**
|
|
110
|
+
- Updated **helpers** to **v0.9.13**
|
|
111
|
+
- Updated **types** to **v0.10.11**
|
|
112
|
+
- Updated **env** to **v0.20.24**
|
|
113
|
+
|
|
114
|
+
## [0.4.21](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.21) (11/30/2025)
|
|
115
|
+
|
|
116
|
+
### Updated Dependencies
|
|
117
|
+
|
|
118
|
+
- Updated **type-checks** to **v0.4.1**
|
|
119
|
+
- Updated **helpers** to **v0.9.12**
|
|
120
|
+
- Updated **types** to **v0.10.10**
|
|
121
|
+
- Updated **env** to **v0.20.23**
|
|
122
|
+
|
|
123
|
+
## [0.4.20](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.20) (11/30/2025)
|
|
124
|
+
|
|
125
|
+
### Updated Dependencies
|
|
126
|
+
|
|
127
|
+
- Updated **type-checks** to **v0.4.0**
|
|
128
|
+
- Updated **helpers** to **v0.9.11**
|
|
129
|
+
- Updated **types** to **v0.10.9**
|
|
130
|
+
- Updated **env** to **v0.20.22**
|
|
131
|
+
|
|
132
|
+
## [0.4.19](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.19) (11/24/2025)
|
|
133
|
+
|
|
134
|
+
### Updated Dependencies
|
|
135
|
+
|
|
136
|
+
- Updated **type-checks** to **v0.3.18**
|
|
137
|
+
- Updated **helpers** to **v0.9.10**
|
|
138
|
+
- Updated **types** to **v0.10.8**
|
|
139
|
+
- Updated **env** to **v0.20.21**
|
|
140
|
+
|
|
141
|
+
## [0.4.18](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.18) (11/21/2025)
|
|
142
|
+
|
|
143
|
+
### Updated Dependencies
|
|
144
|
+
|
|
145
|
+
- Updated **type-checks** to **v0.3.17**
|
|
146
|
+
- Updated **helpers** to **v0.9.9**
|
|
147
|
+
- Updated **types** to **v0.10.7**
|
|
148
|
+
- Updated **env** to **v0.20.20**
|
|
149
|
+
|
|
150
|
+
## [0.4.17](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.17) (11/21/2025)
|
|
151
|
+
|
|
152
|
+
### Updated Dependencies
|
|
153
|
+
|
|
154
|
+
- Updated **type-checks** to **v0.3.16**
|
|
155
|
+
- Updated **helpers** to **v0.9.8**
|
|
156
|
+
- Updated **types** to **v0.10.6**
|
|
157
|
+
- Updated **env** to **v0.20.19**
|
|
158
|
+
|
|
159
|
+
## [0.4.16](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.16) (11/21/2025)
|
|
160
|
+
|
|
161
|
+
### Updated Dependencies
|
|
162
|
+
|
|
163
|
+
- Updated **env** to **v0.20.18**
|
|
164
|
+
|
|
165
|
+
## [0.4.15](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.15) (11/21/2025)
|
|
166
|
+
|
|
167
|
+
### Updated Dependencies
|
|
168
|
+
|
|
169
|
+
- Updated **type-checks** to **v0.3.15**
|
|
170
|
+
- Updated **helpers** to **v0.9.7**
|
|
171
|
+
- Updated **types** to **v0.10.5**
|
|
172
|
+
- Updated **env** to **v0.20.17**
|
|
173
|
+
|
|
174
|
+
## [0.4.14](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.14) (11/21/2025)
|
|
175
|
+
|
|
176
|
+
### Updated Dependencies
|
|
177
|
+
|
|
178
|
+
- Updated **type-checks** to **v0.3.14**
|
|
179
|
+
- Updated **helpers** to **v0.9.6**
|
|
180
|
+
- Updated **types** to **v0.10.4**
|
|
181
|
+
- Updated **env** to **v0.20.16**
|
|
182
|
+
|
|
183
|
+
## [0.4.13](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.13) (11/21/2025)
|
|
184
|
+
|
|
185
|
+
### Updated Dependencies
|
|
186
|
+
|
|
187
|
+
- Updated **type-checks** to **v0.3.13**
|
|
188
|
+
- Updated **helpers** to **v0.9.5**
|
|
189
|
+
- Updated **types** to **v0.10.3**
|
|
190
|
+
- Updated **env** to **v0.20.15**
|
|
191
|
+
|
|
192
|
+
## [0.4.12](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.12) (11/16/2025)
|
|
193
|
+
|
|
194
|
+
### Updated Dependencies
|
|
195
|
+
|
|
196
|
+
- Updated **env** to **v0.20.14**
|
|
197
|
+
|
|
198
|
+
## [0.4.11](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.11) (11/16/2025)
|
|
199
|
+
|
|
200
|
+
### Updated Dependencies
|
|
201
|
+
|
|
202
|
+
- Updated **type-checks** to **v0.3.12**
|
|
203
|
+
- Updated **helpers** to **v0.9.4**
|
|
204
|
+
- Updated **types** to **v0.10.2**
|
|
205
|
+
- Updated **env** to **v0.20.13**
|
|
206
|
+
|
|
207
|
+
## [0.4.10](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.10) (11/08/2025)
|
|
208
|
+
|
|
209
|
+
### Updated Dependencies
|
|
210
|
+
|
|
211
|
+
- Updated **type-checks** to **v0.3.11**
|
|
212
|
+
- Updated **helpers** to **v0.9.3**
|
|
213
|
+
- Updated **types** to **v0.10.1**
|
|
214
|
+
- Updated **env** to **v0.20.12**
|
|
215
|
+
|
|
216
|
+

|
|
217
|
+
|
|
218
|
+
# Changelog for Stryke - Hooks
|
|
219
|
+
|
|
220
|
+
## [0.4.9](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.9) (2025-08-04)
|
|
221
|
+
|
|
222
|
+
### Bug Fixes
|
|
223
|
+
|
|
224
|
+
- **monorepo:** Resolved repository type-check failures
|
|
225
|
+
([d196ace](https://github.com/storm-software/stryke/commit/d196ace))
|
|
226
|
+
|
|
227
|
+
## [0.4.8](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.8) (2025-06-17)
|
|
228
|
+
|
|
229
|
+
### Miscellaneous
|
|
230
|
+
|
|
231
|
+
- **monorepo:** Reformat repository packages
|
|
232
|
+
|
|
233
|
+
## [0.4.7](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.7) (2025-06-12)
|
|
234
|
+
|
|
235
|
+
### Miscellaneous
|
|
236
|
+
|
|
237
|
+
- **monorepo:** Reformat the repository's README markdown files
|
|
238
|
+
- **monorepo:** Run format script on repository
|
|
239
|
+
|
|
240
|
+
## [0.4.6](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.6) (2025-05-12)
|
|
241
|
+
|
|
242
|
+
### Miscellaneous
|
|
243
|
+
|
|
244
|
+
- **monorepo:** Reformat monorepo source code
|
|
245
|
+
|
|
246
|
+
## [0.4.5](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.5) (2025-04-10)
|
|
247
|
+
|
|
248
|
+
### Miscellaneous
|
|
249
|
+
|
|
250
|
+
- **monorepo:** Format the repository's files
|
|
251
|
+
([1384f3e](https://github.com/storm-software/stryke/commit/1384f3e))
|
|
252
|
+
|
|
253
|
+
## [0.4.4](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.4) (2025-03-28)
|
|
254
|
+
|
|
255
|
+
### Miscellaneous
|
|
256
|
+
|
|
257
|
+
- **monorepo:** Reformat the source files in repository
|
|
258
|
+
([bb8df2c](https://github.com/storm-software/stryke/commit/bb8df2c))
|
|
259
|
+
|
|
260
|
+
## [0.4.3](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.3) (2025-03-23)
|
|
261
|
+
|
|
262
|
+
### Bug Fixes
|
|
263
|
+
|
|
264
|
+
- **monorepo:** Resolve issue with TypeScript compilation
|
|
265
|
+
([72e995f](https://github.com/storm-software/stryke/commit/72e995f))
|
|
266
|
+
|
|
267
|
+
## [0.4.2](https://github.com/storm-software/stryke/releases/tag/hooks%400.4.2) (2025-03-23)
|
|
268
|
+
|
|
269
|
+
### Miscellaneous
|
|
270
|
+
|
|
271
|
+
- **monorepo:** Update base storm software packages
|
|
272
|
+
([8942201](https://github.com/storm-software/stryke/commit/8942201))
|
|
273
|
+
|
|
274
|
+
## 0.4.1 (2025-03-13)
|
|
275
|
+
|
|
276
|
+
### Miscellaneous
|
|
277
|
+
|
|
278
|
+
- **monorepo:** Format monorepo project files
|
|
279
|
+
([f28fdbe](https://github.com/storm-software/stryke/commit/f28fdbe))
|
|
280
|
+
|
|
281
|
+
## 0.4.0 (2025-03-13)
|
|
282
|
+
|
|
283
|
+
### Features
|
|
284
|
+
|
|
285
|
+
- **monorepo:** Split `types` project into `type-checks` and `convert` packages
|
|
286
|
+
([fcc5832](https://github.com/storm-software/stryke/commit/fcc5832))
|
|
287
|
+
|
|
288
|
+
## 0.3.2 (2025-03-13)
|
|
289
|
+
|
|
290
|
+
### Miscellaneous
|
|
291
|
+
|
|
292
|
+
- **monorepo:** Reformat monorepo package files
|
|
293
|
+
([a453428](https://github.com/storm-software/stryke/commit/a453428))
|
|
294
|
+
|
|
295
|
+
## 0.3.1 (2025-02-26)
|
|
296
|
+
|
|
297
|
+
### Miscellaneous
|
|
298
|
+
|
|
299
|
+
- **monorepo:** Reformat monorepo files with `prettier`
|
|
300
|
+
([b5d0302](https://github.com/storm-software/stryke/commit/b5d0302))
|
|
301
|
+
|
|
302
|
+
## 0.3.0 (2025-02-23)
|
|
303
|
+
|
|
304
|
+
### Features
|
|
305
|
+
|
|
306
|
+
- **monorepo:** Update base ESLint packages and run on files
|
|
307
|
+
([c59cb8e](https://github.com/storm-software/stryke/commit/c59cb8e))
|
|
308
|
+
|
|
309
|
+
## 0.2.2 (2025-02-17)
|
|
310
|
+
|
|
311
|
+
### Miscellaneous
|
|
312
|
+
|
|
313
|
+
- **monorepo:** Reformat monorepo files
|
|
314
|
+
([1db5e06](https://github.com/storm-software/stryke/commit/1db5e06))
|
|
315
|
+
|
|
316
|
+
## 0.2.1 (2025-02-15)
|
|
317
|
+
|
|
318
|
+
### Miscellaneous
|
|
319
|
+
|
|
320
|
+
- **monorepo:** Reformat monorepo files
|
|
321
|
+
([69ed6b7](https://github.com/storm-software/stryke/commit/69ed6b7))
|
|
322
|
+
|
|
323
|
+
## 0.2.0 (2025-02-15)
|
|
324
|
+
|
|
325
|
+
### Features
|
|
326
|
+
|
|
327
|
+
- **helpers:** Added the `deepCopy` helper function
|
|
328
|
+
([76b0179](https://github.com/storm-software/stryke/commit/76b0179))
|
|
329
|
+
|
|
330
|
+
## 0.1.4 (2025-02-15)
|
|
331
|
+
|
|
332
|
+
### Miscellaneous
|
|
333
|
+
|
|
334
|
+
- **monorepo:** Reformat workspace files
|
|
335
|
+
([ad2d6a9](https://github.com/storm-software/stryke/commit/ad2d6a9))
|
|
336
|
+
|
|
337
|
+
## 0.1.3 (2025-02-10)
|
|
338
|
+
|
|
339
|
+
### Miscellaneous
|
|
340
|
+
|
|
341
|
+
- **monorepo:** Update versions for unpublished monorepo packages
|
|
342
|
+
([4abef50](https://github.com/storm-software/stryke/commit/4abef50))
|
|
343
|
+
|
|
344
|
+
## 0.1.2 (2025-02-09)
|
|
345
|
+
|
|
346
|
+
### Miscellaneous
|
|
347
|
+
|
|
348
|
+
- **monorepo:** Regenerate repository markdown files
|
|
349
|
+
([e61e39e](https://github.com/storm-software/stryke/commit/e61e39e))
|
|
350
|
+
|
|
351
|
+
## 0.1.1 (2025-02-08)
|
|
352
|
+
|
|
353
|
+
### Miscellaneous
|
|
354
|
+
|
|
355
|
+
- **monorepo:** update auto-merge non-major dependencies
|
|
356
|
+
([#5](https://github.com/storm-software/stryke/pull/5))
|
package/README.md
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"
|
|
6
|
+
<div align="center">
|
|
7
|
+
<picture>
|
|
8
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif">
|
|
9
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-light-optimized.gif">
|
|
10
|
+
<img src="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif" width="100%" alt="Storm Software" />
|
|
11
|
+
</picture>
|
|
12
|
+
</div>
|
|
7
13
|
<br />
|
|
8
14
|
|
|
9
15
|
<div align="center">
|
|
@@ -16,13 +22,13 @@
|
|
|
16
22
|
</div>
|
|
17
23
|
|
|
18
24
|
<br />
|
|
19
|
-
This package is part of Storm Software's
|
|
25
|
+
This package is part of Storm Software's **💥 Stryke** monorepo. Stryke packages TypeScript utility packages with shared functionality common to many Storm Software applications.
|
|
20
26
|
|
|
21
27
|
<br />
|
|
22
28
|
|
|
23
29
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
24
30
|
|
|
25
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
26
32
|
|
|
27
33
|
> [!IMPORTANT] Important
|
|
28
34
|
> This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
|
|
@@ -45,7 +51,6 @@ A package containing shared hooks that can be used in any React UI project
|
|
|
45
51
|
|
|
46
52
|
<!-- START doctoc -->
|
|
47
53
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
48
|
-
|
|
49
54
|
## Table of Contents
|
|
50
55
|
|
|
51
56
|
- [Installing](#installing)
|
|
@@ -92,10 +97,10 @@ yarn add -D @stryke/hooks
|
|
|
92
97
|
|
|
93
98
|
## Reduced Package Size
|
|
94
99
|
|
|
95
|
-
This project uses [
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
This project uses [tsdown](https://tsdown.dev) to package the source code due to
|
|
101
|
+
its ability to remove unused code and ship smaller javascript files thanks to
|
|
102
|
+
code splitting. This helps to greatly reduce the size of the package and to make
|
|
103
|
+
it easier to use in other projects.
|
|
99
104
|
|
|
100
105
|
## Development
|
|
101
106
|
|
|
@@ -236,10 +241,13 @@ specification. Contributions of any kind welcome!
|
|
|
236
241
|
<br />
|
|
237
242
|
|
|
238
243
|
<hr />
|
|
239
|
-
<br />
|
|
240
244
|
|
|
241
245
|
<div align="center">
|
|
242
|
-
<
|
|
246
|
+
<picture>
|
|
247
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-dark-optimized.webp">
|
|
248
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-light-optimized.webp">
|
|
249
|
+
<img src="https://public.storm-cdn.com/storm-software/banner-1280x320-dark-optimized.webp" width="100%" alt="Storm Software" />
|
|
250
|
+
</picture>
|
|
243
251
|
</div>
|
|
244
252
|
<br />
|
|
245
253
|
|
package/dist/index.cjs
CHANGED
|
@@ -1,192 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _useBattery = require("./use-battery.cjs");
|
|
7
|
-
Object.keys(_useBattery).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _useBattery[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _useBattery[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _useCallbackRef = require("./use-callback-ref.cjs");
|
|
18
|
-
Object.keys(_useCallbackRef).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _useCallbackRef[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _useCallbackRef[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _useCallbackStable = require("./use-callback-stable.cjs");
|
|
29
|
-
Object.keys(_useCallbackStable).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _useCallbackStable[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return _useCallbackStable[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _useClickAway = require("./use-click-away.cjs");
|
|
40
|
-
Object.keys(_useClickAway).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _useClickAway[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _useClickAway[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
var _useComposeRefs = require("./use-compose-refs.cjs");
|
|
51
|
-
Object.keys(_useComposeRefs).forEach(function (key) {
|
|
52
|
-
if (key === "default" || key === "__esModule") return;
|
|
53
|
-
if (key in exports && exports[key] === _useComposeRefs[key]) return;
|
|
54
|
-
Object.defineProperty(exports, key, {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _useComposeRefs[key];
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
var _useCopyToClipboard = require("./use-copy-to-clipboard.cjs");
|
|
62
|
-
Object.keys(_useCopyToClipboard).forEach(function (key) {
|
|
63
|
-
if (key === "default" || key === "__esModule") return;
|
|
64
|
-
if (key in exports && exports[key] === _useCopyToClipboard[key]) return;
|
|
65
|
-
Object.defineProperty(exports, key, {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () {
|
|
68
|
-
return _useCopyToClipboard[key];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
var _useDebounce = require("./use-debounce.cjs");
|
|
73
|
-
Object.keys(_useDebounce).forEach(function (key) {
|
|
74
|
-
if (key === "default" || key === "__esModule") return;
|
|
75
|
-
if (key in exports && exports[key] === _useDebounce[key]) return;
|
|
76
|
-
Object.defineProperty(exports, key, {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () {
|
|
79
|
-
return _useDebounce[key];
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
var _useDidFinishSsr = require("./use-did-finish-ssr.cjs");
|
|
84
|
-
Object.keys(_useDidFinishSsr).forEach(function (key) {
|
|
85
|
-
if (key === "default" || key === "__esModule") return;
|
|
86
|
-
if (key in exports && exports[key] === _useDidFinishSsr[key]) return;
|
|
87
|
-
Object.defineProperty(exports, key, {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () {
|
|
90
|
-
return _useDidFinishSsr[key];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
var _useEscapeKeydown = require("./use-escape-keydown.cjs");
|
|
95
|
-
Object.keys(_useEscapeKeydown).forEach(function (key) {
|
|
96
|
-
if (key === "default" || key === "__esModule") return;
|
|
97
|
-
if (key in exports && exports[key] === _useEscapeKeydown[key]) return;
|
|
98
|
-
Object.defineProperty(exports, key, {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () {
|
|
101
|
-
return _useEscapeKeydown[key];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
var _useEvent = require("./use-event.cjs");
|
|
106
|
-
Object.keys(_useEvent).forEach(function (key) {
|
|
107
|
-
if (key === "default" || key === "__esModule") return;
|
|
108
|
-
if (key in exports && exports[key] === _useEvent[key]) return;
|
|
109
|
-
Object.defineProperty(exports, key, {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function () {
|
|
112
|
-
return _useEvent[key];
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
var _useHover = require("./use-hover.cjs");
|
|
117
|
-
Object.keys(_useHover).forEach(function (key) {
|
|
118
|
-
if (key === "default" || key === "__esModule") return;
|
|
119
|
-
if (key in exports && exports[key] === _useHover[key]) return;
|
|
120
|
-
Object.defineProperty(exports, key, {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _useHover[key];
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
var _useIdle = require("./use-idle.cjs");
|
|
128
|
-
Object.keys(_useIdle).forEach(function (key) {
|
|
129
|
-
if (key === "default" || key === "__esModule") return;
|
|
130
|
-
if (key in exports && exports[key] === _useIdle[key]) return;
|
|
131
|
-
Object.defineProperty(exports, key, {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () {
|
|
134
|
-
return _useIdle[key];
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
var _useIsomorphicLayoutEffect = require("./use-isomorphic-layout-effect.cjs");
|
|
139
|
-
Object.keys(_useIsomorphicLayoutEffect).forEach(function (key) {
|
|
140
|
-
if (key === "default" || key === "__esModule") return;
|
|
141
|
-
if (key in exports && exports[key] === _useIsomorphicLayoutEffect[key]) return;
|
|
142
|
-
Object.defineProperty(exports, key, {
|
|
143
|
-
enumerable: true,
|
|
144
|
-
get: function () {
|
|
145
|
-
return _useIsomorphicLayoutEffect[key];
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
var _useKeyboardVisible = require("./use-keyboard-visible.cjs");
|
|
150
|
-
Object.keys(_useKeyboardVisible).forEach(function (key) {
|
|
151
|
-
if (key === "default" || key === "__esModule") return;
|
|
152
|
-
if (key in exports && exports[key] === _useKeyboardVisible[key]) return;
|
|
153
|
-
Object.defineProperty(exports, key, {
|
|
154
|
-
enumerable: true,
|
|
155
|
-
get: function () {
|
|
156
|
-
return _useKeyboardVisible[key];
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
var _useMemoStable = require("./use-memo-stable.cjs");
|
|
161
|
-
Object.keys(_useMemoStable).forEach(function (key) {
|
|
162
|
-
if (key === "default" || key === "__esModule") return;
|
|
163
|
-
if (key in exports && exports[key] === _useMemoStable[key]) return;
|
|
164
|
-
Object.defineProperty(exports, key, {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function () {
|
|
167
|
-
return _useMemoStable[key];
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
var _useNetworkState = require("./use-network-state.cjs");
|
|
172
|
-
Object.keys(_useNetworkState).forEach(function (key) {
|
|
173
|
-
if (key === "default" || key === "__esModule") return;
|
|
174
|
-
if (key in exports && exports[key] === _useNetworkState[key]) return;
|
|
175
|
-
Object.defineProperty(exports, key, {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () {
|
|
178
|
-
return _useNetworkState[key];
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
var _usePrevious = require("./use-previous.cjs");
|
|
183
|
-
Object.keys(_usePrevious).forEach(function (key) {
|
|
184
|
-
if (key === "default" || key === "__esModule") return;
|
|
185
|
-
if (key in exports && exports[key] === _usePrevious[key]) return;
|
|
186
|
-
Object.defineProperty(exports, key, {
|
|
187
|
-
enumerable: true,
|
|
188
|
-
get: function () {
|
|
189
|
-
return _usePrevious[key];
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
});
|
|
1
|
+
const e=require(`./use-battery-DZZDx003.cjs`),t=require(`./use-callback-ref-CloM-Kqk.cjs`),n=require(`./use-memo-stable-DKW_L41q.cjs`),r=require(`./use-callback-stable-CvXmYtWT.cjs`),i=require(`./use-click-away-Bpl7sh5j.cjs`),a=require(`./use-compose-refs-BUwJN8zY.cjs`),o=require(`./use-copy-to-clipboard-DFTtZkv7.cjs`),s=require(`./use-debounce-DWeScEkQ.cjs`),c=require(`./use-did-finish-ssr-BbXffDj5.cjs`),l=require(`./use-escape-keydown-ITaT9SqI.cjs`),u=require(`./use-isomorphic-layout-effect-Br2hUBEM.cjs`),d=require(`./use-event-DG39UVbo.cjs`),f=require(`./use-hover-SNRrnUoI.cjs`),p=require(`./use-idle-CrCoMyLz.cjs`),m=require(`./use-keyboard-visible-BHYBoMGb.cjs`),h=require(`./use-network-state-Bce55hBv.cjs`),g=require(`./use-previous-BNZSuZUn.cjs`);exports.composeRefs=a.t,exports.setRef=a.n,exports.useBattery=e.t,exports.useCallbackRef=t.t,exports.useCallbackStable=r.t,exports.useClickAway=i.t,exports.useClientValue=c.t,exports.useComposedRefs=a.r,exports.useCopyToClipboard=o.t,exports.useDebounce=s.t,exports.useDebounceValue=s.n,exports.useDidFinishSSR=c.n,exports.useDidFinishSSRSync=c.r,exports.useEscapeKeydown=l.t,exports.useEvent=d.t,exports.useHover=f.t,exports.useIdle=p.t,exports.useIsomorphicLayoutEffect=u.t,exports.useKeyboardVisible=m.t,exports.useMemoStable=n.t,exports.useNetworkState=h.t,exports.useNetworkStateSubscribe=h.n,exports.usePrevious=g.t;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as useBattery } from "./use-battery-DpuF7GMz.cjs";
|
|
2
|
+
import { t as useCallbackRef } from "./use-callback-ref-ctiFnQn4.cjs";
|
|
3
|
+
import { t as useCallbackStable } from "./use-callback-stable-D_wCU4yv.cjs";
|
|
4
|
+
import { t as useClickAway } from "./use-click-away-DG8ULjSN.cjs";
|
|
5
|
+
import { n as setRef, r as useComposedRefs, t as composeRefs } from "./use-compose-refs-D1nHM35F.cjs";
|
|
6
|
+
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-DzccpceW.cjs";
|
|
7
|
+
import { n as useDebounceValue, t as useDebounce } from "./use-debounce-Bh6vyN-1.cjs";
|
|
8
|
+
import { n as useDidFinishSSR, r as useDidFinishSSRSync, t as useClientValue } from "./use-did-finish-ssr-D3CpAwOz.cjs";
|
|
9
|
+
import { t as useEscapeKeydown } from "./use-escape-keydown-BsJYLp1N.cjs";
|
|
10
|
+
import { t as useEvent } from "./use-event-DHFCg8sl.cjs";
|
|
11
|
+
import { t as useHover } from "./use-hover-DeFTY9RX.cjs";
|
|
12
|
+
import { t as useIdle } from "./use-idle-Car_0ThE.cjs";
|
|
13
|
+
import { t as useIsomorphicLayoutEffect } from "./use-isomorphic-layout-effect-CwRlvm9E.cjs";
|
|
14
|
+
import { t as useKeyboardVisible } from "./use-keyboard-visible-BPIMSGQ1.cjs";
|
|
15
|
+
import { t as useMemoStable } from "./use-memo-stable-i9UN2iWi.cjs";
|
|
16
|
+
import { n as useNetworkStateSubscribe, t as useNetworkState } from "./use-network-state-DQegmILl.cjs";
|
|
17
|
+
import { t as usePrevious } from "./use-previous-BvOs-yn-.cjs";
|
|
18
|
+
export { composeRefs, setRef, useBattery, useCallbackRef, useCallbackStable, useClickAway, useClientValue, useComposedRefs, useCopyToClipboard, useDebounce, useDebounceValue, useDidFinishSSR, useDidFinishSSRSync, useEscapeKeydown, useEvent, useHover, useIdle, useIsomorphicLayoutEffect, useKeyboardVisible, useMemoStable, useNetworkState, useNetworkStateSubscribe, usePrevious };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as useBattery } from "./use-battery-BkRIfbJz.mjs";
|
|
2
|
+
import { t as useCallbackRef } from "./use-callback-ref-B-95d49K.mjs";
|
|
3
|
+
import { t as useCallbackStable } from "./use-callback-stable-C5X8ySnU.mjs";
|
|
4
|
+
import { t as useClickAway } from "./use-click-away-kc61inYs.mjs";
|
|
5
|
+
import { n as setRef, r as useComposedRefs, t as composeRefs } from "./use-compose-refs-Dy3epP6l.mjs";
|
|
6
|
+
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-D3QmuRQ2.mjs";
|
|
7
|
+
import { n as useDebounceValue, t as useDebounce } from "./use-debounce-B07BBb1-.mjs";
|
|
8
|
+
import { n as useDidFinishSSR, r as useDidFinishSSRSync, t as useClientValue } from "./use-did-finish-ssr-CBz5xeHc.mjs";
|
|
9
|
+
import { t as useEscapeKeydown } from "./use-escape-keydown-DgPvPpzz.mjs";
|
|
10
|
+
import { t as useEvent } from "./use-event-DQyUWk4T.mjs";
|
|
11
|
+
import { t as useHover } from "./use-hover-CPJ3UcMM.mjs";
|
|
12
|
+
import { t as useIdle } from "./use-idle-DwhHMDDp.mjs";
|
|
13
|
+
import { t as useIsomorphicLayoutEffect } from "./use-isomorphic-layout-effect-IWX2e-IS.mjs";
|
|
14
|
+
import { t as useKeyboardVisible } from "./use-keyboard-visible-iH9veUTt.mjs";
|
|
15
|
+
import { t as useMemoStable } from "./use-memo-stable-Aqx3eZTS.mjs";
|
|
16
|
+
import { n as useNetworkStateSubscribe, t as useNetworkState } from "./use-network-state-DPhNT5_N.mjs";
|
|
17
|
+
import { t as usePrevious } from "./use-previous-ChmuSO8b.mjs";
|
|
18
|
+
export { composeRefs, setRef, useBattery, useCallbackRef, useCallbackStable, useClickAway, useClientValue, useComposedRefs, useCopyToClipboard, useDebounce, useDebounceValue, useDidFinishSSR, useDidFinishSSRSync, useEscapeKeydown, useEvent, useHover, useIdle, useIsomorphicLayoutEffect, useKeyboardVisible, useMemoStable, useNetworkState, useNetworkStateSubscribe, usePrevious };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{t as e}from"./use-battery-DaA7I4_x.mjs";import{t}from"./use-callback-ref-otlhGzUu.mjs";import{t as n}from"./use-memo-stable-DKI3Fj07.mjs";import{t as r}from"./use-callback-stable-C3QZzhdC.mjs";import{t as i}from"./use-click-away-D-DKaD9B.mjs";import{n as a,r as o,t as s}from"./use-compose-refs-BysZtFy1.mjs";import{t as c}from"./use-copy-to-clipboard-Cls03hBs.mjs";import{n as l,t as u}from"./use-debounce-Cto2Ny5z.mjs";import{n as d,r as f,t as p}from"./use-did-finish-ssr-B6M_wlP4.mjs";import{t as m}from"./use-escape-keydown-CFy25Wk6.mjs";import{t as h}from"./use-isomorphic-layout-effect-D7uazny2.mjs";import{t as g}from"./use-event-CBTGhPhg.mjs";import{t as _}from"./use-hover-DCP1g7QG.mjs";import{t as v}from"./use-idle-DrgoS1jh.mjs";import{t as y}from"./use-keyboard-visible-83MQ2ogF.mjs";import{n as b,t as x}from"./use-network-state-CtGu_gfo.mjs";import{t as S}from"./use-previous-vtWmTmEN.mjs";export{s as composeRefs,a as setRef,e as useBattery,t as useCallbackRef,r as useCallbackStable,i as useClickAway,p as useClientValue,o as useComposedRefs,c as useCopyToClipboard,u as useDebounce,l as useDebounceValue,d as useDidFinishSSR,f as useDidFinishSSRSync,m as useEscapeKeydown,g as useEvent,_ as useHover,v as useIdle,h as useIsomorphicLayoutEffect,y as useKeyboardVisible,n as useMemoStable,x as useNetworkState,b as useNetworkStateSubscribe,S as usePrevious};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e);function t(t){return e(t)===`[object Function]`}function n(t){return e(t)===`[object AsyncFunction]`}const r=e=>{try{return e instanceof Function||typeof e==`function`||!!(e?.constructor&&e?.call&&e?.apply)||t(e)||n(e)}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=e=>e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e);function t(t){return e(t)===`[object Function]`}function n(t){return e(t)===`[object AsyncFunction]`}const r=e=>{try{return e instanceof Function||typeof e==`function`||!!(e?.constructor&&e?.call&&e?.apply)||t(e)||n(e)}catch{return!1}};export{r as t};
|
|
2
|
+
//# sourceMappingURL=is-function-md4Ym3I0.mjs.map
|