forstok-ui-lib 5.8.1 → 5.8.2

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.1",
3
+ "version": "5.8.2",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 212.982 212.982" style="enable-background:new 0 0 212.982 212.982; fill: rgb(72,72,72)" xml:space="preserve">
5
+ <path style="fill-rule:evenodd;clip-rule:evenodd;" d="M131.804,106.491l75.936-75.936c6.99-6.99,6.99-18.323,0-25.312
6
+ c-6.99-6.99-18.322-6.99-25.312,0l-75.937,75.937L30.554,5.242c-6.99-6.99-18.322-6.99-25.312,0c-6.989,6.99-6.989,18.323,0,25.312
7
+ l75.937,75.936L5.242,182.427c-6.989,6.99-6.989,18.323,0,25.312c6.99,6.99,18.322,6.99,25.312,0l75.937-75.937l75.937,75.937
8
+ c6.989,6.99,18.322,6.99,25.312,0c6.99-6.99,6.99-18.322,0-25.312L131.804,106.491z"/>
9
+ </svg>
@@ -32,6 +32,7 @@ import IconSortby from '../../assets/images/icons/sortby.svg';
32
32
  import IconNotificationDownload from '../../assets/images/icons/notif-download-white.svg';
33
33
  import IconNotificationUpload from '../../assets/images/icons/notif-upload-white.svg';
34
34
  import IconBar from '../../assets/images/icons/humberbars.svg';
35
+ import IconClose from '../../assets/images/icons/close.svg';
35
36
 
36
37
  const NotificationStyled = css`
37
38
  width: 44px;
@@ -272,6 +273,12 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
272
273
  content: url(${IconBar});
273
274
  }`
274
275
  break;
276
+ case 'close':
277
+ style += `
278
+ &:before {
279
+ content: url(${IconClose});
280
+ }`
281
+ break;
275
282
  default:
276
283
  break;
277
284
  }