@thecb/components 7.7.0 → 7.7.1-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.7.0",
3
+ "version": "7.7.1-beta.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ import { fallbackValues } from "./Icons.theme";
3
+ import { themeComponent } from "../../../util/themeUtils";
4
+
5
+ const HistoryIconSmall = ({ themeValues, iconIndex = 0 }) => {
6
+ return (
7
+ <svg
8
+ width="20"
9
+ height="20"
10
+ viewBox="0 0 20 20"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ >
14
+ <path
15
+ d="M3.33337 8.33333C3.33337 7.8731 3.70647 7.5 4.16671 7.5H15.8334C16.2936 7.5 16.6667 7.8731 16.6667 8.33333V16.6667C16.6667 17.1269 16.2936 17.5 15.8334 17.5H4.16671C3.70647 17.5 3.33337 17.1269 3.33337 16.6667V8.33333Z"
16
+ fill={themeValues.singleIconColor}
17
+ />
18
+ <path
19
+ fillRule="evenodd"
20
+ clipRule="evenodd"
21
+ d="M5.08337 4.75C4.66916 4.75 4.33337 5.08579 4.33337 5.5C4.33337 5.91421 4.66916 6.25 5.08337 6.25H14.9134C15.3276 6.25 15.6634 5.91421 15.6634 5.5C15.6634 5.08579 15.3276 4.75 14.9134 4.75H5.08337Z"
22
+ fill={themeValues.singleIconColor}
23
+ />
24
+ <path
25
+ fillRule="evenodd"
26
+ clipRule="evenodd"
27
+ d="M6.03337 2.25C5.64677 2.25 5.33337 2.5634 5.33337 2.95C5.33337 3.3366 5.64678 3.65 6.03337 3.65H13.9634C14.35 3.65 14.6634 3.3366 14.6634 2.95C14.6634 2.5634 14.35 2.25 13.9634 2.25H6.03337Z"
28
+ fill={themeValues.singleIconColor}
29
+ />
30
+ </svg>
31
+ );
32
+ };
33
+
34
+ export default themeComponent(
35
+ HistoryIconSmall,
36
+ "Icons",
37
+ fallbackValues,
38
+ "primary"
39
+ );
@@ -62,6 +62,7 @@ import GuidedCheckoutImage from "./GuidedCheckoutImage";
62
62
  import ProfileImage from "./ProfileImage";
63
63
  import RevenueManagementImage from "./RevenueManagementImage";
64
64
  import FindIconSmall from "./FindIconSmall";
65
+ import HistoryIconSmall from "./HistoryIconSmall";
65
66
 
66
67
  export {
67
68
  AccountsIcon,
@@ -127,5 +128,6 @@ export {
127
128
  GuidedCheckoutImage,
128
129
  ProfileImage,
129
130
  RevenueManagementImage,
130
- FindIconSmall
131
+ FindIconSmall,
132
+ HistoryIconSmall
131
133
  };
package/src/.DS_Store DELETED
Binary file
Binary file