0.5.2 • Published 2 years ago

holacash-ux v0.5.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Getting Started

This project, will help to have the same icons, components and colors between projects.

Install

  1. yarn install
  2. yarn storybook

open browser in http://localhost:6006/

How it works

  • SVG Images
  1. Need to create or add into a folder the svg image.
  2. In the carpet "images" need to create the name of the component with the follow pattern: "{nameImage}{number_Pixel}Px.svg"
  3. Create a normal component of react
  4. Copy the content of the svg image and return it into the component.
  5. In the index of folder "images" export the default component to be found.
  6. In the index of src folder export it too.
  • New component
  1. Need to create a folder with the name of component
  2. Create 3 files, {name}.scss, {name}.jsx and {name}.stories.jsx (stories is the file detected by storybook to display it)
  3. Export it into the index in src folder.
  • SCSS files IMPORTANT: Each time we create a new scss file, we need to add it into the "style-guide.scss" file.
  1. Colors.scss is the main file where we add the hex color. Should be HEX to avoid have repeated colors.
  2. To use any color, in the scss file of component just import ""@import "../colors/colors.scss";"

Publish new version

First, be sure you're login into npm and yarn.

Run: npm login Run: yarn login

In terminal:

  1. yarn buildPublish -> this generate the build of package
  2. yarn publish -> this publish the version into yarn
  3. npm publish -> this publish the version into npm
0.4.9

2 years ago

0.4.8

2 years ago

0.3.9

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.4.5

2 years ago

0.3.6

2 years ago

0.2.7

2 years ago

0.1.8

2 years ago

0.4.4

2 years ago

0.3.5

2 years ago

0.2.6

2 years ago

0.1.7

2 years ago

0.4.7

2 years ago

0.3.8

2 years ago

0.2.9

2 years ago

0.4.6

2 years ago

0.2.8

2 years ago

0.1.9

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.3.2

2 years ago

0.2.3

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.5.2

2 years ago

0.4.3

2 years ago

0.3.4

2 years ago

0.2.5

2 years ago

0.1.6

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.3

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago