@thecb/components 10.7.3 → 10.7.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.
- package/dist/index.cjs.js +68 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +66 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
- package/src/components/atoms/icons/OverageIcon.js +27 -0
- package/src/components/atoms/icons/ReversalNeededIcon.js +27 -0
- package/src/components/atoms/icons/ShortageIcon.js +21 -0
- package/src/components/atoms/icons/icons.stories.js +37 -31
- package/src/components/atoms/icons/index.js +7 -1
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const OverageIcon = () => (
|
|
4
|
+
<svg
|
|
5
|
+
width="32"
|
|
6
|
+
height="32"
|
|
7
|
+
viewBox="0 0 32 32"
|
|
8
|
+
fill="none"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
>
|
|
11
|
+
<circle
|
|
12
|
+
cx="16"
|
|
13
|
+
cy="16"
|
|
14
|
+
r="16"
|
|
15
|
+
transform="rotate(-180 16 16)"
|
|
16
|
+
fill="#D11053"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M15.6465 7.15426L9.7539 13.0468C9.55864 13.2421 9.55864 13.5587 9.7539 13.7539L10.461 14.461C10.6563 14.6563 10.9728 14.6563 11.1681 14.461L15 10.6291L15 20.6667H11.8333C11.5572 20.6667 11.3333 20.8905 11.3333 21.1667L11.3333 22.1667C11.3333 22.4428 11.5572 22.6667 11.8333 22.6667L20.1667 22.6667C20.4428 22.6667 20.6667 22.4428 20.6667 22.1667V21.1667C20.6667 20.8905 20.4428 20.6667 20.1667 20.6667H17L17 10.6291L20.8319 14.461C21.0272 14.6563 21.3437 14.6563 21.539 14.461L22.2461 13.7539C22.4414 13.5587 22.4414 13.2421 22.2461 13.0468L16.3536 7.15426C16.1583 6.959 15.8417 6.959 15.6465 7.15426Z"
|
|
22
|
+
fill="white"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
export default OverageIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const ReversalNeededIcon = () => (
|
|
4
|
+
<svg
|
|
5
|
+
width="32"
|
|
6
|
+
height="32"
|
|
7
|
+
viewBox="0 0 32 32"
|
|
8
|
+
fill="none"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
>
|
|
11
|
+
<circle cx="16" cy="16" r="16" fill="#D11053" />
|
|
12
|
+
<path
|
|
13
|
+
d="M14.4167 14.2222H13.5833C13.4453 14.2222 13.3333 14.1103 13.3333 13.9722V11.6667C13.3333 11.1144 13.781 10.6667 14.3333 10.6667H23C23.5523 10.6667 24 11.1144 24 11.6667V20.3333C24 20.8856 23.5523 21.3333 23 21.3333H14.3333C13.781 21.3333 13.3333 20.8856 13.3333 20.3333V18.0278C13.3333 17.8897 13.4453 17.7778 13.5833 17.7778H14.4167C14.5547 17.7778 14.6667 17.8897 14.6667 18.0278V20H22.6667V11.8518H14.6667V13.9722C14.6667 14.1103 14.5547 14.2222 14.4167 14.2222Z"
|
|
14
|
+
fill="white"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
d="M9.8706 11.4627L5.51011 15.8232C5.41248 15.9209 5.41248 16.0791 5.51011 16.1768L9.8706 20.5373C9.96823 20.6349 10.1265 20.6349 10.2242 20.5373L10.8134 19.948C10.911 19.8504 10.911 19.6921 10.8134 19.5945L7.39573 16.1768C7.2981 16.0791 7.2981 15.9209 7.39573 15.8232L10.8134 12.4055C10.911 12.3079 10.911 12.1496 10.8134 12.052L10.2242 11.4627C10.1265 11.3651 9.96823 11.3651 9.8706 11.4627Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d="M6.66667 15.5833C6.66667 15.4453 6.7786 15.3333 6.91667 15.3333L18.4167 15.3333C18.5547 15.3333 18.6667 15.4453 18.6667 15.5833L18.6667 16.4167C18.6667 16.5547 18.5547 16.6667 18.4167 16.6667L6.91667 16.6667C6.7786 16.6667 6.66667 16.5547 6.66667 16.4167L6.66667 15.5833Z"
|
|
22
|
+
fill="white"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
export default ReversalNeededIcon;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const ShortageIcon = () => (
|
|
4
|
+
<svg
|
|
5
|
+
width="32"
|
|
6
|
+
height="32"
|
|
7
|
+
viewBox="0 0 32 32"
|
|
8
|
+
fill="none"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
>
|
|
11
|
+
<circle cx="16" cy="16" r="16" fill="#D11053" />
|
|
12
|
+
<path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M11.3333 9.83331C11.3333 9.55717 11.5572 9.33331 11.8333 9.33331H20.1667C20.4428 9.33331 20.6667 9.55717 20.6667 9.83331V10.8333C20.6667 11.1095 20.4428 11.3333 20.1667 11.3333H17V21.3709L20.8319 17.539C21.0272 17.3437 21.3437 17.3437 21.539 17.539L22.2461 18.2461C22.4414 18.4414 22.4414 18.7579 22.2461 18.9532L16.3535 24.8458C16.1583 25.041 15.8417 25.041 15.6464 24.8458L9.75388 18.9532C9.55862 18.7579 9.55862 18.4414 9.75388 18.2461L10.461 17.539C10.6563 17.3437 10.9728 17.3437 11.1681 17.539L15 21.3709V11.3333H11.8333C11.5572 11.3333 11.3333 11.1095 11.3333 10.8333V9.83331Z"
|
|
16
|
+
fill="white"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export default ShortageIcon;
|
|
@@ -46,7 +46,10 @@ import {
|
|
|
46
46
|
TrashIconV2,
|
|
47
47
|
DisabledPropertiesAddIcon,
|
|
48
48
|
DisabledAccountsAddIcon,
|
|
49
|
-
DisabledPaymentMethodsAddIcon
|
|
49
|
+
DisabledPaymentMethodsAddIcon,
|
|
50
|
+
ReversalNeededIcon,
|
|
51
|
+
OverageIcon,
|
|
52
|
+
ShortageIcon
|
|
50
53
|
} from "./index";
|
|
51
54
|
|
|
52
55
|
const story = page({
|
|
@@ -55,50 +58,53 @@ const story = page({
|
|
|
55
58
|
});
|
|
56
59
|
export default story;
|
|
57
60
|
|
|
58
|
-
export const
|
|
61
|
+
export const accountNumberImage = () => <AccountNumberImage />;
|
|
59
62
|
export const accountsAddIcon = () => <AccountsAddIcon />;
|
|
60
|
-
export const
|
|
61
|
-
export const goToEmailIcon = () => <GoToEmailIcon />;
|
|
62
|
-
export const plusCircleIcon = () => <PlusCircleIcon />;
|
|
63
|
-
export const verifiedEmailIcon = () => <VerifiedEmailIcon />;
|
|
64
|
-
export const paymentMethodIcon = () => <PaymentMethodIcon />;
|
|
63
|
+
export const accountsIcon = () => <AccountsIcon />;
|
|
65
64
|
export const accountsIconSmall = () => <AccountsIconSmall />;
|
|
66
|
-
export const paymentsIconSmall = () => <PaymentsIconSmall />;
|
|
67
|
-
export const profileIconSmall = () => <ProfileIconSmall />;
|
|
68
|
-
export const settingsIconSmall = () => <SettingsIconSmall />;
|
|
69
|
-
export const chevronIcon = () => <ChevronIcon />;
|
|
70
|
-
export const propertiesAddIcon = () => <PropertiesAddIcon />;
|
|
71
|
-
export const propertiesIconSmall = () => <PropertiesIconSmall />;
|
|
72
|
-
export const accountNumberImage = () => <AccountNumberImage />;
|
|
73
|
-
export const routingNumberImage = () => <RoutingNumberImage />;
|
|
74
|
-
export const checkmarkIcon = () => <CheckmarkIcon />;
|
|
75
|
-
export const bankIcon = () => <BankIcon />;
|
|
76
|
-
export const genericCard = () => <GenericCard />;
|
|
77
|
-
export const autopayOnIcon = () => <AutopayOnIcon />;
|
|
78
|
-
export const searchIcon = () => <SearchIcon />;
|
|
79
65
|
export const achReturnIcon = () => <AchReturnIcon />;
|
|
80
66
|
export const allocatedIcon = () => <AllocatedIcon />;
|
|
67
|
+
export const autopayIcon = () => <AutopayIcon />;
|
|
68
|
+
export const autopayOnIcon = () => <AutopayOnIcon />;
|
|
69
|
+
export const bankIcon = () => <BankIcon />;
|
|
81
70
|
export const calendarIcon = () => <CalendarIcon />;
|
|
82
71
|
export const chargebackIcon = () => <ChargebackIcon />;
|
|
83
72
|
export const chargebackReversalIcon = () => <ChargebackReversalIcon />;
|
|
73
|
+
export const checkmarkIcon = () => <CheckmarkIcon />;
|
|
74
|
+
export const chevronIcon = () => <ChevronIcon />;
|
|
75
|
+
export const closeIcon = () => <CloseIcon />;
|
|
76
|
+
export const disabledAccountsAddIcon = () => <DisabledAccountsAddIcon />;
|
|
77
|
+
export const disabledPaymentMethodsAddIcon = () => (
|
|
78
|
+
<DisabledPaymentMethodsAddIcon />
|
|
79
|
+
);
|
|
80
|
+
export const disabledPropertiesAddIcon = () => <DisabledPropertiesAddIcon />;
|
|
84
81
|
export const duplicateIcon = () => <DuplicateIcon />;
|
|
85
82
|
export const erroredIcon = () => <ErroredIcon />;
|
|
86
83
|
export const failedIcon = () => <FailedIcon />;
|
|
84
|
+
export const forgotPasswordIcon = () => <ForgotPasswordIcon />;
|
|
85
|
+
export const genericCard = () => <GenericCard />;
|
|
86
|
+
export const goToEmailIcon = () => <GoToEmailIcon />;
|
|
87
|
+
export const kebabMenuIcon = () => <KebabMenuIcon />;
|
|
88
|
+
export const multiCartIcon = () => <MultiCartIcon />;
|
|
89
|
+
export const overageIcon = () => <OverageIcon />;
|
|
90
|
+
export const paymentMethodIcon = () => <PaymentMethodIcon />;
|
|
91
|
+
export const paymentsIconSmall = () => <PaymentsIconSmall />;
|
|
87
92
|
export const pencilIcon = () => <PencilIcon />;
|
|
88
93
|
export const pendingIcon = () => <PendingIcon />;
|
|
94
|
+
export const plusCircleIcon = () => <PlusCircleIcon />;
|
|
95
|
+
export const profileIconSmall = () => <ProfileIconSmall />;
|
|
96
|
+
export const propertiesAddIcon = () => <PropertiesAddIcon />;
|
|
97
|
+
export const propertiesIconSmall = () => <PropertiesIconSmall />;
|
|
89
98
|
export const refundIcon = () => <RefundIcon />;
|
|
90
99
|
export const rejectedIcon = () => <RejectedIcon />;
|
|
91
100
|
export const rejectedVelocityIcon = () => <RejectedVelocityIcon />;
|
|
92
|
-
export const
|
|
93
|
-
export const
|
|
101
|
+
export const reversalNeededIcon = () => <ReversalNeededIcon />;
|
|
102
|
+
export const routingNumberImage = () => <RoutingNumberImage />;
|
|
103
|
+
export const searchIcon = () => <SearchIcon />;
|
|
104
|
+
export const settingsIconSmall = () => <SettingsIconSmall />;
|
|
105
|
+
export const shortageIcon = () => <ShortageIcon />;
|
|
94
106
|
export const statusUnknownIcon = () => <StatusUnknownIcon />;
|
|
95
|
-
export const
|
|
96
|
-
export const kebabMenuIcon = () => <KebabMenuIcon />;
|
|
97
|
-
export const multiCartIcon = () => <MultiCartIcon />;
|
|
98
|
-
export const closeIcon = () => <CloseIcon />;
|
|
107
|
+
export const successfulIcon = () => <SuccessfulIcon />;
|
|
99
108
|
export const trashIconV2 = () => <TrashIconV2 />;
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
102
|
-
export const disabledPaymentMethodsAddIcon = () => (
|
|
103
|
-
<DisabledPaymentMethodsAddIcon />
|
|
104
|
-
);
|
|
109
|
+
export const verifiedEmailIcon = () => <VerifiedEmailIcon />;
|
|
110
|
+
export const voidedIcon = () => <VoidedIcon />;
|
|
@@ -94,6 +94,9 @@ import TrashIconV2 from "./TrashIconV2";
|
|
|
94
94
|
import DisabledAccountsAddIcon from "./DisabledAccountsAddIcon";
|
|
95
95
|
import DisabledPropertiesAddIcon from "./DisabledPropertiesAddIcon";
|
|
96
96
|
import DisabledPaymentMethodsAddIcon from "./DisabledPaymentMethodsAddIcon";
|
|
97
|
+
import ReversalNeededIcon from "./ReversalNeededIcon";
|
|
98
|
+
import OverageIcon from "./OverageIcon";
|
|
99
|
+
import ShortageIcon from "./ShortageIcon";
|
|
97
100
|
|
|
98
101
|
export {
|
|
99
102
|
AccountsIcon,
|
|
@@ -191,5 +194,8 @@ export {
|
|
|
191
194
|
TrashIconV2,
|
|
192
195
|
DisabledAccountsAddIcon,
|
|
193
196
|
DisabledPropertiesAddIcon,
|
|
194
|
-
DisabledPaymentMethodsAddIcon
|
|
197
|
+
DisabledPaymentMethodsAddIcon,
|
|
198
|
+
ReversalNeededIcon,
|
|
199
|
+
OverageIcon,
|
|
200
|
+
ShortageIcon
|
|
195
201
|
};
|