react-use-presentation
Advanced tools
Comparing version 1.4.2 to 1.4.3
{ | ||
"name": "react-use-presentation", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Create pure HTML (React enriched if you will) presentations.", | ||
@@ -9,3 +9,3 @@ "author": "Olavo Parno", | ||
"type": "git", | ||
"url": "git://github.com/olavoparno/react-use-presentation.git" | ||
"url": "git://github.com/the-bugging/react-use-presentation.git" | ||
}, | ||
@@ -12,0 +12,0 @@ "main": "dist/index.js", |
@@ -11,5 +11,5 @@ <img align="right" alt="traffic" src="https://pv-badge.herokuapp.com/total.svg?repo_id=olavoparno-react-use-presentation"/> | ||
| Statements | Branches | Functions | Lines | | ||
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------- | | ||
| ![Statements](https://img.shields.io/badge/statements-100%25-brightgreen.svg) | ![Branches](https://img.shields.io/badge/branches-100%25-brightgreen.svg) | ![Functions](https://img.shields.io/badge/functions-100%25-brightgreen.svg) | ![Lines](https://img.shields.io/badge/lines-100%25-brightgreen.svg) | | ||
| Statements | Branches | Functions | Lines | | ||
| ----------------------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------- | | ||
| ![Statements](https://img.shields.io/badge/statements-100%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-100%25-brightgreen.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-100%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-100%25-brightgreen.svg?style=flat) | | ||
@@ -142,12 +142,9 @@ ## Table of Contents | ||
}); | ||
const [ | ||
DelayedAndLoopedPresentation, | ||
currentLoopFrame, | ||
loopFramesLength, | ||
] = usePresentation({ | ||
framesOptions: myFramesArray3, | ||
startTrigger: true, | ||
startDelay: 1000, | ||
isLoop: true, | ||
}); | ||
const [DelayedAndLoopedPresentation, currentLoopFrame, loopFramesLength] = | ||
usePresentation({ | ||
framesOptions: myFramesArray3, | ||
startTrigger: true, | ||
startDelay: 1000, | ||
isLoop: true, | ||
}); | ||
@@ -177,10 +174,7 @@ return ( | ||
export default function App() { | ||
const [ | ||
PresentationWithChildren, | ||
currentFrame, | ||
framesLength, | ||
] = usePresentation({ | ||
framesOptions: myFramesArray1, | ||
startTrigger: true, | ||
}); | ||
const [PresentationWithChildren, currentFrame, framesLength] = | ||
usePresentation({ | ||
framesOptions: myFramesArray1, | ||
startTrigger: true, | ||
}); | ||
@@ -257,7 +251,4 @@ return ( | ||
```tsx | ||
const [ | ||
MyLittleComponent, | ||
currentFrameLittle, | ||
totalLengthLittle, | ||
] = usePresentation(); | ||
const [MyLittleComponent, currentFrameLittle, totalLengthLittle] = | ||
usePresentation(); | ||
``` | ||
@@ -298,3 +289,3 @@ | ||
<tr> | ||
<td align="center"><a href="https://olavoparno.github.io"><img src="https://avatars1.githubusercontent.com/u/7513162?v=4?s=70" width="70px;" alt=""/><br /><sub><b>Olavo Parno</b></sub></a><br /><a href="#ideas-olavoparno" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/olavoparno/react-use-presentation/commits?author=olavoparno" title="Code">💻</a> <a href="https://github.com/olavoparno/react-use-presentation/commits?author=olavoparno" title="Tests">⚠️</a></td> | ||
<td align="center"><a href="https://olavoparno.github.io"><img src="https://avatars1.githubusercontent.com/u/7513162?v=4?s=70" width="70px;" alt=""/><br /><sub><b>Olavo Parno</b></sub></a><br /><a href="#ideas-olavoparno" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/the-bugging/react-use-presentation/commits?author=olavoparno" title="Code">💻</a> <a href="https://github.com/the-bugging/react-use-presentation/commits?author=olavoparno" title="Tests">⚠️</a></td> | ||
</tr> | ||
@@ -301,0 +292,0 @@ </table> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54964
9
305
1