uibee 2.10.3 → 2.10.4
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.
|
@@ -105,7 +105,7 @@ export default function Body({ list, columns, menuItems, redirectPath, variant =
|
|
|
105
105
|
flex-1 px-6 py-4 whitespace-nowrap text-sm min-w-40 flex items-center text-login-100
|
|
106
106
|
${variant === 'minimal' ? 'py-3' : ''}
|
|
107
107
|
`, children: _jsx("div", { className: 'relative', children: _jsx("h1", { className: badgeClass, children: formatValue(col.key, value) }) }) }, col.key));
|
|
108
|
-
}), menuItems && (_jsx("td", { className: 'shrink-0 w-16 flex flex-row justify-end p-2 px-4\n whitespace-nowrap text-right text-sm font-medium', children: _jsxs("div", { className: 'relative', children: [_jsx("button", { type: 'button', className: `p-1.5 rounded flex items-
|
|
108
|
+
}), menuItems && (_jsx("td", { className: 'shrink-0 w-16 flex flex-row items-center justify-end p-2 px-4\n whitespace-nowrap text-right text-sm font-medium', children: _jsxs("div", { className: 'relative', children: [_jsx("button", { type: 'button', className: `p-1.5 rounded flex items-center justify-center transition-colors ${buttonClass}`, onMouseDown: (e) => e.nativeEvent.stopImmediatePropagation(), onClick: (e) => {
|
|
109
109
|
e.stopPropagation();
|
|
110
110
|
const rect = e.currentTarget.getBoundingClientRect();
|
|
111
111
|
const coords = { top: rect.bottom + 4, right: window.innerWidth - rect.right };
|
package/package.json
CHANGED
|
@@ -144,13 +144,13 @@ export default function Body({ list, columns, menuItems, redirectPath, variant =
|
|
|
144
144
|
})}
|
|
145
145
|
{menuItems && (
|
|
146
146
|
<td
|
|
147
|
-
className='shrink-0 w-16 flex flex-row justify-end p-2 px-4
|
|
147
|
+
className='shrink-0 w-16 flex flex-row items-center justify-end p-2 px-4
|
|
148
148
|
whitespace-nowrap text-right text-sm font-medium'
|
|
149
149
|
>
|
|
150
150
|
<div className='relative'>
|
|
151
151
|
<button
|
|
152
152
|
type='button'
|
|
153
|
-
className={`p-1.5 rounded flex items-
|
|
153
|
+
className={`p-1.5 rounded flex items-center justify-center transition-colors ${buttonClass}`}
|
|
154
154
|
onMouseDown={(e) => e.nativeEvent.stopImmediatePropagation()}
|
|
155
155
|
onClick={(e) => {
|
|
156
156
|
e.stopPropagation()
|