Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alampros/react-confetti
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.0
Choose a base ref
...
head repository: alampros/react-confetti
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.1
Choose a head ref
  • 10 commits
  • 4 files changed
  • 6 contributors

Commits on Jul 17, 2020

  1. Sync from master

    alampros committed Jul 17, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    kraenhansen Kræn Hansen
    Copy the full SHA
    0ca5c18 View commit details

Commits on Nov 10, 2020

  1. fix formatting of readme

    the type has an unescaped pipe character (`|`) in it to represent `or` but also the layout of the readme uses pipe characters to indicate columns. this commit escapes the pipe in the readme so it displays properly on github
    
    PS thanks for making this fun library!
    drewrwilson authored Nov 10, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    kraenhansen Kræn Hansen
    Copy the full SHA
    13e5f4d View commit details

Commits on Nov 18, 2020

  1. build(deps-dev): bump semantic-release from 17.1.1 to 17.2.3

    Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.1.1 to 17.2.3.
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v17.1.1...v17.2.3)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 18, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    kraenhansen Kræn Hansen
    Copy the full SHA
    f26d090 View commit details

Commits on Nov 19, 2020

  1. Merge pull request #94 from drewrwilson/develop

    🎉  Fixes the formatting of readme on github 🎉
    alampros authored Nov 19, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    kraenhansen Kræn Hansen
    Copy the full SHA
    a738a3a View commit details

Commits on Dec 11, 2020

  1. build(deps): bump ini from 1.3.5 to 1.3.7

    Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
    - [Release notes](https://github.com/isaacs/ini/releases)
    - [Commits](npm/ini@v1.3.5...v1.3.7)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 11, 2020
    Copy the full SHA
    107a92d View commit details

Commits on Dec 15, 2020

  1. Merge pull request #96 from alampros/dependabot/npm_and_yarn/semantic…

    …-release-17.2.3
    
    build(deps-dev): bump semantic-release from 17.1.1 to 17.2.3
    alampros authored Dec 15, 2020
    Copy the full SHA
    08e3331 View commit details
  2. Merge pull request #97 from alampros/dependabot/npm_and_yarn/ini-1.3.7

    build(deps): bump ini from 1.3.5 to 1.3.7
    alampros authored Dec 15, 2020
    Copy the full SHA
    b5c7a1f View commit details

Commits on Feb 22, 2021

  1. fix: Allow react 17 in peer dependency

    coolbaluk authored and alampros committed Feb 22, 2021
    Copy the full SHA
    266a3dd View commit details
  2. Merge branch 'develop'

    alampros committed Feb 22, 2021
    Copy the full SHA
    78dc4c4 View commit details
  3. chore(release): 6.0.1 [skip ci]

    ## [6.0.1](v6.0.0...v6.0.1) (2021-02-22)
    
    ### Bug Fixes
    
    * Allow react 17 in peer dependency ([266a3dd](266a3dd))
    semantic-release-bot committed Feb 22, 2021
    Copy the full SHA
    fc3e0ff View commit details
Showing with 17 additions and 10 deletions.
  1. +7 −0 CHANGELOG.md
  2. +2 −2 README.md
  3. +2 −2 package.json
  4. +6 −6 yarn.lock
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [6.0.1](https://github.com/alampros/react-confetti/compare/v6.0.0...v6.0.1) (2021-02-22)


### Bug Fixes

* Allow react 17 in peer dependency ([266a3dd](https://github.com/alampros/react-confetti/commit/266a3dd68c37312dc63d5597695de4491cdc1623))

# [6.0.0](https://github.com/alampros/react-confetti/compare/v5.1.0...v6.0.0) (2020-07-17)


4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -52,8 +52,8 @@ export default () => {
| `friction` | `Number` | 0.99 | |
| `wind` | `Number` | 0 | |
| `gravity` | `Number` | 0.1 | |
| `initialVelocityX` | `Number | { min: Number, max: Number }` | 4 | Range of values between which confetti is emitted horizontally, positive numbers being rightward, and negative numbers being leftward. Giving a number `x` is equivalent to giving a range `{ min: -x, max: x }`. |
| `initialVelocityY` | `Number | { min: Number, max: Number }` | 10 | Range of values between which confetti is emitted vertically, positive numbers being downward, and negative numbers being upward. Giving a number `y` is equivalent to giving a range `{ min: -y, max: 0 }`.|
| `initialVelocityX` | `Number \| { min: Number, max: Number }` | 4 | Range of values between which confetti is emitted horizontally, positive numbers being rightward, and negative numbers being leftward. Giving a number `x` is equivalent to giving a range `{ min: -x, max: x }`. |
| `initialVelocityY` | `Number \| { min: Number, max: Number }` | 10 | Range of values between which confetti is emitted vertically, positive numbers being downward, and negative numbers being upward. Giving a number `y` is equivalent to giving a range `{ min: -y, max: 0 }`.|
| `colors` | `String[]` | `['#f44336'`</br>`'#e91e63'`</br>`'#9c27b0'`</br>`'#673ab7'`</br>`'#3f51b5'`</br>`'#2196f3'`</br>`'#03a9f4'`</br>`'#00bcd4'`</br>`'#009688'`</br>`'#4CAF50'`</br>`'#8BC34A'`</br>`'#CDDC39'`</br>`'#FFEB3B'`</br>`'#FFC107'`</br>`'#FF9800'`</br>`'#FF5722'`</br>`'#795548']`</br> | All available Colors for the confetti pieces. |
| `opacity` | `Number` | 1.0 | |
| `recycle` | `Bool` | true | Keep spawning confetti after `numberOfPieces` pieces have been shown. |
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-confetti",
"version": "6.0.0",
"version": "6.0.1",
"description": "React component to draw confetti for your party.",
"main": "dist/react-confetti.min.js",
"types": "dist/types/ReactConfetti.d.ts",
@@ -45,7 +45,7 @@
"develop": "start-storybook -p 3000"
},
"peerDependencies": {
"react": "^16.3.0"
"react": "^16.3.0 || ^17.0.1"
},
"dependencies": {
"tween-functions": "^1.2.0"
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -6815,9 +6815,9 @@ inherits@2.0.3:
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=

ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
version "1.3.5"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
version "1.3.7"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==

init-package-json@^1.10.3:
version "1.10.3"
@@ -11054,9 +11054,9 @@ select@^1.1.2:
integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=

semantic-release@^17.1.1:
version "17.1.1"
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-17.1.1.tgz#d9775968e841b2b7c5020559e4481aea8520ca75"
integrity sha512-9H+207eynBJElrQBHySZm+sIEoJeUhPA2zU4cdlY1QSInd2lnE8GRD2ALry9EassE22c9WW+aCREwBhro5AIIg==
version "17.2.3"
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-17.2.3.tgz#11f10b851d4e75b1015b17515c433049b3df994c"
integrity sha512-MY1MlowGQrkOR7+leOD8ICkVOC6i1szbwDODdbJ0UdshtMx8Ms0bhpRQmEEliqYKEb5PLv/dqs6zKKuHT7UxTg==
dependencies:
"@semantic-release/commit-analyzer" "^8.0.0"
"@semantic-release/error" "^2.2.0"