├── .gitee ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── issue-template-bug.md │ └── issue-template-feature.md ├── PULL_REQUEST_TEMPLATE │ ├── pull-request-template-feat.md │ └── pull-request-template-fix.md └── workflows │ └── deploy.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── README.zh-Hans.md ├── babel.config.js ├── build ├── build-base.js ├── build-example.js ├── build-lib-all.js ├── build-lib-components.js └── gen-styles.js ├── docs └── README.md ├── package.json ├── src ├── index.js ├── packages │ ├── button │ │ ├── index.js │ │ └── src │ │ │ └── index.vue │ └── link │ │ └── index.js └── styles │ ├── common │ └── var.styl │ ├── index.styl │ └── mixins │ └── mixins.styl └── website └── README.md /.gitee/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 1. Your usage scenarios? | 您使用的场景? 4 | 5 | ## 2. What did you do? | 您做了什么操作? 6 | 7 | ## 3. What are your problems? | 您遇到了什么问题? 8 | 9 | ## 4. What is your expected outcome? | 您期望的结果是怎样的? 10 | -------------------------------------------------------------------------------- /.gitee/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 详细描述 -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: misitebao # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: #['https://blog.misitebao.com'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/issue-template-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug Template | 问题提交模板 3 | about: Please describe in detail the problems you encountered in the process of using | 请详细描述您使用过程中遇到的问题 4 | title: "[Bug]Some problem... | 一些问题。。。" 5 | --- 6 | 7 | 8 | 9 | #### 1. Your usage scenarios? | 您使用的场景? 10 | 11 | #### 2. What did you do? | 您做了什么操作? 12 | 13 | #### 3. What are your problems? | 您遇到了什么问题? 14 | 15 | #### 4. What is your expected outcome? | 您期望的结果是怎样的? 16 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/issue-template-feature.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Template | 功能提交模板 3 | about: Please describe in detail the features you expect | 请详细描述您期望的功能 4 | title: "[Feature]Some feature... | 一些功能。。。" 5 | --- 6 | 7 | 8 | 9 | #### 1. Your usage scenarios? | 您使用的场景? 10 | 11 | #### 2. What is your expected outcome? | 您期望的结果是怎样的? 12 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull-request-template-feat.md: -------------------------------------------------------------------------------- 1 | 2 | ## New feature description | 新增功能描述 -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull-request-template-fix.md: -------------------------------------------------------------------------------- 1 | 2 | ## Fix bug description | 修复Bug描述 -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | # name: Deploy | 部署 2 | # on: 3 | # push: 4 | # branches: [main] 5 | # # pull_request: 6 | # # branches: [master] 7 | # jobs: 8 | # build-and-deploy: 9 | # runs-on: ubuntu-latest 10 | # if: github.repository == 'misitebao/template-git-repository' 11 | # steps: 12 | # - name: Checkout | 切换到部署分支 13 | # uses: actions/checkout@v2 14 | # with: 15 | # ref: "master" 16 | # submodules: true 17 | # fetch-depth: 0 18 | 19 | # - name: Setup Hugo | 设置Hugo环境 20 | # uses: peaceiris/actions-hugo@v2 21 | # with: 22 | # hugo-version: "0.81.0" 23 | # extended: true 24 | 25 | # - name: Build | 构建 26 | # run: hugo 27 | 28 | # - name: Deploy to Server | 部署到服务器 29 | # uses: hengkx/ssh-deploy@v1.0.1 30 | # with: 31 | # HOST: ${{ secrets.DEPLOY_HOST }} 32 | # USERNAME: ${{ secrets.DEPLOY_HOST_USER }} # 为了用户信息安全对敏感数据可以在secrets中配置请看下图 33 | # PASSWORD: ${{ secrets.DEPLOY_HOST_PASSWORD }} 34 | # SOURCE: "public" 35 | # TARGET: "/www/wwwroot/tigateam.org" 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | docs 4 | src 5 | test 6 | website 7 | 8 | .github 9 | .gitee 10 | .gitignore 11 | .npmignore 12 | 13 | babel.config.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 TigaTeam 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |

3 |
4 |

5 |

6 | Tigaui is a high quality component library based on Vue 7 |

8 | 9 | 10 | 11 | ## 🌏 Internationalization 12 | 13 | [English](README.md) | [简体中文](README.zh-Hans.md) 14 | 15 | 16 | 17 | ## 📚 Contents 18 | 19 | - [Internationalization](#nav-1) 20 | - [Contents](#nav-2) 21 | - [Introductions](#nav-3) 22 | - [Official Website](#nav-3-1) 23 | - [Graphic Demo](#nav-4) 24 | - [Features](#nav-5) 25 | - [Architecture](#nav-6) 26 | - [Getting Started](#nav-7) 27 | - [Authors](#nav-8) 28 | - [Contributors](#nav-9) 29 | - [Community Exchange](#nav-9-1) 30 | - [Part Of Users](#nav-10) 31 | - [Release History](CHANGE.md) 32 | - [Donators](#nav-11) 33 | - [Sponsors](#nav-12) 34 | - [Thanks](#nav-13) 35 | - [License](#nav-14) 36 | 37 | 38 | 39 | ## ℹ️ Introductions 40 | 41 | `Tigaui` is a high quality component library based on `vue3.x` 42 | 43 | 44 | 45 | ### 🔔 Official Website 46 | 47 | [Official Website](https://tigaui.tigateam.org) 48 | 49 | 50 | 51 | ## 🌅 Graphic Demo 52 | 53 | 54 | 55 | ## ✳️ Features 56 | 57 | 58 | 59 | ## 🍊 Architecture 60 | 61 | 62 | 63 | ## 💎 Getting Started 64 | 65 | 66 | 67 | ## 🙆 Authors 68 | 69 | The author of this project: [Misitebao](https://github.com/misitebao). senior engineer, entrepreneur. 70 | 71 | 72 | 73 | ## 🌟 Contributors 74 | 75 | Thank you to all the contributors who participated in the development of Tigaui. [Contributors](https://github.com/tigateam/tiga-ui/graphs/contributors) 76 | 77 | 78 | 79 | ### 😵 Community Exchange 80 | 81 | 82 | 83 | ## 👼 Part Of Users 84 | 85 | 86 | 87 | ## ☕ Donators 88 | 89 | 90 | 91 | ## 💰 Sponsors 92 | 93 | 94 | 95 | ## 👏 Thanks 96 | 97 | JetBrains 98 | 99 | 100 | 101 | ## ©️ License 102 | 103 | [License MIT](LICENSE) 104 | -------------------------------------------------------------------------------- /README.zh-Hans.md: -------------------------------------------------------------------------------- 1 | 2 |

3 |
4 |

5 |

6 | Tigaui 是一个基于 Vue 的高质量组件库 7 |

8 | 9 | 10 | 11 | ## 🌏 国际化 12 | 13 | [English](README.md) | [简体中文](README.zh-Hans.md) 14 | 15 | 16 | 17 | ## 📚 内容目录 18 | 19 | - [国际化](#nav-1) 20 | - [内容目录](#nav-2) 21 | - [项目介绍](#nav-3) 22 | - [官方网站](#nav-3-1) 23 | - [图形演示](#nav-4) 24 | - [功能特色](#nav-5) 25 | - [架构](#nav-6) 26 | - [新手入门](#nav-7) 27 | - [关于作者](#nav-8) 28 | - [贡献者](#nav-9) 29 | - [社区交流](#nav-9-1) 30 | - [部分用户](#nav-10) 31 | - [发布记录](CHANGE.md) 32 | - [捐赠者](#nav-11) 33 | - [赞助商](#nav-12) 34 | - [特别鸣谢](#nav-13) 35 | - [版权许可](#nav-14) 36 | 37 | 38 | 39 | ## ℹ️ 项目介绍 40 | 41 | `Tigaui` 是一个基于 `Vue3.x` 的高质量组件库 42 | 43 | 44 | 45 | ### 🔔 官方网站 46 | 47 | [官方网站](https://tigaui.tigateam.org) 48 | 49 | 50 | 51 | ## 🌅 图形演示 52 | 53 | 54 | 55 | ## ✳️ 功能特色 56 | 57 | 58 | 59 | ## 🍊 架构 60 | 61 | 62 | 63 | ## 💎 新手入门 64 | 65 | 66 | 67 | ## 🙆 关于作者 68 | 69 | 本项目作者:[米司特包](https://github.com/misitebao)。高级工程师,创业者。 70 | 71 | 72 | 73 | ## 🌟 贡献者 74 | 75 | 感谢所有参与 Tigaui 开发的贡献者。[Contributors](https://github.com/tigateam/tiga-ui/graphs/contributors) 76 | 77 | 78 | 79 | ### 😵 社区交流 80 | 81 | 82 | 83 | ## 👼 部分用户 84 | 85 | 86 | 87 | ## ☕ 捐赠者 88 | 89 | 90 | 91 | ## 💰 赞助商 92 | 93 | 94 | 95 | ## 👏 鸣谢 96 | 97 | JetBrains 98 | 99 | 100 | 101 | ## ©️ 版权许可 102 | 103 | [License MIT](LICENSE) 104 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigalabs/tigadesign-vue/ba9c16433ea135cedaff6dd04348660a8d537a3a/babel.config.js -------------------------------------------------------------------------------- /build/build-base.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 基础打包配置 5 | */ 6 | 7 | const path = require('path') 8 | const webpack = require('webpack') 9 | const package = require('../package.json') 10 | const VueLoaderPlugin = require('vue-loader/lib/plugin') 11 | 12 | module.exports = { 13 | module: { 14 | rules: [ 15 | { 16 | test: /\.vue$/, 17 | loader: 'vue-loader', 18 | options: { 19 | 20 | } 21 | }, 22 | { 23 | test: /\.js$/, 24 | loader: 'babel-loader', 25 | options: { 26 | sourceMap: true, 27 | }, 28 | exclude: /node_modules/, 29 | }, 30 | { 31 | test: /\.css$/, 32 | loaders: [ 33 | { 34 | loader: 'style-loader', 35 | options: { 36 | sourceMap: true, 37 | }, 38 | }, 39 | { 40 | loader: 'css-loader', 41 | options: { 42 | sourceMap: true, 43 | }, 44 | } 45 | ] 46 | }, 47 | { 48 | test: /\.(gif|jpg|png|woff|svg|eot|ttf)\??.*$/, 49 | loader: 'url-loader?limit=8192' 50 | } 51 | 52 | ] 53 | }, 54 | resolve: { 55 | extensions: ['.js', '.vue'], 56 | alias: { 57 | '@': resolve('src') 58 | } 59 | }, 60 | plugins: [ 61 | new VueLoaderPlugin() 62 | ] 63 | 64 | } -------------------------------------------------------------------------------- /build/build-example.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 示例展示打包配置 5 | */ 6 | -------------------------------------------------------------------------------- /build/build-lib-all.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 全量打包配置 5 | */ 6 | 7 | const path = require('path'); 8 | const webpack = require('webpack'); 9 | const webpackMerge = require('webpack-merge'); 10 | const webpackBaseConfig = require('./build-base.js'); 11 | 12 | module.exports = webpackMerge(webpackBaseConfig, { 13 | devtool: 'source-map', 14 | mode: 'production', 15 | entry: { 16 | index: path.resolve(__dirname, '../src/index.js') 17 | }, 18 | output: { 19 | path: path.resolve(__dirname, '../lib'), 20 | publicPath: '/lib/', 21 | filename: 'tiga-ui.min.js', 22 | library: 'tiga-ui', 23 | libraryTarget: 'umd', 24 | umdNamedDefine: true 25 | }, 26 | externals: { 27 | vue: { 28 | root: 'Vue', 29 | commonjs: 'vue', 30 | commonjs2: 'vue', 31 | amd: 'vue' 32 | } 33 | }, 34 | plugins: [] 35 | 36 | }) 37 | -------------------------------------------------------------------------------- /build/build-lib-components.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 单独打包单个组件 5 | */ 6 | -------------------------------------------------------------------------------- /build/gen-styles.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 单独打包样式问件 5 | */ 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # 项目文档 -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@tigateam/tigaui", 3 | "version": "0.0.1", 4 | "description": "🎨 Tigaui is a high quality component library based on Vue", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "", 8 | "serve:doc": "", 9 | "build:doc": "", 10 | "build": "npm-run-all --parallel build:**", 11 | "build:lib:all": "webpack --config build/build-lib-all.js", 12 | "build:lib:components": "webpack --config build/build-lib-components.js", 13 | "build:lib:styles": "", 14 | "build:lib": "npm run build:lib:all && build:lib:components && npm run build:lib:styles", 15 | "serve:example": "aaaa" 16 | }, 17 | "keywords": [ 18 | "tigaui", 19 | "tigateam", 20 | "vue", 21 | "components" 22 | ], 23 | "author": "TigaTeam", 24 | "license": "MIT", 25 | "devDependencies": { 26 | "npm-run-all": "^4.1.5" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 打包入口文件 5 | */ 6 | 7 | 8 | 9 | 10 | 11 | const components = { 12 | 13 | 14 | } 15 | 16 | 17 | const install = function (Vue, opts = {}) { 18 | if (install.installed) return; 19 | 20 | 21 | 22 | 23 | 24 | // 根据传入参数配置TIGAUI 25 | Vue.prototype.$TIGA = { 26 | size: opts.size || '', 27 | } 28 | 29 | 30 | 31 | 32 | } 33 | 34 | 35 | if (typeof window !== 'undefined' && window.Vue) { 36 | install(window.Vue); 37 | } 38 | -------------------------------------------------------------------------------- /src/packages/button/index.js: -------------------------------------------------------------------------------- 1 | import Button from './src/index.vue' 2 | 3 | 4 | Button.install = function (Vue) { 5 | 6 | Vue.component(`T${Button.name}`, Button); 7 | 8 | } 9 | 10 | export default Button 11 | -------------------------------------------------------------------------------- /src/packages/button/src/index.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/packages/link/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigalabs/tigadesign-vue/ba9c16433ea135cedaff6dd04348660a8d537a3a/src/packages/link/index.js -------------------------------------------------------------------------------- /src/styles/common/var.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigalabs/tigadesign-vue/ba9c16433ea135cedaff6dd04348660a8d537a3a/src/styles/common/var.styl -------------------------------------------------------------------------------- /src/styles/index.styl: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author : MS 3 | * @LastEditors : MS 4 | * @Description : 样式文件入口 5 | */ 6 | -------------------------------------------------------------------------------- /src/styles/mixins/mixins.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigalabs/tigadesign-vue/ba9c16433ea135cedaff6dd04348660a8d537a3a/src/styles/mixins/mixins.styl -------------------------------------------------------------------------------- /website/README.md: -------------------------------------------------------------------------------- 1 | # 项目官网 --------------------------------------------------------------------------------