@liner-fe/icon 0.1.4 → 0.1.5

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 (209) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/assets/add-clock/index.tsx +3 -12
  3. package/assets/add-to-folder/index.tsx +3 -12
  4. package/assets/ai/index.tsx +3 -12
  5. package/assets/airplane/index.tsx +3 -12
  6. package/assets/android/index.tsx +3 -12
  7. package/assets/apple/index.tsx +3 -12
  8. package/assets/arrow-back/index.tsx +3 -12
  9. package/assets/arrow-backward/index.tsx +3 -12
  10. package/assets/arrow-down/index.tsx +3 -12
  11. package/assets/arrow-down-left/index.tsx +3 -12
  12. package/assets/arrow-downward/index.tsx +3 -12
  13. package/assets/arrow-drop-right/index.tsx +3 -12
  14. package/assets/arrow-forward/index.tsx +3 -12
  15. package/assets/arrow-left/index.tsx +3 -12
  16. package/assets/arrow-right/index.tsx +3 -12
  17. package/assets/arrow-turn/index.tsx +3 -12
  18. package/assets/arrow-up/index.tsx +3 -12
  19. package/assets/arrow-up-down/index.tsx +3 -12
  20. package/assets/arrow-up-left/index.tsx +3 -12
  21. package/assets/arrow-up-right/index.tsx +3 -12
  22. package/assets/arrow-upward/index.tsx +3 -12
  23. package/assets/bag/index.tsx +3 -12
  24. package/assets/balance/index.tsx +3 -12
  25. package/assets/bell/index.tsx +3 -12
  26. package/assets/block/index.tsx +3 -12
  27. package/assets/bolt/index.tsx +3 -12
  28. package/assets/book/index.tsx +3 -12
  29. package/assets/bookmark/index.tsx +3 -12
  30. package/assets/bookmark-cancel/index.tsx +3 -12
  31. package/assets/books/index.tsx +3 -12
  32. package/assets/brain/index.tsx +3 -12
  33. package/assets/bulb/index.tsx +3 -12
  34. package/assets/bulb-exclamtionmark/index.tsx +3 -12
  35. package/assets/camera/index.tsx +3 -12
  36. package/assets/car/index.tsx +3 -12
  37. package/assets/casual-shoe/index.tsx +3 -12
  38. package/assets/chart-bar/index.tsx +3 -12
  39. package/assets/chart-line-uptrend/index.tsx +3 -12
  40. package/assets/check-mark/index.tsx +3 -12
  41. package/assets/check-mark-fill/index.tsx +3 -12
  42. package/assets/check-mark-in-circle/index.tsx +3 -12
  43. package/assets/chrome/index.tsx +3 -12
  44. package/assets/clock/index.tsx +3 -12
  45. package/assets/close/index.tsx +3 -12
  46. package/assets/close-fill/index.tsx +3 -12
  47. package/assets/collection-add/index.tsx +3 -12
  48. package/assets/collections/index.tsx +3 -12
  49. package/assets/color-citation-recommender/index.tsx +3 -12
  50. package/assets/color-docx/index.tsx +3 -12
  51. package/assets/color-excel/index.tsx +3 -12
  52. package/assets/color-facebook/index.tsx +3 -12
  53. package/assets/color-fire/index.tsx +3 -12
  54. package/assets/color-google/index.tsx +3 -12
  55. package/assets/color-html/index.tsx +3 -12
  56. package/assets/color-hypothesis-generator/index.tsx +3 -12
  57. package/assets/color-liner/index.tsx +3 -12
  58. package/assets/color-liner-variation/index.tsx +3 -12
  59. package/assets/color-link/index.tsx +3 -12
  60. package/assets/color-literature-review/index.tsx +3 -12
  61. package/assets/color-pdf/index.tsx +3 -12
  62. package/assets/color-peer-review/index.tsx +3 -12
  63. package/assets/color-powerpoint/index.tsx +3 -12
  64. package/assets/color-research-tracer/index.tsx +3 -12
  65. package/assets/color-survey-simulator/index.tsx +3 -12
  66. package/assets/color-txt/index.tsx +3 -12
  67. package/assets/copy/index.tsx +3 -12
  68. package/assets/credit/index.tsx +3 -12
  69. package/assets/credit-add/index.tsx +3 -12
  70. package/assets/creditcard/index.tsx +3 -12
  71. package/assets/dark-mode/index.tsx +3 -12
  72. package/assets/description/index.tsx +3 -12
  73. package/assets/desktop/index.tsx +3 -12
  74. package/assets/desktop-on-cursor/index.tsx +3 -12
  75. package/assets/document/index.tsx +3 -12
  76. package/assets/document-add/index.tsx +3 -12
  77. package/assets/document-check/index.tsx +3 -12
  78. package/assets/document-warning/index.tsx +3 -12
  79. package/assets/double-arrow-backward/index.tsx +3 -12
  80. package/assets/double-arrow-forward/index.tsx +3 -12
  81. package/assets/download/index.tsx +3 -12
  82. package/assets/drop-down/index.tsx +3 -12
  83. package/assets/drop-up/index.tsx +3 -12
  84. package/assets/email/index.tsx +3 -12
  85. package/assets/end/index.tsx +3 -12
  86. package/assets/essay/index.tsx +3 -12
  87. package/assets/exclamationmark/index.tsx +3 -12
  88. package/assets/exclamationmark-fill/index.tsx +3 -12
  89. package/assets/expand/index.tsx +3 -12
  90. package/assets/expand-close/index.tsx +3 -12
  91. package/assets/extend/index.tsx +3 -12
  92. package/assets/facebook/index.tsx +3 -12
  93. package/assets/feedback/index.tsx +3 -12
  94. package/assets/filter/index.tsx +3 -12
  95. package/assets/fire/index.tsx +3 -12
  96. package/assets/flowchart/index.tsx +3 -12
  97. package/assets/focus/index.tsx +3 -12
  98. package/assets/folder/index.tsx +3 -12
  99. package/assets/folder-add/index.tsx +3 -12
  100. package/assets/folder-open/index.tsx +3 -12
  101. package/assets/folder-open-share/index.tsx +3 -12
  102. package/assets/folder-share/index.tsx +3 -12
  103. package/assets/formal-bag/index.tsx +3 -12
  104. package/assets/globe/index.tsx +3 -12
  105. package/assets/google/index.tsx +3 -12
  106. package/assets/google-export/index.tsx +3 -12
  107. package/assets/graduationcap/index.tsx +3 -12
  108. package/assets/help/index.tsx +3 -12
  109. package/assets/hide-all/index.tsx +3 -12
  110. package/assets/highlight-edit/index.tsx +3 -12
  111. package/assets/highlighter/index.tsx +3 -12
  112. package/assets/history/index.tsx +3 -12
  113. package/assets/home/index.tsx +3 -12
  114. package/assets/hourglass/index.tsx +3 -12
  115. package/assets/info/index.tsx +3 -12
  116. package/assets/light/index.tsx +3 -12
  117. package/assets/light-mode/index.tsx +3 -12
  118. package/assets/liner/index.tsx +3 -12
  119. package/assets/link/index.tsx +3 -12
  120. package/assets/list/index.tsx +3 -12
  121. package/assets/literature-review/index.tsx +3 -12
  122. package/assets/location/index.tsx +3 -12
  123. package/assets/lock/index.tsx +3 -12
  124. package/assets/m-new-tab/index.tsx +3 -12
  125. package/assets/magic-pencil/index.tsx +3 -12
  126. package/assets/magic-wand/index.tsx +3 -12
  127. package/assets/make-easy/index.tsx +3 -12
  128. package/assets/members/index.tsx +3 -12
  129. package/assets/memo/index.tsx +3 -12
  130. package/assets/menu/index.tsx +3 -12
  131. package/assets/microscope/index.tsx +3 -12
  132. package/assets/mindmap/index.tsx +3 -12
  133. package/assets/minus/index.tsx +3 -12
  134. package/assets/mobile/index.tsx +3 -12
  135. package/assets/more/index.tsx +3 -12
  136. package/assets/more-horizontal/index.tsx +3 -12
  137. package/assets/more-vertical/index.tsx +3 -12
  138. package/assets/move/index.tsx +3 -12
  139. package/assets/move-to-folder/index.tsx +3 -12
  140. package/assets/new-chrome-extension/index.tsx +3 -12
  141. package/assets/new-tab/index.tsx +3 -12
  142. package/assets/new-thread/index.tsx +3 -12
  143. package/assets/new-thread-folder/index.tsx +3 -12
  144. package/assets/palette/index.tsx +3 -12
  145. package/assets/paperclip/index.tsx +3 -12
  146. package/assets/paragraph/index.tsx +3 -12
  147. package/assets/paraphrase/index.tsx +3 -12
  148. package/assets/pencil/index.tsx +3 -12
  149. package/assets/person/index.tsx +3 -12
  150. package/assets/person-add/index.tsx +3 -12
  151. package/assets/person-fill/index.tsx +3 -12
  152. package/assets/photo/index.tsx +3 -12
  153. package/assets/play-button/index.tsx +3 -12
  154. package/assets/plus/index.tsx +3 -12
  155. package/assets/power/index.tsx +3 -12
  156. package/assets/question-box/index.tsx +3 -12
  157. package/assets/question-message/index.tsx +3 -12
  158. package/assets/quote/index.tsx +3 -12
  159. package/assets/redo/index.tsx +3 -12
  160. package/assets/regenerate/index.tsx +3 -12
  161. package/assets/remove-from-folder/index.tsx +3 -12
  162. package/assets/report/index.tsx +3 -12
  163. package/assets/restaurant/index.tsx +3 -12
  164. package/assets/retry/index.tsx +3 -12
  165. package/assets/rocket/index.tsx +3 -12
  166. package/assets/search/index.tsx +3 -12
  167. package/assets/secret-mode/index.tsx +3 -12
  168. package/assets/send/index.tsx +3 -12
  169. package/assets/setting/index.tsx +3 -12
  170. package/assets/share/index.tsx +3 -12
  171. package/assets/sheet-export/index.tsx +3 -12
  172. package/assets/shield/index.tsx +3 -12
  173. package/assets/shield-person/index.tsx +3 -12
  174. package/assets/shield-usage/index.tsx +3 -12
  175. package/assets/shorten/index.tsx +3 -12
  176. package/assets/show-all/index.tsx +3 -12
  177. package/assets/sign-out/index.tsx +3 -12
  178. package/assets/source/index.tsx +3 -12
  179. package/assets/speaker/index.tsx +3 -12
  180. package/assets/spinner/index.tsx +3 -12
  181. package/assets/stack/index.tsx +3 -12
  182. package/assets/star/index.tsx +3 -12
  183. package/assets/start/index.tsx +3 -12
  184. package/assets/step/index.tsx +3 -12
  185. package/assets/stop/index.tsx +3 -12
  186. package/assets/summarize/index.tsx +3 -12
  187. package/assets/survey/index.tsx +3 -12
  188. package/assets/target/index.tsx +3 -12
  189. package/assets/teams/index.tsx +3 -12
  190. package/assets/text-select/index.tsx +3 -12
  191. package/assets/thumb-down/index.tsx +3 -12
  192. package/assets/thumb-up/index.tsx +3 -12
  193. package/assets/timer/index.tsx +3 -12
  194. package/assets/translate/index.tsx +3 -12
  195. package/assets/trash/index.tsx +3 -12
  196. package/assets/tune/index.tsx +3 -12
  197. package/assets/twitter/index.tsx +3 -12
  198. package/assets/undo/index.tsx +3 -12
  199. package/assets/verification-badge/index.tsx +3 -12
  200. package/assets/view-list/index.tsx +3 -12
  201. package/assets/visibility/index.tsx +3 -12
  202. package/assets/visibility-off/index.tsx +3 -12
  203. package/assets/volume/index.tsx +3 -12
  204. package/assets/volume-up/index.tsx +3 -12
  205. package/assets/zoom-in/index.tsx +3 -12
  206. package/assets/zoom-out/index.tsx +3 -12
  207. package/index.tsx +13 -0
  208. package/lib/index.d.ts +225 -1856
  209. package/package.json +1 -1
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface TwitterProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconTwitter = forwardRef<SVGSVGElement, TwitterProps>(
5
+ export const IconTwitter = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface UndoProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconUndo = forwardRef<SVGSVGElement, UndoProps>(
5
+ export const IconUndo = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface VerificationBadgeProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconVerificationBadge = forwardRef<SVGSVGElement, VerificationBadgeProps>(
5
+ export const IconVerificationBadge = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface ViewListProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconViewList = forwardRef<SVGSVGElement, ViewListProps>(
5
+ export const IconViewList = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface VisibilityProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconVisibility = forwardRef<SVGSVGElement, VisibilityProps>(
5
+ export const IconVisibility = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface VisibilityOffProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconVisibilityOff = forwardRef<SVGSVGElement, VisibilityOffProps>(
5
+ export const IconVisibilityOff = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface VolumeProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconVolume = forwardRef<SVGSVGElement, VolumeProps>(
5
+ export const IconVolume = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface VolumeUpProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconVolumeUp = forwardRef<SVGSVGElement, VolumeUpProps>(
5
+ export const IconVolumeUp = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface ZoomInProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconZoomIn = forwardRef<SVGSVGElement, ZoomInProps>(
5
+ export const IconZoomIn = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
8
  return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
@@ -1,17 +1,8 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
3
- import { SVGProps } from 'react';
2
+ import { iconSizeMap } from '@liner-fe/design-token-primitive';
3
+ import { NewIconProps } from '../../index';
4
4
 
5
- interface ZoomOutProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
6
- fill?: boolean;
7
- thick?: boolean;
8
- className?: string;
9
- size?: keyof typeof iconSizeMap;
10
- type?: BasicColorType;
11
- fillType?: BasicColorType;
12
- }
13
-
14
- export const IconZoomOut = forwardRef<SVGSVGElement, ZoomOutProps>(
5
+ export const IconZoomOut = forwardRef<SVGSVGElement, NewIconProps>(
15
6
  ({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
16
7
  if (fill && thick) {
17
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
@@ -632,6 +632,19 @@ export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
632
632
  fillType?: BasicColorType;
633
633
  }
634
634
 
635
+ export interface NewIconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'name'> {
636
+ fill?: boolean;
637
+ thick?: boolean;
638
+ className?: string;
639
+ size?: keyof typeof iconSizeMap;
640
+ type?: BasicColorType;
641
+ fillType?: BasicColorType;
642
+ }
643
+
644
+ export type IconComponentType = React.ForwardRefExoticComponent<
645
+ Omit<NewIconProps, 'ref'> & React.RefAttributes<SVGSVGElement>
646
+ >;
647
+
635
648
  export const Icon = forwardRef<SVGSVGElement, IconProps>(({name, size = "m", ...props}, ref) => {
636
649
  const IconComponent = IconMap[name];
637
650