Commit Graph

783 Commits

Author SHA1 Message Date
不见月
966773d314
fix(slider): fix fill style (#1675)
* fix(#1670): fix fill style bug

* test(slider): add test

* chore(slider): change usage

* docs(slider): add changelog
2021-11-25 03:22:50 +08:00
Jiwen Bai
7368155b83 fix: changelog pending 2021-11-24 14:54:17 +08:00
不见月
2b34734cae
fix(slider): tooltip tracking timing (#1654)
* fix(slider): tooltip tracking timing

* docs(slider): add docs

* chore(slider): change variable name
2021-11-23 21:49:10 +08:00
07akioni
616552d25f docs(changelog): fix version 2021-11-23 01:48:02 +08:00
07akioni
28b127f4b1 2.21.1 2021-11-23 01:39:07 +08:00
07akioni
3f4a88ed93 fix(data-table): expanding related errors, closes #1644 2021-11-23 01:28:02 +08:00
Mr.Bai
dbd70db224
fix(image): drag the picture to move the position incorrectly when the zoom is large (#1544)
* fix(image): preview drag move bug when scale

* update changelog

* remove unused code

* fix(image): drag move

* update change log

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-11-22 23:53:18 +08:00
07akioni
d7a174034e 2.21.0 2021-11-21 23:56:40 +08:00
07akioni
4b70c31fe0 fix(button): will trigger click event twice if pressed, closes #1626 2021-11-21 23:39:18 +08:00
07akioni
9b0c691e71 docs(changelog): breaking changes 2021-11-21 23:32:43 +08:00
07akioni
79635320a4
feat(menu): option support divider type (#1636)
* feat(menu): Add divider into `Menu` (like `DropdownDivider`)

* [wip] fix(menu): rename MenuOptionDivider to MenuDivider

* refactor

* remove comment

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

* fix types

* it compiled now

* remove 'submenu' from menu option that was used on dropdown

* fixes

* feat(menu): option support divider type

* fix(dropdown): export render option

* fix(dropdown): DropdownIntersectionOption type

* docs(menu): divider enus

* fix(menu): group option children type

* fix(menu): option children type

Co-authored-by: Rafael Hengles <rhengles@gmail.com>
2021-11-21 23:13:04 +08:00
07akioni
bb452d421d docs(step): add title slot 2021-11-21 21:32:00 +08:00
kalykun
ce8644a616
feat(tag): add avatar slot (#1175)
* feat(tag): add `avatar` slot

* Test case

* RTL style

* fix code

* test: update test case & snapshots

* Optimized style

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-21 21:02:06 +08:00
07akioni
19565bf9ca refactor(avatar): fallback-src prop 2021-11-21 20:54:19 +08:00
Sepush
9368641d61
feat(avatar): add fallback-src prop (#1632)
* feat(avatar): add fallback

Signed-off-by: Sepush <sepush@outlook.com>

* refactor(avatar): refactor fallback

Signed-off-by: Sepush <sepush@outlook.com>

* test(avatar): reduction snapshot

Signed-off-by: Sepush <sepush@outlook.com>

* test(locales): reduction snapshot
2021-11-21 20:24:24 +08:00
不见月
5169c12c17
feat(slider): step support mark (#1635)
* chore(slider): handling invalid value for step

* feat(slider): support `mark`

* chore(slider): change test description

* Update src/slider/demos/enUS/restrict-selectable-values.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-21 20:18:05 +08:00
居里栈栈
7c8de15d94
feat(input):add select methods (#1622)
* feat(n-input):add select methods, closes #1328

* Update CHANGELOG.en-US.md

Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-21 17:31:24 +08:00
07akioni
cf2f37ee2e refactor(switch): round prop 2021-11-21 17:29:22 +08:00
小魔王
d6ed808b0b
feat(switch): add round prop (#1517)
* feat(switch): add round prop

* feat(switch): 优化格式

* Update src/switch/demos/zhCN/shape.demo.md

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-21 17:26:55 +08:00
XieZongChen
cbd941142e
fix(radio): no on-update-checked prop (#1615)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-21 17:22:42 +08:00
XieZongChen
2aebd3b118
fix(data-table): clearSorter method isn't exported properly (#1631)
* fix(data-table): clearSorter method not exporting properly

* Update CHANGELOG.en-US.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-21 17:18:43 +08:00
07akioni
a5d34ced55 feat(tabs): add n-tab component, closes #1630 2021-11-21 17:14:27 +08:00
07akioni
0c29fd4064 docs: add previous fix changelog 2021-11-20 23:48:39 +08:00
doom-9
d267b3cd58
fix(dropdown): transition shifts in cascade dropdown with anchor option (#1620)
* fix(dropdown):Transition shifts in cascade dropdown with anchor option

* log

* Update CHANGELOG.en-US.md

* Update DropdownOption.tsx
2021-11-19 18:19:17 +08:00
07akioni
b1eb17d1d9 fix(space): is shown when it has no children, closes #1605 2021-11-19 02:53:06 +08:00
Yugang Cao
cbaea28ea4
feat(auto-complete): add input-props prop (#1619) 2021-11-19 02:40:41 +08:00
07akioni
c0b3cc3a34 feat(button): secondary, tertiary, quaternary, strong props 2021-11-18 02:22:35 +08:00
XieZongChen
aa20e28c65
fix(suffix): fix the default value of the suffix internal component's loading property (#1594)
* fix(suffix): fix the default value of the suffix internal component's loading property

* feat: Optimization
2021-11-17 21:12:32 +08:00
jbmolle
195cdb2fd4
fix: update styles to bypass vitejs bug on string interpolation (#1611)
* Solved Vite bug which does not resolve string extrapolation

* Updated Changelog files

Co-authored-by: JB <jb.molle@vescape.com>
2021-11-17 20:54:48 +08:00
Jerry Chan
acd4bdda8d
feat(table): add striped prop (#1608) 2021-11-17 20:52:38 +08:00
不见月
311b97028e
feat(slider): reverse & vertical prop (#1593)
* refactor(Slider): refactor

* chore(slider)

* style(slider)

* chore(slider): correct the variable name

* docs(slider): update docs
2021-11-17 02:00:24 +08:00
Jerry Chan
5e820cbc50
feat(data-table): add striped prop (#1591)
* feat(data-table): striped data table.

* test(data-table): add striped test, only checking class.

* docs(CHANGELOG, demo): add en demo docs, add CHANGELOG

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-16 00:54:21 +08:00
07akioni
3e958ee7f8 2.20.3 2021-11-15 02:04:39 +08:00
07akioni
366c0b17bb feat(menu): add watch-props prop 2021-11-15 01:59:42 +08:00
07akioni
e59f9a8d1f feat(locale): add createLocale to make locale customizable, closes #1525 2021-11-14 22:16:04 +08:00
doom-9
80dd6d6702
feat(date-picker): support year type (#1297)
* feat:n-input Support hidden password

* feat(form): support require-mark-placement(#171)

* Revert "feat(form): support require-mark-placement(#171)"

This reverts commit 0627777693.

* Revert "feat:n-input Support hidden password"

This reverts commit ea6491783d.

* test(dialog): Update dialog component test (#1404)

* test(data-table): update test (#1411)

* fix

* Feat(date picker) support year type

* format code

* 修正代码

* 修正代码

* 去掉多余代码

* 去掉无用代码

* 修正代码

* 修改类型

* 修正代码

* Update src/date-picker/src/DatePicker.tsx

Co-authored-by: Mr.Bai <935196116@qq.com>

* Update src/date-picker/src/DatePicker.tsx

* 修正代码

* checkbox:  简化代码

* add padding-bottom

* changelog

* Update Checkbox.tsx

Co-authored-by: songjianet <1778651752@qq.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Mr.Bai <935196116@qq.com>
2021-11-14 20:20:59 +08:00
07akioni
120458613f refactor(input): input-props prop 2021-11-14 19:30:13 +08:00
Sepush
15b21454a7
fix(input): input-props override the props (#1576)
* fix(#1553):`input-props` override the props

* fix:remove char
2021-11-14 19:14:13 +08:00
XieZongChen
1ef5569216
fix(button): shrink abnormally in certain scenarios when using the circle prop (#1562) 2021-11-12 01:35:41 +08:00
Mr.Bai
f2c3249804
fix(time-picker): blur event not trigger (#1505)
* fix(time-picker): blur event not trigger

* rebase

* feat(time-picker): add test

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-11-09 02:03:33 +08:00
小魔王
68e903e5a1
fix(gird): suffix gridItem`s span does not work when collapsed (#1537)
* fix(gird): 当后缀gridItem设置span时收缩状态不起作用

* fix: update test

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-09 01:59:47 +08:00
小魔王
fdd37e7848
feat(menu): add a color distinction between selected and unselected arrow (#1540)
* feat(menu): add a color distinction between selected and unselected arrow

* Update src/menu/styles/light.ts

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-09 01:57:13 +08:00
Yugang Cao
2b434e76c9
fix(menu): defaultExpandedKeys use watchEffect to initialize (#1541)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-11-08 23:08:05 +08:00
07akioni
514b5b217e 2.20.2 2021-11-05 02:43:19 +08:00
rubjo
4f795a28a5
feat(i18n): add Norwegian Bokmål locale (#1518) 2021-11-05 02:16:57 +08:00
Kigoal
3ed68e16cb
fix(upload): file's thumbnailUrl not working (#1492)
* feat(upload): add `createThumbnailUrl` parameter `fileInfo`

* feat(upload): add `thumbnailUrl`

* feat(upload): add `thumbnailUrl`

* chore(upload): rollback `createThumbnailUrl` feature

* test(image): add `previewSrc` test case
2021-11-05 02:16:18 +08:00
小魔王
a28b09c528
fix(button): keyboard does not work when setting false (#1509)
Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-03 23:14:13 +08:00
07akioni
26fc49f233 refactor(upload): instance misses openOpenFileDialog method 2021-11-03 23:11:24 +08:00
Yugang Cao
ec61bbf906
fix(upload): export openFileDialog method (#1511)
* fix(n-upload): export openFileDialog method

* Update CHANGELOG.zh-CN.md

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-03 23:04:49 +08:00
FaHaIk
cbd2c7beb6
feat(i18n): add deDE locale (#1513)
* feat(i18n): add deDE locale

* docs: update CHANGELOGS
2021-11-03 23:02:28 +08:00