Commit Graph

8786 Commits

Author SHA1 Message Date
07akioni
640ffca54b docs(data-table): fix typo 2024-09-24 02:13:56 +08:00
07akioni
17b96c9027 feat(data-table): supports horizontal virtual scrolling 2024-09-24 02:05:42 +08:00
07akioni
2e453472d8 fix(upload): export conflict 2024-08-11 22:48:22 +08:00
XiaoDaiGua-Ray
590ad1e6f3
fix(upload): inst type (#5882) 2024-08-11 22:47:35 +08:00
07akioni
7ede9be3dc refactor(tree-select): header slot style 2024-08-11 22:45:31 +08:00
jahnli
600aa7f15b
feat(tree-select): adds header slot (#5917)
* feat(n-tree-select): adds `header` slot

* feat: add code

* feat: add log

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-11 22:42:22 +08:00
07akioni
6e1a9acc86 feat(date-picker): add year-range prop, closes #5968 2024-08-11 22:38:38 +08:00
07akioni
3536bf009c docs(data-table): prop order 2024-08-11 21:44:35 +08:00
FuNi
c30e3c6e61
feat(data-table): add allowExport prop for column (#5925)
* feat(data-table): add allowExport prop for column

* docs: update CHANGELOG.en-US.md

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-11 21:43:42 +08:00
JianJroh
b2eb69e534
fix(date-picker): use local week and local year as default weekFormat (#6234)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-11 21:41:06 +08:00
dependabot[bot]
b60bd7fad6
chore(deps-dev): bump superagent from 9.0.2 to 10.0.0 (#6237)
Bumps [superagent](https://github.com/ladjs/superagent) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/ladjs/superagent/releases)
- [Changelog](https://github.com/ladjs/superagent/blob/master/HISTORY.md)
- [Commits](https://github.com/ladjs/superagent/compare/v9.0.2...v10.0.0)

---
updated-dependencies:
- dependency-name: superagent
  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-08-11 20:24:11 +08:00
07akioni
30da93c91c fix(caruosel): transition not working as expected, closes #5993. 2024-08-11 20:22:35 +08:00
07akioni
389099c25c docs(changelog): missing mention component changes 2024-08-11 20:22:35 +08:00
Xingwang Liao
a417ee4115
fix(button): fix font-weight CSS variable name (#6233)
* fix(button): fix font-weight CSS variable name

close #5922

* test(button): update snapshot

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-11 20:05:14 +08:00
赵添
a5395640f7
fix(mention): panel has wrong position if component has padding or placement is set to top (#6242)
Co-authored-by: phoenizhao <phoenizhao@tencent.com>
2024-08-11 19:54:46 +08:00
liuzw2579
2d34e3a66c
fix(icon): component prop not accepting FunctionalComponent (#6248) 2024-08-11 19:50:44 +08:00
Artea
da1483bb28
fix(lint): space (#6238)
Signed-off-by: Artea <sepush@outlook.com>
2024-08-06 21:38:03 +08:00
jahnli
9041437ecc
feat(data-table): add rowData return for render-expand-icon (#6183)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-06 00:09:35 +08:00
吉仔
fb47370acf
fix(date-picker): input-readonly not set in datetime or datetimerange's panel input (#6173)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-06 00:08:43 +08:00
jahnli
d1d5f8f865
fix(badge): unable to mask focus element border (#5930)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-08-06 00:07:37 +08:00
吉仔
9c7be4a70a
style(drawer): content header main fill the available space (#6217) 2024-08-06 00:06:24 +08:00
JianJroh
debd323999
feat(cascader): filter ignore case sensitive (#6221) 2024-08-05 23:58:43 +08:00
07akioni
a5c3b902cd fix(float-button): fix error when used with popover component, closes #5933 2024-07-29 00:19:35 +08:00
07akioni
fa725f45d7 docs(changelog): missing menu changelog 2024-07-29 00:11:29 +08:00
07akioni
fafde97b66 refactor(menu): optimize perf of merging props 2024-07-29 00:10:05 +08:00
xiyueW
84921f3274
fix(menu): when responsive prop is set, attrs can't be inherited correctly (#5942)
当menu添加responsive后,其上的属性无法透传至正确的位置

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-29 00:08:03 +08:00
07akioni
c37c2b2f97 docs(config-provider): fix cls-prefix description 2024-07-28 23:36:08 +08:00
07akioni
77fb24c3a8 feat(config-provider): fix style mount target prop 2024-07-28 23:31:52 +08:00
07akioni
7de3d875f8 fix: lint 2024-07-28 23:31:52 +08:00
吉仔
8f5f4ebd3e
fix(config-provider): inherit cls-prefix from parent by default, closes #5970 (#5978)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-28 23:30:40 +08:00
孙运天
13c4bb3100
feat(config-provider): add parent config for css-render (#5984)
* feat(style): Add parent config for css-render to ConfigProvider

* feat(style): Add parent config for css-render to ConfigProvider

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-28 22:49:45 +08:00
dependabot[bot]
8dc98bfc59
chore(deps-dev): bump typescript from 5.5.3 to 5.5.4 (#6184)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.5.3 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-28 22:46:24 +08:00
jahnli
be47271f24
docs(data-table): fix createData function (#6182) 2024-07-28 22:46:00 +08:00
Zhang sile
76156b394c
feat(empty): support tiny size. (#6197)
* feat: `n-empty` and `n-select` support tiny size

* feat: `n-empty` and `n-select` support tiny size
2024-07-28 22:45:23 +08:00
jahnli
f606e62e7d
feat(transfer): source target title prop to support render function (#6006)
* feat(n-transfer): source title prop to support render function

* feat: add docs

* feat: add target title

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-21 23:24:27 +08:00
jahnli
b0439c8a15
feat(slider): add render function support for marks prop (#6008)
* feat(`n-slider`): add render function support for `marks` prop

* chore: update `marks` prop type to support render function

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-21 23:12:15 +08:00
07akioni
e03f00ab87 docs(highlight): style 2024-07-21 22:49:39 +08:00
07akioni
45c7117c15 refactor(highlight): new api & impl 2024-07-21 22:47:05 +08:00
07akioni
379303a7ea fix: lint 2024-07-21 00:38:15 +08:00
jahnli
e8ef691808
feat: add n-highlight component (#6018)
* feat: add `n-highlight` component

* feat: update `n-highlight` component style in demos

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-21 00:36:24 +08:00
jahnli
8b63867369
chore: update community README (#5976) 2024-07-21 00:34:19 +08:00
07akioni
6a198f7bfb refactor(upload): optimize onRetry prop 2024-07-21 00:33:19 +08:00
07akioni
e4cabe210f refactor(date-picker): optimize clear, now, confirm slots 2024-07-21 00:23:40 +08:00
07akioni
ae41037b54 fix(upload): can only upload a maximum of 100 files in certain old browsers when uploading directories, closes #6027 2024-07-20 22:48:01 +08:00
07akioni
f69bcd4807 Merge branch 'main' of github.com:TuSimple/naive-ui 2024-07-20 22:36:14 +08:00
iT界的哈士奇
f0fe060515
fix(upload): directory upload can only upload 100 files at most in some old browsers (#6028)
readEntries 每次调用最多返回 100 个条目。这是设计使然,目的是在处理可能非常大的目录时,不会导致内存溢出或性能问题。因此,每次调用 readEntries 时,它会返回 0 到 100 个条目。如果目录中的条目超过 100 个,需要多次调用 readEntries 来获取下一批条目。

Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-20 22:36:06 +08:00
07akioni
f5e791e70d fix: lint 2024-07-20 22:32:02 +08:00
07akioni
7a805289de fix: lint 2024-07-20 22:30:03 +08:00
jahnli
899f79f8a2
feat(upload): add on-retry prop (#6033)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-20 22:29:33 +08:00
jahnli
42314f8dd6
feat(date-picker): add clear now confirm slot (#6034)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2024-07-20 22:26:11 +08:00