@bitrise/bitkit 12.48.0 → 12.48.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/package.json
CHANGED
|
@@ -95,16 +95,16 @@ const FileInput = forwardRef<FileInputProps, 'div'>((props, ref) => {
|
|
|
95
95
|
|
|
96
96
|
return (
|
|
97
97
|
<FormControl {...rest} isDisabled={isDisabled} isInvalid={isInputInvalid} ref={ref}>
|
|
98
|
-
<Box __css={style.container} data-disabled={isDisabled || undefined}>
|
|
98
|
+
<Box __css={style.container} data-disabled={isDisabled || undefined} gap="10px">
|
|
99
99
|
{selectedFileNames.length > 0 ? (
|
|
100
100
|
<>
|
|
101
|
-
<
|
|
101
|
+
<Box textOverflow="ellipsis" whiteSpace="nowrap" overflow="hidden">
|
|
102
102
|
<Text as="h6" size="2" fontWeight="bold">
|
|
103
103
|
Selected file
|
|
104
104
|
</Text>
|
|
105
105
|
<Text as="span">{selectedFileNames[0]}</Text>
|
|
106
|
-
</
|
|
107
|
-
<Button leftIconName="MinusRemove" size="small" variant="secondary" onClick={onRemoveClick}>
|
|
106
|
+
</Box>
|
|
107
|
+
<Button leftIconName="MinusRemove" size="small" variant="secondary" onClick={onRemoveClick} flexShrink={0}>
|
|
108
108
|
Remove
|
|
109
109
|
</Button>
|
|
110
110
|
</>
|