2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-04-06 14:30:46 +08:00

92 Commits

Author SHA1 Message Date
07akioni
acced75df6 feat(marquee): new component 2024-10-07 22:19:38 +08:00
jahnli
e8ef691808
feat: add n-highlight component ()
* 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
07akioni
313d234d86 Merge branch 'main' into docs 2024-07-15 23:05:13 +08:00
07akioni
1dfb1be694 feat: move eslint config to antfu config 2024-07-12 02:19:13 +08:00
07akioni
2fb7747f11 docs(vite-ssg/sse): intro 2024-05-05 22:10:22 +08:00
07akioni
f96f2cd19e docs(vitepress): how to use 2024-05-05 21:19:03 +08:00
07akioni
fe47c178f9 docs(nuxt): official nuxt support 2024-05-05 17:20:09 +08:00
jahnli
69bd4c960c
feat: add infinite-scroll component ()
* 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
jahnli
da39759039
feat(float-button): new component ()
* feat: create template

* feat: add demo

* feat: change to css

* feat: add style

* feat: add demo

* feat: add demo

* feat: add group

* feat: add docs

* feat: add log

* fix: style error

* feat: add docs
2024-01-29 23:38:05 +08:00
07akioni
e7e86abc5f feat(flex): new component 2024-01-01 15:13:40 +08:00
07akioni
7bd2357a11 refactor(qr-code): make it work 2023-12-14 02:58:05 +08:00
jahnli
cdc48c7a7d
feat(n-qrcode): add n-qrcode component ()
* feat(n-qrcode): add `n-qrcode` component

* fix(n-qrcode): value desc when enUS

* fix(n-qrcode): docs error when enUS

* feat(n-qrcode): add n-padding

* fix: remove type as

* feat: switch watch to watchEffect

* feat(n-qrcode): add `color` `bg-color` props

* refactor: change to QR Code generator library

* feat: add size demo

* chore: remove border

* feat: add error-correction-level

* feat: add docs

* feat: add icon

* feat: add download demo

* fix: image scale

* fix: docs  error

* fix: docs error

---------

Co-authored-by: lijiaheng <lijiaheng@semi-tech.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-14 01:21:14 +08:00
jahnli
2a783606b1
feat: add virtual list component ()
* feat(n-virtual-list): create basic virtual-list component

* feat(n-virtual-list): add props

* feat: add avatar list

* feat(n-virtual-list): add dynamic size demo

* feat: add docs

* feat: add demos

* feat: add docs

* feat: modify desc

* fix: modify docs

* fix: modify api position

* fix: error desc

* fix: modify docs

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-03 21:59:33 +08:00
jahnli
320bd7937a
feat: add n-split component ()
* feat: add `n-split` component

* feat: add disabled

* feat: add event

* fix: rename

* feat: add theme color

* feat: support slot

* feat: add demo

* fix: panel height for demo

---------

Co-authored-by: 07akioni <07akioni2@gmail.com>
2023-12-03 21:57:15 +08:00
07akioni
2743a56762 wip(equation): equation component 2022-10-30 00:33:34 +08:00
07akioni
9b260a3b16 refactor(transfer): move to legacy-transfer 2022-07-24 16:27:26 +08:00
07akioni
d449c1f613 docs(umd): using umd 2022-06-09 02:33:40 +08:00
07akioni
ce905141dd docs(discrete): basic docs 2022-05-23 03:10:57 +08:00
07akioni
5947bdc787 fix: build 2022-05-16 23:36:53 +08:00
07akioni
9bdf4c32d0 docs: add controlled & uncontorlled part 2022-04-17 17:46:43 +08:00
Sepush
2af9ccb047
feat(watermark): new component ()
* feat(watermark): new component

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

* changelog

* fix(watermark): render

* feat(watermark): add selectable prop&test case

* refactor(watermark): use useThemeVars
2022-02-14 00:58:34 +08:00
07akioni
76b9fde01e fix: lint 2022-01-05 02:20:22 +08:00
07akioni
9ae3368020 feat: <meta name="naive-ui-style" /> can be used to controll the component style's position 2021-12-29 02:41:40 +08:00
07akioni
43ef8903a2 refactor(number-animation): remove useless code 2021-12-27 04:09:55 +08:00
Sepush
63f78d6128
feat(countdown, numeric-animation): add numeric animation and countdown component ()
* feat(statistic): add numeric animation and countdown component

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

* fix(statistic): type guard

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

* feat(changelog): update changelog

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

* feat(countdown numeric-animation): add n-countdown n-numeric-animation

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

* fix(ci): add to themes

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

* refactor(countdown): use watchEffect

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

* feat: use n as CSS vars prefix

Signed-off-by: Sepush <sepush@outlook.com>
2021-12-26 03:27:34 +08:00
XieZongChen
c451ad048c
docs: third party libraries 2021-11-06 02:18:48 +08:00
07akioni
93db614c4d feat(scrollbar): new component 2021-10-04 18:22:36 +08:00
07akioni
94693bb64a feat(collapse-transition): new component, closes 2021-10-04 16:17:50 +08:00
Yufan You
6cccf66461
docs(site): add distinct title for each documentation page ()
* site: add distinct title for each documentation page

* perf: restore the script in HTML to load the first title faster

* refactor: remove duplicated codes

* fix: set document.title only once to prevent flicking

* fix: shorten the title
2021-08-30 23:40:17 +08:00
XieZongChen
3196ef703e
docs: add i18n docs ()
* docs: add i18n docs

* Update demo/pages/docs/customize-theme/zhCN/index.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-25 00:54:44 +08:00
07akioni
d50755f4e7
feat(carousel): new component ()
* wip(carousel): add scaffold

* feat(carousel): component

* docs(changelog): carousel

* fix(carousel): handle edge case

* feat(carousel): basic a11y
2021-06-23 08:30:35 +08:00
07akioni
6ee3896319
feat(tree-select): component ()
* site: tree-select route

* refactor(internal-selection): remove useless remote prop & on-delete-last-option

* refactor(dropdown, popselect): set slots stable mark from true to 1

* fix(scrollbar): attributes applied multiple times

* wip(tree-select): add exports

* fix(tree): misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop

* feat(tree): support keyboard operations

* feat(tree): scroll with keyboard target node

* fix(tree): `selected-keys` prop influences original array

* feat(tree): pending on selected node at first

* feat(tree): follow tree-select's pending status

* feat(tree): `internalCheckboxFocusable` prop

* refactor(tree): split treeMate to displayTreeMate & dataTreeMate to work with tree-select

* fix(tree): scrollbar won't sync in virtual scroll mode

* feat(tree-select)

* docs: changelog

* docs(tree-select)

* feat(tree-select): stricter type

* fix: typo

* fix(select): input blinks in filterable mode when click at menu and input has value

* fix(tree): multiple line style

* docs(tree-select)

* refactor(tree-select): disable tree expand animation on tree select

* feat(tree-select): change expanded keys on filter

* chore(tree): add comment about animation

* chore

* feat(tree-select): close on single select

* fix(base-selection): input has useless empty row in multiple filterable mode

* docs(tree-select): add clearable in filterable demo
2021-06-21 15:48:15 +08:00
07akioni
11fae2f48d refactor: remove service layout 2021-06-16 22:18:44 +08:00
07akioni
2bf68e094b docs(usage): split into usage in sfc & configuring fonts & import on demand 2021-06-06 19:13:52 +08:00
07akioni
d97140c4d6 docs(fonts): configuring fonts 2021-06-06 18:34:02 +08:00
07akioni
56e84f1120 docs(readme): add contributing guide 2021-06-05 23:24:07 +08:00
07akioni
e3b614f36d site: add links to footer. 2021-06-03 01:15:27 +08:00
07akioni
4c3ce02102 docs(ssr) 2021-06-02 16:17:13 +08:00
07akioni
88c21cf403 fix(site): layout shift when change theme with hash 2021-05-18 13:54:58 +08:00
07akioni
e8355e5074 site: robust scroll by hash 2021-04-21 19:56:30 +08:00
07akioni
7bc2ceae64 site: remove n- prefix of component docs route 2021-04-20 12:49:47 +08:00
07akioni
f0ae839b54 site: derive title from locale 2021-04-19 23:05:20 +08:00
07akioni
6eacd906a2 docs: rewrite introduction 2021-04-19 21:47:29 +08:00
07akioni
936e1f43a5 wip(color-picker): scaffold 2021-04-10 10:30:04 +08:00
07akioni
742567b033 wip(calendar) 2021-04-09 12:43:05 +08:00
07akioni
d09a79cc6b feat(skeleton): new component 2021-04-09 00:43:33 +08:00
07akioni
ab24d61f45 feat(image): new component 2021-04-07 13:10:45 +08:00
07akioni
61e434ed0d docs(customize-theme) 2021-04-07 01:44:02 +08:00
07akioni
491351ff88 feat(global-style) 2021-04-06 18:06:04 +08:00
07akioni
6e1cca769d feat(page-header) 2021-04-03 11:29:37 +08:00