@thecb/components 11.0.0-beta.0 → 11.0.0

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": "11.0.0-beta.0",
3
+ "version": "11.0.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -10,7 +10,7 @@ import { Box, Stack, Cluster } from "../layouts";
10
10
  import AutopayIcon from "../icons/AutopayIcon";
11
11
  import MultiCartIcon from "../icons/MultiCartIcon";
12
12
  import RefundIconSmall from "../icons/RefundIconSmall";
13
- import TrashIconV2 from "../icons/TrashIconV2";
13
+ import { TrashIconV2 } from "../icons";
14
14
  import HistoryIconSmall from "../icons/HistoryIconSmall";
15
15
 
16
16
  const meta = {
@@ -91,7 +91,7 @@ const InfoBadge = props => {
91
91
  <Badge
92
92
  {...props}
93
93
  label={"Payment History"}
94
- Icon={() => HistoryIconSmall({ color: MATISSE_BLUE })}
94
+ Icon={HistoryIconSmall}
95
95
  variant="info"
96
96
  />
97
97
  );
@@ -113,7 +113,7 @@ const RightIconBadge = props => {
113
113
  <Badge
114
114
  {...props}
115
115
  label={"Delete Record"}
116
- Icon={() => TrashIconV2({ iconFill: ZEST_ORANGE })}
116
+ Icon={TrashIconV2}
117
117
  variant="warn"
118
118
  iconOnLeft={false}
119
119
  />