JSPM

@elevate_security/elevate-component-library

1.1.12
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 33
  • Score
    100M100P100Q66018F
  • License ISC

A library of elevate UI components

Package Exports

  • @elevate_security/elevate-component-library

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

Demo App

CircleCI


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
  • Tabs
  • TimelineBlock
  • ButtonIcon
  • Breadcrumb
  • Image
  • Avatar
  • Header
  • GlobalStyle
  • Logo

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

Check out and pull master, then use npm version to bump the version in package.json, commit and tag altogether, then push this

VERSION=1.0.6
git checkout master
git pull
npm version $VERSION
git push origin master "v${VERSION}"