groundfloor-react-ui 1.2.12 → 1.2.14
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 +13 -8
- package/dist/index.es.js +114 -114
- package/dist/index.js +128 -128
- package/package.json +16 -17
- package/rollup.config.js +4 -3
package/README.md
CHANGED
|
@@ -10,23 +10,28 @@ The package can be installed via [npm](https://github.com/npm/cli):
|
|
|
10
10
|
npm install groundfloor-react-ui --save
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
Add this default theme color and styles if needed.
|
|
15
|
-
|
|
16
|
-
import defaultStyles from 'groundfloor-react-ui/components/constants/defaultStyle';
|
|
17
|
-
import defaultThemeColor from 'groundfloor-react-ui/components/constants/defaultThemeColor';
|
|
13
|
+
## CSS files
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
```
|
|
16
|
+
1. To use DateSelect component add the below css file to your root
|
|
20
17
|
import 'react-datepicker/dist/react-datepicker.css';
|
|
21
|
-
|
|
18
|
+
2. To use Overlay component, Tooltip and ButtonPopup add the below css file to your root
|
|
22
19
|
import 'react-popper-tooltip/dist/styles.css';
|
|
20
|
+
3. To defaultThemeColor, defaultStyles,colors, getDefaultStyles function, hexToRGB function, use import {defaultThemeColor, defaultStyles, colors, getDefaultStyles, hexToRGB} from 'groundfloor-react-ui'
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## DOcumentation And Example
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Coming soon...
|
|
23
28
|
```
|
|
24
29
|
|
|
25
30
|
## Pre-requisites
|
|
26
31
|
|
|
27
32
|
The following peer dependencies are required to run in a React Project
|
|
28
33
|
|
|
29
|
-
- React v16.
|
|
34
|
+
- React v16.3 or greater
|
|
30
35
|
- styled-components v5 or greater
|
|
31
36
|
|
|
32
37
|
---
|