@factorearth/component-library 5.0.7-alpha.0 → 5.0.8-alpha.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.
|
@@ -5,12 +5,12 @@ import { GoBug } from "react-icons/go";
|
|
|
5
5
|
import { Button } from "../../Atoms/Buttons/Button";
|
|
6
6
|
import { Typography } from "../../Atoms/Typography/Typography";
|
|
7
7
|
const ErrorSplashContainer = styled.div `
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
background-color: ${({ colorPalette }) => colorPalette.background.primary};
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
flex-grow: 1;
|
|
11
12
|
`;
|
|
12
13
|
const HeaderDiv = styled.div `
|
|
13
|
-
display: flex;
|
|
14
14
|
padding: 24px;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
align-items: flex-start;
|
|
@@ -24,10 +24,7 @@ const HeaderAndBackDiv = styled.div `
|
|
|
24
24
|
align-self: stretch;
|
|
25
25
|
`;
|
|
26
26
|
const DescriptionDiv = styled.div `
|
|
27
|
-
|
|
28
|
-
-webkit-box-orient: vertical;
|
|
29
|
-
-webkit-line-clamp: 2;
|
|
30
|
-
flex: 1 0 0;
|
|
27
|
+
margin-top: 24px;
|
|
31
28
|
`;
|
|
32
29
|
const ButtonsDiv = styled.div `
|
|
33
30
|
//background is the topo image
|
|
@@ -41,16 +38,16 @@ const ButtonsDiv = styled.div `
|
|
|
41
38
|
align-self: stretch;
|
|
42
39
|
flex-wrap: wrap;
|
|
43
40
|
`;
|
|
44
|
-
const AmbassadorContactDiv = styled.div
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
`;
|
|
41
|
+
// const AmbassadorContactDiv = styled.div<{ colorPalette: Colors }>`
|
|
42
|
+
// background-color: ${({ colorPalette }) => colorPalette.background.tertiary};
|
|
43
|
+
// border-top: ${({ colorPalette }) => colorPalette.border.tertiary} 1px solid;
|
|
44
|
+
// display: flex;
|
|
45
|
+
// padding: 24px 16px;
|
|
46
|
+
// flex-direction: column;
|
|
47
|
+
// align-items: center;
|
|
48
|
+
// gap: 16px;
|
|
49
|
+
// align-self: stretch;
|
|
50
|
+
// `;
|
|
54
51
|
const ContactContainer = styled.div `
|
|
55
52
|
background-color: ${({ colors }) => colors.background.tertiary};
|
|
56
53
|
color: ${({ colors }) => colors.text.primary};
|
|
@@ -67,7 +64,7 @@ export const ErrorSplash = (props) => {
|
|
|
67
64
|
return (React.createElement(ErrorSplashContainer, { colorPalette: colorPalette, ...tableHtmlProps },
|
|
68
65
|
React.createElement(HeaderDiv, { colorPalette: colorPalette },
|
|
69
66
|
React.createElement(HeaderAndBackDiv, { colorPalette: colorPalette },
|
|
70
|
-
React.createElement(FiChevronLeft,
|
|
67
|
+
React.createElement(FiChevronLeft, { style: { width: "24px", height: "24px" } }),
|
|
71
68
|
React.createElement(Typography, { textColor: colorPalette.text.primary, content: title, variant: "Heading 3" })),
|
|
72
69
|
React.createElement(DescriptionDiv, { colorPalette: colorPalette },
|
|
73
70
|
React.createElement(Typography, { textColor: colorPalette.text.primary, content: description, variant: "Paragraphy Body" }))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorSplash.js","sourceRoot":"","sources":["../../../lib/Organisms/ErrorSplash/ErrorSplash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAoC,MAAM,gBAAgB,CAAC;AAC9F,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,oBAAoB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EAAE,oBAAC,KAAK,OAAE,GAAG,CAClG;QAKb,oBAAC,gBAAgB,IAAC,MAAM,EAAE,YAAY;YACnC,oBAAC,UAAU,IAAC,SAAS,EAAE,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,+EAA+E,EAAE,OAAO,EAAE,OAAO,GAAI;YAChK,oBAAC,UAAU,IAAC,SAAS,EAAE,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,WAAW,GAAI,CACvF,CACD,CACvB,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorearth/component-library",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.8-alpha.0",
|
|
4
4
|
"description": " A storybook component library for FactorEarth",
|
|
5
5
|
"author": "madtrx <marlin.makori@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "98e390a0ad777b89f40603ba7b0dabfc50f5fa79",
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@emotion/react": "^11.13.0",
|
|
52
52
|
"@emotion/styled": "^11.13.0",
|