2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-01-12 12:25:16 +08:00
Commit Graph

4624 Commits

Author SHA1 Message Date
07akioni
64b1715526 feat(tabs): add tab can be fixed 2021-05-25 21:18:41 +08:00
07akioni
d4e9cac324 2.9.0 2021-05-25 19:25:43 +08:00
07akioni
df207dfd45 fix(deprecated-service-layout): type error 2021-05-25 17:03:24 +08:00
07akioni
5c2183c5bb docs(layout): rewrite with better look 2021-05-25 16:56:53 +08:00
07akioni
e32b020a95 fix(layout): scrollTo not working with native scrollbar 2021-05-25 16:43:02 +08:00
07akioni
c5dd884df6 feat(layout): embedded prop 2021-05-25 15:05:41 +08:00
07akioni
18516308f9 feat(data-table): max-height & min-height prop accept CSS value. 2021-05-25 13:34:52 +08:00
07akioni
b96c066a9c docs: ui framework => component lib 2021-05-25 13:21:43 +08:00
07akioni
c986b375a3 feat(layout): n-layout-sider & n-layout-footer & n-layout-header add inverted prop. 2021-05-25 13:11:20 +08:00
07akioni
92e79591ad feat(tabs): totally refactor
- Add `addable` prop.
- Add `show-divider` prop.
- Add `tab-style` prop.
- Add `tabs-padding` prop.
- Add `default-value` prop.
2021-05-25 01:20:31 +08:00
07akioni
a692292a3d fix(anchor): use lodash-es 2021-05-24 17:45:35 +08:00
07akioni
06c0fafedc refactor(tree): change node active color & set default cancelable to true 2021-05-24 16:41:12 +08:00
07akioni
01b092dcfb feat(dropdown): inverted 2021-05-24 16:25:26 +08:00
07akioni
d276dec4a5 feat(menu): inverted prop 2021-05-24 14:10:28 +08:00
07akioni
b97ea5aa40 feat(tree): drag & drop 2021-05-24 10:49:11 +08:00
07akioni
ea32d23d5c wip(tree): refactor, still there are some bugs in async drag & drop mode 2021-05-24 01:40:29 +08:00
07akioni
707953d8ab wip(tree): refactor dnd, nearly done 2021-05-24 00:26:07 +08:00
07akioni
56bcfbe2b5 wip(tree): refactor dnd 2021-05-23 21:01:18 +08:00
07akioni
d0f2c6a1c4 fix(selection): Theme peers has wrong key for popover 2021-05-23 13:33:46 +08:00
07akioni
60eeb17f78 wip(tree): refactor dnd 2021-05-23 13:28:22 +08:00
07akioni
4b723085d6 wip(tree): refactor dnd 2021-05-22 14:29:36 +08:00
07akioni
cf561be670 wip(tree): refactor drag and drop 2021-05-22 10:49:12 +08:00
07akioni
0a1b65f2a7 feat(data-table): support tree data 2021-05-22 00:54:44 +08:00
07akioni
c0650134da docs(data-table): add selection col 2021-05-21 22:17:52 +08:00
07akioni
5c24d05585 docs(layout-sider): expose trigger style 2021-05-19 16:08:43 +08:00
07akioni
b7fcfd4bd5 docs(tree): use block-line for all demos 2021-05-19 16:00:05 +08:00
07akioni
a676ff594b feat(tree): block-line prop 2021-05-19 15:45:31 +08:00
07akioni
242a49922c fix(layout-sider): n-layout-sider's collapse-mode not working 2021-05-19 14:55:54 +08:00
07akioni
36d8ff6513 feat(data-table): add table layout prop 2021-05-19 14:31:30 +08:00
07akioni
f201e362aa fix: adapt vueuc type breaking changes 2021-05-19 13:31:21 +08:00
07akioni
56ed02fcca deps: bump vueuc & css-render version 2021-05-19 13:14:07 +08:00
07akioni
b792f0b529 feat(button): tag prop 2021-05-19 12:03:35 +08:00
07akioni
7b9bd91f2e 2.8.0 2021-05-19 02:25:38 +08:00
07akioni
df73044c24 fix(form): fix async-validator related types 2021-05-19 02:23:47 +08:00
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