8862 Commits

Author SHA1 Message Date
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
ed63c48a49 docs: fixes changelog 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
42fd812858 deps: update xicons to fix memory leaking issue 2024-12-20 12:03:27 +08:00
Zheng-Changfu
a23164e6e5
chore: 更新 issue template (#6634) 2024-12-20 11:56:33 +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 v2.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
863efe432a fix: changelog date 2024-11-26 17:55:55 +08:00
07akioni
492d2e3f77 feat: dingtalk group 6 changelog 2024-11-26 01:44:48 +08:00
07akioni
05feb3054d Merge branch 'main' into docs 2024-11-26 01:19:39 +08:00
07akioni
d507910f6d 2.40.2 v2.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
07akioni
d2a7019e83 fix: package version conflict 2024-11-24 19:53:04 +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
dependabot[bot]
5c2b9d6ac9
chore(deps-dev): bump @antfu/eslint-config from 2.27.3 to 3.9.2 (#6548)
Bumps [@antfu/eslint-config](https://github.com/antfu/eslint-config) from 2.27.3 to 3.9.2.
- [Release notes](https://github.com/antfu/eslint-config/releases)
- [Commits](https://github.com/antfu/eslint-config/compare/v2.27.3...v3.9.2)

---
updated-dependencies:
- dependency-name: "@antfu/eslint-config"
  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>
2024-11-24 19:46:12 +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
jahnli
a4981a294f
feat(image): add error slot (#6424)
* feat(n-image): add `error` slot

* feat: add demo
2024-10-07 13:49:52 +08:00
jahnli
417f5521fb
feat(progress): support gradient (#6425)
* feat(progress):support linear gradient

* feat: add demo

* feat: add demo

* chore: rename
2024-10-07 13:49:15 +08:00
dependabot[bot]
14889f777a
chore(deps-dev): bump @vue/server-renderer from 3.4.38 to 3.5.11 (#6429)
Bumps [@vue/server-renderer](https://github.com/vuejs/core/tree/HEAD/packages/server-renderer) from 3.4.38 to 3.5.11.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits/v3.5.11/packages/server-renderer)

---
updated-dependencies:
- dependency-name: "@vue/server-renderer"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 13:48:27 +08:00
jahnli
ca241d5637
feat(watermark): add example (#6427) 2024-10-07 13:48:17 +08:00