react-grab 0.0.55 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-EAIY6I5Y.cjs → chunk-FXFNCH4T.cjs} +128 -279
- package/dist/{chunk-GQ7Z2X35.js → chunk-YLB7TBSB.js} +128 -279
- package/dist/{core-DeAAaVyA.d.cts → core-B9k7XYK9.d.cts} +0 -1
- package/dist/{core-DeAAaVyA.d.ts → core-B9k7XYK9.d.ts} +0 -1
- package/dist/core.cjs +9 -9
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.global.js +26 -26
- package/dist/index.js +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -232,7 +232,6 @@ interface Options {
|
|
|
232
232
|
enabled?: boolean;
|
|
233
233
|
keyHoldDuration?: number;
|
|
234
234
|
allowActivationInsideInput?: boolean;
|
|
235
|
-
copyFileOnly?: boolean;
|
|
236
235
|
theme?: Theme;
|
|
237
236
|
activationShortcut?: (event: KeyboardEvent) => boolean;
|
|
238
237
|
activationKey?: ActivationKey;
|
|
@@ -232,7 +232,6 @@ interface Options {
|
|
|
232
232
|
enabled?: boolean;
|
|
233
233
|
keyHoldDuration?: number;
|
|
234
234
|
allowActivationInsideInput?: boolean;
|
|
235
|
-
copyFileOnly?: boolean;
|
|
236
235
|
theme?: Theme;
|
|
237
236
|
activationShortcut?: (event: KeyboardEvent) => boolean;
|
|
238
237
|
activationKey?: ActivationKey;
|
package/dist/core.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFXFNCH4T_cjs = require('./chunk-FXFNCH4T.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DEFAULT_THEME", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkFXFNCH4T_cjs.DEFAULT_THEME; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatElementInfo", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFXFNCH4T_cjs.formatElementInfo; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "generateSnippet", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkFXFNCH4T_cjs.generateSnippet; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getFileName", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkFXFNCH4T_cjs.getFileName; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getNearestComponentName", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkFXFNCH4T_cjs.getNearestComponentName; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getStack", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkFXFNCH4T_cjs.getStack; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "init", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkFXFNCH4T_cjs.init; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isInstrumentationActive", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkFXFNCH4T_cjs.Ee; }
|
|
38
38
|
});
|
package/dist/core.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AgentContext, p as AgentProvider, o as AgentSession, D as DEFAULT_THEME, O as Options, h as OverlayBounds, R as ReactGrabAPI, t as ReactGrabRendererProps, f as formatElementInfo, b as generateSnippet, s as getFileName, a as getNearestComponentName, g as getStack, i as init } from './core-
|
|
1
|
+
export { A as AgentContext, p as AgentProvider, o as AgentSession, D as DEFAULT_THEME, O as Options, h as OverlayBounds, R as ReactGrabAPI, t as ReactGrabRendererProps, f as formatElementInfo, b as generateSnippet, s as getFileName, a as getNearestComponentName, g as getStack, i as init } from './core-B9k7XYK9.cjs';
|
|
2
2
|
export { isInstrumentationActive } from 'bippy';
|
|
3
3
|
import 'bippy/source';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AgentContext, p as AgentProvider, o as AgentSession, D as DEFAULT_THEME, O as Options, h as OverlayBounds, R as ReactGrabAPI, t as ReactGrabRendererProps, f as formatElementInfo, b as generateSnippet, s as getFileName, a as getNearestComponentName, g as getStack, i as init } from './core-
|
|
1
|
+
export { A as AgentContext, p as AgentProvider, o as AgentSession, D as DEFAULT_THEME, O as Options, h as OverlayBounds, R as ReactGrabAPI, t as ReactGrabRendererProps, f as formatElementInfo, b as generateSnippet, s as getFileName, a as getNearestComponentName, g as getStack, i as init } from './core-B9k7XYK9.js';
|
|
2
2
|
export { isInstrumentationActive } from 'bippy';
|
|
3
3
|
import 'bippy/source';
|
package/dist/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DEFAULT_THEME, formatElementInfo, generateSnippet, getFileName, getNearestComponentName, getStack, init, Ee as isInstrumentationActive } from './chunk-
|
|
1
|
+
export { DEFAULT_THEME, formatElementInfo, generateSnippet, getFileName, getNearestComponentName, getStack, init, Ee as isInstrumentationActive } from './chunk-YLB7TBSB.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFXFNCH4T_cjs = require('./chunk-FXFNCH4T.cjs');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @license MIT
|
|
@@ -30,7 +30,7 @@ if (typeof window !== "undefined") {
|
|
|
30
30
|
if (window.__REACT_GRAB__) {
|
|
31
31
|
globalApi = window.__REACT_GRAB__;
|
|
32
32
|
} else {
|
|
33
|
-
globalApi =
|
|
33
|
+
globalApi = chunkFXFNCH4T_cjs.init();
|
|
34
34
|
window.__REACT_GRAB__ = globalApi;
|
|
35
35
|
window.dispatchEvent(
|
|
36
36
|
new CustomEvent("react-grab:init", { detail: globalApi })
|
|
@@ -40,31 +40,31 @@ if (typeof window !== "undefined") {
|
|
|
40
40
|
|
|
41
41
|
Object.defineProperty(exports, "DEFAULT_THEME", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFXFNCH4T_cjs.DEFAULT_THEME; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "formatElementInfo", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFXFNCH4T_cjs.formatElementInfo; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "generateSnippet", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkFXFNCH4T_cjs.generateSnippet; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "getNearestComponentName", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkFXFNCH4T_cjs.getNearestComponentName; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "getStack", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkFXFNCH4T_cjs.getStack; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "init", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkFXFNCH4T_cjs.init; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "isInstrumentationActive", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkFXFNCH4T_cjs.Ee; }
|
|
68
68
|
});
|
|
69
69
|
exports.getGlobalApi = getGlobalApi;
|
|
70
70
|
exports.setGlobalApi = setGlobalApi;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReactGrabAPI } from './core-
|
|
2
|
-
export { A as AgentContext, r as AgentOptions, p as AgentProvider, o as AgentSession, q as AgentSessionStorage, C as CrosshairContext, D as DEFAULT_THEME, l as DeepPartial, j as DragRect, n as ElementLabelContext, E as ElementLabelVariant, G as GrabbedBox, I as InputModeContext, O as Options, h as OverlayBounds, P as Position, c as ReactGrabState, k as Rect, e as RenderData, d as RenderType, m as SuccessLabelContext, S as SuccessLabelType, T as Theme, f as formatElementInfo, b as generateSnippet, a as getNearestComponentName, g as getStack, i as init } from './core-
|
|
1
|
+
import { R as ReactGrabAPI } from './core-B9k7XYK9.cjs';
|
|
2
|
+
export { A as AgentContext, r as AgentOptions, p as AgentProvider, o as AgentSession, q as AgentSessionStorage, C as CrosshairContext, D as DEFAULT_THEME, l as DeepPartial, j as DragRect, n as ElementLabelContext, E as ElementLabelVariant, G as GrabbedBox, I as InputModeContext, O as Options, h as OverlayBounds, P as Position, c as ReactGrabState, k as Rect, e as RenderData, d as RenderType, m as SuccessLabelContext, S as SuccessLabelType, T as Theme, f as formatElementInfo, b as generateSnippet, a as getNearestComponentName, g as getStack, i as init } from './core-B9k7XYK9.cjs';
|
|
3
3
|
export { isInstrumentationActive } from 'bippy';
|
|
4
4
|
import 'bippy/source';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReactGrabAPI } from './core-
|
|
2
|
-
export { A as AgentContext, r as AgentOptions, p as AgentProvider, o as AgentSession, q as AgentSessionStorage, C as CrosshairContext, D as DEFAULT_THEME, l as DeepPartial, j as DragRect, n as ElementLabelContext, E as ElementLabelVariant, G as GrabbedBox, I as InputModeContext, O as Options, h as OverlayBounds, P as Position, c as ReactGrabState, k as Rect, e as RenderData, d as RenderType, m as SuccessLabelContext, S as SuccessLabelType, T as Theme, f as formatElementInfo, b as generateSnippet, a as getNearestComponentName, g as getStack, i as init } from './core-
|
|
1
|
+
import { R as ReactGrabAPI } from './core-B9k7XYK9.js';
|
|
2
|
+
export { A as AgentContext, r as AgentOptions, p as AgentProvider, o as AgentSession, q as AgentSessionStorage, C as CrosshairContext, D as DEFAULT_THEME, l as DeepPartial, j as DragRect, n as ElementLabelContext, E as ElementLabelVariant, G as GrabbedBox, I as InputModeContext, O as Options, h as OverlayBounds, P as Position, c as ReactGrabState, k as Rect, e as RenderData, d as RenderType, m as SuccessLabelContext, S as SuccessLabelType, T as Theme, f as formatElementInfo, b as generateSnippet, a as getNearestComponentName, g as getStack, i as init } from './core-B9k7XYK9.js';
|
|
3
3
|
export { isInstrumentationActive } from 'bippy';
|
|
4
4
|
import 'bippy/source';
|
|
5
5
|
|