cjaas-common-components
CJaaS Common Components
is a resuable, component based, flexible Web Component library available as
npm module.
Get Started
- Install Dependencies
yarn
- Start Sandbox Locally
yarn start
How to Use
- Install Cjaas web components and Momentum web components
yarn add "@cjaas/common-components"
yarn add "@momentum-ui/web-components"
- Import Momentum components
import "@momentum-ui/web-components";
- Import Cjaas common components (entire library or each individual component)
import '@cjaas/common-components';
or
import '@cjaas/common-components/dist/comp/cjaas-timeline';
import '@cjaas/common-components/dist/comp/cjaas-timeline-item';
Component Specific Documentation
Goals
- Independent — pick and use only the components you need.
- Customizable — properties allow many different config options to suit your app.
- Performant - high performance guaranteed with use of CSS3 Flexbox and non-bloated architecture.
- Reliable — each component is rigorously tested.
Package manager
- yarn - BSD-2-Clause
Base framework
-
lit-element - MIT
-
lit-html - MIT
Momentum Design System Look & Feel
- @momentum-ui/core - MIT
- @momentum-ui/icons - MIT
ES6 Minifier
- babili - MIT
ES6 Lint
- eslint - MIT
CSS/SCSS Lint
- stylelint - MIT
CSS Utility Tool
JsUnit Testing framework
Copyright
Copyright (c) 2021 Cisco Systems