@thecb/components 10.6.3-beta.2 → 10.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "10.6.3-beta.2",
3
+ "version": "10.6.3",
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,25 @@
1
+ import React from "react";
2
+ import { fallbackValues } from "./Icons.theme";
3
+ import { themeComponent } from "../../../util/themeUtils";
4
+
5
+ const EmptyCartIconV2 = ({ themeValues, color, height = "auto", ...rest }) => (
6
+ <svg
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ width="126"
9
+ height="113"
10
+ viewBox="0 0 126 113"
11
+ style={{ height, width: "auto" }}
12
+ {...rest}
13
+ >
14
+ <title>Cart-Empty-Illustration</title>
15
+ <g id="Empty Shopping Cart Icon">
16
+ <path
17
+ id="Empty-shopping-cart"
18
+ d="M115.523 66.3438C115.086 67.6562 114.43 68.75 113.555 69.4062C112.68 70.2812 111.586 70.5 110.492 70.5H46.3984L47.7109 77.5H106.555C108.086 77.5 109.398 78.1562 110.492 79.4688C111.367 80.7812 111.805 82.3125 111.586 83.8438L110.273 89.3125C112.461 90.4062 113.992 91.9375 115.305 93.9062C116.617 95.875 117.273 98.0625 117.273 100.25C117.273 103.75 115.961 106.594 113.555 109C111.148 111.406 108.305 112.5 105.023 112.5C101.523 112.5 98.6797 111.406 96.2734 109C93.8672 106.594 92.7734 103.75 92.7734 100.25C92.7734 96.75 93.8672 93.9062 96.4922 91.5H50.5547C52.9609 93.9062 54.2734 96.75 54.2734 100.25C54.2734 103.75 52.9609 106.594 50.5547 109C48.1484 111.406 45.3047 112.5 42.0234 112.5C38.5234 112.5 35.6797 111.406 33.2734 109C30.8672 106.594 29.7734 103.75 29.7734 100.25C29.7734 98.0625 30.2109 96.0938 31.3047 94.125C32.3984 92.375 33.9297 90.8438 35.8984 89.5312L20.5859 14.5H5.27344C3.74219 14.5 2.42969 14.0625 1.55469 12.9688C0.460938 12.0938 0.0234375 10.7812 0.0234375 9.25V5.75C0.0234375 4.4375 0.460938 3.125 1.55469 2.03125C2.42969 1.15625 3.74219 0.5 5.27344 0.5H27.8047C28.8984 0.5 29.9922 0.9375 30.8672 1.8125C31.7422 2.6875 32.3984 3.5625 32.8359 4.65625L34.8047 14.5H120.773C122.523 14.5 123.836 15.1562 124.93 16.4688C125.805 17.7812 126.242 19.3125 125.805 20.8438L115.523 66.3438Z"
19
+ fill={color ?? themeValues.subIconColor}
20
+ />
21
+ </g>
22
+ </svg>
23
+ );
24
+
25
+ export default themeComponent(EmptyCartIconV2, "Icons", fallbackValues, "info");
@@ -49,6 +49,7 @@ import CarrotIcon from "./CarrotIcon";
49
49
  import ProfileIcon from "./ProfileIcon";
50
50
  import GenericCardLarge from "./GenericCardLarge";
51
51
  import EmptyCartIcon from "./EmptyCartIcon";
52
+ import EmptyCartIconV2 from "./EmptyCartIconV2";
52
53
  import ShoppingCartIcon from "./ShoppingCartIcon";
53
54
  import TrashIcon from "./TrashIcon";
54
55
  import NoCustomerResultsIcon from "./NoCustomerResultsIcon";
@@ -146,6 +147,7 @@ export {
146
147
  ProfileIcon,
147
148
  GenericCardLarge,
148
149
  EmptyCartIcon,
150
+ EmptyCartIconV2,
149
151
  ShoppingCartIcon,
150
152
  TrashIcon,
151
153
  NoCustomerResultsIcon,
@@ -365,7 +365,7 @@ const PaymentDetails = ({
365
365
  weight={FONT_WEIGHT_SEMIBOLD}
366
366
  as="h2"
367
367
  extraStyles={`font-size: 1.5rem; line-height: ${
368
- isMobile ? "2.2861rem" : "2.25rem"
368
+ isMobile ? "2.2857rem" : "2.25rem"
369
369
  };`}
370
370
  id="payment-details-title"
371
371
  >
@@ -387,7 +387,7 @@ const PaymentDetails = ({
387
387
  weight={FONT_WEIGHT_SEMIBOLD}
388
388
  margin="1rem 0 0 0"
389
389
  extraStyles={`font-size: 1.5rem; line-height: ${
390
- isMobile ? "2.2861rem" : "2.25rem"
390
+ isMobile ? "2.2857rem" : "2.25rem"
391
391
  };`}
392
392
  id="payment-details-title"
393
393
  >
Binary file