forstok-ui-lib 5.9.2 → 5.10.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.
Files changed (65) hide show
  1. package/dist/index.js +313 -317
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +313 -317
  4. package/dist/index.mjs.map +1 -1
  5. package/package.json +1 -1
  6. package/src/assets/images/icons/cart.svg +2 -15
  7. package/src/assets/images/icons/person.svg +1 -1
  8. package/src/assets/stylesheets/shares.styles.ts +13 -8
  9. package/src/components/button/styles.ts +7 -14
  10. package/src/components/date/index.tsx +0 -1
  11. package/src/components/icon/styles.ts +33 -66
  12. package/src/components/link/styles.ts +1 -2
  13. package/src/components/masterTable/styles.tsx +2 -4
  14. package/src/components/message/styles.ts +4 -7
  15. package/src/components/radio/styles.ts +1 -3
  16. package/src/components/upload/styles.tsx +2 -3
  17. package/dist/c5e22b0918e5a7ef.svg +0 -9
  18. package/dist/index.css +0 -2
  19. package/dist/index.css.map +0 -1
  20. package/src/assets/images/icons/alert.svg +0 -10
  21. package/src/assets/images/icons/arrow-download.svg +0 -40
  22. package/src/assets/images/icons/arrow-left-blue.svg +0 -10
  23. package/src/assets/images/icons/arrow-left-double.svg +0 -40
  24. package/src/assets/images/icons/arrow-left.svg +0 -39
  25. package/src/assets/images/icons/arrow-red-upload.svg +0 -48
  26. package/src/assets/images/icons/arrow-right-double.svg +0 -40
  27. package/src/assets/images/icons/arrow-right.svg +0 -39
  28. package/src/assets/images/icons/arrow-upload.svg +0 -47
  29. package/src/assets/images/icons/arrow-white-upload.svg +0 -10
  30. package/src/assets/images/icons/arrow.svg +0 -3
  31. package/src/assets/images/icons/bank.svg +0 -9
  32. package/src/assets/images/icons/barcode.svg +0 -34
  33. package/src/assets/images/icons/calendar.svg +0 -4
  34. package/src/assets/images/icons/cash.svg +0 -9
  35. package/src/assets/images/icons/check-white.svg +0 -10
  36. package/src/assets/images/icons/checkmark-tick-grey.svg +0 -10
  37. package/src/assets/images/icons/checkmark-tick.svg +0 -10
  38. package/src/assets/images/icons/close copy.svg +0 -9
  39. package/src/assets/images/icons/close-white.svg +0 -9
  40. package/src/assets/images/icons/close.svg +0 -9
  41. package/src/assets/images/icons/credit.svg +0 -9
  42. package/src/assets/images/icons/debit.svg +0 -9
  43. package/src/assets/images/icons/delivery.svg +0 -12
  44. package/src/assets/images/icons/discount.svg +0 -12
  45. package/src/assets/images/icons/dotted.svg +0 -5
  46. package/src/assets/images/icons/edit-white.svg +0 -5
  47. package/src/assets/images/icons/edit.svg +0 -3
  48. package/src/assets/images/icons/email.svg +0 -9
  49. package/src/assets/images/icons/filter.svg +0 -34
  50. package/src/assets/images/icons/humberbars.svg +0 -1
  51. package/src/assets/images/icons/loading-red.svg +0 -27
  52. package/src/assets/images/icons/notif-download-white.svg +0 -6
  53. package/src/assets/images/icons/notif-upload-white.svg +0 -6
  54. package/src/assets/images/icons/print.svg +0 -9
  55. package/src/assets/images/icons/qris.svg +0 -9
  56. package/src/assets/images/icons/question.svg +0 -2
  57. package/src/assets/images/icons/search.svg +0 -4
  58. package/src/assets/images/icons/sortby.svg +0 -11
  59. package/src/assets/images/icons/success.svg +0 -5
  60. package/src/assets/images/icons/trash.svg +0 -2
  61. package/src/assets/images/icons/wallet.svg +0 -9
  62. package/src/assets/images/icons/warning-white.svg +0 -4
  63. package/src/assets/images/icons/warning.svg +0 -9
  64. package/src/assets/images/icons/xls.svg +0 -9
  65. package/src/components/date/react.datepicker.css +0 -729
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.9.2",
3
+ "version": "5.10.0",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -1,17 +1,4 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
-
3
- <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
4
2
  <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>
3
+ <path d="M4.78571 5H18.2251C19.5903 5 20.5542 6.33739 20.1225 7.63246L18.4558 12.6325C18.1836 13.4491 17.4193 14 16.5585 14H6.07142M4.78571 5L4.74531 4.71716C4.60455 3.73186 3.76071 3 2.76541 3H2M4.78571 5L6.07142 14M6.07142 14L6.25469 15.2828C6.39545 16.2681 7.23929 17 8.23459 17H17M17 17C15.8954 17 15 17.8954 15 19C15 20.1046 15.8954 21 17 21C18.1046 21 19 20.1046 19 19C19 17.8954 18.1046 17 17 17ZM11 19C11 20.1046 10.1046 21 9 21C7.89543 21 7 20.1046 7 19C7 17.8954 7.89543 17 9 17C10.1046 17 11 17.8954 11 19Z" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
17
4
  </svg>
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
2
  <svg width="auto" height="auto" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM7.07 18.28C7.5 17.38 10.12 16.5 12 16.5C13.88 16.5 16.51 17.38 16.93 18.28C15.57 19.36 13.86 20 12 20C10.14 20 8.43 19.36 7.07 18.28ZM12 14.5C13.46 14.5 16.93 15.09 18.36 16.83C19.38 15.49 20 13.82 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12C4 13.82 4.62 15.49 5.64 16.83C7.07 15.09 10.54 14.5 12 14.5ZM12 6C10.06 6 8.5 7.56 8.5 9.5C8.5 11.44 10.06 13 12 13C13.94 13 15.5 11.44 15.5 9.5C15.5 7.56 13.94 6 12 6ZM10.5 9.5C10.5 10.33 11.17 11 12 11C12.83 11 13.5 10.33 13.5 9.5C13.5 8.67 12.83 8 12 8C11.17 8 10.5 8.67 10.5 9.5Z" fill="#000000"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM7.07 18.28C7.5 17.38 10.12 16.5 12 16.5C13.88 16.5 16.51 17.38 16.93 18.28C15.57 19.36 13.86 20 12 20C10.14 20 8.43 19.36 7.07 18.28ZM12 14.5C13.46 14.5 16.93 15.09 18.36 16.83C19.38 15.49 20 13.82 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12C4 13.82 4.62 15.49 5.64 16.83C7.07 15.09 10.54 14.5 12 14.5ZM12 6C10.06 6 8.5 7.56 8.5 9.5C8.5 11.44 10.06 13 12 13C13.94 13 15.5 11.44 15.5 9.5C15.5 7.56 13.94 6 12 6ZM10.5 9.5C10.5 10.33 11.17 11 12 11C12.83 11 13.5 10.33 13.5 9.5C13.5 8.67 12.83 8 12 8C11.17 8 10.5 8.67 10.5 9.5Z" fill="#8c969a"/>
4
4
  </svg>
@@ -576,7 +576,7 @@ const getTabsWrapperModFunc =({ $mode }:{ $mode?: string }) => {
576
576
  const getTableItemWrapperModFunc = ({ $mode, $isBorder, $isPopup }:{ $mode: string, $isBorder?: boolean, $isPopup?: boolean }) => {
577
577
  let style = `
578
578
  ${TableItemColumn} {
579
- width: 960px;
579
+ width: 100%;
580
580
  border-bottom: 1px solid var(--pri-clr-ln);
581
581
  &:first-child {
582
582
  border-bottom: 1px solid var(--sec-clr-ln);
@@ -1040,10 +1040,10 @@ const getTableItemWrapperModFunc = ({ $mode, $isBorder, $isPopup }:{ $mode: stri
1040
1040
  style += `
1041
1041
  ${TableItemColumn} {
1042
1042
  &[role=rowheader] {
1043
- grid-template-columns: 310px 270px var(--qty-pd20);
1043
+ grid-template-columns: 270px 270px var(--qty-pd20);
1044
1044
  }
1045
1045
  &[role=row] {
1046
- grid-template-columns: 310px auto;
1046
+ grid-template-columns: 270px auto;
1047
1047
  }
1048
1048
  &[role=row] > div[role=cellgroup] > div[role=rowgroup],
1049
1049
  ._refCollapse > div,
@@ -1063,7 +1063,16 @@ const getTableItemWrapperModFunc = ({ $mode, $isBorder, $isPopup }:{ $mode: stri
1063
1063
  ._refCollapseContainer > div {
1064
1064
  grid-template-columns: 270px var(--qty-pd20);
1065
1065
  }
1066
-
1066
+ }
1067
+ @media only screen and (min-width: 1024px) {
1068
+ ${TableItemColumn} {
1069
+ &[role=rowheader] {
1070
+ grid-template-columns: 310px 270px var(--qty-pd20);
1071
+ }
1072
+ &[role=row] {
1073
+ grid-template-columns: 310px auto;
1074
+ }
1075
+ }
1067
1076
  }
1068
1077
  `
1069
1078
  }
@@ -1775,10 +1784,6 @@ export const HeaderContainer = styled.aside`
1775
1784
  `
1776
1785
  export const TabsContainer = styled.section<{ $mode?: string }>`
1777
1786
  width: 100%;
1778
- @media only screen and (max-width: 767.9px) {
1779
- overflow-x: auto;
1780
- overflow-y: hidden;
1781
- }
1782
1787
  ${({ $mode }:{ $mode?: string }) => {
1783
1788
  if ($mode === 'master-listing') {
1784
1789
  return css`
@@ -1,11 +1,4 @@
1
1
  import styled, { css } from 'styled-components';
2
- import IconArrowDownload from '../../assets/images/icons/arrow-download.svg';
3
- import IconArrowUpload from '../../assets/images/icons/arrow-white-upload.svg';
4
- import IconDotted from '../../assets/images/icons/dotted.svg';
5
- import IconClose from '../../assets/images/icons/close.svg';
6
- import IconCloseWhite from '../../assets/images/icons/close-white.svg';
7
- import IconFilter from '../../assets/images/icons/filter.svg';
8
- import IconCalendar from '../../assets/images/icons/calendar.svg';
9
2
 
10
3
  const IconStyles = css`
11
4
  display: inline-block;
@@ -129,7 +122,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
129
122
  padding: 8px;
130
123
  background-color: var(--mt-clr-bg__fc);
131
124
  &:before {
132
- content: url(${IconDotted});
125
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/dotted.svg');
133
126
  height: 14px;
134
127
  width: 14px;
135
128
  ${IconStyles}
@@ -139,7 +132,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
139
132
  style += `
140
133
  background-color: transparent;
141
134
  &:before {
142
- content: url(${IconClose});
135
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/close.svg');
143
136
  width: 12px;
144
137
  ${IconStyles}
145
138
  }
@@ -148,7 +141,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
148
141
  style += `
149
142
  background-color: transparent;
150
143
  &:before {
151
- content: url(${IconCloseWhite});
144
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/close-white.svg');
152
145
  width: 8px;
153
146
  ${IconStyles}
154
147
  }
@@ -183,7 +176,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
183
176
  if ($iconLeft === 'export') {
184
177
  style += `
185
178
  &:before {
186
- content: url(${IconArrowDownload});
179
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-download.svg');
187
180
  position: absolute;
188
181
  left: 12px;
189
182
  top: 7px;
@@ -194,7 +187,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
194
187
  } else if ($iconLeft === 'import') {
195
188
  style += `
196
189
  &:before {
197
- content: url(${IconArrowUpload});
190
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-white-upload.svg');
198
191
  position: absolute;
199
192
  left: 50%;
200
193
  top: 8px;
@@ -206,7 +199,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
206
199
  } else if ($iconLeft === 'filter') {
207
200
  style += `
208
201
  &:before {
209
- content: url(${IconFilter});
202
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/filter.svg');
210
203
  position: absolute;
211
204
  left: 12px;
212
205
  top: 50%;
@@ -218,7 +211,7 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
218
211
  } else if ($iconLeft === 'calendar') {
219
212
  style += `
220
213
  &:before {
221
- content: url(${IconCalendar});
214
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/calendar.svg');
222
215
  position: absolute;
223
216
  left: 12px;
224
217
  top: 50%;
@@ -1,7 +1,6 @@
1
1
  import { forwardRef, useState, useEffect } from 'react';
2
2
  import DatePicker from 'react-datepicker';
3
3
  import moment from 'moment';
4
- import './react.datepicker.css';
5
4
  import { DateContainer, DateIndicatorContainer } from './styles';
6
5
  import type { TState } from '../../typeds/base.typed'
7
6
 
@@ -1,38 +1,5 @@
1
1
  import type { MouseEvent } from 'react';
2
2
  import styled, { css } from 'styled-components';
3
- import IconArrowLeftBlue from '../../assets/images/icons/arrow-left-blue.svg';
4
- import IconSearch from '../../assets/images/icons/search.svg';
5
- import IconCheckGrey from '../../assets/images/icons/checkmark-tick-grey.svg';
6
- import IconCheck from '../../assets/images/icons/checkmark-tick.svg';
7
- import IconEdit from '../../assets/images/icons/edit.svg';
8
- import IconArrow from '../../assets/images/icons/arrow.svg';
9
- import IconArrowUpload from '../../assets/images/icons/arrow-upload.svg'
10
- import IconDiscount from '../../assets/images/icons/discount.svg';
11
- import IconCash from '../../assets/images/icons/cash.svg';
12
- import IconCredit from '../../assets/images/icons/credit.svg';
13
- import IconDebit from '../../assets/images/icons/debit.svg';
14
- import IconBank from '../../assets/images/icons/bank.svg';
15
- import IconQris from '../../assets/images/icons/qris.svg';
16
- import IconWallet from '../../assets/images/icons/wallet.svg';
17
- import IconDelivery from '../../assets/images/icons/delivery.svg';
18
- import IconSuccess from '../../assets/images/icons/success.svg';
19
- import IconEmail from '../../assets/images/icons/email.svg';
20
- import IconPrint from '../../assets/images/icons/print.svg';
21
- import IconWarning from '../../assets/images/icons/warning.svg';
22
- import IconAlert from '../../assets/images/icons/alert.svg';
23
- import IconBarcode from '../../assets/images/icons/barcode.svg';
24
- import IconTrash from '../../assets/images/icons/trash.svg'
25
- import IconArrowLeft from '../../assets/images/icons/arrow-left.svg'
26
- import IconArrowLeftDouble from '../../assets/images/icons/arrow-left-double.svg'
27
- import IconArrowRight from '../../assets/images/icons/arrow-right.svg'
28
- import IconArrowRightDouble from '../../assets/images/icons/arrow-right-double.svg'
29
- import IconCalendar from '../../assets/images/icons/calendar.svg'
30
- import IconQuestion from '../../assets/images/icons/question.svg';
31
- import IconSortby from '../../assets/images/icons/sortby.svg';
32
- import IconNotificationDownload from '../../assets/images/icons/notif-download-white.svg';
33
- import IconNotificationUpload from '../../assets/images/icons/notif-upload-white.svg';
34
- import IconBar from '../../assets/images/icons/humberbars.svg';
35
- import IconClose from '../../assets/images/icons/close.svg';
36
3
  import IconPerson from '../../assets/images/icons/person.svg';
37
4
  import IconCart from '../../assets/images/icons/cart.svg';
38
5
 
@@ -54,196 +21,196 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
54
21
  case 'search':
55
22
  style += `
56
23
  &:before {
57
- content: url(${IconSearch});
24
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/search.svg');
58
25
  }
59
26
  `
60
27
  break;
61
28
  case 'check':
62
29
  style += `
63
30
  &:before {
64
- content: url(${IconCheck});
31
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/checkmark-tick.svg');
65
32
  }
66
33
  `
67
34
  break;
68
35
  case 'check-grey':
69
36
  style += `
70
37
  &:before {
71
- content: url(${IconCheckGrey});
38
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/checkmark-tick-grey.svg');
72
39
  }
73
40
  `
74
41
  break;
75
42
  case 'arrow-left-blue':
76
43
  style += `
77
44
  &:before {
78
- content: url(${IconArrowLeftBlue});
45
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-left-blue.svg');
79
46
  }
80
47
  `
81
48
  break;
82
49
  case 'edit':
83
50
  style += `
84
51
  &:before {
85
- content: url(${IconEdit});
52
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/edit.svg');
86
53
  }
87
54
  `
88
55
  break;
89
56
  case 'arrow':
90
57
  style += `
91
58
  &:before {
92
- content: url(${IconArrow});
59
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow.svg');
93
60
  }
94
61
  `
95
62
  break;
96
63
  case 'discount':
97
64
  style += `
98
65
  &:before {
99
- content: url(${IconDiscount});
66
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/discount.svg');
100
67
  }
101
68
  `
102
69
  break;
103
70
  case 'cash':
104
71
  style += `
105
72
  &:before {
106
- content: url(${IconCash});
73
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/cash.svg');
107
74
  }
108
75
  `
109
76
  break;
110
77
  case 'credit':
111
78
  style += `
112
79
  &:before {
113
- content: url(${IconCredit});
80
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/credit.svg');
114
81
  }
115
82
  `
116
83
  break;
117
84
  case 'debit':
118
85
  style += `
119
86
  &:before {
120
- content: url(${IconDebit});
87
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/debit.svg');
121
88
  }
122
89
  `
123
90
  break;
124
91
  case 'bank':
125
92
  style += `
126
93
  &:before {
127
- content: url(${IconBank});
94
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/bank.svg');
128
95
  }
129
96
  `
130
97
  break;
131
98
  case 'qris':
132
99
  style += `
133
100
  &:before {
134
- content: url(${IconQris});
101
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/qris.svg');
135
102
  }
136
103
  `
137
104
  break;
138
105
  case 'wallet':
139
106
  style += `
140
107
  &:before {
141
- content: url(${IconWallet});
108
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/wallet.svg');
142
109
  }
143
110
  `
144
111
  break;
145
112
  case 'delivery':
146
113
  style += `
147
114
  &:before {
148
- content: url(${IconDelivery});
115
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/delivery.svg');
149
116
  }
150
117
  `
151
118
  break;
152
119
  case 'success':
153
120
  style += `
154
121
  &:before {
155
- content: url(${IconSuccess});
122
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/success.svg');
156
123
  }
157
124
  `
158
125
  break;
159
126
  case 'email':
160
127
  style += `
161
128
  &:before {
162
- content: url(${IconEmail});
129
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/email.svg');
163
130
  }
164
131
  `
165
132
  break;
166
133
  case 'print':
167
134
  style += `
168
135
  &:before {
169
- content: url(${IconPrint});
136
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/print.svg');
170
137
  }
171
138
  `
172
139
  break;
173
140
  case 'warning':
174
141
  style += `
175
142
  &:before {
176
- content: url(${IconWarning});
143
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/warning.svg');
177
144
  }
178
145
  `
179
146
  break;
180
147
  case 'alert':
181
148
  style += `
182
149
  &:before {
183
- content: url(${IconAlert});
150
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/alert.svg');
184
151
  }
185
152
  `
186
153
  break;
187
154
  case 'barcode':
188
155
  style += `
189
156
  &:before {
190
- content: url(${IconBarcode});
157
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/barcode.svg');
191
158
  }
192
159
  `
193
160
  break;
194
161
  case 'arrow-upload':
195
162
  style += `
196
163
  &:before {
197
- content: url(${IconArrowUpload});
164
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-upload.svg');
198
165
  }
199
166
  `
200
167
  break;
201
168
  case 'trash':
202
169
  style += `
203
170
  &:before {
204
- content: url(${IconTrash});
171
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/trash.svg');
205
172
  }
206
173
  `
207
174
  break;
208
175
  case 'arrow-left':
209
176
  style += `
210
177
  &:before {
211
- content: url(${IconArrowLeft});
178
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-left.svg');
212
179
  }
213
180
  `
214
181
  break;
215
182
  case 'arrow-left-double':
216
183
  style += `
217
184
  &:before {
218
- content: url(${IconArrowLeftDouble});
185
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-left-double.svg');
219
186
  }
220
187
  `
221
188
  break;
222
189
  case 'arrow-right':
223
190
  style += `
224
191
  &:before {
225
- content: url(${IconArrowRight});
192
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-right.svg');
226
193
  }
227
194
  `
228
195
  break;
229
196
  case 'arrow-right-double':
230
197
  style += `
231
198
  &:before {
232
- content: url(${IconArrowRightDouble});
199
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-right-double.svg');
233
200
  }
234
201
  `
235
202
  break;
236
203
  case 'calendar':
237
204
  style += `
238
205
  &:before {
239
- content: url(${IconCalendar});
206
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/calendar.svg');
240
207
  }
241
208
  `
242
209
  break;
243
210
  case 'question':
244
211
  style += `
245
212
  &:before {
246
- content: url(${IconQuestion});
213
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/question.svg');
247
214
  filter: grayscale(100%);
248
215
  }
249
216
  `
@@ -251,7 +218,7 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
251
218
  case 'sortby':
252
219
  style += `
253
220
  &:before {
254
- content: url(${IconSortby});
221
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/sortby.svg');
255
222
  }
256
223
  `
257
224
  break;
@@ -259,26 +226,26 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
259
226
  style += `
260
227
  ${NotificationStyled}
261
228
  &:before {
262
- content: url(${IconNotificationDownload});
229
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/notif-download-white.svg');
263
230
  }`
264
231
  break;
265
232
  case 'NotificationUpload' :
266
233
  style += `
267
234
  ${NotificationStyled}
268
235
  &:before {
269
- content: url(${IconNotificationUpload});
236
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/notif-upload-white.svg');
270
237
  }`
271
238
  break;
272
239
  case 'bar':
273
240
  style += `
274
241
  &:before {
275
- content: url(${IconBar});
242
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/humberbars.svg');
276
243
  }`
277
244
  break;
278
245
  case 'close':
279
246
  style += `
280
247
  &:before {
281
- content: url(${IconClose});
248
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/close.svg');
282
249
  }`
283
250
  break;
284
251
  case 'person':
@@ -1,6 +1,5 @@
1
1
  import styled, { css } from 'styled-components';
2
2
  import { multiElipsis } from '../../assets/stylesheets/bases.styles';
3
- import IconXls from '../../assets/images/icons/xls.svg';
4
3
 
5
4
  const ClearStyles = css`
6
5
  color: var(--pri-clr-lnk);
@@ -140,7 +139,7 @@ const getLinkModifiedStyled = ({ mode, $elipsis, $activated, $shadow, $iconRight
140
139
  position: relative;
141
140
  padding-right: 21px;
142
141
  &:before {
143
- content: url(${IconXls});
142
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/xls.svg');
144
143
  position: absolute;
145
144
  right: 0px;
146
145
  top: -4px;
@@ -1,7 +1,5 @@
1
1
  import styled, { css } from 'styled-components';
2
2
  import { formLabel, elipsis, thirdElipsis } from '../../assets/stylesheets/bases.styles';
3
- import IconEditWhite from '../../assets/images/icons/edit-white.svg';
4
- import IconLoadingRed from '../../assets/images/icons/loading-red.svg';
5
3
 
6
4
  const divHeaderCell = css`
7
5
  overflow: hidden;
@@ -103,7 +101,7 @@ const commonCSSLists = css`
103
101
  background-color: var(--ov-clr-bg);
104
102
  }
105
103
  &::after {
106
- content: url(${IconEditWhite});
104
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/edit-white.svg');
107
105
  height: 14px
108
106
  width: 14px;
109
107
  display: inline-block;
@@ -120,7 +118,7 @@ const commonCSSLists = css`
120
118
  border: 1px solid rgba(0, 0, 0, .04);
121
119
  cursor: default;
122
120
  &::after {
123
- content: url(${IconLoadingRed});
121
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/loading-red.svg');
124
122
  height: 14px;
125
123
  width: 14px;
126
124
  display: inline-block;
@@ -1,8 +1,5 @@
1
1
  import styled, { css } from 'styled-components';
2
2
  import { dropBase } from '../../assets/stylesheets/bases.styles';
3
- import IconCheck from '../../assets/images/icons/check-white.svg';
4
- import IconWarning from '../../assets/images/icons/warning.svg';
5
- import IconWarningWhite from '../../assets/images/icons/warning-white.svg';
6
3
 
7
4
  const RightButtonStyles = css`
8
5
  button {
@@ -47,7 +44,7 @@ const getMessageContentModifiedStyled = ({ $type }:{ $type?: string }) => {
47
44
  top: 50%;
48
45
  left: 50%;
49
46
  transform: translate(-50%, -50%);
50
- content: url(${IconCheck});
47
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/check-white.svg');
51
48
  }
52
49
  }
53
50
  ${RightButtonStyles}
@@ -62,7 +59,7 @@ const getMessageContentModifiedStyled = ({ $type }:{ $type?: string }) => {
62
59
  height: 1em;
63
60
  top: 0;
64
61
  left: 0;
65
- content: url(${IconWarningWhite});
62
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/warning-white.svg');
66
63
  }
67
64
  }
68
65
  ${RightButtonStyles}
@@ -77,7 +74,7 @@ const getMessageContentModifiedStyled = ({ $type }:{ $type?: string }) => {
77
74
  height: 1em;
78
75
  top: 0;
79
76
  left: 0;
80
- content: url(${IconWarningWhite});
77
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/warning-white.svg');
81
78
  }
82
79
  }
83
80
  ${RightButtonStyles}
@@ -93,7 +90,7 @@ const getMessageContentModifiedStyled = ({ $type }:{ $type?: string }) => {
93
90
  &:before {
94
91
  width: 21px;
95
92
  height: 21px;
96
- content: url(${IconWarning});
93
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/warning.svg');
97
94
  }
98
95
  }
99
96
  span {
@@ -1,7 +1,5 @@
1
1
  import styled, { css } from 'styled-components'
2
2
 
3
- import IconCheckmarkTick from '../../assets/images/icons/checkmark-tick.svg'
4
-
5
3
  export const RadioContainer = styled.div`
6
4
  display: grid;
7
5
  grid-auto-flow: column;
@@ -75,7 +73,7 @@ export const RadioInput = styled.input<{ $mode?: string }>`
75
73
  background: none;
76
74
  }
77
75
  &:before {
78
- content: url(${IconCheckmarkTick});
76
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/checkmark-tick.svg');
79
77
  width: 14px;
80
78
  }
81
79
  }
@@ -1,5 +1,4 @@
1
1
  import styled, { css } from 'styled-components';
2
- import IconRedUpload from '../../assets/images/icons/arrow-red-upload.svg';
3
2
 
4
3
  const IconStyles = css`
5
4
  display: inline-block;
@@ -48,7 +47,7 @@ export const UploadIcon = styled.i`
48
47
  left: 10px;
49
48
  &:before {
50
49
  ${IconStyles}
51
- content: url(${IconRedUpload});
50
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-red-upload.svg');
52
51
  width: 12px;
53
52
  }
54
53
  `
@@ -120,7 +119,7 @@ export const UploadDragDropFileName = styled.div`
120
119
  `
121
120
  export const UploadDragDropIcon = styled.i`
122
121
  &:before {
123
- content: url(${IconRedUpload});
122
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/arrow-red-upload.svg');
124
123
  width: 14px;
125
124
  ${IconStyles}
126
125
  }