Commit Graph

8412 Commits

Author SHA1 Message Date
吉仔
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
zhanglecong
a880f3c15d fix(data-table): pagination's default-page-size not work in uncontrolled mode, closes #5201 2023-12-18 20:33:51 +08:00
jahnli
372e70b4a4
feat(date-picker): adds on-prev-month on-next-month on-prev-year on-next-year prop (#5452)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 20:24:14 +08:00
jahnli
1b11276298
feat(select): adds header slot (#5449)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 20:22:59 +08:00
zhanglecong
cb61fd3ffd refactor(time-picker): clear 2023-12-18 20:21:40 +08:00
zhanglecong
9db2f2dac8 feat: select & data-table & dialog rtl 2023-12-18 20:19:41 +08:00
jahnli
e900c43de6
feat(time-picker): add clear action (#5453)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 20:18:40 +08:00
zhanglecong
14ea8d4575 fix(upload): in abstract mode, input node of upload can be clicked in iOS 2023-12-18 20:07:20 +08:00
zhanglecong
7cb5b03968 fix(space): comment node handling 2023-12-18 20:07:20 +08:00
A.M.Farahmand
bdc8752015
feat(dialog): add rtl support (#5276)
* feat(dialog): add rtl support

* feat(data-table): add rtl support

* feat(select-menu): add rtl support

* feat(selection): add rtl support

* fix(styles): export dialog rtl

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 19:26:22 +08:00
EmberSpirit
053e196adc
refactor: refactor empty slot action then it is an interactive component (#5282) 2023-12-18 19:17:51 +08:00
吉仔
c6667d0945
fix(space): vnode reuse problem caused by filtering out comment vnodes of slot, closes #5136 (#5192)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 19:15:26 +08:00
Artea
dda96f3d06
refactor(type): remove useless any (#5200)
Signed-off-by: Sepush <sepush@outlook.com>
2023-12-18 19:09:24 +08:00
朝歌
853ed177b3
refactor(_utils): simplify type definition for createKey (#5233)
simplify code by using type alias Capitalize which is introduced in Typescript 4.1
2023-12-18 19:08:36 +08:00
Artea
5a8229b5f6
refactor(type): remove eslint-disable @typescript-eslint/consistent-type-assertions (#5214)
Signed-off-by: Sepush <sepush@outlook.com>
2023-12-18 19:06:38 +08:00
dependabot[bot]
19ea2732ba
chore(deps-dev): bump @vue/eslint-config-typescript (#5235)
Bumps [@vue/eslint-config-typescript](https://github.com/vuejs/eslint-config-typescript) from 11.0.3 to 12.0.0.
- [Release notes](https://github.com/vuejs/eslint-config-typescript/releases)
- [Commits](https://github.com/vuejs/eslint-config-typescript/compare/v11.0.3...v12.0.0)

---
updated-dependencies:
- dependency-name: "@vue/eslint-config-typescript"
  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>
2023-12-18 19:05:55 +08:00
zhanglecong
d273fd6561 docs(upload): on-download en 2023-12-18 19:05:20 +08:00
zhanglecong
a2c736f31a Merge branch 'docs' 2023-12-18 19:02:20 +08:00
吉仔
137fe19e66
docs(upload): fix on-download desc (#5428) 2023-12-18 19:02:00 +08:00
zhanglecong
b473b89c20 refactor(input): exposed clear method 2023-12-18 18:59:40 +08:00
吉仔
17be8c4881
feat(input): expose clear method, closes #5423 (#5438)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 18:57:22 +08:00
kvii
8972d9261e
feat(space): add reverse prop (#5248)
* feat: add reverse support for NSpace

* docs: add change log

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-18 18:54:02 +08:00
yangjun
a866ad7036
Update typo in README.zh-CN.md (#5447) 2023-12-18 18:51:31 +08:00
Ayoub
2de816fb8c
Fixed "Avatar Props" not linking to the correct section (#5180) 2023-12-18 18:51:15 +08:00
zhanglecong
777020618a docs(qr-code): icon-src 2023-12-18 17:18:02 +08:00
zhanglecong
1ea0822cb7 Merge branch 'main' into docs 2023-12-18 13:29:04 +08:00
zhanglecong
65f9bd8a5f 2.36.0 2023-12-18 13:24:28 +08:00
zhanglecong
f610db5d81 fix: test snapshot 2023-12-18 12:30:30 +08:00
zhanglecong
2db4eeb90d fix: dropdown menu 2023-12-18 11:39:57 +08:00
zhanglecong
eb923d7fbf docs(menu): fix https://github.com/tusen-ai/naive-ui/issues/5461 2023-12-18 11:15:57 +08:00
zhanglecong
d6d68699a6 docs(menu): new feature 2023-12-18 11:05:25 +08:00
zhanglecong
a5c781e54d fix: build site 2023-12-18 10:41:25 +08:00
zhanglecong
a4bb898aa0 fix: test 2023-12-18 10:19:24 +08:00
zhanglecong
21ee7f99f2 fix: eslint 2023-12-18 10:00:48 +08:00
07akioni
4b4d58e6b5 fix: menu ellipsis 2023-12-16 05:38:24 +08:00
07akioni
4006e772db feat(menu): support dropdown ellipsis in horizontal mode 2023-12-16 05:32:42 +08:00
07akioni
ef323af08a fix(tabs): vertical 模式下 border 2023-12-16 02:25:45 +08:00
07akioni
92e7ef9491 docs(qr-code): colon 2023-12-14 04:42:08 +08:00