@thecb/components 10.6.4-beta.2 → 10.6.4

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 (35) hide show
  1. package/dist/index.cjs.js +1467 -939
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1467 -939
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +1 -1
  6. package/src/components/atoms/icons/icons.stories.js +2 -0
  7. package/src/components/atoms/layouts/Box.js +2 -0
  8. package/src/components/atoms/layouts/Box.styled.js +3 -1
  9. package/src/components/atoms/placeholder/Placeholder.js +92 -126
  10. package/src/components/atoms/placeholder/Placeholder.stories.js +1 -0
  11. package/src/components/molecules/editable-list/EditableList.stories.js +7 -2
  12. package/src/components/molecules/obligation/icons/AccountBillIcon.js +79 -14
  13. package/src/components/molecules/obligation/icons/AccountConstructionIcon.js +89 -14
  14. package/src/components/molecules/obligation/icons/AccountDentalIcon.js +85 -13
  15. package/src/components/molecules/obligation/icons/AccountElectricIcon.js +90 -13
  16. package/src/components/molecules/obligation/icons/AccountGarbageIcon.js +84 -14
  17. package/src/components/molecules/obligation/icons/AccountGasIcon.js +85 -13
  18. package/src/components/molecules/obligation/icons/AccountGenericIcon.js +79 -14
  19. package/src/components/molecules/obligation/icons/AccountMedicalIcon.js +84 -14
  20. package/src/components/molecules/obligation/icons/AccountWaterIcon.js +84 -14
  21. package/src/components/molecules/obligation/icons/PropertyApartmentIcon.js +90 -13
  22. package/src/components/molecules/obligation/icons/PropertyBusinessIcon.js +83 -13
  23. package/src/components/molecules/obligation/icons/PropertyCarIcon.js +89 -12
  24. package/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.js +90 -12
  25. package/src/components/molecules/obligation/icons/PropertyGarageIcon.js +86 -12
  26. package/src/components/molecules/obligation/icons/PropertyLandIcon.js +89 -12
  27. package/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.js +89 -12
  28. package/src/components/molecules/obligation/icons/PropertyPersonalIcon.js +84 -14
  29. package/src/components/molecules/obligation/icons/PropertyStorefrontIcon.js +90 -12
  30. package/src/components/molecules/obligation/icons/index.js +18 -32
  31. package/src/components/molecules/obligation/modules/IconModule.js +3 -9
  32. package/src/.DS_Store +0 -0
  33. package/src/components/.DS_Store +0 -0
  34. package/src/components/molecules/.DS_Store +0 -0
  35. package/src/components/molecules/obligation/.DS_Store +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "10.6.4-beta.2",
3
+ "version": "10.6.4",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -32,6 +32,7 @@ import {
32
32
  FailedIcon,
33
33
  PencilIcon,
34
34
  PendingIcon,
35
+ PlusCircleIcon,
35
36
  RefundIcon,
36
37
  RejectedIcon,
37
38
  RejectedVelocityIcon,
@@ -58,6 +59,7 @@ export const accountsIcon = () => <AccountsIcon />;
58
59
  export const accountsAddIcon = () => <AccountsAddIcon />;
59
60
  export const forgotPasswordIcon = () => <ForgotPasswordIcon />;
60
61
  export const goToEmailIcon = () => <GoToEmailIcon />;
62
+ export const plusCircleIcon = () => <PlusCircleIcon />;
61
63
  export const verifiedEmailIcon = () => <VerifiedEmailIcon />;
62
64
  export const paymentMethodIcon = () => <PaymentMethodIcon />;
63
65
  export const accountsIconSmall = () => <AccountsIconSmall />;
@@ -31,6 +31,7 @@ const Box = forwardRef(
31
31
  hoverStyles,
32
32
  activeStyles,
33
33
  disabledStyles,
34
+ focusStyles,
34
35
  variant,
35
36
  as,
36
37
  onClick,
@@ -68,6 +69,7 @@ const Box = forwardRef(
68
69
  hoverStyles={hoverStyles}
69
70
  activeStyles={activeStyles}
70
71
  disabledStyles={disabledStyles}
72
+ focusStyles={focusStyles}
71
73
  variant={variant}
72
74
  as={as}
73
75
  onClick={onClick}
@@ -13,6 +13,7 @@ import { ROYAL_BLUE } from "../../../constants/colors";
13
13
  export const BoxWrapper = styled(
14
14
  ({
15
15
  activeStyles,
16
+ focusStyles,
16
17
  hoverStyles,
17
18
  disabledStyles,
18
19
  extraStyles,
@@ -64,8 +65,9 @@ export const BoxWrapper = styled(
64
65
  }
65
66
 
66
67
  &:focus {
67
- ${({ as }) =>
68
+ ${({ focusStyles, as }) =>
68
69
  css`
70
+ ${focusStyles}
69
71
  outline: 3px solid ${ROYAL_BLUE};
70
72
  outline-offset: 2px;
71
73
  ${as === "button" &&
@@ -5,25 +5,17 @@ import Text from "../text";
5
5
  import { Box, Switcher, Center, Cluster, Cover } from "../layouts";
6
6
  import { fallbackValues } from "./Placeholder.theme";
7
7
  import { themeComponent } from "../../../util/themeUtils";
8
- import {
9
- STORM_GREY,
10
- GRECIAN_GREY,
11
- CHARADE_GREY,
12
- WHITE,
13
- TRANSPARENT,
14
- MANATEE_GREY
15
- } from "../../../constants/colors";
8
+ import { TRANSPARENT, MANATEE_GREY } from "../../../constants/colors";
16
9
  import {
17
10
  AccountsAddIcon,
18
11
  PropertiesAddIcon,
19
- IconAdd,
12
+ PlusCircleIcon,
20
13
  PaymentMethodAddIcon,
21
14
  DisabledAccountsAddIcon,
22
15
  DisabledPropertiesAddIcon,
23
16
  DisabledPaymentMethodsAddIcon
24
17
  } from "../icons";
25
18
  import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
26
- import { noop } from "../../../util/general";
27
19
 
28
20
  const getLargeIcon = (iconName, isDisabled) => {
29
21
  switch (iconName) {
@@ -67,6 +59,8 @@ const renderContent = ({ isLink, destination, dataQa, children, action }) =>
67
59
  minHeight="100%"
68
60
  extraStyles="cursor: pointer;"
69
61
  dataQa={dataQa}
62
+ tabIndex="0"
63
+ onKeyPress={e => e.key === "Enter" && action()}
70
64
  >
71
65
  {children}
72
66
  </Box>
@@ -101,126 +95,98 @@ const Placeholder = ({
101
95
  themeValues,
102
96
  isDisabled = false,
103
97
  dataQa
104
- }) => (
105
- <PlaceholderContentWrapper
106
- isLink={isLink}
107
- action={action}
108
- destination={destination}
109
- dataQa={dataQa}
110
- isDisabled={isDisabled}
111
- >
112
- <Box
113
- padding="0"
114
- borderRadius="4px"
115
- border="none"
116
- minHeight={themeValues.height}
117
- hiddenStyles={!visible}
118
- extraStyles={
119
- isDisabled
120
- ? `border: 1px dashed ${MANATEE_GREY};
121
- display: flex;
122
- justify-content: center;
123
- align-items:center;`
124
- : `
125
- background: linear-gradient(
126
- to right,
127
- ${variant === "large" ? STORM_GREY : themeValues.color} 40%,
128
- rgba(255, 255, 255, 0) 0%
129
- ),
130
- linear-gradient(${
131
- variant === "large" ? STORM_GREY : themeValues.color
132
- } 40%, rgba(255, 255, 255, 0) 0%),
133
- linear-gradient(to right, ${
134
- variant === "large" ? STORM_GREY : themeValues.color
135
- } 40%, rgba(255, 255, 255, 0) 0%),
136
- linear-gradient(${
137
- variant === "large" ? STORM_GREY : themeValues.color
138
- } 40%, rgba(255, 255, 255, 0) 0%);
139
- background-position: top, right, bottom, left;
140
- background-repeat: repeat-x, repeat-y;
141
- background-size: 5px 1px, 1px 5px;
142
- display: flex;
143
- justify-content: center;
144
- align-items:center;`
145
- }
146
- hoverStyles={`background-color: ${
147
- isDisabled
148
- ? TRANSPARENT
149
- : variant === "large"
150
- ? GRECIAN_GREY
151
- : tint(0.9, themeValues.color)
152
- };`}
98
+ }) => {
99
+ const borderColor = isDisabled ? MANATEE_GREY : themeValues.color;
100
+ return (
101
+ <PlaceholderContentWrapper
102
+ isLink={isLink}
103
+ action={action}
104
+ destination={destination}
105
+ dataQa={dataQa}
106
+ isDisabled={isDisabled}
153
107
  >
154
- <Center maxWidth="300px">
155
- <Box
156
- padding="0"
157
- tabIndex="0"
158
- onKeyPress={e => (isDisabled ? noop : e.key === "Enter" && action())}
159
- >
160
- <Cluster justify="center" align="center" minHeight="100%">
161
- <Switcher maxChildren={2} childGap="0">
162
- {variant === "large" && <div></div>}
163
- <Box
164
- padding="0"
165
- aria-disabled={isDisabled}
166
- extraStyles={`.fill {
167
- fill: ${
168
- isDisabled
169
- ? MANATEE_GREY
170
- : variant === "large"
171
- ? CHARADE_GREY
172
- : themeValues.color
173
- };
108
+ <Box
109
+ padding="0"
110
+ borderRadius="4px"
111
+ border="none"
112
+ minHeight={themeValues.height}
113
+ hiddenStyles={!visible}
114
+ extraStyles={`
115
+ display: flex;
116
+ justify-content: center;
117
+ align-items:center;
118
+ background-image: repeating-linear-gradient(0deg, ${borderColor}, ${borderColor} 2px, transparent 2px, transparent 4px, ${borderColor} 4px), repeating-linear-gradient(90deg, ${borderColor}, ${borderColor} 2px, transparent 2px, transparent 4px, ${borderColor} 4px), repeating-linear-gradient(180deg, ${borderColor}, ${borderColor} 2px, transparent 2px, transparent 4px, ${borderColor} 4px), repeating-linear-gradient(270deg, ${borderColor}, ${borderColor} 2px, transparent 2px, transparent 4px, ${borderColor} 4px);
119
+ background-size: 2px 100%, 100% 2px, 2px 100% , 100% 2px;
120
+ background-position: 0 0, 0 0, 100% 0, 0 100%;
121
+ background-repeat: no-repeat;
122
+ `}
123
+ hoverStyles={`background-color: ${
124
+ isDisabled ? TRANSPARENT : tint(0.9, themeValues.color)
125
+ };`}
126
+ focusStyles={`background-color: ${
127
+ isDisabled ? TRANSPARENT : tint(0.9, themeValues.color)
128
+ };`}
129
+ activeStyles={`background-color: ${
130
+ isDisabled ? TRANSPARENT : tint(0.8, themeValues.color)
131
+ }; ${!isDisabled &&
132
+ `background-image:none; border: 2px solid ${borderColor};}`}`}
133
+ >
134
+ <Center maxWidth="300px">
135
+ <Box padding="0">
136
+ <Cluster justify="center" align="center" minHeight="100%">
137
+ <Switcher maxChildren={2} childGap="0">
138
+ {variant === "large" && <div></div>}
139
+ <Box
140
+ padding="0"
141
+ aria-disabled={isDisabled}
142
+ extraStyles={`.fill {
143
+ fill: ${isDisabled ? MANATEE_GREY : themeValues.color};
174
144
  } .stroke {
175
- stroke: ${
176
- isDisabled
177
- ? MANATEE_GREY
178
- : variant === "large"
179
- ? CHARADE_GREY
180
- : themeValues.color
181
- };
145
+ stroke: ${isDisabled ? MANATEE_GREY : themeValues.color};
182
146
  } `}
183
- >
184
- {variant === "large" ? (
185
- <Center intrinsic>
186
- {getLargeIcon(largeIcon, isDisabled)}
187
- <Text
188
- variant="pS"
189
- color={isDisabled ? MANATEE_GREY : themeValues.color}
190
- weight={FONT_WEIGHT_SEMIBOLD}
191
- extraStyles={`text-align: center;`}
192
- >
193
- {text}
194
- </Text>
195
- </Center>
196
- ) : (
197
- <Cover singleChild minHeight="100%">
198
- <Cluster justify="center" align="center">
199
- <IconAdd
200
- fill={isDisabled ? MANATEE_GREY : WHITE}
201
- strokeWidth="2"
202
- />
203
- <Center intrinsic>
204
- <Text
205
- variant="pS"
147
+ >
148
+ {variant === "large" ? (
149
+ <Center intrinsic>
150
+ {getLargeIcon(largeIcon, isDisabled)}
151
+ <Text
152
+ variant="pS"
153
+ color={isDisabled ? MANATEE_GREY : themeValues.color}
154
+ weight={FONT_WEIGHT_SEMIBOLD}
155
+ extraStyles={`text-align: center;`}
156
+ >
157
+ {text}
158
+ </Text>
159
+ </Center>
160
+ ) : (
161
+ <Cover singleChild minHeight="100%">
162
+ <Cluster justify="center" align="center">
163
+ <PlusCircleIcon
206
164
  color={isDisabled ? MANATEE_GREY : themeValues.color}
207
- weight={FONT_WEIGHT_SEMIBOLD}
208
- extraStyles={`padding: 0 0 0 8px; text-align: center;`}
209
- >
210
- {text}
211
- </Text>
212
- </Center>
213
- </Cluster>
214
- </Cover>
215
- )}
216
- </Box>
217
- </Switcher>
218
- </Cluster>
219
- </Box>
220
- </Center>
221
- </Box>
222
- </PlaceholderContentWrapper>
223
- );
165
+ />
166
+ <Center intrinsic>
167
+ <Text
168
+ variant="pS"
169
+ color={
170
+ isDisabled ? MANATEE_GREY : themeValues.color
171
+ }
172
+ weight={FONT_WEIGHT_SEMIBOLD}
173
+ extraStyles={`padding: 0 0 0 8px; text-align: center;`}
174
+ >
175
+ {text}
176
+ </Text>
177
+ </Center>
178
+ </Cluster>
179
+ </Cover>
180
+ )}
181
+ </Box>
182
+ </Switcher>
183
+ </Cluster>
184
+ </Box>
185
+ </Center>
186
+ </Box>
187
+ </PlaceholderContentWrapper>
188
+ );
189
+ };
224
190
 
225
191
  export default themeComponent(
226
192
  Placeholder,
@@ -30,6 +30,7 @@ export const placeholder = () => (
30
30
  largeIcon={select(iconLabel, icons, defaultIcon, groupId)}
31
31
  key="placeholder"
32
32
  isDisabled={boolean("isDisabled", false, "props")}
33
+ action={() => console.log("placeholder action")}
33
34
  />
34
35
  );
35
36
 
@@ -1,7 +1,10 @@
1
1
  import React from "react";
2
+ import { number, boolean } from "@storybook/addon-knobs";
2
3
  import EditableList from "./EditableList";
3
4
  import page from "../../../../.storybook/page";
4
5
 
6
+ const groupId = "props";
7
+
5
8
  const story = page({
6
9
  title: "Components|Molecules/EditableList",
7
10
  Component: EditableList
@@ -12,7 +15,9 @@ export const editableList = () => {
12
15
  return (
13
16
  <EditableList
14
17
  as="h2"
15
- canRemove={false}
18
+ canRemove={boolean("Can Remove", false, groupId)}
19
+ canAdd={boolean("Can Add", true, groupId)}
20
+ canEdit={boolean("Can Edit", true, groupId)}
16
21
  title="Contact first name"
17
22
  titleWeight="600"
18
23
  editItem={() => console.log("edit click")}
@@ -20,7 +25,7 @@ export const editableList = () => {
20
25
  itemName="Contact first name"
21
26
  listPadding="0"
22
27
  renderItem={contactFirstName => contactFirstName}
23
- maxItems={1}
28
+ maxItems={number("Max Items", 2, groupId)}
24
29
  items={["Ronald"]}
25
30
  qaPrefix="Contact first name"
26
31
  ariaLabel="Contact first name"
@@ -1,23 +1,88 @@
1
1
  import React from "react";
2
2
 
3
- const AccountBillIcon = ({ color }) => (
3
+ const AccountBillIcon = () => (
4
4
  <svg
5
- width="48"
6
- height="48"
7
- viewBox="0 0 48 48"
8
- fill="none"
5
+ width="51px"
6
+ height="51px"
7
+ viewBox="0 0 81 81"
8
+ version="1.1"
9
9
  xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink"
10
11
  >
11
- <path
12
- d="M0 18C0 9.51472 0 5.27208 2.63604 2.63604C5.27208 0 9.51472 0 18 0H30C38.4853 0 42.7279 0 45.364 2.63604C48 5.27208 48 9.51472 48 18V30C48 38.4853 48 42.7279 45.364 45.364C42.7279 48 38.4853 48 30 48H18C9.51472 48 5.27208 48 2.63604 45.364C0 42.7279 0 38.4853 0 30V18Z"
13
- fill={color}
14
- />
15
- <path
12
+ <defs>
13
+ <circle id="account-bill-path-1" cx="33.5" cy="33.5" r="33.5"></circle>
14
+ <filter
15
+ x="-17.2%"
16
+ y="-14.2%"
17
+ width="134.3%"
18
+ height="134.3%"
19
+ filterUnits="objectBoundingBox"
20
+ id="account-bill-filter-2"
21
+ >
22
+ <feOffset
23
+ dx="0"
24
+ dy="-4"
25
+ in="SourceAlpha"
26
+ result="shadowOffsetOuter1"
27
+ ></feOffset>
28
+ <feColorMatrix
29
+ values="0 0 0 0 0.964705882 0 0 0 0 0.964705882 0 0 0 0 0.976470588 0 0 0 1 0"
30
+ type="matrix"
31
+ in="shadowOffsetOuter1"
32
+ result="shadowMatrixOuter1"
33
+ ></feColorMatrix>
34
+ <feOffset
35
+ dx="0"
36
+ dy="2"
37
+ in="SourceAlpha"
38
+ result="shadowOffsetOuter2"
39
+ ></feOffset>
40
+ <feGaussianBlur
41
+ stdDeviation="3.5"
42
+ in="shadowOffsetOuter2"
43
+ result="shadowBlurOuter2"
44
+ ></feGaussianBlur>
45
+ <feColorMatrix
46
+ values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
47
+ type="matrix"
48
+ in="shadowBlurOuter2"
49
+ result="shadowMatrixOuter2"
50
+ ></feColorMatrix>
51
+ <feMerge>
52
+ <feMergeNode in="shadowMatrixOuter1"></feMergeNode>
53
+ <feMergeNode in="shadowMatrixOuter2"></feMergeNode>
54
+ </feMerge>
55
+ </filter>
56
+ </defs>
57
+ <g
58
+ id="AccountBill"
59
+ stroke="none"
60
+ strokeWidth="1"
61
+ fill="none"
16
62
  fillRule="evenodd"
17
- clipRule="evenodd"
18
- d="M31.875 36C32.1875 36 32.4531 35.8906 32.6719 35.6719C32.8906 35.4531 33 35.1875 33 34.875V19.5H26.625C26.3125 19.5 26.0469 19.3906 25.8281 19.1719C25.6094 18.9531 25.5 18.6875 25.5 18.375V12H16.125C15.8125 12 15.5469 12.1094 15.3281 12.3281C15.1094 12.5469 15 12.8125 15 13.125V34.875C15 35.1875 15.1094 35.4531 15.3281 35.6719C15.5469 35.8906 15.8125 36 16.125 36H31.875ZM33 18V17.7188C33 17.4062 32.8906 17.1406 32.6719 16.9219L28.0781 12.3281C27.8594 12.1094 27.5937 12 27.2812 12H27V18H33ZM18.375 16.5H22.125C22.2187 16.5 22.3047 16.4609 22.3828 16.3828C22.4609 16.3047 22.5 16.2188 22.5 16.125V15.375C22.5 15.2813 22.4609 15.1953 22.3828 15.1172C22.3047 15.0391 22.2187 15 22.125 15H18.375C18.2812 15 18.1953 15.0391 18.1172 15.1172C18.0391 15.1953 18 15.2813 18 15.375V16.125C18 16.2188 18.0391 16.3047 18.1172 16.3828C18.1953 16.4609 18.2812 16.5 18.375 16.5ZM22.125 19.5H18.375C18.2812 19.5 18.1953 19.4609 18.1172 19.3828C18.0391 19.3047 18 19.2188 18 19.125V18.375C18 18.2813 18.0391 18.1953 18.1172 18.1172C18.1953 18.0391 18.2812 18 18.375 18H22.125C22.2187 18 22.3047 18.0391 22.3828 18.1172C22.4609 18.1953 22.5 18.2813 22.5 18.375V19.125C22.5 19.2188 22.4609 19.3047 22.3828 19.3828C22.3047 19.4609 22.2187 19.5 22.125 19.5ZM23.625 33H24.375C24.4687 33 24.5547 32.9609 24.6328 32.8828C24.7109 32.8047 24.75 32.7188 24.75 32.625V31.5C25.3125 31.4688 25.7891 31.25 26.1797 30.8438C26.5703 30.4375 26.7656 29.9531 26.7656 29.3906C26.7656 28.9219 26.625 28.5 26.3437 28.125C26.0625 27.75 25.7031 27.4844 25.2656 27.3281L23.1562 26.7188C23.0312 26.6875 22.9297 26.6172 22.8516 26.5078C22.7734 26.3984 22.7344 26.2656 22.7344 26.1094C22.7344 25.9531 22.7891 25.8125 22.8984 25.6875C23.0078 25.5625 23.1406 25.5 23.2969 25.5H24.6094C24.8281 25.5 25.0312 25.5547 25.2187 25.6641C25.4062 25.7734 25.5625 25.7656 25.6875 25.6406L26.25 25.125C26.3437 25.0313 26.3828 24.9297 26.3672 24.8203C26.3516 24.7109 26.2969 24.625 26.2031 24.5625C25.7656 24.2188 25.2812 24.0313 24.75 24V22.875C24.75 22.7813 24.7109 22.6953 24.6328 22.6172C24.5547 22.5391 24.4687 22.5 24.375 22.5H23.625C23.5312 22.5 23.4453 22.5391 23.3672 22.6172C23.2891 22.6953 23.25 22.7813 23.25 22.875V24C22.6875 24.0313 22.2109 24.25 21.8203 24.6563C21.4297 25.0625 21.2344 25.5469 21.2344 26.1094C21.2344 26.5781 21.375 27 21.6562 27.375C21.9375 27.75 22.2969 28.0156 22.7344 28.1719L24.8437 28.7812C24.9687 28.8125 25.0703 28.8828 25.1484 28.9922C25.2266 29.1016 25.2656 29.2344 25.2656 29.3906C25.2656 29.5469 25.2109 29.6875 25.1016 29.8125C24.9922 29.9375 24.8594 30 24.7031 30H23.3906C23.1719 30 22.9687 29.9453 22.7812 29.8359C22.5937 29.7266 22.4375 29.7344 22.3125 29.8594L21.75 30.375C21.6562 30.4688 21.6172 30.5703 21.6328 30.6797C21.6484 30.7891 21.7031 30.875 21.7969 30.9375C22.2344 31.2812 22.7187 31.4688 23.25 31.5V32.625C23.25 32.7188 23.2891 32.8047 23.3672 32.8828C23.4453 32.9609 23.5312 33 23.625 33Z"
19
- fill="#FEFEFE"
20
- />
63
+ >
64
+ <g id="AccountBillIcon" transform="translate(7.000000, 5.000000)">
65
+ <g id="Oval-Copy-6">
66
+ <use
67
+ fill="black"
68
+ fillOpacity="1"
69
+ filter="url(#account-bill-filter-2)"
70
+ xlinkHref="#account-bill-path-1"
71
+ ></use>
72
+ <use
73
+ fill="#FFFFFF"
74
+ fillRule="evenodd"
75
+ xlinkHref="#account-bill-path-1"
76
+ ></use>
77
+ </g>
78
+ <path
79
+ d="M45.9999428,26.0000477 L45.9999428,25.6250486 C45.9999428,25.2083826 45.8541101,24.8542174 45.5624438,24.5625511 L45.5624438,24.5625511 L39.4374584,18.4375657 C39.1457921,18.1458994 38.791627,18.0000668 38.374961,18.0000668 L38.374961,18.0000668 L37.9999619,18.0000668 L37.9999619,26.0000477 L45.9999428,26.0000477 Z M44.4999464,49.9999905 C44.9166123,49.9999905 45.2707775,49.8541578 45.5624438,49.5624915 C45.8541101,49.2708252 45.9999428,48.91666 45.9999428,48.499994 L45.9999428,48.499994 L45.9999428,28.0000429 L37.499963,28.0000429 C37.0832971,28.0000429 36.7291319,27.8542102 36.4374656,27.562544 C36.1457993,27.2708777 35.9999666,26.9167125 35.9999666,26.5000465 L35.9999666,26.5000465 L35.9999666,18.0000668 L23.5,18.0000668 C23.0833304,18.0000668 22.7291652,18.1458994 22.437499,18.4375657 C22.1458327,18.729232 22,19.0833972 22,19.5000668 L22,19.5000668 L22,48.499994 C22,48.91666 22.1458327,49.2708252 22.437499,49.5624915 C22.7291652,49.8541578 23.0833304,49.9999905 23.5,49.9999905 L23.5,49.9999905 L44.4999464,49.9999905 Z M31.4999774,24.0000572 L26.4999905,24.0000572 C26.3749896,24.0000572 26.2604068,23.9479696 26.1562401,23.8438028 C26.0520734,23.7396361 25.9999905,23.6250533 25.9999905,23.5000572 L25.9999905,23.5000572 L25.9999905,22.5000572 C25.9999905,22.3750563 26.0520734,22.2604736 26.1562401,22.1563068 C26.2604068,22.0521401 26.3749896,22.0000572 26.4999905,22.0000572 L26.4999905,22.0000572 L31.4999774,22.0000572 C31.6249771,22.0000572 31.7395598,22.0521401 31.8437265,22.1563068 C31.9478933,22.2604736 31.9999762,22.3750563 31.9999762,22.5000572 L31.9999762,22.5000572 L31.9999762,23.5000572 C31.9999762,23.6250533 31.9478933,23.7396361 31.8437265,23.8438028 C31.7395598,23.9479696 31.6249771,24.0000572 31.4999774,24.0000572 L31.4999774,24.0000572 Z M31.4999774,28.0000477 L26.4999905,28.0000477 C26.3749896,28.0000477 26.2604068,27.94796 26.1562401,27.8437933 C26.0520734,27.7396266 25.9999905,27.6250438 25.9999905,27.5000477 L25.9999905,27.5000477 L25.9999905,26.5000477 C25.9999905,26.3750468 26.0520734,26.260464 26.1562401,26.1562973 C26.2604068,26.0521306 26.3749896,26.0000477 26.4999905,26.0000477 L26.4999905,26.0000477 L31.4999774,26.0000477 C31.6249771,26.0000477 31.7395598,26.0521306 31.8437265,26.1562973 C31.9478933,26.260464 31.9999762,26.3750468 31.9999762,26.5000477 L31.9999762,26.5000477 L31.9999762,27.5000477 C31.9999762,27.6250438 31.9478933,27.7396266 31.8437265,27.8437933 C31.7395598,27.94796 31.6249771,28.0000477 31.4999774,28.0000477 L31.4999774,28.0000477 Z M34.4999702,46 L33.4999726,46 C33.3749729,46 33.2603901,45.9479171 33.1562234,45.8437504 C33.0520567,45.7395836 32.9999738,45.6250009 32.9999738,45.5000012 L32.9999738,45.5000012 L32.9999738,44.0000048 C32.2916424,43.9583379 31.64581,43.7083385 31.0624784,43.2500066 C30.9374787,43.1666737 30.8645619,43.05209 30.8437289,42.9062574 C30.8228959,42.7604247 30.8749788,42.625008 30.9999785,42.5000083 L30.9999785,42.5000083 L31.7499768,41.81251 C31.9166433,41.6458434 32.1249759,41.6354274 32.3749753,41.7812601 C32.6249747,41.9270927 32.895807,42.0000095 33.1874733,42.0000095 L33.1874733,42.0000095 L34.9374692,42.0000095 C35.1458017,42.0000095 35.3228852,41.9166767 35.4687179,41.7500101 C35.6145506,41.5833435 35.6874674,41.395844 35.6874674,41.1875115 C35.6874674,40.979179 35.6353845,40.8020954 35.5312177,40.6562627 C35.427051,40.5104301 35.2916353,40.4166803 35.1249687,40.3750134 L35.1249687,40.3750134 L32.3124802,39.5625153 C31.7291438,39.3541828 31.2499779,39.0000167 30.8749788,38.5000179 C30.4999797,38.0000191 30.3124802,37.4375204 30.3124802,36.8125219 C30.3124802,36.0625237 30.5728965,35.4166922 31.0937283,34.8750265 C31.6145601,34.3333608 32.2499756,34.0416955 32.9999738,34.0000334 L32.9999738,34.0000334 L32.9999738,32.5000334 C32.9999738,32.3750325 33.0520567,32.2604497 33.1562234,32.156283 C33.2603901,32.0521163 33.3749729,32.0000334 33.4999726,32.0000334 L33.4999726,32.0000334 L34.4999702,32.0000334 C34.6249699,32.0000334 34.7395526,32.0521163 34.8437194,32.156283 C34.9478861,32.2604497 34.999969,32.3750325 34.999969,32.5000334 L34.999969,32.5000334 L34.999969,34.0000334 C35.7083003,34.0416955 36.3541328,34.2916949 36.9374644,34.7500268 C37.0624641,34.8333596 37.1353809,34.9479433 37.1562139,35.093776 C37.1770468,35.2396087 37.1249639,35.3750253 36.9999642,35.5000334 L36.9999642,35.5000334 L36.249966,36.1875234 C36.0832994,36.35419 35.8749669,36.364606 35.6249675,36.2187733 C35.3749681,36.0729407 35.1041357,36.0000334 34.8124695,36.0000334 L34.8124695,36.0000334 L33.0624736,36.0000334 C32.8541411,36.0000334 32.6770576,36.0833567 32.5312249,36.2500232 C32.3853922,36.4166898 32.3124802,36.6041894 32.3124802,36.8125219 C32.3124802,37.0208544 32.3645583,37.197938 32.468725,37.3437706 C32.5728918,37.4896033 32.7083075,37.5833531 32.8749741,37.62502 L32.8749741,37.62502 L35.6874674,38.437518 C36.270799,38.6458505 36.7499648,39.0000167 37.1249639,39.5000155 C37.499963,40.0000143 37.6874626,40.562513 37.6874626,41.1875115 C37.6874626,41.9375097 37.4270462,42.5833412 36.9062145,43.1250069 C36.3853827,43.6666725 35.7499672,43.9583379 34.999969,44.0000048 L34.999969,44.0000048 L34.999969,45.5000012 C34.999969,45.6250009 34.9478861,45.7395836 34.8437194,45.8437504 C34.7395526,45.9479171 34.6249699,46 34.4999702,46 L34.4999702,46 Z"
80
+ id="f"
81
+ fill="#292A33"
82
+ fillRule="nonzero"
83
+ ></path>
84
+ </g>
85
+ </g>
21
86
  </svg>
22
87
  );
23
88
 
@@ -1,23 +1,98 @@
1
1
  import React from "react";
2
2
 
3
- const AccountConstructionIcon = ({ color }) => (
3
+ const AccountConstructionIcon = () => (
4
4
  <svg
5
- width="48"
6
- height="48"
7
- viewBox="0 0 48 48"
8
- fill="none"
5
+ width="51px"
6
+ height="51px"
7
+ viewBox="0 0 81 81"
8
+ version="1.1"
9
9
  xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink"
10
11
  >
11
- <path
12
- d="M0 18C0 9.51472 0 5.27208 2.63604 2.63604C5.27208 0 9.51472 0 18 0H30C38.4853 0 42.7279 0 45.364 2.63604C48 5.27208 48 9.51472 48 18V30C48 38.4853 48 42.7279 45.364 45.364C42.7279 48 38.4853 48 30 48H18C9.51472 48 5.27208 48 2.63604 45.364C0 42.7279 0 38.4853 0 30V18Z"
13
- fill={color}
14
- />
15
- <path
12
+ <defs>
13
+ <circle
14
+ id="account-construction-path-1"
15
+ cx="33.5"
16
+ cy="33.5"
17
+ r="33.5"
18
+ ></circle>
19
+ <filter
20
+ x="-17.2%"
21
+ y="-14.2%"
22
+ width="134.3%"
23
+ height="134.3%"
24
+ filterUnits="objectBoundingBox"
25
+ id="account-construction-filter-2"
26
+ >
27
+ <feOffset
28
+ dx="0"
29
+ dy="-4"
30
+ in="SourceAlpha"
31
+ result="shadowOffsetOuter1"
32
+ ></feOffset>
33
+ <feColorMatrix
34
+ values="0 0 0 0 0.964705882 0 0 0 0 0.964705882 0 0 0 0 0.976470588 0 0 0 1 0"
35
+ type="matrix"
36
+ in="shadowOffsetOuter1"
37
+ result="shadowMatrixOuter1"
38
+ ></feColorMatrix>
39
+ <feOffset
40
+ dx="0"
41
+ dy="2"
42
+ in="SourceAlpha"
43
+ result="shadowOffsetOuter2"
44
+ ></feOffset>
45
+ <feGaussianBlur
46
+ stdDeviation="3.5"
47
+ in="shadowOffsetOuter2"
48
+ result="shadowBlurOuter2"
49
+ ></feGaussianBlur>
50
+ <feColorMatrix
51
+ values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
52
+ type="matrix"
53
+ in="shadowBlurOuter2"
54
+ result="shadowMatrixOuter2"
55
+ ></feColorMatrix>
56
+ <feMerge>
57
+ <feMergeNode in="shadowMatrixOuter1"></feMergeNode>
58
+ <feMergeNode in="shadowMatrixOuter2"></feMergeNode>
59
+ </feMerge>
60
+ </filter>
61
+ </defs>
62
+ <g
63
+ id="account-construction-Profile-/-Icons"
64
+ stroke="none"
65
+ strokeWidth="1"
66
+ fill="none"
16
67
  fillRule="evenodd"
17
- clipRule="evenodd"
18
- d="M31.875 36C32.1875 36 32.4531 35.8906 32.6719 35.6719C32.8906 35.4531 33 35.1875 33 34.875V19.5H26.625C26.3125 19.5 26.0469 19.3906 25.8281 19.1719C25.6094 18.9531 25.5 18.6875 25.5 18.375V12H16.125C15.8125 12 15.5469 12.1094 15.3281 12.3281C15.1094 12.5469 15 12.8125 15 13.125V34.875C15 35.1875 15.1094 35.4531 15.3281 35.6719C15.5469 35.8906 15.8125 36 16.125 36H31.875ZM33 18V17.7188C33 17.4062 32.8906 17.1406 32.6719 16.9219L28.0781 12.3281C27.8594 12.1094 27.5937 12 27.2812 12H27V18H33ZM18.375 16.5H22.125C22.2187 16.5 22.3047 16.4609 22.3828 16.3828C22.4609 16.3047 22.5 16.2188 22.5 16.125V15.375C22.5 15.2813 22.4609 15.1953 22.3828 15.1172C22.3047 15.0391 22.2187 15 22.125 15H18.375C18.2812 15 18.1953 15.0391 18.1172 15.1172C18.0391 15.1953 18 15.2813 18 15.375V16.125C18 16.2188 18.0391 16.3047 18.1172 16.3828C18.1953 16.4609 18.2812 16.5 18.375 16.5ZM22.125 19.5H18.375C18.2812 19.5 18.1953 19.4609 18.1172 19.3828C18.0391 19.3047 18 19.2188 18 19.125V18.375C18 18.2813 18.0391 18.1953 18.1172 18.1172C18.1953 18.0391 18.2812 18 18.375 18H22.125C22.2187 18 22.3047 18.0391 22.3828 18.1172C22.4609 18.1953 22.5 18.2813 22.5 18.375V19.125C22.5 19.2188 22.4609 19.3047 22.3828 19.3828C22.3047 19.4609 22.2187 19.5 22.125 19.5ZM23.625 33H24.375C24.4687 33 24.5547 32.9609 24.6328 32.8828C24.7109 32.8047 24.75 32.7188 24.75 32.625V31.5C25.3125 31.4688 25.7891 31.25 26.1797 30.8438C26.5703 30.4375 26.7656 29.9531 26.7656 29.3906C26.7656 28.9219 26.625 28.5 26.3437 28.125C26.0625 27.75 25.7031 27.4844 25.2656 27.3281L23.1562 26.7188C23.0312 26.6875 22.9297 26.6172 22.8516 26.5078C22.7734 26.3984 22.7344 26.2656 22.7344 26.1094C22.7344 25.9531 22.7891 25.8125 22.8984 25.6875C23.0078 25.5625 23.1406 25.5 23.2969 25.5H24.6094C24.8281 25.5 25.0312 25.5547 25.2187 25.6641C25.4062 25.7734 25.5625 25.7656 25.6875 25.6406L26.25 25.125C26.3437 25.0313 26.3828 24.9297 26.3672 24.8203C26.3516 24.7109 26.2969 24.625 26.2031 24.5625C25.7656 24.2188 25.2812 24.0313 24.75 24V22.875C24.75 22.7813 24.7109 22.6953 24.6328 22.6172C24.5547 22.5391 24.4687 22.5 24.375 22.5H23.625C23.5312 22.5 23.4453 22.5391 23.3672 22.6172C23.2891 22.6953 23.25 22.7813 23.25 22.875V24C22.6875 24.0313 22.2109 24.25 21.8203 24.6563C21.4297 25.0625 21.2344 25.5469 21.2344 26.1094C21.2344 26.5781 21.375 27 21.6562 27.375C21.9375 27.75 22.2969 28.0156 22.7344 28.1719L24.8437 28.7812C24.9687 28.8125 25.0703 28.8828 25.1484 28.9922C25.2266 29.1016 25.2656 29.2344 25.2656 29.3906C25.2656 29.5469 25.2109 29.6875 25.1016 29.8125C24.9922 29.9375 24.8594 30 24.7031 30H23.3906C23.1719 30 22.9687 29.9453 22.7812 29.8359C22.5937 29.7266 22.4375 29.7344 22.3125 29.8594L21.75 30.375C21.6562 30.4688 21.6172 30.5703 21.6328 30.6797C21.6484 30.7891 21.7031 30.875 21.7969 30.9375C22.2344 31.2812 22.7187 31.4688 23.25 31.5V32.625C23.25 32.7188 23.2891 32.8047 23.3672 32.8828C23.4453 32.9609 23.5312 33 23.625 33Z"
19
- fill="#FEFEFE"
20
- />
68
+ >
69
+ <g id="Outlined" transform="translate(-91.000000, -681.000000)">
70
+ <g
71
+ id="account-construction-Profile-Obligation-Icon-/-Account---Construction"
72
+ transform="translate(98.000000, 686.000000)"
73
+ >
74
+ <g id="Oval-Copy-6">
75
+ <use
76
+ fill="black"
77
+ fillOpacity="1"
78
+ filter="url(#account-construction-filter-2)"
79
+ xlinkHref="#account-construction-path-1"
80
+ ></use>
81
+ <use
82
+ fill="#FFFFFF"
83
+ fillRule="evenodd"
84
+ xlinkHref="#account-construction-path-1"
85
+ ></use>
86
+ </g>
87
+ <path
88
+ d="M45.34368,37.5000203 C45.6145124,37.5000203 45.8540958,37.3958535 46.0624283,37.187521 L46.0624283,37.187521 L51.6874149,31.5625344 C51.8957474,31.3542019 51.9999142,31.1146185 51.9999142,30.8437861 C51.9999142,30.5729538 51.8957474,30.3333704 51.6874149,30.1250378 L51.6874149,30.1250378 L50.3124182,28.6875413 C50.1040857,28.5208747 49.8645023,28.4375419 49.5936699,28.4375419 C49.3228375,28.4375419 49.0832541,28.5208747 48.8749216,28.6875413 L48.8749216,28.6875413 L48.1874233,29.4375395 L46.3749276,27.6250438 C46.5415942,26.9167125 46.5415942,26.2187972 46.3749276,25.5312988 C46.208261,24.8438004 45.8540958,24.2500519 45.3124301,23.750053 L45.3124301,23.750053 L42.246743,20.6849214 C41.0502644,19.5325165 39.6450828,18.7521483 38.0311975,18.3438159 C36.3020346,17.906317 34.5832887,17.906317 32.8749598,18.3438159 C31.1666308,18.7813149 29.6666344,19.6458958 28.3749705,20.9375598 L28.3749705,20.9375598 L33.9999571,23.750053 L33.9999571,24.9375502 C33.9999571,26.0208806 34.3957892,26.9583784 35.1874543,27.7500435 L35.1874543,27.7500435 L38.249947,30.8125362 C38.7916126,31.3542019 39.4061942,31.7083671 40.0936926,31.8750337 C40.7811909,32.0417003 41.4582723,32.0417003 42.1249377,31.8750337 L42.1249377,31.8750337 L43.9374334,33.6250295 L43.249935,34.3750277 C43.0416025,34.5416943 42.9374358,34.7708598 42.9374358,35.0625261 C42.9374358,35.3541924 43.0416025,35.5833579 43.249935,35.7500244 L43.249935,35.7500244 L44.6249318,37.187521 C44.8332643,37.3958535 45.0728477,37.5000203 45.34368,37.5000203 Z M19.9374906,49.9999905 C21.020821,49.9999905 21.9374858,49.5833245 22.6874841,48.7499934 L22.6874841,48.7499934 L37.5624486,32.8125314 C37.2707823,32.6041989 37.0416168,32.4166994 36.8749502,32.2500328 L36.8749502,32.2500328 L33.8124575,29.1875401 C33.604125,28.9792076 33.3957915,28.7292082 33.187459,28.4375419 L33.187459,28.4375419 L17.249997,43.3125064 C16.416666,44.0625046 16,44.9791694 16,46.0624999 C16,47.1458303 16.3854161,48.072912 17.1562472,48.8437432 C17.9270784,49.6145744 18.8541602,49.9999905 19.9374906,49.9999905 Z"
89
+ id="account-construction-h"
90
+ fill="#292A33"
91
+ fillRule="nonzero"
92
+ ></path>
93
+ </g>
94
+ </g>
95
+ </g>
21
96
  </svg>
22
97
  );
23
98