reflet-sdk 0.7.1 → 0.7.2
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/CHANGELOG.md +6 -0
- package/README.md +5 -3
- package/dist/{devtools-layer-BI_hut0i.js → devtools-layer-DhQE3leI.js} +3 -3
- package/dist/{devtools-layer-BI_hut0i.js.map → devtools-layer-DhQE3leI.js.map} +1 -1
- package/dist/feedback.js +5 -5
- package/dist/{sessions-panel-CDrnOEwi.js → sessions-panel-BycJng5z.js} +2 -2
- package/dist/{sessions-panel-CDrnOEwi.js.map → sessions-panel-BycJng5z.js.map} +1 -1
- package/dist/{submit-DBy9TCSq.js → submit-Dx892JVJ.js} +2 -2
- package/dist/{submit-DBy9TCSq.js.map → submit-Dx892JVJ.js.map} +1 -1
- package/dist/{team-activation-DCqh71bl.js → team-activation-Cv5U7OF1.js} +3 -3
- package/dist/team-activation-Cv5U7OF1.js.map +1 -0
- package/dist/{team-layer-D-6Il66z.js → team-layer-BS2JZfVl.js} +106 -80
- package/dist/team-layer-BS2JZfVl.js.map +1 -0
- package/package.json +1 -1
- package/dist/team-activation-DCqh71bl.js.map +0 -1
- package/dist/team-layer-D-6Il66z.js.map +0 -1
package/dist/feedback.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as Reflet } from "./client-oFFfRxAM.js";
|
|
3
|
-
import { A as SquareIcon, C as ChevronDownIcon, D as MoreIcon, E as HighlightIcon, F as UndoIcon, H as MAX_SELECTION_COMMENT_LENGTH, I as isDegenerate, J as maskSecrets, L as normalizeRect, M as TargetIcon, N as TextIcon, O as PencilIcon, P as TrashIcon, R as DEFAULT_WIDGET_LABELS, S as CheckIcon, T as GripIcon, U as buildElementSelection, V as collectPageContext, _ as matchesHotkey, b as CameraIcon, c as useFloatingPosition, d as drawAnnotations, et as WIDGET_MARKER, f as listenOnPageAndWidget, g as isSubmitEnter, h as stopClicksAtHost, i as submitWidgetFeedback, it as releaseCapture, k as SpotlightIcon, n as createFeedbackTransport, o as ElementPicker, p as listenToKeydown, rt as capturedViewportSize, t as attachPreparedScreenshots, tt as captureViewport, v as ArrowIcon, w as CloseIcon, x as ChatIcon, y as BlurIcon, z as SDK_VERSION } from "./submit-
|
|
3
|
+
import { A as SquareIcon, C as ChevronDownIcon, D as MoreIcon, E as HighlightIcon, F as UndoIcon, H as MAX_SELECTION_COMMENT_LENGTH, I as isDegenerate, J as maskSecrets, L as normalizeRect, M as TargetIcon, N as TextIcon, O as PencilIcon, P as TrashIcon, R as DEFAULT_WIDGET_LABELS, S as CheckIcon, T as GripIcon, U as buildElementSelection, V as collectPageContext, _ as matchesHotkey, b as CameraIcon, c as useFloatingPosition, d as drawAnnotations, et as WIDGET_MARKER, f as listenOnPageAndWidget, g as isSubmitEnter, h as stopClicksAtHost, i as submitWidgetFeedback, it as releaseCapture, k as SpotlightIcon, n as createFeedbackTransport, o as ElementPicker, p as listenToKeydown, rt as capturedViewportSize, t as attachPreparedScreenshots, tt as captureViewport, v as ArrowIcon, w as CloseIcon, x as ChatIcon, y as BlurIcon, z as SDK_VERSION } from "./submit-Dx892JVJ.js";
|
|
4
4
|
import { t as RefletContext } from "./react-context-Kazo_JCz.js";
|
|
5
|
-
import {
|
|
5
|
+
import { n as hasTeamActivation } from "./team-activation-Cv5U7OF1.js";
|
|
6
6
|
import { t as SelectionOutline } from "./selection-outline-NzAAAZXR.js";
|
|
7
7
|
import { t as REFLET_Z_INDEX } from "./z-index-CwokqVq_.js";
|
|
8
8
|
import { Suspense, lazy, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -2303,7 +2303,7 @@ function useWidgetState(props) {
|
|
|
2303
2303
|
setStep("compose");
|
|
2304
2304
|
return submission.submit({
|
|
2305
2305
|
context: {
|
|
2306
|
-
...activeScreenshot?.context ?? collectPageContext({ sdkVersion: "0.7.
|
|
2306
|
+
...activeScreenshot?.context ?? collectPageContext({ sdkVersion: "0.7.2" }),
|
|
2307
2307
|
consoleEvents: consoleRef.current?.events(),
|
|
2308
2308
|
metadata: props.metadata,
|
|
2309
2309
|
selections
|
|
@@ -2369,8 +2369,8 @@ function useWidgetState(props) {
|
|
|
2369
2369
|
}
|
|
2370
2370
|
//#endregion
|
|
2371
2371
|
//#region src/feedback/widget.tsx
|
|
2372
|
-
const DevtoolsLayer = process.env.NODE_ENV === "development" ? lazy(() => import("./devtools-layer-
|
|
2373
|
-
const TeamLayer = lazy(() => import("./team-layer-
|
|
2372
|
+
const DevtoolsLayer = process.env.NODE_ENV === "development" ? lazy(() => import("./devtools-layer-DhQE3leI.js").then((module) => ({ default: module.DevtoolsLayer }))) : null;
|
|
2373
|
+
const TeamLayer = lazy(() => import("./team-layer-BS2JZfVl.js").then((module) => ({ default: module.TeamLayer })));
|
|
2374
2374
|
const DEFAULT_APP_URL = "https://www.reflet.app";
|
|
2375
2375
|
const ignoreChanges = () => () => void 0;
|
|
2376
2376
|
/** Activation reads the URL and storage, which only exist in the browser: the server renders without team tools. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as EDITORS, n as DEVTOOLS_REQUEST_HEADER, r as DEVTOOLS_ROUTE_BASE, t as DEVTOOLS_ENDPOINTS } from "./protocol-cJVVwnPe.js";
|
|
2
|
-
import { B as clip, D as MoreIcon, G as describeElement, K as getElementRect, M as TargetIcon, R as DEFAULT_WIDGET_LABELS, T as GripIcon, W as buildSelector, Y as redactUrl, Z as inspectReactElement, _ as matchesHotkey, a as uploadBlob, c as useFloatingPosition, g as isSubmitEnter, it as releaseCapture, j as Svg, l as onViewportChange, m as startsInWidget, o as ElementPicker, p as listenToKeydown, q as REDACT_ATTRIBUTE, tt as captureViewport, u as visibleViewport, w as CloseIcon } from "./submit-
|
|
2
|
+
import { B as clip, D as MoreIcon, G as describeElement, K as getElementRect, M as TargetIcon, R as DEFAULT_WIDGET_LABELS, T as GripIcon, W as buildSelector, Y as redactUrl, Z as inspectReactElement, _ as matchesHotkey, a as uploadBlob, c as useFloatingPosition, g as isSubmitEnter, it as releaseCapture, j as Svg, l as onViewportChange, m as startsInWidget, o as ElementPicker, p as listenToKeydown, q as REDACT_ATTRIBUTE, tt as captureViewport, u as visibleViewport, w as CloseIcon } from "./submit-Dx892JVJ.js";
|
|
3
3
|
import { t as REFLET_Z_INDEX } from "./z-index-CwokqVq_.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { createContext, useContext, useEffect, useId, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -8685,4 +8685,4 @@ function SessionsPanel({ navigation, onStarted, onWriteNote }) {
|
|
|
8685
8685
|
//#endregion
|
|
8686
8686
|
export { Notices as A, searchCode as C, openDatabase as D, describeStorageFailure as E, reportFailure as M, settle as O, probeDevRoute as S, committed as T, teamTransport as _, DevtoolsBar as a, fetchBoardFeedback as b, copyToClipboard as c, PersonIcon as d, SessionWorkspaceProvider as f, devtoolsTransport as g, purgeAccount as h, BarButton as i, announce as j, sessionApiErrorSchema as k, SESSIONS_STYLES as l, useWorkspaceLoader as m, DEVTOOLS_STYLES as n, DevtoolsBarButtons as o, failureMessage as p, DevtoolsSheet as r, SessionsBarButton as s, SessionsPanel as t, RecordingLayer as u, callReflet as v, startBoardConnect as w, fetchSourceFile as x, disconnectBoard as y };
|
|
8687
8687
|
|
|
8688
|
-
//# sourceMappingURL=sessions-panel-
|
|
8688
|
+
//# sourceMappingURL=sessions-panel-BycJng5z.js.map
|