Skip to content

Commit

Permalink
update react-flip-toolkit to 7.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
aholachek committed Nov 5, 2020
1 parent fc44dfa commit 8e9194f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@ in both `flip-toolkit` (first), then updating the version of flip-toolkit` in `r

### Real release

When making an actual release, provide an associated commit message to explain what the release does:

`npm version patch -m "Upgrade to %s for reasons"`

1. Release `flip-toolkit`, wait a bit (30mins+) and ensure it shows up on npm, unpkg, maybe even https://bundlephobia.com/[email protected] to make sure nothing unexpected changed with the size, and is working on this codesandbox: https://codesandbox.io/s/5v1k1nwz8l?file=/package.json.
2. Once everything looks good, release `react-flip-toolkit` after upgrading package.json to the new version of `flip-toolkit`.
2 changes: 1 addition & 1 deletion packages/react-flip-toolkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ The parent wrapper component that contains all the elements to be animated. You'
| ----------------------- | :--------: | :------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| flipKey **(required)** | - | `string`, `number`, `bool` | Changing this tells `react-flip-toolkit` to transition child elements wrapped in `Flipped` components. |
| children **(required)** | - | `node` | One or more element children |
| spring | `noWobble` | `string` or `object` | Provide a string referencing one of the spring presets — `noWobble` (default), `veryGentle`, `gentle`, `wobbly`, or `stiff`, OR provide an object with stiffness and damping parameters. [Explore the spring setting options here.](https://codepen.io/aholachek/full/bKmZbV/) The prop provided here will be the spring default that can be overrided on a per-element basis on the `Flipped` component. |
| spring | `noWobble` | `string` or `object` | Provide a string referencing one of the spring presets — `noWobble` (default), `veryGentle`, `gentle`, `wobbly`, or `stiff`, OR provide an object with stiffness and damping parameters. [Explore the spring setting options here.](https://codesandbox.io/s/react-flip-toolkit-spring-settings-explorer-vjrsh). The prop provided here will be the spring default that can be overrided on a per-element basis on the `Flipped` component. |
| applyTransformOrigin | `true` | `bool` | Whether or not `react-flip-toolkit` should apply a transform-origin of "0 0" to animating children (this is generally, but not always, desirable for FLIP animations) |
| element | `div` | `string` | If you'd like the wrapper element created by the `Flipped` container to be something other than a `div`, you can specify that here. |
| className | - | `string` | A class applied to the wrapper element, helpful for styling. |
Expand Down
4 changes: 2 additions & 2 deletions packages/react-flip-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-flip-toolkit",
"version": "7.0.12",
"version": "7.0.13",
"description": "Configurable FLIP animation helpers for React",
"license": "MIT",
"source": "src/index.ts",
Expand Down Expand Up @@ -47,7 +47,7 @@
"prepublish": "npm run build"
},
"dependencies": {
"flip-toolkit": "7.0.12-0",
"flip-toolkit": "7.0.13",
"prop-types": "^15.5.7"
},
"peerDependencies": {
Expand Down

0 comments on commit 8e9194f

Please sign in to comment.