@bitrise/bitkit 13.102.0 → 13.104.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/package.json
CHANGED
|
@@ -49,8 +49,8 @@ const Drawer = ({ overlayProps, contentProps, headerProps, bodyProps, footerProp
|
|
|
49
49
|
|
|
50
50
|
return (
|
|
51
51
|
<ChakraDrawer {...drawerProps}>
|
|
52
|
-
<DrawerOverlay
|
|
53
|
-
<DrawerContent margin={margin} {...contentProps}>
|
|
52
|
+
<DrawerOverlay {...overlayProps} />
|
|
53
|
+
<DrawerContent maxWidth={maxWidth} padding={padding} margin={margin} {...contentProps}>
|
|
54
54
|
<DrawerCloseButton size="md">
|
|
55
55
|
<Icon name="CloseSmall" />
|
|
56
56
|
</DrawerCloseButton>
|
|
@@ -34,7 +34,7 @@ const SidebarDivider = () => {
|
|
|
34
34
|
const SidebarGroupHeader = ({ label }: { label: string }) => {
|
|
35
35
|
return (
|
|
36
36
|
<Box alignItems="center" display="flex" gap="16" marginBottom="12" marginTop="24" mx="32">
|
|
37
|
-
<Text
|
|
37
|
+
<Text as="h6" textStyle="heading/h6" textColor="neutral.60">
|
|
38
38
|
{label}
|
|
39
39
|
</Text>
|
|
40
40
|
<Divider flexGrow="1" w="auto" />
|
|
@@ -40,10 +40,11 @@ const TablePagination = ({
|
|
|
40
40
|
<Td colSpan={colSpan}>
|
|
41
41
|
<Box alignItems="center" display="flex" gap="1rem">
|
|
42
42
|
<Box alignItems="center" display="flex" gap="0.5rem">
|
|
43
|
-
<Text>Items per page:</Text>
|
|
43
|
+
<Text textStyle="body/md/regular">Items per page:</Text>
|
|
44
44
|
<Dropdown
|
|
45
45
|
onChange={({ target }) => setPerPage(Number(target.value))}
|
|
46
46
|
search={false}
|
|
47
|
+
size="md"
|
|
47
48
|
value={perPage.toString()}
|
|
48
49
|
width="auto"
|
|
49
50
|
>
|
|
@@ -55,7 +56,7 @@ const TablePagination = ({
|
|
|
55
56
|
</Dropdown>
|
|
56
57
|
</Box>
|
|
57
58
|
<Divider color="pal.neutral.90" height="3rem" orientation="vertical" />
|
|
58
|
-
<Text as="span" marginRight="auto">
|
|
59
|
+
<Text as="span" marginRight="auto" textStyle="body/md/regular">
|
|
59
60
|
{itemsStartIndex}-{itemsEndIndex} of {totalCount} items
|
|
60
61
|
</Text>
|
|
61
62
|
<Divider color="pal.neutral.90" height="3rem" orientation="vertical" />
|
|
@@ -63,6 +64,7 @@ const TablePagination = ({
|
|
|
63
64
|
<Dropdown
|
|
64
65
|
onChange={({ target }) => setPage(Number(target.value))}
|
|
65
66
|
search={false}
|
|
67
|
+
size="md"
|
|
66
68
|
value={page.toString()}
|
|
67
69
|
width="auto"
|
|
68
70
|
>
|
|
@@ -76,7 +78,9 @@ const TablePagination = ({
|
|
|
76
78
|
);
|
|
77
79
|
})}
|
|
78
80
|
</Dropdown>
|
|
79
|
-
<Text as="span"
|
|
81
|
+
<Text as="span" textStyle="body/md/regular">
|
|
82
|
+
of {pageCount} pages
|
|
83
|
+
</Text>
|
|
80
84
|
</Box>
|
|
81
85
|
<ButtonGroup>
|
|
82
86
|
<IconButton
|
|
@@ -84,6 +88,7 @@ const TablePagination = ({
|
|
|
84
88
|
iconName="ChevronLeft"
|
|
85
89
|
isDisabled={page === 1}
|
|
86
90
|
onClick={() => setPage(page - 1)}
|
|
91
|
+
size="md"
|
|
87
92
|
variant="secondary"
|
|
88
93
|
/>
|
|
89
94
|
<IconButton
|
|
@@ -91,6 +96,7 @@ const TablePagination = ({
|
|
|
91
96
|
iconName="ChevronRight"
|
|
92
97
|
isDisabled={page === pageCount}
|
|
93
98
|
onClick={() => setPage(page + 1)}
|
|
99
|
+
size="md"
|
|
94
100
|
variant="secondary"
|
|
95
101
|
/>
|
|
96
102
|
</ButtonGroup>
|