@juo/orion-core 0.14.0 → 0.15.0

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.
@@ -5,8 +5,8 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  import { signal, effect, createBlockInstance } from "@juo/orion-core";
8
- import { d, j as withWrapper, q as subscribeContext, T as ThemeStateContext, E, t as n } from "./theme-state-TW-9hD7e.js";
9
- import "./juo-workflow-CoWvwYTn.js";
8
+ import { d, j as withWrapper, t as subscribeContext, T as ThemeStateContext, E, v as n } from "./theme-state-CVjQY7tL.js";
9
+ import "./juo-workflow-CtdYqg0V.js";
10
10
  class Block extends HTMLElement {
11
11
  constructor() {
12
12
  super();
@@ -1,8 +1,8 @@
1
1
  function isEditorMessage(message) {
2
- return message.type === "PROVIDE_THEME_STATE" || message.type === "PROVIDE_TRANSLATION_OVERRIDES" || message.type === "SELECT_BLOCK" || message.type === "UPDATE_BLOCK_PROPS" || message.type === "ADD_BLOCK" || message.type === "REMOVE_BLOCK" || message.type === "MOVE_BLOCK" || message.type === "SET_BLOCK_PRESET" || message.type === "SET_LOCALE" || message.type === "SET_GLOBAL_STYLES" || message.type === "PROVIDE_GLOBAL_STYLES";
2
+ return message.type === "PROVIDE_THEME_STATE" || message.type === "PROVIDE_TRANSLATION_OVERRIDES" || message.type === "SELECT_BLOCK" || message.type === "UPDATE_BLOCK_PROPS" || message.type === "ADD_BLOCK" || message.type === "REMOVE_BLOCK" || message.type === "MOVE_BLOCK" || message.type === "SET_BLOCK_PRESET" || message.type === "SET_LOCALE" || message.type === "SET_GLOBAL_STYLES" || message.type === "PROVIDE_GLOBAL_STYLES" || message.type === "SCROLL_SYNC" || message.type === "REQUEST_CONTENT_HEIGHT";
3
3
  }
4
4
  function isIframeMessage(message) {
5
- return message.type === "SELECT_BLOCK" || message.type === "IFRAME_READY" || message.type === "REGISTER_BLOCKS" || message.type === "REGISTER_ROUTES" || message.type === "REMOVE_BLOCK" || message.type === "UPDATE_BLOCK_PROPS" || message.type === "REQUEST_THEME_STATE" || message.type === "REQUEST_TRANSLATION_OVERRIDES" || message.type === "UPDATE_BLOCK_TRANSLATION" || message.type === "FOCUS_INLINE_TEXT" || message.type === "REQUEST_GLOBAL_STYLES";
5
+ return message.type === "SELECT_BLOCK" || message.type === "IFRAME_READY" || message.type === "REGISTER_BLOCKS" || message.type === "REGISTER_ROUTES" || message.type === "REMOVE_BLOCK" || message.type === "UPDATE_BLOCK_PROPS" || message.type === "REQUEST_THEME_STATE" || message.type === "REQUEST_TRANSLATION_OVERRIDES" || message.type === "UPDATE_BLOCK_TRANSLATION" || message.type === "FOCUS_INLINE_TEXT" || message.type === "REQUEST_GLOBAL_STYLES" || message.type === "REPORT_CONTENT_HEIGHT" || message.type === "SCROLL_SYNC";
6
6
  }
7
7
  function createProvideThemeStateMessage(payload) {
8
8
  return {
@@ -146,6 +146,20 @@ function createProvideGlobalStylesMessage(payload) {
146
146
  timestamp: Date.now()
147
147
  };
148
148
  }
149
+ function createScrollSyncMessage(payload) {
150
+ return {
151
+ type: "SCROLL_SYNC",
152
+ payload,
153
+ timestamp: Date.now()
154
+ };
155
+ }
156
+ function createReportContentHeightMessage(payload) {
157
+ return {
158
+ type: "REPORT_CONTENT_HEIGHT",
159
+ payload,
160
+ timestamp: Date.now()
161
+ };
162
+ }
149
163
  let bridgeInstance = null;
150
164
  function getEditorBridge() {
151
165
  return bridgeInstance;
@@ -331,6 +345,13 @@ function createEditorBridge() {
331
345
  }
332
346
  } else if (data.type === "SELECT_BLOCK") {
333
347
  updateBlockSelection(data.payload.blockId);
348
+ } else if (data.type === "SCROLL_SYNC") {
349
+ suppressScrollReport = true;
350
+ window.scrollTo(0, data.payload.scrollY);
351
+ return;
352
+ } else if (data.type === "REQUEST_CONTENT_HEIGHT") {
353
+ reportContentHeight();
354
+ return;
334
355
  }
335
356
  messageHandlers.forEach((handler) => handler(data));
336
357
  }
@@ -352,6 +373,35 @@ function createEditorBridge() {
352
373
  });
353
374
  }
354
375
  const isEditorMode = window.parent !== window;
376
+ let ghostScrollStyleEl = null;
377
+ let ghostScrollObserver = null;
378
+ let suppressScrollReport = false;
379
+ function reportContentHeight() {
380
+ var _a;
381
+ if (!isEditorMode)
382
+ return;
383
+ const height = Math.max(
384
+ document.documentElement.scrollHeight,
385
+ ((_a = document.body) == null ? void 0 : _a.scrollHeight) ?? 0
386
+ );
387
+ sendMessage(createReportContentHeightMessage({ height }));
388
+ }
389
+ function handleScrollEvent() {
390
+ if (suppressScrollReport) {
391
+ suppressScrollReport = false;
392
+ return;
393
+ }
394
+ sendMessage(createScrollSyncMessage({ scrollY: window.scrollY }));
395
+ }
396
+ if (isEditorMode) {
397
+ ghostScrollStyleEl = document.createElement("style");
398
+ ghostScrollStyleEl.textContent = "html { scrollbar-width: none; } html::-webkit-scrollbar { display: none; }";
399
+ document.head.appendChild(ghostScrollStyleEl);
400
+ window.addEventListener("scroll", handleScrollEvent, { passive: true });
401
+ ghostScrollObserver = new ResizeObserver(reportContentHeight);
402
+ ghostScrollObserver.observe(document.documentElement);
403
+ reportContentHeight();
404
+ }
355
405
  function onBlockPresetChange(blockId, callback) {
356
406
  return onMessage((message) => {
357
407
  if (message.type !== "SET_BLOCK_PRESET")
@@ -368,6 +418,11 @@ function createEditorBridge() {
368
418
  function destroy() {
369
419
  window.removeEventListener("message", handleWindowMessage);
370
420
  document.removeEventListener("click", handleGlobalClick, true);
421
+ window.removeEventListener("scroll", handleScrollEvent);
422
+ ghostScrollObserver == null ? void 0 : ghostScrollObserver.disconnect();
423
+ ghostScrollObserver = null;
424
+ ghostScrollStyleEl == null ? void 0 : ghostScrollStyleEl.remove();
425
+ ghostScrollStyleEl = null;
371
426
  for (const [, { timer }] of pendingRequests) {
372
427
  clearTimeout(timer);
373
428
  }
@@ -417,5 +472,7 @@ export {
417
472
  createSetGlobalStylesMessage as s,
418
473
  createRequestGlobalStylesMessage as t,
419
474
  createProvideGlobalStylesMessage as u,
420
- getEditorBridge as v
475
+ createScrollSyncMessage as v,
476
+ createReportContentHeightMessage as w,
477
+ getEditorBridge as x
421
478
  };
package/dist/core.js CHANGED
@@ -4,9 +4,9 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { c as createContext, d, w, E, u } from "./theme-state-TW-9hD7e.js";
8
- import { B, n, C, D, S, T, a, b, e, f, k, l, g, h, i, m, o, p, r, s, q, t, j } from "./theme-state-TW-9hD7e.js";
9
- import { T as T2, W, c, b as b2, a as a2, g as g2, h as h2 } from "./juo-workflow-CoWvwYTn.js";
7
+ import { c as createContext, d, w, E, u } from "./theme-state-CVjQY7tL.js";
8
+ import { B, n, C, D, S, T, a, b, e, f, k, l, g, h, i, m, p, o, q, r, s, t, v, j } from "./theme-state-CVjQY7tL.js";
9
+ import { T as T2, W, c, b as b2, a as a2, g as g2, h as h2 } from "./juo-workflow-CtdYqg0V.js";
10
10
  function createState() {
11
11
  const discountCode = d(null);
12
12
  const products = d([]);
@@ -1121,13 +1121,14 @@ export {
1121
1121
  i as getDefinedBlocks,
1122
1122
  h2 as hasDefaultBlockForAction,
1123
1123
  m as indexOverrides,
1124
- o as injectContext,
1124
+ p as injectContext,
1125
1125
  loginService,
1126
- p as provideContext,
1126
+ o as onRegisterBlock,
1127
+ q as provideContext,
1127
1128
  r as registerBlock,
1128
1129
  s as serializeBlocks,
1129
1130
  d as signal,
1130
- q as subscribeContext,
1131
- t as untracked,
1131
+ t as subscribeContext,
1132
+ v as untracked,
1132
1133
  j as withWrapper
1133
1134
  };
@@ -1,6 +1,6 @@
1
1
  import { Block, BlockPresets } from '../block';
2
2
  import { GlobalStyles, ThemeSurface, TranslationOverride } from '../theme-state';
3
- export type MessageType = "PROVIDE_THEME_STATE" | "SELECT_BLOCK" | "UPDATE_BLOCK_PROPS" | "ADD_BLOCK" | "REMOVE_BLOCK" | "MOVE_BLOCK" | "IFRAME_READY" | "REGISTER_BLOCKS" | "REGISTER_ROUTES" | "SET_BLOCK_PRESET" | "SET_LOCALE" | "REQUEST_THEME_STATE" | "REQUEST_TRANSLATION_OVERRIDES" | "PROVIDE_TRANSLATION_OVERRIDES" | "UPDATE_BLOCK_TRANSLATION" | "FOCUS_INLINE_TEXT" | "SET_GLOBAL_STYLES" | "REQUEST_GLOBAL_STYLES" | "PROVIDE_GLOBAL_STYLES";
3
+ export type MessageType = "PROVIDE_THEME_STATE" | "SELECT_BLOCK" | "UPDATE_BLOCK_PROPS" | "ADD_BLOCK" | "REMOVE_BLOCK" | "MOVE_BLOCK" | "IFRAME_READY" | "REGISTER_BLOCKS" | "REGISTER_ROUTES" | "SET_BLOCK_PRESET" | "SET_LOCALE" | "REQUEST_THEME_STATE" | "REQUEST_TRANSLATION_OVERRIDES" | "PROVIDE_TRANSLATION_OVERRIDES" | "UPDATE_BLOCK_TRANSLATION" | "FOCUS_INLINE_TEXT" | "SET_GLOBAL_STYLES" | "REQUEST_GLOBAL_STYLES" | "PROVIDE_GLOBAL_STYLES" | "SCROLL_SYNC" | "REPORT_CONTENT_HEIGHT" | "REQUEST_CONTENT_HEIGHT";
4
4
  export interface BaseMessage {
5
5
  type: MessageType;
6
6
  timestamp: number;
@@ -170,8 +170,8 @@ export interface ProvideGlobalStylesMessage extends BaseMessage {
170
170
  styles: GlobalStyles;
171
171
  };
172
172
  }
173
- export type EditorMessage = ProvideThemeStateMessage | ProvideTranslationOverridesMessage | SelectBlockMessage | UpdateBlockPropsMessage | AddBlockMessage | RemoveBlockMessage | MoveBlockMessage | SetBlockPresetMessage | SetLocaleMessage | SetGlobalStylesMessage | ProvideGlobalStylesMessage;
174
- export type IframeMessage = SelectBlockMessage | IframeReadyMessage | RegisterBlocksMessage | RegisterRoutesMessage | RemoveBlockMessage | UpdateBlockPropsMessage | RequestThemeStateMessage | RequestTranslationOverridesMessage | UpdateBlockTranslationMessage | FocusInlineTextMessage | RequestGlobalStylesMessage;
173
+ export type EditorMessage = ProvideThemeStateMessage | ProvideTranslationOverridesMessage | SelectBlockMessage | UpdateBlockPropsMessage | AddBlockMessage | RemoveBlockMessage | MoveBlockMessage | SetBlockPresetMessage | SetLocaleMessage | SetGlobalStylesMessage | ProvideGlobalStylesMessage | ScrollSyncMessage | RequestContentHeightMessage;
174
+ export type IframeMessage = SelectBlockMessage | IframeReadyMessage | RegisterBlocksMessage | RegisterRoutesMessage | RemoveBlockMessage | UpdateBlockPropsMessage | RequestThemeStateMessage | RequestTranslationOverridesMessage | UpdateBlockTranslationMessage | FocusInlineTextMessage | RequestGlobalStylesMessage | ReportContentHeightMessage | ScrollSyncMessage;
175
175
  export type AnyMessage = EditorMessage | IframeMessage;
176
176
  export declare function isEditorMessage(message: AnyMessage): message is EditorMessage;
177
177
  export declare function isIframeMessage(message: AnyMessage): message is IframeMessage;
@@ -192,4 +192,22 @@ export declare function createFocusInlineTextMessage(payload: FocusInlineTextMes
192
192
  export declare function createRegisterRoutesMessage(payload: RegisterRoutesMessage["payload"]): RegisterRoutesMessage;
193
193
  export declare function createSetGlobalStylesMessage(payload: SetGlobalStylesMessage["payload"]): SetGlobalStylesMessage;
194
194
  export declare function createRequestGlobalStylesMessage(payload: RequestGlobalStylesMessage["payload"]): RequestGlobalStylesMessage;
195
+ export interface ScrollSyncMessage extends BaseMessage {
196
+ type: "SCROLL_SYNC";
197
+ payload: {
198
+ scrollY: number;
199
+ };
200
+ }
201
+ export interface ReportContentHeightMessage extends BaseMessage {
202
+ type: "REPORT_CONTENT_HEIGHT";
203
+ payload: {
204
+ height: number;
205
+ };
206
+ }
207
+ export interface RequestContentHeightMessage extends BaseMessage {
208
+ type: "REQUEST_CONTENT_HEIGHT";
209
+ payload: Record<string, never>;
210
+ }
195
211
  export declare function createProvideGlobalStylesMessage(payload: ProvideGlobalStylesMessage["payload"]): ProvideGlobalStylesMessage;
212
+ export declare function createScrollSyncMessage(payload: ScrollSyncMessage["payload"]): ScrollSyncMessage;
213
+ export declare function createReportContentHeightMessage(payload: ReportContentHeightMessage["payload"]): ReportContentHeightMessage;
package/dist/editor.js CHANGED
@@ -4,10 +4,10 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { getDefinedBlocks } from "@juo/orion-core";
8
- import { c as createEditorBridge, d as createRemoveBlockMessage, e as createRegisterBlocksMessage, f as createRegisterRoutesMessage } from "./bridge-fHXg0b-e.js";
9
- import { o, a, p, u, h, l, t, j, k, m, q, s, r, n, b, v, i, g } from "./bridge-fHXg0b-e.js";
10
- import { e as createBlockInstanceFromObject, m as indexOverrides, x as onRegisterBlock } from "./theme-state-TW-9hD7e.js";
7
+ import { getDefinedBlocks, onRegisterBlock } from "@juo/orion-core";
8
+ import { c as createEditorBridge, d as createRemoveBlockMessage, e as createRegisterBlocksMessage, f as createRegisterRoutesMessage } from "./bridge-DjBr4DlY.js";
9
+ import { o, a, p, u, h, l, w, t, j, k, v, m, q, s, r, n, b, x, i, g } from "./bridge-DjBr4DlY.js";
10
+ import { e as createBlockInstanceFromObject, m as indexOverrides } from "./theme-state-CVjQY7tL.js";
11
11
  function createEditorHandler(options) {
12
12
  const { themeState, onBlockSelection } = options;
13
13
  const blockSurfaceIndex = /* @__PURE__ */ new Map();
@@ -674,16 +674,18 @@ export {
674
674
  createRegisterBlocksMessage,
675
675
  createRegisterRoutesMessage,
676
676
  createRemoveBlockMessage,
677
+ w as createReportContentHeightMessage,
677
678
  t as createRequestGlobalStylesMessage,
678
679
  j as createRequestThemeStateMessage,
679
680
  k as createRequestTranslationOverridesMessage,
681
+ v as createScrollSyncMessage,
680
682
  m as createSelectBlockMessage,
681
683
  q as createSetBlockPresetMessage,
682
684
  s as createSetGlobalStylesMessage,
683
685
  r as createSetLocaleMessage,
684
686
  n as createUpdateBlockPropsMessage,
685
687
  b as createUpdateBlockTranslationMessage,
686
- v as getEditorBridge,
688
+ x as getEditorBridge,
687
689
  i as isEditorMessage,
688
690
  g as isIframeMessage,
689
691
  setupEditorMode
@@ -61,6 +61,7 @@ export interface WorkflowState {
61
61
  /** Describes the primary action taken when the workflow completes.
62
62
  * Used to show a confirmation toast (e.g. "Your subscription has been cancelled"). */
63
63
  outcome: WorkflowOutcome | null;
64
+ dryRun: boolean | null;
64
65
  }
65
66
  /** Available steps metadata (for rendering and editor) */
66
67
  export interface WorkflowStepInfo {
@@ -4,8 +4,8 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { c as createContext, d, E, i as getDefinedBlocks, a as createBlockInstance, w, r as registerBlock, g as defineBlock, q as subscribeContext } from "./theme-state-TW-9hD7e.js";
8
- import { c as createEditorBridge } from "./bridge-fHXg0b-e.js";
7
+ import { c as createContext, d, E, i as getDefinedBlocks, a as createBlockInstance, w, r as registerBlock, g as defineBlock, t as subscribeContext } from "./theme-state-CVjQY7tL.js";
8
+ import { c as createEditorBridge } from "./bridge-DjBr4DlY.js";
9
9
  const TranslationContext = createContext("translation");
10
10
  function toStringRecord(input) {
11
11
  if (input == null)
@@ -134,7 +134,8 @@ function createWorkflowService(deps) {
134
134
  result: null,
135
135
  flowParams: null,
136
136
  invalidatedResources: [],
137
- outcome: null
137
+ outcome: null,
138
+ dryRun: null
138
139
  });
139
140
  const _registeredRootBlocks = /* @__PURE__ */ new Set();
140
141
  const isActive = w(() => _state.value.status === "active");
@@ -351,8 +352,14 @@ function createWorkflowService(deps) {
351
352
  currentStepInfo,
352
353
  // Methods
353
354
  async startFlow(flowType, context, workflowId) {
354
- updateState({ status: "loading", error: null, flowParams: context, flowType });
355
355
  const isDryRun = isEditorMode;
356
+ updateState({
357
+ status: "loading",
358
+ error: null,
359
+ flowParams: context,
360
+ flowType,
361
+ dryRun: isDryRun
362
+ });
356
363
  try {
357
364
  const data = await api.start(
358
365
  flowType,
package/dist/main.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type { Block, BlockInstance, BlockDefinition, BlockLocaleFile, BlockRenderer, BlockPreset, BlockPresets, } from './block';
2
- export { createBlockInstance, createBlockInstanceFromJSON, createBlockInstanceFromObject, createCeRenderer, defineBlock, defineBlockRuntime, getDefinedBlocks, withWrapper, registerBlock, SelectedBlockContext, createSelectedBlock, BlockWrapperEvent, serializeBlocks, } from './block';
2
+ export { createBlockInstance, createBlockInstanceFromJSON, createBlockInstanceFromObject, createCeRenderer, defineBlock, defineBlockRuntime, getDefinedBlocks, withWrapper, registerBlock, SelectedBlockContext, createSelectedBlock, BlockWrapperEvent, serializeBlocks, onRegisterBlock, } from './block';
3
3
  export { ThemeStateContext, createThemeState, indexOverrides, type TranslationCatalogs, type TranslationMode, type TranslationScope, type TranslationOverride, type ThemeLocaleState, type ThemeState, type ThemeSurface, type ThemeSurfaceState, type GlobalStyles, type GlobalStyleColors, type ThemeType, DEFAULT_GLOBAL_STYLES, } from './theme-state';
4
4
  export { TranslationContext, createTranslationService, type TranslationServiceOptions, type TranslationService, } from './translation';
5
5
  export { ContextRequestEvent, ContextProvideEvent, type ContextCallback, createContext, injectContext, provideContext, subscribeContext, type ContextType, type UnknownContext, } from './context';
@@ -7,4 +7,4 @@ export { StateContext, createState } from './state';
7
7
  export * from './utils';
8
8
  export * from './services';
9
9
  export * from './flows';
10
- export { Signal, signal, effect, computed, untracked } from '@preact/signals-core';
10
+ export { Signal, signal, effect, computed, untracked, } from '@preact/signals-core';
package/dist/preact.js CHANGED
@@ -9,7 +9,7 @@ import { useState, useRef, useEffect, useContext as useContext$1, useMemo } from
9
9
  import { g as getSignalValue, s as setSignalValue, w as wrapContext, c as createSlotChildren } from "./block-DPjf_G7G.js";
10
10
  import { t } from "./block-DPjf_G7G.js";
11
11
  import { createContext, h, render } from "preact";
12
- import { c as createEditorBridge } from "./bridge-fHXg0b-e.js";
12
+ import { c as createEditorBridge } from "./bridge-DjBr4DlY.js";
13
13
  function toState(signal) {
14
14
  const [value, setValue] = useState(() => getSignalValue(signal));
15
15
  const disposeRef = useRef(null);
package/dist/react.js CHANGED
@@ -9,7 +9,7 @@ import React, { useSyncExternalStore, createContext, useState, useContext as use
9
9
  import { g as getSignalValue, s as setSignalValue, w as wrapContext, c as createSlotChildren } from "./block-DPjf_G7G.js";
10
10
  import { t } from "./block-DPjf_G7G.js";
11
11
  import { createRoot } from "react-dom/client";
12
- import { c as createEditorBridge } from "./bridge-fHXg0b-e.js";
12
+ import { c as createEditorBridge } from "./bridge-DjBr4DlY.js";
13
13
  function toState(signal) {
14
14
  const subscribe = (callback) => {
15
15
  const dispose = effect(() => {
@@ -917,14 +917,14 @@ export {
917
917
  createThemeState as l,
918
918
  indexOverrides as m,
919
919
  ContextProvideEvent as n,
920
- injectContext as o,
921
- provideContext as p,
922
- subscribeContext as q,
920
+ onRegisterBlock as o,
921
+ injectContext as p,
922
+ provideContext as q,
923
923
  registerBlock as r,
924
924
  serializeBlocks as s,
925
- n as t,
925
+ subscribeContext as t,
926
926
  u,
927
- ContextRoot as v,
927
+ n as v,
928
928
  w,
929
- onRegisterBlock as x
929
+ ContextRoot as x
930
930
  };
package/dist/vue.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { toValue, watchEffect, customRef, defineComponent, ref, getCurrentInstance, onMounted, provide, h, renderSlot, inject, computed, createApp, useHost, defineCustomElement } from "vue";
2
2
  import { signal, effect, injectContext, provideContext, createCeRenderer } from "@juo/orion-core";
3
- import { c as createEditorBridge } from "./bridge-fHXg0b-e.js";
3
+ import { c as createEditorBridge } from "./bridge-DjBr4DlY.js";
4
4
  const signalsMap = /* @__PURE__ */ new WeakMap();
5
5
  function toSignal(ref2) {
6
6
  if (!signalsMap.has(ref2)) {
@@ -4,10 +4,10 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { o as injectContext, E, v as ContextRoot } from "./theme-state-TW-9hD7e.js";
8
- import { E as ExtensionRoot, B as Block } from "./ExtensionRoot-BFk-vt2J.js";
9
- import { c as createEditorBridge, a as createFocusInlineTextMessage, b as createUpdateBlockTranslationMessage } from "./bridge-fHXg0b-e.js";
10
- import { T as TranslationContext } from "./juo-workflow-CoWvwYTn.js";
7
+ import { p as injectContext, E, x as ContextRoot } from "./theme-state-CVjQY7tL.js";
8
+ import { E as ExtensionRoot, B as Block } from "./ExtensionRoot-B3VZYOFl.js";
9
+ import { c as createEditorBridge, a as createFocusInlineTextMessage, b as createUpdateBlockTranslationMessage } from "./bridge-DjBr4DlY.js";
10
+ import { T as TranslationContext } from "./juo-workflow-CtdYqg0V.js";
11
11
  const _InlineText = class _InlineText extends HTMLElement {
12
12
  constructor() {
13
13
  super();
@@ -4,9 +4,9 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { o as injectContext, E, v as ContextRoot } from "./theme-state-TW-9hD7e.js";
8
- import { E as ExtensionRoot, B as Block } from "./ExtensionRoot-BFk-vt2J.js";
9
- import { T as TranslationContext } from "./juo-workflow-CoWvwYTn.js";
7
+ import { p as injectContext, E, x as ContextRoot } from "./theme-state-CVjQY7tL.js";
8
+ import { E as ExtensionRoot, B as Block } from "./ExtensionRoot-B3VZYOFl.js";
9
+ import { T as TranslationContext } from "./juo-workflow-CtdYqg0V.js";
10
10
  class InlineText extends HTMLElement {
11
11
  constructor() {
12
12
  super(...arguments);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juo/orion-core",
3
3
  "private": false,
4
- "version": "0.14.0",
4
+ "version": "0.15.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"