@diagonal-hq/pages 0.7.2 → 0.8.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/dist/index.d.ts +13 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2995,7 +2995,6 @@ export type SdkSystemSettingsPage =
|
|
|
2995
2995
|
| 'workspace-fields'
|
|
2996
2996
|
| 'workspace-files'
|
|
2997
2997
|
| 'workspace-onboarding'
|
|
2998
|
-
| 'workspace-records'
|
|
2999
2998
|
| 'workspace-runs'
|
|
3000
2999
|
| 'workspace-workflows'
|
|
3001
3000
|
| 'workspaces';
|
|
@@ -10982,12 +10981,19 @@ export type EmailComposerContentProps =
|
|
|
10982
10981
|
* only this email, never the template. Requires `send_emails`, not
|
|
10983
10982
|
* `manage_notifications`.
|
|
10984
10983
|
*
|
|
10985
|
-
*
|
|
10986
|
-
*
|
|
10987
|
-
*
|
|
10988
|
-
*
|
|
10989
|
-
*
|
|
10990
|
-
*
|
|
10984
|
+
* While the template loads, the recipient row, the Subject field, the toolbar,
|
|
10985
|
+
* and the preview frame stay in place: the frame shows the loading state and
|
|
10986
|
+
* Send is disabled. A failed load shows the reason with a "Try again" button
|
|
10987
|
+
* under the frame; templates that only a notification send can render fail this
|
|
10988
|
+
* way. The draft is read once per selection and is not refreshed in the
|
|
10989
|
+
* background, so it never replaces the viewer's edits.
|
|
10990
|
+
*
|
|
10991
|
+
* A different ID discards the edits and loads that template in place, so do
|
|
10992
|
+
* not change the `key` with the ID. The composer does the same when the page
|
|
10993
|
+
* renders it with an ID in one branch and without one in the other, at the same
|
|
10994
|
+
* place in the tree. The recipients, the "Preview as" pick, and the view stay.
|
|
10995
|
+
* A new `key` is a full reset that reads the same template again. "Send
|
|
10996
|
+
* another" restores the template's copy.
|
|
10991
10997
|
*/
|
|
10992
10998
|
notificationTemplateId: string;
|
|
10993
10999
|
emailLayoutId?: never;
|