equinor-sdscoredev-components
v2.34.3
Published
Composite react components based on equinor design system (EDS)
Downloads
50
Readme
equinor-sdscoredev-components
Composite react components that extend Equinor Design Systems (EDS)
Storybook
Main Components
<DataTable>
SDSCoredev Components provides an advanced datatable that offer you pagination, sorting, filter integration, column settings, query handling, sticky headers and much more. It is based on Equinor Design System components to comply with Equinor design standards.
It is created so that developers can easily integrate it into their applications. The complexity that a datatable generate over time is avoided by abstractions and combined reducers.
Development
Clone the repo from https://github.com/equinor/sdscoredev-components as a sibling to your local project.
Run
cd sdscoredev-components && npm install
- Link dependencies
npm link ..\thelma-web\node_modules\react
npm link ..\thelma-web\node_modules\react-dom
npm link ..\thelma-web\node_modules\styled-components
- In your main project you need to delete
/node_modules/equinor-sdscoredev-components
, and then make a link by running:
Start-Process -FilePath "$env:comspec" -ArgumentList "/k", "mklink", "/j", "`"node_modules/equinor-sdscoredev-components`"","`"../sdscoredev-components`""
- Run
npm dedupe
npm start
Contributing
It is appreciated that you would like to contribute.
- Fork it
- Create a branch:
git checkout -b your-branch
- Commit changes:
git commit -am 'feat: add feature'
- Push changes:
git push origin your-branch
- Submit a Pull Request
Some points to remember:
- Make sure the storybook is building before you think about creating pull request.
- Follow conventional commit guidelines to enable automatic versioning.
- Diligently add typing.