1.20.0 • Published 3 years ago

@noisytrumpet/osi-dls v1.20.0

Weekly downloads
191
License
UNLICENSED
Repository
github
Last release
3 years ago

OSI-LIFE DLS (Design Language System)

Design System Library for the osilife.com brand in general, it contains several React components such as Primary buttons, text fields, etc which can be imported in React, and are self-contained with styling, storybook stories, test suites, functional JSX code, etc.

Frameworks

Local development

  • Install npm package manager: brew install node.
  • Install dependencies: yarn.
  • Run storybook: yarn storybook.

Stories

  • All stories are in individual component directories.
  • The file names must be in the format: *.stories.js.
  • Here are the guidelines for writing a particular story: link.

Widgets

  • widgets are created under src/widgets
  • they need to be added to src/widgets/index.js to be able to export them into the /lib folder
  • to import them into another application import { WIDGET_NAME } from "@dotcom/dls" -->

Linting

  • eslint is used as a linting library.
  • Run lint using yarn lint.
  • Run lint and auto fix problems using yarn lint:fix.

Testing

  • jest is used as a testing library, for running the tests, and mocking where needed.
  • enzyme can be used at places to shallow mount the components.
  • Run tests using yarn test.
  • Run tests with live reload using yarn test:watch.
1.20.0

3 years ago

1.19.0

3 years ago

1.18.0

3 years ago

1.17.0

3 years ago

1.15.0

3 years ago

1.14.0

3 years ago

1.16.0

3 years ago

1.13.0

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.0.1

3 years ago