@websolutespa/bom-mixer-hooks 1.7.2 → 1.7.4
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,115 +1,131 @@
|
|
|
1
|
-
# @websolutespa/bom-mixer-hooks
|
|
2
|
-
|
|
3
|
-
## 1.7.
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
- Updated dependencies
|
|
9
|
-
- @websolutespa/bom-mixer-models@1.7.
|
|
10
|
-
- @websolutespa/bom-mixer-store@1.7.
|
|
11
|
-
- @websolutespa/bom-core@1.7.
|
|
12
|
-
|
|
13
|
-
## 1.7.
|
|
14
|
-
|
|
15
|
-
### Patch Changes
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
## 1.7.
|
|
20
|
-
|
|
21
|
-
###
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
- Updated dependencies
|
|
25
|
-
- @websolutespa/bom-mixer-models@1.7.
|
|
26
|
-
- @websolutespa/bom-mixer-store@1.7.
|
|
27
|
-
- @websolutespa/bom-core@1.7.
|
|
28
|
-
|
|
29
|
-
## 1.
|
|
30
|
-
|
|
31
|
-
### Patch Changes
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
## 1.
|
|
56
|
-
|
|
57
|
-
###
|
|
58
|
-
|
|
59
|
-
- Added:
|
|
60
|
-
- Modified:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
1
|
+
# @websolutespa/bom-mixer-hooks
|
|
2
|
+
|
|
3
|
+
## 1.7.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixing: downgrading eslint to v8.56.0
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @websolutespa/bom-mixer-models@1.7.6
|
|
10
|
+
- @websolutespa/bom-mixer-store@1.7.5
|
|
11
|
+
- @websolutespa/bom-core@1.7.8
|
|
12
|
+
|
|
13
|
+
## 1.7.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Modified: useIntersectionObserver
|
|
18
|
+
|
|
19
|
+
## 1.7.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updating: dependencies
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
- @websolutespa/bom-mixer-models@1.7.2
|
|
26
|
+
- @websolutespa/bom-mixer-store@1.7.3
|
|
27
|
+
- @websolutespa/bom-core@1.7.3
|
|
28
|
+
|
|
29
|
+
## 1.7.1
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- aa41666: Added: useIntersectionObserver
|
|
34
|
+
|
|
35
|
+
## 1.7.0
|
|
36
|
+
|
|
37
|
+
### Minor Changes
|
|
38
|
+
|
|
39
|
+
- 28e86bd: Modified: IPage, Store services & decorators
|
|
40
|
+
- Updated dependencies [28e86bd]
|
|
41
|
+
- @websolutespa/bom-mixer-models@1.7.0
|
|
42
|
+
- @websolutespa/bom-mixer-store@1.7.0
|
|
43
|
+
- @websolutespa/bom-core@1.7.0
|
|
44
|
+
|
|
45
|
+
## 1.4.2
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- Modified: IFeatureType
|
|
50
|
+
- Updated dependencies
|
|
51
|
+
- @websolutespa/bom-mixer-models@1.5.4
|
|
52
|
+
- @websolutespa/bom-mixer-store@1.4.3
|
|
53
|
+
- @websolutespa/bom-core@0.6.5
|
|
54
|
+
|
|
55
|
+
## 1.4.1
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- Added: useCollectionApi, useExtra
|
|
60
|
+
- Modified: usePagination, useSearchParamsQs
|
|
61
|
+
- Updated dependencies
|
|
62
|
+
- @websolutespa/bom-mixer-models@1.5.2
|
|
63
|
+
- @websolutespa/bom-core@0.6.2
|
|
64
|
+
|
|
65
|
+
## 1.4.0
|
|
66
|
+
|
|
67
|
+
### Minor Changes
|
|
68
|
+
|
|
69
|
+
- Added useLazyModules
|
|
70
|
+
|
|
71
|
+
## 1.3.0
|
|
72
|
+
|
|
73
|
+
### Minor Changes
|
|
74
|
+
|
|
75
|
+
- Added: useSearchParamsQs
|
|
76
|
+
- Modified: useSearchParamsEncoded, useSearchParams, useScrollTo
|
|
77
|
+
|
|
78
|
+
## 1.2.1
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Added: LabelService
|
|
83
|
+
- Modified: useLabels, useScrollTo
|
|
84
|
+
|
|
85
|
+
## 1.2.0
|
|
86
|
+
|
|
87
|
+
### Minor Changes
|
|
88
|
+
|
|
89
|
+
- Updating: next 13
|
|
90
|
+
|
|
91
|
+
## 1.1.0
|
|
92
|
+
|
|
93
|
+
### Minor Changes
|
|
94
|
+
|
|
95
|
+
- Modified: useHttp, useApi
|
|
96
|
+
|
|
97
|
+
## 1.0.0
|
|
98
|
+
|
|
99
|
+
### Minor Changes
|
|
100
|
+
|
|
101
|
+
- Added: useScrolled
|
|
102
|
+
|
|
103
|
+
## 0.2.2
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Modified: useBreakpoint theme mediaQuery
|
|
108
|
+
|
|
109
|
+
## 0.2.1
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- Added: source files
|
|
114
|
+
|
|
115
|
+
## 0.2.0
|
|
116
|
+
|
|
117
|
+
### Minor Changes
|
|
118
|
+
|
|
119
|
+
- Added: splat routes
|
|
120
|
+
|
|
121
|
+
## 0.1.0
|
|
122
|
+
|
|
123
|
+
### Minor Changes
|
|
124
|
+
|
|
125
|
+
- Added: @websolutespa/bom-core
|
|
126
|
+
|
|
127
|
+
## 0.0.2
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- Added: first release
|
package/dist/index.d.ts
CHANGED
|
@@ -301,7 +301,7 @@ declare function useIdle(delay?: number, immediate?: boolean): boolean;
|
|
|
301
301
|
|
|
302
302
|
declare function useInfiniteLoader<T = any>(items: T[], perPage?: number, delayInMs?: number): [T[], () => void, boolean];
|
|
303
303
|
|
|
304
|
-
declare function useIntersectionObserver(ref: MutableRefObject<Node |
|
|
304
|
+
declare function useIntersectionObserver(ref: MutableRefObject<Node | null>, options?: IntersectionObserverInit): boolean;
|
|
305
305
|
declare function isElement(node?: Node): node is Element;
|
|
306
306
|
|
|
307
307
|
declare const useIsomorphicLayoutEffect: typeof useEffect;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@websolutespa/bom-mixer-hooks",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Mixer Hooks module of the BOM Repository",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bom",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@websolutespa/bom-cli": "*",
|
|
44
44
|
"@websolutespa/test": "*",
|
|
45
45
|
"@websolutespa/tsconfig": "*",
|
|
46
|
-
"eslint": "^
|
|
46
|
+
"eslint": "^8.56.0",
|
|
47
47
|
"eslint-config-websolute": "*",
|
|
48
48
|
"npm-run-all": "^4.1.5",
|
|
49
49
|
"raw-loader": "^4.0.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MutableRefObject, useCallback, useEffect, useRef, useState } from 'react';
|
|
2
2
|
|
|
3
3
|
export function useIntersectionObserver(
|
|
4
|
-
ref: MutableRefObject<Node |
|
|
4
|
+
ref: MutableRefObject<Node | null>,
|
|
5
5
|
options: IntersectionObserverInit = {}): boolean {
|
|
6
6
|
const {
|
|
7
7
|
threshold = 1,
|