@superblocksteam/library 2.0.70 → 2.0.71-next.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/dist/jsx-dev-runtime/index.js +1 -1
- package/dist/{jsx-wrapper-DT5FMME0.js → jsx-wrapper-l2f8GWJ7.js} +18 -1
- package/dist/jsx-wrapper-l2f8GWJ7.js.map +1 -0
- package/dist/lib/index.d.ts +14 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +26 -7
- package/dist/lib/index.js.map +1 -1
- package/package.json +8 -8
- package/dist/jsx-wrapper-DT5FMME0.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as api_hmr_tracker_default, _ as root_store_default, t as makeWrappedComponent } from "../jsx-wrapper-
|
|
1
|
+
import { S as api_hmr_tracker_default, _ as root_store_default, t as makeWrappedComponent } from "../jsx-wrapper-l2f8GWJ7.js";
|
|
2
2
|
import "../utils-Clb3lSiX.js";
|
|
3
3
|
import { SOURCE_ID_ATTRIBUTE } from "@superblocksteam/library-shared";
|
|
4
4
|
import * as ReactJsxDevRuntime from "react/jsx-dev-runtime";
|
|
@@ -703,6 +703,7 @@ var DeployedParentBridge = class {
|
|
|
703
703
|
connected() {}
|
|
704
704
|
sendReady() {}
|
|
705
705
|
sendLoadError(_error) {}
|
|
706
|
+
sendAppFrameWillReload() {}
|
|
706
707
|
sendNotification(_type, _message, _description) {}
|
|
707
708
|
selectWidgets(_sourceIds, _selectorIdHint) {}
|
|
708
709
|
editOpRequest(_type, _payload) {}
|
|
@@ -739,6 +740,7 @@ var DeployedParentBridge = class {
|
|
|
739
740
|
sendConsoleLog(_data) {}
|
|
740
741
|
setInteractionMode(_mode) {}
|
|
741
742
|
sendCaptureScreenshotResponse(_callbackId, _dataUrl, _error) {}
|
|
743
|
+
sendPingAppReadyForScreenshotResponse(_callbackId, _isReady) {}
|
|
742
744
|
};
|
|
743
745
|
|
|
744
746
|
//#endregion
|
|
@@ -800,6 +802,12 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
|
|
|
800
802
|
payload: { error }
|
|
801
803
|
}, true);
|
|
802
804
|
}
|
|
805
|
+
sendAppFrameWillReload() {
|
|
806
|
+
this.sendImmediate({
|
|
807
|
+
type: "sb-app-frame-will-reload",
|
|
808
|
+
payload: void 0
|
|
809
|
+
}, true);
|
|
810
|
+
}
|
|
803
811
|
sendNotification(type, message, description) {
|
|
804
812
|
this.queueMessage({
|
|
805
813
|
type: "codeMode/sendNotification",
|
|
@@ -1087,6 +1095,15 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
|
|
|
1087
1095
|
}
|
|
1088
1096
|
});
|
|
1089
1097
|
}
|
|
1098
|
+
sendPingAppReadyForScreenshotResponse(callbackId, isReady) {
|
|
1099
|
+
this.sendImmediate({
|
|
1100
|
+
type: "ping-app-ready-for-screenshot-response",
|
|
1101
|
+
payload: {
|
|
1102
|
+
callbackId,
|
|
1103
|
+
isReady
|
|
1104
|
+
}
|
|
1105
|
+
});
|
|
1106
|
+
}
|
|
1090
1107
|
queueMessage(message, mergeOptions) {
|
|
1091
1108
|
if (!this.connectedToParent) this.messagesToSend.push({
|
|
1092
1109
|
payload: message,
|
|
@@ -3546,4 +3563,4 @@ const useJSXContext = () => {
|
|
|
3546
3563
|
|
|
3547
3564
|
//#endregion
|
|
3548
3565
|
export { useSuperblocksUser as A, Section as B, rejectById as C, useSuperblocksContext as D, getAppMode as E, isEmbeddedBySuperblocksFirstParty as F, getEditStore as H, isEditMode as I, createManagedPropsList as L, colors as M, editorBridge as N, useSuperblocksGroups as O, iframeMessageHandler as P, Prop as R, api_hmr_tracker_default as S, SuperblocksContextProvider as T, createPropertiesPanelDefinition as V, root_store_default as _, FixWithClarkButton as a, createIframeSpan as b, ErrorContent as c, ErrorMessage as d, ErrorStack as f, StyledClarkIcon as g, SecondaryButton as h, getWidgetRectAnchorName as i, sendNotification as j, useSuperblocksProfiles as k, ErrorDetails as l, ErrorTitle as m, useJSXContext as n, ActionsContainer as o, ErrorSummary as p, getWidgetAnchorName as r, ErrorContainer as s, makeWrappedComponent as t, ErrorIconContainer as u, startEditorSync as v, resolveById as w, getContextFromTraceHeaders as x, generateId as y, PropsCategory as z };
|
|
3549
|
-
//# sourceMappingURL=jsx-wrapper-
|
|
3566
|
+
//# sourceMappingURL=jsx-wrapper-l2f8GWJ7.js.map
|