@buoy-gg/shared-ui 2.1.3 → 2.1.4-beta.1
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/clipboard/clipboard-impl.js +86 -10
- package/lib/commonjs/hooks/safe-area-impl.js +1 -1
- package/lib/commonjs/index.js +42 -0
- package/lib/commonjs/storage/devToolsStorageKeys.js +6 -1
- package/lib/commonjs/utils/index.js +38 -1
- package/lib/commonjs/utils/safeExpoRouter.js +172 -0
- package/lib/module/clipboard/clipboard-impl.js +85 -10
- package/lib/module/hooks/safe-area-impl.js +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/storage/devToolsStorageKeys.js +6 -1
- package/lib/module/utils/index.js +2 -1
- package/lib/module/utils/safeExpoRouter.js +163 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts +15 -8
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/index.d.ts +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.d.ts +17 -0
- package/lib/typescript/commonjs/utils/safeExpoRouter.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts +15 -8
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +1 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +1 -1
- package/lib/typescript/module/utils/index.d.ts +1 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -1
- package/lib/typescript/module/utils/safeExpoRouter.d.ts +17 -0
- package/lib/typescript/module/utils/safeExpoRouter.d.ts.map +1 -0
- package/package.json +4 -7
- package/scripts/detect-clipboard.js +78 -126
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Safe wrapper for expo-router
|
|
5
|
+
*
|
|
6
|
+
* Provides optional imports for expo-router hooks and utilities.
|
|
7
|
+
* Falls back to no-op implementations when expo-router is not installed.
|
|
8
|
+
*
|
|
9
|
+
* On RN CLI (without Expo native modules), expo-router's JS may be bundled but
|
|
10
|
+
* its hooks crash at runtime because native Expo modules are missing.
|
|
11
|
+
* We detect the Expo native runtime before attempting to use expo-router hooks.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { NativeModules } from "react-native";
|
|
15
|
+
let expoRouter = null;
|
|
16
|
+
let isAvailable = false;
|
|
17
|
+
let checkedAvailability = false;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Check if the Expo native runtime is available.
|
|
21
|
+
* Handles both old SDKs (NativeModules.ExpoLinking) and new SDKs (54+)
|
|
22
|
+
* where native modules moved to the Expo Modules API.
|
|
23
|
+
*/
|
|
24
|
+
function hasExpoNativeRuntime() {
|
|
25
|
+
// Check legacy NativeModules bridge (Expo SDK < 54)
|
|
26
|
+
if (NativeModules.ExpoLinking) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Check for Expo Modules Core native bridge (Expo SDK 51+)
|
|
31
|
+
// NativeUnimoduleProxy is registered by expo-modules-core on both old and new arch
|
|
32
|
+
if (NativeModules.NativeUnimoduleProxy) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Check for Expo Go app
|
|
37
|
+
if (NativeModules.ExpoGoModule || NativeModules.ExpoUpdates) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Fallback: try loading expo-modules-core which is required by all Expo native modules
|
|
42
|
+
try {
|
|
43
|
+
require("expo-modules-core");
|
|
44
|
+
return true;
|
|
45
|
+
} catch {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function checkExpoRouterAvailability() {
|
|
50
|
+
if (checkedAvailability) return isAvailable;
|
|
51
|
+
try {
|
|
52
|
+
// Verify the Expo native runtime is available.
|
|
53
|
+
// On RN CLI, expo-router JS may be bundled but native modules aren't registered,
|
|
54
|
+
// so require() succeeds but hooks crash at runtime.
|
|
55
|
+
if (!hasExpoNativeRuntime()) {
|
|
56
|
+
checkedAvailability = true;
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
expoRouter = require("expo-router");
|
|
60
|
+
isAvailable = expoRouter != null && typeof expoRouter.usePathname === "function" && typeof expoRouter.useSegments === "function";
|
|
61
|
+
} catch (error) {
|
|
62
|
+
isAvailable = false;
|
|
63
|
+
expoRouter = null;
|
|
64
|
+
}
|
|
65
|
+
checkedAvailability = true;
|
|
66
|
+
return isAvailable;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// ============================================================================
|
|
70
|
+
// No-op implementations when expo-router is not available
|
|
71
|
+
// ============================================================================
|
|
72
|
+
|
|
73
|
+
function noOpUseRouter() {
|
|
74
|
+
return {
|
|
75
|
+
push: () => console.warn("[buoy] expo-router not installed: push() unavailable"),
|
|
76
|
+
replace: () => console.warn("[buoy] expo-router not installed: replace() unavailable"),
|
|
77
|
+
back: () => console.warn("[buoy] expo-router not installed: back() unavailable"),
|
|
78
|
+
canGoBack: () => false,
|
|
79
|
+
setParams: () => console.warn("[buoy] expo-router not installed: setParams() unavailable"),
|
|
80
|
+
navigate: () => console.warn("[buoy] expo-router not installed: navigate() unavailable")
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function noOpUsePathname() {
|
|
84
|
+
return "/";
|
|
85
|
+
}
|
|
86
|
+
function noOpUseSegments() {
|
|
87
|
+
return [];
|
|
88
|
+
}
|
|
89
|
+
function noOpUseGlobalSearchParams() {
|
|
90
|
+
return {};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// ============================================================================
|
|
94
|
+
// Safe hook exports
|
|
95
|
+
// ============================================================================
|
|
96
|
+
|
|
97
|
+
export function useSafeRouter() {
|
|
98
|
+
if (!checkExpoRouterAvailability()) {
|
|
99
|
+
return noOpUseRouter();
|
|
100
|
+
}
|
|
101
|
+
try {
|
|
102
|
+
return expoRouter.useRouter();
|
|
103
|
+
} catch (error) {
|
|
104
|
+
console.warn("[buoy] Failed to use expo-router.useRouter:", error);
|
|
105
|
+
return noOpUseRouter();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export function useSafePathname() {
|
|
109
|
+
if (!checkExpoRouterAvailability()) {
|
|
110
|
+
return noOpUsePathname();
|
|
111
|
+
}
|
|
112
|
+
try {
|
|
113
|
+
return expoRouter.usePathname();
|
|
114
|
+
} catch (error) {
|
|
115
|
+
console.warn("[buoy] Failed to use expo-router.usePathname:", error);
|
|
116
|
+
return noOpUsePathname();
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
export function useSafeSegments() {
|
|
120
|
+
if (!checkExpoRouterAvailability()) {
|
|
121
|
+
return noOpUseSegments();
|
|
122
|
+
}
|
|
123
|
+
try {
|
|
124
|
+
return expoRouter.useSegments();
|
|
125
|
+
} catch (error) {
|
|
126
|
+
console.warn("[buoy] Failed to use expo-router.useSegments:", error);
|
|
127
|
+
return noOpUseSegments();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export function useSafeGlobalSearchParams() {
|
|
131
|
+
if (!checkExpoRouterAvailability()) {
|
|
132
|
+
return noOpUseGlobalSearchParams();
|
|
133
|
+
}
|
|
134
|
+
try {
|
|
135
|
+
return expoRouter.useGlobalSearchParams();
|
|
136
|
+
} catch (error) {
|
|
137
|
+
console.warn("[buoy] Failed to use expo-router.useGlobalSearchParams:", error);
|
|
138
|
+
return noOpUseGlobalSearchParams();
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// ============================================================================
|
|
143
|
+
// Router instance getter (for imperative navigation)
|
|
144
|
+
// ============================================================================
|
|
145
|
+
|
|
146
|
+
export function getSafeRouter() {
|
|
147
|
+
if (!checkExpoRouterAvailability()) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
try {
|
|
151
|
+
return expoRouter.router || null;
|
|
152
|
+
} catch (error) {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// ============================================================================
|
|
158
|
+
// Availability check
|
|
159
|
+
// ============================================================================
|
|
160
|
+
|
|
161
|
+
export function isExpoRouterAvailable() {
|
|
162
|
+
return checkExpoRouterAvailability();
|
|
163
|
+
}
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* Detected: none
|
|
4
|
-
* Generated at: 2026-02-03T00:33:15.804Z
|
|
2
|
+
* Runtime clipboard implementation
|
|
5
3
|
*
|
|
6
|
-
*
|
|
4
|
+
* Uses Metro's allowOptionalDependencies with top-level try-catch
|
|
5
|
+
* so Metro marks these requires as optional (skipped if not installed).
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* We grab module references eagerly (for Metro), but detect which one
|
|
8
|
+
* actually works lazily on first use — by trying to call it. This avoids
|
|
9
|
+
* NativeModules checks which don't work with TurboModules/new architecture.
|
|
10
|
+
*
|
|
11
|
+
* Consumers must set `transformer.allowOptionalDependencies = true`
|
|
12
|
+
* in their metro.config.js for this to work.
|
|
13
|
+
*
|
|
14
|
+
* Fallback chain:
|
|
15
|
+
* 1. expo-clipboard
|
|
16
|
+
* 2. @react-native-clipboard/clipboard
|
|
17
|
+
* 3. Graceful failure
|
|
11
18
|
*/
|
|
12
19
|
export type ClipboardFunction = (text: string) => Promise<boolean>;
|
|
13
|
-
export declare const clipboardType: "expo" | "react-native" | null;
|
|
20
|
+
export declare const clipboardType: () => "expo" | "react-native" | null;
|
|
14
21
|
export declare const isClipboardAvailable: () => boolean;
|
|
15
22
|
export declare const clipboardFunction: ClipboardFunction;
|
|
16
23
|
//# sourceMappingURL=clipboard-impl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard-impl.d.ts","sourceRoot":"","sources":["../../../../src/clipboard/clipboard-impl.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"clipboard-impl.d.ts","sourceRoot":"","sources":["../../../../src/clipboard/clipboard-impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAqDnE,eAAO,MAAM,aAAa,QAAO,MAAM,GAAG,cAAc,GAAG,IAE1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,OAIvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAmB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./ui";
|
|
2
2
|
export * from "./stores";
|
|
3
|
-
export { displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, } from "./utils";
|
|
3
|
+
export { displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, isExpoRouterAvailable, } from "./utils";
|
|
4
4
|
export * from "./utils/formatting";
|
|
5
5
|
export * from "./utils/time";
|
|
6
6
|
export { isPlainObject as isPlainObjectUtil } from "./utils/typeHelpers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,MAAM,CAAC;AAGrB,cAAc,UAAU,CAAC;AAGzB,OAAO,EAEL,YAAY,EACZ,iBAAiB,EAEjB,iBAAiB,EAEjB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAErB,aAAa,EAEb,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,EAEZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EAEV,kBAAkB,EAClB,uBAAuB,EAEvB,YAAY,EACZ,KAAK,oBAAoB,EAEzB,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,MAAM,CAAC;AAGrB,cAAc,UAAU,CAAC;AAGzB,OAAO,EAEL,YAAY,EACZ,iBAAiB,EAEjB,iBAAiB,EAEjB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAErB,aAAa,EAEb,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,EAEZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EAEV,kBAAkB,EAClB,uBAAuB,EAEvB,YAAY,EACZ,KAAK,oBAAo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|
|
1
|
+
{"version":3,"file":"devToolsStorageKeys.d.ts","sourceRoot":"","sources":["../../../../src/storage/devToolsStorageKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;IAC9B;;OAEG;;IAGH;;OAEG;;;;;;;IASH;;OAEG;;;;;;;;IAUH;;OAEG;;;;;;QAQD,kDAAkD;;QAElD,gCAAgC;;QAGhC,gCAAgC;;;IAKlC;;OAEG;;;QAGD,mCAAmC;;;IAIrC;;OAEG;;;;;IAOH;;OAEG;;;;;;;IAQH;;OAEG;;;;;;;IASH;;OAEG;;;;;;;;;;;;;;IAuBH;;OAEG;;;;;;;;;;;IAiBH;;OAEG;;;;;;;;;;;IAgBH;;OAEG;;;;;;;;;;IAgBH;;OAEG;;;;;;;;IAYH;;OAEG;;;;;;;;;IAcH;;OAEG;;;;QAID,oCAAoC;;QAGpC,wCAAwC;;QAGxC,2BAA2B;;;CAIrB,CAAC;AAwBX;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAqBzD;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAE9D;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAsBpD"}
|
|
@@ -7,4 +7,5 @@ export { parseValue, formatValue, getTypeColor, truncateText, flattenObject, for
|
|
|
7
7
|
export { loadOptionalModule, getCachedOptionalModule } from "./loadOptionalModule";
|
|
8
8
|
export { Subscribable, type SubscribableListener } from "./subscribable";
|
|
9
9
|
export { subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, } from "./subscriberCountNotifier";
|
|
10
|
+
export { useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, isExpoRouterAvailable, } from "./safeExpoRouter";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,aAAa,EACb,qBAAqB,GACtB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe wrapper for expo-router
|
|
3
|
+
*
|
|
4
|
+
* Provides optional imports for expo-router hooks and utilities.
|
|
5
|
+
* Falls back to no-op implementations when expo-router is not installed.
|
|
6
|
+
*
|
|
7
|
+
* On RN CLI (without Expo native modules), expo-router's JS may be bundled but
|
|
8
|
+
* its hooks crash at runtime because native Expo modules are missing.
|
|
9
|
+
* We detect the Expo native runtime before attempting to use expo-router hooks.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useSafeRouter(): any;
|
|
12
|
+
export declare function useSafePathname(): string;
|
|
13
|
+
export declare function useSafeSegments(): string[];
|
|
14
|
+
export declare function useSafeGlobalSearchParams(): Record<string, string | string[]>;
|
|
15
|
+
export declare function getSafeRouter(): any;
|
|
16
|
+
export declare function isExpoRouterAvailable(): boolean;
|
|
17
|
+
//# sourceMappingURL=safeExpoRouter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safeExpoRouter.d.ts","sourceRoot":"","sources":["../../../../src/utils/safeExpoRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAgGH,wBAAgB,aAAa,QAW5B;AAED,wBAAgB,eAAe,IAAI,MAAM,CAWxC;AAED,wBAAgB,eAAe,IAAI,MAAM,EAAE,CAW1C;AAED,wBAAgB,yBAAyB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAW7E;AAMD,wBAAgB,aAAa,QAU5B;AAMD,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* Detected: none
|
|
4
|
-
* Generated at: 2026-02-03T00:33:15.804Z
|
|
2
|
+
* Runtime clipboard implementation
|
|
5
3
|
*
|
|
6
|
-
*
|
|
4
|
+
* Uses Metro's allowOptionalDependencies with top-level try-catch
|
|
5
|
+
* so Metro marks these requires as optional (skipped if not installed).
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* We grab module references eagerly (for Metro), but detect which one
|
|
8
|
+
* actually works lazily on first use — by trying to call it. This avoids
|
|
9
|
+
* NativeModules checks which don't work with TurboModules/new architecture.
|
|
10
|
+
*
|
|
11
|
+
* Consumers must set `transformer.allowOptionalDependencies = true`
|
|
12
|
+
* in their metro.config.js for this to work.
|
|
13
|
+
*
|
|
14
|
+
* Fallback chain:
|
|
15
|
+
* 1. expo-clipboard
|
|
16
|
+
* 2. @react-native-clipboard/clipboard
|
|
17
|
+
* 3. Graceful failure
|
|
11
18
|
*/
|
|
12
19
|
export type ClipboardFunction = (text: string) => Promise<boolean>;
|
|
13
|
-
export declare const clipboardType: "expo" | "react-native" | null;
|
|
20
|
+
export declare const clipboardType: () => "expo" | "react-native" | null;
|
|
14
21
|
export declare const isClipboardAvailable: () => boolean;
|
|
15
22
|
export declare const clipboardFunction: ClipboardFunction;
|
|
16
23
|
//# sourceMappingURL=clipboard-impl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard-impl.d.ts","sourceRoot":"","sources":["../../../../src/clipboard/clipboard-impl.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"clipboard-impl.d.ts","sourceRoot":"","sources":["../../../../src/clipboard/clipboard-impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAqDnE,eAAO,MAAM,aAAa,QAAO,MAAM,GAAG,cAAc,GAAG,IAE1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,OAIvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAmB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./ui";
|
|
2
2
|
export * from "./stores";
|
|
3
|
-
export { displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, } from "./utils";
|
|
3
|
+
export { displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, isExpoRouterAvailable, } from "./utils";
|
|
4
4
|
export * from "./utils/formatting";
|
|
5
5
|
export * from "./utils/time";
|
|
6
6
|
export { isPlainObject as isPlainObjectUtil } from "./utils/typeHelpers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,MAAM,CAAC;AAGrB,cAAc,UAAU,CAAC;AAGzB,OAAO,EAEL,YAAY,EACZ,iBAAiB,EAEjB,iBAAiB,EAEjB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAErB,aAAa,EAEb,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,EAEZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EAEV,kBAAkB,EAClB,uBAAuB,EAEvB,YAAY,EACZ,KAAK,oBAAoB,EAEzB,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,MAAM,CAAC;AAGrB,cAAc,UAAU,CAAC;AAGzB,OAAO,EAEL,YAAY,EACZ,iBAAiB,EAEjB,iBAAiB,EAEjB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAErB,aAAa,EAEb,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,EAEZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EAEV,kBAAkB,EAClB,uBAAuB,EAEvB,YAAY,EACZ,KAAK,oBAAoB,EAEzB,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,EAE3B,aAAa,EACb,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,aAAa,EACb,qBAAqB,GACtB,MAAM,SAAS,CAAC;AAGjB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;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AC;AAG1B,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,iBAAiB,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACjL,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devToolsStorageKeys.d.ts","sourceRoot":"","sources":["../../../../src/storage/devToolsStorageKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;IAC9B;;OAEG;;IAGH;;OAEG;;;;;;;IASH;;OAEG;;;;;;;;IAUH;;OAEG;;;;;;QAQD,kDAAkD;;QAElD,gCAAgC;;QAGhC,gCAAgC;;;IAKlC;;OAEG;;;QAGD,mCAAmC;;;IAIrC;;OAEG;;;;;IAOH;;OAEG;;;;;;;IAQH;;OAEG;;;;;;;IASH;;OAEG;;;;;;;;;;;;;;IAuBH;;OAEG;;;;;;;;;;;IAiBH;;OAEG;;;;;;;;;;;IAgBH;;OAEG;;;;;;;;;;IAgBH;;OAEG;;;;;;;;IAYH;;OAEG;;;;;;;;;IAcH;;OAEG;;;;QAID,oCAAoC;;QAGpC,wCAAwC;;QAGxC,2BAA2B;;;CAIrB,CAAC;AAwBX;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"devToolsStorageKeys.d.ts","sourceRoot":"","sources":["../../../../src/storage/devToolsStorageKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;IAC9B;;OAEG;;IAGH;;OAEG;;;;;;;IASH;;OAEG;;;;;;;;IAUH;;OAEG;;;;;;QAQD,kDAAkD;;QAElD,gCAAgC;;QAGhC,gCAAgC;;;IAKlC;;OAEG;;;QAGD,mCAAmC;;;IAIrC;;OAEG;;;;;IAOH;;OAEG;;;;;;;IAQH;;OAEG;;;;;;;IASH;;OAEG;;;;;;;;;;;;;;IAuBH;;OAEG;;;;;;;;;;;IAiBH;;OAEG;;;;;;;;;;;IAgBH;;OAEG;;;;;;;;;;IAgBH;;OAEG;;;;;;;;IAYH;;OAEG;;;;;;;;;IAcH;;OAEG;;;;QAID,oCAAoC;;QAGpC,wCAAwC;;QAGxC,2BAA2B;;;CAIrB,CAAC;AAwBX;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAqBzD;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAE9D;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAsBpD"}
|
|
@@ -7,4 +7,5 @@ export { parseValue, formatValue, getTypeColor, truncateText, flattenObject, for
|
|
|
7
7
|
export { loadOptionalModule, getCachedOptionalModule } from "./loadOptionalModule";
|
|
8
8
|
export { Subscribable, type SubscribableListener } from "./subscribable";
|
|
9
9
|
export { subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, } from "./subscriberCountNotifier";
|
|
10
|
+
export { useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, isExpoRouterAvailable, } from "./safeExpoRouter";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,aAAa,EACb,qBAAqB,GACtB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe wrapper for expo-router
|
|
3
|
+
*
|
|
4
|
+
* Provides optional imports for expo-router hooks and utilities.
|
|
5
|
+
* Falls back to no-op implementations when expo-router is not installed.
|
|
6
|
+
*
|
|
7
|
+
* On RN CLI (without Expo native modules), expo-router's JS may be bundled but
|
|
8
|
+
* its hooks crash at runtime because native Expo modules are missing.
|
|
9
|
+
* We detect the Expo native runtime before attempting to use expo-router hooks.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useSafeRouter(): any;
|
|
12
|
+
export declare function useSafePathname(): string;
|
|
13
|
+
export declare function useSafeSegments(): string[];
|
|
14
|
+
export declare function useSafeGlobalSearchParams(): Record<string, string | string[]>;
|
|
15
|
+
export declare function getSafeRouter(): any;
|
|
16
|
+
export declare function isExpoRouterAvailable(): boolean;
|
|
17
|
+
//# sourceMappingURL=safeExpoRouter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safeExpoRouter.d.ts","sourceRoot":"","sources":["../../../../src/utils/safeExpoRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAgGH,wBAAgB,aAAa,QAW5B;AAED,wBAAgB,eAAe,IAAI,MAAM,CAWxC;AAED,wBAAgB,eAAe,IAAI,MAAM,EAAE,CAW1C;AAED,wBAAgB,yBAAyB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAW7E;AAMD,wBAAgB,aAAa,QAU5B;AAMD,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/shared-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4-beta.1",
|
|
4
4
|
"description": "Shared UI components, hooks, and utilities",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
],
|
|
116
116
|
"sideEffects": false,
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@buoy-gg/floating-tools-core": "2.1.
|
|
118
|
+
"@buoy-gg/floating-tools-core": "2.1.4-beta.1"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
|
-
"@buoy-gg/license": "
|
|
121
|
+
"@buoy-gg/license": "2.1.4-beta.1",
|
|
122
122
|
"@react-native-clipboard/clipboard": "*",
|
|
123
123
|
"expo-clipboard": "*",
|
|
124
124
|
"expo-file-system": "*",
|
|
@@ -127,9 +127,6 @@
|
|
|
127
127
|
"react-native-safe-area-context": "*"
|
|
128
128
|
},
|
|
129
129
|
"peerDependenciesMeta": {
|
|
130
|
-
"@buoy-gg/license": {
|
|
131
|
-
"optional": true
|
|
132
|
-
},
|
|
133
130
|
"expo-clipboard": {
|
|
134
131
|
"optional": true
|
|
135
132
|
},
|
|
@@ -149,7 +146,7 @@
|
|
|
149
146
|
"expo-clipboard": "~7.1.5",
|
|
150
147
|
"react-native-safe-area-context": "^5.6.2",
|
|
151
148
|
"typescript": "~5.8.3",
|
|
152
|
-
"@buoy-gg/license": "2.1.
|
|
149
|
+
"@buoy-gg/license": "2.1.4-beta.1"
|
|
153
150
|
},
|
|
154
151
|
"react-native-builder-bob": {
|
|
155
152
|
"source": "src",
|