@thecb/components 7.8.0-beta.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +805 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +140 -1
- package/dist/index.esm.js +790 -10
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +4 -3
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +14 -0
- package/src/components/atoms/icons/ArrowDownCircleIconSmall.d.ts +12 -0
- package/src/components/atoms/icons/ArrowDownCircleIconSmall.js +50 -0
- package/src/components/atoms/icons/ArrowLeftCircleIconMedium.d.ts +12 -0
- package/src/components/atoms/icons/ArrowLeftCircleIconMedium.js +50 -0
- package/src/components/atoms/icons/ArrowLeftCircleIconSmall.d.ts +12 -0
- package/src/components/atoms/icons/ArrowLeftCircleIconSmall.js +49 -0
- package/src/components/atoms/icons/ArrowRightCircleIconSmall.d.ts +12 -0
- package/src/components/atoms/icons/ArrowRightCircleIconSmall.js +42 -0
- package/src/components/atoms/icons/ArrowUpCircleIconSmall.d.ts +12 -0
- package/src/components/atoms/icons/ArrowUpCircleIconSmall.js +50 -0
- package/src/components/atoms/icons/BankIconLarge.d.ts +9 -0
- package/src/components/atoms/icons/BankIconLarge.js +34 -0
- package/src/components/atoms/icons/ChargebackIconMedium.d.ts +10 -0
- package/src/components/atoms/icons/ChargebackIconMedium.js +37 -0
- package/src/components/atoms/icons/ChargebackIconSmall.d.ts +10 -0
- package/src/components/atoms/icons/ChargebackIconSmall.js +37 -0
- package/src/components/atoms/icons/ChargebackReversalIconMedium.d.ts +12 -0
- package/src/components/atoms/icons/ChargebackReversalIconMedium.js +37 -0
- package/src/components/atoms/icons/ChargebackReversalIconSmall.d.ts +12 -0
- package/src/components/atoms/icons/ChargebackReversalIconSmall.js +37 -0
- package/src/components/atoms/icons/RefundIconMedium.d.ts +10 -0
- package/src/components/atoms/icons/RefundIconMedium.js +43 -0
- package/src/components/atoms/icons/RefundIconSmall.d.ts +10 -0
- package/src/components/atoms/icons/RefundIconSmall.js +43 -0
- package/src/components/atoms/icons/SuccessfulIconMedium.d.ts +9 -0
- package/src/components/atoms/icons/SuccessfulIconMedium.js +56 -0
- package/src/components/atoms/icons/SuccessfulIconSmall.d.ts +9 -0
- package/src/components/atoms/icons/SuccessfulIconSmall.js +64 -0
- package/src/components/atoms/icons/XCircleIconMedium.d.ts +10 -0
- package/src/components/atoms/icons/XCircleIconMedium.js +43 -0
- package/src/components/atoms/icons/XCircleIconSmall.d.ts +10 -0
- package/src/components/atoms/icons/XCircleIconSmall.js +43 -0
- package/src/components/atoms/icons/index.d.ts +16 -0
- package/src/components/atoms/icons/index.js +33 -1
- package/src/components/atoms/searchable-select/SearchableSelect.js +30 -32
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface ChargebackReversalIconSmallProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
iconIndex?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const ChargebackReversalIconSmall: React.FC<Expand<
|
|
10
|
+
ChargebackReversalIconSmallProps
|
|
11
|
+
> &
|
|
12
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const ChargebackReversalIconSmall = ({ color = "#15749D", iconIndex = 0 }) => {
|
|
4
|
+
const id = `ChargebackReversalIconSmall-${iconIndex}`;
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width="20"
|
|
8
|
+
height="20"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<circle cx="10" cy="10" r="10" fill={color} />
|
|
14
|
+
<mask
|
|
15
|
+
id={id}
|
|
16
|
+
style={{ maskType: "luminance" }}
|
|
17
|
+
maskUnits="userSpaceOnUse"
|
|
18
|
+
x="4"
|
|
19
|
+
y="5"
|
|
20
|
+
width="14"
|
|
21
|
+
height="10"
|
|
22
|
+
>
|
|
23
|
+
<path
|
|
24
|
+
fillRule="evenodd"
|
|
25
|
+
clipRule="evenodd"
|
|
26
|
+
d="M4.16669 6.83325C4.16669 6.28097 4.6144 5.83325 5.16669 5.83325H13.1667C13.719 5.83325 14.1667 6.28097 14.1667 6.83325V8.33325V9.99992V13.1666C14.1667 13.7189 13.719 14.1666 13.1667 14.1666H5.16669C4.6144 14.1666 4.16669 13.7189 4.16669 13.1666V9.99992V8.33325V6.83325ZM13.5417 6.5277V8.33325H4.79169V8.26381V6.5277H13.5417ZM4.79169 13.4721V9.99992H13.5417V13.4721H4.79169ZM15 11.2928C15 11.7383 15.5386 11.9613 15.8536 11.6464L17.1465 10.3535C17.3417 10.1582 17.3417 9.84163 17.1465 9.64636L15.8536 8.35347C15.5386 8.03849 15 8.26157 15 8.70703V11.2928ZM10.9896 11.6666C10.7595 11.6666 10.5729 11.8531 10.5729 12.0833C10.5729 12.3134 10.7595 12.4999 10.9896 12.4999H12.0313C12.2614 12.4999 12.4479 12.3134 12.4479 12.0833C12.4479 11.8531 12.2614 11.6666 12.0313 11.6666H10.9896Z"
|
|
27
|
+
fill="white"
|
|
28
|
+
/>
|
|
29
|
+
</mask>
|
|
30
|
+
<g mask={`url(#${id})`}>
|
|
31
|
+
<rect x="2.5" y="2.5" width="15" height="15" fill="white" />
|
|
32
|
+
</g>
|
|
33
|
+
</svg>
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default ChargebackReversalIconSmall;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface RefundIconMediumProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
iconIndex?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const RefundIconMedium: React.FC<Expand<RefundIconMediumProps> &
|
|
10
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const RefundIconMedium = ({ color = "#15749D", iconIndex = 0 }) => {
|
|
4
|
+
const id = `RefundIconMedium-${iconIndex}`;
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width="24"
|
|
8
|
+
height="24"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<circle cx="12" cy="12" r="12" fill={color} />
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<mask
|
|
21
|
+
id={id}
|
|
22
|
+
style={{ maskType: "luminance" }}
|
|
23
|
+
maskUnits="userSpaceOnUse"
|
|
24
|
+
x="5"
|
|
25
|
+
y="6"
|
|
26
|
+
width="13"
|
|
27
|
+
height="12"
|
|
28
|
+
>
|
|
29
|
+
<path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask={`url(#${id})`}>
|
|
37
|
+
<rect x="3" y="3" width="18" height="18" fill="white" />
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default RefundIconMedium;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface RefundIconSmallProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
iconIndex?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const RefundIconSmall: React.FC<Expand<RefundIconSmallProps> &
|
|
10
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const RefundIconSmall = ({ color = "#15749D", iconIndex = 0 }) => {
|
|
4
|
+
const id = `RefundIconSmall-${iconIndex}`;
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width="20"
|
|
8
|
+
height="20"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<circle cx="10" cy="10" r="10" fill={color} />
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<mask
|
|
21
|
+
id={id}
|
|
22
|
+
style={{ maskType: "luminance" }}
|
|
23
|
+
maskUnits="userSpaceOnUse"
|
|
24
|
+
x="4"
|
|
25
|
+
y="5"
|
|
26
|
+
width="11"
|
|
27
|
+
height="10"
|
|
28
|
+
>
|
|
29
|
+
<path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask={`url(#${id})`}>
|
|
37
|
+
<rect x="2.5" y="2.5" width="15" height="15" fill="white" />
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default RefundIconSmall;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface SuccessfulIconMediumProps {
|
|
5
|
+
iconIndex?: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const SuccessfulIconMedium: React.FC<Expand<SuccessfulIconMediumProps> &
|
|
9
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const SuccessfulIconMedium = ({ iconIndex = 0 }) => {
|
|
4
|
+
const mask0ID = `SuccessfulIconMedium-mask0-${iconIndex}`;
|
|
5
|
+
const mask1ID = `SuccessfulIconMedium-mask1-${iconIndex}`;
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
width="24"
|
|
9
|
+
height="24"
|
|
10
|
+
viewBox="0 0 24 24"
|
|
11
|
+
fill="none"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
>
|
|
14
|
+
<circle cx="12" cy="12" r="12" fill="#317D4F" />
|
|
15
|
+
<mask
|
|
16
|
+
id={mask0ID}
|
|
17
|
+
style={{ maskType: "luminance" }}
|
|
18
|
+
maskUnits="userSpaceOnUse"
|
|
19
|
+
x="0"
|
|
20
|
+
y="0"
|
|
21
|
+
width="24"
|
|
22
|
+
height="24"
|
|
23
|
+
>
|
|
24
|
+
<circle cx="12" cy="12" r="12" fill="white" />
|
|
25
|
+
</mask>
|
|
26
|
+
<g mask={`url(#${mask0ID})`}>
|
|
27
|
+
<path
|
|
28
|
+
fillRule="evenodd"
|
|
29
|
+
clipRule="evenodd"
|
|
30
|
+
d="M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z"
|
|
31
|
+
fill="white"
|
|
32
|
+
/>
|
|
33
|
+
<mask
|
|
34
|
+
id={mask1ID}
|
|
35
|
+
style={{ maskType: "luminance" }}
|
|
36
|
+
maskUnits="userSpaceOnUse"
|
|
37
|
+
x="6"
|
|
38
|
+
y="7"
|
|
39
|
+
width="13"
|
|
40
|
+
height="10"
|
|
41
|
+
>
|
|
42
|
+
<path
|
|
43
|
+
fillRule="evenodd"
|
|
44
|
+
clipRule="evenodd"
|
|
45
|
+
d="M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z"
|
|
46
|
+
fill="white"
|
|
47
|
+
/>
|
|
48
|
+
</mask>
|
|
49
|
+
<g mask={`url(#${mask1ID})`}>
|
|
50
|
+
<rect x="2" y="2" width="20" height="20" fill="white" />
|
|
51
|
+
</g>
|
|
52
|
+
</g>
|
|
53
|
+
</svg>
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
export default SuccessfulIconMedium;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface SuccessfulIconSmallProps {
|
|
5
|
+
iconIndex?: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const SuccessfulIconSmall: React.FC<Expand<SuccessfulIconSmallProps> &
|
|
9
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const SuccessfulIconSmall = ({ iconIndex = 0 }) => {
|
|
4
|
+
const mask0ID = `SuccessfulIconSmall-mask0-${iconIndex}`;
|
|
5
|
+
const mask1ID = `SuccessfulIconSmall-mask1-${iconIndex}`;
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<svg
|
|
9
|
+
width="20"
|
|
10
|
+
height="20"
|
|
11
|
+
viewBox="0 0 20 20"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
>
|
|
15
|
+
<circle cx="10" cy="10" r="10" fill="#317D4F" />
|
|
16
|
+
<mask
|
|
17
|
+
id={mask0ID}
|
|
18
|
+
style={{ maskType: "luminance" }}
|
|
19
|
+
maskUnits="userSpaceOnUse"
|
|
20
|
+
x="0"
|
|
21
|
+
y="0"
|
|
22
|
+
width="20"
|
|
23
|
+
height="20"
|
|
24
|
+
>
|
|
25
|
+
<circle cx="10" cy="10" r="10" fill="white" />
|
|
26
|
+
</mask>
|
|
27
|
+
<g mask={`url(#${mask0ID})`}>
|
|
28
|
+
<path
|
|
29
|
+
fillRule="evenodd"
|
|
30
|
+
clipRule="evenodd"
|
|
31
|
+
d="M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z"
|
|
32
|
+
fill="white"
|
|
33
|
+
/>
|
|
34
|
+
<mask
|
|
35
|
+
id={mask1ID}
|
|
36
|
+
style={{ maskType: "luminance" }}
|
|
37
|
+
maskUnits="userSpaceOnUse"
|
|
38
|
+
x="5"
|
|
39
|
+
y="6"
|
|
40
|
+
width="11"
|
|
41
|
+
height="8"
|
|
42
|
+
>
|
|
43
|
+
<path
|
|
44
|
+
fillRule="evenodd"
|
|
45
|
+
clipRule="evenodd"
|
|
46
|
+
d="M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z"
|
|
47
|
+
fill="white"
|
|
48
|
+
/>
|
|
49
|
+
</mask>
|
|
50
|
+
<g mask={`url(#${mask1ID})`}>
|
|
51
|
+
<rect
|
|
52
|
+
x="1.66669"
|
|
53
|
+
y="1.66666"
|
|
54
|
+
width="16.6667"
|
|
55
|
+
height="16.6667"
|
|
56
|
+
fill="white"
|
|
57
|
+
/>
|
|
58
|
+
</g>
|
|
59
|
+
</g>
|
|
60
|
+
</svg>
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export default SuccessfulIconSmall;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface XCircleIconMediumProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
iconIndex?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const XCircleIconMedium: React.FC<Expand<XCircleIconMediumProps> &
|
|
10
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const XCircleIconMedium = ({ color = "#D11053", iconIndex = 0 }) => {
|
|
4
|
+
const id = `XCircleIconMedium-${iconIndex}`;
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width="24"
|
|
8
|
+
height="24"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<circle cx="12" cy="12" r="12" fill={color} />
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<mask
|
|
21
|
+
id={id}
|
|
22
|
+
style={{ maskType: "luminance" }}
|
|
23
|
+
maskUnits="userSpaceOnUse"
|
|
24
|
+
x="7"
|
|
25
|
+
y="7"
|
|
26
|
+
width="10"
|
|
27
|
+
height="10"
|
|
28
|
+
>
|
|
29
|
+
<path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask={`url(#${id})`}>
|
|
37
|
+
<path d="M0 0H24V24H0V0Z" fill="white" />
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default XCircleIconMedium;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
|
|
4
|
+
export interface XCircleIconSmallProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
iconIndex?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const XCircleIconSmall: React.FC<Expand<XCircleIconSmallProps> &
|
|
10
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const XCircleIconSmall = ({ color = "#D11053", iconIndex = 0 }) => {
|
|
4
|
+
const id = `XCircleIconSmall-${iconIndex}`;
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width="21"
|
|
8
|
+
height="20"
|
|
9
|
+
viewBox="0 0 21 20"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<circle cx="10.5" cy="10" r="10" fill={color} />
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<mask
|
|
21
|
+
id={id}
|
|
22
|
+
style={{ maskType: "luminance" }}
|
|
23
|
+
maskUnits="userSpaceOnUse"
|
|
24
|
+
x="6"
|
|
25
|
+
y="6"
|
|
26
|
+
width="9"
|
|
27
|
+
height="8"
|
|
28
|
+
>
|
|
29
|
+
<path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask={`url(#${id})`}>
|
|
37
|
+
<path d="M0.5 0H20.5V20H0.5V0Z" fill="white" />
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default XCircleIconSmall;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
+
export * from "./ArrowDownCircleIconSmall";
|
|
2
|
+
export * from "./ArrowLeftCircleIconMedium";
|
|
3
|
+
export * from "./ArrowLeftCircleIconSmall";
|
|
4
|
+
export * from "./ArrowRightCircleIconSmall";
|
|
5
|
+
export * from "./ArrowUpCircleIconSmall";
|
|
6
|
+
export * from "./BankIconLarge";
|
|
7
|
+
export * from "./ChargebackIconMedium";
|
|
8
|
+
export * from "./ChargebackIconSmall";
|
|
9
|
+
export * from "./ChargebackReversalIconMedium";
|
|
10
|
+
export * from "./ChargebackReversalIconSmall";
|
|
1
11
|
export * from "./GuidedCheckoutImage";
|
|
2
12
|
export * from "./HistoryIconSmall";
|
|
3
13
|
export * from "./ProfileImage";
|
|
14
|
+
export * from "./RefundIconMedium";
|
|
15
|
+
export * from "./RefundIconSmall";
|
|
4
16
|
export * from "./RevenueManagementImage";
|
|
5
17
|
export * from "./StandardCheckoutImage";
|
|
18
|
+
export * from "./SuccessfulIconMedium";
|
|
19
|
+
export * from "./SuccessfulIconSmall";
|
|
20
|
+
export * from "./XCircleIconMedium";
|
|
21
|
+
export * from "./XCircleIconSmall";
|
|
@@ -17,6 +17,7 @@ import AccountNumberImage from "./AccountNumberImage";
|
|
|
17
17
|
import RoutingNumberImage from "./RoutingNumberImage";
|
|
18
18
|
import CheckmarkIcon from "./CheckmarkIcon";
|
|
19
19
|
import BankIcon from "./BankIcon";
|
|
20
|
+
import BankIconLarge from "./BankIconLarge";
|
|
20
21
|
import GenericCard from "./GenericCard";
|
|
21
22
|
import IconAdd from "./IconAdd";
|
|
22
23
|
import IconQuitLarge from "./IconQuitLarge";
|
|
@@ -63,6 +64,21 @@ import ProfileImage from "./ProfileImage";
|
|
|
63
64
|
import RevenueManagementImage from "./RevenueManagementImage";
|
|
64
65
|
import FindIconSmall from "./FindIconSmall";
|
|
65
66
|
import HistoryIconSmall from "./HistoryIconSmall";
|
|
67
|
+
import ChargebackIconSmall from "./ChargebackIconSmall";
|
|
68
|
+
import ChargebackReversalIconSmall from "./ChargebackReversalIconSmall";
|
|
69
|
+
import RefundIconSmall from "./RefundIconSmall";
|
|
70
|
+
import XCircleIconSmall from "./XCircleIconSmall";
|
|
71
|
+
import SuccessfulIconSmall from "./SuccessfulIconSmall";
|
|
72
|
+
import ArrowLeftCircleIconSmall from "./ArrowLeftCircleIconSmall";
|
|
73
|
+
import ArrowRightCircleIconSmall from "./ArrowRightCircleIconSmall";
|
|
74
|
+
import ArrowUpCircleIconSmall from "./ArrowUpCircleIconSmall";
|
|
75
|
+
import ArrowDownCircleIconSmall from "./ArrowDownCircleIconSmall";
|
|
76
|
+
import SuccessfulIconMedium from "./SuccessfulIconMedium";
|
|
77
|
+
import XCircleIconMedium from "./XCircleIconMedium";
|
|
78
|
+
import RefundIconMedium from "./RefundIconMedium";
|
|
79
|
+
import ArrowLeftCircleIconMedium from "./ArrowLeftCircleIconMedium";
|
|
80
|
+
import ChargebackIconMedium from "./ChargebackIconMedium";
|
|
81
|
+
import ChargebackReversalIconMedium from "./ChargebackReversalIconMedium";
|
|
66
82
|
|
|
67
83
|
export {
|
|
68
84
|
AccountsIcon,
|
|
@@ -84,6 +100,7 @@ export {
|
|
|
84
100
|
RoutingNumberImage,
|
|
85
101
|
CheckmarkIcon,
|
|
86
102
|
BankIcon,
|
|
103
|
+
BankIconLarge,
|
|
87
104
|
GenericCard,
|
|
88
105
|
IconAdd,
|
|
89
106
|
IconQuitLarge,
|
|
@@ -129,5 +146,20 @@ export {
|
|
|
129
146
|
ProfileImage,
|
|
130
147
|
RevenueManagementImage,
|
|
131
148
|
FindIconSmall,
|
|
132
|
-
HistoryIconSmall
|
|
149
|
+
HistoryIconSmall,
|
|
150
|
+
ChargebackIconSmall,
|
|
151
|
+
ChargebackReversalIconSmall,
|
|
152
|
+
RefundIconSmall,
|
|
153
|
+
XCircleIconSmall,
|
|
154
|
+
SuccessfulIconSmall,
|
|
155
|
+
ArrowLeftCircleIconSmall,
|
|
156
|
+
ArrowRightCircleIconSmall,
|
|
157
|
+
ArrowUpCircleIconSmall,
|
|
158
|
+
ArrowDownCircleIconSmall,
|
|
159
|
+
SuccessfulIconMedium,
|
|
160
|
+
XCircleIconMedium,
|
|
161
|
+
RefundIconMedium,
|
|
162
|
+
ArrowLeftCircleIconMedium,
|
|
163
|
+
ChargebackIconMedium,
|
|
164
|
+
ChargebackReversalIconMedium
|
|
133
165
|
};
|
|
@@ -16,7 +16,8 @@ const SearchableSelect = ({
|
|
|
16
16
|
fields,
|
|
17
17
|
actions,
|
|
18
18
|
disabled,
|
|
19
|
-
themeValues
|
|
19
|
+
themeValues,
|
|
20
|
+
placeholder = "Search agencies"
|
|
20
21
|
}) => {
|
|
21
22
|
const [itemList, setItemList] = useState([]);
|
|
22
23
|
useEffect(() => setItemList(items), [items, selectedItems]);
|
|
@@ -45,37 +46,34 @@ const SearchableSelect = ({
|
|
|
45
46
|
`color: #6e727e; background-color: #f7f7f7; pointer-events: none;`
|
|
46
47
|
}
|
|
47
48
|
>
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</Stack>
|
|
77
|
-
</Box>
|
|
78
|
-
</Stack>
|
|
49
|
+
<FormInput
|
|
50
|
+
errorMessages={{}}
|
|
51
|
+
field={fields.searchTerm}
|
|
52
|
+
fieldActions={actions.fields.searchTerm}
|
|
53
|
+
placeholder={placeholder}
|
|
54
|
+
disabled={disabled}
|
|
55
|
+
/>
|
|
56
|
+
<Box
|
|
57
|
+
padding="0 0 0.5rem"
|
|
58
|
+
extraStyles={`overflow-y: scroll; max-height: 250px;`}
|
|
59
|
+
>
|
|
60
|
+
<Stack>
|
|
61
|
+
{itemList.map(value => (
|
|
62
|
+
<Checkbox
|
|
63
|
+
key={value.name}
|
|
64
|
+
title={value.name}
|
|
65
|
+
name={value.name}
|
|
66
|
+
checked={
|
|
67
|
+
selectedItems?.find(item => item?.name === value?.name) ?? false
|
|
68
|
+
}
|
|
69
|
+
onChange={() => handleSelect(value)}
|
|
70
|
+
textExtraStyles={`margin: 0;`}
|
|
71
|
+
disabled={disabled}
|
|
72
|
+
extraStyles={`margin: 0.5rem;`}
|
|
73
|
+
/>
|
|
74
|
+
))}
|
|
75
|
+
</Stack>
|
|
76
|
+
</Box>
|
|
79
77
|
</Box>
|
|
80
78
|
);
|
|
81
79
|
};
|