@superblocksteam/library 2.0.78-next.1 → 2.0.78-next.3

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.
@@ -1,4 +1,4 @@
1
- import { S as api_hmr_tracker_default, _ as root_store_default, t as makeWrappedComponent } from "../jsx-wrapper-B-ViXqLt.js";
1
+ import { S as api_hmr_tracker_default, _ as root_store_default, t as makeWrappedComponent } from "../jsx-wrapper-QXikqPef.js";
2
2
  import { SOURCE_ID_ATTRIBUTE } from "@superblocksteam/library-shared";
3
3
  import * as ReactJsxDevRuntime from "react/jsx-dev-runtime";
4
4
 
@@ -703,6 +703,7 @@ var DeployedParentBridge = class {
703
703
  connected() {}
704
704
  sendReady() {}
705
705
  sendLoadError(_error) {}
706
+ sendClearLoadError() {}
706
707
  sendAppFrameWillReload() {}
707
708
  sendNotification(_type, _message, _description) {}
708
709
  selectWidgets(_sourceIds, _selectorIdHint) {}
@@ -742,7 +743,15 @@ var DeployedParentBridge = class {
742
743
  forwardKeypress(_keys, _eventInfo) {}
743
744
  sendCaptureScreenshotResponse(_callbackId, _dataUrl, _error) {}
744
745
  sendPingAppReadyForScreenshotResponse(_callbackId, _isReady) {}
745
- updateProfiles(_profiles) {}
746
+ updateProfiles(profiles) {
747
+ sendMessageImmediately({
748
+ type: "iframe-action-batch",
749
+ payload: [{
750
+ type: "UPDATE_PROFILES",
751
+ payload: profiles
752
+ }]
753
+ });
754
+ }
746
755
  };
747
756
 
748
757
  //#endregion
@@ -804,6 +813,12 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
804
813
  payload: { error }
805
814
  }, true);
806
815
  }
816
+ sendClearLoadError() {
817
+ this.sendImmediate({
818
+ type: "sb-clear-load-error",
819
+ payload: void 0
820
+ }, true);
821
+ }
807
822
  sendAppFrameWillReload() {
808
823
  this.sendImmediate({
809
824
  type: "sb-app-frame-will-reload",
@@ -3630,4 +3645,4 @@ const useJSXContext = () => {
3630
3645
 
3631
3646
  //#endregion
3632
3647
  export { useSuperblocksProfiles as A, PropsCategory as B, addNewPromise as C, getAppMode as D, SuperblocksContextProvider as E, iframeMessageHandler as F, createPropertiesPanelDefinition as H, isEmbeddedBySuperblocksFirstParty as I, isEditMode as L, sendNotification as M, colors as N, useSuperblocksContext as O, editorBridge as P, createManagedPropsList as R, api_hmr_tracker_default as S, resolveById as T, getEditStore as U, Section 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, useSuperblocksUser as j, useSuperblocksGroups 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, rejectById as w, getContextFromTraceHeaders as x, generateId as y, Prop as z };
3633
- //# sourceMappingURL=jsx-wrapper-B-ViXqLt.js.map
3648
+ //# sourceMappingURL=jsx-wrapper-QXikqPef.js.map