This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from madou/container-grow
feat: Reshaping Container, SimpleReveal, Nested Baba's
- Loading branch information
Showing
46 changed files
with
1,455 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,40 @@ | ||
# yubaba | ||
|
||
is an element animation orchestrator for React.js ✨ | ||
easy to use animations with powerful orchestration for React.js 🧙✨ | ||
|
||
[![npm](https://img.shields.io/npm/v/yubaba.svg)](https://www.npmjs.com/package/yubaba) | ||
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/yubaba.svg)](https://bundlephobia.com/result?p=yubaba) | ||
[![npm](https://img.shields.io/npm/v/yubaba.svg)](https://www.npmjs.com/package/yubaba) [![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/yubaba.svg)](https://bundlephobia.com/result?p=yubaba) | ||
|
||
[![Example animation using yubaba](https://user-images.githubusercontent.com/6801309/55383683-87894b80-5574-11e9-80ef-7394eb6eca63.gif)](https://yubabajs.com/advanced-usage) | ||
|
||
## Why yubaba | ||
## What is yubaba??? | ||
|
||
`yubaba` is as much of a _platform_ as it is an **orchestrator**. | ||
It comes with prebuilt animations you can drop in and start using immediately, | ||
such as [ConcealMove](https://yubabajs.com/conceal-move) and [RevealMove](https://yubabajs.com/reveal-move) which together can [create an awesome user experience](https://yubabajs.com/advanced-usage) seen above! | ||
It's all about **animation** 🧙✨ - it can help with: | ||
|
||
But even better you can create [_custom_ animations](https://yubabajs.com/custom-animations)! | ||
Using the same internals the [prebuilt animations use](https://yubabajs.com/getting-started), | ||
it comes with a first class customization experience for you to do, | ||
well, | ||
anything! | ||
- [Moving an element](https://yubabajs.com/move) from one position to another | ||
- [Revealing elements](https://yubabajs.com/focal-reveal-move) like you see above | ||
- [Supporting animations](https://yubabajs.com/supporting-animations) by obstructing elements in view; and | ||
- [Hiding children elements](https://yubabajs.com/advanced-usage#delay-showing-content-until-all-animations-have-finished) until animations have completed to trick users 🤫 | ||
- [Orchestrating](https://yubabajs.com/advanced-usage#wait-for-the-previous-animation-to-finish-before-starting-the-next) when animations should happen and [in what order](https://yubabajs.com/advanced-usage#controlling-in-what-order-animations-should-execute) | ||
- Composing animations together to create composite animations, for example [CrossFadeMove](https://yubabajs.com/cross-fade-move) | ||
- [Anything you can imagine](https://yubabajs.com/custom-animations), seriously 🤩 | ||
|
||
## [Docs](https://yubabajs.com) | ||
## Installation | ||
|
||
See the documentation at [yubabajs.com](https://yubabajs.com). | ||
`yubaba` has a peer dependency on [emotion](https://emotion.sh/docs/introduction) for some of the more advanced animations. | ||
|
||
```bash | ||
npm install yubaba react@^16.4.x react-dom@^16.4.x emotion@^9.x.x --save | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
yarn add yubaba react@^16.4.x react-dom@^16.4.x emotion@^9.x.x | ||
``` | ||
|
||
## Next steps | ||
|
||
- **First time** here? After installing head over to [Getting started](https://yubabajs.com/getting-started) to start learning the basics | ||
- Interested in **animating an element**? Check out [Focal animations](https://yubabajs.com/focal-animations) | ||
- For **ready made experiences** check out [Composite components](https://yubabajs.com/composite-components), just grab them and go! | ||
- Having **trouble**? Maybe [Troubleshooting](https://yubabajs.com/troubleshooting) has your answers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
name: Collector | ||
route: /collector | ||
menu: Utility helpers | ||
--- | ||
|
||
import { Playground, PropsTable } from 'docz'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
name: Wait | ||
route: /wait | ||
menu: Utility helpers | ||
--- | ||
|
||
import { Playground, PropsTable } from 'docz'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
name: 2. Getting started | ||
name: 2. Getting started 🏃 | ||
route: /getting-started | ||
order: 4 | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.