@thecb/components 8.4.5-beta.2 → 8.4.5-beta.4
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,15 +1,13 @@
|
|
|
1
1
|
import React, { useContext } from "react";
|
|
2
|
-
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
3
2
|
import { Box, Stack } from "../../atoms/layouts";
|
|
4
|
-
import { themeComponent } from "../../../util/themeUtils";
|
|
5
|
-
import { fallbackValues } from "./LinkCard.theme";
|
|
3
|
+
// import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
// import { fallbackValues } from "./LinkCard.theme";
|
|
6
5
|
import { ThemeContext } from "styled-components";
|
|
7
6
|
import * as Styled from "./LinkCard.styled";
|
|
8
7
|
|
|
9
8
|
const LinkCard = ({
|
|
10
9
|
title = "Test Workflow",
|
|
11
10
|
subtitle = "Link your benefit plan",
|
|
12
|
-
themeValues,
|
|
13
11
|
showLeft,
|
|
14
12
|
leftContent,
|
|
15
13
|
showRight,
|
|
@@ -18,6 +16,7 @@ const LinkCard = ({
|
|
|
18
16
|
extraStyles = "",
|
|
19
17
|
extraHoverStyles = "",
|
|
20
18
|
extraActiveStyles = "",
|
|
19
|
+
themeValues,
|
|
21
20
|
titleVariant = "h3"
|
|
22
21
|
}) => {
|
|
23
22
|
console.log("LinkCard themeValues", themeValues);
|
|
@@ -84,4 +83,5 @@ const LinkCard = ({
|
|
|
84
83
|
);
|
|
85
84
|
};
|
|
86
85
|
|
|
87
|
-
export default themeComponent(LinkCard, "LinkCard", fallbackValues, "default");
|
|
86
|
+
// export default themeComponent(LinkCard, "LinkCard", fallbackValues, "default");
|
|
87
|
+
export default LinkCard;
|
|
@@ -4,6 +4,7 @@ import Paragraph from "../../atoms/paragraph";
|
|
|
4
4
|
import Stack from "../../atoms/layouts/Stack";
|
|
5
5
|
import { Box } from "../../atoms/layouts";
|
|
6
6
|
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
7
|
+
|
|
7
8
|
export const Container = styled(Box)`
|
|
8
9
|
display: flex;
|
|
9
10
|
flex-direction: column;
|