@websolutespa/bom-mixer-hooks 1.4.1 → 1.4.2

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,79 +1,89 @@
1
- # @websolutespa/bom-mixer-hooks
2
-
3
- ## 1.4.1
4
-
5
- ### Patch Changes
6
-
7
- - Added: useCollectionApi, useExtra.
8
- - Modified: usePagination, useSearchParamsQs.
9
- - Updated dependencies
10
- - @websolutespa/bom-mixer-models@1.5.2
11
- - @websolutespa/bom-core@0.6.2
12
-
13
- ## 1.4.0
14
-
15
- ### Minor Changes
16
-
17
- - Added useLazyModules.
18
-
19
- ## 1.3.0
20
-
21
- ### Minor Changes
22
-
23
- - Added: useSearchParamsQs.
24
- - Modified: useSearchParamsEncoded, useSearchParams, useScrollTo.
25
-
26
- ## 1.2.1
27
-
28
- ### Patch Changes
29
-
30
- - Added: LabelService.
31
- - Modified: useLabels, useScrollTo.
32
-
33
- ## 1.2.0
34
-
35
- ### Minor Changes
36
-
37
- - Updating: next 13.
38
-
39
- ## 1.1.0
40
-
41
- ### Minor Changes
42
-
43
- - Modified: useHttp, useApi.
44
-
45
- ## 1.0.0
46
-
47
- ### Minor Changes
48
-
49
- - Added: useScrolled.
50
-
51
- ## 0.2.2
52
-
53
- ### Patch Changes
54
-
55
- - Modified: useBreakpoint theme mediaQuery.
56
-
57
- ## 0.2.1
58
-
59
- ### Patch Changes
60
-
61
- - Added: source files.
62
-
63
- ## 0.2.0
64
-
65
- ### Minor Changes
66
-
67
- - Added: splat routes.
68
-
69
- ## 0.1.0
70
-
71
- ### Minor Changes
72
-
73
- - Added: @websolutespa/bom-core.
74
-
75
- ## 0.0.2
76
-
77
- ### Patch Changes
78
-
79
- - Added: first release.
1
+ # @websolutespa/bom-mixer-hooks
2
+
3
+ ## 1.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: IFeatureType
8
+ - Updated dependencies
9
+ - @websolutespa/bom-mixer-models@1.5.4
10
+ - @websolutespa/bom-mixer-store@1.4.3
11
+ - @websolutespa/bom-core@0.6.5
12
+
13
+ ## 1.4.1
14
+
15
+ ### Patch Changes
16
+
17
+ - Added: useCollectionApi, useExtra
18
+ - Modified: usePagination, useSearchParamsQs
19
+ - Updated dependencies
20
+ - @websolutespa/bom-mixer-models@1.5.2
21
+ - @websolutespa/bom-core@0.6.2
22
+
23
+ ## 1.4.0
24
+
25
+ ### Minor Changes
26
+
27
+ - Added useLazyModules
28
+
29
+ ## 1.3.0
30
+
31
+ ### Minor Changes
32
+
33
+ - Added: useSearchParamsQs
34
+ - Modified: useSearchParamsEncoded, useSearchParams, useScrollTo
35
+
36
+ ## 1.2.1
37
+
38
+ ### Patch Changes
39
+
40
+ - Added: LabelService
41
+ - Modified: useLabels, useScrollTo
42
+
43
+ ## 1.2.0
44
+
45
+ ### Minor Changes
46
+
47
+ - Updating: next 13
48
+
49
+ ## 1.1.0
50
+
51
+ ### Minor Changes
52
+
53
+ - Modified: useHttp, useApi
54
+
55
+ ## 1.0.0
56
+
57
+ ### Minor Changes
58
+
59
+ - Added: useScrolled
60
+
61
+ ## 0.2.2
62
+
63
+ ### Patch Changes
64
+
65
+ - Modified: useBreakpoint theme mediaQuery
66
+
67
+ ## 0.2.1
68
+
69
+ ### Patch Changes
70
+
71
+ - Added: source files
72
+
73
+ ## 0.2.0
74
+
75
+ ### Minor Changes
76
+
77
+ - Added: splat routes
78
+
79
+ ## 0.1.0
80
+
81
+ ### Minor Changes
82
+
83
+ - Added: @websolutespa/bom-core
84
+
85
+ ## 0.0.2
86
+
87
+ ### Patch Changes
88
+
89
+ - Added: first release
package/dist/index.d.ts CHANGED
@@ -5,8 +5,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as zustand_middleware from 'zustand/middleware';
6
6
  import { StateStorage } from 'zustand/middleware';
7
7
  import * as zustand from 'zustand';
8
- import { ISchema, QueryParams, IEquatable, ILabel, ILocalizable, ILayout, IPage } from '@websolutespa/bom-core';
9
- import { ICartItem, ICartAddItem, IAddressOptions, ICheckoutPartial, IFeatureType, ILazyModules, IUser } from '@websolutespa/bom-mixer-models';
8
+ import { ISchema, QueryParams, IEquatable, IFeatureType, ILabel, ILocalizable, ILayout, IPage } from '@websolutespa/bom-core';
9
+ import { ICartItem, ICartAddItem, IAddressOptions, ICheckoutPartial, ILazyModules, IUser } from '@websolutespa/bom-mixer-models';
10
10
  import { NextRouter } from 'next/router';
11
11
 
12
12
  declare function useApiFetch<T = unknown>(pathname: string, options?: ApiRequestOptions): [T | undefined, boolean, any, react.Dispatch<any>];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-mixer-hooks",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Mixer Hooks module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",
@@ -1,5 +1,4 @@
1
- import { IEquatable } from '@websolutespa/bom-core';
2
- import { IFeatureType } from '@websolutespa/bom-mixer-models';
1
+ import { IEquatable, IFeatureType } from '@websolutespa/bom-core';
3
2
  import { Filter, FilterMode, FilterParams } from './filter';
4
3
 
5
4
  export function getFilters<T>(items: T[], featureTypes: IFeatureType[], filterMap: (key: string, item: T, value: IEquatable) => boolean, params?: FilterParams | null): Filter<T>[] {
@@ -1,5 +1,4 @@
1
- import { IEquatable } from '@websolutespa/bom-core';
2
- import { IFeatureType } from '@websolutespa/bom-mixer-models';
1
+ import { IEquatable, IFeatureType } from '@websolutespa/bom-core';
3
2
 
4
3
  export type FilterParams = { [key: string]: IEquatable[] | null };
5
4
  export type FilterValues = IEquatable[][];
@@ -1,5 +1,4 @@
1
- import { IEquatable } from '@websolutespa/bom-core';
2
- import { IFeatureType } from '@websolutespa/bom-mixer-models';
1
+ import { IEquatable, IFeatureType } from '@websolutespa/bom-core';
3
2
  import { useCallback, useEffect, useMemo, useState } from 'react';
4
3
  import { Filter, FilterParams } from './filter';
5
4
  import { getFilters, setFilters } from './filter.service';