@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 CollectionAddProps 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 IconCollectionAdd = forwardRef<SVGSVGElement, CollectionAddProps>(
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 27H36V30H30V36.5H27V30H21V27H27V21H30V27Z" style={{ fill: `var(--${type})` }}/>
19
19
  <path fillRule="evenodd" clipRule="evenodd" d="M35 6C36.1046 6 37 6.89543 37 8V13.5H41.5C42.6046 13.5 43.5 14.3954 43.5 15.5V41.5C43.5 42.6046 42.6046 43.5 41.5 43.5H15.5C14.3954 43.5 13.5 42.6046 13.5 41.5V37H8C6.89543 37 6 36.1046 6 35V8C6 6.89543 6.89543 6 8 6H35ZM16.5 40.5H40.5V16.5H16.5V40.5ZM9 34H13.5V15.5C13.5 14.3954 14.3954 13.5 15.5 13.5H34V9H9V34Z" 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 27H36V30H30V36.5H27V30H21V27H27V21H30V27Z" style={{ fill: `var(--${type})` }}/>
25
25
  <path fillRule="evenodd" clipRule="evenodd" d="M35 6C36.1046 6 37 6.89543 37 8V13.5H41.5C42.6046 13.5 43.5 14.3954 43.5 15.5V41.5C43.5 42.6046 42.6046 43.5 41.5 43.5H15.5C14.3954 43.5 13.5 42.6046 13.5 41.5V37H8C6.89543 37 6 36.1046 6 35V8C6 6.89543 6.89543 6 8 6H35ZM16.5 40.5H40.5V16.5H16.5V40.5ZM9 34H13.5V15.5C13.5 14.3954 14.3954 13.5 15.5 13.5H34V9H9V34Z" 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="M29.5 25.5H35V29.5H29.5V35.5H25.5V29.5H20V25.5H25.5V20H29.5V25.5Z" style={{ fill: `var(--${type})` }}/>
31
31
  <path fillRule="evenodd" clipRule="evenodd" d="M34 5C35.1046 5 36 5.89543 36 7V12H40.5C41.8807 12 43 13.1193 43 14.5V40.5C43 41.8807 41.8807 43 40.5 43H14.5C13.1193 43 12 41.8807 12 40.5V36H7C5.89543 36 5 35.1046 5 34V7C5 5.89543 5.89543 5 7 5H34ZM16 39H39V16H16V39ZM9 32H12V14.5C12 13.1193 13.1193 12 14.5 12H32V9H9V32Z" 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 27H36V30H30V36.5H27V30H21V27H27V21H30V27Z" style={{ fill: `var(--${type})` }}/>
38
38
  <path fillRule="evenodd" clipRule="evenodd" d="M35 6C36.1046 6 37 6.89543 37 8V13.5H41.5C42.6046 13.5 43.5 14.3954 43.5 15.5V41.5C43.5 42.6046 42.6046 43.5 41.5 43.5H15.5C14.3954 43.5 13.5 42.6046 13.5 41.5V37H8C6.89543 37 6 36.1046 6 35V8C6 6.89543 6.89543 6 8 6H35ZM16.5 40.5H40.5V16.5H16.5V40.5ZM9 34H13.5V15.5C13.5 14.3954 14.3954 13.5 15.5 13.5H34V9H9V34Z" style={{ fill: `var(--${type})` }}/>
39
39
  </svg>
@@ -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 CollectionsProps 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 IconCollections = forwardRef<SVGSVGElement, CollectionsProps>(
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="M34 5C35.1046 5 36 5.89543 36 7V12.5H40.5C41.6046 12.5 42.5 13.3954 42.5 14.5V27.293C42.5 27.8234 42.2891 28.332 41.9141 28.707L35.8398 34.7803C35.6376 35.2563 35.2572 35.6365 34.7812 35.8389L28.707 41.9141C28.332 42.2891 27.8234 42.5 27.293 42.5H14.5C13.3954 42.5 12.5 41.6046 12.5 40.5V36H7C5.89543 36 5 35.1046 5 34V7C5 5.89543 5.89543 5 7 5H34ZM15.5 39.5H25.5V30C25.5 28.0671 27.0671 26.5001 29 26.5H39.5V15.5H15.5V39.5ZM29 29.5C28.724 29.5001 28.5 29.7239 28.5 30V37.8789L36.8789 29.5H29ZM8 33H12.5V14.5C12.5 13.3954 13.3954 12.5 14.5 12.5H33V8H8V33Z" 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="M34 5C35.1046 5 36 5.89543 36 7V12.5H40.5C41.6046 12.5 42.5 13.3954 42.5 14.5V27.293C42.5 27.8234 42.2891 28.332 41.9141 28.707L35.8398 34.7803C35.6376 35.2563 35.2572 35.6365 34.7812 35.8389L28.707 41.9141C28.332 42.2891 27.8234 42.5 27.293 42.5H14.5C13.3954 42.5 12.5 41.6046 12.5 40.5V36H7C5.89543 36 5 35.1046 5 34V7C5 5.89543 5.89543 5 7 5H34ZM15.5 39.5H25.5V30C25.5 28.0671 27.0671 26.5001 29 26.5H39.5V15.5H15.5V39.5ZM29 29.5C28.724 29.5001 28.5 29.7239 28.5 30V37.8789L36.8789 29.5H29ZM8 33H12.5V14.5C12.5 13.3954 13.3954 12.5 14.5 12.5H33V8H8V33Z" 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="M34 5C35.1046 5 36 5.89543 36 7V12H40.5C41.8807 12 43 13.1193 43 14.5V27.293C43 27.956 42.7364 28.5917 42.2676 29.0605L29.0605 42.2676C28.5917 42.7364 27.956 43 27.293 43H14.5C13.1193 43 12 41.8807 12 40.5V36H7C5.89543 36 5 35.1046 5 34V7C5 5.89543 5.89543 5 7 5H34ZM16 39H25V30C25 27.7909 26.791 26.0001 29 26H39V16H16V39ZM29 30V36.6719L35.6719 30H29ZM9 32H12V14.5C12 13.1193 13.1193 12 14.5 12H32V9H9V32Z" 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="M34 5C35.1046 5 36 5.89543 36 7V12.5H40.5C41.6046 12.5 42.5 13.3954 42.5 14.5V27.293C42.5 27.8234 42.2891 28.332 41.9141 28.707L35.8398 34.7803C35.6376 35.2563 35.2572 35.6365 34.7812 35.8389L28.707 41.9141C28.332 42.2891 27.8234 42.5 27.293 42.5H14.5C13.3954 42.5 12.5 41.6046 12.5 40.5V36H7C5.89543 36 5 35.1046 5 34V7C5 5.89543 5.89543 5 7 5H34ZM15.5 39.5H25.5V30C25.5 28.0671 27.0671 26.5001 29 26.5H39.5V15.5H15.5V39.5ZM29 29.5C28.724 29.5001 28.5 29.7239 28.5 30V37.8789L36.8789 29.5H29ZM8 33H12.5V14.5C12.5 13.3954 13.3954 12.5 14.5 12.5H33V8H8V33Z" 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 ColorDocxProps 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 IconColorDocx = forwardRef<SVGSVGElement, ColorDocxProps>(
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="M23.1318 4C23.6862 4.00012 24.2156 4.23041 24.5938 4.63574L38.4619 19.501C38.8074 19.8713 39 20.3588 39 20.8652V27H36V21.5771H26.001C24.0681 21.5771 22.5011 20.01 22.501 18.0771V7H12V27H9V6C9 4.89543 9.89543 4 11 4H23.1318ZM25.501 18.0771C25.5011 18.3532 25.7249 18.5771 26.001 18.5771H33.498L25.501 10.0059V18.0771Z" style={{ fill: `var(--${type})` }}/>
19
19
  <rect x="1" y="27" width="46" height="20" fill="#2A59B8"/>
20
20
  <path d="M33.9874 44.0009C33.893 44.0009 33.8324 43.974 33.8054 43.92C33.7784 43.8661 33.7784 43.7987 33.8054 43.7178L36.5556 36.9838C36.5691 36.9434 36.5691 36.9029 36.5556 36.8625L33.8054 30.1285C33.7919 30.1015 33.7852 30.0611 33.7852 30.0071C33.7852 29.8993 33.8526 29.8454 33.9874 29.8454H36.4141C36.5489 29.8454 36.6365 29.9128 36.677 30.0476L38.0318 33.9303C38.0453 33.9707 38.0656 33.9909 38.0925 33.9909C38.1195 33.9909 38.1397 33.9707 38.1532 33.9303L39.5081 30.0476C39.5485 29.9128 39.6361 29.8454 39.771 29.8454H42.1774C42.2718 29.8454 42.3324 29.8723 42.3594 29.9263C42.3864 29.9802 42.3864 30.0476 42.3594 30.1285L39.6092 36.8625C39.5957 36.9029 39.5957 36.9434 39.6092 36.9838L42.3594 43.7178C42.3729 43.7448 42.3796 43.7852 42.3796 43.8391C42.3796 43.947 42.3122 44.0009 42.1774 44.0009H39.771C39.6361 44.0009 39.5485 43.9335 39.5081 43.7987L38.1532 39.9363C38.1397 39.8958 38.1195 39.8756 38.0925 39.8756C38.0656 39.8756 38.0453 39.8958 38.0318 39.9363L36.6567 43.7987C36.6163 43.9335 36.5287 44.0009 36.3938 44.0009H33.9874Z" style={{ fill: `var(--${fillType})` }}/>
@@ -24,7 +24,7 @@ export const IconColorDocx = forwardRef<SVGSVGElement, ColorDocxProps>(
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="M23.1318 4C23.6862 4.00012 24.2156 4.23041 24.5938 4.63574L38.4619 19.501C38.8074 19.8713 39 20.3588 39 20.8652V27H36V21.5771H26.001C24.0681 21.5771 22.5011 20.01 22.501 18.0771V7H12V27H9V6C9 4.89543 9.89543 4 11 4H23.1318ZM25.501 18.0771C25.5011 18.3532 25.7249 18.5771 26.001 18.5771H33.498L25.501 10.0059V18.0771Z" style={{ fill: `var(--${type})` }}/>
29
29
  <rect x="1" y="27" width="46" height="20" fill="#2A59B8"/>
30
30
  <path d="M33.9874 44.0009C33.893 44.0009 33.8324 43.974 33.8054 43.92C33.7784 43.8661 33.7784 43.7987 33.8054 43.7178L36.5556 36.9838C36.5691 36.9434 36.5691 36.9029 36.5556 36.8625L33.8054 30.1285C33.7919 30.1015 33.7852 30.0611 33.7852 30.0071C33.7852 29.8993 33.8526 29.8454 33.9874 29.8454H36.4141C36.5489 29.8454 36.6365 29.9128 36.677 30.0476L38.0318 33.9303C38.0453 33.9707 38.0656 33.9909 38.0925 33.9909C38.1195 33.9909 38.1397 33.9707 38.1532 33.9303L39.5081 30.0476C39.5485 29.9128 39.6361 29.8454 39.771 29.8454H42.1774C42.2718 29.8454 42.3324 29.8723 42.3594 29.9263C42.3864 29.9802 42.3864 30.0476 42.3594 30.1285L39.6092 36.8625C39.5957 36.9029 39.5957 36.9434 39.6092 36.9838L42.3594 43.7178C42.3729 43.7448 42.3796 43.7852 42.3796 43.8391C42.3796 43.947 42.3122 44.0009 42.1774 44.0009H39.771C39.6361 44.0009 39.5485 43.9335 39.5081 43.7987L38.1532 39.9363C38.1397 39.8958 38.1195 39.8756 38.0925 39.8756C38.0656 39.8756 38.0453 39.8958 38.0318 39.9363L36.6567 43.7987C36.6163 43.9335 36.5287 44.0009 36.3938 44.0009H33.9874Z" style={{ fill: `var(--${fillType})` }}/>
@@ -34,7 +34,7 @@ export const IconColorDocx = forwardRef<SVGSVGElement, ColorDocxProps>(
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="M23.1318 4C23.6862 4.00012 24.2156 4.23041 24.5938 4.63574L38.4619 19.501C38.8074 19.8713 39 20.3588 39 20.8652V27H36V21.5771H26.001C24.0681 21.5771 22.5011 20.01 22.501 18.0771V7H12V27H9V6C9 4.89543 9.89543 4 11 4H23.1318ZM25.501 18.0771C25.5011 18.3532 25.7249 18.5771 26.001 18.5771H33.498L25.501 10.0059V18.0771Z" style={{ fill: `var(--${type})` }}/>
39
39
  <rect x="1" y="27" width="46" height="20" fill="#2A59B8"/>
40
40
  <path d="M33.9874 44.0009C33.893 44.0009 33.8324 43.974 33.8054 43.92C33.7784 43.8661 33.7784 43.7987 33.8054 43.7178L36.5556 36.9838C36.5691 36.9434 36.5691 36.9029 36.5556 36.8625L33.8054 30.1285C33.7919 30.1015 33.7852 30.0611 33.7852 30.0071C33.7852 29.8993 33.8526 29.8454 33.9874 29.8454H36.4141C36.5489 29.8454 36.6365 29.9128 36.677 30.0476L38.0318 33.9303C38.0453 33.9707 38.0656 33.9909 38.0925 33.9909C38.1195 33.9909 38.1397 33.9707 38.1532 33.9303L39.5081 30.0476C39.5485 29.9128 39.6361 29.8454 39.771 29.8454H42.1774C42.2718 29.8454 42.3324 29.8723 42.3594 29.9263C42.3864 29.9802 42.3864 30.0476 42.3594 30.1285L39.6092 36.8625C39.5957 36.9029 39.5957 36.9434 39.6092 36.9838L42.3594 43.7178C42.3729 43.7448 42.3796 43.7852 42.3796 43.8391C42.3796 43.947 42.3122 44.0009 42.1774 44.0009H39.771C39.6361 44.0009 39.5485 43.9335 39.5081 43.7987L38.1532 39.9363C38.1397 39.8958 38.1195 39.8756 38.0925 39.8756C38.0656 39.8756 38.0453 39.8958 38.0318 39.9363L36.6567 43.7987C36.6163 43.9335 36.5287 44.0009 36.3938 44.0009H33.9874Z" style={{ fill: `var(--${fillType})` }}/>
@@ -45,7 +45,7 @@ export const IconColorDocx = forwardRef<SVGSVGElement, ColorDocxProps>(
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="M23.1318 4C23.6862 4.00012 24.2156 4.23041 24.5938 4.63574L38.4619 19.501C38.8074 19.8713 39 20.3588 39 20.8652V27H36V21.5771H26.001C24.0681 21.5771 22.5011 20.01 22.501 18.0771V7H12V27H9V6C9 4.89543 9.89543 4 11 4H23.1318ZM25.501 18.0771C25.5011 18.3532 25.7249 18.5771 26.001 18.5771H33.498L25.501 10.0059V18.0771Z" style={{ fill: `var(--${type})` }}/>
50
50
  <rect x="1" y="27" width="46" height="20" fill="#2A59B8"/>
51
51
  <path d="M33.9874 44.0009C33.893 44.0009 33.8324 43.974 33.8054 43.92C33.7784 43.8661 33.7784 43.7987 33.8054 43.7178L36.5556 36.9838C36.5691 36.9434 36.5691 36.9029 36.5556 36.8625L33.8054 30.1285C33.7919 30.1015 33.7852 30.0611 33.7852 30.0071C33.7852 29.8993 33.8526 29.8454 33.9874 29.8454H36.4141C36.5489 29.8454 36.6365 29.9128 36.677 30.0476L38.0318 33.9303C38.0453 33.9707 38.0656 33.9909 38.0925 33.9909C38.1195 33.9909 38.1397 33.9707 38.1532 33.9303L39.5081 30.0476C39.5485 29.9128 39.6361 29.8454 39.771 29.8454H42.1774C42.2718 29.8454 42.3324 29.8723 42.3594 29.9263C42.3864 29.9802 42.3864 30.0476 42.3594 30.1285L39.6092 36.8625C39.5957 36.9029 39.5957 36.9434 39.6092 36.9838L42.3594 43.7178C42.3729 43.7448 42.3796 43.7852 42.3796 43.8391C42.3796 43.947 42.3122 44.0009 42.1774 44.0009H39.771C39.6361 44.0009 39.5485 43.9335 39.5081 43.7987L38.1532 39.9363C38.1397 39.8958 38.1195 39.8756 38.0925 39.8756C38.0656 39.8756 38.0453 39.8958 38.0318 39.9363L36.6567 43.7987C36.6163 43.9335 36.5287 44.0009 36.3938 44.0009H33.9874Z" style={{ fill: `var(--${fillType})` }}/>
@@ -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 ColorExcelProps 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 IconColorExcel = forwardRef<SVGSVGElement, ColorExcelProps>(
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
  <g clip-path="url(#clip0_12237_297)">
19
19
  <rect width="48" height="48" rx="9" fill="#22A162"/>
20
20
  <path d="M14.5773 32.9999L20.85 23.9727L14.7682 14.9999H19.8955L23.8773 21.6545H24.0409L28.0773 14.9999H33.2318L27.0682 23.8636L33.4227 32.9999H28.2955L24.0409 26.1272H23.8773L19.7045 32.9999H14.5773Z" style={{ fill: `var(--${fillType})` }}/>
@@ -27,7 +27,7 @@ export const IconColorExcel = forwardRef<SVGSVGElement, ColorExcelProps>(
27
27
  </svg>
28
28
  ;
29
29
  } else if (fill) {
30
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
30
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
31
31
  <g clip-path="url(#clip0_12237_297)">
32
32
  <rect width="48" height="48" rx="9" fill="#22A162"/>
33
33
  <path d="M14.5773 32.9999L20.85 23.9727L14.7682 14.9999H19.8955L23.8773 21.6545H24.0409L28.0773 14.9999H33.2318L27.0682 23.8636L33.4227 32.9999H28.2955L24.0409 26.1272H23.8773L19.7045 32.9999H14.5773Z" style={{ fill: `var(--${fillType})` }}/>
@@ -40,7 +40,7 @@ export const IconColorExcel = forwardRef<SVGSVGElement, ColorExcelProps>(
40
40
  </svg>
41
41
  ;
42
42
  } else if (thick) {
43
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
43
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
44
44
  <g clip-path="url(#clip0_12237_297)">
45
45
  <rect width="48" height="48" rx="9" fill="#22A162"/>
46
46
  <path d="M14.5773 32.9999L20.85 23.9727L14.7682 14.9999H19.8955L23.8773 21.6545H24.0409L28.0773 14.9999H33.2318L27.0682 23.8636L33.4227 32.9999H28.2955L24.0409 26.1272H23.8773L19.7045 32.9999H14.5773Z" style={{ fill: `var(--${fillType})` }}/>
@@ -54,7 +54,7 @@ export const IconColorExcel = forwardRef<SVGSVGElement, ColorExcelProps>(
54
54
  ;
55
55
  }
56
56
 
57
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
57
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
58
58
  <g clip-path="url(#clip0_12237_297)">
59
59
  <rect width="48" height="48" rx="9" fill="#22A162"/>
60
60
  <path d="M14.5773 32.9999L20.85 23.9727L14.7682 14.9999H19.8955L23.8773 21.6545H24.0409L28.0773 14.9999H33.2318L27.0682 23.8636L33.4227 32.9999H28.2955L24.0409 26.1272H23.8773L19.7045 32.9999H14.5773Z" style={{ fill: `var(--${fillType})` }}/>
@@ -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 ColorFacebookProps 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 IconColorFacebook = forwardRef<SVGSVGElement, ColorFacebookProps>(
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="M44 24C44 13 35 4 24 4C13 4 4 13 4 24C4 34 11.25 42.25 20.75 43.75V29.75H15.75V24H20.75V19.5C20.75 14.5 23.75 11.75 28.25 11.75C30.5 11.75 32.75 12.25 32.75 12.25V17.25H30.25C27.75 17.25 27 18.75 27 20.25V24H32.5L31.5 29.75H26.75V44C36.75 42.5 44 34 44 24Z" fill="#1877F2"/>
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="M44 24C44 13 35 4 24 4C13 4 4 13 4 24C4 34 11.25 42.25 20.75 43.75V29.75H15.75V24H20.75V19.5C20.75 14.5 23.75 11.75 28.25 11.75C30.5 11.75 32.75 12.25 32.75 12.25V17.25H30.25C27.75 17.25 27 18.75 27 20.25V24H32.5L31.5 29.75H26.75V44C36.75 42.5 44 34 44 24Z" fill="#1877F2"/>
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="M44 24C44 13 35 4 24 4C13 4 4 13 4 24C4 34 11.25 42.25 20.75 43.75V29.75H15.75V24H20.75V19.5C20.75 14.5 23.75 11.75 28.25 11.75C30.5 11.75 32.75 12.25 32.75 12.25V17.25H30.25C27.75 17.25 27 18.75 27 20.25V24H32.5L31.5 29.75H26.75V44C36.75 42.5 44 34 44 24Z" fill="#1877F2"/>
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 d="M44 24C44 13 35 4 24 4C13 4 4 13 4 24C4 34 11.25 42.25 20.75 43.75V29.75H15.75V24H20.75V19.5C20.75 14.5 23.75 11.75 28.25 11.75C30.5 11.75 32.75 12.25 32.75 12.25V17.25H30.25C27.75 17.25 27 18.75 27 20.25V24H32.5L31.5 29.75H26.75V44C36.75 42.5 44 34 44 24Z" fill="#1877F2"/>
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 ColorFireProps 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 IconColorFire = forwardRef<SVGSVGElement, ColorFireProps>(
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="M42 27.683C42 37.6241 33.9411 45 24 45C14.0589 45 6 37.6241 6 27.683C6 21.5445 9 15.5 15 12L16.9042 14.3273C19.2846 17.2367 24 15.5535 24 11.7944V3.5C24 3.5 42 12 42 27.683Z" fill="#FF8142"/>
19
19
  <path d="M32 31.2895C32 35.5479 28.4183 39 24 39C19.5817 39 16 35.5479 16 31.2895C16 27.7203 17.7142 26.3154 19.5556 24.6C21.6921 22.6097 24 21 24 21C24 21 26.3079 22.6097 28.4444 24.6C30.2858 26.3154 32 27.7203 32 31.2895Z" fill="#FFCC00"/>
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="M42 27.683C42 37.6241 33.9411 45 24 45C14.0589 45 6 37.6241 6 27.683C6 21.5445 9 15.5 15 12L16.9042 14.3273C19.2846 17.2367 24 15.5535 24 11.7944V3.5C24 3.5 42 12 42 27.683Z" fill="#FF8142"/>
25
25
  <path d="M32 31.2895C32 35.5479 28.4183 39 24 39C19.5817 39 16 35.5479 16 31.2895C16 27.7203 17.7142 26.3154 19.5556 24.6C21.6921 22.6097 24 21 24 21C24 21 26.3079 22.6097 28.4444 24.6C30.2858 26.3154 32 27.7203 32 31.2895Z" fill="#FFCC00"/>
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="M42 27.683C42 37.6241 33.9411 45 24 45C14.0589 45 6 37.6241 6 27.683C6 21.5445 9 15.5 15 12L16.9042 14.3273C19.2846 17.2367 24 15.5535 24 11.7944V3.5C24 3.5 42 12 42 27.683Z" fill="#FF8142"/>
31
31
  <path d="M32 31.2895C32 35.5479 28.4183 39 24 39C19.5817 39 16 35.5479 16 31.2895C16 27.7203 17.7142 26.3154 19.5556 24.6C21.6921 22.6097 24 21 24 21C24 21 26.3079 22.6097 28.4444 24.6C30.2858 26.3154 32 27.7203 32 31.2895Z" fill="#FFCC00"/>
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="M42 27.683C42 37.6241 33.9411 45 24 45C14.0589 45 6 37.6241 6 27.683C6 21.5445 9 15.5 15 12L16.9042 14.3273C19.2846 17.2367 24 15.5535 24 11.7944V3.5C24 3.5 42 12 42 27.683Z" fill="#FF8142"/>
38
38
  <path d="M32 31.2895C32 35.5479 28.4183 39 24 39C19.5817 39 16 35.5479 16 31.2895C16 27.7203 17.7142 26.3154 19.5556 24.6C21.6921 22.6097 24 21 24 21C24 21 26.3079 22.6097 28.4444 24.6C30.2858 26.3154 32 27.7203 32 31.2895Z" fill="#FFCC00"/>
39
39
  </svg>
@@ -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 ColorGoogleProps 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 IconColorGoogle = forwardRef<SVGSVGElement, ColorGoogleProps>(
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.895 20.5469C42.1195 21.7905 42.2405 23.086 42.2405 24.4333C42.2405 30.2198 40.1677 35.0909 36.5749 38.3987H36.5703L36.5727 38.3965L30.4346 33.631C32.4467 32.2837 33.7853 30.2715 34.2257 27.8966H24V20.5469H41.895Z" fill="#4285F4"/>
19
19
  <path d="M7.01831 32.5284L7.02096 32.5337L13.3671 27.6121C14.862 32.1018 19.0501 35.4428 23.9978 35.4428C26.5543 35.4428 28.7307 34.7691 30.4321 33.6291L36.5727 38.3965C33.429 41.2984 29.128 42.9998 23.9978 42.9998C16.5704 42.9998 10.1448 38.7419 7.01831 32.5322V32.5284Z" fill="#34A853"/>
20
20
  <path fillRule="evenodd" clipRule="evenodd" d="M23.9979 12.557C26.7875 12.557 29.2921 13.5157 31.2612 15.3984L36.7109 9.94876C33.4204 6.88277 29.1193 5 23.9979 5C16.5704 5 10.1448 9.25783 7.01834 15.4675L13.3662 20.3904C14.8604 15.8994 19.0491 12.557 23.9979 12.557Z" fill="#EA4335"/>
@@ -22,7 +22,7 @@ export const IconColorGoogle = forwardRef<SVGSVGElement, ColorGoogleProps>(
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="M41.895 20.5469C42.1195 21.7905 42.2405 23.086 42.2405 24.4333C42.2405 30.2198 40.1677 35.0909 36.5749 38.3987H36.5703L36.5727 38.3965L30.4346 33.631C32.4467 32.2837 33.7853 30.2715 34.2257 27.8966H24V20.5469H41.895Z" fill="#4285F4"/>
27
27
  <path d="M7.01831 32.5284L7.02096 32.5337L13.3671 27.6121C14.862 32.1018 19.0501 35.4428 23.9978 35.4428C26.5543 35.4428 28.7307 34.7691 30.4321 33.6291L36.5727 38.3965C33.429 41.2984 29.128 42.9998 23.9978 42.9998C16.5704 42.9998 10.1448 38.7419 7.01831 32.5322V32.5284Z" fill="#34A853"/>
28
28
  <path fillRule="evenodd" clipRule="evenodd" d="M23.9979 12.557C26.7875 12.557 29.2921 13.5157 31.2612 15.3984L36.7109 9.94876C33.4204 6.88277 29.1193 5 23.9979 5C16.5704 5 10.1448 9.25783 7.01834 15.4675L13.3662 20.3904C14.8604 15.8994 19.0491 12.557 23.9979 12.557Z" fill="#EA4335"/>
@@ -30,7 +30,7 @@ export const IconColorGoogle = forwardRef<SVGSVGElement, ColorGoogleProps>(
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="M41.895 20.5469C42.1195 21.7905 42.2405 23.086 42.2405 24.4333C42.2405 30.2198 40.1677 35.0909 36.5749 38.3987H36.5703L36.5727 38.3965L30.4346 33.631C32.4467 32.2837 33.7853 30.2715 34.2257 27.8966H24V20.5469H41.895Z" fill="#4285F4"/>
35
35
  <path d="M7.01831 32.5284L7.02096 32.5337L13.3671 27.6121C14.862 32.1018 19.0501 35.4428 23.9978 35.4428C26.5543 35.4428 28.7307 34.7691 30.4321 33.6291L36.5727 38.3965C33.429 41.2984 29.128 42.9998 23.9978 42.9998C16.5704 42.9998 10.1448 38.7419 7.01831 32.5322V32.5284Z" fill="#34A853"/>
36
36
  <path fillRule="evenodd" clipRule="evenodd" d="M23.9979 12.557C26.7875 12.557 29.2921 13.5157 31.2612 15.3984L36.7109 9.94876C33.4204 6.88277 29.1193 5 23.9979 5C16.5704 5 10.1448 9.25783 7.01834 15.4675L13.3662 20.3904C14.8604 15.8994 19.0491 12.557 23.9979 12.557Z" fill="#EA4335"/>
@@ -39,7 +39,7 @@ export const IconColorGoogle = forwardRef<SVGSVGElement, ColorGoogleProps>(
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="M41.895 20.5469C42.1195 21.7905 42.2405 23.086 42.2405 24.4333C42.2405 30.2198 40.1677 35.0909 36.5749 38.3987H36.5703L36.5727 38.3965L30.4346 33.631C32.4467 32.2837 33.7853 30.2715 34.2257 27.8966H24V20.5469H41.895Z" fill="#4285F4"/>
44
44
  <path d="M7.01831 32.5284L7.02096 32.5337L13.3671 27.6121C14.862 32.1018 19.0501 35.4428 23.9978 35.4428C26.5543 35.4428 28.7307 34.7691 30.4321 33.6291L36.5727 38.3965C33.429 41.2984 29.128 42.9998 23.9978 42.9998C16.5704 42.9998 10.1448 38.7419 7.01831 32.5322V32.5284Z" fill="#34A853"/>
45
45
  <path fillRule="evenodd" clipRule="evenodd" d="M23.9979 12.557C26.7875 12.557 29.2921 13.5157 31.2612 15.3984L36.7109 9.94876C33.4204 6.88277 29.1193 5 23.9979 5C16.5704 5 10.1448 9.25783 7.01834 15.4675L13.3662 20.3904C14.8604 15.8994 19.0491 12.557 23.9979 12.557Z" fill="#EA4335"/>
@@ -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 ColorHtmlProps 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 IconColorHtml = forwardRef<SVGSVGElement, ColorHtmlProps>(
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
  <g clip-path="url(#clip0_12237_327)">
19
19
  <rect width="48" height="48" rx="9" fill="#FF4C4C"/>
20
20
  <path d="M40.2949 26.1695L29.7274 30.654V27.3737L36.6409 24.7578V24.6124L29.7274 21.9965V18.7162L40.2949 23.2007V26.1695Z" style={{ fill: `var(--${fillType})` }}/>
@@ -29,7 +29,7 @@ export const IconColorHtml = forwardRef<SVGSVGElement, ColorHtmlProps>(
29
29
  </svg>
30
30
  ;
31
31
  } else if (fill) {
32
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
32
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
33
33
  <g clip-path="url(#clip0_12237_327)">
34
34
  <rect width="48" height="48" rx="9" fill="#FF4C4C"/>
35
35
  <path d="M40.2949 26.1695L29.7274 30.654V27.3737L36.6409 24.7578V24.6124L29.7274 21.9965V18.7162L40.2949 23.2007V26.1695Z" style={{ fill: `var(--${fillType})` }}/>
@@ -44,7 +44,7 @@ export const IconColorHtml = forwardRef<SVGSVGElement, ColorHtmlProps>(
44
44
  </svg>
45
45
  ;
46
46
  } else if (thick) {
47
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
47
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
48
48
  <g clip-path="url(#clip0_12237_327)">
49
49
  <rect width="48" height="48" rx="9" fill="#FF4C4C"/>
50
50
  <path d="M40.2949 26.1695L29.7274 30.654V27.3737L36.6409 24.7578V24.6124L29.7274 21.9965V18.7162L40.2949 23.2007V26.1695Z" style={{ fill: `var(--${fillType})` }}/>
@@ -60,7 +60,7 @@ export const IconColorHtml = forwardRef<SVGSVGElement, ColorHtmlProps>(
60
60
  ;
61
61
  }
62
62
 
63
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
63
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
64
64
  <g clip-path="url(#clip0_12237_327)">
65
65
  <rect width="48" height="48" rx="9" fill="#FF4C4C"/>
66
66
  <path d="M40.2949 26.1695L29.7274 30.654V27.3737L36.6409 24.7578V24.6124L29.7274 21.9965V18.7162L40.2949 23.2007V26.1695Z" style={{ fill: `var(--${fillType})` }}/>
@@ -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 ColorLinerProps 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 IconColorLiner = forwardRef<SVGSVGElement, ColorLinerProps>(
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.6001 18.2152V8.52042C39.6001 8.41885 39.5211 8.33984 39.4196 8.33984H29.6499C29.6499 8.33984 29.5596 8.36242 29.5258 8.39627L23.9189 13.9942C23.9189 13.9942 23.8399 14.0506 23.7948 14.0506H13.4949C13.4949 14.0506 13.4046 14.0732 13.3708 14.1071L6.17321 21.2738C6.0604 21.3866 6.13937 21.5898 6.29731 21.5898H15.5819C15.8527 21.5898 16.067 21.8042 16.067 22.0751V31.7022C16.067 31.8037 16.146 31.8827 16.2475 31.8827H25.8932C26.1639 31.8827 26.3783 32.1085 26.3783 32.3681V41.634C26.3783 41.792 26.5701 41.8823 26.6941 41.7694L33.7902 34.6817C33.7902 34.6817 33.8466 34.6027 33.8466 34.5463V24.0953C33.8466 24.0953 33.8691 23.9937 33.903 23.9599L39.5437 18.3168C39.5437 18.3168 39.6001 18.2378 39.6001 18.1814V18.2152ZM24.6071 22.7974V15.2808C24.6071 15.01 24.8214 14.7955 25.0922 14.7955H32.6282C32.8989 14.7955 33.1133 15.01 33.1133 15.2808V22.7974C33.1133 23.0683 32.8989 23.2827 32.6282 23.2827H25.0922C24.8214 23.2827 24.6071 23.0683 24.6071 22.7974Z" fill="#14371B"/>
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="M39.6001 18.2152V8.52042C39.6001 8.41885 39.5211 8.33984 39.4196 8.33984H29.6499C29.6499 8.33984 29.5596 8.36242 29.5258 8.39627L23.9189 13.9942C23.9189 13.9942 23.8399 14.0506 23.7948 14.0506H13.4949C13.4949 14.0506 13.4046 14.0732 13.3708 14.1071L6.17321 21.2738C6.0604 21.3866 6.13937 21.5898 6.29731 21.5898H15.5819C15.8527 21.5898 16.067 21.8042 16.067 22.0751V31.7022C16.067 31.8037 16.146 31.8827 16.2475 31.8827H25.8932C26.1639 31.8827 26.3783 32.1085 26.3783 32.3681V41.634C26.3783 41.792 26.5701 41.8823 26.6941 41.7694L33.7902 34.6817C33.7902 34.6817 33.8466 34.6027 33.8466 34.5463V24.0953C33.8466 24.0953 33.8691 23.9937 33.903 23.9599L39.5437 18.3168C39.5437 18.3168 39.6001 18.2378 39.6001 18.1814V18.2152ZM24.6071 22.7974V15.2808C24.6071 15.01 24.8214 14.7955 25.0922 14.7955H32.6282C32.8989 14.7955 33.1133 15.01 33.1133 15.2808V22.7974C33.1133 23.0683 32.8989 23.2827 32.6282 23.2827H25.0922C24.8214 23.2827 24.6071 23.0683 24.6071 22.7974Z" fill="#14371B"/>
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="M39.6001 18.2152V8.52042C39.6001 8.41885 39.5211 8.33984 39.4196 8.33984H29.6499C29.6499 8.33984 29.5596 8.36242 29.5258 8.39627L23.9189 13.9942C23.9189 13.9942 23.8399 14.0506 23.7948 14.0506H13.4949C13.4949 14.0506 13.4046 14.0732 13.3708 14.1071L6.17321 21.2738C6.0604 21.3866 6.13937 21.5898 6.29731 21.5898H15.5819C15.8527 21.5898 16.067 21.8042 16.067 22.0751V31.7022C16.067 31.8037 16.146 31.8827 16.2475 31.8827H25.8932C26.1639 31.8827 26.3783 32.1085 26.3783 32.3681V41.634C26.3783 41.792 26.5701 41.8823 26.6941 41.7694L33.7902 34.6817C33.7902 34.6817 33.8466 34.6027 33.8466 34.5463V24.0953C33.8466 24.0953 33.8691 23.9937 33.903 23.9599L39.5437 18.3168C39.5437 18.3168 39.6001 18.2378 39.6001 18.1814V18.2152ZM24.6071 22.7974V15.2808C24.6071 15.01 24.8214 14.7955 25.0922 14.7955H32.6282C32.8989 14.7955 33.1133 15.01 33.1133 15.2808V22.7974C33.1133 23.0683 32.8989 23.2827 32.6282 23.2827H25.0922C24.8214 23.2827 24.6071 23.0683 24.6071 22.7974Z" fill="#14371B"/>
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 d="M39.6001 18.2152V8.52042C39.6001 8.41885 39.5211 8.33984 39.4196 8.33984H29.6499C29.6499 8.33984 29.5596 8.36242 29.5258 8.39627L23.9189 13.9942C23.9189 13.9942 23.8399 14.0506 23.7948 14.0506H13.4949C13.4949 14.0506 13.4046 14.0732 13.3708 14.1071L6.17321 21.2738C6.0604 21.3866 6.13937 21.5898 6.29731 21.5898H15.5819C15.8527 21.5898 16.067 21.8042 16.067 22.0751V31.7022C16.067 31.8037 16.146 31.8827 16.2475 31.8827H25.8932C26.1639 31.8827 26.3783 32.1085 26.3783 32.3681V41.634C26.3783 41.792 26.5701 41.8823 26.6941 41.7694L33.7902 34.6817C33.7902 34.6817 33.8466 34.6027 33.8466 34.5463V24.0953C33.8466 24.0953 33.8691 23.9937 33.903 23.9599L39.5437 18.3168C39.5437 18.3168 39.6001 18.2378 39.6001 18.1814V18.2152ZM24.6071 22.7974V15.2808C24.6071 15.01 24.8214 14.7955 25.0922 14.7955H32.6282C32.8989 14.7955 33.1133 15.01 33.1133 15.2808V22.7974C33.1133 23.0683 32.8989 23.2827 32.6282 23.2827H25.0922C24.8214 23.2827 24.6071 23.0683 24.6071 22.7974Z" fill="#14371B"/>
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 ColorLinerVariationProps 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 IconColorLinerVariation = forwardRef<SVGSVGElement, ColorLinerVariationProps>(
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
  <g clip-path="url(#clip0_774_42385)">
19
19
  <path d="M44.7999 16.2883V3.36186C44.7999 3.22643 44.6946 3.12109 44.5592 3.12109H31.5329C31.5329 3.12109 31.4126 3.15119 31.3675 3.19633L23.8916 10.6602C23.8916 10.6602 23.7863 10.7355 23.7262 10.7355H9.99291C9.99291 10.7355 9.87257 10.7656 9.82745 10.8107L0.230706 20.3663C0.0802863 20.5168 0.18558 20.7877 0.396167 20.7877H12.7757C13.1367 20.7877 13.4225 21.0736 13.4225 21.4348V34.2709C13.4225 34.4063 13.5278 34.5116 13.6631 34.5116H26.524C26.885 34.5116 27.1708 34.8126 27.1708 35.1587V47.5133C27.1708 47.724 27.4265 47.8443 27.592 47.6939L37.0533 38.2436C37.0533 38.2436 37.1285 38.1383 37.1285 38.063V24.1284C37.1285 24.1284 37.1586 23.9929 37.2037 23.9478L44.7247 16.4237C44.7247 16.4237 44.7999 16.3184 44.7999 16.2431V16.2883ZM24.8092 22.3978V12.3757C24.8092 12.0146 25.095 11.7287 25.456 11.7287H35.504C35.865 11.7287 36.1508 12.0146 36.1508 12.3757V22.3978C36.1508 22.759 35.865 23.0449 35.504 23.0449H25.456C25.095 23.0449 24.8092 22.759 24.8092 22.3978Z" fill="#14371B"/>
20
20
  </g>
@@ -26,7 +26,7 @@ export const IconColorLinerVariation = forwardRef<SVGSVGElement, ColorLinerVaria
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
  <g clip-path="url(#clip0_774_42385)">
31
31
  <path d="M44.7999 16.2883V3.36186C44.7999 3.22643 44.6946 3.12109 44.5592 3.12109H31.5329C31.5329 3.12109 31.4126 3.15119 31.3675 3.19633L23.8916 10.6602C23.8916 10.6602 23.7863 10.7355 23.7262 10.7355H9.99291C9.99291 10.7355 9.87257 10.7656 9.82745 10.8107L0.230706 20.3663C0.0802863 20.5168 0.18558 20.7877 0.396167 20.7877H12.7757C13.1367 20.7877 13.4225 21.0736 13.4225 21.4348V34.2709C13.4225 34.4063 13.5278 34.5116 13.6631 34.5116H26.524C26.885 34.5116 27.1708 34.8126 27.1708 35.1587V47.5133C27.1708 47.724 27.4265 47.8443 27.592 47.6939L37.0533 38.2436C37.0533 38.2436 37.1285 38.1383 37.1285 38.063V24.1284C37.1285 24.1284 37.1586 23.9929 37.2037 23.9478L44.7247 16.4237C44.7247 16.4237 44.7999 16.3184 44.7999 16.2431V16.2883ZM24.8092 22.3978V12.3757C24.8092 12.0146 25.095 11.7287 25.456 11.7287H35.504C35.865 11.7287 36.1508 12.0146 36.1508 12.3757V22.3978C36.1508 22.759 35.865 23.0449 35.504 23.0449H25.456C25.095 23.0449 24.8092 22.759 24.8092 22.3978Z" fill="#14371B"/>
32
32
  </g>
@@ -38,7 +38,7 @@ export const IconColorLinerVariation = forwardRef<SVGSVGElement, ColorLinerVaria
38
38
  </svg>
39
39
  ;
40
40
  } else if (thick) {
41
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
41
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
42
42
  <g clip-path="url(#clip0_774_42385)">
43
43
  <path d="M44.7999 16.2883V3.36186C44.7999 3.22643 44.6946 3.12109 44.5592 3.12109H31.5329C31.5329 3.12109 31.4126 3.15119 31.3675 3.19633L23.8916 10.6602C23.8916 10.6602 23.7863 10.7355 23.7262 10.7355H9.99291C9.99291 10.7355 9.87257 10.7656 9.82745 10.8107L0.230706 20.3663C0.0802863 20.5168 0.18558 20.7877 0.396167 20.7877H12.7757C13.1367 20.7877 13.4225 21.0736 13.4225 21.4348V34.2709C13.4225 34.4063 13.5278 34.5116 13.6631 34.5116H26.524C26.885 34.5116 27.1708 34.8126 27.1708 35.1587V47.5133C27.1708 47.724 27.4265 47.8443 27.592 47.6939L37.0533 38.2436C37.0533 38.2436 37.1285 38.1383 37.1285 38.063V24.1284C37.1285 24.1284 37.1586 23.9929 37.2037 23.9478L44.7247 16.4237C44.7247 16.4237 44.7999 16.3184 44.7999 16.2431V16.2883ZM24.8092 22.3978V12.3757C24.8092 12.0146 25.095 11.7287 25.456 11.7287H35.504C35.865 11.7287 36.1508 12.0146 36.1508 12.3757V22.3978C36.1508 22.759 35.865 23.0449 35.504 23.0449H25.456C25.095 23.0449 24.8092 22.759 24.8092 22.3978Z" fill="#14371B"/>
44
44
  </g>
@@ -51,7 +51,7 @@ export const IconColorLinerVariation = forwardRef<SVGSVGElement, ColorLinerVaria
51
51
  ;
52
52
  }
53
53
 
54
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
54
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
55
55
  <g clip-path="url(#clip0_774_42385)">
56
56
  <path d="M44.7999 16.2883V3.36186C44.7999 3.22643 44.6946 3.12109 44.5592 3.12109H31.5329C31.5329 3.12109 31.4126 3.15119 31.3675 3.19633L23.8916 10.6602C23.8916 10.6602 23.7863 10.7355 23.7262 10.7355H9.99291C9.99291 10.7355 9.87257 10.7656 9.82745 10.8107L0.230706 20.3663C0.0802863 20.5168 0.18558 20.7877 0.396167 20.7877H12.7757C13.1367 20.7877 13.4225 21.0736 13.4225 21.4348V34.2709C13.4225 34.4063 13.5278 34.5116 13.6631 34.5116H26.524C26.885 34.5116 27.1708 34.8126 27.1708 35.1587V47.5133C27.1708 47.724 27.4265 47.8443 27.592 47.6939L37.0533 38.2436C37.0533 38.2436 37.1285 38.1383 37.1285 38.063V24.1284C37.1285 24.1284 37.1586 23.9929 37.2037 23.9478L44.7247 16.4237C44.7247 16.4237 44.7999 16.3184 44.7999 16.2431V16.2883ZM24.8092 22.3978V12.3757C24.8092 12.0146 25.095 11.7287 25.456 11.7287H35.504C35.865 11.7287 36.1508 12.0146 36.1508 12.3757V22.3978C36.1508 22.759 35.865 23.0449 35.504 23.0449H25.456C25.095 23.0449 24.8092 22.759 24.8092 22.3978Z" fill="#14371B"/>
57
57
  </g>
@@ -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 ColorLinkProps 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 IconColorLink = forwardRef<SVGSVGElement, ColorLinkProps>(
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
  <g clip-path="url(#clip0_12237_434)">
19
19
  <rect width="48" height="48" rx="9" fill="#8D959E"/>
20
20
  <path d="M28.1411 28.1761C28.462 27.9542 28.7674 27.7005 29.053 27.4148L34.1864 22.2815C36.7406 19.7273 36.7461 15.5894 34.203 13.0283L34.2022 13.0289C31.641 10.4857 27.5032 10.4912 24.949 13.0455L21.2996 16.6949C22.5287 16.4628 23.8021 16.5229 25.0083 16.8752L26.8935 14.99C28.3738 13.5097 30.7704 13.5042 32.2576 14.9734L32.2584 14.9729C33.7276 16.4601 33.7221 18.8567 32.2418 20.337L27.1085 25.4703C25.6282 26.9506 23.2316 26.9561 21.7444 25.4869L21.7436 25.4874C21.7286 25.4722 21.6782 25.4357 21.6782 25.4143L21.6753 25.4165C21.0752 24.7774 20.7374 23.9815 20.662 23.166L18.4264 25.4017C18.7426 26.1384 19.2002 26.8289 19.799 27.432L19.7999 27.4314C20.7558 28.3807 22.0046 29.0231 23.3339 29.2449L23.3332 29.2456C24.9808 29.5205 26.7134 29.1637 28.1411 28.1761Z" style={{ fill: `var(--${fillType})` }}/>
@@ -28,7 +28,7 @@ export const IconColorLink = forwardRef<SVGSVGElement, ColorLinkProps>(
28
28
  </svg>
29
29
  ;
30
30
  } else if (fill) {
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
  <g clip-path="url(#clip0_12237_434)">
33
33
  <rect width="48" height="48" rx="9" fill="#8D959E"/>
34
34
  <path d="M28.1411 28.1761C28.462 27.9542 28.7674 27.7005 29.053 27.4148L34.1864 22.2815C36.7406 19.7273 36.7461 15.5894 34.203 13.0283L34.2022 13.0289C31.641 10.4857 27.5032 10.4912 24.949 13.0455L21.2996 16.6949C22.5287 16.4628 23.8021 16.5229 25.0083 16.8752L26.8935 14.99C28.3738 13.5097 30.7704 13.5042 32.2576 14.9734L32.2584 14.9729C33.7276 16.4601 33.7221 18.8567 32.2418 20.337L27.1085 25.4703C25.6282 26.9506 23.2316 26.9561 21.7444 25.4869L21.7436 25.4874C21.7286 25.4722 21.6782 25.4357 21.6782 25.4143L21.6753 25.4165C21.0752 24.7774 20.7374 23.9815 20.662 23.166L18.4264 25.4017C18.7426 26.1384 19.2002 26.8289 19.799 27.432L19.7999 27.4314C20.7558 28.3807 22.0046 29.0231 23.3339 29.2449L23.3332 29.2456C24.9808 29.5205 26.7134 29.1637 28.1411 28.1761Z" style={{ fill: `var(--${fillType})` }}/>
@@ -42,7 +42,7 @@ export const IconColorLink = forwardRef<SVGSVGElement, ColorLinkProps>(
42
42
  </svg>
43
43
  ;
44
44
  } else if (thick) {
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
  <g clip-path="url(#clip0_12237_434)">
47
47
  <rect width="48" height="48" rx="9" fill="#8D959E"/>
48
48
  <path d="M28.1411 28.1761C28.462 27.9542 28.7674 27.7005 29.053 27.4148L34.1864 22.2815C36.7406 19.7273 36.7461 15.5894 34.203 13.0283L34.2022 13.0289C31.641 10.4857 27.5032 10.4912 24.949 13.0455L21.2996 16.6949C22.5287 16.4628 23.8021 16.5229 25.0083 16.8752L26.8935 14.99C28.3738 13.5097 30.7704 13.5042 32.2576 14.9734L32.2584 14.9729C33.7276 16.4601 33.7221 18.8567 32.2418 20.337L27.1085 25.4703C25.6282 26.9506 23.2316 26.9561 21.7444 25.4869L21.7436 25.4874C21.7286 25.4722 21.6782 25.4357 21.6782 25.4143L21.6753 25.4165C21.0752 24.7774 20.7374 23.9815 20.662 23.166L18.4264 25.4017C18.7426 26.1384 19.2002 26.8289 19.799 27.432L19.7999 27.4314C20.7558 28.3807 22.0046 29.0231 23.3339 29.2449L23.3332 29.2456C24.9808 29.5205 26.7134 29.1637 28.1411 28.1761Z" style={{ fill: `var(--${fillType})` }}/>
@@ -57,7 +57,7 @@ export const IconColorLink = forwardRef<SVGSVGElement, ColorLinkProps>(
57
57
  ;
58
58
  }
59
59
 
60
- return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
60
+ return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
61
61
  <g clip-path="url(#clip0_12237_434)">
62
62
  <rect width="48" height="48" rx="9" fill="#8D959E"/>
63
63
  <path d="M28.1411 28.1761C28.462 27.9542 28.7674 27.7005 29.053 27.4148L34.1864 22.2815C36.7406 19.7273 36.7461 15.5894 34.203 13.0283L34.2022 13.0289C31.641 10.4857 27.5032 10.4912 24.949 13.0455L21.2996 16.6949C22.5287 16.4628 23.8021 16.5229 25.0083 16.8752L26.8935 14.99C28.3738 13.5097 30.7704 13.5042 32.2576 14.9734L32.2584 14.9729C33.7276 16.4601 33.7221 18.8567 32.2418 20.337L27.1085 25.4703C25.6282 26.9506 23.2316 26.9561 21.7444 25.4869L21.7436 25.4874C21.7286 25.4722 21.6782 25.4357 21.6782 25.4143L21.6753 25.4165C21.0752 24.7774 20.7374 23.9815 20.662 23.166L18.4264 25.4017C18.7426 26.1384 19.2002 26.8289 19.799 27.432L19.7999 27.4314C20.7558 28.3807 22.0046 29.0231 23.3339 29.2449L23.3332 29.2456C24.9808 29.5205 26.7134 29.1637 28.1411 28.1761Z" style={{ fill: `var(--${fillType})` }}/>