ui-beyable 1.1.0-beta.20 → 1.1.0-beta.21
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.
|
@@ -23,7 +23,9 @@ interface IListItem {
|
|
|
23
23
|
text?: any;
|
|
24
24
|
description?: any;
|
|
25
25
|
actions?: React.ReactNode;
|
|
26
|
-
onClick?:
|
|
26
|
+
onClick?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
27
|
+
onMouseEnter?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
28
|
+
onMouseLeave?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
27
29
|
value?: any;
|
|
28
30
|
valueMaxWidth?: number;
|
|
29
31
|
valueMinWidth?: number;
|
package/lib/cjs/index.js
CHANGED
|
@@ -2220,7 +2220,7 @@ var List = React.forwardRef(function (_a, ref) {
|
|
|
2220
2220
|
return (React.createElement("div", __assign({ className: cssClass.join(' '), style: style }, otherProps, { ref: ref }), children));
|
|
2221
2221
|
});
|
|
2222
2222
|
var ListItem = React.forwardRef(function (_a, ref) {
|
|
2223
|
-
var children = _a.children, className = _a.className, picto = _a.picto, text = _a.text, description = _a.description, actions = _a.actions, onClick = _a.onClick
|
|
2223
|
+
var children = _a.children, className = _a.className, picto = _a.picto, text = _a.text, description = _a.description, actions = _a.actions, onClick = _a.onClick; _a.onMouseEnter; _a.onMouseLeave; var value = _a.value, _b = _a.valueMaxWidth, valueMaxWidth = _b === void 0 ? 200 : _b, valueMinWidth = _a.valueMinWidth, _c = _a.hasArrow, hasArrow = _c === void 0 ? false : _c, _d = _a.textIsBold, textIsBold = _d === void 0 ? undefined : _d, _e = _a.textIsItalic, textIsItalic = _e === void 0 ? false : _e, _f = _a.textHasEllipsis, textHasEllipsis = _f === void 0 ? false : _f, _g = _a.textBreakWord, textBreakWord = _g === void 0 ? false : _g, _h = _a.isActive, isActive = _h === void 0 ? false : _h, _j = _a.isDragging, isDragging = _j === void 0 ? false : _j, dragHandle = _a.dragHandle, _k = _a.dragHandlePosition, dragHandlePosition = _k === void 0 ? 'before' : _k, otherProps = __rest(_a, ["children", "className", "picto", "text", "description", "actions", "onClick", "onMouseEnter", "onMouseLeave", "value", "valueMaxWidth", "valueMinWidth", "hasArrow", "textIsBold", "textIsItalic", "textHasEllipsis", "textBreakWord", "isActive", "isDragging", "dragHandle", "dragHandlePosition"]);
|
|
2224
2224
|
var hasClickHandler = typeof onClick === 'function';
|
|
2225
2225
|
var cssClass = [styles$j.list_item];
|
|
2226
2226
|
var style = {};
|
|
@@ -23,7 +23,9 @@ interface IListItem {
|
|
|
23
23
|
text?: any;
|
|
24
24
|
description?: any;
|
|
25
25
|
actions?: React.ReactNode;
|
|
26
|
-
onClick?:
|
|
26
|
+
onClick?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
27
|
+
onMouseEnter?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
28
|
+
onMouseLeave?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
27
29
|
value?: any;
|
|
28
30
|
valueMaxWidth?: number;
|
|
29
31
|
valueMinWidth?: number;
|
package/lib/esm/index.js
CHANGED
|
@@ -2218,7 +2218,7 @@ var List = React.forwardRef(function (_a, ref) {
|
|
|
2218
2218
|
return (React.createElement("div", __assign({ className: cssClass.join(' '), style: style }, otherProps, { ref: ref }), children));
|
|
2219
2219
|
});
|
|
2220
2220
|
var ListItem = React.forwardRef(function (_a, ref) {
|
|
2221
|
-
var children = _a.children, className = _a.className, picto = _a.picto, text = _a.text, description = _a.description, actions = _a.actions, onClick = _a.onClick
|
|
2221
|
+
var children = _a.children, className = _a.className, picto = _a.picto, text = _a.text, description = _a.description, actions = _a.actions, onClick = _a.onClick; _a.onMouseEnter; _a.onMouseLeave; var value = _a.value, _b = _a.valueMaxWidth, valueMaxWidth = _b === void 0 ? 200 : _b, valueMinWidth = _a.valueMinWidth, _c = _a.hasArrow, hasArrow = _c === void 0 ? false : _c, _d = _a.textIsBold, textIsBold = _d === void 0 ? undefined : _d, _e = _a.textIsItalic, textIsItalic = _e === void 0 ? false : _e, _f = _a.textHasEllipsis, textHasEllipsis = _f === void 0 ? false : _f, _g = _a.textBreakWord, textBreakWord = _g === void 0 ? false : _g, _h = _a.isActive, isActive = _h === void 0 ? false : _h, _j = _a.isDragging, isDragging = _j === void 0 ? false : _j, dragHandle = _a.dragHandle, _k = _a.dragHandlePosition, dragHandlePosition = _k === void 0 ? 'before' : _k, otherProps = __rest(_a, ["children", "className", "picto", "text", "description", "actions", "onClick", "onMouseEnter", "onMouseLeave", "value", "valueMaxWidth", "valueMinWidth", "hasArrow", "textIsBold", "textIsItalic", "textHasEllipsis", "textBreakWord", "isActive", "isDragging", "dragHandle", "dragHandlePosition"]);
|
|
2222
2222
|
var hasClickHandler = typeof onClick === 'function';
|
|
2223
2223
|
var cssClass = [styles$j.list_item];
|
|
2224
2224
|
var style = {};
|