@pol-studios/hooks 1.0.6 → 1.0.8
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/dist/index.d.ts +0 -1
- package/dist/index.js +0 -24
- package/package.json +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,5 @@ export { useHideOnScroll, useHidingOnScroll, useScrollDirection, useScrollPositi
|
|
|
9
9
|
export { NetworkStatus, NetworkStatus as OnlineStatus, QueuedMutation, useMutationQueue, useNetworkStatus, useOnline } from './network/index.js';
|
|
10
10
|
export { useRenderCount, useRenderHookCount, useStateTracker, useTrackedState } from './debug/index.js';
|
|
11
11
|
export { dateReviver, downloadFile, getFile, getFilePost, hasCameraAsync, isDev, isDevEnvironment, isIphone, isPwaLaunched, isUsable, parseWithDate, withComponentMemo } from './_utils/index.js';
|
|
12
|
-
export { CommentProvider as CommentSectionProvider, FilterProvider, genId, getComparisonOptions, getDefaultCondition, getDefaultValue, useComments as useCommentSection, useFilterContext, useOrderManager as useOrderHintOld } from '@pol-studios/features';
|
|
13
12
|
import 'react';
|
|
14
13
|
import 'react/jsx-runtime';
|
package/dist/index.js
CHANGED
|
@@ -92,26 +92,9 @@ import {
|
|
|
92
92
|
withComponentMemo
|
|
93
93
|
} from "./chunk-MMIPLCL4.js";
|
|
94
94
|
import "./chunk-QGM4M3NI.js";
|
|
95
|
-
|
|
96
|
-
// src/index.ts
|
|
97
|
-
import {
|
|
98
|
-
CommentProvider,
|
|
99
|
-
useComments
|
|
100
|
-
} from "@pol-studios/features";
|
|
101
|
-
import { useOrderManager } from "@pol-studios/features";
|
|
102
|
-
import {
|
|
103
|
-
genId,
|
|
104
|
-
getDefaultCondition,
|
|
105
|
-
getDefaultValue,
|
|
106
|
-
getComparisonOptions,
|
|
107
|
-
FilterProvider,
|
|
108
|
-
useFilterContext
|
|
109
|
-
} from "@pol-studios/features";
|
|
110
95
|
export {
|
|
111
96
|
ChangeTrackingContext,
|
|
112
97
|
ChangeTrackingProvider,
|
|
113
|
-
CommentProvider as CommentSectionProvider,
|
|
114
|
-
FilterProvider,
|
|
115
98
|
IndexedDBService as IndexDb,
|
|
116
99
|
IndexDbProvider,
|
|
117
100
|
IndexedDBService,
|
|
@@ -124,10 +107,6 @@ export {
|
|
|
124
107
|
actionTypes,
|
|
125
108
|
dateReviver,
|
|
126
109
|
downloadFile,
|
|
127
|
-
genId,
|
|
128
|
-
getComparisonOptions,
|
|
129
|
-
getDefaultCondition,
|
|
130
|
-
getDefaultValue,
|
|
131
110
|
getFile,
|
|
132
111
|
getFilePost,
|
|
133
112
|
hasCameraAsync,
|
|
@@ -145,7 +124,6 @@ export {
|
|
|
145
124
|
useAfterMountedEffect as useAfterMount,
|
|
146
125
|
useAfterMountedEffect,
|
|
147
126
|
useChangeTracking,
|
|
148
|
-
useComments as useCommentSection,
|
|
149
127
|
useDelayedState,
|
|
150
128
|
useDelayedValue,
|
|
151
129
|
useDevice,
|
|
@@ -153,7 +131,6 @@ export {
|
|
|
153
131
|
useDownload,
|
|
154
132
|
useDownloadApiFile,
|
|
155
133
|
useFileDialog,
|
|
156
|
-
useFilterContext,
|
|
157
134
|
useForceUpdate,
|
|
158
135
|
useHideOnScroll,
|
|
159
136
|
useHidingOnScroll,
|
|
@@ -169,7 +146,6 @@ export {
|
|
|
169
146
|
useNetworkStatus,
|
|
170
147
|
useOnScreen,
|
|
171
148
|
useOnline,
|
|
172
|
-
useOrderManager as useOrderHintOld,
|
|
173
149
|
usePartialState,
|
|
174
150
|
useQueuedLocalStorage,
|
|
175
151
|
useQueuedLocalStorageState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pol-studios/hooks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "React hooks for POL applications",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -65,7 +65,6 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": "^18.0.0 || ^19.0.0",
|
|
67
67
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
68
|
-
"@pol-studios/features": ">=1.0.0",
|
|
69
68
|
"@pol-studios/utils": ">=1.0.0"
|
|
70
69
|
},
|
|
71
70
|
"dependencies": {
|
|
@@ -76,8 +75,7 @@
|
|
|
76
75
|
"devDependencies": {
|
|
77
76
|
"tsup": "^8.0.0",
|
|
78
77
|
"typescript": "^5.0.0",
|
|
79
|
-
"@pol-studios/
|
|
80
|
-
"@pol-studios/utils": "1.0.6"
|
|
78
|
+
"@pol-studios/utils": "1.0.8"
|
|
81
79
|
},
|
|
82
80
|
"keywords": [
|
|
83
81
|
"hooks",
|