@thecb/components 7.10.1-beta.9 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.10.1-beta.9",
3
+ "version": "7.10.2",
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,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,
@@ -150,7 +150,7 @@ const RadioSection = ({
150
150
  <Cluster
151
151
  justify="space-between"
152
152
  align="center"
153
- childGap="0.5rem"
153
+ childGap="1px"
154
154
  nowrap
155
155
  >
156
156
  <Cluster justify="flex-start" align="center" nowrap>