forstok-ui-lib 5.2.56 → 5.3.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.2.56",
3
+ "version": "5.3.2",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ plugins: {}
3
+ };
package/rollup.config.js CHANGED
@@ -48,6 +48,9 @@ export default [
48
48
  }),
49
49
  terser(),
50
50
  postcss({
51
+ config: {
52
+ path: './postcss.config.js'
53
+ },
51
54
  inject: true,
52
55
  minimize: true,
53
56
  sourceMap: true,
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
3
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4
+
5
+ <g id="SVGRepo_bgCarrier" stroke-width="0"/>
6
+
7
+ <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
8
+
9
+ <g id="SVGRepo_iconCarrier"> <path d="M10 7L2 7" stroke="#000000" stroke-width="1.5" stroke-linecap="round"/> <path d="M8 12H2" stroke="#000000" stroke-width="1.5" stroke-linecap="round"/> <path d="M10 17H2" stroke="#000000" stroke-width="1.5" stroke-linecap="round"/> <circle cx="17" cy="12" r="5" stroke="#000000" stroke-width="1.5"/> <path d="M17 10V11.8462L18 13" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> </g>
10
+
11
+ </svg>
@@ -27,7 +27,8 @@ 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
29
  import IconCalendar from '../../assets/images/icons/calendar.svg'
30
- import IconQuestion from '../../assets/images/icons/question.svg'
30
+ import IconQuestion from '../../assets/images/icons/question.svg';
31
+ import IconSortby from '../../assets/images/icons/sortby.svg';
31
32
 
32
33
  const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: string, $name: string, $width?: string | number, onClick?: (e: MouseEvent<HTMLElement>) => void }) => {
33
34
  let style = ``;
@@ -228,7 +229,14 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
228
229
  filter: grayscale(100%);
229
230
  }
230
231
  `
231
- break
232
+ break;
233
+ case 'sortby':
234
+ style += `
235
+ &:before {
236
+ content: url(${IconSortby});
237
+ }
238
+ `
239
+ break;
232
240
  default:
233
241
  break;
234
242
  }