-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add execution fee asset into settings * remove unnecessary * replace swap action form with operation form * remove old deps * fix ergo swap fees display * fix warnings * fix cardano swap info * fix OperationSettings.tsx * update ido notification * update deps and fix params * Spf modal (#739) * add amplitude and firstlaunch / session start events * update analytics * add events * update event * update analytics * add redeem close confirm / swap close confirm * fix after review * update ci * update request modal * add spf modal * add spf modal all states * add claim spf notification * update names & add polling & add request * some fixes * fix spf modal * update spf status view * fix modal styles * update filter fns * spf modal fixes * fix spf links * remove claim button from mobile devices * new spf button logic * some fixes * add polling to reward * add polling disabling on last stage * ClaimSpfButton.tsx * update paddings * spf design fixes * fix spf screens * fix notification z-index * fix build analytics methods * update urls and comment amplitude analytics * update version * remove ido notification --------- Co-authored-by: deadit <stdeadit@gmail.com> * update spf id * fix nothing to claim state links * add to variable to CurrencyConverter.ts * enable cardano update screen * update version * Update links to pp and tos (#740) * update links * fix claim spf styles --------- Co-authored-by: ridel1e <ridellee@gmail.com> * update cardano sdk and remove and remove cardano update page * fix CurrencyConverter.ts * remove old files * add new ergo execution * fix swap info content * update confirmations * add swap validators * update libs and rename pool actions * fix warnings * add walletSwap switch * add swap operation * fix cardano swap info * fix cardano swap validators * add remove liquidity fee switcher * switch logger * add spf fee remove liquidity * fix warnings * fix fees order * remove old redeem validator fee * add validators to cardano network * add deposit validators * add native deposit max button click * fix warnings and add maxLiquidity spf button * add deposit operation switcher * fix streams * add spf deposit operation * add PoolInfoView * add farms to positions * add locked liquidity chart * remove trash * some pool overview update * update positions request * update some constants * fix lock liquidity not enough data state * update ergo-dex-sdk * update price history styles and fix warnings --------- Co-authored-by: deadit <stdeadit@gmail.com> Co-authored-by: yb <43601702+yasha-black@users.noreply.github.com>
- Loading branch information
1 parent
a30997d
commit cbe83e8
Showing
37 changed files
with
1,185 additions
and
564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Flex } from '@ergolabs/ui-kit'; | ||
import React, { FC, ReactNode } from 'react'; | ||
|
||
export interface InlineGridItemProps { | ||
readonly title: ReactNode | ReactNode[] | string; | ||
readonly value: ReactNode | ReactNode[] | string; | ||
} | ||
|
||
const InlineGridItem: FC<InlineGridItemProps> = ({ title, value }) => ( | ||
<Flex align="center"> | ||
<Flex.Item flex={1}>{title}</Flex.Item> | ||
<Flex.Item>{value}</Flex.Item> | ||
</Flex> | ||
); | ||
|
||
export interface InlineGridProps { | ||
readonly gap?: number; | ||
readonly children?: ReactNode | ReactNode[] | string; | ||
} | ||
|
||
export const InlineGrid: FC<InlineGridProps> & { | ||
Item: FC<InlineGridItemProps>; | ||
} = ({ gap, children }) => { | ||
return ( | ||
<Flex col gap={gap}> | ||
{children} | ||
</Flex> | ||
); | ||
}; | ||
|
||
InlineGrid.Item = InlineGridItem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Box, BoxProps, Flex } from '@ergolabs/ui-kit'; | ||
import React, { FC, ReactNode } from 'react'; | ||
|
||
export interface TitledBoxProps extends BoxProps { | ||
readonly title?: ReactNode | ReactNode[] | string; | ||
readonly titleGap?: number; | ||
readonly subtitle?: ReactNode | ReactNode[] | string; | ||
readonly subtitleGap?: number; | ||
} | ||
|
||
export const TitledBox: FC<TitledBoxProps> = ({ | ||
titleGap, | ||
title, | ||
subtitleGap, | ||
subtitle, | ||
width, | ||
...rest | ||
}) => { | ||
return ( | ||
<Flex col width={width}> | ||
{title && <Flex.Item marginBottom={titleGap}>{title}</Flex.Item>} | ||
{subtitle && <Flex.Item marginBottom={subtitleGap}>{subtitle}</Flex.Item>} | ||
<Box width={width} {...rest} /> | ||
</Flex> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.