oa-componentbook 0.6.0 → 0.8.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.
Files changed (45) hide show
  1. package/build/components/ColorVariables.js +25 -0
  2. package/build/components/oa-component-button/CustomButton.js +60 -0
  3. package/build/components/oa-component-button/styles.js +37 -0
  4. package/build/components/{Wallet Service Details/basicQuestions.js → oa-component-checkbox/CustomCheckBox.js} +28 -22
  5. package/build/components/oa-component-colorUsage/ColorUsage.js +27 -0
  6. package/build/components/oa-component-colorUsage/styles.js +13 -0
  7. package/build/components/oa-component-cornerRadius/CornerRadius.js +25 -0
  8. package/build/components/oa-component-cornerRadius/styles.js +35 -0
  9. package/build/components/{Drawer.js → oa-component-drawer/CustomDrawer.js} +31 -30
  10. package/build/components/oa-component-notification/CustomNotification.js +89 -0
  11. package/build/components/oa-component-notification/styles.js +13 -0
  12. package/build/components/oa-component-radio/CustomRadio.jsx.js +46 -0
  13. package/build/components/oa-component-spacingScales/SpacingScales.js +27 -0
  14. package/build/components/oa-component-spacingScales/styles.js +49 -0
  15. package/build/components/{Table.js → oa-component-table/CustomTable.js} +18 -17
  16. package/build/components/{Button.js → oa-component-tabs/CustomTabs.js} +41 -27
  17. package/build/components/oa-component-toggle/CustomToggle.js +49 -0
  18. package/build/components/oa-component-toggle/styles.js +16 -0
  19. package/build/components/oa-component-typography/Typography.js +34 -0
  20. package/build/components/oa-component-typography/styles.js +13 -0
  21. package/build/index.js +52 -55
  22. package/build/widgets/oa-widget-approval.js +134 -0
  23. package/build/widgets/oa-widget-keyValueDataView/KeyValueDataView.js +67 -0
  24. package/build/widgets/oa-widget-keyValueDataView/styles.js +16 -0
  25. package/build/widgets/oa-widget-stagesTimeline/StageTimeline.js +49 -0
  26. package/build/widgets/oa-widget-stagesTimeline/styles.js +22 -0
  27. package/package.json +17 -6
  28. package/build/components/KeyValueDataView.js +0 -37
  29. package/build/components/Login.js +0 -80
  30. package/build/components/QuesAnsView.js +0 -35
  31. package/build/components/Tabs.js +0 -58
  32. package/build/components/Wallet Service Details/complaintDetail.js +0 -65
  33. package/build/components/Wallet Service Details/serviceDetailsTabView.js +0 -169
  34. package/build/components/Wallet Service Details/styles/styles.css +0 -99
  35. package/build/components/Wallet Service Details/viewMoreDetailsDrawer.js +0 -83
  36. package/build/components/Wallet Service Details/walletServiceDetails.js +0 -71
  37. package/build/components/peclaim-components/CloseClaim.js +0 -212
  38. package/build/components/peclaim-components/ComplaintsTable.js +0 -78
  39. package/build/components/peclaim-components/WorkflowSummaryNotesModal.js +0 -50
  40. package/build/components/peclaim-components/WorkflowSummaryTable.js +0 -75
  41. package/build/components/peclaim-components/compMain.js +0 -54
  42. package/build/components/peclaim-components/wf Main.js +0 -192
  43. package/build/components/style/css/Button.module.css +0 -38
  44. package/build/components/style/css/login.css +0 -335
  45. package/build/components/styles.js +0 -155
@@ -1,335 +0,0 @@
1
- #menu{
2
- display: none;
3
- }
4
- .loginWrapper{
5
- display: flex;
6
- height: 100vh;
7
- background: #fff;
8
- align-items: center;
9
- position: relative;
10
- }
11
-
12
- .loginWrapper .loginBg{
13
- width: calc(100% - 50%);
14
- height: 100%;
15
- position: relative;
16
- }
17
-
18
- .loginWrapper .loginBg img{
19
- height: 100%;
20
- width: 100%;
21
- }
22
-
23
- .loginWrapper .loginBox{
24
- width: 50%;
25
- height: 100vh;
26
- display: flex;
27
- flex-direction: column;
28
- justify-content: flex-start;
29
- align-items: center;
30
- position: relative;
31
- }
32
-
33
- .loginWrapper .loginBox .formBox{
34
- border: none;
35
- border-radius: 0;
36
- box-shadow: none;
37
- margin: 0;
38
- width: 100%;
39
- max-width: 432px;
40
- padding: 0;
41
- height: 100%;
42
- z-index: 1;
43
- display: flex;
44
- flex-direction: column;
45
- justify-content: center;
46
- }
47
-
48
- .loginWrapper .loginBox form{
49
- padding: 0;
50
- width: 100%;
51
- }
52
-
53
- .loginWrapper .loginBox form h1, .loginWrapper .loginBox h1{
54
- font-size: 36px;
55
- line-height: 45px;
56
- color: #454545;
57
- float: none;
58
- width: 100%;
59
- padding: 0;
60
- margin: 0;
61
- }
62
-
63
- .loginWrapper form .subdesc, .loginWrapper .loginBox .subdesc1{
64
- font-weight: 400;
65
- font-size: 14px;
66
- line-height: 16px;
67
- color: #454545;
68
- padding: 6px 0 48px 0;
69
- }
70
-
71
- .loginWrapper .loginBox .subdesc1{
72
- padding: 6px 0 24px 0;
73
- }
74
-
75
- .loginWrapper form .fieldDivSet{
76
- background: none;
77
- border: none;
78
- padding: 0;
79
- margin: 36px 0 0 0;
80
- display: inline-block;
81
- width: 100%;
82
- position: relative;
83
- }
84
-
85
- .loginWrapper form .fieldDivSet .ant-form-item{
86
- margin: 0;
87
- }
88
-
89
- .loginWrapper form .fieldDivSet:first-of-type{
90
- margin: 0;
91
- }
92
-
93
- .loginWrapper form .fieldDivSet img{
94
- position: absolute;
95
- right: 12px;
96
- bottom: 13px;
97
- }
98
-
99
- .loginWrapper form .fieldDivSet label{
100
- font-size: 14px;
101
- line-height: 20px;
102
- margin: 0;
103
- color: #454545;
104
- width: 100%;
105
- font-weight: normal;
106
- }
107
-
108
- .loginWrapper form .fieldDivSet input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
109
- color: #B3B3B3;
110
- opacity: 1; /* Firefox */
111
- }
112
-
113
- .loginWrapper form .fieldDivSet input:-ms-input-placeholder { /* Internet Explorer 10-11 */
114
- color: #B3B3B3;
115
- }
116
-
117
- .loginWrapper form .fieldDivSet input::-ms-input-placeholder { /* Microsoft Edge */
118
- color: #B3B3B3;
119
- }
120
-
121
- .loginWrapper form .fieldDivSet input{
122
- line-height: 1.5;
123
- font-size: 14px;
124
- border-radius: 4px;
125
- padding: 12px;
126
- outline: none;
127
- background-color: #fff;
128
- border: solid 1px #dcdcdc;
129
- -webkit-box-sizing: border-box;
130
- box-sizing: border-box;
131
- margin: 4px 0 0 0;
132
- position: relative;
133
- display: inline-block;
134
- width: 100%;
135
- height: auto;
136
- background-image: none;
137
- -webkit-transition: all .3s;
138
- transition: all .3s;
139
- }
140
-
141
- .loginWrapper form .fieldDivSet input[type=text]:focus, .loginWrapper form .fieldDivSet input[type=password]:focus {
142
- border-color: #0282F0;
143
- box-shadow: 0px 0px 4px #0282F0;
144
- }
145
-
146
- .loginWrapper form .fieldDivSet input.error{
147
- border: 1px solid #E62A10;
148
- box-shadow: 0px 0px 4px #E62A10;
149
- }
150
-
151
- .loginWrapper form .has-error .ant-form-explain{
152
- font-size: 12px;
153
- line-height: 18px;
154
- padding: 5px 0 0 0;
155
- }
156
-
157
- .loginWrapper form .fieldDivSet .forgotLink{
158
- display: block;
159
- text-align: right;
160
- margin: 4px 0 0 0;
161
- }
162
-
163
- .loginWrapper form .fieldDivSet .ant-form-item-with-help + a{
164
- position: absolute;
165
- right: 0;
166
- bottom: -4px;
167
- line-height: 20px;
168
- color: #0282F0;
169
- font-size: 14px;
170
- }
171
-
172
- .loginWrapper form .fieldDivSet .forgotLink:hover, .loginWrapper form .fieldDivSet .forgotLink:focus, .loginWrapper form .loginBack:hover, .loginWrapper form .loginBack:focus, .loginWrapper form .loginBack:hover, .loginWrapper form .loginBack:focus, .loginWrapper .loginBox .loginBackError:hover, .loginWrapper .loginBox .loginBackError:focus, .loginWrapper .formBox .loginBack:hover, .loginWrapper .formBox .loginBack:focus{
173
- color: #40a9ff;
174
- text-decoration: underline;
175
- }
176
- .loginWrapper form .loginBtn{
177
- width: 100%;
178
- background: #0282F0;
179
- color: #fff;
180
- height: 48px;
181
- font-size: 16px;
182
- line-height: 24px;
183
- border: none;
184
- border-radius: 4px;
185
- outline: none;
186
- cursor: pointer;
187
- }
188
-
189
- .loginWrapper form .loginBtn:hover, .loginWrapper form .loginBtn:focus{
190
- background: #40a9ff;
191
- outline: none;
192
- }
193
-
194
- .loginWrapper .divedLine{
195
- width: 36px;
196
- height: 1px;
197
- background: #DCDCDC;
198
- margin: 30px auto;
199
- }
200
-
201
- .loginWrapper .googleBtn{
202
- text-align: center;
203
- display: flex;
204
- justify-content: center;
205
- }
206
-
207
- .loginWrapper .loginBox .footer{
208
- background: none;
209
- position: relative;
210
- z-index: 0;
211
- text-align: center;
212
- }
213
-
214
- .loginWrapper .loginBox .footer p{
215
- font-size: 14px;
216
- line-height: 22px;
217
- color: #7A7A7A;
218
- padding: 5px 0 20px 0 ;
219
- }
220
-
221
- .loginWrapper form .loginBack, .loginWrapper .formBox .loginBack{
222
- text-align: center;
223
- margin: 35px auto 10px;
224
- display: flex;
225
- justify-content: center;
226
- width: fit-content;
227
- font-size: 14px;
228
- }
229
-
230
- .loginWrapper .loginBox .loginBackError{
231
- font-size: 14px;
232
- width: fit-content;
233
- }
234
-
235
- .loginWrapper form .visibleOff{
236
- opacity: 0;
237
- }
238
-
239
- .loginWrapper .loginBox .successIcon{
240
- margin: 0 0 24px 0;
241
- display: flex;
242
- justify-content: center;
243
- }
244
-
245
- .loginWrapper .successText{
246
- font-size: 16px;
247
- line-height: 24px;
248
- text-align: center;
249
- color: #45B448;
250
- }
251
-
252
-
253
- .passwordInfo{ width: 100%; position: absolute; border-radius: 2px; background: #fff; padding: 8px; top: 40px;
254
- z-index: 99; box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);}
255
-
256
- .passwordInfo:after {
257
- bottom: 100%;
258
- left: 20px;
259
- border: solid transparent;
260
- content: " ";
261
- height: 0;
262
- width: 0;
263
- position: absolute;
264
- pointer-events: none;
265
- border-color: rgba(255, 255, 255, 0);
266
- border-bottom-color: #ffffff;
267
- border-width: 5px;
268
- margin-left: -5px;
269
- }
270
-
271
- .passwordInfo ul{ width: 100%; margin: 0; list-style: none;}
272
- .passwordInfo ul li{ width: 100%; display: flex; margin:0; line-height: 18px; padding: 8px 0 0 0;}
273
- .passwordInfo ul li.green{color:#45B448}
274
- .passwordInfo ul li.red{color:#E62A10}
275
- .passwordInfo ul li:first-child{ margin: 0;}
276
- .passwordInfo ul li:before{ content: "\2022"; font-size: 30px; padding-right: 10px;}
277
-
278
- .activeSessionModal .ant-modal-content {
279
- border-radius: 6px;
280
- border: none;
281
- box-shadow:none;
282
- }
283
- .activeSessionModal .ant-modal-title {
284
- font-size: 20px;
285
- }
286
-
287
-
288
- .activeSessionModal .ant-modal-body {
289
- padding: 14px 24px;
290
- font-size: 14px;
291
- line-height: 1.5;
292
- }
293
-
294
- .activeSessionModal .modal-footer {
295
- display: flex;
296
- flex-direction: row;
297
- justify-content: flex-end; margin: 12px 0 0 0;
298
- }
299
- .activeSessionModal .modal-footer button{
300
- margin: 0 0 0 10px;
301
- background: #b4b4b4;
302
- color: #fff;
303
- height: 36px;
304
- font-size: 14px;
305
- line-height: 24px;
306
- border: none;
307
- border-radius: 4px;
308
- outline: none;
309
- cursor: pointer;
310
- width: 100px;
311
- }
312
-
313
- .activeSessionModal .modal-footer button + button{
314
- background: #0282F0;
315
- }
316
-
317
-
318
- .ant-spin-spinning {
319
- position: static;
320
- display: inline-block;
321
- opacity: 1;
322
- display: flex;
323
- flex-direction: column;
324
- align-items: center;
325
- font-size: 12px;
326
- }
327
-
328
-
329
- .actionDiv {
330
- margin: 40px 0 0 0;
331
- }
332
- .ant-spin.ant-spin-show-text .ant-spin-text {
333
- margin: 10px 0 0 0;
334
- font-size: 14px;
335
- }
@@ -1,155 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.tableStyles = exports.keyValueDataViewStyles = exports.buttonStyles = void 0;
7
- const buttonStyles = {
8
- button: {
9
- color: 'white',
10
- padding: '10px 20px',
11
- border: 'none',
12
- borderRadius: '5px',
13
- cursor: 'pointer',
14
- backgroundColor: '#a7a7a7',
15
- width: '200px'
16
- },
17
- 'button.primary': {
18
- backgroundColor: '#007bff'
19
- },
20
- 'button.secondary': {
21
- backgroundColor: '#ff005d'
22
- },
23
- 'button.small': {
24
- width: '100px'
25
- },
26
- 'button.medium': {
27
- width: '200px'
28
- },
29
- 'button.large': {
30
- width: '300px'
31
- },
32
- 'button:hover': {
33
- backgroundColor: '#0056b3'
34
- }
35
- };
36
- exports.buttonStyles = buttonStyles;
37
- const keyValueDataViewStyles = {
38
- '.complaintDetails': {
39
- display: 'flex'
40
- },
41
- '.complaintDetails span': {
42
- width: '100%'
43
- },
44
- '.complaintDetails b': {
45
- margin: '0 8px 4px 0',
46
- minWidth: '140px'
47
- },
48
- '.mainDiv': {
49
- padding: '48px 24px 0'
50
- },
51
- '.mainDiv h3': {
52
- fontSize: '24px',
53
- fontWeight: '500'
54
- },
55
- '.mainDiv h2': {
56
- color: '#454545',
57
- fontSize: '20px',
58
- fontWeight: '500',
59
- letterSpacing: '0',
60
- lineHeight: '30px',
61
- margin: '0 0 12px'
62
- },
63
- '.footerBtn': {
64
- textAlign: 'right',
65
- padding: '48px 0 0'
66
- },
67
- '.footerBtn button:last-child': {
68
- margin: '0 0 0 12px'
69
- },
70
- '.complaintDetails button': {
71
- width: '110px !important'
72
- },
73
- '.flexBody': {
74
- display: 'flex'
75
- },
76
- '.detailCard': {
77
- display: 'flex',
78
- aligIitems: 'flex-start',
79
- background: '#fff',
80
- padding: '24px 16px',
81
- border: '1px solid #DCDCDC',
82
- borderRadius: '4px',
83
- margin: '0 0 16px'
84
- },
85
- '.detailsSec': {
86
- margin: '0 72px 0 0'
87
- },
88
- '.bgColor': {
89
- padding: '8px',
90
- background: '#EBEEF0'
91
- },
92
- '.headerSecStyles': {
93
- display: 'flex',
94
- alignItems: 'center',
95
- padding: '24px',
96
- background: '#fff',
97
- margin: '0 0 8px'
98
- },
99
- '.h2Styles': {
100
- fontSize: '18px',
101
- margin: '0 16px 0 0'
102
- },
103
- '.secondaryBtnStyles': {
104
- margin: '0 0 0 12px'
105
- },
106
- '.detailsSec': {
107
- margin: '0 72px 0 0'
108
- },
109
- '.detailsSec h6': {
110
- color: '#6F7C87',
111
- textTransform: 'uppercase',
112
- padding: '0 0 8px',
113
- fontSize: '10px',
114
- fontWeight: 'bold',
115
- letterSpacing: '1px',
116
- lineHeight: '10px',
117
- margin: '0'
118
- },
119
- '.detailsSec h5': {
120
- color: '#6F7C87',
121
- padding: '0 0 8px',
122
- fontSize: '12px',
123
- fontWeight: 'bold',
124
- letterSpacing: '1px',
125
- lineHeight: '10px',
126
- margin: '0'
127
- },
128
- '.detailsDiv a': {
129
- color: '#0282F0',
130
- display: 'block',
131
- padding: '2px 0 0',
132
- fontSize: '12px',
133
- letterSpacing: '0',
134
- lineHeight: '20px'
135
- },
136
- '.walletTab': {
137
- background: '#fff',
138
- padding: '4px'
139
- },
140
- '.linkStyle': {
141
- color: '#1890ff',
142
- textDecoration: 'underline',
143
- cursor: 'pointer'
144
- }
145
- };
146
- exports.keyValueDataViewStyles = keyValueDataViewStyles;
147
- const tableStyles = {
148
- '.tableBorder': {
149
- border: '1px solid #e8e8e8'
150
- },
151
- '.imgWidth': {
152
- width: '20px'
153
- }
154
- };
155
- exports.tableStyles = tableStyles;