@mmb-digital/design-system-web
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

design-system-web (react components library)

Prerequisities:

  • node v16.20.2
  • yarn v1.22.19

Startup:

  • checkout repo

  • run in command prompt: "set HTTP_PROXY=http://{USER_SSO}:{SSO_PASSWORD}@wsa.lb.mbid.cz:8008" "set HTTPS_PROXY=http://{USER_SSO}:{SSO_PASSWORD}@wsa.lb.mbid.cz:8008" "set NO_PROXY=sourcerepos,artifactory,rhproxy,bitbucket,.ux.mbid.cz,.lb.mbid.cz,.mbid.cz" "set NODE_OPTIONS=--max-old-space-size=8192" "set Path={NODE_PATH};%Path%"

  • "yarn"

Scripts:

  • fix lint errors "yarn lint:fix"

  • fix prettier errors "yarn prettier:fix"

  • storybook dev "yarn storybook"

  • storybook build "yarn storybook:build"

  • run jest tests "yarn test"

  • rollup bundle "yarn build"

Publishing package to npmjs.com:

Styling rules

For each component, a corresponding *.styles.ts file is created to manage its styles.

  • styling is done primarily using styled-components.
  • all colors and other common values are in theme variables to ensure consistency throughout the project.
  • all components have to be responsive
  • the best approach is mobile first, set sizes for mobile and rules for higher resolutions

Readme

Keywords

none

Package Sidebar

Install

npm i @mmb-digital/design-system-web

Weekly Downloads

8

Version

0.1.12

License

UNLICENSED

Unpacked Size

5.01 MB

Total Files

300

Last publish

Collaborators

  • lukasvitek.cz
  • janprasil
  • janacek80
  • radim_zastera
  • novotnydaniel
  • roman.polansky
  • josefzamrzla
  • kakin