diff --git a/crowdin/messages.json b/crowdin/messages.json index 94ac8ad2688..3abd207f303 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -1411,6 +1411,7 @@ "1345965490": "- lower than the entry price for a Reset Call contract, or", "1346204508": "Take profit", "1349080073": "Please enter only alphabetic characters", + "1349233664": "Ask", "1351421019": "Where can I trade Asian options?", "1353732907": "Refers to the currency pair or other product that can be traded.", "1354275546": "Hassle-free deposits and withdrawals", @@ -2084,6 +2085,7 @@ "1923836405": "Must be exactly 8 characters", "1923984982": "Flagship options, accumulators, & multipliers trading platform.", "1924997360": "[ { 10", + "1925182739": "Bid", "1925717346": "The point value is derivied from the current digits of the asset. In this example, the digit is 5, so the point value is 0.00001.", "1926519171": "Limit the amount of money you may trade within a specified period.", "1928776934": "Active traders", @@ -3219,6 +3221,7 @@ "-59312670": "10+ global payment methods. Deposit instantly starting from just USD 10. Withdraw in minutes.*", "-1753424574": "Best forex spreads APAC 2023 by UF Awards", "-573436898": "Trading for anyone. Anywhere. Anytime.", + "-137444201": "Buy", "-1884823136": "Top trading assets & unique market indices", "-1971867782": "See all forex pairs", "-1342250828": "<0>Virtual markets, real opportunities. Trade simulated markets, as volatile as you like.", @@ -4576,7 +4579,6 @@ "-1145023404": "<0>280,000", "-195404006": "Take profit pip value", "-1659122470": "Our profit and loss calculator for margin helps you to approximate your losses and/or gains.", - "-137444201": "Buy", "-213618448": "Stop loss pips", "-544680075": "Take profit pips", "-805098509": "Open price of asset", diff --git a/package-lock.json b/package-lock.json index f4951566c02..2e59581afa5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,8 @@ "dependencies": { "@artsy/fresnel": "^6.2.1", "@builder.io/partytown": "^0.8.1", - "@deriv-com/blocks": "^0.66.0", - "@deriv-com/components": "^0.37.0", + "@deriv-com/blocks": "^0.70.0", + "@deriv-com/components": "^0.41.0", "@deriv-com/hooks": "^0.10.0", "@deriv-com/providers": "^0.10.0", "@deriv/analytics": "^1.4.4", @@ -3009,14 +3009,14 @@ } }, "node_modules/@deriv-com/blocks": { - "version": "0.66.0", - "resolved": "https://npm.pkg.github.com/download/@deriv-com/blocks/0.66.0/1f7dbb4bb03dcf0f1fd4f6a5225dd1b9db069f10", - "integrity": "sha512-0w8eBFlEV72pmumTV9nHjcBpeym3gvgbbBq5XCNDCz025l5uDbjKx/V8gxw8jiRNvqfWsq0KpCxfZ3Knxpt7hw==" + "version": "0.70.0", + "resolved": "https://npm.pkg.github.com/download/@deriv-com/blocks/0.70.0/2e86661ea6ee95f14c5b3b84d5bf6bb3294d8625", + "integrity": "sha512-vkwAH78zFyEYr77STPRLItiRwM6bkZ1wIpCNBFxfukbJ51AFAgkRmk4EAOYoZj4qdbXxpUFvVWxhxAyu/v28ew==" }, "node_modules/@deriv-com/components": { - "version": "0.37.0", - "resolved": "https://npm.pkg.github.com/download/@deriv-com/components/0.37.0/6bc9cc289ed7471e58639e164dc3723dd091361d", - "integrity": "sha512-nPFy1cNaS66fzNko7AGPCm81qoi91KJEdF4rSXL+/HWHnlyCv9IxI02C6gGM52pd2OuaDRsFhzUM3V9dbFVw/A==" + "version": "0.41.0", + "resolved": "https://npm.pkg.github.com/download/@deriv-com/components/0.41.0/4b8b25f8cc65dab30f9a374587d593d3541366b0", + "integrity": "sha512-QrmcnrkrUsqZV81UP5mGhs7UuIu+mmcfGo+GM/nQXnqJWS5NPy0brAv9/NlyNGokyCE+1ZZM2PfBtrLWp1bLSg==" }, "node_modules/@deriv-com/hooks": { "version": "0.10.0", diff --git a/package.json b/package.json index 97ea7f8915b..e3e2858b1b1 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "dependencies": { "@artsy/fresnel": "^6.2.1", "@builder.io/partytown": "^0.8.1", - "@deriv-com/blocks": "^0.66.0", - "@deriv-com/components": "^0.37.0", + "@deriv-com/blocks": "^0.70.0", + "@deriv-com/components": "^0.41.0", "@deriv-com/hooks": "^0.10.0", "@deriv-com/providers": "^0.10.0", "@deriv/analytics": "^1.4.4", diff --git a/src/features/pages/home/live-pricing-migration/cards/index.tsx b/src/features/pages/home/live-pricing-migration/cards/index.tsx index 225d06eeabd..080e3d06e37 100644 --- a/src/features/pages/home/live-pricing-migration/cards/index.tsx +++ b/src/features/pages/home/live-pricing-migration/cards/index.tsx @@ -22,6 +22,7 @@ import { percentToDecimal, swiperOption } from '../utils' import { handleRedirectToTradersHub } from 'components/custom/utils' import useAuthCheck from 'components/hooks/use-auth-check' import useHandleSignup from 'components/hooks/use-handle-signup' +import { Localize } from 'components/localization' const IconsMapper = { AUDUSD: , @@ -67,8 +68,14 @@ const LiveMarketCard = ({ bidPrice: `${data[key].bid}`, askPrice: `${data[key].ask}`, spread: `${data[key].sprd}`, + mid: data[key].mid, onClickBuyButton: is_logged_in ? handleRedirectToTradersHub : handleSignup, onClickSellButton: is_logged_in ? handleRedirectToTradersHub : handleSignup, + bidContent: , + askContent: , + spreadContent: , + buyContent: , + sellContent: , })) }, [data, is_logged_in, handleSignup])