pcm-shared-components 0.0.37 → 0.0.40

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.
@@ -33,10 +33,10 @@ const useStyles = makeStyles(() => ({
33
33
  Icon: {
34
34
  width: ({
35
35
  iconSize
36
- }) => iconSize,
36
+ }) => `${iconSize}px !important`,
37
37
  height: ({
38
38
  iconSize
39
- }) => iconSize,
39
+ }) => `${iconSize}px !important`,
40
40
  marginTop: 'auto',
41
41
  marginBottom: 'auto'
42
42
  }
@@ -61,7 +61,9 @@ const CustomFab = props => {
61
61
  return /*#__PURE__*/React.createElement(ThemeProvider, {
62
62
  theme: defaultTheme
63
63
  }, /*#__PURE__*/React.createElement(Tooltip, {
64
- title: tooltipText,
64
+ title: /*#__PURE__*/React.createElement("div", {
65
+ className: "text-8"
66
+ }, tooltipText),
65
67
  disableHoverListener: tooltipText && tooltipText.length === 0 ? true : false
66
68
  }, /*#__PURE__*/React.createElement(Fab, {
67
69
  size: size,
@@ -83,7 +85,7 @@ export default /*#__PURE__*/memo(CustomFab);
83
85
  CustomFab.defaultProps = {
84
86
  onClick: () => {},
85
87
  Icon: MoreVertIcon,
86
- iconSize: 32,
88
+ iconSize: 24,
87
89
  iconLocation: 'left',
88
90
  buttonText: '',
89
91
  variant: 'circular',
@@ -31,7 +31,7 @@ HelpButton.defaultProps = {
31
31
  color: 'primary',
32
32
  tooltipText: '',
33
33
  size: 'large',
34
- iconSize: 34
34
+ iconSize: 24
35
35
  };
36
36
  HelpButton.propTypes = {
37
37
  /** On click link, it's the URL to navigate too */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "0.0.37",
3
+ "version": "0.0.40",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {