forstok-ui-lib 6.1.0 → 6.2.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/dist/index.js +194 -194
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +123 -123
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/navs/left/ai-active.svg +38 -0
- package/src/assets/images/navs/left/ai.svg +38 -0
- package/src/assets/images/navs/left/conversation-active.svg +1 -0
- package/src/assets/images/navs/left/conversation.svg +1 -0
- package/src/assets/images/navs/left/customers-active.svg +1 -0
- package/src/assets/images/navs/left/customers.svg +1 -0
- package/src/assets/images/navs/left/dashboard-active.svg +44 -0
- package/src/assets/images/navs/left/integrations-active.svg +78 -0
- package/src/assets/images/navs/left/integrations.svg +78 -0
- package/src/assets/images/navs/left/reporting-active.svg +77 -0
- package/src/assets/images/navs/left/reporting.svg +77 -0
- package/src/assets/images/navs/left/settings-active.svg +62 -0
- package/src/assets/images/navs/left/settings.svg +62 -0
- package/src/components/icon/styles.ts +99 -3
|
@@ -5,7 +5,19 @@ import IconPersonRed from '../../assets/images/icons/person-red.svg';
|
|
|
5
5
|
import IconCart from '../../assets/images/icons/cart.svg';
|
|
6
6
|
import IconBack from '../../assets/images/icons/back.svg';
|
|
7
7
|
import IconDashboardLeftNav from '../../assets/images/navs/left/dashboard.svg';
|
|
8
|
-
import
|
|
8
|
+
import IconDashboardActiveLeftNav from '../../assets/images/navs/left/dashboard-active.svg';
|
|
9
|
+
import IconAiLeftNav from '../../assets/images/navs/left/ai.svg';
|
|
10
|
+
import IconAiActiveLeftNav from '../../assets/images/navs/left/ai-active.svg';
|
|
11
|
+
import IconConversationLeftNav from '../../assets/images/navs/left/conversation.svg';
|
|
12
|
+
import IconConversationActiveLeftNav from '../../assets/images/navs/left/conversation-active.svg';
|
|
13
|
+
import IconReportingLeftNav from '../../assets/images/navs/left/reporting.svg';
|
|
14
|
+
import IconReportingActiveLeftNav from '../../assets/images/navs/left/reporting-active.svg';
|
|
15
|
+
import IconIntegrationLeftNav from '../../assets/images/navs/left/integrations.svg';
|
|
16
|
+
import IconIntegrationActiveLeftNav from '../../assets/images/navs/left/integrations-active.svg';
|
|
17
|
+
import IconSettingLeftNav from '../../assets/images/navs/left/settings.svg';
|
|
18
|
+
import IconSettingActiveLeftNav from '../../assets/images/navs/left/settings-active.svg';
|
|
19
|
+
import IconCustomerLeftNav from '../../assets/images/navs/left/customers.svg';
|
|
20
|
+
import IconCustomerActiveLeftNav from '../../assets/images/navs/left/customers-active.svg';
|
|
9
21
|
import IconWarningChat from '../../assets/images/icons/warning-agent.svg';
|
|
10
22
|
import IconCheckChat from '../../assets/images/icons/check.svg';
|
|
11
23
|
import IconCheckChatBlue from '../../assets/images/icons/check-blue.svg';
|
|
@@ -289,10 +301,94 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
|
|
|
289
301
|
}
|
|
290
302
|
`
|
|
291
303
|
break;
|
|
292
|
-
case '
|
|
304
|
+
case 'dashboard-active-left-nav':
|
|
293
305
|
style += `
|
|
294
306
|
&:before {
|
|
295
|
-
content: url(${
|
|
307
|
+
content: url(${IconDashboardActiveLeftNav});
|
|
308
|
+
}
|
|
309
|
+
`
|
|
310
|
+
break;
|
|
311
|
+
case 'conversation-left-nav':
|
|
312
|
+
style += `
|
|
313
|
+
&:before {
|
|
314
|
+
content: url(${IconConversationLeftNav});
|
|
315
|
+
}
|
|
316
|
+
`
|
|
317
|
+
break;
|
|
318
|
+
case 'conversation-active-left-nav':
|
|
319
|
+
style += `
|
|
320
|
+
&:before {
|
|
321
|
+
content: url(${IconConversationActiveLeftNav});
|
|
322
|
+
}
|
|
323
|
+
`
|
|
324
|
+
break;
|
|
325
|
+
case 'ai-left-nav':
|
|
326
|
+
style += `
|
|
327
|
+
&:before {
|
|
328
|
+
content: url(${IconAiLeftNav});
|
|
329
|
+
}
|
|
330
|
+
`
|
|
331
|
+
break;
|
|
332
|
+
case 'ai-active-left-nav':
|
|
333
|
+
style += `
|
|
334
|
+
&:before {
|
|
335
|
+
content: url(${IconAiActiveLeftNav});
|
|
336
|
+
}
|
|
337
|
+
`
|
|
338
|
+
break;
|
|
339
|
+
case 'reporting-left-nav':
|
|
340
|
+
style += `
|
|
341
|
+
&:before {
|
|
342
|
+
content: url(${IconReportingLeftNav});
|
|
343
|
+
}
|
|
344
|
+
`
|
|
345
|
+
break;
|
|
346
|
+
case 'reporting-active-left-nav':
|
|
347
|
+
style += `
|
|
348
|
+
&:before {
|
|
349
|
+
content: url(${IconReportingActiveLeftNav});
|
|
350
|
+
}
|
|
351
|
+
`
|
|
352
|
+
break;
|
|
353
|
+
case 'integration-left-nav':
|
|
354
|
+
style += `
|
|
355
|
+
&:before {
|
|
356
|
+
content: url(${IconIntegrationLeftNav});
|
|
357
|
+
}
|
|
358
|
+
`
|
|
359
|
+
break;
|
|
360
|
+
case 'integration-active-left-nav':
|
|
361
|
+
style += `
|
|
362
|
+
&:before {
|
|
363
|
+
content: url(${IconIntegrationActiveLeftNav});
|
|
364
|
+
}
|
|
365
|
+
`
|
|
366
|
+
break;
|
|
367
|
+
case 'setting-left-nav':
|
|
368
|
+
style += `
|
|
369
|
+
&:before {
|
|
370
|
+
content: url(${IconSettingLeftNav});
|
|
371
|
+
}
|
|
372
|
+
`
|
|
373
|
+
break;
|
|
374
|
+
case 'setting-active-left-nav':
|
|
375
|
+
style += `
|
|
376
|
+
&:before {
|
|
377
|
+
content: url(${IconSettingActiveLeftNav});
|
|
378
|
+
}
|
|
379
|
+
`
|
|
380
|
+
break;
|
|
381
|
+
case 'customer-left-nav':
|
|
382
|
+
style += `
|
|
383
|
+
&:before {
|
|
384
|
+
content: url(${IconCustomerLeftNav});
|
|
385
|
+
}
|
|
386
|
+
`
|
|
387
|
+
break;
|
|
388
|
+
case 'customer-active-left-nav':
|
|
389
|
+
style += `
|
|
390
|
+
&:before {
|
|
391
|
+
content: url(${IconCustomerActiveLeftNav});
|
|
296
392
|
}
|
|
297
393
|
`
|
|
298
394
|
break;
|