-
Notifications
You must be signed in to change notification settings - Fork 0
Home
TEDI is an open-source design system used in TEHIK. Its goal is to provide a toolkit and building blocks for TEHIK partners, designers, developers, product owners, etc. It follows VEERA guidelines. TEDI includes specific components for designers and implements React and Angular components for developers. As a result, the provided solution saves development time.
TEDI contains two sets of components: community and TEDI (TEDI-READY). The community set is driven by the community and resolves special use cases, while the TEDI set ensures stability and quality, focusing on basic components.
npm i @tedi-design-system/reactInclude styles
import "@tedi-design-system/react/index.css";Import components:
import { Button } from "@tedi-design-system/react/tedi";npm i @tedi-design-system/angularInclude styles to angular.json or project.json:
"styles": [
"node_modules/@tedi-design-system/angular/index.css"
]Import components
import { ButtonComponent } from "@tedi-design-system/angular/community";- React repository: https://github.com/TEDI-Design-System/react
- Angular repository: https://github.com/TEDI-Design-System/angular
- Core repository: https://github.com/TEDI-Design-System/core
-
NPM:
- React: @tedi-design-system/react
- Angular: @tedi-design-system/angular
- Core: @tedi-design-system/core
- Storybook React: https://storybook.tedi.ee/react (branch-based test environment)
- Storybook Angular: https://storybook.tedi.ee/angular (branch-based test environment)
- Figma: TEDI Design System (WIP)
- Documentation: https://www.tedi.ee/1ee8444b7/p/33df89-sissejuhatus
- Slack: TEHIK Style Guide
- Open an issue in GitHub. Add information what are you planning to do, for example propose component API, libraries that are planned to use etc.
- Fork the GitHub repository.
- Under your forked repository, go to Settings → Pages:
- Under "Build and deployment," set the "Source" field to GitHub Actions.
- Enable Actions under the Actions tab.
- Create a new environment named github-pages under Environments:
- Ensure No restriction is selected under "Deployment branches and tags."
- Under your forked repository, go to Settings → Pages:
- Make changes and create a pull request against the
rcbranch in the origin repository. - For changes to TEDI components, deploy your component in the test environment (GitHub Pages):
- Deployment is automated via the "Continuous Deployment" GitHub Actions workflow.
- If Actions were enabled before commits, the deployment should run automatically. Otherwise, run the workflow manually:
- In the sidebar, select "Continuous Deployment" and click "Run workflow."
- Monitor the progress under "Continuous Deployment" and copy the generated GitHub Pages link once the "Deploy" step completes.
- Add the link to your pull request for review.
- Open an issue in GitHub.
- Create a new branch for your work.
- Make changes and create a pull request against the
rcbranch. - Another maintainer will review and merge the pull request. The feature is then ready for use in the pre-release version.
Description of difference between components can be found here https://github.com/TEDI-Design-System/general/wiki/Architecture#community-components
If Community would like to add extra value for creating Components that are as much as TEDI-READY compatible as possible, please follow this Definition of Done: https://github.com/TEDI-Design-System/general/wiki/Definition-of-Done#community-components
There will be always extra step (i.e validation and documentation) that needs to be done by TEDI team, but still you can be helpful.
Refer to the Gitflow Guide for details on branch and version management.