@diagonal-hq/cli 0.20.0 → 0.20.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.
@@ -6343,7 +6343,7 @@ type ComponentRegistry = {
6343
6343
  "TwoFactorSetup": SdkComponent<TwoFactorSetupProps>;
6344
6344
  "TwoFactorSmsConsent": SdkComponent<TwoFactorSmsConsentProps>;
6345
6345
  "UpdateResourceRecordForm": <TResource extends UpdateFormResource = UpdateFormResource>(props: UpdateResourceRecordFormProps<TResource>) => any;
6346
- "UserMenu": SdkComponent<UserControlProps>;
6346
+ "UserMenu": SdkComponent<UserMenuProps>;
6347
6347
  "Video": SdkComponent<VideoProps>;
6348
6348
  "WorkflowForm": SdkComponent<WorkflowFormProps>;
6349
6349
  "WorkspaceFieldsForm": SdkComponent<WorkspaceFieldsFormProps>;
@@ -14044,6 +14044,14 @@ type UpdateResourceRecordFormHandle = SdkResourceForm & {
14044
14044
  relationTableFields: SdkResourceField[];
14045
14045
  };
14046
14046
 
14047
+ type UserMenuProps = UserControlProps & {
14048
+ /**
14049
+ * Menu items that show above Log out, such as `useMenu(accountMenu).items` in a file-based
14050
+ * layout. An item without a destination, such as a dropdown, is left out.
14051
+ */
14052
+ items?: readonly NavMainItem[];
14053
+ };
14054
+
14047
14055
  type VideoProps = React.VideoHTMLAttributes<HTMLVideoElement> & {
14048
14056
  /**
14049
14057
  * Video URL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
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": {