@one-million-lines/email-builder 0.6.1 → 0.6.2

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
@@ -4,6 +4,31 @@ All notable changes to this package are documented here.
4
4
  This project adheres to [Semantic Versioning](https://semver.org/) and the
5
5
  [Keep a Changelog](https://keepachangelog.com/) format.
6
6
 
7
+ ## [0.6.2] — 2026-09-03
8
+
9
+ ### Changed
10
+
11
+ - **Link popover — complete UX overhaul**
12
+ - **Shows linked text preview** — a "Text:" row displays the selected text so
13
+ users know exactly what will become clickable.
14
+ - **URL ↔ special link are now two-way synced** — selecting a special link type
15
+ (Unsubscribe, View in browser, etc.) auto-fills the URL field with the
16
+ corresponding placeholder (`{{unsubscribe_url}}`). Typing a placeholder URL
17
+ in the field auto-selects the matching link type. Selecting "— Custom URL —"
18
+ clears the placeholder.
19
+ - **Placeholder appears in the URL field** — the href that will be written into
20
+ the `<a>` tag is always visible and editable in the URL input, so users
21
+ understand that the placeholder IS the href value.
22
+ - **"Insert link" / "Update link" primary CTA** — replaced the small "Apply"
23
+ button with a full-width blue primary button. The label changes to
24
+ "Update link" when re-opening an existing link.
25
+ - **Detects existing links on re-open** — when the cursor is inside or a
26
+ selection spans an existing `<a>` tag, the popover pre-fills the href and
27
+ auto-selects the special link type (if the href matches a known placeholder).
28
+ - **Enter key** confirms the link; **Escape** closes without applying.
29
+ - Link type select now shows the placeholder inline in each option for
30
+ clarity: `Unsubscribe — {{unsubscribe_url}}`.
31
+
7
32
  ## [0.6.1] — 2026-09-03
8
33
 
9
34
  ### Fixed