@liner-fe/icon 0.1.4 → 0.1.6

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