ros.grant.common 2.0.1095 → 2.0.1099

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.
@@ -29,7 +29,7 @@ function ChatSideMenuService() {
29
29
  return new Promise((result, reject) => {
30
30
  let url = `${_CHAT_APP_SIDE_MENU_FETCHING_URL}?appId=${appId}`;
31
31
  if (userId) {
32
- url += `${url}&userId=${userId}`;
32
+ url = `${url}&userId=${userId}`;
33
33
  }
34
34
 
35
35
  fetch(url).then(res => {
@@ -365,5 +365,30 @@
365
365
  z-index: 2;
366
366
  cursor: pointer;
367
367
  }
368
+
369
+ &__end-icon{
370
+ position: relative;
371
+
372
+ p{
373
+ margin-right: 25px;
374
+ }
375
+
376
+ &:after{
377
+ display: block;
378
+ content: "";
379
+ height: 16px;
380
+ width: 16px;
381
+ position: absolute;
382
+ right: 8px;
383
+ top: 50%;
384
+ transform: translateY(-50%);
385
+ }
386
+
387
+ &.attention-icon{
388
+ &:after{
389
+ content: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_8393_35994%29%22%3E%3Cpath%20d%3D%22M8.00049%2011.863V11.2055M8.00049%209.23288V6.60274M2.37102%2014H13.63C14.6834%2014%2015.3418%2012.9041%2014.8151%2012.0274L9.18564%202.65753C8.65891%201.78082%207.34207%201.78082%206.81534%202.65753L1.18587%2012.0274C0.65914%2012.9041%201.31756%2014%202.37102%2014Z%22%20stroke%3D%22%23282828%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_8393_35994%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
390
+ }
391
+ }
392
+ }
368
393
  }
369
394
  }
@@ -130,6 +130,62 @@
130
130
  box-shadow: 0px 4px 10px rgba(58, 58, 58, 0.15);
131
131
  border-radius: 4px;
132
132
 
133
+ &.accent-head {
134
+ &.head-error {
135
+ .modal-body-banner {
136
+ background: var(--Warning);
137
+
138
+ &__icon {
139
+ svg {
140
+ path {
141
+ stroke: var(--Red);
142
+ }
143
+ }
144
+ }
145
+
146
+ &__text {
147
+ color: var(--Red);
148
+ }
149
+ }
150
+ }
151
+
152
+ &.head-warning {
153
+ .modal-body-banner {
154
+ background: var(--Attention);
155
+
156
+ &__icon {
157
+ svg {
158
+ path {
159
+ stroke: var(--Orange);
160
+ }
161
+ }
162
+ }
163
+
164
+ &__text {
165
+ color: var(--Orange);
166
+ }
167
+ }
168
+ }
169
+
170
+ &.head-success {
171
+ .modal-body-banner {
172
+ background: var(--Good);
173
+
174
+ &__icon {
175
+ svg {
176
+ path {
177
+ stroke: var(--Green);
178
+ }
179
+ }
180
+ }
181
+
182
+ &__text {
183
+ color: var(--Green);
184
+ }
185
+ }
186
+ }
187
+ }
188
+
133
189
  div[old-class].loader {
134
190
  height: 20em;
135
191
  }
@@ -209,6 +265,29 @@
209
265
  padding-top: 0;
210
266
  }
211
267
 
268
+ &-banner {
269
+ display: flex;
270
+ align-items: flex-start;
271
+ border-radius: 4px;
272
+ padding: 12px 16px;
273
+ margin-bottom: 16px;
274
+ background: var(--TooltipBG);
275
+
276
+ &__icon {
277
+ display: flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ margin-right: 8px;
281
+ }
282
+
283
+ &__text {
284
+ font-weight: bold;
285
+ font-size: 12px;
286
+ line-height: 16px;
287
+ text-align: left;
288
+ }
289
+ }
290
+
212
291
  .modal-title-small {
213
292
  margin-top: -15px;
214
293
  margin-bottom: 24px;
@@ -218,7 +297,7 @@
218
297
 
219
298
  p {
220
299
  font-size: 14px;
221
- line-height: 1.25;
300
+ line-height: 1.43;
222
301
  }
223
302
 
224
303
  div {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1095",
2
+ "version": "2.0.1099",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "description": "Collection of static files used by RosGrant awesome team",