@nanoporetech-digital/components 6.0.1 → 6.2.0
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.
- package/CHANGELOG.md +30 -0
- package/dist/cjs/index-14451c95.js +6 -2
- package/dist/cjs/index-browser.cjs-d4554470.js +39 -0
- package/dist/cjs/index-browser.cjs-d4554470.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-algolia.cjs.entry.js +6 -1
- package/dist/cjs/nano-algolia.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-animation.cjs.entry.js +1209 -0
- package/dist/cjs/nano-animation.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js +24 -25
- package/dist/cjs/nano-global-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-global-search-results.cjs.entry.js +51 -27
- package/dist/cjs/nano-global-search-results.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-hero.cjs.entry.js +1 -1
- package/dist/cjs/nano-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +131 -0
- package/dist/cjs/nano-intersection-observe.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js +1 -1
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-sticker.cjs.entry.js +2 -27
- package/dist/cjs/nano-sticker.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-table-400049cc.js → nano-table-06530d49.js} +5 -25
- package/dist/cjs/nano-table-06530d49.js.map +1 -0
- package/dist/cjs/nano-table.cjs.entry.js +2 -1
- package/dist/cjs/nano-table.cjs.entry.js.map +1 -1
- package/dist/cjs/scroll-parent-87393de2.js +31 -0
- package/dist/cjs/scroll-parent-87393de2.js.map +1 -0
- package/dist/cjs/search-insights-b2bb12bd.js +50 -0
- package/dist/cjs/search-insights-b2bb12bd.js.map +1 -0
- package/dist/cjs/{table.worker-a37f8365.js → table.worker-b4922b9b.js} +3 -2
- package/dist/cjs/table.worker-b4922b9b.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/algolia/algolia-interface.js.map +1 -1
- package/dist/collection/components/algolia/algolia.js +8 -3
- package/dist/collection/components/algolia/algolia.js.map +1 -1
- package/dist/collection/components/animation/animation.js +547 -0
- package/dist/collection/components/animation/animation.js.map +1 -0
- package/dist/collection/components/animation/animations/attention_seekers/bounce.js +43 -0
- package/dist/collection/components/animation/animations/attention_seekers/flash.js +7 -0
- package/dist/collection/components/animation/animations/attention_seekers/headShake.js +8 -0
- package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js +7 -0
- package/dist/collection/components/animation/animations/attention_seekers/jello.js +15 -0
- package/dist/collection/components/animation/animations/attention_seekers/pulse.js +5 -0
- package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js +9 -0
- package/dist/collection/components/animation/animations/attention_seekers/shake.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/shakeX.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/shakeY.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/swing.js +7 -0
- package/dist/collection/components/animation/animations/attention_seekers/tada.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/wobble.js +18 -0
- package/dist/collection/components/animation/animations/back_entrances/backInDown.js +5 -0
- package/dist/collection/components/animation/animations/back_entrances/backInLeft.js +5 -0
- package/dist/collection/components/animation/animations/back_entrances/backInRight.js +5 -0
- package/dist/collection/components/animation/animations/back_entrances/backInUp.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutDown.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutLeft.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutRight.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutUp.js +5 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js +14 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js +20 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js +16 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js +16 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js +16 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js +6 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js +14 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js +12 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js +8 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js +18 -0
- package/dist/collection/components/animation/animations/easings/easings.js +35 -0
- package/dist/collection/components/animation/animations/easings/easings.js.map +1 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOut.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js +4 -0
- package/dist/collection/components/animation/animations/flippers/flip.js +32 -0
- package/dist/collection/components/animation/animations/flippers/flipInX.js +20 -0
- package/dist/collection/components/animation/animations/flippers/flipInY.js +20 -0
- package/dist/collection/components/animation/animations/flippers/flipOutX.js +13 -0
- package/dist/collection/components/animation/animations/flippers/flipOutY.js +13 -0
- package/dist/collection/components/animation/animations/index.js +203 -0
- package/dist/collection/components/animation/animations/index.js.map +1 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js +10 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js +10 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js +8 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js +8 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js +4 -0
- package/dist/collection/components/animation/animations/specials/hinge.js +18 -0
- package/dist/collection/components/animation/animations/specials/jackInTheBox.js +11 -0
- package/dist/collection/components/animation/animations/specials/rollIn.js +8 -0
- package/dist/collection/components/animation/animations/specials/rollOut.js +8 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js +4 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js +14 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js +14 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js +14 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js +14 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js +5 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js +14 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js +12 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js +12 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js +14 -0
- package/dist/collection/components/global-nav/global-nav-interface.js.map +1 -1
- package/dist/collection/components/global-nav/global-nav.js +25 -25
- package/dist/collection/components/global-nav/global-nav.js.map +1 -1
- package/dist/collection/components/global-search-results/global-search-results.js +51 -27
- package/dist/collection/components/global-search-results/global-search-results.js.map +1 -1
- package/dist/collection/components/hero/hero.css +0 -1
- package/dist/collection/components/intersection-observe/intersection-observe.js +256 -0
- package/dist/collection/components/intersection-observe/intersection-observe.js.map +1 -0
- package/dist/collection/components/resize-observe/resize-observe.js +1 -1
- package/dist/collection/components/resize-observe/resize-observe.js.map +1 -1
- package/dist/collection/components/select/select.js +5 -5
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sticker/sticker.js +2 -27
- package/dist/collection/components/sticker/sticker.js.map +1 -1
- package/dist/collection/components/table/table.js +2 -1
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table/table.utils.js +0 -21
- package/dist/collection/components/table/table.utils.js.map +1 -1
- package/dist/collection/utils/scroll-parent.js +26 -0
- package/dist/collection/utils/scroll-parent.js.map +1 -0
- package/dist/collection/utils/search-insights.js +46 -0
- package/dist/collection/utils/search-insights.js.map +1 -0
- package/dist/components/algolia.js +6 -1
- package/dist/components/algolia.js.map +1 -1
- package/dist/components/index-browser.cjs.js +37 -0
- package/dist/components/index-browser.cjs.js.map +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{nano-aspect-ratio.d.ts → nano-animation.d.ts} +4 -4
- package/dist/components/nano-animation.js +1239 -0
- package/dist/components/nano-animation.js.map +1 -0
- package/dist/components/nano-global-nav.js +24 -25
- package/dist/components/nano-global-nav.js.map +1 -1
- package/dist/components/nano-global-search-results.js +51 -27
- package/dist/components/nano-global-search-results.js.map +1 -1
- package/dist/components/nano-hero.js +1 -1
- package/dist/components/nano-hero.js.map +1 -1
- package/dist/components/nano-intersection-observe.d.ts +11 -0
- package/dist/components/nano-intersection-observe.js +149 -0
- package/dist/components/nano-intersection-observe.js.map +1 -0
- package/dist/components/resize-observe.js +1 -1
- package/dist/components/resize-observe.js.map +1 -1
- package/dist/components/scroll-parent.js +29 -0
- package/dist/components/scroll-parent.js.map +1 -0
- package/dist/components/search-insights.js +48 -0
- package/dist/components/search-insights.js.map +1 -0
- package/dist/components/select.js.map +1 -1
- package/dist/components/sticker.js +2 -27
- package/dist/components/sticker.js.map +1 -1
- package/dist/components/table.js +1 -21
- package/dist/components/table.js.map +1 -1
- package/dist/esm/index-9695db0a.js +6 -2
- package/dist/esm/index-browser.cjs-bf702094.js +37 -0
- package/dist/esm/index-browser.cjs-bf702094.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-algolia.entry.js +6 -1
- package/dist/esm/nano-algolia.entry.js.map +1 -1
- package/dist/esm/nano-animation.entry.js +1205 -0
- package/dist/esm/nano-animation.entry.js.map +1 -0
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +1 -1
- package/dist/esm/nano-global-nav.entry.js +24 -25
- package/dist/esm/nano-global-nav.entry.js.map +1 -1
- package/dist/esm/nano-global-search-results.entry.js +51 -27
- package/dist/esm/nano-global-search-results.entry.js.map +1 -1
- package/dist/esm/nano-hero.entry.js +1 -1
- package/dist/esm/nano-hero.entry.js.map +1 -1
- package/dist/esm/nano-intersection-observe.entry.js +127 -0
- package/dist/esm/nano-intersection-observe.entry.js.map +1 -0
- package/dist/esm/nano-resize-observe_2.entry.js +1 -1
- package/dist/esm/nano-resize-observe_2.entry.js.map +1 -1
- package/dist/esm/nano-sticker.entry.js +2 -27
- package/dist/esm/nano-sticker.entry.js.map +1 -1
- package/dist/esm/{nano-table-a6641aef.js → nano-table-c85a2fd3.js} +3 -23
- package/dist/esm/nano-table-c85a2fd3.js.map +1 -0
- package/dist/esm/nano-table.entry.js +2 -1
- package/dist/esm/nano-table.entry.js.map +1 -1
- package/dist/esm/scroll-parent-bab1cbf7.js +29 -0
- package/dist/esm/scroll-parent-bab1cbf7.js.map +1 -0
- package/dist/esm/search-insights-f64a6b4c.js +48 -0
- package/dist/esm/search-insights-f64a6b4c.js.map +1 -0
- package/dist/esm/{table.worker-6b597e20.js → table.worker-761fba3e.js} +3 -2
- package/dist/esm/table.worker-761fba3e.js.map +1 -0
- package/dist/nano-components/index-browser.cjs-bf702094.js +5 -0
- package/dist/nano-components/index-browser.cjs-bf702094.js.map +1 -0
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js.map +1 -1
- package/dist/nano-components/nano-animation.entry.js +5 -0
- package/dist/nano-components/nano-animation.entry.js.map +1 -0
- package/dist/nano-components/nano-components.css +1 -1
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-components.esm.js.map +1 -1
- package/dist/nano-components/nano-global-nav-user-profile_3.entry.js.map +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js.map +1 -1
- package/dist/nano-components/nano-global-search-results.entry.js +1 -1
- package/dist/nano-components/nano-global-search-results.entry.js.map +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js.map +1 -1
- package/dist/nano-components/nano-intersection-observe.entry.js +5 -0
- package/dist/nano-components/nano-intersection-observe.entry.js.map +1 -0
- package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe_2.entry.js.map +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js.map +1 -1
- package/dist/nano-components/nano-table-c85a2fd3.js +5 -0
- package/dist/nano-components/nano-table-c85a2fd3.js.map +1 -0
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/scroll-parent-bab1cbf7.js +5 -0
- package/dist/nano-components/scroll-parent-bab1cbf7.js.map +1 -0
- package/dist/nano-components/search-insights-f64a6b4c.js +5 -0
- package/dist/nano-components/search-insights-f64a6b4c.js.map +1 -0
- package/dist/nano-components/table.worker-761fba3e.js +5 -0
- package/dist/types/components/algolia/algolia-interface.d.ts +2 -1
- package/dist/types/components/algolia/algolia.d.ts +7 -1
- package/dist/types/components/animation/animation.d.ts +74 -0
- package/dist/types/components/animation/animations/easings/easings.d.ts +31 -0
- package/dist/types/components/animation/animations/index.d.ts +101 -0
- package/dist/types/components/global-nav/global-nav-interface.d.ts +1 -0
- package/dist/types/components/global-nav/global-nav.d.ts +2 -6
- package/dist/types/components/global-search-results/global-search-results.d.ts +13 -7
- package/dist/types/components/intersection-observe/intersection-observe.d.ts +45 -0
- package/dist/types/components/select/select.d.ts +2 -4
- package/dist/types/components/sticker/sticker.d.ts +0 -5
- package/dist/types/components/table/table.utils.d.ts +0 -6
- package/dist/types/components.d.ts +213 -43
- package/dist/types/interface.d.ts +7 -2
- package/dist/types/utils/scroll-parent.d.ts +6 -0
- package/dist/types/utils/search-insights.d.ts +22 -0
- package/docs-json.json +1031 -117
- package/docs-vscode.json +488 -8
- package/hydrate/index.js +1636 -249
- package/package.json +3 -2
- package/dist/cjs/nano-aspect-ratio.cjs.entry.js +0 -53
- package/dist/cjs/nano-aspect-ratio.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-table-400049cc.js.map +0 -1
- package/dist/cjs/table.worker-a37f8365.js.map +0 -1
- package/dist/collection/components/aspect-ratio/aspect-ratio.css +0 -38
- package/dist/collection/components/aspect-ratio/aspect-ratio.js +0 -106
- package/dist/collection/components/aspect-ratio/aspect-ratio.js.map +0 -1
- package/dist/components/nano-aspect-ratio.js +0 -70
- package/dist/components/nano-aspect-ratio.js.map +0 -1
- package/dist/esm/nano-aspect-ratio.entry.js +0 -49
- package/dist/esm/nano-aspect-ratio.entry.js.map +0 -1
- package/dist/esm/nano-table-a6641aef.js.map +0 -1
- package/dist/esm/table.worker-6b597e20.js.map +0 -1
- package/dist/nano-components/nano-aspect-ratio.entry.js +0 -5
- package/dist/nano-components/nano-aspect-ratio.entry.js.map +0 -1
- package/dist/nano-components/nano-table-a6641aef.js +0 -5
- package/dist/nano-components/nano-table-a6641aef.js.map +0 -1
- package/dist/nano-components/table.worker-6b597e20.js +0 -5
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +0 -19
- /package/dist/nano-components/{table.worker-6b597e20.js.map → table.worker-761fba3e.js.map} +0 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
export const shake = [
|
2
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
3
|
+
{ offset: 0.1, transform: 'translate3d(-10px, 0, 0)' },
|
4
|
+
{ offset: 0.2, transform: 'translate3d(10px, 0, 0)' },
|
5
|
+
{ offset: 0.3, transform: 'translate3d(-10px, 0, 0)' },
|
6
|
+
{ offset: 0.4, transform: 'translate3d(10px, 0, 0)' },
|
7
|
+
{ offset: 0.5, transform: 'translate3d(-10px, 0, 0)' },
|
8
|
+
{ offset: 0.6, transform: 'translate3d(10px, 0, 0)' },
|
9
|
+
{ offset: 0.7, transform: 'translate3d(-10px, 0, 0)' },
|
10
|
+
{ offset: 0.8, transform: 'translate3d(10px, 0, 0)' },
|
11
|
+
{ offset: 0.9, transform: 'translate3d(-10px, 0, 0)' },
|
12
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
13
|
+
];
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export const shakeX = [
|
2
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
3
|
+
{ offset: 0.1, transform: 'translate3d(-10px, 0, 0)' },
|
4
|
+
{ offset: 0.2, transform: 'translate3d(10px, 0, 0)' },
|
5
|
+
{ offset: 0.3, transform: 'translate3d(-10px, 0, 0)' },
|
6
|
+
{ offset: 0.4, transform: 'translate3d(10px, 0, 0)' },
|
7
|
+
{ offset: 0.5, transform: 'translate3d(-10px, 0, 0)' },
|
8
|
+
{ offset: 0.6, transform: 'translate3d(10px, 0, 0)' },
|
9
|
+
{ offset: 0.7, transform: 'translate3d(-10px, 0, 0)' },
|
10
|
+
{ offset: 0.8, transform: 'translate3d(10px, 0, 0)' },
|
11
|
+
{ offset: 0.9, transform: 'translate3d(-10px, 0, 0)' },
|
12
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
13
|
+
];
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export const shakeY = [
|
2
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
3
|
+
{ offset: 0.1, transform: 'translate3d(0, -10px, 0)' },
|
4
|
+
{ offset: 0.2, transform: 'translate3d(0, 10px, 0)' },
|
5
|
+
{ offset: 0.3, transform: 'translate3d(0, -10px, 0)' },
|
6
|
+
{ offset: 0.4, transform: 'translate3d(0, 10px, 0)' },
|
7
|
+
{ offset: 0.5, transform: 'translate3d(0, -10px, 0)' },
|
8
|
+
{ offset: 0.6, transform: 'translate3d(0, 10px, 0)' },
|
9
|
+
{ offset: 0.7, transform: 'translate3d(0, -10px, 0)' },
|
10
|
+
{ offset: 0.8, transform: 'translate3d(0, 10px, 0)' },
|
11
|
+
{ offset: 0.9, transform: 'translate3d(0, -10px, 0)' },
|
12
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
13
|
+
];
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export const swing = [
|
2
|
+
{ offset: 0.2, transform: 'rotate3d(0, 0, 1, 15deg)' },
|
3
|
+
{ offset: 0.4, transform: 'rotate3d(0, 0, 1, -10deg)' },
|
4
|
+
{ offset: 0.6, transform: 'rotate3d(0, 0, 1, 5deg)' },
|
5
|
+
{ offset: 0.8, transform: 'rotate3d(0, 0, 1, -5deg)' },
|
6
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, 0deg)' },
|
7
|
+
];
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export const tada = [
|
2
|
+
{ offset: 0, transform: 'scale3d(1, 1, 1)' },
|
3
|
+
{ offset: 0.1, transform: 'scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)' },
|
4
|
+
{ offset: 0.2, transform: 'scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)' },
|
5
|
+
{ offset: 0.3, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
6
|
+
{ offset: 0.4, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)' },
|
7
|
+
{ offset: 0.5, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
8
|
+
{ offset: 0.6, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)' },
|
9
|
+
{ offset: 0.7, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
10
|
+
{ offset: 0.8, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)' },
|
11
|
+
{ offset: 0.9, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
12
|
+
{ offset: 1, transform: 'scale3d(1, 1, 1)' },
|
13
|
+
];
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export const wobble = [
|
2
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
3
|
+
{
|
4
|
+
offset: 0.15,
|
5
|
+
transform: 'translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)',
|
6
|
+
},
|
7
|
+
{ offset: 0.3, transform: 'translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)' },
|
8
|
+
{
|
9
|
+
offset: 0.45,
|
10
|
+
transform: 'translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)',
|
11
|
+
},
|
12
|
+
{ offset: 0.6, transform: 'translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)' },
|
13
|
+
{
|
14
|
+
offset: 0.75,
|
15
|
+
transform: 'translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)',
|
16
|
+
},
|
17
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
18
|
+
];
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export const bounceIn = [
|
2
|
+
{ offset: 0, opacity: '0', transform: 'scale3d(0.3, 0.3, 0.3)' },
|
3
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
4
|
+
{ offset: 0.2, transform: 'scale3d(1.1, 1.1, 1.1)' },
|
5
|
+
{ offset: 0.2, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
6
|
+
{ offset: 0.4, transform: 'scale3d(0.9, 0.9, 0.9)' },
|
7
|
+
{ offset: 0.4, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
8
|
+
{ offset: 0.6, opacity: '1', transform: 'scale3d(1.03, 1.03, 1.03)' },
|
9
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
10
|
+
{ offset: 0.8, transform: 'scale3d(0.97, 0.97, 0.97)' },
|
11
|
+
{ offset: 0.8, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
12
|
+
{ offset: 1, opacity: '1', transform: 'scale3d(1, 1, 1)' },
|
13
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
14
|
+
];
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export const bounceInDown = [
|
2
|
+
{
|
3
|
+
offset: 0,
|
4
|
+
opacity: '0',
|
5
|
+
transform: 'translate3d(0, -3000px, 0) scaleY(3)',
|
6
|
+
},
|
7
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
8
|
+
{
|
9
|
+
offset: 0.6,
|
10
|
+
opacity: '1',
|
11
|
+
transform: 'translate3d(0, 25px, 0) scaleY(0.9)',
|
12
|
+
},
|
13
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
14
|
+
{ offset: 0.75, transform: 'translate3d(0, -10px, 0) scaleY(0.95)' },
|
15
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
16
|
+
{ offset: 0.9, transform: 'translate3d(0, 5px, 0) scaleY(0.985)' },
|
17
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
18
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
19
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
20
|
+
];
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export const bounceInLeft = [
|
2
|
+
{
|
3
|
+
offset: 0,
|
4
|
+
opacity: '0',
|
5
|
+
transform: 'translate3d(-3000px, 0, 0) scaleX(3)',
|
6
|
+
},
|
7
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
8
|
+
{ offset: 0.6, opacity: '1', transform: 'translate3d(25px, 0, 0) scaleX(1)' },
|
9
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
10
|
+
{ offset: 0.75, transform: 'translate3d(-10px, 0, 0) scaleX(0.98)' },
|
11
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
12
|
+
{ offset: 0.9, transform: 'translate3d(5px, 0, 0) scaleX(0.995)' },
|
13
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
14
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
15
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
16
|
+
];
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export const bounceInRight = [
|
2
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(3000px, 0, 0) scaleX(3)' },
|
3
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
4
|
+
{
|
5
|
+
offset: 0.6,
|
6
|
+
opacity: '1',
|
7
|
+
transform: 'translate3d(-25px, 0, 0) scaleX(1)',
|
8
|
+
},
|
9
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
10
|
+
{ offset: 0.75, transform: 'translate3d(10px, 0, 0) scaleX(0.98)' },
|
11
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
12
|
+
{ offset: 0.9, transform: 'translate3d(-5px, 0, 0) scaleX(0.995)' },
|
13
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
14
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
15
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
16
|
+
];
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export const bounceInUp = [
|
2
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(0, 3000px, 0) scaleY(5)' },
|
3
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
4
|
+
{
|
5
|
+
offset: 0.6,
|
6
|
+
opacity: '1',
|
7
|
+
transform: 'translate3d(0, -20px, 0) scaleY(0.9)',
|
8
|
+
},
|
9
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
10
|
+
{ offset: 0.75, transform: 'translate3d(0, 10px, 0) scaleY(0.95)' },
|
11
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
12
|
+
{ offset: 0.9, transform: 'translate3d(0, -5px, 0) scaleY(0.985)' },
|
13
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
14
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
15
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
16
|
+
];
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export const bounceOut = [
|
2
|
+
{ offset: 0.2, transform: 'scale3d(0.9, 0.9, 0.9)' },
|
3
|
+
{ offset: 0.5, opacity: '1', transform: 'scale3d(1.1, 1.1, 1.1)' },
|
4
|
+
{ offset: 0.55, opacity: '1', transform: 'scale3d(1.1, 1.1, 1.1)' },
|
5
|
+
{ offset: 1, opacity: '0', transform: 'scale3d(0.3, 0.3, 0.3)' },
|
6
|
+
];
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export const bounceOutDown = [
|
2
|
+
{ offset: 0.2, transform: 'translate3d(0, 10px, 0) scaleY(0.985)' },
|
3
|
+
{
|
4
|
+
offset: 0.4,
|
5
|
+
opacity: '1',
|
6
|
+
transform: 'translate3d(0, -20px, 0) scaleY(0.9)',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 0.45,
|
10
|
+
opacity: '1',
|
11
|
+
transform: 'translate3d(0, -20px, 0) scaleY(0.9)',
|
12
|
+
},
|
13
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(0, 2000px, 0) scaleY(3)' },
|
14
|
+
];
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export const bounceOutUp = [
|
2
|
+
{ offset: 0.2, transform: 'translate3d(0, -10px, 0) scaleY(0.985)' },
|
3
|
+
{
|
4
|
+
offset: 0.4,
|
5
|
+
opacity: '1',
|
6
|
+
transform: 'translate3d(0, 20px, 0) scaleY(0.9)',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 0.45,
|
10
|
+
opacity: '1',
|
11
|
+
transform: 'translate3d(0, 20px, 0) scaleY(0.9)',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
offset: 1,
|
15
|
+
opacity: '0',
|
16
|
+
transform: 'translate3d(0, -2000px, 0) scaleY(3)',
|
17
|
+
},
|
18
|
+
];
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*!
|
2
|
+
* Web Components for Nanopore digital Web Apps
|
3
|
+
*/
|
4
|
+
export const easings = {
|
5
|
+
linear: 'linear',
|
6
|
+
ease: 'ease',
|
7
|
+
easeIn: 'ease-in',
|
8
|
+
easeOut: 'ease-out',
|
9
|
+
easeInOut: 'ease-in-out',
|
10
|
+
easeInSine: 'cubic-bezier(0.47, 0, 0.745, 0.715)',
|
11
|
+
easeOutSine: 'cubic-bezier(0.39, 0.575, 0.565, 1)',
|
12
|
+
easeInOutSine: 'cubic-bezier(0.445, 0.05, 0.55, 0.95)',
|
13
|
+
easeInQuad: 'cubic-bezier(0.55, 0.085, 0.68, 0.53)',
|
14
|
+
easeOutQuad: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
15
|
+
easeInOutQuad: 'cubic-bezier(0.455, 0.03, 0.515, 0.955)',
|
16
|
+
easeInCubic: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
17
|
+
easeOutCubic: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
18
|
+
easeInOutCubic: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
|
19
|
+
easeInQuart: 'cubic-bezier(0.895, 0.03, 0.685, 0.22)',
|
20
|
+
easeOutQuart: 'cubic-bezier(0.165, 0.84, 0.44, 1)',
|
21
|
+
easeInOutQuart: 'cubic-bezier(0.77, 0, 0.175, 1)',
|
22
|
+
easeInQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
|
23
|
+
easeOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',
|
24
|
+
easeInOutQuint: 'cubic-bezier(0.86, 0, 0.07, 1)',
|
25
|
+
easeInExpo: 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',
|
26
|
+
easeOutExpo: 'cubic-bezier(0.19, 1, 0.22, 1)',
|
27
|
+
easeInOutExpo: 'cubic-bezier(1, 0, 0, 1)',
|
28
|
+
easeInCirc: 'cubic-bezier(0.6, 0.04, 0.98, 0.335)',
|
29
|
+
easeOutCirc: 'cubic-bezier(0.075, 0.82, 0.165, 1)',
|
30
|
+
easeInOutCirc: 'cubic-bezier(0.785, 0.135, 0.15, 0.86)',
|
31
|
+
easeInBack: 'cubic-bezier(0.6, -0.28, 0.735, 0.045)',
|
32
|
+
easeOutBack: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
|
33
|
+
easeInOutBack: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)',
|
34
|
+
};
|
35
|
+
//# sourceMappingURL=easings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"easings.js","sourceRoot":"","sources":["../../../../../src/components/animation/animations/easings/easings.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;EACrB,MAAM,EAAE,QAAQ;EAChB,IAAI,EAAE,MAAM;EACZ,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,UAAU;EACnB,SAAS,EAAE,aAAa;EACxB,UAAU,EAAE,qCAAqC;EACjD,WAAW,EAAE,qCAAqC;EAClD,aAAa,EAAE,uCAAuC;EACtD,UAAU,EAAE,uCAAuC;EACnD,WAAW,EAAE,sCAAsC;EACnD,aAAa,EAAE,yCAAyC;EACxD,WAAW,EAAE,wCAAwC;EACrD,YAAY,EAAE,qCAAqC;EACnD,cAAc,EAAE,sCAAsC;EACtD,WAAW,EAAE,wCAAwC;EACrD,YAAY,EAAE,oCAAoC;EAClD,cAAc,EAAE,iCAAiC;EACjD,WAAW,EAAE,wCAAwC;EACrD,YAAY,EAAE,gCAAgC;EAC9C,cAAc,EAAE,gCAAgC;EAChD,UAAU,EAAE,wCAAwC;EACpD,WAAW,EAAE,gCAAgC;EAC7C,aAAa,EAAE,0BAA0B;EACzC,UAAU,EAAE,sCAAsC;EAClD,WAAW,EAAE,qCAAqC;EAClD,aAAa,EAAE,wCAAwC;EACvD,UAAU,EAAE,wCAAwC;EACpD,WAAW,EAAE,yCAAyC;EACtD,aAAa,EAAE,wCAAwC;CAC/C,CAAC","sourcesContent":["export const easings = {\n linear: 'linear',\n ease: 'ease',\n easeIn: 'ease-in',\n easeOut: 'ease-out',\n easeInOut: 'ease-in-out',\n easeInSine: 'cubic-bezier(0.47, 0, 0.745, 0.715)',\n easeOutSine: 'cubic-bezier(0.39, 0.575, 0.565, 1)',\n easeInOutSine: 'cubic-bezier(0.445, 0.05, 0.55, 0.95)',\n easeInQuad: 'cubic-bezier(0.55, 0.085, 0.68, 0.53)',\n easeOutQuad: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',\n easeInOutQuad: 'cubic-bezier(0.455, 0.03, 0.515, 0.955)',\n easeInCubic: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',\n easeOutCubic: 'cubic-bezier(0.215, 0.61, 0.355, 1)',\n easeInOutCubic: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\n easeInQuart: 'cubic-bezier(0.895, 0.03, 0.685, 0.22)',\n easeOutQuart: 'cubic-bezier(0.165, 0.84, 0.44, 1)',\n easeInOutQuart: 'cubic-bezier(0.77, 0, 0.175, 1)',\n easeInQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',\n easeOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',\n easeInOutQuint: 'cubic-bezier(0.86, 0, 0.07, 1)',\n easeInExpo: 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',\n easeOutExpo: 'cubic-bezier(0.19, 1, 0.22, 1)',\n easeInOutExpo: 'cubic-bezier(1, 0, 0, 1)',\n easeInCirc: 'cubic-bezier(0.6, 0.04, 0.98, 0.335)',\n easeOutCirc: 'cubic-bezier(0.075, 0.82, 0.165, 1)',\n easeInOutCirc: 'cubic-bezier(0.785, 0.135, 0.15, 0.86)',\n easeInBack: 'cubic-bezier(0.6, -0.28, 0.735, 0.045)',\n easeOutBack: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',\n easeInOutBack: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)',\n} as const;\n"]}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
export const flip = [
|
2
|
+
{
|
3
|
+
offset: 0,
|
4
|
+
transform:
|
5
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)',
|
6
|
+
easing: 'ease-out',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 0.4,
|
10
|
+
transform:
|
11
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)\n rotate3d(0, 1, 0, -190deg)',
|
12
|
+
easing: 'ease-out',
|
13
|
+
},
|
14
|
+
{
|
15
|
+
offset: 0.5,
|
16
|
+
transform:
|
17
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)\n rotate3d(0, 1, 0, -170deg)',
|
18
|
+
easing: 'ease-in',
|
19
|
+
},
|
20
|
+
{
|
21
|
+
offset: 0.8,
|
22
|
+
transform:
|
23
|
+
'perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)\n rotate3d(0, 1, 0, 0deg)',
|
24
|
+
easing: 'ease-in',
|
25
|
+
},
|
26
|
+
{
|
27
|
+
offset: 1,
|
28
|
+
transform:
|
29
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)',
|
30
|
+
easing: 'ease-in',
|
31
|
+
},
|
32
|
+
];
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export const flipInX = [
|
2
|
+
{
|
3
|
+
offset: 0,
|
4
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
|
5
|
+
easing: 'ease-in',
|
6
|
+
opacity: '0',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 0.4,
|
10
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
|
11
|
+
easing: 'ease-in',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
offset: 0.6,
|
15
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, 10deg)',
|
16
|
+
opacity: '1',
|
17
|
+
},
|
18
|
+
{ offset: 0.8, transform: 'perspective(400px) rotate3d(1, 0, 0, -5deg)' },
|
19
|
+
{ offset: 1, transform: 'perspective(400px)' },
|
20
|
+
];
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export const flipInY = [
|
2
|
+
{
|
3
|
+
offset: 0,
|
4
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, 90deg)',
|
5
|
+
easing: 'ease-in',
|
6
|
+
opacity: '0',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 0.4,
|
10
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, -20deg)',
|
11
|
+
easing: 'ease-in',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
offset: 0.6,
|
15
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, 10deg)',
|
16
|
+
opacity: '1',
|
17
|
+
},
|
18
|
+
{ offset: 0.8, transform: 'perspective(400px) rotate3d(0, 1, 0, -5deg)' },
|
19
|
+
{ offset: 1, transform: 'perspective(400px)' },
|
20
|
+
];
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export const flipOutX = [
|
2
|
+
{ offset: 0, transform: 'perspective(400px)' },
|
3
|
+
{
|
4
|
+
offset: 0.3,
|
5
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
|
6
|
+
opacity: '1',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 1,
|
10
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
|
11
|
+
opacity: '0',
|
12
|
+
},
|
13
|
+
];
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export const flipOutY = [
|
2
|
+
{ offset: 0, transform: 'perspective(400px)' },
|
3
|
+
{
|
4
|
+
offset: 0.3,
|
5
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, -15deg)',
|
6
|
+
opacity: '1',
|
7
|
+
},
|
8
|
+
{
|
9
|
+
offset: 1,
|
10
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, 90deg)',
|
11
|
+
opacity: '0',
|
12
|
+
},
|
13
|
+
];
|