forstok-ui-lib 5.2.45 → 5.2.46

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.2.45",
3
+ "version": "5.2.46",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -26,6 +26,7 @@ import IconArrowLeft from '../../assets/images/icons/arrow-left.svg'
26
26
  import IconArrowLeftDouble from '../../assets/images/icons/arrow-left-double.svg'
27
27
  import IconArrowRight from '../../assets/images/icons/arrow-right.svg'
28
28
  import IconArrowRightDouble from '../../assets/images/icons/arrow-right-double.svg'
29
+ import IconCalendar from '../../assets/images/icons/calendar.svg'
29
30
 
30
31
  const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: string, $name: string, $width?: string | number, onClick?: (e: MouseEvent<HTMLElement>) => void }) => {
31
32
  let style = ``;
@@ -212,6 +213,13 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
212
213
  }
213
214
  `
214
215
  break
216
+ case 'calendar':
217
+ style += `
218
+ &:before {
219
+ content: url(${IconCalendar});
220
+ }
221
+ `
222
+ break
215
223
  default:
216
224
  break;
217
225
  }