diff --git a/package-lock.json b/package-lock.json index 3171695..1386fe7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@mui/stylis-plugin-rtl": "^7.2.0", "@mui/x-data-grid-premium": "^8.10.0", "@mui/x-date-pickers": "^8.10.0", - "@rkheftan/harmony-ui": "^0.2.86", + "@rkheftan/harmony-ui": "^0.2.89", "@rollup/rollup-win32-x64-msvc": "^4.46.3", "axios": "^1.11.0", "date-fns": "^4.1.0", @@ -1843,9 +1843,9 @@ } }, "node_modules/@rkheftan/harmony-ui": { - "version": "0.2.86", - "resolved": "https://npm.pkg.github.com/download/@rkheftan/harmony-ui/0.2.86/db9acf1a2c0b61cc5ccf04e6b4be31e51ca09815", - "integrity": "sha512-oECk47uxn/CTeZI2YW0cPCWIbPE+xKkUaY5UpNrATYBFZ8PviH2CarHFxpnJOoxKmTj59eEmWa57Qu4oQl5P5Q==", + "version": "0.2.89", + "resolved": "https://npm.pkg.github.com/download/@rkheftan/harmony-ui/0.2.89/9e70a180df5bbfb804adc142a806eaf778c2730e", + "integrity": "sha512-/7jGh8swn8kzBmeRiERoCPj+izpWe5LxiyfKmB/4wgJNBzpn3wE/OLbcy9+ANbWVuZsLGl0u8t/u0YqaH8OORQ==", "peerDependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", @@ -2852,7 +2852,6 @@ "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -4145,28 +4144,6 @@ "node": ">=10.13.0" } }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/globals": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/globals/-/globals-16.2.0.tgz", @@ -4908,7 +4885,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" diff --git a/package.json b/package.json index 816f93e..c0cfc32 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@mui/stylis-plugin-rtl": "^7.2.0", "@mui/x-data-grid-premium": "^8.10.0", "@mui/x-date-pickers": "^8.10.0", - "@rkheftan/harmony-ui": "^0.2.86", + "@rkheftan/harmony-ui": "^0.2.89", "@rollup/rollup-win32-x64-msvc": "^4.46.3", "axios": "^1.11.0", "date-fns": "^4.1.0", diff --git a/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx b/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx index bee1ae4..2c0d05c 100644 --- a/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx +++ b/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx @@ -84,37 +84,36 @@ export default function PhoneEditForm({ placeholder="09123456789" slotProps={{ input: { - endAdornment: - buttonState === 'counting' ? ( - - { - setButtonState('default'); - setVerificationCode(''); - setIsCodeSent(false); - }} - edge="end" - > - - - - ) : ( - i18n.dir() === 'rtl' && ( - + { + setButtonState('default'); + setVerificationCode(''); + setIsCodeSent(false); + }} + edge="end" + > + - ) - ), + + + ) : ( + i18n.dir() === 'rtl' && ( + + ) + ), startAdornment: i18n.dir() === 'ltr' && (