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

qpp-style

v9.45.8

Published

Shared style guide across the QPP program.

Downloads

3,194

Readme

QPP-Style React

This directory contains react implementations of the components for QPP.

Github Branch and Pull Request process

  1. Create branch off main and create a Pull Request into main for the feature.

    Example Branch Name: feature/QPPXX-XXXX_make_icon_better

  2. Once merged into main, create release branch from main.
  3. Name the new branch release/x.xx.x
  4. Run the version bump:
cd qpp-style/react
npm version --no-git-tag-version patch

Example Commit Message:

x.xx.x release

  1. Create a pull request against main with the PR Title: x.xx.x release Example PR
  2. Enter the change in the description of the pull request i.e.:

    Added new svg for Icon Name

Generate an NPM token with Publish permissions

  1. If you do not already have an access token, sign in to npmjs.com and navigate to access tokens.
  2. Click generate new token.
  3. Select publish under type.
  4. Copy the npm token and set its value as the environment variable: NPM_TOKEN
export NPM_TOKEN={npm_token}

Publish the react qpp-style npm package (used by both react and angular)

cd qpp-style/react
npm i
npm publish
  1. Once published successfully, merge into main.

The Side Nav contains multiple item array types: divider, container, linkBack, linkHome, practiceDetails, individualDetails, linkDrawer, custom, chart, and switchLink.

| Item Array Type | Description | |-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | divider | element that is located above and below the practice container. | | container | gets Dynamic Content of multiple items and contains the linkDrawer item. Level One and Level Two content are located in this container. | | linkBack | that links the user back to a URL. This uses a chevron Left icon. | | linkHome | tag element which sends the user back to the “Account Home” page /user/submissions. This uses the home icon SVG and is located at the top of the side nav. | | practiceDetails | element with the class name practice-container. Inside this container is the element which includes the Practice Name and the element which is the Practice Tin. The Practice Tin shows either the CPC+ ID, PCF ID, APM Entity ID, VG ID, or Practice Tin. | | individualDetails | element with the class name “individual-container”. This parent element contains two other elements which are the Individual Name and the Individual NPI. | | linkDrawer | This is the most complex item type. This item displays the Level One and Level Two elements which contain navigation links depending on each page as well as specific SVG icons. Depending on the page there can be multiple links to the user can access quickly using the side nav. | | custom | This option is for sanitized HTML content. This custom HTML will be cleaned of any potentially harmful elements that could compromise the security of the web app. | | chart | This option uses the ScoreChart component to display Chart Data on the Side Nav. This data includes categories from Quality Measures, Advancing Care Info, Promoting Interoperability, Improvement Activities, and Cost. | | switchLink | This is an implementation of the “Switch Practice” button for the Side Nav. Clicking 'Switch Practice' will take the user back to the TIN list for the part of the application they are viewing. |