Commit Graph

322 Commits

Author SHA1 Message Date
二梦
a08dbcf1b0
fix(cascader): text blur in win10 Chrome. (#154) 2021-06-16 17:29:49 +08:00
07akioni
d8e9622fdd docs(changelog): fix date 2021-06-16 14:21:52 +08:00
07akioni
445e2772a8 2.11.12 2021-06-16 14:13:09 +08:00
07akioni
da5d78378f
feat(element): pass themeVars to default slot & add abstract prop (#146) 2021-06-16 14:04:39 +08:00
07akioni
5c7c05c149
Merge branch 'main' into feat 2021-06-16 13:32:45 +08:00
07akioni
80c368dc2b
fix(auto-complete): customizing input not working (#143) 2021-06-16 13:13:11 +08:00
07akioni
f8f312aec1
feat(drawer-content): closable prop (#140) 2021-06-16 11:47:20 +08:00
cyn
59d8643e65
feat(tag): unstable rtl (#130)
* feat(tag): unstable rtl

* feat(tag): optimizate code

* feat(tag): delete extra close class

* feat(tag): optimizate code
2021-06-15 23:51:39 +08:00
07akioni
7fc659de7e fix(radio-group): doesn't trigger form item validation 2021-06-15 18:36:29 +08:00
07akioni
f9fb82695a 2.11.11 2021-06-15 11:23:16 +08:00
07akioni
801b647530 2.11.9 2021-06-15 01:09:52 +08:00
07akioni
f1812ff90a feat(space): a11y 2021-06-15 01:03:12 +08:00
LiamLi
d301208d47 feat: progress and button-group supports wai-aria (#109)
* feat(progress): supports wai-aria

* feat(button-group): supports wai-aria

* Update ButtonGroup.tsx

* Update Line.tsx

* feat(progress): fixed some generic DOM which shouldn't appear in a11y tree.

* feat: (progress) supports wai-aria

* feat: (progress) supports wai-aria

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:52:16 +08:00
07akioni
9e2ba9b339 docs(changelog): fix branch 2021-06-15 00:47:46 +08:00
caoyugang_1
b062eb122f feat(rate): add default slot for icon and color size property (#91)
* feat: rate add slot and add color size property

* fix: update rate md

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

* Update src/rate/demos/enUS/icon.demo.md

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

* Update src/rate/src/Rate.tsx

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

* Update src/rate/src/Rate.tsx

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

* Update src/rate/demos/zhCN/color.demo.md

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

* Update src/rate/demos/zhCN/size.demo.md

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

* Update src/rate/demos/enUS/size.demo.md

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

* Update src/rate/demos/enUS/color.demo.md

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

* Update src/rate/demos/zhCN/events.demo.md

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

* Update src/rate/demos/zhCN/icon.demo.md

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

* fix: resolve rate comment

* fix: change demo

* fix: update md

* fix: add type lint

* fix: icon demo remove n-space

* Update CHANGELOG.en-US.md

* Update src/rate/demos/zhCN/color.demo.md

* Update CHANGELOG.en-US.md

* Update src/rate/demos/enUS/size.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:38:22 +08:00
07akioni
03d8938084 feat(menu): supports use <a /> and <router-link /> as label (#117) 2021-06-15 00:37:18 +08:00
XieZongChen
b0294bab0d feat(input-number): add show-button props (#65)
* feat: inputNumber add show-button props

* Update src/input-number/tests/InputNumber.spec.ts

* feat: Perfect pr

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:33:23 +08:00
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