Commit Graph

7635 Commits

Author SHA1 Message Date
XieZongChen
69cd8c1140
feat(data-table): add render-cell prop (#3109)
* feat(data-table): add render-cell

* feat: add change log

Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-06-19 12:00:57 +08:00
07akioni
c45d5044f3 fix: changelog 2022-06-19 11:21:59 +08:00
07akioni
3d1a2766fb refactor(back-top): clean code 2022-06-19 10:58:14 +08:00
XieZongChen
24ed657554
fix(select): fix abnormal display when clearable (#3131) 2022-06-19 10:57:43 +08:00
keuby
c02796a2b1
fix(back-top): behaves incorrectly when scrollEl is html element (#3130)
Co-authored-by: knight.chen <knightch@knx.com.cn>
2022-06-19 00:57:26 +08:00
keuby
e50393884e
feat(space): add wrap-item prop (#3121)
* feat(space): adds wrap-item prop

* Update src/space/demos/zhCN/index.demo-entry.md

* Apply suggestions from code review

Co-authored-by: knight.chen <knightch@knx.com.cn>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-06-19 00:10:29 +08:00
07akioni
378e66d8d1 fix: volar type, closes https://github.com/TuSimple/naive-ui/issues/3104 2022-06-19 00:05:05 +08:00
07akioni
4c0cf03109 feat(tooltip): export NTooltipInst type 2022-06-18 23:42:07 +08:00
07akioni
fe9842fe2d docs(grid): fix demo 2022-06-18 23:40:04 +08:00
keuby
8bd20aa631
feat(tooltip): export TooltipInst type (#3119)
Co-authored-by: knight.chen <knightch@knx.com.cn>
2022-06-18 23:39:33 +08:00
Liam Stanley
c97a0fe120
fix(tag): missing bordered attribute in demo (#3120)
Signed-off-by: Liam Stanley <me@liamstanley.io>
2022-06-18 23:33:06 +08:00
07akioni
6e4d07d2b9 fix(input-label): line wrap 2022-06-18 23:31:49 +08:00
07akioni
add1a6500a fix(grid-item): may not display correctly if v-show is used, closes #3123 2022-06-18 23:27:50 +08:00
XieZongChen
08ddb72881
fix(back-top): fix n-back-top has log warnings of console when use show prop (#3128)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-06-18 21:39:50 +08:00
周顺顺
819fabcf58
fix(type): remove [key: string]: any to solve the code prompt problem in vscode (#3124)
Co-authored-by: Zhoushunshun1 <shunshun.zhou@in2iot.com>
2022-06-18 19:34:01 +08:00
XieZongChen
51804583c4
feat: supplement #3118 (#3127) 2022-06-17 23:04:58 +08:00
gp
b648a80632
fix(input group label): fix input group label text cut off (#3118) 2022-06-17 22:58:19 +08:00
Cinob
74ad8c87f6
docs: fix nuxt config (#3103) 2022-06-15 22:53:44 +08:00
07akioni
16c4169d76 2.30.4 2022-06-15 03:14:17 +08:00
07akioni
6660820474 Merge branch 'docs' 2022-06-15 03:09:42 +08:00
07akioni
f915e874e8 fix: test 2022-06-15 03:09:32 +08:00
07akioni
4ee88be9ef fix(upload-dragger): is almost transparent if disabled 2022-06-15 02:58:48 +08:00
07akioni
f4280744ad fix(data-table): scrollTo doesn't sync header 2022-06-15 02:40:47 +08:00
07akioni
0db5b6e74c fix(data-table): horizontal virtual scroll 2022-06-15 02:00:03 +08:00
07akioni
a476c0ad1d fix: virtual scroll stucking issue introduced by Chrome 102, closes #3048 2022-06-15 01:26:59 +08:00
07akioni
10f5338661 docs(tree): check debug demo 2022-06-14 00:28:01 +08:00
07akioni
3329f6b5ef fix(dynamic-tags): on-create prop not working 2022-06-14 00:20:38 +08:00
07akioni
fcd9423005 chore(upload): button size 2022-06-12 22:05:06 +08:00
07akioni
92c8d00b45 fix(upload): image's corner may overflow item when list-type="image-card" 2022-06-12 22:02:03 +08:00
07akioni
6be7adfefb fix(upload): shows slot warning when list-type="image-card" 2022-06-12 21:41:37 +08:00
07akioni
c023232932 fix(upload): inner anchor element may show focus-visible outline style 2022-06-12 21:36:03 +08:00
07akioni
fcea87a078 fix(slider): mark line wrap isn't correct when it appears at right-most position 2022-06-12 21:27:59 +08:00
07akioni
cb173090ff fix(slider): test 2022-06-12 21:06:28 +08:00
07akioni
3e7856ad55 refactor(slider): handle slot => thumb slot 2022-06-12 21:01:14 +08:00
wegi8
e8541f99db
feat(slider): add handle slot (#3009)
* feat: add a identity slot for Slider Component

* chore: update the CHANGELOG

* chore: migrate demo

* chore: rename slot name and className

* chore: replacing `slot` with `resolveSlot` and fixing focus level problems
2022-06-12 20:14:20 +08:00
07akioni
4e2d4ac427 feat(modal): can handle esc key pressing correctly with inner popup component like n-select, closes #2973 2022-06-12 19:04:45 +08:00
07akioni
bbde25b382 fix(tree): throws error on async expanding data with :expand-on-click="true", closes #3089 2022-06-12 18:15:49 +08:00
07akioni
c66069b10f feat(data-table): adds default-expand-all prop, closes #3073 2022-06-12 18:04:49 +08:00
07akioni
014ddea7de refactor(input): pattern -> allow-input 2022-06-12 17:07:09 +08:00
不见月
599d524b35
feat(input): support pattern (#3091)
* feat(Input): support pattern

* chore

* chore: demo

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-06-12 15:57:56 +08:00
XieZongChen
369b7f0a3c
feat(input): add trim prop (#2731)
* feat(input): add trim props

* feat: optimize code

* feat: optimize code

* docs(input): add trim demo

* feat: optimize code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-06-12 14:31:46 +08:00
07akioni
8f95d836a0 docs(alert): empty debug 2022-06-12 14:31:05 +08:00
07akioni
111419a88d fix(layout): won't keep scroll state in keep-alive component, closes #3054 2022-06-12 13:44:59 +08:00
07akioni
3d2bb12e98 fix(date-picker): year & month quick jump may be disabled after is-date-disabled is set, closes #3068 2022-06-12 12:58:04 +08:00
07akioni
ef1d9b14e7 chore: fix typo 2022-06-12 11:53:21 +08:00
07akioni
68d0097e67 feat(data-table): adds scrollTo method, closes #2570 2022-06-12 11:52:31 +08:00
07akioni
f2a8dfcc52 chore: fix typo 2022-06-12 01:29:14 +08:00
07akioni
24075c8cb7 feat(pagination): adds dropdown menu for fast jump button 2022-06-12 01:27:32 +08:00
Julian Hundeloh
7b8f02955e
feat(upload): disable dragger when maximum number of files was reached (#3088)
* feat: disable dragger when maximum number of files was reached

* docs: provide demo

* docs: add changelog

* docs: add chinese example

Co-authored-by: Julian Hundeloh <julian@hundeloh-consulting.ch>
2022-06-12 01:26:05 +08:00
Julian Hundeloh
23d1676f3b
fix(upload): make createImageDataUrl more memory efficient (#3087) 2022-06-11 17:38:46 +08:00