forstok-ui-lib 5.8.4 → 5.8.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.8.4",
3
+ "version": "5.8.5",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+
3
+ <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
4
+ <svg width="auto" height="auto" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <g clip-path="url(#clip0_15_35)">
6
+ <rect width="24" height="24" fill="white"/>
7
+ <path d="M5.33331 6H19.8672C20.4687 6 20.9341 6.52718 20.8595 7.12403L20.1095 13.124C20.0469 13.6245 19.6215 14 19.1172 14H16.5555H9.44442H7.99998" stroke="#000000" stroke-linejoin="round"/>
8
+ <path d="M2 4H4.23362C4.68578 4 5.08169 4.30341 5.19924 4.74003L8.30076 16.26C8.41831 16.6966 8.81422 17 9.26638 17H19" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <circle cx="10" cy="20" r="1" stroke="#000000" stroke-linejoin="round"/>
10
+ <circle cx="17.5" cy="20" r="1" stroke="#000000" stroke-linejoin="round"/>
11
+ </g>
12
+ <defs>
13
+ <clipPath id="clip0_15_35">
14
+ <rect width="24" height="24" fill="white"/>
15
+ </clipPath>
16
+ </defs>
17
+ </svg>
@@ -34,6 +34,8 @@ import IconNotificationUpload from '../../assets/images/icons/notif-upload-white
34
34
  import IconBar from '../../assets/images/icons/humberbars.svg';
35
35
  import IconClose from '../../assets/images/icons/close.svg';
36
36
  import IconPerson from '../../assets/images/icons/person.svg';
37
+ import IconCart from '../../assets/images/icons/cart.svg';
38
+
37
39
  const NotificationStyled = css`
38
40
  width: 44px;
39
41
  height: 44px;
@@ -285,6 +287,12 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
285
287
  content: url(${IconPerson});
286
288
  }`
287
289
  break;
290
+ case 'cart':
291
+ style += `
292
+ &:before {
293
+ content: url(${IconCart});
294
+ }`
295
+ break;
288
296
  default:
289
297
  break;
290
298
  }