0.46.1 • Published 2 years ago

@albdigitalteam/components v0.46.1

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

picture

Delta Components

ALB Digital Team Commitizen friendly semantic-release Build Status

NOTE: The architecture of this project follows the criteria defined by the ALB Digital Team's Team Front-end. All procedures and standards expected in the development can be consulted on the official Wiki on Azure DevOps. This documentation is intended to explain how to develop, test, build, and release application.

Available Scripts

In the project directory, you can run:

yarn start

Runs the library and show the components with storybook. Open http://localhost:9009/ to view it in the browser.

You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.


Build application

yarn build

Build the component library, this command will generate a lib folder with all the componentes.


Available components

This project implements the Material UI responsible for the absorption of React components for a faster and easier web development with Alb Digital team implementation. The components are separated by the contexts:

  • Containers: (components responsible for providing similar structures and serve as a basis for other components)
  • DataDisplay: (components used to display, define and separate content, like texts, lists or tables)
  • Feedback: (components responsible to appears in front of application content to provide information or ask for a decision and also to inform about the status of ongoing processes)
  • Inputs: (components responsible for enter, edit, select or validate records properties and for take actions with clicks)
  • Layout: (components that serves as a wrapper, adapting to screen size and orientation, ensuring consistency across layouts)
  • Navigation: (components responsible for managing the presentation of navigation providing access to destinations and functionalities)
  • Surfaces: (components responsible for serve as a surface for components placed on them to display information and contents)
  • Utils: (components responsible for settings and components that helps in some way others components like transitions)

Syntax Highlighting in the Editor

To configure the syntax highlighting in your favorite text editor, head to the Babel's docs and follow the instructions. Some of the most popular editors are covered.


Displaying Lint Output in the Editor

Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint.

They are not required for linting. You should see the linter output right in your terminal as well as the browser console. However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do.

You would need to install an ESLint plugin for your editor first.


Linting (for VS Code)

  1. Install ESLint extension
  2. Install Prettier extension
  3. Add the following configuration in your settings.json:
  "editor.formatOnSave": true,
  "eslint.autoFixOnSave": true,
  "eslint.validate":  [
    "javascript",
    "javascriptreact",
    {"language":  "typescript",  "autoFix":  true  },
    {"language":  "typescriptreact",  "autoFix":  true  }
  ],

Commit helpers

This project uses commitlint for checks if your commit messages meet the conventional commit format. Common types according to commitlint-config-conventional based on the the Angular convention can be:

  • build: (changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: (changes to our CI configuration files and scripts)
  • chore: (updating grunt tasks etc; no production code change)
  • docs: (changes to the documentation)
  • feat: (new feature for the user, not a new feature for build script)
  • fix: (bug fix for the user, not a fix to a build script)
  • perf: (a code change that improves performance)
  • revert: (reverts a previous commit)
  • style: (formatting, missing semi colons, etc; no production code change)
  • test: (adding missing tests, refactoring tests; no production code change)

You can commit it in two ways, using the commitzen message creation CLI by just running:

  • git commit, or
  • git commit -m "types: your message".

After that, you will open a CLI to create the default message, if you want to skip this step press CTRL + C

For more information visit the official commitzen documentation.

🛣 Components Roadmap

  • Data Table
  • Button
  • Input Autocomplete
  • Data Table
  • Chart
  • Breadcrumb
  • HeaderScreen
  • ScreenContainer
  • Input File

🛣 Storybook Roadmap

  • Button
  • Input Autocomplete
  • Data Table
  • Chart
  • Breadcrumb
  • HeaderScreen
  • ScreeContainer
  • Input File
0.46.0

2 years ago

0.46.1

2 years ago

0.43.0

2 years ago

0.41.2

2 years ago

0.41.0

2 years ago

0.38.0

2 years ago

0.41.12

2 years ago

0.38.3

2 years ago

0.39.0

2 years ago

0.41.9

2 years ago

0.41.5

2 years ago

0.43.1

2 years ago

0.43.2

2 years ago

0.36.0

2 years ago

0.34.0

2 years ago

0.32.0

2 years ago

0.30.2

2 years ago

0.31.6

2 years ago

0.31.5

2 years ago

0.35.0

2 years ago

0.31.4

2 years ago

0.33.1

2 years ago

0.31.2

2 years ago

0.31.0

2 years ago

0.20.1

2 years ago

0.20.0

2 years ago

0.19.0

2 years ago

0.30.1

2 years ago

0.30.0

2 years ago

0.27.1

2 years ago

0.27.0

2 years ago

0.25.0

2 years ago

0.23.2

2 years ago

0.23.1

2 years ago

0.21.3

2 years ago

0.23.0

2 years ago

0.21.2

2 years ago

0.21.1

2 years ago

0.29.1

2 years ago

0.21.0

2 years ago

0.24.5

2 years ago

0.28.0

2 years ago

0.26.2

2 years ago

0.24.4

2 years ago

0.26.1

2 years ago

0.26.0

2 years ago

0.24.2

2 years ago

0.24.1

2 years ago

0.24.0

2 years ago

0.22.1

2 years ago

0.22.0

2 years ago

0.24.6

2 years ago

0.18.1

2 years ago

0.16.3

2 years ago

0.16.4

2 years ago

0.16.5

2 years ago

0.16.0

2 years ago

0.17.0

2 years ago

0.16.1

2 years ago

0.18.0

2 years ago

0.16.2

2 years ago

0.15.1

3 years ago

0.15.0

3 years ago

0.13.0

3 years ago

0.14.0

3 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago