diff --git a/package.json b/package.json index b1b9765b33..cefca37e89 100644 --- a/package.json +++ b/package.json @@ -135,6 +135,7 @@ "puppeteer": "^21.0.3", "stream-browserify": "^3.0.0", "swc-loader": "^0.2.3", + "tailwindcss-3d": "^1.0.0", "terser-webpack-plugin": "^5.3.9", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "^5.2.2", diff --git a/scripts/check-changed-translations.js b/scripts/check-changed-translations.js index afa6f26622..8607a0827b 100644 --- a/scripts/check-changed-translations.js +++ b/scripts/check-changed-translations.js @@ -18,7 +18,7 @@ function compareObjects(obj1, obj2, parentPath = "") { obj2[key], parentPath ? `${parentPath}.${key}` : key ); - } else if (obj1[key] !== obj2[key]) { + } else if (obj1[key] !== obj2[key] && obj2[key] !== undefined) { const title = `Translation source ${parentPath}.${key} has changed`; const message = `Consider running \`node scripts/remove-outdated-translations.js ${parentPath}.${key}\` to reset existing translations.`; console.log( diff --git a/src/app/components/Avatar/index.tsx b/src/app/components/Avatar/index.tsx index a53718a533..169c28789f 100644 --- a/src/app/components/Avatar/index.tsx +++ b/src/app/components/Avatar/index.tsx @@ -1,10 +1,12 @@ import { useEffect, useRef } from "react"; import { generateSvgGAvatar } from "~/app/components/Avatar/generator"; +import { classNames } from "~/app/utils"; type Props = { name: string; size: number; url?: string; + className?: string; }; const Avatar = (props: Props) => { @@ -20,6 +22,7 @@ const Avatar = (props: Props) => { const AvatarImage = (props: Props) => { return (
) => { return ( {accountLoading ? ( - + ) : ( -
+
{balancesDecorated.fiatBalance && ( <>~{balancesDecorated.fiatBalance} )} diff --git a/src/app/components/BudgetControl/index.tsx b/src/app/components/BudgetControl/index.tsx index 50a7ddd151..bf684228da 100644 --- a/src/app/components/BudgetControl/index.tsx +++ b/src/app/components/BudgetControl/index.tsx @@ -10,6 +10,7 @@ type Props = { budget: string; onBudgetChange: ChangeEventHandler; fiatAmount: string; + disabled?: boolean; }; function BudgetControl({ @@ -18,6 +19,7 @@ function BudgetControl({ budget, onBudgetChange, fiatAmount, + disabled = false, }: Props) { const { t } = useTranslation("components", { keyPrefix: "budget_control", @@ -27,12 +29,13 @@ function BudgetControl({ return (
-
+
-
+