grab 0.1.46 → 0.1.47-dev.7ee2a02

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.
Files changed (36) hide show
  1. package/dist/{action-shortcuts-BhgJKntz.cjs → action-shortcuts-DDPp2gxv.cjs} +1 -1
  2. package/dist/{action-shortcuts-cDhw_6qW.js → action-shortcuts-PgiCoeh3.js} +1 -1
  3. package/dist/copy-content-CKqVWyaz.js +10 -0
  4. package/dist/copy-content-ClChIE02.cjs +10 -0
  5. package/dist/{copy-content-CBoQwSYB.d.ts → copy-content-D8CqvhtV.d.ts} +12 -2
  6. package/dist/{copy-content-BM2MjZVW.d.cts → copy-content-pjGQdIH0.d.cts} +12 -2
  7. package/dist/core/index.cjs +1 -1
  8. package/dist/core/index.d.cts +2 -2
  9. package/dist/core/index.d.ts +2 -2
  10. package/dist/core/index.js +1 -1
  11. package/dist/core-BUlg5bX-.js +15 -0
  12. package/dist/core-BZxnb3CN.cjs +15 -0
  13. package/dist/freeze-updates-B0axYP4E.js +51 -0
  14. package/dist/freeze-updates-CBxwyu2R.cjs +51 -0
  15. package/dist/{index-BTBtaQ_D.d.ts → index-CxCZZDDI.d.ts} +1 -1
  16. package/dist/{index-DsD2BMI2.d.cts → index-olf-8IUn.d.cts} +1 -1
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.d.cts +2 -2
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.global.js +16 -16
  21. package/dist/index.js +1 -1
  22. package/dist/primitives.cjs +2 -2
  23. package/dist/primitives.d.cts +1 -1
  24. package/dist/primitives.d.ts +1 -1
  25. package/dist/primitives.js +2 -2
  26. package/dist/renderer-CdxitTFD.cjs +9 -0
  27. package/dist/renderer-DVryUjlX.js +9 -0
  28. package/package.json +2 -2
  29. package/dist/copy-content-BjOai5Gj.cjs +0 -10
  30. package/dist/copy-content-CI1iDLrJ.js +0 -10
  31. package/dist/core-Ctfgtt4E.js +0 -15
  32. package/dist/core-QX9TA-3t.cjs +0 -15
  33. package/dist/freeze-updates-CFmys1LC.cjs +0 -51
  34. package/dist/freeze-updates-DqjugsEW.js +0 -51
  35. package/dist/renderer-BvP-lUxd.js +0 -9
  36. package/dist/renderer-D6QKnWE7.cjs +0 -9
package/dist/index.cjs CHANGED
@@ -6,4 +6,4 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./core-QX9TA-3t.cjs`),t=require(`./freeze-updates-CFmys1LC.cjs`),n=require(`./copy-content-BjOai5Gj.cjs`);let r=null;const i=()=>typeof window>`u`?r:window.__REACT_GRAB__??r??null,a=e=>{r=e,typeof window<`u`&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__)},o=[],s=e=>{for(;o.length>0;){let t=o.shift();t&&e.registerPlugin(t)}},c=e=>{let t=i();if(t){t.registerPlugin(e);return}o.push(e)},l=e=>{let t=i();if(t){t.unregisterPlugin(e);return}let n=o.findIndex(t=>t.name===e);n!==-1&&o.splice(n,1)};typeof window<`u`&&!window.__REACT_GRAB_DISABLED__&&(window.__REACT_GRAB__?r=window.__REACT_GRAB__:(r=e.t(),window.__REACT_GRAB__=r),s(r),window.dispatchEvent(new CustomEvent(`react-grab:init`,{detail:r}))),exports.DEFAULT_THEME=e.a,exports.commentPlugin=e.i,exports.formatElementInfo=n.n,exports.generateSnippet=e.n,exports.getGlobalApi=i,exports.getStack=n.o,exports.init=e.t,exports.isInstrumentationActive=t.M,exports.openPlugin=e.r,exports.registerPlugin=c,exports.setGlobalApi=a,exports.unregisterPlugin=l;
9
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./core-BZxnb3CN.cjs`),t=require(`./freeze-updates-CBxwyu2R.cjs`),n=require(`./copy-content-ClChIE02.cjs`);let r=null;const i=()=>typeof window>`u`?r:window.__REACT_GRAB__??r??null,a=e=>{r=e,typeof window<`u`&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__)},o=[],s=e=>{for(;o.length>0;){let t=o.shift();t&&e.registerPlugin(t)}},c=e=>{let t=i();if(t){t.registerPlugin(e);return}o.push(e)},l=e=>{let t=i();if(t){t.unregisterPlugin(e);return}let n=o.findIndex(t=>t.name===e);n!==-1&&o.splice(n,1)};typeof window<`u`&&!window.__REACT_GRAB_DISABLED__&&(window.__REACT_GRAB__?r=window.__REACT_GRAB__:(r=e.t(),window.__REACT_GRAB__=r),s(r),window.dispatchEvent(new CustomEvent(`react-grab:init`,{detail:r}))),exports.DEFAULT_THEME=e.a,exports.commentPlugin=e.i,exports.formatElementInfo=n.n,exports.generateSnippet=e.n,exports.getGlobalApi=i,exports.getStack=n.o,exports.init=e.t,exports.isInstrumentationActive=t.I,exports.openPlugin=e.r,exports.registerPlugin=c,exports.setGlobalApi=a,exports.unregisterPlugin=l;
package/dist/index.d.cts CHANGED
@@ -6,8 +6,8 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { A as ToolbarState, C as ReactGrabAPI, D as SettableOptions, E as Rect, O as SourceInfo, S as PromptModeContext, T as ReactGrabState, _ as OverlayBounds, a as ActionContext, b as PluginHooks, c as AgentContext, d as DeepPartial, f as DragRect, g as Options, h as GrabbedBox, i as isInstrumentationActive, k as Theme, l as ContextMenuAction, m as ElementLabelVariant, o as ActionContextHooks, p as ElementLabelContext, s as ActivationMode, u as ContextMenuActionContext, v as Plugin, x as Position, y as PluginConfig } from "./copy-content-BM2MjZVW.cjs";
10
- import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "./index-DsD2BMI2.cjs";
9
+ import { A as ToolbarState, C as ReactGrabAPI, D as SettableOptions, E as Rect, O as SourceInfo, S as PromptModeContext, T as ReactGrabState, _ as OverlayBounds, a as ActionContext, b as PluginHooks, c as AgentContext, d as DeepPartial, f as DragRect, g as Options, h as GrabbedBox, i as isInstrumentationActive, k as Theme, l as ContextMenuAction, m as ElementLabelVariant, o as ActionContextHooks, p as ElementLabelContext, s as ActivationMode, u as ContextMenuActionContext, v as Plugin, x as Position, y as PluginConfig } from "./copy-content-pjGQdIH0.cjs";
10
+ import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "./index-olf-8IUn.cjs";
11
11
 
12
12
  //#region src/core/plugins/comment.d.ts
13
13
  declare const commentPlugin: Plugin;
package/dist/index.d.ts CHANGED
@@ -6,8 +6,8 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { A as ToolbarState, C as ReactGrabAPI, D as SettableOptions, E as Rect, O as SourceInfo, S as PromptModeContext, T as ReactGrabState, _ as OverlayBounds, a as ActionContext, b as PluginHooks, c as AgentContext, d as DeepPartial, f as DragRect, g as Options, h as GrabbedBox, i as isInstrumentationActive, k as Theme, l as ContextMenuAction, m as ElementLabelVariant, o as ActionContextHooks, p as ElementLabelContext, s as ActivationMode, u as ContextMenuActionContext, v as Plugin, x as Position, y as PluginConfig } from "./copy-content-CBoQwSYB.js";
10
- import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "./index-BTBtaQ_D.js";
9
+ import { A as ToolbarState, C as ReactGrabAPI, D as SettableOptions, E as Rect, O as SourceInfo, S as PromptModeContext, T as ReactGrabState, _ as OverlayBounds, a as ActionContext, b as PluginHooks, c as AgentContext, d as DeepPartial, f as DragRect, g as Options, h as GrabbedBox, i as isInstrumentationActive, k as Theme, l as ContextMenuAction, m as ElementLabelVariant, o as ActionContextHooks, p as ElementLabelContext, s as ActivationMode, u as ContextMenuActionContext, v as Plugin, x as Position, y as PluginConfig } from "./copy-content-D8CqvhtV.js";
10
+ import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "./index-CxCZZDDI.js";
11
11
 
12
12
  //#region src/core/plugins/comment.d.ts
13
13
  declare const commentPlugin: Plugin;