Commit Graph

305 Commits

Author SHA1 Message Date
07akioni
68c1e4e28b docs(changelog): fix typo 2021-06-14 22:48:57 +08:00
07akioni
03a684dc4e fix(data-table): missing on-update-sorter, on-update-filter, on-update-page and on-update-page-size props 2021-06-14 22:46:52 +08:00
07akioni
c08e3f775c build: add discord changelog bot 2021-06-14 17:29:33 +08:00
07akioni
e9a422792a docs(changelog): add date 2021-06-14 10:08:27 +08:00
07akioni
53bbbba717 chore(dialog): fix changelog & optimize codes 2021-06-14 09:15:25 +08:00
djkloop
fc09a36d8c
fix(dialog): add dialog destroyAll methods (#104)
* fix(dialog):add  dialog destroyAll methods

* update changelog
2021-06-14 09:12:55 +08:00
07akioni
fa11306afd
fix(card): header-style is not applied to header (#105) 2021-06-14 01:21:50 +08:00
zhypower1997
6d21f72e1d
feat(data-table): add slot to custom empty content (#98)
* feat: add slot to custom description when data table is empty

* feat: change props to slot

* fix: change comment

* Update src/data-table/demos/enUS/index.demo-entry.md

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

* Update src/data-table/demos/zhCN/index.demo-entry.md

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

* Update src/data-table/demos/enUS/index.demo-entry.md

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

* Update CHANGELOG.zh-CN.md

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

* feat: add tests

* feat: change comment

* feat: update comment

* feat: update comment

* feat: update comment

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-13 16:42:16 +08:00
07akioni
5d50114397 2.11.8 2021-06-13 12:59:23 +08:00
07akioni
7ef3357472
fix(data-table): prop types of rowKey, rowClassName, rowProps, summary aren't compatible with expected value (#95) 2021-06-13 12:36:35 +08:00
XieZongChen
3905fb1972
fix(form-item): autosize textarea may overflow (#94)
* fix: n-form-item's grid-template-columns

* Update src/form/src/styles/form-item.cssr.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-13 12:04:24 +08:00
07akioni
5a7b2fa0e2 fix(calendar): on-update:value prop type 2021-06-12 19:23:05 +08:00
07akioni
d8c1a8c354 2.11.7 2021-06-12 15:59:11 +08:00
07akioni
c04912d44c fix: no lodash & lodash-es type 2021-06-12 15:42:46 +08:00
07akioni
e7f1f91da9
fix(color-picker): default value doesn't follow modes (#87)
* fix(color-picker): default value doesn't follow modes

* docs: changelog
2021-06-12 14:06:39 +08:00
07akioni
d307488479
fix(slider): prevent default on touchstart to avoid page scrolling (#82)
* fix(slider): prevent default on touchstart to avoid page scrolling

* docs(changelog)
2021-06-12 12:38:43 +08:00
07akioni
7ed844047d 2.11.6 2021-06-11 18:48:51 +08:00
07akioni
42b700d698
Merge pull request #79 from TuSimple/feat
chore: merge feat into main
2021-06-11 18:40:38 +08:00
07akioni
5b75311075
fix(color-picker): change modes not working (#78)
* fix(color-picker): change modes not working

* docs(changelog): add issue url
2021-06-11 18:39:39 +08:00
07akioni
7dc0f40dc6
Merge branch 'main' into feat 2021-06-11 18:32:10 +08:00
Ilya
75880dcc88
fix: add touch events support for slider (#73)
* fix: add touch events support for slider

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-11 17:44:03 +08:00
cyn
3e48307cdd
feat(date-picker): add footer slot (#70)
* feat(date-picker): add footer slot

* docs(changelog): change log add footer slot

* refactor(date-picker): refactor footer slot

* fix(date-picker): fix extra footer padding style
2021-06-11 17:40:17 +08:00
07akioni
a1f6f8b4c1 fix(tabs): logs useless info 2021-06-11 17:28:00 +08:00
07akioni
c179c3a665 fix(popconfirm): icon slot not working 2021-06-11 17:26:42 +08:00
07akioni
8514819255 fix(menu): lack on-update-value and on-update-expanded-keys props 2021-06-11 12:00:11 +08:00
Mr. Meo
d4dba862c5
fix(button): cause crash when imported in head tag (#68)
* Fix crash when load app in head tag

* update changelog

* docs: changelog

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-11 10:39:07 +08:00
07akioni
ae4b44dfb5
feat(spin): size prop support number type (#67) 2021-06-11 00:51:11 +08:00
07akioni
c65b068a52
fix(spin): animation shifts (#66)
* fix(spin): animation shifts

* docs
2021-06-11 00:37:59 +08:00
07akioni
5db8daa937 2.11.5 2021-06-10 22:54:48 +08:00
07akioni
49c1dc912f
Merge pull request #60 from TuSimple/feat
chore: merge feat into main
2021-06-10 20:05:46 +08:00
07akioni
f2006e8275
Update CHANGELOG.en-US.md 2021-06-10 19:44:21 +08:00
cyn
bcb52b14ec
fix(calendar): fix calendar date month error (#56)
* fix(calendar): fix calendar date calc error

* fix(calendar): optimize  code

* docs(changelog): delete Feats info

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-10 18:15:27 +08:00
五柳
21204a508e
fix(menu): the type definition of extra property of menu and submenu (#59) 2021-06-10 18:05:09 +08:00
CharTen
3d424dd018
fix(input): add 'password' declaration for 'input' (#57)
* add 'password' declaration for 'input'

* update change log

* update change log

* Update CHANGELOG.zh-CN.md

Co-authored-by: CharTen <caiting@3k.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-10 17:33:17 +08:00
ahwgs
eb1bd5bd81
feat(dropdown): add disabled prop to option (#42)
* feat(dropdown): add disabled prop

* refactor: update dropdown disabled prop

* test(dropdown): add disabled case

* test(dropdown): update disabled case
2021-06-10 14:08:58 +08:00
07akioni
84be289484
fix(message): option should be optional (#45) 2021-06-09 17:14:13 +08:00
cyn
5581cfcc8c
feat(card): add :target style (#35)
* feat(docs): add target style when anchor compoents demo

* feat(card): rename targetColor to colorTarget

* fix(changelog): fix changelog doc typo

* feat(card): delete !important, complete target style by override

* feat(card): rewrite target style
2021-06-09 11:30:00 +08:00
07akioni
8978fa93bf
fix(popover): x, y may not be synced (#21)
* fix(popover): x, y may not be synced

* docs: changelog
2021-06-08 16:31:24 +08:00
07akioni
79633953b0 fix(transfer): emtpy icon has no toggle transition 2021-06-07 18:22:38 +08:00
07akioni
6153aab625 2.11.4 2021-06-07 13:12:02 +08:00
07akioni
8b19edebf5
feat(date-picker): ranges prop (#9)
* feat(date-picker): `ranges` prop

* fix(date-picker): action bar styles
2021-06-07 13:00:02 +08:00
07akioni
15ae234ed0 feat(data-table): add row-props prop 2021-06-07 09:01:20 +08:00
07akioni
d7b96e6230 fix(scrollbar): track may be overlayed in chrome windows 2021-06-06 22:54:41 +08:00
07akioni
e23e379ba8 fix(drawer): toggle animation 2021-06-06 19:18:34 +08:00
07akioni
1409f90065 feat(divider): wai-aria 2021-06-06 18:25:13 +08:00
07akioni
4fecff13f9 feat(menu): supports basic wai-aria 2021-06-06 11:53:42 +08:00
07akioni
5fd347c6ff feat(switch): wai-aria 2021-06-06 11:24:48 +08:00
07akioni
ce44d1b59d feat(card): wai-aria 2021-06-06 11:04:29 +08:00
07akioni
37cef8f68e feat(button): aria 2021-06-06 10:45:20 +08:00
07akioni
595cc449c0 fix(tab): n-tab-pane display-directive not working 2021-06-05 23:58:54 +08:00
07akioni
ea1f5facf1 2.11.3 2021-06-05 21:34:33 +08:00
07akioni
3f0714cebf fix(collapse): default-expanded-names not working 2021-06-05 21:30:39 +08:00
07akioni
fa4ad158ec 2.11.2 2021-06-05 21:19:31 +08:00
07akioni
ba2f608b43 feat(collapse): n-collapse add arrow slot 2021-06-05 21:16:00 +08:00
07akioni
292228dc40 fix(config-provider): doesn't merge inherited theme 2021-06-05 20:54:29 +08:00
07akioni
f171cefd3c fix(date-picker): input theme is not set in date & datetime type 2021-06-05 20:48:26 +08:00
07akioni
fbeacb342f 2.11.1 2021-06-05 19:53:26 +08:00
07akioni
9d11f772a4 fix(dropdown): default placement is not bottom 2021-06-05 18:55:23 +08:00
07akioni
c5f755c5df 2.11.0 2021-06-05 01:03:27 +08:00
07akioni
0265894216 feat(date-picker): update value after confirm is clicked 2021-06-01 01:13:24 +08:00
07akioni
52fd5d5129 fix(date-picker): does not disable start date correctly when value is empty 2021-05-31 16:44:08 +08:00
07akioni
8b249709b6 feat(select): virtual-scroll prop & consistent-menu-width prop 2021-05-27 13:26:53 +08:00
07akioni
14f1b93c86 refactor(anchor): listen to global scroll & add offset-target prop 2021-05-27 12:43:12 +08:00
07akioni
c5b7645f39 refactor(affix): set default listen-to to document. rename offset-* to trigger-*. 2021-05-27 11:39:44 +08:00
07akioni
d464ec01a5 fix(input-number): not restore valid value after blur 2021-05-26 23:07:32 +08:00
07akioni
4483d722af 2.10.0 2021-05-26 17:09:58 +08:00
07akioni
b58ef7c94e feat(tabs): add pane-style prop 2021-05-26 15:38:40 +08:00
07akioni
0699083479 fix(layout): scrollTo not working when using native scrollbar 2021-05-26 13:55:09 +08:00
07akioni
38a5764ea5 refactor(popover): placement prop default value is set to 'top' 2021-05-26 11:19:37 +08:00
07akioni
62b3fdbbfa feat(tabs): add box shadow to indicate scroll status 2021-05-26 01:36:06 +08:00
07akioni
8a147f3240 feat(tabs): type prop support 'line' option. 2021-05-25 23:36:07 +08:00
07akioni
b496337269 refactor(tabs): rename label related prop to tab 2021-05-25 23:20:04 +08:00
07akioni
826bf1dccb feat(tabs): add label slot for pane & function + vnode typed label 2021-05-25 22:41:06 +08:00
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
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
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
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
d0f2c6a1c4 fix(selection): Theme peers has wrong key for popover 2021-05-23 13:33:46 +08:00
07akioni
0a1b65f2a7 feat(data-table): support tree data 2021-05-22 00:54:44 +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
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
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
25c962187e perf(anchor): use throttle rather than raf 2021-05-18 19:32:57 +08:00
07akioni
efce69102a feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
07akioni
96020751fd perf(select): use v-show to trigger open fast 2021-05-17 13:42:55 +08:00
07akioni
f579457e3d feat(data-table): virtual-scroll prop 2021-05-17 04:18:32 +08:00
07akioni
9921bddda7 feat(tree): virtual-scroll 2021-05-16 18:51:03 +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
c12f6544a8 fix(layout): n-layout-sider doesn't show menu after collapsed 2021-05-07 17:46:46 +08:00