Commit Graph

8449 Commits

Author SHA1 Message Date
zhanglecong
970281f748 refactor(split): color 2023-12-21 20:13:18 +08:00
keuby
99dae67993
feat: add ellipsis tag popover props (#5001)
* feat: add ellipsis tag popover props

* Update CHANGELOG.en-US.md

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 20:12:47 +08:00
吉仔
ad0b1b9331
fix(avatar): lazy loading and fallback-src prop not working when load error in lazy (#5026)
* fix(avatar): lazy loading and `fallback-src` prop not working  when load error in lazy, closes #5007

* Update src/avatar/src/Avatar.tsx

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 20:07:46 +08:00
Soya
edbd64e180
fix: Use the split component alone. There is no default color. (#5492)
* fix: Use the split component alone. There is no default color.

* fix: format code

* fix: add split borderColor types
2023-12-21 19:53:33 +08:00
Kevin Law
902fe48966
feat(form): add warningOnly support for validation rule. (#5020)
* feat: add warning only support

* feat: add demo

* feat: return undefined while error length is 0

* feat: add english demo

* test: add unit test

* test: add form validation tests for callback way

* docs: change tip words

* docs: add change log

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 19:52:48 +08:00
07akioni
988b807eb9 fix: vercel build 2023-12-21 03:59:26 +08:00
07akioni
eaf10b9fe8 refactor(tabs): segment animation 2023-12-21 03:41:27 +08:00
Sg
b843bea492
feat(tabs): add animation for segment (#5063)
* feat(tabs): add animation for segment

* fix(tabs): fix the initialization problem

* fix(tabs): fix change tabs's failure to move segment

* refactor(tabs): refactor watcher to function

* refactor(tabs): rename style class & remove unused class
2023-12-21 03:17:37 +08:00
07akioni
0ea72eab04 chore: fix code indent 2023-12-21 03:14:19 +08:00
Sg
9699e9b588
fix(base-loading): revert to the old code & make animation work with blocking method & fix fur in animation (#5072)
* fix(loading): revert to old version & fix fur in animation

* chore(loading): update changelog

* fix(loading): change class name for failed tests

* doc(spin): add debug demos

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 03:11:48 +08:00
07akioni
3bf5353186 refactor(tabs): new hide animation 2023-12-21 03:06:25 +08:00
vaibhavs11
2871cb375a
fix(tabs): bar not hidden when updated manually (#5098)
* fix(tabs-bar): not hidden on manual update

* fix(tabs-bar): added changelog

* fix(tabs-bar): changed example

* removed `updateBarStyle` guard
2023-12-21 02:49:25 +08:00
吉仔
6913906e08
fix(data-table): height incorrect when set min-height in empty state, closes #5108 (#5110)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 02:44:12 +08:00
07akioni
47d7271a10 chore: typo 2023-12-21 02:40:01 +08:00
07akioni
adbeac12b7 refactor(radio): change uncontrolled checked value in curren tick 2023-12-21 02:38:49 +08:00
chenglu
9c03ff75d4
fix(radio): update input uncontrolled value (#5186)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 02:37:34 +08:00
07akioni
d919d011d8 docs(tree): scrollTo 2023-12-21 01:35:59 +08:00
jahnli
e79f474303
feat(tree): adds multiple scrollTo configurations (#5198)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 01:10:11 +08:00
07akioni
e6caa6562b refactor(drawer): a lot of class names 2023-12-21 00:57:15 +08:00
jahnli
bf650b6f95
feat(drawer): add content-class body-class body-content-class footer-class header-class prop (#5269)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 00:47:04 +08:00
07akioni
a4569dc7c0 refactor(data-table): default sorter support nullable 2023-12-21 00:41:45 +08:00
Vincent
b44ffe58d6
fix(data-table): change default sorter to place null values at the very top or bottom (#5284)
* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

* fix(n-data-table): change default sorter to place null values at the very top or bottom

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 00:36:32 +08:00
OrbisK
7d547a396b
fix(collapse-item): set cursor pointer to correct element (#5489)
closes #5482

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-21 00:30:13 +08:00
zhanglecong
a3b74ce190 docs: changelog 2023-12-20 21:50:46 +08:00
zhanglecong
77d679daf0 refactor(tree): reset data 2023-12-20 21:49:57 +08:00
zhanglecong
13c93160e7 fix(carousel): test 2023-12-20 21:48:52 +08:00
JayCC1
c282ec7441
fix(tree): tree renders wrong data if data's ref changes too fast (#5217) (#5296)
* fix(n-tree):  解决issue #5217中所提的-Tree组件数据
渲染错误问题 (#5217)

* docs(changelog): 添加相应的变更日志说明
2023-12-20 21:48:25 +08:00
zhanglecong
ad3949ae7c refactor(drawer): mask click 2023-12-20 19:42:48 +08:00
zhanglecong
b166591cff fix(drawer): on-mask-click may be called multiple times, closes #5476 2023-12-20 19:29:52 +08:00
dependabot[bot]
8e2c78f4f5
chore(deps-dev): bump esbuild from 0.19.9 to 0.19.10 (#5481)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.9 to 0.19.10.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.9...v0.19.10)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 19:18:06 +08:00
OrbisK
88da537fce
feat(input-number): add input-props prop (#5486)
closes #5450
2023-12-20 19:17:50 +08:00
jahnli
264f582793
fix(data-table): Summary column colSpan Unfilled problem (#5487) 2023-12-20 19:17:10 +08:00
超级烦
51913447f5
docs: fix uncontrolled mode (#5479)
修改doc语义问题.
2023-12-19 17:57:54 +08:00
吉仔
898216d866
fix(tree): leaf node line color (#5477) 2023-12-19 16:57:39 +08:00
XieZongChen
64a91c563b
feat(dynamic-tags): fix abnormal behavior when using keyboard to trigger add button (#5080)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-19 13:37:07 +08:00
zhanglecong
655231dafc fix(upload): in directory drag mode with a lot of files, some of the files are not read, closes #5099 2023-12-19 13:34:57 +08:00
吉仔
2af346a67d
fix(input): autofill's default background color (#5127)
* fix(input): autofill's default background color, closes #5123

* Update src/input/src/styles/input.cssr.ts

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-19 13:22:40 +08:00
吉仔
3a9798d61f
fix(carousel): trigger incorrect current-index value on arrow button click with single image, closes #5130 (#5141)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-19 13:19:40 +08:00
keuby
6483e1d1ea
feat: supports node native import (#5149) 2023-12-19 13:18:26 +08:00
李李李
a61b325650
fix(affix): position's default value is not consistent with docs (#5148)
* Update Affix.tsx

* Update CHANGELOG.zh-CN.md
2023-12-19 13:15:56 +08:00
吉仔
856ee9d76d
fix(carousel): transition effect incorrect when using the slide effect in loop mode with only two elements, closes #4323 (#5155)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-19 13:14:50 +08:00
Kyle Smith
a567d98258
fix(notification): Added max-width for mobile responsiveness (#5173)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-19 13:02:44 +08:00
zhanglecong
817a4cb049 docs(changelog): format 2023-12-19 13:00:30 +08:00
zhanglecong
49b774bd94 docs(changelog): fix position 2023-12-19 12:59:08 +08:00
qiaoxin111
8c326c01a1
fix(time-picker): Unable to modify the number of milliseconds in the edit box after formatting the Time Picker (format="HH: mm: ss. SSS") (#5236)
fix(n-time-picker): Unable to modify the number of milliseconds in the edit box after formatting the Time Picker (format="HH: mm: ss. SSS")
2023-12-19 12:57:15 +08:00
Denis
9f62a3af50
Add missing ruRU translations (#5163)
* Add missing ruRU translations

* Update ruRU.ts

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 21:31:15 +08:00
zhanglecong
7826ad8ce1 refactor(date-picker): week type 2023-12-18 21:23:13 +08:00
zhanglecong
4f309aab25 fix: test 2023-12-18 20:45:40 +08:00
Sg
6de711ccd0
feat(date-picker): support type="week" (#5061)
* feat(date-picker): add demo for week type

* feat(date-picker): add localized placeholders & format

* feat(date-picker): add weekFormat for zhCN

* feat(data-picker): add css variable for calendarLeftPaddingWeek & calendarRightPaddingWeek

* feat(date-picker): adjust format for zhCN

* feat(date-picker): implement basic week

* feat(date-picker): add style to hovered week

* fix(date-picker): fix style issue

* fix(date-picker): make hover effect correct

* feat(date-picker): add enUS demo

* chore(date-picker): add changelog

* doc(date-picker): add demo to index of enUS doc

* feat(date-picker): remove confirm for week type

* fix(date-picker): remove single-day hover for week picker

* chore(date-picker): add weekPlaceholder to locales

* chore(date-picker): add weekFormat to locales

* fix(date-picker): fix wrong firstDayOfWeek

* fix(date-picker): remove console.log

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 20:44:02 +08:00
zhanglecong
b34beb6cbf test(space): snapshot 2023-12-18 20:37:24 +08:00