@diagonal-hq/cli 0.37.4 → 0.37.6

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 CHANGED
@@ -1110,6 +1110,12 @@ export type EmailLayoutReference = string;
1110
1110
  export type RecordVariableDefinition = {
1111
1111
  /** The slug of the resource whose record the sender passes. */
1112
1112
  resource: ResourceReference;
1113
+ /**
1114
+ * The relation paths from the resource whose records a send loads with the
1115
+ * record, for example `'latest_invoice'`. Templates read them as
1116
+ * `{{ member.latest_invoice.amount }}`.
1117
+ */
1118
+ relations?: readonly string[];
1113
1119
  label?: string;
1114
1120
  description?: string | null;
1115
1121
  required?: boolean;
@@ -12974,7 +12974,8 @@ type ModalProps = {
12974
12974
  onOpenChange?: (open: boolean) => void;
12975
12975
 
12976
12976
  /**
12977
- * Element that opens the modal.
12977
+ * Element that opens the modal. Without a trigger, closing the modal returns focus to the
12978
+ * element that had focus when it opened, or to the button of the menu that opened it.
12978
12979
  */
12979
12980
  trigger?: React.ReactNode;
12980
12981
 
@@ -13866,7 +13867,8 @@ type SlideoverProps = {
13866
13867
  onOpenChange?: (open: boolean) => void;
13867
13868
 
13868
13869
  /**
13869
- * Element that opens the panel.
13870
+ * Element that opens the panel. Without a trigger, closing the panel returns focus to the
13871
+ * element that had focus when it opened, or to the button of the menu that opened it.
13870
13872
  */
13871
13873
  trigger?: React.ReactNode;
13872
13874
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.37.4",
3
+ "version": "0.37.6",
4
4
  "description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {