@thecb/components 10.6.3-beta.2 → 10.6.4-beta.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.
Files changed (48) hide show
  1. package/dist/index.cjs.js +371 -764
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +0 -4
  4. package/dist/index.esm.js +371 -761
  5. package/dist/index.esm.js.map +1 -1
  6. package/package.json +2 -2
  7. package/src/components/atoms/icons/EmptyCartIconV2.js +26 -0
  8. package/src/components/atoms/icons/PropertiesAddIcon.js +0 -1
  9. package/src/components/atoms/icons/WalletIconSmall.js +3 -7
  10. package/src/components/atoms/icons/icons.stories.js +1 -9
  11. package/src/components/atoms/icons/index.js +3 -7
  12. package/src/components/atoms/index.js +0 -1
  13. package/src/components/atoms/placeholder/Placeholder.js +26 -85
  14. package/src/components/atoms/placeholder/Placeholder.stories.js +0 -2
  15. package/src/components/atoms/placeholder/Placeholder.theme.js +2 -8
  16. package/src/components/atoms/spinner/Spinner.js +5 -13
  17. package/src/components/atoms/spinner/index.d.ts +0 -4
  18. package/src/components/atoms/toggle-switch/ToggleSwitch.js +61 -33
  19. package/src/components/atoms/toggle-switch/ToggleSwitch.stories.js +3 -2
  20. package/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +5 -5
  21. package/src/components/molecules/editable-list/EditableList.js +1 -3
  22. package/src/components/molecules/editable-list/EditableList.stories.js +3 -1
  23. package/src/components/molecules/link-card/LinkCard.theme.js +21 -7
  24. package/src/components/molecules/modal/Modal.stories.js +0 -1
  25. package/src/components/molecules/modal/ModalControlV2.js +2 -17
  26. package/src/components/molecules/modal/__private__/CancelButton.js +1 -2
  27. package/src/components/molecules/modal/__private__/ContinueButton.js +1 -2
  28. package/src/components/molecules/modal/__private__/index.d.ts +0 -13
  29. package/src/components/molecules/modal/__private__/index.js +0 -1
  30. package/src/components/molecules/module/Module.js +2 -8
  31. package/src/components/molecules/partial-amount-form/PartialAmountForm.js +22 -8
  32. package/src/components/molecules/payment-details/PaymentDetails.js +4 -8
  33. package/src/components/molecules/radio-section/InnerRadioSection.js +2 -7
  34. package/src/components/molecules/registration-form/RegistrationForm.js +3 -6
  35. package/src/components/molecules/registration-form/RegistrationForm.state.js +3 -4
  36. package/src/constants/style_constants.js +1 -2
  37. package/src/components/atoms/.DS_Store +0 -0
  38. package/src/components/atoms/icons/.DS_Store +0 -0
  39. package/src/components/atoms/icons/DisabledAccountsAddIcon.js +0 -200
  40. package/src/components/atoms/icons/DisabledPaymentMethodsAddIcon.js +0 -62
  41. package/src/components/atoms/icons/DisabledPropertiesAddIcon.js +0 -54
  42. package/src/components/atoms/wallet-name/WalletName.js +0 -102
  43. package/src/components/atoms/wallet-name/WalletName.stories.js +0 -24
  44. package/src/components/atoms/wallet-name/index.d.ts +0 -15
  45. package/src/components/atoms/wallet-name/index.js +0 -3
  46. package/src/components/molecules/modal/__private__/CloseIconButton.js +0 -39
  47. package/src/components/molecules/partial-amount-form/PartialAmountField.js +0 -49
  48. /package/src/components/atoms/icons/{ExternalLinkIcon.js → ExternalLinkicon.js} +0 -0
@@ -8,13 +8,27 @@ import {
8
8
  TRANSPARENT
9
9
  } from "../../../constants/colors";
10
10
 
11
- const disabledBackgroundColor = TRANSPARENT;
12
- const disabledBorderColor = GHOST_GREY;
13
- const disabledColor = MANATEE_GREY;
14
- const activeBackgroundColor = CORNFLOWER_BLUE;
15
- const backgroundColor = LINK_WATER;
16
- const borderColor = MOON_RAKER;
17
- const color = ROYAL_BLUE_VIVID;
11
+ const disabledBackgroundColor = {
12
+ primary: TRANSPARENT
13
+ };
14
+ const disabledBorderColor = {
15
+ primary: GHOST_GREY
16
+ };
17
+ const disabledColor = {
18
+ primary: MANATEE_GREY
19
+ };
20
+ const activeBackgroundColor = {
21
+ primary: CORNFLOWER_BLUE
22
+ };
23
+ const backgroundColor = {
24
+ primary: LINK_WATER
25
+ };
26
+ const borderColor = {
27
+ primary: MOON_RAKER
28
+ };
29
+ const color = {
30
+ primary: ROYAL_BLUE_VIVID
31
+ };
18
32
 
19
33
  export const fallbackValues = {
20
34
  disabledBackgroundColor,
@@ -76,7 +76,6 @@ export const modalV2 = () => (
76
76
  noButtons={boolean("noButtons", false, groupId)}
77
77
  onlyCloseButton={boolean("onlyCloseButton", false, groupId)}
78
78
  onlyContinueButton={boolean("onlyContinueButton", false, groupId)}
79
- showCloseIconButton={boolean("showCloseIconButton", true, groupId)}
80
79
  useDangerButton={boolean("useDangerButton", false, groupId)}
81
80
  />
82
81
  );
@@ -18,7 +18,6 @@ import {
18
18
  ButtonLayoutWrapper,
19
19
  CancelButton,
20
20
  CloseButton,
21
- CloseIconButton,
22
21
  ContinueButton
23
22
  } from "./__private__";
24
23
 
@@ -39,12 +38,10 @@ const Modal = ({
39
38
  buttonExtraStyles = "",
40
39
  cancelAction = noop,
41
40
  cancelButtonText = "Cancel",
42
- cancelButtonVariant = "secondary",
43
41
  children = [],
44
42
  closeButtonText = "Close",
45
43
  continueAction = noop,
46
44
  continueButtonText = "Continue",
47
- continueButtonVariant = "primary",
48
45
  continueURL = "",
49
46
  customWidth = "",
50
47
  dataQa = null,
@@ -63,7 +60,6 @@ const Modal = ({
63
60
  onExit = hideModal,
64
61
  onlyCloseButton = false,
65
62
  onlyContinueButton = false,
66
- showCloseIconButton = false,
67
63
  underlayClickExits = true,
68
64
  useDangerButton = false
69
65
  }) => {
@@ -112,7 +108,7 @@ const Modal = ({
112
108
  borderRadius: BORDER_RADIUS.MD,
113
109
  margin: SPACING.XS,
114
110
  overflow: "auto",
115
- width: isMobile ? "" : customWidth || "576px"
111
+ width: isMobile ? "" : customWidth || "615px"
116
112
  }}
117
113
  underlayClickExits={underlayClickExits}
118
114
  aria-modal={true}
@@ -126,13 +122,7 @@ const Modal = ({
126
122
  borderWidthOverride={`0 0 ${BORDER_THIN} 0`}
127
123
  padding={`${SPACING.XS} ${SPACING.MD}`}
128
124
  >
129
- <Cluster
130
- justify={showCloseIconButton ? "space-between" : "flex-start"}
131
- align={
132
- showCloseIconButton && isMobile ? "flex-start" : "center"
133
- }
134
- nowrap
135
- >
125
+ <Cluster justify="flex-start" align="center">
136
126
  <Title
137
127
  as="h2"
138
128
  weight={FONT_WEIGHT_SEMIBOLD}
@@ -140,9 +130,6 @@ const Modal = ({
140
130
  >
141
131
  {modalHeaderText}
142
132
  </Title>
143
- {showCloseIconButton && (
144
- <CloseIconButton hideModal={hideModal} />
145
- )}
146
133
  </Cluster>
147
134
  </Box>
148
135
  <Box background={modalBodyBg || ATHENS_GREY} padding="0">
@@ -174,7 +161,6 @@ const Modal = ({
174
161
  buttonExtraStyles={buttonExtraStyles}
175
162
  cancelAction={cancelAction}
176
163
  cancelButtonText={cancelButtonText}
177
- cancelButtonVariant={cancelButtonVariant}
178
164
  hideModal={hideModal}
179
165
  isMobile={isMobile}
180
166
  key="cancel"
@@ -186,7 +172,6 @@ const Modal = ({
186
172
  continueAction={continueAction}
187
173
  continueButtonText={continueButtonText}
188
174
  continueURL={continueURL}
189
- continueButtonVariant={continueButtonVariant}
190
175
  isContinueActionDisabled={isContinueActionDisabled}
191
176
  isLoading={isLoading}
192
177
  isMobile={isMobile}
@@ -10,7 +10,6 @@ export const CancelButton = ({
10
10
  buttonExtraStyles = "",
11
11
  cancelAction = noop,
12
12
  cancelButtonText = "",
13
- cancelButtonVariant = "secondary",
14
13
  hideModal = noop,
15
14
  isMobile = false
16
15
  }) => {
@@ -28,7 +27,7 @@ export const CancelButton = ({
28
27
  role="button"
29
28
  text={cancelButtonText}
30
29
  textExtraStyles={`${fontSize}`}
31
- variant={cancelButtonVariant}
30
+ variant="secondary"
32
31
  />
33
32
  );
34
33
  };
@@ -12,7 +12,6 @@ export const ContinueButton = ({
12
12
  continueAction = noop,
13
13
  continueButtonText = "",
14
14
  continueURL = "",
15
- continueButtonVariant = "primary",
16
15
  isContinueActionDisabled = false,
17
16
  isLoading = false,
18
17
  isMobile = false,
@@ -37,7 +36,7 @@ export const ContinueButton = ({
37
36
  text={continueButtonText}
38
37
  textExtraStyles={`${fontSize}`}
39
38
  url={continueURL}
40
- variant={useDangerButton ? "danger" : continueButtonVariant}
39
+ variant={useDangerButton ? "danger" : "primary"}
41
40
  />
42
41
  );
43
42
  };
@@ -14,7 +14,6 @@ export interface CancelButtonProps {
14
14
  buttonExtraStyles?: string;
15
15
  cancelAction?: Function;
16
16
  cancelButtonText?: string;
17
- cancelButtonVariant?: string;
18
17
  hideModal?: Function;
19
18
  isMobile?: boolean;
20
19
  }
@@ -32,23 +31,11 @@ export interface CloseButtonProps {
32
31
  export declare const CloseButton: React.FC<Expand<CloseButtonProps> &
33
32
  React.HTMLAttributes<HTMLElement>>;
34
33
 
35
- export interface CloseIconButtonProps {
36
- buttonExtraStyles?: string;
37
- hideModal?: action;
38
- iconWidth?: string;
39
- iconHeight?: string;
40
- ariaLabel?: string;
41
- }
42
-
43
- export declare const CloseIconButton: React.FC<Expand<CloseIconButtonProps> &
44
- React.HTMLAttributes<HTMLElement>>;
45
-
46
34
  export interface ContinueButtonProps {
47
35
  buttonExtraStyles?: string;
48
36
  continueAction?: Function;
49
37
  continueButtonText?: string;
50
38
  continueURL?: string;
51
- continueButtonVariant?: string;
52
39
  isContinueActionDisabled?: boolean;
53
40
  isLoading?: boolean;
54
41
  isMobile?: boolean;
@@ -1,5 +1,4 @@
1
1
  export { default as ButtonLayoutWrapper } from "./ButtonLayoutWrapper";
2
2
  export { default as CancelButton } from "./CancelButton";
3
3
  export { default as CloseButton } from "./CloseButton";
4
- export { default as CloseIconButton } from "./CloseIconButton";
5
4
  export { default as ContinueButton } from "./ContinueButton";
@@ -28,8 +28,7 @@ const Module = ({
28
28
  spacingBottom = "2.5rem",
29
29
  fontSize,
30
30
  themeValues,
31
- children,
32
- allowContentOverflow = false
31
+ children
33
32
  }) => {
34
33
  const themedFontSize =
35
34
  variant === "small"
@@ -65,12 +64,7 @@ const Module = ({
65
64
  >
66
65
  {heading && !rightTitleContent && headingText}
67
66
  {heading && rightTitleContent && (
68
- <Cluster
69
- justify="space-between"
70
- align="center"
71
- overflow={allowContentOverflow}
72
- nowrap
73
- >
67
+ <Cluster justify="space-between" align="center" nowrap>
74
68
  {headingText}
75
69
  {rightTitleContent}
76
70
  </Cluster>
@@ -4,11 +4,13 @@ import {
4
4
  numberGreaterThanOrEqualTo,
5
5
  numberLessThanOrEqualTo
6
6
  } from "redux-freeform";
7
-
8
- import PartialAmountField from "./PartialAmountField";
9
7
  import { displayCurrency } from "../../../util/general";
10
8
  import Text from "../../atoms/text";
11
- import { FormInputColumn, FormContainer } from "../../atoms/form-layouts";
9
+ import {
10
+ FormInput,
11
+ FormInputColumn,
12
+ FormContainer
13
+ } from "../../atoms/form-layouts";
12
14
  import { moneyFormat } from "../../../util/formats";
13
15
 
14
16
  const PartialAmountForm = ({
@@ -66,15 +68,27 @@ const PartialAmountForm = ({
66
68
  <div style={{ height: "16px" }}></div>
67
69
  <FormInputColumn>
68
70
  {lineItemsNew.map(li => (
69
- <PartialAmountField
71
+ <FormInput
72
+ labelTextWhenNoError={li.description}
70
73
  key={li.id}
71
- lineItem={li}
72
74
  field={fields[li.id]}
73
- actions={actions}
74
- showErrors={showErrors}
75
- moneyFormat={moneyFormat}
76
75
  fieldActions={actions.fields[li.id]}
76
+ showErrors={showErrors}
77
77
  errorMessages={getPartialAmountFormErrors(li.amount)}
78
+ style={{ textAlign: "right" }}
79
+ placeholder="$0.00"
80
+ formatter={moneyFormat}
81
+ isNum
82
+ decorator={
83
+ <Text variant="p">
84
+ Amount owed:{" "}
85
+ {
86
+ <Text variant="p" weight="600">
87
+ {displayCurrency(li.amount)}
88
+ </Text>
89
+ }
90
+ </Text>
91
+ }
78
92
  />
79
93
  ))}
80
94
  </FormInputColumn>
@@ -362,11 +362,9 @@ const PaymentDetails = ({
362
362
  <Box width="100%" padding="none">
363
363
  <Cluster justify="space-between" align="center">
364
364
  <Title
365
- weight={FONT_WEIGHT_SEMIBOLD}
365
+ weight={FONT_WEIGHT_BOLD}
366
366
  as="h2"
367
- extraStyles={`font-size: 1.5rem; line-height: ${
368
- isMobile ? "2.2861rem" : "2.25rem"
369
- };`}
367
+ extraStyles={`font-size: 1.375rem;`}
370
368
  id="payment-details-title"
371
369
  >
372
370
  {titleText}
@@ -384,11 +382,9 @@ const PaymentDetails = ({
384
382
  <>
385
383
  <Title
386
384
  as="h2"
387
- weight={FONT_WEIGHT_SEMIBOLD}
385
+ weight={FONT_WEIGHT_BOLD}
388
386
  margin="1rem 0 0 0"
389
- extraStyles={`font-size: 1.5rem; line-height: ${
390
- isMobile ? "2.2861rem" : "2.25rem"
391
- };`}
387
+ extraStyles={`font-size: 1.75rem;`}
392
388
  id="payment-details-title"
393
389
  >
394
390
  {titleText}
@@ -94,17 +94,12 @@ const InnerRadioSection = ({
94
94
  aria-labelledby={ariaLabelledBy}
95
95
  aria-describedby={ariaDescribedBy}
96
96
  onClick={
97
- (isMobile && supportsTouch) ||
98
- section.disabled ||
99
- section.id === openSection
97
+ (isMobile && supportsTouch) || section.disabled
100
98
  ? noop
101
99
  : () => toggleOpenSection(section.id)
102
100
  }
103
101
  onTouchEnd={
104
- isMobile &&
105
- supportsTouch &&
106
- !section.disabled &&
107
- section.id !== openSection
102
+ isMobile && supportsTouch && !section.disabled
108
103
  ? () => toggleOpenSection(section.id)
109
104
  : noop
110
105
  }
@@ -7,8 +7,7 @@ import {
7
7
  hasLowercaseLetter,
8
8
  hasUppercaseLetter,
9
9
  hasSpecialCharacter,
10
- isProbablyEmail,
11
- validName
10
+ isProbablyEmail
12
11
  } from "redux-freeform";
13
12
  import PasswordRequirements from "../../atoms/password-requirements";
14
13
  import { Box } from "../../atoms/layouts";
@@ -27,12 +26,10 @@ const RegistrationForm = ({
27
26
  useEffect(() => () => actions.form.clear(), []);
28
27
  }
29
28
  const firstNameErrorMessages = {
30
- [required.error]: "First name is required",
31
- [validName.error]: "First name contains invalid characters"
29
+ [required.error]: "First name is required"
32
30
  };
33
31
  const lastNameErrorMessages = {
34
- [required.error]: "Last name is required",
35
- [validName.error]: "Last name contains invalid characters"
32
+ [required.error]: "Last name is required"
36
33
  };
37
34
  const emailErrorMessages = {
38
35
  [required.error]: "Email is required",
@@ -7,16 +7,15 @@ import {
7
7
  hasLowercaseLetter,
8
8
  hasUppercaseLetter,
9
9
  hasSpecialCharacter,
10
- isProbablyEmail,
11
- validName
10
+ isProbablyEmail
12
11
  } from "redux-freeform";
13
12
 
14
13
  const formConfig = {
15
14
  firstName: {
16
- validators: [required(), validName()]
15
+ validators: [required()]
17
16
  },
18
17
  lastName: {
19
- validators: [required(), validName()]
18
+ validators: [required()]
20
19
  },
21
20
  email: {
22
21
  validators: [required(), isProbablyEmail()]
@@ -8,8 +8,7 @@ export const FONT_SIZE = {
8
8
  XS: "0.750rem", // 12px
9
9
  SM: "0.875rem", // 14px
10
10
  MD: "1.000rem", // 16px
11
- LG: "1.125rem", // 18px
12
- XL: "1.250rem" //20px
11
+ LG: "1.125rem" // 18px
13
12
  };
14
13
  export const FONT_WEIGHT_REGULAR = "400";
15
14
  export const FONT_WEIGHT_SEMIBOLD = "600";
Binary file
@@ -1,200 +0,0 @@
1
- import React from "react";
2
-
3
- const DisabledAccountsAddIcon = () => {
4
- return (
5
- <svg
6
- width="100"
7
- height="100"
8
- viewBox="0 0 100 100"
9
- fill="none"
10
- xmlns="http://www.w3.org/2000/svg"
11
- >
12
- <path
13
- fillRule="evenodd"
14
- clipRule="evenodd"
15
- d="M77.0408 78.1002V32.5154C77.0408 31.9007 76.5506 31.4039 75.9474 31.4039H32.3148C31.7106 31.4039 31.2213 31.9007 31.2213 32.5154V84.5326C31.2213 84.5326 55.7247 98.7028 77.0408 78.1002Z"
16
- fill="white"
17
- />
18
- <path
19
- fillRule="evenodd"
20
- clipRule="evenodd"
21
- d="M88.0002 51.4983C88.0002 72.4847 70.9876 89.4983 50.0002 89.4983C29.0128 89.4983 12.0002 72.4847 12.0002 51.4983C12.0002 30.5109 29.0128 13.4983 50.0002 13.4983C59.0261 13.4983 67.3177 16.6447 73.8366 21.902C82.475 28.8674 88.0002 39.5368 88.0002 51.4983Z"
22
- stroke="#878E9B"
23
- strokeWidth="2.59255"
24
- strokeLinejoin="round"
25
- />
26
- <path
27
- d="M77.0408 78.1002V32.5154C77.0408 31.9007 76.5506 31.4039 75.9474 31.4039H32.3148C31.7106 31.4039 31.2213 31.9007 31.2213 32.5154V81.3853"
28
- stroke="#878E9B"
29
- strokeWidth="2.0653"
30
- strokeLinecap="round"
31
- strokeLinejoin="round"
32
- />
33
- <path
34
- fillRule="evenodd"
35
- clipRule="evenodd"
36
- d="M23.3362 78.1002V11.6448C23.3362 11.0302 23.8264 10.5324 24.4306 10.5324H68.0622C68.6664 10.5324 69.1556 11.0302 69.1556 11.6448V84.1973C69.1556 84.1973 58.4947 90.719 43.9673 88.1179C32.3336 86.0346 23.3362 78.1002 23.3362 78.1002Z"
37
- fill="white"
38
- />
39
- <path
40
- d="M69.156 84.1973V11.6448C69.156 11.0302 68.6658 10.5324 68.0625 10.5324H24.43C23.8258 10.5324 23.3365 11.0302 23.3365 11.6448V78.1002"
41
- stroke="#878E9B"
42
- strokeWidth="2.0653"
43
- strokeLinecap="round"
44
- strokeLinejoin="round"
45
- />
46
- <path
47
- d="M23.3362 19.3115H69.1556"
48
- stroke="#878E9B"
49
- strokeWidth="1.9285"
50
- strokeLinecap="round"
51
- strokeLinejoin="round"
52
- />
53
- <path
54
- d="M69.156 40.1818H77.041"
55
- stroke="#878E9B"
56
- strokeWidth="1.9285"
57
- strokeLinecap="round"
58
- strokeLinejoin="round"
59
- />
60
- <path
61
- fillRule="evenodd"
62
- clipRule="evenodd"
63
- d="M29.82 36.5974H62.672V31.4038H29.82V36.5974Z"
64
- fill="white"
65
- />
66
- <path
67
- fillRule="evenodd"
68
- clipRule="evenodd"
69
- d="M29.82 36.5974H62.672V31.4038H29.82V36.5974Z"
70
- stroke="#878E9B"
71
- strokeWidth="2.0653"
72
- strokeLinecap="round"
73
- strokeLinejoin="round"
74
- />
75
- <path
76
- fillRule="evenodd"
77
- clipRule="evenodd"
78
- d="M29.82 45.9207H62.672V40.7271H29.82V45.9207Z"
79
- fill="white"
80
- />
81
- <path
82
- fillRule="evenodd"
83
- clipRule="evenodd"
84
- d="M29.82 45.9207H62.672V40.7271H29.82V45.9207Z"
85
- stroke="#878E9B"
86
- strokeWidth="2.0653"
87
- strokeLinecap="round"
88
- strokeLinejoin="round"
89
- />
90
- <path
91
- d="M29.8201 26.2602H46.2466"
92
- stroke="#878E9B"
93
- strokeWidth="2.0653"
94
- strokeLinecap="round"
95
- strokeLinejoin="round"
96
- />
97
- <path
98
- fillRule="evenodd"
99
- clipRule="evenodd"
100
- d="M29.82 63.0901H62.672V57.8964H29.82V63.0901Z"
101
- fill="white"
102
- />
103
- <path
104
- fillRule="evenodd"
105
- clipRule="evenodd"
106
- d="M29.82 63.0901H62.672V57.8964H29.82V63.0901Z"
107
- stroke="#878E9B"
108
- strokeWidth="2.0653"
109
- strokeLinecap="round"
110
- strokeLinejoin="round"
111
- />
112
- <path
113
- fillRule="evenodd"
114
- clipRule="evenodd"
115
- d="M29.82 72.4143H62.672V67.2207H29.82V72.4143Z"
116
- fill="white"
117
- />
118
- <path
119
- fillRule="evenodd"
120
- clipRule="evenodd"
121
- d="M29.82 72.4143H62.672V67.2207H29.82V72.4143Z"
122
- stroke="#878E9B"
123
- strokeWidth="2.0653"
124
- strokeLinecap="round"
125
- strokeLinejoin="round"
126
- />
127
- <path
128
- fillRule="evenodd"
129
- clipRule="evenodd"
130
- d="M48.3403 83.2719H62.672V79.298H48.3403V83.2719Z"
131
- fill="#878E9B"
132
- />
133
- <path
134
- fillRule="evenodd"
135
- clipRule="evenodd"
136
- d="M48.3403 83.2719H62.672V79.298H48.3403V83.2719Z"
137
- stroke="#878E9B"
138
- strokeWidth="2.0653"
139
- strokeLinecap="round"
140
- strokeLinejoin="round"
141
- />
142
- <path
143
- d="M29.8201 52.7535H46.2466"
144
- stroke="#878E9B"
145
- strokeWidth="2.0653"
146
- strokeLinecap="round"
147
- strokeLinejoin="round"
148
- />
149
- <path
150
- d="M73.8364 21.9017C82.4748 28.8671 88 39.5365 88 51.498C88 72.4844 70.9874 89.498 50 89.498C29.0126 89.498 12 72.4844 12 51.498"
151
- stroke="#878E9B"
152
- strokeWidth="2.59255"
153
- strokeLinejoin="round"
154
- />
155
- <path
156
- fillRule="evenodd"
157
- clipRule="evenodd"
158
- d="M69.1557 40.1818H77.0407V31.4038H69.1557V40.1818Z"
159
- fill="#878E9B"
160
- />
161
- <path
162
- fillRule="evenodd"
163
- clipRule="evenodd"
164
- d="M23.3363 19.3112H69.1557V10.5323H23.3363V19.3112Z"
165
- fill="#878E9B"
166
- />
167
- <path
168
- d="M72.0041 90.1C79.3495 90.1 85.3041 84.1454 85.3041 76.8C85.3041 69.4546 79.3495 63.5 72.0041 63.5C64.6587 63.5 58.7041 69.4546 58.7041 76.8C58.7041 84.1454 64.6587 90.1 72.0041 90.1Z"
169
- fill="#878E9B"
170
- />
171
- <path
172
- fillRule="evenodd"
173
- clipRule="evenodd"
174
- d="M79.2041 77.5H73.2041V83.5H71.2041V77.5H65.2041V75.5H71.2041V69.5H73.2041V75.5H79.2041V77.5Z"
175
- fill="white"
176
- />
177
- <mask
178
- id="mask0_7610_37196"
179
- style={{ maskType: "luminance" }}
180
- maskUnits="userSpaceOnUse"
181
- x="65"
182
- y="69"
183
- width="15"
184
- height="15"
185
- >
186
- <path
187
- fillRule="evenodd"
188
- clipRule="evenodd"
189
- d="M79.2041 77.5H73.2041V83.5H71.2041V77.5H65.2041V75.5H71.2041V69.5H73.2041V75.5H79.2041V77.5Z"
190
- fill="white"
191
- />
192
- </mask>
193
- <g mask="url(#mask0_7610_37196)">
194
- <rect x="60.2041" y="64.5" width="24" height="24" fill="white" />
195
- </g>
196
- </svg>
197
- );
198
- };
199
-
200
- export default DisabledAccountsAddIcon;
@@ -1,62 +0,0 @@
1
- import React from "react";
2
-
3
- const DisabledPaymentMethodsAddIcon = () => {
4
- return (
5
- <svg
6
- xmlns="http://www.w3.org/2000/svg"
7
- width="100"
8
- height="100"
9
- viewBox="0 0 100 100"
10
- fill="none"
11
- >
12
- <mask
13
- id="a"
14
- x="-1"
15
- y="0"
16
- maskUnits="userSpaceOnUse"
17
- style={{ maskType: "luminance" }}
18
- >
19
- <path fill="#fff" d="M97.88 0H-1v96h98.88V0Z" />
20
- </mask>
21
- <g mask="url(#a)">
22
- <path
23
- fill="#FEFEFE"
24
- fillRule="evenodd"
25
- d="M91.947 19.2v36.48H48.44v15.6c0 .881-.697 1.603-1.584 1.673l-.141.006H20.402c-1.888-2.755-3.416-5.315-4.649-7.68H40.53v-3.84H14.82v1.972c-6.089-12.75-3.332-19.251-3.332-19.251h13.22V19.2h67.24Z"
26
- clipRule="evenodd"
27
- />
28
- <path
29
- fill="#878E9B"
30
- d="M48.24 10.56c8.325 0 16.249 2.587 22.793 7.298l.442.323h20.472c.525 0 .958.397 1.013.908l.006.111v36.48c0 .525-.397.958-.908 1.013l-.11.006h-6.48l-.01.039c-4.176 16.497-19.471 28.315-37.217 28.315-21.16 0-38.328-16.668-38.328-37.246 0-11.497 5.358-21.772 13.776-28.603V19.2c0-.525.398-.958.909-1.013l.11-.006h.298c6.447-4.782 14.501-7.621 23.235-7.621Zm34.688 46.139H48.47V71.28c0 1.44-1.138 2.608-2.565 2.693l-.166.005h-21.13c6.31 5.364 14.578 8.617 23.632 8.617 16.42 0 30.585-10.788 34.687-25.897Zm-60.52 15.243h23.331a.683.683 0 0 0 .687-.572l.006-.089V56.64H13.537c1.577 5.84 4.68 11.083 8.87 15.302Zm68.52-51.723-64.542-.001c-.222.165-.442.333-.66.504l.001 22.42H45.74c1.448 0 2.64 1.116 2.726 2.533l.005.165v8.821h42.458V20.217ZM66.324 44.784l.217.134.32.208.834.562 1.937 1.34c.583.396 1.101.73 1.59 1.023 1.5.896 2.662 1.348 3.404 1.298.678-.044 1.166-.132 1.655-.293l.247-.088 2.087-.915.92-.39.337-.138.307-.12c1.758-.675 3.308.021 4.548 1.49.513.608.867 1.21 1.061 1.633a.84.84 0 0 1-1.475.795l-.146-.28-.107-.19a6.45 6.45 0 0 0-.616-.875c-.83-.982-1.703-1.374-2.664-1.005l-.437.174-.766.322-2.46 1.071-.044.018c-.72.265-1.405.406-2.337.467-1.184.079-2.6-.471-4.375-1.533a31.938 31.938 0 0 1-1.315-.834l-2.312-1.594-.823-.554-.362-.233a2.115 2.115 0 0 0-.055-.033c-1.924-1.094-4.566 1.331-6.416 5.012a.84.84 0 0 1-1.5-.754c.083-.166.168-.33.255-.493l.263-.48c.446-.788.925-1.518 1.429-2.168l.305-.38c1.954-2.344 4.255-3.47 6.494-2.197Zm-53.847.326-.03.41a34.227 34.227 0 0 0-.011 4.4l33.996-.001v-4.08c0-.33-.257-.61-.598-.655l-.095-.006H12.843c-.129 0-.252-.024-.366-.068Zm.212-1.957.043-.007.111-.006H23.69V22.442c-5.868 5.346-9.88 12.586-11 20.712ZM84.135 24v1.629c1.346.237 2.494.713 3.488 1.42l-1.884 2.36c-1.243-.793-2.603-1.189-3.806-1.189-.913 0-1.36.327-1.36.775v.034c0 .551.467.792 2.37 1.171 3.106.602 5.049 1.498 5.049 3.753v.034c0 2.027-1.49 3.375-3.858 3.79v1.583h-3.587v-1.605c-1.665-.266-3.197-.879-4.42-1.839l2.096-2.22c1.36.945 2.835 1.446 4.408 1.446 1.03 0 1.573-.312 1.573-.828v-.034c0-.516-.446-.775-2.31-1.17-2.894-.585-5.128-1.31-5.128-3.771v-.034c0-1.875 1.408-3.311 3.781-3.73V24h3.588ZM57.339 36.12a.84.84 0 0 1 .105 1.673l-.105.007H28.664a.84.84 0 0 1-.105-1.673l.105-.007h28.675Zm-11.865-5.76a.84.84 0 0 1 .105 1.673l-.105.007h-16.81a.84.84 0 0 1-.105-1.673l.105-.007h16.81ZM56.35 24.6a.84.84 0 0 1 .106 1.673l-.106.007H43.496a.84.84 0 0 1-.105-1.673l.105-.007H56.35Zm-16.81 0a.84.84 0 0 1 .106 1.673l-.105.007H28.664a.84.84 0 0 1-.105-1.673l.105-.007H39.54Zm8.7-11.583c-6.9 0-13.345 1.89-18.814 5.164h37.63c-5.592-3.349-12.06-5.164-18.815-5.164Z"
31
- />
32
- </g>
33
- <path
34
- fill="#878E9B"
35
- d="M73.768 86.536c7.052 0 12.768-5.716 12.768-12.768C86.536 66.716 80.82 61 73.768 61 66.716 61 61 66.716 61 73.768c0 7.052 5.716 12.768 12.768 12.768Z"
36
- />
37
- <path
38
- fill="#FEFEFE"
39
- d="M79.648 74.608h-5.04v5.04h-1.68v-5.04h-5.04v-1.68h5.04v-5.04h1.68v5.04h5.04v1.68Z"
40
- />
41
- <mask
42
- id="b"
43
- width="13"
44
- height="13"
45
- x="67"
46
- y="67"
47
- maskUnits="userSpaceOnUse"
48
- style={{ maskType: "luminance" }}
49
- >
50
- <path
51
- fill="#fff"
52
- d="M79.648 74.608h-5.04v5.04h-1.68v-5.04h-5.04v-1.68h5.04v-5.04h1.68v5.04h5.04v1.68Z"
53
- />
54
- </mask>
55
- <g mask="url(#b)">
56
- <path fill="#FEFEFE" d="M83.848 63.688h-20.16v20.16h20.16v-20.16Z" />
57
- </g>
58
- </svg>
59
- );
60
- };
61
-
62
- export default DisabledPaymentMethodsAddIcon;