JSPM

@elevate_security/elevate-component-library

1.20.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q65893F
  • License ISC

A library of elevate UI components

Package Exports

  • @elevate_security/elevate-component-library
  • @elevate_security/elevate-component-library/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@elevate_security/elevate-component-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Elevate Security Component Library

A component library for sharing Elevate Components between each of our projects

npm version CircleCI

Demo App (Story Book)


Installation

npm install @elevate_security/elevate-component-library --save

Usage

cont Elevate =  require('@elevate_security/elevate-component-library')

render() {
  return (
    <Elevate.Typography.H1>This is the tab content 1</Elevate.Typography.H1>
  )
}

Components

  • Card
  • Icon
  • Link
  • Typography
  • Layout
  • Gauge
  • LineBarChart
  • Axis
  • Line
  • Input
  • Button
  • ButtonLink
  • Tabs
  • TimelineBlock
  • ButtonIcon
  • Breadcrumb
  • Image
  • Avatar
  • Header
  • GlobalStyle
  • Logo
  • Modal
  • RadioButton

Development

  • Clone this repo
  • npm install
  • To debug or demo in storybook: npm run-script storybook
  • To bootstrap work on a new componentnpm: run-script create [component name]

Local Development/importing into other applications

  • In component library, run: npm link

  • Take the generated link and import into your parent project like so:

const Elevate = require('/usr/local/lib/node_modules/@elevate_security/elevate-component-library')

const { Logo } = Elevate

Deploying to NPM

In a release branch, use npm version to bump the version in package.json, commit and tag altogether.

VERSION=1.0.6
npm version $VERSION
git push origin : "v${VERSION}"

Then create a Pull Request from your release branch to master.