Skip to content
Merged
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/eui/changelogs/upcoming/9351.md
Comment thread
weronikaolejniczak marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updated `EuiFilePicker` to use the `upload` icon to better indicate uploads.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`EuiFilePicker is rendered 1`] = `
aria-hidden="true"
class="euiFilePicker__icon emotion-euiFilePicker__icon-large"
color="text"
data-euiicon-type="importAction"
data-euiicon-type="upload"
/>
<span
class="euiFilePicker__promptText"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,7 @@ export class EuiFilePickerClass extends Component<
className="euiFilePicker__icon"
color={iconColor}
type={
isInvalid
? 'alert'
: disabled
? 'minusInCircle'
: 'importAction'
isInvalid ? 'alert' : disabled ? 'minusInCircle' : 'upload'
}
size={normalFormControl ? 'm' : 'l'}
aria-hidden="true"
Expand Down