@liner-fe/icon 0.1.0 → 0.1.1

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 (204) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/assets/add-clock/index.tsx +7 -7
  3. package/assets/add-to-folder/index.tsx +7 -7
  4. package/assets/ai/index.tsx +7 -7
  5. package/assets/airplane/index.tsx +7 -7
  6. package/assets/android/index.tsx +7 -7
  7. package/assets/apple/index.tsx +7 -7
  8. package/assets/arrow-back/index.tsx +7 -7
  9. package/assets/arrow-backward/index.tsx +7 -7
  10. package/assets/arrow-down/index.tsx +7 -7
  11. package/assets/arrow-down-left/index.tsx +7 -7
  12. package/assets/arrow-downward/index.tsx +7 -7
  13. package/assets/arrow-drop-right/index.tsx +7 -7
  14. package/assets/arrow-forward/index.tsx +7 -7
  15. package/assets/arrow-left/index.tsx +7 -7
  16. package/assets/arrow-right/index.tsx +7 -7
  17. package/assets/arrow-turn/index.tsx +7 -7
  18. package/assets/arrow-up/index.tsx +7 -7
  19. package/assets/arrow-up-down/index.tsx +7 -7
  20. package/assets/arrow-up-left/index.tsx +7 -7
  21. package/assets/arrow-up-right/index.tsx +7 -7
  22. package/assets/arrow-upward/index.tsx +7 -7
  23. package/assets/bag/index.tsx +7 -7
  24. package/assets/balance/index.tsx +7 -7
  25. package/assets/bell/index.tsx +7 -7
  26. package/assets/block/index.tsx +7 -7
  27. package/assets/bolt/index.tsx +7 -7
  28. package/assets/book/index.tsx +7 -7
  29. package/assets/bookmark/index.tsx +7 -7
  30. package/assets/bookmark-cancel/index.tsx +7 -7
  31. package/assets/books/index.tsx +7 -7
  32. package/assets/brain/index.tsx +7 -7
  33. package/assets/bulb/index.tsx +7 -7
  34. package/assets/bulb-exclamtionmark/index.tsx +7 -7
  35. package/assets/camera/index.tsx +7 -7
  36. package/assets/car/index.tsx +7 -7
  37. package/assets/casual-shoe/index.tsx +7 -7
  38. package/assets/chart-bar/index.tsx +7 -7
  39. package/assets/chart-line-uptrend/index.tsx +7 -7
  40. package/assets/check-mark/index.tsx +7 -7
  41. package/assets/check-mark-fill/index.tsx +7 -7
  42. package/assets/check-mark-in-circle/index.tsx +7 -7
  43. package/assets/chrome/index.tsx +7 -7
  44. package/assets/clock/index.tsx +7 -7
  45. package/assets/close/index.tsx +7 -7
  46. package/assets/close-fill/index.tsx +7 -7
  47. package/assets/collection-add/index.tsx +7 -7
  48. package/assets/collections/index.tsx +7 -7
  49. package/assets/color-docx/index.tsx +7 -7
  50. package/assets/color-excel/index.tsx +7 -7
  51. package/assets/color-facebook/index.tsx +7 -7
  52. package/assets/color-fire/index.tsx +7 -7
  53. package/assets/color-google/index.tsx +7 -7
  54. package/assets/color-html/index.tsx +7 -7
  55. package/assets/color-liner/index.tsx +7 -7
  56. package/assets/color-liner-variation/index.tsx +7 -7
  57. package/assets/color-link/index.tsx +7 -7
  58. package/assets/color-pdf/index.tsx +7 -7
  59. package/assets/color-powerpoint/index.tsx +7 -7
  60. package/assets/color-txt/index.tsx +7 -7
  61. package/assets/copy/index.tsx +7 -7
  62. package/assets/credit/index.tsx +7 -7
  63. package/assets/credit-add/index.tsx +7 -7
  64. package/assets/creditcard/index.tsx +7 -7
  65. package/assets/dark-mode/index.tsx +7 -7
  66. package/assets/description/index.tsx +7 -7
  67. package/assets/desktop/index.tsx +7 -7
  68. package/assets/desktop-on-cursor/index.tsx +7 -7
  69. package/assets/document/index.tsx +7 -7
  70. package/assets/document-add/index.tsx +7 -7
  71. package/assets/document-check/index.tsx +7 -7
  72. package/assets/document-warning/index.tsx +7 -7
  73. package/assets/double-arrow-backward/index.tsx +7 -7
  74. package/assets/double-arrow-forward/index.tsx +7 -7
  75. package/assets/download/index.tsx +7 -7
  76. package/assets/drop-down/index.tsx +7 -7
  77. package/assets/drop-up/index.tsx +7 -7
  78. package/assets/email/index.tsx +7 -7
  79. package/assets/end/index.tsx +7 -7
  80. package/assets/essay/index.tsx +7 -7
  81. package/assets/exclamationmark/index.tsx +7 -7
  82. package/assets/exclamationmark-fill/index.tsx +7 -7
  83. package/assets/expand/index.tsx +7 -7
  84. package/assets/expand-close/index.tsx +7 -7
  85. package/assets/extend/index.tsx +7 -7
  86. package/assets/facebook/index.tsx +7 -7
  87. package/assets/feedback/index.tsx +7 -7
  88. package/assets/filter/index.tsx +7 -7
  89. package/assets/fire/index.tsx +7 -7
  90. package/assets/flowchart/index.tsx +7 -7
  91. package/assets/focus/index.tsx +7 -7
  92. package/assets/folder/index.tsx +7 -7
  93. package/assets/folder-add/index.tsx +7 -7
  94. package/assets/folder-open/index.tsx +7 -7
  95. package/assets/folder-open-share/index.tsx +7 -7
  96. package/assets/folder-share/index.tsx +7 -7
  97. package/assets/formal-bag/index.tsx +7 -7
  98. package/assets/globe/index.tsx +7 -7
  99. package/assets/google/index.tsx +7 -7
  100. package/assets/google-export/index.tsx +7 -7
  101. package/assets/graduationcap/index.tsx +7 -7
  102. package/assets/help/index.tsx +7 -7
  103. package/assets/hide-all/index.tsx +7 -7
  104. package/assets/highlight-edit/index.tsx +7 -7
  105. package/assets/highlighter/index.tsx +7 -7
  106. package/assets/history/index.tsx +7 -7
  107. package/assets/home/index.tsx +7 -7
  108. package/assets/hourglass/index.tsx +7 -7
  109. package/assets/info/index.tsx +7 -7
  110. package/assets/light/index.tsx +7 -7
  111. package/assets/light-mode/index.tsx +7 -7
  112. package/assets/liner/index.tsx +7 -7
  113. package/assets/link/index.tsx +7 -7
  114. package/assets/list/index.tsx +7 -7
  115. package/assets/literature-review/index.tsx +7 -7
  116. package/assets/location/index.tsx +7 -7
  117. package/assets/lock/index.tsx +7 -7
  118. package/assets/m-new-tab/index.tsx +7 -7
  119. package/assets/magic-pencil/index.tsx +7 -7
  120. package/assets/magic-wand/index.tsx +7 -7
  121. package/assets/make-easy/index.tsx +7 -7
  122. package/assets/members/index.tsx +7 -7
  123. package/assets/memo/index.tsx +7 -7
  124. package/assets/menu/index.tsx +7 -7
  125. package/assets/microscope/index.tsx +7 -7
  126. package/assets/mindmap/index.tsx +7 -7
  127. package/assets/minus/index.tsx +7 -7
  128. package/assets/mobile/index.tsx +7 -7
  129. package/assets/more/index.tsx +7 -7
  130. package/assets/more-horizontal/index.tsx +7 -7
  131. package/assets/more-vertical/index.tsx +7 -7
  132. package/assets/move/index.tsx +7 -7
  133. package/assets/move-to-folder/index.tsx +7 -7
  134. package/assets/new-chrome-extension/index.tsx +7 -7
  135. package/assets/new-tab/index.tsx +7 -7
  136. package/assets/new-thread/index.tsx +7 -7
  137. package/assets/new-thread-folder/index.tsx +7 -7
  138. package/assets/palette/index.tsx +7 -7
  139. package/assets/paperclip/index.tsx +7 -7
  140. package/assets/paragraph/index.tsx +7 -7
  141. package/assets/paraphrase/index.tsx +7 -7
  142. package/assets/pencil/index.tsx +7 -7
  143. package/assets/person/index.tsx +7 -7
  144. package/assets/person-add/index.tsx +7 -7
  145. package/assets/person-fill/index.tsx +7 -7
  146. package/assets/photo/index.tsx +7 -7
  147. package/assets/play-button/index.tsx +7 -7
  148. package/assets/plus/index.tsx +7 -7
  149. package/assets/power/index.tsx +7 -7
  150. package/assets/question-box/index.tsx +7 -7
  151. package/assets/question-message/index.tsx +7 -7
  152. package/assets/quote/index.tsx +7 -7
  153. package/assets/redo/index.tsx +7 -7
  154. package/assets/regenerate/index.tsx +7 -7
  155. package/assets/remove-from-folder/index.tsx +7 -7
  156. package/assets/report/index.tsx +7 -7
  157. package/assets/restaurant/index.tsx +7 -7
  158. package/assets/retry/index.tsx +7 -7
  159. package/assets/rocket/index.tsx +7 -7
  160. package/assets/search/index.tsx +7 -7
  161. package/assets/secret-mode/index.tsx +7 -7
  162. package/assets/send/index.tsx +7 -7
  163. package/assets/setting/index.tsx +7 -7
  164. package/assets/share/index.tsx +7 -7
  165. package/assets/sheet-export/index.tsx +7 -7
  166. package/assets/shield/index.tsx +7 -7
  167. package/assets/shield-person/index.tsx +7 -7
  168. package/assets/shield-usage/index.tsx +7 -7
  169. package/assets/shorten/index.tsx +7 -7
  170. package/assets/show-all/index.tsx +7 -7
  171. package/assets/sign-out/index.tsx +7 -7
  172. package/assets/source/index.tsx +7 -7
  173. package/assets/speaker/index.tsx +7 -7
  174. package/assets/spinner/index.tsx +7 -7
  175. package/assets/stack/index.tsx +7 -7
  176. package/assets/star/index.tsx +7 -7
  177. package/assets/start/index.tsx +7 -7
  178. package/assets/step/index.tsx +7 -7
  179. package/assets/stop/index.tsx +7 -7
  180. package/assets/summarize/index.tsx +7 -7
  181. package/assets/survey/index.tsx +7 -7
  182. package/assets/target/index.tsx +7 -7
  183. package/assets/teams/index.tsx +7 -7
  184. package/assets/text-select/index.tsx +7 -7
  185. package/assets/thumb-down/index.tsx +7 -7
  186. package/assets/thumb-up/index.tsx +7 -7
  187. package/assets/timer/index.tsx +7 -7
  188. package/assets/translate/index.tsx +7 -7
  189. package/assets/trash/index.tsx +7 -7
  190. package/assets/tune/index.tsx +7 -7
  191. package/assets/twitter/index.tsx +7 -7
  192. package/assets/undo/index.tsx +7 -7
  193. package/assets/verification-badge/index.tsx +7 -7
  194. package/assets/view-list/index.tsx +7 -7
  195. package/assets/visibility/index.tsx +7 -7
  196. package/assets/visibility-off/index.tsx +7 -7
  197. package/assets/volume/index.tsx +7 -7
  198. package/assets/volume-up/index.tsx +7 -7
  199. package/assets/zoom-in/index.tsx +7 -7
  200. package/assets/zoom-out/index.tsx +7 -7
  201. package/index.tsx +2 -10
  202. package/lib/index.d.ts +200 -207
  203. package/lib/index.js +1195 -1003
  204. package/package.json +1 -1
@@ -1,39 +1,39 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface StartProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconStart = forwardRef<SVGSVGElement, StartProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M5.5 40.0006V8H8.5V40.0006H5.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M38.9359 25.5L28.1251 36.3108L30.2465 38.4321L42.018 26.6606C43.3848 25.2938 43.3848 23.0777 42.018 21.7109L30.2465 9.93933L28.1251 12.0607L38.5645 22.5L14 22.5V25.5L38.9359 25.5Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path d="M5.5 40.0006V8H8.5V40.0006H5.5Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path d="M38.9359 25.5L28.1251 36.3108L30.2465 38.4321L42.018 26.6606C43.3848 25.2938 43.3848 23.0777 42.018 21.7109L30.2465 9.93933L28.1251 12.0607L38.5645 22.5L14 22.5V25.5L38.9359 25.5Z" style={{ fill: `var(--${type})` }}/>
26
26
  </svg>
27
27
  ;
28
28
  } else if (thick) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path d="M5 40.0006V8H9V40.0006H5Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path d="M37.7288 26L27.7716 35.9572L30.6 38.7857L42.3715 27.0142C43.9336 25.4521 43.9336 22.9194 42.3715 21.3573L30.6 9.58578L27.7716 12.4142L37.3574 22L14 22V26L37.7288 26Z" style={{ fill: `var(--${type})` }}/>
32
32
  </svg>
33
33
  ;
34
34
  }
35
35
 
36
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
36
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
37
37
  <path d="M5.5 40.0006V8H8.5V40.0006H5.5Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path d="M38.9359 25.5L28.1251 36.3108L30.2465 38.4321L42.018 26.6606C43.3848 25.2938 43.3848 23.0777 42.018 21.7109L30.2465 9.93933L28.1251 12.0607L38.5645 22.5L14 22.5V25.5L38.9359 25.5Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -1,39 +1,39 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface StepProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconStep = forwardRef<SVGSVGElement, StepProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path fillRule="evenodd" clipRule="evenodd" d="M20.3921 24.0505C21.8175 21.1504 22.5959 17.6827 22.839 14.9636C23.3529 9.21377 20.1013 1.86355 14.0839 1.78983C8.06659 1.71611 4.96458 6.9623 4.33873 13.9635C3.91034 18.7558 5.17605 24.4122 8.0563 27.5044C7.96392 29.3719 8.50743 31.3694 8.96782 33.0616C10.0242 36.9442 13.9047 39.2689 17.6351 38.2539C21.3654 37.2389 23.5331 33.2686 22.4767 29.386C22.0082 27.6639 21.4536 25.6255 20.3921 24.0505ZM11.0523 28.242L18.1635 26.15C18.7497 27.1988 19.1462 28.572 19.582 30.1736C20.2334 32.5678 18.871 34.8086 16.8474 35.3591C14.8239 35.9097 12.514 34.6681 11.8626 32.2739C11.4468 30.7457 11.1039 29.4119 11.0523 28.242ZM7.32682 14.2306C6.94677 18.482 8.12964 23.0965 10.1729 25.3736L17.4514 23.2324L17.6997 22.7271C18.9261 20.232 19.6324 17.1407 19.8509 14.6965C20.0544 12.4192 19.4956 9.77048 18.3212 7.76302C17.16 5.77795 15.6721 4.80951 14.0472 4.7896C12.0672 4.76535 10.6751 5.55181 9.60392 7.0042C8.44082 8.58128 7.61186 11.0419 7.32682 14.2306Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path fillRule="evenodd" clipRule="evenodd" d="M27.9965 32.0505C26.935 33.6255 26.3804 35.6639 25.9119 37.386C24.8555 41.2686 27.0231 45.2389 30.7535 46.2539C34.4839 47.2689 38.3643 44.9442 39.4208 41.0615C39.8812 39.3694 40.4247 37.3719 40.3323 35.5044C43.2125 32.4122 44.4782 26.7558 44.0499 21.9635C43.424 14.9623 40.322 9.71611 34.3047 9.78983C28.2873 9.86355 25.0356 17.2138 25.5496 22.9636C25.7927 25.6827 26.5711 29.1504 27.9965 32.0505ZM30.9848 31.3293L38.367 33.1989C40.317 30.8666 41.4323 26.376 41.0618 22.2306C40.7767 19.0419 39.9478 16.5813 38.7847 15.0042C37.7135 13.5518 36.3214 12.7653 34.3414 12.7896C32.7165 12.8095 31.2286 13.778 30.0673 15.763C28.893 17.7705 28.3341 20.4192 28.5377 22.6965C28.7562 25.1407 29.4625 28.232 30.6889 30.7271L30.9848 31.3293ZM37.3424 36.0341L30.1857 34.2216C29.621 35.261 29.2325 36.6082 28.8066 38.1736C28.1552 40.5678 29.5175 42.8086 31.5411 43.3591C33.5647 43.9097 35.8746 42.6681 36.526 40.2739C36.9666 38.6545 37.3254 37.2533 37.3424 36.0341Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path fillRule="evenodd" clipRule="evenodd" d="M20.3921 24.0505C21.8175 21.1504 22.5959 17.6827 22.839 14.9636C23.3529 9.21377 20.1013 1.86355 14.0839 1.78983C8.06659 1.71611 4.96458 6.9623 4.33873 13.9635C3.91034 18.7558 5.17605 24.4122 8.0563 27.5044C7.96392 29.3719 8.50743 31.3694 8.96782 33.0616C10.0242 36.9442 13.9047 39.2689 17.6351 38.2539C21.3654 37.2389 23.5331 33.2686 22.4767 29.386C22.0082 27.6639 21.4536 25.6255 20.3921 24.0505ZM11.0523 28.242L18.1635 26.15C18.7497 27.1988 19.1462 28.572 19.582 30.1736C20.2334 32.5678 18.871 34.8086 16.8474 35.3591C14.8239 35.9097 12.514 34.6681 11.8626 32.2739C11.4468 30.7457 11.1039 29.4119 11.0523 28.242ZM7.32682 14.2306C6.94677 18.482 8.12964 23.0965 10.1729 25.3736L17.4514 23.2324L17.6997 22.7271C18.9261 20.232 19.6324 17.1407 19.8509 14.6965C20.0544 12.4192 19.4956 9.77048 18.3212 7.76302C17.16 5.77795 15.6721 4.80951 14.0472 4.7896C12.0672 4.76535 10.6751 5.55181 9.60392 7.0042C8.44082 8.58128 7.61186 11.0419 7.32682 14.2306Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path fillRule="evenodd" clipRule="evenodd" d="M27.9965 32.0505C26.935 33.6255 26.3804 35.6639 25.9119 37.386C24.8555 41.2686 27.0231 45.2389 30.7535 46.2539C34.4839 47.2689 38.3643 44.9442 39.4208 41.0615C39.8812 39.3694 40.4247 37.3719 40.3323 35.5044C43.2125 32.4122 44.4782 26.7558 44.0499 21.9635C43.424 14.9623 40.322 9.71611 34.3047 9.78983C28.2873 9.86355 25.0356 17.2138 25.5496 22.9636C25.7927 25.6827 26.5711 29.1504 27.9965 32.0505ZM30.9848 31.3293L38.367 33.1989C40.317 30.8666 41.4323 26.376 41.0618 22.2306C40.7767 19.0419 39.9478 16.5813 38.7847 15.0042C37.7135 13.5518 36.3214 12.7653 34.3414 12.7896C32.7165 12.8095 31.2286 13.778 30.0673 15.763C28.893 17.7705 28.3341 20.4192 28.5377 22.6965C28.7562 25.1407 29.4625 28.232 30.6889 30.7271L30.9848 31.3293ZM37.3424 36.0341L30.1857 34.2216C29.621 35.261 29.2325 36.6082 28.8066 38.1736C28.1552 40.5678 29.5175 42.8086 31.5411 43.3591C33.5647 43.9097 35.8746 42.6681 36.526 40.2739C36.9666 38.6545 37.3254 37.2533 37.3424 36.0341Z" style={{ fill: `var(--${type})` }}/>
26
26
  </svg>
27
27
  ;
28
28
  } else if (thick) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path fillRule="evenodd" clipRule="evenodd" d="M22.8652 14.6173C23.222 8.92313 19.9811 1.86208 14.0839 1.78983C8.06659 1.71611 4.96458 6.9623 4.33873 13.9635C3.91034 18.7558 5.17605 24.4122 8.0563 27.5044C7.96392 29.3719 8.50743 31.3694 8.96782 33.0616C10.0242 36.9442 13.9047 39.2689 17.6351 38.2539C21.3654 37.2389 23.5331 33.2686 22.4767 29.386C22.0082 27.6639 21.4536 25.6255 20.3921 24.0505C20.819 23.1818 21.1879 22.2622 21.5018 21.327C22.2358 19.1402 22.6687 16.8682 22.839 14.9636C22.8492 14.8488 22.858 14.7333 22.8652 14.6173ZM12.0679 28.4644L17.4238 26.8888C17.8668 27.7727 18.2108 28.9431 18.617 30.4361C19.1334 32.3341 18.0396 33.9984 16.5849 34.3942C15.1302 34.79 13.3439 33.9094 12.8275 32.0114C12.4385 30.5816 12.1485 29.433 12.0679 28.4644ZM8.32285 14.3196C7.9604 18.3742 9.10388 22.6284 10.8664 24.6484L16.4482 23.0063L16.8022 22.286C17.9623 19.9259 18.6445 16.96 18.8548 14.6074C19.0406 12.5293 18.5237 10.0894 17.4581 8.26797C16.41 6.47638 15.1985 5.80379 14.0349 5.78953C12.3978 5.76947 11.3016 6.38705 10.4087 7.59774C9.39322 8.97469 8.59859 11.2349 8.32285 14.3196Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path fillRule="evenodd" clipRule="evenodd" d="M27.9965 32.0505C26.935 33.6255 26.3804 35.6639 25.9119 37.386C24.8555 41.2686 27.0231 45.2389 30.7535 46.2539C34.4839 47.2689 38.3643 44.9442 39.4208 41.0615C39.8812 39.3694 40.4247 37.3719 40.3323 35.5044C43.2125 32.4122 44.4782 26.7558 44.0499 21.9635C43.424 14.9623 40.322 9.71611 34.3047 9.78983C30.7967 9.83281 28.2286 12.3488 26.7987 15.5791C25.9154 17.5743 25.4664 19.842 25.4983 21.9677C25.5033 22.3038 25.5204 22.6363 25.5496 22.9636C25.7927 25.6827 26.5711 29.1504 27.9965 32.0505ZM31.7805 30.681L37.7077 32.4246C39.3641 30.3262 40.4153 26.2301 40.0657 22.3196C39.79 19.2349 38.9954 16.9747 37.9799 15.5977C37.087 14.387 35.9908 13.7695 34.3537 13.7895C33.19 13.8038 31.9786 14.4764 30.9305 16.268C29.8649 18.0894 29.348 20.5293 29.5337 22.6074C29.744 24.96 30.4263 27.9259 31.5863 30.286L31.7805 30.681ZM36.3379 36.1912L31.0921 34.6479C30.5857 35.5562 30.2158 36.8033 29.7715 38.4361C29.2551 40.3341 30.349 41.9984 31.8037 42.3942C33.2583 42.79 35.0447 41.9094 35.5611 40.0114C35.9873 38.4447 36.2947 37.2158 36.3379 36.1912Z" style={{ fill: `var(--${type})` }}/>
32
32
  </svg>
33
33
  ;
34
34
  }
35
35
 
36
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
36
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
37
37
  <path fillRule="evenodd" clipRule="evenodd" d="M20.3921 24.0505C21.8175 21.1504 22.5959 17.6827 22.839 14.9636C23.3529 9.21377 20.1013 1.86355 14.0839 1.78983C8.06659 1.71611 4.96458 6.9623 4.33873 13.9635C3.91034 18.7558 5.17605 24.4122 8.0563 27.5044C7.96392 29.3719 8.50743 31.3694 8.96782 33.0616C10.0242 36.9442 13.9047 39.2689 17.6351 38.2539C21.3654 37.2389 23.5331 33.2686 22.4767 29.386C22.0082 27.6639 21.4536 25.6255 20.3921 24.0505ZM11.0523 28.242L18.1635 26.15C18.7497 27.1988 19.1462 28.572 19.582 30.1736C20.2334 32.5678 18.871 34.8086 16.8474 35.3591C14.8239 35.9097 12.514 34.6681 11.8626 32.2739C11.4468 30.7457 11.1039 29.4119 11.0523 28.242ZM7.32682 14.2306C6.94677 18.482 8.12964 23.0965 10.1729 25.3736L17.4514 23.2324L17.6997 22.7271C18.9261 20.232 19.6324 17.1407 19.8509 14.6965C20.0544 12.4192 19.4956 9.77048 18.3212 7.76302C17.16 5.77795 15.6721 4.80951 14.0472 4.7896C12.0672 4.76535 10.6751 5.55181 9.60392 7.0042C8.44082 8.58128 7.61186 11.0419 7.32682 14.2306Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path fillRule="evenodd" clipRule="evenodd" d="M27.9965 32.0505C26.935 33.6255 26.3804 35.6639 25.9119 37.386C24.8555 41.2686 27.0231 45.2389 30.7535 46.2539C34.4839 47.2689 38.3643 44.9442 39.4208 41.0615C39.8812 39.3694 40.4247 37.3719 40.3323 35.5044C43.2125 32.4122 44.4782 26.7558 44.0499 21.9635C43.424 14.9623 40.322 9.71611 34.3047 9.78983C28.2873 9.86355 25.0356 17.2138 25.5496 22.9636C25.7927 25.6827 26.5711 29.1504 27.9965 32.0505ZM30.9848 31.3293L38.367 33.1989C40.317 30.8666 41.4323 26.376 41.0618 22.2306C40.7767 19.0419 39.9478 16.5813 38.7847 15.0042C37.7135 13.5518 36.3214 12.7653 34.3414 12.7896C32.7165 12.8095 31.2286 13.778 30.0673 15.763C28.893 17.7705 28.3341 20.4192 28.5377 22.6965C28.7562 25.1407 29.4625 28.232 30.6889 30.7271L30.9848 31.3293ZM37.3424 36.0341L30.1857 34.2216C29.621 35.261 29.2325 36.6082 28.8066 38.1736C28.1552 40.5678 29.5175 42.8086 31.5411 43.3591C33.5647 43.9097 35.8746 42.6681 36.526 40.2739C36.9666 38.6545 37.3254 37.2533 37.3424 36.0341Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -1,39 +1,39 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface StopProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconStop = forwardRef<SVGSVGElement, StopProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M30 16C31.1046 16 32 16.8954 32 18V30C32 31.1046 31.1046 32 30 32H18C16.8954 32 16 31.1046 16 30V18C16 16.8954 16.8954 16 18 16H30Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path fillRule="evenodd" clipRule="evenodd" d="M24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4ZM24 7C14.6112 7 7 14.6112 7 24C7 33.3888 14.6112 41 24 41C33.3888 41 41 33.3888 41 24C41 14.6112 33.3888 7 24 7Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path d="M30 16C31.1046 16 32 16.8954 32 18V30C32 31.1046 31.1046 32 30 32H18C16.8954 32 16 31.1046 16 30V18C16 16.8954 16.8954 16 18 16H30Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path fillRule="evenodd" clipRule="evenodd" d="M24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4ZM24 7C14.6112 7 7 14.6112 7 24C7 33.3888 14.6112 41 24 41C33.3888 41 41 33.3888 41 24C41 14.6112 33.3888 7 24 7Z" style={{ fill: `var(--${type})` }}/>
26
26
  </svg>
27
27
  ;
28
28
  } else if (thick) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path d="M30 16C31.1046 16 32 16.8954 32 18V30C32 31.1046 31.1046 32 30 32H18C16.8954 32 16 31.1046 16 30V18C16 16.8954 16.8954 16 18 16H30Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path fillRule="evenodd" clipRule="evenodd" d="M24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4ZM24 8C15.1634 8 8 15.1634 8 24C8 32.8366 15.1634 40 24 40C32.8366 40 40 32.8366 40 24C40 15.1634 32.8366 8 24 8Z" style={{ fill: `var(--${type})` }}/>
32
32
  </svg>
33
33
  ;
34
34
  }
35
35
 
36
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
36
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
37
37
  <path d="M30 16C31.1046 16 32 16.8954 32 18V30C32 31.1046 31.1046 32 30 32H18C16.8954 32 16 31.1046 16 30V18C16 16.8954 16.8954 16 18 16H30Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path fillRule="evenodd" clipRule="evenodd" d="M24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4ZM24 7C14.6112 7 7 14.6112 7 24C7 33.3888 14.6112 41 24 41C33.3888 41 41 33.3888 41 24C41 14.6112 33.3888 7 24 7Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -1,31 +1,31 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface SummarizeProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconSummarize = forwardRef<SVGSVGElement, SummarizeProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path fillRule="evenodd" clipRule="evenodd" d="M26.5143 43H7C5.89543 43 5 42.1046 5 41V7C5 5.89543 5.89543 5 7 5H41C42.1046 5 43 5.89543 43 7V28.4501C40.9945 26.3258 38.1521 25 35 25C34.6629 25 34.3294 25.0152 34 25.0448V22H14V26H30.411C28.5149 26.8716 26.9091 28.2666 25.7789 30H14V34H24.1814C24.0622 34.6486 24 35.317 24 36C24 38.6593 24.9436 41.0981 26.5143 43ZM14 18V14H34V18H14Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M33.8002 43.9464V37.9997C33.8002 37.7235 33.5763 37.4997 33.3002 37.4997H29.9301C29.5316 37.4997 29.2932 37.0563 29.513 36.7239L35.2831 27.9982C35.5565 27.5848 36.2002 27.7784 36.2002 28.2741L36.1999 34.2055C36.1998 34.4817 36.4237 34.7055 36.6999 34.7055H40.0708C40.4691 34.7055 40.7075 35.1486 40.488 35.481L34.7174 44.2219C34.4442 44.6357 33.8002 44.4423 33.8002 43.9464Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path d="M41 7V24.4648C39.3439 23.6018 37.4782 23.0857 35.5 23.0107V20.5H12.5V27.5H25.165C24.8881 27.8202 24.6259 28.1536 24.3809 28.5H12.5V35.5H22.0107C22.0044 35.666 22 35.8326 22 36C22 37.7706 22.3541 39.4604 22.9961 41H7V7H41ZM34.2002 34.2051C34.2001 35.5858 35.3194 36.7051 36.7002 36.7051H37.2842L35.7998 38.9521V38C35.7998 36.6193 34.6805 35.5 33.2998 35.5H32.7207L34.2002 33.2617V34.2051ZM12.5 19.5H35.5V12.5H12.5V19.5Z" style={{ fill: `var(--${type})` }} stroke="#1E1E1F" stroke-width="4"/>
25
25
  </svg>
26
26
  ;
27
27
  } else if (thick) {
28
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
28
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
29
  <path d="M39 25.7499V9H9V39H24.4141C24.834 40.4848 25.5579 41.8419 26.5143 43H7C5.89543 43 5 42.1046 5 41V7C5 5.89543 5.89543 5 7 5H41C42.1046 5 43 5.89543 43 7V28.4501C41.8923 27.2768 40.5294 26.3472 39 25.7499Z" style={{ fill: `var(--${type})` }}/>
30
30
  <path d="M34 14H14V18H34V14Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path d="M34 22H14V26H30.411C31.5203 25.4901 32.729 25.1594 34 25.0448V22Z" style={{ fill: `var(--${type})` }}/>
@@ -35,7 +35,7 @@ export const IconSummarize = forwardRef<SVGSVGElement, SummarizeProps>(
35
35
  ;
36
36
  }
37
37
 
38
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
38
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
39
39
  <path d="M40 26.1994V8H8V40H24.7499C25.1781 41.0965 25.7771 42.1074 26.5143 43H7C5.89543 43 5 42.1046 5 41V7C5 5.89543 5.89543 5 7 5H41C42.1046 5 43 5.89543 43 7V28.4501C42.14 27.5392 41.1262 26.7751 40 26.1994Z" style={{ fill: `var(--${type})` }}/>
40
40
  <path d="M14.5 14.5H33.5V17.5H14.5V14.5Z" style={{ fill: `var(--${type})` }}/>
41
41
  <path d="M14.5 22.5H33.5V25.1014C32.8863 25.1851 32.2886 25.3194 31.7114 25.5H14.5V22.5Z" style={{ fill: `var(--${type})` }}/>
@@ -1,20 +1,20 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface SurveyProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconSurvey = forwardRef<SVGSVGElement, SurveyProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path fillRule="evenodd" clipRule="evenodd" d="M12 31C15.3137 31 18 33.6863 18 37C18 40.3137 15.3137 43 12 43C8.68629 43 6 40.3137 6 37C6 33.6863 8.68629 31 12 31ZM12 34C10.3431 34 9 35.3431 9 37C9 38.6569 10.3431 40 12 40C13.6569 40 15 38.6569 15 37C15 35.3431 13.6569 34 12 34Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M42 38.5742H22V35.5742H42V38.5742Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M18.3672 21.0518L12.3887 27.0078C11.6072 27.7859 10.3434 27.7847 9.56348 27.0049L5.93945 23.3809L8.06055 21.2598L10.9785 24.1768L16.25 18.9258L18.3672 21.0518Z" style={{ fill: `var(--${type})` }}/>
@@ -24,7 +24,7 @@ export const IconSurvey = forwardRef<SVGSVGElement, SurveyProps>(
24
24
  </svg>
25
25
  ;
26
26
  } else if (fill) {
27
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
27
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
28
28
  <path fillRule="evenodd" clipRule="evenodd" d="M12 31C15.3137 31 18 33.6863 18 37C18 40.3137 15.3137 43 12 43C8.68629 43 6 40.3137 6 37C6 33.6863 8.68629 31 12 31ZM12 34C10.3431 34 9 35.3431 9 37C9 38.6569 10.3431 40 12 40C13.6569 40 15 38.6569 15 37C15 35.3431 13.6569 34 12 34Z" style={{ fill: `var(--${type})` }}/>
29
29
  <path d="M42 38.5742H22V35.5742H42V38.5742Z" style={{ fill: `var(--${type})` }}/>
30
30
  <path d="M18.3672 21.0518L12.3887 27.0078C11.6072 27.7859 10.3434 27.7847 9.56348 27.0049L5.93945 23.3809L8.06055 21.2598L10.9785 24.1768L16.25 18.9258L18.3672 21.0518Z" style={{ fill: `var(--${type})` }}/>
@@ -34,7 +34,7 @@ export const IconSurvey = forwardRef<SVGSVGElement, SurveyProps>(
34
34
  </svg>
35
35
  ;
36
36
  } else if (thick) {
37
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
37
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
38
38
  <path fillRule="evenodd" clipRule="evenodd" d="M12 31C15.3137 31 18 33.6863 18 37C18 40.3137 15.3137 43 12 43C8.68629 43 6 40.3137 6 37C6 33.6863 8.68629 31 12 31ZM12 35C10.8954 35 10 35.8954 10 37C10 38.1046 10.8954 39 12 39C13.1046 39 14 38.1046 14 37C14 35.8954 13.1046 35 12 35Z" style={{ fill: `var(--${type})` }}/>
39
39
  <path d="M42 39.0742H22V35.0742H42V39.0742Z" style={{ fill: `var(--${type})` }}/>
40
40
  <path d="M18.7207 21.4053L12.7422 27.3613C11.7654 28.3344 10.185 28.3332 9.20996 27.3584L5.58594 23.7344L8.41406 20.9062L10.9785 23.4707L15.8965 18.5723L18.7207 21.4053Z" style={{ fill: `var(--${type})` }}/>
@@ -45,7 +45,7 @@ export const IconSurvey = forwardRef<SVGSVGElement, SurveyProps>(
45
45
  ;
46
46
  }
47
47
 
48
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
48
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
49
49
  <path fillRule="evenodd" clipRule="evenodd" d="M12 31C15.3137 31 18 33.6863 18 37C18 40.3137 15.3137 43 12 43C8.68629 43 6 40.3137 6 37C6 33.6863 8.68629 31 12 31ZM12 34C10.3431 34 9 35.3431 9 37C9 38.6569 10.3431 40 12 40C13.6569 40 15 38.6569 15 37C15 35.3431 13.6569 34 12 34Z" style={{ fill: `var(--${type})` }}/>
50
50
  <path d="M42 38.5742H22V35.5742H42V38.5742Z" style={{ fill: `var(--${type})` }}/>
51
51
  <path d="M18.3672 21.0518L12.3887 27.0078C11.6072 27.7859 10.3434 27.7847 9.56348 27.0049L5.93945 23.3809L8.06055 21.2598L10.9785 24.1768L16.25 18.9258L18.3672 21.0518Z" style={{ fill: `var(--${type})` }}/>
@@ -1,34 +1,34 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface TargetProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconTarget = forwardRef<SVGSVGElement, TargetProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M36.3134 3L36.667 11.1317L36.668 11.1318L44.7997 11.4854L38.4358 17.8493H32.0709L26.8524 23.0678C26.9482 23.3612 27 23.6746 27 24C27 25.6569 25.6569 27 24 27C22.3431 27 21 25.6569 21 24C21 22.3431 22.3431 21 24 21C24.2106 21 24.4162 21.0217 24.6145 21.063L29.9494 15.7281V9.36396L36.3134 3Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M40.3499 19.3278C40.7733 20.8122 41 22.3796 41 24C41 33.3888 33.3888 41 24 41C14.6112 41 7 33.3888 7 24C7 14.6112 14.6112 7 24 7C25.4306 7 26.8199 7.17671 28.1474 7.5095L30.5572 5.09969C28.503 4.38713 26.2967 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 21.5201 43.5486 19.1455 42.7236 16.9541L40.3499 19.3278Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M28.7011 12.9558C27.2574 12.3405 25.6684 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36C30.6274 36 36 30.6274 36 24C36 22.2675 35.6329 20.6208 34.9721 19.1333L32.6386 21.4669C32.8738 22.2704 33 23.1204 33 24C33 28.9706 28.9706 33 24 33C19.0294 33 15 28.9706 15 24C15 19.0294 19.0294 15 24 15C24.8122 15 25.5992 15.1076 26.3476 15.3092L28.7011 12.9558Z" style={{ fill: `var(--${type})` }}/>
21
21
  </svg>
22
22
  ;
23
23
  } else if (fill) {
24
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
25
25
  <path d="M36.3134 3L36.667 11.1317L36.668 11.1318L44.7997 11.4854L38.4358 17.8493H32.0709L26.8524 23.0678C26.9482 23.3612 27 23.6746 27 24C27 25.6569 25.6569 27 24 27C22.3431 27 21 25.6569 21 24C21 22.3431 22.3431 21 24 21C24.2106 21 24.4162 21.0217 24.6145 21.063L29.9494 15.7281V9.36396L36.3134 3Z" style={{ fill: `var(--${type})` }}/>
26
26
  <path d="M40.3499 19.3278C40.7733 20.8122 41 22.3796 41 24C41 33.3888 33.3888 41 24 41C14.6112 41 7 33.3888 7 24C7 14.6112 14.6112 7 24 7C25.4306 7 26.8199 7.17671 28.1474 7.5095L30.5572 5.09969C28.503 4.38713 26.2967 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 21.5201 43.5486 19.1455 42.7236 16.9541L40.3499 19.3278Z" style={{ fill: `var(--${type})` }}/>
27
27
  <path d="M28.7011 12.9558C27.2574 12.3405 25.6684 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36C30.6274 36 36 30.6274 36 24C36 22.2675 35.6329 20.6208 34.9721 19.1333L32.6386 21.4669C32.8738 22.2704 33 23.1204 33 24C33 28.9706 28.9706 33 24 33C19.0294 33 15 28.9706 15 24C15 19.0294 19.0294 15 24 15C24.8122 15 25.5992 15.1076 26.3476 15.3092L28.7011 12.9558Z" style={{ fill: `var(--${type})` }}/>
28
28
  </svg>
29
29
  ;
30
30
  } else if (thick) {
31
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
31
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
32
32
  <path d="M37.4121 10.2384L37.0186 2.5L30.6547 8.86396L30.3635 14.6736L24.9288 20.1084C24.6307 20.0375 24.3197 20 24 20C21.7909 20 20 21.7909 20 24C20 26.2091 21.7909 28 24 28C26.2091 28 28 26.2091 28 24C28 23.6036 27.9423 23.2206 27.8349 22.8591L33.1922 17.5018L39.14 17.3492L45.5039 10.9853L37.4121 10.2384Z" style={{ fill: `var(--${type})` }}/>
33
33
  <path d="M40 24C40 23.2622 39.9501 22.536 39.8534 21.8247L43.2217 18.4563C43.7285 20.2166 44 22.0766 44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C26.0178 4 27.9658 4.29882 29.8022 4.85462L26.4677 8.18914C25.6634 8.06461 24.8392 8 24 8C15.1634 8 8 15.1634 8 24C8 32.8366 15.1634 40 24 40C32.8366 40 40 32.8366 40 24Z" style={{ fill: `var(--${type})` }}/>
34
34
  <path d="M24 12C25.1155 12 26.1955 12.1522 27.2202 12.437L23.6497 16.0075C19.3939 16.1909 16 19.6991 16 24C16 28.4183 19.5817 32 24 32C28.2242 32 31.6837 28.7261 31.9795 24.5772L35.6085 20.9482C35.864 21.9226 36 22.9454 36 24C36 30.6274 30.6274 36 24 36C17.3726 36 12 30.6274 12 24C12 17.3726 17.3726 12 24 12Z" style={{ fill: `var(--${type})` }}/>
@@ -36,7 +36,7 @@ export const IconTarget = forwardRef<SVGSVGElement, TargetProps>(
36
36
  ;
37
37
  }
38
38
 
39
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
39
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
40
40
  <path d="M36.3134 3L36.667 11.1317L36.668 11.1318L44.7997 11.4854L38.4358 17.8493H32.0709L26.8524 23.0678C26.9482 23.3612 27 23.6746 27 24C27 25.6569 25.6569 27 24 27C22.3431 27 21 25.6569 21 24C21 22.3431 22.3431 21 24 21C24.2106 21 24.4162 21.0217 24.6145 21.063L29.9494 15.7281V9.36396L36.3134 3Z" style={{ fill: `var(--${type})` }}/>
41
41
  <path d="M40.3499 19.3278C40.7733 20.8122 41 22.3796 41 24C41 33.3888 33.3888 41 24 41C14.6112 41 7 33.3888 7 24C7 14.6112 14.6112 7 24 7C25.4306 7 26.8199 7.17671 28.1474 7.5095L30.5572 5.09969C28.503 4.38713 26.2967 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 21.5201 43.5486 19.1455 42.7236 16.9541L40.3499 19.3278Z" style={{ fill: `var(--${type})` }}/>
42
42
  <path d="M28.7011 12.9558C27.2574 12.3405 25.6684 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36C30.6274 36 36 30.6274 36 24C36 22.2675 35.6329 20.6208 34.9721 19.1333L32.6386 21.4669C32.8738 22.2704 33 23.1204 33 24C33 28.9706 28.9706 33 24 33C19.0294 33 15 28.9706 15 24C15 19.0294 19.0294 15 24 15C24.8122 15 25.5992 15.1076 26.3476 15.3092L28.7011 12.9558Z" style={{ fill: `var(--${type})` }}/>
@@ -1,20 +1,20 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface TeamsProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconTeams = forwardRef<SVGSVGElement, TeamsProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M39.5166 38.3428L30.5 43.5479V32.8896L39.5166 27.6836V38.3428Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M28.5 32.8789V42.6729L21 38.3428V28.5645L28.5 32.8789Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M19 27.4141V37.5332L10.8643 32.8369L10.7734 22.6816L19 27.4141Z" style={{ fill: `var(--${type})` }}/>
@@ -26,18 +26,18 @@ export const IconTeams = forwardRef<SVGSVGElement, TeamsProps>(
26
26
  </svg>
27
27
  ;
28
28
  } else if (fill) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path fillRule="evenodd" clipRule="evenodd" d="M31.2588 9.5V20.8652L41.0166 26.5V39.5L29.7588 46L8.875 34L8.74121 9.5L20 3L31.2588 9.5ZM31 33.1914V41.8184L38.0166 37.7676V29.2158L31 33.1914ZM21.5 37.7676L28 41.5205V33.1807L21.5 29.498V37.7676ZM11.8594 32.2588L18.4531 36.0664L18.3818 28.0654L11.7881 24.2588L11.8594 32.2588ZM23.4062 27.1299L29.5098 30.5879L35.8633 26.9883L29.7578 23.4629L23.4062 27.1299ZM21.5 16.7568V24.6689L28.2588 20.7676V12.9268L21.5 16.7568ZM11.7412 20.7314L18.5 24.6328V16.3984L11.7412 12.5693V20.7314ZM13.585 10.166L20.3154 13.9795L26.7266 10.3467L20 6.46289L13.585 10.166Z" style={{ fill: `var(--${type})` }}/>
31
31
  </svg>
32
32
  ;
33
33
  } else if (thick) {
34
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
34
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
35
35
  <path fillRule="evenodd" clipRule="evenodd" d="M31.2588 10.5V20.8652L41.0166 26.5V39.5L29.7588 46L8.875 34L8.74121 10.5L20.001 4L31.2588 10.5ZM31.5 33.4814V40.375L37.0166 37.1904V30.3555L31.5 33.4814ZM22.5 37.1904L27.5 40.0771V33.4707L22.5 30.6377V37.1904ZM12.8545 31.6787L17.4375 34.3252L17.3867 28.6094L12.8037 25.9629L12.8545 31.6787ZM24.9189 27.4111L29.5098 30.0127L34.3506 27.2695L29.7578 24.6182L24.9189 27.4111ZM12.7422 21.1904L18 24.2256V18.2588L12.7422 15.2793V21.1904ZM22 18.3311V24.2256L27.2588 21.1904V15.3516L22 18.3311ZM14.5996 11.7354L20.0635 14.8311L25.4629 11.7715L20 8.61816L14.5996 11.7354Z" style={{ fill: `var(--${type})` }}/>
36
36
  </svg>
37
37
  ;
38
38
  }
39
39
 
40
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
40
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
41
41
  <path fillRule="evenodd" clipRule="evenodd" d="M31.2588 9.5V20.8652L41.0166 26.5V39.5L29.7588 46L8.875 34L8.74121 9.5L20 3L31.2588 9.5ZM31 33.1914V41.8184L38.0166 37.7676V29.2158L31 33.1914ZM21.5 37.7676L28 41.5205V33.1807L21.5 29.498V37.7676ZM11.8594 32.2588L18.4531 36.0664L18.3818 28.0654L11.7881 24.2588L11.8594 32.2588ZM23.4062 27.1299L29.5098 30.5879L35.8633 26.9883L29.7578 23.4629L23.4062 27.1299ZM21.5 16.7568V24.6689L28.2588 20.7676V12.9268L21.5 16.7568ZM11.7412 20.7314L18.5 24.6328V16.3984L11.7412 12.5693V20.7314ZM13.585 10.166L20.3154 13.9795L26.7266 10.3467L20 6.46289L13.585 10.166Z" style={{ fill: `var(--${type})` }}/>
42
42
  </svg>
43
43
  ;
@@ -1,39 +1,39 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface TextSelectProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconTextSelect = forwardRef<SVGSVGElement, TextSelectProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M25.5 18.5H30V15.5H18V18.5H22.5V31H25.5V18.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path fillRule="evenodd" clipRule="evenodd" d="M9.5 0C7.84315 0 6.5 1.34315 6.5 3C6.5 4.11042 7.1033 5.07994 8 5.59865L8 37C8 38.1046 8.89543 39 10 39H37V40.4013C36.1033 40.9201 35.5 41.8896 35.5 43C35.5 44.6569 36.8431 46 38.5 46C40.1569 46 41.5 44.6569 41.5 43C41.5 41.8896 40.8967 40.9201 40 40.4013V9C40 7.89543 39.1046 7 38 7H11V5.59865C11.8967 5.07994 12.5 4.11042 12.5 3C12.5 1.34315 11.1569 0 9.5 0ZM11 10V36H37V10H11Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path d="M25.5 18.5H30V15.5H18V18.5H22.5V31H25.5V18.5Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path fillRule="evenodd" clipRule="evenodd" d="M9.5 0C7.84315 0 6.5 1.34315 6.5 3C6.5 4.11042 7.1033 5.07994 8 5.59865L8 37C8 38.1046 8.89543 39 10 39H37V40.4013C36.1033 40.9201 35.5 41.8896 35.5 43C35.5 44.6569 36.8431 46 38.5 46C40.1569 46 41.5 44.6569 41.5 43C41.5 41.8896 40.8967 40.9201 40 40.4013V9C40 7.89543 39.1046 7 38 7H11V5.59865C11.8967 5.07994 12.5 4.11042 12.5 3C12.5 1.34315 11.1569 0 9.5 0ZM11 10V36H37V10H11Z" style={{ fill: `var(--${type})` }}/>
26
26
  </svg>
27
27
  ;
28
28
  } else if (thick) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path d="M26 19H30V15H18V19H22V31H26V19Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path fillRule="evenodd" clipRule="evenodd" d="M10 0C8.34315 -1.78814e-07 7 1.34315 7 3C7 3.8885 7.38625 4.68679 8 5.23611L8 37C8 38.1046 8.89543 39 10 39H36V40.7639C35.3862 41.3132 35 42.1115 35 43C35 44.6569 36.3431 46 38 46C39.6569 46 41 44.6569 41 43C41 42.1115 40.6138 41.3132 40 40.7639V9C40 7.89543 39.1046 7 38 7H12V5.23611C12.6137 4.68679 13 3.8885 13 3C13 1.34315 11.6569 1.19209e-07 10 0ZM12 11V35H36V11H12Z" style={{ fill: `var(--${type})` }}/>
32
32
  </svg>
33
33
  ;
34
34
  }
35
35
 
36
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
36
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
37
37
  <path d="M25.5 18.5H30V15.5H18V18.5H22.5V31H25.5V18.5Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path fillRule="evenodd" clipRule="evenodd" d="M9.5 0C7.84315 0 6.5 1.34315 6.5 3C6.5 4.11042 7.1033 5.07994 8 5.59865L8 37C8 38.1046 8.89543 39 10 39H37V40.4013C36.1033 40.9201 35.5 41.8896 35.5 43C35.5 44.6569 36.8431 46 38.5 46C40.1569 46 41.5 44.6569 41.5 43C41.5 41.8896 40.8967 40.9201 40 40.4013V9C40 7.89543 39.1046 7 38 7H11V5.59865C11.8967 5.07994 12.5 4.11042 12.5 3C12.5 1.34315 11.1569 0 9.5 0ZM11 10V36H37V10H11Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -1,38 +1,38 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface ThumbDownProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconThumbDown = forwardRef<SVGSVGElement, ThumbDownProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M31.9999 4L9.19411 4C8.21643 4 7.38205 4.70683 7.22132 5.6712L3.77612 26.3424C3.36976 28.7805 5.24993 31 7.72169 31H18.4999L17.1268 39.9247C16.7972 42.0675 18.4551 44 20.6231 44C21.5007 44 22.3384 43.6333 22.9336 42.9884L31.9999 33.1666L31.9999 4Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M35.9999 31L41.9999 31C43.1044 31 43.9999 30.1046 43.9999 29L43.9999 6.00001C43.9999 4.89544 43.1044 4.00001 41.9999 4.00001L35.9999 4V31Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path d="M32.4999 4L9.19411 4C8.21643 4 7.38205 4.70683 7.22132 5.6712L3.77612 26.3424C3.36976 28.7805 5.24993 31 7.72169 31H18.4999L17.1268 39.9247C16.7972 42.0675 18.4551 44 20.6231 44C21.5007 44 22.3384 43.6333 22.9336 42.9884L32.4999 32.625L32.4999 4Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path d="M35.4999 31L41.9999 31C43.1044 31 43.9999 30.1046 43.9999 29L43.9999 6.00001C43.9999 4.89544 43.1044 4.00001 41.9999 4.00001L35.4999 4L35.4999 31Z" style={{ fill: `var(--${type})` }}/>
26
26
  </svg>
27
27
  ;
28
28
  } else if (thick) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path fillRule="evenodd" clipRule="evenodd" d="M14.4691 37.7018L15.5001 31H7.72194C5.25018 31 3.37001 28.7805 3.77636 26.3424L7.22156 5.6712C7.38229 4.70683 8.21667 4 9.19435 4L42.0001 4.00001C43.1047 4.00001 44.0001 4.89544 44.0001 6.00001L44.0001 29C44.0001 30.1046 43.1047 31 42.0001 31L34.0001 31L23.4432 42.4366C22.5233 43.4332 21.2287 44 19.8724 44C16.5218 44 13.9596 41.0134 14.4691 37.7018ZM30.0001 29.4361L30.0001 8.00001L10.8886 8L7.72194 27H20.1625L18.4225 38.31C18.2858 39.1986 18.9734 40 19.8724 40C20.1123 40 20.3413 39.8998 20.504 39.7235L30.0001 29.4361ZM34.0001 27L40.0001 27L40.0001 8.00001L34.0001 8.00001L34.0001 27Z" style={{ fill: `var(--${type})` }}/>
31
31
  </svg>
32
32
  ;
33
33
  }
34
34
 
35
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
35
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
36
36
  <path fillRule="evenodd" clipRule="evenodd" d="M14.4691 37.7018L15.5001 31H7.72194C5.25018 31 3.37001 28.7805 3.77636 26.3424L7.22156 5.6712C7.38229 4.70683 8.21667 4 9.19435 4L42.0001 4.00001C43.1047 4.00001 44.0001 4.89544 44.0001 6.00001L44.0001 29C44.0001 30.1046 43.1047 31 42.0001 31L34.0001 31L23.4432 42.4366C22.5233 43.4332 21.2287 44 19.8724 44C16.5218 44 13.9596 41.0134 14.4691 37.7018ZM31.0001 29.8271L31.0001 7.00001L10.0415 7L6.73554 26.8356C6.63396 27.4451 7.104 28 7.72194 28H18.9969L17.4342 38.1579C17.2043 39.6523 18.3605 41 19.8724 41C20.3914 41 20.8868 40.7831 21.2388 40.4018L31.0001 29.8271ZM34.0001 28L41.0001 28L41.0001 7.00001L34.0001 7.00001L34.0001 28Z" style={{ fill: `var(--${type})` }}/>
37
37
  </svg>
38
38
  ;
@@ -1,38 +1,38 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface ThumbUpProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconThumbUp = forwardRef<SVGSVGElement, ThumbUpProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M27.3767 4C29.5448 4 31.2027 5.9325 30.873 8.07534L29.5 17H40.2782C42.7499 17 44.6301 19.2195 44.2237 21.6576L40.7785 42.3288C40.6178 43.2932 39.7834 44 38.8057 44L16 44L16 14.8333L25.0662 5.01161C25.6615 4.36675 26.4991 4 27.3767 4Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M12 17L12 44H6C4.89543 44 4 43.1046 4 42V19C4 17.8954 4.89543 17 6 17H12Z" style={{ fill: `var(--${type})` }}/>
20
20
  </svg>
21
21
  ;
22
22
  } else if (fill) {
23
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
24
  <path d="M30.873 8.07534C31.2027 5.9325 29.5448 4 27.3767 4C26.4991 4 25.6615 4.36675 25.0662 5.01161L15.5 15.375L15.5 44L38.8057 44C39.7834 44 40.6178 43.2932 40.7785 42.3288L44.2237 21.6576C44.6301 19.2195 42.7499 17 40.2782 17H29.5L30.873 8.07534Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path d="M12.5 44L12.5 17H6C4.89543 17 4 17.8954 4 19V42C4 43.1046 4.89543 44 6 44H12.5Z" style={{ fill: `var(--${type})` }}/>
26
26
  </svg>
27
27
  ;
28
28
  } else if (thick) {
29
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
29
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
30
  <path fillRule="evenodd" clipRule="evenodd" d="M33.531 10.2983L32.5 17H40.2782C42.7499 17 44.6301 19.2195 44.2237 21.6576L40.7785 42.3288C40.6178 43.2932 39.7834 44 38.8057 44L6 44C4.89543 44 4 43.1046 4 42V19C4 17.8954 4.89543 17 6 17H14L24.5569 5.5634C25.4768 4.5668 26.7714 4 28.1276 4C31.4783 4 34.0405 6.98659 33.531 10.2983ZM18 18.5639L27.4961 8.27652C27.6588 8.10025 27.8878 8 28.1276 8C29.0267 8 29.7143 8.8014 29.5776 9.69002L27.8376 21H40.2782L37.1115 40L18 40V18.5639ZM14 21H8V40H14V21Z" style={{ fill: `var(--${type})` }}/>
31
31
  </svg>
32
32
  ;
33
33
  }
34
34
 
35
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
35
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
36
36
  <path fillRule="evenodd" clipRule="evenodd" d="M33.531 10.2983L32.5 17H40.2782C42.7499 17 44.6301 19.2195 44.2237 21.6576L40.7785 42.3288C40.6178 43.2932 39.7834 44 38.8057 44L6 44C4.89543 44 4 43.1046 4 42V19C4 17.8954 4.89543 17 6 17H14L24.5569 5.5634C25.4768 4.5668 26.7714 4 28.1276 4C31.4783 4 34.0405 6.98659 33.531 10.2983ZM17 18.173L26.7613 7.59824C27.1133 7.21689 27.6087 7 28.1276 7C29.6396 7 30.7958 8.3477 30.5659 9.84208L29.0032 20H40.2782C40.8961 20 41.3661 20.5549 41.2646 21.1644L37.9586 41L17 41V18.173ZM14 20L7 20V41H14V20Z" style={{ fill: `var(--${type})` }}/>
37
37
  </svg>
38
38
  ;
@@ -1,34 +1,34 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType } from '@liner-fe/design-token-primitive';
2
+ import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
3
  import { SVGProps } from 'react';
4
4
 
5
5
  interface TimerProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
6
6
  fill?: boolean;
7
7
  thick?: boolean;
8
8
  className?: string;
9
- size?: number
9
+ size?: keyof typeof iconSizeMap;
10
10
  type?: BasicColorType;
11
11
  fillType?: BasicColorType;
12
12
  }
13
13
 
14
14
  export const IconTimer = forwardRef<SVGSVGElement, TimerProps>(
15
- ({ fill = false, thick = false, size = 24, type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
15
+ ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
16
  if (fill && thick) {
17
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
17
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
18
18
  <path d="M18 5.5H30V2.5H18V5.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M25.5 26V15H22.5V26H25.5Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path fillRule="evenodd" clipRule="evenodd" d="M42 26C42 35.9411 33.9411 44 24 44C14.0589 44 6 35.9411 6 26C6 16.0589 14.0589 8 24 8C28.4306 8 32.4873 9.60075 35.6233 12.2555L37.9393 9.93945L40.0606 12.0608L37.7446 14.3768C40.3993 17.5128 42 21.5695 42 26ZM39 26C39 34.2843 32.2843 41 24 41C15.7157 41 9 34.2843 9 26C9 17.7157 15.7157 11 24 11C32.2843 11 39 17.7157 39 26Z" style={{ fill: `var(--${type})` }}/>
21
21
  </svg>
22
22
  ;
23
23
  } else if (fill) {
24
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
24
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
25
25
  <path d="M18 5.5H30V2.5H18V5.5Z" style={{ fill: `var(--${type})` }}/>
26
26
  <path d="M25.5 26V15H22.5V26H25.5Z" style={{ fill: `var(--${type})` }}/>
27
27
  <path fillRule="evenodd" clipRule="evenodd" d="M42 26C42 35.9411 33.9411 44 24 44C14.0589 44 6 35.9411 6 26C6 16.0589 14.0589 8 24 8C28.4306 8 32.4873 9.60075 35.6233 12.2555L37.9393 9.93945L40.0606 12.0608L37.7446 14.3768C40.3993 17.5128 42 21.5695 42 26ZM39 26C39 34.2843 32.2843 41 24 41C15.7157 41 9 34.2843 9 26C9 17.7157 15.7157 11 24 11C32.2843 11 39 17.7157 39 26Z" style={{ fill: `var(--${type})` }}/>
28
28
  </svg>
29
29
  ;
30
30
  } else if (thick) {
31
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
31
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
32
32
  <path d="M18 6H30V2H18V6Z" style={{ fill: `var(--${type})` }}/>
33
33
  <path d="M26 26V15H22V26H26Z" style={{ fill: `var(--${type})` }}/>
34
34
  <path fillRule="evenodd" clipRule="evenodd" d="M42 26C42 35.9411 33.9411 44 24 44C14.0589 44 6 35.9411 6 26C6 16.0589 14.0589 8 24 8C28.2501 8 32.1561 9.47298 35.2355 11.9363L37.5858 9.58594L40.4142 12.4144L38.0639 14.7647C40.5271 17.8441 42 21.75 42 26ZM38 26C38 33.732 31.732 40 24 40C16.268 40 10 33.732 10 26C10 18.268 16.268 12 24 12C31.732 12 38 18.268 38 26Z" style={{ fill: `var(--${type})` }}/>
@@ -36,7 +36,7 @@ export const IconTimer = forwardRef<SVGSVGElement, TimerProps>(
36
36
  ;
37
37
  }
38
38
 
39
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
39
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
40
40
  <path d="M18 5.5H30V2.5H18V5.5Z" style={{ fill: `var(--${type})` }}/>
41
41
  <path d="M25.5 26V15H22.5V26H25.5Z" style={{ fill: `var(--${type})` }}/>
42
42
  <path fillRule="evenodd" clipRule="evenodd" d="M42 26C42 35.9411 33.9411 44 24 44C14.0589 44 6 35.9411 6 26C6 16.0589 14.0589 8 24 8C28.4306 8 32.4873 9.60075 35.6233 12.2555L37.9393 9.93945L40.0606 12.0608L37.7446 14.3768C40.3993 17.5128 42 21.5695 42 26ZM39 26C39 34.2843 32.2843 41 24 41C15.7157 41 9 34.2843 9 26C9 17.7157 15.7157 11 24 11C32.2843 11 39 17.7157 39 26Z" style={{ fill: `var(--${type})` }}/>