@luscii-healthtech/web-ui 23.2.8 → 23.2.9
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.
|
@@ -1185,12 +1185,13 @@ function createAssetLoadError(payload, callback) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
const BaseListItem = React__namespace.default.forwardRef(({ itemId, title, tooltipId, roundTop, roundBottom = true, isDraggable, isSelected, subtitle, accessories, icon, onClick, handleItemClick, onAssetLoadError, dataTestId, renderDragHandle, withBorder, htmlProps }, ref) => {
|
|
1187
1187
|
const clickHandler = onClick !== null && onClick !== void 0 ? onClick : handleItemClick;
|
|
1188
|
-
const className = classNames__default.default("ui-flex ui-flex-row ui-items-center ui-space-x-4 ui-bg-white", "ui-px-4 ui-border-b
|
|
1188
|
+
const className = classNames__default.default("ui-flex ui-flex-row ui-items-center ui-space-x-4 ui-bg-white", "ui-px-4 ui-border-b ui-border-slate-200", {
|
|
1189
1189
|
"first:ui-rounded-t": roundTop,
|
|
1190
1190
|
"ui-cursor-pointer": clickHandler,
|
|
1191
1191
|
"hover:ui-bg-blue-50 ui-transition-colors ui-ease-in-out ui-duration-300": clickHandler,
|
|
1192
1192
|
"last:ui-rounded-b ": roundBottom,
|
|
1193
|
-
"
|
|
1193
|
+
"last:ui-border-b-0": !withBorder,
|
|
1194
|
+
"first:ui-border-t ui-border-l ui-border-r": withBorder
|
|
1194
1195
|
});
|
|
1195
1196
|
return React__namespace.default.createElement(
|
|
1196
1197
|
"li",
|