Skip to content

Commit 087b27f

Browse files
committed

File tree

40 files changed

+168
-105
lines changed

40 files changed

+168
-105
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a name="1.0.0"></a>
22

3-
# [1.0.0](https://github.com/imcuttle/rcp/compare/v1.0.6...v1.0.0) (2021-02-24)
3+
# [1.0.0](https://github.com/imcuttle/rcp/compare/v1.0.6...v1.0.0) (2021-09-29)
44

55
### Bug Fixes
66

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,24 @@ should be named as `use.{{lowerCase}}`, eg. `@rp/use.i18n`.
5252

5353
## Packages
5454

55-
- [@rcp/c.keepalive](packages/c.keepalive) - Keep react component view / store when switched view.
56-
- [@rcp/c.prompt](packages/c.prompt) - Advanced React router prompt support beforeunload
5755
- [@rcp/c.loadingwrapper](packages/c.loadingwrapper) - A component for easy create loading mask
56+
- [@rcp/c.prompt](packages/c.prompt) - Advanced React router prompt support beforeunload
57+
- [@rcp/c.keepalive](packages/c.keepalive) - Keep react component view / store when switched view.
5858
- [@rcp/hoc.i18n](packages/hoc.i18n) - React Component's high order component about internationalization
5959
- [@rcp/hoc.mount](packages/hoc.mount) - The high order component for mounting component
60-
- [@rcp/use.forceupdate](packages/use.forceupdate) - forceUpdate like legacy react
6160
- [@rcp/hoc.uncontrolled](packages/hoc.uncontrolled) - The high order component for creating uncontrolled component
62-
- [@rcp/use.i18n](packages/use.i18n) - A react hook for using i18n
6361
- [@rcp/use.fetcher](packages/use.fetcher) - async data fetcher
62+
- [@rcp/use.forceupdate](packages/use.forceupdate) - forceUpdate like legacy react
63+
- [@rcp/use.i18n](packages/use.i18n) - A react hook for using i18n
6464
- [@rcp/use.i18ncontext](packages/use.i18ncontext) - A react hook for using i18n provider/consumer
6565
- [@rcp/use.persistfn](packages/use.persistfn) - use persist fn
6666
- [@rcp/use.replacer](packages/use.replacer) - Replace runtime value as your wish
67+
- [@rcp/use.valuesstate](packages/use.valuesstate) - The useful methods exported for values state
6768
- [@rcp/use.uncontrolled](packages/use.uncontrolled) - Make props.value piped to state, and exposes `onChange`, make react component is **uncontrolled & controlled**
6869
- [@rcp/util.createlogger](packages/util.createlogger) - Create namespace isomorphic logger
69-
- [@rcp/use.valuesstate](packages/use.valuesstate) - The useful methods exported for values state
7070
- [@rcp/util.createmount](packages/util.createmount) - The utility for creating mountable view
71-
- [@rcp/util.displayname](packages/util.displayname) - The utility for getting display name
7271
- [@rcp/util.iscompclass](packages/util.iscompclass) - The utility for checking component class
72+
- [@rcp/util.displayname](packages/util.displayname) - The utility for getting display name
7373
- [@rcp/util.iselemof](packages/util.iselemof) - The utility determinating the input is element of the component class
7474
- [@rcp/util.open](packages/util.open) - Open react element standalone
7575
- [@rcp/util.tocompclass](packages/util.tocompclass) - The utility converting stateless to be component class

packages/c.loadingwrapper/CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
<a name="1.0.10"></a>
7-
## [1.0.10](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
6+
<a name="1.0.11"></a>
87

9-
**Note:** Version bump only for package @rcp/c.loadingwrapper
8+
## [1.0.11](https://github.com/imcuttle/rcp/compare/@rcp/c.loadingwrapper@1.0.10...@rcp/[email protected]) (2021-09-29)
109

10+
**Note:** Version bump only for package @rcp/c.loadingwrapper
1111

12+
<a name="1.0.10"></a>
1213

14+
## [1.0.10](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1315

16+
**Note:** Version bump only for package @rcp/c.loadingwrapper
1417

1518
<a name="1.0.9"></a>
19+
1620
## [1.0.9](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1721

1822
**Note:** Version bump only for package @rcp/c.loadingwrapper
1923

20-
21-
22-
23-
2424
<a name="1.0.8"></a>
2525

2626
## [1.0.8](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-04)

packages/c.loadingwrapper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
},
3636
"main": "index.js",
3737
"typings": "index.d.ts",
38-
"version": "1.0.10",
38+
"version": "1.0.11",
3939
"gitHead": "f28ececd4b2fab80551292239b568841c895177f"
4040
}

packages/c.prompt/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
<a name="1.0.4"></a>
7+
8+
## [1.0.4](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-09-29)
9+
10+
**Note:** Version bump only for package @rcp/c.prompt
11+
612
<a name="1.0.3"></a>
713

814
## [1.0.3](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-02-24)

packages/c.prompt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"engines": {
3535
"node": ">=6"
3636
},
37-
"version": "1.0.3",
37+
"version": "1.0.4",
3838
"devDependencies": {
3939
"@types/history": "^4.7.8",
4040
"@types/react-router": "5.1.8",
@@ -47,7 +47,7 @@
4747
"react-router": ">=5"
4848
},
4949
"dependencies": {
50-
"@rcp/util.open": "^1.0.2",
50+
"@rcp/util.open": "^1.0.3",
5151
"lodash.isequal": "^4.5.0"
5252
}
5353
}

packages/hoc.i18n/CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
<a name="1.0.30"></a>
7-
## [1.0.30](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
6+
<a name="1.0.31"></a>
87

9-
**Note:** Version bump only for package @rcp/hoc.i18n
8+
## [1.0.31](https://github.com/imcuttle/rcp/compare/@rcp/hoc.i18n@1.0.30...@rcp/[email protected]) (2021-09-29)
109

10+
**Note:** Version bump only for package @rcp/hoc.i18n
1111

12+
<a name="1.0.30"></a>
1213

14+
## [1.0.30](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1315

16+
**Note:** Version bump only for package @rcp/hoc.i18n
1417

1518
<a name="1.0.29"></a>
19+
1620
## [1.0.29](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1721

1822
**Note:** Version bump only for package @rcp/hoc.i18n
1923

20-
21-
22-
23-
2424
<a name="1.0.28"></a>
2525

2626
## [1.0.28](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-05)

packages/hoc.i18n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
},
2525
"main": "index.js",
2626
"typings": "index.d.ts",
27-
"version": "1.0.30",
27+
"version": "1.0.31",
2828
"peerDependencies": {
2929
"prop-types": ">=15.0.0",
3030
"react": ">=15.0.0"
3131
},
3232
"dependencies": {
33-
"@rcp/util.createlogger": "^1.1.6",
33+
"@rcp/util.createlogger": "^1.1.7",
3434
"@rcp/util.displayname": "^1.0.15",
3535
"@rcp/util.iscompclass": "^1.0.15",
3636
"lodash.foreach": "^4.5.0",

packages/hoc.mount/CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
<a name="1.0.19"></a>
7-
## [1.0.19](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
6+
<a name="1.0.20"></a>
87

9-
**Note:** Version bump only for package @rcp/hoc.mount
8+
## [1.0.20](https://github.com/imcuttle/rcp/compare/@rcp/hoc.mount@1.0.19...@rcp/[email protected]) (2021-09-29)
109

10+
**Note:** Version bump only for package @rcp/hoc.mount
1111

12+
<a name="1.0.19"></a>
1213

14+
## [1.0.19](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1315

16+
**Note:** Version bump only for package @rcp/hoc.mount
1417

1518
<a name="1.0.18"></a>
19+
1620
## [1.0.18](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1721

1822
**Note:** Version bump only for package @rcp/hoc.mount
1923

20-
21-
22-
23-
2424
<a name="1.0.17"></a>
2525

2626
## [1.0.17](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-04)

packages/hoc.mount/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
},
2222
"main": "index.js",
2323
"typings": "index.d.ts",
24-
"version": "1.0.19",
24+
"version": "1.0.20",
2525
"dependencies": {
26-
"@rcp/util.createlogger": "^1.1.6",
27-
"@rcp/util.createmount": "^1.0.16",
26+
"@rcp/util.createlogger": "^1.1.7",
27+
"@rcp/util.createmount": "^1.0.17",
2828
"@rcp/util.displayname": "^1.0.15",
2929
"@rcp/util.tocompclass": "^1.0.15"
3030
},

packages/hoc.uncontrolled/CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
<a name="2.1.10"></a>
7-
## [2.1.10](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
6+
<a name="2.1.11"></a>
87

9-
**Note:** Version bump only for package @rcp/hoc.uncontrolled
8+
## [2.1.11](https://github.com/imcuttle/rcp/compare/@rcp/hoc.uncontrolled@2.1.10...@rcp/[email protected]) (2021-09-29)
109

10+
**Note:** Version bump only for package @rcp/hoc.uncontrolled
1111

12+
<a name="2.1.10"></a>
1213

14+
## [2.1.10](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1315

16+
**Note:** Version bump only for package @rcp/hoc.uncontrolled
1417

1518
<a name="2.1.9"></a>
19+
1620
## [2.1.9](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1721

1822
**Note:** Version bump only for package @rcp/hoc.uncontrolled
1923

20-
21-
22-
23-
2424
<a name="2.1.8"></a>
2525

2626
## [2.1.8](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-04)

packages/hoc.uncontrolled/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
},
2828
"main": "index.js",
2929
"typings": "index.d.ts",
30-
"version": "2.1.10",
30+
"version": "2.1.11",
3131
"dependencies": {
32-
"@rcp/util.createlogger": "^1.1.6",
32+
"@rcp/util.createlogger": "^1.1.7",
3333
"@rcp/util.displayname": "^1.0.15",
3434
"@rcp/util.iscompclass": "^1.0.15"
3535
},

packages/use.fetcher/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
<a name="1.0.1"></a>
7+
8+
## 1.0.1 (2021-09-29)
9+
10+
**Note:** Version bump only for package @rcp/use.fetcher

packages/use.fetcher/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import useFetcher from '@rcp/use.fetcher'
2121

2222
## API
2323

24+
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
25+
2426
## Related
2527

2628
## Authors

packages/use.fetcher/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,14 @@
3333
"engines": {
3434
"node": ">=6"
3535
},
36-
"version": "1.0.0",
37-
"devDependencies": {},
36+
"version": "1.0.1",
3837
"dependencies": {
38+
"@rcp/use.forceupdate": "^1.0.1",
39+
"@rcp/use.persistfn": "^1.0.2",
40+
"@rcp/use.replacer": "^1.0.1",
41+
"@rcp/use.uncontrolled": "^2.1.1",
3942
"lodash.castarray": "^4.4.0",
4043
"lodash.isequal": "^4.5.0",
41-
"shallowequal": "^1.1.0",
42-
"@rcp/use.forceupdate": "^1.0.0",
43-
"@rcp/use.persistfn": "^1.0.1",
44-
"@rcp/use.replacer": "^1.0.0",
45-
"@rcp/use.uncontrolled": "^2.1.0"
44+
"shallowequal": "^1.1.0"
4645
}
4746
}

packages/use.forceupdate/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
<a name="1.0.1"></a>
7+
8+
## 1.0.1 (2021-09-29)
9+
10+
**Note:** Version bump only for package @rcp/use.forceupdate

packages/use.forceupdate/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import useForceupdate from '@rcp/use.forceupdate'
2121

2222
## API
2323

24+
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
25+
2426
## Related
2527

2628
## Authors

packages/use.forceupdate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
"engines": {
3434
"node": ">=6"
3535
},
36-
"version": "1.0.0"
36+
"version": "1.0.1"
3737
}

packages/use.i18n/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
<a name="1.1.16"></a>
7+
8+
## [1.1.16](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-09-29)
9+
10+
**Note:** Version bump only for package @rcp/use.i18n
11+
612
<a name="1.1.15"></a>
713

814
## [1.1.15](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-05)

packages/use.i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
"engines": {
4040
"node": ">=6"
4141
},
42-
"version": "1.1.15",
42+
"version": "1.1.16",
4343
"gitHead": "c5b70e409b81139b22686bb20a37b60a5ae1c69a"
4444
}

packages/use.i18ncontext/CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
<a name="1.0.18"></a>
7-
## [1.0.18](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
6+
<a name="1.0.19"></a>
87

9-
**Note:** Version bump only for package @rcp/use.i18ncontext
8+
## [1.0.19](https://github.com/imcuttle/rcp/compare/@rcp/use.i18ncontext@1.0.18...@rcp/[email protected]) (2021-09-29)
109

10+
**Note:** Version bump only for package @rcp/use.i18ncontext
1111

12+
<a name="1.0.18"></a>
1213

14+
## [1.0.18](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1315

16+
**Note:** Version bump only for package @rcp/use.i18ncontext
1417

1518
<a name="1.0.17"></a>
19+
1620
## [1.0.17](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-11-19)
1721

1822
**Note:** Version bump only for package @rcp/use.i18ncontext
1923

20-
21-
22-
23-
2424
<a name="1.0.16"></a>
2525

2626
## [1.0.16](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2020-07-05)

packages/use.i18ncontext/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"url": "git+https://github.com/imcuttle/rcp.git"
2525
},
2626
"dependencies": {
27-
"@rcp/use.i18n": "^1.1.15",
27+
"@rcp/use.i18n": "^1.1.16",
2828
"@rcp/util.tocompclass": "^1.0.15"
2929
},
3030
"keywords": [
@@ -37,6 +37,6 @@
3737
"engines": {
3838
"node": ">=6"
3939
},
40-
"version": "1.0.18",
40+
"version": "1.0.19",
4141
"gitHead": "f28ececd4b2fab80551292239b568841c895177f"
4242
}

packages/use.persistfn/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
<a name="1.0.2"></a>
7+
8+
## [1.0.2](https://github.com/imcuttle/rcp/compare/@rcp/[email protected]...@rcp/[email protected]) (2021-09-29)
9+
10+
**Note:** Version bump only for package @rcp/use.persistfn
11+
612
<a name="1.0.1"></a>
713

814
## 1.0.1 (2021-02-24)

0 commit comments

Comments
 (0)