@taprootio/espalier 2.10.0 → 2.12.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 +92 -0
- package/custom-elements.json +1287 -172
- package/dist/flyout/esp-flyout.d.ts +20 -12
- package/dist/flyout/esp-flyout.js +75 -22
- package/dist/page/bi-directional-sticky-controller.js +1 -1
- package/dist/page/esp-page.d.ts +219 -39
- package/dist/page/esp-page.js +329 -32
- package/dist/shared/events.d.ts +7 -0
- package/dist/shared/events.js +1 -1
- package/espalier.token-manifest.json +88 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,98 @@ 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.12.0 — Resizable page workspaces
|
|
9
|
+
|
|
10
|
+
- Add opt-in `esp-page workspace-resizable` separators for Main → Preview and
|
|
11
|
+
Preview → in-grid Flyout/Help, supporting pointer drag, physical-direction
|
|
12
|
+
Arrow keys, larger Shift+Arrow steps, LTR, and RTL. Both seams press on
|
|
13
|
+
through preview's minimum — Main/Preview into open help, Preview/Help into
|
|
14
|
+
main — and resize sessions apply widths directly, with no mid-interaction
|
|
15
|
+
renegotiation and no track-transition glide, so pointer capture survives in
|
|
16
|
+
every engine, drags track the cursor, each drag lands its complete delta,
|
|
17
|
+
and a focused separator keeps keyboard focus across repeated Arrow steps
|
|
18
|
+
(settling when focus leaves it). Navigation collapse triggered by a resize
|
|
19
|
+
happens during the session, not after it. Separators announce pane widths
|
|
20
|
+
that keep changing across their complete travel — main's width, then
|
|
21
|
+
help's width — and without a visible preview the second seam becomes the
|
|
22
|
+
distinct `main-flyout` separator (own part and event identity) sizing help
|
|
23
|
+
directly against main.
|
|
24
|
+
- Retain selected pane sizes for the mounted page instance and feed them back
|
|
25
|
+
through the existing allocator, preserving all main/preview/help min/max
|
|
26
|
+
bounds, navigation collapse, preview hiding, responsive re-clamping and
|
|
27
|
+
restoration, and help overlay promotion.
|
|
28
|
+
- Expose both seams as labelled, focusable vertical ARIA separators with live
|
|
29
|
+
min/max/current values, a dashed keyboard-focus line drawn along the seam
|
|
30
|
+
itself (one viewport tall, glowing in the line's own color), comfortable
|
|
31
|
+
transparent hit targets, public parts and CSS interaction tokens, and the
|
|
32
|
+
typed bubbling `esp-page-workspace-resize` event, whose width fields report
|
|
33
|
+
the current allocated pane widths.
|
|
34
|
+
- Bound keyboard resize suspension to a short idle window so container/media
|
|
35
|
+
changes resume allocator re-clamping while focus remains on a separator, and
|
|
36
|
+
clean up interrupted measurement/collapse session state across disable,
|
|
37
|
+
disconnect, and reconnect lifecycles.
|
|
38
|
+
- Hide unavailable separators when preview is hidden or help becomes an overlay,
|
|
39
|
+
and suppress selection and touch-page scrolling while dragging.
|
|
40
|
+
- Hide the thick anchored-help seam terminus when no visible preview separates
|
|
41
|
+
help from its field; the bridge and terminus now appear only for detached help.
|
|
42
|
+
- Add Page examples and layout guidance for preview-only and preview-plus-help
|
|
43
|
+
resizing, plus pointer, keyboard, responsive, ordering, navigation, overlay,
|
|
44
|
+
and real-browser regression coverage.
|
|
45
|
+
|
|
46
|
+
## 2.11.0 — Flexible preview and help workspace
|
|
47
|
+
|
|
48
|
+
- Arrange the `esp-page` authoring workspace as main, full-viewport preview,
|
|
49
|
+
then help, with independent preview and flyout controls.
|
|
50
|
+
- Add min/max width contracts for main, preview, and help. Preview grows first,
|
|
51
|
+
help grows after preview reaches its maximum, and all three participate in
|
|
52
|
+
one spare-canvas, main-reclaim, and safe-navigation-collapse decision.
|
|
53
|
+
- Retain a validated collapsed navigation rail whenever its saved width keeps
|
|
54
|
+
the complete workspace visible, restoring it only when all region minimums
|
|
55
|
+
fit with the rail present.
|
|
56
|
+
- Bridge anchored help across a visible preview with a non-interactive,
|
|
57
|
+
40%-opacity dotted connector, caret at the main edge, and a short thick
|
|
58
|
+
terminus on the preview/help seam.
|
|
59
|
+
- Present preview as a default secondary surface with the main/page background,
|
|
60
|
+
dotted tear-off edge, and outer shadow moved from main to preview.
|
|
61
|
+
- Promote auto-mode help to the accessible overlay drawer whenever sidebar +
|
|
62
|
+
main + help minimums cannot fit, even above the mobile breakpoint, and restore
|
|
63
|
+
its in-grid complementary presentation when space returns.
|
|
64
|
+
- Allocate preview and help widths from the visible page bounds, so a layout
|
|
65
|
+
box slightly wider than the visual viewport — such as a `100vw` page beside
|
|
66
|
+
a classic scrollbar — narrows help by the hidden sliver instead of promoting
|
|
67
|
+
the modal drawer.
|
|
68
|
+
- Keep page-managed drawers stable across scroll-lock width changes, prevent
|
|
69
|
+
rejected preview measurements from flashing, keep candidate tracks mounted
|
|
70
|
+
until their geometry is stably valid or invalid, and raise nested drawers
|
|
71
|
+
above ancestor page headers.
|
|
72
|
+
- Let preview and non-modal help scroll their own content first, then hand
|
|
73
|
+
wheel/trackpad motion back to the main document at either boundary or when
|
|
74
|
+
they have no intrinsic overflow.
|
|
75
|
+
- Add a live Page example showing an editable field, persistent preview, and
|
|
76
|
+
anchored contextual help together, expanding main to full width when both
|
|
77
|
+
auxiliary surfaces are closed. Help starts closed so the documentation never
|
|
78
|
+
opens with an unsolicited modal drawer.
|
|
79
|
+
|
|
80
|
+
## 2.10.1 — Full-viewport persistent preview
|
|
81
|
+
|
|
82
|
+
- Correct `esp-page` persistent previews to begin at viewport top beside the
|
|
83
|
+
application header and remain visible while tall main content scrolls.
|
|
84
|
+
- Give preview content an independent `100dvh` scroll surface with a zero sticky
|
|
85
|
+
offset, including pages with normal, sticky, or fixed headers.
|
|
86
|
+
- Preserve spare-width negotiation, sidebar collapse, responsive hiding,
|
|
87
|
+
flyout precedence, and the existing `preview` slot and preview-control APIs;
|
|
88
|
+
consumers need no shadow-part styling or new compatibility attribute.
|
|
89
|
+
|
|
90
|
+
## 2.10.0 — Persistent spare-width preview
|
|
91
|
+
|
|
92
|
+
- Add a dedicated persistent `preview` slot to `esp-page`, separate from the
|
|
93
|
+
always-present `right` aside and transient `flyout` surface.
|
|
94
|
+
- Use spare trailing canvas first, optionally reclaim main and linked navigation
|
|
95
|
+
width down to a configured floor, and automatically hide and restore the
|
|
96
|
+
preview as available space changes.
|
|
97
|
+
- Preserve flyout precedence and expose labelled complementary-landmark,
|
|
98
|
+
visibility, toggle, width, and sidebar-collapse contracts for authoring tools.
|
|
99
|
+
|
|
8
100
|
## 2.8.0 — Popover collision strategies
|
|
9
101
|
|
|
10
102
|
- Add declarative `flip`, `shift`, and `none` collision strategies to
|