3.0.0 • Published 1 year ago

zvook-ui-kit v3.0.0

Weekly downloads
256
License
MIT
Repository
-
Last release
1 year ago

Zvook UI Kit

This is the official Zvook's UI kit. It's a rolling release repository that's currently in development.

Learn more about Zvook @ https://zvook.co

Table of Contents

  1. Conventions
    1. Imports
    2. Color naming
  2. Troubleshooting
    1. Windows End-of-line sequence (CRLF)
    2. Node build errors on MacOS

Conventions

Imports

ES6 modules imports should, preferably, be done at the top of the file either statically or lazy loaded. So, for example, instead of using React.useEffect throughout the code, one should do

import React, { useEffect } from 'react';

...

useEffect(...);

Imports should also be automatically organised alphabetically. See the section "Working with MS Visual Studio Code" to see how to configure this behavior.

Color naming

Variables representing colors follow a specific naming convention: \$color-base-color-variation

Ex: $color-accent-light or $color-blue-dark


Troubleshooting

Windows End-of-line sequence (CRLF)

If you are working on a windows machine, you may experience Delete 'CR' ESLint errors in your files. This is caused by the end of line sequence specific to Windows which is CRLF unlike LF which the project in set up to use. Follow these 2 steps to resolve the issue:

  1. Switch all files to LF EOL sequence by using a VS Code extension called Change All End Of Line Sequence by Keyoti Inc.
    • Install the extension.
    • Click F1 in VS Code, type >Change All End Of Line Sequence and hit Enter.
    • In a dialog window input file types to convert specify: .ts, .tsx.
    • In the next dialog window blacklist node_modules folder by typing: !node_modules.
    • In the new dialog window select LF.
  2. The next step is to set the default EOL sequence. Open git bash or cmd and type in git config --global core.autocrlf false.

Node build errors on MacOS

If you see an error related to node-gyp or snappy while working in MacOS type

xcode-select --install
3.0.0

1 year ago

2.1.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.93.0

2 years ago

1.92.0

2 years ago

1.91.1

2 years ago

1.90.1

3 years ago

1.90.0

3 years ago

1.87.1

3 years ago

1.88.0

3 years ago

1.88.1

3 years ago

1.86.0

3 years ago

1.85.9

3 years ago

1.85.8

3 years ago

1.85.6

3 years ago

1.85.4

3 years ago

1.85.3

3 years ago

1.85.2

3 years ago

1.85.0

3 years ago

1.82.0

3 years ago

1.83.0

3 years ago

1.81.2

3 years ago

1.83.1

3 years ago

1.81.3

3 years ago

1.83.2

3 years ago

1.83.3

3 years ago

1.83.4

3 years ago

1.77.1

3 years ago

1.79.0

3 years ago

1.77.2

3 years ago

1.77.3

3 years ago

1.79.2

3 years ago

1.77.4

3 years ago

1.77.5

3 years ago

1.80.0

3 years ago

1.78.0

3 years ago

1.78.1

3 years ago

1.74.0

3 years ago

1.74.1

3 years ago

1.73.0

3 years ago

1.72.2

3 years ago

1.72.1

3 years ago

1.67.0

3 years ago

1.61.0

3 years ago

1.60.1

3 years ago

1.59.5

3 years ago

1.59.4

3 years ago

1.59.3

3 years ago

1.59.2

3 years ago

1.59.1

3 years ago

1.59.0

3 years ago

1.58.1

3 years ago

1.58.0

3 years ago

1.57.1

3 years ago

1.57.0

3 years ago

1.56.0

3 years ago

1.55.0

3 years ago

1.54.0

3 years ago

1.53.0

3 years ago

1.52.0

3 years ago

1.49.1

3 years ago

1.49.0

3 years ago

1.48.0

3 years ago

1.46.0

3 years ago

1.43.0

3 years ago

1.42.0

3 years ago

1.40.0

3 years ago

1.38.0

4 years ago

1.37.0

4 years ago

1.36.0

4 years ago

1.35.0

4 years ago

1.34.1

4 years ago

1.34.0

4 years ago

1.32.0

4 years ago

1.32.1

4 years ago

1.30.0

4 years ago

1.24.0

4 years ago

1.23.0

4 years ago

1.22.0

4 years ago

1.21.0

4 years ago

1.20.0

4 years ago

1.18.0

4 years ago

1.17.1

4 years ago

1.17.0

4 years ago

1.15.0

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.11.0

4 years ago

1.4.0

4 years ago

1.0.0

4 years ago

0.76.0

4 years ago

0.75.2

4 years ago

0.75.0

4 years ago

0.74.0

4 years ago

0.73.1

4 years ago

0.72.1

4 years ago

0.72.0

4 years ago

0.64.0

4 years ago

0.56.1

4 years ago

0.52.0

4 years ago

0.50.0

4 years ago

0.46.0

4 years ago

0.44.0

4 years ago

0.43.0

4 years ago

0.42.0

4 years ago

0.21.0

4 years ago

0.19.0

4 years ago

0.20.1

4 years ago

0.20.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.5.0

4 years ago

0.1.0

4 years ago