groundfloor-react-ui 1.0.12 → 1.0.13

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.
package/README.md CHANGED
@@ -11,10 +11,15 @@ npm install groundfloor-react-ui --save
11
11
  ```
12
12
 
13
13
  ```
14
- Add this default theme colo and styles if needed.
14
+ Add this default theme color and styles if needed.
15
15
 
16
16
  import defaultStyles from 'groundfloor-react-ui/components/constants/defaultStyle';
17
17
  import defaultThemeColor from 'groundfloor-react-ui/components/constants/defaultThemeColor';
18
+
19
+ For use DateSelect add the below css file to your root
20
+ import 'react-datepicker/dist/react-datepicker.css';
21
+ For use Overlay, Tooltip and ButtonPopup add the below css file to your root
22
+ import 'react-popper-tooltip/dist/styles.css';
18
23
  ```
19
24
 
20
25
  ## Pre-requisites
@@ -0,0 +1 @@
1
+ <svg id="f46636c4-9d90-4c06-8f72-5c02d35ff376" data-name="a9011979-1776-4746-bb61-6eae84c3e8ab" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.6 24"><defs><style>.b78a75cf-ef1e-49e2-8d45-bd32a83f2ff9{fill:#2e56f4;}</style></defs><path class="b78a75cf-ef1e-49e2-8d45-bd32a83f2ff9" d="M15.4,0H0V24H20.6V5.1Zm3.5,22.3H1.7V1.7H14.4l4.5,4.6Z"/><rect class="b78a75cf-ef1e-49e2-8d45-bd32a83f2ff9" x="3.6" y="3.5" width="7.6" height="1.59"/><rect class="b78a75cf-ef1e-49e2-8d45-bd32a83f2ff9" x="3.6" y="6.5" width="10.6" height="1.59"/><path class="b78a75cf-ef1e-49e2-8d45-bd32a83f2ff9" d="M13.7,16.8v-.5a4.3,4.3,0,0,0,0-1.6v-.5l1.4-.7A6.2,6.2,0,0,0,14,11.8l-1.3.7-.4-.3-1.4-.8h-.5V9.8a7.4,7.4,0,0,0-2.1,0v1.5H7.8l-1.4.8-.4.3-1.3-.7a6.2,6.2,0,0,0-1.1,1.7l1.4.7v.5a4.3,4.3,0,0,0,0,1.6v.5l-1.4.7a6.2,6.2,0,0,0,1.1,1.7L6,18.5l.4.3,1.4.8.5.2v1.4a7.4,7.4,0,0,0,2.1,0V19.8l.5-.2a3.9,3.9,0,0,0,1.4-.8l.4-.3,1.3.7a6.2,6.2,0,0,0,1.1-1.7ZM9.4,18.3a2.9,2.9,0,0,1-2.9-2.8,2.9,2.9,0,1,1,2.9,2.8Z"/></svg>
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
3
3
  import styled, { useTheme } from 'styled-components';
4
4
  import defaultThemeColor from '../constants/defaultThemeColor';
5
5
  import { usePopperTooltip } from 'react-popper-tooltip';
6
- import 'react-popper-tooltip/dist/styles.css';
7
6
 
8
7
  /**
9
8
  * Primary UI component for user interaction
@@ -49,6 +49,7 @@ import fileUpload from '../../assets/icons/file-upload.svg'
49
49
  import eyeHide from '../../assets/icons/eye-hide.svg'
50
50
  import eyeView from '../../assets/icons/eye-hide-view.svg'
51
51
  import fileIcon from '../../assets/icons/file-icon.svg'
52
+ import defaultIcon from '../../assets/icons/default.svg'
52
53
 
53
54
 
54
55
  /** icon name should be kebab-case, e.g "plus-outline" */
@@ -97,6 +98,7 @@ const iconObj = {
97
98
  'eye-hide': eyeHide,
98
99
  'eye-show': eyeView,
99
100
  'file-icon': fileIcon,
101
+ 'default-icon': defaultIcon,
100
102
  }
101
103
 
102
104
  const StyledSVGIcon = styled(ReactSVG)`
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
3
3
  import styled from 'styled-components';
4
4
  import defaultStyles from '../constants/defaultStyle';
5
5
  import { usePopperTooltip } from 'react-popper-tooltip';
6
- // import 'react-popper-tooltip/dist/styles.css';
7
6
 
8
7
  /**
9
8
  * Primary UI component for user interaction
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
3
3
  import styled from 'styled-components';
4
4
  import defaultStyles from '../constants/defaultStyle';
5
5
  import { usePopperTooltip } from 'react-popper-tooltip';
6
- // import 'react-popper-tooltip/dist/styles.css';
7
6
 
8
7
  /**
9
8
  * Primary UI component for user interaction