@buoy-gg/core 7.0.14 → 7.0.16
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/floatingMenu/AppHost.web.js +359 -0
- package/lib/commonjs/floatingMenu/AppHostLogic.js +6 -0
- package/lib/commonjs/floatingMenu/DevToolsSettingsModal.web.js +787 -418
- package/lib/commonjs/floatingMenu/FloatingDevTools.js +1 -1
- package/lib/commonjs/floatingMenu/FloatingDevTools.web.js +244 -36
- package/lib/commonjs/floatingMenu/FloatingMenu.js +2 -2
- package/lib/commonjs/floatingMenu/MinimizedToolsContext.js +2 -3
- package/lib/commonjs/floatingMenu/MinimizedToolsStack.web.js +287 -0
- package/lib/commonjs/floatingMenu/autoDiscoverPresets.js +16 -0
- package/lib/commonjs/floatingMenu/autoExternalSync.js +9 -0
- package/lib/commonjs/floatingMenu/dial/DialDevTools.js +7 -4
- package/lib/commonjs/floatingMenu/dial/DialDevTools.web.js +373 -231
- package/lib/commonjs/floatingMenu/dial/DialIcon.js +25 -3
- package/lib/commonjs/floatingMenu/dial/OnboardingTooltip.js +1 -1
- package/lib/commonjs/floatingMenu/dial/OnboardingTooltip.web.js +154 -0
- package/lib/commonjs/floatingMenu/dial/onboardingConstants.web.js +34 -0
- package/lib/commonjs/floatingMenu/floatingTools.js +3 -3
- package/lib/commonjs/floatingMenu/floatingTools.web.js +191 -28
- package/lib/commonjs/index.js +2 -2
- package/lib/commonjs/index.web.js +19 -0
- package/lib/commonjs/utils/autoDiscoverPresets.web.js +50 -5
- package/lib/module/floatingMenu/AppHost.web.js +351 -0
- package/lib/module/floatingMenu/AppHostLogic.js +6 -0
- package/lib/module/floatingMenu/DevToolsSettingsModal.web.js +792 -422
- package/lib/module/floatingMenu/FloatingDevTools.js +2 -2
- package/lib/module/floatingMenu/FloatingDevTools.web.js +247 -38
- package/lib/module/floatingMenu/FloatingMenu.js +2 -2
- package/lib/module/floatingMenu/MinimizedToolsContext.js +2 -3
- package/lib/module/floatingMenu/MinimizedToolsStack.web.js +284 -0
- package/lib/module/floatingMenu/autoDiscoverPresets.js +16 -0
- package/lib/module/floatingMenu/autoExternalSync.js +9 -0
- package/lib/module/floatingMenu/dial/DialDevTools.js +8 -5
- package/lib/module/floatingMenu/dial/DialDevTools.web.js +375 -233
- package/lib/module/floatingMenu/dial/DialIcon.js +26 -4
- package/lib/module/floatingMenu/dial/OnboardingTooltip.js +1 -1
- package/lib/module/floatingMenu/dial/OnboardingTooltip.web.js +149 -0
- package/lib/module/floatingMenu/dial/onboardingConstants.web.js +27 -0
- package/lib/module/floatingMenu/floatingTools.js +3 -3
- package/lib/module/floatingMenu/floatingTools.web.js +190 -28
- package/lib/module/index.js +2 -2
- package/lib/module/index.web.js +5 -0
- package/lib/module/utils/autoDiscoverPresets.web.js +53 -7
- package/lib/typescript/commonjs/floatingMenu/AppHost.web.d.ts +38 -0
- package/lib/typescript/commonjs/floatingMenu/AppHost.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/floatingMenu/AppHostLogic.d.ts +21 -1
- package/lib/typescript/commonjs/floatingMenu/AppHostLogic.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/DevToolsSettingsModal.web.d.ts +5 -2
- package/lib/typescript/commonjs/floatingMenu/DevToolsSettingsModal.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/FloatingDevTools.web.d.ts +2 -14
- package/lib/typescript/commonjs/floatingMenu/FloatingDevTools.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/MinimizedToolsContext.d.ts +2 -20
- package/lib/typescript/commonjs/floatingMenu/MinimizedToolsContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/MinimizedToolsStack.web.d.ts +21 -0
- package/lib/typescript/commonjs/floatingMenu/MinimizedToolsStack.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/floatingMenu/autoDiscoverPresets.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/autoExternalSync.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/dial/DialDevTools.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/dial/DialDevTools.web.d.ts +16 -2
- package/lib/typescript/commonjs/floatingMenu/dial/DialDevTools.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/dial/DialIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/floatingMenu/dial/OnboardingTooltip.web.d.ts +9 -0
- package/lib/typescript/commonjs/floatingMenu/dial/OnboardingTooltip.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/floatingMenu/dial/onboardingConstants.web.d.ts +13 -0
- package/lib/typescript/commonjs/floatingMenu/dial/onboardingConstants.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/floatingMenu/floatingTools.web.d.ts +29 -2
- package/lib/typescript/commonjs/floatingMenu/floatingTools.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +1 -0
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/autoDiscoverPresets.web.d.ts +2 -0
- package/lib/typescript/commonjs/utils/autoDiscoverPresets.web.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/AppHost.web.d.ts +38 -0
- package/lib/typescript/module/floatingMenu/AppHost.web.d.ts.map +1 -0
- package/lib/typescript/module/floatingMenu/AppHostLogic.d.ts +21 -1
- package/lib/typescript/module/floatingMenu/AppHostLogic.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/DevToolsSettingsModal.web.d.ts +5 -2
- package/lib/typescript/module/floatingMenu/DevToolsSettingsModal.web.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/FloatingDevTools.web.d.ts +2 -14
- package/lib/typescript/module/floatingMenu/FloatingDevTools.web.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/MinimizedToolsContext.d.ts +2 -20
- package/lib/typescript/module/floatingMenu/MinimizedToolsContext.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/MinimizedToolsStack.web.d.ts +21 -0
- package/lib/typescript/module/floatingMenu/MinimizedToolsStack.web.d.ts.map +1 -0
- package/lib/typescript/module/floatingMenu/autoDiscoverPresets.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/autoExternalSync.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/dial/DialDevTools.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/dial/DialDevTools.web.d.ts +16 -2
- package/lib/typescript/module/floatingMenu/dial/DialDevTools.web.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/dial/DialIcon.d.ts.map +1 -1
- package/lib/typescript/module/floatingMenu/dial/OnboardingTooltip.web.d.ts +9 -0
- package/lib/typescript/module/floatingMenu/dial/OnboardingTooltip.web.d.ts.map +1 -0
- package/lib/typescript/module/floatingMenu/dial/onboardingConstants.web.d.ts +13 -0
- package/lib/typescript/module/floatingMenu/dial/onboardingConstants.web.d.ts.map +1 -0
- package/lib/typescript/module/floatingMenu/floatingTools.web.d.ts +29 -2
- package/lib/typescript/module/floatingMenu/floatingTools.web.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +1 -0
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/utils/autoDiscoverPresets.web.d.ts +2 -0
- package/lib/typescript/module/utils/autoDiscoverPresets.web.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -15,7 +15,42 @@
|
|
|
15
15
|
* @platform React DOM Web (Vite, CRA, Next.js, Electron)
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { NetworkIcon, EnvIcon } from '@buoy-gg/floating-tools-core';
|
|
18
|
+
import { NetworkIcon, EnvIcon, StorageIcon, QueryIcon, RoutesIcon, RendersIcon } from '@buoy-gg/floating-tools-core';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Dashed-square glyph for debug-borders (no BIF brand icon exists for it
|
|
22
|
+
* yet). Plain SVG so it renders identically everywhere — emoji icons are
|
|
23
|
+
* banned here: WKWebView (Capacitor/Tauri) renders them as tofu boxes.
|
|
24
|
+
*/
|
|
25
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
|
+
function DebugBordersGlyph({
|
|
27
|
+
size
|
|
28
|
+
}) {
|
|
29
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
"aria-hidden": "true",
|
|
34
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
35
|
+
x: "3",
|
|
36
|
+
y: "3",
|
|
37
|
+
width: "18",
|
|
38
|
+
height: "18",
|
|
39
|
+
rx: "2",
|
|
40
|
+
fill: "none",
|
|
41
|
+
stroke: "#10b981",
|
|
42
|
+
strokeWidth: "2",
|
|
43
|
+
strokeDasharray: "4 3"
|
|
44
|
+
}), /*#__PURE__*/_jsx("rect", {
|
|
45
|
+
x: "8",
|
|
46
|
+
y: "8",
|
|
47
|
+
width: "8",
|
|
48
|
+
height: "8",
|
|
49
|
+
rx: "1",
|
|
50
|
+
fill: "#10b98155"
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
19
54
|
|
|
20
55
|
// =============================
|
|
21
56
|
// Default Tool Presets (Fallback)
|
|
@@ -24,8 +59,9 @@ import { NetworkIcon, EnvIcon } from '@buoy-gg/floating-tools-core';
|
|
|
24
59
|
/**
|
|
25
60
|
* Default tool presets for when packages don't export web presets yet.
|
|
26
61
|
* These will be used until each @buoy-gg/* package exports its own preset.
|
|
62
|
+
* Icons are the BIF brand icon components (same artwork as native) —
|
|
63
|
+
* never emoji strings (tofu in WKWebView).
|
|
27
64
|
*/
|
|
28
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
65
|
export const defaultToolPresets = [{
|
|
30
66
|
id: 'env',
|
|
31
67
|
name: 'ENV',
|
|
@@ -40,7 +76,9 @@ export const defaultToolPresets = [{
|
|
|
40
76
|
name: 'STORAGE',
|
|
41
77
|
description: 'AsyncStorage browser',
|
|
42
78
|
slot: 'both',
|
|
43
|
-
icon:
|
|
79
|
+
icon: size => /*#__PURE__*/_jsx(StorageIcon, {
|
|
80
|
+
size: size
|
|
81
|
+
}),
|
|
44
82
|
color: '#BA68C8'
|
|
45
83
|
}, {
|
|
46
84
|
id: 'network',
|
|
@@ -56,28 +94,36 @@ export const defaultToolPresets = [{
|
|
|
56
94
|
name: 'QUERY',
|
|
57
95
|
description: 'React Query inspector',
|
|
58
96
|
slot: 'both',
|
|
59
|
-
icon:
|
|
97
|
+
icon: size => /*#__PURE__*/_jsx(QueryIcon, {
|
|
98
|
+
size: size
|
|
99
|
+
}),
|
|
60
100
|
color: '#FF4154'
|
|
61
101
|
}, {
|
|
62
102
|
id: 'route-events',
|
|
63
103
|
name: 'ROUTES',
|
|
64
104
|
description: 'Route tracking & navigation inspector',
|
|
65
105
|
slot: 'both',
|
|
66
|
-
icon:
|
|
106
|
+
icon: size => /*#__PURE__*/_jsx(RoutesIcon, {
|
|
107
|
+
size: size
|
|
108
|
+
}),
|
|
67
109
|
color: '#FF9F1C'
|
|
68
110
|
}, {
|
|
69
111
|
id: 'highlight-updates',
|
|
70
112
|
name: 'RENDERS',
|
|
71
113
|
description: 'View component render tracking',
|
|
72
114
|
slot: 'dial',
|
|
73
|
-
icon:
|
|
115
|
+
icon: size => /*#__PURE__*/_jsx(RendersIcon, {
|
|
116
|
+
size: size
|
|
117
|
+
}),
|
|
74
118
|
color: '#10b981'
|
|
75
119
|
}, {
|
|
76
120
|
id: 'debug-borders',
|
|
77
121
|
name: 'DEBUG BORDERS',
|
|
78
122
|
description: 'Component layout borders',
|
|
79
123
|
slot: 'dial',
|
|
80
|
-
icon:
|
|
124
|
+
icon: size => /*#__PURE__*/_jsx(DebugBordersGlyph, {
|
|
125
|
+
size: size
|
|
126
|
+
}),
|
|
81
127
|
color: '#10b981'
|
|
82
128
|
}];
|
|
83
129
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { AppInstance, OpenDefinition } from "./AppHostLogic";
|
|
3
|
+
type AppHostContextValue = {
|
|
4
|
+
openApps: AppInstance[];
|
|
5
|
+
isAnyOpen: boolean;
|
|
6
|
+
open: (def: OpenDefinition) => string;
|
|
7
|
+
close: (instanceId?: string) => void;
|
|
8
|
+
closeAll: () => void;
|
|
9
|
+
registerApps: (apps: any[]) => void;
|
|
10
|
+
/** Minimize a tool - hides the modal but keeps state */
|
|
11
|
+
minimize: (instanceId: string) => void;
|
|
12
|
+
/** Restore a minimized tool to visible state */
|
|
13
|
+
restore: (instanceId: string) => void;
|
|
14
|
+
/** Check if a specific tool is minimized */
|
|
15
|
+
isMinimized: (instanceId: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Provides the floating dev tools application host for web. Tracks open tool
|
|
19
|
+
* instances, restores persisted state, and exposes the same imperative
|
|
20
|
+
* helpers as the native `AppHostProvider`.
|
|
21
|
+
*/
|
|
22
|
+
export declare const AppHostProvider: ({ children }: {
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
}) => import("react").JSX.Element;
|
|
25
|
+
/**
|
|
26
|
+
* Accessor hook for the web app host. Falls back to a no-op implementation
|
|
27
|
+
* when rendered outside the provider — same contract as native.
|
|
28
|
+
*/
|
|
29
|
+
export declare const useAppHost: () => AppHostContextValue;
|
|
30
|
+
/**
|
|
31
|
+
* Renders all open dev tool surfaces — DOM twin of the native `AppOverlay`.
|
|
32
|
+
* Later-opened tools stack on top (base z 9000 + index). Minimized tools are
|
|
33
|
+
* shown by the MinimizedToolsStack fused to the floating bubble (native
|
|
34
|
+
* parity) — the old fixed bottom-right MinimizedDock was replaced by it.
|
|
35
|
+
*/
|
|
36
|
+
export declare const AppOverlay: () => import("react").JSX.Element | null;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=AppHost.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppHost.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/AppHost.web.tsx"],"names":[],"mappings":"AAuBA,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,WAAW,EACX,cAAc,EAEf,MAAM,gBAAgB,CAAC;AAGxB,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,MAAM,CAAC;IACtC,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACpC,wDAAwD;IACxD,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gDAAgD;IAChD,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,4CAA4C;IAC5C,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;CAC9C,CAAC;AAuBF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAsNpE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,QAAO,mBAgB7B,CAAC;AAmGF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,0CA8BtB,CAAC"}
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import type { ComponentType, ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Modal state to restore when reopening a minimized tool. Defined here (the
|
|
4
|
+
* platform-free logic module) so the web host doesn't pull in the native
|
|
5
|
+
* MinimizedToolsContext; that file re-exports this type for back-compat.
|
|
6
|
+
*/
|
|
7
|
+
export interface ModalRestoreState {
|
|
8
|
+
/** Modal display mode */
|
|
9
|
+
mode: "bottomSheet" | "floating";
|
|
10
|
+
/** Panel height for bottom sheet mode */
|
|
11
|
+
panelHeight?: number;
|
|
12
|
+
/** Position for floating mode */
|
|
13
|
+
floatingPosition?: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
};
|
|
17
|
+
/** Dimensions for floating mode */
|
|
18
|
+
floatingDimensions?: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
3
23
|
export type LaunchMode = "self-modal" | "host-modal" | "inline" | "toggle-only";
|
|
4
24
|
export type AppInstance = {
|
|
5
25
|
instanceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHostLogic.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/AppHostLogic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AppHostLogic.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/AppHostLogic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;IACjC,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,gBAAgB,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,mCAAmC;IACnC,kBAAkB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACxD;AAED,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEhF,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uDAAuD;IACvD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qCAAqC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE7D;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,WAAW,EAAE,EACtB,KAAK,cAAc,EACnB,YAAY,MAAM,MAAM,KACvB;IAAE,IAAI,EAAE,WAAW,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAuBlE,CAAC"}
|
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
* Uses shared configuration and logic from @buoy-gg/floating-tools-react.
|
|
5
5
|
* Platform-specific: CSS, mouse events, web JSX.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* VISUAL PARITY: styled 1:1 against the native reference
|
|
8
|
+
* (devtools-floating-menu/src/floatingMenu/DevToolsSettingsModal.tsx, which
|
|
9
|
+
* renders inside JsModal + ModalHeader + TabSelector from @buoy-gg/shared-ui).
|
|
10
|
+
* shared-ui is RN-only, so its buoyColors palette and the native-only style
|
|
11
|
+
* values are inlined below with provenance comments.
|
|
9
12
|
*
|
|
10
13
|
* @platform React DOM Web (Vite, CRA, Next.js, Electron)
|
|
11
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevToolsSettingsModal.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/DevToolsSettingsModal.web.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"DevToolsSettingsModal.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/DevToolsSettingsModal.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAaL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEpB,MAAM,+BAA+B,CAAC;AA6DvC,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACvC,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzD;AAqdD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,cAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,OAA2B,EAC3B,gBAAgB,GACjB,EAAE,kBAAkB,sCAoapB"}
|
|
@@ -28,7 +28,7 @@ export interface FloatingDevToolsProps {
|
|
|
28
28
|
onEnvironmentSwitch?: (env: Environment) => void;
|
|
29
29
|
/** Custom tools to add (will be merged with auto-discovered) */
|
|
30
30
|
apps?: WebToolConfig[];
|
|
31
|
-
/** Disable onboarding
|
|
31
|
+
/** Disable onboarding tooltips */
|
|
32
32
|
disableHints?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* API parity with native. Desktop sync is native-only, so headless mode
|
|
@@ -36,18 +36,6 @@ export interface FloatingDevToolsProps {
|
|
|
36
36
|
*/
|
|
37
37
|
headless?: boolean;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
* Unified FloatingDevTools component - self-contained, no wrapping required.
|
|
41
|
-
*
|
|
42
|
-
* Matches mobile API exactly:
|
|
43
|
-
* ```tsx
|
|
44
|
-
* // Mobile
|
|
45
|
-
* <FloatingDevTools environment="qa" userRole={userRole} />
|
|
46
|
-
*
|
|
47
|
-
* // Web (this component)
|
|
48
|
-
* <FloatingDevTools environment="qa" userRole="admin" />
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
export declare function FloatingDevTools({ environment: _environment, userRole, availableEnvironments: _availableEnvironments, onEnvironmentSwitch: _onEnvironmentSwitch, apps, disableHints: _disableHints, headless, }: FloatingDevToolsProps): import("react").JSX.Element | null;
|
|
39
|
+
export declare function FloatingDevTools(props: FloatingDevToolsProps): import("react").JSX.Element;
|
|
52
40
|
export type { WebToolConfig, Environment, UserRole };
|
|
53
41
|
//# sourceMappingURL=FloatingDevTools.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingDevTools.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/FloatingDevTools.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"FloatingDevTools.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/FloatingDevTools.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,QAAQ,EAId,MAAM,+BAA+B,CAAC;AA+BvC,MAAM,WAAW,qBAAqB;IAEpC,0DAA0D;IAC1D,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,2CAA2C;IAC3C,qBAAqB,CAAC,EAAE,WAAW,EAAE,CAAC;IACtC,4CAA4C;IAC5C,mBAAmB,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IAGjD,gEAAgE;IAChE,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC;IAEvB,kCAAkC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAmCD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAQ5D;AAiWD,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,23 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
export interface ModalRestoreState {
|
|
6
|
-
/** Modal display mode */
|
|
7
|
-
mode: "bottomSheet" | "floating";
|
|
8
|
-
/** Panel height for bottom sheet mode */
|
|
9
|
-
panelHeight?: number;
|
|
10
|
-
/** Position for floating mode */
|
|
11
|
-
floatingPosition?: {
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
};
|
|
15
|
-
/** Dimensions for floating mode */
|
|
16
|
-
floatingDimensions?: {
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
2
|
+
import type { ModalRestoreState } from "./AppHostLogic";
|
|
3
|
+
export type { ModalRestoreState } from "./AppHostLogic";
|
|
21
4
|
/**
|
|
22
5
|
* Represents a minimized tool that can be restored
|
|
23
6
|
*/
|
|
@@ -91,5 +74,4 @@ export declare function MinimizedToolsProvider({ children, getToolIcon, }: Minim
|
|
|
91
74
|
* Must be used within a MinimizedToolsProvider.
|
|
92
75
|
*/
|
|
93
76
|
export declare function useMinimizedTools(): MinimizedToolsContextValue;
|
|
94
|
-
export {};
|
|
95
77
|
//# sourceMappingURL=MinimizedToolsContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MinimizedToolsContext.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/MinimizedToolsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAOZ,SAAS,EAEV,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MinimizedToolsContext.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/MinimizedToolsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAOZ,SAAS,EAEV,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,iDAAiD;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAWD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAY3D;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED;;GAEG;AACH,UAAU,0BAA0B;IAClC,wCAAwC;IACxC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,2EAA2E;IAC3E,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,KAAK,IAAI,CAAC;IAC7D,wEAAwE;IACxE,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,aAAa,GAAG,IAAI,CAAC;IACtD,6CAA6C;IAC7C,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;IACrC,8CAA8C;IAC9C,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,aAAa,GAAG,SAAS,CAAC;IACpE,gCAAgC;IAChC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,mBAAmB,EAAE,MAAM,YAAY,CAAC;IACxC,wDAAwD;IACxD,mBAAmB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,YAAY,GAAG,IAAI,CAAC;CAClE;AAkCD,UAAU,2BAA2B;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,oFAAoF;IACpF,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,WAAW,GACZ,EAAE,2BAA2B,qBAwJ7B;AAMD;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,0BAA0B,CAmB9D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MinimizedToolsStack — Web twin of MinimizedToolsStack.tsx +
|
|
3
|
+
* shared-ui's ExpandablePopover (inlined: the popover is only used here on
|
|
4
|
+
* web). A vertical stack of minimized-tool icons fused to the top of the
|
|
5
|
+
* floating bubble's drag handle:
|
|
6
|
+
* - collapsed: a 28px "peek" tab (chevron-up + count) with top corners only
|
|
7
|
+
* - expanded: animated-height panel, icons newest-first, collapse chevron
|
|
8
|
+
* - expanded state persists under "@react_buoy_minimized_stack_expanded"
|
|
9
|
+
* - each icon runs the native randomized glitch loop (translateX shake +
|
|
10
|
+
* opacity flicker + scale pulse, 80ms), scheduled every 2-6s + index*300ms
|
|
11
|
+
*
|
|
12
|
+
* Data comes from the web AppHost (openApps with minimized === true) instead
|
|
13
|
+
* of the native MinimizedToolsContext — same derivation the MinimizedDock
|
|
14
|
+
* used before this replaced it.
|
|
15
|
+
*/
|
|
16
|
+
export interface MinimizedToolsStackProps {
|
|
17
|
+
/** Width of the stack — native matches the drag handle (32). */
|
|
18
|
+
containerWidth?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare function MinimizedToolsStack({ containerWidth }: MinimizedToolsStackProps): import("react").JSX.Element | null;
|
|
21
|
+
//# sourceMappingURL=MinimizedToolsStack.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MinimizedToolsStack.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/MinimizedToolsStack.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyHH,MAAM,WAAW,wBAAwB;IACvC,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,cAAmB,EAAE,EAAE,wBAAwB,sCAsKpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoDiscoverPresets.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/autoDiscoverPresets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"autoDiscoverPresets.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/autoDiscoverPresets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,EAAE,CAoRpD;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,YAAY,EAAE,GAC1B,YAAY,EAAE,CAahB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoExternalSync.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/autoExternalSync.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"autoExternalSync.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/autoExternalSync.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAsIvD,iFAAiF;AACjF,wBAAgB,uBAAuB,IAAI,OAAO,CAEjD;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAuBD,UAAU,qBAAqB;IAC7B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,6EAA6E;IAC7E,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;IACjC,8EAA8E;IAC9E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,eAAe,EACf,KAAK,EACL,UAAU,GACX,EAAE,qBAAqB,QAsHvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialDevTools.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/DialDevTools.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgC5E,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAqBlB,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,iBAAiB,CAAC;QAAC,OAAO,CAAC,EAAE,mBAAmB,CAAA;KAAE,KAAK,SAAS,CAAC;IAC/H,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAWF,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"DialDevTools.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/DialDevTools.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgC5E,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAqBlB,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,iBAAiB,CAAC;QAAC,OAAO,CAAC,EAAE,mBAAmB,CAAA;KAAE,KAAK,SAAS,CAAC;IAC/H,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAWF,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAsrB9C,CAAC"}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* Uses shared layout calculations, styling, and animation config from @buoy-gg/floating-tools-core.
|
|
5
5
|
* Platform-specific: CSS animations, mouse events, web JSX.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* Visuals mirror the native DialDevTools.tsx exactly — values that never made
|
|
8
|
+
* it into the shared dial.ts are inlined here with provenance comments.
|
|
8
9
|
*
|
|
9
10
|
* @platform React DOM Web (Vite, CRA, Next.js, Electron)
|
|
10
11
|
*/
|
|
@@ -15,12 +16,25 @@ export interface DialIcon {
|
|
|
15
16
|
icon: ReactNode;
|
|
16
17
|
color?: string;
|
|
17
18
|
onPress: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* Tool can't be launched (no component/onPress on web). Rendered like the
|
|
21
|
+
* native uninstalled state: real icon + name with a muted "Unavailable"
|
|
22
|
+
* caption, non-interactive, and the dial stays open on tap.
|
|
23
|
+
*/
|
|
24
|
+
unavailable?: boolean;
|
|
18
25
|
}
|
|
19
26
|
export interface DialMenuProps {
|
|
20
27
|
icons: DialIcon[];
|
|
21
28
|
onClose: () => void;
|
|
22
29
|
centerLabel?: string;
|
|
23
30
|
onCenterPress?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* The settings modal is open above the dial — center label becomes the
|
|
33
|
+
* stacked CLOSE / SETTINGS (native DialDevTools.tsx:716-724).
|
|
34
|
+
*/
|
|
35
|
+
settingsOpen?: boolean;
|
|
36
|
+
/** Suppress the settings onboarding tooltip (disableHints). */
|
|
37
|
+
hintsDisabled?: boolean;
|
|
24
38
|
}
|
|
25
|
-
export declare function DialMenu({ icons, onClose, centerLabel, onCenterPress, }: DialMenuProps): import("react").JSX.Element;
|
|
39
|
+
export declare function DialMenu({ icons, onClose, centerLabel, onCenterPress, settingsOpen, hintsDisabled, }: DialMenuProps): import("react").JSX.Element;
|
|
26
40
|
//# sourceMappingURL=DialDevTools.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialDevTools.web.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/DialDevTools.web.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"DialDevTools.web.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/DialDevTools.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAsB,MAAM,OAAO,CAAC;AAwC9G,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAsQD,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,OAAO,EACP,WAAoB,EACpB,aAAa,EACb,YAAoB,EACpB,aAAqB,GACtB,EAAE,aAAa,+BA4jBf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialIcon.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/DialIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,EAAE,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAML,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DialIcon.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/DialIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,EAAE,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAML,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAkB1C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,CAAC;IACf,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC;IAC9B,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,KAAK,CAwO9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface OnboardingTooltipProps {
|
|
2
|
+
title: string;
|
|
3
|
+
message: string;
|
|
4
|
+
onDismiss: () => void;
|
|
5
|
+
/** Hide the arrow (dial settings tooltip points at nothing specific). */
|
|
6
|
+
showArrow?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function OnboardingTooltip({ title, message, onDismiss, showArrow, }: OnboardingTooltipProps): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=OnboardingTooltip.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnboardingTooltip.web.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/OnboardingTooltip.web.tsx"],"names":[],"mappings":"AAmCA,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,yEAAyE;IACzE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,OAAO,EACP,SAAS,EACT,SAAgB,GACjB,EAAE,sBAAsB,+BAsIxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web twin of onboardingConstants.ts — same math, window.innerHeight instead
|
|
3
|
+
* of RN Dimensions.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ARROW_BOTTOM_OFFSET = -40;
|
|
6
|
+
export declare const ARROW_HEIGHT = 20;
|
|
7
|
+
export declare const SPACING_GAP = 10;
|
|
8
|
+
export declare function getScreenCenterY(): number;
|
|
9
|
+
/** Distance from screen bottom for tooltip positioning (centered-ish). */
|
|
10
|
+
export declare function calculateTooltipPosition(): number;
|
|
11
|
+
/** Distance from screen bottom where the bubble should sit (under the arrow). */
|
|
12
|
+
export declare function calculateTargetPosition(): number;
|
|
13
|
+
//# sourceMappingURL=onboardingConstants.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onboardingConstants.web.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/onboardingConstants.web.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,0EAA0E;AAC1E,wBAAgB,wBAAwB,IAAI,MAAM,CAGjD;AAED,iFAAiF;AACjF,wBAAgB,uBAAuB,IAAI,MAAM,CAKhD"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* FloatingTools - Web renderer using shared React bindings.
|
|
3
3
|
*
|
|
4
4
|
* This file contains ONLY web-specific code (React DOM):
|
|
5
|
-
* -
|
|
5
|
+
* - Pointer event handling (mouse + touch — WKWebView/Capacitor included)
|
|
6
6
|
* - requestAnimationFrame animation
|
|
7
7
|
* - Web JSX (div, span)
|
|
8
8
|
* - localStorage adapter
|
|
@@ -22,6 +22,33 @@ export declare function UserStatus({ userRole, onPress, }: {
|
|
|
22
22
|
export interface FloatingToolsProps {
|
|
23
23
|
enablePositionPersistence?: boolean;
|
|
24
24
|
children?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Slide the bubble to the screen edge while a dial/tool is open and
|
|
27
|
+
* restore it after (native `pushToSide`, FloatingMenu.tsx:178-181).
|
|
28
|
+
*/
|
|
29
|
+
pushToSide?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Disable pointer events on the bubble while overlays own the screen —
|
|
32
|
+
* native sets pointerEvents:"none" on the floating layer while the dial
|
|
33
|
+
* is open so its pager buttons aren't eaten by bubble gestures.
|
|
34
|
+
*/
|
|
35
|
+
suspendPointerEvents?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Center the bubble under the onboarding tooltip arrow
|
|
38
|
+
* (native `centerOnboarding`, floatingTools.tsx:706-744).
|
|
39
|
+
*/
|
|
40
|
+
centerOnboarding?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Minimized-tools stack node, rendered fused to the top of the drag handle
|
|
43
|
+
* (native floatingTools.tsx:944-960: absolute bottom 100%, left 0, width 32).
|
|
44
|
+
*/
|
|
45
|
+
minimizedStack?: ReactNode;
|
|
46
|
+
/** Whether the stack has items — morphs the bubble's top-left corner flat. */
|
|
47
|
+
hasMinimizedStack?: boolean;
|
|
25
48
|
}
|
|
26
|
-
export declare function
|
|
49
|
+
export declare function getBubbleAnchorPosition(): {
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
} | null;
|
|
53
|
+
export declare function FloatingTools({ enablePositionPersistence, children, pushToSide, suspendPointerEvents, centerOnboarding, minimizedStack, hasMinimizedStack, }: FloatingToolsProps): import("react").JSX.Element | null;
|
|
27
54
|
//# sourceMappingURL=floatingTools.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floatingTools.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/floatingTools.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"floatingTools.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/floatingTools.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAiBL,KAAK,QAAQ,EAEd,MAAM,+BAA+B,CAAC;AAGvC,YAAY,EAAE,QAAQ,EAAE,CAAC;AAgFzB,wBAAgB,OAAO,gCAWtB;AAgBD,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,OAAO,GACR,EAAE;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,+BAyDA;AAkDD,MAAM,WAAW,kBAAkB;IACjC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAKD,wBAAgB,uBAAuB,IAAI;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAEzE;AAED,wBAAgB,aAAa,CAAC,EAC5B,yBAAgC,EAChC,QAAQ,EACR,UAAkB,EAClB,oBAA4B,EAC5B,gBAAwB,EACxB,cAAc,EACd,iBAAyB,GAC1B,EAAE,kBAAkB,sCAgSpB"}
|
|
@@ -14,6 +14,7 @@ export { DialMenu } from "./floatingMenu/dial/DialDevTools.web";
|
|
|
14
14
|
export type { DialIcon, DialMenuProps } from "./floatingMenu/dial/DialDevTools.web";
|
|
15
15
|
export { SettingsModal } from "./floatingMenu/DevToolsSettingsModal.web";
|
|
16
16
|
export type { SettingsModalProps } from "./floatingMenu/DevToolsSettingsModal.web";
|
|
17
|
+
export { AppHostProvider, AppOverlay, useAppHost } from "./floatingMenu/AppHost.web";
|
|
17
18
|
export { autoDiscoverWebPresets, autoDiscoverWithCustom, getToolsBySlot, getEnabledTools, defaultToolPresets, } from "./utils/autoDiscoverPresets.web";
|
|
18
19
|
export type { WebToolConfig, Environment, UserRole, StorageAdapter, DevToolsSettings, AvailableToolConfig, } from "@buoy-gg/floating-tools-react";
|
|
19
20
|
export { useSettings, useFloatingTools, getToolLabel, getToolDescription, getToolColor, settingsColors, settingsStyles, dialColors, dialStyles, } from "@buoy-gg/floating-tools-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,YAAY,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAGjF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACtF,YAAY,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAChE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEpF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,YAAY,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,YAAY,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAGjF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACtF,YAAY,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAChE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEpF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,YAAY,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAKnF,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGrF,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AAGzC,YAAY,EACV,aAAa,EACb,WAAW,EACX,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,UAAU,EACV,UAAU,GACX,MAAM,+BAA+B,CAAC"}
|
|
@@ -16,6 +16,8 @@ import type { WebToolConfig } from '@buoy-gg/floating-tools-react';
|
|
|
16
16
|
/**
|
|
17
17
|
* Default tool presets for when packages don't export web presets yet.
|
|
18
18
|
* These will be used until each @buoy-gg/* package exports its own preset.
|
|
19
|
+
* Icons are the BIF brand icon components (same artwork as native) —
|
|
20
|
+
* never emoji strings (tofu in WKWebView).
|
|
19
21
|
*/
|
|
20
22
|
export declare const defaultToolPresets: WebToolConfig[];
|
|
21
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoDiscoverPresets.web.d.ts","sourceRoot":"","sources":["../../../../src/utils/autoDiscoverPresets.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"autoDiscoverPresets.web.d.ts","sourceRoot":"","sources":["../../../../src/utils/autoDiscoverPresets.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAsCnE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAyD7C,CAAC;AAMF;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,IAAI,aAAa,EAAE,CAkBxD;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,GAAE,aAAa,EAAO,GAChC,aAAa,EAAE,CAejB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,aAAa,EAAE,EACtB,IAAI,EAAE,MAAM,GAAG,KAAK,GACnB,aAAa,EAAE,CAKjB;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EAAE,EACtB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,GACjC,aAAa,EAAE,CAGjB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { AppInstance, OpenDefinition } from "./AppHostLogic";
|
|
3
|
+
type AppHostContextValue = {
|
|
4
|
+
openApps: AppInstance[];
|
|
5
|
+
isAnyOpen: boolean;
|
|
6
|
+
open: (def: OpenDefinition) => string;
|
|
7
|
+
close: (instanceId?: string) => void;
|
|
8
|
+
closeAll: () => void;
|
|
9
|
+
registerApps: (apps: any[]) => void;
|
|
10
|
+
/** Minimize a tool - hides the modal but keeps state */
|
|
11
|
+
minimize: (instanceId: string) => void;
|
|
12
|
+
/** Restore a minimized tool to visible state */
|
|
13
|
+
restore: (instanceId: string) => void;
|
|
14
|
+
/** Check if a specific tool is minimized */
|
|
15
|
+
isMinimized: (instanceId: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Provides the floating dev tools application host for web. Tracks open tool
|
|
19
|
+
* instances, restores persisted state, and exposes the same imperative
|
|
20
|
+
* helpers as the native `AppHostProvider`.
|
|
21
|
+
*/
|
|
22
|
+
export declare const AppHostProvider: ({ children }: {
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
}) => import("react").JSX.Element;
|
|
25
|
+
/**
|
|
26
|
+
* Accessor hook for the web app host. Falls back to a no-op implementation
|
|
27
|
+
* when rendered outside the provider — same contract as native.
|
|
28
|
+
*/
|
|
29
|
+
export declare const useAppHost: () => AppHostContextValue;
|
|
30
|
+
/**
|
|
31
|
+
* Renders all open dev tool surfaces — DOM twin of the native `AppOverlay`.
|
|
32
|
+
* Later-opened tools stack on top (base z 9000 + index). Minimized tools are
|
|
33
|
+
* shown by the MinimizedToolsStack fused to the floating bubble (native
|
|
34
|
+
* parity) — the old fixed bottom-right MinimizedDock was replaced by it.
|
|
35
|
+
*/
|
|
36
|
+
export declare const AppOverlay: () => import("react").JSX.Element | null;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=AppHost.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppHost.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/AppHost.web.tsx"],"names":[],"mappings":"AAuBA,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,WAAW,EACX,cAAc,EAEf,MAAM,gBAAgB,CAAC;AAGxB,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,MAAM,CAAC;IACtC,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACpC,wDAAwD;IACxD,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gDAAgD;IAChD,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,4CAA4C;IAC5C,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;CAC9C,CAAC;AAuBF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAsNpE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,QAAO,mBAgB7B,CAAC;AAmGF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,0CA8BtB,CAAC"}
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import type { ComponentType, ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Modal state to restore when reopening a minimized tool. Defined here (the
|
|
4
|
+
* platform-free logic module) so the web host doesn't pull in the native
|
|
5
|
+
* MinimizedToolsContext; that file re-exports this type for back-compat.
|
|
6
|
+
*/
|
|
7
|
+
export interface ModalRestoreState {
|
|
8
|
+
/** Modal display mode */
|
|
9
|
+
mode: "bottomSheet" | "floating";
|
|
10
|
+
/** Panel height for bottom sheet mode */
|
|
11
|
+
panelHeight?: number;
|
|
12
|
+
/** Position for floating mode */
|
|
13
|
+
floatingPosition?: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
};
|
|
17
|
+
/** Dimensions for floating mode */
|
|
18
|
+
floatingDimensions?: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
3
23
|
export type LaunchMode = "self-modal" | "host-modal" | "inline" | "toggle-only";
|
|
4
24
|
export type AppInstance = {
|
|
5
25
|
instanceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHostLogic.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/AppHostLogic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AppHostLogic.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/AppHostLogic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;IACjC,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,gBAAgB,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,mCAAmC;IACnC,kBAAkB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACxD;AAED,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEhF,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uDAAuD;IACvD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qCAAqC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE7D;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,WAAW,EAAE,EACtB,KAAK,cAAc,EACnB,YAAY,MAAM,MAAM,KACvB;IAAE,IAAI,EAAE,WAAW,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAuBlE,CAAC"}
|
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
* Uses shared configuration and logic from @buoy-gg/floating-tools-react.
|
|
5
5
|
* Platform-specific: CSS, mouse events, web JSX.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* VISUAL PARITY: styled 1:1 against the native reference
|
|
8
|
+
* (devtools-floating-menu/src/floatingMenu/DevToolsSettingsModal.tsx, which
|
|
9
|
+
* renders inside JsModal + ModalHeader + TabSelector from @buoy-gg/shared-ui).
|
|
10
|
+
* shared-ui is RN-only, so its buoyColors palette and the native-only style
|
|
11
|
+
* values are inlined below with provenance comments.
|
|
9
12
|
*
|
|
10
13
|
* @platform React DOM Web (Vite, CRA, Next.js, Electron)
|
|
11
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevToolsSettingsModal.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/DevToolsSettingsModal.web.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"DevToolsSettingsModal.web.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/DevToolsSettingsModal.web.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAaL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEpB,MAAM,+BAA+B,CAAC;AA6DvC,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACvC,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzD;AAqdD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,cAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,OAA2B,EAC3B,gBAAgB,GACjB,EAAE,kBAAkB,sCAoapB"}
|