@thecb/components 11.0.0-beta.0 → 11.0.1-beta.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/dist/index.cjs.js +9490 -9220
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9490 -9220
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/badge/Badge.stories.js +3 -3
- package/src/components/atoms/icons/AutopayIcon.js +9 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/nav-footer/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- package/src/components/molecules/obligation/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -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
|
|
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={
|
|
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={
|
|
116
|
+
Icon={TrashIconV2}
|
|
117
117
|
variant="warn"
|
|
118
118
|
iconOnLeft={false}
|
|
119
119
|
/>
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
import { props } from "ramda";
|
|
1
2
|
import React from "react";
|
|
2
3
|
|
|
3
4
|
// Fill color based on default "success" variant color
|
|
4
|
-
const AutopayIcon = ({
|
|
5
|
+
const AutopayIcon = ({
|
|
6
|
+
fill = "#317D4F",
|
|
7
|
+
color = "#317D4F",
|
|
8
|
+
ariaLabel = "Autopay",
|
|
9
|
+
...props
|
|
10
|
+
}) => (
|
|
5
11
|
<svg
|
|
6
12
|
width="16"
|
|
7
13
|
height="16"
|
|
8
14
|
viewBox="0 0 16 16"
|
|
9
15
|
fill="none"
|
|
10
16
|
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
aria-label={ariaLabel}
|
|
18
|
+
{...props}
|
|
11
19
|
>
|
|
12
20
|
<mask
|
|
13
21
|
id="mask0_5560_39870"
|
package/src/.DS_Store
DELETED
|
Binary file
|
package/src/components/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|