@carto/meridian-ds 2.9.1-alpha-lists.2 → 2.9.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/{Alert-BWe4a9zW.js → Alert-BZPM5zpX.js} +1 -1
- package/dist/{Alert-BDpjbOOk.cjs → Alert-C4W0H_uN.cjs} +1 -1
- package/dist/{MenuItem-zaH11xyj.js → MenuItem-Cx5lTXXm.js} +1 -1
- package/dist/{MenuItem-DrvPgr-r.cjs → MenuItem-DoBJsRR_.cjs} +1 -1
- package/dist/components/index.cjs +7 -92
- package/dist/components/index.js +10 -95
- package/dist/{css-utils-Do3X_yIr.cjs → css-utils-CH7es90t.cjs} +0 -4
- package/dist/{css-utils-BzztxQJk.js → css-utils-CjUBRJVK.js} +4 -8
- package/dist/theme/index.cjs +26 -251
- package/dist/theme/index.js +28 -253
- package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/types/components/Menu/Menu/Menu.stories.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +0 -4
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/theme/components/data-display.d.ts.map +1 -1
- package/dist/types/theme/components/navigation.d.ts.map +1 -1
- package/dist/types/theme/components/stories/List.stories.d.ts +62 -0
- package/dist/types/theme/components/stories/List.stories.d.ts.map +1 -0
- package/dist/types/theme/types.d.ts +0 -86
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/utils/theme-constants.d.ts +0 -2
- package/dist/types/utils/theme-constants.d.ts.map +1 -1
- package/dist/widgets/index.cjs +2 -2
- package/dist/widgets/index.js +2 -2
- package/package.json +1 -1
- package/dist/types/components/List/List.d.ts +0 -18
- package/dist/types/components/List/List.d.ts.map +0 -1
- package/dist/types/components/List/List.stories.d.ts +0 -80
- package/dist/types/components/List/List.stories.d.ts.map +0 -1
- package/dist/types/components/List/List.test.d.ts +0 -2
- package/dist/types/components/List/List.test.d.ts.map +0 -1
- package/dist/types/components/List/ListSubheader/ListSubheader.d.ts +0 -14
- package/dist/types/components/List/ListSubheader/ListSubheader.d.ts.map +0 -1
- package/dist/types/components/List/ListSubheader/ListSubheader.test.d.ts +0 -2
- package/dist/types/components/List/ListSubheader/ListSubheader.test.d.ts.map +0 -1
- package/dist/types/components/List/index.d.ts +0 -5
- package/dist/types/components/List/index.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItem.d.ts +0 -33
- package/dist/types/components/ListItem/ListItem.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItem.stories.d.ts +0 -235
- package/dist/types/components/ListItem/ListItem.stories.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItem.test.d.ts +0 -2
- package/dist/types/components/ListItem/ListItem.test.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.d.ts +0 -14
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.test.d.ts +0 -2
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.test.d.ts.map +0 -1
- package/dist/types/components/ListItem/index.d.ts +0 -5
- package/dist/types/components/ListItem/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ListProps as MUIListProps } from '@mui/material';
|
|
2
|
-
export interface ListProps extends MUIListProps {
|
|
3
|
-
/**
|
|
4
|
-
* The variant of the list.
|
|
5
|
-
* - 'standard': Default variant without border
|
|
6
|
-
* - 'outlined-list': List container has border
|
|
7
|
-
* - 'outlined-items': List items have border
|
|
8
|
-
*/
|
|
9
|
-
variant?: 'standard' | 'outlined-list' | 'outlined-items';
|
|
10
|
-
/**
|
|
11
|
-
* Spacing between list items (uses theme.spacing).
|
|
12
|
-
* Default: 0 for standard/outlined, 1 (8px) for outlined items
|
|
13
|
-
*/
|
|
14
|
-
spacing?: number;
|
|
15
|
-
}
|
|
16
|
-
declare const List: import('react').ForwardRefExoticComponent<Omit<ListProps, "ref"> & import('react').RefAttributes<HTMLUListElement>>;
|
|
17
|
-
export default List;
|
|
18
|
-
//# sourceMappingURL=List.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAA;AAE1E,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,eAAe,GAAG,gBAAgB,CAAA;IACzD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAuBD,QAAA,MAAM,IAAI,qHAAoB,CAAA;AAC9B,eAAe,IAAI,CAAA"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ListProps } from './List';
|
|
3
|
-
interface StoryProps {
|
|
4
|
-
variant?: ListProps['variant'];
|
|
5
|
-
spacing?: number;
|
|
6
|
-
}
|
|
7
|
-
declare const options: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: React.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
10
|
-
argTypes: {
|
|
11
|
-
variant: {
|
|
12
|
-
table: {
|
|
13
|
-
defaultValue: {
|
|
14
|
-
summary: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
control: "select";
|
|
18
|
-
options: string[];
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
spacing: {
|
|
22
|
-
control: {
|
|
23
|
-
type: "number";
|
|
24
|
-
min: number;
|
|
25
|
-
max: number;
|
|
26
|
-
step: number;
|
|
27
|
-
};
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
args: {
|
|
32
|
-
variant: string;
|
|
33
|
-
spacing: undefined;
|
|
34
|
-
};
|
|
35
|
-
parameters: {
|
|
36
|
-
design: {
|
|
37
|
-
type: string;
|
|
38
|
-
url: string;
|
|
39
|
-
};
|
|
40
|
-
status: {
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export default options;
|
|
46
|
-
export declare const Playground: {
|
|
47
|
-
render: ({ variant, spacing }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
parameters: {
|
|
49
|
-
chromatic: {
|
|
50
|
-
disableSnapshot: boolean;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export declare const Size: {
|
|
55
|
-
render: (props: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
};
|
|
57
|
-
export declare const Variant: {
|
|
58
|
-
render: (props: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
};
|
|
60
|
-
export declare const Spacing: {
|
|
61
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
parameters: {
|
|
63
|
-
controls: {
|
|
64
|
-
disable: boolean;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
export declare const Subheaders: {
|
|
69
|
-
render: (props: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
-
};
|
|
71
|
-
export declare const FixedHeight: {
|
|
72
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
73
|
-
};
|
|
74
|
-
export declare const Divider: {
|
|
75
|
-
render: (props: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
76
|
-
};
|
|
77
|
-
export declare const Gutters: {
|
|
78
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=List.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAa,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAGxC,UAAU,UAAU;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCG,CAAA;AAChB,eAAe,OAAO,CAAA;AA4lBtB,eAAO,MAAM,UAAU;mCA1lB2B,UAAU;;;;;;CA+lB3D,CAAA;AAED,eAAO,MAAM,IAAI;oBAtlBY,UAAU;CAwlBtC,CAAA;AAED,eAAO,MAAM,OAAO;oBAvhBa,UAAU;CAyhB1C,CAAA;AAED,eAAO,MAAM,OAAO;;;;;;;CAKnB,CAAA;AAED,eAAO,MAAM,UAAU;oBArdY,UAAU;CAud5C,CAAA;AAED,eAAO,MAAM,WAAW;;CAEvB,CAAA;AAED,eAAO,MAAM,OAAO;oBAzKY,UAAU;CA2KzC,CAAA;AACD,eAAO,MAAM,OAAO;;CAEnB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"List.test.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ListSubheaderProps as MUIListSubheaderProps } from '@mui/material';
|
|
2
|
-
export interface ListSubheaderProps extends MUIListSubheaderProps {
|
|
3
|
-
/**
|
|
4
|
-
* The background color of the list subheader.
|
|
5
|
-
* - 'paper': Paper background
|
|
6
|
-
* - 'default': Default background
|
|
7
|
-
* - 'inherit': Inherit background from parent
|
|
8
|
-
* @default 'default'
|
|
9
|
-
*/
|
|
10
|
-
backgroundColor?: 'paper' | 'default' | 'inherit';
|
|
11
|
-
}
|
|
12
|
-
declare const ListSubheader: import('react').ForwardRefExoticComponent<Omit<ListSubheaderProps, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
|
|
13
|
-
export default ListSubheader;
|
|
14
|
-
//# sourceMappingURL=ListSubheader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListSubheader.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/ListSubheader/ListSubheader.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,kBAAkB,IAAI,qBAAqB,EAC5C,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAC/D;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;CAClD;AAkBD,QAAA,MAAM,aAAa,2HAA6B,CAAA;AAChD,eAAe,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListSubheader.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/ListSubheader/ListSubheader.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,mBAAmB,QAAQ,CAAA;AAE3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,+BAA+B,CAAA;AACxE,mBAAmB,+BAA+B,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
2
|
-
import { ListItemProps as MUIListItemProps, ListItemButtonProps as MUIListItemButtonProps } from '@mui/material';
|
|
3
|
-
export interface ListItemProps extends Omit<MUIListItemProps, 'disabled' | 'onClick'>, Omit<MUIListItemButtonProps, 'disabled' | keyof MUIListItemProps> {
|
|
4
|
-
/**
|
|
5
|
-
* The variant of the list item.
|
|
6
|
-
* - 'standard': Default variant without border
|
|
7
|
-
* - 'outlined': Variant with border
|
|
8
|
-
*/
|
|
9
|
-
variant?: 'standard' | 'outlined';
|
|
10
|
-
/**
|
|
11
|
-
* If true, the list item has a fixed height.
|
|
12
|
-
* - dense true: 52px
|
|
13
|
-
* - dense false: 68px
|
|
14
|
-
* If false, adapts to content.
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
fixedHeight?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* If true, the list item is disabled.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Click handler. When provided, the component renders as a ListItemButton.
|
|
25
|
-
*/
|
|
26
|
-
/**
|
|
27
|
-
* Click handler. When provided, the component renders as a ListItemButton instead of ListItem.
|
|
28
|
-
*/
|
|
29
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
30
|
-
}
|
|
31
|
-
declare const ListItem: import('react').ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & import('react').RefAttributes<HTMLDivElement | HTMLLIElement>>;
|
|
32
|
-
export default ListItem;
|
|
33
|
-
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,iBAAiB,EAAE,MAAM,OAAO,CAAA;AACnE,OAAO,EAEL,aAAa,IAAI,gBAAgB,EAEjC,mBAAmB,IAAI,sBAAsB,EAC9C,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,SAAS,CAAC,EACpD,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,MAAM,gBAAgB,CAAC;IACnE;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACjC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;CAC5C;AA2CD,QAAA,MAAM,QAAQ,uIAAwB,CAAA;AACtC,eAAe,QAAQ,CAAA"}
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Props that are compatible with ListItem
|
|
4
|
-
*/
|
|
5
|
-
interface StoryProps {
|
|
6
|
-
dense?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
variant?: 'standard' | 'outlined';
|
|
9
|
-
fixedHeight?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const options: {
|
|
12
|
-
title: string;
|
|
13
|
-
component: React.ForwardRefExoticComponent<Omit<import('..').ListItemProps, "ref"> & React.RefAttributes<HTMLDivElement | HTMLLIElement>>;
|
|
14
|
-
argTypes: {
|
|
15
|
-
variant: {
|
|
16
|
-
table: {
|
|
17
|
-
defaultValue: {
|
|
18
|
-
summary: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
control: "select";
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
disabled: {
|
|
25
|
-
control: "boolean";
|
|
26
|
-
};
|
|
27
|
-
dense: {
|
|
28
|
-
control: "boolean";
|
|
29
|
-
};
|
|
30
|
-
divider: {
|
|
31
|
-
control: "boolean";
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
disablePadding: {
|
|
35
|
-
control: "boolean";
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
disableGutters: {
|
|
39
|
-
control: "boolean";
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
fixedHeight: {
|
|
43
|
-
control: "boolean";
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
args: {
|
|
48
|
-
variant: string;
|
|
49
|
-
disabled: boolean;
|
|
50
|
-
dense: boolean;
|
|
51
|
-
fixedHeight: boolean;
|
|
52
|
-
};
|
|
53
|
-
parameters: {
|
|
54
|
-
design: {
|
|
55
|
-
type: string;
|
|
56
|
-
url: string;
|
|
57
|
-
};
|
|
58
|
-
status: {
|
|
59
|
-
type: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export default options;
|
|
64
|
-
export declare const Playground: {
|
|
65
|
-
render: ({ ...props }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
66
|
-
parameters: {
|
|
67
|
-
chromatic: {
|
|
68
|
-
disableSnapshot: boolean;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export declare const Size: {
|
|
73
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
74
|
-
argTypes: {
|
|
75
|
-
variant: {
|
|
76
|
-
table: {
|
|
77
|
-
disable: boolean;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
parameters: {
|
|
82
|
-
docs: {
|
|
83
|
-
description: {
|
|
84
|
-
story: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
export declare const Variant: {
|
|
90
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
91
|
-
argTypes: {
|
|
92
|
-
variant: {
|
|
93
|
-
table: {
|
|
94
|
-
disable: boolean;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
parameters: {
|
|
99
|
-
docs: {
|
|
100
|
-
description: {
|
|
101
|
-
story: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
export declare const PrimaryAction: {
|
|
107
|
-
render: ({ dense, disabled, ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
108
|
-
argTypes: {
|
|
109
|
-
variant: {
|
|
110
|
-
table: {
|
|
111
|
-
disable: boolean;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
parameters: {
|
|
116
|
-
docs: {
|
|
117
|
-
description: {
|
|
118
|
-
story: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
export declare const SecondaryAction: {
|
|
124
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
125
|
-
argTypes: {
|
|
126
|
-
variant: {
|
|
127
|
-
table: {
|
|
128
|
-
disable: boolean;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
parameters: {
|
|
133
|
-
docs: {
|
|
134
|
-
description: {
|
|
135
|
-
story: string;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
export declare const DoubleAction: {
|
|
141
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
142
|
-
argTypes: {
|
|
143
|
-
variant: {
|
|
144
|
-
table: {
|
|
145
|
-
disable: boolean;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
parameters: {
|
|
150
|
-
docs: {
|
|
151
|
-
description: {
|
|
152
|
-
story: string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
export declare const ListItemTextExamples: {
|
|
158
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
159
|
-
argTypes: {
|
|
160
|
-
variant: {
|
|
161
|
-
table: {
|
|
162
|
-
disable: boolean;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
parameters: {
|
|
167
|
-
docs: {
|
|
168
|
-
description: {
|
|
169
|
-
story: string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
export declare const ListItemIconExamples: {
|
|
175
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
176
|
-
argTypes: {
|
|
177
|
-
variant: {
|
|
178
|
-
table: {
|
|
179
|
-
disable: boolean;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
parameters: {
|
|
184
|
-
docs: {
|
|
185
|
-
description: {
|
|
186
|
-
story: string;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
export declare const FixedHeight: {
|
|
192
|
-
render: ({ disabled, ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
193
|
-
argTypes: {
|
|
194
|
-
variant: {
|
|
195
|
-
table: {
|
|
196
|
-
disable: boolean;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
parameters: {
|
|
201
|
-
docs: {
|
|
202
|
-
description: {
|
|
203
|
-
story: string;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
export declare const Divider: {
|
|
209
|
-
render: ({ variant, ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
210
|
-
parameters: {
|
|
211
|
-
docs: {
|
|
212
|
-
description: {
|
|
213
|
-
story: string;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
export declare const Gutters: {
|
|
219
|
-
render: ({ ...rest }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
220
|
-
argTypes: {
|
|
221
|
-
variant: {
|
|
222
|
-
table: {
|
|
223
|
-
disable: boolean;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
parameters: {
|
|
228
|
-
docs: {
|
|
229
|
-
description: {
|
|
230
|
-
story: string;
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
//# sourceMappingURL=ListItem.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/ListItem.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AA8BvC;;GAEG;AACH,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACjC,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDG,CAAA;AAChB,eAAe,OAAO,CAAA;AA0zDtB,eAAO,MAAM,UAAU;2BA/yDmB,UAAU;;;;;;CAozDnD,CAAA;AAED,eAAO,MAAM,IAAI;0BA9tCkB,UAAU;;;;;;;;;;;;;;;CAyuC5C,CAAA;AAED,eAAO,MAAM,OAAO;0BA3zDkB,UAAU;;;;;;;;;;;;;;;CAs0D/C,CAAA;AAED,eAAO,MAAM,aAAa;2CAnsCmC,UAAU;;;;;;;;;;;;;;;CA8sCtE,CAAA;AAED,eAAO,MAAM,eAAe;0BAn7BkB,UAAU;;;;;;;;;;;;;;;CA87BvD,CAAA;AAED,eAAO,MAAM,YAAY;0BAj3BkB,UAAU;;;;;;;;;;;;;;;CA43BpD,CAAA;AAED,eAAO,MAAM,oBAAoB;0BA5pBU,UAAU;;;;;;;;;;;;;;;CAuqBpD,CAAA;AAED,eAAO,MAAM,oBAAoB;0BA7aU,UAAU;;;;;;;;;;;;;;;CAwbpD,CAAA;AAED,eAAO,MAAM,WAAW;oCA1V4B,UAAU;;;;;;;;;;;;;;;CAqW7D,CAAA;AAED,eAAO,MAAM,OAAO;mCAvO2B,UAAU;;;;;;;;CAiPxD,CAAA;AAED,eAAO,MAAM,OAAO;0BA1MkB,UAAU;;;;;;;;;;;;;;;CAqN/C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.test.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/ListItem.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StackProps } from '@mui/material';
|
|
3
|
-
export interface ListItemRightContentProps extends Omit<StackProps, 'children'> {
|
|
4
|
-
/**
|
|
5
|
-
* The content to display on the right side of the ListItem. It can contain one or more elements, like a text, an icon button, a chip, etc.
|
|
6
|
-
*/
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A wrapper component to display content on the right side of a ListItem.
|
|
11
|
-
*/
|
|
12
|
-
declare function ListItemRightContent({ children, ...props }: ListItemRightContentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default ListItemRightContent;
|
|
14
|
-
//# sourceMappingURL=ListItemRightContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemRightContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/ListItem/ListItemRightContent/ListItemRightContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAS,UAAU,EAAE,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,yBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAY3B;AAED,eAAe,oBAAoB,CAAA"}
|
package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.test.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemRightContent.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/ListItem/ListItemRightContent/ListItemRightContent.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as ListItem } from './ListItem';
|
|
2
|
-
export type * from './ListItem';
|
|
3
|
-
export { default as ListItemRightContent } from './ListItemRightContent/ListItemRightContent';
|
|
4
|
-
export type * from './ListItemRightContent/ListItemRightContent';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,mBAAmB,YAAY,CAAA;AAE/B,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,6CAA6C,CAAA;AAC7F,mBAAmB,6CAA6C,CAAA"}
|