@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.
- package/CHANGELOG.md +12 -0
- package/assets/add-clock/index.tsx +3 -12
- package/assets/add-to-folder/index.tsx +3 -12
- package/assets/ai/index.tsx +3 -12
- package/assets/airplane/index.tsx +3 -12
- package/assets/android/index.tsx +3 -12
- package/assets/apple/index.tsx +3 -12
- package/assets/arrow-back/index.tsx +3 -12
- package/assets/arrow-backward/index.tsx +3 -12
- package/assets/arrow-down/index.tsx +3 -12
- package/assets/arrow-down-left/index.tsx +3 -12
- package/assets/arrow-downward/index.tsx +3 -12
- package/assets/arrow-drop-right/index.tsx +3 -12
- package/assets/arrow-forward/index.tsx +3 -12
- package/assets/arrow-left/index.tsx +3 -12
- package/assets/arrow-right/index.tsx +3 -12
- package/assets/arrow-turn/index.tsx +3 -12
- package/assets/arrow-up/index.tsx +3 -12
- package/assets/arrow-up-down/index.tsx +3 -12
- package/assets/arrow-up-left/index.tsx +3 -12
- package/assets/arrow-up-right/index.tsx +3 -12
- package/assets/arrow-upward/index.tsx +3 -12
- package/assets/at-sign/index.tsx +29 -0
- package/assets/bag/index.tsx +3 -12
- package/assets/balance/index.tsx +3 -12
- package/assets/bell/index.tsx +3 -12
- package/assets/block/index.tsx +3 -12
- package/assets/bolt/index.tsx +3 -12
- package/assets/book/index.tsx +3 -12
- package/assets/bookmark/index.tsx +3 -12
- package/assets/bookmark-cancel/index.tsx +3 -12
- package/assets/books/index.tsx +3 -12
- package/assets/brain/index.tsx +3 -12
- package/assets/bulb/index.tsx +3 -12
- package/assets/bulb-exclamtionmark/index.tsx +3 -12
- package/assets/camera/index.tsx +3 -12
- package/assets/car/index.tsx +3 -12
- package/assets/casual-shoe/index.tsx +3 -12
- package/assets/chart-bar/index.tsx +3 -12
- package/assets/chart-line-uptrend/index.tsx +3 -12
- package/assets/check-mark/index.tsx +3 -12
- package/assets/check-mark-fill/index.tsx +3 -12
- package/assets/check-mark-in-circle/index.tsx +3 -12
- package/assets/chrome/index.tsx +3 -12
- package/assets/clock/index.tsx +3 -12
- package/assets/close/index.tsx +3 -12
- package/assets/close-fill/index.tsx +3 -12
- package/assets/collection-add/index.tsx +3 -12
- package/assets/collections/index.tsx +3 -12
- package/assets/color-citation-recommender/index.tsx +3 -12
- package/assets/color-docx/index.tsx +3 -12
- package/assets/color-excel/index.tsx +3 -12
- package/assets/color-facebook/index.tsx +3 -12
- package/assets/color-fire/index.tsx +3 -12
- package/assets/color-google/index.tsx +3 -12
- package/assets/color-html/index.tsx +3 -12
- package/assets/color-hypothesis-generator/index.tsx +3 -12
- package/assets/color-liner/index.tsx +3 -12
- package/assets/color-liner-variation/index.tsx +3 -12
- package/assets/color-link/index.tsx +3 -12
- package/assets/color-literature-review/index.tsx +3 -12
- package/assets/color-pdf/index.tsx +3 -12
- package/assets/color-peer-review/index.tsx +3 -12
- package/assets/color-powerpoint/index.tsx +3 -12
- package/assets/color-research-tracer/index.tsx +3 -12
- package/assets/color-survey-simulator/index.tsx +3 -12
- package/assets/color-txt/index.tsx +3 -12
- package/assets/copy/index.tsx +3 -12
- package/assets/credit/index.tsx +3 -12
- package/assets/credit-add/index.tsx +3 -12
- package/assets/creditcard/index.tsx +3 -12
- package/assets/dark-mode/index.tsx +3 -12
- package/assets/description/index.tsx +3 -12
- package/assets/desktop/index.tsx +3 -12
- package/assets/desktop-on-cursor/index.tsx +3 -12
- package/assets/document/index.tsx +3 -12
- package/assets/document-add/index.tsx +3 -12
- package/assets/document-check/index.tsx +3 -12
- package/assets/document-warning/index.tsx +3 -12
- package/assets/double-arrow-backward/index.tsx +3 -12
- package/assets/double-arrow-forward/index.tsx +3 -12
- package/assets/download/index.tsx +3 -12
- package/assets/drop-down/index.tsx +3 -12
- package/assets/drop-up/index.tsx +3 -12
- package/assets/email/index.tsx +3 -12
- package/assets/end/index.tsx +3 -12
- package/assets/essay/index.tsx +3 -12
- package/assets/exclamationmark/index.tsx +3 -12
- package/assets/exclamationmark-fill/index.tsx +3 -12
- package/assets/expand/index.tsx +3 -12
- package/assets/expand-close/index.tsx +3 -12
- package/assets/extend/index.tsx +3 -12
- package/assets/facebook/index.tsx +3 -12
- package/assets/feedback/index.tsx +3 -12
- package/assets/filter/index.tsx +3 -12
- package/assets/fire/index.tsx +3 -12
- package/assets/flowchart/index.tsx +3 -12
- package/assets/focus/index.tsx +3 -12
- package/assets/folder/index.tsx +3 -12
- package/assets/folder-add/index.tsx +3 -12
- package/assets/folder-open/index.tsx +3 -12
- package/assets/folder-open-share/index.tsx +3 -12
- package/assets/folder-share/index.tsx +3 -12
- package/assets/formal-bag/index.tsx +3 -12
- package/assets/globe/index.tsx +3 -12
- package/assets/google/index.tsx +3 -12
- package/assets/google-export/index.tsx +3 -12
- package/assets/graduationcap/index.tsx +3 -12
- package/assets/help/index.tsx +3 -12
- package/assets/hide-all/index.tsx +3 -12
- package/assets/highlight-edit/index.tsx +3 -12
- package/assets/highlighter/index.tsx +3 -12
- package/assets/history/index.tsx +3 -12
- package/assets/home/index.tsx +3 -12
- package/assets/hourglass/index.tsx +3 -12
- package/assets/info/index.tsx +3 -12
- package/assets/light/index.tsx +3 -12
- package/assets/light-mode/index.tsx +3 -12
- package/assets/liner/index.tsx +3 -12
- package/assets/link/index.tsx +3 -12
- package/assets/list/index.tsx +3 -12
- package/assets/literature-review/index.tsx +3 -12
- package/assets/location/index.tsx +3 -12
- package/assets/lock/index.tsx +3 -12
- package/assets/m-new-tab/index.tsx +3 -12
- package/assets/magic-pencil/index.tsx +3 -12
- package/assets/magic-wand/index.tsx +3 -12
- package/assets/make-easy/index.tsx +3 -12
- package/assets/members/index.tsx +3 -12
- package/assets/memo/index.tsx +3 -12
- package/assets/menu/index.tsx +3 -12
- package/assets/microscope/index.tsx +3 -12
- package/assets/mindmap/index.tsx +3 -12
- package/assets/minus/index.tsx +3 -12
- package/assets/mobile/index.tsx +3 -12
- package/assets/more/index.tsx +3 -12
- package/assets/more-horizontal/index.tsx +3 -12
- package/assets/more-vertical/index.tsx +3 -12
- package/assets/move/index.tsx +3 -12
- package/assets/move-to-folder/index.tsx +3 -12
- package/assets/new-chrome-extension/index.tsx +3 -12
- package/assets/new-tab/index.tsx +3 -12
- package/assets/new-thread/index.tsx +3 -12
- package/assets/new-thread-folder/index.tsx +3 -12
- package/assets/palette/index.tsx +3 -12
- package/assets/paperclip/index.tsx +3 -12
- package/assets/paragraph/index.tsx +3 -12
- package/assets/paraphrase/index.tsx +3 -12
- package/assets/pencil/index.tsx +3 -12
- package/assets/person/index.tsx +3 -12
- package/assets/person-add/index.tsx +3 -12
- package/assets/person-fill/index.tsx +3 -12
- package/assets/photo/index.tsx +3 -12
- package/assets/play-button/index.tsx +3 -12
- package/assets/plus/index.tsx +3 -12
- package/assets/power/index.tsx +3 -12
- package/assets/question-box/index.tsx +3 -12
- package/assets/question-message/index.tsx +3 -12
- package/assets/quote/index.tsx +3 -12
- package/assets/redo/index.tsx +3 -12
- package/assets/regenerate/index.tsx +3 -12
- package/assets/remove-from-folder/index.tsx +3 -12
- package/assets/report/index.tsx +3 -12
- package/assets/restaurant/index.tsx +3 -12
- package/assets/retry/index.tsx +3 -12
- package/assets/rocket/index.tsx +3 -12
- package/assets/search/index.tsx +3 -12
- package/assets/secret-mode/index.tsx +3 -12
- package/assets/send/index.tsx +3 -12
- package/assets/setting/index.tsx +3 -12
- package/assets/share/index.tsx +3 -12
- package/assets/sheet-export/index.tsx +3 -12
- package/assets/shield/index.tsx +3 -12
- package/assets/shield-person/index.tsx +3 -12
- package/assets/shield-usage/index.tsx +3 -12
- package/assets/shorten/index.tsx +3 -12
- package/assets/show-all/index.tsx +3 -12
- package/assets/sign-out/index.tsx +3 -12
- package/assets/source/index.tsx +3 -12
- package/assets/speaker/index.tsx +3 -12
- package/assets/spinner/index.tsx +3 -12
- package/assets/stack/index.tsx +3 -12
- package/assets/star/index.tsx +3 -12
- package/assets/start/index.tsx +3 -12
- package/assets/step/index.tsx +3 -12
- package/assets/stop/index.tsx +3 -12
- package/assets/summarize/index.tsx +3 -12
- package/assets/survey/index.tsx +3 -12
- package/assets/target/index.tsx +3 -12
- package/assets/teams/index.tsx +3 -12
- package/assets/text-select/index.tsx +3 -12
- package/assets/thumb-down/index.tsx +3 -12
- package/assets/thumb-up/index.tsx +3 -12
- package/assets/timer/index.tsx +3 -12
- package/assets/translate/index.tsx +3 -12
- package/assets/trash/index.tsx +3 -12
- package/assets/tune/index.tsx +3 -12
- package/assets/twitter/index.tsx +3 -12
- package/assets/undo/index.tsx +3 -12
- package/assets/verification-badge/index.tsx +3 -12
- package/assets/view-list/index.tsx +3 -12
- package/assets/visibility/index.tsx +3 -12
- package/assets/visibility-off/index.tsx +3 -12
- package/assets/volume/index.tsx +3 -12
- package/assets/volume-up/index.tsx +3 -12
- package/assets/zoom-in/index.tsx +3 -12
- package/assets/zoom-out/index.tsx +3 -12
- package/index.tsx +19 -3
- package/lib/index.d.ts +228 -1857
- package/lib/index.js +31 -12
- package/package.json +1 -1
package/assets/trash/index.tsx
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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}>
|
package/assets/tune/index.tsx
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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}>
|
package/assets/twitter/index.tsx
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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}>
|
package/assets/undo/index.tsx
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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}>
|
package/assets/volume/index.tsx
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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}>
|
package/assets/zoom-in/index.tsx
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
2
|
+
import { iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
|
+
import { NewIconProps } from '../../index';
|
|
4
4
|
|
|
5
|
-
|
|
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
|
|