@carto/ps-react-ui 4.0.1 → 4.0.2-canary.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.
- package/dist/components.js +745 -650
- package/dist/components.js.map +1 -1
- package/dist/types/components/list-data/list-data-skeleton.d.ts +5 -0
- package/dist/types/components/list-data/list-data.d.ts +2 -2
- package/dist/types/components/list-data/styles.d.ts +9 -12
- package/dist/types/components/list-data/types.d.ts +2 -1
- package/dist/types/components/no-data-alert/no-data-alert.d.ts +8 -0
- package/dist/types/hooks/use-skeleton.d.ts +1 -0
- package/package.json +1 -1
@@ -1,3 +1,3 @@
|
|
1
|
-
import { ListDataProps } from './types';
|
2
1
|
import { JSX } from 'react';
|
3
|
-
|
2
|
+
import { ListDataProps } from './types';
|
3
|
+
export declare function ListDataUI({ data, isLoading, maxItems, labels, showDivider, selectedItemId, tooltipProps, onExpand, onItemClick, }: ListDataProps): JSX.Element;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { Theme } from '@mui/material';
|
2
2
|
export declare const styles: {
|
3
|
-
|
4
|
-
flex: number;
|
3
|
+
label: {
|
5
4
|
'& .MuiListItemText-primary': {
|
6
|
-
|
7
|
-
|
5
|
+
overflow: string;
|
6
|
+
textOverflow: string;
|
7
|
+
whiteSpace: string;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
|
11
|
-
flex: number;
|
12
|
-
textAlign: "right";
|
10
|
+
value: {
|
13
11
|
'& .MuiListItemText-primary': {
|
14
|
-
|
15
|
-
|
12
|
+
textAlign: "right";
|
13
|
+
overflow: string;
|
14
|
+
textOverflow: string;
|
15
|
+
whiteSpace: string;
|
16
16
|
};
|
17
17
|
};
|
18
18
|
clickable: {
|
@@ -21,9 +21,6 @@ export declare const styles: {
|
|
21
21
|
backgroundColor: ({ palette }: Theme) => string;
|
22
22
|
};
|
23
23
|
};
|
24
|
-
button: {
|
25
|
-
mt: number;
|
26
|
-
};
|
27
24
|
showDivider: {
|
28
25
|
borderBottom: ({ palette }: Theme) => string;
|
29
26
|
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { AlertProps } from '@mui/material';
|
2
|
+
interface NoDataAlertProps {
|
3
|
+
title?: string;
|
4
|
+
body?: string;
|
5
|
+
severity?: AlertProps['severity'];
|
6
|
+
}
|
7
|
+
export declare function NoDataAlert({ title, body, severity, }: NoDataAlertProps): import("react/jsx-runtime").JSX.Element;
|
8
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function useSkeleton(isLoading: boolean): boolean;
|