Go to file
ajaxzheng 5e02624fd9
Sync release 3.16.0 (#1671)
* fix(grid): fix right fixed table header gutter style (#1542)

* fix(grid): [grid] fix grid no emit filter-change bug (#1536)

* fix(grid): [grid] fix grid not emit filter-change bug

* fix(grid): [grid] fix grid not emit filter-change bug

* docs: add v3.15.0 changelog (#1544)

* fix(tree): remove leaf node's padding-left (#1546)

* fix(action-menu): [action-menu] fix no divided bug (#1538)

* fix(action-menu): [action-menu] fix no divided bug

* fix(action-menu): [action-menu] fix no divided bug

* refactor(unplugin): rewrite unplugin for autoimport Vue components (#1553)

* fix(tabs): [tabs] Fixed issue with default slot and template/v-if/v-for usage in vue2 and vue3 (#1558)

* fix(tabs): [tabs] Fix the bug where the name is empty caused by using v-if in tabstem

* fix(tabs): [tabs] update renderless version

* fix(tabs): [tabs] Fix the issue with rendering in the default slot of Vue3

* fix(tabs): [tabs] Fix the issue of inconsistent highlighting when multiple V-ifs are used

* fix(tabs): [tabs] update opentiny/vue-tabs version

* fix(theme-saas): update theme saas dependencies (#1582)

* Update package.json

* feat(unplugin-tiny-vue): add TinyVueResolver (#1585)

* docs: add breaking changes to changelog (#1562)

* fix(chart): delete chart duplicate key (#1624)

* fix(select): [select] add showAllTextTag prop for select (#1627)

* fix(select): add showAllTextTag prop for select

* fix(select): update select  version in  package.json

* fix: [chart]fix chart height error and area chart empty data error (#1631)

* fix: 修复面积图空数据报错问题

* fix: 修复图表高度设置为100%的高度异常问题

* fix: 修改boxplot图表案例引入

* fix(drop-times): [drop-times] modify style (#1635)

* feat(theme): update theme version

* fix(chart): fix chart extend bugs (#1638)

* fix: 修复chart图表的extend未生效问题

* fix: 优化图表extend逻辑

* fix: 优化图表extend逻辑

* docs: optimize component category (#1626) (#1641)

* docs: update changelog v3.16.0 (#1642)

* feat(version): add npmmirror cdn link (#1646)

* feat(version): update docs version

* feat(alert): [alert] add type title text color css var (#1653)

* feat(alert): [alert] add type title text color css var

* feat(alert): [alert] add type title text color css var

* fix(select): [select] Fix the issue of invalid select component click events and remove inheritAttrs (#1657)

* fix(theme): [grid] fix tree node text overflow (#1661)

* fix(vue): [grid] fix multi toolbar can not get tableColumns config (#1656)

* fix(vue): [grid] fix multi toolbar can not get tableColumns config

* fix(vue): [grid] fix multi toolbar can not get tableColumns config

* fix(select,grid): fix select click event bug and grid toolbar bug

* fix(modal): adjust the title icon display of the modal (#1658)

* fix(modal): adjust the title icon display of the modal

* fix: update modal package.json

* fix(statistic): optimized the style, test, and example of the statistics component (#1660)

* fix: update style and demo statistic of component

* fix: update e2e-test

* fix: when num is equal to 0

---------

Co-authored-by: gimmyhehe <975402925@qq.com>
Co-authored-by: Kagol <kagol@sina.com>
Co-authored-by: 申君健 <40288193@qq.com>
Co-authored-by: chenxi-20 <76168465+chenxi-20@users.noreply.github.com>
Co-authored-by: Davont <davontz@icloud.com>
Co-authored-by: 李天佑 <66231260+You-Hw-Y@users.noreply.github.com>
Co-authored-by: MomoPoppy <125256456+MomoPoppy@users.noreply.github.com>
Co-authored-by: James <72028410+James-9696@users.noreply.github.com>
2024-06-11 10:05:34 +08:00
.cid chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
.codecheck chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
.github ci(runtime): add runtime git action (#1667) 2024-06-07 11:32:51 +08:00
.husky chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
.vscode chore(vscode): remove deprecated extension (#1603) 2024-05-10 14:35:27 +08:00
examples Sync release 3.16.0 (#1671) 2024-06-11 10:05:34 +08:00
gulp docs(sites) update docs and apis (#1070) 2023-12-08 18:20:12 +08:00
internals Sync release 3.16.0 (#1671) 2024-06-11 10:05:34 +08:00
packages Sync release 3.16.0 (#1671) 2024-06-11 10:05:34 +08:00
patches feat: support react and add new components: rich-text-editor/color-picker/divider/calendar-view 2023-10-11 04:04:12 -07:00
.all-contributorsrc docs: add trueLoving as a contributor for test (#1645) 2024-05-27 14:46:51 +08:00
.depcheckrc.yaml Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.eslintignore feat: add dialog-select and refactor sites (#378) 2023-08-11 16:40:06 +08:00
.eslintrc.js feat: optimize mobile-first components 2024-02-04 11:54:30 +08:00
.gitattributes Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.gitignore feat(runtime): add all、pc、mobile、mobile-first、simple runtime (#1662) 2024-06-04 17:24:58 +08:00
.hintrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.lintstagedrc.json ci(eslint): add husky and commitlint to eslint code (#1021) 2023-12-04 20:14:26 +08:00
.npmrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.prettierignore feat: add dialog-select and refactor sites (#378) 2023-08-11 16:40:06 +08:00
.prettierrc feat: support react and add new components: rich-text-editor/color-picker/divider/calendar-view 2023-10-11 04:04:12 -07:00
CHANGELOG.md Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
CONTRIBUTING.md docs: optimize contributing guide docs (#1382) 2024-02-08 10:04:55 +08:00
CONTRIBUTING.zh-CN.md docs: optimize contributing guide docs (#1382) 2024-02-08 10:04:55 +08:00
LICENSE Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
README.md docs: add trueLoving as a contributor for test (#1645) 2024-05-27 14:46:51 +08:00
README.zh-CN.md docs: add credits to README (#1108) 2023-12-28 16:51:06 +08:00
commitlint.config.js ci(eslint): add husky and commitlint to eslint code (#1021) 2023-12-04 20:14:26 +08:00
gulpfile.mjs docs(sites) update docs and apis (#1070) 2023-12-08 18:20:12 +08:00
jsconfig.json chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
lerna.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
logo.svg chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
package.json ci(runtime): add runtime git action (#1667) 2024-06-07 11:32:51 +08:00
pnpm-workspace.yaml chore: support alpha version and fix build error (#600) 2023-10-19 14:42:01 +08:00
tsconfig.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
tsconfig.react.json fix: fix tsconfig for not Vue projects (#1342) 2024-01-27 09:50:27 +08:00
tsconfig.vue2.7.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
tsconfig.vue2.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
tsconfig.vue3.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
vercel.json chore(ci): add pr preview through vercel deploy (#1388) 2024-02-08 09:49:00 +08:00
volar.config.js chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00

README.md

OpenTiny Logo

An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.

English | 简体中文

🌈 Features:

  • 📦 104 clean, easy-to-use and powerful components.
  • 🖖 One code, Support both Vue.js 2 and Vue.js 3.
  • 🖥️ One code, Support both PC and Mobile.
  • 🌍 Support internationalization.
  • 🎨 Support theme customization.
  • 📊 Components support configuration development, can support low-code platform.
  • 💡 Use a cross-end and cross-framework architecture, flexible and portable.

🛠️ Usage

1. Installation

Execute the following command to install the TinyVue component library for Vue.js 3.

npm i @opentiny/vue@3

Execute the following command to install the TinyVue component library for Vue.js 2.

npm i @opentiny/vue@2

2. Import component

Then you can use the TinyVue component(such as <tiny-button>) in the App.vue file.

<script lang="ts" setup>
  import { Button as TinyButton } from '@opentiny/vue'
</script>

<template>
  <tiny-button>Tiny Vue</tiny-button>
</template>

🖥️ Development

git clone git@github.com:opentiny/tiny-vue.git
cd tiny-vue
pnpm i

# Vue.js 3
pnpm dev

# Vue.js 2
pnpm dev2

Open your browser and visit: http://127.0.0.1:7130/

🤝 Contributing

Welcome to join our OpenTiny community!🎉

If you don't know how to start, please read our contributing guide.

  • Add the official assistant WeChat opentiny-official and join the technical exchange group.
  • Add to the mailing list opentiny@googlegroups.com

Contributors

Contributors are community members who have 1 or more PR merged in OpenTiny.

Thanks goes to these wonderful people (emoji key):

Kagol
Kagol

💻
ajaxzheng
ajaxzheng

💻
TC-twwang
TC-twwang

💻
jacknan
jacknan

💻
Pithy
Pithy

💻
heygsc
heygsc

💻
MangoWu
MangoWu

💻
ADNY
ADNY

💻
chenxi-20
chenxi-20

💻
Alaray
Alaray

💻
ing
ing

💻
申君健
申君健

💻
MomoPoppy
MomoPoppy

💻
WXC-Spring
WXC-Spring

💻
GaoNeng
GaoNeng

💻
acyza
acyza

💻
ygj6
ygj6

💻
MrWang2016
MrWang2016

💻
qinwencheng
qinwencheng

💻
黄怡林
黄怡林

💻
zuixinwang
zuixinwang

💻
luopei
luopei

💻
前端爆冲
前端爆冲

🚇
Xie Jay
Xie Jay

🚇
linxiang
linxiang

💻
程序员包子
程序员包子

💻
peter G
peter G

💻 📖
gimmyhehe
gimmyhehe

💻
dong
dong

💻
凌览
凌览

💻
Caesar-ch
Caesar-ch

💻
chenqifeng66
chenqifeng66

⚠️
Zz-ZzzZ
Zz-ZzzZ

⚠️
Lyx
Lyx

💻
Spark Bill
Spark Bill

💻
wendZzoo
wendZzoo

💻
Gweesin Chan
Gweesin Chan

💻
Binks_
Binks_

📖
yoyo
yoyo

💻
Kif
Kif

💻
jack-zishan
jack-zishan

💻
LinboLen
LinboLen

💻
vaebe
vaebe

💻
YuYan Li
YuYan Li

💻
shonen7
shonen7

💻
xlearns
xlearns

💻
tianxin
tianxin

💻
Xppp0217
Xppp0217

💻
AcWrong02
AcWrong02

🐛
betavs
betavs

💻
fanbingbing16
fanbingbing16

💻
dyh333
dyh333

📖
betterdancing
betterdancing

📖
David
David

💻
falcon-jin
falcon-jin

💻
wuyiping0628
wuyiping0628

⚠️
James
James

📖
ichynul
ichynul

💻
Davont
Davont

💻
Nick Wu
Nick Wu

💻
Floyd
Floyd

💻
Jevin
Jevin

💻
星河
星河

💻
Ranier Yu
Ranier Yu

💻
Zcating
Zcating

💻
Aoi Kaze
Aoi Kaze

⚠️

❤️ Credits

Thanks to:

  • The element project which is an old component library based on Vue.js. TinyVue draws on Element at the beginning of its design, and is compatible with Element's component API.
  • The floating-ui project which is a small library that helps you create "floating" elements such as tooltips, popovers, dropdowns, and more. Many components of TinyVue are based on the capabilities provided by Floating UI.
  • The vxe-table project which is a Vue-based table component, supports rich features, TinyVue's Grid component is based on vxe-table.
  • The sortablejs project which is a powerful drag-and-drop library. The drag-and-drop sorting function of TinyVue's Grid / Transfer / Tabs and other components is based on Sortable.
  • @adamwathan's article Renderless Components in Vue.js, which inspired TinyVue's renderless component design architecture and ultimately enabled cross-end and cross-framework capabilities in the TinyVue project.

License

MIT