@liner-fe/icon 0.1.7 → 0.1.9

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 (211) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/assets/add-clock/index.tsx +2 -2
  3. package/assets/add-to-folder/index.tsx +2 -2
  4. package/assets/ai/index.tsx +2 -2
  5. package/assets/airplane/index.tsx +2 -2
  6. package/assets/android/index.tsx +2 -2
  7. package/assets/apple/index.tsx +2 -2
  8. package/assets/arrow-back/index.tsx +2 -2
  9. package/assets/arrow-backward/index.tsx +2 -2
  10. package/assets/arrow-down/index.tsx +2 -2
  11. package/assets/arrow-down-left/index.tsx +2 -2
  12. package/assets/arrow-downward/index.tsx +2 -2
  13. package/assets/arrow-drop-right/index.tsx +2 -2
  14. package/assets/arrow-forward/index.tsx +2 -2
  15. package/assets/arrow-left/index.tsx +2 -2
  16. package/assets/arrow-right/index.tsx +2 -2
  17. package/assets/arrow-turn/index.tsx +2 -2
  18. package/assets/arrow-up/index.tsx +2 -2
  19. package/assets/arrow-up-down/index.tsx +2 -2
  20. package/assets/arrow-up-left/index.tsx +2 -2
  21. package/assets/arrow-up-right/index.tsx +2 -2
  22. package/assets/arrow-upward/index.tsx +2 -2
  23. package/assets/at-sign/index.tsx +2 -2
  24. package/assets/bag/index.tsx +2 -2
  25. package/assets/balance/index.tsx +2 -2
  26. package/assets/bell/index.tsx +2 -2
  27. package/assets/block/index.tsx +2 -2
  28. package/assets/bolt/index.tsx +2 -2
  29. package/assets/book/index.tsx +2 -2
  30. package/assets/bookmark/index.tsx +2 -2
  31. package/assets/bookmark-cancel/index.tsx +2 -2
  32. package/assets/books/index.tsx +2 -2
  33. package/assets/brain/index.tsx +2 -2
  34. package/assets/bulb/index.tsx +2 -2
  35. package/assets/bulb-exclamtionmark/index.tsx +2 -2
  36. package/assets/camera/index.tsx +2 -2
  37. package/assets/car/index.tsx +2 -2
  38. package/assets/casual-shoe/index.tsx +2 -2
  39. package/assets/chart-bar/index.tsx +2 -2
  40. package/assets/chart-line-uptrend/index.tsx +2 -2
  41. package/assets/check-mark/index.tsx +2 -2
  42. package/assets/check-mark-fill/index.tsx +2 -2
  43. package/assets/check-mark-in-circle/index.tsx +2 -2
  44. package/assets/chrome/index.tsx +2 -2
  45. package/assets/clock/index.tsx +2 -2
  46. package/assets/close/index.tsx +2 -2
  47. package/assets/close-fill/index.tsx +2 -2
  48. package/assets/collection-add/index.tsx +2 -2
  49. package/assets/collections/index.tsx +2 -2
  50. package/assets/color-citation-recommender/index.tsx +2 -2
  51. package/assets/color-docx/index.tsx +2 -2
  52. package/assets/color-excel/index.tsx +2 -2
  53. package/assets/color-facebook/index.tsx +2 -2
  54. package/assets/color-fire/index.tsx +2 -2
  55. package/assets/color-google/index.tsx +2 -2
  56. package/assets/color-html/index.tsx +2 -2
  57. package/assets/color-hypothesis-generator/index.tsx +2 -2
  58. package/assets/color-liner/index.tsx +2 -2
  59. package/assets/color-liner-variation/index.tsx +2 -2
  60. package/assets/color-link/index.tsx +2 -2
  61. package/assets/color-literature-review/index.tsx +2 -2
  62. package/assets/color-pdf/index.tsx +2 -2
  63. package/assets/color-peer-review/index.tsx +2 -2
  64. package/assets/color-powerpoint/index.tsx +2 -2
  65. package/assets/color-research-tracer/index.tsx +2 -2
  66. package/assets/color-survey-simulator/index.tsx +2 -2
  67. package/assets/color-txt/index.tsx +2 -2
  68. package/assets/copy/index.tsx +2 -2
  69. package/assets/credit/index.tsx +2 -2
  70. package/assets/credit-add/index.tsx +2 -2
  71. package/assets/creditcard/index.tsx +2 -2
  72. package/assets/dark-mode/index.tsx +2 -2
  73. package/assets/description/index.tsx +2 -2
  74. package/assets/desktop/index.tsx +2 -2
  75. package/assets/desktop-on-cursor/index.tsx +2 -2
  76. package/assets/document/index.tsx +2 -2
  77. package/assets/document-add/index.tsx +2 -2
  78. package/assets/document-check/index.tsx +2 -2
  79. package/assets/document-warning/index.tsx +2 -2
  80. package/assets/double-arrow-backward/index.tsx +2 -2
  81. package/assets/double-arrow-forward/index.tsx +2 -2
  82. package/assets/download/index.tsx +2 -2
  83. package/assets/drop-down/index.tsx +2 -2
  84. package/assets/drop-up/index.tsx +2 -2
  85. package/assets/email/index.tsx +2 -2
  86. package/assets/end/index.tsx +2 -2
  87. package/assets/essay/index.tsx +2 -2
  88. package/assets/exclamationmark/index.tsx +2 -2
  89. package/assets/exclamationmark-fill/index.tsx +2 -2
  90. package/assets/expand/index.tsx +2 -2
  91. package/assets/expand-close/index.tsx +2 -2
  92. package/assets/extend/index.tsx +2 -2
  93. package/assets/facebook/index.tsx +2 -2
  94. package/assets/feedback/index.tsx +2 -2
  95. package/assets/filter/index.tsx +2 -2
  96. package/assets/fire/index.tsx +2 -2
  97. package/assets/flowchart/index.tsx +2 -2
  98. package/assets/focus/index.tsx +2 -2
  99. package/assets/folder/index.tsx +2 -2
  100. package/assets/folder-add/index.tsx +2 -2
  101. package/assets/folder-open/index.tsx +2 -2
  102. package/assets/folder-open-share/index.tsx +2 -2
  103. package/assets/folder-share/index.tsx +2 -2
  104. package/assets/formal-bag/index.tsx +2 -2
  105. package/assets/globe/index.tsx +2 -2
  106. package/assets/google/index.tsx +2 -2
  107. package/assets/google-export/index.tsx +2 -2
  108. package/assets/graduationcap/index.tsx +2 -2
  109. package/assets/help/index.tsx +2 -2
  110. package/assets/hide-all/index.tsx +2 -2
  111. package/assets/highlight-edit/index.tsx +2 -2
  112. package/assets/highlighter/index.tsx +2 -2
  113. package/assets/history/index.tsx +2 -2
  114. package/assets/home/index.tsx +2 -2
  115. package/assets/hourglass/index.tsx +2 -2
  116. package/assets/info/index.tsx +2 -2
  117. package/assets/light/index.tsx +2 -2
  118. package/assets/light-mode/index.tsx +2 -2
  119. package/assets/liner/index.tsx +2 -2
  120. package/assets/link/index.tsx +2 -2
  121. package/assets/list/index.tsx +2 -2
  122. package/assets/literature-review/index.tsx +2 -2
  123. package/assets/location/index.tsx +2 -2
  124. package/assets/lock/index.tsx +2 -2
  125. package/assets/m-new-tab/index.tsx +2 -2
  126. package/assets/magic-pencil/index.tsx +2 -2
  127. package/assets/magic-wand/index.tsx +2 -2
  128. package/assets/make-easy/index.tsx +2 -2
  129. package/assets/members/index.tsx +2 -2
  130. package/assets/memo/index.tsx +2 -2
  131. package/assets/menu/index.tsx +2 -2
  132. package/assets/microscope/index.tsx +2 -2
  133. package/assets/mindmap/index.tsx +2 -2
  134. package/assets/minus/index.tsx +2 -2
  135. package/assets/mobile/index.tsx +2 -2
  136. package/assets/more/index.tsx +2 -2
  137. package/assets/more-horizontal/index.tsx +2 -2
  138. package/assets/more-vertical/index.tsx +2 -2
  139. package/assets/move/index.tsx +2 -2
  140. package/assets/move-to-folder/index.tsx +2 -2
  141. package/assets/new-chrome-extension/index.tsx +2 -2
  142. package/assets/new-tab/index.tsx +2 -2
  143. package/assets/new-thread/index.tsx +2 -2
  144. package/assets/new-thread-folder/index.tsx +2 -2
  145. package/assets/palette/index.tsx +2 -2
  146. package/assets/paperclip/index.tsx +2 -2
  147. package/assets/paragraph/index.tsx +2 -2
  148. package/assets/paraphrase/index.tsx +2 -2
  149. package/assets/pencil/index.tsx +2 -2
  150. package/assets/person/index.tsx +2 -2
  151. package/assets/person-add/index.tsx +2 -2
  152. package/assets/person-fill/index.tsx +2 -2
  153. package/assets/photo/index.tsx +2 -2
  154. package/assets/play-button/index.tsx +2 -2
  155. package/assets/plus/index.tsx +2 -2
  156. package/assets/power/index.tsx +2 -2
  157. package/assets/question-box/index.tsx +2 -2
  158. package/assets/question-message/index.tsx +2 -2
  159. package/assets/quote/index.tsx +2 -2
  160. package/assets/redo/index.tsx +2 -2
  161. package/assets/regenerate/index.tsx +2 -2
  162. package/assets/remove-from-folder/index.tsx +2 -2
  163. package/assets/report/index.tsx +2 -2
  164. package/assets/restaurant/index.tsx +2 -2
  165. package/assets/retry/index.tsx +2 -2
  166. package/assets/rocket/index.tsx +2 -2
  167. package/assets/search/index.tsx +2 -2
  168. package/assets/secret-mode/index.tsx +2 -2
  169. package/assets/send/index.tsx +2 -2
  170. package/assets/setting/index.tsx +2 -2
  171. package/assets/share/index.tsx +2 -2
  172. package/assets/sheet-export/index.tsx +2 -2
  173. package/assets/shield/index.tsx +2 -2
  174. package/assets/shield-person/index.tsx +2 -2
  175. package/assets/shield-usage/index.tsx +2 -2
  176. package/assets/shorten/index.tsx +2 -2
  177. package/assets/show-all/index.tsx +2 -2
  178. package/assets/sign-out/index.tsx +2 -2
  179. package/assets/source/index.tsx +2 -2
  180. package/assets/speaker/index.tsx +2 -2
  181. package/assets/spinner/index.tsx +2 -2
  182. package/assets/stack/index.tsx +2 -2
  183. package/assets/star/index.tsx +2 -2
  184. package/assets/start/index.tsx +2 -2
  185. package/assets/step/index.tsx +2 -2
  186. package/assets/stop/index.tsx +2 -2
  187. package/assets/summarize/index.tsx +2 -2
  188. package/assets/survey/index.tsx +2 -2
  189. package/assets/target/index.tsx +2 -2
  190. package/assets/teams/index.tsx +2 -2
  191. package/assets/text-select/index.tsx +2 -2
  192. package/assets/thumb-down/index.tsx +2 -2
  193. package/assets/thumb-up/index.tsx +2 -2
  194. package/assets/timer/index.tsx +2 -2
  195. package/assets/translate/index.tsx +2 -2
  196. package/assets/trash/index.tsx +2 -2
  197. package/assets/tune/index.tsx +2 -2
  198. package/assets/twitter/index.tsx +2 -2
  199. package/assets/undo/index.tsx +2 -2
  200. package/assets/verification-badge/index.tsx +2 -2
  201. package/assets/view-list/index.tsx +2 -2
  202. package/assets/visibility/index.tsx +2 -2
  203. package/assets/visibility-off/index.tsx +2 -2
  204. package/assets/volume/index.tsx +2 -2
  205. package/assets/volume-up/index.tsx +2 -2
  206. package/assets/zoom-in/index.tsx +2 -2
  207. package/assets/zoom-out/index.tsx +2 -2
  208. package/index.tsx +2 -230
  209. package/lib/index.d.ts +209 -220
  210. package/lib/index.js +7 -228
  211. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconThumbUp = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconThumbUp = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconTimer = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconTimer = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconTranslate = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconTranslate = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconTrash = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconTrash = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconTune = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconTune = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconTwitter = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconTwitter = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconUndo = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconUndo = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconVerificationBadge = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconVerificationBadge = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconViewList = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconViewList = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconVisibility = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconVisibility = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconVisibilityOff = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconVisibilityOff = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconVolume = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconVolume = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconVolumeUp = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconVolumeUp = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconZoomIn = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconZoomIn = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,8 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { NewIconProps } from '../../index';
3
+ import { IconProps } from '../../index';
4
4
 
5
- export const IconZoomOut = forwardRef<SVGSVGElement, NewIconProps>(
5
+ export const IconZoomOut = forwardRef<SVGSVGElement, IconProps>(
6
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
7
7
  if (fill && thick) {
8
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
package/index.tsx CHANGED
@@ -417,225 +417,7 @@ export type IconName = "arrow-upward" | "arrow-downward" | "arrow-back" | "arrow
417
417
 
418
418
  export type IconSizeKey = keyof typeof iconSizeMap;
419
419
 
420
- export const IconMap: Record<IconName, React.ForwardRefExoticComponent<any>> = {
421
- "arrow-upward": IconArrowUpward,
422
- "arrow-downward": IconArrowDownward,
423
- "arrow-back": IconArrowBack,
424
- "arrow-forward": IconArrowForward,
425
- "drop-up": IconDropUp,
426
- "drop-down": IconDropDown,
427
- "arrow-backward": IconArrowBackward,
428
- "arrow-drop-right": IconArrowDropRight,
429
- "arrow-up": IconArrowUp,
430
- "arrow-down": IconArrowDown,
431
- "arrow-left": IconArrowLeft,
432
- "arrow-right": IconArrowRight,
433
- "move": IconMove,
434
- "arrow-turn": IconArrowTurn,
435
- "start": IconStart,
436
- "end": IconEnd,
437
- "extend": IconExtend,
438
- "shorten": IconShorten,
439
- "more": IconMore,
440
- "check-mark": IconCheckMark,
441
- "check-mark-fill": IconCheckMarkFill,
442
- "exclamationmark": IconExclamationmark,
443
- "exclamationmark-fill": IconExclamationmarkFill,
444
- "plus": IconPlus,
445
- "minus": IconMinus,
446
- "close": IconClose,
447
- "close-fill": IconCloseFill,
448
- "double-arrow-forward": IconDoubleArrowForward,
449
- "double-arrow-backward": IconDoubleArrowBackward,
450
- "arrow-up-right": IconArrowUpRight,
451
- "arrow-down-left": IconArrowDownLeft,
452
- "arrow-up-left": IconArrowUpLeft,
453
- "arrow-up-down": IconArrowUpDown,
454
- "redo": IconRedo,
455
- "undo": IconUndo,
456
- "expand": IconExpand,
457
- "show-all": IconShowAll,
458
- "hide-all": IconHideAll,
459
- "help": IconHelp,
460
- "zoom-in": IconZoomIn,
461
- "zoom-out": IconZoomOut,
462
- "retry": IconRetry,
463
- "question-message": IconQuestionMessage,
464
- "books": IconBooks,
465
- "balance": IconBalance,
466
- "chart-bar": IconChartBar,
467
- "chart-line-uptrend": IconChartLineUptrend,
468
- "folder": IconFolder,
469
- "folder-open": IconFolderOpen,
470
- "folder-add": IconFolderAdd,
471
- "document": IconDocument,
472
- "history": IconHistory,
473
- "person": IconPerson,
474
- "person-add": IconPersonAdd,
475
- "send": IconSend,
476
- "paperclip": IconPaperclip,
477
- "share": IconShare,
478
- "sign-out": IconSignOut,
479
- "lock": IconLock,
480
- "ai": IconAi,
481
- "trash": IconTrash,
482
- "stack": IconStack,
483
- "new-thread": IconNewThread,
484
- "summarize": IconSummarize,
485
- "search": IconSearch,
486
- "memo": IconMemo,
487
- "globe": IconGlobe,
488
- "graduationcap": IconGraduationcap,
489
- "palette": IconPalette,
490
- "download": IconDownload,
491
- "copy": IconCopy,
492
- "regenerate": IconRegenerate,
493
- "credit": IconCredit,
494
- "feedback": IconFeedback,
495
- "creditcard": IconCreditcard,
496
- "speaker": IconSpeaker,
497
- "tune": IconTune,
498
- "shield": IconShield,
499
- "menu": IconMenu,
500
- "light": IconLight,
501
- "document-add": IconDocumentAdd,
502
- "thumb-up": IconThumbUp,
503
- "thumb-down": IconThumbDown,
504
- "document-warning": IconDocumentWarning,
505
- "person-fill": IconPersonFill,
506
- "step": IconStep,
507
- "book": IconBook,
508
- "description": IconDescription,
509
- "bookmark": IconBookmark,
510
- "power": IconPower,
511
- "photo": IconPhoto,
512
- "camera": IconCamera,
513
- "list": IconList,
514
- "desktop": IconDesktop,
515
- "desktop-on-cursor": IconDesktopOnCursor,
516
- "view-list": IconViewList,
517
- "bolt": IconBolt,
518
- "home": IconHome,
519
- "visibility": IconVisibility,
520
- "visibility-off": IconVisibilityOff,
521
- "magic-wand": IconMagicWand,
522
- "highlighter": IconHighlighter,
523
- "pencil": IconPencil,
524
- "essay": IconEssay,
525
- "magic-pencil": IconMagicPencil,
526
- "highlight-edit": IconHighlightEdit,
527
- "paraphrase": IconParaphrase,
528
- "bulb-exclamtionmark": IconBulbExclamtionmark,
529
- "bulb": IconBulb,
530
- "make-easy": IconMakeEasy,
531
- "translate": IconTranslate,
532
- "info": IconInfo,
533
- "apple": IconApple,
534
- "android": IconAndroid,
535
- "twitter": IconTwitter,
536
- "facebook": IconFacebook,
537
- "google": IconGoogle,
538
- "car": IconCar,
539
- "airplane": IconAirplane,
540
- "rocket": IconRocket,
541
- "source": IconSource,
542
- "liner": IconLiner,
543
- "setting": IconSetting,
544
- "light-mode": IconLightMode,
545
- "dark-mode": IconDarkMode,
546
- "fire": IconFire,
547
- "question-box": IconQuestionBox,
548
- "target": IconTarget,
549
- "new-tab": IconNewTab,
550
- "quote": IconQuote,
551
- "document-check": IconDocumentCheck,
552
- "block": IconBlock,
553
- "bookmark-cancel": IconBookmarkCancel,
554
- "email": IconEmail,
555
- "filter": IconFilter,
556
- "timer": IconTimer,
557
- "play-button": IconPlayButton,
558
- "text-select": IconTextSelect,
559
- "bell": IconBell,
560
- "secret-mode": IconSecretMode,
561
- "add-clock": IconAddClock,
562
- "clock": IconClock,
563
- "spinner": IconSpinner,
564
- "volume-up": IconVolumeUp,
565
- "volume": IconVolume,
566
- "google-export": IconGoogleExport,
567
- "link": IconLink,
568
- "sheet-export": IconSheetExport,
569
- "shield-person": IconShieldPerson,
570
- "shield-usage": IconShieldUsage,
571
- "formal-bag": IconFormalBag,
572
- "casual-shoe": IconCasualShoe,
573
- "folder-open-share": IconFolderOpenShare,
574
- "folder-share": IconFolderShare,
575
- "verification-badge": IconVerificationBadge,
576
- "report": IconReport,
577
- "brain": IconBrain,
578
- "mindmap": IconMindmap,
579
- "flowchart": IconFlowchart,
580
- "focus": IconFocus,
581
- "paragraph": IconParagraph,
582
- "add-to-folder": IconAddToFolder,
583
- "remove-from-folder": IconRemoveFromFolder,
584
- "move-to-folder": IconMoveToFolder,
585
- "new-thread-folder": IconNewThreadFolder,
586
- "chrome": IconChrome,
587
- "new-chrome-extension": IconNewChromeExtension,
588
- "mobile": IconMobile,
589
- "members": IconMembers,
590
- "teams": IconTeams,
591
- "stop": IconStop,
592
- "microscope": IconMicroscope,
593
- "literature-review": IconLiteratureReview,
594
- "expand-close": IconExpandClose,
595
- "restaurant": IconRestaurant,
596
- "color-liner": IconColorLiner,
597
- "color-liner-variation": IconColorLinerVariation,
598
- "color-facebook": IconColorFacebook,
599
- "color-google": IconColorGoogle,
600
- "color-fire": IconColorFire,
601
- "color-txt": IconColorTxt,
602
- "color-pdf": IconColorPdf,
603
- "color-docx": IconColorDocx,
604
- "more-horizontal": IconMoreHorizontal,
605
- "more-vertical": IconMoreVertical,
606
- "check-mark-in-circle": IconCheckMarkInCircle,
607
- "star": IconStar,
608
- "credit-add": IconCreditAdd,
609
- "m-new-tab": IconMNewTab,
610
- "collection-add": IconCollectionAdd,
611
- "collections": IconCollections,
612
- "survey": IconSurvey,
613
- "location": IconLocation,
614
- "hourglass": IconHourglass,
615
- "bag": IconBag,
616
- "color-excel": IconColorExcel,
617
- "color-html": IconColorHtml,
618
- "color-powerpoint": IconColorPowerpoint,
619
- "color-link": IconColorLink,
620
- "color-hypothesis-generator": IconColorHypothesisGenerator,
621
- "color-citation-recommender": IconColorCitationRecommender,
622
- "color-peer-review": IconColorPeerReview,
623
- "color-survey-simulator": IconColorSurveySimulator,
624
- "color-literature-review": IconColorLiteratureReview,
625
- "color-research-tracer": IconColorResearchTracer,
626
- "at-sign": IconAtSign
627
- } as const;
628
-
629
- export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
630
- fill?: boolean;
631
- thick?: boolean;
632
- className?: string;
633
- name: keyof typeof IconMap;size?: keyof typeof iconSizeMap;
634
- type?: BasicColorType;
635
- fillType?: BasicColorType;
636
- }
637
-
638
- export interface NewIconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
420
+ export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
639
421
  fill?: boolean;
640
422
  thick?: boolean;
641
423
  className?: string;
@@ -645,15 +427,5 @@ export interface NewIconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'na
645
427
  }
646
428
 
647
429
  export type IconComponentType = React.ForwardRefExoticComponent<
648
- Omit<NewIconProps, 'ref'> & React.RefAttributes<SVGSVGElement>
430
+ Omit<IconProps, 'ref'> & React.RefAttributes<SVGSVGElement>
649
431
  >;
650
-
651
- export const Icon = forwardRef<SVGSVGElement, IconProps>(({name, size = "m", ...props}, ref) => {
652
- const IconComponent = IconMap[name];
653
-
654
- if (!IconComponent) {
655
- return null;
656
- }
657
-
658
- return <IconComponent {...props} ref={ref} size={size} />;
659
- });