@desynova-digital/components 8.19.21 → 8.19.23
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.
|
@@ -18,6 +18,8 @@ var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
|
18
18
|
|
|
19
19
|
var _icon = require("../../atoms/icon/");
|
|
20
20
|
|
|
21
|
+
var _icon2 = _interopRequireDefault(_icon);
|
|
22
|
+
|
|
21
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
24
|
|
|
23
25
|
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
@@ -37,7 +39,7 @@ var CollabErrorScreen = function CollabErrorScreen() {
|
|
|
37
39
|
_react2.default.createElement(
|
|
38
40
|
"div",
|
|
39
41
|
{ style: { zIndex: "3", position: "absolute", top: "25px" } },
|
|
40
|
-
_react2.default.createElement(
|
|
42
|
+
_react2.default.createElement(_icon2.default, { name: "collab_error_icon", color: "#303F51" })
|
|
41
43
|
),
|
|
42
44
|
_react2.default.createElement(
|
|
43
45
|
"div",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "8.19.
|
|
3
|
+
"version": "8.19.23",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "8.19.
|
|
10
|
+
"@desynova-digital/tokens": "8.19.23",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _templateObject = _taggedTemplateLiteral(['\n height: 500px;\n width: 700px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n'], ['\n height: 500px;\n width: 700px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n']),
|
|
8
|
-
_templateObject2 = _taggedTemplateLiteral(['\n height: 200px;\n width: 700px; \n position: relative;\n display: flex;\n justify-content: center;\n\n .rectangeDiv {\n width: 104px;\n height: 126px;\n position: absolute;\n z-index: 2;\n top: 0px;\n }\n .circleDiv {\n width: 150px;\n height: 150px;\n border-radius: 50%;\n background:rgba(255, 255, 255, 0.20);\n position: absolute;\n bottom: 0px;\n display: flex;\n justify-content: center;\n }\n .ellipse {\n width: 104px;\n \n height: 7px;\n border-radius: 50%;\n background-color: #FFFFFF33\n position: absolute;\n bottom: 30px;\n }\n .div1 {\n position:absolute;\n background: #ccc;\n border-radius: 15px;\n width: 104px;\n height: 126px;\n \n\n }\n .div2 {\n position:absolute;\n width: 104px;\n height: 126px;\n border-radius:15px;\n background: #FFFFFF33;\n transform: rotate(-12.151deg);\n }\n'], ['\n height: 200px;\n width: 700px; \n position: relative;\n display: flex;\n justify-content: center;\n\n .rectangeDiv {\n width: 104px;\n height: 126px;\n position: absolute;\n z-index: 2;\n top: 0px;\n }\n .circleDiv {\n width: 150px;\n height: 150px;\n border-radius: 50%;\n background:rgba(255, 255, 255, 0.20);\n position: absolute;\n bottom: 0px;\n display: flex;\n justify-content: center;\n }\n .ellipse {\n width: 104px;\n \n height: 7px;\n border-radius: 50%;\n background-color: #FFFFFF33\n position: absolute;\n bottom: 30px;\n }\n .div1 {\n position:absolute;\n background: #ccc;\n border-radius: 15px;\n width: 104px;\n height: 126px;\n \n\n }\n .div2 {\n position:absolute;\n width: 104px;\n height: 126px;\n border-radius:15px;\n background: #FFFFFF33;\n transform: rotate(-12.151deg);\n }\n']),
|
|
9
|
-
_templateObject3 = _taggedTemplateLiteral(['\n height: 100px;\n width: 700px;\n\n z-index: 2;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n .text1 {\n color: var(--color-text-color-text-300, #ccc);\n\n font-size: 40px;\n font-style: normal;\n font-weight: 500;\n line-height: 50px;\n }\n\n .text2 {\n color: var(--color-text-color-text-300, #ccc);\n\n /* Text-md/Light-14px */\n font-size: 14px;\n font-style: normal;\n font-weight: 300;\n line-height: 21px;\n }\n'], ['\n height: 100px;\n width: 700px;\n\n z-index: 2;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n .text1 {\n color: var(--color-text-color-text-300, #ccc);\n\n font-size: 40px;\n font-style: normal;\n font-weight: 500;\n line-height: 50px;\n }\n\n .text2 {\n color: var(--color-text-color-text-300, #ccc);\n\n /* Text-md/Light-14px */\n font-size: 14px;\n font-style: normal;\n font-weight: 300;\n line-height: 21px;\n }\n']);
|
|
10
|
-
|
|
11
|
-
var _react = require('react');
|
|
12
|
-
|
|
13
|
-
var _react2 = _interopRequireDefault(_react);
|
|
14
|
-
|
|
15
|
-
var _styledComponents = require('styled-components');
|
|
16
|
-
|
|
17
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
18
|
-
|
|
19
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
-
|
|
21
|
-
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
22
|
-
|
|
23
|
-
var OuterDiv = _styledComponents2.default.div(_templateObject);
|
|
24
|
-
|
|
25
|
-
var IconDiv = _styledComponents2.default.div(_templateObject2);
|
|
26
|
-
var TextDiv = _styledComponents2.default.div(_templateObject3);
|
|
27
|
-
|
|
28
|
-
var CollabErrorScreen = function CollabErrorScreen() {
|
|
29
|
-
return _react2.default.createElement(
|
|
30
|
-
OuterDiv,
|
|
31
|
-
null,
|
|
32
|
-
_react2.default.createElement(
|
|
33
|
-
IconDiv,
|
|
34
|
-
null,
|
|
35
|
-
_react2.default.createElement(
|
|
36
|
-
'div',
|
|
37
|
-
{ className: 'rectangeDiv' },
|
|
38
|
-
_react2.default.createElement('div', { className: 'div1' }),
|
|
39
|
-
_react2.default.createElement('div', { className: 'div2' })
|
|
40
|
-
),
|
|
41
|
-
_react2.default.createElement(
|
|
42
|
-
'div',
|
|
43
|
-
{ className: 'circleDiv' },
|
|
44
|
-
_react2.default.createElement('div', { className: 'ellipse' })
|
|
45
|
-
)
|
|
46
|
-
),
|
|
47
|
-
_react2.default.createElement(
|
|
48
|
-
TextDiv,
|
|
49
|
-
null,
|
|
50
|
-
_react2.default.createElement(
|
|
51
|
-
'h2',
|
|
52
|
-
{ className: 'text1' },
|
|
53
|
-
'No Data Available'
|
|
54
|
-
),
|
|
55
|
-
_react2.default.createElement(
|
|
56
|
-
'p',
|
|
57
|
-
{ className: 'text2' },
|
|
58
|
-
'Sorry, no data at the moment. Stay tuned for updates.'
|
|
59
|
-
)
|
|
60
|
-
)
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
exports.default = CollabErrorScreen;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
|
|
4
|
-
const OuterDiv = styled.div`
|
|
5
|
-
height: 500px;
|
|
6
|
-
width: 700px;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
`;
|
|
12
|
-
|
|
13
|
-
const IconDiv = styled.div`
|
|
14
|
-
height: 200px;
|
|
15
|
-
width: 700px;
|
|
16
|
-
position: relative;
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
|
|
20
|
-
.rectangeDiv {
|
|
21
|
-
width: 104px;
|
|
22
|
-
height: 126px;
|
|
23
|
-
position: absolute;
|
|
24
|
-
z-index: 2;
|
|
25
|
-
top: 0px;
|
|
26
|
-
}
|
|
27
|
-
.circleDiv {
|
|
28
|
-
width: 150px;
|
|
29
|
-
height: 150px;
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
background:rgba(255, 255, 255, 0.20);
|
|
32
|
-
position: absolute;
|
|
33
|
-
bottom: 0px;
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
}
|
|
37
|
-
.ellipse {
|
|
38
|
-
width: 104px;
|
|
39
|
-
|
|
40
|
-
height: 7px;
|
|
41
|
-
border-radius: 50%;
|
|
42
|
-
background-color: #FFFFFF33
|
|
43
|
-
position: absolute;
|
|
44
|
-
bottom: 30px;
|
|
45
|
-
}
|
|
46
|
-
.div1 {
|
|
47
|
-
position:absolute;
|
|
48
|
-
background: #ccc;
|
|
49
|
-
border-radius: 15px;
|
|
50
|
-
width: 104px;
|
|
51
|
-
height: 126px;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
.div2 {
|
|
56
|
-
position:absolute;
|
|
57
|
-
width: 104px;
|
|
58
|
-
height: 126px;
|
|
59
|
-
border-radius:15px;
|
|
60
|
-
background: #FFFFFF33;
|
|
61
|
-
transform: rotate(-12.151deg);
|
|
62
|
-
}
|
|
63
|
-
`;
|
|
64
|
-
const TextDiv = styled.div`
|
|
65
|
-
height: 100px;
|
|
66
|
-
width: 700px;
|
|
67
|
-
|
|
68
|
-
z-index: 2;
|
|
69
|
-
display: flex;
|
|
70
|
-
flex-direction: column;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
gap: 10px;
|
|
74
|
-
.text1 {
|
|
75
|
-
color: var(--color-text-color-text-300, #ccc);
|
|
76
|
-
|
|
77
|
-
font-size: 40px;
|
|
78
|
-
font-style: normal;
|
|
79
|
-
font-weight: 500;
|
|
80
|
-
line-height: 50px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.text2 {
|
|
84
|
-
color: var(--color-text-color-text-300, #ccc);
|
|
85
|
-
|
|
86
|
-
/* Text-md/Light-14px */
|
|
87
|
-
font-size: 14px;
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-weight: 300;
|
|
90
|
-
line-height: 21px;
|
|
91
|
-
}
|
|
92
|
-
`;
|
|
93
|
-
|
|
94
|
-
const CollabErrorScreen = () => {
|
|
95
|
-
return (
|
|
96
|
-
<OuterDiv>
|
|
97
|
-
<IconDiv>
|
|
98
|
-
<div className="rectangeDiv">
|
|
99
|
-
<div className="div1"></div>
|
|
100
|
-
<div className="div2"></div>
|
|
101
|
-
</div>
|
|
102
|
-
<div className="circleDiv">
|
|
103
|
-
<div className="ellipse"></div>
|
|
104
|
-
</div>
|
|
105
|
-
</IconDiv>
|
|
106
|
-
<TextDiv>
|
|
107
|
-
<h2 className="text1">No Data Available</h2>
|
|
108
|
-
<p className="text2">Sorry, no data at the moment. Stay tuned for updates.</p>
|
|
109
|
-
</TextDiv>
|
|
110
|
-
</OuterDiv>
|
|
111
|
-
);
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
export default CollabErrorScreen;
|