5599 Commits

Author SHA1 Message Date
项鸿伟
b613298d2a docs(tree): add indent props 2025-03-25 09:28:37 +08:00
bauti.iglesias@gmail.com
25263ddc78 docs(enUS): correct spelling of 'compatible' in demo entry 2025-03-04 19:26:11 -03:00
07akioni
cf4404d7af 2.41.0 2025-01-05 22:47:49 +08:00
Artea
214ec5b0f0
test(locales): update snapshots (#6684)
Signed-off-by: Artea <sepush@outlook.com>
2025-01-05 10:18:42 +08:00
Qurbanjan
1e116fc905
feat: add uyghur (ug-CN) locale (#6670) 2025-01-04 20:31:01 +08:00
软趴趴
32f893ff30
feat: add kmKH locale (#6589)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2025-01-04 20:30:35 +08:00
07akioni
2992da0217 refactor(modal): correct draggable implementation 2025-01-04 20:21:56 +08:00
Zheng-Changfu
11ee8fcbdc
feat(modal): draggable (#6583)
* feat(modal): 弹窗增加拖拽功能

* docs(modal): 增加文档示例

* chore(changelog): 拖拽功能增加 changelog

* chore(modal): getMousePosition 逻辑重构,删除不需要的代码

* chore(modal): 阻止默认行为,防止拖拽文字触发浏览器默认拖拽行为引起的 bug

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2025-01-04 18:30:34 +08:00
Artea
d7ca2e4e23
docs(data-table): controlled-sorter ts demo&export DataTableSortOrder (#6676)
Signed-off-by: Artea <sepush@outlook.com>
2025-01-04 18:26:15 +08:00
Artea
9f539dfec3
fix(pagination, collapse): missing type slot and slot props (#6677)
* fix(Pagination,Collapse): missing type slot and slot props

Signed-off-by: Artea <sepush@outlook.com>

* fix: lint

Signed-off-by: Artea <sepush@outlook.com>

* fix: try node22

Signed-off-by: Artea <sepush@outlook.com>

* fix: node22 for test

* fix: lint style indent

Signed-off-by: Artea <sepush@outlook.com>

---------

Signed-off-by: Artea <sepush@outlook.com>
2025-01-04 18:25:47 +08:00
07akioni
942de11cd7 fix: missing types for slots 2025-01-02 01:22:00 +08:00
07akioni
3cb6a61ebf refactor: impl slots type in a correct way 2025-01-02 01:18:33 +08:00
Zero
5bf584dfa9
feat: add slots typing for all components (#6603)
* feat(alert): add slots type (#6599)

* feat(auto-complete): add slots type (#6599)

* fix(auto-complete): slots type (#6599)

* feat(auto-complete): export slots type (#6599)

* feat(avatar): add slots type (#6599)

* feat(avatar-group): add slots type (#6599), may not be particularly precise

* feat(breadcrumb-item): add slots type (#6599)

* feat(breadcrumb-item): export slots type (#6599)

* feat(button): add slots type (#6599)

* feat(calendar): add slots type (#6599)

* feat(card): add slots type (#6599)

* feat(carousel): add slots type (#6599)

* feat(cascader): add slots type (#6599)

* feat(collapse): add slots type (#6599)

* feat(color-picker): add slots type (#6599)

* feat(data-table): add slots type (#6599)

* feat(date-picker): add slots type (#6599)

* feat(descriptions): add slots type (#6599)

* feat(dialog): add slots type (#6599)

* feat(drawer-content): add slots type (#6599)

* feat(dynamic-input): add slots type (#6599)

* feat(dynamic-tags): add slots type (#6599)

* feat(ellipsis): add slots type (#6599)

* feat(empty): add slots type (#6599)

* feat(float-button): add slots type (#6599)

* feat(image): add slots type (#6599)

* feat(input): add slots type (#6599)

* feat(input-number): add slots type (#6599)

* feat(list): add slots type (#6599)

* feat(mention): add slots type (#6599)

* feat(modal): add slots type (#6599)

* feat(page-header): add slots type (#6599)

* feat(pagination): add slots type (#6599)

* feat(popconfirm): add slots type (#6599)

* feat(popover): add slots type (#6599)

* feat(popselect): add slots type (#6599)

* feat(result): add slots type (#6599)

* feat(select): add slots type (#6599)

* feat(slider): add slots type (#6599)

* feat(spin): add slots type (#6599)

* feat(split): add slots type (#6599)

* feat(statistic): add slots type (#6599)

* feat(step): add slots type (#6599)

* feat(switch): add slots type (#6599)

* feat(tabs): add slots type (#6599)

* feat(tag): add slots type (#6599)

* feat(thing): add slots type (#6599)

* feat(time-picker): add slots type (#6599)

* feat(time-picker): export slots type (#6599)

* feat(timeline): export slots type (#6599)

* feat(tooltip): export slots type (#6599)

* feat(tree): export slots type (#6599)

* feat(tree-select): export slots type (#6599)

* feat(upload-trigger): export slots type (#6599)

---------

Co-authored-by: Naily <zero@naily.cc>
2025-01-01 23:06:07 +08:00
07akioni
8bd232c5d8 2.40.4 2024-12-29 22:39:07 +08:00
07akioni
b96dce5885 fix(data-table): remove the incorrect fix of wrong col index 2024-12-29 22:36:11 +08:00
07akioni
dd2e4aaa8f fix(data-table): col got wrong index 2024-12-29 22:34:42 +08:00
FuNi
dd6278ffc7
fix(data-table): multiple expandTrigger with tree data (#6646) 2024-12-29 22:33:31 +08:00
07akioni
da4394dee6 fix: memory leak 2024-12-19 19:25:46 +08:00
07akioni
c84b2f2e58 fix(checkbox): memory leak 2024-12-19 18:18:19 +08:00
07akioni
312d133f93 refactor(useOnResize): clean code 2024-12-19 18:14:08 +08:00
Zheng-Changfu
d72ae664de
fix(cascader): fix memory leak caused by event listener (#6313)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-12-19 18:06:48 +08:00
07akioni
41db9e6aa4 fix: lint 2024-12-19 17:50:44 +08:00
07akioni
5de9c45707 fix: replaceable vnode caused memory leak 2024-12-19 17:30:42 +08:00
Zheng-Changfu
36a311cf49
fix: 修改 inset 属性,因为在部分浏览器中有兼容性问题 (#6605)
* chore: inset 替换为 top right bottom left

* fix: 修复 rtlInset 方法无效问题

* docs: update changelog
2024-12-19 17:25:53 +08:00
07akioni
c58f97eabe 2.40.3 2024-12-02 01:04:11 +08:00
07akioni
3a0773fd2b fix(marquee): marquee is not exported with correct name 2024-12-02 00:56:23 +08:00
Artea
9a2d034d60
fix: lint (#6568)
Signed-off-by: Artea <sepush@outlook.com>
2024-11-27 15:23:29 +08:00
07akioni
d507910f6d 2.40.2 2024-11-26 01:12:06 +08:00
07akioni
9c89587bad 2.40.1 2024-11-26 01:11:18 +08:00
07akioni
230bf0e946 fix: test 2024-11-26 00:48:38 +08:00
07akioni
9007b7d905 feat: upgrade eslint config 2024-11-26 00:32:01 +08:00
07akioni
e18229986a docs: fix some demos with src path importing 2024-11-25 22:39:45 +08:00
07akioni
90c1e894d8 fix(date-picker): calendar formatting api fix & demos 2024-11-25 22:12:17 +08:00
07akioni
cdbbd8eb0c fix(input-number): correct wip value computing 2024-11-25 21:53:06 +08:00
07akioni
0c921f4e53 feat(data-table): adds get-csv-header and get-csv-cell props, closes #6542 2024-11-24 22:18:23 +08:00
07akioni
57ab23076c fix: some scrollbar css not working properly 2024-11-24 21:57:59 +08:00
07akioni
af6448980b fix(data-table): header will show scrollbar in some old browsers, closes #6557 2024-11-24 21:56:40 +08:00
07akioni
53ac284bb3 feat(date-picker): adds calendar-day-format, calendar-header-year-format, calendar-header-month-format, calendar-header-month-before-year and calendar-header-month-year-separator props 2024-11-24 20:58:38 +08:00
不见月
accd27c695
chore(carousel): api usage updated to be compatible with Vue3.5.0 (#6438)
* chore(carousel): api usage updated to be compatible with Vue3.5.0

* chore: eslint
2024-11-24 20:00:18 +08:00
07akioni
a5592fdd95 refactor(input-number): remove useless test 2024-11-24 19:54:24 +08:00
jahnli
968f3bbd6c
fix(input-number): the problem that the negative sign is replaced when the negative sign is entered (#6281)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-11-24 19:51:56 +08:00
07akioni
acced75df6 feat(marquee): new component 2024-10-07 22:19:38 +08:00
07akioni
9a23d7eed4 refactor(input): change font weight variable source to self 2024-10-07 16:55:24 +08:00
07akioni
972638bd73 Merge branch 'main' of github.com:TuSimple/naive-ui 2024-10-07 16:54:28 +08:00
jahnli
ad8e0fb5a6
feat(input): add font-weight theme variable (#6419)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-10-07 16:53:27 +08:00
07akioni
3bc7d40f94 refactor(select): move font-weight to selection component 2024-10-07 16:52:20 +08:00
jahnli
28c7ec6524
feat(select): add font-weight theme variable (#6420)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-10-07 16:48:52 +08:00
07akioni
57f4504fc0 refactor: some PR fixes 2024-10-07 16:33:59 +08:00
07akioni
861e8000d5 feat(date-picker): adds date-format prop 2024-10-07 14:08:57 +08:00
jahnli
07f6f4868a
fix(time-picker):use-12-hours type error warning (#6422)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-10-07 13:50:56 +08:00