@thecb/components 7.10.1 → 7.10.2
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 +21 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +21 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/PencilIcon.js +22 -0
- package/src/components/atoms/icons/icons.stories.js +2 -0
- package/src/components/atoms/icons/index.js +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { fallbackValues } from "./Icons.theme";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
|
|
5
|
+
const PencilIcon = ({ ariaLabel = "Edit", themeValues }) => (
|
|
6
|
+
<svg
|
|
7
|
+
aria-label={ariaLabel}
|
|
8
|
+
width="24px"
|
|
9
|
+
height="24px"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<path
|
|
14
|
+
fillRule="evenodd"
|
|
15
|
+
clipRule="evenodd"
|
|
16
|
+
d="M19.74 6.84a.885.885 0 0 1 0 1.253l-1.626 1.626-3.333-3.333 1.626-1.626a.885.885 0 0 1 1.253 0l2.08 2.08ZM4 20.5v-3.333l9.83-9.83 3.333 3.333-9.83 9.83H4Z"
|
|
17
|
+
fill={themeValues.subIconColor}
|
|
18
|
+
/>
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export default themeComponent(PencilIcon, "Icons", fallbackValues, "info");
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
DuplicateIcon,
|
|
32
32
|
ErroredIcon,
|
|
33
33
|
FailedIcon,
|
|
34
|
+
PencilIcon,
|
|
34
35
|
PendingIcon,
|
|
35
36
|
RefundIcon,
|
|
36
37
|
RejectedIcon,
|
|
@@ -75,6 +76,7 @@ export const chargebackReversalIcon = () => <ChargebackReversalIcon />;
|
|
|
75
76
|
export const duplicateIcon = () => <DuplicateIcon />;
|
|
76
77
|
export const erroredIcon = () => <ErroredIcon />;
|
|
77
78
|
export const failedIcon = () => <FailedIcon />;
|
|
79
|
+
export const pencilIcon = () => <PencilIcon />;
|
|
78
80
|
export const pendingIcon = () => <PendingIcon />;
|
|
79
81
|
export const refundIcon = () => <RefundIcon />;
|
|
80
82
|
export const rejectedIcon = () => <RejectedIcon />;
|
|
@@ -35,6 +35,7 @@ import DuplicateIcon from "./DuplicateIcon";
|
|
|
35
35
|
import ErroredIcon from "./ErroredIcon";
|
|
36
36
|
import ExternalLinkIcon from "./ExternalLinkIcon";
|
|
37
37
|
import FailedIcon from "./FailedIcon";
|
|
38
|
+
import PencilIcon from "./PencilIcon";
|
|
38
39
|
import PendingIcon from "./PendingIcon";
|
|
39
40
|
import RefundIcon from "./RefundIcon";
|
|
40
41
|
import RejectedIcon from "./RejectedIcon";
|
|
@@ -118,6 +119,7 @@ export {
|
|
|
118
119
|
ErroredIcon,
|
|
119
120
|
ExternalLinkIcon,
|
|
120
121
|
FailedIcon,
|
|
122
|
+
PencilIcon,
|
|
121
123
|
PendingIcon,
|
|
122
124
|
RefundIcon,
|
|
123
125
|
RejectedIcon,
|