0.5.2 • Published 3 years ago
holacash-ux v0.5.2
Getting Started
This project, will help to have the same icons, components and colors between projects.
Install
- yarn install
- yarn storybook
open browser in http://localhost:6006/
How it works
- SVG Images
- Need to create or add into a folder the svg image.
- In the carpet "images" need to create the name of the component with the follow pattern: "{nameImage}{number_Pixel}Px.svg"
- Create a normal component of react
- Copy the content of the svg image and return it into the component.
- In the index of folder "images" export the default component to be found.
- In the index of src folder export it too.
- New component
- Need to create a folder with the name of component
- Create 3 files, {name}.scss, {name}.jsx and {name}.stories.jsx (stories is the file detected by storybook to display it)
- 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.
- Colors.scss is the main file where we add the hex color. Should be HEX to avoid have repeated colors.
- 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:
- yarn buildPublish -> this generate the build of package
- yarn publish -> this publish the version into yarn
- npm publish -> this publish the version into npm
0.4.9
3 years ago
0.4.8
3 years ago
0.3.9
3 years ago
0.3.0
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.4.5
3 years ago
0.3.6
3 years ago
0.2.7
3 years ago
0.1.8
3 years ago
0.4.4
3 years ago
0.3.5
3 years ago
0.2.6
3 years ago
0.1.7
3 years ago
0.4.7
3 years ago
0.3.8
3 years ago
0.2.9
3 years ago
0.4.6
3 years ago
0.2.8
3 years ago
0.1.9
3 years ago
0.5.0
3 years ago
0.4.1
3 years ago
0.3.2
3 years ago
0.2.3
3 years ago
0.4.0
3 years ago
0.3.1
3 years ago
0.2.2
3 years ago
0.5.2
3 years ago
0.4.3
3 years ago
0.3.4
3 years ago
0.2.5
3 years ago
0.1.6
3 years ago
0.5.1
3 years ago
0.4.2
3 years ago
0.3.3
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago