@thecb/components 7.3.2-beta.2 → 7.3.2-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
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
import Heading from "../../atoms/heading";
|
|
3
3
|
import Paragraph from "../../atoms/paragraph";
|
|
4
4
|
import {
|
|
5
|
+
ATHENS_GREY,
|
|
5
6
|
MATISSE_BLUE,
|
|
6
7
|
CHARADE_GREY,
|
|
7
8
|
STORM_GREY,
|
|
@@ -23,6 +24,7 @@ const WorkflowTile = ({
|
|
|
23
24
|
background={WHITE}
|
|
24
25
|
boxShadow={`0px 0px 5px 0px ${GHOST_GREY}`}
|
|
25
26
|
padding={0}
|
|
27
|
+
borderRadius="4px"
|
|
26
28
|
>
|
|
27
29
|
<Stack childGap={0} bottomItem={3} fullHeight>
|
|
28
30
|
<Box padding={"1rem 1rem 0 1rem"}>
|
|
@@ -40,19 +42,23 @@ const WorkflowTile = ({
|
|
|
40
42
|
{workflowDescription}
|
|
41
43
|
</Paragraph>
|
|
42
44
|
</Box>
|
|
43
|
-
<Box
|
|
45
|
+
<Box
|
|
46
|
+
padding={"1.5rem 1rem"}
|
|
47
|
+
background={ATHENS_GREY}
|
|
48
|
+
borderColor={GRECIAN_GREY}
|
|
49
|
+
borderWidthOverride="2px 0 0 0"
|
|
50
|
+
>
|
|
44
51
|
<ButtonWithLink
|
|
45
52
|
variant={buttonVariant}
|
|
46
53
|
primary={buttonVariant == "primary"}
|
|
47
54
|
primaryBG={MATISSE_BLUE}
|
|
48
55
|
fontWeight={FONT_WEIGHT_SEMIBOLD}
|
|
49
56
|
fontSize={"1.125rem"}
|
|
50
|
-
borderRadius={"0px"}
|
|
51
57
|
text={workflowActionName}
|
|
52
58
|
minWidth={"100%"}
|
|
53
59
|
url={`/service/${slug}`}
|
|
54
|
-
extraStyles={`width: 100
|
|
55
|
-
linkExtraStyles={`justify-content: center
|
|
60
|
+
extraStyles={`width: 100%; margin: 0;`}
|
|
61
|
+
linkExtraStyles={`justify-content: center`}
|
|
56
62
|
dataQa={slug}
|
|
57
63
|
/>
|
|
58
64
|
</Box>
|