@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,36 +1,36 @@
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 NewChromeExtensionProps 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 IconNewChromeExtension = forwardRef<SVGSVGElement, NewChromeExtensionProps>(
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="M40.2041 11.0107C40.2705 11.0175 40.3361 11.027 40.4004 11.04L40.4033 11.041L40.5713 11.083C40.5742 11.0839 40.5771 11.085 40.5801 11.0859C40.6128 11.0958 40.6448 11.1076 40.6768 11.1191C40.7037 11.1288 40.7305 11.1386 40.7568 11.1494C40.7863 11.1615 40.815 11.1751 40.8438 11.1885C40.8726 11.2019 40.9016 11.2147 40.9297 11.2295C40.9563 11.2435 40.9819 11.2592 41.0078 11.2744C41.0365 11.2912 41.065 11.308 41.0928 11.3262C41.1165 11.3417 41.1391 11.3585 41.1621 11.375C41.1898 11.3948 41.2175 11.4144 41.2441 11.4355C41.2651 11.4523 41.2854 11.4698 41.3057 11.4873C41.334 11.5117 41.3618 11.5365 41.3887 11.5625C41.4062 11.5795 41.4235 11.5967 41.4404 11.6143C41.466 11.6408 41.4905 11.6683 41.5146 11.6963C41.5315 11.7159 41.5483 11.7356 41.5645 11.7559C41.5872 11.7844 41.6087 11.8139 41.6299 11.8438C41.646 11.8665 41.6615 11.8896 41.6768 11.9131C41.694 11.9397 41.7105 11.9667 41.7266 11.9941C41.7415 12.0197 41.7567 12.045 41.7705 12.0713C41.7884 12.1054 41.8043 12.1405 41.8203 12.1758C41.8301 12.1973 41.8406 12.2184 41.8496 12.2402C41.8646 12.2766 41.8768 12.3141 41.8896 12.3516C41.8975 12.3743 41.9061 12.3968 41.9131 12.4199C41.9253 12.4604 41.9356 12.5015 41.9453 12.543C41.9503 12.5644 41.9556 12.5857 41.96 12.6074C41.9853 12.7344 42 12.8655 42 13V36L41.9893 36.2041C41.8938 37.1457 41.1457 37.8938 40.2041 37.9893L40 38H8L7.7959 37.9893C6.85435 37.8938 6.1062 37.1457 6.01074 36.2041L6 36V13C6 11.9643 6.78722 11.113 7.7959 11.0107L8 11H40L40.2041 11.0107ZM9 35H39V22H29C27.8954 22 27 21.1046 27 20V14H9V35Z" style={{ fill: `var(--${type})` }}/>
19
19
  </svg>
20
20
  ;
21
21
  } else if (fill) {
22
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
22
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
23
  <path fillRule="evenodd" clipRule="evenodd" d="M40.2041 11.0107C40.2705 11.0175 40.3361 11.027 40.4004 11.04L40.4033 11.041L40.5713 11.083C40.5742 11.0839 40.5771 11.085 40.5801 11.0859C40.6128 11.0958 40.6448 11.1076 40.6768 11.1191C40.7037 11.1288 40.7305 11.1386 40.7568 11.1494C40.7863 11.1615 40.815 11.1751 40.8438 11.1885C40.8726 11.2019 40.9016 11.2147 40.9297 11.2295C40.9563 11.2435 40.9819 11.2592 41.0078 11.2744C41.0365 11.2912 41.065 11.308 41.0928 11.3262C41.1165 11.3417 41.1391 11.3585 41.1621 11.375C41.1898 11.3948 41.2175 11.4144 41.2441 11.4355C41.2651 11.4523 41.2854 11.4698 41.3057 11.4873C41.334 11.5117 41.3618 11.5365 41.3887 11.5625C41.4062 11.5795 41.4235 11.5967 41.4404 11.6143C41.466 11.6408 41.4905 11.6683 41.5146 11.6963C41.5315 11.7159 41.5483 11.7356 41.5645 11.7559C41.5872 11.7844 41.6087 11.8139 41.6299 11.8438C41.646 11.8665 41.6615 11.8896 41.6768 11.9131C41.694 11.9397 41.7105 11.9667 41.7266 11.9941C41.7415 12.0197 41.7567 12.045 41.7705 12.0713C41.7884 12.1054 41.8043 12.1405 41.8203 12.1758C41.8301 12.1973 41.8406 12.2184 41.8496 12.2402C41.8646 12.2766 41.8768 12.3141 41.8896 12.3516C41.8975 12.3743 41.9061 12.3968 41.9131 12.4199C41.9253 12.4604 41.9356 12.5015 41.9453 12.543C41.9503 12.5644 41.9556 12.5857 41.96 12.6074C41.9853 12.7344 42 12.8655 42 13V36L41.9893 36.2041C41.8938 37.1457 41.1457 37.8938 40.2041 37.9893L40 38H8L7.7959 37.9893C6.85435 37.8938 6.1062 37.1457 6.01074 36.2041L6 36V13C6 11.9643 6.78722 11.113 7.7959 11.0107L8 11H40L40.2041 11.0107ZM9 35H39V22H29C27.8954 22 27 21.1046 27 20V14H9V35Z" style={{ fill: `var(--${type})` }}/>
24
24
  </svg>
25
25
  ;
26
26
  } else if (thick) {
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="M40.2041 11.0107C40.2705 11.0175 40.3361 11.027 40.4004 11.04L40.4033 11.041L40.5713 11.083C40.5742 11.0839 40.5771 11.085 40.5801 11.0859C40.6128 11.0958 40.6448 11.1076 40.6768 11.1191C40.7037 11.1288 40.7305 11.1386 40.7568 11.1494C40.7863 11.1615 40.815 11.1751 40.8438 11.1885C40.8726 11.2019 40.9016 11.2147 40.9297 11.2295C40.9563 11.2435 40.9819 11.2592 41.0078 11.2744C41.0365 11.2912 41.065 11.308 41.0928 11.3262C41.1165 11.3417 41.1391 11.3585 41.1621 11.375C41.1898 11.3948 41.2175 11.4144 41.2441 11.4355C41.2651 11.4523 41.2854 11.4698 41.3057 11.4873C41.334 11.5117 41.3618 11.5365 41.3887 11.5625C41.4062 11.5795 41.4235 11.5967 41.4404 11.6143C41.466 11.6408 41.4905 11.6683 41.5146 11.6963C41.5315 11.7159 41.5483 11.7356 41.5645 11.7559C41.5872 11.7844 41.6087 11.8139 41.6299 11.8438C41.646 11.8665 41.6615 11.8896 41.6768 11.9131C41.694 11.9397 41.7105 11.9667 41.7266 11.9941C41.7415 12.0197 41.7567 12.045 41.7705 12.0713C41.7884 12.1054 41.8043 12.1405 41.8203 12.1758C41.8301 12.1973 41.8406 12.2184 41.8496 12.2402C41.8646 12.2766 41.8768 12.3141 41.8896 12.3516C41.8975 12.3743 41.9061 12.3968 41.9131 12.4199C41.9253 12.4604 41.9356 12.5015 41.9453 12.543C41.9503 12.5644 41.9556 12.5857 41.96 12.6074C41.9853 12.7344 42 12.8655 42 13V36L41.9893 36.2041C41.8938 37.1457 41.1457 37.8938 40.2041 37.9893L40 38H8L7.7959 37.9893C6.85435 37.8938 6.1062 37.1457 6.01074 36.2041L6 36V13C6 11.9643 6.78722 11.113 7.7959 11.0107L8 11H40L40.2041 11.0107ZM10 34H38V22H29C27.8954 22 27 21.1046 27 20V15H10V34Z" style={{ fill: `var(--${type})` }}/>
29
29
  </svg>
30
30
  ;
31
31
  }
32
32
 
33
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
33
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
34
34
  <path fillRule="evenodd" clipRule="evenodd" d="M40.2041 11.0107C40.2705 11.0175 40.3361 11.027 40.4004 11.04L40.4033 11.041L40.5713 11.083C40.5742 11.0839 40.5771 11.085 40.5801 11.0859C40.6128 11.0958 40.6448 11.1076 40.6768 11.1191C40.7037 11.1288 40.7305 11.1386 40.7568 11.1494C40.7863 11.1615 40.815 11.1751 40.8438 11.1885C40.8726 11.2019 40.9016 11.2147 40.9297 11.2295C40.9563 11.2435 40.9819 11.2592 41.0078 11.2744C41.0365 11.2912 41.065 11.308 41.0928 11.3262C41.1165 11.3417 41.1391 11.3585 41.1621 11.375C41.1898 11.3948 41.2175 11.4144 41.2441 11.4355C41.2651 11.4523 41.2854 11.4698 41.3057 11.4873C41.334 11.5117 41.3618 11.5365 41.3887 11.5625C41.4062 11.5795 41.4235 11.5967 41.4404 11.6143C41.466 11.6408 41.4905 11.6683 41.5146 11.6963C41.5315 11.7159 41.5483 11.7356 41.5645 11.7559C41.5872 11.7844 41.6087 11.8139 41.6299 11.8438C41.646 11.8665 41.6615 11.8896 41.6768 11.9131C41.694 11.9397 41.7105 11.9667 41.7266 11.9941C41.7415 12.0197 41.7567 12.045 41.7705 12.0713C41.7884 12.1054 41.8043 12.1405 41.8203 12.1758C41.8301 12.1973 41.8406 12.2184 41.8496 12.2402C41.8646 12.2766 41.8768 12.3141 41.8896 12.3516C41.8975 12.3743 41.9061 12.3968 41.9131 12.4199C41.9253 12.4604 41.9356 12.5015 41.9453 12.543C41.9503 12.5644 41.9556 12.5857 41.96 12.6074C41.9853 12.7344 42 12.8655 42 13V36L41.9893 36.2041C41.8938 37.1457 41.1457 37.8938 40.2041 37.9893L40 38H8L7.7959 37.9893C6.85435 37.8938 6.1062 37.1457 6.01074 36.2041L6 36V13C6 11.9643 6.78722 11.113 7.7959 11.0107L8 11H40L40.2041 11.0107ZM9 35H39V22H29C27.8954 22 27 21.1046 27 20V14H9V35Z" style={{ fill: `var(--${type})` }}/>
35
35
  </svg>
36
36
  ;
@@ -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 NewTabProps 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 IconNewTab = forwardRef<SVGSVGElement, NewTabProps>(
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="M26 9.5H36.4C37.2837 9.5 38 10.2163 38 11.1V21.5H35V14.6214L22.0607 27.5608L19.9393 25.4395L32.8788 12.5H26V9.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M12.15 11H19.5V14H14V34H34V28H37V35.85C37 36.4851 36.4851 37 35.85 37H12.15C11.5149 37 11 36.4851 11 35.85V12.15C11 11.5149 11.5149 11 12.15 11Z" 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="M26 9.5H36.4C37.2837 9.5 38 10.2163 38 11.1V21.5H35V14.6214L22.0607 27.5608L19.9393 25.4395L32.8788 12.5H26V9.5Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path d="M12.15 11H19.5V14H14V34H34V28H37V35.85C37 36.4851 36.4851 37 35.85 37H12.15C11.5149 37 11 36.4851 11 35.85V12.15C11 11.5149 11.5149 11 12.15 11Z" 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 9.5H36.4C37.2837 9.5 38 10.2163 38 11.1V21.5H35V14.6214L22.0607 27.5608L19.9393 25.4395L32.8788 12.5H26V9.5Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path d="M12.15 11H19.5V14H14V34H34V28H37V35.85C37 36.4851 36.4851 37 35.85 37H12.15C11.5149 37 11 36.4851 11 35.85V12.15C11 11.5149 11.5149 11 12.15 11Z" 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="M26 9.5H36.4C37.2837 9.5 38 10.2163 38 11.1V21.5H35V14.6214L22.0607 27.5608L19.9393 25.4395L32.8788 12.5H26V9.5Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path d="M12.15 11H19.5V14H14V34H34V28H37V35.85C37 36.4851 36.4851 37 35.85 37H12.15C11.5149 37 11 36.4851 11 35.85V12.15C11 11.5149 11.5149 11 12.15 11Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -1,37 +1,37 @@
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 NewThreadProps 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 IconNewThread = forwardRef<SVGSVGElement, NewThreadProps>(
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="M41 9V35H34.667V41.6895L25.1074 35.335L24.6045 35H7V9H41ZM20 18.001H15V26.001H20V31.001H28V26.001H33.001V18.001H28V13H20V18.001Z" style={{ fill: `var(--${type})` }} stroke="#1E1E1F" stroke-width="4"/>
19
19
  </svg>
20
20
  ;
21
21
  } else if (fill) {
22
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
22
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
23
  <path d="M41 9V35H34.667V41.6895L25.1074 35.335L24.6045 35H7V9H41ZM20.5 18.501H15V25.501H20.5V31.001H27.5V25.501H33.001V18.501H27.5V13H20.5V18.501Z" style={{ fill: `var(--${type})` }} stroke="#1E1E1F" stroke-width="4"/>
24
24
  </svg>
25
25
  ;
26
26
  } else if (thick) {
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 d="M21.9998 20.001V15H25.9998V20.001H31.0006V24.001H25.9998V29.0007H21.9998V24.001H17V20.001H21.9998Z" style={{ fill: `var(--${type})` }}/>
29
29
  <path fillRule="evenodd" clipRule="evenodd" d="M7 7C5.89543 7 5 7.89543 5 9V35C5 36.1046 5.89543 37 7 37H24L33.5594 43.3553C34.8887 44.239 36.6667 43.286 36.6667 41.6898V37H41C42.1046 37 43 36.1046 43 35V9C43 7.89543 42.1046 7 41 7H7ZM32.6667 33V37.9585L25.2083 33H9V11H39V33H32.6667Z" style={{ fill: `var(--${type})` }}/>
30
30
  </svg>
31
31
  ;
32
32
  }
33
33
 
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 d="M22.4998 20.501V15H25.4998V20.501H31.0006V23.501H25.4998V29.0007H22.4998V23.501H17V20.501H22.4998Z" style={{ fill: `var(--${type})` }}/>
36
36
  <path fillRule="evenodd" clipRule="evenodd" d="M7 7C5.89543 7 5 7.89543 5 9V35C5 36.1046 5.89543 37 7 37H24L33.5594 43.3553C34.8887 44.239 36.6667 43.286 36.6667 41.6898V37H41C42.1046 37 43 36.1046 43 35V9C43 7.89543 42.1046 7 41 7H7ZM33.6667 34V39.8241L24.9062 34H8V10H40V34H33.6667Z" style={{ fill: `var(--${type})` }}/>
37
37
  </svg>
@@ -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 NewThreadFolderProps 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 IconNewThreadFolder = forwardRef<SVGSVGElement, NewThreadFolderProps>(
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 27H34V30H30V34H27V30H23V27H27V23H30V27Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path fillRule="evenodd" clipRule="evenodd" d="M41.2041 17.0107C42.2128 17.113 43 17.9643 43 19V38L42.9893 38.2041C42.8938 39.1457 42.1457 39.8938 41.2041 39.9893L41 40H38.2773V41.8828L38.2725 42.0303C38.1704 43.4882 36.5664 44.3482 35.2959 43.626L35.1709 43.5479L29.833 40H16L15.7959 39.9893C14.8543 39.8938 14.1062 39.1457 14.0107 38.2041L14 38V19C14 17.8954 14.8954 17 16 17H41L41.2041 17.0107ZM17 37H30.7393L35.2773 40.0166V37H40V20H17V37Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M21.5 9H34C35.1046 9 36 9.89543 36 11V14H15C12.7909 14 11 15.7909 11 18V31H7C5.89543 31 5 30.1046 5 29V7C5 5.89543 5.89543 5 7 5H18.5L21.5 9Z" 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="M30 27H34V30H30V34H27V30H23V27H27V23H30V27Z" style={{ fill: `var(--${type})` }}/>
26
26
  <path fillRule="evenodd" clipRule="evenodd" d="M41.2041 17.0107C42.2128 17.113 43 17.9643 43 19V38L42.9893 38.2041C42.8938 39.1457 42.1457 39.8938 41.2041 39.9893L41 40H38.2773V41.8828L38.2725 42.0303C38.1704 43.4882 36.5664 44.3482 35.2959 43.626L35.1709 43.5479L29.833 40H16L15.7959 39.9893C14.8543 39.8938 14.1062 39.1457 14.0107 38.2041L14 38V19C14 17.8954 14.8954 17 16 17H41L41.2041 17.0107ZM17 37H30.7393L35.2773 40.0166V37H40V20H17V37Z" style={{ fill: `var(--${type})` }}/>
27
27
  <path d="M21.5 9H34C35.1046 9 36 9.89543 36 11V14H15C12.7909 14 11 15.7909 11 18V31H7C5.89543 31 5 30.1046 5 29V7C5 5.89543 5.89543 5 7 5H18.5L21.5 9Z" 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="M30.5 26.5H34V30.5H30.5V34H26.5V30.5H23V26.5H26.5V23H30.5V26.5Z" style={{ fill: `var(--${type})` }}/>
33
33
  <path fillRule="evenodd" clipRule="evenodd" d="M41.2041 17.0107C42.2128 17.113 43 17.9643 43 19V38L42.9893 38.2041C42.8938 39.1457 42.1457 39.8938 41.2041 39.9893L41 40H38.2773V41.8828L38.2725 42.0303C38.1704 43.4882 36.5664 44.3482 35.2959 43.626L35.1709 43.5479L29.833 40H16L15.7959 39.9893C14.8543 39.8938 14.1062 39.1457 14.0107 38.2041L14 38V19C14 17.8954 14.8954 17 16 17H41L41.2041 17.0107ZM18 36H31.042L34.2773 38.1504V36H39V21H18V36Z" style={{ fill: `var(--${type})` }}/>
34
34
  <path d="M21.5 9H34C35.1046 9 36 9.89543 36 11V14H15C12.7909 14 11 15.7909 11 18V31H7L6.7959 30.9893C6.73278 30.9829 6.67062 30.9731 6.60938 30.9609C6.58365 30.9558 6.55857 30.9485 6.5332 30.9424C6.49943 30.9343 6.4657 30.9268 6.43262 30.917C6.40458 30.9087 6.37711 30.8991 6.34961 30.8896C6.31696 30.8784 6.28479 30.8664 6.25293 30.8535C6.2296 30.8441 6.20648 30.8345 6.18359 30.8242C6.14988 30.8091 6.11668 30.7933 6.08398 30.7764C6.06169 30.7648 6.03937 30.7535 6.01758 30.7412C5.98558 30.7231 5.9547 30.7034 5.92383 30.6836C5.90297 30.6702 5.88165 30.6577 5.86133 30.6436C5.83552 30.6256 5.81104 30.606 5.78613 30.5869C5.64546 30.4791 5.51978 30.3536 5.41211 30.2129C5.39787 30.1943 5.38273 30.1763 5.36914 30.1572L5.3418 30.1182C5.33239 30.1042 5.32449 30.0894 5.31543 30.0752C5.29568 30.0443 5.27588 30.0135 5.25781 29.9814C5.24551 29.9596 5.23416 29.9373 5.22266 29.915C5.20579 29.8823 5.18989 29.8491 5.1748 29.8154C5.16456 29.7925 5.1549 29.7694 5.14551 29.7461C5.13268 29.7142 5.12058 29.6821 5.10938 29.6494C5.09993 29.6219 5.0903 29.5944 5.08203 29.5664C5.07228 29.5333 5.0647 29.4996 5.05664 29.4658C5.05059 29.4405 5.04317 29.4154 5.03809 29.3896C5.02607 29.3288 5.0171 29.2668 5.01074 29.2041L5 29V7C5 6.86559 5.01378 6.73439 5.03906 6.60742C5.04338 6.58575 5.0487 6.56438 5.05371 6.54297C5.06342 6.50149 5.07369 6.46036 5.08594 6.41992C5.09293 6.39681 5.10157 6.37431 5.10938 6.35156C5.12221 6.31413 5.13445 6.27663 5.14941 6.24023C5.1584 6.21837 5.16898 6.19725 5.17871 6.17578C5.19469 6.14055 5.21059 6.10539 5.22852 6.07129C5.2423 6.04504 5.25756 6.01968 5.27246 5.99414C5.28848 5.9667 5.305 5.93967 5.32227 5.91309C5.33748 5.88965 5.35299 5.86649 5.36914 5.84375C5.39032 5.81394 5.41183 5.78442 5.43457 5.75586C5.4507 5.73559 5.46749 5.7159 5.48438 5.69629C5.50846 5.66833 5.53302 5.64084 5.55859 5.61426C5.57551 5.59666 5.59281 5.57947 5.61035 5.5625C5.6372 5.53655 5.66509 5.51173 5.69336 5.4873C5.71364 5.46977 5.73391 5.45226 5.75488 5.43555C5.78146 5.41438 5.80926 5.39482 5.83691 5.375C5.85988 5.35853 5.88257 5.34168 5.90625 5.32617C5.93398 5.30802 5.96255 5.2912 5.99121 5.27441C6.01711 5.25924 6.04271 5.24352 6.06934 5.22949C6.09739 5.21473 6.12646 5.20193 6.15527 5.18848C6.18402 5.17505 6.21272 5.16149 6.24219 5.14941C6.26855 5.13861 6.29535 5.12883 6.32227 5.11914C6.35425 5.10761 6.38623 5.09586 6.41895 5.08594C6.46537 5.07187 6.51276 5.06052 6.56055 5.0498C6.57331 5.04694 6.58578 5.04266 6.59863 5.04004C6.66326 5.02688 6.72916 5.01751 6.7959 5.01074L7 5H18.5L21.5 9Z" style={{ fill: `var(--${type})` }}/>
@@ -36,7 +36,7 @@ export const IconNewThreadFolder = forwardRef<SVGSVGElement, NewThreadFolderProp
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="M30 27H34V30H30V34H27V30H23V27H27V23H30V27Z" style={{ fill: `var(--${type})` }}/>
41
41
  <path fillRule="evenodd" clipRule="evenodd" d="M41.2041 17.0107C42.2128 17.113 43 17.9643 43 19V38L42.9893 38.2041C42.8938 39.1457 42.1457 39.8938 41.2041 39.9893L41 40H38.2773V41.8828L38.2725 42.0303C38.1704 43.4882 36.5664 44.3482 35.2959 43.626L35.1709 43.5479L29.833 40H16L15.7959 39.9893C14.8543 39.8938 14.1062 39.1457 14.0107 38.2041L14 38V19C14 17.8954 14.8954 17 16 17H41L41.2041 17.0107ZM17 37H30.7393L35.2773 40.0166V37H40V20H17V37Z" style={{ fill: `var(--${type})` }}/>
42
42
  <path d="M21.5 9H34C35.1046 9 36 9.89543 36 11V14H15C12.7909 14 11 15.7909 11 18V31H7C5.89543 31 5 30.1046 5 29V7C5 5.89543 5.89543 5 7 5H18.5L21.5 9Z" 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 PaletteProps 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 IconPalette = forwardRef<SVGSVGElement, PaletteProps>(
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.5 16.5C28.6046 16.5 29.5 15.6046 29.5 14.5C29.5 13.3954 28.6046 12.5 27.5 12.5C26.3954 12.5 25.5 13.3954 25.5 14.5C25.5 15.6046 26.3954 16.5 27.5 16.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M21.5 15C21.5 16.1046 20.6046 17 19.5 17C18.3954 17 17.5 16.1046 17.5 15C17.5 13.8954 18.3954 13 19.5 13C20.6046 13 21.5 13.8954 21.5 15Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M16.5 21C16.5 22.1046 15.6046 23 14.5 23C13.3954 23 12.5 22.1046 12.5 21C12.5 19.8954 13.3954 19 14.5 19C15.6046 19 16.5 19.8954 16.5 21Z" style={{ fill: `var(--${type})` }}/>
@@ -23,7 +23,7 @@ export const IconPalette = forwardRef<SVGSVGElement, PaletteProps>(
23
23
  </svg>
24
24
  ;
25
25
  } else if (fill) {
26
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
26
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
27
27
  <path d="M27.5 16.5C28.6046 16.5 29.5 15.6046 29.5 14.5C29.5 13.3954 28.6046 12.5 27.5 12.5C26.3954 12.5 25.5 13.3954 25.5 14.5C25.5 15.6046 26.3954 16.5 27.5 16.5Z" style={{ fill: `var(--${type})` }}/>
28
28
  <path d="M21.5 15C21.5 16.1046 20.6046 17 19.5 17C18.3954 17 17.5 16.1046 17.5 15C17.5 13.8954 18.3954 13 19.5 13C20.6046 13 21.5 13.8954 21.5 15Z" style={{ fill: `var(--${type})` }}/>
29
29
  <path d="M16.5 21C16.5 22.1046 15.6046 23 14.5 23C13.3954 23 12.5 22.1046 12.5 21C12.5 19.8954 13.3954 19 14.5 19C15.6046 19 16.5 19.8954 16.5 21Z" style={{ fill: `var(--${type})` }}/>
@@ -32,7 +32,7 @@ export const IconPalette = forwardRef<SVGSVGElement, PaletteProps>(
32
32
  </svg>
33
33
  ;
34
34
  } else if (thick) {
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 d="M28 17.5C29.3807 17.5 30.5 16.3807 30.5 15C30.5 13.6193 29.3807 12.5 28 12.5C26.6193 12.5 25.5 13.6193 25.5 15C25.5 16.3807 26.6193 17.5 28 17.5Z" style={{ fill: `var(--${type})` }}/>
37
37
  <path d="M22.5 15.5C22.5 16.8807 21.3807 18 20 18C18.6193 18 17.5 16.8807 17.5 15.5C17.5 14.1193 18.6193 13 20 13C21.3807 13 22.5 14.1193 22.5 15.5Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path d="M17.5 21.5C17.5 22.8807 16.3807 24 15 24C13.6193 24 12.5 22.8807 12.5 21.5C12.5 20.1193 13.6193 19 15 19C16.3807 19 17.5 20.1193 17.5 21.5Z" style={{ fill: `var(--${type})` }}/>
@@ -42,7 +42,7 @@ export const IconPalette = forwardRef<SVGSVGElement, PaletteProps>(
42
42
  ;
43
43
  }
44
44
 
45
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
45
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
46
46
  <path d="M27.5 16.5C28.6046 16.5 29.5 15.6046 29.5 14.5C29.5 13.3954 28.6046 12.5 27.5 12.5C26.3954 12.5 25.5 13.3954 25.5 14.5C25.5 15.6046 26.3954 16.5 27.5 16.5Z" style={{ fill: `var(--${type})` }}/>
47
47
  <path d="M21.5 15C21.5 16.1046 20.6046 17 19.5 17C18.3954 17 17.5 16.1046 17.5 15C17.5 13.8954 18.3954 13 19.5 13C20.6046 13 21.5 13.8954 21.5 15Z" style={{ fill: `var(--${type})` }}/>
48
48
  <path d="M16.5 21C16.5 22.1046 15.6046 23 14.5 23C13.3954 23 12.5 22.1046 12.5 21C12.5 19.8954 13.3954 19 14.5 19C15.6046 19 16.5 19.8954 16.5 21Z" style={{ fill: `var(--${type})` }}/>
@@ -1,36 +1,36 @@
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 PaperclipProps 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 IconPaperclip = forwardRef<SVGSVGElement, PaperclipProps>(
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.6238 23.9682C9.03255 27.5595 9.03255 33.382 12.6238 36.9732C16.215 40.5644 22.0375 40.5644 25.6287 36.9732L39.3219 23.2799L41.4432 25.4012L27.75 39.0945C22.9872 43.8573 15.2652 43.8573 10.5024 39.0945C5.73966 34.3317 5.73966 26.6097 10.5024 21.8469L24.3681 7.98122C27.7386 4.61077 33.2032 4.61077 36.5736 7.98122C39.9441 11.3517 39.9441 16.8162 36.5736 20.1867L22.9703 33.79C20.9425 35.8179 17.6547 35.8179 15.6268 33.79C13.599 31.7622 13.599 28.4744 15.6268 26.4465L29.0577 13.0157L31.179 15.137L17.7482 28.5679C16.8919 29.4241 16.8919 30.8124 17.7482 31.6687C18.6044 32.525 19.9927 32.525 20.849 31.6687L34.4523 18.0654C36.6512 15.8665 36.6512 12.3014 34.4523 10.1025C32.2534 7.90366 28.6883 7.90366 26.4895 10.1025L12.6238 23.9682Z" style={{ fill: `var(--${type})` }}/>
19
19
  </svg>
20
20
  ;
21
21
  } else if (fill) {
22
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
22
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
23
  <path fillRule="evenodd" clipRule="evenodd" d="M12.6238 23.9682C9.03255 27.5595 9.03255 33.382 12.6238 36.9732C16.215 40.5644 22.0375 40.5644 25.6287 36.9732L39.3219 23.2799L41.4432 25.4012L27.75 39.0945C22.9872 43.8573 15.2652 43.8573 10.5024 39.0945C5.73966 34.3317 5.73966 26.6097 10.5024 21.8469L24.3681 7.98122C27.7386 4.61077 33.2032 4.61077 36.5736 7.98122C39.9441 11.3517 39.9441 16.8162 36.5736 20.1867L22.9703 33.79C20.9425 35.8179 17.6547 35.8179 15.6268 33.79C13.599 31.7622 13.599 28.4744 15.6268 26.4465L29.0577 13.0157L31.179 15.137L17.7482 28.5679C16.8919 29.4241 16.8919 30.8124 17.7482 31.6687C18.6044 32.525 19.9927 32.525 20.849 31.6687L34.4523 18.0654C36.6512 15.8665 36.6512 12.3014 34.4523 10.1025C32.2534 7.90366 28.6883 7.90366 26.4895 10.1025L12.6238 23.9682Z" style={{ fill: `var(--${type})` }}/>
24
24
  </svg>
25
25
  ;
26
26
  } else if (thick) {
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.9774 24.3215C9.58143 27.7175 9.58143 33.2234 12.9774 36.6193C16.3733 40.0153 21.8792 40.0153 25.2752 36.6194L38.9684 22.9261L41.7969 25.7545L28.1036 39.4478C23.1456 44.4058 15.107 44.4058 10.149 39.4478C5.19091 34.4897 5.19091 26.4512 10.149 21.4931L24.0147 7.62741C27.5804 4.06169 33.3615 4.0617 36.9272 7.62741C40.493 11.1931 40.493 16.9743 36.9272 20.54L23.3239 34.1433C21.1008 36.3664 17.4965 36.3664 15.2733 34.1433C13.0502 31.9202 13.0502 28.3158 15.2733 26.0927L28.7042 12.6619L31.5326 15.4903L18.1018 28.9212C17.4408 29.5822 17.4408 30.6539 18.1018 31.3149C18.7628 31.9759 19.8345 31.9759 20.4955 31.3149L34.0988 17.7116C36.1024 15.708 36.1024 12.4595 34.0988 10.4558C32.0952 8.45222 28.8467 8.45222 26.8431 10.4558L12.9774 24.3215Z" style={{ fill: `var(--${type})` }}/>
29
29
  </svg>
30
30
  ;
31
31
  }
32
32
 
33
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
33
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
34
34
  <path fillRule="evenodd" clipRule="evenodd" d="M12.6238 23.9682C9.03255 27.5595 9.03255 33.382 12.6238 36.9732C16.215 40.5644 22.0375 40.5644 25.6287 36.9732L39.3219 23.2799L41.4432 25.4012L27.75 39.0945C22.9872 43.8573 15.2652 43.8573 10.5024 39.0945C5.73966 34.3317 5.73966 26.6097 10.5024 21.8469L24.3681 7.98122C27.7386 4.61077 33.2032 4.61077 36.5736 7.98122C39.9441 11.3517 39.9441 16.8162 36.5736 20.1867L22.9703 33.79C20.9425 35.8179 17.6547 35.8179 15.6268 33.79C13.599 31.7622 13.599 28.4744 15.6268 26.4465L29.0577 13.0157L31.179 15.137L17.7482 28.5679C16.8919 29.4241 16.8919 30.8124 17.7482 31.6687C18.6044 32.525 19.9927 32.525 20.849 31.6687L34.4523 18.0654C36.6512 15.8665 36.6512 12.3014 34.4523 10.1025C32.2534 7.90366 28.6883 7.90366 26.4895 10.1025L12.6238 23.9682Z" style={{ fill: `var(--${type})` }}/>
35
35
  </svg>
36
36
  ;
@@ -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 ParagraphProps 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 IconParagraph = forwardRef<SVGSVGElement, ParagraphProps>(
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 7.5H9V10.5H39V7.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M39 17.5H9V20.5H39V17.5Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M9 27.5H39V30.5H9V27.5Z" style={{ fill: `var(--${type})` }}/>
@@ -22,7 +22,7 @@ export const IconParagraph = forwardRef<SVGSVGElement, ParagraphProps>(
22
22
  </svg>
23
23
  ;
24
24
  } else if (fill) {
25
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
25
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
26
26
  <path d="M39 7.5H9V10.5H39V7.5Z" style={{ fill: `var(--${type})` }}/>
27
27
  <path d="M39 17.5H9V20.5H39V17.5Z" style={{ fill: `var(--${type})` }}/>
28
28
  <path d="M9 27.5H39V30.5H9V27.5Z" style={{ fill: `var(--${type})` }}/>
@@ -30,7 +30,7 @@ export const IconParagraph = forwardRef<SVGSVGElement, ParagraphProps>(
30
30
  </svg>
31
31
  ;
32
32
  } else if (thick) {
33
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
33
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
34
34
  <path d="M39 7H9V11H39V7Z" style={{ fill: `var(--${type})` }}/>
35
35
  <path d="M39 17H9V21H39V17Z" style={{ fill: `var(--${type})` }}/>
36
36
  <path d="M9 27H39V31H9V27Z" style={{ fill: `var(--${type})` }}/>
@@ -39,7 +39,7 @@ export const IconParagraph = forwardRef<SVGSVGElement, ParagraphProps>(
39
39
  ;
40
40
  }
41
41
 
42
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
42
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
43
43
  <path d="M39 7.5H9V10.5H39V7.5Z" style={{ fill: `var(--${type})` }}/>
44
44
  <path d="M39 17.5H9V20.5H39V17.5Z" style={{ fill: `var(--${type})` }}/>
45
45
  <path d="M9 27.5H39V30.5H9V27.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 ParaphraseProps 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 IconParaphrase = forwardRef<SVGSVGElement, ParaphraseProps>(
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 6.5H7V9.5H31V6.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M31 15.5H7V18.5H31V15.5Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M7 24.5H21V27.5H7V24.5Z" style={{ fill: `var(--${type})` }}/>
@@ -22,7 +22,7 @@ export const IconParaphrase = forwardRef<SVGSVGElement, ParaphraseProps>(
22
22
  </svg>
23
23
  ;
24
24
  } else if (fill) {
25
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
25
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
26
26
  <path d="M31 6.5H7V9.5H31V6.5Z" style={{ fill: `var(--${type})` }}/>
27
27
  <path d="M31 15.5H7V18.5H31V15.5Z" style={{ fill: `var(--${type})` }}/>
28
28
  <path d="M7 24.5H21V27.5H7V24.5Z" style={{ fill: `var(--${type})` }}/>
@@ -30,7 +30,7 @@ export const IconParaphrase = forwardRef<SVGSVGElement, ParaphraseProps>(
30
30
  </svg>
31
31
  ;
32
32
  } else if (thick) {
33
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
33
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
34
34
  <path d="M31 6H7V10H31V6Z" style={{ fill: `var(--${type})` }}/>
35
35
  <path d="M31 15H7V19H31V15Z" style={{ fill: `var(--${type})` }}/>
36
36
  <path d="M7 24H21V28H7V24Z" style={{ fill: `var(--${type})` }}/>
@@ -39,7 +39,7 @@ export const IconParaphrase = forwardRef<SVGSVGElement, ParaphraseProps>(
39
39
  ;
40
40
  }
41
41
 
42
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
42
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
43
43
  <path d="M31 6.5H7V9.5H31V6.5Z" style={{ fill: `var(--${type})` }}/>
44
44
  <path d="M31 15.5H7V18.5H31V15.5Z" style={{ fill: `var(--${type})` }}/>
45
45
  <path d="M7 24.5H21V27.5H7V24.5Z" style={{ fill: `var(--${type})` }}/>
@@ -1,37 +1,37 @@
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 PencilProps 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 IconPencil = forwardRef<SVGSVGElement, PencilProps>(
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="M31.7619 7.19394C33.1286 5.82631 35.3453 5.82593 36.7125 7.1931L40.9532 11.4339C42.3197 12.8004 42.3201 15.0158 40.9541 16.3828L19.8399 37.496C19.4366 37.8993 18.9408 38.1979 18.3957 38.3658L12.1302 40.2959C9.41813 41.1314 6.89145 38.5614 7.77292 35.8639L9.7854 29.7052C9.95639 29.182 10.2484 28.7064 10.6377 28.3172L31.7619 7.19394ZM28.7486 14.4524L12.7588 30.4388C12.7032 30.4944 12.6614 30.5623 12.637 30.6371L10.6245 36.7957C10.4986 37.1811 10.8596 37.5482 11.247 37.4289L17.5125 35.4987C17.5904 35.4748 17.6612 35.4321 17.7188 35.3745L33.6963 19.4005L28.7486 14.4524ZM35.8173 17.2789L38.832 14.2622C39.0272 14.0669 39.0271 13.7504 38.8319 13.5552L34.5911 9.31442C34.3958 9.11911 34.0792 9.11916 33.8839 9.31454L30.8697 12.3308L35.8173 17.2789Z" style={{ fill: `var(--${type})` }}/>
19
19
  </svg>
20
20
  ;
21
21
  } else if (fill) {
22
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
22
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
23
23
  <path d="M31.7619 7.19394C33.1286 5.82631 35.3453 5.82593 36.7125 7.1931L40.9532 11.4339C42.3197 12.8004 42.3201 15.0158 40.9541 16.3828L37.938 19.3987L28.7471 10.2086L31.7619 7.19394Z" style={{ fill: `var(--${type})` }}/>
24
24
  <path d="M26.6257 12.3298L10.6377 28.3172C10.2484 28.7065 9.95639 29.182 9.7854 29.7053L7.77292 35.8639C6.89145 38.5614 9.41812 41.1314 12.1302 40.2959L18.3957 38.3658C18.9408 38.1979 19.4366 37.8993 19.8399 37.496L35.8167 21.52L26.6257 12.3298Z" style={{ fill: `var(--${type})` }}/>
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 fillRule="evenodd" clipRule="evenodd" d="M31.408 6.8405C32.97 5.2775 35.5034 5.27707 37.0658 6.83954L41.3066 11.0803C42.8683 12.642 42.8688 15.174 41.3076 16.7362L20.1933 37.8496C19.7323 38.3105 19.1657 38.6517 18.5428 38.8436L12.2772 40.7738C9.1777 41.7286 6.29008 38.7915 7.29747 35.7086L9.30995 29.5499C9.50536 28.9519 9.83908 28.4085 10.284 27.9637L31.408 6.8405ZM28.7484 15.1595L13.1121 30.7924L11.0996 36.951L17.3651 35.0209L32.989 19.4004L28.7484 15.1595ZM35.8171 16.5717L38.4782 13.9087L34.2374 9.66797L31.5765 12.3307L35.8171 16.5717Z" style={{ fill: `var(--${type})` }}/>
30
30
  </svg>
31
31
  ;
32
32
  }
33
33
 
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.7619 7.19394C33.1286 5.82631 35.3453 5.82593 36.7125 7.1931L40.9532 11.4339C42.3197 12.8004 42.3201 15.0158 40.9541 16.3828L19.8399 37.496C19.4366 37.8993 18.9408 38.1979 18.3957 38.3658L12.1302 40.2959C9.41813 41.1314 6.89145 38.5614 7.77292 35.8639L9.7854 29.7052C9.95639 29.182 10.2484 28.7064 10.6377 28.3172L31.7619 7.19394ZM28.7486 14.4524L12.7588 30.4388C12.7032 30.4944 12.6614 30.5623 12.637 30.6371L10.6245 36.7957C10.4986 37.1811 10.8596 37.5482 11.247 37.4289L17.5125 35.4987C17.5904 35.4748 17.6612 35.4321 17.7188 35.3745L33.6963 19.4005L28.7486 14.4524ZM35.8173 17.2789L38.832 14.2622C39.0272 14.0669 39.0271 13.7504 38.8319 13.5552L34.5911 9.31442C34.3958 9.11911 34.0792 9.11916 33.8839 9.31454L30.8697 12.3308L35.8173 17.2789Z" style={{ fill: `var(--${type})` }}/>
36
36
  </svg>
37
37
  ;
@@ -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 PersonProps 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 IconPerson = forwardRef<SVGSVGElement, PersonProps>(
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="M31.5 12.5C31.5 16.6422 28.1422 20 24 20C19.8579 20 16.5 16.6422 16.5 12.5C16.5 8.35787 19.8579 5 24 5C28.1422 5 31.5 8.35787 31.5 12.5ZM28.5 12.5C28.5 14.9853 26.4853 17 24 17C21.5147 17 19.5 14.9853 19.5 12.5C19.5 10.0147 21.5147 8 24 8C26.4853 8 28.5 10.0147 28.5 12.5Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path fillRule="evenodd" clipRule="evenodd" d="M9 35C9 27.8203 14.8203 22 22 22H26C33.1797 22 39 27.8203 39 35V41C39 42.1046 38.1046 43 37 43H11C9.89543 43 9 42.1046 9 41V35ZM22 25H26C31.5228 25 36 29.4772 36 35V40H12V35C12 29.4772 16.4772 25 22 25Z" 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="M24 20C28.1422 20 31.5 16.6422 31.5 12.5C31.5 8.35787 28.1422 5 24 5C19.8579 5 16.5 8.35787 16.5 12.5C16.5 16.6422 19.8579 20 24 20Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path d="M22 22C14.8203 22 9 27.8203 9 35V41C9 42.1046 9.89543 43 11 43H37C38.1046 43 39 42.1046 39 41V35C39 27.8203 33.1797 22 26 22H22Z" 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="M31.5 12.5C31.5 16.6422 28.1422 20 24 20C19.8579 20 16.5 16.6422 16.5 12.5C16.5 8.35787 19.8579 5 24 5C28.1422 5 31.5 8.35787 31.5 12.5ZM27.5 12.5C27.5 14.433 25.933 16 24 16C22.067 16 20.5 14.433 20.5 12.5C20.5 10.567 22.067 9 24 9C25.933 9 27.5 10.567 27.5 12.5Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path fillRule="evenodd" clipRule="evenodd" d="M9 35C9 27.8203 14.8203 22 22 22H26C33.1797 22 39 27.8203 39 35V41C39 42.1046 38.1046 43 37 43H11C9.89543 43 9 42.1046 9 41V35ZM22 26H26C30.9706 26 35 30.0294 35 35V39H13V35C13 30.0294 17.0294 26 22 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 fillRule="evenodd" clipRule="evenodd" d="M31.5 12.5C31.5 16.6422 28.1422 20 24 20C19.8579 20 16.5 16.6422 16.5 12.5C16.5 8.35787 19.8579 5 24 5C28.1422 5 31.5 8.35787 31.5 12.5ZM28.5 12.5C28.5 14.9853 26.4853 17 24 17C21.5147 17 19.5 14.9853 19.5 12.5C19.5 10.0147 21.5147 8 24 8C26.4853 8 28.5 10.0147 28.5 12.5Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path fillRule="evenodd" clipRule="evenodd" d="M9 35C9 27.8203 14.8203 22 22 22H26C33.1797 22 39 27.8203 39 35V41C39 42.1046 38.1046 43 37 43H11C9.89543 43 9 42.1046 9 41V35ZM22 25H26C31.5228 25 36 29.4772 36 35V40H12V35C12 29.4772 16.4772 25 22 25Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -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 PersonAddProps 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 IconPersonAdd = forwardRef<SVGSVGElement, PersonAddProps>(
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="M24 20C28.1421 20 31.5 16.6422 31.5 12.5C31.5 8.35787 28.1421 5 24 5C19.8578 5 16.5 8.35787 16.5 12.5C16.5 16.6422 19.8578 20 24 20Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path d="M9 35C9 27.8203 14.8203 22 22 22H26C28.6485 22 31.112 22.792 33.1666 24.1521C27.9642 25.025 24 29.5495 24 35C24 38.1521 25.3258 40.9945 27.4501 43H11C9.89543 43 9 42.1046 9 41V35Z" style={{ fill: `var(--${type})` }}/>
20
20
  <path d="M32.9996 33V26.9999H36.9996V33H43V37H36.9996V43H32.9996V37H27.0004V33H32.9996Z" 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="M24 20C28.1421 20 31.5 16.6422 31.5 12.5C31.5 8.35787 28.1421 5 24 5C19.8578 5 16.5 8.35787 16.5 12.5C16.5 16.6422 19.8578 20 24 20Z" style={{ fill: `var(--${type})` }}/>
26
26
  <path d="M9 35C9 27.8203 14.8203 22 22 22H26C28.6485 22 31.112 22.792 33.1666 24.1521C27.9642 25.025 24 29.5495 24 35C24 38.1521 25.3258 40.9945 27.4501 43H11C9.89543 43 9 42.1046 9 41V35Z" style={{ fill: `var(--${type})` }}/>
27
27
  <path d="M33.4996 33.5V26.9999H36.4996V33.5H43V36.5H36.4996V43H33.4996V36.5H27.0004V33.5H33.4996Z" 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 fillRule="evenodd" clipRule="evenodd" d="M31.5 12.5C31.5 16.6422 28.1422 20 24 20C19.8579 20 16.5 16.6422 16.5 12.5C16.5 8.35787 19.8579 5 24 5C28.1422 5 31.5 8.35787 31.5 12.5ZM27.5 12.5C27.5 14.433 25.933 16 24 16C22.067 16 20.5 14.433 20.5 12.5C20.5 10.567 22.067 9 24 9C25.933 9 27.5 10.567 27.5 12.5Z" style={{ fill: `var(--${type})` }}/>
33
33
  <path d="M22 26C17.0294 26 13 30.0294 13 35V39H24.7499C25.3472 40.5294 26.2768 41.8923 27.4501 43H11C9.89543 43 9 42.1046 9 41V35C9 27.8203 14.8203 22 22 22H26C28.6485 22 31.112 22.792 33.1666 24.1521C31.3472 24.4574 29.6792 25.2092 28.2793 26.2911C27.5514 26.1011 26.7875 26 26 26H22Z" style={{ fill: `var(--${type})` }}/>
34
34
  <path d="M32.9996 33V26.9999H36.9996V33H43V37H36.9996V43H32.9996V37H27.0004V33H32.9996Z" style={{ fill: `var(--${type})` }}/>
@@ -36,7 +36,7 @@ export const IconPersonAdd = forwardRef<SVGSVGElement, PersonAddProps>(
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 fillRule="evenodd" clipRule="evenodd" d="M31.5 12.5C31.5 16.6422 28.1422 20 24 20C19.8579 20 16.5 16.6422 16.5 12.5C16.5 8.35787 19.8579 5 24 5C28.1422 5 31.5 8.35787 31.5 12.5ZM28.5 12.5C28.5 14.9853 26.4853 17 24 17C21.5147 17 19.5 14.9853 19.5 12.5C19.5 10.0147 21.5147 8 24 8C26.4853 8 28.5 10.0147 28.5 12.5Z" style={{ fill: `var(--${type})` }}/>
41
41
  <path d="M22 25C16.4772 25 12 29.4772 12 35V40H25.1994C25.7751 41.1262 26.5392 42.14 27.4501 43H11C9.89543 43 9 42.1046 9 41V35C9 27.8203 14.8203 22 22 22H26C28.6485 22 31.112 22.792 33.1666 24.1521C31.7848 24.3839 30.4904 24.8734 29.3343 25.5694C28.2915 25.2006 27.1692 25 26 25H22Z" style={{ fill: `var(--${type})` }}/>
42
42
  <path d="M33.4996 33.5V26.9999H36.4996V33.5H43V36.5H36.4996V43H33.4996V36.5H27.0004V33.5H33.4996Z" style={{ fill: `var(--${type})` }}/>