@harborclient/sdk 1.0.26 → 1.0.27
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.
|
@@ -11,7 +11,7 @@ const TYPEAHEAD_TIMEOUT_MS = 500;
|
|
|
11
11
|
* @param variant - Visual variant for default or destructive actions.
|
|
12
12
|
*/
|
|
13
13
|
function menuItemClass(variant) {
|
|
14
|
-
const base = 'block w-full cursor-pointer border-none bg-transparent px-3.5 py-1.5 text-left text-[
|
|
14
|
+
const base = 'block w-full cursor-pointer border-none bg-transparent px-3.5 py-1.5 text-left text-[16px] app-no-drag';
|
|
15
15
|
return variant === 'danger'
|
|
16
16
|
? `${base} text-text hover:bg-danger/15 hover:text-danger`
|
|
17
17
|
: `${base} text-text hover:bg-selection`;
|
|
@@ -177,7 +177,7 @@ export function RowActionsMenu({ groups, menuId, openMenuId, onOpenChange }) {
|
|
|
177
177
|
else {
|
|
178
178
|
openMenu(false);
|
|
179
179
|
}
|
|
180
|
-
}, onKeyDown: handleTriggerKeyDown, children: _jsx(FaIcon, { icon: faBars, className: "h-3.5 w-3.5" }) }), isOpen && (_jsx("div", { id: menuElementId, role: "menu", className: "hc-row-actions-menu-panel absolute right-0 top-full z-10 mt-0.5 min-w-[
|
|
180
|
+
}, onKeyDown: handleTriggerKeyDown, children: _jsx(FaIcon, { icon: faBars, className: "h-3.5 w-3.5" }) }), isOpen && (_jsx("div", { id: menuElementId, role: "menu", className: "hc-row-actions-menu-panel absolute right-0 top-full z-10 mt-0.5 min-w-[200px] rounded-md border border-separator bg-surface py-1 shadow-md app-no-drag", onKeyDown: handleMenuKeyDown, children: groups.map((group, groupIndex) => {
|
|
181
181
|
let flatIndex = groups.slice(0, groupIndex).reduce((count, g) => count + g.length, 0);
|
|
182
182
|
return (_jsx("div", { className: groupIndex > 0
|
|
183
183
|
? 'hc-row-actions-menu-group border-t border-separator'
|