@diagonal-hq/pages 0.7.2 → 0.7.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +13 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -10982,12 +10982,19 @@ export type EmailComposerContentProps =
10982
10982
  * only this email, never the template. Requires `send_emails`, not
10983
10983
  * `manage_notifications`.
10984
10984
  *
10985
- * The composer shows a loading state, then the draft. A failed load shows the
10986
- * reason with a "Try again" button; templates that only a notification send can
10987
- * render fail this way. The draft is read once per mount and is not refreshed
10988
- * in the background, so it never replaces the viewer's edits. A different ID
10989
- * discards the edits and loads that template. A new `key` reloads the same
10990
- * template. "Send another" restores the template's copy.
10985
+ * While the template loads, the recipient row, the Subject field, the toolbar,
10986
+ * and the preview frame stay in place: the frame shows the loading state and
10987
+ * Send is disabled. A failed load shows the reason with a "Try again" button
10988
+ * under the frame; templates that only a notification send can render fail this
10989
+ * way. The draft is read once per selection and is not refreshed in the
10990
+ * background, so it never replaces the viewer's edits.
10991
+ *
10992
+ * A different ID discards the edits and loads that template in place, so do
10993
+ * not change the `key` with the ID. The composer does the same when the page
10994
+ * renders it with an ID in one branch and without one in the other, at the same
10995
+ * place in the tree. The recipients, the "Preview as" pick, and the view stay.
10996
+ * A new `key` is a full reset that reads the same template again. "Send
10997
+ * another" restores the template's copy.
10991
10998
  */
10992
10999
  notificationTemplateId: string;
10993
11000
  emailLayoutId?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/pages",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "The Page SDK for the pages of file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {