@rainlanguage/ui-components 0.0.1-alpha.66 → 0.0.1-alpha.68
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.
|
@@ -17,7 +17,11 @@ import OrderApy from "../tables/OrderAPY.svelte";
|
|
|
17
17
|
import { page } from "$app/stores";
|
|
18
18
|
import Refresh from "../icon/Refresh.svelte";
|
|
19
19
|
import { invalidateTanstackQueries } from "../../queries/queryClient";
|
|
20
|
-
import {
|
|
20
|
+
import {
|
|
21
|
+
ArrowDownToBracketOutline,
|
|
22
|
+
ArrowUpFromBracketOutline,
|
|
23
|
+
InfoCircleOutline
|
|
24
|
+
} from "flowbite-svelte-icons";
|
|
21
25
|
import { useAccount } from "../../providers/wallet/useAccount";
|
|
22
26
|
import {
|
|
23
27
|
getOrderByHash
|
|
@@ -134,7 +138,7 @@ $: subgraphName = $page.url.pathname.split("/")[2]?.split("-")[0];
|
|
|
134
138
|
data-testid="deposit-button"
|
|
135
139
|
on:click={() => onDeposit(vault)}
|
|
136
140
|
>
|
|
137
|
-
<
|
|
141
|
+
<ArrowDownToBracketOutline size="xs" />
|
|
138
142
|
</Button>
|
|
139
143
|
<Button
|
|
140
144
|
color="light"
|
|
@@ -142,7 +146,7 @@ $: subgraphName = $page.url.pathname.split("/")[2]?.split("-")[0];
|
|
|
142
146
|
data-testid="withdraw-button"
|
|
143
147
|
on:click={() => onWithdraw(vault)}
|
|
144
148
|
>
|
|
145
|
-
<
|
|
149
|
+
<ArrowUpFromBracketOutline size="xs" />
|
|
146
150
|
</Button>
|
|
147
151
|
</div>
|
|
148
152
|
{/if}
|
|
@@ -15,7 +15,7 @@ import Refresh from "../icon/Refresh.svelte";
|
|
|
15
15
|
import { invalidateTanstackQueries } from "../../queries/queryClient";
|
|
16
16
|
import { useAccount } from "../../providers/wallet/useAccount";
|
|
17
17
|
import { Button } from "flowbite-svelte";
|
|
18
|
-
import {
|
|
18
|
+
import { ArrowDownToBracketOutline, ArrowUpFromBracketOutline } from "flowbite-svelte-icons";
|
|
19
19
|
export let id;
|
|
20
20
|
export let network;
|
|
21
21
|
export let lightweightChartsTheme = void 0;
|
|
@@ -63,7 +63,7 @@ onDestroy(() => {
|
|
|
63
63
|
aria-label="Deposit to vault"
|
|
64
64
|
on:click={() => onDeposit(data)}
|
|
65
65
|
>
|
|
66
|
-
<
|
|
66
|
+
<ArrowDownToBracketOutline size="xs" />
|
|
67
67
|
</Button>
|
|
68
68
|
<Button
|
|
69
69
|
color="light"
|
|
@@ -72,7 +72,7 @@ onDestroy(() => {
|
|
|
72
72
|
aria-label="Withdraw from vault"
|
|
73
73
|
on:click={() => onWithdraw(data)}
|
|
74
74
|
>
|
|
75
|
-
<
|
|
75
|
+
<ArrowUpFromBracketOutline size="xs" />
|
|
76
76
|
</Button>
|
|
77
77
|
{/if}
|
|
78
78
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainlanguage/ui-components",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.68",
|
|
4
4
|
"description": "A component library for building Svelte applications to be used with Raindex.",
|
|
5
5
|
"license": "LicenseRef-DCL-1.0",
|
|
6
6
|
"author": "Rain Open Source Software Ltd",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@fontsource/dm-sans": "5.1.0",
|
|
54
54
|
"@imask/svelte": "7.6.1",
|
|
55
55
|
"@observablehq/plot": "0.6.16",
|
|
56
|
-
"@rainlanguage/orderbook": "0.0.1-alpha.
|
|
56
|
+
"@rainlanguage/orderbook": "0.0.1-alpha.68",
|
|
57
57
|
"@reown/appkit": "1.6.4",
|
|
58
58
|
"@reown/appkit-adapter-wagmi": "1.6.4",
|
|
59
59
|
"@sentry/sveltekit": "7.120.0",
|