1.0.21 • Published 1 year ago
kawsarjahan-component-library v1.0.21
About
Theme and components
Regarding React 16 / Node 18
Component Library v2+ is meant to be FedRamp Compliant as such we have raised the minimum versions of the following
- React >= 16.x
- Node >= 18.x Anyone who does NOT or cannot use React 16+ / Node 18+ yet in their repository can use the Component Library Version 1.0.4 which is using React ^16.9.0 and Node >=10
Install
CL version < 2.0.1
yarn add @social-solutions/component-library
CL version >= 2.0.1
npm install @social-solutions/component-library
- NOTE: If you run into "Could not find declaration file for module '@social-solutions/component-library' follow these steps
- Create a new file
declarations.d.ts
insrc/types/@social-solutions/component-library/declarations.d.ts.
- Add
declare module '@social-solutions/component-library';
- Create a new file
Deployment
View the live published component library here: Hosted Storybook
Updates that are merged into the master branch are automatically published through Bitbucket pipelines.
Manual deployment is discouraged, but if necessary, the following steps can be used: CL version < 2.0.1
yarn build-storybook
CL version >= 2.0.1npm run build-storybook
aws s3 sync ./storybook-static s3://ssg-component-library
Usage
import React, { Component } from 'react'
import Icons from '@social-solutions/component-library';
const IconContainer = () => (
<React.Fragment>
<Icons.Pencil />
<Icons.TrashCan />
<Icons.QuestionMark />
</React.Fragment>
);
Contributing
Get started here
1.0.21
1 year ago
1.0.20
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago