@develemit/web-hooks 0.3.1 → 0.4.0
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 +10 -0
- package/README.md +52 -0
- package/dist/chunk-TE2FRIPF.js +616 -0
- package/dist/index.cjs +639 -7
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +42 -0
- package/dist/terminal-output.cjs +660 -0
- package/dist/terminal-output.d.cts +186 -0
- package/dist/terminal-output.d.ts +186 -0
- package/dist/terminal-output.js +45 -0
- package/package.json +7 -1
package/dist/index.d.cts
CHANGED
|
@@ -17,4 +17,5 @@ export { ServiceWorkerState, UpdateStateInput, UseServiceWorkerOptions, deriveUp
|
|
|
17
17
|
export { ShareInput, ShareResult, ShareStatus, canShareFiles, isShareCancel, shareOrCopy, shareTextFor, useShareFeedback } from './share.cjs';
|
|
18
18
|
export { InsetReading, UseKeyboardInsetOptions, computeKeyboardInset, isEditableElement, useKeyboardInset } from './keyboard-inset.cjs';
|
|
19
19
|
export { PushEnv, PushPermission, PushSubscriptionState, PushSupport, ResubscribeInput, UsePushSubscriptionOptions, getPushSupport, shouldResubscribe, urlBase64ToUint8Array, usePushSubscription } from './push.cjs';
|
|
20
|
+
export { AnsiColor, AnsiLine, AnsiSegment, AnsiStream, AnsiStreamOptions, AnsiStreamUpdate, AnsiStyle, DEFAULT_TAIL_THRESHOLD, FAILURE_PATTERNS, Failure, FailurePattern, FailureTool, LineBuffer, LineBufferOptions, LineBufferUpdate, NOISE_PATTERNS, ParseAnsiOptions, ScrollEventInfo, ScrollEventKind, ScrollMetrics, StreamCursor, TextSegment, UseFollowTailOptions, UseFollowTailResult, createAnsiParser, createAnsiStream, createLineBuffer, distanceFromEnd, filterLines, findFailures, firstFailureIndex, isNearEnd, isNoise, isUserScrollUp, parseAnsi, shouldStick, splitByMatch, stripAnsi, tailMeaningful, unreadDelta, useFollowTail } from './terminal-output.cjs';
|
|
20
21
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -17,4 +17,5 @@ export { ServiceWorkerState, UpdateStateInput, UseServiceWorkerOptions, deriveUp
|
|
|
17
17
|
export { ShareInput, ShareResult, ShareStatus, canShareFiles, isShareCancel, shareOrCopy, shareTextFor, useShareFeedback } from './share.js';
|
|
18
18
|
export { InsetReading, UseKeyboardInsetOptions, computeKeyboardInset, isEditableElement, useKeyboardInset } from './keyboard-inset.js';
|
|
19
19
|
export { PushEnv, PushPermission, PushSubscriptionState, PushSupport, ResubscribeInput, UsePushSubscriptionOptions, getPushSupport, shouldResubscribe, urlBase64ToUint8Array, usePushSubscription } from './push.js';
|
|
20
|
+
export { AnsiColor, AnsiLine, AnsiSegment, AnsiStream, AnsiStreamOptions, AnsiStreamUpdate, AnsiStyle, DEFAULT_TAIL_THRESHOLD, FAILURE_PATTERNS, Failure, FailurePattern, FailureTool, LineBuffer, LineBufferOptions, LineBufferUpdate, NOISE_PATTERNS, ParseAnsiOptions, ScrollEventInfo, ScrollEventKind, ScrollMetrics, StreamCursor, TextSegment, UseFollowTailOptions, UseFollowTailResult, createAnsiParser, createAnsiStream, createLineBuffer, distanceFromEnd, filterLines, findFailures, firstFailureIndex, isNearEnd, isNoise, isUserScrollUp, parseAnsi, shouldStick, splitByMatch, stripAnsi, tailMeaningful, unreadDelta, useFollowTail } from './terminal-output.js';
|
|
20
21
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,28 @@ import {
|
|
|
22
22
|
urlBase64ToUint8Array,
|
|
23
23
|
usePushSubscription
|
|
24
24
|
} from "./chunk-R2PFNE3U.js";
|
|
25
|
+
import {
|
|
26
|
+
DEFAULT_TAIL_THRESHOLD,
|
|
27
|
+
FAILURE_PATTERNS,
|
|
28
|
+
NOISE_PATTERNS,
|
|
29
|
+
createAnsiParser,
|
|
30
|
+
createAnsiStream,
|
|
31
|
+
createLineBuffer,
|
|
32
|
+
distanceFromEnd,
|
|
33
|
+
filterLines,
|
|
34
|
+
findFailures,
|
|
35
|
+
firstFailureIndex,
|
|
36
|
+
isNearEnd,
|
|
37
|
+
isNoise,
|
|
38
|
+
isUserScrollUp,
|
|
39
|
+
parseAnsi,
|
|
40
|
+
shouldStick,
|
|
41
|
+
splitByMatch,
|
|
42
|
+
stripAnsi,
|
|
43
|
+
tailMeaningful,
|
|
44
|
+
unreadDelta,
|
|
45
|
+
useFollowTail
|
|
46
|
+
} from "./chunk-TE2FRIPF.js";
|
|
25
47
|
import {
|
|
26
48
|
nextDelay,
|
|
27
49
|
useVisibilityPolling
|
|
@@ -117,19 +139,29 @@ export {
|
|
|
117
139
|
CLOSE_DISTANCE_PX,
|
|
118
140
|
COARSE_POINTER_QUERY,
|
|
119
141
|
DEFAULT_IGNORE_SELECTOR,
|
|
142
|
+
DEFAULT_TAIL_THRESHOLD,
|
|
143
|
+
FAILURE_PATTERNS,
|
|
120
144
|
FOCUSABLE_SELECTOR,
|
|
121
145
|
FORWARD_ZONE_PX,
|
|
122
146
|
MAX_SWIPE_DURATION_MS,
|
|
147
|
+
NOISE_PATTERNS,
|
|
123
148
|
OPEN_DISTANCE_PX,
|
|
124
149
|
REDUCED_MOTION_QUERY,
|
|
125
150
|
VERTICAL_CANCEL_PX,
|
|
126
151
|
canShareFiles,
|
|
127
152
|
computeKeyboardInset,
|
|
128
153
|
copyText,
|
|
154
|
+
createAnsiParser,
|
|
155
|
+
createAnsiStream,
|
|
129
156
|
createDebouncer,
|
|
157
|
+
createLineBuffer,
|
|
130
158
|
deriveUpdateState,
|
|
131
159
|
detectApple,
|
|
132
160
|
detectPlatform,
|
|
161
|
+
distanceFromEnd,
|
|
162
|
+
filterLines,
|
|
163
|
+
findFailures,
|
|
164
|
+
firstFailureIndex,
|
|
133
165
|
focusableWithin,
|
|
134
166
|
getPushSupport,
|
|
135
167
|
handleBeforeUnload,
|
|
@@ -140,23 +172,32 @@ export {
|
|
|
140
172
|
isInsideHorizontalScroller,
|
|
141
173
|
isIos,
|
|
142
174
|
isIosSafari,
|
|
175
|
+
isNearEnd,
|
|
176
|
+
isNoise,
|
|
143
177
|
isOutside,
|
|
144
178
|
isPrimaryPress,
|
|
145
179
|
isShareCancel,
|
|
146
180
|
isStandalone,
|
|
181
|
+
isUserScrollUp,
|
|
147
182
|
lockScroll,
|
|
148
183
|
matchHotkey,
|
|
149
184
|
nextDelay,
|
|
150
185
|
nextFocusTarget,
|
|
151
186
|
nextHeight,
|
|
187
|
+
parseAnsi,
|
|
152
188
|
parseHotkey,
|
|
153
189
|
readText,
|
|
154
190
|
resolveSwipeIntent,
|
|
155
191
|
shareOrCopy,
|
|
156
192
|
shareTextFor,
|
|
157
193
|
shouldResubscribe,
|
|
194
|
+
shouldStick,
|
|
195
|
+
splitByMatch,
|
|
158
196
|
startInstallPromptCapture,
|
|
197
|
+
stripAnsi,
|
|
198
|
+
tailMeaningful,
|
|
159
199
|
unlockScroll,
|
|
200
|
+
unreadDelta,
|
|
160
201
|
unregisterAll,
|
|
161
202
|
urlBase64ToUint8Array,
|
|
162
203
|
useAutoGrowTextarea,
|
|
@@ -167,6 +208,7 @@ export {
|
|
|
167
208
|
useDrawerSwipe,
|
|
168
209
|
useEscape,
|
|
169
210
|
useFocusTrap,
|
|
211
|
+
useFollowTail,
|
|
170
212
|
useHotkey,
|
|
171
213
|
useInstallPrompt,
|
|
172
214
|
useIsStandalone,
|