@flowdrop/flowdrop 2.0.0-beta.8 → 2.0.0-beta.9

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 CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.0-beta.9] - 2026-07-12
11
+
12
+ Ninth 2.0 beta, published under the npm `beta` dist-tag (`npm install @flowdrop/flowdrop@beta`). `latest` remains 1.15.0 until 2.0.0 GA. A follow-up fix to the relocatable surfaces shipped in beta.8: config surfaces hosted in the modal placement (and the config panel's pop-out) now keep the editor's font instead of falling back to the host page's default.
13
+
14
+ ### Fixed
15
+
16
+ - **Modal config surfaces no longer inherit the host page's font.** The `SurfaceOverlay` (modal placement) and the `ConfigPanel` pop-out both portal to `document.body` so their fixed backdrop escapes any ancestor that establishes a containing block. That also moved them out of the mount container that carries the app font, so — since the library sets no base font of its own and relies on inheriting the host's — the modal fell back to the page default (rendering as serif on a bare Drupal editor page, whose `<body>` resolves to `Times`) while the rest of the editor stayed sans-serif. Each portalled backdrop now re-declares `font-family: var(--fd-font-family, system-ui, -apple-system, sans-serif)`, mirroring the mount container's own declaration, so a portalled surface matches the editor and still honours a consumer's `--fd-font-family` override.
17
+
10
18
  ## [2.0.0-beta.8] - 2026-07-11
11
19
 
12
20
  Eighth 2.0 beta, published under the npm `beta` dist-tag (`npm install @flowdrop/flowdrop@beta`). `latest` remains 1.15.0 until 2.0.0 GA. This release makes auxiliary surfaces relocatable: the config panel and the console/AI Assistant group are no longer pinned to fixed spots — each can be hosted in the **right sidebar**, a **centered modal overlay**, or the **bottom panel**, chosen independently per surface. Surfaces routed to the same host coexist as tabs. Defaults are unchanged (config in the sidebar, console/chat in the bottom panel), so existing embeds look and behave exactly as before.
@@ -390,6 +390,13 @@
390
390
  .config-panel-modal__backdrop {
391
391
  position: fixed;
392
392
  inset: 0;
393
+ /*
394
+ Portalled to document.body, this shell sits outside the editor container
395
+ that carries the app font, so it would otherwise inherit the host page's
396
+ default (e.g. serif on a bare Drupal page). Re-establish the font here,
397
+ mirroring the mount container's declaration.
398
+ */
399
+ font-family: var(--fd-font-family, system-ui, -apple-system, sans-serif);
393
400
  background-color: var(--fd-backdrop, rgba(0, 0, 0, 0.5));
394
401
  display: flex;
395
402
  align-items: center;
@@ -72,6 +72,13 @@
72
72
  .surface-overlay__backdrop {
73
73
  position: fixed;
74
74
  inset: 0;
75
+ /*
76
+ Portalled to document.body, this shell sits outside the editor container
77
+ that carries the app font, so it would otherwise inherit the host page's
78
+ default (e.g. serif on a bare Drupal page). Re-establish the font here,
79
+ mirroring the mount container's declaration.
80
+ */
81
+ font-family: var(--fd-font-family, system-ui, -apple-system, sans-serif);
75
82
  background-color: var(--fd-backdrop, rgba(0, 0, 0, 0.5));
76
83
  display: flex;
77
84
  align-items: center;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A drop-in visual workflow editor for any web application. You own the backend. You own the data. You own the orchestration.",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "version": "2.0.0-beta.8",
6
+ "version": "2.0.0-beta.9",
7
7
  "author": "Shibin Das (D34dMan)",
8
8
  "bugs": {
9
9
  "url": "https://github.com/flowdrop-io/flowdrop/issues"