@antscorp/antsomi-ui 1.3.5-beta.354 → 1.3.5-beta.355
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.
|
@@ -989,7 +989,8 @@ const Help = props => {
|
|
|
989
989
|
onClick: info => handleClick(info),
|
|
990
990
|
},
|
|
991
991
|
// onOpenChange={isOpen => setIsOpenDropdown(isOpen)}
|
|
992
|
-
trigger: triggerType, placement: "bottomRight" }, children || React.createElement(IconButtonStyled,
|
|
992
|
+
trigger: triggerType, placement: "bottomRight" }, children || (React.createElement(IconButtonStyled, null,
|
|
993
|
+
React.createElement(Icon, { type: "icon-ants-help" })))),
|
|
993
994
|
isShowPopup &&
|
|
994
995
|
createPortal(React.createElement(PopupDraggable, { isHiddenResizing: true, bounds: boundsDraggable, isShowResizeHover: isShowResizeHover, callback: callback, styleContainer: {
|
|
995
996
|
display: 'flex',
|
|
@@ -268,6 +268,8 @@ export const IconButtonStyled = styled(Button) `
|
|
|
268
268
|
color: #666666 !important;
|
|
269
269
|
box-shadow: none !important;
|
|
270
270
|
border-radius: 10px !important;
|
|
271
|
+
height: 36px !important;
|
|
272
|
+
width: 36px !important;
|
|
271
273
|
|
|
272
274
|
&.antsomi-dropdown-open,
|
|
273
275
|
&.antsomi-popover-open {
|
|
@@ -254,5 +254,6 @@ export const Notification = React.memo(props => {
|
|
|
254
254
|
justifyContent: 'center',
|
|
255
255
|
backgroundColor: themeToken.red6,
|
|
256
256
|
} },
|
|
257
|
-
React.createElement(ActionButton,
|
|
257
|
+
React.createElement(ActionButton, null,
|
|
258
|
+
React.createElement(Icon, { type: "icon-ants-bell" })))));
|
|
258
259
|
});
|
|
@@ -124,6 +124,8 @@ export const ActionButton = styled(Button) `
|
|
|
124
124
|
color: #666666 !important;
|
|
125
125
|
box-shadow: none !important;
|
|
126
126
|
border-radius: 10px !important;
|
|
127
|
+
height: 36px !important;
|
|
128
|
+
width: 36px !important;
|
|
127
129
|
|
|
128
130
|
&.notify-action {
|
|
129
131
|
border: none !important;
|