Commit Graph

5110 Commits

Author SHA1 Message Date
07akioni
4d926eecd4 fix(modal): can't be closed when using custom content, closes #788 2021-08-06 02:25:40 +08:00
小魔王
149481e420
fix(select): tag should hide close icon when option is disabled (#784)
* fix(select): tag should hide close icon when option is disabled

* fix(select): update log

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-06 00:09:14 +08:00
XieZongChen
cf46ee4d8f
test(NProgress): add test (#790) 2021-08-05 23:19:32 +08:00
XieZongChen
2de677dd58
fix(progress): fix percentage prop exception in default (#767)
* fix(NProgress): fix percentage prop exception in default

* feat: optimize
2021-08-04 23:35:32 +08:00
XieZongChen
5ae1538ac4
feat(button): add text-color prop (#762)
* feat(NButton): add text-color prop

* feat: optimization

* feat: optimization

* feat: optimize

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-04 23:28:05 +08:00
Yugang Cao
cf38115b80
feat(form): export ValidationError (#755)
* feat(form): export ValidationError

* fix: export FormValidationError

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-04 23:23:33 +08:00
XieZongChen
12946303e9
test(NResult): add test (#773) 2021-08-04 14:28:49 +08:00
Mr.Bai
05ef8cba49
fix(data-table): onUpdatePage and onUpdatePageSize not triggered in jsx (#768)
* fix(data-table): onUpdatePage and onUpdatePageSize not triggered

* update change log

* Update CHANGELOG.en-US.md

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-04 00:39:52 +08:00
07akioni
ca57743687 refactor(loading-bar): clean code, change loading-bar-style to object value 2021-08-03 01:23:27 +08:00
jesi
7802c788b1
feat(loading-bar): add start-color and end-color props (#683)
* feat(loading-bar): add start-color and end-color props

* refactor(loading-bar): add loading-bar-style prop

* refactor(loading-bar): inject style

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-03 01:05:58 +08:00
feng
85de0ec37b
fix(slider): fix floating point decimal precision (#750)
* fix(slider): fix floating point decimal precision

* Update src/slider/src/Slider.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/slider/src/Slider.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/slider/src/Slider.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* fix(slider): fix floating point decimal precision

* fix(slider): update changelog

* Update CHANGELOG.en-US.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
2021-08-03 00:24:40 +08:00
dependabot[bot]
b3e17cb160
chore(deps-dev): bump @vicons/ionicons4 from 0.10.0 to 0.11.0 (#760)
Bumps [@vicons/ionicons4](https://github.com/07akioni/xicons) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/07akioni/xicons/releases)
- [Changelog](https://github.com/07akioni/xicons/blob/main/CHANGELOG.md)
- [Commits](https://github.com/07akioni/xicons/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: "@vicons/ionicons4"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 23:53:32 +08:00
dependabot[bot]
16c4b3355a
chore(deps-dev): bump @vicons/ionicons5 from 0.10.0 to 0.11.0 (#759)
Bumps [@vicons/ionicons5](https://github.com/07akioni/xicons) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/07akioni/xicons/releases)
- [Changelog](https://github.com/07akioni/xicons/blob/main/CHANGELOG.md)
- [Commits](https://github.com/07akioni/xicons/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: "@vicons/ionicons5"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 23:48:44 +08:00
dependabot[bot]
32b7074f67
chore(deps-dev): bump @vicons/fluent from 0.10.0 to 0.11.0 (#761)
Bumps [@vicons/fluent](https://github.com/07akioni/xicons) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/07akioni/xicons/releases)
- [Changelog](https://github.com/07akioni/xicons/blob/main/CHANGELOG.md)
- [Commits](https://github.com/07akioni/xicons/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: "@vicons/fluent"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 23:46:55 +08:00
XieZongChen
ff5e302f0a
test(badge): add badge test (#757) 2021-08-02 16:30:34 +08:00
07akioni
a1a353519a 2.16.0 2021-08-02 01:33:25 +08:00
07akioni
5af2b5010d fix(dropdown): doesn't show arrow by default 2021-08-02 01:31:21 +08:00
07akioni
a1eaa27da5 docs(changelog): fix 2021-08-02 01:25:28 +08:00
07akioni
00ba0f3f0d refactor(dropdown): implementation of show-arrow prop 2021-08-02 01:25:28 +08:00
07akioni
285bcbd213
Merge pull request #752 from TuSimple/docs
Docs
2021-08-02 01:24:30 +08:00
Yugang Cao
e38f4cef54
fix(modal): cannot add custom classes (#747)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-02 01:07:38 +08:00
Yugang Cao
12691a8946
docs(checkbox): update checkbox code docs (#746) 2021-08-02 01:06:44 +08:00
Yugang Cao
8b0a0769d9
fix(cascader): cascader menu width bug (#731)
* fix: menuWidth prop

* fix: cascader menu width show error

* fix: cascader width

* fix: fix use css-render

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-02 01:05:58 +08:00
gangG
4aa75b0726
feat(dynamic-tags): add max prop (#745) 2021-08-02 01:04:16 +08:00
Loner
495b63ccca
fix(input): type of input element errors (#743)
* fix(input): type of input element errors

* fix(input): input type errors

* fix(input): type of input element errors

* fix(input): type of input element errors

* fix(mention): type of input errors

* test(NInput): fix input type test cases

* test(NInput): fix input type test cases
2021-08-02 00:53:51 +08:00
Yugang Cao
b2843a3e9a
docs(auto-complete): update code docs (#742) 2021-07-31 23:55:00 +08:00
Yugang Cao
faa73a6270
docs(button): update button code docs (#740) 2021-07-31 23:48:24 +08:00
Yugang Cao
1cbd62fc24
docs(icon): update icon code docs (#741) 2021-07-31 18:39:42 +08:00
Yugang Cao
051e710f13
docs(avatar): update avatar docs (#739) 2021-07-31 11:46:04 +08:00
小魔王
d35ff882f2
feat(dropdown): show-arrow prop (#656)
* feat:
-dropdown add show-arrow prop

* feat: update snapshot

* feat(dropdown): dropdown add show-arrow

* feat(dropdown): dropdown add show-arrow

* feat(dropdown): 更新快照

* feat(dropdown): 添加箭头优化代码

* feat(dropdown): 添加箭头优化代码

* feat: 箭头公用函数提出增加dropdown demo

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-31 00:01:24 +08:00
07akioni
1256df68cf refactor(use-form-item): add mergedDisabled option 2021-07-30 23:59:41 +08:00
07akioni
a8bfba0356 fix(transfer): type error 2021-07-30 23:42:20 +08:00
kalykun
777f13f808
feat(form): add disabled prop (#608)
* feat(form): add disabled prop(wip)

* feat(form): select

* refactor: mergedDisabled

* fix: code

* wip: fix code

* wip: fix code

* wip: cascader

* wip: checkbox & checkbox-group & datepicker

* wip: input-number & switch & time-picker

* wip: transfer & RadioGroup & radio & slider

* wip: tree-select

* wip: dynamicTags & autoComplete & upload & docs

* fix: types

* fix: types

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 23:39:46 +08:00
XieZongChen
fec83bad1a
test(steps): add test (#732) 2021-07-30 23:13:44 +08:00
songjianet
85d6591dff
docs(collapse): api table (#730)
* docs(Collapse): 完善折叠面板组件的说明文档

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 23:10:36 +08:00
dependabot[bot]
55511e7899
chore(deps-dev): bump eslint-plugin-promise from 4.3.1 to 5.1.0 (#736)
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.3.1 to 5.1.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 23:02:58 +08:00
XieZongChen
187e462297
fix(dropdown): fix click exception when using v-for (#735) 2021-07-30 22:59:44 +08:00
07akioni
6d73888865 docs(changelog): fixes 2021-07-30 00:22:54 +08:00
XieZongChen
4994ec45c5
feat(menu): add render-extra prop (#723)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 00:18:30 +08:00
XieZongChen
92fd9c4da9
feat(select): add onClear prop (#719)
* feat(NSelect): add onClear

* feat: optimization

* Apply suggestions from code review

* Update src/select/src/Select.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 00:18:12 +08:00
XieZongChen
f1c7d7c5b6
feat(loading): refactor finish logic (#725)
Now eaah finish needs a start.
2021-07-30 00:17:07 +08:00
07akioni
7cb72375aa docs(changelog): menu render-icon change 2021-07-30 00:05:17 +08:00
汪磊
153ecc9030
feat(menu): don't show placeholder when renderIcon return a falsy value (#724)
* feat(NMenu): enhanced renderIcon

close #722

* feat: render-icon enhanced
2021-07-30 00:00:31 +08:00
Yugang Cao
ed833ebf7b
feat(scrollbar): add some variables (#679)
* feat(scrollbar): add some variables

* feat(scrollbar): add some variables

* Update CHANGELOG.zh-CN.md

* fix: remote some position vars

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 23:33:22 +08:00
songjianet
7f57c315b5 docs(card): API table (#720) 2021-07-29 23:24:36 +08:00
XieZongChen
76d810a2d7
test(NBreadcrumb): add test (#721) 2021-07-29 13:42:52 +08:00
07akioni
1c94cab763 Merge branch 'main' into docs 2021-07-29 09:17:16 +08:00
07akioni
a41a163074 2.15.11 2021-07-29 09:14:51 +08:00
07akioni
ce8ff038cd fix(data-table): pagination error 2021-07-29 09:09:41 +08:00
07akioni
4762203e5e
Merge pull request #718 from TuSimple/main
sync main
2021-07-29 02:23:06 +08:00