Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Endava/BEEQ
BEEQ Design System, a web component library ruled by Endavan developers :)
https://github.com/Endava/BEEQ
component-library components design-system endava endavans stenciljs tailwindcss ui-components web-components
Last synced: about 5 hours ago
JSON representation
BEEQ Design System, a web component library ruled by Endavan developers :)
- Host: GitHub
- URL: https://github.com/Endava/BEEQ
- Owner: Endava
- License: apache-2.0
- Created: 2023-02-22T11:29:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-07T19:48:38.000Z (8 days ago)
- Last Synced: 2024-11-07T19:53:49.418Z (8 days ago)
- Topics: component-library, components, design-system, endava, endavans, stenciljs, tailwindcss, ui-components, web-components
- Language: TypeScript
- Homepage: https://beeq.design
- Size: 37.2 MB
- Stars: 79
- Watchers: 4
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-stencil - BEEQ, a web component library initiative - BEEQ Design System, is a web component library ruled by Endavan developers. (Design Systems / Community)
README
BEEQ, a web component library initiative
This repository holds the source code of the web components present in the BEEQ Design System.
| Package | Version | Documentation |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------- |
| [`@beeq/core`](https://www.npmjs.com/package/@beeq/core) | [![version](https://img.shields.io/npm/v/@beeq/core/latest.svg)](https://www.npmjs.com/package/@beeq/core) | [README](./packages/beeq/README.md) |
| [`@beeq/angular`](https://www.npmjs.com/package/@beeq/angular) | [![version](https://img.shields.io/npm/v/@beeq/angular/latest.svg)](https://www.npmjs.com/package/@beeq/angular) | [README](./packages/beeq-angular/README.md) |
| [`@beeq/react`](https://www.npmjs.com/package/@beeq/react) | [![version](https://img.shields.io/npm/v/@beeq/react/latest.svg)](https://www.npmjs.com/package/@beeq/react) | [README](./packages/beeq-react/README.md) |
| [`@beeq/vue`](https://www.npmjs.com/package/@beeq/vue) | [![version](https://img.shields.io/npm/v/@beeq/vue/latest.svg)](https://www.npmjs.com/package/@beeq/vue) | [README](./packages/beeq-vue/README.md) |
| [`@beeq/tailwindcss`](https://www.npmjs.com/package/@beeq/tailwindcss) | [![version](https://img.shields.io/npm/v/@beeq/tailwindcss/latest.svg)](https://www.npmjs.com/package/@beeq/tailwindcss) | [README](./packages/beeq-tailwindcss/README.md) |## โ ๏ธ Before Starting โ ๏ธ
### Structure ๐งฉ
The project has been structured as an [NX monorepo](https://nx.dev) :
```
โโโ ๐ packages
โโโ ๐ beeq
โโโ ๐ beeq-angular
โโโ ๐ beeq-react
โโโ ๐ beeq-vue
โโโ ...
โโโ ๐ beeq-tailwindcss
โโโ ...
โโโ ๐ tools
โโโ package.json
โโโ package-lock.json
```where:
- **[packages/beeq](./packages/beeq/):** Core library (source for all the elements/components implemented)
- **[packages/beeq-angular](./packages/beeq-angular):** Angular-specific wrapper for BEEQ core library
- **[packages/beeq-react](./packages/beeq-react):** React.js-specific wrapper for BEEQ core library
- **[packages/beeq-vue](./packages/beeq-vue):** Vue.js-specific wrapper for BEEQ core library
- **[packages/beeq-tailwindcss](./packages/beeq-tailwindcss):** BEEQ's opinionated TailwindCSS configuration### Dependencies ๐ก
We recommend the use of [Volta](https://volta.sh/) to manage Node and NPM versions. The [installation process](https://docs.volta.sh/guide/getting-started) is pretty straightforward, and as referenced on their official site:
> With Volta, you can select a Node engine once and then stop worrying about it. You can switch between projects and stop having to manually switch between Nodes.
Once you have Volta installed, whenever you change to the BEEQ folder locally, it will switch to the right Node and NPM versions pinned in the `package.json`:
```json
"volta": {
"node": "20.11.1",
"npm": "10.4.0"
}
```Volta is not mandatory, you can still use any Node/NPM setup that fits you most, just keep in mind that you'll need:
- [`NodeJS`](https://nodejs.org/en/download/) v18.x or higher
- [NPM](https://nodejs.org/en/knowledge/getting-started/npm/what-is-npm/) v8 or higher## Usage
The BEEQ components are published to the NPM package manager registry. You can use the `@beeq/core` or any of the framework-specific wrappers (`@beeq/angular`, `@beeq/react`) depending on the technology stack of your project. Make sure the follow the usage instructions for each package:
- ๐ [How to use the `@beeq/core` package](packages/beeq/README.md)
- ๐ [How to use the `@beeq/angular` package](packages/beeq-angular/README.md)
- ๐ [How to use the `@beeq/react` package](packages/beeq-react/README.md)
- ๐ [How to use the `@beeq/vue` package](packages/beeq-vue/README.md)
- ๐ [How to use the `@beeq/tailwindcss` preset](packages/beeq-tailwindcss/README.md)Feel free to [check our Storybook](https://storybook.beeq.design/) to see all the BEEQ components released. There you can find all the component's APIs (properties, events, and methods exposed) along with the variations that each component allows.
## Running the project ๐โ
To develop/extend components on the BEEQ Design System, please fork this repo in GitHub and clone it locally to a new directory:
```bash
git clone https://github.com//BEEQ.git BEEQ-Design-System
cd BEEQ-Design-System
git checkout main
```### Installation โ๏ธ
Simply run:
```bash
npm ci
# Make sure to build first the project before starting it
npm run build
npm start
```Start coding ๐!
### Build ๐ฆ
For a Production build, just run:
```bash
npm run build
```### Test ๐งช
BEEQ uses [Jest](https://jestjs.io/) for unit tests and Jest and [Puppeteer](https://pptr.dev/) for end-to-end tests.
You can run all the tests once, by executing:
```bash
npm run test
```๐จ If you get an error similar to the one below, **try to check out locally the `main` branch and run the tests again**.
```bash
fatal: Not a valid object name main
fatal: No such ref: 'main'
nx affected
```### Generate component
BEEQ comes with a component generator that saves you time when creating the skeleton for a new component. To use the generator, you just need to run the following command and follow the instructions in your prompt CLI:
```bash
npm run g
```## Contributing ๐ป
๐ฅ If you are in the mood and want to help ๐, please read carefully our [Contributing Guidelines](./CONTRIBUTING.md) and Development Standards.
โ๏ธ When working on a bug fix, new feature, etc., please notice that we follow a [GitFlow workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow). Make sure to [follow the instructions from the Contributing Branching Strategy guidelines](./CONTRIBUTING.md#branching-strategy) about how to create your branch when starting to work on a bug/hot fixing, new feature, etc.
## Documentation ๐
### StencilJs
Need help? Check out the Stenciljs docs here (https://stenciljs.com/).
### Tailwind CSS
We use Tailwind CSS for the style of the components, please take a look at their documentation here: (https://tailwindcss.com/docs/)
## Thanks ๐
We would like to express our sincere gratitude to [Chromatic](https://www.chromatic.com/) for providing the visual testing platform that enables us to review UI changes and identify visual regressions.
Thank you to the [Nx](https://nx.dev/) team for helping us streamline our CI process and efficiently manage our Monorepo.