@liner-fe/icon 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/assets/add-clock/index.tsx +7 -7
- package/assets/add-to-folder/index.tsx +7 -7
- package/assets/ai/index.tsx +7 -7
- package/assets/airplane/index.tsx +7 -7
- package/assets/android/index.tsx +7 -7
- package/assets/apple/index.tsx +7 -7
- package/assets/arrow-back/index.tsx +7 -7
- package/assets/arrow-backward/index.tsx +7 -7
- package/assets/arrow-down/index.tsx +7 -7
- package/assets/arrow-down-left/index.tsx +7 -7
- package/assets/arrow-downward/index.tsx +7 -7
- package/assets/arrow-drop-right/index.tsx +7 -7
- package/assets/arrow-forward/index.tsx +7 -7
- package/assets/arrow-left/index.tsx +7 -7
- package/assets/arrow-right/index.tsx +7 -7
- package/assets/arrow-turn/index.tsx +7 -7
- package/assets/arrow-up/index.tsx +7 -7
- package/assets/arrow-up-down/index.tsx +7 -7
- package/assets/arrow-up-left/index.tsx +7 -7
- package/assets/arrow-up-right/index.tsx +7 -7
- package/assets/arrow-upward/index.tsx +7 -7
- package/assets/bag/index.tsx +7 -7
- package/assets/balance/index.tsx +7 -7
- package/assets/bell/index.tsx +7 -7
- package/assets/block/index.tsx +7 -7
- package/assets/bolt/index.tsx +7 -7
- package/assets/book/index.tsx +7 -7
- package/assets/bookmark/index.tsx +7 -7
- package/assets/bookmark-cancel/index.tsx +7 -7
- package/assets/books/index.tsx +7 -7
- package/assets/brain/index.tsx +7 -7
- package/assets/bulb/index.tsx +7 -7
- package/assets/bulb-exclamtionmark/index.tsx +7 -7
- package/assets/camera/index.tsx +7 -7
- package/assets/car/index.tsx +7 -7
- package/assets/casual-shoe/index.tsx +7 -7
- package/assets/chart-bar/index.tsx +7 -7
- package/assets/chart-line-uptrend/index.tsx +7 -7
- package/assets/check-mark/index.tsx +7 -7
- package/assets/check-mark-fill/index.tsx +7 -7
- package/assets/check-mark-in-circle/index.tsx +7 -7
- package/assets/chrome/index.tsx +7 -7
- package/assets/clock/index.tsx +7 -7
- package/assets/close/index.tsx +7 -7
- package/assets/close-fill/index.tsx +7 -7
- package/assets/collection-add/index.tsx +7 -7
- package/assets/collections/index.tsx +7 -7
- package/assets/color-docx/index.tsx +7 -7
- package/assets/color-excel/index.tsx +7 -7
- package/assets/color-facebook/index.tsx +7 -7
- package/assets/color-fire/index.tsx +7 -7
- package/assets/color-google/index.tsx +7 -7
- package/assets/color-html/index.tsx +7 -7
- package/assets/color-liner/index.tsx +7 -7
- package/assets/color-liner-variation/index.tsx +7 -7
- package/assets/color-link/index.tsx +7 -7
- package/assets/color-pdf/index.tsx +7 -7
- package/assets/color-powerpoint/index.tsx +7 -7
- package/assets/color-txt/index.tsx +7 -7
- package/assets/copy/index.tsx +7 -7
- package/assets/credit/index.tsx +7 -7
- package/assets/credit-add/index.tsx +7 -7
- package/assets/creditcard/index.tsx +7 -7
- package/assets/dark-mode/index.tsx +7 -7
- package/assets/description/index.tsx +7 -7
- package/assets/desktop/index.tsx +7 -7
- package/assets/desktop-on-cursor/index.tsx +7 -7
- package/assets/document/index.tsx +7 -7
- package/assets/document-add/index.tsx +7 -7
- package/assets/document-check/index.tsx +7 -7
- package/assets/document-warning/index.tsx +7 -7
- package/assets/double-arrow-backward/index.tsx +7 -7
- package/assets/double-arrow-forward/index.tsx +7 -7
- package/assets/download/index.tsx +7 -7
- package/assets/drop-down/index.tsx +7 -7
- package/assets/drop-up/index.tsx +7 -7
- package/assets/email/index.tsx +7 -7
- package/assets/end/index.tsx +7 -7
- package/assets/essay/index.tsx +7 -7
- package/assets/exclamationmark/index.tsx +7 -7
- package/assets/exclamationmark-fill/index.tsx +7 -7
- package/assets/expand/index.tsx +7 -7
- package/assets/expand-close/index.tsx +7 -7
- package/assets/extend/index.tsx +7 -7
- package/assets/facebook/index.tsx +7 -7
- package/assets/feedback/index.tsx +7 -7
- package/assets/filter/index.tsx +7 -7
- package/assets/fire/index.tsx +7 -7
- package/assets/flowchart/index.tsx +7 -7
- package/assets/focus/index.tsx +7 -7
- package/assets/folder/index.tsx +7 -7
- package/assets/folder-add/index.tsx +7 -7
- package/assets/folder-open/index.tsx +7 -7
- package/assets/folder-open-share/index.tsx +7 -7
- package/assets/folder-share/index.tsx +7 -7
- package/assets/formal-bag/index.tsx +7 -7
- package/assets/globe/index.tsx +7 -7
- package/assets/google/index.tsx +7 -7
- package/assets/google-export/index.tsx +7 -7
- package/assets/graduationcap/index.tsx +7 -7
- package/assets/help/index.tsx +7 -7
- package/assets/hide-all/index.tsx +7 -7
- package/assets/highlight-edit/index.tsx +7 -7
- package/assets/highlighter/index.tsx +7 -7
- package/assets/history/index.tsx +7 -7
- package/assets/home/index.tsx +7 -7
- package/assets/hourglass/index.tsx +7 -7
- package/assets/info/index.tsx +7 -7
- package/assets/light/index.tsx +7 -7
- package/assets/light-mode/index.tsx +7 -7
- package/assets/liner/index.tsx +7 -7
- package/assets/link/index.tsx +7 -7
- package/assets/list/index.tsx +7 -7
- package/assets/literature-review/index.tsx +7 -7
- package/assets/location/index.tsx +7 -7
- package/assets/lock/index.tsx +7 -7
- package/assets/m-new-tab/index.tsx +7 -7
- package/assets/magic-pencil/index.tsx +7 -7
- package/assets/magic-wand/index.tsx +7 -7
- package/assets/make-easy/index.tsx +7 -7
- package/assets/members/index.tsx +7 -7
- package/assets/memo/index.tsx +7 -7
- package/assets/menu/index.tsx +7 -7
- package/assets/microscope/index.tsx +7 -7
- package/assets/mindmap/index.tsx +7 -7
- package/assets/minus/index.tsx +7 -7
- package/assets/mobile/index.tsx +7 -7
- package/assets/more/index.tsx +7 -7
- package/assets/more-horizontal/index.tsx +7 -7
- package/assets/more-vertical/index.tsx +7 -7
- package/assets/move/index.tsx +7 -7
- package/assets/move-to-folder/index.tsx +7 -7
- package/assets/new-chrome-extension/index.tsx +7 -7
- package/assets/new-tab/index.tsx +7 -7
- package/assets/new-thread/index.tsx +7 -7
- package/assets/new-thread-folder/index.tsx +7 -7
- package/assets/palette/index.tsx +7 -7
- package/assets/paperclip/index.tsx +7 -7
- package/assets/paragraph/index.tsx +7 -7
- package/assets/paraphrase/index.tsx +7 -7
- package/assets/pencil/index.tsx +7 -7
- package/assets/person/index.tsx +7 -7
- package/assets/person-add/index.tsx +7 -7
- package/assets/person-fill/index.tsx +7 -7
- package/assets/photo/index.tsx +7 -7
- package/assets/play-button/index.tsx +7 -7
- package/assets/plus/index.tsx +7 -7
- package/assets/power/index.tsx +7 -7
- package/assets/question-box/index.tsx +7 -7
- package/assets/question-message/index.tsx +7 -7
- package/assets/quote/index.tsx +7 -7
- package/assets/redo/index.tsx +7 -7
- package/assets/regenerate/index.tsx +7 -7
- package/assets/remove-from-folder/index.tsx +7 -7
- package/assets/report/index.tsx +7 -7
- package/assets/restaurant/index.tsx +7 -7
- package/assets/retry/index.tsx +7 -7
- package/assets/rocket/index.tsx +7 -7
- package/assets/search/index.tsx +7 -7
- package/assets/secret-mode/index.tsx +7 -7
- package/assets/send/index.tsx +7 -7
- package/assets/setting/index.tsx +7 -7
- package/assets/share/index.tsx +7 -7
- package/assets/sheet-export/index.tsx +7 -7
- package/assets/shield/index.tsx +7 -7
- package/assets/shield-person/index.tsx +7 -7
- package/assets/shield-usage/index.tsx +7 -7
- package/assets/shorten/index.tsx +7 -7
- package/assets/show-all/index.tsx +7 -7
- package/assets/sign-out/index.tsx +7 -7
- package/assets/source/index.tsx +7 -7
- package/assets/speaker/index.tsx +7 -7
- package/assets/spinner/index.tsx +7 -7
- package/assets/stack/index.tsx +7 -7
- package/assets/star/index.tsx +7 -7
- package/assets/start/index.tsx +7 -7
- package/assets/step/index.tsx +7 -7
- package/assets/stop/index.tsx +7 -7
- package/assets/summarize/index.tsx +7 -7
- package/assets/survey/index.tsx +7 -7
- package/assets/target/index.tsx +7 -7
- package/assets/teams/index.tsx +7 -7
- package/assets/text-select/index.tsx +7 -7
- package/assets/thumb-down/index.tsx +7 -7
- package/assets/thumb-up/index.tsx +7 -7
- package/assets/timer/index.tsx +7 -7
- package/assets/translate/index.tsx +7 -7
- package/assets/trash/index.tsx +7 -7
- package/assets/tune/index.tsx +7 -7
- package/assets/twitter/index.tsx +7 -7
- package/assets/undo/index.tsx +7 -7
- package/assets/verification-badge/index.tsx +7 -7
- package/assets/view-list/index.tsx +7 -7
- package/assets/visibility/index.tsx +7 -7
- package/assets/visibility-off/index.tsx +7 -7
- package/assets/volume/index.tsx +7 -7
- package/assets/volume-up/index.tsx +7 -7
- package/assets/zoom-in/index.tsx +7 -7
- package/assets/zoom-out/index.tsx +7 -7
- package/index.tsx +2 -10
- package/lib/index.d.ts +200 -207
- package/lib/index.js +1195 -1003
- package/package.json +1 -1
package/assets/help/index.tsx
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HelpProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHelp = forwardRef<SVGSVGElement, HelpProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44ZM17.892 18.0469C18.4056 16.7441 19.2399 15.7037 20.3878 14.9516C21.5349 14.2002 22.8486 13.834 24.3002 13.834C25.9821 13.834 27.419 14.312 28.5231 15.3389C29.6341 16.3722 30.1672 17.7399 30.1672 19.354C30.1672 20.2797 29.966 21.1469 29.5543 21.9408C29.1408 22.7382 28.469 23.5012 27.5931 24.2379L27.5874 24.2427C26.707 24.9696 26.3348 25.4978 26.2366 25.8235C26.0904 26.3084 26.0124 26.8602 26.0124 27.4856V28.319H21.9887V27.4856C21.9887 26.2786 22.1949 25.2197 22.6764 24.3707C23.1224 23.5842 23.7856 22.8257 24.6325 22.0898L24.6422 22.0814C25.2693 21.5531 25.7141 21.0699 26.0032 20.6351C26.2647 20.2418 26.3832 19.8467 26.3832 19.4341C26.3832 18.8884 26.1986 18.4852 25.8259 18.156C25.4497 17.8237 24.9279 17.6237 24.1803 17.6237C23.5331 17.6237 23.0132 17.7885 22.5837 18.0919C22.1464 18.4008 21.8013 18.843 21.5605 19.4577L21.26 20.2246L17.582 18.833L17.892 18.0469ZM22.5519 31.1416C23.0059 30.6863 23.5798 30.4561 24.2206 30.4561C24.8613 30.4561 25.4352 30.6863 25.8893 31.1416C26.3432 31.5967 26.572 32.1711 26.572 32.8116C26.572 33.452 26.3432 34.0264 25.8893 34.4816C25.4352 34.9368 24.8613 35.1671 24.2206 35.1671C23.5798 35.1671 23.0059 34.9368 22.5519 34.4816C22.0979 34.0264 21.8691 33.452 21.8691 32.8116C21.8691 32.1711 22.0979 31.5967 22.5519 31.1416Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
</svg>
|
|
20
20
|
;
|
|
21
21
|
} else if (fill) {
|
|
22
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
22
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
23
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44ZM20.6621 15.3699C21.7202 14.6768 22.9368 14.334 24.3004 14.334C25.8841 14.334 27.1899 14.7816 28.1829 15.7051C29.1785 16.6311 29.6675 17.8591 29.6675 19.354C29.6675 20.205 29.4831 20.9925 29.1107 21.7106C28.7375 22.4302 28.1173 23.1439 27.2715 23.8552L27.2692 23.8571C26.3738 24.5965 25.9013 25.2043 25.7582 25.6791C25.5958 26.2176 25.5127 26.8189 25.5127 27.4856V27.819H22.4889V27.4856C22.4889 26.3298 22.6873 25.3655 23.1116 24.6173C23.5217 23.8942 24.1425 23.1782 24.9607 22.4672L24.9646 22.4638C25.6149 21.9161 26.0965 21.3983 26.4199 20.9119C26.7322 20.4422 26.8835 19.9517 26.8835 19.4341C26.8835 18.7512 26.6418 18.2093 26.1572 17.7812C25.6711 17.3519 25.023 17.1237 24.1806 17.1237C23.4423 17.1237 22.8188 17.3138 22.2955 17.6835C21.769 18.0554 21.3673 18.5808 21.0952 19.2753L20.975 19.5821L18.2334 18.5447L18.3574 18.2303C18.8345 17.0202 19.6037 16.0633 20.6621 15.3699ZM22.9059 30.4949C23.2632 30.1365 23.7085 29.9563 24.2205 29.9563C24.7325 29.9563 25.1778 30.1365 25.5352 30.4949C25.8925 30.8532 26.072 31.2992 26.072 31.8118C26.072 32.3244 25.8925 32.7704 25.5352 33.1287C25.1778 33.4871 24.7325 33.6673 24.2205 33.6673C23.7085 33.6673 23.2632 33.4871 22.9059 33.1287C22.5485 32.7704 22.3691 32.3244 22.3691 31.8118C22.3691 31.2992 22.5485 30.8532 22.9059 30.4949Z" style={{ fill: `var(--${type})` }}/>
|
|
24
24
|
</svg>
|
|
25
25
|
;
|
|
26
26
|
} else if (thick) {
|
|
27
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
27
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
28
28
|
<path d="M17.6588 17.7129C18.1725 16.4101 19.0067 15.3697 20.1547 14.6177C21.3017 13.8662 22.6155 13.5 24.067 13.5C25.749 13.5 27.1858 13.9781 28.29 15.0049C29.4009 16.0382 29.9341 17.406 29.9341 19.02C29.9341 19.9457 29.7329 20.813 29.3211 21.6068C28.9076 22.4042 28.2359 23.1672 27.3599 23.9039L27.3542 23.9087C26.4739 24.6356 26.1017 25.1638 26.0035 25.4895C25.8572 25.9745 25.7793 26.5263 25.7793 27.1516V27.985H21.7555V27.1516C21.7555 25.9446 21.9618 24.8857 22.4433 24.0367C22.8893 23.2502 23.5524 22.4918 24.3993 21.7558L24.409 21.7474C25.0362 21.2191 25.481 20.7359 25.7701 20.3011C26.0316 19.9079 26.15 19.5127 26.15 19.1001C26.15 18.5544 25.9654 18.1512 25.5927 17.822C25.2165 17.4897 24.6948 17.2897 23.9472 17.2897C23.3 17.2897 22.7801 17.4545 22.3506 17.7579C21.9132 18.0668 21.5682 18.509 21.3273 19.1237L21.0269 19.8906L17.3489 18.499L17.6588 17.7129Z" style={{ fill: `var(--${type})` }}/>
|
|
29
29
|
<path d="M22.3184 29.8078C22.7725 29.3526 23.3464 29.1223 23.9871 29.1223C24.6279 29.1223 25.2018 29.3526 25.6558 29.8078C26.1097 30.263 26.3386 30.8373 26.3386 31.4778C26.3386 32.1183 26.1097 32.6927 25.6558 33.1478C25.2018 33.6031 24.6279 33.8333 23.9871 33.8333C23.3464 33.8333 22.7725 33.6031 22.3184 33.1478C21.8645 32.6927 21.6357 32.1183 21.6357 31.4778C21.6357 30.8373 21.8645 30.263 22.3184 29.8078Z" style={{ fill: `var(--${type})` }}/>
|
|
30
30
|
<path fillRule="evenodd" clipRule="evenodd" d="M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM40 24C40 32.8366 32.8366 40 24 40C15.1634 40 8 32.8366 8 24C8 15.1634 15.1634 8 24 8C32.8366 8 40 15.1634 40 24Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -32,7 +32,7 @@ export const IconHelp = forwardRef<SVGSVGElement, HelpProps>(
|
|
|
32
32
|
;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
35
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
36
|
<path d="M24.0671 13.8105C22.6701 13.8105 21.4166 14.1622 20.3247 14.8775C19.2322 15.5932 18.4383 16.5819 17.9473 17.8272L17.7527 18.3208L20.8501 19.4928L21.0388 19.0112C21.2991 18.347 21.6792 17.8532 22.1718 17.5052C22.6595 17.1607 23.2436 16.9802 23.9473 16.9802C24.7537 16.9802 25.3538 17.1978 25.7981 17.5902C26.2402 17.9807 26.4602 18.4699 26.4602 19.1007C26.4602 19.5783 26.3214 20.0326 26.0283 20.4733C25.718 20.9401 25.2504 21.4447 24.6089 21.9851L24.6028 21.9904C23.7737 22.7108 23.1368 23.4429 22.713 24.1902C22.267 24.9767 22.0657 25.9769 22.0657 27.1522V27.6755H25.4694V27.1522C25.4694 26.5012 25.5505 25.9187 25.7068 25.4006C25.8329 24.9824 26.2673 24.4048 27.1569 23.6702L27.1605 23.6672C28.0178 22.9463 28.6576 22.2138 29.0461 21.4647C29.4334 20.7178 29.6242 19.9 29.6242 19.0206C29.6242 17.4804 29.1185 16.1992 28.079 15.2325C27.0438 14.2697 25.6882 13.8105 24.0671 13.8105Z" style={{ fill: `var(--${type})` }}/>
|
|
37
37
|
<path d="M23.9872 29.4329C23.4263 29.4329 22.9321 29.6321 22.538 30.0273C22.144 30.4224 21.9458 30.9172 21.9458 31.4784C21.9458 32.0396 22.144 32.5344 22.538 32.9295C22.9321 33.3246 23.4263 33.5239 23.9872 33.5239C24.5482 33.5239 25.0423 33.3246 25.4364 32.9295C25.8305 32.5344 26.0287 32.0396 26.0287 31.4784C26.0287 30.9172 25.8305 30.4224 25.4364 30.0273C25.0423 29.6321 24.5482 29.4329 23.9872 29.4329Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44ZM24 41C33.3888 41 41 33.3888 41 24C41 14.6112 33.3888 7 24 7C14.6112 7 7 14.6112 7 24C7 33.3888 14.6112 41 24 41Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HideAllProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHideAll = forwardRef<SVGSVGElement, HideAllProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M6 17L15 17C16.1046 17 17 16.1046 17 15L17 6L14 6L14 14L6 14V17Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path d="M42 31L33 31C31.8954 31 31 31.8954 31 33L31 42L34 42L34 34L42 34V31Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
<path d="M17 33L17 42H14V34H6L6 31H15C16.1046 31 17 31.8954 17 33Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -22,7 +22,7 @@ export const IconHideAll = forwardRef<SVGSVGElement, HideAllProps>(
|
|
|
22
22
|
</svg>
|
|
23
23
|
;
|
|
24
24
|
} else if (fill) {
|
|
25
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
25
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
26
26
|
<path d="M6 17L15 17C16.1046 17 17 16.1046 17 15L17 6L14 6L14 14L6 14V17Z" style={{ fill: `var(--${type})` }}/>
|
|
27
27
|
<path d="M42 31L33 31C31.8954 31 31 31.8954 31 33L31 42L34 42L34 34L42 34V31Z" style={{ fill: `var(--${type})` }}/>
|
|
28
28
|
<path d="M17 33L17 42H14V34H6L6 31H15C16.1046 31 17 31.8954 17 33Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -30,7 +30,7 @@ export const IconHideAll = forwardRef<SVGSVGElement, HideAllProps>(
|
|
|
30
30
|
</svg>
|
|
31
31
|
;
|
|
32
32
|
} else if (thick) {
|
|
33
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
33
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
34
34
|
<path d="M17 6L17 15C17 16.1046 16.1046 17 15 17L6 17L6 13H13V6H17Z" style={{ fill: `var(--${type})` }}/>
|
|
35
35
|
<path d="M31 6L31 15C31 16.1046 31.8954 17 33 17L42 17V13H35V6H31Z" style={{ fill: `var(--${type})` }}/>
|
|
36
36
|
<path d="M33 31L42 31V35H35V42H31V33C31 31.8954 31.8954 31 33 31Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -39,7 +39,7 @@ export const IconHideAll = forwardRef<SVGSVGElement, HideAllProps>(
|
|
|
39
39
|
;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
42
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
43
43
|
<path d="M6 17L15 17C16.1046 17 17 16.1046 17 15L17 6L14 6L14 14L6 14V17Z" style={{ fill: `var(--${type})` }}/>
|
|
44
44
|
<path d="M42 31L33 31C31.8954 31 31 31.8954 31 33L31 42L34 42L34 34L42 34V31Z" style={{ fill: `var(--${type})` }}/>
|
|
45
45
|
<path d="M17 33L17 42H14V34H6L6 31H15C16.1046 31 17 31.8954 17 33Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HighlightEditProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHighlightEdit = forwardRef<SVGSVGElement, HighlightEditProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path fillRule="evenodd" clipRule="evenodd" d="M42.1894 2.56693C40.9801 1.35761 39.0193 1.35794 37.8103 2.56767L20.9541 19.4232C20.6098 19.7674 20.3515 20.1881 20.2003 20.6509L18.5944 25.5653C17.8147 27.9514 20.0496 30.2246 22.4486 29.4856L27.4483 27.9455C27.9304 27.7969 28.369 27.5328 28.7257 27.1761L45.5741 10.3285C46.7824 9.11931 46.7821 7.15965 45.5734 5.95091L42.1894 2.56693ZM23.0752 21.5447L35.6202 9.00243L39.1397 12.5222L26.6046 25.0546C26.5936 25.0656 26.58 25.0738 26.5651 25.0784L21.5654 26.6186C21.5466 26.6244 21.5351 26.6252 21.5298 26.6252C21.5266 26.6253 21.5237 26.6251 21.5209 26.6247C21.5188 26.6243 21.5167 26.6239 21.5147 26.6233C21.504 26.6204 21.4864 26.6121 21.4688 26.5942C21.4512 26.5762 21.4431 26.5585 21.4404 26.5478C21.4398 26.5453 21.4393 26.5429 21.439 26.5404C21.4388 26.5379 21.4387 26.5354 21.4387 26.5326C21.4389 26.5273 21.4399 26.5159 21.446 26.4971L23.0519 21.5828C23.0566 21.5684 23.0646 21.5554 23.0752 21.5447ZM43.4521 8.20786L41.2608 10.4007L37.7413 6.88087L39.9324 4.68827C39.9698 4.65079 40.0306 4.65078 40.0681 4.68825L43.452 8.07223C43.4895 8.10968 43.4895 8.1704 43.4521 8.20786Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path d="M8.5 8.99872C8.5 8.72258 8.72386 8.49872 9 8.49872H24.5V5.49872H9C7.067 5.49872 5.5 7.06572 5.5 8.99872V38.9987C5.5 40.9317 7.067 42.4987 9 42.4987H39C40.933 42.4987 42.5 40.9317 42.5 38.9987V23.9987H39.5V38.9987C39.5 39.2749 39.2761 39.4987 39 39.4987H9C8.72386 39.4987 8.5 39.2749 8.5 38.9987V8.99872Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
</svg>
|
|
21
21
|
;
|
|
22
22
|
} else if (fill) {
|
|
23
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
24
|
<path fillRule="evenodd" clipRule="evenodd" d="M42.1894 2.56693C40.9801 1.35761 39.0193 1.35794 37.8103 2.56767L20.9541 19.4232C20.6098 19.7674 20.3515 20.1881 20.2003 20.6509L18.5944 25.5653C17.8147 27.9514 20.0496 30.2246 22.4486 29.4856L27.4483 27.9455C27.9304 27.7969 28.369 27.5328 28.7257 27.1761L45.5741 10.3285C46.7824 9.11931 46.7821 7.15965 45.5734 5.95091L42.1894 2.56693ZM23.0752 21.5447L35.6202 9.00243L39.1397 12.5222L26.6046 25.0546C26.5936 25.0656 26.58 25.0738 26.5651 25.0784L21.5654 26.6186C21.5466 26.6244 21.5351 26.6252 21.5298 26.6252C21.5266 26.6253 21.5237 26.6251 21.5209 26.6247C21.5188 26.6243 21.5167 26.6239 21.5147 26.6233C21.504 26.6204 21.4864 26.6121 21.4688 26.5942C21.4512 26.5762 21.4431 26.5585 21.4404 26.5478C21.4398 26.5453 21.4393 26.5429 21.439 26.5404C21.4388 26.5379 21.4387 26.5354 21.4387 26.5326C21.4389 26.5273 21.4399 26.5159 21.446 26.4971L23.0519 21.5828C23.0566 21.5684 23.0646 21.5554 23.0752 21.5447ZM43.4521 8.20786L41.2608 10.4007L37.7413 6.88087L39.9324 4.68827C39.9698 4.65079 40.0306 4.65078 40.0681 4.68825L43.452 8.07223C43.4895 8.10968 43.4895 8.1704 43.4521 8.20786Z" style={{ fill: `var(--${type})` }}/>
|
|
25
25
|
<path d="M8.5 8.99872C8.5 8.72258 8.72386 8.49872 9 8.49872H24.5V5.49872H9C7.067 5.49872 5.5 7.06572 5.5 8.99872V38.9987C5.5 40.9317 7.067 42.4987 9 42.4987H39C40.933 42.4987 42.5 40.9317 42.5 38.9987V23.9987H39.5V38.9987C39.5 39.2749 39.2761 39.4987 39 39.4987H9C8.72386 39.4987 8.5 39.2749 8.5 38.9987V8.99872Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
</svg>
|
|
27
27
|
;
|
|
28
28
|
} else if (thick) {
|
|
29
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
29
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
30
|
<path fillRule="evenodd" clipRule="evenodd" d="M42.5429 2.21338C41.1383 0.808745 38.8608 0.809132 37.4567 2.21424L20.6006 19.0696C20.2007 19.4694 19.9007 19.958 19.725 20.4956L18.1191 25.41C17.2135 28.1814 19.8094 30.8218 22.5958 29.9635L27.5955 28.4233C28.1555 28.2508 28.6648 27.944 29.0792 27.5297L45.9278 10.6819C47.3313 9.27746 47.3309 7.00131 45.9269 5.59735L42.5429 2.21338ZM23.4971 21.83L35.6201 9.70952L38.4326 12.5222L26.322 24.6301L22.1635 25.9112L23.4971 21.83ZM42.8129 8.14015L41.2607 9.69341L38.4482 6.88076L40.0003 5.32763L42.8129 8.14015Z" style={{ fill: `var(--${type})` }}/>
|
|
31
31
|
<path d="M9 4.99872C6.79086 4.99872 5 6.78958 5 8.99872V38.9987C5 41.2079 6.79086 42.9987 9 42.9987H39C41.2091 42.9987 43 41.2079 43 38.9987V23.9987H39V38.9987H9V8.99872H24.5V4.99872H9Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
</svg>
|
|
33
33
|
;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
37
37
|
<path fillRule="evenodd" clipRule="evenodd" d="M42.1894 2.56693C40.9801 1.35761 39.0193 1.35794 37.8103 2.56767L20.9541 19.4232C20.6098 19.7674 20.3515 20.1881 20.2003 20.6509L18.5944 25.5653C17.8147 27.9514 20.0496 30.2246 22.4486 29.4856L27.4483 27.9455C27.9304 27.7969 28.369 27.5328 28.7257 27.1761L45.5741 10.3285C46.7824 9.11931 46.7821 7.15965 45.5734 5.95091L42.1894 2.56693ZM23.0752 21.5447L35.6202 9.00243L39.1397 12.5222L26.6046 25.0546C26.5936 25.0656 26.58 25.0738 26.5651 25.0784L21.5654 26.6186C21.5466 26.6244 21.5351 26.6252 21.5298 26.6252C21.5266 26.6253 21.5237 26.6251 21.5209 26.6247C21.5188 26.6243 21.5167 26.6239 21.5147 26.6233C21.504 26.6204 21.4864 26.6121 21.4688 26.5942C21.4512 26.5762 21.4431 26.5585 21.4404 26.5478C21.4398 26.5453 21.4393 26.5429 21.439 26.5404C21.4388 26.5379 21.4387 26.5354 21.4387 26.5326C21.4389 26.5273 21.4399 26.5159 21.446 26.4971L23.0519 21.5828C23.0566 21.5684 23.0646 21.5554 23.0752 21.5447ZM43.4521 8.20786L41.2608 10.4007L37.7413 6.88087L39.9324 4.68827C39.9698 4.65079 40.0306 4.65078 40.0681 4.68825L43.452 8.07223C43.4895 8.10968 43.4895 8.1704 43.4521 8.20786Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path d="M8.5 8.99872C8.5 8.72258 8.72386 8.49872 9 8.49872H24.5V5.49872H9C7.067 5.49872 5.5 7.06572 5.5 8.99872V38.9987C5.5 40.9317 7.067 42.4987 9 42.4987H39C40.933 42.4987 42.5 40.9317 42.5 38.9987V23.9987H39.5V38.9987C39.5 39.2749 39.2761 39.4987 39 39.4987H9C8.72386 39.4987 8.5 39.2749 8.5 38.9987V8.99872Z" style={{ fill: `var(--${type})` }}/>
|
|
39
39
|
</svg>
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HighlighterProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHighlighter = forwardRef<SVGSVGElement, HighlighterProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path fillRule="evenodd" clipRule="evenodd" d="M31.7208 7.43684C33.1324 6.02408 35.4221 6.02359 36.8343 7.43577L42.2001 12.8016C43.6115 14.213 43.612 16.501 42.2012 17.913L22.3681 37.745C21.8693 38.2436 21.2355 38.5855 20.5449 38.7284L16.9033 39.4821C16.2209 39.6234 15.524 39.5625 14.8913 39.3232L13.5268 40.6469C13.1319 41.0299 12.6033 41.2441 12.0531 41.2438L6.55128 41.241C5.6094 41.2405 5.13803 40.1017 5.80404 39.4357L10.3381 34.9017C10.0122 34.1905 9.92077 33.3814 10.0989 32.5959L10.9059 29.038C11.0568 28.3725 11.3929 27.7634 11.8755 27.281L31.7208 7.43684ZM29.0541 14.349L16.438 26.9618L22.6736 33.1974L35.2895 20.5849L29.0541 14.349ZM13.9965 29.4026L14.3164 29.0828L20.552 35.3184L20.247 35.6234C20.1622 35.7082 20.0543 35.7664 19.9368 35.7907L16.2953 36.5444C16.0925 36.5863 15.8822 36.5234 15.7357 36.377L13.1895 33.8304C13.0401 33.681 12.9779 33.4655 13.0246 33.2595L13.8316 29.7015C13.8572 29.5883 13.9144 29.4847 13.9965 29.4026ZM37.4106 18.4632L40.079 15.7925C40.319 15.5523 40.3189 15.1631 40.0788 14.923L34.7129 9.55709C34.4727 9.31684 34.0832 9.31692 33.843 9.55727L31.1751 12.2274L37.4106 18.4632Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
</svg>
|
|
20
20
|
;
|
|
21
21
|
} else if (fill) {
|
|
22
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
22
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
23
|
<path fillRule="evenodd" clipRule="evenodd" d="M31.7208 7.43684C33.1324 6.02408 35.4221 6.02359 36.8343 7.43577L42.2001 12.8016C43.6115 14.213 43.612 16.501 42.2012 17.913L22.3681 37.745C21.8693 38.2436 21.2355 38.5855 20.5449 38.7284L16.9033 39.4821C16.2209 39.6234 15.524 39.5625 14.8913 39.3232L13.5268 40.6469C13.1319 41.0299 12.6033 41.2441 12.0531 41.2438L6.55128 41.241C5.6094 41.2405 5.13803 40.1017 5.80404 39.4357L10.3381 34.9017C10.0122 34.1905 9.92077 33.3814 10.0989 32.5959L10.9059 29.038C11.0568 28.3725 11.3929 27.7634 11.8755 27.281L31.7208 7.43684ZM29.0541 14.349L16.438 26.9618L22.6736 33.1974L35.2895 20.5849L29.0541 14.349ZM13.9965 29.4026L14.3164 29.0828L20.552 35.3184L20.247 35.6234C20.1622 35.7082 20.0543 35.7664 19.9368 35.7907L16.2953 36.5444C16.0925 36.5863 15.8822 36.5234 15.7357 36.377L13.1895 33.8304C13.0401 33.681 12.9779 33.4655 13.0246 33.2595L13.8316 29.7015C13.8572 29.5883 13.9144 29.4847 13.9965 29.4026ZM37.4106 18.4632L40.079 15.7925C40.319 15.5523 40.3189 15.1631 40.0788 14.923L34.7129 9.55709C34.4727 9.31684 34.0832 9.31692 33.843 9.55727L31.1751 12.2274L37.4106 18.4632Z" style={{ fill: `var(--${type})` }}/>
|
|
24
24
|
</svg>
|
|
25
25
|
;
|
|
26
26
|
} else if (thick) {
|
|
27
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
27
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
28
28
|
<path fillRule="evenodd" clipRule="evenodd" d="M31.3671 7.08344C32.9739 5.47527 35.5803 5.47472 37.1878 7.08221L42.5537 12.4481C44.1602 14.0546 44.1608 16.6592 42.5549 18.2664L22.7216 38.0986C22.1538 38.6662 21.4324 39.0553 20.6462 39.2181L17.0046 39.9717C16.1499 40.1486 15.2752 40.0471 14.5 39.7028L13.5268 40.6469C13.1319 41.0299 12.6033 41.2441 12.0531 41.2438L6.55128 41.241C5.6094 41.2405 5.13803 40.1017 5.80404 39.4357L9.96401 35.2758C9.52839 34.4275 9.39455 33.441 9.61131 32.4853L10.4183 28.9274C10.5901 28.1699 10.9727 27.4765 11.522 26.9274L31.3671 7.08344ZM29.0541 15.0561L17.1452 26.9617L22.6738 32.4903L34.5824 20.5848L29.0541 15.0561ZM14.3192 29.8121C14.3203 29.807 14.3219 29.8019 14.3237 29.7971L19.8291 35.3024L16.194 36.0547C16.156 36.0626 16.1167 36.0508 16.0893 36.0234L13.5431 33.4768C13.5151 33.4489 13.5035 33.4086 13.5122 33.3701L14.3192 29.8121ZM37.4104 17.756L39.7253 15.4391C39.7702 15.3942 39.7702 15.3214 39.7253 15.2765L34.3594 9.91064C34.3145 9.86571 34.2416 9.86573 34.1967 9.91067L31.8821 12.2272L37.4104 17.756Z" style={{ fill: `var(--${type})` }}/>
|
|
29
29
|
</svg>
|
|
30
30
|
;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
33
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
34
34
|
<path fillRule="evenodd" clipRule="evenodd" d="M31.7208 7.43684C33.1324 6.02408 35.4221 6.02359 36.8343 7.43577L42.2001 12.8016C43.6115 14.213 43.612 16.501 42.2012 17.913L22.3681 37.745C21.8693 38.2436 21.2355 38.5855 20.5449 38.7284L16.9033 39.4821C16.2209 39.6234 15.524 39.5625 14.8913 39.3232L13.5268 40.6469C13.1319 41.0299 12.6033 41.2441 12.0531 41.2438L6.55128 41.241C5.6094 41.2405 5.13803 40.1017 5.80404 39.4357L10.3381 34.9017C10.0122 34.1905 9.92077 33.3814 10.0989 32.5959L10.9059 29.038C11.0568 28.3725 11.3929 27.7634 11.8755 27.281L31.7208 7.43684ZM29.0541 14.349L16.438 26.9618L22.6736 33.1974L35.2895 20.5849L29.0541 14.349ZM13.9965 29.4026L14.3164 29.0828L20.552 35.3184L20.247 35.6234C20.1622 35.7082 20.0543 35.7664 19.9368 35.7907L16.2953 36.5444C16.0925 36.5863 15.8822 36.5234 15.7357 36.377L13.1895 33.8304C13.0401 33.681 12.9779 33.4655 13.0246 33.2595L13.8316 29.7015C13.8572 29.5883 13.9144 29.4847 13.9965 29.4026ZM37.4106 18.4632L40.079 15.7925C40.319 15.5523 40.3189 15.1631 40.0788 14.923L34.7129 9.55709C34.4727 9.31684 34.0832 9.31692 33.843 9.55727L31.1751 12.2274L37.4106 18.4632Z" style={{ fill: `var(--${type})` }}/>
|
|
35
35
|
</svg>
|
|
36
36
|
;
|
package/assets/history/index.tsx
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HistoryProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHistory = forwardRef<SVGSVGElement, HistoryProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M34.253 13.747C28.5904 8.08435 19.4096 8.08435 13.747 13.747C12.899 14.595 12.1789 15.5204 11.5859 16.5H19V19.5H10C8.067 19.5 6.5 17.933 6.5 16V7.00003H9.5L9.5 14.1967C10.1147 13.2896 10.8234 12.4279 11.6256 11.6256C18.4598 4.79146 29.5402 4.79146 36.3744 11.6256C43.2085 18.4598 43.2085 29.5402 36.3744 36.3744C29.5402 43.2085 18.4598 43.2085 11.6256 36.3744C9.91304 34.6618 8.62764 32.6793 7.77253 30.5623C7.34186 29.496 7.02061 28.3964 6.80863 27.2805L9.75592 26.7206C9.93164 27.6456 10.1978 28.5563 10.5542 29.4387C11.2612 31.189 12.3244 32.8305 13.747 34.253C19.4096 39.9157 28.5904 39.9157 34.253 34.253C39.9156 28.5904 39.9157 19.4096 34.253 13.747Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path d="M25.5 23.672V14.7613H22.5V23.672C22.5 24.6002 22.8687 25.4905 23.5251 26.1468L29.4393 32.0612L31.5607 29.9399L25.6464 24.0255C25.5527 23.9318 25.5 23.8046 25.5 23.672Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
</svg>
|
|
21
21
|
;
|
|
22
22
|
} else if (fill) {
|
|
23
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
24
|
<path d="M34.253 13.747C28.5904 8.08435 19.4096 8.08435 13.747 13.747C12.899 14.595 12.1789 15.5204 11.5859 16.5H19V19.5H10C8.067 19.5 6.5 17.933 6.5 16V7.00003H9.5L9.5 14.1967C10.1147 13.2896 10.8234 12.4279 11.6256 11.6256C18.4598 4.79146 29.5402 4.79146 36.3744 11.6256C43.2085 18.4598 43.2085 29.5402 36.3744 36.3744C29.5402 43.2085 18.4598 43.2085 11.6256 36.3744C9.91304 34.6618 8.62764 32.6793 7.77253 30.5623C7.34186 29.496 7.02061 28.3964 6.80863 27.2805L9.75592 26.7206C9.93164 27.6456 10.1978 28.5563 10.5542 29.4387C11.2612 31.189 12.3244 32.8305 13.747 34.253C19.4096 39.9157 28.5904 39.9157 34.253 34.253C39.9156 28.5904 39.9157 19.4096 34.253 13.747Z" style={{ fill: `var(--${type})` }}/>
|
|
25
25
|
<path d="M25.5 23.672V14.7613H22.5V23.672C22.5 24.6002 22.8687 25.4905 23.5251 26.1468L29.4393 32.0612L31.5607 29.9399L25.6464 24.0255C25.5527 23.9318 25.5 23.8046 25.5 23.672Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
</svg>
|
|
27
27
|
;
|
|
28
28
|
} else if (thick) {
|
|
29
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
29
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
30
|
<path d="M33.8995 14.1005C28.4322 8.63316 19.5678 8.63316 14.1005 14.1005C13.5039 14.6971 12.9731 15.3332 12.5076 16H18V20H9C6.79086 20 5 18.2092 5 16V7.00003H9L9 14.0445C9.65195 13.0642 10.4095 12.1346 11.2721 11.2721C18.3015 4.24264 29.6985 4.24264 36.7279 11.2721C43.7574 18.3015 43.7574 29.6985 36.7279 36.7279C29.6985 43.7574 18.3015 43.7574 11.2721 36.7279C9.51115 34.967 8.18872 32.9277 7.30892 30.7495C6.86587 29.6527 6.53544 28.5215 6.31741 27.3738L10.2471 26.6273C10.4168 27.5204 10.6738 28.3997 11.0178 29.2515C11.7001 30.9406 12.7263 32.5253 14.1005 33.8995C19.5678 39.3668 28.4322 39.3668 33.8995 33.8995C39.3668 28.4322 39.3668 19.5678 33.8995 14.1005Z" style={{ fill: `var(--${type})` }}/>
|
|
31
31
|
<path d="M26 23.672V14.7613H22V23.672C22 24.7328 22.4214 25.7502 23.1715 26.5004L29.0858 32.4147L31.9142 29.5863L26 23.672Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
</svg>
|
|
33
33
|
;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
37
37
|
<path d="M34.253 13.747C28.5904 8.08435 19.4096 8.08435 13.747 13.747C12.899 14.595 12.1789 15.5204 11.5859 16.5H19V19.5H10C8.067 19.5 6.5 17.933 6.5 16V7.00003H9.5L9.5 14.1967C10.1147 13.2896 10.8234 12.4279 11.6256 11.6256C18.4598 4.79146 29.5402 4.79146 36.3744 11.6256C43.2085 18.4598 43.2085 29.5402 36.3744 36.3744C29.5402 43.2085 18.4598 43.2085 11.6256 36.3744C9.91304 34.6618 8.62764 32.6793 7.77253 30.5623C7.34186 29.496 7.02061 28.3964 6.80863 27.2805L9.75592 26.7206C9.93164 27.6456 10.1978 28.5563 10.5542 29.4387C11.2612 31.189 12.3244 32.8305 13.747 34.253C19.4096 39.9157 28.5904 39.9157 34.253 34.253C39.9156 28.5904 39.9157 19.4096 34.253 13.747Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path d="M25.5 23.672V14.7613H22.5V23.672C22.5 24.6002 22.8687 25.4905 23.5251 26.1468L29.4393 32.0612L31.5607 29.9399L25.6464 24.0255C25.5527 23.9318 25.5 23.8046 25.5 23.672Z" style={{ fill: `var(--${type})` }}/>
|
|
39
39
|
</svg>
|
package/assets/home/index.tsx
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HomeProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHome = forwardRef<SVGSVGElement, HomeProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.0001 3.80664L1.30518 15.6699L2.69494 18.3286L5.00006 17.1236V40.9989C5.00006 42.1034 5.89549 42.9989 7.00006 42.9989H20.0001V31.9989H28.0001V42.9989H41.0001C42.1046 42.9989 43.0001 42.1034 43.0001 40.9989V17.1236L45.3052 18.3286L46.6949 15.6699L24.0001 3.80664ZM8.00006 15.8101L24.0001 7.38903L40.0001 15.8101V39.9989L31.0001 39.9989V28.9989H17.0001V39.9989L8.00006 39.9989V15.8101Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
</svg>
|
|
20
20
|
;
|
|
21
21
|
} else if (fill) {
|
|
22
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
22
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
23
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.0001 3.80664L1.30518 15.6699L2.69494 18.3286L5.00006 17.1236V40.9989C5.00006 42.1034 5.89549 42.9989 7.00006 42.9989H20.0001V31.9989H28.0001V42.9989H41.0001C42.1046 42.9989 43.0001 42.1034 43.0001 40.9989V17.1236L45.3052 18.3286L46.6949 15.6699L24.0001 3.80664ZM8.00006 15.8101L24.0001 7.38903L40.0001 15.8101V39.9989L31.0001 39.9989V28.9989H17.0001V39.9989L8.00006 39.9989V15.8101Z" style={{ fill: `var(--${type})` }}/>
|
|
24
24
|
</svg>
|
|
25
25
|
;
|
|
26
26
|
} else if (thick) {
|
|
27
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
27
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
28
28
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 3.74414L1.07349 15.7285L2.9265 19.2734L4.99999 18.1895V41.0006C4.99999 42.1051 5.89543 43.0006 6.99999 43.0006H21V33.0009L27 33.0006V43.0006H41C42.1046 43.0006 43 42.1051 43 41.0006V18.1895L45.0735 19.2734L46.9265 15.7285L24 3.74414ZM8.99999 16.4155L24 8.52076L39 16.4155V39.0006L31 39.0006V29.0006H17V39.0006L8.99999 39.0006V16.4155Z" style={{ fill: `var(--${type})` }}/>
|
|
29
29
|
</svg>
|
|
30
30
|
;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
33
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
34
34
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.0001 3.80664L1.30518 15.6699L2.69494 18.3286L5.00006 17.1236V40.9989C5.00006 42.1034 5.89549 42.9989 7.00006 42.9989H20.0001V31.9989H28.0001V42.9989H41.0001C42.1046 42.9989 43.0001 42.1034 43.0001 40.9989V17.1236L45.3052 18.3286L46.6949 15.6699L24.0001 3.80664ZM8.00006 15.8101L24.0001 7.38903L40.0001 15.8101V39.9989L31.0001 39.9989V28.9989H17.0001V39.9989L8.00006 39.9989V15.8101Z" style={{ fill: `var(--${type})` }}/>
|
|
35
35
|
</svg>
|
|
36
36
|
;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface HourglassProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconHourglass = forwardRef<SVGSVGElement, HourglassProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path fillRule="evenodd" clipRule="evenodd" d="M42 9H36.9287C36.6271 13.1982 35.377 16.8843 33.4131 19.6729C32.4148 21.0903 31.2171 22.2874 29.8652 23.1865C31.2864 24.3174 32.5081 25.8045 33.4941 27.4521C35.3962 30.6306 36.6319 34.7051 36.9287 39H42V43H6V39H11.0713C11.3681 34.7051 12.6038 30.6306 14.5059 27.4521C15.4917 25.8048 16.7129 24.3173 18.1338 23.1865C16.7822 22.2874 15.5851 21.09 14.5869 19.6729C12.623 16.8843 11.3729 13.1982 11.0713 9H6V5H42V9ZM15.0859 9C15.3778 12.4597 16.4158 15.3222 17.8574 17.3691C19.5618 19.789 21.7528 21 24 21C26.2472 21 28.4382 19.789 30.1426 17.3691C31.5842 15.3222 32.6222 12.4597 32.9141 9H15.0859Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
</svg>
|
|
20
20
|
;
|
|
21
21
|
} else if (fill) {
|
|
22
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
22
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
23
|
<path fillRule="evenodd" clipRule="evenodd" d="M42 8.5H36.459C36.2244 12.8162 34.9796 16.5809 33.0049 19.3848C31.8884 20.9701 30.5239 22.2599 28.9785 23.1484C30.5837 24.2656 31.9648 25.8697 33.0654 27.709C34.9915 30.9276 36.2253 35.1053 36.457 39.5H42V42.5H6V39.5H11.543C11.7747 35.1053 13.0085 30.9276 14.9346 27.709C16.0351 25.87 17.4156 24.2656 19.0205 23.1484C17.4754 22.2599 16.1115 20.9698 14.9951 19.3848C13.0204 16.5809 11.7756 12.8162 11.541 8.5H6V5.5H42V8.5ZM24 24.5C21.7206 24.5 19.3728 26.1344 17.5088 29.249C15.8794 31.9717 14.7752 35.6065 14.5459 39.5H33.4541C33.2248 35.6065 32.1206 31.9717 30.4912 29.249C28.6272 26.1344 26.2794 24.5 24 24.5ZM14.5469 8.5C14.7776 12.2755 15.8718 15.4189 17.4482 17.6572C19.2241 20.1787 21.5552 21.5 24 21.5C26.4448 21.5 28.7759 20.1787 30.5518 17.6572C32.1282 15.4189 33.2224 12.2755 33.4531 8.5H14.5469Z" style={{ fill: `var(--${type})` }}/>
|
|
24
24
|
</svg>
|
|
25
25
|
;
|
|
26
26
|
} else if (thick) {
|
|
27
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
27
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
28
28
|
<path fillRule="evenodd" clipRule="evenodd" d="M42 9H36.9287C36.6271 13.1982 35.377 16.8843 33.4131 19.6729C32.4148 21.0903 31.2171 22.2874 29.8652 23.1865C31.2864 24.3174 32.5081 25.8045 33.4941 27.4521C35.3962 30.6306 36.6319 34.7051 36.9287 39H42V43H6V39H11.0713C11.3681 34.7051 12.6038 30.6306 14.5059 27.4521C15.4917 25.8048 16.7129 24.3173 18.1338 23.1865C16.7822 22.2874 15.5851 21.09 14.5869 19.6729C12.623 16.8843 11.3729 13.1982 11.0713 9H6V5H42V9ZM24 25C21.9734 25 19.7602 26.4619 17.9385 29.5059C16.4277 32.0304 15.3729 35.3811 15.083 39H32.917C32.6271 35.3811 31.5723 32.0304 30.0615 29.5059C28.2398 26.4619 26.0266 25 24 25ZM15.0859 9C15.3778 12.4597 16.4158 15.3222 17.8574 17.3691C19.5618 19.789 21.7528 21 24 21C26.2472 21 28.4382 19.789 30.1426 17.3691C31.5842 15.3222 32.6222 12.4597 32.9141 9H15.0859Z" style={{ fill: `var(--${type})` }}/>
|
|
29
29
|
</svg>
|
|
30
30
|
;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
33
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
34
34
|
<path fillRule="evenodd" clipRule="evenodd" d="M42 8.5H36.459C36.2244 12.8162 34.9796 16.5809 33.0049 19.3848C31.8884 20.9701 30.5239 22.2599 28.9785 23.1484C30.5837 24.2656 31.9648 25.8697 33.0654 27.709C34.9915 30.9276 36.2253 35.1053 36.457 39.5H42V42.5H6V39.5H11.543C11.7747 35.1053 13.0085 30.9276 14.9346 27.709C16.0351 25.87 17.4156 24.2656 19.0205 23.1484C17.4754 22.2599 16.1115 20.9698 14.9951 19.3848C13.0204 16.5809 11.7756 12.8162 11.541 8.5H6V5.5H42V8.5ZM24 24.5C21.7206 24.5 19.3728 26.1344 17.5088 29.249C15.8794 31.9717 14.7752 35.6065 14.5459 39.5H33.4541C33.2248 35.6065 32.1206 31.9717 30.4912 29.249C28.6272 26.1344 26.2794 24.5 24 24.5ZM14.5469 8.5C14.7776 12.2755 15.8718 15.4189 17.4482 17.6572C19.2241 20.1787 21.5552 21.5 24 21.5C26.4448 21.5 28.7759 20.1787 30.5518 17.6572C32.1282 15.4189 33.2224 12.2755 33.4531 8.5H14.5469Z" style={{ fill: `var(--${type})` }}/>
|
|
35
35
|
</svg>
|
|
36
36
|
;
|
package/assets/info/index.tsx
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface InfoProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconInfo = forwardRef<SVGSVGElement, InfoProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M24.0001 12.9999C23.4551 12.9999 22.967 13.1954 22.5808 13.5819C22.1947 13.9684 22.0001 14.4561 22.0001 14.9999C22.0001 15.5437 22.1947 16.0314 22.5808 16.4179C22.967 16.8044 23.4551 16.9999 24.0001 16.9999C24.5451 16.9999 25.0332 16.8044 25.4194 16.4179C25.8055 16.0314 26.0001 15.5437 26.0001 14.9999C26.0001 14.4561 25.8055 13.9684 25.4194 13.5819C25.0332 13.1954 24.5451 12.9999 24.0001 12.9999Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path d="M22.5 35.5003V20.5003H25.5V35.5003H22.5Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
<path fillRule="evenodd" clipRule="evenodd" d="M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM41 24C41 33.3888 33.3888 41 24 41C14.6112 41 7 33.3888 7 24C7 14.6112 14.6112 7 24 7C33.3888 7 41 14.6112 41 24Z" style={{ fill: `var(--${type})` }}/>
|
|
21
21
|
</svg>
|
|
22
22
|
;
|
|
23
23
|
} else if (fill) {
|
|
24
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
25
25
|
<path d="M24.0001 12.9999C23.4551 12.9999 22.967 13.1954 22.5808 13.5819C22.1947 13.9684 22.0001 14.4561 22.0001 14.9999C22.0001 15.5437 22.1947 16.0314 22.5808 16.4179C22.967 16.8044 23.4551 16.9999 24.0001 16.9999C24.5451 16.9999 25.0332 16.8044 25.4194 16.4179C25.8055 16.0314 26.0001 15.5437 26.0001 14.9999C26.0001 14.4561 25.8055 13.9684 25.4194 13.5819C25.0332 13.1954 24.5451 12.9999 24.0001 12.9999Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
<path d="M22.5 35.5003V20.5003H25.5V35.5003H22.5Z" style={{ fill: `var(--${type})` }}/>
|
|
27
27
|
<path fillRule="evenodd" clipRule="evenodd" d="M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM41 24C41 33.3888 33.3888 41 24 41C14.6112 41 7 33.3888 7 24C7 14.6112 14.6112 7 24 7C33.3888 7 41 14.6112 41 24Z" style={{ fill: `var(--${type})` }}/>
|
|
28
28
|
</svg>
|
|
29
29
|
;
|
|
30
30
|
} else if (thick) {
|
|
31
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
31
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
32
32
|
<path d="M24 12.4745C23.3592 12.4745 22.7853 12.7047 22.3313 13.16C21.8774 13.6151 21.6486 14.1895 21.6486 14.83C21.6486 15.4705 21.8774 16.0449 22.3313 16.5C22.7853 16.9552 23.3592 17.1855 24 17.1855C24.6408 17.1855 25.2147 16.9552 25.6687 16.5C26.1226 16.0449 26.3514 15.4705 26.3514 14.83C26.3514 14.1895 26.1226 13.6151 25.6687 13.16C25.2147 12.7047 24.6408 12.4745 24 12.4745Z" style={{ fill: `var(--${type})` }}/>
|
|
33
33
|
<path d="M22 35.5003V20.5003H26V35.5003H22Z" style={{ fill: `var(--${type})` }}/>
|
|
34
34
|
<path fillRule="evenodd" clipRule="evenodd" d="M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM40 24C40 32.8366 32.8366 40 24 40C15.1634 40 8 32.8366 8 24C8 15.1634 15.1634 8 24 8C32.8366 8 40 15.1634 40 24Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -36,7 +36,7 @@ export const IconInfo = forwardRef<SVGSVGElement, InfoProps>(
|
|
|
36
36
|
;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
39
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
40
40
|
<path d="M24.0001 12.9999C23.4551 12.9999 22.967 13.1954 22.5808 13.5819C22.1947 13.9684 22.0001 14.4561 22.0001 14.9999C22.0001 15.5437 22.1947 16.0314 22.5808 16.4179C22.967 16.8044 23.4551 16.9999 24.0001 16.9999C24.5451 16.9999 25.0332 16.8044 25.4194 16.4179C25.8055 16.0314 26.0001 15.5437 26.0001 14.9999C26.0001 14.4561 25.8055 13.9684 25.4194 13.5819C25.0332 13.1954 24.5451 12.9999 24.0001 12.9999Z" style={{ fill: `var(--${type})` }}/>
|
|
41
41
|
<path d="M22.5 35.5003V20.5003H25.5V35.5003H22.5Z" style={{ fill: `var(--${type})` }}/>
|
|
42
42
|
<path fillRule="evenodd" clipRule="evenodd" d="M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM41 24C41 33.3888 33.3888 41 24 41C14.6112 41 7 33.3888 7 24C7 14.6112 14.6112 7 24 7C33.3888 7 41 14.6112 41 24Z" style={{ fill: `var(--${type})` }}/>
|
package/assets/light/index.tsx
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface LightProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconLight = forwardRef<SVGSVGElement, LightProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M24.9621 11.0802C23.9613 8.3066 20.0387 8.3066 19.0379 11.0802L15.8671 19.8671L7.0802 23.0379C4.3066 24.0387 4.3066 27.9613 7.0802 28.9621L15.8671 32.1329L19.0379 40.9198C20.0387 43.6934 23.9613 43.6934 24.9621 40.9198L28.1329 32.1329L36.9198 28.9621C39.6934 27.9613 39.6934 24.0387 36.9198 23.0379L28.1329 19.8671L24.9621 11.0802Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path d="M36.6852 5.48117C36.4537 4.83961 35.5463 4.83961 35.3148 5.48117L33.8177 9.63003C33.7862 9.7174 33.7174 9.78619 33.63 9.81771L29.4812 11.3148C28.8396 11.5463 28.8396 12.4537 29.4812 12.6852L33.63 14.1823C33.7174 14.2138 33.7862 14.2826 33.8177 14.37L35.3148 18.5188C35.5463 19.1604 36.4537 19.1604 36.6852 18.5188L38.1823 14.37C38.2138 14.2826 38.2826 14.2138 38.37 14.1823L42.5188 12.6852C43.1604 12.4537 43.1604 11.5463 42.5188 11.3148L38.37 9.81771C38.2826 9.78619 38.2138 9.7174 38.1823 9.63003L36.6852 5.48117Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
</svg>
|
|
21
21
|
;
|
|
22
22
|
} else if (fill) {
|
|
23
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
24
|
<path d="M24.4918 11.2499C23.6499 8.91669 20.3501 8.9167 19.5082 11.2499L16.2577 20.2577L7.24991 23.5082C4.91669 24.3501 4.9167 27.6499 7.24991 28.4918L16.2577 31.7423L19.5082 40.7501C20.3501 43.0833 23.6499 43.0833 24.4918 40.7501L27.7423 31.7423L36.7501 28.4918C39.0833 27.6499 39.0833 24.3501 36.7501 23.5082L27.7423 20.2577L24.4918 11.2499Z" style={{ fill: `var(--${type})` }}/>
|
|
25
25
|
<path d="M36.6852 5.48117C36.4537 4.83961 35.5463 4.83961 35.3148 5.48117L33.8177 9.63003C33.7862 9.7174 33.7174 9.78619 33.63 9.81771L29.4812 11.3148C28.8396 11.5463 28.8396 12.4537 29.4812 12.6852L33.63 14.1823C33.7174 14.2138 33.7862 14.2826 33.8177 14.37L35.3148 18.5188C35.5463 19.1604 36.4537 19.1604 36.6852 18.5188L38.1823 14.37C38.2138 14.2826 38.2826 14.2138 38.37 14.1823L42.5188 12.6852C43.1604 12.4537 43.1604 11.5463 42.5188 11.3148L38.37 9.81771C38.2826 9.78619 38.2138 9.7174 38.1823 9.63003L36.6852 5.48117Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
</svg>
|
|
27
27
|
;
|
|
28
28
|
} else if (thick) {
|
|
29
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
29
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
30
|
<path fillRule="evenodd" clipRule="evenodd" d="M19.0379 11.0802C20.0387 8.3066 23.9613 8.3066 24.9621 11.0802L28.1329 19.8671L36.9198 23.0379C39.6934 24.0387 39.6934 27.9613 36.9198 28.9621L28.1329 32.1329L24.9621 40.9198C23.9613 43.6934 20.0387 43.6934 19.0379 40.9198L15.8671 32.1329L7.0802 28.9621C4.3066 27.9613 4.3066 24.0387 7.0802 23.0379L15.8671 19.8671L19.0379 11.0802ZM22 14.656L19.494 21.6007C19.176 22.482 18.482 23.176 17.6007 23.494L10.656 26L17.6007 28.506C18.482 28.824 19.176 29.518 19.494 30.3993L22 37.344L24.506 30.3993C24.824 29.5179 25.518 28.824 26.3993 28.506L33.344 26L26.3993 23.494C25.5179 23.176 24.824 22.482 24.506 21.6007L22 14.656Z" style={{ fill: `var(--${type})` }}/>
|
|
31
31
|
<path d="M36.6852 5.48117C36.4537 4.83961 35.5463 4.83961 35.3148 5.48117L33.8177 9.63003C33.7862 9.7174 33.7174 9.78619 33.63 9.81771L29.4812 11.3148C28.8396 11.5463 28.8396 12.4537 29.4812 12.6852L33.63 14.1823C33.7174 14.2138 33.7862 14.2826 33.8177 14.37L35.3148 18.5188C35.5463 19.1604 36.4537 19.1604 36.6852 18.5188L38.1823 14.37C38.2138 14.2826 38.2826 14.2138 38.37 14.1823L42.5188 12.6852C43.1604 12.4537 43.1604 11.5463 42.5188 11.3148L38.37 9.81771C38.2826 9.78619 38.2138 9.7174 38.1823 9.63003L36.6852 5.48117Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
</svg>
|
|
33
33
|
;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
37
37
|
<path fillRule="evenodd" clipRule="evenodd" d="M19.5082 11.2499C20.3501 8.9167 23.6499 8.91669 24.4918 11.2499L27.7423 20.2577L36.7501 23.5082C39.0833 24.3501 39.0833 27.6499 36.7501 28.4918L27.7423 31.7423L24.4918 40.7501C23.6499 43.0833 20.3501 43.0833 19.5082 40.7501L16.2577 31.7423L7.24991 28.4918C4.9167 27.6499 4.91669 24.3501 7.24991 23.5082L16.2577 20.2577L19.5082 11.2499ZM22 13.1829L19.0237 21.431C18.7562 22.1724 18.1724 22.7562 17.431 23.0237L9.18293 26L17.431 28.9763C18.1724 29.2439 18.7562 29.8276 19.0237 30.569L22 38.8171L24.9763 30.569C25.2439 29.8276 25.8276 29.2439 26.569 28.9763L34.8171 26L26.569 23.0237C25.8276 22.7561 25.2439 22.1724 24.9763 21.431L22 13.1829Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path d="M36.6852 5.48117C36.4537 4.83961 35.5463 4.83961 35.3148 5.48117L33.8177 9.63003C33.7862 9.7174 33.7174 9.78619 33.63 9.81771L29.4812 11.3148C28.8396 11.5463 28.8396 12.4537 29.4812 12.6852L33.63 14.1823C33.7174 14.2138 33.7862 14.2826 33.8177 14.37L35.3148 18.5188C35.5463 19.1604 36.4537 19.1604 36.6852 18.5188L38.1823 14.37C38.2138 14.2826 38.2826 14.2138 38.37 14.1823L42.5188 12.6852C43.1604 12.4537 43.1604 11.5463 42.5188 11.3148L38.37 9.81771C38.2826 9.78619 38.2138 9.7174 38.1823 9.63003L36.6852 5.48117Z" style={{ fill: `var(--${type})` }}/>
|
|
39
39
|
</svg>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface LightModeProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconLightMode = forwardRef<SVGSVGElement, LightModeProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M25.5 2V11H22.5V2H25.5Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 34C29.5228 34 34 29.5228 34 24C34 18.4772 29.5228 14 24 14C18.4772 14 14 18.4772 14 24C14 29.5228 18.4772 34 24 34ZM24 31C27.866 31 31 27.866 31 24C31 20.134 27.866 17 24 17C20.134 17 17 20.134 17 24C17 27.866 20.134 31 24 31Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
<path d="M25.5 46V37H22.5V46H25.5Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -27,7 +27,7 @@ export const IconLightMode = forwardRef<SVGSVGElement, LightModeProps>(
|
|
|
27
27
|
</svg>
|
|
28
28
|
;
|
|
29
29
|
} else if (fill) {
|
|
30
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
31
31
|
<path d="M25.5 2V11H22.5V2H25.5Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 34C29.5228 34 34 29.5228 34 24C34 18.4772 29.5228 14 24 14C18.4772 14 14 18.4772 14 24C14 29.5228 18.4772 34 24 34ZM24 31C27.866 31 31 27.866 31 24C31 20.134 27.866 17 24 17C20.134 17 17 20.134 17 24C17 27.866 20.134 31 24 31Z" style={{ fill: `var(--${type})` }}/>
|
|
33
33
|
<path d="M25.5 46V37H22.5V46H25.5Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -40,7 +40,7 @@ export const IconLightMode = forwardRef<SVGSVGElement, LightModeProps>(
|
|
|
40
40
|
</svg>
|
|
41
41
|
;
|
|
42
42
|
} else if (thick) {
|
|
43
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
43
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
44
44
|
<path d="M26 2V11H22V2H26Z" style={{ fill: `var(--${type})` }}/>
|
|
45
45
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 34C29.5228 34 34 29.5228 34 24C34 18.4772 29.5228 14 24 14C18.4772 14 14 18.4772 14 24C14 29.5228 18.4772 34 24 34ZM24 30C27.3137 30 30 27.3137 30 24C30 20.6863 27.3137 18 24 18C20.6863 18 18 20.6863 18 24C18 27.3137 20.6863 30 24 30Z" style={{ fill: `var(--${type})` }}/>
|
|
46
46
|
<path d="M26 46V37H22V46H26Z" style={{ fill: `var(--${type})` }}/>
|
|
@@ -54,7 +54,7 @@ export const IconLightMode = forwardRef<SVGSVGElement, LightModeProps>(
|
|
|
54
54
|
;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
57
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
58
58
|
<path d="M25.5 2V11H22.5V2H25.5Z" style={{ fill: `var(--${type})` }}/>
|
|
59
59
|
<path fillRule="evenodd" clipRule="evenodd" d="M24 34C29.5228 34 34 29.5228 34 24C34 18.4772 29.5228 14 24 14C18.4772 14 14 18.4772 14 24C14 29.5228 18.4772 34 24 34ZM24 31C27.866 31 31 27.866 31 24C31 20.134 27.866 17 24 17C20.134 17 17 20.134 17 24C17 27.866 20.134 31 24 31Z" style={{ fill: `var(--${type})` }}/>
|
|
60
60
|
<path d="M25.5 46V37H22.5V46H25.5Z" style={{ fill: `var(--${type})` }}/>
|
package/assets/liner/index.tsx
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface LinerProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconLiner = forwardRef<SVGSVGElement, LinerProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path fillRule="evenodd" clipRule="evenodd" d="M26.9523 6.58093C27.6483 5.88485 28.5774 5.5 29.5616 5.5H38.8094C40.8435 5.5 42.4996 7.15609 42.4996 9.19026V18.4436C42.4996 19.4155 42.1101 20.3615 41.4187 21.0529L35.0383 27.4332V37.5254C35.0383 38.5096 34.6535 39.4386 33.9574 40.1347L29.8327 44.2594L29.829 44.2632C29.1265 44.9728 28.1958 45.3528 27.233 45.3528C26.7527 45.3528 26.2712 45.2582 25.8102 45.0684L25.8004 45.0644C24.4191 44.4842 23.5317 43.1682 23.5317 41.657V36.0884H15.8337C13.6723 36.0884 11.9167 34.3328 11.9167 32.1714V24.4734H6.34813C4.84776 24.4734 3.51381 23.6004 2.93621 22.1936C2.36349 20.8044 2.6749 19.2433 3.7388 18.1794L7.87043 14.0477C8.56651 13.3517 9.49559 12.9668 10.4798 12.9668H20.5664L26.9523 6.58093ZM29.5616 8.5C29.3732 8.5 29.2071 8.56869 29.0736 8.70225L22.5858 15.1901C22.0925 15.6833 21.4249 15.9668 20.712 15.9668H10.4798C10.2914 15.9668 10.1253 16.0355 9.99175 16.1691L5.86012 20.3007C5.65272 20.5081 5.59874 20.7816 5.71004 21.0509L5.71138 21.0541C5.81961 21.3177 6.0454 21.4734 6.34813 21.4734H12.2663C13.7205 21.4734 14.9167 22.6547 14.9167 24.1239V32.1714C14.9167 32.676 15.3292 33.0884 15.8337 33.0884H23.8813C25.3355 33.0884 26.5317 34.2697 26.5317 35.7389V41.657C26.5317 41.9473 26.6824 42.1789 26.9573 42.2963C27.0585 42.3373 27.1506 42.3528 27.233 42.3528C27.3969 42.3528 27.5597 42.2917 27.6976 42.152L27.7044 42.145L31.8361 38.0134C31.9697 37.8798 32.0383 37.7138 32.0383 37.5254V27.2046C32.0383 26.5753 32.2783 25.9506 32.7487 25.4802L39.2974 18.9316C39.4246 18.8044 39.4996 18.6221 39.4996 18.4436V9.19026C39.4996 8.81293 39.1867 8.5 38.8094 8.5H29.5616Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.6174 18.929V23.4755H29.1781V18.929H24.6174ZM21.6174 18.2307C21.6174 16.9568 22.653 15.929 23.9226 15.929H29.8729C31.134 15.929 32.1781 16.9521 32.1781 18.2307V24.1699C32.1781 25.4344 31.152 26.4755 29.8729 26.4755H23.9226C22.6568 26.4755 21.6174 25.4477 21.6174 24.1699V18.2307Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
</svg>
|
|
21
21
|
;
|
|
22
22
|
} else if (fill) {
|
|
23
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
24
|
<path fillRule="evenodd" clipRule="evenodd" d="M26.9523 6.58093C27.6483 5.88485 28.5774 5.5 29.5616 5.5H38.8094C40.8435 5.5 42.4996 7.15609 42.4996 9.19026V18.4436C42.4996 19.4155 42.1101 20.3615 41.4187 21.0529L35.0383 27.4332V37.5254C35.0383 38.5096 34.6535 39.4386 33.9574 40.1347L29.8327 44.2594L29.829 44.2632C29.1265 44.9728 28.1958 45.3528 27.233 45.3528C26.7527 45.3528 26.2712 45.2582 25.8102 45.0684L25.8004 45.0644C24.4191 44.4842 23.5317 43.1682 23.5317 41.657V36.0884H15.8337C13.6723 36.0884 11.9167 34.3328 11.9167 32.1714V24.4734H6.34813C4.84776 24.4734 3.51381 23.6004 2.93621 22.1936C2.36349 20.8044 2.6749 19.2433 3.7388 18.1794L7.87043 14.0477C8.56651 13.3517 9.49559 12.9668 10.4798 12.9668H20.5664L26.9523 6.58093ZM29.5616 8.5C29.3732 8.5 29.2071 8.56869 29.0736 8.70225L22.5858 15.1901C22.0925 15.6833 21.4249 15.9668 20.712 15.9668H10.4798C10.2914 15.9668 10.1253 16.0355 9.99175 16.1691L5.86012 20.3007C5.65272 20.5081 5.59874 20.7816 5.71004 21.0509L5.71138 21.0541C5.81961 21.3177 6.0454 21.4734 6.34813 21.4734H12.2663C13.7205 21.4734 14.9167 22.6547 14.9167 24.1239V32.1714C14.9167 32.676 15.3292 33.0884 15.8337 33.0884H23.8813C25.3355 33.0884 26.5317 34.2697 26.5317 35.7389V41.657C26.5317 41.9473 26.6824 42.1789 26.9573 42.2963C27.0585 42.3373 27.1506 42.3528 27.233 42.3528C27.3969 42.3528 27.5597 42.2917 27.6976 42.152L27.7044 42.145L31.8361 38.0134C31.9697 37.8798 32.0383 37.7138 32.0383 37.5254V27.2046C32.0383 26.5753 32.2783 25.9506 32.7487 25.4802L39.2974 18.9316C39.4246 18.8044 39.4996 18.6221 39.4996 18.4436V9.19026C39.4996 8.81293 39.1867 8.5 38.8094 8.5H29.5616Z" style={{ fill: `var(--${type})` }}/>
|
|
25
25
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.6174 18.929V23.4755H29.1781V18.929H24.6174ZM21.6174 18.2307C21.6174 16.9568 22.653 15.929 23.9226 15.929H29.8729C31.134 15.929 32.1781 16.9521 32.1781 18.2307V24.1699C32.1781 25.4344 31.152 26.4755 29.8729 26.4755H23.9226C22.6568 26.4755 21.6174 25.4477 21.6174 24.1699V18.2307Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
</svg>
|
|
27
27
|
;
|
|
28
28
|
} else if (thick) {
|
|
29
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
29
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
30
|
<path fillRule="evenodd" clipRule="evenodd" d="M26.9523 6.58093C27.6483 5.88485 28.5774 5.5 29.5616 5.5H38.8094C40.8435 5.5 42.4996 7.15609 42.4996 9.19026V18.4436C42.4996 19.4155 42.1101 20.3615 41.4187 21.0529L35.0383 27.4332V37.5254C35.0383 38.5096 34.6535 39.4386 33.9574 40.1347L29.8327 44.2594L29.829 44.2632C29.1265 44.9728 28.1958 45.3528 27.233 45.3528C26.7527 45.3528 26.2712 45.2582 25.8102 45.0684L25.8004 45.0644C24.4191 44.4842 23.5317 43.1682 23.5317 41.657V36.0884H15.8337C13.6723 36.0884 11.9167 34.3328 11.9167 32.1714V24.4734H6.34813C4.84776 24.4734 3.51381 23.6004 2.93621 22.1936C2.36349 20.8044 2.6749 19.2433 3.7388 18.1794L7.87043 14.0477C8.56651 13.3517 9.49559 12.9668 10.4798 12.9668H20.5664L26.9523 6.58093ZM29.5616 8.5C29.3732 8.5 29.2071 8.56869 29.0736 8.70225L22.5858 15.1901C22.0925 15.6833 21.4249 15.9668 20.712 15.9668H10.4798C10.2914 15.9668 10.1253 16.0355 9.99175 16.1691L5.86012 20.3007C5.65272 20.5081 5.59874 20.7816 5.71004 21.0509L5.71138 21.0541C5.81961 21.3177 6.0454 21.4734 6.34813 21.4734H12.2663C13.7205 21.4734 14.9167 22.6547 14.9167 24.1239V32.1714C14.9167 32.676 15.3292 33.0884 15.8337 33.0884H23.8813C25.3355 33.0884 26.5317 34.2697 26.5317 35.7389V41.657C26.5317 41.9473 26.6824 42.1789 26.9573 42.2963C27.0585 42.3373 27.1506 42.3528 27.233 42.3528C27.3969 42.3528 27.5597 42.2917 27.6976 42.152L27.7044 42.145L31.8361 38.0134C31.9697 37.8798 32.0383 37.7138 32.0383 37.5254V27.2046C32.0383 26.5753 32.2783 25.9506 32.7487 25.4802L39.2974 18.9316C39.4246 18.8044 39.4996 18.6221 39.4996 18.4436V9.19026C39.4996 8.81293 39.1867 8.5 38.8094 8.5H29.5616Z" style={{ fill: `var(--${type})` }}/>
|
|
31
31
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.6174 18.929V23.4755H29.1781V18.929H24.6174ZM21.6174 18.2307C21.6174 16.9568 22.653 15.929 23.9226 15.929H29.8729C31.134 15.929 32.1781 16.9521 32.1781 18.2307V24.1699C32.1781 25.4344 31.152 26.4755 29.8729 26.4755H23.9226C22.6568 26.4755 21.6174 25.4477 21.6174 24.1699V18.2307Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
</svg>
|
|
33
33
|
;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
37
37
|
<path fillRule="evenodd" clipRule="evenodd" d="M26.9523 6.58093C27.6483 5.88485 28.5774 5.5 29.5616 5.5H38.8094C40.8435 5.5 42.4996 7.15609 42.4996 9.19026V18.4436C42.4996 19.4155 42.1101 20.3615 41.4187 21.0529L35.0383 27.4332V37.5254C35.0383 38.5096 34.6535 39.4386 33.9574 40.1347L29.8327 44.2594L29.829 44.2632C29.1265 44.9728 28.1958 45.3528 27.233 45.3528C26.7527 45.3528 26.2712 45.2582 25.8102 45.0684L25.8004 45.0644C24.4191 44.4842 23.5317 43.1682 23.5317 41.657V36.0884H15.8337C13.6723 36.0884 11.9167 34.3328 11.9167 32.1714V24.4734H6.34813C4.84776 24.4734 3.51381 23.6004 2.93621 22.1936C2.36349 20.8044 2.6749 19.2433 3.7388 18.1794L7.87043 14.0477C8.56651 13.3517 9.49559 12.9668 10.4798 12.9668H20.5664L26.9523 6.58093ZM29.5616 8.5C29.3732 8.5 29.2071 8.56869 29.0736 8.70225L22.5858 15.1901C22.0925 15.6833 21.4249 15.9668 20.712 15.9668H10.4798C10.2914 15.9668 10.1253 16.0355 9.99175 16.1691L5.86012 20.3007C5.65272 20.5081 5.59874 20.7816 5.71004 21.0509L5.71138 21.0541C5.81961 21.3177 6.0454 21.4734 6.34813 21.4734H12.2663C13.7205 21.4734 14.9167 22.6547 14.9167 24.1239V32.1714C14.9167 32.676 15.3292 33.0884 15.8337 33.0884H23.8813C25.3355 33.0884 26.5317 34.2697 26.5317 35.7389V41.657C26.5317 41.9473 26.6824 42.1789 26.9573 42.2963C27.0585 42.3373 27.1506 42.3528 27.233 42.3528C27.3969 42.3528 27.5597 42.2917 27.6976 42.152L27.7044 42.145L31.8361 38.0134C31.9697 37.8798 32.0383 37.7138 32.0383 37.5254V27.2046C32.0383 26.5753 32.2783 25.9506 32.7487 25.4802L39.2974 18.9316C39.4246 18.8044 39.4996 18.6221 39.4996 18.4436V9.19026C39.4996 8.81293 39.1867 8.5 38.8094 8.5H29.5616Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path fillRule="evenodd" clipRule="evenodd" d="M24.6174 18.929V23.4755H29.1781V18.929H24.6174ZM21.6174 18.2307C21.6174 16.9568 22.653 15.929 23.9226 15.929H29.8729C31.134 15.929 32.1781 16.9521 32.1781 18.2307V24.1699C32.1781 25.4344 31.152 26.4755 29.8729 26.4755H23.9226C22.6568 26.4755 21.6174 25.4477 21.6174 24.1699V18.2307Z" style={{ fill: `var(--${type})` }}/>
|
|
39
39
|
</svg>
|