efficient-easel 8.0.0 → 8.1.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.
@@ -19,11 +19,31 @@
19
19
  border: 0;
20
20
  width: 100%;
21
21
  display: block;
22
+ /* THE DOCUMENT FLOATS ON THE CANVAS (Lewis 2026-10-15): the website's page,
23
+ wherever the canvas is wider than the page (tablet, phone). The shell's
24
+ panel shadow, no value of our own. See the floating sheet below. */
25
+ box-shadow: var(--elevation-panel);
22
26
  }
23
27
  .es-canvas-frame.is-fill {
24
28
  height: 100%;
25
29
  }
26
30
 
31
+ /* THE FLOATING SHEET, inside the frame (Lewis 2026-10-15, option A, via GG):
32
+ the document's BODY — the element holding its top list, the email's body
33
+ card — sits on the canvas with ONE soft shadow, whatever its colours. In the
34
+ "Forged in Fire" email the backdrop and the body are the same grey, and the
35
+ editor showed no edge at all. No new setting and no value of its own: the
36
+ shell's panel shadow (owner 2026-10-12, harness UI-24). Hosts copy the
37
+ shell's sheet into the frame with theirs; a frame without it simply draws
38
+ no shadow, which is the old look, never a wrong one.
39
+ EDITOR ONLY by construction: only the editing canvas draws `.es-zone`;
40
+ `Render` (a published page, a sent email) draws none
41
+ (tests/canvas-floating-sheet). `:where` gives the rule no weight
42
+ at all, so a document's own shadow on that element still wins. */
43
+ :where(:has(> .es-zone.is-root)) {
44
+ box-shadow: var(--elevation-panel);
45
+ }
46
+
27
47
  /* The frame's root (CanvasFrame). Puck's `[data-puck-entry]` rule: a stacking
28
48
  context of its own, so a block's z-index stays inside the page. */
29
49
  [data-puck-entry] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-easel",
3
- "version": "8.0.0",
3
+ "version": "8.1.0",
4
4
  "description": "Efficient Easel: the EFFICIENT editors' shared engine and chrome: the saved document as pure functions, the published renderer, and the editor frame, panels, Layers tree, text grammar and type-in-place box. Published as editor-shell up to 0.66.0 and as efficient-editor up to 0.95.0.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",