@taprootio/espalier 2.9.0 → 2.11.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.
- package/CHANGELOG.md +54 -0
- package/custom-elements.json +1056 -149
- package/dist/flyout/esp-flyout.d.ts +20 -12
- package/dist/flyout/esp-flyout.js +75 -22
- package/dist/header/esp-header.js +4 -4
- package/dist/menu/esp-menu.js +2 -2
- package/dist/page/bi-directional-sticky-controller.js +1 -1
- package/dist/page/esp-page.d.ts +161 -12
- package/dist/page/esp-page.js +242 -15
- package/espalier.token-manifest.json +68 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,60 @@ here. This file ships in the published npm package. It is a curated public
|
|
|
5
5
|
record and intentionally does not mirror the private `taproot-controls`
|
|
6
6
|
development history.
|
|
7
7
|
|
|
8
|
+
## 2.11.0 — Flexible preview and help workspace
|
|
9
|
+
|
|
10
|
+
- Arrange the `esp-page` authoring workspace as main, full-viewport preview,
|
|
11
|
+
then help, with independent preview and flyout controls.
|
|
12
|
+
- Add min/max width contracts for main, preview, and help. Preview grows first,
|
|
13
|
+
help grows after preview reaches its maximum, and all three participate in
|
|
14
|
+
one spare-canvas, main-reclaim, and safe-navigation-collapse decision.
|
|
15
|
+
- Retain a validated collapsed navigation rail whenever its saved width keeps
|
|
16
|
+
the complete workspace visible, restoring it only when all region minimums
|
|
17
|
+
fit with the rail present.
|
|
18
|
+
- Bridge anchored help across a visible preview with a non-interactive,
|
|
19
|
+
40%-opacity dotted connector, caret at the main edge, and a short thick
|
|
20
|
+
terminus on the preview/help seam.
|
|
21
|
+
- Present preview as a default secondary surface with the main/page background,
|
|
22
|
+
dotted tear-off edge, and outer shadow moved from main to preview.
|
|
23
|
+
- Promote auto-mode help to the accessible overlay drawer whenever sidebar +
|
|
24
|
+
main + help minimums cannot fit, even above the mobile breakpoint, and restore
|
|
25
|
+
its in-grid complementary presentation when space returns.
|
|
26
|
+
- Allocate preview and help widths from the visible page bounds, so a layout
|
|
27
|
+
box slightly wider than the visual viewport — such as a `100vw` page beside
|
|
28
|
+
a classic scrollbar — narrows help by the hidden sliver instead of promoting
|
|
29
|
+
the modal drawer.
|
|
30
|
+
- Keep page-managed drawers stable across scroll-lock width changes, prevent
|
|
31
|
+
rejected preview measurements from flashing, keep candidate tracks mounted
|
|
32
|
+
until their geometry is stably valid or invalid, and raise nested drawers
|
|
33
|
+
above ancestor page headers.
|
|
34
|
+
- Let preview and non-modal help scroll their own content first, then hand
|
|
35
|
+
wheel/trackpad motion back to the main document at either boundary or when
|
|
36
|
+
they have no intrinsic overflow.
|
|
37
|
+
- Add a live Page example showing an editable field, persistent preview, and
|
|
38
|
+
anchored contextual help together, expanding main to full width when both
|
|
39
|
+
auxiliary surfaces are closed. Help starts closed so the documentation never
|
|
40
|
+
opens with an unsolicited modal drawer.
|
|
41
|
+
|
|
42
|
+
## 2.10.1 — Full-viewport persistent preview
|
|
43
|
+
|
|
44
|
+
- Correct `esp-page` persistent previews to begin at viewport top beside the
|
|
45
|
+
application header and remain visible while tall main content scrolls.
|
|
46
|
+
- Give preview content an independent `100dvh` scroll surface with a zero sticky
|
|
47
|
+
offset, including pages with normal, sticky, or fixed headers.
|
|
48
|
+
- Preserve spare-width negotiation, sidebar collapse, responsive hiding,
|
|
49
|
+
flyout precedence, and the existing `preview` slot and preview-control APIs;
|
|
50
|
+
consumers need no shadow-part styling or new compatibility attribute.
|
|
51
|
+
|
|
52
|
+
## 2.10.0 — Persistent spare-width preview
|
|
53
|
+
|
|
54
|
+
- Add a dedicated persistent `preview` slot to `esp-page`, separate from the
|
|
55
|
+
always-present `right` aside and transient `flyout` surface.
|
|
56
|
+
- Use spare trailing canvas first, optionally reclaim main and linked navigation
|
|
57
|
+
width down to a configured floor, and automatically hide and restore the
|
|
58
|
+
preview as available space changes.
|
|
59
|
+
- Preserve flyout precedence and expose labelled complementary-landmark,
|
|
60
|
+
visibility, toggle, width, and sidebar-collapse contracts for authoring tools.
|
|
61
|
+
|
|
8
62
|
## 2.8.0 — Popover collision strategies
|
|
9
63
|
|
|
10
64
|
- Add declarative `flip`, `shift`, and `none` collision strategies to
|