@muraldevkit/ui-toolkit 2.76.1 → 2.77.0
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.
|
@@ -16,6 +16,12 @@ interface MrlPanelProps extends ComponentPropsWithRef<'div'> {
|
|
|
16
16
|
* When a custom header is used developers need to provide th aria-label and aria-describedby.
|
|
17
17
|
*/
|
|
18
18
|
header?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* The custom top actions to be rendered in the panel header.
|
|
21
|
+
* By default top actions are rendered on the right side of the title and include a MrlDivider at the end.
|
|
22
|
+
* The close button should not be included as part of the top actions.
|
|
23
|
+
*/
|
|
24
|
+
topActions?: ReactNode;
|
|
19
25
|
/**
|
|
20
26
|
* The title of the panel.
|
|
21
27
|
*/
|
|
@@ -28,6 +34,10 @@ interface MrlPanelProps extends ComponentPropsWithRef<'div'> {
|
|
|
28
34
|
* Specifies whether to disable autofocus on the panel.
|
|
29
35
|
*/
|
|
30
36
|
disableAutofocus?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies whether the panel has a sticky header to adjust styles.
|
|
39
|
+
*/
|
|
40
|
+
hasStickyHeader?: boolean;
|
|
31
41
|
}
|
|
32
42
|
/**
|
|
33
43
|
* MrlPanel component.
|