@taprootio/espalier 6.3.0 → 6.5.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 +16 -0
- package/custom-elements.json +8771 -8717
- package/dist/box/esp-box.d.ts +35 -0
- package/dist/box/esp-box.js +24 -9
- package/dist/dialog/esp-dialog.d.ts +76 -0
- package/dist/dialog/esp-dialog.js +29 -17
- package/dist/page/esp-page.d.ts +5 -2
- package/dist/page/esp-page.js +41 -41
- package/dist/page/workspace-geometry.js +1 -1
- package/dist/page/workspace-resize-session.js +1 -1
- package/espalier.css-data.json +17 -1
- package/espalier.token-manifest.json +25 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# 6.5.0
|
|
2
|
+
|
|
3
|
+
An open preview takes the width a capped main leaves it, so a page that shows both never leaves canvas beside the preview.
|
|
4
|
+
|
|
5
|
+
- **Changed: a resized preview or help pane is a floor, not an exact size, while main sits at its configured maximum.** The preview, then open in-grid help, absorbs the spare width up to `--esp-page-preview-max-width` and `--esp-page-flyout-max-width`, and canvas appears only once both stand at their maximums, in equal gutters on a centered page. Before, dragging the preview narrower on a wide page (or setting a retained width) kept it exactly that wide and the surplus became canvas on both sides.
|
|
6
|
+
- **Dragging toward a narrower preview has no visible effect while main is capped**, and the seam holds where main reaches its cap; dragging wider still works. The chosen width is kept and applies again when the page narrows. On a page where a pane has been resized, the exposed outer-edge separators now appear only when the panes are at their maximums.
|
|
7
|
+
- **Unchanged:** pages whose main is not capped, `kind="site"`, and pages where no pane has been resized (configured `--esp-page-*-default-width` values stay exact targets until then) keep their exact widths. There is no opt-in attribute and no new token; to keep canvas, bound the panes with their maximum tokens. The Page alignment guide documents the rule.
|
|
8
|
+
|
|
9
|
+
# 6.4.0
|
|
10
|
+
|
|
11
|
+
A full-screen dialog can be bounded to a rectangle, so the rest of the page stays visible around it.
|
|
12
|
+
|
|
13
|
+
- **New: four inset custom properties on `esp-dialog`**: `--esp-dialog-inset-block-start`, `--esp-dialog-inset-inline-start`, `--esp-dialog-inset-inline-end`, and `--esp-dialog-inset-block-end`. Each is a length measured from the viewport edge and defaults to `0px`, so a dialog that sets none covers the viewport exactly as before. Set them on the `esp-dialog` host and the dialog's scrolling surface and both backdrop layers paint only inside the rectangle. They are logical: inline start is the left edge in left-to-right text and the right edge in right-to-left text.
|
|
14
|
+
- **`esp-box full-screen` fills the bounded rectangle.** It takes its position and size from the same four properties, from the dialog host or any ancestor, and its scroll container now follows the box instead of the viewport. Without the properties it still fills the viewport.
|
|
15
|
+
- **Bounds change where the dialog paints, not what is reachable.** The dialog has never closed on an outside click, so clicks on the uncovered region reach the page unless something there is `inert`. Inside `esp-page`'s markup the page's tracks are inert as before, so the uncovered header and preview are not clickable; a dialog that is a direct child of another component's shadow root leaves the page around it live. The Tab trap and `Escape` act only while focus is inside the dialog, so a click on an uncovered control takes focus out of it. Set `inert` on the uncovered regions that must not be reachable. The Dialog guide has the details.
|
|
16
|
+
|
|
1
17
|
# 6.3.0
|
|
2
18
|
|
|
3
19
|
A field fills one layer above the surface it sits on.
|