@bitrise/bitkit 13.233.0 → 13.235.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "13.233.0",
4
+ "version": "13.235.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -24,22 +24,28 @@ const ListItem = forwardRef<ListItemProps, 'li'>((props, ref) => {
24
24
  iconVerticalAlign = '-11px';
25
25
  }
26
26
 
27
+ if (!iconName) {
28
+ return (
29
+ <ChakraListItem {...rest} ref={ref} listStylePosition="outside">
30
+ {children}
31
+ </ChakraListItem>
32
+ );
33
+ }
34
+
27
35
  return (
28
- <ChakraListItem {...rest} ref={ref} listStylePosition="outside">
29
- <Box display="flex" alignItems="flex-start">
30
- {!!iconName && (
31
- <Icon
32
- flexShrink={0}
33
- name={iconName}
34
- height="100%"
35
- color={iconColor}
36
- marginEnd="6"
37
- size={iconSize}
38
- verticalAlign={iconVerticalAlign}
39
- />
40
- )}
41
- <Box flexGrow={1}>{children}</Box>
42
- </Box>
36
+ <ChakraListItem {...rest} ref={ref} listStylePosition="outside" display="flex" alignItems="flex-start">
37
+ {!!iconName && (
38
+ <Icon
39
+ flexShrink={0}
40
+ name={iconName}
41
+ height="100%"
42
+ color={iconColor}
43
+ marginEnd="6"
44
+ size={iconSize}
45
+ verticalAlign={iconVerticalAlign}
46
+ />
47
+ )}
48
+ <Box flexGrow={1}>{children}</Box>
43
49
  </ChakraListItem>
44
50
  );
45
51
  });
@@ -139,7 +139,7 @@ const RealStage = ({
139
139
  )}
140
140
  </Box>
141
141
  <Box sx={style.labelContainer}>
142
- {action && !isDisabled ? (
142
+ {action && !isDisabled && !isSkipped ? (
143
143
  <Link
144
144
  as={action.href ? 'a' : 'button'}
145
145
  colorScheme="purple"