@amboss/design-system 2.3.9 → 2.3.10
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/build/cjs/components/BulkActionsToolbar/BulkActionsToolbar.js +1 -1
- package/build/cjs/components/EntityList/BaseEntityList.d.ts +3 -0
- package/build/cjs/components/EntityList/BaseEntityList.js +1 -0
- package/build/cjs/components/EntityList/EntityList.d.ts +3 -0
- package/build/cjs/components/EntityList/EntityList.js +1 -0
- package/build/cjs/components/EntityList/EntityListItem.d.ts +3 -0
- package/build/cjs/components/EntityList/EntityListItem.js +1 -0
- package/build/cjs/components/EntityList/EntityListItemExpandButton.d.ts +5 -0
- package/build/cjs/components/EntityList/EntityListItemExpandButton.js +1 -0
- package/build/cjs/components/EntityList/EntityListItemText.d.ts +3 -0
- package/build/cjs/components/EntityList/EntityListItemText.js +1 -0
- package/build/cjs/components/EntityList/index.d.ts +3 -0
- package/build/cjs/components/EntityList/index.js +1 -0
- package/build/cjs/components/EntityList/styled-components.d.ts +29 -0
- package/build/cjs/components/EntityList/styled-components.js +1 -0
- package/build/cjs/components/EntityList/types.d.ts +77 -0
- package/build/cjs/components/EntityTree/BaseEntityTree.d.ts +3 -3
- package/build/cjs/components/EntityTree/BaseEntityTree.js +1 -1
- package/build/cjs/components/EntityTree/EntityTree.js +1 -1
- package/build/cjs/components/Toolbar/Toolbar.js +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +1 -1
- package/build/cjs/types/index.d.ts +2 -0
- package/build/cjs/types/index.js +1 -1
- package/build/esm/components/BulkActionsToolbar/BulkActionsToolbar.js +1 -1
- package/build/esm/components/EntityList/BaseEntityList.d.ts +3 -0
- package/build/esm/components/EntityList/BaseEntityList.js +1 -0
- package/build/esm/components/EntityList/EntityList.d.ts +3 -0
- package/build/esm/components/EntityList/EntityList.js +1 -0
- package/build/esm/components/EntityList/EntityListItem.d.ts +3 -0
- package/build/esm/components/EntityList/EntityListItem.js +1 -0
- package/build/esm/components/EntityList/EntityListItemExpandButton.d.ts +5 -0
- package/build/esm/components/EntityList/EntityListItemExpandButton.js +1 -0
- package/build/esm/components/EntityList/EntityListItemText.d.ts +3 -0
- package/build/esm/components/EntityList/EntityListItemText.js +1 -0
- package/build/esm/components/EntityList/index.d.ts +3 -0
- package/build/esm/components/EntityList/index.js +1 -0
- package/build/esm/components/EntityList/styled-components.d.ts +29 -0
- package/build/esm/components/EntityList/styled-components.js +1 -0
- package/build/esm/components/EntityList/types.d.ts +77 -0
- package/build/esm/components/EntityTree/BaseEntityTree.d.ts +3 -3
- package/build/esm/components/EntityTree/BaseEntityTree.js +1 -1
- package/build/esm/components/EntityTree/EntityTree.js +1 -1
- package/build/esm/components/Toolbar/Toolbar.js +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/types/index.d.ts +2 -0
- package/build/esm/types/index.js +1 -1
- package/package.json +1 -1
- package/build/cjs/components/List/List.d.ts +0 -3
- package/build/cjs/components/List/List.js +0 -1
- package/build/cjs/components/List/ListItem.d.ts +0 -3
- package/build/cjs/components/List/ListItem.js +0 -1
- package/build/cjs/components/List/ListItemExpandButton.d.ts +0 -5
- package/build/cjs/components/List/ListItemExpandButton.js +0 -1
- package/build/cjs/components/List/ListItemLabel.d.ts +0 -3
- package/build/cjs/components/List/ListItemLabel.js +0 -1
- package/build/cjs/components/List/ListItemText.d.ts +0 -3
- package/build/cjs/components/List/ListItemText.js +0 -1
- package/build/cjs/components/List/styled-components.d.ts +0 -18
- package/build/cjs/components/List/styled-components.js +0 -1
- package/build/cjs/components/List/types.d.ts +0 -56
- package/build/esm/components/List/List.d.ts +0 -3
- package/build/esm/components/List/List.js +0 -1
- package/build/esm/components/List/ListItem.d.ts +0 -3
- package/build/esm/components/List/ListItem.js +0 -1
- package/build/esm/components/List/ListItemExpandButton.d.ts +0 -5
- package/build/esm/components/List/ListItemExpandButton.js +0 -1
- package/build/esm/components/List/ListItemLabel.d.ts +0 -3
- package/build/esm/components/List/ListItemLabel.js +0 -1
- package/build/esm/components/List/ListItemText.d.ts +0 -3
- package/build/esm/components/List/ListItemText.js +0 -1
- package/build/esm/components/List/styled-components.d.ts +0 -18
- package/build/esm/components/List/styled-components.js +0 -1
- package/build/esm/components/List/types.d.ts +0 -56
- /package/build/cjs/components/{List → EntityList}/types.js +0 -0
- /package/build/esm/components/{List → EntityList}/types.js +0 -0
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { MQ, TextSize } from "../../types";
|
|
3
|
-
export type ListSizes = "xs" | "s" | "m" | "l" | MQ<"xs" | "s" | "m" | "l">;
|
|
4
|
-
export type ListProps = {
|
|
5
|
-
role?: "list" | "tree" | "group";
|
|
6
|
-
"data-e2e-test-id"?: string;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
};
|
|
9
|
-
export type ListItemWrapperProps = {
|
|
10
|
-
size: ListSizes;
|
|
11
|
-
hasLSpace: boolean;
|
|
12
|
-
hideBorder: boolean;
|
|
13
|
-
};
|
|
14
|
-
export type ListItemProps = {
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
role?: string;
|
|
17
|
-
isClickable?: boolean;
|
|
18
|
-
size?: ListSizes;
|
|
19
|
-
lSpaceStep?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
20
|
-
description?: string;
|
|
21
|
-
renderLabel: (props: {
|
|
22
|
-
size: TextSize;
|
|
23
|
-
}) => React.ReactNode;
|
|
24
|
-
renderLeft?: (props: {
|
|
25
|
-
size: ListSizes;
|
|
26
|
-
}) => React.ReactElement;
|
|
27
|
-
renderRight?: (props: {
|
|
28
|
-
size: ListSizes;
|
|
29
|
-
}) => React.ReactElement;
|
|
30
|
-
isExpanded?: boolean;
|
|
31
|
-
isDisabledExpand?: boolean;
|
|
32
|
-
hideBorder?: boolean;
|
|
33
|
-
onExpandClick?: (e: React.MouseEvent) => void;
|
|
34
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
35
|
-
"aria-label": string;
|
|
36
|
-
};
|
|
37
|
-
export type ListItemLabelProps = {
|
|
38
|
-
children: React.ReactNode;
|
|
39
|
-
size: TextSize;
|
|
40
|
-
description?: string;
|
|
41
|
-
};
|
|
42
|
-
export type ListItemExpandButtonProps = {
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
} & Partial<ListItemProps>;
|
|
45
|
-
export type UseListItemLabelProps = {
|
|
46
|
-
size: ListItemProps["size"];
|
|
47
|
-
isExpanded?: boolean;
|
|
48
|
-
isTreeNode?: boolean;
|
|
49
|
-
lSpaceStep?: number;
|
|
50
|
-
};
|
|
51
|
-
export type UseListItemLabelReturn = {
|
|
52
|
-
textSize: "s" | "m";
|
|
53
|
-
hasExpandableIcon: boolean;
|
|
54
|
-
isTreeNode: boolean;
|
|
55
|
-
isDeepestTreeNode: boolean;
|
|
56
|
-
};
|
|
File without changes
|
|
File without changes
|