@successtar/cogo-toast 5.0.4 → 5.0.5

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.
Files changed (2) hide show
  1. package/README.md +17 -7
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,12 +1,14 @@
1
+ <h2>Disclaimer:</h2>
2
+ <p>This is a fork of Cogoport/cogo-toast with fixes for warnings in React <code>^18.x.x</code></p>
1
3
  <p align="center"><a href="https://cogoport.github.io/cogo-toast/" target="_blank"><img src="https://cogoport.github.io/cogo-toast/meta/android-chrome-96x96.png" alt="cogo-toast" title="cogo-toast" width="120"></a></p>
2
4
  <h1 align="center">Cogo Toast</h1>
3
- <p align="center" style="font-size: 1.2rem;">Beautiful, Zero Configuration, Toast Messages for React (^18.x.x) ~4kb gzip (with styles and icons)</p>
5
+ <p align="center" style="font-size: 1.2rem;">Beautiful, Zero Configuration, Toast Messages for React ~4kb gzip (with styles and icons)</p>
4
6
  <p align="center"><a href="https://cogoport.github.io/cogo-toast/">https://cogoport.github.io/cogo-toast/</a></p>
5
7
 
6
8
  [![Dependencies](https://img.shields.io/david/Cogoport/cogo-toast.svg)](https://david-dm.org/Cogoport/cogo-toast.svg)
7
- [![npm package](https://img.shields.io/npm/v/cogo-toast/latest.svg)](https://www.npmjs.com/package/cogo-toast)
8
- [![Small size](https://img.badgesize.io/https://unpkg.com/cogo-toast/dist/index.js?compression=gzip)](https://unpkg.com/cogo-toast/dist/index.js)
9
- [![npm downloads](https://img.shields.io/npm/dm/cogo-toast.svg)](https://www.npmjs.com/package/cogo-toast)
9
+ [![npm package](https://img.shields.io/npm/v/@successtar/cogo-toast/latest.svg)](https://www.npmjs.com/package/@successtar/cogo-toast)
10
+ [![Small size](https://img.badgesize.io/https://unpkg.com/cogo-toast/dist/index.js?compression=gzip)](https://unpkg.com/@successtar/cogo-toast/dist/index.js)
11
+ [![npm downloads](https://img.shields.io/npm/dm/cogo-toast.svg)](https://www.npmjs.com/package/@successtar/cogo-toast)
10
12
  ![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)
11
13
  [![License](https://img.shields.io/npm/l/@xstyled/styled-components.svg)](https://github.com/Cogoport/cogo-toast/blob/master/LICENSE)
12
14
 
@@ -17,18 +19,26 @@
17
19
  ### Install via NPM:
18
20
 
19
21
  ```bash
20
- npm install --save cogo-toast
22
+ npm install --save @successtar/cogo-toast
21
23
  ```
22
24
 
23
25
  ### Install via Yarn:
24
26
 
25
27
  ```bash
26
- yarn add cogo-toast
28
+ yarn add @successtar/cogo-toast
27
29
  ```
28
30
 
29
31
  #### Note:
30
32
 
31
- The latest version `^3.0.0` makes the use of React Hooks internally.
33
+ The latest version `^5.0.0` is only compatible with React `^18.0.0`.
34
+
35
+ To use this package in projects with React below `18.0.0`.
36
+
37
+ ```bash
38
+ yarn add cogo-toast@4.2.3
39
+ ```
40
+
41
+ The version `^3.0.0` makes the use of React Hooks internally.
32
42
 
33
43
  To use this package in projects that don't support hooks, use `v2.0.1` instead.
34
44
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@successtar/cogo-toast",
3
3
  "description": "Beautiful, Zero Configuration, Toast Messages - Built with React (^18.2.0)",
4
- "version": "5.0.4",
4
+ "version": "5.0.5",
5
5
  "license": "MIT",
6
6
  "scripts": {
7
7
  "setup": "yarn install && cd docs && yarn install",
@@ -76,13 +76,13 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "homepage": "https://cogoport.github.io/cogo-toast/",
79
+ "homepage": "https://successtar.github.io/cogo-toast/",
80
80
  "bugs": {
81
- "url": "https://github.com/Cogoport/cogo-toast/issues"
81
+ "url": "https://github.com/Cogoport/successtar/cogo-toast/issues"
82
82
  },
83
83
  "repository": {
84
84
  "type": "git",
85
- "url": "git+https://github.com/Cogoport/cogo-toast.git"
85
+ "url": "git+https://github.com/successtar/cogo-toast.git"
86
86
  },
87
87
  "keywords": [
88
88
  "react",