Skip to content

Commit

Permalink
Replace minus icon with the new reset icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Sep 14, 2021
1 parent 3b0c6d5 commit 622206a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Text, TouchableOpacity, View } from 'react-native';
* WordPress dependencies
*/
import { withPreferredColorScheme } from '@wordpress/compose';
import { Icon, minus, plus } from '@wordpress/icons';
import { Icon, plus, reset } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -46,7 +46,7 @@ function Stepper( {
onPressOut={ onPressOut }
style={ [ buttonStyle, isMinValue ? { opacity: 0.4 } : null ] }
>
<Icon icon={ minus } size={ 24 } color={ buttonStyle.color } />
<Icon icon={ reset } size={ 24 } color={ buttonStyle.color } />
</TouchableOpacity>
<TouchableOpacity
testID={ 'Increment' }
Expand Down
4 changes: 4 additions & 0 deletions packages/icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Removed the `minus` icon, which was only used once in the block editor, in favor of the new `reset` icon which offers a more refined vector.

## 5.0.0 (2021-07-29)

### Breaking Change
Expand Down
1 change: 0 additions & 1 deletion packages/icons/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export { default as media } from './library/media';
export { default as mediaAndText } from './library/media-and-text';
export { default as megaphone } from './library/megaphone';
export { default as menu } from './library/menu';
export { default as minus } from './library/minus';
export { default as mobile } from './library/mobile';
export { default as more } from './library/more';
export { default as moreHorizontal } from './library/more-horizontal';
Expand Down
12 changes: 0 additions & 12 deletions packages/icons/src/library/minus.js

This file was deleted.

0 comments on commit 622206a

Please sign in to comment.