pcm-shared-components 0.0.19 → 0.0.21

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,28 +3,11 @@ 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';
7
- import '../../../styles/tailwind.css';
6
+ import clsx from 'clsx'; // import '../../../styles/tailwind.css';
7
+
8
8
  const useStyles = makeStyles(() => ({
9
9
  rootFabElement: {
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
10
+ margin: 2
28
11
  }
29
12
  }));
30
13
 
@@ -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';
5
- import '../../../styles/tailwind.css';
4
+ import PropTypes from 'prop-types'; // import '../../../styles/tailwind.css';
5
+
6
6
  export const HelpButton = props => {
7
7
  const {
8
8
  onClickLink,
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- import PropTypes from 'prop-types';
2
+ import PropTypes from 'prop-types'; // import '../../../styles/tailwind.css';
3
+
3
4
  export const TestButton = props => {
4
5
  const {
5
6
  text = 'hey'
@@ -2,9 +2,9 @@ import React, { useState } from 'react';
2
2
  import * as Prism from 'prismjs';
3
3
  import { memo, useEffect, useRef } from 'react';
4
4
  import './prism-languages';
5
- import PropTypes from 'prop-types';
6
- import '../../../styles/tailwind.css';
7
- import '../../../styles/prism.css';
5
+ import PropTypes from 'prop-types'; // import '../../../styles/tailwind.css';
6
+ // import '../../../styles/prism.css';
7
+
8
8
  export const CodeHighlight = props => {
9
9
  const domNode = useRef(null);
10
10
  const source = useRef(trimCode());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {