Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-sticky

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sticky - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

.travis.yml

50

package.json
{
"name": "react-sticky",
"version": "2.4.0",
"version": "2.5.0",
"description": "Sticky component for React",
"main": "./sticky",
"main": "./lib/sticky",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "browserify --external react -p [minifyify --map sticky.js.map --output ./dist/sticky.js.map --uglify --compress --dead_code--comparisons 0 ] -s Sticky ./lib/sticky.js --debug > ./dist/sticky.min.js",
"test": "mocha --compilers js:babel/register"
},

@@ -19,18 +20,20 @@ "repository": {

"author": "Captivation Software",
"contributors": [{
"name": "Aaron Goin",
"email": "aarondgoin@gmail.com"
},
{
"name": "Alejandro Tardin",
"email": "alejandro@tardin.com"
},
{
"name": "Josh Carr",
"email": "joshcarr@gmail.com"
},
{
"name": "George Lifchits",
"email": "george.lifchits@gmail.com"
}],
"contributors": [
{
"name": "Aaron Goin",
"email": "aarondgoin@gmail.com"
},
{
"name": "Alejandro Tardin",
"email": "alejandro@tardin.com"
},
{
"name": "Josh Carr",
"email": "joshcarr@gmail.com"
},
{
"name": "George Lifchits",
"email": "george.lifchits@gmail.com"
}
],
"license": "MIT",

@@ -43,3 +46,12 @@ "bugs": {

"react": "0.x"
},
"devDependencies": {
"babel": "^5.8.21",
"browserify": "^11.0.1",
"chai": "^3.2.0",
"jsdom": "3.x",
"lodash": "^3.10.1",
"minifyify": "^7.0.5",
"mocha": "^2.2.5"
}
}

@@ -1,7 +0,17 @@

react-sticky
react-sticky [![Build Status](https://travis-ci.org/captivationsoftware/react-sticky.svg?branch=master)](https://travis-ci.org/captivationsoftware/react-sticky)
============
[Demo](https://captivationsoftware.github.io/react-sticky)
Make any React component on your page sticky using inline styles or CSS classes!
### [Demo](https://captivationsoftware.github.io/react-sticky)
Make your React components sticky!
Perfect for headers, menus, or any other element where you want to maximize
usability as your users scroll. Tons of options to make this component fit
your project's needs, or simply rely on the ready-to-go defaults.
##### Highlights:
- Not bound to any version of React so it will scale along with the community!
- Only 12K, with 0 external dependencies (besides React, of course)!
- Allows multiple Sticky elements on the page at once!
## Installation

@@ -12,2 +22,4 @@ ```sh

Tip: Run `npm install` to build the compressed UMD version suitable for inclusion via CommonJS/AMD/manual `<script />` includes.
## Code Example

@@ -112,3 +124,3 @@

Note: In the event that `stickyStyle` rules conflict with `style` rules, `stickyStyle` rules take precedence ONLY while sticky state is active.
Note: In the event that `stickyStyle` rules conflict with `style` rules, `stickyStyle` rules take precedence ONLY while sticky state is active.

@@ -140,3 +152,3 @@ #### type

Captivation Software
##### [Captivation Software](http://www.captivationsoftware.com)

@@ -143,0 +155,0 @@ Aaron Goin

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc