@peripheries/core 0.5.1 → 0.5.3
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/package.json
CHANGED
|
@@ -10,6 +10,10 @@ export interface BookablePerson {
|
|
|
10
10
|
name: string;
|
|
11
11
|
role?: string;
|
|
12
12
|
}
|
|
13
|
+
export interface BookableAssignee {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
13
17
|
export interface BookEventPrefill {
|
|
14
18
|
typeId?: string;
|
|
15
19
|
startsAt?: string;
|
|
@@ -21,6 +25,8 @@ export interface BookEventPrefill {
|
|
|
21
25
|
export interface BookEventCardProps {
|
|
22
26
|
types: ReadonlyArray<BookableType>;
|
|
23
27
|
people?: ReadonlyArray<BookablePerson>;
|
|
28
|
+
canShare?: boolean;
|
|
29
|
+
assignees?: ReadonlyArray<BookableAssignee>;
|
|
24
30
|
subjectName?: string;
|
|
25
31
|
prefill?: BookEventPrefill;
|
|
26
32
|
invitesSent?: boolean;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ReactNode, CSSProperties } from 'react';
|
|
2
2
|
export interface PageHeadProps {
|
|
3
3
|
title: string;
|
|
4
|
+
level?: 1 | 2;
|
|
4
5
|
eyebrow?: string;
|
|
5
6
|
intro?: ReactNode;
|
|
6
7
|
actions?: ReactNode;
|
|
7
8
|
className?: string;
|
|
8
9
|
style?: CSSProperties;
|
|
9
10
|
}
|
|
10
|
-
export declare function PageHead({ title, eyebrow, intro, actions, className, ...rest }: PageHeadProps): import("react").JSX.Element;
|
|
11
|
+
export declare function PageHead({ title, level, eyebrow, intro, actions, className, ...rest }: PageHeadProps): import("react").JSX.Element;
|