2.10.10 • Published 2 days ago

@tb-corp/tb-ds-web-library v2.10.10

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 days ago

TopBrains - Web Library

Web library of the TopBrains project by TB-CORP LLC is a set of styles and components powered by Vue.js and Nuxt.js. The primary goal of the library is to organize prepared set of resource to build TopBrains web project.

Name: TopBrains - Web Library Alt: TB-DS-web-library Code: TB-DS-WL


Contents

Installation

The library can be installed in nuxt applications, the version that corresponds to the nuxt version in the package dependencies. The installation process involves two steps and does not require complex configuration. 1. Install the library release using npm:

npm install @tb-corp/tb-ds-web-library

You can specify the exact version of the library if you wish:

npm install @tb-corp/tb-ds-web-library@x.y.z
  1. Bind @nuxt/components and the library as modules to your nuxt application in nuxt.config.js:
export default {
  buildModules: [
    '@nuxt/components',
    '@tb-corp/tb-ds-web-library'
  ],
  // ...
}

The library uses @nuxt/components to load components.

  1. Preset the library's tailwindcss configuration in your project's tailwind.config.js:
module.exports = {
  presets: [
    require('@tb-corp/tb-ds-web-library/config/tailwind.config.js')
  ],
  // ...
}

Usage

After successful installation of the library, you can use ready styles and components. The library's styles are written using the CSS framework tailwindcss. Only components you use will be loaded into your project. See Documentation for more information about using styles and components.

Development

To deploy the development environment and implement new functionality and/or fix bugs, you need to do the following: 1. Clone the library repository:

git clone https://github.com/TB-CORP/TB-DS-web-library.git
  1. Implement the necessary changes to the project;

  2. Prepare a new or existing project for testing (create a new project Nuxt Installation);

  3. Navigate the library in the terminal and build a local package;

cd path/to/updated/package

npm pack
  1. Install the .tgz file generated in the root of the project into the project for testing:
cd path/to/testing/project

npm install path/to/updated/package/OUTPUT_NAME.tgz
  1. Follow Installation 2-3 steps to bind modules and configure styles;

  2. After successful testing, write the new version of the library in the package.json:

{
	version: "x.y.z"
}
  1. Commit the updated library project into the current repository;

  2. Create a git tag equivalent to the new version and push it to the current repository;

  3. If necessary, create a GitHub release of the uploaded version (see Package first).

Documentation

The documentation of the styles and components is currently incomplete. For styles, see /config/tailwind.config.js, for components, you can explore component files.

Features

The library includes several useful features, knowing about which will make it easier for you to use the library package.

Theme setup

Theme setup is a set of necessary fundamental styles, on the basis of which all the components were built, resulting in the integrity of the interfaces and ease of development and extendability. Theme setup includes the design project (see Design2Code), Grids, Spacing, Typography, Icons, Colors and Assets.

Components

The UI components of the library include a set of components of different scale, sorted by this scale. If a component is in a particular group, it uses a component from the previous group(s).

  • Basic - fundamental, indivisible components;
  • General - basic components for building interfaces;
  • Complex - components that make up a whole, but consist of several parts;
  • Group - independent parts of the interface.

Auto-configuration

After installing the package you don't need to integrate options into your nuxt application configuration, it is done automatically by the package directly into your application configuration. Your nuxt.config.js will extend the library configuration, if there is a conflict your configuration will take priority. All this gives ease of installation and flexibility in configuring your nuxt application.

Design2Code

The design of all entities in the library strictly follows the Design2Code. All styles and components of the library are first carefully developed as a design project (see TB-DS-WL-design) and only then transferred to the code, this reduces the number of patch versions and increases the quality of the library.

Sandbox

Sandbox is the pages located in /sandbox/, which code you can browse to see how theme setup styles and components can be used and all possible variations. If you want to preview the sandbox pages in your browser, simply copy them in your project and adjust your tailwind.config.js's contents'.

Package

The library is distributed as an npm package, which is stored and organized using GitHub Packages and GitHub Actions. Uploading a new version of the package to the registry occurs only when a new release is created.

License

UNLINCESED.

2.10.10

2 days ago

2.10.9

2 days ago

2.10.7

2 days ago

2.10.8

2 days ago

2.10.6

2 days ago

2.10.5

10 days ago

2.10.3

13 days ago

2.10.4

13 days ago

2.10.2

14 days ago

2.10.1

15 days ago

2.10.0

17 days ago

2.9.50

23 days ago

2.9.45

24 days ago

2.9.46

24 days ago

2.9.44

24 days ago

2.9.47

24 days ago

2.9.48

24 days ago

2.9.42

1 month ago

2.9.43

1 month ago

2.9.41

1 month ago

2.9.40

1 month ago

2.9.38

1 month ago

2.9.39

1 month ago

2.9.37

1 month ago

2.9.30

2 months ago

2.9.31

2 months ago

2.9.34

2 months ago

2.9.35

2 months ago

2.9.32

2 months ago

2.9.33

2 months ago

2.9.36

2 months ago

2.9.29

2 months ago

2.9.28

2 months ago

2.9.27

2 months ago

2.9.19

2 months ago

2.9.20

2 months ago

2.9.23

2 months ago

2.9.24

2 months ago

2.9.21

2 months ago

2.9.22

2 months ago

2.9.25

2 months ago

2.9.26

2 months ago

2.9.18

3 months ago

2.9.16

3 months ago

2.9.17

3 months ago

2.9.15

3 months ago

2.9.12

3 months ago

2.9.13

3 months ago

2.9.11

3 months ago

2.9.14

3 months ago

2.9.10

3 months ago

2.9.9

3 months ago

2.9.6

3 months ago

2.9.8

3 months ago

2.9.7

3 months ago

2.9.5

3 months ago

2.9.2

3 months ago

2.9.1

3 months ago

2.9.4

3 months ago

2.9.3

3 months ago

2.8.45

3 months ago

2.8.44

3 months ago

2.8.49

3 months ago

2.8.48

3 months ago

2.8.47

3 months ago

2.8.46

3 months ago

2.8.51

3 months ago

2.8.50

3 months ago

2.9.0

3 months ago

2.8.39

3 months ago

2.8.41

3 months ago

2.8.40

3 months ago

2.8.43

3 months ago

2.8.42

3 months ago

2.8.34

3 months ago

2.8.33

3 months ago

2.8.32

3 months ago

2.8.38

3 months ago

2.8.37

3 months ago

2.8.36

3 months ago

2.8.35

3 months ago

2.8.31

3 months ago

2.8.30

4 months ago

2.8.29

4 months ago

2.8.28

4 months ago

2.8.19

4 months ago

2.8.18

4 months ago

2.8.17

4 months ago

2.8.23

4 months ago

2.8.22

4 months ago

2.8.21

4 months ago

2.8.20

4 months ago

2.8.27

4 months ago

2.8.26

4 months ago

2.8.25

4 months ago

2.8.24

4 months ago

2.8.12

4 months ago

2.8.16

4 months ago

2.8.15

4 months ago

2.8.14

4 months ago

2.8.13

4 months ago

2.7.12

4 months ago

2.7.11

4 months ago

2.7.10

4 months ago

2.7.8

4 months ago

2.7.9

4 months ago

2.7.4

4 months ago

2.7.6

4 months ago

2.7.5

4 months ago

2.7.2

4 months ago

2.7.1

4 months ago

2.6.48

4 months ago

2.6.49

4 months ago

2.6.45

4 months ago

2.6.46

4 months ago

2.6.47

4 months ago

2.6.59

4 months ago

2.6.55

4 months ago

2.6.56

4 months ago

2.6.57

4 months ago

2.6.58

4 months ago

2.6.51

4 months ago

2.6.52

4 months ago

2.6.53

4 months ago

2.6.54

4 months ago

2.6.60

4 months ago

2.6.61

4 months ago

2.7.3

4 months ago

2.6.62

4 months ago

2.6.63

4 months ago

2.6.64

4 months ago

2.6.28

4 months ago

2.6.29

4 months ago

2.6.37

4 months ago

2.6.38

4 months ago

2.6.39

4 months ago

2.6.33

4 months ago

2.6.34

4 months ago

2.6.35

4 months ago

2.6.36

4 months ago

2.6.30

4 months ago

2.6.31

4 months ago

2.6.32

4 months ago

2.6.44

4 months ago

2.6.40

4 months ago

2.6.41

4 months ago

2.6.42

4 months ago

2.6.43

4 months ago

2.6.19

4 months ago

2.6.16

4 months ago

2.6.17

4 months ago

2.6.18

4 months ago

2.6.14

4 months ago

2.6.26

4 months ago

2.6.27

4 months ago

2.6.22

4 months ago

2.6.23

4 months ago

2.6.24

4 months ago

2.6.25

4 months ago

2.6.20

4 months ago

2.6.21

4 months ago

2.6.12

4 months ago

2.6.13

4 months ago

2.6.11

4 months ago

2.6.10

4 months ago

2.6.7

4 months ago

2.6.9

4 months ago

2.6.8

4 months ago

2.6.3

5 months ago

2.6.2

5 months ago

2.6.5

5 months ago

2.6.4

5 months ago

2.6.6

5 months ago

2.4.1

5 months ago

2.3.1

5 months ago

2.6.1

5 months ago

2.5.1

5 months ago

2.0.59

5 months ago

2.0.58

5 months ago

2.0.60

5 months ago

2.2.1

5 months ago

2.1.1

5 months ago

2.1.0

5 months ago

2.0.48

5 months ago

2.0.49

5 months ago

2.0.46

5 months ago

2.0.47

5 months ago

2.0.44

5 months ago

2.0.45

5 months ago

2.0.57

5 months ago

2.0.55

5 months ago

2.0.56

5 months ago

2.0.53

5 months ago

2.0.54

5 months ago

2.0.51

5 months ago

2.0.52

5 months ago

2.0.50

5 months ago

2.0.43

5 months ago

2.0.38

5 months ago

2.0.39

5 months ago

2.0.42

5 months ago

2.0.40

5 months ago

2.0.41

5 months ago

2.0.28

5 months ago

2.0.29

5 months ago

2.0.37

5 months ago

2.0.35

5 months ago

2.0.36

5 months ago

2.0.33

5 months ago

2.0.34

5 months ago

2.0.31

5 months ago

2.0.32

5 months ago

2.0.30

5 months ago

2.0.15

5 months ago

2.0.16

5 months ago

2.0.13

5 months ago

2.0.14

5 months ago

2.0.12

5 months ago

2.0.19

5 months ago

2.0.17

5 months ago

2.0.18

5 months ago

2.0.26

5 months ago

2.0.27

5 months ago

2.0.24

5 months ago

2.0.25

5 months ago

2.0.22

5 months ago

2.0.23

5 months ago

2.0.20

5 months ago

2.0.21

5 months ago

2.0.11

5 months ago

2.0.10

6 months ago

2.0.9

6 months ago

2.0.8

6 months ago

2.0.7

6 months ago

2.0.6

6 months ago

2.0.5

6 months ago

2.0.4

6 months ago

2.0.3

6 months ago

2.0.2

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

1.0.60

6 months ago

1.0.59

6 months ago

1.0.57

6 months ago

1.0.56

6 months ago

1.0.55

6 months ago

1.0.54

6 months ago

1.0.53

6 months ago

1.0.52

6 months ago

1.0.51

6 months ago

1.0.50

6 months ago

1.0.48

6 months ago

1.0.47

6 months ago

1.0.46

6 months ago

1.0.45

6 months ago

1.0.44

6 months ago

1.0.43

6 months ago

1.0.42

6 months ago

1.0.41

6 months ago

1.0.40

6 months ago

1.0.39

6 months ago

1.0.38

6 months ago

1.0.37

6 months ago

1.0.36

6 months ago

1.0.35

6 months ago

1.0.34

6 months ago

1.0.33

6 months ago

1.0.32

6 months ago

1.0.31

6 months ago

1.0.30

7 months ago

1.1.30

7 months ago

1.0.29

7 months ago

1.0.28

7 months ago

1.0.27

7 months ago

1.0.26

7 months ago

1.0.25

7 months ago

1.0.24

7 months ago

1.0.23

7 months ago

1.0.22

7 months ago

1.0.21

7 months ago

1.0.19

7 months ago

1.0.18

7 months ago

1.0.17

7 months ago

1.0.16

7 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago

1.0.20

7 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago