@greatapps/common 1.1.348 → 1.1.349

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greatapps/common",
3
- "version": "1.1.348",
3
+ "version": "1.1.349",
4
4
  "description": "Shared library for GreatApps frontend applications",
5
5
  "main": "./dist/index.mjs",
6
6
  "types": "./src/index.ts",
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { useState } from "react";
4
4
  import * as PopoverPrimitive from "@radix-ui/react-popover";
5
- import { IconSettings2 } from "@tabler/icons-react";
5
+ import { IconPencil } from "@tabler/icons-react";
6
6
  import { Popover } from "../ui/overlay/Popover";
7
7
  import { Progress } from "../ui/feedback/Progress";
8
8
  import { Separator } from "../ui/data-display/Separator";
@@ -89,7 +89,7 @@ function ProfilePopover({
89
89
  align={align}
90
90
  sideOffset={8}
91
91
  >
92
- <div className="grid grid-cols-[32px_1fr] items-center gap-3 p-3 w-full">
92
+ <div className="grid grid-cols-[32px_1fr_auto] items-center gap-3 p-3 w-full">
93
93
  {user && (
94
94
  <UserAvatar
95
95
  key={user.id}
@@ -107,6 +107,14 @@ function ProfilePopover({
107
107
  {user?.email || ""}
108
108
  </span>
109
109
  </div>
110
+
111
+ <button
112
+ className="flex items-center gap-1 paragraph-xsmall-semibold text-gray-500 hover:text-gray-950 transition-colors cursor-pointer"
113
+ onClick={() => openConfigurations()}
114
+ >
115
+ <IconPencil size={14} />
116
+ Editar
117
+ </button>
110
118
  </div>
111
119
 
112
120
  <div className="flex flex-col gap-2 border-t border-gray-200 rounded-2xl p-1.5">