@iota/apps-ui-icons 0.2.0
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/.prettierignore +1 -0
- package/CHANGELOG.md +7 -0
- package/LICENSE +201 -0
- package/README.md +8 -0
- package/package.json +26 -0
- package/scripts/preprocess.mjs +32 -0
- package/src/Activity.tsx +26 -0
- package/src/Add.tsx +20 -0
- package/src/Apps.tsx +32 -0
- package/src/ArrowBack.tsx +20 -0
- package/src/ArrowBottomLeft.tsx +20 -0
- package/src/ArrowDown.tsx +20 -0
- package/src/ArrowForward.tsx +20 -0
- package/src/ArrowLeft.tsx +20 -0
- package/src/ArrowRight.tsx +20 -0
- package/src/ArrowTopRight.tsx +20 -0
- package/src/ArrowUp.tsx +20 -0
- package/src/Assets.tsx +22 -0
- package/src/Calendar.tsx +23 -0
- package/src/Checkmark.tsx +22 -0
- package/src/CheckmarkFilled.tsx +22 -0
- package/src/CircleEmitter.tsx +26 -0
- package/src/Clock.tsx +22 -0
- package/src/Close.tsx +22 -0
- package/src/Copy.tsx +22 -0
- package/src/Create.tsx +26 -0
- package/src/DarkMode.tsx +22 -0
- package/src/Dash.tsx +17 -0
- package/src/DataStack.tsx +28 -0
- package/src/Delete.tsx +22 -0
- package/src/Disconnect.tsx +20 -0
- package/src/DoubleArrowLeft.tsx +24 -0
- package/src/DoubleArrowRight.tsx +24 -0
- package/src/Edit.tsx +22 -0
- package/src/Exclamation.tsx +22 -0
- package/src/Export.tsx +24 -0
- package/src/FilterList.tsx +20 -0
- package/src/Flag.tsx +20 -0
- package/src/Globe.tsx +22 -0
- package/src/Handler.tsx +20 -0
- package/src/Home.tsx +23 -0
- package/src/ImageIcon.tsx +23 -0
- package/src/ImportPass.tsx +24 -0
- package/src/Info.tsx +22 -0
- package/src/IotaLogoMark.tsx +20 -0
- package/src/IotaLogoSmall.tsx +20 -0
- package/src/IotaLogoWeb.tsx +29 -0
- package/src/Key.tsx +23 -0
- package/src/Ledger.tsx +20 -0
- package/src/LightMode.tsx +27 -0
- package/src/Link.tsx +20 -0
- package/src/ListViewLarge.tsx +20 -0
- package/src/ListViewMedium.tsx +26 -0
- package/src/ListViewSmall.tsx +20 -0
- package/src/Loader.tsx +22 -0
- package/src/LockLocked.tsx +22 -0
- package/src/LockUnlocked.tsx +22 -0
- package/src/Logout.tsx +24 -0
- package/src/MenuIcon.tsx +20 -0
- package/src/Migration.tsx +24 -0
- package/src/MoreHoriz.tsx +20 -0
- package/src/MoreVert.tsx +20 -0
- package/src/OutboundLink.tsx +24 -0
- package/src/Pause.tsx +20 -0
- package/src/Person.tsx +22 -0
- package/src/Pined.tsx +17 -0
- package/src/PlaceholderReplace.tsx +26 -0
- package/src/Play.tsx +20 -0
- package/src/QrCode.tsx +26 -0
- package/src/RadioOff.tsx +20 -0
- package/src/RadioOn.tsx +21 -0
- package/src/RecognizedBadge.tsx +22 -0
- package/src/Save.tsx +22 -0
- package/src/Search.tsx +22 -0
- package/src/Seed.tsx +20 -0
- package/src/Send.tsx +22 -0
- package/src/Settings.tsx +22 -0
- package/src/SortByDefault.tsx +20 -0
- package/src/SortByDown.tsx +20 -0
- package/src/SortByUp.tsx +20 -0
- package/src/Stake.tsx +22 -0
- package/src/StarHex.tsx +26 -0
- package/src/SwapAccount.tsx +20 -0
- package/src/ThumbUp.tsx +20 -0
- package/src/Tokens.tsx +22 -0
- package/src/TriangleDown.tsx +20 -0
- package/src/TriangleLeft.tsx +20 -0
- package/src/TriangleRight.tsx +20 -0
- package/src/TriangleUp.tsx +20 -0
- package/src/Unpined.tsx +20 -0
- package/src/Unstake.tsx +27 -0
- package/src/Vest.tsx +26 -0
- package/src/Vesting.tsx +49 -0
- package/src/VisibilityOff.tsx +26 -0
- package/src/VisibilityOn.tsx +23 -0
- package/src/Warning.tsx +22 -0
- package/src/index.ts +92 -0
- package/svgrrc.config.js +51 -0
- package/svgs/activity.svg +4 -0
- package/svgs/add.svg +3 -0
- package/svgs/apps.svg +5 -0
- package/svgs/arrow_back.svg +3 -0
- package/svgs/arrow_bottom_left.svg +3 -0
- package/svgs/arrow_down.svg +3 -0
- package/svgs/arrow_forward.svg +3 -0
- package/svgs/arrow_left.svg +3 -0
- package/svgs/arrow_right.svg +3 -0
- package/svgs/arrow_top_right.svg +3 -0
- package/svgs/arrow_up.svg +3 -0
- package/svgs/assets.svg +3 -0
- package/svgs/calendar.svg +4 -0
- package/svgs/checkmark.svg +3 -0
- package/svgs/checkmark_filled.svg +3 -0
- package/svgs/circle_emitter.svg +4 -0
- package/svgs/clock.svg +3 -0
- package/svgs/close.svg +3 -0
- package/svgs/copy.svg +5 -0
- package/svgs/create.svg +4 -0
- package/svgs/dark_mode.svg +3 -0
- package/svgs/dash.svg +3 -0
- package/svgs/data_stack.svg +5 -0
- package/svgs/delete.svg +3 -0
- package/svgs/disconnect .svg +3 -0
- package/svgs/double_arrow_left.svg +4 -0
- package/svgs/double_arrow_right.svg +4 -0
- package/svgs/edit.svg +3 -0
- package/svgs/exclamation.svg +3 -0
- package/svgs/export.svg +4 -0
- package/svgs/filter_list.svg +3 -0
- package/svgs/flag.svg +3 -0
- package/svgs/globe.svg +3 -0
- package/svgs/handler.svg +3 -0
- package/svgs/home.svg +4 -0
- package/svgs/image_icon.svg +4 -0
- package/svgs/import_pass.svg +4 -0
- package/svgs/info.svg +3 -0
- package/svgs/iota-logo-web.svg +190 -0
- package/svgs/iota_logo_mark.svg +3 -0
- package/svgs/iota_logo_small.svg +3 -0
- package/svgs/iota_logo_web.svg +11 -0
- package/svgs/key.svg +4 -0
- package/svgs/ledger.svg +3 -0
- package/svgs/light_mode.svg +5 -0
- package/svgs/link.svg +3 -0
- package/svgs/list_view_large.svg +3 -0
- package/svgs/list_view_medium.svg +4 -0
- package/svgs/list_view_small.svg +3 -0
- package/svgs/loader.svg +3 -0
- package/svgs/lock_locked.svg +3 -0
- package/svgs/lock_unlocked.svg +3 -0
- package/svgs/logout.svg +4 -0
- package/svgs/menu_icon.svg +3 -0
- package/svgs/migration.svg +4 -0
- package/svgs/more_horiz.svg +3 -0
- package/svgs/more_vert.svg +3 -0
- package/svgs/outbound_link.svg +4 -0
- package/svgs/pause.svg +3 -0
- package/svgs/person.svg +3 -0
- package/svgs/pined.svg +3 -0
- package/svgs/placeholder_replace.svg +4 -0
- package/svgs/play.svg +3 -0
- package/svgs/qr_code.svg +4 -0
- package/svgs/radio_off.svg +3 -0
- package/svgs/radio_on.svg +4 -0
- package/svgs/recognized_badge.svg +3 -0
- package/svgs/save.svg +3 -0
- package/svgs/search.svg +3 -0
- package/svgs/seed.svg +3 -0
- package/svgs/send.svg +3 -0
- package/svgs/settings.svg +3 -0
- package/svgs/sort_by_default.svg +3 -0
- package/svgs/sort_by_down.svg +3 -0
- package/svgs/sort_by_up.svg +3 -0
- package/svgs/stake.svg +5 -0
- package/svgs/star_hex.svg +8 -0
- package/svgs/swap_account.svg +3 -0
- package/svgs/thumb_up.svg +3 -0
- package/svgs/tokens.svg +3 -0
- package/svgs/triangle_down.svg +3 -0
- package/svgs/triangle_left.svg +3 -0
- package/svgs/triangle_right.svg +3 -0
- package/svgs/triangle_up.svg +3 -0
- package/svgs/unpined.svg +3 -0
- package/svgs/unstake.svg +5 -0
- package/svgs/vest.svg +4 -0
- package/svgs/vesting.svg +11 -0
- package/svgs/visibility_off.svg +4 -0
- package/svgs/visibility_on.svg +4 -0
- package/svgs/warning.svg +3 -0
- package/tsconfig.json +14 -0
package/src/Send.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgSend(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="m12.013 21.389-2.664-6.717-6.718-2.664c-.848-.337-.84-1.541.014-1.865l16.018-6.076c.806-.305 1.596.484 1.29 1.29l-6.076 16.018c-.324.854-1.528.863-1.864.014m-3.069-9.03 4.091-2.045a.5.5 0 0 1 .671.67l-2.045 4.092 1.26 3.18 4.374-11.53-11.53 4.373z"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
package/src/Settings.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgSettings(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="M11.07 2c-.635 0-1.184.411-1.316.987l-.132.573c-.194.843-.872 1.508-1.677 1.941-.808.435-1.76.64-2.65.374l-.604-.182c-.604-.182-1.264.053-1.581.562l-.93 1.49c-.317.51-.207 1.155.265 1.55l.53.44c.67.559.948 1.4.948 2.234 0 .867-.285 1.743-.982 2.323l-.496.414c-.472.394-.582 1.04-.265 1.549l.93 1.49c.317.51.977.744 1.581.562l.711-.214c.86-.258 1.781-.064 2.564.354.785.42 1.444 1.069 1.633 1.89l.155.676c.132.576.681.987 1.317.987h1.858c.636 0 1.185-.411 1.317-.987l.155-.676c.19-.821.848-1.47 1.633-1.89.782-.418 1.704-.612 2.563-.354l.712.214c.604.182 1.264-.052 1.581-.562l.93-1.49c.317-.51.207-1.155-.265-1.549l-.497-.414c-.696-.58-.982-1.456-.982-2.323 0-.835.28-1.675.95-2.233l.529-.442c.472-.394.582-1.04.265-1.549l-.93-1.49c-.317-.51-.977-.744-1.581-.562l-.604.182c-.89.267-1.843.061-2.65-.374-.805-.433-1.484-1.098-1.678-1.941l-.131-.573C14.113 2.41 13.565 2 12.929 2zm-3.109 9.969C7.961 9.904 9.77 8 12 8s4.038 1.904 4.038 3.969S14.23 16 12 16s-4.039-1.967-4.039-4.031"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgSortByDefault(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L12 6.414 8.707 9.707a1 1 0 0 1-1.414-1.414zm0 15.414a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L12 17.586l-3.293-3.293a1 1 0 0 0-1.414 1.414z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgSortByDown(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M12 6a1 1 0 0 0-1 1v9.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L13 16.586V7a1 1 0 0 0-1-1"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/SortByUp.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgSortByUp(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L13 7.414V17a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414-1.414z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/Stake.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgStake(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="M9.707 4.05a7 7 0 1 1 9.9 9.9l-6.115 6.076a7 7 0 0 1-9.829-9.899zm1.414 1.414a5 5 0 0 0-1.114 1.694l.005.012-.011.005a5.001 5.001 0 1 0 1.12-1.71m-3.947 4.539.01-.004-.005-.01a5 5 0 0 1 .478-.918 6.98 6.98 0 0 0 2.05 4.879A6.98 6.98 0 0 0 14.585 16a5 5 0 0 1-7.411-5.997M4.829 11.9a5 5 0 0 0 6.928 6.928A7 7 0 0 1 4.83 11.9"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
package/src/StarHex.tsx
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgStarHex(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
viewBox="0 0 24 24"
|
|
11
|
+
fill="none"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
d="M12.1819 6.39866C12.1108 6.24274 11.8892 6.24274 11.8181 6.39866L10.3647 9.58199C10.3356 9.64577 10.2752 9.68964 10.2055 9.69763L6.72887 10.0962C6.55859 10.1157 6.49014 10.3264 6.61643 10.4422L9.19484 12.8082C9.24649 12.8556 9.26956 12.9266 9.25563 12.9953L8.56033 16.4249C8.52627 16.5929 8.70547 16.7231 8.8547 16.6388L11.9016 14.9177C11.9627 14.8832 12.0373 14.8832 12.0984 14.9177L15.1453 16.6388C15.2945 16.7231 15.4737 16.5929 15.4397 16.4249L14.7444 12.9953C14.7304 12.9266 14.7535 12.8556 14.8052 12.8082L17.3836 10.4422C17.5099 10.3264 17.4414 10.1157 17.2711 10.0962L13.7945 9.69763C13.7248 9.68964 13.6644 9.64577 13.6353 9.58199L12.1819 6.39866Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M13.4569 1.66561C12.5509 1.16224 11.4491 1.16224 10.5431 1.66561L3.54307 5.5545C2.59068 6.08361 2 7.08747 2 8.17697V15.8234C2 16.9129 2.59068 17.9167 3.54307 18.4458L10.5431 22.3347C11.4491 22.8381 12.5509 22.8381 13.4569 22.3347L20.4569 18.4458C21.4093 17.9167 22 16.9129 22 15.8234V8.17697C22 7.08747 21.4093 6.08361 20.4569 5.5545L13.4569 1.66561ZM11.5144 3.41393C11.8164 3.24614 12.1836 3.24614 12.4856 3.41393L19.4856 7.30282C19.8031 7.47919 20 7.81381 20 8.17697V15.8234C20 16.1865 19.8031 16.5211 19.4856 16.6975L12.4856 20.5864C12.1836 20.7542 11.8164 20.7542 11.5144 20.5864L4.51436 16.6975C4.19689 16.5211 4 16.1865 4 15.8234V8.17697C4 7.81381 4.19689 7.47919 4.51436 7.30282L11.5144 3.41393Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgSwapAccount(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M10.707 4.707a1 1 0 0 0-1.414-1.414L4.301 8.285A1 1 0 0 0 4 9a1 1 0 0 0 .383.787c.17.134.384.213.617.213h14a1 1 0 1 0 0-2H7.414zM4 16a1 1 0 0 1 1-1h14a1 1 0 0 1 .876.518 1 1 0 0 1-.08 1.086 1 1 0 0 1-.097.111l-4.992 4.992a1 1 0 0 1-1.414-1.414L16.586 17H5a1 1 0 0 1-1-1"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/ThumbUp.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgThumbUp(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M17.476 19h-6.333c-1.5 0-2.714-1.193-2.714-2.664v-5.02c0-1.335.54-2.614 1.5-3.557L15.5 3.5s.514.144 1.138.757q.159.155.26.421.102.267.102.511v.31l-2 3.733h5.19q.724 0 1.267.533T22 11.008v1.776a1.8 1.8 0 0 1-.136.666l-2.714 4.484a1.8 1.8 0 0 1-.679.755 1.8 1.8 0 0 1-.995.31ZM4.81 9.232c.999 0 1.809.795 1.809 1.776v6.216c0 .98-.81 1.776-1.81 1.776C3.81 19 3 18.205 3 17.224v-6.216c0-.981.81-1.776 1.81-1.776"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/Tokens.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgTokens(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="M9.707 4.05a7 7 0 1 1 9.9 9.9l-6.115 6.076a7 7 0 0 1-9.829-9.899zm1.414 1.414a5 5 0 0 0-1.114 1.694l.005.012-.011.005a5.001 5.001 0 1 0 1.12-1.71Zm-3.947 4.539.01-.004-.005-.01a5 5 0 0 1 .478-.918 6.98 6.98 0 0 0 2.05 4.879A6.98 6.98 0 0 0 14.585 16a5 5 0 0 1-7.411-5.997M4.829 11.9a5 5 0 0 0 6.928 6.928A7 7 0 0 1 4.83 11.9Z"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgTriangleDown(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M17.35 9c.578 0 .867.681.459 1.08l-4.85 4.735a.66.66 0 0 1-.917 0l-4.85-4.735C6.781 9.68 7.071 9 7.648 9z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgTriangleLeft(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M14 7.15c0-.578-.681-.867-1.08-.459l-4.735 4.85a.66.66 0 0 0 0 .917l4.735 4.85c.399.41 1.08.12 1.08-.457z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgTriangleRight(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M10 7.15c0-.578.681-.867 1.08-.459l4.735 4.85a.66.66 0 0 1 0 .917l-4.735 4.85c-.399.41-1.08.12-1.08-.457z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgTriangleUp(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M7.65 15c-.578 0-.867-.681-.459-1.08l4.85-4.735a.66.66 0 0 1 .917 0l4.85 4.735c.41.399.12 1.08-.457 1.08z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/Unpined.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgUnpined(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M17 3v2h-1v8.175L7.825 5 7 4.175V3zm-5 20-1-1v-6H6v-2l2-2v-1.15L1.4 4.2l1.4-1.4 18.4 18.4-1.45 1.4-6.6-6.6H13v6z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/Unstake.tsx
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgUnstake(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="m19.607 13.95-1.464 1.455-1.747-1.716a5 5 0 1 0-6.39-6.53l.006.011-.011.005-.063.168-1.773-1.742 1.542-1.55a7 7 0 1 1 9.9 9.899"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fill="currentColor"
|
|
20
|
+
fillRule="evenodd"
|
|
21
|
+
d="M3.663 10.127 4.675 9.11l2.185 2.15a5 5 0 0 0 5.624 5.526l2.146 2.109-1.14 1.132a7 7 0 0 1-9.828-9.899ZM4.83 11.9a5 5 0 0 0 6.928 6.928A7 7 0 0 1 4.83 11.9"
|
|
22
|
+
clipRule="evenodd"
|
|
23
|
+
/>
|
|
24
|
+
<path fill="currentColor" d="M19.086 21.414 2 4.414 3.414 3 20.5 20z" />
|
|
25
|
+
</svg>
|
|
26
|
+
);
|
|
27
|
+
}
|
package/src/Vest.tsx
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgVest(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="M7.708 6.293a3 3 0 1 0-1.414 1.414l1.534 1.536a5 5 0 0 0 6.929 6.929l1.535 1.535a3 3 0 1 0 1.414-1.414l-1.534-1.536a5 5 0 0 0-6.929-6.929zM4 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m8 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6m7 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
fill="currentColor"
|
|
22
|
+
d="M19 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4M7 19a2 2 0 1 1-4 0 2 2 0 0 1 4 0"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
}
|
package/src/Vesting.tsx
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgVesting(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
stroke="currentColor"
|
|
16
|
+
strokeLinecap="round"
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d="M20 13V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4"
|
|
19
|
+
/>
|
|
20
|
+
<path fill="currentColor" d="M4 5h16v3H4z" />
|
|
21
|
+
<rect width={4} height={2} x={7} y={10} fill="currentColor" rx={1} />
|
|
22
|
+
<rect
|
|
23
|
+
width={4}
|
|
24
|
+
height={2}
|
|
25
|
+
x={9}
|
|
26
|
+
y={2}
|
|
27
|
+
fill="currentColor"
|
|
28
|
+
rx={1}
|
|
29
|
+
transform="rotate(90 9 2)"
|
|
30
|
+
/>
|
|
31
|
+
<rect
|
|
32
|
+
width={4}
|
|
33
|
+
height={2}
|
|
34
|
+
x={17}
|
|
35
|
+
y={2}
|
|
36
|
+
fill="currentColor"
|
|
37
|
+
rx={1}
|
|
38
|
+
transform="rotate(90 17 2)"
|
|
39
|
+
/>
|
|
40
|
+
<circle cx={16} cy={19} r={4} fill="currentColor" />
|
|
41
|
+
<path
|
|
42
|
+
stroke="currentColor"
|
|
43
|
+
strokeLinecap="round"
|
|
44
|
+
strokeWidth={2}
|
|
45
|
+
d="M17 19a3 3 0 1 0 .102-.776"
|
|
46
|
+
/>
|
|
47
|
+
</svg>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgVisibilityOff(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="M18.72 6.695a1 1 0 1 0-1.44-1.39l-1.518 1.572C14.601 6.348 13.331 6 12 6 8.739 6 5.843 8.092 4.017 9.805c-1.29 1.212-1.29 3.178 0 4.39a18 18 0 0 0 2.666 2.083l-1.695 1.755a1 1 0 0 0 1.438 1.39zM8.67 14.219l5.431-5.623a4 4 0 0 0-5.43 5.623"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
fill="currentColor"
|
|
22
|
+
d="M16 12a4 4 0 0 1-3.975 4l-1.749 1.81c.56.122 1.136.19 1.724.19 3.26 0 6.157-2.092 7.983-3.805 1.29-1.212 1.29-3.178 0-4.39a20 20 0 0 0-1.071-.936l-2.914 3.017z"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgVisibilityOn(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path fill="currentColor" d="M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4" />
|
|
15
|
+
<path
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
fillRule="evenodd"
|
|
18
|
+
d="M19.983 9.805c1.29 1.212 1.29 3.178 0 4.39C18.157 15.908 15.26 18 12 18s-6.157-2.092-7.983-3.805c-1.29-1.212-1.29-3.178 0-4.39C5.843 8.092 8.74 6 12 6s6.157 2.092 7.983 3.805M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0"
|
|
19
|
+
clipRule="evenodd"
|
|
20
|
+
/>
|
|
21
|
+
</svg>
|
|
22
|
+
);
|
|
23
|
+
}
|
package/src/Warning.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
export default function SvgWarning(props: SVGProps<SVGSVGElement>) {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
width="1em"
|
|
9
|
+
height="1em"
|
|
10
|
+
fill="none"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillRule="evenodd"
|
|
17
|
+
d="M13.732 3c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.732-3zM12 17.8a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4m-1.2-9.6a1.2 1.2 0 0 1 2.4 0v3.6a1.2 1.2 0 0 1-2.4 0z"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
export { default as Activity } from './Activity';
|
|
4
|
+
export { default as Add } from './Add';
|
|
5
|
+
export { default as Apps } from './Apps';
|
|
6
|
+
export { default as ArrowBack } from './ArrowBack';
|
|
7
|
+
export { default as ArrowBottomLeft } from './ArrowBottomLeft';
|
|
8
|
+
export { default as ArrowDown } from './ArrowDown';
|
|
9
|
+
export { default as ArrowForward } from './ArrowForward';
|
|
10
|
+
export { default as ArrowLeft } from './ArrowLeft';
|
|
11
|
+
export { default as ArrowRight } from './ArrowRight';
|
|
12
|
+
export { default as ArrowTopRight } from './ArrowTopRight';
|
|
13
|
+
export { default as ArrowUp } from './ArrowUp';
|
|
14
|
+
export { default as Assets } from './Assets';
|
|
15
|
+
export { default as Calendar } from './Calendar';
|
|
16
|
+
export { default as Checkmark } from './Checkmark';
|
|
17
|
+
export { default as CheckmarkFilled } from './CheckmarkFilled';
|
|
18
|
+
export { default as CircleEmitter } from './CircleEmitter';
|
|
19
|
+
export { default as Clock } from './Clock';
|
|
20
|
+
export { default as Close } from './Close';
|
|
21
|
+
export { default as Copy } from './Copy';
|
|
22
|
+
export { default as Create } from './Create';
|
|
23
|
+
export { default as DarkMode } from './DarkMode';
|
|
24
|
+
export { default as Dash } from './Dash';
|
|
25
|
+
export { default as DataStack } from './DataStack';
|
|
26
|
+
export { default as Delete } from './Delete';
|
|
27
|
+
export { default as Disconnect } from './Disconnect';
|
|
28
|
+
export { default as DoubleArrowLeft } from './DoubleArrowLeft';
|
|
29
|
+
export { default as DoubleArrowRight } from './DoubleArrowRight';
|
|
30
|
+
export { default as Edit } from './Edit';
|
|
31
|
+
export { default as Exclamation } from './Exclamation';
|
|
32
|
+
export { default as Export } from './Export';
|
|
33
|
+
export { default as FilterList } from './FilterList';
|
|
34
|
+
export { default as Flag } from './Flag';
|
|
35
|
+
export { default as Globe } from './Globe';
|
|
36
|
+
export { default as Handler } from './Handler';
|
|
37
|
+
export { default as Home } from './Home';
|
|
38
|
+
export { default as ImageIcon } from './ImageIcon';
|
|
39
|
+
export { default as ImportPass } from './ImportPass';
|
|
40
|
+
export { default as Info } from './Info';
|
|
41
|
+
export { default as IotaLogoMark } from './IotaLogoMark';
|
|
42
|
+
export { default as IotaLogoSmall } from './IotaLogoSmall';
|
|
43
|
+
export { default as IotaLogoWeb } from './IotaLogoWeb';
|
|
44
|
+
export { default as Key } from './Key';
|
|
45
|
+
export { default as Ledger } from './Ledger';
|
|
46
|
+
export { default as LightMode } from './LightMode';
|
|
47
|
+
export { default as Link } from './Link';
|
|
48
|
+
export { default as ListViewLarge } from './ListViewLarge';
|
|
49
|
+
export { default as ListViewMedium } from './ListViewMedium';
|
|
50
|
+
export { default as ListViewSmall } from './ListViewSmall';
|
|
51
|
+
export { default as Loader } from './Loader';
|
|
52
|
+
export { default as LockLocked } from './LockLocked';
|
|
53
|
+
export { default as LockUnlocked } from './LockUnlocked';
|
|
54
|
+
export { default as Logout } from './Logout';
|
|
55
|
+
export { default as MenuIcon } from './MenuIcon';
|
|
56
|
+
export { default as Migration } from './Migration';
|
|
57
|
+
export { default as MoreHoriz } from './MoreHoriz';
|
|
58
|
+
export { default as MoreVert } from './MoreVert';
|
|
59
|
+
export { default as OutboundLink } from './OutboundLink';
|
|
60
|
+
export { default as Pause } from './Pause';
|
|
61
|
+
export { default as Person } from './Person';
|
|
62
|
+
export { default as Pined } from './Pined';
|
|
63
|
+
export { default as PlaceholderReplace } from './PlaceholderReplace';
|
|
64
|
+
export { default as Play } from './Play';
|
|
65
|
+
export { default as QrCode } from './QrCode';
|
|
66
|
+
export { default as RadioOff } from './RadioOff';
|
|
67
|
+
export { default as RadioOn } from './RadioOn';
|
|
68
|
+
export { default as RecognizedBadge } from './RecognizedBadge';
|
|
69
|
+
export { default as Save } from './Save';
|
|
70
|
+
export { default as Search } from './Search';
|
|
71
|
+
export { default as Seed } from './Seed';
|
|
72
|
+
export { default as Send } from './Send';
|
|
73
|
+
export { default as Settings } from './Settings';
|
|
74
|
+
export { default as SortByDefault } from './SortByDefault';
|
|
75
|
+
export { default as SortByDown } from './SortByDown';
|
|
76
|
+
export { default as SortByUp } from './SortByUp';
|
|
77
|
+
export { default as Stake } from './Stake';
|
|
78
|
+
export { default as StarHex } from './StarHex';
|
|
79
|
+
export { default as SwapAccount } from './SwapAccount';
|
|
80
|
+
export { default as ThumbUp } from './ThumbUp';
|
|
81
|
+
export { default as Tokens } from './Tokens';
|
|
82
|
+
export { default as TriangleDown } from './TriangleDown';
|
|
83
|
+
export { default as TriangleLeft } from './TriangleLeft';
|
|
84
|
+
export { default as TriangleRight } from './TriangleRight';
|
|
85
|
+
export { default as TriangleUp } from './TriangleUp';
|
|
86
|
+
export { default as Unpined } from './Unpined';
|
|
87
|
+
export { default as Unstake } from './Unstake';
|
|
88
|
+
export { default as Vest } from './Vest';
|
|
89
|
+
export { default as Vesting } from './Vesting';
|
|
90
|
+
export { default as VisibilityOff } from './VisibilityOff';
|
|
91
|
+
export { default as VisibilityOn } from './VisibilityOn';
|
|
92
|
+
export { default as Warning } from './Warning';
|
package/svgrrc.config.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
|
|
3
|
+
const COPYRIGHT = `
|
|
4
|
+
// Copyright (c) 2024 IOTA Stiftung
|
|
5
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
`;
|
|
7
|
+
|
|
8
|
+
/** @type {import('@svgr/core').Config} */
|
|
9
|
+
module.exports = {
|
|
10
|
+
// The default parser set by svgr is `babel`, which makes the import sorting plugin fail.
|
|
11
|
+
prettierConfig: {
|
|
12
|
+
parser: 'babel-ts',
|
|
13
|
+
},
|
|
14
|
+
icon: true,
|
|
15
|
+
typescript: true,
|
|
16
|
+
outDir: './src',
|
|
17
|
+
jsxRuntime: 'automatic',
|
|
18
|
+
replaceAttrValues: {
|
|
19
|
+
'#171D26': 'currentColor',
|
|
20
|
+
},
|
|
21
|
+
indexTemplate(filePaths) {
|
|
22
|
+
const exportEntries = filePaths.map((filePath) => {
|
|
23
|
+
const basename = path.basename(filePath, path.extname(filePath));
|
|
24
|
+
const exportName = /^\d/.test(basename) ? `Svg${basename}` : basename;
|
|
25
|
+
return `export { default as ${exportName} } from './${basename}'`;
|
|
26
|
+
});
|
|
27
|
+
return COPYRIGHT + exportEntries.join('\n');
|
|
28
|
+
},
|
|
29
|
+
template(variables, { tpl }) {
|
|
30
|
+
const template = tpl`
|
|
31
|
+
|
|
32
|
+
${variables.imports};
|
|
33
|
+
|
|
34
|
+
${variables.interfaces};
|
|
35
|
+
|
|
36
|
+
export default function ${variables.componentName}(${variables.props}) {
|
|
37
|
+
return (
|
|
38
|
+
${variables.jsx}
|
|
39
|
+
)
|
|
40
|
+
};
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
// Insert the copyright header, attached to the first node:
|
|
44
|
+
template[0].leadingComments = [
|
|
45
|
+
{ type: 'CommentLine', value: ' Copyright (c) 2024 IOTA Stiftung' },
|
|
46
|
+
{ type: 'CommentLine', value: ' SPDX-License-Identifier: Apache-2.0' },
|
|
47
|
+
];
|
|
48
|
+
|
|
49
|
+
return template;
|
|
50
|
+
},
|
|
51
|
+
};
|