Skip to content

Commit 13f2960

Browse files
committed
fix: final icon renaming
1 parent d4ca94a commit 13f2960

File tree

10 files changed

+20
-18
lines changed

10 files changed

+20
-18
lines changed

package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { StyleProp, StyleSheet, ViewStyle } from 'react-native';
44
import Animated, { LinearTransition } from 'react-native-reanimated';
55

66
import { useTheme } from '../../../../contexts/themeContext/ThemeContext';
7-
import { ChevronTop } from '../../../../icons/chevron-down';
7+
import { ChevronUp } from '../../../../icons/chevron-up';
88
import { Lock } from '../../../../icons/lock';
99
import { Unlock } from '../../../../icons/unlock';
1010
import { AudioRecorderManagerState } from '../../../../state-store/audio-recorder-manager';
@@ -69,7 +69,7 @@ export const AudioRecordingLockIndicator = ({
6969
<Unlock stroke={semantics.textPrimary} height={20} width={20} {...lockIcon} />
7070
)}
7171
{!micLocked && (
72-
<ChevronTop stroke={semantics.textPrimary} height={20} width={20} {...arrowUpIcon} />
72+
<ChevronUp stroke={semantics.textPrimary} height={20} width={20} {...arrowUpIcon} />
7373
)}
7474
</Animated.View>
7575
);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Path, Svg } from 'react-native-svg';
44

55
import { IconProps } from './utils/base';
66

7-
export const ChevronTop = ({ height, width, ...rest }: IconProps) => (
7+
export const ChevronUp = ({ height, width, ...rest }: IconProps) => (
88
<Svg fill={'none'} height={height} viewBox={'0 0 20 20'} width={width} {...rest}>
99
<Path
1010
d='M16.25 12.5L10 6.25L3.75 12.5'

package/src/icons/command.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const CommandsIcon = ({ height, size, width, ...props }: IconProps) => (
88
<Svg fill='none' height={height ?? size} width={width ?? size} viewBox={'0 0 20 20'} {...props}>
99
<Path
1010
d='M6.25 7.5L9.375 10L6.25 12.5M10.625 12.5H13.75M3.125 3.75H16.875C17.2202 3.75 17.5 4.02982 17.5 4.375V15.625C17.5 15.9702 17.2202 16.25 16.875 16.25H3.125C2.77982 16.25 2.5 15.9702 2.5 15.625V4.375C2.5 4.02982 2.77982 3.75 3.125 3.75Z'
11+
strokeLinecap='round'
1112
strokeWidth={1.5}
1213
strokeLinejoin='round'
1314
{...props}

package/src/icons/file.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const File = ({ fill, height, pathFill, size, stroke, width, ...rest }: I
2121
stroke={color}
2222
strokeLinecap='round'
2323
strokeLinejoin='round'
24-
strokeWidth={1.2}
24+
strokeWidth={1.5}
2525
/>
2626
</Svg>
2727
);

package/src/icons/link.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ export const Link = ({ height, size, width, ...rest }: IconProps) => (
88
<Svg fill={'none'} height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} {...rest}>
99
<Path
1010
d='M7.49989 12.4999L12.4999 7.49989M8.74989 5.94598L11.0983 3.60223C11.8035 2.90843 12.7543 2.52139 13.7436 2.52542C14.7328 2.52945 15.6804 2.92422 16.3799 3.62374C17.0795 4.32326 17.4742 5.27086 17.4783 6.26012C17.4823 7.24938 17.0953 8.20016 16.4015 8.90536L14.053 11.2499M5.94598 8.74989L3.60223 11.0983C2.90843 11.8035 2.52139 12.7543 2.52542 13.7436C2.52945 14.7328 2.92422 15.6804 3.62374 16.3799C4.32326 17.0795 5.27086 17.4742 6.26012 17.4783C7.24938 17.4823 8.20016 17.0953 8.90536 16.4015L11.2499 14.053'
11+
strokeLinecap='round'
1112
strokeLinejoin='round'
12-
strokeWidth={1.2}
13+
strokeWidth={1.5}
1314
{...rest}
1415
/>
1516
</Svg>

package/src/icons/pause-fill.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const Pause = ({ fill, height, pathFill, size, stroke, width, ...rest }:
1616
{...rest}
1717
>
1818
<Path
19-
d='M13.75 4.375H11.875C11.5298 4.375 11.25 4.65482 11.25 5V15C11.25 15.3452 11.5298 15.625 11.875 15.625H13.75C14.0952 15.625 14.375 15.3452 14.375 15V5C14.375 4.65482 14.0952 4.375 13.75 4.375ZM8.125 4.375H6.25C5.90482 4.375 5.625 4.65482 5.625 5V15C5.625 15.3452 5.90482 15.625 6.25 15.625H8.125C8.47018 15.625 8.75 15.3452 8.75 15V5C8.75 4.65482 8.47018 4.375 8.125 4.375Z'
19+
d='M16.875 3.75V16.25C16.875 16.5815 16.7433 16.8995 16.5089 17.1339C16.2745 17.3683 15.9565 17.5 15.625 17.5H12.5C12.1685 17.5 11.8505 17.3683 11.6161 17.1339C11.3817 16.8995 11.25 16.5815 11.25 16.25V3.75C11.25 3.41848 11.3817 3.10054 11.6161 2.86612C11.8505 2.6317 12.1685 2.5 12.5 2.5H15.625C15.9565 2.5 16.2745 2.6317 16.5089 2.86612C16.7433 3.10054 16.875 3.41848 16.875 3.75ZM7.5 2.5H4.375C4.04348 2.5 3.72554 2.6317 3.49112 2.86612C3.2567 3.10054 3.125 3.41848 3.125 3.75V16.25C3.125 16.5815 3.2567 16.8995 3.49112 17.1339C3.72554 17.3683 4.04348 17.5 4.375 17.5H7.5C7.83152 17.5 8.14946 17.3683 8.38388 17.1339C8.6183 16.8995 8.75 16.5815 8.75 16.25V3.75C8.75 3.41848 8.6183 3.10054 8.38388 2.86612C8.14946 2.6317 7.83152 2.5 7.5 2.5Z'
2020
fill={color}
2121
/>
2222
</Svg>

package/src/icons/plus.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ import Svg, { Path } from 'react-native-svg';
55
import { IconProps } from './utils/base';
66

77
export const Plus = ({ height, size, width, ...rest }: IconProps) => (
8-
<Svg height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} {...rest}>
9-
<Path d='M3.125 10H16.875M10 3.125V16.875' {...rest} />
8+
<Svg fill='none' height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} {...rest}>
9+
<Path
10+
d='M3.125 10H16.875M10 3.125V16.875'
11+
strokeWidth={1.5}
12+
strokeLinecap='round'
13+
strokeLinejoin='round'
14+
{...rest}
15+
/>
1016
</Svg>
1117
);

package/src/icons/stop-fill.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const Stop = ({ fill, height, pathFill, size, stroke, width, ...rest }: I
1616
{...rest}
1717
>
1818
<Path
19-
d='M14.375 4.375H5.625C4.93464 4.375 4.375 4.93464 4.375 5.625V14.375C4.375 15.0654 4.93464 15.625 5.625 15.625H14.375C15.0654 15.625 15.625 15.0654 15.625 14.375V5.625C15.625 4.93464 15.0654 4.375 14.375 4.375Z'
19+
d='M16.875 4.375V15.625C16.875 15.9565 16.7433 16.2745 16.5089 16.5089C16.2745 16.7433 15.9565 16.875 15.625 16.875H4.375C4.04348 16.875 3.72554 16.7433 3.49112 16.5089C3.2567 16.2745 3.125 15.9565 3.125 15.625V4.375C3.125 4.04348 3.2567 3.72554 3.49112 3.49112C3.72554 3.2567 4.04348 3.125 4.375 3.125H15.625C15.9565 3.125 16.2745 3.2567 16.5089 3.49112C16.7433 3.72554 16.875 4.04348 16.875 4.375Z'
2020
fill={color}
2121
/>
2222
</Svg>

package/src/icons/thread.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const ThreadReply = ({
1818
return (
1919
<Svg viewBox='0 0 20 20' fill='none' height={height ?? size} width={width ?? size} {...rest}>
2020
<Path
21-
d='M7.49978 8.75022H12.4998M7.49978 11.2502H12.4998M6.24431 16.4932C7.81972 17.405 9.67297 17.7127 11.4585 17.359C13.2441 17.0053 14.84 16.0143 15.9489 14.5708C17.0578 13.1273 17.6038 11.3298 17.4852 9.51341C17.3667 7.69704 16.5916 5.98577 15.3045 4.69866C14.0174 3.41156 12.3061 2.63646 10.4897 2.51789C8.67333 2.39932 6.87582 2.94537 5.43231 4.05422C3.9888 5.16308 2.99781 6.75906 2.64412 8.54461C2.29042 10.3302 2.59815 12.1834 3.50993 13.7588L2.53259 16.6768C2.49586 16.7869 2.49053 16.9051 2.5172 17.0181C2.54386 17.131 2.60146 17.2344 2.68355 17.3165C2.76563 17.3985 2.86895 17.4561 2.98194 17.4828C3.09492 17.5095 3.21309 17.5041 3.32321 17.4674L6.24431 16.4932Z'
21+
d='M7.5 8.75H12.8125M7.5 11.25H12.8125M10.3125 16.875H3.75C3.58424 16.875 3.42527 16.8092 3.30806 16.6919C3.19085 16.5747 3.125 16.4158 3.125 16.25V9.6875C3.125 7.78126 3.88225 5.95309 5.23017 4.60517C6.57809 3.25725 8.40626 2.5 10.3125 2.5C11.2564 2.5 12.191 2.68591 13.063 3.04712C13.9351 3.40832 14.7274 3.93775 15.3948 4.60517C16.0623 5.27259 16.5917 6.06493 16.9529 6.93696C17.3141 7.80899 17.5 8.74362 17.5 9.6875C17.5 10.6314 17.3141 11.566 16.9529 12.438C16.5917 13.3101 16.0623 14.1024 15.3948 14.7698C14.7274 15.4373 13.9351 15.9667 13.063 16.3279C12.191 16.6891 11.2564 16.875 10.3125 16.875Z'
2222
stroke={color}
2323
strokeWidth={1.5}
2424
strokeLinecap='round'

package/src/icons/xmark.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@ export const NewClose = ({ fill, height, pathFill, size, stroke, width, ...rest
88
const color = stroke ?? pathFill ?? fill ?? 'black';
99

1010
return (
11-
<Svg
12-
height={height ?? size}
13-
viewBox={'-2.5 -2.5 25 25'}
14-
width={width ?? size}
15-
fill='none'
16-
{...rest}
17-
>
11+
<Svg height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} fill='none' {...rest}>
1812
<Path
19-
d='M15.625 4.375L4.375 15.625M15.625 15.625L4.375 4.375'
13+
d='M13.5 6.5L6.5 13.5M13.5 13.5L6.5 6.5'
2014
stroke={color}
2115
strokeLinecap='round'
2216
strokeLinejoin='round'

0 commit comments

Comments
 (0)