@opexa/portal-components 0.0.346 → 0.0.347

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -176,6 +176,10 @@ const LinkGoogleAccount = () => {
176
176
  return null;
177
177
  return (_jsxs("div", { className: "flex items-center gap-sm", children: [_jsxs("div", { className: "flex grow items-center gap-sm", children: [_jsx(IconButton, { variant: "outline", colorScheme: "gray", children: _jsx(GoogleIcon, { className: "size-6" }) }), !account.googleId ? (_jsxs("div", { children: [_jsx("p", { className: "font-medium text-sm leading-tight", children: "Google" }), _jsx("p", { className: "mt-xs text-text-secondary-700 text-xs leading-tight", children: "Not Connected" })] })) : (_jsxs("div", { children: [_jsx("p", { className: "font-medium text-sm leading-tight", children: "Google" }), _jsx("p", { className: "mt-xs text-text-success-primary-600 text-xs leading-tight", children: "Connected" })] }))] }), account.googleId ? (_jsx(GoogleDisconnect, { onConfirmAction: (ctx) => (_jsxs("div", { className: "flex justify-between gap-2", children: [_jsx(Button, { variant: "outline", disabled: unlinkGoogleAccountMutation.isPending, onClick: () => ctx.setOpen(false), children: "Cancel" }), _jsx(Button, { variant: "solid", disabled: unlinkGoogleAccountMutation.isPending, onClick: () => unlinkGoogleAccountMutation.mutate({ id: account.id }, {
178
178
  onSuccess: () => {
179
+ toaster.success({
180
+ title: 'Successfully Disconnected Google Account',
181
+ description: 'Your Google account has been disconnected. You can reconnect anytime from your account settings.',
182
+ });
179
183
  ctx.setOpen(false);
180
184
  },
181
185
  onError: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.346",
3
+ "version": "0.0.347",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",