@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.js
CHANGED
|
@@ -17413,8 +17413,8 @@ var ActionButton = ({ label, onPress, disabled, className }) => {
|
|
|
17413
17413
|
onPress();
|
|
17414
17414
|
},
|
|
17415
17415
|
className: cn(
|
|
17416
|
-
"action-menu-btn flex w-full items-center justify-start px-
|
|
17417
|
-
"
|
|
17416
|
+
"action-menu-btn flex w-full items-center justify-start rounded-sm px-2 py-1.5 text-left text-sm",
|
|
17417
|
+
"cursor-pointer text-gray-800 hover:bg-[#DDE8E2]",
|
|
17418
17418
|
isDisabled && "cursor-not-allowed opacity-50 hover:bg-transparent text-gray-400",
|
|
17419
17419
|
className
|
|
17420
17420
|
),
|
|
@@ -17459,14 +17459,14 @@ var ActionMenu = ({
|
|
|
17459
17459
|
e.stopPropagation();
|
|
17460
17460
|
setOpen((prev) => !prev);
|
|
17461
17461
|
},
|
|
17462
|
-
children: triggerButtonIcon ? triggerButtonIcon : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreVertical, { className: "
|
|
17462
|
+
children: triggerButtonIcon ? triggerButtonIcon : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreVertical, { className: "h-4 w-4 text-gray-600" })
|
|
17463
17463
|
}
|
|
17464
17464
|
) }),
|
|
17465
17465
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
17466
17466
|
PopoverContent,
|
|
17467
17467
|
{
|
|
17468
17468
|
className: cn(
|
|
17469
|
-
"w-
|
|
17469
|
+
"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)]",
|
|
17470
17470
|
actionMenuClassName
|
|
17471
17471
|
),
|
|
17472
17472
|
align: "end",
|