pds-dev-kit-web-test 2.5.190 → 2.5.191
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.
@@ -107,7 +107,7 @@ function BasicButtonGroup(_a) {
|
|
107
107
|
: "center_".concat(tooltipPosition)
|
108
108
|
});
|
109
109
|
var isHoveredButton = index === hoveredButtonIndex;
|
110
|
-
|
110
|
+
// const canShowTooltip = tooltipSizeOffset && tooltipPositionOffset;
|
111
111
|
return ((0, jsx_runtime_1.jsxs)(S_BasicButton, __assign({ size: size, onClick: function (e) { return onClick && onClick(e); }, onMouseDown: function (e) { return onMouseDown && onMouseDown(e); }, onPointerEnter: function () { return setHoveredButtonIndex(index); }, onPointerLeave: function () { return setHoveredButtonIndex(null); }, disabled: state === 'disabled' || buttonState === 'disabled' }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: iconName, size: size === 'small' ? 20 : 24, fillType: iconFillType, colorKey: getColorKey(buttonState, iconColorTheme) }), tooltipText &&
|
112
112
|
isHoveredButton &&
|
113
113
|
canShowTooltip && // 위치 계산이 완료된 후에만 렌더링
|