@desynova-digital/components 8.19.19 → 8.19.21

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.
@@ -16,7 +16,7 @@ var _styledComponents = require("styled-components");
16
16
 
17
17
  var _styledComponents2 = _interopRequireDefault(_styledComponents);
18
18
 
19
- var _components = require("@desynova-digital/components");
19
+ var _icon = require("../../atoms/icon/");
20
20
 
21
21
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22
22
 
@@ -37,7 +37,7 @@ var CollabErrorScreen = function CollabErrorScreen() {
37
37
  _react2.default.createElement(
38
38
  "div",
39
39
  { style: { zIndex: "3", position: "absolute", top: "25px" } },
40
- _react2.default.createElement(_components.Icon, { name: "collab_error_icon", color: "#303F51" })
40
+ _react2.default.createElement(_icon.Icon, { name: "collab_error_icon", color: "#303F51" })
41
41
  ),
42
42
  _react2.default.createElement(
43
43
  "div",
@@ -1312,6 +1312,7 @@ var Table = function (_Component) {
1312
1312
  label: "Search",
1313
1313
  value: searchedText,
1314
1314
  onChange: function onChange(e) {
1315
+ _this4.props.tableLoadingActionFunc(true);
1315
1316
  _this4.handleInputChange(e.target.value);
1316
1317
  }
1317
1318
  }),
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.19.19",
3
+ "version": "8.19.21",
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.19",
10
+ "@desynova-digital/tokens": "8.19.21",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },
@@ -1,119 +0,0 @@
1
- import React from "react";
2
- import styled from "styled-components";
3
- import { Icon } from "@desynova-digital/components";
4
-
5
- const OuterDiv = styled.div`
6
- height: 500px;
7
- width: 700px;
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- flex-direction: column;
12
- `;
13
-
14
- const IconDiv = styled.div`
15
- height: 200px;
16
- width: 700px;
17
- position: relative;
18
- display: flex;
19
- justify-content: center;
20
-
21
- .rectangeDiv {
22
- width: 104px;
23
- height: 126px;
24
- position: absolute;
25
- z-index: 2;
26
- top: 0px;
27
- }
28
- .circleDiv {
29
- width: 150px;
30
- height: 150px;
31
- border-radius: 50%;
32
- background:rgba(255, 255, 255, 0.20);
33
- position: absolute;
34
- bottom: 0px;
35
- display: flex;
36
- justify-content: center;
37
- }
38
- .ellipse {
39
- width: 104px;
40
-
41
- height: 7px;
42
- border-radius: 50%;
43
- background-color: #FFFFFF33
44
- position: absolute;
45
- bottom: 30px;
46
- }
47
- .div1 {
48
- position:absolute;
49
- background: #ccc;
50
- border-radius: 15px;
51
- width: 104px;
52
- height: 126px;
53
-
54
-
55
- }
56
- .div2 {
57
- position:absolute;
58
- width: 104px;
59
- height: 126px;
60
- border-radius:15px;
61
- background: #FFFFFF33;
62
- transform: rotate(-12.151deg);
63
- }
64
- `;
65
- const TextDiv = styled.div`
66
- height: 100px;
67
- width: 700px;
68
-
69
- z-index: 2;
70
- display: flex;
71
- flex-direction: column;
72
- align-items: center;
73
- justify-content: center;
74
- gap: 10px;
75
- .text1 {
76
- color: var(--color-text-color-text-300, #ccc);
77
- font-family: "SFUIText-Medium";
78
- font-size: 40px;
79
- font-style: normal;
80
- font-weight: 500;
81
- line-height: 50px;
82
- }
83
-
84
- .text2 {
85
- color: var(--color-text-color-text-300, #ccc);
86
- font-family: "SFUIText-Medium";
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 style={{ zIndex: "3", position: "absolute", top: "25px" }}>
99
- <Icon name="collab_error_icon" color="#303F51" />
100
- </div>
101
- <div className="rectangeDiv">
102
- <div className="div1"></div>
103
- <div className="div2"></div>
104
- </div>
105
- <div className="circleDiv">
106
- <div className="ellipse"></div>
107
- </div>
108
- </IconDiv>
109
- <TextDiv>
110
- <h2 className="text1">No Data Available</h2>
111
- <p className="text2">
112
- Sorry, no data at the moment. Stay tuned for updates.
113
- </p>
114
- </TextDiv>
115
- </OuterDiv>
116
- );
117
- };
118
-
119
- export default CollabErrorScreen;