@diagonal-hq/pages 0.3.0 → 0.3.1

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 +9 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6405,7 +6405,7 @@ export type ComponentRegistry = {
6405
6405
  "TwoFactorSetup": SdkComponent<TwoFactorSetupProps>;
6406
6406
  "TwoFactorSmsConsent": SdkComponent<TwoFactorSmsConsentProps>;
6407
6407
  "UpdateResourceRecordForm": <TResource extends UpdateFormResource = UpdateFormResource>(props: UpdateResourceRecordFormProps<TResource>) => any;
6408
- "UserMenu": SdkComponent<UserControlProps>;
6408
+ "UserMenu": SdkComponent<UserMenuProps>;
6409
6409
  "Video": SdkComponent<VideoProps>;
6410
6410
  "WorkflowForm": SdkComponent<WorkflowFormProps>;
6411
6411
  "WorkspaceFieldsForm": SdkComponent<WorkspaceFieldsFormProps>;
@@ -14106,6 +14106,14 @@ export type UpdateResourceRecordFormHandle = SdkResourceForm & {
14106
14106
  relationTableFields: SdkResourceField[];
14107
14107
  };
14108
14108
 
14109
+ export type UserMenuProps = UserControlProps & {
14110
+ /**
14111
+ * Menu items that show above Log out, such as `useMenu(accountMenu).items` in a file-based
14112
+ * layout. An item without a destination, such as a dropdown, is left out.
14113
+ */
14114
+ items?: readonly NavMainItem[];
14115
+ };
14116
+
14109
14117
  export type VideoProps = React.VideoHTMLAttributes<HTMLVideoElement> & {
14110
14118
  /**
14111
14119
  * Video URL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/pages",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "The Page SDK for the pages of file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {