Go to file
07akioni b6eeaf33f2 refactor(data-table): clear scroll related code.
Note that current scroll impl doesn't work well on safari. Since it is tooooo slow.
Use onWheel may alleviate the problem.
However safari has new bug when use onWheel. The overflow scroll behavior will be wired.

****!

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body style="height: 2000px; background: green;">
  <div style="background: red; height:300px;overflow: auto;">
    <div id="x" style="height: 600px;
      width: 50%;

      background: blue;
    "></div>
  </div>
  <script>
    // document.getElementById('x').addEventListener('wheel', (e) => {
//   e.stopImmediatePropagation()
// }, true)
  </script>
</body>
</html>
2021-05-18 13:50:17 +08:00
build site: add footer 2021-05-04 02:27:16 +08:00
build-doc build: build-doc script 2020-07-08 23:02:26 +08:00
compat refactor: remove useless comment & organize exports 2021-04-18 22:42:29 +08:00
demo feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
design-notes chore: fix some lint 2021-03-15 15:25:11 +08:00
playground refactor(progress): new theme 2021-01-07 01:07:48 +08:00
scripts refactor: remove side-effects related script 2021-02-17 23:38:34 +08:00
src refactor(data-table): clear scroll related code. 2021-05-18 13:50:17 +08:00
themes/tusimple tusimple-theme@0.1.7 2021-04-22 00:16:49 +08:00
.eslintignore build: extract loaders to build/, compress cssr.js files 2020-11-12 13:30:04 +08:00
.eslintrc.js test(button) 2021-02-17 15:04:19 +08:00
.gitignore build: monorepo for themes 2021-02-10 20:35:50 +08:00
.npmignore build: add tsc --force flag when build 2021-02-18 23:31:02 +08:00
.prettierignore fix(menu): title extra not working 2021-02-03 16:05:54 +08:00
.prettierrc fix(menu): title extra not working 2021-02-03 16:05:54 +08:00
babel.config.js perf(select): use v-show to trigger open fast 2021-05-17 13:42:55 +08:00
CHANGELOG.en-US.md feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
CHANGELOG.zh-CN.md feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
index.html site: derive title from locale 2021-04-19 23:05:20 +08:00
jest.config.js test: add basic test for all comps 2021-02-17 16:33:29 +08:00
package.json refactor(data-table): clean scroll codes 2021-05-18 02:19:15 +08:00
postcss.config.js chore: add usage comment in bable.config.js and postcss.config.js 2020-11-12 20:11:46 +08:00
README.md feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
README.zh-CN.md feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
tsconfig.cjs.json build: monorepo for themes 2021-02-10 20:35:50 +08:00
tsconfig.esm.json build: monorepo for themes 2021-02-10 20:35:50 +08:00
tsconfig.json fix(input-number): input builtin style 2021-02-14 20:34:23 +08:00
vite.config.js fix: use event name in lower case to avoid vue 3.0.6 regression 2021-02-25 16:18:18 +08:00
vue3.md feat(data-table): summary prop 2021-04-21 14:47:24 +08:00

Naive UI

A Vue 3 UI Framework

Rather Complete, Themable, With Typescript, Not Too Slow

Interesting Somehow

English | 中文

Documentation

www.naiveui.com(WIP)

Features

Rather Complete

There are more than 70 components. Hope they can help you write less code.

What's more, they are all treeshakable.

Themeable

We provide an advanced type safe theme system that built with typescript. All you need is to provide a theme overrides object in JS. Then all the staff is done by us.

What's more, no less/sass/css variables, no webpack loaders are required.

With Typescript

All the staff in Naive UI is wrote in Typescript. It can work with your typescript project seamlessly.

What's more, you don't need to import any CSS to use the components.

Not too Slow

I try to make it not rather slow. At least select, tree, transfer, table and cascader work with virtual list.

What's more, ..., no more. Just enjoy it.

Installation

npm

Use npm to install.

npm i -D naive-ui

Fonts

npm i -D vfonts

Icons

naive-ui recommends using xicons as icon library.

Design Resources

Sorry, currently there is nothing.

License

Naive UI is licensed under the MIT license.

Graphics resouces of result component is licensed under the CC-BY 4.0. The graphics resources come from Twemoji.