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

@bonlineza/luxity-lib

v2.34.4

Published

- [Documentation](https://bonlineza.github.io/luxity-lib/) - [Storybook](https://bonlineza.github.io/luxity-lib/storybook/index.html) - [CHANGELOG](https://github.com/bonlineza/luxity-lib/blob/master/CHANGELOG.md) - React Components and base styles - JS/R

Downloads

329

Readme

Luxity Component Library

Includes:

Components in this Library

  • Accordion
  • Interests
  • Checkbox
    • CheckboxFormWrapper
  • CountryCodeSelect
  • CurrencyInputFormatter
  • GraphQLMultiSelector
  • InterestCatSelector
  • InterestItem
  • LuxityGraphQLMultiSelector
  • LuxityPageReady
  • RadioButtons
    • RadioButtonsFormWrapper
  • ReactSelectWrapper
  • StyleSelector
  • Tooltip
  • CheckBoxButton
  • GenderSelector
  • GraphQLDropdownSelector
  • LuxityGraphQLDropdownSelector
  • MaterialSelector
  • ModelSelector
  • RareStepHeader
  • RareStepFooter

Elements (simple Styled Components)

  • Buttons
    • PrimaryButton
    • SecondaryButton
    • TextButton
    • InvertedTextButton
    • WrapperButton

Helper Functions in this Library

  • axios - an axios instance getter
  • currency - a currency number formatter
  • formatErrors - conditions a laravel validation error into something we can use in our Forms
  • notify - simple wrapper to trigger error or success versions of react-notify-toast
  • simpleRequest - simple wrapper for configuring an axios instance
  • themed - a component wrapper function to apply a ThemeProvider to styled-components with minial syntax
  • token - token helper functions for getting, and setting _tk named cookies

SVGs

  • Accessories
  • Account
  • Add
  • ArrowRight
  • Bags
  • BurgerMenu
  • Calendar
  • CalendarCircled
  • CheckCircled
  • Close
  • Dot
  • Edit
  • Eye
  • FileAttach
  • FileAttachCircled
  • LightBulb
  • Logo
  • LuxityMenu
  • Minus
  • MobileAvatar
  • MyOrder
  • MyPayment
  • MyProfile
  • MySale
  • Notification
  • PointerDown
  • Search
  • Shoes
  • LuxityArrowLeft
  • LuxityArrowRight

Commands

  • yarn - install npm dependencies
  • yarn start - Open Storybook
  • yarn docs - run both lint and tests
  • yarn build - generate built js files
  • yarn build --watch - build and watch files
  • yarn test - run both lint and tests
  • yarn lint - run linter only
  • yarn jest --watch - watch tests (reccomended)

Testing your local Changes in other Projects

tl;dr

  1. Checkout your Fork of this Repo
  2. Run this in the fork root folder: yarn link
  3. Run this in the root folder of the project you would like to use this module: yarn link @bonlineza/luxity-lib

You will now be able to import this module like any normal npm module like so:

import { Accordion } from '@bonlineza/luxity-lib';

or alternatively (preferred)

import Accordion from '@bonlineza/luxity-lib/Accordion';

Publish Package

  • after testing is complete and your changes have been merged to master in this Library

Prerequisites

  • Your personal account on NPMJS.com
  • Your Account is added to the Bonlineza Org - see: https://www.npmjs.com/org/bonlineza

Steps:

  1. checkout/pull latest UPSTREAM master and run...
  2. yarn install
  3. yarn test
  4. yarn build
  5. Update your Package.json version info (according to SEMVER)
  6. Update you CHANGELOG.MD and README.MD file with additions/changes
  7. yarn login
  8. npm publish --dry-run - to confirm that your new files will be packaged into the npm repo
  9. npm publish - commit the published files to the npm repo
  10. yarn docs - generates all documentation
  11. yarn build:storybook - ensure static stybook site is up to date
  12. Commit and TAG this commit with the Tag name the same as the package version number to UPSTREAM master - example: 'v2.1.0'