Commit Graph

4290 Commits

Author SHA1 Message Date
07akioni
7e9784a6d3 chore: import fixes 2021-05-19 01:48:38 +08:00
07akioni
2247a5fbde Merge branch 'master' of ***REMOVED*** 2021-05-19 01:01:17 +08:00
07akioni
d8fd069d20 feat(input): show count 2021-05-19 00:59:06 +08:00
07akioni
5403aa924a feat(pagination): prefix & suffix - prop & slot 2021-05-18 21:02:56 +08:00
07akioni
808c568066 feat(pagination): item-count, by the way fix page not updated in uncontrolled mode 2021-05-18 20:21:14 +08:00
07akioni
3539427bb8 refactor(pagination): clean codes 2021-05-18 19:53:49 +08:00
07akioni
25c962187e perf(anchor): use throttle rather than raf 2021-05-18 19:32:57 +08:00
07akioni
45dd44ffa4 refactor(date-picker): use dom manipulation to disable transition 2021-05-18 19:27:44 +08:00
07akioni
97240fc879 feat(tree): use builtin scrollbar 2021-05-18 19:11:42 +08:00
07akioni
54b2ec0122 fix(data-table): use same component inner virtual list 2021-05-18 14:19:25 +08:00
07akioni
4ab29fb2fb fix(data-table): shadow column not displayed right due to precision 2021-05-18 14:05:32 +08:00
07akioni
88c21cf403 fix(site): layout shift when change theme with hash 2021-05-18 13:54:58 +08:00
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
07akioni
df78a9f8f3 refactor(data-table): clean scroll codes 2021-05-18 02:19:15 +08:00
07akioni
8be23e6ebb fix(data-table): scroll not working for fixed col in safari 2021-05-18 00:38:46 +08:00
07akioni
503dac600c fix(anchor): don't listen capture scroll 2021-05-17 22:19:24 +08:00
07akioni
bf497fb797 perf(select-menu, table): remove useless scroll handler 2021-05-17 19:47:22 +08:00
07akioni
bcd6b047bb docs(cascader): fix markdown format 2021-05-17 15:58:15 +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
feb7f60ed0 refactor(tree): reduce animation duration 2021-05-17 14:59:16 +08:00
07akioni
96020751fd perf(select): use v-show to trigger open fast 2021-05-17 13:42:55 +08:00
07akioni
a1849ec814 perf(data-table): check in large data 2021-05-17 04:38:26 +08:00
07akioni
f579457e3d feat(data-table): virtual-scroll prop 2021-05-17 04:18:32 +08:00
07akioni
24228424dd perf(scrollbar): reduce redundant rendering 2021-05-17 02:59:44 +08:00
07akioni
9921bddda7 feat(tree): virtual-scroll 2021-05-16 18:51:03 +08:00
07akioni
89112c0f81 fix(select-menu): adapt new treemate api 2021-05-16 18:46:44 +08:00
07akioni
2aea017139 refactor(tree): flatten dom 2021-05-16 17:55:50 +08:00
07akioni
cea5b73f8e fix(transfer): in virtual mode not setting key for items 2021-05-16 15:49:46 +08:00
07akioni
f8d53e433e fix(input-number): Doesn't reset to origin value when blur with invalid value 2021-05-16 15:36:46 +08:00
07akioni
c610881ef4 chore: get prepared for CSSStyleSheet.insertRule 2021-05-16 15:24:04 +08:00
07akioni
c12f6544a8 fix(layout): n-layout-sider doesn't show menu after collapsed 2021-05-07 17:46:46 +08:00
07akioni
a36ee45bca site: add footer 2021-05-04 02:27:16 +08:00
07akioni
9bc34429ce feat(layout): footer-color 2021-05-04 02:26:41 +08:00
07akioni
a40860eee7 Merge branch 'master' of github.com:07akioni/naive-ui 2021-04-29 16:19:48 +08:00
07akioni
2b2fe0c7ae docs(space): wrap prop & size prop 2021-04-29 15:04:22 +08:00
Wanli Song
d5dde87029 Merge pull request #364 from wanli-song/fix/ci
fix(ci): fix test
2021-04-29 11:09:57 +08:00
wanli.song@tusimple.ai
e4d9ad4ef8 fix(ci): fix test 2021-04-28 17:09:11 +08:00
07akioni
e357f4642a 2.7.4 2021-04-25 20:25:11 +08:00
07akioni
d1edde9f17 fix(checkbox): check mark not displayed 2021-04-25 19:54:14 +08:00
07akioni
b56f441cc7 fix(date-picker): icon transition style in trigger 2021-04-25 19:51:18 +08:00
07akioni
245080054d fix(data-table): clear check all in table not working 2021-04-24 13:52:06 +08:00
07akioni
fa03dd513f refactor(use-config): rename return fields 2021-04-24 13:45:13 +08:00
07akioni
b211e24195 refactor(use-form-item): rename returned fields 2021-04-24 12:57:17 +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
b22759c8a5 fix(checkbox-group): Not working in uncontrolled mode 2021-04-23 23:34:53 +08:00
07akioni
c8fe0b0899 feat(form-item): works without n-form 2021-04-23 23:20:21 +08:00
07akioni
701963dd3e fix(typography): p, li, ul margin bottom is not 0 when they are last child 2021-04-23 00:01:47 +08:00
07akioni
009c324dfc docs: use VNodeChild in types 2021-04-22 00:40:49 +08:00