Skip to content

Commit

Permalink
Merge pull request #459 from tzConnectBerlin/release/0.5.1
Browse files Browse the repository at this point in the history
chore: release 0.5.1
  • Loading branch information
shekhar-shubhendu authored Aug 11, 2021
2 parents 5459b83 + 8847ef5 commit e7b6967
Show file tree
Hide file tree
Showing 22 changed files with 222 additions and 143 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prediction-market-ui",
"version": "0.5.0",
"version": "0.5.1",
"private": true,
"license": "MIT",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"result": "Result",
"question": "Question",
"enterQuestionIPFS": "Enter IPFS hash (CID) of the question",
"createQuestionPage": "Create a market",
"createQuestionPage": "Create Market",
"description": "Description",
"createBidPage": "Submit a bid",
"closeAuctionPage": "Close the auction",
Expand Down
16 changes: 8 additions & 8 deletions public/locales/en/create-market.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"title": "Create Market",
"formSubmit": "Create Market",
"formSubmitWallet": "Connect Wallet + Create Market",
"pageDescription": "Prediction markets offer the public the opportunity to contribute their opinion on upcoming events. Create your own by defining a few question parameters and providing initial liquidity.",
"tosCheckbox": "I confirm that I am creating a market and therefore am incurring required costs. <br/> By creating a market, I agree to the Terms and Conditions. <br/> I agree to close the market at the appropriate time.*",
"walletFlow": "You will be directed to your wallet to complete the creation of this market.<br/> You 'll need sufficient funds for the initial contribution and gas.<br/> Note that you have to confirm any transactions through your wallet.",
"pageDescription": "Create your own market by defining a few question parameters and providing initial liquidity. As a market creator, you’ll receive 20% of the accumulated rewards once the market has resolved.",
"tosCheckbox": "I confirm that I am creating a market and therefore am incurring required costs. I agree to the Terms and Conditions. I agree to close the market a the appropriate time.*",
"walletFlow": "You will be directed to your wallet to complete creating the market.<br/> Note that you’ll need sufficient funds for the initial contribution and gas.",
"formFields": {
"imageURL": {
"label": "Image URL",
Expand Down Expand Up @@ -39,12 +39,12 @@
"heading": "How long can seeders invest before the betting starts ?"
},
"initialBid": {
"label": "Probability of Yes Resolution",
"heading": "At what percentage do you think Yes votes will end at?",
"label": "Probability",
"heading": "Predicted probability of the market resolving to yes.",
"tooltip": "Predict the ending of this market: what percentage of bettors will vote for Yes ?"
},
"initialContribution": {
"label": "Quantity",
"label": "Initial Bet Amount",
"heading": "Minimum {{amount}} {{token}}."
}
},
Expand All @@ -54,8 +54,8 @@
"subtitle": "By opening up a market, you are creating an opportunity for the public to contribute their opinion on upcoming events—and potentially be rewarded for it. Get started by filling in the details below. "
},
"auctionPhase": {
"label": "Pre-Market Phase",
"subtitle": "Users can provide liquidity to the market during this phase, earning rewards once the market has resolved. As the market creator, you are the initial liquidity provider for your market."
"label": "Pre-Trading Phase",
"subtitle": "Users can provide liquidity to the market during this phase, setting the number of yes and no tokens in the pool by selecting a specific probability of the market resolving to yes. As the market creator, you are the initial liquidity provider for your market."
}
}
}
6 changes: 3 additions & 3 deletions public/locales/en/submit-bid.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"heading": "Submit Bid",
"submitConnected": "Submit Bid",
"submitDisconnected": "Connect Wallet + Submit Bid",
"heading": "Submit Bet",
"submitConnected": "Submit Bet",
"submitDisconnected": "Connect Wallet + Submit Bet",
"probability": "Probability",
"contribution": "Contribution",
"currentPosition": "Current Position",
Expand Down
1 change: 0 additions & 1 deletion src/assets/styles/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export const GlobalStyle = (theme: Theme): SerializedStyles => css`
opacity: 0.38;
}
& .label-asterisk {
vertical-align: sub;
line-height: 0;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/design-system/atoms/Identicon/Identicon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const StyledAvatar = styled(Avatar)`
}
&.xxl {
width: ${theme.spacing(10)};
height: ${theme.spacing(10)};
width: ${theme.spacing(9.625)};
height: ${theme.spacing(9.625)};
}
&.max {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ exports[`Snapshot testing Identicon Component renders correctly with Url 1`] = `
}
.emotion-0.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-0.max {
Expand Down Expand Up @@ -150,8 +150,8 @@ exports[`Snapshot testing Identicon Component renders correctly with seed 1`] =
}
.emotion-0.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-0.max {
Expand Down Expand Up @@ -239,8 +239,8 @@ exports[`Snapshot testing Identicon Component renders correctly with tzKtCat typ
}
.emotion-0.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-0.max {
Expand Down Expand Up @@ -328,8 +328,8 @@ exports[`Snapshot testing Identicon Component renders correctly with tzKtCat typ
}
.emotion-0.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-0.max {
Expand Down Expand Up @@ -419,8 +419,8 @@ exports[`Snapshot testing Identicon Component renders correctly without props 1`
}
.emotion-0.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-0.max {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports[`Snapshot testing CustomInputLabel Component renders correctly with defa
}
.emotion-2 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -74,8 +74,8 @@ exports[`Snapshot testing CustomInputLabel Component renders correctly with defa
.emotion-3 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down Expand Up @@ -147,7 +147,7 @@ exports[`Snapshot testing CustomInputLabel Component renders correctly with only
}
.emotion-2 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -183,8 +183,8 @@ exports[`Snapshot testing CustomInputLabel Component renders correctly with only
.emotion-3 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down Expand Up @@ -256,7 +256,7 @@ exports[`Snapshot testing CustomInputLabel Component renders correctly with tool
}
.emotion-2 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -292,8 +292,8 @@ exports[`Snapshot testing CustomInputLabel Component renders correctly with tool
.emotion-3 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ exports[`Snapshot - render FormikCheckBox renders correctly with default style 1
color: inherit;
padding: 9px;
border-radius: 50%;
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
}
.emotion-2::-moz-focus-inner {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ exports[`Snapshot - render FormikSlider renders correctly with default style 1`]
}
.emotion-3 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -148,8 +148,8 @@ exports[`Snapshot - render FormikSlider renders correctly with default style 1`]
.emotion-4 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exports[`Snapshot - render FormikTextField renders correctly in dropdown mode 1`
}
.emotion-3 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -93,8 +93,8 @@ exports[`Snapshot - render FormikTextField renders correctly in dropdown mode 1`
.emotion-4 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down Expand Up @@ -699,7 +699,7 @@ exports[`Snapshot - render FormikTextField renders correctly with default props
}
.emotion-3 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -738,8 +738,8 @@ exports[`Snapshot - render FormikTextField renders correctly with default props
.emotion-4 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down Expand Up @@ -1131,7 +1131,7 @@ exports[`Snapshot - render FormikTextField renders correctly with icon 1`] = `
}
.emotion-3 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
font-weight: 400;
font-size: 1rem;
line-height: 1.4375em;
Expand Down Expand Up @@ -1170,8 +1170,8 @@ exports[`Snapshot - render FormikTextField renders correctly with icon 1`] = `
.emotion-4 {
margin: 0;
font-weight: 400;
font-size: 1rem;
font-weight: 700;
font-size: 0.75rem;
line-height: 1.3;
font-family: Roboto Mono;
letter-spacing: 0.00938em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ exports[`Snapshot testing Header Component renders correctly LoggedIn 1`] = `
}
.emotion-7.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-7.max {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ exports[`Snapshot testing MarketCardContent Component renders correctly only sta
}
.emotion-4 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
padding: 0.2em;
}
Expand Down Expand Up @@ -351,7 +351,7 @@ exports[`Snapshot testing MarketCardContent Component renders correctly only tok
}
.emotion-3 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
padding: 0.2em;
}
Expand Down Expand Up @@ -598,7 +598,7 @@ exports[`Snapshot testing MarketCardContent Component renders correctly with Pro
}
.emotion-3 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
padding: 0.2em;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ exports[`Snapshot testing MarketCardHeader Component renders correctly with diff
}
.emotion-2.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-2.max {
Expand Down Expand Up @@ -367,8 +367,8 @@ exports[`Snapshot testing MarketCardHeader Component renders correctly with hash
}
.emotion-2.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-2.max {
Expand Down Expand Up @@ -650,8 +650,8 @@ exports[`Snapshot testing MarketCardHeader Component renders correctly with imag
}
.emotion-2.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-2.max {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ exports[`Snapshot testing MarketHeader Component renders correctly 1`] = `
}
.emotion-2.xxl {
width: 80px;
height: 80px;
width: 77px;
height: 77px;
}
.emotion-2.max {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ exports[`Snapshot testing MarketPosition Component renders correctly only tokenL
}
.emotion-4 {
color: rgba(29, 34, 39, 0.54);
color: rgba(29, 34, 39, 0.65);
padding: 0.2em;
}
Expand Down
Loading

1 comment on commit e7b6967

@vercel
Copy link

@vercel vercel bot commented on e7b6967 Aug 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.