@camunda/camunda-composite-components 0.3.1-rc.0 → 0.3.1-rc.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.
|
@@ -14,6 +14,10 @@ const TileDescription = styled.p `
|
|
|
14
14
|
height: 50px;
|
|
15
15
|
color: var(--cds-text-secondary);
|
|
16
16
|
`;
|
|
17
|
+
const TileStack = styled.div `
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
`;
|
|
17
21
|
export const HelpCenterTile = ({ tile, tabType, origin, mixpanelTrack }) => {
|
|
18
22
|
const { title, description, timeToComplete, cta, image, link, card_id } = tile;
|
|
19
23
|
if (tabType === TAB_TYPES.Grid) {
|
|
@@ -23,7 +27,7 @@ export const HelpCenterTile = ({ tile, tabType, origin, mixpanelTrack }) => {
|
|
|
23
27
|
}, className: "cds--layer-two" },
|
|
24
28
|
React.createElement(Stack, { orientation: "vertical", gap: 3 },
|
|
25
29
|
React.createElement("img", { src: image, alt: title }),
|
|
26
|
-
React.createElement(
|
|
30
|
+
React.createElement(TileStack, null,
|
|
27
31
|
React.createElement(TileHeading, null, title),
|
|
28
32
|
React.createElement(TileDescription, null, description),
|
|
29
33
|
React.createElement("div", { style: { marginLeft: "-4px", marginTop: "12px" } }, (() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/camunda-composite-components",
|
|
3
|
-
"version": "0.3.1-rc.
|
|
3
|
+
"version": "0.3.1-rc.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "rimraf lib/",
|
|
6
6
|
"build": "yarn clean && tsc",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"test": "yarn test:ts && yarn test:storybook && yarn test:visual-regression:docker"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@babel/core": "7.23.
|
|
30
|
-
"@babel/preset-env": "7.23.
|
|
31
|
-
"@babel/preset-react": "7.
|
|
32
|
-
"@babel/preset-typescript": "7.23.
|
|
29
|
+
"@babel/core": "7.23.3",
|
|
30
|
+
"@babel/preset-env": "7.23.3",
|
|
31
|
+
"@babel/preset-react": "7.23.3",
|
|
32
|
+
"@babel/preset-typescript": "7.23.3",
|
|
33
33
|
"@carbon/react": "1.37.0",
|
|
34
34
|
"@mdx-js/react": "2.3.0",
|
|
35
35
|
"@playwright/test": "1.37.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@storybook/preset-scss": "1.0.3",
|
|
44
44
|
"@storybook/react": "7.5.3",
|
|
45
45
|
"@storybook/react-webpack5": "7.5.3",
|
|
46
|
-
"@storybook/test-runner": "0.
|
|
46
|
+
"@storybook/test-runner": "0.15.1",
|
|
47
47
|
"@storybook/testing-library": "0.2.2",
|
|
48
48
|
"@types/carbon-components-react": "7.55.3",
|
|
49
49
|
"@types/event-source-polyfill": "1.0.1",
|