dat-library-ui
v0.0.14
Published
A number of generic ui elements for Dat Library
Readme
Dat Library UI Elements
This is a work in progress.
To do:
- [x] Progress Bar
- [x] Simple buttons
- [x] Dynamic Alerts
- [x] Basic Menu (still needs css)
- [x] Active state for buttons (for selected items)
- [x] Global Loader
- [x] Relative Loader
- [x] Tags
- [x] Form
- [x] Text inputs
- [x] Check lists (without style)
- [x] Selection
- [X] Code highlighting display element
- [ ] Style checkboxs
- [ ] Add button / hover style to inputs
- [ ] Radio Button
- [ ] Basic layout Components (eg sidebar, row, etc)
- [ ] Pagination elements
- [ ] Pop up modal
- [ ] Badges (eg. for peer count etc)
- [ ] Accordion Item (for library data)
- [ ] Table structure (for displaying book/author data)
- [ ] Grouped Lists
- [ ] Handle disabled and readonly styles for inputs
- [ ] ...
You can see all the available components here.
We are replacing the use of element-ui in dat library.
Install
npm install --save dat-library-uiimport Vue from 'vue'
import DatLibraryUI from 'dat-library-ui'
// import styles
import 'dat-library-ui/dist/styles.css'
// injects all components
Vue.use(DatLibraryUI);Development
npm run devThis will create two processes. Rollup which will watch and recompile the dat-library-ui bundle, and Webpack which launches a sample website at localhost:8080. All changes in the src directory will be hot loaded and visible there.
npm run buildThis will rollup the library for production and build new docs representing the changes.
