Skip to content

Commit

Permalink
ISSUE #4959 - use new icon everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Amantini1997 committed Jun 11, 2024
1 parent 0c0c58b commit a663f70
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 44 deletions.
18 changes: 3 additions & 15 deletions frontend/assets/icons/outlined/sequence-outlined.svg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,8 @@ type IProps = {
};

export default ({ className }: IProps) => (
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" className={className}>
<g clipPath="url(#clip0_1244_11677)">
<rect width="1024" height="1024" fill="none" />
<circle cx="512" cy="512" r="476" stroke="currentColor" strokeWidth="72" />
<path
d="M403 684.679V345.252C403 314.77 438.518 298.083 461.981 317.542L673.063 492.601C690.769 507.285 690.349 534.582 672.199 548.715L461.118 713.083C437.474 731.495 403 714.646 403 684.679Z"
stroke="currentColor"
strokeWidth="72"
/>
</g>
<defs>
<clipPath id="clip0_1244_11677">
<rect width="1024" height="1024" fill="none" />
</clipPath>
</defs>
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
<path fillRule="evenodd" clipRule="evenodd" d="M7.08984 16.1862V11.3514C7.08984 10.1609 8.47686 9.50897 9.39347 10.2687L12.402 12.7622C13.0941 13.3359 13.0777 14.4027 12.3683 14.9547L9.35975 17.296C8.4361 18.0148 7.08984 17.3566 7.08984 16.1862ZM8.49609 16.1862V11.3514L11.5046 13.845L8.49609 16.1862Z" fill="currentColor"/>
<path fillRule="evenodd" clipRule="evenodd" d="M5.89944 0.0976562C6.28777 0.0976562 6.60257 0.412456 6.60257 0.800781V1.78402H13.3974V0.800781C13.3974 0.412456 13.7122 0.0976562 14.1006 0.0976562C14.4889 0.0976562 14.8037 0.412456 14.8037 0.800781V1.78402H17.1875C18.7408 1.78402 20 3.04322 20 4.59652V17.1838C20 18.7371 18.7408 19.9963 17.1875 19.9963H2.8125C1.2592 19.9963 0 18.7371 0 17.1838V4.59652C0 3.04322 1.2592 1.78402 2.8125 1.78402H5.19632V0.800781C5.19632 0.412456 5.51112 0.0976562 5.89944 0.0976562ZM13.3974 3.19027V4.15274C13.3974 4.54106 13.7122 4.85586 14.1006 4.85586C14.4889 4.85586 14.8037 4.54106 14.8037 4.15274V3.19027H17.1875C17.9642 3.19027 18.5938 3.81987 18.5938 4.59652V7.2038H1.40625V4.59652C1.40625 3.81987 2.03585 3.19027 2.8125 3.19027H5.19632V4.15274C5.19632 4.54106 5.51112 4.85586 5.89944 4.85586C6.28777 4.85586 6.60257 4.54106 6.60257 4.15274V3.19027H13.3974ZM1.40625 8.61005H18.5938V17.1838C18.5938 17.9605 17.9641 18.5901 17.1875 18.5901H2.8125C2.03585 18.5901 1.40625 17.9605 1.40625 17.1838V8.61005Z" fill="currentColor"/>
</svg>
);
26 changes: 0 additions & 26 deletions frontend/assets/icons/outlined/sequence_calendar-outlined.svg.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/v4/constants/viewerGui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import CompareIcon from '@assets/icons/outlined/compare-outlined.svg';
import TreeIcon from '@assets/icons/outlined/tree-outlined.svg';
import GroupsIcon from '@assets/icons/outlined/groups-outlined.svg';
import GisIcon from '@assets/icons/outlined/layers-outlined.svg';
import SequencesIcon from '@assets/icons/outlined/sequence_calendar-outlined.svg';
import SequencesIcon from '@assets/icons/outlined/sequence-outlined.svg';
import ViewsIcon from '@assets/icons/outlined/view-outlined.svg';
import IssuesIcon from '@assets/icons/outlined/issue-outlined.svg';
import MeasureIcon from '@assets/icons/outlined/measure-outlined.svg';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import { PureComponent, useState } from 'react';
import InputLabel from '@mui/material/InputLabel';
import CloseIcon from '@mui/icons-material/Close';
import SequencesIcon from '@assets/icons/outlined/sequence_calendar-outlined.svg';
import SequencesIcon from '@assets/icons/outlined/sequence-outlined.svg';
import { Field } from 'formik';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { debounce } from 'lodash';

import IconButton from '@mui/material/IconButton';
import ArrowBack from '@mui/icons-material/ArrowBack';
import ActivitiesIcon from '@assets/icons/outlined/sequence_calendar-outlined.svg';
import ActivitiesIcon from '@assets/icons/outlined/sequence-outlined.svg';
import { isEqual } from 'lodash';

import { renderWhenTrue, renderWhenTrueOtherwise } from '../../../../helpers/rendering';
Expand Down

0 comments on commit a663f70

Please sign in to comment.