@buoy-gg/shared-ui 7.0.75 → 7.0.77
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/lib/commonjs/bugCase/capture.js +1 -0
- package/lib/commonjs/bugCase/format.js +3 -0
- package/lib/commonjs/bugCase/index.js +1 -0
- package/lib/commonjs/bugCase/lock.js +1 -0
- package/lib/commonjs/bugCase/recorder.js +1 -0
- package/lib/commonjs/bugCase/scrub.js +1 -0
- package/lib/commonjs/bugCase/steps.js +1 -0
- package/lib/commonjs/bugCase/types.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/license/AccountSetupContent.js +1 -1
- package/lib/commonjs/license/licenseModule.js +1 -1
- package/lib/commonjs/storage/devToolsStorageKeys.js +1 -1
- package/lib/commonjs/utils/appIdentity.js +1 -0
- package/lib/commonjs/utils/index.js +1 -1
- package/lib/commonjs/utils/minimalSuperJSON.js +1 -1
- package/lib/commonjs/utils/nativeWeb.js +1 -1
- package/lib/commonjs/utils/reloadPlatform.js +1 -1
- package/lib/module/bugCase/capture.js +1 -0
- package/lib/module/bugCase/format.js +3 -0
- package/lib/module/bugCase/index.js +1 -0
- package/lib/module/bugCase/lock.js +1 -0
- package/lib/module/bugCase/recorder.js +1 -0
- package/lib/module/bugCase/scrub.js +1 -0
- package/lib/module/bugCase/steps.js +1 -0
- package/lib/module/bugCase/types.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/license/AccountSetupContent.js +1 -1
- package/lib/module/license/licenseModule.js +1 -1
- package/lib/module/storage/devToolsStorageKeys.js +1 -1
- package/lib/module/utils/appIdentity.js +1 -0
- package/lib/module/utils/index.js +1 -1
- package/lib/module/utils/minimalSuperJSON.js +1 -1
- package/lib/module/utils/nativeWeb.js +1 -1
- package/lib/module/utils/reloadPlatform.js +1 -1
- package/lib/typescript/commonjs/bugCase/capture.d.ts +20 -0
- package/lib/typescript/commonjs/bugCase/format.d.ts +15 -0
- package/lib/typescript/commonjs/bugCase/index.d.ts +14 -0
- package/lib/typescript/commonjs/bugCase/lock.d.ts +99 -0
- package/lib/typescript/commonjs/bugCase/recorder.d.ts +8 -0
- package/lib/typescript/commonjs/bugCase/scrub.d.ts +59 -0
- package/lib/typescript/commonjs/bugCase/steps.d.ts +44 -0
- package/lib/typescript/commonjs/bugCase/types.d.ts +92 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +3 -1
- package/lib/typescript/commonjs/license/AccountSetupContent.d.ts +1 -1
- package/lib/typescript/commonjs/license/licenseModule.d.ts +7 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +14 -0
- package/lib/typescript/commonjs/utils/appIdentity.d.ts +3 -0
- package/lib/typescript/commonjs/utils/index.d.ts +1 -1
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +6 -0
- package/lib/typescript/commonjs/utils/nativeWeb.d.ts +8 -1
- package/lib/typescript/module/bugCase/capture.d.ts +20 -0
- package/lib/typescript/module/bugCase/format.d.ts +15 -0
- package/lib/typescript/module/bugCase/index.d.ts +14 -0
- package/lib/typescript/module/bugCase/lock.d.ts +99 -0
- package/lib/typescript/module/bugCase/recorder.d.ts +8 -0
- package/lib/typescript/module/bugCase/scrub.d.ts +59 -0
- package/lib/typescript/module/bugCase/steps.d.ts +44 -0
- package/lib/typescript/module/bugCase/types.d.ts +92 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +3 -1
- package/lib/typescript/module/license/AccountSetupContent.d.ts +1 -1
- package/lib/typescript/module/license/licenseModule.d.ts +7 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +14 -0
- package/lib/typescript/module/utils/appIdentity.d.ts +3 -0
- package/lib/typescript/module/utils/index.d.ts +1 -1
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts +6 -0
- package/lib/typescript/module/utils/nativeWeb.d.ts +8 -1
- package/lib/web/chunks/{chunk-7CBB7NEY.mjs → chunk-4QFANR3K.mjs} +1 -1
- package/lib/web/chunks/{chunk-UQRRKDKX.mjs → chunk-BMITMQVB.mjs} +3 -3
- package/lib/web/chunks/chunk-DJD42EPL.mjs +1 -0
- package/lib/web/chunks/chunk-EY7GXWGI.mjs +1 -0
- package/lib/web/chunks/{chunk-RMLVR5LI.mjs → chunk-FPMEM2QO.mjs} +1 -1
- package/lib/web/chunks/{chunk-G2SCTDOW.mjs → chunk-GN75GBYZ.mjs} +1 -1
- package/lib/web/chunks/{chunk-3HELV44Y.mjs → chunk-GTRVOJUH.mjs} +1 -1
- package/lib/web/chunks/{chunk-G27JNYZ3.mjs → chunk-OF3VWR6K.mjs} +1 -1
- package/lib/web/chunks/{chunk-CJTGUGMQ.mjs → chunk-OVTASJUJ.mjs} +1 -1
- package/lib/web/chunks/chunk-QXVVA64P.mjs +1 -0
- package/lib/web/chunks/{chunk-HIAN3HBD.mjs → chunk-XUYN4NOF.mjs} +1 -1
- package/lib/web/chunks/{persistentStorage.web-24PEE4I7.mjs → persistentStorage.web-7JL3GE3F.mjs} +1 -1
- package/lib/web/dataViewer.mjs +1 -1
- package/lib/web/history.mjs +1 -1
- package/lib/web/hooks.mjs +1 -1
- package/lib/web/index.mjs +7 -3
- package/lib/web/native.mjs +1 -1
- package/lib/web/ui.mjs +1 -1
- package/lib/web/utils.mjs +1 -1
- package/package.json +5 -5
- package/lib/web/chunks/chunk-2STKTXD3.mjs +0 -1
- package/lib/web/chunks/chunk-4HIK66DZ.mjs +0 -1
- package/lib/web/chunks/chunk-5G6RSRP4.mjs +0 -1
- package/lib/web/chunks/chunk-GMM6TGFO.mjs +0 -1
|
@@ -8,7 +8,7 @@ export { parseValue, formatValue, getTypeColor, truncateText, flattenObject, for
|
|
|
8
8
|
export { loadOptionalModule, getCachedOptionalModule } from "./loadOptionalModule";
|
|
9
9
|
export { setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, } from "./renderCaptureRegistry";
|
|
10
10
|
export { registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, } from "./stateSnapshotRegistry";
|
|
11
|
-
export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, type SuperJSONResult, } from "./minimalSuperJSON";
|
|
11
|
+
export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, dropAnnotations as superJsonDropAnnotations, type SuperJSONResult, } from "./minimalSuperJSON";
|
|
12
12
|
export { reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, } from "./reloadApp";
|
|
13
13
|
export { getDevServerOrigin } from "./devServer";
|
|
14
14
|
export { realNow } from "./realNow";
|
|
@@ -14,5 +14,11 @@ export interface SuperJSONResult {
|
|
|
14
14
|
}
|
|
15
15
|
export declare function serialize(object: any): SuperJSONResult;
|
|
16
16
|
export declare function deserialize<T = unknown>(payload: SuperJSONResult): T;
|
|
17
|
+
/**
|
|
18
|
+
* Drop the annotations whose value `drop` rejects. A bug case's scrubber can
|
|
19
|
+
* replace a Date with "[removed:pii]"; the Date annotation left behind would
|
|
20
|
+
* turn that into Invalid Date (or throw, for a BigInt) on deserialize.
|
|
21
|
+
*/
|
|
22
|
+
export declare function dropAnnotations(payload: SuperJSONResult, drop: (value: unknown) => boolean): SuperJSONResult;
|
|
17
23
|
export {};
|
|
18
24
|
//# sourceMappingURL=minimalSuperJSON.d.ts.map
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
export * from 'react-native-web';
|
|
2
|
-
export { unstable_createElement, NativeModules, AccessibilityInfo,
|
|
2
|
+
export { unstable_createElement, NativeModules, AccessibilityInfo, Appearance, AppRegistry, AppState, BackHandler, Clipboard, Dimensions, Easing, I18nManager, Keyboard, InteractionManager, LayoutAnimation, Linking, NativeEventEmitter, PanResponder, PixelRatio, Platform, Share, UIManager, Vibration, CheckBox, FlatList, Image, ImageBackground, KeyboardAvoidingView, Picker, ProgressBar, RefreshControl, SafeAreaView, SectionList, StatusBar, Touchable, TouchableNativeFeedback, VirtualizedList, YellowBox, LogBox, DeviceEventEmitter, useColorScheme, useLocaleContext, useWindowDimensions } from 'react-native-web';
|
|
3
3
|
import * as nativeWeb from 'react-native-web';
|
|
4
|
+
declare const rnw: {
|
|
5
|
+
StyleSheet: typeof import("react-native").StyleSheet;
|
|
6
|
+
Animated: typeof import("react-native").Animated;
|
|
7
|
+
};
|
|
8
|
+
/** Styles are converted once here, where RNW would otherwise warn. */
|
|
9
|
+
export declare const StyleSheet: typeof rnw.StyleSheet;
|
|
4
10
|
export declare const View: typeof nativeWeb.View;
|
|
5
11
|
export declare const Text: typeof nativeWeb.Text;
|
|
12
|
+
export declare const Animated: typeof rnw.Animated;
|
|
6
13
|
export declare const TextInput: typeof nativeWeb.TextInput;
|
|
7
14
|
export declare const TouchableOpacity: typeof nativeWeb.TouchableOpacity;
|
|
8
15
|
export declare const TouchableHighlight: typeof nativeWeb.TouchableHighlight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as c}from"./chunk-
|
|
1
|
+
"use client";import{a as c}from"./chunk-FPMEM2QO.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as n}from"react";function w(a=new Set){let[r,s]=u(a),[i,l]=u(false),[p,m]=u(""),h=n(e=>{let o=e.trim();o&&(s(t=>new Set([...t,o])),m(""),l(false))},[]),v=n(e=>{s(o=>{let t=new Set(o);return t.delete(e),t})},[]),S=n(e=>{s(o=>{let t=new Set(o);return t.has(e)?t.delete(e):t.add(e),t})},[]),F=n(()=>{s(new Set),m(""),l(false)},[]),g=n(e=>r.has(e),[r]);return{filters:r,showAddInput:i,newFilter:p,setNewFilter:m,setShowAddInput:l,addFilter:h,removeFilter:v,toggleFilter:S,clearFilters:F,hasFilter:g}}d(w,"useFilterManager");import{useEffect as x,useState as b}from"react";function f(a={}){let[r,s]=b({top:0,bottom:0,left:0,right:0});return x(()=>{let i=d(()=>s(c()),"update");return i(),window.addEventListener("resize",i),window.visualViewport?.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),window.visualViewport?.removeEventListener("resize",i)}},[]),{top:Math.max(r.top,a.minTop??0),bottom:Math.max(r.bottom,a.minBottom??0),left:Math.max(r.left,a.minLeft??0),right:Math.max(r.right,a.minRight??0)}}d(f,"useSafeAreaInsets");export{w as a,f as b};
|