npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vertical-filter-bar

v5.0.0

Published

filter bar component to consolidate and display a collection of filters which collectively can be used to specify parameter boundaries for a given data set rendered on screen

Downloads

27

Readme

Vertical Filter Bar

Overview

The Vertical Filter Bar component shall be used to consolidate and display a collection of all filters which collectively can be used by end users to specify parameter boundaries for a given data set rendered on screen.

CHANGELOG.md contains Release Notes for this package.

CONTRIBUTING.md contains guidelines on how to help improve this package.

Using Vertical Filter Bar

The Vertical Filter Bar can be included as follows:

import VerticalFilterBar from '../vertical-filter-bar/VerticalFilterBar.jsx';

...

filterValueChange(newFilterValue) {
  [do some logic here]
}

...

<VerticalFilterBar
            filtersConfig={dataIntegrityFilterConfiguration.filters}
            filterValues={this.state.filterValues}
            onFilterChange={this.onFilter}
            filterTitle={FILTER_TITLE}
            clearAllText={CLEAR_ALL_TEXT}
            clearAllToolTip={CLEAR_ALL_TOOL_TIP}
          />

The Vertical Filter Bar can be configured as follows

Run & Test Locally

The Vertical Filter Bar component can be launched independently in order to see/test it's capabilities as follows:

  1. type the following NPM command from a comand prompt that supports NPM: npm run startDev
  2. view the test app at the following URL: http://localhost:8080/

Once launched, the Vertical Filter Bar will be displayed on the side of the page with a set of demo filters preconfigured. The centre of the page shall list the filter names and their currenlty set/selected values.

Changing a filter value in the Vertical Filter Bar shall update its corresponding displayed value in the main (central) portion of the screen.