groundfloor-react-ui 1.3.6 → 1.3.7

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
@@ -1,40 +1,40 @@
1
- # GroundFloor React UI
2
-
3
- The official component library for GroundFloor application
4
-
5
- ## Installation
6
-
7
- The package can be installed via [npm](https://github.com/npm/cli):
8
-
9
- ```
10
- npm install groundfloor-react-ui --save
11
- ```
12
-
13
- ## CSS files
14
-
15
- ```
16
- 1. To use DateSelect component add the below css file to your root
17
- import 'react-datepicker/dist/react-datepicker.css';
18
- 2. To use Overlay component, Tooltip and ButtonPopup add the below css file to your root
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
- 4. Add import 'react-phone-input-2/lib/style.css' if CountryCodedPhoneInput is needed
22
-
23
-
24
- ```
25
-
26
- ## Documentation And Example
27
-
28
- ```
29
- https://groundfloor-react-ui--63f723af2a11e9df1310e721.chromatic.com/
30
-
31
- ```
32
-
33
- ## Pre-requisites
34
-
35
- The following peer dependencies are required to run in a React Project
36
-
37
- - React v16.3 or greater
38
- - styled-components v5 or greater
39
-
40
- ---
1
+ # GroundFloor React UI
2
+
3
+ The official component library for GroundFloor application
4
+
5
+ ## Installation
6
+
7
+ The package can be installed via [npm](https://github.com/npm/cli):
8
+
9
+ ```
10
+ npm install groundfloor-react-ui --save
11
+ ```
12
+
13
+ ## CSS files
14
+
15
+ ```
16
+ 1. To use DateSelect component add the below css file to your root
17
+ import 'react-datepicker/dist/react-datepicker.css';
18
+ 2. To use Overlay component, Tooltip and ButtonPopup add the below css file to your root
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
+ 4. Add import 'react-phone-input-2/lib/style.css' if CountryCodedPhoneInput is needed
22
+
23
+
24
+ ```
25
+
26
+ ## Documentation And Example
27
+
28
+ ```
29
+ https://groundfloor-react-ui--63f723af2a11e9df1310e721.chromatic.com/
30
+
31
+ ```
32
+
33
+ ## Pre-requisites
34
+
35
+ The following peer dependencies are required to run in a React Project
36
+
37
+ - React v16.3 or greater
38
+ - styled-components v5 or greater
39
+
40
+ ---
package/dist/index.es.js CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "groundfloor-react-ui",
3
- "description": "Official component library for Ground Floor",
4
- "version": "1.3.6",
5
- "main": "dist/index.js",
6
- "module": "dist/index.es.js",
7
- "private": false,
8
- "scripts": {
9
- "test": "echo \"Error: no test specified\" && exit 1",
10
- "build-lib": "rollup -c"
11
- },
12
- "peerDependencies": {
13
- "@babel/preset-react": "^7.18.6",
14
- "@rollup/plugin-babel": "^6.0.0",
15
- "@rollup/plugin-image": "^3.0.0",
16
- "@rollup/plugin-node-resolve": "^15.0.0",
17
- "@rollup/plugin-url": "^8.0.0",
18
- "@types/prop-types": "^15.7.3",
19
- "@types/react": ">=16.14.8",
20
- "dayjs": "^1.11.6",
21
- "prop-types": ">=15.7.2",
22
- "react": ">=16.18.1",
23
- "react-data-table-component": ">=7.4.7",
24
- "react-datepicker": ">=4.6.0",
25
- "react-phone-input-2": "^2.15.1",
26
- "react-dom": ">=16.8.0",
27
- "react-modal": ">=3.15.1",
28
- "react-popper": ">=2.2.5",
29
- "react-popper-tooltip": ">=4.3.1",
30
- "react-select": ">=5.3.2",
31
- "react-signature-pad-wrapper": ">=1.3.0",
32
- "react-svg": ">=14.1.6",
33
- "rollup": "^2.79.1",
34
- "rollup-plugin-peer-deps-external": "^2.2.4",
35
- "rollup-plugin-postcss": "^4.0.2",
36
- "rollup-plugin-terser": "^7.0.2",
37
- "styled-components": ">=5.2.1",
38
- "@rollup/plugin-commonjs": "^23.0.0"
39
- }
40
- }
1
+ {
2
+ "name": "groundfloor-react-ui",
3
+ "description": "Official component library for Ground Floor",
4
+ "version": "1.3.7",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.es.js",
7
+ "private": false,
8
+ "scripts": {
9
+ "test": "echo \"Error: no test specified\" && exit 1",
10
+ "build-lib": "rollup -c"
11
+ },
12
+ "peerDependencies": {
13
+ "@babel/preset-react": "^7.18.6",
14
+ "@rollup/plugin-babel": "^6.0.0",
15
+ "@rollup/plugin-image": "^3.0.0",
16
+ "@rollup/plugin-node-resolve": "^15.0.0",
17
+ "@rollup/plugin-url": "^8.0.0",
18
+ "@types/prop-types": "^15.7.3",
19
+ "@types/react": ">=16.14.8",
20
+ "dayjs": "^1.11.6",
21
+ "prop-types": ">=15.7.2",
22
+ "react": ">=16.18.1",
23
+ "react-data-table-component": ">=7.4.7",
24
+ "react-datepicker": ">=4.6.0",
25
+ "react-phone-input-2": "^2.15.1",
26
+ "react-dom": ">=16.8.0",
27
+ "react-modal": ">=3.15.1",
28
+ "react-popper": ">=2.2.5",
29
+ "react-popper-tooltip": ">=4.3.1",
30
+ "react-select": ">=5.3.2",
31
+ "react-signature-pad-wrapper": ">=1.3.0",
32
+ "react-svg": ">=14.1.6",
33
+ "rollup": "^2.79.1",
34
+ "rollup-plugin-peer-deps-external": "^2.2.4",
35
+ "rollup-plugin-postcss": "^4.0.2",
36
+ "rollup-plugin-terser": "^7.0.2",
37
+ "styled-components": ">=5.2.1",
38
+ "@rollup/plugin-commonjs": "^23.0.0"
39
+ }
40
+ }
package/rollup.config.js CHANGED
@@ -1,54 +1,54 @@
1
- import { babel } from '@rollup/plugin-babel';
2
- import commonjs from '@rollup/plugin-commonjs';
3
- import image from '@rollup/plugin-image';
4
- import resolve from '@rollup/plugin-node-resolve';
5
- import url from '@rollup/plugin-url';
6
- import external from 'rollup-plugin-peer-deps-external';
7
- import postcss from 'rollup-plugin-postcss';
8
- import { terser } from 'rollup-plugin-terser';
9
-
10
- const configuration = [
11
- {
12
- input: '../library/index.js',
13
- output: [
14
- {
15
- file: 'dist/index.js',
16
- format: 'cjs',
17
- },
18
- {
19
- file: 'dist/index.es.js',
20
- format: 'es',
21
- exports: 'named',
22
- }
23
- ],
24
- plugins: [
25
- postcss({
26
- plugins: [],
27
- minimize: true,
28
- }),
29
- babel({
30
- exclude: 'node_modules/**',
31
- presets: ['@babel/preset-react']
32
-
33
- }),
34
- image(),
35
- url({
36
- // by default, rollup-plugin-url will not handle font files
37
- include: ['**/*.woff', '**/*.woff2'],
38
- // setting infinite limit will ensure that the files
39
- // are always bundled with the code, not copied to /dist
40
- limit: Infinity,
41
- }),
42
-
43
- external(['react', 'react-dom', 'prop-types', 'styled-components',]),
44
- resolve(),
45
- terser(),
46
- commonjs({
47
- include: [
48
- /node_modules\/prop-types/,
49
- ],
50
- }),
51
- ]
52
- }
53
- ]
54
- export default configuration
1
+ import { babel } from '@rollup/plugin-babel';
2
+ import commonjs from '@rollup/plugin-commonjs';
3
+ import image from '@rollup/plugin-image';
4
+ import resolve from '@rollup/plugin-node-resolve';
5
+ import url from '@rollup/plugin-url';
6
+ import external from 'rollup-plugin-peer-deps-external';
7
+ import postcss from 'rollup-plugin-postcss';
8
+ import { terser } from 'rollup-plugin-terser';
9
+
10
+ const configuration = [
11
+ {
12
+ input: '../library/index.js',
13
+ output: [
14
+ {
15
+ file: 'dist/index.js',
16
+ format: 'cjs',
17
+ },
18
+ {
19
+ file: 'dist/index.es.js',
20
+ format: 'es',
21
+ exports: 'named',
22
+ }
23
+ ],
24
+ plugins: [
25
+ postcss({
26
+ plugins: [],
27
+ minimize: true,
28
+ }),
29
+ babel({
30
+ exclude: 'node_modules/**',
31
+ presets: ['@babel/preset-react']
32
+
33
+ }),
34
+ image(),
35
+ url({
36
+ // by default, rollup-plugin-url will not handle font files
37
+ include: ['**/*.woff', '**/*.woff2'],
38
+ // setting infinite limit will ensure that the files
39
+ // are always bundled with the code, not copied to /dist
40
+ limit: Infinity,
41
+ }),
42
+
43
+ external(['react', 'react-dom', 'prop-types', 'styled-components',]),
44
+ resolve(),
45
+ terser(),
46
+ commonjs({
47
+ include: [
48
+ /node_modules\/prop-types/,
49
+ ],
50
+ }),
51
+ ]
52
+ }
53
+ ]
54
+ export default configuration
Binary file