Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

2r-stepper

2R library stepper component implemented in React

incrementreactreact-incrementreact-increment-componentreact-increment-pluginreact-stepperreact-stepper-componentreact-stepper-pluginstepper
Published18 Aug 2015
Direct dependencies18
Transitive dependenciesNot calculated

README

Current package documentation

2r-stepper

2R library stepper component implemented in React.

Instalation

2r-stepper is available as an npm package. Simply run npm install 2r-stepper command.

To use it in your project:

import stepper from '2r-stepper'; // ES6 syntax
var stepper = require('2r-stepper'); // ES5 syntax

Usage & API

The following props can be passed to the component:

  • initialValue (Number): at what value will the stepper start (defaults to 0)

  • stepValue (Number): by how much we increment/decrement at once (defaults to 1)

  • allowNegativeValues (Boolean): whether we want our stepper to go below 0 or not. The decrement button will be disabled in case allowNegativeValues is false and either current value is 0 or the difference between the current value and the step value goes below 0 (defaults to false)

Examples

There is an examples folder inside the project with a minimum config. Steps to run:

  • Clone the project and

  • Run npm install

  • Run gulp examples

  • Navigate to http://localhost:5000

License

This software is released under the terms of WTFPL v2.0 license.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 18

Native requirements
18 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^0.13.3runtime
babelify
Environment
{
  "local_name": "babelify",
  "alias": false,
  "peer_metadata": null
}
^6.1.3development
browserify
Environment
{
  "local_name": "browserify",
  "alias": false,
  "peer_metadata": null
}
^11.0.1development
gulp
Environment
{
  "local_name": "gulp",
  "alias": false,
  "peer_metadata": null
}
^3.9.0development
gulp-babel
Environment
{
  "local_name": "gulp-babel",
  "alias": false,
  "peer_metadata": null
}
^5.2.0development
gulp-connect
Environment
{
  "local_name": "gulp-connect",
  "alias": false,
  "peer_metadata": null
}
^2.2.0development
gulp-uglify
Environment
{
  "local_name": "gulp-uglify",
  "alias": false,
  "peer_metadata": null
}
^1.2.0development
jasmine-core
Environment
{
  "local_name": "jasmine-core",
  "alias": false,
  "peer_metadata": null
}
^2.3.4development
karma
Environment
{
  "local_name": "karma",
  "alias": false,
  "peer_metadata": null
}
^0.13.9development
karma-browserify
Environment
{
  "local_name": "karma-browserify",
  "alias": false,
  "peer_metadata": null
}
^4.3.0development
karma-chrome-launcher
Environment
{
  "local_name": "karma-chrome-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.2.0development
karma-firefox-launcher
Environment
{
  "local_name": "karma-firefox-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.1.6development
karma-jasmine
Environment
{
  "local_name": "karma-jasmine",
  "alias": false,
  "peer_metadata": null
}
^0.3.6development
karma-phantomjs-launcher
Environment
{
  "local_name": "karma-phantomjs-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.2.1development
karma-safari-launcher
Environment
{
  "local_name": "karma-safari-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.1.1development
phantomjs
Environment
{
  "local_name": "phantomjs",
  "alias": false,
  "peer_metadata": null
}
^1.9.18development
phantomjs-polyfill
Environment
{
  "local_name": "phantomjs-polyfill",
  "alias": false,
  "peer_metadata": null
}
0.0.1development
vinyl-source-stream
Environment
{
  "local_name": "vinyl-source-stream",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "21360747d32992740163789c6eb12a5d9cf57e94",
  "tarball": "https://registry.npmjs.org/2r-stepper/-/2r-stepper-1.0.1.tgz",
  "integrity": "sha512-cbdRzAxyaxqgX1+zmDc/9Wt2gyTamzijuWHjERWgFAmcHpzAdweZOXMdHsfhkU6OkVtSmGiWtP+rtaaWiGx/PA==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIETdVjJ38hoqqbvrmHjQGki4FVnS1R22iAoj1lZQcQ2ZAiBES6Qto3AkgW3CnyaYj+X5VB1gFxwW9u/W8SOtISN1mA=="
    }
  ]
}

Repository

PENDING
vladzelinschi/2r-stepper

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:e96fb99c6dbd6ac0c8f7e00680db5edc064400a6fddf2b813956493a12689a6a

Other collected versions

1.1.11 Sept1.1.022 Aug1.0.520 Aug1.0.420 Aug1.0.319 Aug1.0.219 AugView all collected versions →