@thecb/components 10.2.3-beta.0 → 10.2.3
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 +37 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +37 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/TrashIconV2.d.ts +1 -0
- package/src/components/atoms/icons/TrashIconV2.js +41 -0
- package/src/components/atoms/icons/icons.stories.js +3 -1
- package/src/components/atoms/icons/index.d.ts +1 -0
- package/src/components/atoms/icons/index.js +3 -1
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const TrashIconV2: JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { fallbackValues } from "./Icons.theme";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
|
|
5
|
+
const TrashIconV2 = ({ themeValues, iconFill }) => {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width="18"
|
|
10
|
+
height="18"
|
|
11
|
+
viewBox="0 0 18 18"
|
|
12
|
+
fill="none"
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M11.5 4H14V6H4V4H6.5L7.21429 3H10.7857L11.5 4ZM6.99048 15C6.25714 15 5.65714 14.4857 5.65714 13.8571L4.85714 7H12.8571L12.0571 13.8571C12.0571 14.4857 11.4571 15 10.7238 15H6.99048Z"
|
|
18
|
+
fill={iconFill ?? themeValues.singleIconColor}
|
|
19
|
+
/>
|
|
20
|
+
<mask
|
|
21
|
+
id="mask0_4292_11876"
|
|
22
|
+
style={{ maskType: "luminance" }}
|
|
23
|
+
maskUnits="userSpaceOnUse"
|
|
24
|
+
x="4"
|
|
25
|
+
y="3"
|
|
26
|
+
width="10"
|
|
27
|
+
height="12"
|
|
28
|
+
>
|
|
29
|
+
<path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M11.5 4H14V6H4V4H6.5L7.21429 3H10.7857L11.5 4ZM6.99048 15C6.25714 15 5.65714 14.4857 5.65714 13.8571L4.85714 7H12.8571L12.0571 13.8571C12.0571 14.4857 11.4571 15 10.7238 15H6.99048Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</mask>
|
|
36
|
+
<g mask="url(#mask0_4292_11876)"></g>
|
|
37
|
+
</svg>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export default themeComponent(TrashIconV2, "Icons", fallbackValues, "primary");
|
|
@@ -41,7 +41,8 @@ import {
|
|
|
41
41
|
AutopayIcon,
|
|
42
42
|
KebabMenuIcon,
|
|
43
43
|
MultiCartIcon,
|
|
44
|
-
CloseIcon
|
|
44
|
+
CloseIcon,
|
|
45
|
+
TrashIconV2
|
|
45
46
|
} from "./index";
|
|
46
47
|
|
|
47
48
|
const story = page({
|
|
@@ -90,3 +91,4 @@ export const autopayIcon = () => <AutopayIcon />;
|
|
|
90
91
|
export const kebabMenuIcon = () => <KebabMenuIcon />;
|
|
91
92
|
export const multiCartIcon = () => <MultiCartIcon />;
|
|
92
93
|
export const closeIcon = () => <CloseIcon />;
|
|
94
|
+
export const trashIconV2 = () => <TrashIconV2 />;
|
|
@@ -89,6 +89,7 @@ import PlusCircleIcon from "./PlusCircleIcon";
|
|
|
89
89
|
import KebabMenuIcon from "./KebabMenuIcon";
|
|
90
90
|
import MultiCartIcon from "./MultiCartIcon";
|
|
91
91
|
import CloseIcon from "./CloseIcon";
|
|
92
|
+
import TrashIconV2 from "./TrashIconV2";
|
|
92
93
|
|
|
93
94
|
export {
|
|
94
95
|
AccountsIcon,
|
|
@@ -181,5 +182,6 @@ export {
|
|
|
181
182
|
PlusCircleIcon,
|
|
182
183
|
KebabMenuIcon,
|
|
183
184
|
MultiCartIcon,
|
|
184
|
-
CloseIcon
|
|
185
|
+
CloseIcon,
|
|
186
|
+
TrashIconV2
|
|
185
187
|
};
|