1.0.0-beta.19 • Published 2 years ago
@onclass-tech-learning/design-system v1.0.0-beta.19
technologies used
- 💚 Vuejs - The Intuitive Vue Framework
- 🔅 webpack - bundle your scripts, images and more!
- 🃏 Jest - Unit/Snapshot Testing
- 🧩 Commitlint - helps your team adhering to a commit convention.
- 🙉 sass - CSS with superpowers
- 🛰️ Theo - Theo is an abstraction for transforming and formatting Design Tokens.
Usage
yarn install
- This installs the project dependenciesyarn storybook
- This runs the storybook to preview the componentsyarn build:storybook
- This runs the storybook buildyarn build:tokens
- This runs the token buildyarn build:lib
- This runs the build of the components and stylesyarn watch:tokens
- this command listens for changes in tokensyarn jest
- Run all linting and unit tests before committing.yarn jest -o
- Run only the tests that have changed.yarn jest -u
- Update all of the snapshot tests.yarn lint
- Run lint in code.
Install
npm i @onclass-tech-learning/design-system
Usage
//import in main.js
import { createApp } from 'vue';
import App from './App.vue';
import onclass from '@onclass-tech-learning/design-system';
import '@onclass-tech-learning/design-system/dist/onclass-design-system.css';
createApp(App).use(onclass).mount('#app');
// how to use tokens and themes
import { tokens, themes } from '@onclass-tech-learning/design-system';
// change default theme
this.$loadTheme('base'); // or dark
List of Components
- Accordion
- Avatar
- Alerts
- Badge
- Buttons
- Card
- Chips
- Circular Progress
- Col
- Container
- Checkbox
- Dialog
- Divider
- Empty states
- Header
- Input Autocomplete
- Input Checkbox
- Input Color Picker
- Input Date Picker
- Input Data Time Picker
- Input File
- Input Number
- Input Password
- Input Radio
- Input Select
- Input Slider
- Input Switch
- Input Text
- Input Textarea
- Input Toggle
- Input OTP
- Icons
- Link
- Menus
- Navbar
- Navigation
- Pagination
- Placeholder
- Popover
- ProgressBar
- Rating
- Row
- Search bar
- Snackbar
- Steps
- Sidebar
- Table
- Tags
- Tabs
- Tooltip
Commit types
Commit Type | Title | Description | Emoji |
---|---|---|---|
feat | Features | A new feature | ✨ |
fix | Bug Fixes | A bug Fix | 🐛 |
docs | Documentation | Documentation only changes | 📚 |
style | Styles | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | 💎 |
refactor | Code Refactoring | A code change that neither fixes a bug nor adds a feature | 📦 |
perf | Performance Improvements | A code change that improves performance | 🚀 |
test | Tests | Adding missing tests or correcting existing tests | 🚨 |
build | Builds | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) | 🛠 |
ci | Continuous Integrations | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) | ⚙️ |
chore | Chores | Other changes that don't modify src or test files | ♻️ |
revert | Reverts | Reverts a previous commit | 🗑 |
License
All code are copyright onclass and may not be used or reproduced without explicit permission.
1.0.0-beta.5
2 years ago
1.0.0-beta.11
2 years ago
1.0.0-beta.12
2 years ago
1.0.0-beta.10
2 years ago
1.0.0-beta.6
2 years ago
1.0.0-beta.7
2 years ago
1.0.0-beta.8
2 years ago
1.0.0-beta.9
2 years ago
1.0.0-beta.19
2 years ago
1.0.0-beta.17
2 years ago
1.0.0-beta.18
2 years ago
1.0.0-beta.15
2 years ago
1.0.0-beta.16
2 years ago
1.0.0-beta.13
2 years ago
1.0.0-beta.14
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.0-beta.2
2 years ago
1.0.0-beta.3
2 years ago
1.0.0-beta.4
2 years ago
1.0.0-beta.0
2 years ago
1.0.0-beta.1
2 years ago
1.0.3
2 years ago
0.0.0
2 years ago