pcm-shared-components 0.0.21 → 0.0.22

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.
@@ -3,11 +3,28 @@ import { makeStyles } from '@mui/styles';
3
3
  import Fab from '@mui/material/Fab';
4
4
  import PropTypes from 'prop-types';
5
5
  import Tooltip from '@mui/material/Tooltip';
6
- import clsx from 'clsx'; // import '../../../styles/tailwind.css';
7
-
6
+ import clsx from 'clsx';
7
+ import '../../../styles/tailwind.css';
8
8
  const useStyles = makeStyles(() => ({
9
9
  rootFabElement: {
10
- margin: 2
10
+ margin: 2,
11
+ backgroundColor: ({
12
+ backgroundColor
13
+ }) => backgroundColor,
14
+ '&:hover': {
15
+ background: ({
16
+ hoverBackgroundColor
17
+ }) => hoverBackgroundColor,
18
+ color: ({
19
+ hoverTextColor
20
+ }) => hoverTextColor
21
+ },
22
+ boxShadow: ({
23
+ boxShadow
24
+ }) => boxShadow,
25
+ color: ({
26
+ textColor
27
+ }) => textColor
11
28
  }
12
29
  }));
13
30
 
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import CustomFab from '../CustomFab/CustomFab';
3
3
  import HelpOutlineIcon from '@mui/icons-material/HelpOutline';
4
- import PropTypes from 'prop-types'; // import '../../../styles/tailwind.css';
5
-
4
+ import PropTypes from 'prop-types';
5
+ import '../../../styles/tailwind.css';
6
6
  export const HelpButton = props => {
7
7
  const {
8
8
  onClickLink,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {