revdev-components 0.51.0 → 0.52.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.
- package/build/iconDivision/index.d.ts +0 -2
- package/build/index.js +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { TooltipPlacement } from "antd/es/tooltip";
|
|
|
3
3
|
import { RegularIconName } from "src/icon/regular";
|
|
4
4
|
export interface IconDivisionProps {
|
|
5
5
|
icon?: RegularIconName;
|
|
6
|
-
isButton?: boolean;
|
|
7
6
|
rightIcon?: RegularIconName;
|
|
8
7
|
className?: string;
|
|
9
8
|
contentClassName?: string;
|
|
@@ -12,7 +11,6 @@ export interface IconDivisionProps {
|
|
|
12
11
|
tooltip?: string;
|
|
13
12
|
tooltipPlacement?: TooltipPlacement;
|
|
14
13
|
hoverOpenDelay?: number;
|
|
15
|
-
animation?: boolean;
|
|
16
14
|
children?: React.ReactNode;
|
|
17
15
|
direction?: "row" | "column";
|
|
18
16
|
elementRev?: React.Ref<any>;
|
package/build/index.js
CHANGED
|
@@ -5066,10 +5066,10 @@ var AppTooltip = function (_a) {
|
|
|
5066
5066
|
|
|
5067
5067
|
var IconBoxContent = function (_a) {
|
|
5068
5068
|
var _b;
|
|
5069
|
-
var flexRoot = _a.flexRoot,
|
|
5069
|
+
var flexRoot = _a.flexRoot, icon = _a.icon, rightIcon = _a.rightIcon, children = _a.children, className = _a.className, contentClassName = _a.contentClassName, onClick = _a.onClick, _c = _a.direction, direction = _c === void 0 ? "row" : _c, elementRev = _a.elementRev, style = _a.style;
|
|
5070
5070
|
return (React.createElement("div", { ref: elementRev, style: style, className: classNames(s.root, (_b = {},
|
|
5071
5071
|
_b[s.flex] = flexRoot,
|
|
5072
|
-
_b[s.button] =
|
|
5072
|
+
_b[s.button] = !!onClick,
|
|
5073
5073
|
_b[s.column] = direction === "column",
|
|
5074
5074
|
_b), className), onClick: onClick },
|
|
5075
5075
|
icon ? React.createElement(RegularIcon, { className: s.icon, name: icon }) : null,
|