@desynova-digital/components 9.0.26 → 9.1.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.
- package/_helpers/globals.js +9 -10
- package/_helpers/pagination.js +10 -15
- package/_helpers/story-example.js +16 -39
- package/_helpers/story-helpers.js +15 -14
- package/_helpers/story-stack.js +22 -43
- package/_helpers/uniqueId.js +2 -5
- package/_helpers/utils.js +28 -4
- package/atoms/avatar/avatar.js +19 -42
- package/atoms/avatar/avatar.story.js +25 -58
- package/atoms/avatar/index.js +13 -11
- package/atoms/badge/badge.js +14 -37
- package/atoms/badge/badge.story.js +45 -103
- package/atoms/badge/index.js +12 -10
- package/atoms/button/button.js +85 -161
- package/atoms/button/button.story.js +354 -508
- package/atoms/button/index.js +5 -9
- package/atoms/card/card.js +26 -55
- package/atoms/card/card.story.js +39 -88
- package/atoms/card/index.js +12 -10
- package/atoms/cardStack/cardStack.js +88 -147
- package/atoms/cardStack/cardStack.story.js +106 -210
- package/atoms/cardStack/index.js +12 -10
- package/atoms/cardV2/cardV2.js +57 -106
- package/atoms/cardV2/cardV2.story.js +184 -232
- package/atoms/cardV2/content.js +154 -256
- package/atoms/cardV2/index.js +4 -8
- package/atoms/cardV2/thumbnail.js +138 -208
- package/atoms/cardV2/timeline.js +167 -123
- package/atoms/checkbox/checkbox.js +85 -157
- package/atoms/checkbox/checkbox.story.js +237 -365
- package/atoms/checkbox/index.js +4 -9
- package/atoms/customSelect/customSelect.js +136 -215
- package/atoms/customSelect/customSelect.story.js +745 -851
- package/atoms/customSelect/index.js +4 -8
- package/atoms/datePicker/datePicker.js +299 -431
- package/atoms/datePicker/datePicker.story.js +453 -501
- package/atoms/datePicker/index.js +4 -8
- package/atoms/dateTime/dateTime.js +3 -6
- package/atoms/dateTime/dateTime.story.js +17 -63
- package/atoms/dateTime/index.js +5 -9
- package/atoms/draftInputText/draftInputText.js +121 -189
- package/atoms/draftInputText/draftInputText.story.js +200 -249
- package/atoms/draftInputText/index.js +5 -9
- package/atoms/dropdown/dropdown.js +38 -66
- package/atoms/dropdown/dropdown.story.js +102 -262
- package/atoms/dropdown/index.js +4 -8
- package/atoms/dropdownList/dropdownList.js +78 -108
- package/atoms/dropdownList/dropdownList.story.js +1546 -1621
- package/atoms/dropdownList/index.js +4 -8
- package/atoms/graphs/barGraph/barGraph.js +95 -146
- package/atoms/graphs/barGraph/barGraph.story.js +65 -87
- package/atoms/graphs/barGraph/index.js +4 -8
- package/atoms/graphs/circleDonut/circleDonut.js +177 -229
- package/atoms/graphs/circleDonut/circleDonut.story.js +328 -394
- package/atoms/graphs/circleDonut/index.js +5 -9
- package/atoms/graphs/circleGraph/circleGraph.js +60 -90
- package/atoms/graphs/circleGraph/circleGraph.story.js +36 -54
- package/atoms/graphs/circleGraph/index.js +4 -8
- package/atoms/graphs/circleNested/circleNested.js +216 -262
- package/atoms/graphs/circleNested/circleNested.story.js +91 -116
- package/atoms/graphs/circleNested/index.js +5 -9
- package/atoms/graphs/pieChart/index.js +4 -8
- package/atoms/graphs/pieChart/pieChart.js +162 -191
- package/atoms/graphs/pieChart/pieChart.story.js +147 -176
- package/atoms/graphs/verticalBarGraph/index.js +5 -9
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.js +75 -98
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.story.js +26 -45
- package/atoms/icon/icon.js +41 -72
- package/atoms/icon/icon.story.js +831 -260
- package/atoms/icon/index.js +19 -12
- package/atoms/image/image.js +18 -32
- package/atoms/image/image.story.js +10 -19
- package/atoms/image/index.js +4 -8
- package/atoms/inputText/index.js +4 -8
- package/atoms/inputText/inputText.js +86 -131
- package/atoms/inputText/inputText.story.js +191 -255
- package/atoms/label/index.js +4 -8
- package/atoms/label/label.js +25 -50
- package/atoms/label/label.story.js +42 -83
- package/atoms/loader/CircleLoader.js +29 -63
- package/atoms/loader/ShimmerComponent/CollabShimmerCard.js +39 -50
- package/atoms/loader/ShimmerComponent/CollabShimmerCardTray.js +41 -42
- package/atoms/loader/ShimmerComponent/FiltersShimmer.js +30 -30
- package/atoms/loader/ShimmerComponent/GraphDetailShimmer.js +21 -34
- package/atoms/loader/ShimmerComponent/GraphTitleShimmer.js +30 -34
- package/atoms/loader/ShimmerComponent/GraphsComponentShimmer.js +23 -32
- package/atoms/loader/ShimmerComponent/Shimmer.js +24 -32
- package/atoms/loader/ThreeDotLoader.js +14 -29
- package/atoms/loader/index.js +13 -11
- package/atoms/loader/loader.js +34 -58
- package/atoms/loader/loader.story.js +48 -52
- package/atoms/loader/spinningLoader.js +23 -34
- package/atoms/popup/index.js +5 -9
- package/atoms/popup/popup.js +123 -208
- package/atoms/popup/popup.story.js +97 -131
- package/atoms/radio/index.js +18 -11
- package/atoms/radio/radio.js +58 -112
- package/atoms/radio/radio.story.js +197 -420
- package/atoms/select/index.js +4 -8
- package/atoms/select/select.js +48 -86
- package/atoms/sideBar/index.js +5 -9
- package/atoms/sideBar/sidebar.js +89 -140
- package/atoms/switch/index.js +4 -8
- package/atoms/switch/switch.js +56 -86
- package/atoms/switch/switch.story.js +268 -415
- package/atoms/tag/index.js +12 -10
- package/atoms/tag/tag.js +29 -63
- package/atoms/tag/tag.story.js +135 -209
- package/atoms/textarea/index.js +5 -9
- package/atoms/textarea/textarea.js +55 -99
- package/atoms/textarea/textarea.story.js +48 -41
- package/atoms/thematicBreak/index.js +12 -10
- package/atoms/thematicBreak/thematicBreak.js +20 -38
- package/atoms/thematicBreak/thematicBreak.story.js +25 -37
- package/atoms/timeCodeInput/index.js +4 -8
- package/atoms/timeCodeInput/timCodeInput.story.js +21 -35
- package/atoms/timeCodeInput/timeCodeInput.js +33 -51
- package/atoms/timer/index.js +5 -9
- package/atoms/timer/timer.js +57 -108
- package/atoms/timer/timer.story.js +13 -26
- package/atoms/toast/index.js +5 -9
- package/atoms/toast/toast.js +81 -116
- package/atoms/toast/toast.story.js +50 -76
- package/atoms/videoCard/index.js +12 -10
- package/atoms/videoCard/videoCard.js +265 -447
- package/atoms/videoCard/videoCard.story.js +495 -710
- package/components.js +411 -294
- package/index.js +350 -61
- package/molecules/carousel/carousel.js +121 -207
- package/molecules/carousel/carousel.story.js +240 -223
- package/molecules/carousel/index.js +5 -9
- package/molecules/errorScreen/CollabErrorScreen.js +35 -66
- package/molecules/errorScreen/TableErrorScreen.js +109 -102
- package/molecules/errorScreen/TableErrorScreen.jsx +7 -6
- package/molecules/errorScreen/errorScreen.js +41 -94
- package/molecules/filter/constants.js +1 -0
- package/molecules/filter/filter.js +378 -562
- package/molecules/filter/filter.story.js +79 -104
- package/molecules/filter/index.js +5 -9
- package/molecules/graphCard/graphCard.js +97 -193
- package/molecules/graphCard/graphCard.story.js +159 -191
- package/molecules/graphCard/index.js +4 -8
- package/molecules/graphCard/loader.js +28 -68
- package/molecules/graphDetailCard/graphDetailCard.js +115 -183
- package/molecules/graphDetailCard/graphDetailCard.story.js +218 -254
- package/molecules/graphDetailCard/index.js +5 -9
- package/molecules/pageHeader/index.js +12 -10
- package/molecules/pageHeader/pageHeader.js +38 -79
- package/molecules/pageHeader/pageHeader.story.js +34 -55
- package/molecules/pagination/index.js +4 -8
- package/molecules/pagination/pagination.js +126 -202
- package/molecules/pagination/pagination.story.js +40 -52
- package/molecules/richTextInput/RichTextInput.js +354 -0
- package/molecules/richTextInput/RichTextInput.story.js +50 -0
- package/molecules/richTextInput/index.js +9 -0
- package/molecules/table/index.js +4 -8
- package/molecules/table/table-column.js +10 -16
- package/molecules/table/table-header.js +31 -72
- package/molecules/table/table.js +743 -1075
- package/molecules/table/table.story.js +274 -304
- package/molecules/tabs/index.js +4 -8
- package/molecules/tabs/tabs.js +112 -184
- package/molecules/tabs/tabs.story.js +66 -133
- package/molecules/videoCardList/index.js +4 -8
- package/molecules/videoCardList/videoCardList.js +24 -41
- package/molecules/videoCardList/videoCardList.story.js +449 -664
- package/molecules/videoPlayer/index.js +4 -8
- package/molecules/videoPlayer/videoPlayer.js +1019 -1097
- package/molecules/videoPlayer/videoPlayer.story.js +10 -21
- package/package.json +2 -2
|
@@ -1,228 +1,245 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _react = require('react');
|
|
4
|
-
|
|
5
|
-
var _react2 = _interopRequireDefault(_react);
|
|
6
|
-
|
|
7
|
-
var _react3 = require('@storybook/react');
|
|
8
|
-
|
|
9
|
-
var _storyHelpers = require('../../_helpers/story-helpers');
|
|
10
|
-
|
|
11
|
-
var _components = require('../../components');
|
|
12
|
-
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1
|
+
"use strict";
|
|
14
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _react = _interopRequireDefault(require("react"));
|
|
5
|
+
var _react2 = require("@storybook/react");
|
|
6
|
+
var _storyHelpers = require("../../_helpers/story-helpers");
|
|
7
|
+
var _components = require("../../components");
|
|
15
8
|
var img_thumbnail = 'https://tassets.desynova.com/img/topaz-logo.png';
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
9
|
+
(0, _react2.storiesOf)('Carousel').add('appearance-light', function () {
|
|
10
|
+
return /*#__PURE__*/_react["default"].createElement(_storyHelpers.Example, {
|
|
11
|
+
title: "Appearances Light",
|
|
12
|
+
background: "default"
|
|
13
|
+
}, /*#__PURE__*/_react["default"].createElement(_storyHelpers.Stack, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
14
|
+
style: {
|
|
15
|
+
width: '100%'
|
|
16
|
+
}
|
|
17
|
+
}, /*#__PURE__*/_react["default"].createElement(_components.Carousel, {
|
|
18
|
+
headerTitle: "Carousel Story",
|
|
19
|
+
onChange: function onChange(action, totalSlides, currentSlide) {
|
|
20
|
+
console.log(action, totalSlides, currentSlide);
|
|
21
|
+
}
|
|
22
|
+
}, /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
23
|
+
requested_by: {
|
|
24
|
+
name: 'Ashutosh Narkhede',
|
|
25
|
+
email: '',
|
|
26
|
+
user_image: ''
|
|
27
|
+
},
|
|
28
|
+
requested_on: 1542544501148,
|
|
29
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
30
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
31
|
+
extension: 'mp4',
|
|
32
|
+
location: 'Banglore',
|
|
33
|
+
actions: ['play', 'archive'],
|
|
34
|
+
thumbnail: '' + img_thumbnail,
|
|
35
|
+
width: 280,
|
|
36
|
+
height: 250,
|
|
37
|
+
display_type: 'type1',
|
|
38
|
+
id: 'a0001',
|
|
39
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
40
|
+
console.log('ACTION CLICK :', id, action);
|
|
41
|
+
}
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
43
|
+
requested_by: {
|
|
44
|
+
name: 'Ashutosh Narkhede',
|
|
45
|
+
email: '',
|
|
46
|
+
user_image: ''
|
|
47
|
+
},
|
|
48
|
+
requested_on: 1542544501148,
|
|
49
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
50
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
51
|
+
extension: 'mp4',
|
|
52
|
+
location: 'Banglore',
|
|
53
|
+
actions: ['play', 'archive'],
|
|
54
|
+
thumbnail: '' + img_thumbnail,
|
|
55
|
+
width: 280,
|
|
56
|
+
height: 250,
|
|
57
|
+
display_type: 'type1',
|
|
58
|
+
id: 'a0001',
|
|
59
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
60
|
+
console.log('ACTION CLICK :', id, action);
|
|
61
|
+
}
|
|
62
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
63
|
+
requested_by: {
|
|
64
|
+
name: 'Ashutosh Narkhede',
|
|
65
|
+
email: '',
|
|
66
|
+
user_image: ''
|
|
67
|
+
},
|
|
68
|
+
requested_on: 1542544501148,
|
|
69
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
70
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
71
|
+
extension: 'mp4',
|
|
72
|
+
location: 'Banglore',
|
|
73
|
+
actions: ['play', 'archive'],
|
|
74
|
+
thumbnail: '' + img_thumbnail,
|
|
75
|
+
width: 280,
|
|
76
|
+
height: 250,
|
|
77
|
+
display_type: 'type1',
|
|
78
|
+
id: 'a0001',
|
|
79
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
80
|
+
console.log('ACTION CLICK :', id, action);
|
|
81
|
+
}
|
|
82
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
83
|
+
requested_by: {
|
|
84
|
+
name: 'Ashutosh Narkhede',
|
|
85
|
+
email: '',
|
|
86
|
+
user_image: ''
|
|
87
|
+
},
|
|
88
|
+
requested_on: 1542544501148,
|
|
89
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
90
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
91
|
+
extension: 'mp4',
|
|
92
|
+
location: 'Banglore',
|
|
93
|
+
actions: ['play', 'archive'],
|
|
94
|
+
thumbnail: '' + img_thumbnail,
|
|
95
|
+
width: 280,
|
|
96
|
+
height: 250,
|
|
97
|
+
display_type: 'type1',
|
|
98
|
+
id: 'a0001',
|
|
99
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
100
|
+
console.log('ACTION CLICK :', id, action);
|
|
101
|
+
}
|
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
103
|
+
requested_by: {
|
|
104
|
+
name: 'Ashutosh Narkhede',
|
|
105
|
+
email: '',
|
|
106
|
+
user_image: ''
|
|
107
|
+
},
|
|
108
|
+
requested_on: 1542544501148,
|
|
109
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
110
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
111
|
+
extension: 'mp4',
|
|
112
|
+
location: 'Banglore',
|
|
113
|
+
actions: ['play', 'archive'],
|
|
114
|
+
thumbnail: '' + img_thumbnail,
|
|
115
|
+
width: 280,
|
|
116
|
+
height: 250,
|
|
117
|
+
display_type: 'type1',
|
|
118
|
+
id: 'a0001',
|
|
119
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
120
|
+
console.log('ACTION CLICK :', id, action);
|
|
121
|
+
}
|
|
122
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
123
|
+
requested_by: {
|
|
124
|
+
name: 'Ashutosh Narkhede',
|
|
125
|
+
email: '',
|
|
126
|
+
user_image: ''
|
|
127
|
+
},
|
|
128
|
+
requested_on: 1542544501148,
|
|
129
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
130
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
131
|
+
extension: 'mp4',
|
|
132
|
+
location: 'Banglore',
|
|
133
|
+
actions: ['play', 'archive'],
|
|
134
|
+
thumbnail: '' + img_thumbnail,
|
|
135
|
+
width: 280,
|
|
136
|
+
height: 250,
|
|
137
|
+
display_type: 'type1',
|
|
138
|
+
id: 'a0001',
|
|
139
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
140
|
+
console.log('ACTION CLICK :', id, action);
|
|
141
|
+
}
|
|
142
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
143
|
+
requested_by: {
|
|
144
|
+
name: 'Ashutosh Narkhede',
|
|
145
|
+
email: '',
|
|
146
|
+
user_image: ''
|
|
147
|
+
},
|
|
148
|
+
requested_on: 1542544501148,
|
|
149
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
150
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
151
|
+
extension: 'mp4',
|
|
152
|
+
location: 'Banglore',
|
|
153
|
+
actions: ['play', 'archive'],
|
|
154
|
+
thumbnail: '' + img_thumbnail,
|
|
155
|
+
width: 280,
|
|
156
|
+
height: 250,
|
|
157
|
+
display_type: 'type1',
|
|
158
|
+
id: 'a0001',
|
|
159
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
160
|
+
console.log('ACTION CLICK :', id, action);
|
|
161
|
+
}
|
|
162
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
163
|
+
requested_by: {
|
|
164
|
+
name: 'Ashutosh Narkhede',
|
|
165
|
+
email: '',
|
|
166
|
+
user_image: ''
|
|
167
|
+
},
|
|
168
|
+
requested_on: 1542544501148,
|
|
169
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
170
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
171
|
+
extension: 'mp4',
|
|
172
|
+
location: 'Banglore',
|
|
173
|
+
actions: ['play', 'archive'],
|
|
174
|
+
thumbnail: '' + img_thumbnail,
|
|
175
|
+
width: 280,
|
|
176
|
+
height: 250,
|
|
177
|
+
display_type: 'type1',
|
|
178
|
+
id: 'a0001',
|
|
179
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
180
|
+
console.log('ACTION CLICK :', id, action);
|
|
181
|
+
}
|
|
182
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
183
|
+
requested_by: {
|
|
184
|
+
name: 'Ashutosh Narkhede',
|
|
185
|
+
email: '',
|
|
186
|
+
user_image: ''
|
|
187
|
+
},
|
|
188
|
+
requested_on: 1542544501148,
|
|
189
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
190
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
191
|
+
extension: 'mp4',
|
|
192
|
+
location: 'Banglore',
|
|
193
|
+
actions: ['play', 'archive'],
|
|
194
|
+
thumbnail: '' + img_thumbnail,
|
|
195
|
+
width: 280,
|
|
196
|
+
height: 250,
|
|
197
|
+
display_type: 'type1',
|
|
198
|
+
id: 'a0001',
|
|
199
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
200
|
+
console.log('ACTION CLICK :', id, action);
|
|
201
|
+
}
|
|
202
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
203
|
+
requested_by: {
|
|
204
|
+
name: 'Ashutosh Narkhede',
|
|
205
|
+
email: '',
|
|
206
|
+
user_image: ''
|
|
207
|
+
},
|
|
208
|
+
requested_on: 1542544501148,
|
|
209
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
210
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
211
|
+
extension: 'mp4',
|
|
212
|
+
location: 'Banglore',
|
|
213
|
+
actions: ['play', 'archive'],
|
|
214
|
+
thumbnail: '' + img_thumbnail,
|
|
215
|
+
width: 280,
|
|
216
|
+
height: 250,
|
|
217
|
+
display_type: 'type1',
|
|
218
|
+
id: 'a0001',
|
|
219
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
220
|
+
console.log('ACTION CLICK :', id, action);
|
|
221
|
+
}
|
|
222
|
+
}), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
223
|
+
requested_by: {
|
|
224
|
+
name: 'Ashutosh Narkhede',
|
|
225
|
+
email: '',
|
|
226
|
+
user_image: ''
|
|
227
|
+
},
|
|
228
|
+
requested_on: 1542544501148,
|
|
229
|
+
story_name: 'Analysis On CBI Corruption Story',
|
|
230
|
+
filename: 'Analysis_On_CBI_Corruption_Story',
|
|
231
|
+
extension: 'mp4',
|
|
232
|
+
location: 'Banglore',
|
|
233
|
+
actions: ['play', 'archive'],
|
|
234
|
+
thumbnail: '' + img_thumbnail,
|
|
235
|
+
width: 280,
|
|
236
|
+
height: 250,
|
|
237
|
+
display_type: 'type1',
|
|
238
|
+
id: 'a0001',
|
|
239
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
240
|
+
console.log('ACTION CLICK :', id, action);
|
|
241
|
+
}
|
|
242
|
+
})))));
|
|
226
243
|
});
|
|
227
244
|
|
|
228
245
|
// storiesOf('Card').add('appearance-dark', () => (
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
|
-
|
|
7
|
-
var _carousel = require(
|
|
8
|
-
|
|
9
|
-
var _carousel2 = _interopRequireDefault(_carousel);
|
|
10
|
-
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
|
|
13
|
-
exports.default = _carousel2.default;
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _carousel = _interopRequireDefault(require("./carousel"));
|
|
9
|
+
var _default = exports["default"] = _carousel["default"];
|
|
@@ -1,73 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
var _styledComponents = require("styled-components");
|
|
16
|
-
|
|
17
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
18
|
-
|
|
19
|
-
var _icon = require("../../atoms/icon/");
|
|
20
|
-
|
|
21
|
-
var _icon2 = _interopRequireDefault(_icon);
|
|
22
|
-
|
|
23
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
-
|
|
25
|
-
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
26
|
-
|
|
27
|
-
var OuterDiv = _styledComponents2.default.div(_templateObject);
|
|
28
|
-
|
|
29
|
-
var IconDiv = _styledComponents2.default.div(_templateObject2);
|
|
30
|
-
var TextDiv = _styledComponents2.default.div(_templateObject3);
|
|
31
|
-
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
|
+
var _icon = _interopRequireDefault(require("../../atoms/icon/"));
|
|
12
|
+
var _templateObject, _templateObject2, _templateObject3;
|
|
13
|
+
var OuterDiv = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n height: 500px;\n width: 700px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n"])));
|
|
14
|
+
var IconDiv = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\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"])));
|
|
15
|
+
var TextDiv = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\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 font-family: \"SFUIText-Medium\";\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 font-family: \"SFUIText-Medium\";\n font-size: 14px;\n font-style: normal;\n font-weight: 300;\n line-height: 21px;\n }\n"])));
|
|
32
16
|
var CollabErrorScreen = function CollabErrorScreen() {
|
|
33
|
-
return
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
TextDiv,
|
|
58
|
-
null,
|
|
59
|
-
_react2.default.createElement(
|
|
60
|
-
"h2",
|
|
61
|
-
{ className: "text1" },
|
|
62
|
-
"No Data Available"
|
|
63
|
-
),
|
|
64
|
-
_react2.default.createElement(
|
|
65
|
-
"p",
|
|
66
|
-
{ className: "text2" },
|
|
67
|
-
"Sorry, no data at the moment. Stay tuned for updates."
|
|
68
|
-
)
|
|
69
|
-
)
|
|
70
|
-
);
|
|
17
|
+
return /*#__PURE__*/_react["default"].createElement(OuterDiv, null, /*#__PURE__*/_react["default"].createElement(IconDiv, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
18
|
+
style: {
|
|
19
|
+
zIndex: "3",
|
|
20
|
+
position: "absolute",
|
|
21
|
+
top: "25px"
|
|
22
|
+
}
|
|
23
|
+
}, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
|
|
24
|
+
name: "collab_error_icon",
|
|
25
|
+
color: "#303F51"
|
|
26
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
27
|
+
className: "rectangeDiv"
|
|
28
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
29
|
+
className: "div1"
|
|
30
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
31
|
+
className: "div2"
|
|
32
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
|
+
className: "circleDiv"
|
|
34
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
35
|
+
className: "ellipse"
|
|
36
|
+
}))), /*#__PURE__*/_react["default"].createElement(TextDiv, null, /*#__PURE__*/_react["default"].createElement("h2", {
|
|
37
|
+
className: "text1"
|
|
38
|
+
}, "No Data Available"), /*#__PURE__*/_react["default"].createElement("p", {
|
|
39
|
+
className: "text2"
|
|
40
|
+
}, "Sorry, no data at the moment. Stay tuned for updates.")));
|
|
71
41
|
};
|
|
72
|
-
|
|
73
|
-
exports.default = CollabErrorScreen;
|
|
42
|
+
var _default = exports["default"] = CollabErrorScreen;
|