Commit Graph

8656 Commits

Author SHA1 Message Date
07akioni
da4a6ec969 Merge branch 'main' into docs 2024-05-03 23:36:29 +08:00
07akioni
136dbe91e7 2.38.2 2024-05-03 23:31:29 +08:00
07akioni
034055a524 docs(changelog): add date 2024-05-03 22:42:20 +08:00
07akioni
8b035d92ea refactor(card): render function for functional props 2024-05-03 22:34:53 +08:00
07akioni
bdba49af3d docs(scrollbar): enhance custom demo 2024-05-03 20:14:23 +08:00
07akioni
e08e0f8ce7 fix(scrollbar): rtl in with new theme 2024-05-03 20:08:19 +08:00
07akioni
41626ebfc6 feat(scrollbar): adds height, width, radius, railInsetHorizontal, railInsetVertical and railColor theme variables 2024-05-03 19:57:14 +08:00
07akioni
e74d65f295 fix(split): may emit value less than 0 2024-05-03 19:04:18 +08:00
07akioni
7ada764fd3 refactor(split): logic in pixel mode 2024-05-03 19:00:22 +08:00
07akioni
4790c0edfe docs(card): new props 2024-05-03 16:37:40 +08:00
07akioni
e0904bd501 refactor(watermark): add text-align prop 2024-05-03 16:25:16 +08:00
07akioni
ef0e26e25a refactor(qr-code): svg mode renders content instantly 2024-05-03 16:24:06 +08:00
jahnli
187a4e7e5d
Merge pull request #5899 from chansee97/docs
docs: add community resources
2024-04-26 08:59:15 +08:00
chansee97
de0e76d570 docs: fix space 2024-04-25 09:31:08 +08:00
chansee97
2c526e1486 docs: add community resources 2024-04-25 09:22:16 +08:00
07akioni
d1d306cfc3 feat(cascader): adds render-prefix & render-suffix props 2024-04-24 01:08:39 +08:00
07akioni
4845729961 fix(image): download icon 2024-04-24 00:48:49 +08:00
07akioni
fb1a86cfe8 refactor(image): render-toolbar props 2024-04-24 00:46:00 +08:00
07akioni
ed3c019b38 feat(cascader): adds get-column-style prop 2024-04-24 00:20:07 +08:00
jahnli
eb8bdb69e7
feat(image): add render-toolbar prop (#5677)
* feat: add toolbar slot

* refactor to render function

* feat: add docs

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-04-24 00:18:25 +08:00
Francesco Formosa
01d215d385
Update itIT.ts, Add missing itIT locale translations (#5885)
* Update itIT.ts

Fix missing translations

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

* fix typo
2024-04-24 00:16:53 +08:00
07akioni
0278f24ea3 fix: some ci fix 2024-04-05 23:49:36 +08:00
Artea
8a2bb2929b
fix: FormItem props type define,InfiniteScroll null safe (#5840)
Signed-off-by: Sepush <sepush@outlook.com>
2024-04-05 23:01:57 +08:00
jahnli
046ee39941
Merge pull request #5805 from jahnli/fix-split-example
feat:(n-split): add min max value for the example
2024-03-22 09:57:21 +08:00
jahnli
898d8b69d6 feat: add min max value 2024-03-22 09:55:25 +08:00
07akioni
a2561cd61e feat(scrollbar): adds content-style and content-class props, closes #4497 2024-03-11 19:04:08 +08:00
07akioni
f29a28cd99 docs(changelog): misplacement 2024-03-11 18:44:59 +08:00
Luke Zhu
a469cab3b5
fix(scrollbar): parent element collapses in height (#4497) (#4499)
* fix(scrollbar): parent element collapses in height (#4497)

* fix(scrollbar): parent element collapses in height
2024-03-11 18:39:22 +08:00
jahnli
69bd4c960c
feat: add infinite-scroll component (#5546)
* feat: add infinite-scroll component

* fix: add null safe

* feat: add delay

* feat: add version

* feat: add demo

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 18:29:27 +08:00
Jiaxin·Li
5d60c62360
feat(form-item): add form item feedback text positioning (#5669)
* feat(formItem): add formItem feedback text positioning

* feat(formItem): add formItem feedback text positioning

---------

Co-authored-by: snow <lijiaxin@xhblog.top>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 18:27:43 +08:00
jahnli
f0f6f739ba
feat(date-picker): adds time-format prop (#5710)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 18:21:18 +08:00
07akioni
f1eaa48cba docs(changelog): missing changelog 2024-03-11 18:19:43 +08:00
jahnli
b7f726dd58
feat(split): supports setting the pixel value size (#5712)
* feat(n-split): supports setting the pixel value size

* feat: add docs

* fix: type

* feat: add docs

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 18:18:52 +08:00
Kirk Lin
966533e09c
fix(split): fix themeClassHandle name (#5771) 2024-03-11 18:15:48 +08:00
Gromo
c324297c83
feat(slider): aria support (#5716) 2024-03-11 18:14:04 +08:00
07akioni
98c7918f59 feat(mention): adds filter method, closes #5721 2024-03-11 14:38:04 +08:00
07akioni
cad2693e97 docs(changelog): fix 2024-03-11 14:23:41 +08:00
吉仔
4bdfe9d395
fix: common type error in theme-overrodes prop (#5722) 2024-03-11 14:22:52 +08:00
吉仔
c30bd854ed
fix(menu): wai-aria role setting error of submenu, closes #5729 (#5730)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 14:20:50 +08:00
Jakub Hrubý
b7ae0d8884
Added Czech localization; fixed some Slovak terms (#5733)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 14:12:05 +08:00
chenglu
f937d8580b
feat(watermark): support multi lines in content (#5725)
* feat(watermark): support multi lines in content

* docs(changelog): missing watermark

* fix(watermark): center multiple lines of watermarked text

* feat(watermark): add watermark align props

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 14:11:23 +08:00
吉仔
4bc272c317
docs: fix type desc (#5734) 2024-03-11 14:05:00 +08:00
吉仔
ea3d4bdefc
fix(tabs): style bug with type is segment, closes #5728 (#5735)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 14:04:12 +08:00
Joshua Uziel
18668e1289
fix(date-picker): get*String() methods for UTC/locale mismatch (#5738)
* Fix the get*String() methods for UTC/locale mismatch

As noted in https://github.com/tusen-ai/naive-ui/issues/5702,
the client is getting a UTC timestamp and then
getting a locale-based format. In doing so, the month
can be off if your UTC offset takes you into another
month. In my case, being GMT-8, the timestamp was
at 4pm on the final day of the previous month.

Noticed with getMonthString(), but fixing for the
others as well just in case.

* Update CHANGELOGS

* Update CHANGELOG.en-US.md

Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com>

---------

Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-11 13:59:45 +08:00
吉仔
00537c84ad
docs(data-table): fix page-count description (#5739) 2024-03-10 18:14:42 +08:00
jahnli
1d8eb463c4
feat(split): adds panel1-class panel1-style panel2-class panel2-style prop (#5745)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-10 18:13:18 +08:00
jahnli
5002c1915e
feat(dialog): adds action-class action-style content-class content-style title-class title-style prop (#5748)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-10 18:05:55 +08:00
jahnli
440759a951
feat(upload): export the index prop of on-remove function (#5754)
* feat(n-upload): export the `index` prop of on-remove function

* feat: add docs

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-10 17:49:36 +08:00
吉仔
35cf7891b9
fix(dialog,modal): call destroy method may throw error (#5756)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-10 17:40:10 +08:00
吉仔
e0d160410f
fix(useModal): card preset without corresponding props in n-card slots (#5757)
* fix(useModal): `card` preset without corresponding props in `n-card` slots, closes #5746

* Update src/card/src/Card.tsx

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-03-10 17:31:18 +08:00