Commit Graph

5903 Commits

Author SHA1 Message Date
不见月
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
XieZongChen
376110d8fd
test(log): update test (#1657) 2021-11-23 16:26:35 +08:00
songjianet
0ac58d8645
test(input): Update input component test (#1650) 2021-11-23 15:48:11 +08:00
XieZongChen
be21f9c861
test(log): update test (#1655) 2021-11-23 10:00:57 +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
7144b13d21 test(dropdown): update snapshot 2021-11-23 01:36:30 +08:00
07akioni
3f4a88ed93 fix(data-table): expanding related errors, closes #1644 2021-11-23 01:28:02 +08:00
07akioni
ef9920cf96 fix(dropdown): happensIn logic 2021-11-23 00:31:06 +08:00
07akioni
2bf3405f94 refactor(dropdown): remove isDropdownOptionRelatedTarget 2021-11-23 00:09:32 +08:00
07akioni
1ba147e561 test(message): ssr 2021-11-22 23:55:34 +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
50668067cf fix: vtu test errors 2021-11-22 23:29:13 +08:00
Sepush
b55e019edf
docs(carousel): more clear doc (#1651)
Signed-off-by: Sepush <sepush@outlook.com>
2021-11-22 23:19:04 +08:00
XieZongChen
4f76827c22
chore: lint-staged downgraded version (#1639) 2021-11-22 11:44:20 +08:00
07akioni
d7a174034e 2.21.0 2021-11-21 23:56:40 +08:00
07akioni
1f942ef972 refactor: buttonColor -> buttonColor2 2021-11-21 23:47:33 +08:00
07akioni
41ec01137b fix: button theme variables name 2021-11-21 23:43:51 +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
d76b8fda03 test(tag): fix error 2021-11-21 23:23:58 +08:00
07akioni
3a701c10e7
Merge pull request #1637 from TuSimple/docs
Docs
2021-11-21 23:21:28 +08:00
07akioni
2f88cca008 test(global-style): ssr basic test 2021-11-21 23:19:29 +08:00
07akioni
263e89c906 fix(menu): utils.isDividerNode 2021-11-21 23:17:54 +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
Nick
a2297f84f6
feat(steps): add title slot to step (#1426) 2021-11-21 21:30:01 +08:00
07akioni
5fa9d61a5d refactor(tag): avatar slot 2021-11-21 21:27:48 +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
07akioni
7bd91cb292 deps: update marked 2021-11-21 17:40:42 +08:00
07akioni
3a176867ad docs(input): fix 2021-11-21 17:34:45 +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
07akioni
3741916ebe refactor(data-table): clean code 2021-11-21 17:27:10 +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
dependabot[bot]
32fbc72b3f
chore(deps-dev): bump lint-staged from 11.2.6 to 12.0.3 (#1625)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.6 to 12.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.6...v12.0.3)

---
updated-dependencies:
- dependency-name: lint-staged
  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-11-21 17:21:37 +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
314e1bdf1f fix(global-style): throw error during ssr 2021-11-21 16:37:37 +08:00
XieZongChen
6d94579116
test(log): update test (#1633) 2021-11-21 11:23:18 +08:00
07akioni
0c29fd4064 docs: add previous fix changelog 2021-11-20 23:48:39 +08:00
07akioni
0114dc0239 fix(global-style): ssr error 2021-11-20 23:47:11 +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
XieZongChen
2797bcb46a
docs(data-table): add virtual-scroll prop tip (#1624) 2021-11-19 17:31:45 +08:00
XieZongChen
2e29a5f3c2
test(slider): update test (#1621) 2021-11-19 11:18:31 +08:00
07akioni
66f4e2d682 test(space): fix 2021-11-19 02:53:06 +08:00