@sustaina/shared-ui 1.64.0 → 1.64.1
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/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -17370,8 +17370,8 @@ var ActionButton = ({ label, onPress, disabled, className }) => {
|
|
|
17370
17370
|
onPress();
|
|
17371
17371
|
},
|
|
17372
17372
|
className: cn(
|
|
17373
|
-
"action-menu-btn flex w-full items-center justify-start px-
|
|
17374
|
-
"
|
|
17373
|
+
"action-menu-btn flex w-full items-center justify-start rounded-sm px-2 py-1.5 text-left text-sm",
|
|
17374
|
+
"cursor-pointer text-gray-800 hover:bg-[#DDE8E2]",
|
|
17375
17375
|
isDisabled && "cursor-not-allowed opacity-50 hover:bg-transparent text-gray-400",
|
|
17376
17376
|
className
|
|
17377
17377
|
),
|
|
@@ -17416,14 +17416,14 @@ var ActionMenu = ({
|
|
|
17416
17416
|
e.stopPropagation();
|
|
17417
17417
|
setOpen((prev) => !prev);
|
|
17418
17418
|
},
|
|
17419
|
-
children: triggerButtonIcon ? triggerButtonIcon : /* @__PURE__ */ jsx(MoreVertical, { className: "
|
|
17419
|
+
children: triggerButtonIcon ? triggerButtonIcon : /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4 text-gray-600" })
|
|
17420
17420
|
}
|
|
17421
17421
|
) }),
|
|
17422
17422
|
/* @__PURE__ */ jsxs(
|
|
17423
17423
|
PopoverContent,
|
|
17424
17424
|
{
|
|
17425
17425
|
className: cn(
|
|
17426
|
-
"w-
|
|
17426
|
+
"w-fit min-w-[10.5rem] p-1 bg-sus-secondary-gray-2 border-none rounded-md overflow-hidden drop-shadow-[2px_0px_4px_rgba(0,0,0,0.1)]",
|
|
17427
17427
|
actionMenuClassName
|
|
17428
17428
|
),
|
|
17429
17429
|
align: "end",
|