@diagonal-hq/pages 0.2.1 → 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.
- package/dist/index.d.ts +10 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3449,6 +3449,7 @@ readonly revision: ({
|
|
|
3449
3449
|
readonly scope: string,
|
|
3450
3450
|
readonly period: string,
|
|
3451
3451
|
readonly invoice_record_id: string,
|
|
3452
|
+
readonly due_at: string | null,
|
|
3452
3453
|
readonly period_start: string,
|
|
3453
3454
|
readonly period_end: string,
|
|
3454
3455
|
readonly before_lines: ({
|
|
@@ -6404,7 +6405,7 @@ export type ComponentRegistry = {
|
|
|
6404
6405
|
"TwoFactorSetup": SdkComponent<TwoFactorSetupProps>;
|
|
6405
6406
|
"TwoFactorSmsConsent": SdkComponent<TwoFactorSmsConsentProps>;
|
|
6406
6407
|
"UpdateResourceRecordForm": <TResource extends UpdateFormResource = UpdateFormResource>(props: UpdateResourceRecordFormProps<TResource>) => any;
|
|
6407
|
-
"UserMenu": SdkComponent<
|
|
6408
|
+
"UserMenu": SdkComponent<UserMenuProps>;
|
|
6408
6409
|
"Video": SdkComponent<VideoProps>;
|
|
6409
6410
|
"WorkflowForm": SdkComponent<WorkflowFormProps>;
|
|
6410
6411
|
"WorkspaceFieldsForm": SdkComponent<WorkspaceFieldsFormProps>;
|
|
@@ -14105,6 +14106,14 @@ export type UpdateResourceRecordFormHandle = SdkResourceForm & {
|
|
|
14105
14106
|
relationTableFields: SdkResourceField[];
|
|
14106
14107
|
};
|
|
14107
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
|
+
|
|
14108
14117
|
export type VideoProps = React.VideoHTMLAttributes<HTMLVideoElement> & {
|
|
14109
14118
|
/**
|
|
14110
14119
|
* Video URL.
|