This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

nukleus

16.2.0 • Public • Published

nukleus


Welcome to kununu's collection of React UI components! These reusable components are designed and implemented to help build amazing products fast and easily.

Dependencies Dev dependencies Storybook

Features

  • Over 80% code coverage
  • Frequently updated
  • Wide range of form and UI components
  • Themeable

Setup


Install with npm or yarn

npm i nukleus
# OR
yarn add nukleus

Usage

You will need a module bundler that supports css modules. To do this with webpack (recommended) you can use something like this:

{
    test: /\.css$/,
    include: /nukleus/,
    use: [
      'style-loader',
      'css-loader?modules&localIdentName=[name]---[local]---[hash:base64:5]',
      {
        loader: 'postcss-loader',
        options: {
          plugins: function () {
            return [
              require('autoprefixer')
            ];
          }
        }
      },
    ]
  }

Next you can import each compiled nukelus component seperately, which will help reduce your bundle size if you only require a few components.

import Select from 'nukleus/dist/components/Select';
import TextField from 'nukleus/dist/components/TextField';

Or you can import and bundle all nukleus components via:

import {Select, TextField} from 'nukleus';

Contributing


Coming soon 🎉

Test


In order to run the tests, run `npm run test`.

There could be two reasons why the tests are failing: either your component broke or was modified on purpose. In the latter case, you will just need to update the snapshot as we use jest snapshot testing.

Readme

Keywords

none

Package Sidebar

Install

npm i nukleus

Weekly Downloads

43

Version

16.2.0

License

ISC

Unpacked Size

443 kB

Total Files

80

Last publish

Collaborators

  • luiz.silva
  • theerwo_o
  • diogo.barbosa
  • lukas.kaiser
  • khaurova
  • adriano-teixeira-kununu
  • josepcruz
  • ricardofmm
  • jorgebrito.kununu
  • melanie-melo
  • andre.costa
  • luisa.nogueira
  • biggest_dreamer
  • alexander.berg
  • christian.lascsak
  • k-patricia-castro
  • joaoalmeida-kununu
  • kununujay
  • wenedim
  • rubemneto
  • ivaylo.stoyanov
  • cristianekoshino
  • osvaldo.dias
  • clopes
  • kaitlin
  • codingcircus
  • joana_bencatel
  • jacintorodrigues
  • cosminast
  • kununu-bot
  • ricardoneves.kununu