@speakapbv/dough-component-library 10.2.1 → 10.3.0
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.
|
@@ -113,7 +113,8 @@ export interface BoxProps {
|
|
|
113
113
|
/** Event properties */
|
|
114
114
|
onScrollReachedBottom?(e?: UIEvent): void;
|
|
115
115
|
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
|
|
116
|
+
onMouseMove?: MouseEventHandler<HTMLDivElement>;
|
|
116
117
|
onMouseLeave?: MouseEventHandler<HTMLDivElement>;
|
|
117
118
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
118
119
|
}
|
|
119
|
-
export declare const Box: React.ForwardRefExoticComponent<Pick<BoxProps, "className" | "children" | "dataAttributes" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "absolute" | "zIndex" | "color" | "border" | "borderRadius" | "rounded" | "shadow" | "padding" | "transform" | "overflow" | "display" | "direction" | "flex" | "basis" | "grow" | "shrink" | "order" | "wrap" | "justifyContent" | "alignItems" | "alignContent" | "alignSelf" | "onScrollReachedBottom" | "onMouseEnter" | "onMouseLeave" | "onClick"> & React.RefAttributes<HTMLDivElement>>;
|
|
120
|
+
export declare const Box: React.ForwardRefExoticComponent<Pick<BoxProps, "className" | "children" | "dataAttributes" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "absolute" | "zIndex" | "color" | "border" | "borderRadius" | "rounded" | "shadow" | "padding" | "transform" | "overflow" | "display" | "direction" | "flex" | "basis" | "grow" | "shrink" | "order" | "wrap" | "justifyContent" | "alignItems" | "alignContent" | "alignSelf" | "onScrollReachedBottom" | "onMouseEnter" | "onMouseMove" | "onMouseLeave" | "onClick"> & React.RefAttributes<HTMLDivElement>>;
|
package/dist/index.es.js
CHANGED
|
@@ -1193,7 +1193,7 @@ var Box = forwardRef(function (props, ref) {
|
|
|
1193
1193
|
_a["dough-flex-align-content-" + props.alignContent] = props.alignContent,
|
|
1194
1194
|
_a["dough-flex-align-self-" + props.alignSelf] = props.alignSelf,
|
|
1195
1195
|
_a)), style: __assign({ width: props.width, height: props.height, minWidth: props.minWidth, minHeight: props.minHeight, maxWidth: props.maxWidth, maxHeight: props.maxHeight, flexBasis: props.basis, flexGrow: props.grow, flexShrink: props.shrink, order: props.order, flex: props.flex, zIndex: props.zIndex, transform: props.transform }, (isTypeObject(props.absolute) &&
|
|
1196
|
-
props.absolute)) }, props.dataAttributes, { onScroll: props.onScrollReachedBottom ? handleScroll : undefined, onMouseEnter: props.onMouseEnter, onMouseLeave: props.onMouseLeave, onClick: props.onClick }), props.children));
|
|
1196
|
+
props.absolute)) }, props.dataAttributes, { onScroll: props.onScrollReachedBottom ? handleScroll : undefined, onMouseEnter: props.onMouseEnter, onMouseLeave: props.onMouseLeave, onMouseMove: props.onMouseMove, onClick: props.onClick }), props.children));
|
|
1197
1197
|
});
|
|
1198
1198
|
Box.displayName = "Box";
|
|
1199
1199
|
|
package/dist/index.js
CHANGED
|
@@ -1178,7 +1178,7 @@ var Box = React.forwardRef(function (props, ref) {
|
|
|
1178
1178
|
_a["dough-flex-align-content-" + props.alignContent] = props.alignContent,
|
|
1179
1179
|
_a["dough-flex-align-self-" + props.alignSelf] = props.alignSelf,
|
|
1180
1180
|
_a)), style: __assign({ width: props.width, height: props.height, minWidth: props.minWidth, minHeight: props.minHeight, maxWidth: props.maxWidth, maxHeight: props.maxHeight, flexBasis: props.basis, flexGrow: props.grow, flexShrink: props.shrink, order: props.order, flex: props.flex, zIndex: props.zIndex, transform: props.transform }, (isTypeObject(props.absolute) &&
|
|
1181
|
-
props.absolute)) }, props.dataAttributes, { onScroll: props.onScrollReachedBottom ? handleScroll : undefined, onMouseEnter: props.onMouseEnter, onMouseLeave: props.onMouseLeave, onClick: props.onClick }), props.children));
|
|
1181
|
+
props.absolute)) }, props.dataAttributes, { onScroll: props.onScrollReachedBottom ? handleScroll : undefined, onMouseEnter: props.onMouseEnter, onMouseLeave: props.onMouseLeave, onMouseMove: props.onMouseMove, onClick: props.onClick }), props.children));
|
|
1182
1182
|
});
|
|
1183
1183
|
Box.displayName = "Box";
|
|
1184
1184
|
|