From 5a979632e7876b8ec553bea10717c06ea9b62f3c Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Mon, 31 Jan 2022 12:03:21 +0100 Subject: [PATCH 1/4] style: Adjust EthHashInfo name font weight --- src/ethereum/EthHashInfo/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ethereum/EthHashInfo/index.tsx b/src/ethereum/EthHashInfo/index.tsx index 547bee7e..d90f8c7e 100644 --- a/src/ethereum/EthHashInfo/index.tsx +++ b/src/ethereum/EthHashInfo/index.tsx @@ -125,7 +125,7 @@ const EthHashInfo = ({ {name && ( - + {name} )} From 388c2df691c3848d16d6292c87cc0120feba10c0 Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Mon, 31 Jan 2022 12:29:46 +0100 Subject: [PATCH 2/4] fix: Add bold name prop to EthHashInfo --- src/ethereum/EthHashInfo/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ethereum/EthHashInfo/index.tsx b/src/ethereum/EthHashInfo/index.tsx index d90f8c7e..45f3075f 100644 --- a/src/ethereum/EthHashInfo/index.tsx +++ b/src/ethereum/EthHashInfo/index.tsx @@ -47,6 +47,7 @@ type Props = { showHash?: boolean; shortenHash?: number; name?: string; + boldName?: boolean; textColor?: ThemeColors; textSize?: ThemeTextSize; showAvatar?: boolean; @@ -81,6 +82,7 @@ const EthHashInfo = ({ hash, showHash = true, name, + boldName = false, textColor = 'text', textSize = 'lg', className, @@ -125,7 +127,7 @@ const EthHashInfo = ({ {name && ( - + {name} )} From 1f954051dbd86f5f2778797be0d46b1c8edb844c Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Mon, 31 Jan 2022 12:34:38 +0100 Subject: [PATCH 3/4] refactor: Rename boldName prop --- src/ethereum/EthHashInfo/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ethereum/EthHashInfo/index.tsx b/src/ethereum/EthHashInfo/index.tsx index 45f3075f..0f62e52f 100644 --- a/src/ethereum/EthHashInfo/index.tsx +++ b/src/ethereum/EthHashInfo/index.tsx @@ -47,7 +47,7 @@ type Props = { showHash?: boolean; shortenHash?: number; name?: string; - boldName?: boolean; + strongName?: boolean; textColor?: ThemeColors; textSize?: ThemeTextSize; showAvatar?: boolean; @@ -82,7 +82,7 @@ const EthHashInfo = ({ hash, showHash = true, name, - boldName = false, + strongName = false, textColor = 'text', textSize = 'lg', className, @@ -127,7 +127,7 @@ const EthHashInfo = ({ {name && ( - + {name} )} From 53eae975cbf6ec5bc97e7cde17f6aa1bb992ce73 Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Mon, 31 Jan 2022 12:44:25 +0100 Subject: [PATCH 4/4] chore: Increase version number --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4a51fb02..2d763a16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gnosis.pm/safe-react-components", - "version": "0.9.6", + "version": "0.9.7", "description": "Gnosis UI components", "main": "dist/index.min.js", "typings": "dist/index.d.ts",