Commit Graph

1845 Commits

Author SHA1 Message Date
07akioni
d75b157b6f docs: add on-update:value common issue 2021-09-28 00:41:36 +08:00
07akioni
32b85e4b5c docs: add ding talk group chat 2 2021-09-28 00:15:36 +08:00
07akioni
c1d6f4ec46 refactor(layout-sider): new arrow-circle trigger 2021-09-16 01:08:51 +08:00
07akioni
66d8b55f4d docs: fix typo 2021-09-11 21:33:43 +08:00
07akioni
30253a6829 docs(font): add caveat on using lato and open sans from vfonts 2021-09-11 21:18:08 +08:00
songjianet
a4d1fbef7a
docs(customize-theme): Upgrade the use case of customize-theme to Composition API (#1130) 2021-09-08 14:34:01 +08:00
songjianet
336fcf98c3
docs(theme): Upgrade the use case of theme to Composition API (#1131) 2021-09-08 14:33:27 +08:00
songjianet
1e2ca008ff
docs(usage-sfc): Upgrade the use case of usage-sfc to Composition API (#1132) 2021-09-08 14:32:46 +08:00
Yufan You
6cccf66461
docs(site): add distinct title for each documentation page (#1002)
* 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
07akioni
1abb00b15d site: add naive ui admin to footer 2021-08-12 00:36:19 +08:00
XieZongChen
3196ef703e
docs: add i18n docs (#630)
* 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
XieZongChen
1546907f96
feat(dropdown): add render-icon prop, optimization render-label prop (#517)
* feat(dropdown): add render-icon prop, optimization render-label prop

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-20 00:05:26 +08:00
07akioni
63f0f75a70 docs(ssr): vite example 2021-07-12 01:29:02 +08:00
07akioni
976e6db43f docs: refactor design resources link 2021-07-07 00:41:47 +08:00
Wanli Song
9409936398
docs: add naive ui design download url (#71)
* feat(doc): add naive ui design download url

* feat(loader); modify convert-md-to-doc loader for component

* doc(readme): change readme

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
2021-07-07 00:12:02 +08:00
07akioni
ad4c055dc2 docs(import-on-demand): optimize structure 2021-07-03 23:53:04 +08:00
zhypower1997
84a5022c95
docs(common-issues): add an explanation in common-issues (#129)
* feat(doc): adds an explanation in common-issues

* Update demo/pages/docs/common-issues/zhCN/index.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update demo/pages/docs/common-issues/zhCN/index.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update demo/pages/docs/common-issues/enUS/index.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* feat: add english common issue

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: haiyan-zhu <haiyan.zhu@tusimple.ai>
2021-06-24 19:52:37 +08:00
07akioni
315fd67a03 feat(use-theme-vars): add useThemeVars composable & remove n-element's abstract prop and theme vars from default slot 2021-06-23 09:03:24 +08:00
07akioni
d50755f4e7
feat(carousel): new component (#248)
* 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 (#211)
* 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
XieZongChen
00ff423d62
feat(menu): add render-label prop (#191)
* feat: n-menu add renderLabel prop

* fix: optimization

* feat: add menu test and restructure menu renderLabel

* fix: optimization

* fix: optimization

* Apply suggestions from code review

* fix: optimization

* feat: Optimize code

* feat: Optimize demo docs

* fix: fixed path bug in site

* fix: fixed path bug in site

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-21 09:39:54 +08:00
caoyugang_1
82115e5c2d
feat(dropdown): add on-clickoutside prop (#199)
* fix: tsconfig support ts

* feat(dropdown) add onClickOutside:

* fix(dropdown): add clickoutside test

* fix: remove clickoutside demo

* fix: resolve conflict

* fix: change some error

* fix(PopoverBody): directives repeat

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-06-20 22:46:54 +08:00
07akioni
0fb8f0cc1e
refactor(input): reimplement icons, support press & hover (#193) 2021-06-19 02:03:22 +08:00
07akioni
11fae2f48d refactor: remove service layout 2021-06-16 22:18:44 +08:00
07akioni
31d2f8ff01
refactor: remove config-consumer (#142)
* refactor: remove config-consumer

* docs
2021-06-16 13:13:36 +08:00
07akioni
a2064cc47c site: fix codesandbox link 2021-06-16 10:43:16 +08:00
XieZongChen
7a6ba2d26c
chore: config issue-helper (#110)
* chore: config issue-helper

* docs: change demo home reportBug
2021-06-14 17:54:23 +08:00
07akioni
e6109f7255 deps: eslint-config-standard-with-typescript 20 2021-06-12 18:52:20 +08:00
07akioni
ea4b3afe80 docs(readme): fix typo 2021-06-10 22:22:41 +08:00
cyn
50dba5d131
docs: xicons link add www (#38) 2021-06-09 14:23:27 +08:00
07akioni
44e45fe7a3 docs: fix typo. 2021-06-09 09:10:15 +08:00
07akioni
92fef0bb0e site: adjust copy icon position 2021-06-09 02:27:40 +08:00
07akioni
8d918d1312 chore: tusimple case 2021-06-09 02:21:58 +08:00
Anthony Fu
f50afd97bd
chore: fix cases for GitHub and TypeScript (#28) 2021-06-09 00:21:50 +08:00
w候人兮猗
358be3a491
chore(demo): demo add copy code button (#25)
* chore(demo): demo add copy button

* chore: copy code button update

* chore: change copy fun

* Update demo/utils/ComponentDemo.vue

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-08 22:32:31 +08:00
XieZongChen
81f4d2c070
docs: Fix document errors in jsx (#19)
* docs: Fix document errors for jsx

* Update demo/pages/docs/jsx/enUS/index.md

* Update demo/pages/docs/jsx/zhCN/index.md

* docs: Optimization and modification scheme

Co-authored-by: 谢宗辰 <xiezongchen@xiezongchendeMacBook-Pro.local>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-08 15:53:04 +08:00
07akioni
802612922d site: join us link 2021-06-08 13:49:17 +08:00
五柳
2e8a58f74f
docs(import-on-demand): the sample doesn't imported NSpace component (#10) 2021-06-07 15:55:43 +08:00
07akioni
f3c2d51cd2 site: close mobile pop menu after navigation 2021-06-07 14:34:42 +08:00
07akioni
4b71637588 docs(theme): fix n-element link 2021-06-06 22:11:19 +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
0f81ac65e6 docs 2021-06-06 12:41:25 +08:00
07akioni
73cd1110a6 site: change codesandbox icon. use flattened svg 2021-06-05 23:42:38 +08:00
07akioni
56e84f1120 docs(readme): add contributing guide 2021-06-05 23:24:07 +08:00
07akioni
7fcea8111d docs(usage): fix import on demand tree shaking demo 2021-06-05 20:39:28 +08:00
07akioni
66ba55e326 site: refactor responsive related logic 2021-06-05 12:11:17 +08:00
07akioni
fd689de65e site: add bug report in footer 2021-06-05 10:19:46 +08:00
07akioni
48760addcb docs(ssr): add links 2021-06-05 09:37:04 +08:00
07akioni
02ba2b24b3 site: add dingtalk group chat info to footer 2021-06-05 09:31:41 +08:00
07akioni
c1da705868 site: fix codesandbox demo with extra deps 2021-06-05 06:19:56 +08:00
07akioni
c0ba6ec088 site: fix demo with script not working in codesandbox 2021-06-05 06:05:49 +08:00
07akioni
48e47f4649 site: basic codesandbox support 2021-06-05 05:18:20 +08:00
07akioni
63d0e255d3 site: fill github url 2021-06-05 04:20:31 +08:00
07akioni
d114ca8c01 docs: introduction en translation 2021-06-03 12:26:41 +08:00
07akioni
3e61879986 site: add icons library in footer 2021-06-03 01:26:08 +08:00
07akioni
e3b614f36d site: add links to footer. 2021-06-03 01:15:27 +08:00
07akioni
1e251dfff6 feat(button): depth prop 2021-06-02 18:29:54 +08:00
07akioni
d547c50614 site: open in codesandbox 2021-06-02 17:51:13 +08:00
07akioni
4c3ce02102 docs(ssr) 2021-06-02 16:17:13 +08:00
07akioni
5a1386c4d9 chore: remove useless configs 2021-05-27 12:50:00 +08:00
07akioni
14f1b93c86 refactor(anchor): listen to global scroll & add offset-target prop 2021-05-27 12:43:12 +08:00
07akioni
651df6c81e site: reduce nested level of layout 2021-05-26 14:39:33 +08:00
07akioni
4df8074c5f docs: vue version requirement 2021-05-26 14:12:42 +08:00
07akioni
b96c066a9c docs: ui framework => component lib 2021-05-25 13:21:43 +08:00
07akioni
5c24d05585 docs(layout-sider): expose trigger style 2021-05-19 16:08:43 +08:00
07akioni
242a49922c fix(layout-sider): n-layout-sider's collapse-mode not working 2021-05-19 14:55:54 +08:00
07akioni
88c21cf403 fix(site): layout shift when change theme with hash 2021-05-18 13:54:58 +08:00
07akioni
efce69102a feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
07akioni
ac4d662a12 docs: update virtual list introduction 2021-05-17 15:02:40 +08:00
07akioni
a36ee45bca site: add footer 2021-05-04 02:27:16 +08:00
07akioni
8daed4a9cf refactor: rename useLocale return fields 2021-04-24 12:41:35 +08:00
07akioni
d30f151276 site: remove button in header 2021-04-24 01:04:18 +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
ee422672de site: no menu value when theme is os-theme 2021-04-19 22:30:31 +08:00
07akioni
006d39e650 docs(readme): zhCN 2021-04-19 21:54:16 +08:00
07akioni
6eacd906a2 docs: rewrite introduction 2021-04-19 21:47:29 +08:00
07akioni
b1bad3c9ff feat(drawer): content-style & drawer-content component 2021-04-19 15:58:22 +08:00
07akioni
c1b128d7a8 docs(theme-editor): should import explicitly 2021-04-19 00:31:39 +08:00
07akioni
9b12b11a5b feat(loading-bar): clsPrefix 2021-04-18 20:01:19 +08:00
07akioni
731c95129b feat(color-picker): size 2021-04-13 19:50:31 +08:00
07akioni
936e1f43a5 wip(color-picker): scaffold 2021-04-10 10:30:04 +08:00
07akioni
b8ee3b007d docs(config-provider): theme overrides 2021-04-09 16:41:04 +08:00
07akioni
742567b033 wip(calendar) 2021-04-09 12:43:05 +08:00
07akioni
f96ffbf593 fix(date-picker): trigger has no focus style in focus is in panel 2021-04-09 02:36:29 +08:00
07akioni
d09a79cc6b feat(skeleton): new component 2021-04-09 00:43:33 +08:00
07akioni
606cb19429 feat(form): add n-form-item-gi (grid-item) component 2021-04-08 00:09:32 +08:00
07akioni
ab24d61f45 feat(image): new component 2021-04-07 13:10:45 +08:00
07akioni
7510d39186 docs(usage): update contents 2021-04-07 02:20:59 +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
5491320f9e fix: add -webkit-text-size-adjust to global style
IOS safari will have error font size if not set.
2021-04-06 17:45:42 +08:00
07akioni
55982babf0 site: full site responsive 2021-04-06 01:31:09 +08:00
07akioni
8f824033ed site: refactor store, lazy init refs 2021-04-06 00:40:02 +08:00
07akioni
ab65cfa31f site: optimize scroll behavior of table & code 2021-04-06 00:17:14 +08:00
07akioni
c888a4c334 site: fix ios safari text size 2021-04-05 23:12:35 +08:00
07akioni
d7ee585e10 site: fix menu value & code overflow 2021-04-05 20:06:50 +08:00
07akioni
f87217ff28 site: use static layout no mobile phone 2021-04-05 19:40:49 +08:00
07akioni
ddb6d20400 fix(popover): not working on mobile device 2021-04-05 19:03:09 +08:00
07akioni
5a74ca3af4 site: responsive site 2021-04-05 17:59:04 +08:00
07akioni
ab941711dd site: use layout to replace service-layout 2021-04-05 15:16:32 +08:00
07akioni
0f030200a5 site: refactor util component & remove useless comopnent 2021-04-05 15:14:03 +08:00
07akioni
6e1cca769d feat(page-header) 2021-04-03 11:29:37 +08:00
07akioni
a4ec6e737d feat(theme-editor) (#25)
* wip(theme-editor)

* chore: make theme editor looks better

* feat(theme-editor): use controlled overrides

* fix(theme-editor): no invalid color

* chore: update seemly to support keywords color

* feat(theme-editor): add filter

* refactor(theme-editor): use popover

* fix(site): package bundled twice due to src code reference

* docs(back-top): avoid collision with theme-editor
2021-03-30 02:25:22 +08:00
07akioni
8fbd1526e7 feat(mention) 2021-03-27 12:06:08 +08:00
07akioni
7675ce5e46 docs: update some message api 2021-03-26 01:09:16 +08:00
07akioni
ecb690f0df refactor: remove demo entry loader, dynamic import zh & en doc pages 2021-03-23 19:46:32 +08:00
07akioni
4ce0897fdd feat(ellipsis): ellipsis by lines 2021-03-21 01:02:13 +08:00
07akioni
48e63da8ef docs(jsx-tsx): how to use jsx & tsx 2021-03-18 15:51:25 +08:00
07akioni
f20172a5d3 docs(config-provider): set zh-CN name to 全局化配置 2021-03-18 14:52:39 +08:00
07akioni
7557551616 site: scroll to hash element on mount & click demo title to set location hash 2021-03-15 16:37:18 +08:00
07akioni
0bf117ca95 feat: tusimple config provider work with dark theme 2021-03-05 00:39:10 +08:00
07akioni
e033d246a3 feat(grid): responsive & collapse demo 2021-03-03 17:26:54 +08:00
07akioni
ea0da9b5b2 feat(grid): Grid with great responsive features 2021-03-03 00:55:43 +08:00
07akioni
bfd1c84852 focs: update xicons doc site 2021-02-26 16:41:03 +08:00
07akioni
0396233d65 refactor(site): mount app after router is ready 2021-02-22 17:53:01 +08:00
07akioni
8e4860b335 site: use popselect to refactor header options 2021-02-19 13:48:10 +08:00
07akioni
8e18539fdc site: expose theme change button 2021-02-19 13:04:36 +08:00
07akioni
121f5d2c24 site: use em on demo <code /> el 2021-02-18 22:58:39 +08:00
07akioni
b2b43c5e69 site: fix index get started button 2021-02-18 22:52:54 +08:00
07akioni
7e6a1541ed site: simplify nav menu translation 2021-02-18 22:46:13 +08:00
07akioni
fb442a92ad site: refactor docs
Add installation, usage, support platforms
2021-02-18 22:30:41 +08:00
07akioni
730b313d3a site: refactor to unify tusimple demo 2021-02-17 23:31:56 +08:00
07akioni
3b432881ad fix(service-layout): sync path on options change 2021-02-14 17:05:28 +08:00
07akioni
ab1d9de7f9 site: fix header menu active status 2021-02-14 15:19:32 +08:00
07akioni
42b9102061 site: split docs/components pages 2021-02-14 14:52:14 +08:00
07akioni
974884d0fa site: fix menu prop warning 2021-02-14 00:52:22 +08:00
07akioni
5ee2e3cdf7 fix: tusimple theme error 2021-02-10 21:06:24 +08:00
07akioni
10d5efb402 feat: tusimple theme 2021-02-10 13:30:33 +08:00
07akioni
0587f6e632 chore: update vicons to 0.1.0 2021-02-09 15:04:22 +08:00
07akioni
91e1ec91e1 site: remove outdated code 2021-02-05 16:42:56 +08:00
07akioni
d94e7f8a6a site: add highlight html/xml lang 2021-02-05 16:38:01 +08:00
07akioni
d659a420c0 fix(code): style 2021-02-03 16:39:00 +08:00
07akioni
35ca6e655d refactor(create): clean types 2021-02-03 11:47:57 +08:00
07akioni
eb5c759d2e feat(dynamic-tags): create new doc page 2021-02-02 15:47:21 +08:00
07akioni
5f7216319c fix(site): theme switching 2021-02-02 13:44:57 +08:00
07akioni
0eeb2363f1 docs(config-consumer): remove it 2021-02-02 12:29:52 +08:00
07akioni
fea611cf91 docs(config-provider): new api 2021-02-02 12:24:48 +08:00
07akioni
15e52e675f styles: remove exported light theme, since it is builtin theme 2021-02-02 11:50:58 +08:00
07akioni
a35581bcaa refactor(element): ts 2021-01-18 19:12:01 +08:00
07akioni
dd7a09804b site: use os theme 2021-01-13 17:22:54 +08:00
07akioni
97add265cf refactor(code, log): new hljs impl 2021-01-13 12:31:41 +08:00
07akioni
8cf237a12a site: refactor using store 2021-01-13 12:01:02 +08:00
07akioni
d17fbf7c18 wip(dateLocale): on config provider & time & date-picker 2021-01-12 23:05:51 +08:00
07akioni
2be9642430 docs: move component docs in src/ 2021-01-12 19:58:41 +08:00
07akioni
74e71b25c7 docs: remove theme-style in demo 2021-01-12 17:55:58 +08:00
07akioni
aa8eb32647 docs(config-provider, config-consumer, element): update api 2021-01-12 17:49:39 +08:00
07akioni
39dcb456df refactor(menu, dropdown): use dropdown in menu, remove titleExtra 2021-01-12 16:39:28 +08:00