Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
fix: update quill-design version and remove classes not required
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 16, 2023
1 parent b66fc4a commit fd3c128
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 21 deletions.
5 changes: 1 addition & 4 deletions libs/blocks/src/lib/navigation/desktop/desktop.nav-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ export const DesktopNavItem: React.FC<DesktopNavItemProps> = ({
{item.text}
</CustomLink>
) : (
<Text
size="sm"
className="cursor-pointer text-typography-default hover:text-typography-link"
>
<Text size="sm" className="cursor-pointer hover:text-typography-link">
{item.text}
</Text>
)}
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/navigation/desktop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DesktopNavigation = ({ renderButtons, renderLogo }: NavigationProps) => {
width={24}
height={16}
/>
<Text className="inline-block text-typography-default">EN</Text>
<Text className="inline-block">EN</Text>
</div>
</div>
</nav>
Expand Down
4 changes: 1 addition & 3 deletions libs/blocks/src/lib/navigation/mobile/mobile.languages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ export const MobileLanguages = () => {
<div className="border-t-xs border-opacity-black-100 pt-general-md">
<div className="flex items-center gap-gap-md py-general-sm">
<FlagUnitedKingdomIcon width={24} height={16} />
<Text bold className="text-typography-default">
English
</Text>
<Text bold>English</Text>
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/navigation/mobile/mobile.nav-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const MobileNavList = () => {
<li key={navItemName} className="py-general-sm">
<Text
size="md"
className="cursor-pointer text-typography-default"
className="cursor-pointer"
bold
onClick={() => {
setActiveMenu?.(navItemName);
Expand Down
8 changes: 1 addition & 7 deletions libs/blocks/src/lib/navigation/navigation.link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@ export const NavigationLink: React.FC<NavigationLinkProps> = ({
>
{item.icon ? item.icon : null}
{item.text}
<Text
size="sm"
className={qtJoin(
'text-typography-default',
item.icon && 'col-start-2',
)}
>
<Text size="sm" className={qtJoin(item.icon && 'col-start-2')}>
{item.description}
</Text>
</CustomLink>
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"private": true,
"dependencies": {
"@deriv/quill-design": "^1.1.8",
"@deriv/quill-design": "^1.1.11",
"@deriv/quill-icons": "^1.0.10",
"@nx/next": "16.8.1",
"@react-hook/window-size": "^3.1.1",
Expand Down

0 comments on commit fd3c128

Please sign in to comment.