1.0.21 • Published 12 months 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
12 months ago
1.0.20
12 months ago
1.0.19
12 months ago
1.0.18
12 months ago
1.0.17
12 months ago
1.0.16
12 months ago
1.0.15
12 months ago
1.0.14
12 months ago
1.0.13
12 months ago
1.0.12
12 months ago
1.0.11
12 months ago
1.0.10
12 months ago
1.0.9
12 months ago
1.0.8
12 months ago
1.0.7
12 months ago
1.0.6
12 months ago
1.0.5
12 months ago
1.0.4
12 months ago
1.0.3
12 months ago
1.0.2
12 months ago
1.0.1
12 months ago
1.0.0
12 months ago