Skip to content

Commit d00fd6d

Browse files
authored
Merge pull request #806 from jembi/ocrvs-1537-review-sub-page
Sub page implementation for field agent queue
2 parents c03bc55 + 8e59719 commit d00fd6d

File tree

25 files changed

+1541
-37
lines changed

25 files changed

+1541
-37
lines changed

packages/components/src/components/buttons/CountAction.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ const StyledStatus = styled.div`
4343
& span {
4444
text-transform: uppercase;
4545
margin-left: 5px;
46-
font-size: 13px;
4746
color: ${({ theme }) => theme.colors.primary};
4847
}
4948
`

packages/components/src/components/forms/ImageUploader.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const ImageBase = styled(PrimaryButton.withComponent('label'))`
1010
align-items: center;
1111
display: inline-flex;
1212
border: 0;
13-
font-size: inherit;
1413
justify-content: space-between;
1514
cursor: pointer;
1615
`

packages/components/src/components/forms/TextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ interface ITextAreaProps {
66
}
77

88
const StyledTextArea = styled.textarea<ITextAreaProps>`
9+
${({ theme }) => theme.fonts.bodyBoldStyle};
910
width: 100%;
1011
padding: 10px;
1112
min-height: 80px;
@@ -15,7 +16,6 @@ const StyledTextArea = styled.textarea<ITextAreaProps>`
1516
outline: 0;
1617
}
1718
background-color: ${({ theme }) => theme.colors.background};
18-
font-size: 16px;
1919
color: ${({ theme }) => theme.colors.secondary};
2020
2121
&::-webkit-input-placeholder {

packages/components/src/components/icons/BackArrow.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ export const BackArrow = (props: React.HTMLAttributes<SVGElement>) => (
1212
<path
1313
d="M20 12H4"
1414
stroke="#4C68C1"
15-
stroke-width={2}
16-
stroke-linecap="round"
17-
stroke-linejoin="round"
15+
strokeWidth={2}
16+
strokeLinecap="round"
17+
strokeLinejoin="round"
1818
/>
1919
<path
2020
d="M10 18L4 12L10 6"
2121
stroke="#4C68C1"
22-
stroke-width={2}
23-
stroke-linecap="round"
24-
stroke-linejoin="round"
22+
strokeWidth={2}
23+
strokeLinecap="round"
24+
strokeLinejoin="round"
2525
/>
2626
</svg>
2727
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```js
2+
<StatusFailed />
3+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import * as React from 'react'
2+
3+
export const StatusFailed = (props: React.HTMLAttributes<SVGElement>) => (
4+
<svg
5+
width={18}
6+
height={18}
7+
viewBox="0 0 18 18"
8+
fill="none"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<circle cx="9" cy="9" r="8" stroke="#D53F3F" strokeWidth="2" />
13+
</svg>
14+
)
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
import * as React from 'react'
22

33
export const StatusProgress = (props: React.HTMLAttributes<SVGElement>) => (
4-
<svg width={18} height={18} fill="none" {...props}>
5-
<g opacity={0.5} fill="#8049B7">
6-
<path d="M9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18z" fillOpacity={0.5} />
7-
<path d="M9 13.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9z" />
8-
</g>
4+
<svg
5+
width={24}
6+
height={24}
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<path
13+
d="M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z"
14+
fill="#8049B7"
15+
fillOpacity="0.5"
16+
/>
17+
<path
18+
d="M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"
19+
fill="#8049B7"
20+
/>
921
</svg>
1022
)

packages/components/src/components/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ export * from './HelpBlack'
7676
export * from './HelpBlue'
7777
export * from './AvatarSmall'
7878
export * from './BackArrow'
79+
export * from './StatusFailed'
7980
export * from './PlusTransparentWhite'

packages/components/src/components/interface/Chip.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ const StyledStatus = styled.span`
1919
color: ${({ theme }) => theme.colors.placeholder};
2020
text-transform: uppercase;
2121
margin-left: 5px;
22-
font-size: 14px;
23-
font-weight: bold;
24-
letter-spacing: 0.58px;
2522
}
2623
`
2724

packages/components/src/components/interface/DataTable/SortAndFilter.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const Wrapper = styled.div`
1818
const LabelText = styled.div`
1919
color: ${({ theme }) => theme.colors.placeholder};
2020
${({ theme }) => theme.fonts.bodyStyle};
21-
font-weight: 500;
2221
`
2322
const ComponentWrapper = styled.span`
2423
flex-direction: column;

0 commit comments

Comments
 (0)