@injectivelabs/ui-shared
Collection of re-useable fonts, render-less FE components and tailwind configs to ease development across the wide range of Injective products.
5,854
| Install | |
|---|---|
npm install @injectivelabs/ui-shared@1.12.46 |
|
| Latest Version: | 1.12.46 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | May 27, 2024 |
| Links: | npm |
Maintainer: bangjelkoski
🌟 Injective Components library
Collection of re-useable fonts, render-less FE components and tailwind configs to ease development across the wide range of Injective products.
Development
- Run
npm run dev:prepareto generate type stubs. - Use
npm run devto start playground in development mode. cd playgroundandyarn story:devto browse through the list of available components
Publish
- See here for instructions
How to add new fonts
- Add the respective font files to
/lib/fontsfolder - Create the
${fontName}.cssin the/lib/css/fontsfolder - Update package.json
exportsobject
{
"exports": {
"./lib/fonts/{fontName}.css": "./lib/css/fonts/{fontName}.css"
}
}
How to add a new icon
- Create the
{iconName}.vuefile in the/lib/iconsfolder - Test the icon renders properly
- yarn dev:prepare
- cd playground
- yarn story:dev
How to add a new render-less components
- Create the
{componentName}.vuefile in the/lib/componentsfolder - Add the
{componentName}.test.tsfile in the/testfolder - Add the
${componentName}.story.vuefile in theplayground/storyfolder - Test the component test passes smoothly
- yarn test:coverage
- Test the component renders properly
- yarn dev:prepare
- cd playground
- yarn story:dev
🔓 License
This software is licensed under the MIT license. See LICENSE for full disclosure.
Related Packages
@injectivelabs/nuxt-bugsnag
4,099
49
@injectivelabs/injective-ui
Collection of re-useable fonts, render-less FE components and tailwind configs t...
994
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.12.46 | ^3.0 | MIT | |
| 1.12.45 | ^3.0 | MIT | |
| 1.12.44 | ^3.0 | MIT | |
| 1.12.43 | ^3.0 | MIT | |
| 1.12.42 | ^3.0 | MIT | |
| 1.12.41 | ^3.0 | MIT | |
| 1.12.40 | ^3.0 | MIT | |
| 1.12.39 | ^3.0 | MIT | |
| 1.12.38 | ^3.0 | MIT | |
| 1.12.37 | ^3.0 | MIT | |
| 1.12.36 | ^3.0 | MIT | |
| 1.12.35 | ^3.0 | MIT | |
| 1.12.34 | ^3.0 | MIT | |
| 1.12.33 | ^3.0 | MIT | |
| 1.12.32 | ^3.0 | MIT | |
| 1.12.31 | ^3.0 | MIT | |
| 1.12.30 | ^3.0 | MIT | |
| 1.12.29 | ^3.0 | MIT | |
| 1.12.27 | ^3.0 | MIT | |
| 1.12.26 | ^3.0 | MIT | |
| 1.12.25 | ^3.0 | MIT | |
| 1.12.24 | ^3.0 | MIT | |
| 1.12.23 | ^3.0 | MIT | |
| 1.12.22 | ^3.0 | MIT | |
| 1.12.21 | ^3.0 | MIT | |
| 1.12.18 | ^3.0 | MIT | |
| 1.12.17 | ^3.0 | MIT | |
| 1.12.16 | ^3.0 | MIT | |
| 1.12.15 | ^3.0 | MIT | |
| 1.12.14 | ^3.0 | MIT |
Showing the latest 30 of 87. See every release on npm
Pre-releases (62)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.12.47-alpha.7 | ^3.0 | MIT | |
| 1.12.47-alpha.6 | ^3.0 | MIT | |
| 1.12.47-alpha.5 | ^3.0 | MIT | |
| 1.12.47-alpha.4 | ^3.0 | MIT | |
| 1.12.47-alpha.3 | ^3.0 | MIT | |
| 1.12.47-alpha.2 | ^3.0 | MIT | |
| 1.12.47-alpha.1 | ^3.0 | MIT | |
| 1.10.0-alpha.0 | ^3.0 | MIT | |
| 1.1.1-alpha-0.9 | ^3.0 | MIT | |
| 1.1.1-alpha-0.8 | ^3.0 | MIT | |
| 1.1.1-alpha-0.7 | ^3.0 | MIT | |
| 1.1.1-alpha-0.6 | ^3.0 | MIT | |
| 1.1.1-alpha-0.5 | ^3.0 | MIT | |
| 1.1.1-alpha-0.4 | ^3.0 | MIT | |
| 1.1.1-alpha-0.3 | ^3.0 | MIT | |
| 1.1.1-alpha-0.2 | ^3.0 | MIT | |
| 1.1.1-alpha-0.1 | ^3.0 | MIT | |
| 1.1.1-alpha-0.0 | ^3.0 | MIT | |
| 1.1.0-alpha-0 | ^3.0 | MIT | |
| 1.0.12-alpha.0 | ^3.0 | MIT | |
| 1.0.11-alpha.1 | ^3.0 | MIT | |
| 1.0.11-alpha.0 | ^3.0 | MIT | |
| 1.0.10-alpha.1 | ^3.0 | MIT | |
| 1.0.10-alpha.0 | ^3.0 | MIT | |
| 1.0.9-alpha.26 | ^3.0 | MIT | |
| 1.0.9-alpha.25 | ^3.0 | MIT | |
| 1.0.9-alpha.24 | ^3.0 | MIT | |
| 1.0.9-alpha.23 | ^3.0 | MIT | |
| 1.0.9-alpha.22 | ^3.0 | MIT | |
| 1.0.9-alpha.21 | ^3.0 | MIT |
Showing the latest 30 of 62. See every release on npm