Compare commits

...

4672 Commits
0.5.0 ... main

Author SHA1 Message Date
云荷YunHerry 27acc9a80e
docs(table): ajax demo (#8120)
Co-authored-by: Xian Yu <h3209851541@outlook.com>
2025-06-13 15:46:47 +08:00
selicens 43ad5dec90
docs(mentions): Spelling error in En title (#8127) 2025-06-13 15:45:49 +08:00
selicens aa8802679f
docs(Typography): fix slot name (#8184) 2025-06-13 15:35:05 +08:00
爆炒芋头 aa211fd789
docs(input): showCount type 文档 (#8041)
* fix(input): showCount type 文档

* fix(input): showCount type 文档

---------

Co-authored-by: zhiqiangchen <zhiqiang.chen@igg.com>
2025-03-06 14:37:19 +08:00
tangjinzhou 61d39be86f
Update config.yml 2025-03-06 14:34:53 +08:00
tangjinzhou b80bd37f6e fix: sm select placeholder 2025-02-17 11:28:06 +08:00
wzc520pyfm 3db5e191b8
docs: add ant-design-x-vue link at ecosystem (#8034) 2025-02-09 09:23:58 +08:00
Attacktive 45c7109212
docs: correct possible `size` size in component Select (#7991) 2025-01-05 17:04:07 +08:00
Shai b58d0fb723
docs: added centered to docs (#7967) 2025-01-05 16:55:58 +08:00
clddup a21a1ca533
docs: theme editor 2025-01-05 16:54:32 +08:00
tangjinzhou 4a37016f4e fix: ts type error 2024-11-11 14:52:27 +08:00
tangjinzhou 5d6ebb30ac release 4.2.6 2024-11-11 14:47:34 +08:00
tangjinzhou 888457238d fix: modal aria error 2024-11-11 14:40:49 +08:00
果冻橙 b0d9309471
docs: Add custom icons to support Rsbuild documentation (#7743) 2024-11-08 10:30:05 +08:00
selicens f64d0718ae
docs: Change the default values of attributes (#7744) 2024-11-08 10:28:03 +08:00
selicens 968317ca9f
fix(InputNumber): disabled text clolor (#7776) 2024-11-08 10:18:03 +08:00
Carl Chen 22dad3ba6d
fix[Select]: fix select losing focus issue (#7829) 2024-11-08 10:17:22 +08:00
iamnotblank 4f7bd6f28d
fix(Dialog): aira error (#7823)
* fix(vc-dialog): aira error

* fix(vc-dialog): aira error
2024-11-07 22:54:53 +08:00
snoweast 12fcfa15b1
fix: Safari of input IME (#7918) 2024-11-07 22:45:48 +08:00
tangjinzhou e46d537d45 release 4.2.5 2024-09-19 19:08:59 +08:00
tangjinzhou ac9d1b0a7f fix: empty memory issue 2024-09-19 19:07:08 +08:00
tangjinzhou 2c7008d786 fix: image width & height not work 2024-09-19 19:06:34 +08:00
tangjinzhou 49d4b3166e feat: update type 2024-09-13 19:33:38 +08:00
tangjinzhou 339fb4a230 release 4.2.4 2024-09-13 19:06:37 +08:00
tangjinzhou bb443a05e2 fix: button wave memory leak 2024-09-13 19:05:04 +08:00
YYP 3a79f72816
fix(doc): `positonStyle` typo (#7808) 2024-09-13 18:51:17 +08:00
5918vo 89eec07145
docs: event demo (#7699) (#7728) 2024-09-05 11:38:10 +08:00
Jason Ren c69a6d29b2
docs(zh-cn): finish translation of float-button (#7811) 2024-09-05 11:37:36 +08:00
tangjinzhou 2666cb79ab refactor: transition 2024-06-21 13:40:28 +08:00
tangjinzhou 35d5185634 docs: update changelog 2024-06-10 09:37:38 +08:00
tangjinzhou 4492086aac release 4.2.3 2024-06-10 09:20:15 +08:00
trry-hub 4b7c6ac02c
feat: TourStep support fn children (#7628)
* Fix: [修复自定义按钮无渲染]

* refactor(完善 Tour 自定义按钮代码健壮性): 🦄

---------

Co-authored-by: shizhu <shizhu@yaomaitong.cn>
2024-06-10 09:14:27 +08:00
Kylin 208b8d3085
docs: unify the default value of none to - (#7636) 2024-06-09 22:08:30 +08:00
Carl Chen f41fec26ba
fix[vc-util]: styleObjectToString filter invalid value (#7642) 2024-06-09 09:56:45 +08:00
tangjinzhou 9118d6cd42 release 4.2.2 2024-06-06 10:16:02 +08:00
Aaron-zon 5c7aaf0dd6
fix(FloatButton): type error (#7632) 2024-06-06 10:03:24 +08:00
evanlc b82d8dd2ad
fix(PresetPanel): preset panel stopPropagation (#7550) 2024-06-04 23:28:22 +08:00
Aaron-zon 1d0fa8533a
fix: add missing space-evenly alignment for grid rows (#7579) 2024-06-04 23:26:03 +08:00
Kylin 4318147fc6
refactor(input): remove unnecessary assertions and use?? instead of the ternary operator (#7571)
* refactor: remove unnecessary assertions and use?? instead of the ternary operator

* refactor: use?? instead of the ternary operator
2024-06-04 23:24:44 +08:00
Carl Chen 312bcc5127
docs(collapse): modify the `accordion` attribute text to be easier to understand (#7612) 2024-06-04 23:20:54 +08:00
tangjinzhou 6594fe3964 fix: textarea 2024-06-04 23:12:06 +08:00
tangjinzhou 82f28ce3d0 fix: select input 2024-06-04 21:20:10 +08:00
Carl Chen 6e2c5a6a83
fix[select]: fix placeholder error when inputting Chinese (#7611)
* fix[select]: fix placeholder error when inputting Chinese

fix(selector): fix placeholder error when inputting Chinese

perf: optimize types

* Update SingleSelector.tsx

* Update index.tsx

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2024-06-04 18:59:24 +08:00
lchrennew 307148e2df
fix: empty space-item are not been hidden (#7557) 2024-06-04 16:13:11 +08:00
bsuooo afebeb9ffa
docs(DatePicker): updating deprecated API (#7570) 2024-06-04 16:12:20 +08:00
selicens aeda2637f6
fix(Input): Chinese input is invalid when the modifier is lazy (#7543) 2024-06-04 16:10:46 +08:00
extclp f42d8ad1ce
chore: remove css-animation (#7613)
* chore: remove css-animate

* chore(site): remove localStorage support check
2024-06-04 16:05:21 +08:00
selicens 33a0708eb4
docs: upgrade document link direction error (#7602) 2024-06-04 16:01:26 +08:00
selicens 085eb398a4
fix(FormItem): class name error (#7582) 2024-06-04 16:00:40 +08:00
selicens 9c27414cd0
fix(FloatButton): type prompt error (#7576) 2024-06-04 15:57:40 +08:00
Kylin 014e86bd27
docs: update README-zh_CN (#7584) 2024-06-04 15:49:47 +08:00
tangjinzhou 40ad45bc05 fix: tree reative data error 2024-06-04 15:46:22 +08:00
neverland 1c82940160
docs: add Vite and Rsbuild to getting started (#7556) 2024-05-09 21:21:20 +08:00
bsuooo 7ce0f115d5
fix(cascader): remove outdated compatibility code(#7532) (#7534) 2024-04-30 19:13:48 +08:00
extclp 54434b0931
docs(Select): remove qs dependencie (#7541) 2024-04-30 19:12:05 +08:00
selicens e01f26c541
fix(TreeSelect): placehold slot invalid (#7545) 2024-04-30 19:11:08 +08:00
tangjinzhou 9a45b35511 release 4.2.1 2024-04-25 09:40:07 +08:00
hippo 8e8073d17e
fix: input clear error (#7523) 2024-04-25 09:29:38 +08:00
extclp d6cc262c3a
refactor: replement deprecated fields (#7519) 2024-04-25 09:25:29 +08:00
tangjinzhou 9d7c171940 release 4.2.0 2024-04-22 15:51:05 +08:00
extclp 48a3ceb921
chore: remove vetur type generator (#7517) 2024-04-22 15:27:58 +08:00
tangjinzhou 23c620ea3a fix: select customicon error #7377 2024-04-22 15:26:02 +08:00
tangjinzhou 752686e334 fix: input composing error, close #7516 2024-04-22 15:11:10 +08:00
tangjinzhou 9b0f0e71e7 perf: table hover cell, close #7451 2024-04-22 10:37:28 +08:00
24min 42d33e963c
fix: carousel beforeChange current value not correct (#7419) 2024-04-22 10:18:19 +08:00
tangjinzhou ed27700ef4 style: lint code 2024-04-22 10:07:02 +08:00
extclp eedd7f3302
chore: remove json file type declare (#7514) 2024-04-22 10:00:03 +08:00
Carl Chen c28c38d02e
fix[Select|Cascader]: select multiple error & cascader error in ssr mode (#7377)
* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* fix: fix  select error in multiple mode

* fix: fix cascader select error in ssr mode
2024-04-19 22:56:07 +08:00
ashu-guo 162d1fcf95
fix(AutoComplete): #7380 and #7276 (#7391) 2024-04-19 22:46:19 +08:00
selicens 4815ee6f20
fix(Pagination): block default events for the enter key (#7368)
* fix(Pagination): block default events for the enter key

* refactor: consider other keyboard events
2024-04-19 22:44:34 +08:00
bqy_fe 2b41e56520
fix(Input): autoSize not work when change value in onMounted (#7478) 2024-04-19 22:36:44 +08:00
Sean ab874ffd4b
docs: update tree-select api description (#7388) 2024-04-19 22:07:41 +08:00
tangjinzhou 61ade6b8ec fix: autoComplete option slot error, close #7396 #7405 2024-04-19 19:27:51 +08:00
selicens 4d35b8caa3
docs(Modal): add simplified descriptions (#7408)
close #7393
2024-04-19 19:19:33 +08:00
Tang 040af82eb9
docs: update table docs (#7400)
Co-authored-by: 汤显文 <tang_xianwen@gov-info.cn>
2024-04-19 19:19:01 +08:00
Carl Chen a8c72fc5e7
fix[Menu]: fix `menu-item-group` not rendering in SSR (#7349)
* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* fix: `menu-item-group` rendered in ssr
2024-04-19 19:18:30 +08:00
ashu-guo c25736d57d
chore: merge duplicate property declarations (#7417) 2024-04-19 19:16:46 +08:00
SonicKang 4a48bfc66b
fix: a-qrcord component cannot show ts prompt (#7502) 2024-04-19 19:15:12 +08:00
tangjinzhou 4138d3c822 fix: tabs size error, close #7491 #7482 2024-04-19 19:14:18 +08:00
tangjinzhou dec67a6d65 docs: update site 2024-04-19 19:13:06 +08:00
Carl Chen 85c48c0566
feat[tooltip]: add `arrow` attribute (#7459)
* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* wip: add popover-arrow

* wip: trigger add arrow attr

* fix: remove popupContextKey

* optimize

* perf: optimize

* docs: optimize docs

* docs: add `arrow` attribute in tooltip en-US docs

* fix: fix bug

* perf[demo]: `radio-group` replace with `segmented`
2024-04-19 13:17:15 +08:00
Carl Chen 966bc1004c
fix[layout]: in a dark mode layout, the text color should change. (#7498)
* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* fix[layout]: in a dark mode layout, the text color should change
2024-04-19 10:25:23 +08:00
Ordinary 457d0fde0b
fix: remove duplicate style variable (#7490)
Co-authored-by: p-hehongsheng <p-hehongsheng@xiaomi.com>
2024-04-19 10:21:07 +08:00
Saveliy ff184b3969
feat: update ru_RU localization (#7497) 2024-04-19 10:20:15 +08:00
ashu-guo 75886a8cbf
docs: match dependencies in package.json instead of simply setting 'latest' (#7381) 2024-04-19 10:19:50 +08:00
fwd01 2b0c2da232
docs: typo error (#7505)
Co-authored-by: fuwedong <fuwendong5@outlook.com>
2024-04-19 10:18:59 +08:00
tangjinzhou ffd4d8fe92 fix: useForm model change validate error 2024-04-19 10:18:04 +08:00
tangjinzhou 49e1323baa docs: update codesandbox 2024-04-19 09:52:43 +08:00
tangjinzhou 35d1de9ea6 docs: update sandbox 2024-04-19 09:29:05 +08:00
huyikai fa46999963
Update ja_JP.ts (#7438) 2024-03-23 10:40:28 +08:00
tangjinzhou 01300d01da docs: add eth sponsor 2024-03-22 16:20:10 +08:00
tangjinzhou 9a5f83ed06 chore: update pkg 2024-03-03 14:09:19 +08:00
tangjinzhou ce6b7f3b4e chore: update pkg 2024-03-03 14:04:52 +08:00
tangjinzhou 4a2f95fe88 release 4.1.2 2024-01-30 12:19:46 +08:00
Carl Chen 7c73beb309
fix: fixed an error caused by dragging under the `headerCell` slot. (#7291)
* fix: fix headerCell slots

* perf: optimize table columnTitle type
2024-01-30 12:06:45 +08:00
Carl Chen 0cbf3ca354
docs: updating the `dropdownRender` description and jumps in the FAQ for Select (#7313) 2024-01-30 12:05:20 +08:00
Weite Su 7afb7ce465
fix(segmented): title property in segmented component slot not effective (#7302)
Co-authored-by: suweite <weite.su@infinigo.cn>
2024-01-30 12:04:24 +08:00
tangjinzhou 9cc73011c5 chore: import error 2024-01-16 21:23:36 +08:00
tangjinzhou 4b21210700 release 4.1.1 2024-01-16 21:10:05 +08:00
Carl Chen a80ca17461
fix: table slot type optimization (#7288) 2024-01-16 20:57:29 +08:00
HaiWei Lian ad8d32ab09
fix: table filter does not work in header group (#7233) 2024-01-16 20:56:47 +08:00
Carl Chen d870f3f8e0
fix: fixed error with no expected value in `expandColumnTitle` slot (#7265)
* fix: fixed error report with no expected value in `expandColumnTitle` slot

* fix: optimize optional chain

* fix: use default render

* refactor: use `customRenderSlot` replace `renderSlot`

* style: code format

* perf: optimize useColumns code

* fix: fix path

* feat: add customRenderSlot unit test
2024-01-16 20:49:38 +08:00
tangjinzhou c717473568 fix: hook warning, close #7281 #7273 #7274 2024-01-16 20:34:11 +08:00
selicens 1e07544e74
feat(QRCode): support scanned status (#7242) 2024-01-12 11:44:33 +08:00
Light 8ab008d255
typo(table): Supplement FilterDropdown type (#7226)
* fix(table): Supplement FilterDropdown type

* docs(table): Type format
2024-01-12 11:42:46 +08:00
一堆菠萝 f034a7759e
fix(divider): vertical dashed divider not show (#7218) 2024-01-12 10:50:06 +08:00
Konv Suu 3f33cefa81
ci: issue-labeled format error (#7200) 2024-01-12 10:45:46 +08:00
一堆菠萝 81e43c56ef
docs(typography): trigerType api supplement Chinese translation (#7228) 2024-01-12 10:45:09 +08:00
aShu-guo f400c803e1
docs: update modal api description (#7232)
* docs: update modal api description

* docs: update modal api description
2024-01-12 10:44:48 +08:00
somethingfornothing 502c11cc4c
fix(dropdown): unexpectedly hidden(#7246) (#7254) 2024-01-12 10:42:36 +08:00
markthree 2cdb69f706
faet: fix css prefix in nuxt generate (#7256) 2024-01-12 10:30:17 +08:00
tangjinzhou 2eed8e62ec fix: type error 2024-01-05 19:28:55 +08:00
tangjinzhou 61c0d0cc9d release 4.1.0 2024-01-05 16:22:56 +08:00
tangjinzhou d7f9bd27dc fix: support vue 3.4 2024-01-05 16:20:05 +08:00
cc heart 4ed2868137
fix(vue): fixed modal component failed to trigger update in vue@3.4.x (#7244)
* fix(vue): fixed modal component failed to trigger update in vue@3.4.x version

* refactor: use cloneVNode trigger vNode update
2024-01-05 09:11:25 +08:00
tangjinzhou 8696e01039 release 4.0.8 2023-12-18 16:19:36 +08:00
tangjinzhou a3fd390619 docs: update demo 2023-12-18 16:17:43 +08:00
tangjinzhou a9198e44df fix: theme reactive not work #7180 2023-12-18 15:34:54 +08:00
yanyu 509ec682f2
fix: Fix custom theme token (#7180)
* fix: fix table column data is passed into chlidren is undefined or null errorr

* fix: fix custom theme token not take effect

* chore: reset button style

---------

Co-authored-by: undefined <undefined>
2023-12-18 15:20:24 +08:00
tangjinzhou 73f0a29acf fix: textarea cursor error, close #7121 2023-12-18 14:31:53 +08:00
somethingfornothing f93dd9170d
fix: dataRange active-bar (#7157) 2023-12-18 11:37:38 +08:00
yang cfa0a68568
fix(Menu.SubMenu): 修复ConfigProvider组件设置prefixCls属性后动画过渡失效 (#7150) 2023-12-18 11:32:38 +08:00
Konv Suu afcff32fcc
fix(menu): pass motion name to collapseMotion (#7130) 2023-12-18 11:31:57 +08:00
tangjinzhou b989cf2d97 perf: watermark 2023-12-18 11:31:04 +08:00
Jevin 0e6fd652b8
fix(watermark): modify dom properties to regenerate (#7149)
Co-authored-by: “Jevin” <jevin@mogul-tech.com>
2023-12-18 11:29:27 +08:00
selicens 6625d39118
fix(RangPicker): Incorrect display of prevIcon and nextIcon (#7127)
* fix(RangPicker): Incorrect display of prevIcon and nextIcon

* fix: superPrevIcon and superNextIcon invalid
2023-12-18 11:23:30 +08:00
Nined 67efafca4a
perf(Typography): fast and efficient syncEllipsis (#7146) 2023-12-18 11:21:55 +08:00
OliverYoung a8a774a5ff
fix: tooltip onPopupAlign never called (#7112) 2023-12-18 10:54:30 +08:00
一堆菠萝 1fc109704b
fix: Form disabled no effect on Upload (#7110)
* fix: Form disabled no effect on Upload

* docs: update Upload disabled api default value
2023-12-18 10:45:27 +08:00
puppetkkk d140523c89
fix: useWave unref (#7108)
* fix: useWave unref

* fix: wave init value

* fix: wave value

* Update useConfigInject.ts

---------

Co-authored-by: pangzebang <pangzebang@dm-ai.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
2023-12-18 10:41:50 +08:00
cc heart 91fe1b0d71
docs(menu): repair Anchor Jump (#7178)
Under the menu document, some anchor clicks cannot scroll.
2023-12-18 10:27:48 +08:00
lyn c1b4941def
docs: fix typo (#7162) 2023-12-18 10:27:22 +08:00
puppetkkk af383a34bc
docs(config-provider): add wave setting (#7107)
* docs(config-provider): add wave setting

* docs(config-provider): add wave setting

---------

Co-authored-by: pangzebang <pangzebang@dm-ai.com>
2023-12-18 10:25:23 +08:00
cc heart 1dccce4e16
docs(header): restore button hover style (#7105) 2023-12-18 10:24:56 +08:00
cc heart 8aa8e5a778
docs(calendar): optimize calendar docs note layout (#7102)
docs(calendar): optimize calendar docs note layout

docs(calendar): optimize calendar docs note layout

docs(calendar): optimize calendar docs note layout

docs(calendar): optimize calendar docs note layout
2023-12-18 10:24:18 +08:00
Light 42952b713a
docs(notification): Fix hooks description in demo (#7191) 2023-12-18 10:22:49 +08:00
yang 07c36192b8
【docs】:Code example 'setup' is missing (#7153)
* flx

* flx【docs】:Modify the official website code example, switch TS to JS, the top of the example should be '<script setup>'
2023-12-18 10:22:04 +08:00
Jacky 562623c091
fix: remove /* #__PURE__*/ comments (#7156) 2023-12-18 10:21:15 +08:00
tangjinzhou e362571719 test: update flex test 2023-11-11 10:35:49 +08:00
tangjinzhou e32ae99bfd release 4.0.7 2023-11-11 10:33:04 +08:00
tangjinzhou ccbeb44264 docs: add new tag 2023-11-11 10:25:16 +08:00
tangjinzhou 3499b11a47 refactor: flex components 2023-11-11 10:24:58 +08:00
selicens dae7262f13
feat(Flex): New component (#7052)
* feat(Flex): New component

* fix: Unified type

* test: Add unit test and update snapshots

* docs: update md file

---------

Co-authored-by: undefined <undefined>
2023-11-11 10:06:02 +08:00
w-z-y 8cf6be11f7
fix: DatePicker panelChange(#7059)
onPanelChange事件缺少
2023-11-11 10:00:48 +08:00
Konv Suu 2510608665
fix(collapse): custom prefix in animation (#7074) 2023-11-11 09:59:40 +08:00
cc heart b22875db33
fix(message): message offset error (#7093) 2023-11-11 09:53:59 +08:00
lyn 2bdeed1432
typo: fix docs ant Rect is spelled as React (#7082) 2023-11-11 09:31:38 +08:00
lai9fox 49a6b588c1
docs(tree-select): fix duplicate values in demo (#7083) 2023-11-11 09:30:42 +08:00
Konv Suu bd080cde2a
chore: enable pnpm run pre scripts (#7078) 2023-11-11 09:29:29 +08:00
huiliangShen c1454bc7b5
fix(carousel): can not use jsx render children (#7077)
Co-authored-by: banruo <shl@dataqin.com>
2023-11-11 09:28:33 +08:00
cc heart 61402142f8
feat[watermark]: support dark theme (#7067)
* perf[watermark]: replace with token variable

* feat: add theme toggle watch
2023-11-11 09:14:43 +08:00
Konv Suu 242982301d
site: menu show tag when front-matter has tag prop (#7053) 2023-11-02 19:00:16 +08:00
Konv Suu 9bdf882517
docs(theme-editor): handleEditConfigChange logic (#7038) 2023-10-23 10:51:46 +08:00
Konv Suu 88ec06b717
fix(upload): disabled prop apply order (#7047) 2023-10-23 10:16:23 +08:00
Konv Suu 6c39bec277
feat(config-provider ): wave config (#7036) 2023-10-23 10:15:56 +08:00
Konv Suu 82f407d396
docs(tag): colorful demo css style (#7037) 2023-10-23 10:13:49 +08:00
bowen bfcdba251f
docs(checkbox): fix typo (#7039) 2023-10-23 10:13:18 +08:00
cc heart 0abcd25b2a
fix: fix space duplicated key (#7048) 2023-10-23 10:12:26 +08:00
tangjinzhou 72b8d09b92 release 4.0.6 2023-10-17 23:01:50 +08:00
selicens b4c29d927b
fix: dropdownVisibleChange invalid (#7033)
Co-authored-by: undefined <undefined>
2023-10-17 22:59:42 +08:00
tangjinzhou bf917f36eb release 4.0.5 2023-10-17 19:04:56 +08:00
黄小民 0f9c80b86e
fix: rangePick onOk can't close the panel (#7026) 2023-10-17 19:02:10 +08:00
Zev Zhu 61e5746b0d
fix(StyleContext): fix style cache loaded repeat (#7029)
Co-authored-by: unknown <aibayanyu20>
2023-10-17 18:55:10 +08:00
bowen 7786a81e76
docs(menu): fix typo (#7025) 2023-10-17 10:53:20 +08:00
tangjinzhou 6f89185fe1 release 4.0.4 2023-10-16 16:19:34 +08:00
Konv Suu 449adb03df
fix: setContainer in onBeforeMount for drawer (#6986)
* fix: setContainer in onBeforeMount for drawer

* fix: add judgement
2023-10-16 15:56:28 +08:00
tangjinzhou 4428423be4 fix: select dropdown custom input error #7020 2023-10-16 15:51:44 +08:00
selicens 380fcd4aa9
fix(Select): dropdownRender inside dropdown box disappears when the input box gains focus (#7020)
Co-authored-by: undefined <undefined>
2023-10-16 15:03:37 +08:00
tangjinzhou 4a1296bb3f fix: code error #7001 2023-10-16 14:35:19 +08:00
selicens b9c65656db
fix(select): list scrollbar height and timing (#6987) (#7001)
* fix: select scrollbar height

* fix: mousemove appear scrollbar

* Update List.tsx

* Update List.tsx

---------

Co-authored-by: undefined <undefined>
Co-authored-by: tangjinzhou <415800467@qq.com>
2023-10-16 14:33:37 +08:00
selicens f1bcf2093a
fix(FloatButton): BackTop attribute invalid (#7009)
* fix(FloatButton): BackTop attribute invalid

* fix: attribute props

* fix: Remove default slot

---------

Co-authored-by: undefined <undefined>
2023-10-16 14:21:39 +08:00
selicens 398710cf1b
feat(Form): FormItem add tooltip attributes (#7014)
* feat(Form): FormItem add tooltip attributes

* fix: Delete duplicate types

* fix: Remove excess slots and types

* Update FormItemLabel.tsx

---------

Co-authored-by: undefined <undefined>
Co-authored-by: tangjinzhou <415800467@qq.com>
2023-10-16 14:20:32 +08:00
黄小民 858c4ec409
fix bug:#6911 a-range-picker canot close when set popContainer (#6994)
* fix bug:#6911 a-range-picker 组件选择完之后下拉面板无法收起的问题

* update prettier to 3.0.3

* Update package.json

* Update package.json

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-10-16 11:42:55 +08:00
一堆菠萝 77eab3637c
docs(pagination): fix pageSizeOptions API (#7010) 2023-10-16 10:39:56 +08:00
Konv Suu 664711373c
fix(drawer): wrapper style pass to drawer content (#6983) 2023-10-16 09:57:27 +08:00
Konv Suu 21d85ea82c
fix(form-item): initialValue issue in resetField (#6979) 2023-10-16 09:54:41 +08:00
Konv Suu b3ef24963f
fix(checkbox): get disabled prop from parent (#6970) 2023-10-16 09:53:29 +08:00
Konv Suu f953482a4d
chore: remove repeat type (#6962) 2023-10-16 09:51:13 +08:00
Cherry7 a9f9899185
fix(useMessage): closeIcon (#6957)
* fix(useMessage): closeIcon

* chore: del debugger
2023-10-16 09:50:38 +08:00
果冻橙 c99e9b00bd
fix: chrome 117 onCancel event (#6991) 2023-10-16 09:48:13 +08:00
Nitin Ramnani 3084ced55f
test: Added testcases for Tour Component (#7000) 2023-10-16 09:46:04 +08:00
Konv Suu c5ea668e88
chore: provide esm output file in dist (#6966) 2023-10-16 09:44:54 +08:00
Konv Suu 3c5fb84542
fix(vc-image): remove repeat listener (#6945) 2023-09-15 14:25:48 +08:00
Konv Suu 2f7f0e6928
fix(message): getContainer prop doesn't work (#6942) 2023-09-15 14:21:22 +08:00
agoni1212 2c4d4650da
docs: typo (#6941) 2023-09-15 14:19:15 +08:00
Konv Suu 0f1ffc99cd
chore: optimize startup performance (#6952) 2023-09-15 14:18:44 +08:00
tangjinzhou 83d6c93765 release 4.0.3 2023-09-10 11:03:59 +08:00
tangjinzhou a6c945caaa fix: support shadow dom, close #6912 2023-09-10 10:36:30 +08:00
tangjinzhou d0f7c34497 chore: update cssinjs 2023-09-09 23:31:44 +08:00
tangjinzhou 2b8f2adcbf fix: icons support shadow dom, close #6914 2023-09-09 21:50:57 +08:00
Attacktive f25bf6e189
docs: correct simple copy-paste error (#6924) 2023-09-09 09:21:18 +08:00
Konv Suu 93415d0442
docs: mobile drawer menu trigger (#6927) 2023-09-09 09:20:46 +08:00
Konv Suu d185a3af21
docs: update dynamic form item demo (#6930) 2023-09-09 09:19:16 +08:00
tangjinzhou d3800b54a3 chore: update github workflow 2023-09-09 09:11:20 +08:00
tangjinzhou b7eed32484 docs: update img link 2023-09-02 21:06:07 +08:00
Konv Suu 46be19531d
docs: add hide code btn in the bottom for code box (#6917) 2023-09-01 09:35:37 +08:00
tangjinzhou 089548ed74 release 4.0.2 2023-08-31 08:05:31 +08:00
Konv Suu ce72484623
fix(transfer): checkbox click evt run repeatedly (#6902) 2023-08-31 07:47:10 +08:00
tangjinzhou 31d00bf7d1 chore: update lit & format 2023-08-30 22:48:17 +08:00
tangjinzhou deada0aeb8 chore: udpate lint, close #6896 2023-08-30 21:44:03 +08:00
Konv Suu 418d8b33dd
fix(modal): add onUpdate:open prop (#6876) 2023-08-30 16:18:54 +08:00
24min 3c05b7704b
fix(ImageGroup):fix open imagegroup without animation (#6898) 2023-08-30 16:10:03 +08:00
Konv Suu 1254677805
fix: table expandColumnTitle slot type declaration (#6908) 2023-08-30 16:08:01 +08:00
Konv Suu f7cc27b7ad
fix: onAfterClose init flip value (#6913) 2023-08-30 16:07:35 +08:00
tangjinzhou 9855e43805 fix: button wave error, close #6895 2023-08-30 16:05:54 +08:00
Konv Suu 1f01ae0728
docs: nav-phone-icon display normal (#6906) 2023-08-30 15:39:15 +08:00
Konv Suu 9464158c0c
docs(modal): remove obsolete apis (#6904) 2023-08-30 15:38:39 +08:00
24min 13a4470fd8
docs:fix full-screen modal on the presentation documentation has no effect (#6905) 2023-08-30 15:37:13 +08:00
cc hearts 84fb4b4b3d
docs: github icon support hover tips and optimized the background (#6899)
* docs: github icon support hover tips and optimized the background color under hover

* refactor: modify icon to `icon` export

* style: optimize githubIcon style
2023-08-30 15:36:18 +08:00
cc hearts 106750ed62
docs[FormItem]: update FormItem name attribute type (#6897) 2023-08-30 15:35:20 +08:00
tangjinzhou cac650737c docs: add align #6885 2023-08-30 15:26:59 +08:00
Konv Suu 95fa2547fe
docs: add judgement condition for contributor list (#6889) 2023-08-30 15:12:49 +08:00
Konv Suu 70102039c4
fix: default value for direction in configProvider (#6890)
* fix: default value for direction in configProvider

* update defaultConfigProvider
2023-08-30 15:12:10 +08:00
Konv Suu 7a0c2a384c
docs: improve footer & fix toc-affix (#6883) 2023-08-30 15:10:16 +08:00
tangjinzhou 72e148cae8 fix: portal error, close #6880 #6837 #6807 2023-08-30 15:07:27 +08:00
tangjinzhou 6c13c964c5 chore: update type 2023-08-22 14:53:50 +08:00
tangjinzhou 367ddff30e release 4.0.1 2023-08-22 14:37:57 +08:00
Konv Suu e3ad856543
fix(badge): dot with processing status (#6874)
* fix(badge): dot with processing status

* tests: update snapshot
2023-08-22 14:03:09 +08:00
Konv Suu 61df5e656f
fix(input-group): layout style (#6866)
* fix(input-group): layout style

* tests: update snapshot
2023-08-22 10:45:40 +08:00
Konv Suu 439fe840b4
docs(drawer): demo width overflow (#6872) 2023-08-22 10:05:39 +08:00
Konv Suu 197a00f6ea
docs: contributors list add last updated time (#6871) 2023-08-22 10:02:42 +08:00
tangjinzhou 3f99a7e985 docs: update readme 2023-08-21 14:31:04 +08:00
Konv Suu 9c0311546b
feat(input): add password visible feature (#6863)
* feat(input): modify visibilityToggle feature

* test: update snapshot and update test cases

* Update Password.tsx

* Update Password.tsx

* chore: update

* chore: update demo and test

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-08-18 17:03:16 +08:00
Kaivan Wong 7f5b630d72
docs: update the description for fieldNames fields. (#6835)
* fix: update the description for fieldNames fields.

* Update index.zh-CN.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-08-18 15:51:17 +08:00
selicens 65ccb447c9
feat(AutoComplete): add border less and customize clear button (#6829)
* feat: add border less

* feat: add customize clear button
2023-08-18 14:52:22 +08:00
tangjinzhou 18405e13b2 docs: update site style 2023-08-18 14:40:56 +08:00
Konv Suu 9e78b4a985
fix(tag): checkable tag don't pass class props (#6854), close #6850 2023-08-18 14:34:44 +08:00
Konv Suu 6cf5d79e2e
fix(tabs): animated tabs style (#6855), close #6804 2023-08-18 14:33:41 +08:00
Konv Suu 1abc33a9e7
docs: improve algolia dropdown menu shadow effect (#6845) 2023-08-18 14:24:36 +08:00
Konv Suu e39e998ecc
feat: pagination buttons transition style (#6832) 2023-08-18 14:23:50 +08:00
selicens cfd4aadc29
feat(Avatar): group add shape & synch demo (#6822) 2023-08-18 14:22:07 +08:00
Konv Suu 38dd977b4c
style: remove table's tr rounded corner (#6825) 2023-08-18 13:52:23 +08:00
selicens 72f9262d0a
feat(Tag): add border less & synch checkable (#6819) 2023-08-18 13:48:00 +08:00
cc-hearts c2d71fa7c3
docs[Form]: fix form docs code references (#6843)
* docs[Form]: fix form docs code references

* docs[Form]: fix form en docs code references

* docs[Form]: fix form en docs title
2023-08-18 11:11:54 +08:00
Cherry7 969dadb265
fix: image height (#6840), close #6836
* fix: image height

* test: update snap
2023-08-18 11:10:44 +08:00
No Two 9c3bf46108
fix: fix spelling of words in code. (#6839) 2023-08-18 11:08:47 +08:00
Konv Suu 141f0100d2
docs: improve site page (#6826) 2023-08-18 11:07:22 +08:00
Konv Suu 6ced156342
docs: add icon search input (#6828)
* docs: add icon search input

* docs: add affix for search input
2023-08-18 11:05:17 +08:00
selicens 42608a5121
docs: add contributors list (#6842) 2023-08-18 11:03:57 +08:00
Konv Suu 22b21cdac8
docs: use a-space replace br in demo (#6861) 2023-08-18 11:03:03 +08:00
Zev Zhu 80a5b531f6
feat: add px2rem in cssinjs (#6817)
* fix: fix table column data is passed into chlidren is undefined or null errorr

* feat: add px2rem in cssinjs
2023-08-18 09:48:10 +08:00
内小子 cacbde3e03
fix(InputNumber): input-number mouseup (#6772)
* fix(InputNumber): input-number mouseup

* fix: replace  with onClick

---------

Co-authored-by: nbn <nabaonan@yunlizhihui.com>
2023-08-06 12:46:26 +08:00
tangjinzhou e3f09a18a1 feat: okText add function #6748 2023-08-06 12:44:16 +08:00
selicens 7bfe30d280
docs(Modal): confirm default oktext synch (#6745) (#6748)
* docs(Modal): confim default oktext synch

* fix: okText logic
2023-08-06 12:43:09 +08:00
Zev Zhu 53dc5daaaf
feat: add static-style-extract (#6713)
* docs: add ant-design-vue nuxt module

* feat: add static-style-extract

* docs: fix import defineProps and defineEmits

* feat: add static-style extract test

* fix: add ignore component

* feat:  calendar select support info.source param (#6697)

* docs: add ant-design-vue nuxt module

* feat: calendar select support info.source param

* docs: synchronous config-provider demo (#6706)

* revert: #6706

* feat: node error

* fix: Handle the output of styles in Server Side Rendering mode

* fix: fix value required error

* chore: change tests dirname

* fix: auchor warning

* chore: add tests

* chore: generate tests snap

* docs: add ssr docs

* docs: synchronous config-provider demo (#6706)

* revert: #6706

* docs: add extract ssr doc

* fix: Removing canUseDom does not have any effect.

* fix: remove range picker in picker map

* fix: watch source can only be a getter/effect function style warning

* fix: styleContext props maybe ref

* fix: remove black list component

* feat: add compChildNameMap

---------

Co-authored-by: selicens <1244620067@qq.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
2023-08-06 12:28:22 +08:00
Cherry7 531ae16553
fix: Dropdown show (#6757) 2023-08-06 11:50:43 +08:00
tangjinzhou d2b6eb9d94 docs: update site 2023-08-06 11:25:35 +08:00
tangjinzhou 27a4d8ceff
Revert "docs: banner adjust light and dark mode (#6799)" (#6816)
This reverts commit 826c183d0b.
2023-08-06 11:23:04 +08:00
tangjinzhou 12074a0dca Merge remote-tracking branch 'origin/feat-v4' 2023-08-06 11:18:07 +08:00
selicens 8f95cdd5a3
feat(App): add App component (#6735)
* feat(App): add App component

* docs: modification error

* docs: doucment update

docs: doucment update
2023-08-06 10:58:13 +08:00
Konv Suu cb0abe5fd5
docs: prev and next buttons only show cn title (#6806) 2023-08-06 10:52:49 +08:00
Konv Suu ed87500e77
docs: fix typo in en docs (#6805) 2023-08-06 10:51:50 +08:00
Konv Suu c01630113d
fix(input): prefix prop has not been passed (#6810), close #4809 2023-08-06 10:51:24 +08:00
Konv Suu 5279d1289a
fix(checkbox): change trigger form validation. (#6741) 2023-07-31 08:52:52 +08:00
Cherry7 9d406ab7ba
fix(PageHeader): ghost style (#6761)
* test(pageheader): update test snap

* fix: ghost style

* fix: ghost style

* chore(pageheader): update ghost demo

* test(pageheader): update test snap
2023-07-31 08:49:35 +08:00
Konv Suu 826c183d0b
docs: banner adjust light and dark mode (#6799) 2023-07-31 08:48:30 +08:00
tangjinzhou bc576d6255 docs: update treeselect 2023-07-29 12:21:21 +08:00
Cherry7 2c39273cc6
fix: autoplay (#6771) close #6768 2023-07-29 12:18:58 +08:00
Cherry7 b49540a339
feat: cssinjs add MULTI_VALUE key (#6770) 2023-07-29 12:17:14 +08:00
果冻橙 37059c38fd
fix dayjs is not excluded in dist (#6767) 2023-07-29 12:16:17 +08:00
黄小民 4fe57fa322
fix(table): expandedRowRender does't work(close #6782) (#6783) 2023-07-29 12:02:34 +08:00
Konv Suu a3ccdeffc2
feat(img): add img flip feature (#6785) 2023-07-29 11:18:34 +08:00
Konv Suu e8c2860c7d
fix(image): sensitivity of image scaling (#6784) 2023-07-29 11:18:22 +08:00
Fts f1f89191ee
fix: Update presetColor.tsx (#6790)
修复相互依赖的报错
2023-07-29 11:10:13 +08:00
Cherry7 0c863c1803
Update README.md (#6734) 2023-07-17 09:35:58 +08:00
selicens 7591d5c3e6
feat: float button support badge (#6738)
* docs(FloatButton): add badge demo

* fix(Badge): color attribute invalid
2023-07-17 09:35:19 +08:00
Simon He 4ea318be30
docs(drawer): fix typo (#6736) 2023-07-17 09:07:49 +08:00
tangjinzhou 5fd00c05b5 doc: update menu 2023-07-14 12:11:27 +08:00
tangjinzhou a2e50dc43e
Feat v4 (#6329)
* refactor(icon): remove style dir (#6215)

* refactor: rename locale

* refactor: locale-provider

* refactor: modal

* refactor: menu

* fix: custom class (#6217)

* refactor: tooltip

* refactor: grid (#6220)

* refactor: grid

* fix(grid): align & justify responsive

* chore: update demo and snapshot

* fix: row ts type not work

* doc: update demo

* refactor: ts

* refactor: spin (#6222)

* fix: typo (#6218)

* fix:  typo

* docs<upload>: docs update

* refactor: spin

* refactor: spin

* refactor: spin

* refactor: spinnn

* refactor: spin

---------

Co-authored-by: lyn <76365499@qq.com>

* fix: spin error #6222

* test: test case error (#6225)

* fix: inject value maybe undefined

* fix: tootip emit correct value

* fix: rollback warning suffix avoid test break

* doc(grid): remove unused type="flex"

* refactor: skeleton (#6224)

* refactor: skeleton

* refactor: skeleton style

* chore: modify skeleton demo style

* fix(button): link and text should not have wave (#6226)

* refactor: dropdown

* refactor: popover & popconfirm

* refactor(tag): less to cssinjs (#6227)

* refactor(empty): less to cssinjs (#6230)

* refactor(empty): less to cssinjs

* chore: remove unuse code

* fix: reactivity lose

* fix: empty props #6230

* refactor: progress style (#6234)

* refactor: progress

* refactor: progress style

* fix: progress attrs

* refactor: progress #6234

* refactor: switch (#6236)

* refactor: switch style

* refactor: delete switch style

* refactor:input (#6237)

* refactor:input

* fix inheritAttrs:false

* fix attrs.class

* feat: input add disabled

* refactor:comment (#6238)

* refactor:comment

* fix inheritAttrs: false & attrs.class

* refactor:pageheader (#6239)

* refactor:pageheader

* fix inheritAttrs: false & attrs.class

* refactor:statistic (#6240)

* refactor:statistic

* fix inheritAttrs: false & attrs.class

* refactor:list (#6241)

* refactor:list

* fix inheritAttrs: false & attrs.class

* feat: update type

* refactor(Space): less to cssinjs & add compact mode (#6229)

* refactor(Space): less to cssinjs & add compact mode

* chore(space): update md

* chore(space): add demo

* chore(space): add some demo

* feat(button): add compact mode

* fix: reactivity lose

* docs: fix props version

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* perf: space compact

* refactor:typography (#6244)

* refactor:typography

* fix return

* fix import type

* fix: typography #6244

* refactor:datepicker (#6245)

* refactor: datepicker type

* refactor: rate style (#6254)

* refactor(layout): less to cssinjs (#6249)

* doc: update layout cover

* refactor(result): less to cssinjs (#6246)

* refactor(result): less to cssinjs

* fix: class name is overridden

* docs: update result cover

* refactor:slider (#6250)

* feat: slider  deprecated tooltipVisible

* refactor(crad): less to cssinjs  (#6258)

* update

* switch

* Style adjustment

* refactor(Card): less to cssinjs

* Eliminate invalid code

* optimization and adjustment css

* Adjust the css

* Optimize each item

* adjustment css

* refactor: card #6258

* refactor:carousel (#6262)

* refactor:carousel

* docs:update & refactor: carousel type

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* refactor:transfer (#6247)

* refactor:transfer

* merge v4 branch & fix theme interface conflict

* docs:update & refactor: transfer type

* perf: transfer

* refactor:checkbox (#6248)

* refactor:checkbox

* docs:update & refactor: checkbox type

* feat: checkbox add disabled context

* refactor:pagination (#6251)

* refactor:pagination

* docs:update & refactor: pagination type

* style: update pagination props type

* refactor: mentions (#6255)

* refactor: mentions

* refactor: mentions menu provider

* doc: update mentions demo

* refcator:upload (#6261)

* refcator:upload

* docs:update & refactor: upload type

* Update style.ts

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* perf: upload motion

* refactor:timeline (#6263)

* refactor:timeline

* docs:update & refactor: timeline type

* perf: timeline

* refactor:steps (#6264)

* refactor:steps

* fix ...attrs

* fix StepsToken error

* docs:update & refactor: steps type

* fix: steps icon clss error

* refactor:collapse (#6266)

* refactor:collapse

* fix collapse props version

* docs:update & refactor: collapse type & fix collapsible

* feat: update collapse type

* refactor:inputnumber (#6265)

* refactor:inputnumber

* docs:update & refactor: inputnumber type

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* feat: number add compactSize & disabledContext

* refactor:table (#6267)

* refactor:table

* docs:update & refactor: table type

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* refactor: table

* feat: table add expandColumnTitle slot

* refactor:calendar (#6269)

* refactor:calendar

* docs:update

* refactor:timepicker (#6270)

* refactor:timepicker

* docs:update & refactor: timepicker type

* refactor:tree (#6276)

* Feat v4 fix type errors (#6285)

* fix compile type errors

* fix menuprops type import

* fix lint errors

* fix lint errors

* fix format error

* fix node version

* fix run dist error

* fix run lint

* fix as any

* fix string type

* refactor: rename locale file

* feat: tree add leafIcon

* [tabs] :less to cssinjs  (#6288)

* update

* switch

* Style adjustment

* refactor(Card): less to cssinjs

* tabs: less to cssinjs 开发ing

* add function cssinjs

* Eliminate irrelevant code

* Eliminate irrelevant code 2

* update components

* Eliminate irrelevant input  code

* refactor: tabs #6288

* feat: add segmented (#6286)

* refactor: segmented #6286

* refactor:select (#6295)

* refactor:select

* update doc

* delete useless

* feat: select add context size

* refactor: tree select (#6296)

* feat: tree-select add context size

* perf: table

* docs: update doc toc

* refactor: cascader

* refactor: auto-complete

* refactor: image

* refactor: drawer

* refactor:radio (#6299)

* refactor:radio

* fix attrs

* feat: radio add disabled context

* fix: some type & doc (#6292)

* fix: typo (#6218)

* fix:  typo

* docs<upload>: docs update

* fix: type of minute in props disabledDateTime of DatePicker (#6233)

* docs: typo (#6256)

* feat: tooltip added overlayInnerStyle attribute

* Update abstractTooltipProps.ts

* Update Tooltip.tsx

---------

Co-authored-by: lyn <76365499@qq.com>
Co-authored-by: H1mple <35363759+baohangxing@users.noreply.github.com>
Co-authored-by: tangjinzhou <415800467@qq.com>

* refactor: form

* fix: directive not work

* fix: use open, remove visible

* doc: update cover

* refactor: remove not use code

* chore: update build script

* doc: update doc

* doc: refactor doc

* chore: update token error

* chore: update style

* refactor: rename _style to style

* fix: tag warning

* fix(dropdown): open invalid (#6316)

* feat: add watermark  (#6300)

* feat: add watermark

* feat: add watermark demo

* feat: add mutationObserver

* feat: add watermark demo

* refactor: watermark type

* doc: add theme-editor

* fix: inject value maybe undefined && tag style invalid (#6320)

* fix: inject value maybe undefined

* fix(tag): style invalid

* feat: add qrcode (#6315)

* feat: add qrcode

* fix: qrcode bug

* fix: qrcode value required

* refactor: props  deconstruct

* Feat v4 floatbutton (#6294)

* feat: add float-button components

* fix type &  demo display

* fix components entry

* fix review bug

* fix bug

* fix .value

* refactor: qrcode #6315

* refactor: float-button

* fix: groupsize context error

* fix: floatbutton animation not work

* Feat v4 theme editor (#6348)

* feat: add theme editor container

* feat: add theme editor layout

* add left panel

* add vue-colorful & fix bug

* 修复hue组件抖动问题

* fix bug && add demo

* fix bug

* fix demo preview

* fix theme editor components demo

* fix: token effect error

* Feat v4 theme editor (#6349)

* feat: add theme editor container

* feat: add theme editor layout

* add left panel

* add vue-colorful & fix bug

* 修复hue组件抖动问题

* fix bug && add demo

* fix bug

* fix demo preview

* fix theme editor components demo

* add theme editor token drawer

* add theme editor token drawer

* fix bug

* open commment

* fix error demo

* fix theme editor bug

* fix: cssinjs effect error

* doc: format code

* fix: tag click event not trigger

* release 4.0.0-alpha.1

* fix: qrcode type

* fix: remove not use file

* doc: update doc site

* doc: update site

* doc: fix theme editor bgcolor (#6358)

* fix: motion not work

* release 4.0.0-alpha.2

* fix: qrcode ; error, close #6362

* fix docs dark theme & add docs coverDark (#6367)

* fix docs dark theme & add docs coverDark

* fix theme Editor edit

* fix: dropdown divider disappear, close  #6365 (#6369)

* doc: update baner

* fix: button wave not work

* fix: ant-piker-cell-range-hover-end style error (#6373)

* fix: ant-piker-cell-range-hover-end style error

* feat: be consistent with antd

* feat: be consistent with antd

* fix: ConfigProvider error for style, close #6368

* release 4.0.0-alpha.4

* style: add dark style for `pre` and `code` (#6382)

* docs: version menu (#6390)

* Feat(DatePicker): increase presets prop (#6387)

* feat(date-picker): add PresetDate type

* feat(date-picker): add usePresets hook

* feat(date-picker): add PresetPanel Component

* feat(date-picker): add PresetPanel Component

* feat(demo): update Preset Ranges Examples

* feat(docs): add new prop presets

* feat(docs): add new prop presets with english

* fix(RangePicker): footer is not managed by panels

* chore(Picker): prefixCls default rc-picker

* chore(date-picker): update presetted-ranges demo

* chore(date-picker): update rangePickerProps'presets

* feat(date-picker): presets reactively processing

* chore(date-picker): update type

* refactor(RangePicker): deprecated ranges prop

* chore(date-picker): update type

* chore(PickerPanel): del notuse panelRef

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* fix: datepicker presets error #6387

* docs: update datepicker doc #6387

* feat(Steps): add items prop and variants (#6406)

* refactor(steps): add items prop and variants

* feat(steps): add Label Placement and Inline Steps demo

* feat(steps): Label Placement and Inline Steps snap

* test(steps): Steps demo snap

* feat(Steps): update docs

* fix(Step): progressDot

* chore(useLegacyItems): change from warning to devWarning

* refactor(Steps): Remove useLegacyItems

* refactor(Steps): renderStep

* test(Steps): update test snapshot

* chore(Steps): filterEmpty

* feat(Steps): update docs

* docs: update site

* refactor: steps #6406

* test: update steps

* perf: shallowRef instead ref

* fix(Modal): fix modal locale (#6423)

* feat(StyleProvider): add StyleProvider handle cssinjs features (#6415)

* feat(StyleProvider): StyleProvider

* feat(StyleProvider): refactor to  use context

* chore(StyleProvider): update AStyleProviderProps type

* chore(App): reback

* chore(StyleProvider): export StyleProvider

* feat(StyleProvider): update StyleProvider docs

* feat(StyleProvider): update StyleProvider docs

* feat(StyleProvider): add StyleProvider docs routes

* chore(StyleProvider): with useStyleProvider

* docs: update compatiple #6415

* feat(Progress): enhance size prop and add variants (#6409)

* refactor(progress): Progress size and add variants

* feat(progress): add `getsize`

* refactor(progress): Progress size and add variants

* chore(progress): update props type

* chore(progress): update props type

* feat(progress): update demo

* feat(progress): update docs

* test(progress): update test snap

* fix(Circle): Merging classes

* test(progress): update test snap

* feat(progress): add size demo

* test(progress): add size snapshot

* chore(Progress): reback Circle svg class change

* fix: progress borderRadius reactive #6409

* fix(defaultConfigProvider): add getPopupContainer (#6425), close #6419

* fix: qrcode size error, close #6418

* release 4.0.0-alpha.4

* fix: picker import error

* test: add QRCode unit testing (#6441)

* fix

* fix compile type errors

* fix menuprops type import

* fix lint errors

* fix lint errors

* fix format error

* fix node version

* fix run dist error

* fix run lint

* fix as any

* fix string type

* fix steps error & fix docs version select option & fix theme editor error

* fix(badge): badge props count default value error (#6433)

* docs: update site responsive

* fix: modal api method i18n not work, close #6438

* release 4.0.0-alpha.5

* chore(docs): update docs (#6446)

* docs(space): update demo

* docs(affix): update docs

* fix: cssinjs compatibility (#6454)

* feat: add convertLegacyToken

* docs: v4 vuedocs (#6468)

* fix introduce doc

* fix getting-started doc

* add migration-v4 doc

* fix docs

* Update migration-v4.zh-CN.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update getting-started.en-US.md

* Update getting-started.zh-CN.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* feat: remove backtop

* feat(anchor): add direction action (#6447)

* refactor(anchor): direction show

* refactor(anchor): update anchor css

* feat(anchor): update demo

* test(anchor): update demo test snap

* feat(anchor): update docs

* Update index.zh-CN.md

* Update index.en-US.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* feat: anchor add customTitle slot #6447

* docs: update doc anchor

* feat(menu): icon support function components with items and update demo (#6457)

* fix(menu): icon do not show problem

* fix(menu): icon do not show problem

* feat(menu): update demo

* test(menu): update demo snap

* chore(Menu): update docs

* test(Menu): update demo

* Update MenuItem.tsx

* Update SubMenu.tsx

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* doc: update menu icon

* feat: menu items icon add arg

* fix: antd.min error

* release 4.0.0-alpha.6

* fix: table resizable not work && type error (#6514)

* Refactor(demo): change options to composition api (#6499)

* feat(demo): A-B

* feat(demo): update B-checkbox

* feat(demo): update CheckBox -DatePicker

* feat(demo): update DatePicker - Form

* feat(demo): update Form - List

* feat(demo): update  List-pagination

* feat(demo): update  List - skeleton

* feat(demo): update  skeleton - switch

* feat(demo): update  skeleton - switch

* feat(demo): update   switch - upload

* feat(demo): update  watermark

* fix(demo): del hashId

* fix: submenu type lose theme

* fix: dropdown menu hide error

* fix: dealing with switching topics modal, notification, message does not take effect close #6512 (#6518)

* fix: resolve dark mode not support

* fix: unified expression

* feat(modal): add useModal (#6517)

* feat(modal): add useModal hook

* feat(modal): add HookModal demo

* test(modal): update HookModal demo snap

* feat(modal): update modal docs

* chore(modal): update modal type

* perf: useModal #6517

* release 4.0.0-beta.1

* docs: fix tab demo error

* fix(config-provider): fix ConfigProvider.config is not function close #6528 (#6529)

* Feat(use): add useMessage useNotification (#6527)

* feat(Message): add useMessage hook

* feat(Notification): add useNotification hook

* feat(Message): add Hook demo

* feat(Notification): add Hook demo

* test(Message): update demo snap

* test(Notification): update demo snap

* docs(Message): update docs with FAQ

* docs(Notification): update docs with FAQ

* refactor: useMessage #6527

* refactor: useNotification #6527

* release 4.0.0-beta.2

* docs(button): update demo with space (#6536)

* feat(button): demo space

* test(button): update demo snap

* chore(button): disabled demo Ghost space

* test(button): update disabled demo snap

* docs(introduce): update docs (#6539)

* docs(introduce): update docs

* docs(introduce): add Dollar

* Update introduce.zh-CN.md

* Update introduce.en-US.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* docs(customize-theme): update docs (#6540)

* fix introduce doc

* fix getting-started doc

* add migration-v4 doc

* fix docs

* Update migration-v4.zh-CN.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update getting-started.en-US.md

* Update getting-started.zh-CN.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md

* update customize-theme doc & fix migration-v4 error

* update customize-theme doc

* fix migration-v4 error

* remove SSR & shadowDom

* Update customize-theme.zh-CN.md

* Update customize-theme.en-US.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* fix: getPopupContainer not work

* release 4.0.0-beta.3

* release 4.0.0-beta.4

* docs: update grid docs (#6549)

Co-authored-by: zhuzhengjian <zhuzhengjian@hoteamsoft.com>

* test(alert): update demo with space (#6541)

* docs(alert): update demo with space

* docs(alert): update alert test snap

---------

Co-authored-by: zhuzhengjian <zhuzhengjian@hoteamsoft.com>

* fix: components bug & update docs (#6548)

* fix bug

* fix test case and update snapshot,fix space merge class

* docs(grid): update migrate docs && delete xxxl in grid docs (#6562)

* fix: segmentd disabled label is undefined (#6556)

* fix: segmentd disabled label is undefined

* fix: segmentd disabled label is undefined

* fix: segmentd disabled label is undefined

* fix(grid): remove grid xxxl attribute (#6572)

* fix: remove grid xxxl attribute

* docs: remove xxxl in grid docs

* fix: tooltip custom color error

* feat: remove Step __legacy

* feat: add tour (#6332)

* feat v4 add tour

* fix type error

* sync tour from antd5.4.6 & fix type error

* fix error

* refactor: tour #6332

* fix: tour center

* fix: picker support v-show

* test: update snap

* test: update tour test

* fix: tour-mask attrs pointer-events (#6577)

* fix: tour animated

* feat: support vue 3.3 slot type

* release 4.0.0-rc.1

* release 4.0.0-rc.2, close #6588

* 4.0.0-rc.3

* chore: remove vue private api

* fix: paginantion error, close #6590

* release 4.0.0-rc.4

* fix: checxbox style

* fix: pagination mini size style

* release 4.0.0-rc.5

* docs: update v4 tabs doc error(#6606) (#6607)

* docs: add ant-design-vue nuxt module (#6620)

* fix: layout-sider and menu transition style(#6637) (#6640)

* docs: fixed the style error of online demo (#6630)

* feat: checkbox label slot support use option label (#6642)

* docs: 📃change the default  setting of  "treeNodeFilterProp" from  "value" to "label"

* revert: ↩revert this config and create another pr to commit

* feat: checkbox label slot support use option label

* test: 🧪update checkbox *.snap file

---------

Co-authored-by: tangjinzhou <415800467@qq.com>

* fix: add disabledContext override with form components (#6618)

* fix: add disabledContext override with form components

* test: update snap

* fix: LabelWidth demo filename

* fix: fontsize spelling mistake

* fix(tour): target position (#6629)

* style: format lint

* docs(form): add form disabled demo (#6658)

* fix: comment node error

* release 4.0

* fix: portalWrapper add autoLock prop (#6687), close #6649

* fix: image animation & zindex, close #6675

* docs(QRCode): Synchronize QR code demonstration and add SVG (#6660)

* fix: Synchronize QR code demonstration and add SVG

* fix: responsive loss and invalid border style

* docs: synchronize antd5.6.3 QRCode color in dark mode

* feat:  calendar select support info.source param (#6697)

* docs: add ant-design-vue nuxt module

* feat: calendar select support info.source param

* docs: synchronous config-provider demo (#6706)

* revert: #6706

* docs: export space-compact types (#6716)

* release 4.0.0

---------

Co-authored-by: bqy_fe <1743369777@qq.com>
Co-authored-by: zkwolf <chenhao5866@gmail.com>
Co-authored-by: Zev Zhu <45655660+aibayanyu20@users.noreply.github.com>
Co-authored-by: lyn <76365499@qq.com>
Co-authored-by: 果冻橙 <shifeng199307@gmail.com>
Co-authored-by: songsong0707 <74165917+songsong0707@users.noreply.github.com>
Co-authored-by: yang <30883395+webvs2@users.noreply.github.com>
Co-authored-by: selicens <1244620067@qq.com>
Co-authored-by: 一堆菠萝 <53335668+JavanShen@users.noreply.github.com>
Co-authored-by: H1mple <35363759+baohangxing@users.noreply.github.com>
Co-authored-by: Cherry7 <79909910+CCherry07@users.noreply.github.com>
Co-authored-by: Konv Suu <2583695112@qq.com>
Co-authored-by: luoawai <32483950+luoawai@users.noreply.github.com>
Co-authored-by: 鱼见 <657715602@qq.com>
Co-authored-by: zhuzhengjian <zhuzhengjian@hoteamsoft.com>
Co-authored-by: Cupid Valentine <53572196+valcosmos@users.noreply.github.com>
Co-authored-by: 专业逮虾户aa <30494925+waldonUB@users.noreply.github.com>
Co-authored-by: PanStar <PanStar@users.noreply.github.com>
2023-07-14 11:58:27 +08:00
tangjinzhou 0a738a36b6
Merge branch 'main' into feat-v4 2023-07-14 11:56:19 +08:00
tangjinzhou 10f990d534 release 4.0.0 2023-07-14 11:54:46 +08:00
PanStar 8b5d71663a
docs: export space-compact types (#6716) 2023-07-14 10:08:30 +08:00
tangjinzhou 058e8ec542 revert: #6706 2023-07-03 21:40:54 +08:00
selicens f70b04c74f
docs: synchronous config-provider demo (#6706) 2023-07-03 21:29:54 +08:00
Zev Zhu 2ce4e7da82
feat: calendar select support info.source param (#6697)
* docs: add ant-design-vue nuxt module

* feat: calendar select support info.source param
2023-07-03 21:27:18 +08:00
huyikai a0e94978f5
docs: update upload demo ts
示例代码在运行时,ts类型报错.原因是试图在可能为 undefined 的对象上使用扩展运算符.
2023-07-03 21:25:29 +08:00
selicens fc5181d1d8
docs(QRCode): Synchronize QR code demonstration and add SVG (#6660)
* fix: Synchronize QR code demonstration and add SVG

* fix: responsive loss and invalid border style

* docs: synchronize antd5.6.3 QRCode color in dark mode
2023-06-28 10:11:52 +08:00
tangjinzhou 994707bd50 fix: image animation & zindex, close #6675 2023-06-25 10:55:27 +08:00
Cherry7 e9d26f2a7d
fix: portalWrapper add autoLock prop (#6687), close #6649 2023-06-25 06:51:25 +08:00
tangjinzhou 7fd0e4a225 release 4.0 2023-06-15 21:06:59 +08:00
tangjinzhou e229248053 fix: comment node error 2023-06-15 21:06:59 +08:00
selicens 10159941b9
docs(form): add form disabled demo (#6658) 2023-06-15 16:07:35 +08:00
tangjinzhou 9c26ab05d3 style: format lint 2023-06-15 13:38:17 +08:00
果冻橙 6861a77d29
fix(tour): target position (#6629) 2023-06-15 13:23:04 +08:00
Cherry7 308c30c738
fix: add disabledContext override with form components (#6618)
* fix: add disabledContext override with form components

* test: update snap

* fix: LabelWidth demo filename

* fix: fontsize spelling mistake
2023-06-15 11:17:58 +08:00
专业逮虾户aa afc1b84ed0
feat: checkbox label slot support use option label (#6642)
* docs: 📃change the default  setting of  "treeNodeFilterProp" from  "value" to "label"

* revert: ↩revert this config and create another pr to commit

* feat: checkbox label slot support use option label

* test: 🧪update checkbox *.snap file

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-06-15 11:11:24 +08:00
tangjinzhou 58f6d6ee28 Merge remote-tracking branch 'origin/main' into feat-v4 2023-06-15 11:05:14 +08:00
Cupid Valentine 7270855ce8
docs: fixed the style error of online demo (#6630) 2023-06-12 22:47:37 +08:00
selicens 19f0aea965
fix: layout-sider and menu transition style(#6637) (#6640) 2023-06-12 22:47:01 +08:00
专业逮虾户aa 8212237045
docs: 🐞change the default setting of "treeNodeFilterProp" from "va… (#6610)
* docs: 📃change the default  setting of  "treeNodeFilterProp" from  "value" to "label"

* revert: ↩revert this config and create another pr to commit
2023-06-01 15:03:54 +08:00
bqy_fe 80edf86d18
fix(image-group): props definition (#6621)
* fix(image-group): props definition

* feat: add ImageGroupProps type definition
2023-06-01 14:58:30 +08:00
Zev Zhu 6f032c9722
docs: add ant-design-vue nuxt module (#6620) 2023-06-01 14:57:23 +08:00
selicens 1001ff3834
docs(tabs): update v3-tabs doc erroe(#6606) (#6608) 2023-06-01 14:56:09 +08:00
selicens 6be947aeb9
docs: update v4 tabs doc error(#6606) (#6607) 2023-06-01 14:55:50 +08:00
Cherry7 3057cfe9ef
doc(TreeSelect): update fieldNames docs (#6623) 2023-06-01 14:55:17 +08:00
tangjinzhou 45ede0853b release 4.0.0-rc.5 2023-05-25 22:19:01 +08:00
tangjinzhou afb2619a81 fix: pagination mini size style 2023-05-25 22:18:34 +08:00
tangjinzhou 2bf85998ba fix: checxbox style 2023-05-25 21:57:35 +08:00
tangjinzhou 9cff5cb558
Update README.md (#6594) 2023-05-24 16:01:39 +08:00
tangjinzhou 42cb6871ee release 4.0.0-rc.4 2023-05-23 14:38:58 +08:00
tangjinzhou 508e8e3706 fix: paginantion error, close #6590 2023-05-23 14:38:26 +08:00
tangjinzhou fe3c2bdf89 chore: remove vue private api 2023-05-20 22:09:11 +08:00
tangjinzhou 64b9347fce 4.0.0-rc.3 2023-05-20 16:58:23 +08:00
tangjinzhou 96f940d834 release 4.0.0-rc.2, close #6588 2023-05-20 15:52:46 +08:00
tangjinzhou d3d37f08a2 Merge remote-tracking branch 'origin/main' into feat-v4 2023-05-20 15:50:21 +08:00
tangjinzhou 1e0cefa786 fix: table not work 2023-05-20 15:49:17 +08:00
tangjinzhou d49082008e Merge remote-tracking branch 'origin/main' into feat-v4 2023-05-19 10:15:43 +08:00
tangjinzhou bba322702e fix: ts error 2023-05-19 10:15:07 +08:00
tangjinzhou 1d0a2737a4 release 4.0.0-rc.1 2023-05-19 09:12:03 +08:00
tangjinzhou c9f0841628 feat: support vue 3.3 slot type 2023-05-18 23:30:34 +08:00
tangjinzhou 03760e3e3d Merge remote-tracking branch 'origin/main' into feat-v4 2023-05-18 23:23:43 +08:00
tangjinzhou 144bb2e6d5 feat: support vue 3.3 slot type 2023-05-18 22:53:21 +08:00
tangjinzhou b4258dc23d feat: support vue 3.3 slot type 2023-05-18 21:22:58 +08:00
tangjinzhou 9499a7fc86 fix: vue 3.3 type error 2023-05-18 16:22:12 +08:00
tangjinzhou c36f7e701f fix: tour animated 2023-05-18 07:23:46 +08:00
果冻橙 83017269ab
fix: tour-mask attrs pointer-events (#6577) 2023-05-18 07:19:48 +08:00
tangjinzhou 1c7b7a35f6 test: update tour test 2023-05-17 23:05:18 +08:00
tangjinzhou 28263bbe33 test: update snap 2023-05-17 22:57:15 +08:00
tangjinzhou 5aad611d4c fix: picker support v-show 2023-05-17 22:53:02 +08:00
tangjinzhou 429172b345 fix: tour center 2023-05-17 22:12:52 +08:00
tangjinzhou e5787c2ed2 refactor: tour #6332 2023-05-17 19:02:49 +08:00
果冻橙 698c0ff3b4
feat: add tour (#6332)
* feat v4 add tour

* fix type error

* sync tour from antd5.4.6 & fix type error

* fix error
2023-05-17 11:05:47 +08:00
tangjinzhou db4148af5a feat: remove Step __legacy 2023-05-17 09:23:44 +08:00
tangjinzhou 21cf533664 fix: tooltip custom color error 2023-05-16 22:49:17 +08:00
Zev Zhu 4c8cc0129f
fix(grid): remove grid xxxl attribute (#6572)
* fix: remove grid xxxl attribute

* docs: remove xxxl in grid docs
2023-05-16 22:30:18 +08:00
JerryHuang 6a1952c469
docs: Modify the error description of the upload component document (#6560) 2023-05-14 17:03:21 +08:00
selicens a694167f37
fix: segmentd disabled label is undefined (#6556)
* fix: segmentd disabled label is undefined

* fix: segmentd disabled label is undefined

* fix: segmentd disabled label is undefined
2023-05-14 17:02:07 +08:00
Zev Zhu 3ed455b3f7
docs(grid): update migrate docs && delete xxxl in grid docs (#6562) 2023-05-14 17:01:26 +08:00
果冻橙 e49e72d24a
fix: components bug & update docs (#6548)
* fix bug

* fix test case and update snapshot,fix space merge class
2023-05-14 16:59:56 +08:00
Zev Zhu 149cedd262
test(alert): update demo with space (#6541)
* docs(alert): update demo with space

* docs(alert): update alert test snap

---------

Co-authored-by: zhuzhengjian <zhuzhengjian@hoteamsoft.com>
2023-05-11 23:29:19 +08:00
Zev Zhu 8bf8515933
docs: update grid docs (#6549)
Co-authored-by: zhuzhengjian <zhuzhengjian@hoteamsoft.com>
2023-05-11 23:28:47 +08:00
Cherry7 f5bea1413b
docs(demo): stripe dark (#6542) 2023-05-11 23:23:08 +08:00
tangjinzhou 0d24755ee3 release 4.0.0-beta.4 2023-05-08 16:39:33 +08:00
tangjinzhou f2f7cfd94d release 4.0.0-beta.3 2023-05-08 16:09:50 +08:00
tangjinzhou d933605b56 fix: getPopupContainer not work 2023-05-08 16:09:29 +08:00
果冻橙 266482deca
docs(customize-theme): update docs (#6540)
* fix introduce doc

* fix getting-started doc

* add migration-v4 doc

* fix docs

* Update migration-v4.zh-CN.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update getting-started.en-US.md

* Update getting-started.zh-CN.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md

* update customize-theme doc & fix migration-v4 error

* update customize-theme doc

* fix migration-v4 error

* remove SSR & shadowDom

* Update customize-theme.zh-CN.md

* Update customize-theme.en-US.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-05-08 10:03:07 +08:00
gongshun 1deefa8b7f
chore: modify the babel configuration (#6532)
* chore: modify the babel configuration

* fix: 参考 antd-tools 的代码
2023-05-07 20:39:19 +08:00
Cherry7 fd8af2322c
docs(introduce): update docs (#6539)
* docs(introduce): update docs

* docs(introduce): add Dollar

* Update introduce.zh-CN.md

* Update introduce.en-US.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-05-07 20:36:58 +08:00
Cherry7 9fdc297686
docs(button): update demo with space (#6536)
* feat(button): demo space

* test(button): update demo snap

* chore(button): disabled demo Ghost space

* test(button): update disabled demo snap
2023-05-07 20:33:24 +08:00
tangjinzhou fded418b8a release 4.0.0-beta.2 2023-05-05 11:59:37 +08:00
tangjinzhou feffe70ebb refactor: useNotification #6527 2023-05-05 11:55:42 +08:00
tangjinzhou 02ed988cba refactor: useMessage #6527 2023-05-05 11:01:57 +08:00
Cherry7 6eb4d8f5c5
Feat(use): add useMessage useNotification (#6527)
* feat(Message): add useMessage hook

* feat(Notification): add useNotification hook

* feat(Message): add Hook demo

* feat(Notification): add Hook demo

* test(Message): update demo snap

* test(Notification): update demo snap

* docs(Message): update docs with FAQ

* docs(Notification): update docs with FAQ
2023-05-05 09:59:57 +08:00
Zev Zhu b61c88e5df
fix(config-provider): fix ConfigProvider.config is not function close #6528 (#6529) 2023-05-05 09:41:34 +08:00
tangjinzhou ac93c476d1 docs: fix tab demo error 2023-05-03 15:35:46 +08:00
tangjinzhou db46965761 release 4.0.0-beta.1 2023-05-03 15:10:52 +08:00
tangjinzhou 5578c14a8e perf: useModal #6517 2023-05-03 15:09:01 +08:00
Cherry7 69640c0af8
feat(modal): add useModal (#6517)
* feat(modal): add useModal hook

* feat(modal): add HookModal demo

* test(modal): update HookModal demo snap

* feat(modal): update modal docs

* chore(modal): update modal type
2023-05-03 14:15:34 +08:00
tangjinzhou 0df6abe3a7 Merge remote-tracking branch 'origin/main' into feat-v4 2023-05-03 13:50:14 +08:00
Zev Zhu 045193e797
fix: passing a non-array as children to a table will result in an error. (#6521)
* fix: fix table column data is passed into chlidren is undefined or null errorr

* chore(menu): fix menu inline demo watch not trigger
2023-05-03 13:30:26 +08:00
Zhan Dong 3b37cc1ae7
fix(input-number): fix the issuse of missing id when use in form (#6519)
closed #6466
2023-05-03 13:28:47 +08:00
Zev Zhu b103b7570d
fix: dealing with switching topics modal, notification, message does not take effect close #6512 (#6518)
* fix: resolve dark mode not support

* fix: unified expression
2023-05-03 13:24:28 +08:00
Simon He b39f2b2d03
perf(anchor): reduce unnecessary calculations (#6516) 2023-05-03 13:14:59 +08:00
tangjinzhou 61d6312783 fix: dropdown menu hide error 2023-05-02 23:36:12 +08:00
tangjinzhou 98be7071e5 Merge remote-tracking branch 'origin/main' into feat-v4 2023-04-28 15:51:46 +08:00
tangjinzhou 5439e0c164 fix: submenu type lose theme 2023-04-28 15:37:29 +08:00
Cherry7 9be58078d2
Refactor(demo): change options to composition api (#6499)
* feat(demo): A-B

* feat(demo): update B-checkbox

* feat(demo): update CheckBox -DatePicker

* feat(demo): update DatePicker - Form

* feat(demo): update Form - List

* feat(demo): update  List-pagination

* feat(demo): update  List - skeleton

* feat(demo): update  skeleton - switch

* feat(demo): update  skeleton - switch

* feat(demo): update   switch - upload

* feat(demo): update  watermark

* fix(demo): del hashId
2023-04-28 14:08:21 +08:00
Simon He 019b539f16
perf(affix): reduce unnecessary calculations (#6509) 2023-04-28 14:04:35 +08:00
tangjinzhou ccf850552d release 3.2.20 2023-04-27 22:53:30 +08:00
tangjinzhou 858169aee3 fix: datePicker support empty, close #6510 2023-04-27 22:39:23 +08:00
tangjinzhou 80fbabc66f fix: space remounted slot, close #6500 2023-04-27 22:18:35 +08:00
tangjinzhou 6d1035f1b0 docs: add quarterOfYear, close #6508 2023-04-27 21:29:17 +08:00
果冻橙 063c06f9c6
fix: table resizable not work && type error (#6514) 2023-04-27 21:04:29 +08:00
tangjinzhou 43009f0c59 release 4.0.0-alpha.6 2023-04-23 19:33:19 +08:00
tangjinzhou ca0d8cc7c1 release 3.2.19 2023-04-23 19:20:44 +08:00
tangjinzhou 678ec079bc fix: antd.min error 2023-04-23 19:18:11 +08:00
tangjinzhou eba8f6b960 feat: menu items icon add arg 2023-04-23 15:52:31 +08:00
tangjinzhou 760c4c2695 doc: update menu icon 2023-04-23 15:00:34 +08:00
Cherry7 8ab50b1757
feat(menu): icon support function components with items and update demo (#6457)
* fix(menu): icon do not show problem

* fix(menu): icon do not show problem

* feat(menu): update demo

* test(menu): update demo snap

* chore(Menu): update docs

* test(Menu): update demo

* Update MenuItem.tsx

* Update SubMenu.tsx

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-04-23 14:23:15 +08:00
tangjinzhou 12c9e0c3fb release 3.2.18 2023-04-23 13:40:28 +08:00
tangjinzhou b0990b7323 Merge remote-tracking branch 'origin/main' into feat-v4 2023-04-23 11:02:19 +08:00
tangjinzhou c36b69d7bd fix: ts error 2023-04-22 22:17:17 +08:00
Zhan Dong 8e5431886a
feat: Add focus and blur methods to buttons (#6490), close #6483
* feat(button): add methods for focus and blur

closed #6483

* docs(button): add focus methods doc
2023-04-22 21:21:15 +08:00
tangjinzhou 5376014b33 docs: update doc anchor 2023-04-21 22:29:04 +08:00
tangjinzhou bccd9204e8 feat: anchor add customTitle slot #6447 2023-04-21 21:29:20 +08:00
Cherry7 8932aff13f
feat(anchor): add direction action (#6447)
* refactor(anchor): direction show

* refactor(anchor): update anchor css

* feat(anchor): update demo

* test(anchor): update demo test snap

* feat(anchor): update docs

* Update index.zh-CN.md

* Update index.en-US.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-04-21 17:33:38 +08:00
tangjinzhou de00607dc7 feat: remove backtop 2023-04-21 16:19:41 +08:00
果冻橙 118ae9a50b
docs: v4 vuedocs (#6468)
* fix introduce doc

* fix getting-started doc

* add migration-v4 doc

* fix docs

* Update migration-v4.zh-CN.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update getting-started.en-US.md

* Update getting-started.zh-CN.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-04-21 15:46:40 +08:00
tangjinzhou 0683ede0fb feat: add convertLegacyToken 2023-04-21 14:52:32 +08:00
xihaoshangdi 634adae1c3
fix(a-form):fixed use props.name instead window.name (#6460) 2023-04-21 14:01:57 +08:00
Cherry7 95642610da
fix(Select): fix polite span effect (#6467) 2023-04-21 13:55:28 +08:00
xing.org1^ 69da428a51
fix(RangePicker): syntax errors (#6469) 2023-04-21 11:14:34 +08:00
tangjinzhou 78c8c9d791 fix: virtual list error at firefox, close #6470 2023-04-21 11:12:45 +08:00
Cherry7 c690f4188a
doc(transfer): tree-transfer disabled style (#6480) 2023-04-21 09:54:05 +08:00
果冻橙 838aa71b4b
fix: cssinjs compatibility (#6454) 2023-04-13 16:39:29 +08:00
Cherry7 2bf654da71
chore(docs): update docs (#6446)
* docs(space): update demo

* docs(affix): update docs
2023-04-12 21:25:23 +08:00
Cherry7 bf5fcdc269
docs(DatePicker): update docs (#6450) 2023-04-12 21:22:14 +08:00
tangjinzhou 515ab9e38c release 4.0.0-alpha.5 2023-04-08 22:02:52 +08:00
tangjinzhou d4f2e97ca9 fix: modal api method i18n not work, close #6438 2023-04-08 21:56:32 +08:00
tangjinzhou be90b53527 docs: update site responsive 2023-04-08 21:14:27 +08:00
鱼见 0b85b84dcf
fix(badge): badge props count default value error (#6433) 2023-04-08 21:05:12 +08:00
果冻橙 4e277ea9bb
fix
* fix compile type errors

* fix menuprops type import

* fix lint errors

* fix lint errors

* fix format error

* fix node version

* fix run dist error

* fix run lint

* fix as any

* fix string type

* fix steps error & fix docs version select option & fix theme editor error
2023-04-08 20:57:46 +08:00
selicens bf97057c2c
test: add QRCode unit testing (#6441) 2023-04-08 20:56:35 +08:00
tangjinzhou 637656b0c3 fix: picker import error 2023-04-06 17:31:51 +08:00
tangjinzhou 0e1b7fd94f release 4.0.0-alpha.4 2023-04-06 17:12:50 +08:00
tangjinzhou 33d1553908 fix: qrcode size error, close #6418 2023-04-06 17:09:04 +08:00
Cherry7 2eaad16331
fix(defaultConfigProvider): add getPopupContainer (#6425), close #6419 2023-04-06 15:56:58 +08:00
tangjinzhou 58998c4978 fix: progress borderRadius reactive #6409 2023-04-06 15:40:10 +08:00
Cherry7 7db4265616
feat(Progress): enhance size prop and add variants (#6409)
* refactor(progress): Progress size and add variants

* feat(progress): add `getsize`

* refactor(progress): Progress size and add variants

* chore(progress): update props type

* chore(progress): update props type

* feat(progress): update demo

* feat(progress): update docs

* test(progress): update test snap

* fix(Circle): Merging classes

* test(progress): update test snap

* feat(progress): add size demo

* test(progress): add size snapshot

* chore(Progress): reback Circle svg class change
2023-04-06 15:11:58 +08:00
tangjinzhou 8a3ed32254 docs: update compatiple #6415 2023-04-06 14:46:47 +08:00
Cherry7 1151bdad0f
feat(StyleProvider): add StyleProvider handle cssinjs features (#6415)
* feat(StyleProvider): StyleProvider

* feat(StyleProvider): refactor to  use context

* chore(StyleProvider): update AStyleProviderProps type

* chore(App): reback

* chore(StyleProvider): export StyleProvider

* feat(StyleProvider): update StyleProvider docs

* feat(StyleProvider): update StyleProvider docs

* feat(StyleProvider): add StyleProvider docs routes

* chore(StyleProvider): with useStyleProvider
2023-04-06 11:07:55 +08:00
luoawai 84037f8eef
fix(Modal): fix modal locale (#6423) 2023-04-06 10:56:10 +08:00
tangjinzhou 3e46f27b59 perf: shallowRef instead ref 2023-04-05 22:03:02 +08:00
tangjinzhou 719847901e test: update steps 2023-04-05 17:04:02 +08:00
tangjinzhou fbfec0a062 refactor: steps #6406 2023-04-05 16:28:49 +08:00
tangjinzhou 9a5cbeee50 docs: update site 2023-04-05 13:50:08 +08:00
Cherry7 b0125de963
feat(Steps): add items prop and variants (#6406)
* refactor(steps): add items prop and variants

* feat(steps): add Label Placement and Inline Steps demo

* feat(steps): Label Placement and Inline Steps snap

* test(steps): Steps demo snap

* feat(Steps): update docs

* fix(Step): progressDot

* chore(useLegacyItems): change from warning to devWarning

* refactor(Steps): Remove useLegacyItems

* refactor(Steps): renderStep

* test(Steps): update test snapshot

* chore(Steps): filterEmpty

* feat(Steps): update docs
2023-04-05 13:39:40 +08:00
tangjinzhou bf1e6fec95 docs: update datepicker doc #6387 2023-04-05 13:30:31 +08:00
tangjinzhou 5f1cb0d240 fix: datepicker presets error #6387 2023-04-05 13:29:08 +08:00
Cherry7 f6daa8d28f
Feat(DatePicker): increase presets prop (#6387)
* feat(date-picker): add PresetDate type

* feat(date-picker): add usePresets hook

* feat(date-picker): add PresetPanel Component

* feat(date-picker): add PresetPanel Component

* feat(demo): update Preset Ranges Examples

* feat(docs): add new prop presets

* feat(docs): add new prop presets with english

* fix(RangePicker): footer is not managed by panels

* chore(Picker): prefixCls default rc-picker

* chore(date-picker): update presetted-ranges demo

* chore(date-picker): update rangePickerProps'presets

* feat(date-picker): presets reactively processing

* chore(date-picker): update type

* refactor(RangePicker): deprecated ranges prop

* chore(date-picker): update type

* chore(PickerPanel): del notuse panelRef

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-04-05 10:56:07 +08:00
tangjinzhou 48ab5a2f99 Merge remote-tracking branch 'origin/main' into feat-v4 2023-04-05 10:05:59 +08:00
Cherry7 1977074a7e
fix(dayjs): cannot handle week and quarter String + Format (#6385)
* fix(generateRangePicker): onChange type

* fix(dayjs): cannot handle week's String + Format

* test(date-picker): update snap

* test(date-picker): add WeekPicker valueFormat case

* refactor(dayjs): todate support week and quarter

* test(QuarterPicker): test QuarterPicker valueFormat

* chore(QuarterPicker): findTargetStr rename

* test(DatePicker): update demo snap
2023-04-05 09:47:51 +08:00
tangjinzhou 72508d864b
Revert "fix: useMergedState is not updated in time (#6402)" (#6421)
This reverts commit 670ff3f857.
2023-04-05 09:32:56 +08:00
siaikin 670ff3f857
fix: useMergedState is not updated in time (#6402)
Co-authored-by: siaikin <abc131054026@outlook.com>
2023-04-05 08:25:18 +08:00
HeyXml a8294a9f79
docs: pull request branch in EN and CN introduce docs (#6404) 2023-04-04 23:44:24 +08:00
Dmytro Lukashenko 9445dd23c8
fix: fix bug with render class ant-upload-drag-container in dom (#6413)
Co-authored-by: Dmytro Lukashenko <dmytro.lukashenko@levi9.com>
2023-04-04 23:43:11 +08:00
HeyXml 2a5b18ac6e
fix: fix form error style for input addonAfter slot when disabled (#6403), close #6374 2023-04-04 23:04:46 +08:00
tangjinzhou 65408bfd48 release 3.2.17 2023-04-04 22:40:53 +08:00
tangjinzhou a8823f523c revert: dropdown #6324, close #6400, #6405 2023-04-04 22:32:55 +08:00
tangjinzhou f4b47ad94b
Delete translate.yml 2023-03-31 21:56:54 +08:00
Szymon Jędrych b16c89fcd2
docs(introduce): fix urls to components overwiev, fix links to PR templates (#6389)
* Move pull request template to PULL_REQUEST_TEMPLATE folder, rename english template to pr_en, fix url

* Fix urls to components in EN and CN introduce docs

* Fix url to chinese pr template
2023-03-27 08:17:09 +08:00
Cherry7 ae27d430e5
docs: version menu (#6390) 2023-03-27 08:16:03 +08:00
Konv Suu 9dbe035efe
style: add dark style for `pre` and `code` (#6382) 2023-03-27 08:11:29 +08:00
wheeljs 7ebabb3778
docs(upload): duplicated prop `directory` (#6378)
Co-authored-by: will.tian <will.tian@hyatt.com>
2023-03-27 08:10:49 +08:00
tangjinzhou 051161f102 release 3.2.16 2023-03-23 14:11:54 +08:00
tangjinzhou 9802fb3ea1 test: update snap 2023-03-23 14:11:40 +08:00
tangjinzhou 5fd866b136 format: inputnumber util 2023-03-23 11:56:15 +08:00
Cherry7 d956eed086
Fix form type prompt (#6375)
* fix(FormITem): Change from ValidationRule to Rule

* fix(FormI): from props type
2023-03-23 10:37:13 +08:00
tangjinzhou 6d60eba281 release 4.0.0-alpha.4 2023-03-21 15:09:00 +08:00
tangjinzhou bfcbd5bdef fix: ConfigProvider error for style, close #6368 2023-03-21 15:08:16 +08:00
Cherry7 4d2a37fcd3
fix: ant-piker-cell-range-hover-end style error (#6373)
* fix: ant-piker-cell-range-hover-end style error

* feat: be consistent with antd

* feat: be consistent with antd
2023-03-21 14:08:37 +08:00
ming e5e20cca5b
feat[data-picker]: improve format types and docs (#6371)
Co-authored-by: xiamingming1 <xiamingming@jd.com>
2023-03-21 14:05:57 +08:00
tangjinzhou dcc3bb10cb fix: button wave not work 2023-03-20 16:45:26 +08:00
tangjinzhou 7d1418d9f4 doc: update baner 2023-03-20 13:36:49 +08:00
zkwolf 3653f37d6b
fix: dropdown divider disappear, close #6365 (#6369) 2023-03-20 13:32:23 +08:00
果冻橙 f265a7bb02
fix docs dark theme & add docs coverDark (#6367)
* fix docs dark theme & add docs coverDark

* fix theme Editor edit
2023-03-20 11:15:02 +08:00
tangjinzhou 89314fb4d0 fix: qrcode ; error, close #6362 2023-03-17 10:27:17 +08:00
tangjinzhou b1f38eb2ec release 4.0.0-alpha.2 2023-03-16 14:42:15 +08:00
tangjinzhou d95861aa90 fix: motion not work 2023-03-16 14:41:44 +08:00
Jobin 0a610d818f
fix: Export the types referenced in the Props of the Slider component for external use. (#6357) 2023-03-16 08:28:54 +08:00
果冻橙 5cc85f3cc1
doc: fix theme editor bgcolor (#6358) 2023-03-16 08:27:37 +08:00
tangjinzhou 98c361cbad doc: add qq 2023-03-15 11:17:23 +08:00
tangjinzhou 2ac1e1d42a doc: add next site nav 2023-03-15 10:57:38 +08:00
tangjinzhou f3935ebb4f doc: update site 2023-03-14 13:38:47 +08:00
tangjinzhou 11c52d487d doc: update doc site 2023-03-14 10:30:18 +08:00
tangjinzhou 295c417f49 fix: remove not use file 2023-03-13 21:24:27 +08:00
tangjinzhou 27c5a6c96a fix: qrcode type 2023-03-13 15:22:48 +08:00
tangjinzhou fc7cadb3f9 release 4.0.0-alpha.1 2023-03-13 15:08:43 +08:00
tangjinzhou ad1d6443f2 fix: tag click event not trigger 2023-03-13 12:08:38 +08:00
tangjinzhou 77d0d188f0 doc: format code 2023-03-13 11:58:59 +08:00
tangjinzhou b22bd85828 fix: cssinjs effect error 2023-03-13 11:11:40 +08:00
果冻橙 f819a1b209
Feat v4 theme editor (#6349)
* feat: add theme editor container

* feat: add theme editor layout

* add left panel

* add vue-colorful & fix bug

* 修复hue组件抖动问题

* fix bug && add demo

* fix bug

* fix demo preview

* fix theme editor components demo

* add theme editor token drawer

* add theme editor token drawer

* fix bug

* open commment

* fix error demo

* fix theme editor bug
2023-03-13 09:54:21 +08:00
tangjinzhou dde2ff140d fix: token effect error 2023-03-12 23:48:46 +08:00
果冻橙 f429148734
Feat v4 theme editor (#6348)
* feat: add theme editor container

* feat: add theme editor layout

* add left panel

* add vue-colorful & fix bug

* 修复hue组件抖动问题

* fix bug && add demo

* fix bug

* fix demo preview

* fix theme editor components demo
2023-03-12 15:15:52 +08:00
tangjinzhou 23a213acda Merge remote-tracking branch 'origin/main' into feat-v4 2023-03-08 13:44:43 +08:00
tangjinzhou 6fb47874a3 fix: image preview error #6333 2023-03-08 13:43:47 +08:00
tangjinzhou d241a06f9d Merge remote-tracking branch 'origin/main' into feat-v4 2023-03-04 08:37:28 +08:00
Zz-ZzzZ 3d2d5fdd99
fix(dropdown): fix close popup doesn't emit 'visibleChange' event (#6324)
* fix(dropdown): fix close popup doesn't emit 'visibleChange' event

* Update Dropdown.tsx

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-03-03 21:45:53 +08:00
tangjinzhou 1d9a521669 fix: floatbutton animation not work 2023-03-03 17:25:11 +08:00
tangjinzhou a04cae1221 fix: groupsize context error 2023-03-03 17:13:48 +08:00
tangjinzhou add208aefb refactor: float-button 2023-03-03 16:58:47 +08:00
tangjinzhou 355c41b4aa refactor: qrcode #6315 2023-03-03 14:56:23 +08:00
果冻橙 3f5f3ecabf
Feat v4 floatbutton (#6294)
* feat: add float-button components

* fix type &  demo display

* fix components entry

* fix review bug

* fix bug

* fix .value
2023-03-02 10:59:44 +08:00
selicens 41a455f881
feat: add qrcode (#6315)
* feat: add qrcode

* fix: qrcode bug

* fix: qrcode value required

* refactor: props  deconstruct
2023-03-02 10:46:16 +08:00
zkwolf eda7247c2c
fix: inject value maybe undefined && tag style invalid (#6320)
* fix: inject value maybe undefined

* fix(tag): style invalid
2023-02-28 21:57:11 +08:00
tangjinzhou f85485e733 doc: add theme-editor 2023-02-28 16:47:38 +08:00
tangjinzhou a1e967dfc2 refactor: watermark type 2023-02-28 11:01:43 +08:00
Zev Zhu 6058ca5576
feat: add watermark (#6300)
* feat: add watermark

* feat: add watermark demo

* feat: add mutationObserver

* feat: add watermark demo
2023-02-28 10:35:10 +08:00
zkwolf dd063b8275
fix(dropdown): open invalid (#6316) 2023-02-28 10:25:46 +08:00
tangjinzhou 9c6a9fb47c fix: tag warning 2023-02-27 16:06:26 +08:00
tangjinzhou 516b2e5a0c refactor: rename _style to style 2023-02-27 16:00:05 +08:00
tangjinzhou d3a919b0bf chore: update style 2023-02-27 15:54:40 +08:00
tangjinzhou 261e7d0857 chore: update token error 2023-02-27 11:00:19 +08:00
tangjinzhou b393a0a2dd doc: refactor doc 2023-02-24 23:58:46 +08:00
tangjinzhou 2b80870461 doc: update doc 2023-02-23 21:42:41 +08:00
tangjinzhou 33a47bc27a chore: update build script 2023-02-23 17:20:38 +08:00
tangjinzhou 53b146ab88 refactor: remove not use code 2023-02-23 17:19:50 +08:00
tangjinzhou f3ffcdbc7e doc: update cover 2023-02-23 12:21:23 +08:00
tangjinzhou 37b5d02b6d fix: use open, remove visible 2023-02-23 11:58:23 +08:00
tangjinzhou 1b51e6ffb3 fix: directive not work 2023-02-23 10:01:30 +08:00
tangjinzhou f39d4894e4 refactor: form 2023-02-21 23:11:05 +08:00
一堆菠萝 975d70e7ed
fix: some type & doc (#6292)
* fix: typo (#6218)

* fix:  typo

* docs<upload>: docs update

* fix: type of minute in props disabledDateTime of DatePicker (#6233)

* docs: typo (#6256)

* feat: tooltip added overlayInnerStyle attribute

* Update abstractTooltipProps.ts

* Update Tooltip.tsx

---------

Co-authored-by: lyn <76365499@qq.com>
Co-authored-by: H1mple <35363759+baohangxing@users.noreply.github.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
2023-02-21 14:10:35 +08:00
tangjinzhou c301c63e8b feat: radio add disabled context 2023-02-21 12:06:31 +08:00
果冻橙 e04f73dfef
refactor:radio (#6299)
* refactor:radio

* fix attrs
2023-02-21 11:33:54 +08:00
tangjinzhou 8fcb3fdfe3 refactor: drawer 2023-02-20 23:26:23 +08:00
tangjinzhou c7b15a96a8 refactor: image 2023-02-20 15:38:42 +08:00
tangjinzhou e8918ce589 refactor: auto-complete 2023-02-20 14:17:36 +08:00
tangjinzhou 62dda88ea0 refactor: cascader 2023-02-20 14:08:09 +08:00
tangjinzhou 3741931363 docs: update doc toc 2023-02-20 11:58:26 +08:00
tangjinzhou 7af22a70f9 perf: table 2023-02-20 11:15:17 +08:00
tangjinzhou 087dfa2f1b feat: tree-select add context size 2023-02-20 11:04:25 +08:00
果冻橙 799eeed346
refactor: tree select (#6296) 2023-02-20 10:32:25 +08:00
tangjinzhou 124aae72a4 feat: select add context size 2023-02-20 10:28:16 +08:00
果冻橙 39e5824699
refactor:select (#6295)
* refactor:select

* update doc

* delete useless
2023-02-20 00:17:22 +08:00
tangjinzhou 9df8317ece refactor: segmented #6286 2023-02-20 00:05:54 +08:00
selicens 62e7f94aba
feat: add segmented (#6286) 2023-02-18 16:16:44 +08:00
tangjinzhou 47385347ee refactor: tabs #6288 2023-02-17 23:14:26 +08:00
yang 6240ab2885
[tabs] :less to cssinjs (#6288)
* update

* switch

* Style adjustment

* refactor(Card): less to cssinjs

* tabs: less to cssinjs 开发ing

* add function cssinjs

* Eliminate irrelevant code

* Eliminate irrelevant code 2

* update components

* Eliminate irrelevant input  code
2023-02-17 22:08:24 +08:00
tangjinzhou 328e42a9be feat: tree add leafIcon 2023-02-17 22:02:59 +08:00
tangjinzhou 634675e032 refactor: rename locale file 2023-02-17 22:02:59 +08:00
果冻橙 7ddf882a99
Feat v4 fix type errors (#6285)
* fix compile type errors

* fix menuprops type import

* fix lint errors

* fix lint errors

* fix format error

* fix node version

* fix run dist error

* fix run lint

* fix as any

* fix string type
2023-02-17 22:01:30 +08:00
果冻橙 895b43338d
refactor:tree (#6276) 2023-02-17 10:04:45 +08:00
果冻橙 9f53d53cb8
refactor:timepicker (#6270)
* refactor:timepicker

* docs:update & refactor: timepicker type
2023-02-17 10:03:34 +08:00
果冻橙 cd47a277da
refactor:calendar (#6269)
* refactor:calendar

* docs:update
2023-02-17 10:02:38 +08:00
tangjinzhou adec5211f1 feat: table add expandColumnTitle slot 2023-02-17 09:49:21 +08:00
tangjinzhou a6a270b44a refactor: table 2023-02-16 19:23:44 +08:00
果冻橙 8472c25633
refactor:table (#6267)
* refactor:table

* docs:update & refactor: table type

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-02-16 07:44:48 +08:00
tangjinzhou c1ed77f67a feat: number add compactSize & disabledContext 2023-02-15 15:49:23 +08:00
果冻橙 df6a1fdb71
refactor:inputnumber (#6265)
* refactor:inputnumber

* docs:update & refactor: inputnumber type

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-02-15 15:37:49 +08:00
tangjinzhou 321989b9c2 feat: update collapse type 2023-02-15 15:33:54 +08:00
果冻橙 2f51f2d3af
refactor:collapse (#6266)
* refactor:collapse

* fix collapse props version

* docs:update & refactor: collapse type & fix collapsible
2023-02-15 15:28:52 +08:00
tangjinzhou dc9987aea8 fix: steps icon clss error 2023-02-15 14:34:11 +08:00
果冻橙 3715ded674
refactor:steps (#6264)
* refactor:steps

* fix ...attrs

* fix StepsToken error

* docs:update & refactor: steps type
2023-02-15 14:08:45 +08:00
tangjinzhou 04e3819b0b perf: timeline 2023-02-15 14:03:11 +08:00
果冻橙 587c1ca89d
refactor:timeline (#6263)
* refactor:timeline

* docs:update & refactor: timeline type
2023-02-15 13:52:47 +08:00
tangjinzhou 8a233d7c3a perf: upload motion 2023-02-15 13:38:57 +08:00
果冻橙 0464c84afc
refcator:upload (#6261)
* refcator:upload

* docs:update & refactor: upload type

* Update style.ts

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-02-15 10:19:49 +08:00
tangjinzhou 7e29eb2163 doc: update mentions demo 2023-02-14 15:50:16 +08:00
Zev Zhu 92795a828f
refactor: mentions (#6255)
* refactor: mentions

* refactor: mentions menu provider
2023-02-14 14:09:23 +08:00
tangjinzhou 44e5d09f22 style: update pagination props type 2023-02-14 14:06:14 +08:00
果冻橙 f6afd7fffc
refactor:pagination (#6251)
* refactor:pagination

* docs:update & refactor: pagination type
2023-02-14 14:02:22 +08:00
tangjinzhou 7de1be6a9a feat: checkbox add disabled context 2023-02-14 13:58:37 +08:00
果冻橙 19ec975deb
refactor:checkbox (#6248)
* refactor:checkbox

* docs:update & refactor: checkbox type
2023-02-14 13:49:06 +08:00
tangjinzhou 4ccb1c3e19 perf: transfer 2023-02-13 20:46:02 +08:00
果冻橙 68d295d7ef
refactor:transfer (#6247)
* refactor:transfer

* merge v4 branch & fix theme interface conflict

* docs:update & refactor: transfer type
2023-02-13 20:21:29 +08:00
果冻橙 bbfb3cef7d
refactor:carousel (#6262)
* refactor:carousel

* docs:update & refactor: carousel type

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-02-13 17:46:06 +08:00
tangjinzhou e9ce4eb2d5 refactor: card #6258 2023-02-13 17:35:49 +08:00
yang cb08f8551a
refactor(crad): less to cssinjs (#6258)
* update

* switch

* Style adjustment

* refactor(Card): less to cssinjs

* Eliminate invalid code

* optimization and adjustment css

* Adjust the css

* Optimize each item

* adjustment css
2023-02-13 17:21:48 +08:00
tangjinzhou f0e5da3b69 feat: slider deprecated tooltipVisible 2023-02-12 15:24:58 +08:00
果冻橙 2f049329a5
refactor:slider (#6250) 2023-02-12 15:00:38 +08:00
tangjinzhou 350dbfedbb docs: update result cover 2023-02-12 14:48:12 +08:00
bqy_fe 4b2ffd7127
refactor(result): less to cssinjs (#6246)
* refactor(result): less to cssinjs

* fix: class name is overridden
2023-02-12 14:44:50 +08:00
tangjinzhou a5389a22ea doc: update layout cover 2023-02-12 14:37:02 +08:00
bqy_fe 7a34c99935
refactor(layout): less to cssinjs (#6249) 2023-02-12 14:34:58 +08:00
songsong0707 dc480bd4b3
refactor: rate style (#6254) 2023-02-12 11:24:00 +08:00
tangjinzhou 1d774507c0 refactor: datepicker type 2023-02-12 11:18:49 +08:00
果冻橙 80918cba98
refactor:datepicker (#6245) 2023-02-12 10:37:06 +08:00
tangjinzhou 197e209b4e fix: typography #6244 2023-02-12 10:05:44 +08:00
果冻橙 82c4c8f0d3
refactor:typography (#6244)
* refactor:typography

* fix return

* fix import type
2023-02-12 09:56:57 +08:00
tangjinzhou 23b81b0e17 perf: space compact 2023-02-12 09:49:00 +08:00
bqy_fe f0649999fb
refactor(Space): less to cssinjs & add compact mode (#6229)
* refactor(Space): less to cssinjs & add compact mode

* chore(space): update md

* chore(space): add demo

* chore(space): add some demo

* feat(button): add compact mode

* fix: reactivity lose

* docs: fix props version

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-02-12 09:26:39 +08:00
lyn b695dc95e3
docs: typo (#6256) 2023-02-11 21:18:36 +08:00
tangjinzhou e2d4f8c2e3 feat: update type 2023-02-08 15:14:43 +08:00
果冻橙 de77b0175d
refactor:list (#6241)
* refactor:list

* fix inheritAttrs: false & attrs.class
2023-02-08 14:14:08 +08:00
果冻橙 26f98b7b10
refactor:statistic (#6240)
* refactor:statistic

* fix inheritAttrs: false & attrs.class
2023-02-08 14:11:53 +08:00
果冻橙 a9fbf98f0e
refactor:pageheader (#6239)
* refactor:pageheader

* fix inheritAttrs: false & attrs.class
2023-02-08 14:10:45 +08:00
果冻橙 fee7c04d67
refactor:comment (#6238)
* refactor:comment

* fix inheritAttrs: false & attrs.class
2023-02-08 14:09:32 +08:00
tangjinzhou 8658806e3f feat: input add disabled 2023-02-08 11:04:16 +08:00
果冻橙 4f3ce35e74
refactor:input (#6237)
* refactor:input

* fix inheritAttrs:false

* fix attrs.class
2023-02-08 07:50:04 +08:00
Zev Zhu 69c17dc255
refactor: switch (#6236)
* refactor: switch style

* refactor: delete switch style
2023-02-07 23:19:09 +08:00
H1mple bcc46d1d5d
fix: type of minute in props disabledDateTime of DatePicker (#6233) 2023-02-07 11:28:29 +08:00
tangjinzhou a40816880a refactor: progress #6234 2023-02-07 11:08:42 +08:00
Zev Zhu 2c1afa5e72
refactor: progress style (#6234)
* refactor: progress

* refactor: progress style

* fix: progress attrs
2023-02-07 10:25:02 +08:00
tangjinzhou 81e26a900e fix: empty props #6230 2023-02-07 10:06:05 +08:00
bqy_fe fc0f0d8a96
refactor(empty): less to cssinjs (#6230)
* refactor(empty): less to cssinjs

* chore: remove unuse code

* fix: reactivity lose
2023-02-07 09:57:31 +08:00
bqy_fe a205615af9
refactor(tag): less to cssinjs (#6227) 2023-02-03 09:50:40 +08:00
tangjinzhou 9b5a07220b refactor: popover & popconfirm 2023-02-02 22:18:42 +08:00
tangjinzhou 47c84cdbad refactor: dropdown 2023-02-02 22:18:42 +08:00
zkwolf 989bedda47
fix(button): link and text should not have wave (#6226) 2023-02-02 18:08:36 +08:00
Zev Zhu dd57d1e305
refactor: skeleton (#6224)
* refactor: skeleton

* refactor: skeleton style

* chore: modify skeleton demo style
2023-02-02 18:07:46 +08:00
zkwolf 158cca7f8a
test: test case error (#6225)
* fix: inject value maybe undefined

* fix: tootip emit correct value

* fix: rollback warning suffix avoid test break

* doc(grid): remove unused type="flex"
2023-02-02 18:05:58 +08:00
tangjinzhou 8099391e97 fix: spin error #6222 2023-02-01 17:33:59 +08:00
Zev Zhu 7939eb1718
refactor: spin (#6222)
* fix: typo (#6218)

* fix:  typo

* docs<upload>: docs update

* refactor: spin

* refactor: spin

* refactor: spin

* refactor: spinnn

* refactor: spin

---------

Co-authored-by: lyn <76365499@qq.com>
2023-02-01 17:17:56 +08:00
tangjinzhou 34373ca05d refactor: ts 2023-02-01 15:49:24 +08:00
tangjinzhou 4ef70b1503 doc: update demo 2023-01-31 22:49:08 +08:00
tangjinzhou 31776a2cf8 fix: row ts type not work 2023-01-31 22:37:36 +08:00
zkwolf 31ca070a18
refactor: grid (#6220)
* refactor: grid

* fix(grid): align & justify responsive

* chore: update demo and snapshot
2023-01-31 22:20:43 +08:00
lyn f49437f002
fix: typo (#6218)
* fix:  typo

* docs<upload>: docs update
2023-01-31 22:13:12 +08:00
tangjinzhou 1d01df4b85 refactor: tooltip 2023-01-30 22:28:00 +08:00
zkwolf 337d958c67
fix: custom class (#6217) 2023-01-29 14:50:30 +08:00
tangjinzhou 94e981e00b refactor: menu 2023-01-28 19:11:32 +08:00
tangjinzhou 221b203cbb refactor: modal 2023-01-28 10:02:40 +08:00
tangjinzhou dfe462ec6f refactor: locale-provider 2023-01-28 08:53:47 +08:00
tangjinzhou 8110d8cbbd refactor: rename locale 2023-01-28 08:39:47 +08:00
bqy_fe c903de3c0e
refactor(icon): remove style dir (#6215) 2023-01-28 08:25:17 +08:00
bqy_fe 44d7917afd
refactor(divider): less to cssinjs (#6214)
* refactor(divider): less to cssinjs

* fix: add inheritAttrs
2023-01-28 08:22:49 +08:00
tangjinzhou 73ce708868 refactor: message & notification 2023-01-27 22:36:28 +08:00
tangjinzhou d211688059 fix: responsive reactive #6213 2023-01-27 16:54:13 +08:00
zkwolf 9d5343ae9c
refactor: descriptions (#6213)
* refactor: descriptions

* fix: ts error

Co-authored-by: tangjinzhou <415800467@qq.com>
2023-01-27 16:46:58 +08:00
tangjinzhou 2d54e2124f fix: type error 2023-01-27 16:29:47 +08:00
tangjinzhou b5d7d582cd refactor: configprovider 2023-01-27 16:00:17 +08:00
tangjinzhou 0399ce0ec7 style: update util 2023-01-26 22:14:20 +08:00
tangjinzhou 94c2887c81 fix: button classname error 2023-01-26 22:13:01 +08:00
tangjinzhou 75e4b72c21 refactor: button 2023-01-26 21:42:27 +08:00
tangjinzhou 287a8d0c4e refactor: Breadcrumb 2023-01-26 16:52:06 +08:00
tangjinzhou 1e4e3cb3b4 refactor: badge 2023-01-26 11:13:29 +08:00
tangjinzhou e64a19a05a refactor: backtop 2023-01-26 10:13:10 +08:00
tangjinzhou 6c735fee67 refactor: anchor & add items 2023-01-25 17:23:03 +08:00
tangjinzhou f8ddc430cf refactor: avatar 2023-01-25 16:39:56 +08:00
tangjinzhou 641714734a doc: update component cover 2023-01-25 16:22:35 +08:00
tangjinzhou 46862d749b refactor: affix support cssinjs 2023-01-25 16:16:25 +08:00
tangjinzhou 1f33babc89 feat: alert add action slot 2023-01-25 15:27:03 +08:00
tangjinzhou b2841a27ae refactor: cssinjs 2023-01-25 11:28:53 +08:00
tangjinzhou c0d7d041b4 refactor: cssinjs 2023-01-25 10:28:10 +08:00
tangjinzhou 10b52e0072 refactor: ccsinjs 2023-01-24 22:51:59 +08:00
tangjinzhou d64c6a8d53 Merge remote-tracking branch 'origin/main' into feat-v3.3 2023-01-17 18:39:55 +08:00
Nguyen Ba Hung 058bc3622a
doc: Add "format" prop for time-picker demo (#6197)
The `format` prop is used to format the display value of the time-picker.
Reference from AntDesign official docs: https://github.com/ant-design/ant-design/blob/master/components/time-picker/demo/hide-column.tsx
2023-01-17 16:55:16 +08:00
DMQ 034f71c005
fix: set the correct activce classname for stickyScrollBar (#6169) 2023-01-17 16:52:16 +08:00
lyn c8b7848f99
docs(date-picker): docs update (#6175)
* Update index.zh-CN.md

* Update index.en-US.md
2023-01-17 16:51:39 +08:00
tarasovsn 75c65e094f
Fixed some errors in generator-types (#6095)
Co-authored-by: starasov <starasov@sportmaster.ru>
2022-12-15 10:54:20 +08:00
M.Wang 8a0c8a8fb1
fix(vc-slick): #6100 - Fix content responsiveness in carousel component slot. (#6149)
* fix(vc-slick): #6100 - Fix content responsiveness in carousel component slot.

* feat(_util) add deepCloneElement function
2022-12-15 10:28:33 +08:00
Konv Suu 7ea18a8287
fix: notification onClose event runs repeatedly (#6150) 2022-12-11 14:49:02 +08:00
tangjinzhou 2eb071ce30 release 3.3.0-beta.4 2022-12-01 21:26:57 +08:00
lyn 5b3ade8980
docs(select): docs update (#6118) 2022-11-25 15:47:23 +08:00
tangjinzhou 6bd8a9b984 test: update snap 2022-11-25 09:55:31 +08:00
tangjinzhou 040956819f Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-11-24 19:28:21 +08:00
luokavin 0fd3d302e4
docs(tree-select): docs typos (#6107) 2022-11-22 10:19:01 +08:00
luokavin 80a160d766
docs(tree-select): docs typos (#6108) 2022-11-22 10:18:35 +08:00
lyn cb80e40aa6
docs(pagination): docs update (#6114)
* Update index.zh-CN.md

* Update index.en-US.md
2022-11-22 10:18:13 +08:00
tangjinzhou 7246e62823 release 3.2.15 2022-11-10 11:42:58 +08:00
tangjinzhou 925a8f6ee5 fix: image delete error 2022-11-10 11:40:11 +08:00
tangjinzhou 7c35bcfece release 3.2.14 2022-11-07 15:57:27 +08:00
tangjinzhou fbf1c78cc8 doc: add backtop 2022-11-07 15:34:53 +08:00
tangjinzhou d484e1f6a0 fix: rangePicker popup pos, close #6073, #6074 2022-11-07 15:23:24 +08:00
tangjinzhou 7fa1fe428d feat: add vueuse feature 2022-11-07 13:42:51 +08:00
QiangGuZi ac9d3e40c1
fix: import type (#6071) 2022-11-07 11:03:05 +08:00
QiangGuZi 265233c34f
fix(directory-tree): expose scrollTo method. (#6067)
Co-authored-by: tan_qiang <tan.qiang@oushu.io>
2022-11-01 13:36:24 +08:00
tangjinzhou 639b746ba5 test: update test 2022-10-31 10:46:36 +08:00
tangjinzhou fcca4baefe test: menu test error 2022-10-31 10:18:19 +08:00
tangjinzhou 9eac1a1da5 fix: picker nest select error, close #6062 #5994 2022-10-30 21:45:59 +08:00
tangjinzhou 213c3a4059 fix: not use prefixCls with custom theme #6063 2022-10-30 15:05:36 +08:00
lchrennew 4cdda535a6
fix: Cannot use custom prefixCls with custom theme color (#6063) 2022-10-30 15:00:12 +08:00
tangjinzhou 5e60d7c3b0 doc: add surely form 2022-10-30 14:05:52 +08:00
tangjinzhou 7252149804 fix: error when menu key dynamic, close #6057 2022-10-28 09:07:44 +08:00
Remx Xu 2a30de162c
fix typo (#6047) 2022-10-28 08:58:35 +08:00
tangjinzhou e10b659aac docs: add survey 2022-10-27 11:20:00 +08:00
Li kang 4201c923b5
docs(Badge) Change the description of the text attribute of the Badge component document (#6012)
* 更改Badge组件文档text属性说明

* 更改Avatar组件文档crossOrigin属性说明

Co-authored-by: 吴亚丹 <wuyadan@uniontech.com>
2022-10-21 14:38:57 +08:00
大猪 a69a7ff82a
fix: Style variables describe error , close #6009 (#6027)
Co-authored-by: wanjun.shi <wanjun.shi@transsion.com>
2022-10-21 14:38:10 +08:00
lyn d0eebf3791
docs: Update index.en-US.md (#6040) 2022-10-21 14:36:33 +08:00
tangjinzhou d7f78435c1 chore: update vue tsc 2022-10-13 09:35:04 +08:00
24min bc5dc845ac
docs: remove one of openFileDialogOnClick props in docs (#6019) 2022-10-12 22:40:12 +08:00
tangjinzhou 7923c25e4f release 3.2.13 2022-10-08 14:36:33 +08:00
tangjinzhou aea54ac7ad fix: defaultXXX error in fieldNames, close #6007 2022-10-08 14:26:21 +08:00
tangjinzhou af756de1f3 test: update snap 2022-10-04 14:50:15 +08:00
tangjinzhou 775e48d428 fix: table fixed shadow error, close #5996 2022-10-04 11:15:12 +08:00
tangjinzhou 23a8368894 docs: fix site error, close #5993 2022-09-28 13:54:45 +08:00
tangjinzhou 714a6f4764 fix: transfer delete error, close #5975 2022-09-27 10:49:49 +08:00
tangjinzhou 8318b731b4 docs: update add accept info, close #5986 2022-09-26 22:15:38 +08:00
yang 31430f5365
feat: cascader add tagRender slot (#5954)
* Cascader :修复 tagRender 选项,并添加demo  🐛 📝
Cascader: Fix the tagRender option and add Demo 🐛 📝

* 修改 test 中等待时机

* Update index.tsx

* Update index.test.js

Co-authored-by: yang <29636098325@qq.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
2022-09-26 22:06:52 +08:00
bqy_fe c2b197a443
fix(Table): loading prop type definition (#5964) 2022-09-26 21:34:34 +08:00
Garret MH a2f7d6d062
feat: Vue 3 Migration Build support (#5973), close #5765
closes vueComponent/ant-design-vue#5765

Add `compatConfig: { MODE: 3 }` to all component definitions to signal to `@vue/compat` not to use any Vue 2 compatibility features.
2022-09-26 21:33:41 +08:00
manny3 b35f63788d
fix: Tag component close icon display bug (#5956)
Co-authored-by: Tony <tony.chen@omnichat.ai>
2022-09-13 20:09:49 +08:00
tangjinzhou 0f634e27d5 fix: popover button style 2022-09-13 20:04:00 +08:00
24min 31800cb99c
fix: a flash of pictures when previewing was turned off (#5955) 2022-09-13 19:44:34 +08:00
tangjinzhou 6cd099d691 doc: add google ad 2022-09-13 11:13:39 +08:00
tangjinzhou 07907ca7f3 test: snap 2022-09-02 16:51:56 +08:00
tangjinzhou 3cb1edad41 release 3.2.12 2022-09-02 16:17:15 +08:00
tangjinzhou 24c4c84576 test: update snap 2022-09-02 16:16:03 +08:00
tangjinzhou 1177c336cb doc: add jeecg sponser 2022-09-02 14:37:20 +08:00
tangjinzhou 0f11e4ecd4 fix: descriptionsItem labelStyle not work, close #5920 2022-09-01 16:11:01 +08:00
atom d48cd8ef57
feat: copyable stopPropagation #5746 (#5769)
* 分离copyable按钮动作,不再冒泡至父级组件

* Update interactive.vue

Co-authored-by: tangjinzhou <415800467@qq.com>
2022-09-01 14:09:07 +08:00
舜岳 187f3b8c07
fix: fix table container z-index (#5786) 2022-09-01 14:03:53 +08:00
Peritot Chan 00422ac77b
fix: config provider theme active color not same in variable.less (#5929) 2022-09-01 11:03:29 +08:00
tangjinzhou b53a5de6dc doc: add jeecg sponsors 2022-09-01 10:43:28 +08:00
tangjinzhou 9815f817d4 fix: type import error 2022-08-28 09:00:25 +08:00
Airene Fang 6feda7be81
fix generate web-types.json bug (#5674)
set the wrong default value by parse md table error.
2022-08-25 11:07:49 +08:00
bqy_fe 2a3798e9b4
docs(form): fix typo (#5896) 2022-08-22 08:59:35 +08:00
bqy_fe ae451b71df
feat(props-util): [filterEmpty] support handle nested fragment (#5890) 2022-08-14 09:04:17 +08:00
tangjinzhou d933f3edd5 fix: table column null error, close #5888 2022-08-12 16:19:32 +08:00
tangjinzhou dd60465373 chore: update webpack confgi 2022-08-11 22:26:35 +08:00
tangjinzhou 60a8be3014 release 3.3.0-beta.3 2022-08-11 14:27:54 +08:00
tangjinzhou a26ac3e9f4 feat: rating character add params 2022-08-11 14:24:39 +08:00
tangjinzhou e7fdb128e3 Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-08-11 14:12:39 +08:00
tangjinzhou fa53e89e51 doc: fix site error 2022-08-08 10:13:51 +08:00
tangjinzhou 1d6a8916cc release 3.2.11 2022-08-08 09:40:38 +08:00
tangjinzhou 8d0155878e Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-08-07 20:03:09 +08:00
tangjinzhou 333c48c6ba fix: cdn dayjs error, close #5874 2022-08-07 15:10:53 +08:00
gp e79dd3508c
fix(inputNumber): inputNumber size UI error (#5873) 2022-08-07 14:10:00 +08:00
BlackTooth 3ca5209e0d
fix: select auto location (#5843)
* fix: select auto location

* fix: 3  Altitude location errors may occur

Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
2022-08-07 14:00:29 +08:00
tangjinzhou e5e98e5776 feat: add tooltip-border-radius 2022-08-06 17:16:11 +08:00
izhouteng b9000c891a
chore: add unified to devDependencies (#5839)
Co-authored-by: undefined <undefined>
2022-07-28 16:54:52 +08:00
BiggerRain 125a0f7636
docs: text error (#5845) 2022-07-28 16:52:56 +08:00
tangjinzhou 4c8131bd70 test: update snap 2022-07-25 08:41:38 +08:00
peritot 612c5000b5
docs: update alert & drawer doc in closeIcon default value (#5838) 2022-07-24 09:13:57 +08:00
meteorlxy 05357a8c3f
feat(Divider): add divider-horizontal-gutter variable (#5820) 2022-07-24 09:08:40 +08:00
舜岳 151555b7b7
doc(site): fix Login Form style (#5797) 2022-07-24 09:04:22 +08:00
tangjinzhou c739e498c5 perf: import icons #5822 2022-07-24 08:59:51 +08:00
tangjinzhou 86450c2a1b perf: import icons #5822 2022-07-24 08:56:44 +08:00
WD c40fec0afa
chore(site): upgrade vitejs to v3 (#5809) 2022-07-16 09:44:06 +08:00
tangjinzhou 6650c4d6b1 fix: dropdown text wrap, close #5798 2022-07-12 10:16:42 +08:00
tangjinzhou 8ef4d44787 release 3.2.10 2022-07-07 21:57:45 +08:00
tangjinzhou 6d83af53b5 test: update snap 2022-07-07 19:46:57 +08:00
tangjinzhou 3d77a1c1d4 test: update snap 2022-07-07 14:39:15 +08:00
tangjinzhou 36df585acf fix: menu hide when quicky hover 2022-07-07 10:24:19 +08:00
tangjinzhou 39e7b8f4b6 test: add require context 2022-07-07 10:07:54 +08:00
tangjinzhou 85b7741f3c test: update babel config 2022-07-07 09:50:56 +08:00
tangjinzhou b440215842 test: update jest config 2022-07-07 09:31:18 +08:00
tangjinzhou 73bd25cbbe style: fix lint code 2022-07-06 21:24:35 +08:00
tangjinzhou 7473233bc9 test: update focus test 2022-07-06 19:10:14 +08:00
tangjinzhou 9d210e3a30 fix: remove mock transition when test env #4565 2022-07-06 18:21:16 +08:00
tangjinzhou 901811bc43 chore: update jest to 28 2022-07-06 17:40:21 +08:00
tangjinzhou 9ea87fb973 release 3.3.0-beta.2 2022-07-02 22:28:43 +08:00
tangjinzhou dae579a88e chore: update tools 2022-07-02 22:22:01 +08:00
tangjinzhou 58e8fd3e2e doc: update changelog 2022-07-02 21:04:01 +08:00
Amour1688 aae9a48dd0
chore: bundle esm output (#5772) 2022-07-02 21:02:48 +08:00
tangjinzhou 09c5a3e53f Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-07-02 21:01:41 +08:00
WD 985f1cfe1d
chore(build): set minimum running node version v12.22.0 (#5770) 2022-07-02 20:52:13 +08:00
tangjinzhou e42fdd7a06 Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-07-02 09:54:19 +08:00
tys1128 7999a2fef6
fix: add boolean type to autosize prop (#5766)
Co-authored-by: oaktian <oak.tian@vesync.com>
2022-07-01 13:52:20 +08:00
WD a2690a2d45
chore: upgrade vitejs to the latest release version (#5760) 2022-07-01 13:51:21 +08:00
tangjinzhou f672f873dc fix: table ellipsis title not work, close #5755 2022-06-30 10:36:33 +08:00
zhengqbbb d94fe1c0b2
chore: use `czg` commitizen adapter (#5750) 2022-06-27 14:18:30 +08:00
tangjinzhou 4c0f6f5865 release 3.2.9 2022-06-25 09:42:30 +08:00
tangjinzhou 8a659da84f fix: select fash 2022-06-25 09:29:02 +08:00
tangjinzhou 3003d67c4f release 3.2.8 2022-06-24 11:23:36 +08:00
tangjinzhou 8b6a771318 Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-06-24 10:52:47 +08:00
tangjinzhou 39ac6ed89e fix: typography editing error, close #5743 2022-06-24 10:41:15 +08:00
Gin bddf64e0ad
fix(DirectoryTree): `selectedKeys` updating (#5732)
- In `multiple` mode, it should emit single value instead of multiple values on single click.
2022-06-22 09:26:41 +08:00
tangjinzhou 62dc2402f3 feat: ConfigProvider.config add getPopupContainer 2022-06-21 14:51:23 +08:00
tangjinzhou b3dafb92ef doc: update select suffix demo, close #5701 2022-06-20 10:21:14 +08:00
tangjinzhou 9493dc224b fix: table resize trigger scrollbar 2022-06-20 09:26:56 +08:00
tangjinzhou cbd9e6b6ce fix: row gutter type error, close #5725 2022-06-20 09:09:32 +08:00
WD ab8457303e
fix(upload): inheritAttrs, close #5714 2022-06-18 21:48:00 +08:00
WD 168626bfeb
feat(Image): Image support mouse wheel zoom in and out (#5703), close #5700 2022-06-18 11:14:59 +08:00
tangjinzhou d9304506d3 doc: update doc 2022-06-16 10:08:04 +08:00
tangjinzhou bb4b86a82e feat: merge main 2022-06-13 11:07:06 +08:00
tangjinzhou 87121e2632 release 3.2.7 2022-06-13 10:43:20 +08:00
tangjinzhou e39edab75a fix: typography trigger twice end event, close #5696 2022-06-13 10:15:15 +08:00
tangjinzhou 599b474ab7 feat: table expandedRowKeys support v-model, close #5695 2022-06-13 09:37:53 +08:00
dyh333 09cb907bee
doc(carousel): using getImgUrl function in customPaging demo (#5679)
Co-authored-by: dingyihui <dingyihui@cmss.chinamobile.com>
2022-06-13 09:20:18 +08:00
sedice c87ecd7ffc
doc(site) make footer's z-index less than back-top's z-index (#5692) 2022-06-13 09:18:11 +08:00
tangjinzhou 033e55af5d test: update snap 2022-06-11 21:58:12 +08:00
tangjinzhou e5b9308374 fix: global form message not work, close #5693 2022-06-11 21:56:41 +08:00
bqy_fe 171b2b643f
feat(radio-group): support global component size prop (#5690), close #5688
* fix(radio-group): remove the default value of the component size prop

* update test
2022-06-11 13:38:46 +08:00
wengjq 87db9bd87d
fix: checkbox set additional attribute no work,close #5678 (#5682) 2022-06-08 15:59:21 +08:00
tangjinzhou fef42fd089 release 3.2.6 2022-06-07 20:22:56 +08:00
tangjinzhou 361e818bcc fix: cascader trigger support custom component, close #5677 2022-06-07 20:09:09 +08:00
tangjinzhou e86a833b15 doc: update doc, close #5675 2022-06-07 19:53:07 +08:00
tangjinzhou 3ddc7cdd7c fix: rangePicker xxxStep not work, close #5671 2022-06-07 10:47:51 +08:00
tangjinzhou 71c6195771 fix: datepicker arrow error 2022-06-07 09:52:47 +08:00
tangjinzhou e907ffd759 doc: update useInjectFormItemContext, close #5667 2022-06-06 09:50:33 +08:00
Gin 18ce00d239
fix: global `mousedown` handler in picker input hooks (#5657) 2022-06-03 14:28:44 +08:00
tangjinzhou 3cd7ca3e0b
Revert "Update vi_VN.tsx (#5653)" (#5660)
This reverts commit 387141ae68.
2022-05-31 15:12:25 +08:00
Ichiro 387141ae68
Update vi_VN.tsx (#5653) 2022-05-30 08:59:04 +08:00
tangjinzhou d5bb271dd8 doc: link error, close #5652 2022-05-28 14:21:03 +08:00
tangjinzhou 9b0fb707e2 release 3.2.5 2022-05-26 22:02:20 +08:00
tangjinzhou 2c2a372137 test: update snap 2022-05-26 21:55:56 +08:00
tangjinzhou ba8e17e1b5 fix: steps progressDot slot not work, close #5648 #5649 2022-05-26 15:03:26 +08:00
bqy_fe c7e079bd65
feat: enable the left or right keyboard to switch image (#5642), close #5630
* feat: enable the left or right keyboard to switch image

* fix: eslint error
2022-05-25 16:02:11 +08:00
Gin dead1a3753
fix: table dragging css class should only be effective in table component (#5644) 2022-05-25 16:00:13 +08:00
tangjinzhou 4f9b677555 fix: tooltip global getPopupContainer not work, #5636 2022-05-24 15:12:08 +08:00
tangjinzhou 44e1f020c8 fix: useForm style error, close #5635 2022-05-24 14:39:40 +08:00
tangjinzhou 9280b418d7
Merge branch 'main' into feat-v3.3 2022-05-23 14:30:18 +08:00
tangjinzhou 09ff91488c release 3.2.4 2022-05-23 11:00:37 +08:00
tangjinzhou efe600e89e test: update snap 2022-05-23 10:42:09 +08:00
tangjinzhou 8b34bdfa5e doc: add 3.3.0 changelog 2022-05-23 09:26:07 +08:00
Xavier Luo 3cbbba1020
fix(Tooltip): prefixCls and span line-height while in disabled Compatible (#5627) 2022-05-23 09:07:43 +08:00
tangjinzhou 3b1d48b4b4 test: update test 2022-05-22 21:45:48 +08:00
tangjinzhou dd1a535943 test: update test 2022-05-22 17:01:43 +08:00
tangjinzhou 5b583962db style: lint format 2022-05-22 16:39:57 +08:00
tangjinzhou 37d35f7801 feat: table add filterResetToDefaultFilteredValue & filterSearch funcion 2022-05-22 14:23:53 +08:00
tangjinzhou a4b6c0aee4 feat: transfer add status 2022-05-22 10:35:19 +08:00
tangjinzhou 03f559a0dc feat: tree-select add status & placement 2022-05-22 10:10:43 +08:00
tangjinzhou bf1226d3bb feat: timepicker add status & placement 2022-05-21 22:23:52 +08:00
tangjinzhou 527dec6078 feat: select add status & placement 2022-05-21 22:03:56 +08:00
tangjinzhou af9371fe6f style: tooltip 2022-05-21 17:44:43 +08:00
tangjinzhou 5c136e0286 style: tag 2022-05-21 17:40:52 +08:00
tangjinzhou a32d29149f style: tabs 2022-05-21 17:38:19 +08:00
tangjinzhou e6a46b43ac feat: add some less var 2022-05-21 17:31:39 +08:00
tangjinzhou 9d1e5d72b5 fix: Switch disabled color in dark theme 2022-05-21 17:27:32 +08:00
tangjinzhou 63a688f94c feat: steps add small dot 2022-05-21 17:25:20 +08:00
tangjinzhou 21f9a1178a feat: dd aria-* to Spin 2022-05-21 17:21:53 +08:00
tangjinzhou 76573fc252 refactor: rename slider js to ts 2022-05-21 17:14:41 +08:00
tangjinzhou 208c7ac6de feat: skeleton add block input 2022-05-21 16:51:10 +08:00
tangjinzhou 44be8722f8 refactor: radio context 2022-05-21 16:29:11 +08:00
tangjinzhou a435e2c090 fix: apply scale transform to disabled star 2022-05-21 15:52:09 +08:00
tangjinzhou 8475542b2f style: upload 2022-05-21 15:50:39 +08:00
tangjinzhou 40a65d19da feat: upload add crossOrigin 2022-05-21 15:23:45 +08:00
tangjinzhou 8ad9317d11 Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-05-21 15:14:29 +08:00
tangjinzhou d9b3d8057f style: update statistic type 2022-05-21 15:06:02 +08:00
tangjinzhou 4439e0f3c3 feat: tree add scrollTo method, close #5626 2022-05-21 13:17:26 +08:00
tangjinzhou 5edca6be5a fix: countdown support dayjs value 2022-05-21 10:57:08 +08:00
tangjinzhou 13e1db0bc4 chore: type support vue@3.2.35 2022-05-21 10:56:28 +08:00
bowen fdf76b9fb9
fix: use fromPairs replace Object.fromEntries (#5605)
* fix: use fromPairs replace Object.fromEntries

* fix: use lodash-es replace lodash
2022-05-20 16:19:14 +08:00
bqy_fe bb85f1f372
fix(Drawer): closeIcon customization is invalid (#5616) 2022-05-20 16:18:31 +08:00
tangjinzhou 76585f75b9 style: popover & progress 2022-05-19 22:28:59 +08:00
tangjinzhou 3656dd5dbb style: pagination 2022-05-19 22:22:58 +08:00
tangjinzhou 7b60f2a8e6 style: page-header 2022-05-19 22:14:53 +08:00
tangjinzhou 5cf2707e11 feat: notification add top & bottom placement 2022-05-19 17:42:45 +08:00
tangjinzhou d716421745 feat: mentions add status 2022-05-19 17:34:41 +08:00
tangjinzhou c6f692222d Merge remote-tracking branch 'origin/main' into feat-v3.3 2022-05-19 17:20:31 +08:00
tangjinzhou 03c41177a3 fix: form clearValidate & resetValidate support array, close #5619 2022-05-19 17:13:06 +08:00
tangjinzhou c1a1b93553 style: update message 2022-05-19 16:38:19 +08:00
tangjinzhou 6e41fbd01f feat: inputnumber add status & upIcon & downIcon 2022-05-19 11:03:26 +08:00
tangjinzhou 093fa555ba feat: input add clearIcon & status 2022-05-18 22:51:45 +08:00
tangjinzhou e9d41efcec feat: add image progress 2022-05-16 14:56:35 +08:00
tangjinzhou d5348f0361 feat(row): add support for space-evenly 2022-05-16 14:51:48 +08:00
tangjinzhou e4f678f665 feat: add skipFlatten 2022-05-16 14:31:46 +08:00
tangjinzhou f00b9535d2 feat: dropdown add arrow 2022-05-16 10:57:15 +08:00
tangjinzhou a1ac22443e feat: drawer add rtl 2022-05-15 15:04:40 +08:00
tangjinzhou 4eb8088645 feat: datePicker add status & placement 2022-05-15 14:48:46 +08:00
tangjinzhou 353f470c11 style: config-provider 2022-05-15 10:28:34 +08:00
tangjinzhou 7a91110326 fix: global validateMessages no work, close #5599 2022-05-15 10:22:23 +08:00
tangjinzhou 73f7f9e3b9 style: update checkbox 2022-05-14 15:50:50 +08:00
tangjinzhou 5bc17f0578 feat: cascader add status & showCheckedStrategy 2022-05-14 15:40:17 +08:00
tangjinzhou dbe7fe78ce feat: autocomplete add status 2022-05-14 14:57:40 +08:00
bqy_fe 40be639b63
feat(select): support global size (#5590) 2022-05-12 09:50:12 +08:00
tangjinzhou 6e1f30666b refactor: form 2022-05-11 21:52:51 +08:00
tangjinzhou c4a61f210f feat: menu add itemsType 2022-05-11 09:58:23 +08:00
tangjinzhou 0244e7f5b4 refactor: Simplify Button Group Style 2022-05-10 16:18:44 +08:00
tangjinzhou 3aedf48eaf feat: Breadcrumb accessibility improvements 2022-05-10 15:48:14 +08:00
tangjinzhou 78045b4b5b fix: Badge Animation enter and leave in RTL 2022-05-10 15:43:23 +08:00
tangjinzhou 894a5b955c fix: BackTop responsive in RTL 2022-05-10 15:41:07 +08:00
tangjinzhou a8dbea7c32 style: update some code 2022-05-10 15:36:18 +08:00
tangjinzhou 1d08e80165 feat: anchor add activeLink arg 2022-05-10 15:35:44 +08:00
tangjinzhou ebc2082934 fix: menu support scoped style, close #5578 2022-05-10 14:26:24 +08:00
yvh d315b61418
fix: inputnumber v-model ts type (#5577)
这个命名不对再props上应该是on开头
2022-05-08 15:24:43 +08:00
SamnangNhum 9673cb3a1a
refactor(locale-provider): rename file km_HK to km_KH (#5571) 2022-05-06 09:14:11 +08:00
tangjinzhou e4a7411ede release 3.2.3 2022-05-05 14:08:03 +08:00
YuLe 2826ee1d04
Update introduce.en-US.md (#5564) 2022-05-05 10:13:38 +08:00
tangjinzhou 96caaa0769 fix: card empty slot render 2022-04-28 14:06:59 +08:00
tangjinzhou 7789cb2989 fix: table customRender fragment warning, close #5556 2022-04-28 10:49:16 +08:00
tangjinzhou 9aeadaf877 perf: tree, close #5551 2022-04-27 22:37:22 +08:00
tangjinzhou 53b4c5d8b2 doc: update tree-select doc 2022-04-26 21:32:23 +08:00
tangjinzhou 646f0c69b2 fix: modal method wrapClassName not work, close #5550 2022-04-26 17:14:03 +08:00
tangjinzhou c5159279ce fix: progress dashboard not work, close #5549 2022-04-26 11:29:37 +08:00
tangjinzhou ba041a767e release 3.2.2 2022-04-26 11:08:43 +08:00
tangjinzhou cb6d0bd411 fix: table loop problem, close #5543 2022-04-26 11:08:18 +08:00
tangjinzhou 04752880af doc: update drag demo 2022-04-25 14:24:03 +08:00
tangjinzhou 98867b36ae release 3.2.1 2022-04-25 10:33:27 +08:00
tangjinzhou c127bac6fe doc: update drag modal demo 2022-04-24 09:59:09 +08:00
tangjinzhou f081707576 doc: add drag modal 2022-04-23 17:24:53 +08:00
tangjinzhou dd69527946 doc: add drag modal 2022-04-23 17:19:48 +08:00
tangjinzhou 38d7408ecf feat: opti resize table handle 2022-04-23 15:43:54 +08:00
tangjinzhou 91527cbc25 fix: select trigger twice search, close #5537 2022-04-23 14:29:08 +08:00
tangjinzhou 0c879fc22d feat: select option add title 2022-04-23 13:28:00 +08:00
tangjinzhou c686bd2518 doc: update table custom filter demo, close #5529 2022-04-23 10:25:16 +08:00
tangjinzhou fc9b52e6e7 fix: ssr memory leak, close #5501 #5502 2022-04-23 09:48:03 +08:00
bqy_fe 04f3e0da21
fix(Table): expandFixed prop type definition (#5539),close #5535 2022-04-23 09:44:15 +08:00
tangjinzhou ab90e3fa08 style: update image code, #5531 2022-04-22 19:18:20 +08:00
bqy_fe bc3843b774
feat(Image): add previewMask prop (#5531)
* fix(Image): can not cancel previewMask

* remove redundant code

* remove redundant code

* update code
2022-04-22 16:22:36 +08:00
Freewayy 9b6e742f0c
docs(upload): update `showUploadList` prop (#5533)
* Update index.en-US.md

add `showDownloadIcon` option

* Update index.zh-CN.md

add `showDownloadIcon` option
2022-04-22 10:20:20 +08:00
tangjinzhou 728bfe69da style: remove not use code 2022-04-19 13:51:22 +08:00
tangjinzhou 722f3f2ebf release 3.2.0 2022-04-19 11:29:40 +08:00
tangjinzhou 7bbf6d5272 fix: remove valueModifiers 2022-04-19 11:28:21 +08:00
bqy_fe 3a7cb252e6
fix(Input): fix warning about failed setting prop size on input element (#5508)
* fix(Input): warning about failed setting prop size on input element

* omit size prop
2022-04-19 09:52:00 +08:00
tangjinzhou cddaf8cbc4 test: update snap 2022-04-14 16:25:13 +08:00
tangjinzhou 93c1d400c1 feat: datepicker add rangeQuarterPlaceholder 2022-04-14 16:17:59 +08:00
tangjinzhou a7da435079 fix: datepicker panels change, close #5488 2022-04-14 16:16:52 +08:00
tangjinzhou 531755ebea test: update snap 2022-04-14 14:20:37 +08:00
bqy_fe bd87079e12
feat(image): add new features (#5479)
* feat(image): add new features

* fix: lint error

* update test

* update code

* update docs

* perf: reset currentIndex after close

* update code

* update code

* update code

* update code

* update code

* add rootClassName props

* fix lint
2022-04-14 09:54:45 +08:00
Roubaozi 32a145a79f
doc: update tree switchIcon props type description (#5485)
Co-authored-by: xzp <xingzepeng@geo-compass.com>
2022-04-13 08:51:28 +08:00
tangjinzhou 7a050e2498 fix: table stickyscrollbar not show when keepalive change 2022-04-12 16:51:35 +08:00
tangjinzhou 8ad95e75c2 doc: update tree switchIcon, close #5484 2022-04-12 16:01:34 +08:00
tangjinzhou b3e31e1eba test: update snap 2022-04-12 14:38:05 +08:00
tangjinzhou d5270e9a9d fix: cascader auto adjust overflow, close #5482 2022-04-12 14:24:27 +08:00
tangjinzhou 6d2bcf0ab8 feat: cascader add clearIcon & removeIcon slot 2022-04-12 14:03:30 +08:00
tangjinzhou f1f6085dbb feat: inputnumber add lazy 2022-04-12 10:52:06 +08:00
tangjinzhou 278478b5b0 fix: tree data deep reactive, close #5480 2022-04-12 09:37:40 +08:00
tangjinzhou 6f8c75cd6d fix: timeRangePicker ts type support string 2022-04-11 21:12:25 +08:00
bqy_fe d645ad6eda
docs(modal): update type definition (#5478) 2022-04-10 09:36:03 +08:00
bqy_fe 23f56561e9
docs(layout): update type definition (#5477) 2022-04-10 09:35:40 +08:00
bqy_fe 2addaf35ac
docs(config-provider): remove redundant vertical bars (#5470) 2022-04-09 22:20:20 +08:00
bqy_fe 07940a4836
docs(typography): remove redundant props (#5471) 2022-04-09 22:20:09 +08:00
bqy_fe c0efc1e615
docs(text-area): fix markdown syntax issue (#5473) 2022-04-09 22:19:57 +08:00
bqy_fe 8fbdbb13a6
docs(rate): update type definition (#5474) 2022-04-09 22:19:46 +08:00
bqy_fe 4724c0415e
docs(upload): fix markdown syntax issue (#5475) 2022-04-09 22:19:32 +08:00
bqy_fe bb1ae396e0
docs(tag): update type definition (#5476) 2022-04-09 22:19:20 +08:00
bqy_fe eb29738cd8
docs(result): fix markdown syntax issue (#5469) 2022-04-09 22:17:18 +08:00
bqy_fe b4b2732133
docs(message): remove redundant props (#5468) 2022-04-09 22:16:56 +08:00
bqy_fe bfdc6749f9
docs(select): update type definition (#5467) 2022-04-09 22:16:25 +08:00
bqy_fe 4fc0fea5cd
docs(menu): update type definition (#5466)
* docs(menu): update type definition

* docs(menu): update type definition
2022-04-09 22:15:57 +08:00
bqy_fe 6e9cb0bd56
docs(dropdown): remove redundant periods (#5465) 2022-04-09 22:15:26 +08:00
bqy_fe 9b6bf4ac5f
fix(tabs): disabled animated when tabPosition is left/right (#5464)
* fix(tabs): disabled animated when tabPosition is left/right

* fix(tabs): disabled animated when tabPosition is left/right

* test: update test

* test: update test & position demo
2022-04-09 22:14:53 +08:00
bqy_fe 0c803216e5
docs(cascader): type definition (#5462) 2022-04-09 09:43:31 +08:00
bqy_fe 9b554c9295
docs(mentions): fix notFoundContent props type definition (#5461) 2022-04-09 09:42:53 +08:00
bqy_fe c9eb20f24b
docs(dropdown): make type definitions more beautiful (#5460) 2022-04-09 09:42:26 +08:00
bqy_fe e82e4bed3e
docs(descriptions): [API] fix type definition (#5459) 2022-04-09 09:39:39 +08:00
bqy_fe 4c83c64812
docs(descriptions): fix markdown issue (#5458) 2022-04-09 09:38:55 +08:00
bqy_fe babc85bc1b
docs(DatePicker): remove redundant square brackets (#5457) 2022-04-09 09:37:56 +08:00
bqy_fe 1ca0689233
doc: [API] remove duplicate props (#5456) 2022-04-08 19:19:10 +08:00
bqy_fe 34ebd55082
refactor(style): destructuring style change to array (#5451) 2022-04-08 10:04:31 +08:00
bqy_fe a41a9b086b
fix(modal): style prop support string constant (#5449) 2022-04-08 10:01:35 +08:00
tangjinzhou 74f77de5d0 release 3.1.1 2022-04-06 16:49:02 +08:00
tangjinzhou 7d9edbfde0 doc: update form demo 2022-04-06 16:48:23 +08:00
bqy_fe dd0653249d
fix(FormItem): append a trigger field to the rule type (#5439) 2022-04-06 16:11:26 +08:00
tangjinzhou 7c6dcba441 doc: update grid demo 2022-04-06 16:00:01 +08:00
tangjinzhou 4a4670bdce fix: virtual list not update height for dynamic data 2022-04-06 15:54:03 +08:00
tangjinzhou 48ade76046 doc: update 2022-04-06 15:54:03 +08:00
ajuner b68a395e33
docs: perf dark (#5440)
Co-authored-by: caijun <caijun@gumingnc.com>
2022-04-06 15:17:34 +08:00
tangjinzhou a7ea9bbe34 test: update snap 2022-04-06 10:48:46 +08:00
tangjinzhou 2e0f65926d doc: update doc 2022-04-06 10:12:47 +08:00
tangjinzhou 9e6a592cff test: update snap 2022-04-06 09:45:29 +08:00
tangjinzhou 6d14732e2a release 3.1.0 2022-04-06 09:25:44 +08:00
tangjinzhou 6222e43d7a release 3.1.0 2022-04-06 09:24:25 +08:00
tangjinzhou 272430ba06 fix: selectoption empty error 2022-04-03 10:00:48 +08:00
tangjinzhou 327489603f release 3.1.0-rc.6 2022-04-01 22:35:28 +08:00
tangjinzhou a154ecdfaf fix: mentions cannot select, close #5432 2022-04-01 22:20:10 +08:00
tangjinzhou fa76f5c480 fix: blur & focus lose argumnet, close #5434 2022-04-01 21:31:20 +08:00
anflower 0d06ce26ac
feat: Modify the warning in the conductutil file for attention (#5424) 2022-04-01 10:36:22 +08:00
tangjinzhou a298b00052 fix: sticky scrollbar show when init 2022-03-30 23:15:42 +08:00
tangjinzhou 9004644738 perf: table hover & stickyScroll 2022-03-30 22:38:19 +08:00
tangjinzhou 797a1c6c8f doc: update next to main 2022-03-30 19:36:12 +08:00
tangjinzhou ec177879ac fix: select option tootip error, close #5307 2022-03-30 10:26:27 +08:00
tangjinzhou 669b22a54b fix: tabs auto overflow error for addIcon 2022-03-29 12:59:15 +08:00
tangjinzhou 80342f40b3 release 3.0.0-rc.5 2022-03-28 15:21:30 +08:00
tangjinzhou afd74c95d8 fix: table sticky scroll bar not reactive 2022-03-27 10:34:00 +08:00
tangjinzhou 8e37ffbb97 doc: update demo 2022-03-27 10:33:18 +08:00
tangjinzhou def6a72a77 fix: form scrollToField not work form nest field, close #5404, #5407 2022-03-26 23:00:21 +08:00
tangjinzhou 00dc2add94
chore: update ts type (#5408)
* feat: update prop type

* feat: update ts type

* feat: update ts type

* feat: update ts type

* feat: update ts type

* test: update snap

* feat: update ts type
2022-03-26 22:52:54 +08:00
tangjinzhou 790f83f4a6 release 3.1.0-rc.5 2022-03-25 16:53:37 +08:00
tangjinzhou 3613eceff8 fix: select deep watch options, close #5398 2022-03-25 16:40:06 +08:00
tangjinzhou e146b4847d fix: menuItem custom icon lose custom class, close #5390 2022-03-24 23:57:43 +08:00
tangjinzhou e9ba9fe110 doc: update changelog 2022-03-24 22:34:48 +08:00
tangjinzhou 12588250d5 release 3.1.0-rc.3 2022-03-24 22:10:13 +08:00
tangjinzhou b0042ab40c feat: support change base-primary for cssvar 2022-03-24 22:09:20 +08:00
tangjinzhou e7fb72ce90 fix: Dropdown not auto adjust placement, close #5391 2022-03-24 21:19:35 +08:00
tangjinzhou 2feab99b89 fix: radio click trigger twice, close #5389 2022-03-24 14:07:41 +08:00
tangjinzhou 7bf1e0dda1 fix: menu selectedKeys & openKeys support deep watch 2022-03-23 22:07:06 +08:00
wengjq d137971e0a
fix(TimeRangePicker): disabledTime does not work (#5387) close #5383 2022-03-23 21:27:31 +08:00
tangjinzhou e81abe39ee fix: form htmlFor not work, close #5384 2022-03-23 17:28:04 +08:00
tangjinzhou 86e69d34d9 fix: upload limit error, close #5385 2022-03-23 16:53:37 +08:00
tangjinzhou ecab7f66d8 fix: rangePicker showTime disabled not work, close #5286 #5380 2022-03-23 11:04:12 +08:00
tangjinzhou 5724c84fe7 feat: update affix ts type 2022-03-23 10:02:24 +08:00
tangjinzhou 5d9afb7d1c fix: layout sidebar collapsed, close #5373 2022-03-21 14:38:26 +08:00
Amour1688 cec9414d5c
chore: support pnpm (#5367) 2022-03-20 21:19:31 +08:00
tangjinzhou 7127a5d816 perf: tree & treeselect #5365 2022-03-20 16:42:00 +08:00
tangjinzhou 96f508104c style: refactor vnode.js to ts 2022-03-20 10:57:44 +08:00
bqy_fe 414e7a1c56
fix: autocomplete custom children class not work
* refactor(v3/vc-selector/input): use composition api

* fix: change input props className to class

* revert with cloneElement

* fix: auto-complete demo custom test
2022-03-20 10:50:57 +08:00
tangjinzhou c86338542d style: checkbox.tsx #5363 2022-03-20 10:05:44 +08:00
tangjinzhou ecda0a1084 doc: remove log 2022-03-20 10:04:23 +08:00
Arron 47e218d7ab
fix(checkbox): onClick event triggered twice (#5363)
Co-authored-by: 张宏亮 <hongliang@yunshan.net>
2022-03-20 10:03:28 +08:00
tangjinzhou 17acda5655 release 3.1.0-rc.2 2022-03-19 15:31:00 +08:00
tangjinzhou 97a08423a1 fix: button loading animate not work, close #5360 2022-03-19 15:21:32 +08:00
tangjinzhou ea79779ab5 revert: select listItemHeight default value 2022-03-19 14:38:11 +08:00
ysex cc47bb66ea
fix: Update useDestroyed.ts (#5361)
destroyed should be true not false
2022-03-19 10:19:37 +08:00
tangjinzhou d1e2f4ff27 doc: update big-data demo 2022-03-18 20:54:53 +08:00
tangjinzhou bc5928ec42 perf: virtual list 2022-03-18 16:55:15 +08:00
tangjinzhou 9bd52d4ca0 release 3.1.0-rc.1 2022-03-18 10:31:24 +08:00
tangjinzhou 00551b6263 doc: update, close 5350 2022-03-18 09:43:00 +08:00
bqy_fe 120980cb5c
feat(components): export multiple components props (#5353) 2022-03-18 09:30:37 +08:00
tangjinzhou a2ecd5f48e fix: table column resize not work, close #5348 2022-03-17 22:07:58 +08:00
tangjinzhou ee6d489bf4 fix: formItem error repeat show, close #5349 2022-03-17 21:53:14 +08:00
tangjinzhou c69cf76d3c chore: update pkg 2022-03-17 16:48:31 +08:00
tangjinzhou 73ce0ca7ff test: update snap 2022-03-17 16:30:31 +08:00
tangjinzhou bac864ff83 doc: update table 2022-03-17 15:39:19 +08:00
tangjinzhou 625efff1fa fix: tooltip should work with loading switch 2022-03-17 15:10:28 +08:00
tangjinzhou 2b81a7213b fix: timeline custom color should work on antd icons 2022-03-17 14:56:09 +08:00
tangjinzhou ccf9a410ac style: some code 2022-03-17 14:50:13 +08:00
tangjinzhou 5c9aea8a19 feat: radio support number option 2022-03-17 14:42:03 +08:00
tangjinzhou 71e110036e feat: popover support empty slot 2022-03-17 14:02:07 +08:00
tangjinzhou 85197c4b50 feat: pagination add responsive 2022-03-17 13:51:08 +08:00
tangjinzhou 00cf241315 feat: update type 2022-03-17 11:15:33 +08:00
tangjinzhou f8cef206f3 doc: update menu 2022-03-17 11:14:54 +08:00
tangjinzhou 05ff353f5d feat: update locale i18 2022-03-17 11:14:19 +08:00
tangjinzhou 3814fc8f4e revert: useBreakpoint 2022-03-17 10:52:07 +08:00
tangjinzhou 67939d3399 perf: Improve List render perfermance when grid is undefined 2022-03-17 10:35:27 +08:00
tangjinzhou fa9f1f4f53 feat: layout sider support dynamic breakpoint 2022-03-17 10:32:58 +08:00
tangjinzhou adbc39bfbd style: some code 2022-03-17 10:24:49 +08:00
tangjinzhou 8f20fd514a feat: checkbox option support number 2022-03-17 10:23:58 +08:00
tangjinzhou 4b9fe8242e style: less typo 2022-03-17 10:23:09 +08:00
tangjinzhou 32ffd6bb32 doc: update icon demo 2022-03-17 10:21:04 +08:00
tangjinzhou d929217752 Fix Input.TextArea cut text logic when maxLength configured. 2022-03-17 10:19:18 +08:00
tangjinzhou ab26180635 feat: New theme less variable for Radio, Divider, Modal, Dropdown, Drawer. 2022-03-17 10:18:26 +08:00
tangjinzhou 4471520e35 fix: item error when not use in form, close #5343 2022-03-16 20:39:25 +08:00
tangjinzhou 1e8bbccdd2 doc: update ad 2022-03-16 09:08:13 +08:00
bqy eb6711f4f9
feat(components): [modal] export modalProps (#5340) 2022-03-15 23:02:49 +08:00
tangjinzhou a3149521bd doc: update doc 2022-03-15 22:47:33 +08:00
tangjinzhou 8f47732b45 style: lint code 2022-03-15 15:35:17 +08:00
tangjinzhou fe7ee5b9a4 release 3.1.0-rc.0 2022-03-15 15:32:47 +08:00
showkw 9b730ef5e2
fix: wave's custom prefixCls not working (#5334) 2022-03-15 14:39:11 +08:00
tangjinzhou a8d5dad362 revert: formItem errorlist animate 2022-03-15 14:34:25 +08:00
tangjinzhou 2b8bdf3b1d doc: update 2022-03-15 09:51:18 +08:00
tangjinzhou 2efe1af6b6 fix: row gutter ts type 2022-03-15 09:50:19 +08:00
tangjinzhou 9707506c5a doc: add theme demo 2022-03-14 16:40:25 +08:00
tangjinzhou 24ea3cd7f3 doc: update doc 2022-03-13 22:11:23 +08:00
tangjinzhou ed346d6251 doc: update doc 2022-03-13 22:10:21 +08:00
tangjinzhou f2e58b6225 chore: update compile script 2022-03-13 17:07:08 +08:00
tangjinzhou cf37535d22 test: update snap 2022-03-13 16:21:16 +08:00
tangjinzhou bf2ee6f5bd chore: update icons pkg 2022-03-13 16:10:39 +08:00
tangjinzhou 1750e163c0 style: style file name 2022-03-13 13:21:16 +08:00
tangjinzhou ac52955caf chore: remove webpack-filter-warnings-plugin 2022-03-12 23:14:32 +08:00
tangjinzhou 637310015e chore: update dist script 2022-03-12 23:00:23 +08:00
tangjinzhou 2bafbb104c test: update snap 2022-03-12 16:28:36 +08:00
tangjinzhou b3a0263c03 doc: add ad 2022-03-12 15:44:59 +08:00
tangjinzhou 21fd0c74e8 doc: update header & footer 2022-03-12 15:15:49 +08:00
tangjinzhou abc4894605 feat: tree add activeKey 2022-03-12 14:30:19 +08:00
tangjinzhou 5dd7a57734 fix: tree-select not disable parent cannot checked, close #5316 2022-03-12 13:35:23 +08:00
tangjinzhou f7e89998e9 fix: datePicker valueFormat log warning, close #5323 2022-03-12 11:00:36 +08:00
tangjinzhou ce00829d85 doc: submenu popupOffset, close #5312 2022-03-12 10:33:04 +08:00
tangjinzhou fc3bd1cba0 feat: select add filterSort virtual listHeight, close #5310 2022-03-12 10:16:27 +08:00
KaygNas fe4c3e60bf
fix(layout-sider): support layout-sider trigger slot (#5317)
* fix(layout-sider): support layout-sider trigger slot

* fix: sider trigger support slot

Co-authored-by: huangchengjie <huangchengjie@dm-ai.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
2022-03-12 10:05:33 +08:00
tangjinzhou 87a0cd5a00 test: update input snap 2022-03-12 10:02:41 +08:00
tangjinzhou 2ee3d43534
Feat css var (#5327)
* style: affix & util

* feat(alert): add customIcon slot

* feat(anchor): ts type

* style: auto-complete

* feat: avatar add crossOrigin & maxPopoverTrigger

* style(backTop): v-show instead v-if

* style: badge

* style: breadcrumb

* feat: button add global size

* feat: update i18n

* feat: picker add disabledTime

* test: update snap

* doc: update img url

* style: fix Card tabs of left position

* doc: update cascader doc

* feat: collapse

* style: comment

* style: configprovider

* feat: date-picker add soem icon slot

* style: update descriptions style

* feat: add divider orientationMargin

* doc: update drawer

* feat: dropdown add destroyPopupOnHide & loading

* style: update empty

* feat: form add labelWrap

* style: update grid

* test: update grid snap

* fix: image ts error

* fix: mentions cannot select, close #5233

* doc: update pagination change info, close #5293

* fix: table dynamic expand error, close #5295

* style: remove not use

* release 3.0.0-beta.11

* doc: update typo

* feat: input add showCount

* feat: inputNumber add prefix slot

* style: update layout

* style: update list

* feat: add locale i18

* style: update locale ts

* style: update mentions

* feat: menu divider add dashed

* perf: menu

* perf: menu animate

* feat: modal method add wrapClassName

* style: update pageheader

* feat: update pagination ts

* feat: confirm add showCancel & promise

* doc: update popover

* style: update progress

* style: radio

* style: update rate、result、row

* feat: select add fieldNames

* feat: add skeleton button & input

* feat: spin tip support slot

* style: slider & space

* stype: update steps ts type

* style: update switch

* feat: table add tree filter

* test: update input sanp

* feat: table add filterMode...

* fix: tree autoExpandParent bug

* test: update input snap

* doc: tabs add destroyInactiveTabPane

* style: update tag

* style: update timeline & time-picker

* fix: Tooltip arrowPointAtCenter 1px shift bug

* feat: typography add enterEnterIcon triggerType

* doc: update tree-select

* fix: deps and TypeScript types

* style: udpate transfer

* style: update style

* doc: add colorScheme

* chore: add css var builg

* doc: sort api

* style: lint code

* doc: add css var

* test: update snap

* chore: add pre script

* chore: update lint

* perf: collapse animate

* perf: collapse tree

* perf: typography shaking when edit

* doc: update auto-complete demo

* fix: table tree not have animate

* feat: deprecated dropdown center placement

* feat: deprecated dropdown center placement

* test: update snap
2022-03-12 09:56:32 +08:00
tangjinzhou fdf7857f89 release 3.0.0-beta.13 2022-03-04 14:06:29 +08:00
tangjinzhou 4c786dd7a7 perf: motion 2022-03-04 11:50:11 +08:00
tangjinzhou 207c944e21 fix: datepicker cursor for date-fns, close #5302 2022-03-04 11:44:11 +08:00
tangjinzhou 7999cdecbf fix: carousel click error, close #5299 2022-03-04 11:31:22 +08:00
tangjinzhou 639a68521c release 3.0.0-beta.12 2022-03-02 14:13:41 +08:00
tangjinzhou 991fa776cf fix: upload height error, close #5298 2022-03-02 14:05:33 +08:00
tangjinzhou 55e0ad7f92 fix: menu horizontal mode shaking 2022-03-02 13:48:02 +08:00
tangjinzhou fe0fc8084f doc: update typo 2022-02-28 22:17:50 +08:00
tangjinzhou f0c770def0 release 3.0.0-beta.11 2022-02-28 22:11:43 +08:00
tangjinzhou f771a1aec0 style: remove not use 2022-02-28 22:00:38 +08:00
tangjinzhou be7a73a7e6 fix: table dynamic expand error, close #5295 2022-02-28 21:44:15 +08:00
tangjinzhou 78c436b990 doc: update pagination change info, close #5293 2022-02-28 19:34:40 +08:00
tangjinzhou f0bc380527 fix: mentions cannot select, close #5233 2022-02-25 22:34:51 +08:00
tangjinzhou c7492a0b59
Refactor carousel (#5292)
* refactor: carousel

* refactor: carousel

* style: update vc-slick path
2022-02-25 14:38:09 +08:00
tangjinzhou 5edc8cadca fix: slider type warning, close #5289 2022-02-24 10:38:02 +08:00
tangjinzhou 04baae5a57
Refactor upload (#5290)
* refactor: vc-upload

* refactor: vc-upload

* refactor: upload

* refactor: upload

* refactor: upload
2022-02-24 09:58:58 +08:00
tangjinzhou 3cf5d4fa43 feat: labelCol & wrapperCol types, close #5265 2022-02-18 21:37:44 +08:00
tangjinzhou 6056b751b6 release 3.0.0-beta.10 2022-02-18 16:33:30 +08:00
tangjinzhou 31c3a6f693 fix: tree-select cannot open issue, #5220 2022-02-18 16:15:05 +08:00
tangjinzhou ad06a9ee05 fix: dropdown contextmenu, close #5259 2022-02-17 22:06:30 +08:00
tangjinzhou 2ec21c95a7 test: update snapshot 2022-02-17 21:03:25 +08:00
tangjinzhou 2e0bfd1f01 doc: add carouse img 2022-02-17 21:02:21 +08:00
tangjinzhou d9cdfa67db fix: descriptions warning, close #5250 2022-02-17 19:32:38 +08:00
tangjinzhou 2d0e2b6899 fix: dateFns parse strict mode 2022-02-14 14:19:13 +08:00
tangjinzhou 91c6a28205 fix: dropdownMatchSelectWidth:false not close virtual scroll #5242 2022-02-14 10:14:16 +08:00
tangjinzhou 2b0adaf717 test: update snapshots 2022-02-14 09:29:01 +08:00
Wang JiangDi 43b218806a
doc: markdown format (#5240) 2022-02-14 09:21:39 +08:00
tangjinzhou 8f9875e518 fix: datefns & dayjs parse strict, close #5221 2022-02-13 11:10:07 +08:00
tangjinzhou 5d38b3cf8d chore: update dependencies, close #5239 2022-02-13 09:41:39 +08:00
tangjinzhou c615251136 doc: select add searchValue, #5236 2022-02-13 09:38:10 +08:00
Jelmer de Wit d12edaea6f
docs(image): add controlled preview demo (#5234) 2022-02-10 10:52:09 +08:00
tangjinzhou 34869eceb5 release 3.0.0-beta.9 2022-01-28 10:31:23 +08:00
tangjinzhou 23624679fe feat: add title prop for progress, close #4929 2022-01-28 10:10:56 +08:00
Steven R. Loomis 42e34a63ec
fix: remove auto title on progress span #4929 (#4956)
- also updated test cases

Fixes: https://github.com/vueComponent/ant-design-vue/issues/4929
2022-01-28 10:02:21 +08:00
tangjinzhou 037470e1d2 fix: block not work when small size, close #5219 2022-01-27 20:47:37 +08:00
tangjinzhou b952038db1 fix: tree-select enter error, close #5217 2022-01-27 17:07:23 +08:00
tangjinzhou 5cc603d84c doc: remove optionLabelProp, close #5212 2022-01-27 15:20:13 +08:00
tangjinzhou 53fa27771d feat: add optionLabel slot 2022-01-27 15:12:15 +08:00
tangjinzhou 5c23d97daf doc: add tree-select demo 2022-01-25 10:17:32 +08:00
tangjinzhou 95ce5f4eb1 doc: update doc 2022-01-25 09:38:36 +08:00
chaegumi 4846bd0f65
docs: update menu doc, add triggerSubMenuAction description (#5202) 2022-01-25 09:31:37 +08:00
tangjinzhou 6d4248d046 fix: drag treenode style 2022-01-23 15:31:28 +08:00
tangjinzhou d442db08eb refactor: wave 2022-01-23 14:48:27 +08:00
tangjinzhou 7657157586 style: remove not use file 2022-01-23 10:25:59 +08:00
tangjinzhou ae4085f7c0 style: remove not use file 2022-01-23 10:21:23 +08:00
tangjinzhou 3d2a80b3bb doc: add dropdownVisibleChange, close #5195 2022-01-22 14:55:36 +08:00
tangjinzhou 41fe8be1f6 perf: mobile scroll, close #5191 2022-01-22 14:19:36 +08:00
tangjinzhou 1418422bcf fix: input focus style error, close #5188 2022-01-22 11:09:49 +08:00
tangjinzhou 1d47959606 doc: update tabs demo 2022-01-21 23:46:55 +08:00
tangjinzhou b88d97a314 release 3.0.0-beta.8 2022-01-21 23:15:20 +08:00
tangjinzhou ab79b4b078 fix: tabs control mode not work, close #5180 2022-01-21 22:58:58 +08:00
tangjinzhou f0385d7c24
Refactor cascader (#5192)
* feat: tree

* refactor: select

* refactor: select

* refactor: select

* refactor: vc-tree-select

* refactor: tree-select

* refactor: tree-select

* feat: add showLeafIcon

* refactor: remove lod vc-tree-select

* feat: tree-select add tag-render

* refactor: cascader

* refactor: cascader

* refactor: cascader

* refactor: cascader

* fix: maxTagmaxTagPlaceholder not work
2022-01-21 21:58:10 +08:00
Small 7624d80abe
doc: add usage for vite (#5176), close #5169 2022-01-18 19:30:02 +08:00
zkwolf 62428b6df3
fix(table): responsive invalid (#5172)
* fix(table): reponsive invalid #5171

* docs(table): add reponsive demo
2022-01-17 10:47:04 +08:00
tangjinzhou 26f1b98728 feat: summary cell support inheritAttrs 2022-01-14 14:22:03 +08:00
tangjinzhou 10fed707f8 doc: update demo ts error 2022-01-12 23:51:18 +08:00
tangjinzhou 239354e313 fix: modal getContainer not work 2022-01-12 23:50:02 +08:00
tangjinzhou b62c1564ec feat: add some type export 2022-01-12 22:57:07 +08:00
tangjinzhou ce767f2e0d doc: update demo ts type 2022-01-11 23:30:47 +08:00
tangjinzhou b25c5cc28e fix: ts type error 2022-01-11 23:23:07 +08:00
menghan 9693e4b10b
fix:(modal): getContainer property invalid (#5147)
* fix:(modal): getContainer property invalid

* Update Modal.tsx
2022-01-11 16:03:09 +08:00
tangjinzhou dab6f90f81 release 3.0.0-beta.7 2022-01-10 10:29:48 +08:00
tangjinzhou f6d1b848e4 fix: modal cannot open in dropdown, close #5139 2022-01-10 10:23:17 +08:00
tangjinzhou 3d3dcd5c44 test: update snap 2022-01-10 10:22:55 +08:00
tangjinzhou 23f5fba013 feat: add formItemInstance type 2022-01-10 09:27:03 +08:00
tangjinzhou 7dda6e8e07 feat: update ts type 2022-01-09 22:50:29 +08:00
tangjinzhou 3297f7aa58 fix: modal esc not work 2022-01-07 21:41:00 +08:00
tangjinzhou 8013592e82 doc: update doc 2022-01-07 21:28:49 +08:00
tangjinzhou 7c9c95cc37 release 3.0.0-beta.6 2022-01-07 21:15:41 +08:00
tangjinzhou 615d7c7d32 doc: fix empty demo, close #5136 2022-01-07 19:02:28 +08:00
tangjinzhou dd0b0b2eb9 feat: date-picker support vshow, close #5132 2022-01-07 18:50:30 +08:00
tangjinzhou 98755f332c
refactor: modal (#5129), close #5096
* fix: can not scroll when close dialog #5096

* refactor: modal
2022-01-06 16:08:53 +08:00
tangjinzhou ab2df12cce doc: update document title, close #5121 2022-01-06 15:58:42 +08:00
tangjinzhou 0a5dbf3642 fix: virtual scrollBar not update, close #5124 2022-01-06 15:04:21 +08:00
tangjinzhou efa045ab9c doc: fix select range time issue, close #5125 2022-01-06 10:27:05 +08:00
tangjinzhou 3e8959ad22 fix: dropdown menu log warning, close #5127 2022-01-06 09:54:27 +08:00
tangjinzhou 81ab68f696 release 3.0.0-beta.5 2022-01-04 10:30:05 +08:00
tangjinzhou 5c90cc251e fix: space size=0 not work, close #5101 2022-01-04 09:51:23 +08:00
tangjinzhou 3fc7a050ec fix: component ts build error 2022-01-03 23:14:08 +08:00
tangjinzhou 5b20498792 fix: component ts type 2022-01-03 22:45:16 +08:00
tangjinzhou d71df4b3ba fix: component ts type 2022-01-03 22:23:24 +08:00
tangjinzhou b13756ffbe fix: time-picker type error #5109 2022-01-01 16:41:34 +08:00
tangjinzhou ad76bb678d
refactor: message & notification (#5113)
* refactor: notification

* refactor: message

* refactor: notification

* test: update message & notification test
2022-01-01 10:34:37 +08:00
ZhangQingyuan 8a3724ff89
docs(carousel): customArrows.vue zindex misspelled (#5099) 2021-12-30 09:37:10 +08:00
小叮当 1d33c51d24
docs: fix typos and uniform punctuation in migration v3 (#5098) 2021-12-30 09:29:29 +08:00
zhouxinyong f6725f86c2
docs: add @formily/antdv link (#5092) 2021-12-28 22:00:41 +08:00
tangjinzhou 2213d0ed62 release 3.0.0-beta.4 2021-12-28 21:57:54 +08:00
tangjinzhou 3c0979c5e4 doc: add form demo 2021-12-28 21:46:35 +08:00
tangjinzhou ed3740048a feat: form add noStyle 2021-12-28 21:41:07 +08:00
tangjinzhou ca2ad60aef fix: input type ts 2021-12-28 18:56:31 +08:00
tangjinzhou 26496ba0a9
refactor: checkbox (#5091)
* style: remove not use pkg

* refactor: vc-checkbox

* refactor: checkbox

* fix: radio type
2021-12-28 16:47:52 +08:00
Palm Civet 620214d536
docs: remove app.config.productionTip (#5084) 2021-12-27 22:21:36 +08:00
tangjinzhou 30bbd4c3b4 fix: inputnumber can not input min value, close #5083 2021-12-27 21:59:52 +08:00
tangjinzhou 41f4187593 release 3.0.0-beta.3 2021-12-27 15:46:45 +08:00
tangjinzhou e1613fa9d4 fix: select not scroll, close #5082 2021-12-27 15:40:48 +08:00
tangjinzhou 8b2b402f73 release 3.0.0-beta.2 2021-12-27 10:08:27 +08:00
tangjinzhou b265d75c9a fix: table first render width, close #5075 #4993 2021-12-27 10:02:18 +08:00
zkwolf 0bc1e0a620
fix(form-item): should not validate when not have name (#5081) 2021-12-27 09:41:43 +08:00
zkwolf 8beb37f64a
chore: remove deep-assign (#5079) 2021-12-26 23:14:09 +08:00
tangjinzhou 862a2b36e3 doc: udapte changelog 2021-12-24 21:47:50 +08:00
tangjinzhou 8526a7eb81 doc: udapte changelog 2021-12-24 21:43:21 +08:00
tangjinzhou 3791cfc37c release 3.0.0-beta.1 2021-12-24 21:35:36 +08:00
tangjinzhou c6ab969a96 doc: update api 2021-12-24 21:32:10 +08:00
tangjinzhou 9cfeace7f8 test: update test 2021-12-24 17:43:55 +08:00
tangjinzhou 47f1bb050b test: update snap 2021-12-24 16:57:29 +08:00
tangjinzhou e9c9fbae21 test: update test 2021-12-24 16:45:10 +08:00
tangjinzhou 73ebf4c518 feat: add global types for volar, close #5067 2021-12-24 16:16:44 +08:00
tangjinzhou b645f827d0 fix: tabpane name error 2021-12-24 16:08:51 +08:00
tangjinzhou 3ff4f6b926 fix: web-type.json lose, close #4860 2021-12-24 14:46:05 +08:00
tangjinzhou b6c1b3ed86 fix: tree render perf, close #5069 2021-12-24 14:15:10 +08:00
tangjinzhou 4e70c6dd77 perf: virtual list 2021-12-23 23:23:01 +08:00
tangjinzhou 7aae6f675c
doc: form add demo (#5070)
* doc: add form demo

* fix: form dynamic error

* doc: add form demo

* revert: formitem auto validate #4955

* fix: input not update when set undefined

* doc: add form demo

* fix: form validate for number tyope, close #5064

* fix: form validateMessages not work

* doc: add form demo
2021-12-23 22:00:14 +08:00
tangjinzhou 1c9cfd19e6 Merge commit 'cbbf9f8f' into next 2021-12-21 16:31:32 +08:00
tangjinzhou 72f82771f1 feat: export formInstance type 2021-12-21 16:13:53 +08:00
刘贺 cbbf9f8f51
docs: modify typos in migration v3 (#5057) 2021-12-20 21:47:14 +08:00
tangjinzhou 89435951ae feat: tabs overflow node support remove 2021-12-20 16:19:35 +08:00
tangjinzhou 02e6fecc6d fix: tabs not update, close #5056 2021-12-20 16:18:48 +08:00
tangjinzhou 5cc1bd715d refactor: input-number 2021-12-20 14:52:29 +08:00
tangjinzhou 246e1163bb refactor: input-number 2021-12-20 14:52:29 +08:00
tangjinzhou 2a47de6c57 refactor: input-number 2021-12-20 14:52:29 +08:00
tangjinzhou 384ea35ca7 test: update slider update 2021-12-20 14:52:29 +08:00
tangjinzhou 257f7f03b5 refactor: raf 2021-12-20 14:52:29 +08:00
tangjinzhou b77ca0eed7 release 3.0.0-alpha.16 2021-12-19 09:49:04 +08:00
tangjinzhou ebd52af454 refactor: form input css 2021-12-18 17:00:55 +08:00
tangjinzhou b02af565a6 fix: spin cause table pagination animation#5028 2021-12-18 16:19:21 +08:00
tangjinzhou a3799fb0ea doc: update readme 2021-12-17 21:53:55 +08:00
tangjinzhou 443640effa feat: customCell add column arg, close #5052 2021-12-17 21:23:56 +08:00
liweijie0812 79ea8918e5
doc: vite-plugin-components has been renamed to unplugin-vue-components (#5043) 2021-12-17 17:04:15 +08:00
tangjinzhou 46b216274f fix: cannot select when use custom prefixCls #5023 2021-12-17 16:59:50 +08:00
tangjinzhou 47066753ac test: update transition #5023 2021-12-17 16:23:11 +08:00
tangjinzhou ae9ab9c5b0 test: update transition #5023 2021-12-17 16:05:58 +08:00
tangjinzhou 9784b429f5 refactor: upload types, close #5047 2021-12-17 15:32:32 +08:00
tangjinzhou 06516ec60d fix: input earch icon 2021-12-16 22:55:28 +08:00
tangjinzhou 2c2c070663 perf: ts type, close #5044 2021-12-16 17:20:18 +08:00
tangjinzhou 18cc95fa30 fix: table warning for page, close #5029 2021-12-16 16:01:58 +08:00
tangjinzhou 66eb020ce1 fix: input textarea cursor pos error 2021-12-16 14:30:27 +08:00
tangjinzhou 31c8339315 fix: remove textarea maxlength support emoji 2021-12-16 09:36:27 +08:00
tangjinzhou af2e2683b4 fix: carousel touch warning, close #5040 2021-12-15 23:52:43 +08:00
tangjinzhou 9791231e63 test: update snap 2021-12-15 23:29:15 +08:00
tangjinzhou 883d6e21ad fix: menu custom class, close #5038 2021-12-15 23:22:14 +08:00
tangjinzhou 0ee974a3aa fix: input type 2021-12-15 22:59:00 +08:00
tangjinzhou 296a2e549a refactor: input 2021-12-15 22:27:07 +08:00
tangjinzhou 5543ce6add refactor: input 2021-12-15 20:48:24 +08:00
tangjinzhou 7ec6831508 refactor: input 2021-12-14 23:50:22 +08:00
zkwolf cd6c6ff048
fix(rate): global prefixCls invalid (#5026) 2021-12-13 15:52:20 +08:00
tangjinzhou 07ee749023 release 3.0.0-alpha.15 2021-12-12 17:05:56 +08:00
tangjinzhou 4204ff0736 test: update typography test 2021-12-12 16:49:31 +08:00
tangjinzhou b9ff4eabcc fix: ssr error 2021-12-12 16:47:30 +08:00
tangjinzhou 9d469fb2af perf: layout 2021-12-12 14:32:53 +08:00
tangjinzhou 8eb43a4848 fix: table ts type #5009
close #5009
2021-12-12 14:30:58 +08:00
tangjinzhou c685b46704 test: update snap 2021-12-11 22:52:56 +08:00
tangjinzhou 0f833cb536 fix: trigger multipe click #5002
本质原因应该还是 vue 问题,有待进一步定位
2021-12-11 22:51:12 +08:00
tangjinzhou 9c0464d072 perf: layout 2021-12-11 22:29:29 +08:00
tangjinzhou 6e5390cec4 doc: add version info 2021-12-11 17:28:50 +08:00
tangjinzhou bcc5ca40ec test: update snap 2021-12-11 15:36:38 +08:00
tangjinzhou d9cd6f2ba5 fix: slider tooltip hide error 2021-12-11 15:30:13 +08:00
tangjinzhou 7bc9c78d51 fix: trigger animate #5008
close #5008
2021-12-11 14:59:52 +08:00
tangjinzhou 7d7f0f326c feat: input & textarea support lazy dir #4951
close #4951
2021-12-10 16:29:04 +08:00
tangjinzhou 6c28a8e40c fix: formItem error explain style #5004
close #5004
2021-12-10 15:52:13 +08:00
tangjinzhou 8e207009b0 fix: menu hide animate lose 2021-12-10 00:02:12 +08:00
tangjinzhou fcd6add766 doc: submenu required key 2021-12-09 22:57:44 +08:00
tangjinzhou 95a1b4a964 perf: menu lazy render children #4812 2021-12-09 22:48:53 +08:00
tangjinzhou 30f87e6193 test: add snap 2021-12-08 14:59:26 +08:00
tangjinzhou 0a404e88b7 fix: formItem name type #4998
close #4998
2021-12-08 14:56:57 +08:00
24min ee3188a782
fix: a-statistic-countdown slots error (#4996)
* 🎈 fix countdown slot Bug

*  review change
2021-12-08 10:39:36 +08:00
tangjinzhou 3b1510b70e fix: radio cursor style #4997
close #4997
2021-12-08 10:26:23 +08:00
tangjinzhou 6f5730b8ac doc: update table ajax demo #4980
close #4980
2021-12-08 09:47:38 +08:00
tangjinzhou 5ed8f8686d fix: select placeholder support slot #4995 2021-12-07 22:23:36 +08:00
tangjinzhou 3bb093cb23 release 3.0.0-alpha.14 2021-12-05 14:28:51 +08:00
tangjinzhou 56a9b9a405 ci: fix ci error on npm 8 2021-12-05 14:18:08 +08:00
tangjinzhou b19c8dd650 style: prettier format 2021-12-05 01:06:31 +08:00
tangjinzhou 9ed73529a6 test: update test 2021-12-05 00:46:32 +08:00
tangjinzhou 698b684233 fix: select cannot scroll #4971
close #4971
2021-12-05 00:15:53 +08:00
tangjinzhou 75be0189d6 doc: add table faq #4970
close #4970
2021-12-04 14:49:03 +08:00
tangjinzhou bde57724b7 fix: collapse activeKey deepWatch #4969 2021-12-04 09:21:05 +08:00
tangjinzhou eea3fe9015 fix: rangePicker type error #4961
close #4961
2021-12-03 22:49:43 +08:00
tangjinzhou 6fad9ead9e fix: slider tipFormatter error #4954 2021-12-03 22:37:38 +08:00
tangjinzhou 5265440f76 feat: formate validateFields values #4964 2021-12-03 22:36:59 +08:00
ludd c07e3f0831
fix: Slider tipFormatter types (#4954)
* Update index.tsx

* Update index.tsx

* Update index.tsx

Co-authored-by: tangjinzhou <415800467@qq.com>
2021-12-02 21:42:48 +08:00
tangjinzhou 79ae8006a8 fix: form change value not trigger validate #4955
close $4955
2021-11-30 22:23:44 +08:00
tangjinzhou af54405381 fix: textarea not trigger blur event 2021-11-30 22:22:09 +08:00
根号三 fbabea9065
docs: name casing in doc (#4944)
* doc: convert the name of icon components to kebab-case

* doc: copy kebab cased icon name
2021-11-30 21:08:51 +08:00
芋头 4a80b556f8
feat: add xxxl grid col size for 4k&5k display (#4953)
* feat: add xxxl grid col size for 4k&5k display

* Update index.zh-CN.md

* Update index.zh-CN.md

* Update index.en-US.md

* Update index.zh-CN.md

Co-authored-by: undefined <undefined>
Co-authored-by: tangjinzhou <415800467@qq.com>
2021-11-30 21:07:50 +08:00
tangjinzhou 65fc82e105 fix: remove window 2021-11-29 17:53:09 +08:00
tangjinzhou 0dd60654c5 doc: update rice 2021-11-28 16:29:55 +08:00
tangjinzhou dfe590240f doc: update style 2021-11-28 16:16:20 +08:00
tangjinzhou e8a77eb3a9 doc: add surelyvue 2021-11-28 16:11:04 +08:00
tangjinzhou 0113abb6f6 doc: update changelog 2021-11-28 14:53:53 +08:00
John b336d3acca
docs: fix the incorrect version of antdv in codesandbox (#4942) 2021-11-28 14:52:01 +08:00
tangjinzhou 57469f4be8 release 3.0.0-alpha.13 2021-11-28 10:42:13 +08:00
tangjinzhou 96299c5812 fix: anchor fixed less #4931
close #4931
2021-11-28 10:14:12 +08:00
tangjinzhou cf4ab5470c fix: slide up animate #4909
close #4909
2021-11-28 10:00:17 +08:00
Candy 7df7d788f8
fix: useForm ruleRef undefined warning #4881 (#4882), close #4881
Co-authored-by: candychuang <candychuang@tencent.com>
2021-11-27 16:47:26 +08:00
tangjinzhou 8dfe7eed8b doc: update 2021-11-27 16:35:58 +08:00
tangjinzhou 7461188c60 doc: remove unuse code 2021-11-27 16:35:18 +08:00
tangjinzhou 95cae149c4 fix: button support disabled=false #4930
close #4930
2021-11-27 15:23:08 +08:00
tangjinzhou 61bf98e641 fix: useForm trigger watchEffect, close #4932 2021-11-27 15:17:22 +08:00
tangjinzhou 0ae5d7a324 doc: udpate i18n doc 2021-11-27 10:41:35 +08:00
tangjinzhou be9d448ec9 fix: tabs moreIcon not work #4928
close #4928
2021-11-27 10:04:37 +08:00
tangjinzhou fe54804b21 fix: table summary sticky position not work 2021-11-26 22:54:05 +08:00
tangjinzhou 8ade6ebce2 fix: table ts error #4912
close #4912
2021-11-26 22:39:25 +08:00
tangjinzhou b20865ffb6 fix: ts type error 2021-11-26 22:34:27 +08:00
tangjinzhou ddc34539a9 fix: drawer remove visible isRequired #4908 2021-11-26 21:54:40 +08:00
tangjinzhou bbfe451d5e fix: step type error #4908
close #4908
2021-11-26 21:48:35 +08:00
tangjinzhou 5ad66497e5 test: update snap 2021-11-26 19:15:35 +08:00
tangjinzhou 3a141b2e9b doc: update md plugin 2021-11-26 17:17:40 +08:00
tangjinzhou b07882d92f doc: add surely-vue 2021-11-26 16:58:10 +08:00
tangjinzhou 5398550d35 style: lint format 2021-11-26 14:55:28 +08:00
tangjinzhou e28168e0be chore: update lint & ts 2021-11-26 14:48:37 +08:00
tangjinzhou 51874d9cee release 3.0.0-alpha.12 2021-11-20 22:21:59 +08:00
tangjinzhou 7a64fe544d fix: table rowSelection error #4889 2021-11-20 22:08:30 +08:00
tangjinzhou 67066e2fb6 fix: treeSelect isLeaf not work #4883
close #4883
2021-11-20 21:45:28 +08:00
tangjinzhou 5af08c0904 fix: table rowSelection deep watch #4889
close #4889
2021-11-20 16:49:25 +08:00
tangjinzhou d129670882 fix: table rowSelection deep watch #4889
close #4889
2021-11-20 16:29:27 +08:00
tangjinzhou 3e05460d09 fix: rowSelection trigger visible warning #4885
close #4885
2021-11-20 16:06:56 +08:00
tangjinzhou 84b9ac5904 fix: treeSelect reset undefined not clear #4897
close #4897
2021-11-20 15:05:20 +08:00
tangjinzhou 876720f31b fix: timeRangePicker hide panel not work #4902
close #4902
2021-11-20 14:20:36 +08:00
tangjinzhou f5986a9cc9 doc: update switch #4906 2021-11-20 13:52:30 +08:00
tangjinzhou 3b3c71b3a0 doc: update table 2021-11-20 13:46:59 +08:00
litong534 74038a0f61
doc: Update search.vue (#4872)
add missing props
2021-11-20 13:28:59 +08:00
bobo leng 723785ef4e
docs: complete missing prop of checkbox (#4865)
* docs: complete missing prop of checkbox

* docs: complete missing prop of checkbox
2021-11-20 13:27:29 +08:00
tangjinzhou 042bf616f8 fix: some components miss type, close #4866 2021-11-10 10:06:59 +08:00
tangjinzhou cf9627e16d release 3.0.0-alpha.12 2021-11-09 14:47:17 +08:00
tangjinzhou 85eb1066a3 fix: type miss, close #4863 2021-11-09 14:36:15 +08:00
tangjinzhou 87a4007dd3 release 3.0.0-alpha.11 2021-11-08 22:48:02 +08:00
tangjinzhou 91dbc39bad fix: collapse animation not work, close #4856 2021-11-08 22:41:27 +08:00
tangjinzhou dc4275129b fix: Compatible with empty slots for bodyCell
#4855
2021-11-08 21:59:14 +08:00
John 45c0583426
doc: support CodeSandbox (#4861) 2021-11-08 19:10:20 +08:00
tangjinzhou c3400115dd release 3.0.0-alpha.10 2021-11-05 15:24:11 +08:00
tangjinzhou a61f7fdd11 doc: tree add accordion demo
close #4849
2021-11-05 15:10:30 +08:00
tangjinzhou 685460591d fix: tree not trigger loadData
close #4835
2021-11-05 14:39:42 +08:00
tangjinzhou 8f77208806 feat: tree add parent for event callback
#4849
2021-11-05 13:21:19 +08:00
tangjinzhou bbf1cc8a6f fix: breadcrumb.item click not work, close #4845 2021-11-05 09:51:44 +08:00
tangjinzhou 215a4d5752 doc: update form typos, close #4850 2021-11-05 09:41:56 +08:00
tangjinzhou 0ef6cc81b4 fix: checkbox not aligned center in group
close #4846
2021-11-05 09:21:40 +08:00
tangjinzhou bb2af2c730 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-11-05 09:19:31 +08:00
萤火 61afa1571f
doc: Update automatic-tokenization.vue (#4847)
value 为数组类型,不是字符串类型
2021-11-05 09:12:40 +08:00
tangjinzhou 641afe1b34 fix: resizeColumn ts type error 2021-11-04 22:00:07 +08:00
tangjinzhou 6dfc8375c8 release 3.0.0-alpha.9 2021-11-03 16:34:24 +08:00
tangjinzhou fd02bcfb7b test: update snap 2021-11-03 16:32:15 +08:00
tangjinzhou e38e59d05a fix: multipe select can not separator content, #4844 2021-11-03 16:24:35 +08:00
tangjinzhou 80f9b9e8ac feat: select support fieldNames 2021-11-03 16:22:02 +08:00
tangjinzhou 3ce5046dd5 fix: form not trigger validate for inputnumber, close #4831 2021-11-02 21:33:58 +08:00
tangjinzhou 42afcbbfbc fix: tabs can not scroll at mobile, close #4828 2021-11-02 21:23:31 +08:00
tangjinzhou 9f5ac8d441 revert: some dulp val #4839 2021-11-02 17:11:30 +08:00
zkwolf 247032833b
fix(tree-select): checkable & selectable invalid (#4839)
Co-authored-by: tangjinzhou <415800467@qq.com>
2021-11-02 17:09:06 +08:00
tangjinzhou c57da055fc fix: raf type error 2021-11-02 17:06:42 +08:00
tangjinzhou 35bcec1e80 fix: tree-select selectable not work, close #4838 2021-11-02 17:04:34 +08:00
tangjinzhou 6f0dab1f72 fix: breadcrumb-item click type, close #4832 2021-11-02 16:38:17 +08:00
tangjinzhou 166bac62b4 test: update snap #4834 2021-11-02 16:21:33 +08:00
Yaro Shkvorets 8e15f126eb
fix: prevent <a> tag to be crawled 2021-11-02 16:17:20 +08:00
根号三 943a345a92
docs: fix typos in `Input` (#4830)
close: #4826
2021-11-02 16:08:36 +08:00
tangjinzhou a938bcb4de fix: requestAnimationFrame error in ssr, close #4833 2021-11-02 16:07:35 +08:00
tangjinzhou 7b03f8a739 release 3.0.0-alpha.8 2021-10-30 13:56:26 +08:00
tangjinzhou 26b07115cd fix: ts type error, close #4823 2021-10-30 13:54:04 +08:00
tangjinzhou fdc2012b90 release 3.0.0-alpha.7 2021-10-29 17:08:10 +08:00
tangjinzhou fbd9a21dc8 feat(tree): add expose some state, close #4820 2021-10-29 16:47:25 +08:00
tangjinzhou c16a5d46ae doc: carousel demo, close #4821 2021-10-29 15:33:30 +08:00
tangjinzhou 75e53514dc test: update snap 2021-10-29 15:29:29 +08:00
tangjinzhou c8617dc9ee fix: table resize handle line color, close #4813 # 2021-10-29 15:28:59 +08:00
tangjinzhou a5604bb967 fix: tree-select not update when empty 2021-10-29 14:50:25 +08:00
tangjinzhou a5779f2d18 feat: add form onValidate, close #4817 2021-10-29 10:22:35 +08:00
tangjinzhou 42cc616ed3 fix: table column resize for scroll, close #4811 2021-10-27 16:31:53 +08:00
tangjinzhou 15d4b2eb2c doc: add tree-select highlight demo, close #4809 2021-10-27 16:30:30 +08:00
tangjinzhou 6b4a1c8f61 release 3.0.0-alpha.6 2021-10-27 15:00:13 +08:00
tangjinzhou abcc545484 test: update snap 2021-10-27 14:59:36 +08:00
tangjinzhou 1272457517 feat: add resize table column 2021-10-27 14:58:55 +08:00
tangjinzhou 17a1ca5edf release 3.0.0-alpha.5 2021-10-26 21:22:50 +08:00
tangjinzhou a9f6365d78 doc: add sticky demo 2021-10-26 18:11:16 +08:00
tangjinzhou 7fbb0a0947 fix: table sticky error, close #4808 2021-10-26 18:10:47 +08:00
tangjinzhou 9322965027 perf: table, close #4787 2021-10-26 17:48:54 +08:00
tangjinzhou 816665f935 test: update snap 2021-10-26 16:51:14 +08:00
tangjinzhou 40f361fe1f fix: table sticky type error, close #4804 2021-10-26 16:46:32 +08:00
tangjinzhou 7e9e5af63f fix: table emptyText locale not work, close #4805 2021-10-26 16:44:10 +08:00
tangjinzhou a6d9d36343 fix: api components support locale, close #4780 2021-10-26 16:12:56 +08:00
tangjinzhou c76b46fa1a style: remove not use file 2021-10-25 17:36:41 +08:00
tangjinzhou 333331a11c feat: dropdown support text type, close #4802 2021-10-25 17:00:04 +08:00
tangjinzhou 40d08f73bb fix: tree fieldNames for key error, close #4790 2021-10-25 16:40:08 +08:00
tangjinzhou f6868abbdb fix: menu throw error at mobile, close #4794 2021-10-25 16:02:53 +08:00
tangjinzhou 7d67e0e7f2 fix: sueForm support dynamic rule, close #4799 2021-10-25 15:00:41 +08:00
tangjinzhou 4fc7c1666a doc: update 2021-10-25 14:59:49 +08:00
tangjinzhou 0373e3d523 doc: update 2021-10-25 09:42:36 +08:00
hyw123456 d41d7a610c
fix(typescript): Table type modification (#4781)
vite build error: Wrong type
2021-10-21 21:26:10 +08:00
Recovery f2994c8fcc
docs: pass isZhCN prop to PrevAndNext (#4786)
Co-authored-by: chengcq <chengcq@getui.com>
2021-10-21 21:25:22 +08:00
tangjinzhou 8fc4d7ac9c doc: udpate changelog 2021-10-20 10:16:49 +08:00
tangjinzhou 80fe6953ce bump 3.0.0-alpha.4 2021-10-20 09:53:51 +08:00
zkwolf d7a124c59d
docs: update tree-select doc and fix typo (#4766)
* docs: update tree-select doc and fix typo

* docs(tree-select): fix fieldNames description
2021-10-18 16:18:42 +08:00
tangjinzhou f0f71787c7 doc: uddate table 2021-10-18 15:30:09 +08:00
tangjinzhou 3a968fdd33 perf: use shallowRef 2021-10-17 21:31:34 +08:00
tangjinzhou 3f71a14874 doc: update qrcode 2021-10-17 09:55:46 +08:00
tangjinzhou 73d68b9040 doc: update qrcode 2021-10-17 09:50:26 +08:00
tangjinzhou bb03efcf7a release 3.0.0-alpha.3 2021-10-14 15:45:39 +08:00
tangjinzhou 98b5e5d53f fix: popover & popconfirm auto placement, close #4767 2021-10-14 11:04:27 +08:00
tangjinzhou 7638d3cc69 fix: table reactive error, close #4756 2021-10-14 10:46:13 +08:00
tangjinzhou bd0bc086c1 fix: table reactive error, close #4756 2021-10-14 10:42:35 +08:00
tangjinzhou f64d7adb22 fix: table sort tooltip npt work 2021-10-10 10:37:59 +08:00
btea 350242129e
chore: revise prettier command (#4742) 2021-10-09 09:59:17 +08:00
btea e87f80bce3
doc: start-up site show network (#4741) 2021-10-09 09:57:18 +08:00
tangjinzhou 9536fdd157 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-10-08 10:28:57 +08:00
tangjinzhou 21de9fb209 chore: add security, close #4676 2021-10-08 10:28:38 +08:00
ajuner a00ef07cd8
docs(drawer): update desc (#4738) 2021-10-08 10:11:20 +08:00
tangjinzhou c4f6eb603e fix: process.nextTick #4737 2021-10-08 09:54:01 +08:00
tangjinzhou cc0a53c191 doc: udpate drawer demo 2021-10-07 22:26:31 +08:00
tangjinzhou b78ccde9d9 release 3.0.0-alpha.1 2021-10-07 22:13:56 +08:00
tangjinzhou 8323952cfd chore: lock esbuild version 2021-10-07 17:49:26 +08:00
tangjinzhou 5f02f0c90d test: update snap 2021-10-07 17:42:31 +08:00
tangjinzhou ac70da19f5 fix: tree fieldNames error #4726 2021-10-07 15:22:34 +08:00
tangjinzhou 62c6f0e0d0 fix: directory tree fieldsname error #4726
close #4726
2021-10-07 13:27:43 +08:00
tangjinzhou 75cf264040
refactor: tabs & card (#4732)
* refactor: tabs

* refactor: tabs

* fix: tabs hotreload error

* refactor: rename useRef

* feat: add leftExtra rightExtra

* refactor: tabs

* test: update tabs test

* refactor: card

* doc: update tabs demo

* refactor: add card style

* style: update vue dep
2021-10-07 09:23:36 +08:00
tangjinzhou 022a3ce795 fix: notification style error, close #4703 2021-10-03 14:05:02 +08:00
tangjinzhou a5a3411c28
refactor: drawer (#4725)
* refactor(drawer): use compositionAPI

* refactor(drawer): update

* refactor: update

* chore: update

* docs: update

* fix: remove transitionStr

* chore: use useConfigInject

* refactor: drawer #4708

Co-authored-by: ajuner <106791576@qq.com>
2021-10-03 13:30:50 +08:00
tangjinzhou 4fe3c7a919 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-10-02 10:09:32 +08:00
tangjinzhou cf002d8f47 chore: update slash 2021-10-02 10:00:22 +08:00
renovate[bot] d79460ff55
chore(deps): update dependency vue-clipboard2 to v0.3.3 (#4642)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 09:13:56 +08:00
renovate[bot] 71b5c43252
fix(deps): update dependency async-validator to v4 (#4493)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 09:10:44 +08:00
renovate[bot] 5c7ccf3b8d
chore(deps): update dependency axios to ^0.22.0 (#4723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 09:06:21 +08:00
tangjinzhou 1fb40a31e4 fix: table pagination current error 2021-10-01 17:08:51 +08:00
tangjinzhou 1add0d251c fix: table pagination not reactive 2021-10-01 16:13:24 +08:00
tangjinzhou 1228e1d604 doc: fix tag demo error #4721 2021-10-01 15:18:45 +08:00
tangjinzhou 4021e89b15 feat: radiogroup support any label&value #4720 2021-10-01 15:10:20 +08:00
tangjinzhou 84341ef912 feat: radio support rtl #4720 2021-10-01 15:06:18 +08:00
ajuner cf3fe6b9e0
refactor(radio): use composition api (#4720)
* refactor(radio): use composition api

* docs: update

* chore: update

* docs: update

* Update Group.tsx

Co-authored-by: tangjinzhou <415800467@qq.com>
2021-10-01 14:53:37 +08:00
xrkffgg f653955c97
docs: add issues-helper badge (#4719)
* docs: add issues-helper badge

* Update README-zh_CN.md

* Update README.md
2021-10-01 14:06:02 +08:00
ajuner cb53a18f02
doc(transfer): docs & selectedKeys (#4717)
* refactor(transfer): docs & selectedKeys

* docs: update snapshot
2021-09-30 08:54:51 +08:00
renovate[bot] 5a9d7188b8
chore(deps): update dependency slash to v4 (#4697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 22:34:45 +08:00
renovate[bot] e1c8a57efd
chore(deps): update dependency eslint-plugin-no-explicit-type-exports to ^0.12.0 (#4693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 22:32:52 +08:00
renovate[bot] a1d7b972d2
fix(deps): update dependency @ant-design/colors to v6 (#4698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 22:31:43 +08:00
renovate[bot] 9a16dcd6f2
chore(deps): update dependency @types/node to v14 (#4695)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 22:29:53 +08:00
tangjinzhou c219e71ae9 style: remove not use code 2021-09-25 22:19:39 +08:00
tangjinzhou 3a98c44356 doc: update table doc 2021-09-25 18:24:17 +08:00
tangjinzhou ba560a37fe style: remove not use mixins 2021-09-25 18:17:41 +08:00
tangjinzhou 3aeeeb2aed
3.0 ready (#4523)
* refactor: transfer、tooltip (#4306)

* refactor(transfer): use composition api (#4135)

* refactor(transfer): use composition api

* fix: remove console

* refactor(tooltip): use composition api (#4059)

* refactor(tooltip): use composition api

* chore: useConfigInject

* fix: remove useless

* style: format code

* refactor: transfer

* refactor: tooltip

Co-authored-by: ajuner <106791576@qq.com>

* Refactor mentions (#4341)

* refactor(mentions): use compositionAPI (#4313)

* refactor: mentions

* refactor: mentions

Co-authored-by: ajuner <106791576@qq.com>

* Refactor progress (#4358)

* fix: timepicker error border not show #4331

* fix(UploadDragger): fix UploadDrager no export (#4334)

* refactor(switch): support customize checked value #4329 (#4332)

* refactor(switch): support customize checked value #4329

* test: add test case

* refactor: update props name

* refactor: update ts

* refactor: optimize

* style: uncheckedValue to unCheckedValue

* test: update snap

* feat: udpate switch ts

* docs: remove ie11

* fix: tree-select throw error when use slot title

* fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353)

* fix type for typescript 4.3.5

* Update interface.ts

close #4296

* fix: dropdown submenu style error #4351
close #4351

* fix(notification): 完善notification类型 (#4346)

* refactor(progress): use composition API (#4355)

* refactor(progress): use composition API

* refactor(vc-progress): update

* refactor: progress

* refactor: progress

* fix: timepicker error border not show #4331

* fix(UploadDragger): fix UploadDrager no export (#4334)

* refactor(switch): support customize checked value #4329 (#4332)

* refactor(switch): support customize checked value #4329

* test: add test case

* refactor: update props name

* refactor: update ts

* refactor: optimize

* style: uncheckedValue to unCheckedValue

* test: update snap

* feat: udpate switch ts

* docs: remove ie11

* fix: tree-select throw error when use slot title

* fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353)

* fix type for typescript 4.3.5

* Update interface.ts

close #4296

* fix: dropdown submenu style error #4351
close #4351

* fix(notification): 完善notification类型 (#4346)

* refactor(progress): use composition API (#4355)

* refactor(progress): use composition API

* refactor(vc-progress): update

* refactor: progress

* refactor: progress

Co-authored-by: Jarvis <35361626+fanhaoyuan@users.noreply.github.com>
Co-authored-by: John <John60676@qq.com>
Co-authored-by: 艾斯特洛 <axetroy.dev@gmail.com>
Co-authored-by: zanllp <qc@zanllp.cn>

* docs: add changelog

* refactor: tree

* refactor: tree

* style: lint

* refactor: tree

* 热factor: tree

* refactor: tree

* refactor: tree

* refactor: tree

* refactor: directory tree

* refactor: tree

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* style: lint format

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* fix: upload ts error

* fix: update tree title render & switchIcon

* test: update tree test

* feat: add VirtualScroll tree

* refactor: datePicker & calendar & trigger (#4522)

* style: update

* test: update calendar test

* test: update test

* test: update test

* refactor: slider

* feat: update slider css

* refactor: slider to ts

* refactor: slider to ts

* perf: update default itemHeight

* test: update

* fix: uddate ts type

* fix: update skeleton

* fix: update skeleton

* refactor: update vc-pagination

* refactor: pagination

* refactor: timeline

* refactor: steps

* refactor: collapse

* refactor: collapse

* refactor: popconfirm

* refactor: popover

* refactor: dropdown

* doc: merge doc

* chore: vite for dev (#4602)

* style: js to jsx

* doc: add site

* style: lint

* style: format ts type

* doc: update

* style: format code

* style: format site

* doc: update

* style: dmeo

* style: format scripts

* chore: remove sub-modules

* chore: update vite

* site: add site build

* test: update snap

* doc(select): add tip (#4606)

* refactor: table (#4641)

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* fix: column not pass to cell

* doc: uppate table

* fix: update bodyCell headerCell

* doc: remove examples

* refactor: table

* fix: table title not work

* fix: table selection

* fix: table checkStrictly

* refactor: table

* fix: table template error

* feat: table support summary

* test: update snap

* perf: table

* docs(table): fix ajax demo (#4639)

* test: update table

* refactor: remove old table

* doc: update  table doc

* doc: update doc

* doc: update select

* doc: update summary

Co-authored-by: John <John60676@qq.com>

* doc: update doc

* fix: menu arrow not work

* test: update

* doc: add next site

* style: format

* doc: update

* doc: update site script

* fix: expand icon not fixed

* feat: use renderSlot

* test: update table snap

* feat: confirm support reactively

* feat: configProvider.config

* feat: message support configprovider.config

* feat: notification support configprovider.config

* doc: update doc

* fix: typescript compile error

* style: add import eslint

* doc: update demo

* chore: set transpileOnly true

* style: fix eslint error

* test: update snap

* doc: update

* test: mock date

* test: update snap

* chore: remove gulp-typescript (#4675)

* feat: V3 form (#4678)

* chore: update husky

* perf: update formItem

* perf: useInjectFormItemContext

* fix: table ts error

* doc: add Customized Form Controls demo

* feat: export useInjectFormItemContext

* doc: update form doc

* doc: update doc

* doc: update doc

* feat: autocomplete support option slot

* doc: update

* feat: add form item rest

* style: remove omit.js

* refactor: autocomplete

* doc: add changelog to site

* doc: update site anchor

* doc: update doc layout

* test: update table test

* doc: update

* chore: udpate gulp script

* chore: udpate gulp script

* doc: add changelog

* doc: update

* test: ignore some test wait vue-test-utils

* fix: form id error #4582
close #4582

* doc: add select Responsive demo

* doc: remove temp doc

Co-authored-by: ajuner <106791576@qq.com>
Co-authored-by: Jarvis <35361626+fanhaoyuan@users.noreply.github.com>
Co-authored-by: John <John60676@qq.com>
Co-authored-by: 艾斯特洛 <axetroy.dev@gmail.com>
Co-authored-by: zanllp <qc@zanllp.cn>
Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
2021-09-25 16:51:32 +08:00
叡山电车 2e22b221c9
fix(select): mergedValue shouldn't modified by outValue (#4670) 2021-09-19 09:14:54 +08:00
tangjinzhou 2e5e146f0c chore: update ignorePlugin 2021-09-17 21:59:17 +08:00
tangjinzhou 5d990afe27 release 2.2.8 2021-09-17 16:45:02 +08:00
沈青川 7236fc253b
fix: ModalFuncProps types which can be string text (#4664) 2021-09-17 16:13:26 +08:00
叡山电车 27b258c29b
fix(useForm): immdiate validate doesn't work (#4646) 2021-09-15 15:14:46 +08:00
ajuner 3b8b19ea8c
fix: tree-select clear button render (#4655) 2021-09-15 13:31:59 +08:00
gitplus 2ce3f44403
fix(tag): prefixCls value (#4649) 2021-09-14 22:09:24 +08:00
叡山电车 752642afaf
fix(form): non-null predict for rulesRef (#4643) 2021-09-11 21:01:11 +08:00
undefined fc0589c48f Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2021-09-10 10:04:26 +08:00
undefined 741718a0f9 fix: autocomplete can not reset to undefined 2021-09-10 10:03:49 +08:00
Jérôme Prudent 4f36599458
feat: Support for patch method (#4637)
There is nothing HTTP speaking to prevent a multipart request with PATCH semantics.
2021-09-10 09:09:48 +08:00
叡山电车 a4d907a1bf
fix(Modal): type-definition error (#4632) 2021-09-09 17:02:02 +08:00
undefined d2b72143f0 fix: list gutter support array 2021-09-09 08:14:49 +08:00
tangjinzhou 4a28121b91 release 2.2.7 2021-09-08 22:11:28 +08:00
undefined 4c1347c24b fix: drawer jump bug #4609
close #4609
2021-09-08 21:48:35 +08:00
undefined 11498add8e fix: appcontext not work & function support #4627 2021-09-08 17:12:11 +08:00
Amour1688 9cd4783fd5
fix: typescript compile error (#4624) 2021-09-07 14:16:46 +08:00
undefined 3b08eee8c7 fix: ts error 2021-09-06 22:47:56 +08:00
undefined 44ae7f1b93 fix: dropdown menuitem danger not work #4618
close #4618
2021-09-06 21:26:43 +08:00
tangjinzhou c213c83844
fix: nest table throw error #4600
close #4600
2021-09-01 14:23:59 +08:00
xrkffgg 8c122c7ca5
ci: create issue open check 2021-08-31 20:04:20 +08:00
tangjinzhou 5c2eeb7d33 fix: type error 2021-08-29 14:09:15 +08:00
mehunk 83f85f240c
chore: add typescript version limit (#4587)
Co-authored-by: undefined <undefined>
2021-08-29 13:58:11 +08:00
tangjinzhou 3fd9f9ae71 fix: update EventHandlerNonNull to EventHandler 2021-08-29 10:44:24 +08:00
John 1f34aed666
fix: `imageProps` type #4583 (#4586)
close #4583
2021-08-28 16:39:40 +08:00
tangjinzhou 2b51d30c2e chore: add object-assign 2021-08-26 09:46:16 +08:00
tangjinzhou f3f3919c34 fix: remove transfer warning #4574 2021-08-26 09:44:02 +08:00
tangjinzhou 30a5f68fef chore: update compile config 2021-08-26 09:37:19 +08:00
tangjinzhou b3efecfab2 chore: update action config 2021-08-26 08:47:22 +08:00
tangjinzhou 285e05fc15 test: update transition test 2021-08-25 23:40:57 +08:00
tangjinzhou a58eaf5ea1 chore: update gulpfile 2021-08-25 23:07:11 +08:00
tangjinzhou 25cca73a31
chore: update prepublishOnly 2021-08-25 22:43:14 +08:00
tangjinzhou 381636f83c chore: update webpack dev server config 2021-08-25 09:58:58 +08:00
tangjinzhou 0d41aa929a feat: select option support number #4570
close #4570
2021-08-24 23:26:58 +08:00
CandyTong bd553de501
fix(auto-complete): cannot use configProvider prefixCls #4566 (#4569)
Co-authored-by: candychuang <candychuang@tencent.com>

close #4566
2021-08-24 23:00:31 +08:00
tangjinzhou c6c004ce8d fix: useForm support dynamic add rule #4498
close #4498 #4557
2021-08-24 15:22:43 +08:00
ajuner e9a44b9984
fix: remove zoom (#4555) 2021-08-22 21:39:24 +08:00
renovate[bot] 52df212c71
chore(deps): update dependency webpack-dev-server to v4 (#4543)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-20 08:28:42 +08:00
tangjinzhou 40f746e3e2 style: add warning form validateField #4536
close #4536
2021-08-18 20:57:51 +08:00
tangjinzhou 6ce295d490 fix: remove form warning in some case #4531 2021-08-18 20:26:07 +08:00
zkwolf baaccd574e
fix(switch): custom checkedChildren unexpected (#4528)
* fix(switch): custom checkedChildren unexpected

* Update index.tsx

Co-authored-by: tangjinzhou <415800467@qq.com>
2021-08-18 15:41:21 +08:00
mehunk c7abe76939
fix(mentions): chinese or japanese input error (#4524) 2021-08-18 08:36:28 +08:00
tangjinzhou af0620d14e feat: support overflowedIndicator slot #4515 2021-08-13 22:12:29 +08:00
tangjinzhou 6479864a6f release 2.2.6 2021-08-12 16:04:33 +08:00
Carter Li d0f03cae2a
fix(modal): allow Prop `getContainer` to be type of string & boolean (#4494) 2021-08-12 15:47:15 +08:00
tangjinzhou 9f15fe9fdf fix: add resize-observer-polyfill #4508
close #4508
2021-08-12 15:42:33 +08:00
tangjinzhou 8187d3a739 fix: rate slot character not work #4509
close #4509
2021-08-12 15:33:01 +08:00
tangjinzhou 4e14656ef1 fix: table expanded icon render error #4507 2021-08-12 15:11:40 +08:00
tangjinzhou 665e5919af release 2.2.5 2021-08-11 17:13:51 +08:00
tangjinzhou ccb24016c0 fix: select not scrollTo active position 2021-08-11 16:59:39 +08:00
tangjinzhou 01718e35ba fix: transition remove appearFromClass #4409 2021-08-11 16:41:23 +08:00
tangjinzhou 68c1f45501 feat: select support custom option by option slot 2021-08-11 15:22:49 +08:00
tangjinzhou 07f6d9edf0 docs: udapte changelog 2021-08-10 16:51:21 +08:00
tangjinzhou 1da679de34 release 2.2.4 2021-08-10 16:34:09 +08:00
tangjinzhou 3be5a422f2 release 2.2.4 2021-08-10 16:25:04 +08:00
tangjinzhou 0cd3db0bb0 fix: auto hide table scrollbar #4484
close #4484
2021-08-10 16:09:24 +08:00
tangjinzhou 08c3c9cc3b fix: symbol error 2021-08-10 15:21:13 +08:00
tangjinzhou f5849fad68 test: update snap 2021-08-10 14:39:47 +08:00
tangjinzhou 6f3fca48a1 feat: support vue@3.2 2021-08-10 14:36:28 +08:00
tangjinzhou 4135161173 fix: progress trailColor not work #4483
close #4483
2021-08-08 15:03:52 +08:00
tangjinzhou 257565b29d release 2.2.3 2021-08-07 10:02:41 +08:00
tangjinzhou 33f7b4850c fix: table fixed column not show dropdown 2021-08-07 09:26:24 +08:00
tangjinzhou 987c3872bf test: update table snap 2021-08-07 00:00:02 +08:00
tangjinzhou 38569c28c7 perf: table use sticky for fixed column 2021-08-06 23:27:54 +08:00
Zuobin Wang 4fed700e96
chore(all): delete useless Omit define (#4470) 2021-08-05 14:55:30 +08:00
tangjinzhou 524cc1382c style: collapse #4474 2021-08-05 14:50:49 +08:00
John 093f07c500
feat(vc-collapse): `key` support number type #4405 (#4474)
close #4405
2021-08-05 14:44:21 +08:00
tangjinzhou 881a796afd perf: statistic countdown 2021-08-05 14:36:50 +08:00
tangjinzhou 7665cbea01 fix: select can not scroll #4396
close #4396
2021-08-05 11:41:34 +08:00
zkwolf f35bafb88a
fix(tree-select): wrong title slot (#4459)
close #4457
2021-08-04 22:54:58 +08:00
tangjinzhou 1ed4923ea1 perf: update menu 2021-08-02 08:52:36 +08:00
tangjinzhou 386f3d003f perf: update menu 2021-08-01 23:31:28 +08:00
tangjinzhou 5bdd6f4007 fix: filter invalid form items #4435 2021-07-31 22:41:36 +08:00
zkwolf 5409ce545c
feat(input-password): accept global prefixCls (#4430) 2021-07-30 16:10:58 +08:00
Darma1106 903ac35aa7
perf: active tab color(#4241) (#4414)
close #4241
2021-07-30 16:09:24 +08:00
tangjinzhou e7e3aeb548 perf: remove chrome passive warning 2021-07-23 10:10:39 +08:00
xrkffgg fa5a6d87ff
ci: fix pr labeled user name 2021-07-19 13:10:05 +08:00
xrkffgg b00379744c
ci: create pr labeled 2021-07-19 13:08:00 +08:00
tangjinzhou a448e57475 test: update snap 2021-07-19 10:04:41 +08:00
tangjinzhou 002611752f fix: badge status error #4384
close #4384
2021-07-19 09:58:22 +08:00
xrkffgg 50503e5fc7
chore: Update issue-reply.yml (#4385) 2021-07-19 09:25:57 +08:00
tangjinzhou b5ab14df8d fix: formitem error when use native tag #4383
close #4383
2021-07-17 21:19:10 +08:00
John bea5df1541
fix(mentions): filterOption support boolean #4366 (#4376)
close #4366
2021-07-15 21:22:53 +08:00
tangjinzhou 2dc5bbbf43 fix: useForm type error #4372
close #4372
2021-07-15 21:20:00 +08:00
tangjinzhou 3da2b65fd8
Revert "chore(deps): update dependency husky to v7 (#4304)" (#4361)
This reverts commit cceac72267.
2021-07-13 13:59:06 +08:00
renovate[bot] cceac72267
chore(deps): update dependency husky to v7 (#4304)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-13 10:39:27 +08:00
tangjinzhou a758fb2a75 fix: empty error at jsx #4349
close #4349
2021-07-13 10:31:54 +08:00
tangjinzhou 39c866eb02 feat: useForm ts type 2021-07-12 10:00:10 +08:00
tangjinzhou cf60f9c46f release 2.2.2 2021-07-11 21:12:47 +08:00
zanllp 8ce46ab1a1
fix(notification): 完善notification类型 (#4346) 2021-07-11 14:46:45 +08:00
tangjinzhou c20c1f2a32 fix: dropdown submenu style error #4351
close #4351
2021-07-11 14:13:07 +08:00
艾斯特洛 fb94726a1e
fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353)
* fix type for typescript 4.3.5

* Update interface.ts

close #4296
2021-07-11 10:00:52 +08:00
tangjinzhou 1152e8cd71 fix: tree-select throw error when use slot title 2021-07-08 11:36:32 +08:00
tangjinzhou 60aeec7033 docs: remove ie11 2021-07-07 22:16:13 +08:00
tangjinzhou cf2ffa2bd9 feat: udpate switch ts 2021-07-07 22:09:09 +08:00
tangjinzhou 292f5c9d75 test: update snap 2021-07-07 21:51:03 +08:00
tangjinzhou ffb52a2c40 style: uncheckedValue to unCheckedValue 2021-07-07 21:50:50 +08:00
John 427cf36eaa
refactor(switch): support customize checked value #4329 (#4332)
* refactor(switch): support customize checked value #4329

* test: add test case

* refactor: update props name

* refactor: update ts

* refactor: optimize
2021-07-07 21:35:41 +08:00
Jarvis 9e0244dfc3
fix(UploadDragger): fix UploadDrager no export (#4334) 2021-07-07 21:24:14 +08:00
tangjinzhou 203e42382f fix: timepicker error border not show #4331 2021-07-06 21:58:05 +08:00
tangjinzhou 16ee0dd2f1 fix: submenu animation lose #4325 2021-07-06 15:54:58 +08:00
tangjinzhou b7b433e98f release 2.2.1 2021-07-06 11:01:35 +08:00
tangjinzhou 761f6a6661 fix: datepicker trigger scroll in safari #4323 2021-07-06 10:40:11 +08:00
tangjinzhou 40c4b80f69 test: udpate space test 2021-07-06 10:07:48 +08:00
tangjinzhou e64fb33905 fix: space style error when not support flex 2021-07-06 10:02:26 +08:00
tangjinzhou a1ffe2ae90 release 2.2.0 2021-07-06 09:13:41 +08:00
xrkffgg f9e823b051
Create emoji-helper.yml (#4315) 2021-07-03 10:01:31 +08:00
tangjinzhou d5952c060f fix: modal ts error for parentContext #4305
close #4305
2021-07-01 21:45:35 +08:00
tangjinzhou da10933cd3 fix: add button loading animation 2021-06-30 16:13:05 +08:00
tangjinzhou aa05d369e1 fix: tree replaceFields error #4298 2021-06-30 15:44:08 +08:00
tangjinzhou e79a930e59 fix: ts error 2021-06-30 15:17:53 +08:00
tangjinzhou e4c737e752 test: update snap 2021-06-30 14:53:18 +08:00
tangjinzhou 2c2726c827 style: lint code 2021-06-30 14:45:05 +08:00
tangjinzhou 41324dc1e3 Merge branch 'v3-button' into next 2021-06-30 14:42:02 +08:00
tangjinzhou 202f341299 chore: merge next 2021-06-30 14:41:07 +08:00
tangjinzhou 61c19a81c2 refactor: button 2021-06-30 13:48:02 +08:00
John 389b233a40
refactor(3.x/button): use composition api (#4291)
* refactor(button): use composition api

* refactor: add rtl

* refactor: sync antd

* refactor: update css

* refactor: add dev warning

* test: add test case

* refactor: export component type

* refactor: optimize
2021-06-30 10:03:17 +08:00
tangjinzhou e85d436ddd fix: textarea icon position error 2021-06-30 09:20:55 +08:00
tangjinzhou b12b7f83ca fix: rate not update #4294
close #4294
2021-06-30 08:38:44 +08:00
tangjinzhou 891f6dbb5a release 2.2.0-rc.1 2021-06-29 16:44:22 +08:00
tangjinzhou c563097faa fix: table ColumnProps interface #4288
close #4288
2021-06-29 16:16:32 +08:00
tangjinzhou 0c3d9d535d feat: menu event args add item #4290 2021-06-29 15:44:41 +08:00
tangjinzhou 9a86d1b54d style: update modal.tsx 2021-06-29 14:58:20 +08:00
tangjinzhou 64f7cbc423 chore: update babel config #4284 2021-06-28 17:53:45 +08:00
Carter Li e2ea50f08e
fix(List): fix circular reference, which confuses vite (#4263) (#4283) 2021-06-28 17:45:04 +08:00
tangjinzhou cdbe8eea6b feat: add useForm 2021-06-28 16:01:47 +08:00
renovate[bot] b6688c4419
chore(deps): update dependency postcss-loader to v6 (#4197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 11:23:06 +08:00
renovate[bot] c100e8d53f
chore(deps): update dependency less-loader to v10 (#4221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 11:22:43 +08:00
tangjinzhou 2f3ffdc79d Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-06-28 11:21:37 +08:00
tangjinzhou 5f8d8a555b fix: form validateFirst not reject #4273 2021-06-28 11:21:23 +08:00
renovate[bot] 86bde00882
chore(deps): update dependency style-loader to v3 (#4258)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-27 20:41:26 +08:00
tangjinzhou 4a0fce5a0a release 2.2.0-beta.6 2021-06-26 14:27:26 +08:00
tangjinzhou e8b95784eb perf: menu performance optimization 2021-06-26 10:50:27 +08:00
ajuner d028cce23f
chore: use type import (#4260) 2021-06-26 09:35:40 +08:00
tangjinzhou b1bb913f9d fix: `Layout` `RangePicker` `WeekPicker` `Textarea` on-demand loading failure 2021-06-24 22:47:36 +08:00
tangjinzhou d7f6148f24 release 2.2.0-beta.5 2021-06-24 13:58:15 +08:00
tangjinzhou d58a5d8b12 fix: select not update 2021-06-24 11:03:02 +08:00
John 2e06d38aff
fix(auto-complete): support `options` slots #4012 (#4072) 2021-06-24 09:42:27 +08:00
tangjinzhou 8d8f940552 test: update snap 2021-06-24 08:41:25 +08:00
tangjinzhou 33c7230ee2 style: update prettier & format code 2021-06-23 23:10:07 +08:00
tangjinzhou fdecafbbb3 feat: support vite-plugin-components 2021-06-23 21:47:53 +08:00
tangjinzhou 22141e74de
refactor: list (#4242) 2021-06-23 14:44:21 +08:00
tangjinzhou 31ed5c68d1 style: format code 2021-06-22 15:35:04 +08:00
tangjinzhou b2aa49d064 fix: select dynamic virtual list 2021-06-22 15:33:11 +08:00
tangjinzhou 604372ff2d fix: select keyboard position error 2021-06-22 13:26:19 +08:00
tangjinzhou 656d14fc4e feat: add select responsive 2021-06-22 10:47:33 +08:00
tangjinzhou 501204c543 fix: overflow responsive error 2021-06-21 22:56:43 +08:00
tangjinzhou 3a93f198df release 2.2.0-beta.4 2021-06-21 15:03:30 +08:00
tangjinzhou 4a0b04e063 test: update avatar snap 2021-06-21 14:35:44 +08:00
tangjinzhou 276e4ec250 test: update snap 2021-06-21 14:23:55 +08:00
tangjinzhou 1cd6e94408 test: update snap 2021-06-21 11:30:46 +08:00
tangjinzhou 8a6b2a728e test: update snap 2021-06-21 10:01:16 +08:00
tangjinzhou 116c8e4cef test: update snap 2021-06-20 22:53:42 +08:00
tangjinzhou e86492d249 test: update page-header test 2021-06-19 22:47:28 +08:00
tangjinzhou edcc8b7107 fix: image preview class error #4231 2021-06-19 22:13:13 +08:00
tangjinzhou 8996db2adf Merge branch 'v3' into next 2021-06-19 21:58:52 +08:00
tangjinzhou 9ce43befc4 Merge branch 'next' into v3 2021-06-19 21:58:10 +08:00
tangjinzhou 810c8e6f89 refactor: descriptions 2021-06-19 21:51:29 +08:00
tangjinzhou 700d04badc fix: typography not trigger onEnd in blur #4227 2021-06-19 15:49:39 +08:00
tangjinzhou a1a8b799d0 fix: col type error #4226 2021-06-19 15:29:07 +08:00
zkwolf 8e078d1e1c
feat: refactor descriptions (#4219) 2021-06-18 17:45:29 +08:00
tangjinzhou f9e6217bc9 fix: dropdown submenu error #4205 2021-06-18 17:12:57 +08:00
tangjinzhou edca829e09 fix: config provider error when vue3.1.1 #4225 2021-06-18 16:41:46 +08:00
zkwolf 3a51216f51
fix(countdown): onFinish cannot trigger (#4222) 2021-06-18 16:09:03 +08:00
tangjinzhou 0dcdd92ba2 release 2.2.0-beta.3 2021-06-11 22:07:59 +08:00
tangjinzhou 0cf37b3f8e fix: dropdown click close for contextmenu #4198 2021-06-11 21:48:12 +08:00
Carter Li ce6f44f918
feat(dropdown): allow pass string for prop trigger (#4199) 2021-06-11 21:14:16 +08:00
tangjinzhou 7624645d58 refactor: statistic 2021-06-10 23:04:57 +08:00
tangjinzhou fc6c358e9a fix: modal motion lose #4191 2021-06-10 22:17:41 +08:00
tangjinzhou 980ca7f4ff fix: menu divider class error #4195 2021-06-10 21:54:03 +08:00
tangjinzhou 74b66ecbfb fix: select class not update #4194 2021-06-10 21:39:50 +08:00
tangjinzhou 02e134f81d refactor: tag 2021-06-09 22:50:40 +08:00
tangjinzhou 8c1979ef1b fix: image type error #4185 2021-06-09 22:30:32 +08:00
tangjinzhou 6ae707edf5 perf: menu 2021-06-09 21:55:15 +08:00
tanjinzhou 791ae38bf8 fix: form-item expose some method #4183 2021-06-09 11:33:08 +08:00
tanjinzhou a2e5d966e1 fix: col error when not in row 2021-06-09 11:21:49 +08:00
tanjinzhou 617e534fda fix: form-item class not work 2021-06-09 10:31:56 +08:00
tangjinzhou 6cff37bb03
refactor: Breadcrumb (#4175) 2021-06-08 21:54:26 +08:00
tangjinzhou 3557e019de docs: update examples 2021-06-08 21:51:20 +08:00
tanjinzhou 0fa1581a99 refactor: breadcrumb 2021-06-08 17:48:05 +08:00
tanjinzhou 6ad0f9dc9b Merge remote-tracking branch 'origin/next' into v3 2021-06-08 16:56:28 +08:00
John 770e9cc6f4
refactor: breadcrumb (#4137) 2021-06-08 16:47:09 +08:00
tanjinzhou 7e1301ad7f fix: Tag type error 2021-06-08 15:00:15 +08:00
tanjinzhou 5d8f3fd8ee release 2.2.0-beta.2 2021-06-08 14:49:39 +08:00
tanjinzhou 93c2bc1552 fix: support vue3.1 2021-06-08 14:18:54 +08:00
tanjinzhou b45a6250de fix: layout not render in vue3.1 #4173 2021-06-08 11:36:58 +08:00
tangjinzhou b65a8672a4 fix: form class style not work 2021-06-07 22:54:58 +08:00
tangjinzhou 4de7737907 fix: page-header show extra content 2021-06-07 22:50:31 +08:00
tanjinzhou 6c5c84a3fc fix: menu divider name error 2021-06-07 18:19:01 +08:00
tangjinzhou 9e0df41a55
refactor: Anchor、Alert、Avatar、Badge、BackTop、Col、Form、Layout、Menu、Space、Spin、Switch、Row、Result、Rate (#4171)
* chore: remove  resize-observer-polyfill

* refactor: align

* refactor(v3/avatar): refactor using composition api  (#4052)

* refactor(avatar): refactor using composition api

* refactor: update props define

* fix: avatar src scale not update

* refactor: resizeObserver

* refactor: divider

* refactor: localeProvider

* refactor(v3/back-top): use composition api (#4060)

* refactor: backtop

* refactor: empty

* refactor: transButton

* feat(v3/avatar): add avatar group (#4062)

* feat(avatar): add avatar group

* refactor: update

* refactor: update

Co-authored-by: tangjinzhou <415800467@qq.com>

* refactor: avatar

* refactor: avatar

* style: rename useProvide

* refactor:  menu (#4110)

* fix: menu

* refactor: menu

* refactor: remove rc-menu

* fix: menu rtl error

* style: lint

* refactor(Anchor): use composition api (#4054)

* refactor: anchor

* refactor: anchor

* refactor: anchor

* feat: update

* fix: icon class lose

* refactor(v3/badge): use composition api (#4076)

* refactor: badge

* fix: badge inheritAttrs

* refactor: grid

* refactor: layout

* fix: menu not close

* refactor: space

* refactor: result

* refactor: affix

* refactor: comment

* refactor: form

* feat: spin add rtl

* feat: export spin type

* refactor: pageHeader

* refactor: page-header

* refactor: skeleton

* refactor: typography

* refactor(v3/rate): use composition api

* fix: add useRef hook

* refactor: form

* fix: menu not update

* refactor: form

* refactor: form

* fix: slide animate not work

* fix: menu mode error

* fix: menu icon

* refactor: rate

* perf: remove rate

* feat: add vc-overflow

* refactor: menu

* fix: remove flex check (#4165)

* fix: dist locale file lose #3684

* release 2.2.0-beta.1

* dcos: update changelog

* chore: update type

* docs: update changelog

Co-authored-by: John <John60676@qq.com>
Co-authored-by: 言肆 <18x@loacg.com>
Co-authored-by: zkwolf <chenhao5866@gmail.com>
2021-06-07 17:35:03 +08:00
tanjinzhou 772ac3c894 docs: update changelog 2021-06-07 17:15:36 +08:00
tanjinzhou dde7719d23 chore: update type 2021-06-07 17:07:42 +08:00
tanjinzhou 5cc10c6156 dcos: update changelog 2021-06-07 15:48:02 +08:00
tanjinzhou 2cfc6cce96 release 2.2.0-beta.1 2021-06-07 15:39:57 +08:00
tanjinzhou 62ca3a91f4 fix: dist locale file lose #3684 2021-06-07 14:37:38 +08:00
tanjinzhou 0d02391127 Merge remote-tracking branch 'origin/next' into v3
# Conflicts:
#	components/avatar/style/index.less
#	v2-doc
2021-06-07 14:31:07 +08:00
John b91659e4f7
fix(vc-tree-select): `showSearch=false` is invalid #4119 (#4125)
* fix(vc-tree-select): `showSearch=false` is invalid #4119

* style: remove debugger

* style: update

* refactor: update
2021-06-07 14:22:46 +08:00
zkwolf f091582e03
fix: select dropdownMatchSelectWidth invalid #4118 (#4164) 2021-06-07 14:17:13 +08:00
zkwolf 2b0afdaead
fix: remove flex check (#4165) 2021-06-07 14:16:08 +08:00
tanjinzhou 1281e4a4c9 refactor: menu 2021-06-07 11:14:31 +08:00
tanjinzhou 08a5ff30ca feat: add vc-overflow 2021-06-02 18:23:47 +08:00
tanjinzhou a58cb3cd39 perf: remove rate 2021-06-02 11:42:14 +08:00
tanjinzhou bc85604d94 refactor: rate 2021-06-02 11:40:33 +08:00
tangjinzhou 836ae6d5fe Merge branch 'sendya-refactor/v3/rate' into v3 2021-06-01 22:23:46 +08:00
tangjinzhou 3186b92c25 Merge branch 'refactor/v3/rate' of git://github.com/sendya/ant-design-vue into sendya-refactor/v3/rate
# Conflicts:
#	v2-doc
2021-06-01 22:23:26 +08:00
tanjinzhou 6b2af5c038 fix: menu icon 2021-05-31 14:25:59 +08:00
tanjinzhou b8c52b34cb fix: menu mode error 2021-05-31 12:59:33 +08:00
tanjinzhou f9ccbfd321 fix: slide animate not work 2021-05-31 12:46:50 +08:00
tanjinzhou 72147106f3 refactor: form 2021-05-31 11:33:30 +08:00
tangjinzhou 3d2a04d23d refactor: form 2021-05-30 21:39:25 +08:00
tangjinzhou 0a2940e4ad fix: menu not update 2021-05-28 22:33:10 +08:00
tanjinzhou c2bba2eb28 refactor: form 2021-05-28 17:31:15 +08:00
Sendya 7ec594c5fc fix: add useRef hook 2021-05-28 16:47:43 +08:00
Sendya 2b78d2dbc0 refactor(v3/rate): use composition api 2021-05-28 16:16:37 +08:00
tanjinzhou b68bb81652 refactor: typography 2021-05-28 13:42:22 +08:00
tanjinzhou c8898828d6 refactor: skeleton 2021-05-28 13:16:59 +08:00
tanjinzhou 5096ee4d70 refactor: page-header 2021-05-27 15:22:30 +08:00
tangjinzhou d2a1c422a7 refactor: pageHeader 2021-05-26 23:14:00 +08:00
tangjinzhou ad2b447866 feat: export spin type 2021-05-26 23:13:44 +08:00
tangjinzhou b53a91c337 feat: spin add rtl 2021-05-26 22:49:33 +08:00
tangjinzhou 2089961d6f refactor: form 2021-05-26 22:39:20 +08:00
tangjinzhou 5ee3d30858 refactor: comment 2021-05-26 22:13:04 +08:00
tangjinzhou e9854dafd8 refactor: affix 2021-05-26 21:52:22 +08:00
tanjinzhou 3b89f59094 refactor: result 2021-05-26 18:55:32 +08:00
tanjinzhou 42916f50f5 refactor: space 2021-05-26 17:31:16 +08:00
tanjinzhou a049a66ffe fix: menu not close 2021-05-26 15:49:18 +08:00
tanjinzhou 3825c6507f refactor: layout 2021-05-26 14:47:50 +08:00
John 4fdcc90c41
feat(input-number): export props types #4115 (#4116) 2021-05-26 10:24:24 +08:00
tangjinzhou fe99051b55 refactor: grid 2021-05-25 23:18:31 +08:00
tanjinzhou a01be5cce4 fix: badge inheritAttrs 2021-05-25 17:31:38 +08:00
tanjinzhou e442b0d1ec refactor: badge 2021-05-25 17:30:22 +08:00
言肆 372ac5c729
refactor(v3/badge): use composition api (#4076) 2021-05-25 13:44:11 +08:00
tanjinzhou 69b9f80a01 fix: icon class lose 2021-05-25 11:39:45 +08:00
tanjinzhou 44ccaa17de feat: update 2021-05-25 11:20:06 +08:00
tangjinzhou de4693c321 refactor: anchor 2021-05-24 23:07:42 +08:00
tangjinzhou a6e30c2ded refactor: anchor 2021-05-24 22:54:07 +08:00
tanjinzhou fbe3a48ac2 refactor: anchor 2021-05-24 18:09:11 +08:00
言肆 1877d66cc5
refactor(Anchor): use composition api (#4054) 2021-05-24 16:42:54 +08:00
John c0643fd437
refactor(vc-time-picker): input should be readonly #4084 (#4111) 2021-05-24 16:38:35 +08:00
tanjinzhou accea40ab2 fix: auto-complete filterOptions not work 2021-05-24 16:34:52 +08:00
tanjinzhou 1139aa5f87 style: lint 2021-05-24 14:59:20 +08:00
tanjinzhou 0c9951a0c1 fix: menu rtl error 2021-05-24 14:53:17 +08:00
tanjinzhou 3d0edbc292 refactor: remove rc-menu 2021-05-24 14:38:43 +08:00
tanjinzhou 8179361803 refactor: menu 2021-05-24 11:51:32 +08:00
tangjinzhou 7b494fd445 fix: menu 2021-05-23 22:40:42 +08:00
tangjinzhou 67952ab5a6
refactor: menu (#4110) 2021-05-23 21:49:35 +08:00
meteor f437e9124d
fix(date-picker): when default slot is a comment node, date-picker will not display (#4105) 2021-05-23 20:24:41 +08:00
Carter Li 5b36b9c43e
fix(input-number): don't use `this.inputRef` when the component is already unmounted (#4103) 2021-05-23 20:21:17 +08:00
renovate[bot] 7109a063c6
chore(deps): update dependency css-minimizer-webpack-plugin to v3 (#4075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 10:24:30 +08:00
renovate[bot] dc52be9810
chore(deps): update dependency less-loader to v9 (#4080)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 10:23:58 +08:00
liu 4effe6d293
fix: fix icon not real center & in menu component margin-right error (#4091)
Co-authored-by: NAVINFO\liunian7965 <liunian7965@navinfo.com>
2021-05-19 10:23:28 +08:00
tanjinzhou 07b4150966 release 2.1.6 2021-05-13 15:41:49 +08:00
tanjinzhou ea8ff66989 style: rename useProvide 2021-05-13 13:33:30 +08:00
tanjinzhou 7acf577f56 refactor: avatar 2021-05-13 12:57:42 +08:00
tanjinzhou 4a5c4cdeb7 refactor: avatar 2021-05-12 21:06:53 +08:00
John 0984951845
feat(v3/avatar): add avatar group (#4062)
* feat(avatar): add avatar group

* refactor: update

* refactor: update

Co-authored-by: tangjinzhou <415800467@qq.com>
2021-05-12 19:56:23 +08:00
tanjinzhou 49ad768432 Merge remote-tracking branch 'origin/next' into v3 2021-05-12 14:57:41 +08:00
tanjinzhou b51f25fff7 chore: update webpack config 2021-05-12 14:49:29 +08:00
tanjinzhou dcb34b08e9 fix: ssr error #3983 #3997 2021-05-12 13:10:07 +08:00
tangjinzhou 8f02b6d42c refactor: transButton 2021-05-11 23:07:20 +08:00
tangjinzhou 3a13ef26e1 refactor: empty 2021-05-11 22:48:31 +08:00
tangjinzhou b96fc440e9 refactor: backtop 2021-05-11 22:42:14 +08:00
言肆 5bcca46fff
refactor(v3/back-top): use composition api (#4060) 2021-05-11 21:59:33 +08:00
tanjinzhou dbbd07d62e refactor: localeProvider 2021-05-11 17:09:17 +08:00
tanjinzhou 170a169f35 refactor: divider 2021-05-11 16:23:49 +08:00
tangjinzhou 11ffa8dfda refactor: resizeObserver 2021-05-10 22:51:40 +08:00
tanjinzhou 7a2f28ac2d fix: avatar src scale not update 2021-05-10 18:52:55 +08:00
John 4d178debd7
refactor(v3/avatar): refactor using composition api (#4052)
* refactor(avatar): refactor using composition api

* refactor: update props define
2021-05-10 18:11:18 +08:00
tanjinzhou 184957e3c7 refactor: align 2021-05-10 16:34:14 +08:00
tanjinzhou 7315bfd03e Merge remote-tracking branch 'origin/next' into v3 2021-05-10 11:22:54 +08:00
tangjinzhou 726f6b4b2d release 2.1.4 2021-05-09 21:24:59 +08:00
chencc 5917df205c
fix(tree-select): After deleting the last child node of the parent node, another child node is selected. #3508 #3586 (#4047) 2021-05-09 20:47:52 +08:00
tanjinzhou b7783aeb1d revert: table scroll #4045 2021-05-08 18:24:57 +08:00
renovate[bot] 04f47e3bb7
chore(deps): update dependency fs-extra to v10 (#4030)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 15:22:57 +08:00
renovate[bot] 822d3e9dc9
chore(deps): update dependency lint-staged to v11 (#4038)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 15:21:18 +08:00
rainyan 7a8d05f32e
fix: './carousel/style' imported two times. (#4022)
Co-authored-by: rainyan <rainyan@tencent.com>
2021-05-07 13:42:42 +08:00
tanjinzhou ee26acd9f7 chore: update babel config 2021-04-30 11:23:35 +08:00
John bec35d03aa
fix(typography): `editable` should not trigger links #4015 (#4016) 2021-04-29 18:32:06 +08:00
zkwolf 3c4bd31a77
fix: import path (#4013) 2021-04-29 18:31:22 +08:00
tangjinzhou 58ffdd9728 fix: carousel not work with variable-width #3977 2021-04-27 22:30:17 +08:00
言肆 5eeaaae08c
fix(descriptions): column prop number type error (#4007) 2021-04-27 22:12:47 +08:00
zkwolf 731a58d518
fix: add loose to PropTypes.shape (#4001) 2021-04-27 22:11:31 +08:00
ajuner 41657eacef
fix(switch): add some missing types (#3994)
* fix: add some missing types

* update
2021-04-27 22:10:37 +08:00
tangjinzhou ea8c694cb1 chore: update package 2021-04-25 23:34:42 +08:00
tanjinzhou 157d560d09 release 2.1.3 2021-04-25 15:16:11 +08:00
tanjinzhou 5295279a76 feat: resize add offse value 2021-04-25 13:24:34 +08:00
zkwolf 184f6cac2f
fix: virtual-list height reactive (#3972) 2021-04-25 13:22:10 +08:00
renovate[bot] 7851c77db3
chore(deps): update dependency stylelint-config-standard to v22 (#3985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-25 10:50:19 +08:00
zkwolf ff436c06d0
fix: always make selectedKeys be array #3978 (#3984) 2021-04-25 10:49:06 +08:00
tanjinzhou 6d33d60d2b fix: table scrollbar not hidden in windows 2021-04-23 11:29:24 +08:00
Evont Ng 1fb65215a2
fix(descriptions): let breakpoint to be partial (#3958) 2021-04-21 15:11:23 +08:00
tanjinzhou 307c1fc093 test: update test 2021-04-21 14:25:35 +08:00
tanjinzhou 248dfbb6f6 fix: table style error 2021-04-21 11:37:38 +08:00
Amour1688 9c3cf323fe chore: `enableObjectSlots` of `@vue/babel-plugin-jsx` should be false 2021-04-20 10:38:19 +08:00
tangjinzhou 44cd93e29b chore: remove resize-observer-polyfill 2021-04-17 23:07:55 +08:00
John fb5d2e5054
fix: image preview not work #3701 (#3956) 2021-04-17 21:27:13 +08:00
tangjinzhou 97167fdb7a fix: cascader keydown not work in search #958 2021-04-17 21:25:08 +08:00
tangjinzhou a1e180da8c fix: inline-form span layout not work #3862 2021-04-17 08:42:18 +08:00
John 28e2660994
fix(radio): replace 'outline' with 'box-shadow' (#3955) 2021-04-17 08:00:34 +08:00
zkwolf 7863ac81ee
chore: remove is-mobile (#3953) 2021-04-17 07:38:43 +08:00
zkwolf f42b6292c0
feat: table column support v-for #3934 (#3938) 2021-04-14 10:40:54 +08:00
Carter Li 07ba6e48c6
fix(upload): fix `process` is not defined when using vite (#3930) 2021-04-14 10:38:42 +08:00
zkwolf 44e73cf460
style: remove duplicate func (#3924) 2021-04-11 22:09:41 +08:00
ajuner efb382c9ce
style: update Alert (#3923)
* chore: update Alert

* fix: update
2021-04-11 21:35:33 +08:00
tangjinzhou a20b49b808 chore: remove npm ad 2021-04-11 15:37:16 +08:00
tangjinzhou 4a7fcf95f5 refactor: switch #3885 2021-04-11 15:12:26 +08:00
ajuner 67b9da71eb
refactor(switch): use composition api (#3885)
* refactor(switch): use composition api

* test: fix

* fix: lint

* fix: remove prefixCls

* fix: use getPropsSlot

* fix: use emits
2021-04-11 09:57:20 +08:00
John 4c370edf24
fix: cascader types (#3912) 2021-04-10 22:26:11 +08:00
StevieYu 58c543985d
fix: remove calendar month extra elements (#3915) 2021-04-10 22:15:52 +08:00
John d8628ce66a
feat(form): `scrollToFirstError` supports passing in options (#3918) 2021-04-10 22:11:11 +08:00
ajuner efb388cb05
docs: fix typo (#3917) 2021-04-10 17:28:10 +08:00
Amour1688 1504e2ba33
chore: webpack 5 (#3894) 2021-04-09 11:00:41 +08:00
Mr小刘 b5ccbd4aeb
feat: table column group support fixed(#3882) (#3884) 2021-04-05 14:16:31 +08:00
zkwolf 160f768008
fix: avoid emit update:checked twice (#3866) 2021-03-31 13:46:43 +08:00
zkwolf db2e3599ff
fix: opt group label (#3868) 2021-03-28 20:28:08 +08:00
zkwolf ad3aaec3ca
fix: select always trigger first active (#3869) 2021-03-28 20:26:27 +08:00
tangjinzhou a8b54e8512 release 2.1.2 2021-03-28 09:17:29 +08:00
tangjinzhou 625c318a7f release 2.1.1 2021-03-27 22:27:40 +08:00
tangjinzhou 3da83ea161 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-03-27 22:17:17 +08:00
tangjinzhou e6e365b8bf chore: update vue to 3.0.8 2021-03-27 22:16:53 +08:00
tangjinzhou 6554659338 fix: upload custom method not work 2021-03-27 22:15:55 +08:00
zkwolf 73c71e19a2
fix: modal.confirm closable invalid #3844 (#3845) 2021-03-27 22:03:23 +08:00
tangjinzhou e30077dd83 release 2.1.0 2021-03-20 22:18:26 +08:00
tangjinzhou b72a414eae fix: table custom filterIcon emit sort event #3819 2021-03-20 15:16:56 +08:00
叡山电车 75c43683eb
fix: tree node class props invalid (#3822) 2021-03-19 17:21:46 +08:00
ajuner 4bdbb2c5d4
fix: use toRaw to solve error (#3812) 2021-03-19 17:20:58 +08:00
Ken 749e196689
fix: 'ABackTop visible issue under KeepAlive' (#3803) 2021-03-17 10:08:32 +08:00
tanjinzhou 3985a2b6ee style: remove not used var 2021-03-16 15:43:25 +08:00
tanjinzhou 7b76eb7f00 chore: revert husky to 4.x 2021-03-16 15:41:42 +08:00
tanjinzhou e368139cdf test: update test 2021-03-16 15:39:44 +08:00
tangjinzhou b0025d9e79
feat: add typography (#3807)
* feat: add typography

* fix: review typography

* fix: review typography

* feat: update typography

* feat: update typography

* fix: typography

* test: update typography

Co-authored-by: zkwolf <chenhao5866@gmail.com>
2021-03-16 12:54:22 +08:00
tanjinzhou 21bf0a3a40 chore: delete v1-doc 2021-03-12 16:04:59 +08:00
tanjinzhou 38db3a5f7e chore: update husky 2021-03-12 15:34:23 +08:00
tanjinzhou cdd45c4222 chore: update husky 2021-03-12 15:21:15 +08:00
tanjinzhou b8abf38075 style: prettier code 2021-03-12 15:20:45 +08:00
renovate[bot] 76fc3f5ca2
chore(deps): update dependency stylelint-config-standard to v21 (#3777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-12 15:02:44 +08:00
renovate[bot] cb9876e4c3
chore(deps): update dependency eslint-config-prettier to v8 (#3770)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-12 15:00:27 +08:00
renovate[bot] cd46103dfe
chore(deps): update commitlint monorepo to v12 (#3768)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-12 14:58:13 +08:00
renovate[bot] 9ebbe17631
chore(deps): update dependency husky to v5 (#3772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-12 14:57:27 +08:00
renovate[bot] 1c0b42b629
chore(deps): update dependency webpack-bundle-analyzer to v4 (#3778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-12 14:55:38 +08:00
言肆 b20902412f
feat: add IDE types tips generator (#3756)
* feat: add IDE types tips generator

* fix: webtypes default lang en-US

* chore: rename npmpublish allow files
2021-03-12 14:41:09 +08:00
tanjinzhou 848d6497e6 fix: drawer throw error when unmounted 2021-03-12 14:35:13 +08:00
John c1102df3f0
refactor: update select style (#3781) 2021-03-12 14:16:58 +08:00
tanjinzhou 7744dd0b6b chore: remove v1-doc 2021-03-10 15:10:54 +08:00
meteor fdee6333f3
style: change table row color when selected in dark theme (#3759) 2021-03-07 21:28:32 +08:00
Shahram M. Hassan 79995c141d
feat: add Central Kurdish Language (ku_KU) (#3757) 2021-03-07 21:23:02 +08:00
zkwolf a7fd514ebd
fix: closeable icon support in modal method (#3753) 2021-03-07 21:20:10 +08:00
xrkffgg 9a4e3e3ff2
ci: create issue-close-require.yml (#3748)
* Create issue-close-require.yml

* Update issue-close-require.yml
2021-03-07 21:18:51 +08:00
tangjinzhou 93380d6b4e fix: dist locale file lose #3684 2021-03-04 21:39:11 +08:00
zkwolf 1780dba2de
chore: update state.yml (#3733) 2021-03-03 19:26:38 +08:00
tangjinzhou bf717f1226 revert: steps 2021-02-27 23:24:09 +08:00
tangjinzhou 0a58c0800d release 2.0.1 2021-02-27 23:18:09 +08:00
tangjinzhou 9dbc46cfa6 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-02-27 22:50:42 +08:00
tangjinzhou e6b7aa47ae perf: table #3531 2021-02-27 22:50:21 +08:00
ajuner f78d9aae4d
fix: update data before callback (#3725) 2021-02-27 13:50:59 +08:00
xrkffgg 4c05c46cb4
ci: update translation helper (#3727) 2021-02-27 13:49:50 +08:00
ajuner f589c8f723
fix: use window clearTimeout (#3716) 2021-02-25 17:03:19 +08:00
xrkffgg 925c71a8ae
ci: update translate (#3717) 2021-02-25 17:02:15 +08:00
tanjinzhou f8ce34a7d7 style: prettier code 2021-02-25 15:41:43 +08:00
tanjinzhou 3967926110 fix: update vue3.0.6 error 2021-02-25 15:37:09 +08:00
zkwolf 483e177e13
feat: add ribbon (#3681)
* feat: add ribbon

* feat: ribbon support text slot

* test: add ribbon test
2021-02-25 13:39:39 +08:00
xrkffgg 765b420651
ci: create translate.yml (#3699)
* Create translate.yml

* Update .github/workflows/translate.yml

* Update translate.yml
2021-02-25 13:37:49 +08:00
zkwolf 7303e9ae86
fix: select scorll in mobile (#3707) 2021-02-25 13:37:15 +08:00
ajuner 006e23ab69
fix: update alert style (#3714) 2021-02-25 13:36:31 +08:00
zkwolf f1cf66fcc4
chore: update css.js build #3678 (#3679) 2021-02-17 21:22:15 +08:00
tangjinzhou 634dafce63
Update FUNDING.yml 2021-02-16 23:40:20 +08:00
tangjinzhou 8170a6ac8e chore: update package.json 2021-02-16 23:03:45 +08:00
tangjinzhou d963151dba chore: update submodule to v2-doc 2021-02-16 21:37:07 +08:00
zkwolf 20cd96e400
fix: improve form type definition #3638 (#3669) 2021-02-07 18:32:29 +08:00
zkwolf 553dff9f61
fix: menu-item type definition #3661 (#3667) 2021-02-07 18:31:35 +08:00
tangjinzhou b61cab7746 chore: update readme 2021-02-06 21:41:36 +08:00
tangjinzhou 63feed7162 release 2.0.0 2021-02-06 21:26:46 +08:00
ajuner 3e90fa6482
refactor(alert): use composition api (#3654)
* refactor(alert): use composition api

* feat: export alert props type
2021-02-06 17:59:04 +08:00
tangjinzhou ab75379f0c fix: time-picker can not scroll to selected 2021-02-06 14:30:57 +08:00
tangjinzhou 57b9ac17fd Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-02-06 13:58:47 +08:00
tangjinzhou 638ccb3b11 fix: table sortOrder ts type 2021-02-06 13:58:25 +08:00
zkwolf ae41fa1127
fix: table filter (#3650) 2021-02-06 13:47:44 +08:00
zkwolf 18ce372a13
fix: improve tree type definition (#3659) 2021-02-06 13:30:08 +08:00
tanjinzhou cdac96b0bc fix: add form onSubmit prop 2021-02-04 17:41:35 +08:00
zkwolf 4e4b9d6cca
chore: improve form warning (#3641) 2021-02-04 10:48:43 +08:00
zkwolf 53f3950b81
style: move color var of table to default less (#3612) 2021-01-29 21:14:42 +08:00
zkwolf f7db3ee718
fix: correct dropdown trigger type (#3611) 2021-01-29 21:13:39 +08:00
ajuner d221171e53
feat: tooltip support color (#3603)
* feat: tooltip support color

* update
2021-01-27 23:21:48 +08:00
ajuner 10a5fb28cb
chore: fix tree type (#3598) 2021-01-26 23:48:48 +08:00
tanjinzhou 94aedeae0c feat: add radio ts export 2021-01-26 11:18:51 +08:00
tangjinzhou 295b3f9621 bump 2.0.0-rc.9 2021-01-24 14:32:24 +08:00
tangjinzhou 47a847cc43 test: update snap 2021-01-24 14:32:06 +08:00
tangjinzhou 4a92ff9cac style: prettier code 2021-01-24 13:22:45 +08:00
tangjinzhou b30a316f4b perf: update default less 2021-01-24 13:18:51 +08:00
tangjinzhou b6c75bc73c perf: update default text-color 2021-01-24 11:25:30 +08:00
tangjinzhou fa55a16f2c test: update jest 2021-01-24 00:33:38 +08:00
tangjinzhou 1ea865e59b fix: table columns ts type 2021-01-23 23:50:10 +08:00
tangjinzhou cdadeeeb04 style: remove console 2021-01-23 23:43:19 +08:00
tangjinzhou 4080b470ee chore: update jsx dep 2021-01-23 23:41:40 +08:00
tangjinzhou 6b474598e0 fix: switch not update in table(amaze issue) #3512 2021-01-23 23:41:16 +08:00
tangjinzhou 1d1ed164a6 fix: table header scrolll not reset 2021-01-23 21:54:12 +08:00
tangjinzhou a72db912f7 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2021-01-23 17:10:32 +08:00
tangjinzhou c5b6a7ce2c fix: add pagnation events ts type #3564 2021-01-23 17:09:13 +08:00
zkwolf 20b53a91d3
fix: disabled tabPane can be actived #3575 (#3577) 2021-01-23 16:18:04 +08:00
tangjinzhou d275d2c6a3 fix: icons-vue es module #3570 2021-01-22 23:43:28 +08:00
zkwolf 22c81f909b
fix: checkbox emit unexpected value (#3549) 2021-01-21 22:32:09 +08:00
ajuner aad33cb72f
fix: Microsoft input triggers onchange twice (#3550) 2021-01-21 22:25:05 +08:00
He JinChao ca444b549c
fix: Input.Search class not work (#3541) 2021-01-19 23:43:01 +08:00
zkwolf b07190e13d
feat: dark theme (#3410)
* chore: update style

* chore: add dark css build

* test: update snapshot

* chore: remove compact var

* chore: update style

* test: update snapshot
2021-01-14 17:33:17 +08:00
青沛 b7943b38ee
fix: carousel's pauseOnDotsHover not work (#3519)
* fix: carousel's pauseOnDotsHover not work

* fix: carousel onMouseEnter event
2021-01-14 15:42:31 +08:00
John 5e92d9a7f2
fix: form-item wrong line break (#3538)
* fix: form-item wrong line break

fix #3319

* style: add commit
2021-01-14 15:41:24 +08:00
renovate[bot] 44557b2d18
fix(deps): update dependency @simonwep/pickr to ~1.8.0 (#3317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-14 10:14:45 +08:00
zkwolf 2904ceeab9
fix: radio cancel change (#3517)
* fix: radio cancel change #3047

* chore: update checkbox
2021-01-14 10:13:50 +08:00
zkwolf a6c3eae304
fix: breadcrumb separator display (#3522)
* fix: breadcrumb separator display

* chore: update breadcrumb
2021-01-14 10:12:57 +08:00
Hyphon 8a807caca2
fix(date-picker): add props(mode) value -- decade (#3514)
Co-authored-by: 李艺珅 <l>
2021-01-13 21:17:05 +08:00
John 6cb9d08b78
chore: remove node-emoji (#3515)
fixes #3513
2021-01-13 13:44:03 +08:00
Hyphon 36502294ba
feat(tabs): add centered tab bar style (#3501)
Co-authored-by: 李艺珅 <l>
2021-01-10 15:23:53 +08:00
ajuner 110304b628
fix: add opacity transition (#3505) 2021-01-08 16:53:51 +08:00
tanjinzhou 648741265b release 2.0.0-rc.8 2021-01-07 21:01:10 +08:00
tanjinzhou bf7c62f457 fix: date-picker ts type error 2021-01-07 19:18:59 +08:00
tanjinzhou 61f087ac2a perf: affix 2021-01-07 16:03:41 +08:00
言肆 ea2d8e2ecd
refactor(affix): use Composition api (#3447)
* refactor(affix): use Composition api

* fix: affix code style
2021-01-07 14:39:57 +08:00
tanjinzhou 1b68a46c89 perf: update image icons 2021-01-07 13:18:05 +08:00
John f61018afd7
Support vite2 (#3490)
* refactor: supports vite2

* refactor: remove CommonJS dependencies

* chore: update pkg

* refactor: update

* chore: update pkg
2021-01-07 12:53:49 +08:00
Vben 75931a1b39
fix(image): fix iamge prop error (#3488)
Co-authored-by: annsion <annsion@ann.local>
2021-01-05 20:49:18 +08:00
John eafc6dd0ba
fix: upgrade to less4 syntax #3477 (#3479) 2021-01-05 16:27:30 +08:00
renovate[bot] 7b671c420d
chore(deps): update dependency axios to ^0.21.0 [security] (#3486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 16:26:02 +08:00
tanjinzhou 711c394aaf bump 2.0.0-rc.7 2020-12-28 12:37:54 +08:00
zkwolf f5026dd49a
fix: switch event trigger #3453 (#3454) 2020-12-28 12:25:58 +08:00
tangjinzhou efa477a3b0 bump 2.0.0-rc.6 2020-12-27 19:28:20 +08:00
tangjinzhou adc6afb8fd
chore: support less4 (#3449) 2020-12-27 14:50:32 +08:00
tangjinzhou c90afeeed2 fix: tree-select trigger twice change event 2020-12-26 23:01:04 +08:00
tangjinzhou 2be1e77098 fix: tree-select maximum error when set slot tilte 2020-12-26 22:37:08 +08:00
tangjinzhou 6ef9404ee9 fix: drawer handle slot trigger twice click event 2020-12-26 15:57:25 +08:00
tangjinzhou 8baf85f7f9 perf: add checkbox events declare
close #3440
2020-12-26 15:43:33 +08:00
tangjinzhou 3c5c6becbf perf: switch add events declare
close #3439
2020-12-26 15:35:30 +08:00
zkwolf 759f18b476
chore: remove duplicate style (#3448) 2020-12-26 13:52:24 +08:00
tanjinzhou 123d04d1ef feat: message support custom style and class #3443 2020-12-25 14:44:47 +08:00
zkwolf 674933ae60
chore: remove all hard code component name (#3445) 2020-12-25 13:02:08 +08:00
tanjinzhou f62681b9d4 fix: input small height not correct #3396 2020-12-25 13:00:44 +08:00
xrkffgg 73b996345c
ci: update need reproduce (#3442)
* ci: update need reproduce

* Update .github/workflows/need-reproduce.yml

* Update and rename need-reproduce.yml to issue-reply.yml

* Update issue-reply.yml
2020-12-24 10:38:43 +08:00
zkwolf 610b0ab651
fix: layout-sider class (#3433) 2020-12-24 10:37:30 +08:00
tanjinzhou aea25100e5 fix: select scroll height not correct #3419 2020-12-22 13:22:14 +08:00
tanjinzhou 4f9555c64a fix: passive warning #3392 2020-12-18 18:54:18 +08:00
Zou Jian 5913cf9c5c
feat: add image (#3235)
* feat: 🆕 image组件 - 添加样式

* feat: 🆕 增加 AImage 组件

* feat: 🆕 参考 ant-design 增加 相关 Image 组件的less定义

* feat: 🆕 Image placeholder 的修改

* fix: 🐞 去除 onPreviewClose 相关

* test: 🧪 image width/height 以及相关测试

* fix: 🐞 fix lint no-setup-props-destructure

* test: 🧪 image test snap file

* refactor: 💡 去掉多加了的文件,重构文件以使逻辑清晰

* feat: 🆕 rc-image 相关内容 列入 vc-image 文件夹中

* feat: 🆕 antd 4.9.1 增加 image-preview-group

* feat: 🆕 add ImagePropsType

* feat: udpate image components

* feat: update image

* feat: update image

Co-authored-by: tanjinzhou <415800467@qq.com>
2020-12-18 18:02:51 +08:00
John60676 c6b189b583
fix: slider accuracy problems #3346 (#3379) 2020-12-17 15:12:57 +08:00
koichi uchinishi 184fe6866c
style: remove unsed codes (#3382) 2020-12-17 11:54:49 +08:00
tangjinzhou a9eb253bd2 chore: update pkg 2020-12-15 21:25:35 +08:00
renovate[bot] be4830dcf6
chore(deps): update dependency vue-loader to v16.1.1 (#3359)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-15 17:00:13 +08:00
tangjinzhou 2c559ea059 fix: tabs disabled not work #3366 2020-12-15 16:27:35 +08:00
tangjinzhou 1896bb9b77 bump 2.0.0-rc.5 2020-12-13 09:41:07 +08:00
tangjinzhou c7816b319e fix: menu mode error from vue3.0.3 #3354 2020-12-13 08:28:03 +08:00
tanjinzhou 2bb27a4210 fix: drawer log warning 2020-12-12 20:11:11 +08:00
Amour1688 f567b663fb chore(deps): upgrade @vue/babel-plugin-jsx to 1.0.0-rc.5 2020-12-12 18:16:58 +08:00
tanjinzhou fcaedc525a bump 2.0.0-rc.4 2020-12-10 20:06:48 +08:00
tanjinzhou a65416a1e9 chore: lock babel-plugin-jsx version 2020-12-10 19:32:01 +08:00
tanjinzhou 8d1669b889 fix: passive waring 2020-12-10 17:40:46 +08:00
tanjinzhou 5b8bda9e51 chore: remove stable workflow 2020-12-10 13:04:56 +08:00
tangjinzhou 48d3f98f4a
Create stale.yml 2020-12-10 13:03:44 +08:00
tanjinzhou c21ce3c617 chore: update workflow 2020-12-10 12:49:47 +08:00
zkwolf 3a8afb543a
feat: input.password add iconRender (#3320)
* feat: input.password add iconRender

* feat: input.password support slot iconRender
2020-12-09 16:07:27 +08:00
tanjinzhou 2f467d75f0 Merge branches 'next' and 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-12-09 16:02:11 +08:00
zkwolf 9553cfb489
fix: indexof openkeys error (#3334) 2020-12-09 16:01:50 +08:00
tanjinzhou 10f35a1fa5 fix: menu theme not work at overflowmenu 2020-12-09 15:34:25 +08:00
tanjinzhou 4ea00d3a70 fix: select option not support click event 2020-12-09 15:27:03 +08:00
tanjinzhou 520d6a5e85 perf: menu warning error 2020-12-08 11:50:52 +08:00
tangjinzhou 5af2653e5a fix: datepicker log some warning 2020-12-06 00:27:04 +08:00
tangjinzhou c2f5b3fa9f bump 2.0.0-rc.3 2020-12-05 15:17:28 +08:00
tanjinzhou c5468f2b3b fix: input-number parse error #3249 2020-12-04 14:59:23 +08:00
tangjinzhou ef51ede2ce fix: menu loose submenu id 2020-12-03 23:38:17 +08:00
nanjingcaiyong cc2d1551b7
Fix: The props of the subpopupmenum component is missing the submenuopendelay and submenclosedelay properties (#3291)
* fix: the button's loading property without delay

* fix: missing the submenuopendelay and submenclosedelay properties

Co-authored-by: caiyong <caiyong@ihomefnt.com>
2020-12-03 16:10:13 +08:00
zkwolf 7f239b26e1
fix: input lose style #3273 (#3274) 2020-11-29 16:35:44 +08:00
wdZhang 67942e4ff4
update: about import icon in change log (#3271) 2020-11-28 20:16:23 +08:00
tanjinzhou 28aeea6f0b fix: tree-select loop error 2020-11-27 13:35:19 +08:00
tangjinzhou 8c94b78346 fix: menu overflowed error #3262 2020-11-26 23:43:22 +08:00
tanjinzhou f5cf7e0920 fix: functional compoent support vue3.0.3 2020-11-26 13:39:18 +08:00
Amour1688 fa320e6e64
feat: layout props type extends HTMLAttributes (#3258) 2020-11-26 13:27:42 +08:00
tangjinzhou 335155e1f5 bump 2.0.0-rc.2 2020-11-24 22:56:49 +08:00
tanjinzhou 3f0921f690 chore: update workflow 2020-11-24 18:44:20 +08:00
tanjinzhou 23dc1f86b2 style: vSlots to v-slots 2020-11-24 18:07:45 +08:00
tanjinzhou 0a4245efa9 test: update snap & ts error 2020-11-23 16:39:09 +08:00
zkwolf 12d467e498
fix: range-picker style order #3219 (#3245) 2020-11-23 14:24:33 +08:00
John60676 8a6125d74d
fix(button): dropdown button in the wrong position (#3244) 2020-11-23 14:23:32 +08:00
tangjinzhou da6d243e9e
Perf menu2.0 (#3243)
close #3231 #3188
2020-11-23 14:21:18 +08:00
ajuner 2d6b50242c
chore: tooltip type fix (#3242) 2020-11-23 13:47:26 +08:00
zkwolf 04f72ed2cf
chore: add dropdown emits (#3237) 2020-11-23 13:46:30 +08:00
xrkffgg 32d327cb4f
chore: create need-reproduce.yml (#3240)
* chore: create need-reproduce.yml

* Update .github/workflows/need-reproduce.yml
2020-11-22 23:29:23 +08:00
Jason 607fdf7d79
fix(input-number): fix InputNumber onChange type error (#3224) 2020-11-20 23:59:47 +08:00
tanjinzhou a6b7c6fa85 style: vShow to v-show 2020-11-20 10:11:04 +08:00
tangjinzhou 023efdcc71 feat: perf small table style #3221 2020-11-19 23:36:07 +08:00
tangjinzhou 1be269d275 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-11-19 23:03:59 +08:00
tangjinzhou 994e709226 fix: select label-in-value error #3216 2020-11-19 23:03:31 +08:00
ajuner 35f509aea6
chore: fix Message type (#3212) 2020-11-19 22:10:51 +08:00
Zhang 7518096983
fix: fix transformCellText lost (#3206)
* fix: update message type

* fix: fix transformCellText lost
2020-11-19 22:02:00 +08:00
ajuner de05f936c1
fix: declare Tree Component type (#3178)
* fix: declare Tree Component type
2020-11-18 17:37:15 +08:00
tangjinzhou 00455da385 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-11-17 22:51:16 +08:00
tangjinzhou 35ab3bd8c0 fix: optionFilterProp not support children #3204 2020-11-17 22:51:00 +08:00
nanjingcaiyong 87e59853bb
fix: the button's loading property without delay (#3194)
Co-authored-by: caiyong <caiyong@ihomefnt.com>
2020-11-17 21:45:21 +08:00
tanjinzhou 8da63a6a24 fix: directoryTree custom icon not work #3183 2020-11-16 15:39:43 +08:00
xrkffgg 642291790e
fix: notification top type (#3187) 2020-11-16 13:00:43 +08:00
tanjinzhou 5e4fff39d6 fix: alert close icon style error on safari #3184 2020-11-16 11:32:28 +08:00
zkwolf bc03b6ede2
feat: tag support icon slot (#3185) 2020-11-15 23:18:42 +08:00
tangjinzhou 210dadc93c bump 2.0.0-rc.1 2020-11-14 23:08:07 +08:00
tangjinzhou b051ac69a6 test: update menu 2020-11-14 22:09:56 +08:00
tangjinzhou a60df373f9 chore: update git config 2020-11-14 21:36:38 +08:00
tangjinzhou 1dcd93f6e7
Perf menu (#3177)
* fix: menu parent dom  select class not work

* perf: ease-in-out update
2020-11-14 21:34:27 +08:00
ajuner e7fbaacf3b
fix: update Menu type (#3173)
* fix: update Menu type

* update
2020-11-14 20:48:35 +08:00
tangjinzhou b84b981799 fix: statistic Countdown not update #3170 2020-11-14 15:55:21 +08:00
Zhang 4456bbca14
fix: update message type (#3168) 2020-11-14 14:10:10 +08:00
zkwolf 17454b2cea
feat: tag support status color (#3166) 2020-11-14 13:59:20 +08:00
ajuner f3063e00c0
fix: update components type (#3165) 2020-11-14 13:56:39 +08:00
ajuner 4ab7a681a7
fix: declare components type (#3145)
* fix: update alert code

* chore: declare link type

* chore: declare auto-complete type

* chore: declare Badge type

* chore: declare Breadcrumb type

* chore: declare Calendar type

* chore: declare Card type

* chore: declare Checkbox type

* chore: declare Descriptions type

* chore: declare Dropdown

* chore: declare Form type

* chore: declare Mentions type

* chore: declare Menu type

* chore: declare popconfirm type

* chore: update Radio typescript

* chore: declare Rate type

* chore: declare Transfer type

* fix: update Transfer type

* fix: update type

* fix: update type
2020-11-13 10:51:12 +08:00
zkwolf ba971c4f2c
fix: pagination type error #3159 (#3164) 2020-11-13 10:08:06 +08:00
Jason e29ad47995
fix(form): form rules type error (#3150) 2020-11-12 15:21:16 +08:00
tanjinzhou f38c5a2f43 Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-11-12 13:44:01 +08:00
tanjinzhou af62058b49 feat: dialogStyle dialogClass deprecated #3142 2020-11-12 13:43:46 +08:00
tanjinzhou c07423a6d5 feat: dialogStyle dialogClass deprecated #3142 2020-11-12 13:41:02 +08:00
Zou Jian d122901de6
fix: use `defineComponent` in DescriptionsItem
* fix: 🐞 tsx 中使用 Descriptions.Item 提示错误

Co-authored-by: Amour1688 <31695475+Amour1688@users.noreply.github.com>
2020-11-12 10:06:11 +08:00
Amour1688 44bc942bf7 fix: button props type 2020-11-11 21:33:17 +08:00
tanjinzhou 50357712d4 fix: popover position not correct #3147 2020-11-10 19:56:34 +08:00
tanjinzhou 72a86910be fix: menu divider class not correct 2020-11-10 15:41:41 +08:00
tanjinzhou 7cd86b5a00 fix: drawer esc keydown #3148 2020-11-10 15:13:31 +08:00
tanjinzhou 8096003ed1 fix: select search not work #3144 2020-11-10 13:18:40 +08:00
tangjinzhou c523266a99 fix: menu some class not correct 2020-11-10 00:18:32 +08:00
tanjinzhou c07d1eab41 feat: menu support forceSubMenuRender 2020-11-09 17:55:11 +08:00
tangjinzhou 17c7cb30a3 bump 2.0.0-beta.15 2020-11-08 14:18:12 +08:00
tangjinzhou 76c29b6a56 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-11-08 11:03:22 +08:00
tangjinzhou b14410902c perf: optimize menu animation #3095 2020-11-08 11:03:13 +08:00
Zou Jian dbbe345005
fix: breadcrumb itemRender slot type error (#3131)
* fix: breadcrumb中itemRender slot的参数与定义与实际的不符

* Update components/breadcrumb/Breadcrumb.tsx

Co-authored-by: Amour1688 <31695475+Amour1688@users.noreply.github.com>

Co-authored-by: Amour1688 <31695475+Amour1688@users.noreply.github.com>
2020-11-08 10:21:49 +08:00
tangjinzhou eef874b805 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-11-07 23:10:11 +08:00
tangjinzhou ee4cd3c35a fix: transfer search input style 2020-11-07 23:08:54 +08:00
就是喜欢陈粒 343e3aa2e4
fix: add warning when validating form for non-string type (#3128)
Co-authored-by: 成仕伟 <chengsw@heywhale.com>
2020-11-07 22:54:01 +08:00
tangjinzhou a3d48834f1 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-11-07 22:45:22 +08:00
tangjinzhou 4de6dbeb25 test: update snap 2020-11-07 22:43:45 +08:00
tangjinzhou 19d5e7a14a fix: lint error 2020-11-07 22:43:31 +08:00
ajuner 7e53c435c3
chore: declare input type (#3130) 2020-11-07 22:39:18 +08:00
tangjinzhou b155627923 style: format code 2020-11-07 21:19:50 +08:00
tangjinzhou a13dd20f58 style: format file 2020-11-07 15:37:17 +08:00
tangjinzhou bd1f42a5ef fix: some ts type error 2020-11-07 15:08:42 +08:00
tanjinzhou c52cc02e89 perf: update menu provide 2020-11-06 11:12:03 +08:00
tanjinzhou 7125d84fa2 perf: optimize select animate 2020-11-05 18:09:02 +08:00
tanjinzhou 8ba8983353 fix: table customRow events not work #3121 2020-11-05 13:11:38 +08:00
tangjinzhou 196d2dc8a5 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-11-04 23:39:45 +08:00
tangjinzhou cc35671d7b fix: select focus logic #3099 2020-11-04 23:39:05 +08:00
Amour1688 d4e7b59f23 fix: table missing type `Plugin` #3104 2020-11-04 22:08:51 +08:00
tanjinzhou 2e61e9cb50 perf: update virtual-list 2020-11-04 18:59:08 +08:00
tanjinzhou a3a060077b fix: select item display not update 2020-11-04 16:58:36 +08:00
tanjinzhou 36b2d47f84 Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-11-04 10:53:06 +08:00
tangjinzhou e39b43bbc2 fix: date-picker default format not correct #3091 2020-11-03 23:28:08 +08:00
tangjinzhou a4854084bc fix: types error 2020-11-03 23:15:57 +08:00
tangjinzhou df1428e33d fix: select tag value not correct #3100 2020-11-03 23:08:43 +08:00
tangjinzhou 6a16e19b37 fix: moment ts error 2020-11-03 22:57:14 +08:00
tangjinzhou 1165b42dc2 fix: select dropdownRender not support slot #3098 2020-11-03 22:36:23 +08:00
Amour1688 c98e13d803 style: optimize date-picker code 2020-11-03 11:53:59 +08:00
tanjinzhou 689113b3c9 fix: menu overflowedIndicator not work 2020-11-03 10:44:18 +08:00
tangjinzhou a007b4757a bump 2.0.0-beta.13 2020-11-02 22:47:50 +08:00
tangjinzhou 26779d6367 fix: input style issue #3089 2020-11-02 22:37:24 +08:00
tanjinzhou 0302908cb0 fix: select position align not update #3085 2020-11-02 18:45:29 +08:00
tanjinzhou 8dc62f59bb fix: select maxTagPlaceholder display error #3085 2020-11-02 17:53:45 +08:00
tanjinzhou 948727a2ef Merge branches 'next' and 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-11-02 17:19:21 +08:00
tanjinzhou aca5301dc0 fix: table empty datasource error #3082 2020-11-02 17:19:09 +08:00
zkwolf 0e78488ac3
feat: update descriptions (#3046)
* feat: update descriptions

* Update index.tsx

* chore: update descriptions type

* refactor: descriptions use composition-api

* fix: decsriptions.item support label slot

* chore: update descriptions

* test: update snapshot

Co-authored-by: Amour1688 <31695475+Amour1688@users.noreply.github.com>
2020-11-02 16:53:56 +08:00
Amour1688 0c520520be
chore: optimize table typescript support (#3087)
* chore: optimize table typescript support

* chore: update table type

* fix: table type error

* fix: columns shuold not have default value

* fix: sortDirections and scroll should not have default value

* chore: rowSelectionType as tuple
2020-11-02 15:52:02 +08:00
tanjinzhou 71a3691edc fix: npm install error #3080 2020-11-02 15:37:12 +08:00
tangjinzhou 5b15ea8348 chore: update sideeffects 2020-11-01 22:58:31 +08:00
tangjinzhou bcb86428fe bump 2.0.0-beta.12 2020-11-01 21:27:14 +08:00
tangjinzhou db14e68117 refactor: back-top js to ts 2020-11-01 21:26:31 +08:00
undefined bd3bb02c6e fix: select cannot open #3070 2020-11-01 18:07:23 +08:00
undefined 9380621850 fix: layout vertical not work #3075 2020-11-01 18:06:40 +08:00
Amour1688 7651862729
fix: app.use type error (#3079) 2020-11-01 15:03:33 +08:00
undefined ddd50fe153 fix: input style error #3073 2020-11-01 11:23:58 +08:00
Amour1688 41a0251a5b fix: css error #3069 2020-10-31 22:23:14 +08:00
undefined 5696b19081 chore: fix css error #3069 2020-10-31 14:09:09 +08:00
John60676 93629a8ac8
feat: add input wrapper style (#3074) 2020-10-31 13:25:11 +08:00
Vben 5a3b08167d
fix(alert): fix alert class not work (#3067) 2020-10-31 13:14:59 +08:00
tangjinzhou a8e2e87fe1 bump 2.0.0-beta.11 2020-10-30 16:23:51 +08:00
tangjinzhou 323647114d fix: table expandIcon not work #3013 2020-10-30 15:29:24 +08:00
tangjinzhou 5dbcba196f fix: menu title logic 2020-10-28 23:03:45 +08:00
tangjinzhou d54833b3bb test: update snap 2020-10-28 22:06:13 +08:00
tangjinzhou a07acec2f4 fix: locale not work 2020-10-28 22:04:12 +08:00
tanjinzhou 21b4e6099b chore: update typings 2020-10-28 18:30:07 +08:00
tanjinzhou 016c711cf1 fix: file path error 2020-10-28 17:09:25 +08:00
Amour1688 d0429737bd chore: optimize initDefaultProps type 2020-10-28 15:46:00 +08:00
tanjinzhou d96a10dce8 style: prettier code 2020-10-28 15:37:31 +08:00
tanjinzhou 789647c604 test: update test & ts 2020-10-28 15:31:45 +08:00
dogrod 9de1b594b0
fix(Table): Fix checkbox does not work when Table Filter value is number type on next branch (#3053) 2020-10-28 11:34:56 +08:00
tangjinzhou 1e1a1bd8a8 Merge remote-tracking branch 'origin/feat-vue3' into next 2020-10-27 23:47:20 +08:00
tangjinzhou e165b1eced feat: update some less 2020-10-27 23:02:45 +08:00
tangjinzhou cd52fec722 table ellipsis not work at fixed column 2020-10-27 23:02:20 +08:00
tangjinzhou db63f369e1 feat: add ga_IE locale 2020-10-27 23:00:46 +08:00
tangjinzhou 8e9157aeaa chore: update ts config 2020-10-27 23:00:15 +08:00
tangjinzhou 7f77955474 test: update snap 2020-10-26 22:22:37 +08:00
tangjinzhou 4f510dd46c fix: select controller open not work 2020-10-26 22:14:00 +08:00
tanjinzhou ee9ba197ba test: update snap 2020-10-26 18:31:50 +08:00
John60676 2fb52d6e26
feat: textarea support word count (#3009) 2020-10-26 11:28:56 +08:00
tangjinzhou 6be6299717 test: update modal mentions snap 2020-10-25 23:06:03 +08:00
tangjinzhou 0a7065ce89 fix: menu error 2020-10-25 23:05:29 +08:00
tangjinzhou ba90214573 test: update list & locale-provider snap 2020-10-25 20:44:26 +08:00
tangjinzhou 19e3137ede Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-24 23:56:50 +08:00
tangjinzhou 59440f9207 fix: select diabled not work 2020-10-24 23:52:51 +08:00
Amour1688 b233d1e68a chore: update snap 2020-10-24 23:11:41 +08:00
John60676 9ac18c5e52
fix(modal): title props support render function (#3031) 2020-10-24 23:01:20 +08:00
Amour1688 a5879124df chore: transfer snap 2020-10-24 22:56:17 +08:00
Amour1688 689486fadc chore: table snap 2020-10-24 22:53:55 +08:00
Amour1688 3b14396a08 refactor: menu to ts 2020-10-24 22:38:25 +08:00
Amour1688 873ecf0312 fix: mentions 2020-10-24 22:09:54 +08:00
Amour1688 b24552b029 refactor: list to ts 2020-10-24 21:42:44 +08:00
tangjinzhou f6953dc9a7 test: update input snap 2020-10-24 21:38:24 +08:00
tangjinzhou 40893681c5 test: update grid snap 2020-10-24 21:36:05 +08:00
tangjinzhou af46975f56 test: udpate date-picker & drawer snap 2020-10-24 21:15:55 +08:00
tangjinzhou 2070f702de Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-24 21:10:06 +08:00
tangjinzhou 1d2c7f3541 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-24 21:08:58 +08:00
tangjinzhou 708edde641 test: update cXXX snap 2020-10-24 21:08:21 +08:00
Amour1688 6f86a8fb05 fix: input-number ref 2020-10-24 21:03:41 +08:00
Amour1688 1c1e6dccb0 chore: dropdown snap 2020-10-24 21:03:07 +08:00
Amour1688 9eb15a524b chore: date-picker snap 2020-10-24 20:52:49 +08:00
tangjinzhou c177494c1d Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-24 20:45:57 +08:00
tangjinzhou ee0d450f93 test: update calendar snap 2020-10-24 20:45:28 +08:00
Amour1688 d219ff1655 style: slots.default?.() 2020-10-24 20:36:57 +08:00
Amour1688 6891c38705 fix: config-provider 2020-10-24 20:34:00 +08:00
Amour1688 343afffbb1 chore: comment snap 2020-10-24 20:01:40 +08:00
Amour1688 e690669d70 chore: cascader snap 2020-10-24 19:58:16 +08:00
tangjinzhou 518818000b test: udpate badge snap 2020-10-24 14:38:47 +08:00
tangjinzhou fdca67f74b test: update components/aXXX 2020-10-24 14:36:06 +08:00
Amour1688 981470f393 chore: improve tag type 2020-10-24 09:53:25 +08:00
Amour1688 2b6ef8e10f chore: formate auto-complete code 2020-10-24 09:35:59 +08:00
Amour1688 16224a1d47 fix: selectRef error 2020-10-24 09:33:37 +08:00
Amour1688 64b51f22af chore: improve alert type 2020-10-23 21:24:10 +08:00
Amour1688 f8ada772ae refactor: table to ts 2020-10-23 14:29:39 +08:00
tangjinzhou f8750f2350 test: update test 2020-10-22 23:27:18 +08:00
tangjinzhou a8dda5c586 perf: update transition for test 2020-10-22 22:51:50 +08:00
tangjinzhou 86a90468ba perf: update transition 2020-10-22 22:45:21 +08:00
tanjinzhou b6e1284518 fix: selectorRef focus error 2020-10-22 18:45:03 +08:00
Amour1688 21bca582c6 refactor: upload to ts 2020-10-22 14:52:37 +08:00
Amour1688 0d5d2234c6 refactor: tree to ts 2020-10-22 14:25:02 +08:00
tanjinzhou 4dbed130e2 fix: tree-select not update slots 2020-10-22 11:35:05 +08:00
Amour1688 5643bfef88 refactor: tree-select to ts 2020-10-22 10:06:57 +08:00
tangjinzhou e0667855ee fix: tree-select placeholder error 2020-10-22 00:30:57 +08:00
tanjinzhou 02c3af5c7c fix: tree-select search value logic 2020-10-21 18:33:15 +08:00
tanjinzhou f82fcad094 fix: review amour1688 error 2020-10-21 15:32:04 +08:00
tanjinzhou 8e12971c2d fix: upload not work 2020-10-21 11:18:09 +08:00
tangjinzhou f10d0f1e4d feat: add menu template support 2020-10-20 23:13:49 +08:00
tangjinzhou a16ca20770 fix: some path error 2020-10-20 21:44:49 +08:00
tangjinzhou 0b002fb9cb perf: udpate transfer animation 2020-10-20 21:32:06 +08:00
tanjinzhou 34bfc91b5d fix: tree-select treecheckable not work 2020-10-20 17:55:10 +08:00
tanjinzhou 7a2e2e3c3b feat: update vc-tree-select 2020-10-20 17:41:11 +08:00
Amour1688 4be3da0701 fix: export `RenderEmptyHandler` in config-provider 2020-10-20 17:03:58 +08:00
Amour1688 d465356f6d refactor: radio to ts 2020-10-20 16:58:08 +08:00
Amour1688 4abfd7ea52 refactor: transfer to ts 2020-10-20 16:45:49 +08:00
Amour1688 7d379f9438 refactor: timeline to ts 2020-10-20 13:02:18 +08:00
Amour1688 7e5ee6757c refactor: time-picker to ts 2020-10-20 12:55:09 +08:00
Amour1688 e28b004883 refactor: switch to ts 2020-10-20 12:46:16 +08:00
Amour1688 7f6d718c84 refactor: steps to ts 2020-10-20 12:44:06 +08:00
Amour1688 9350a332b3 refactor: rate to ts 2020-10-20 10:10:10 +08:00
Amour1688 ab9ab87242 refactor: popconfirm to ts 2020-10-20 10:00:56 +08:00
Amour1688 eb0688398f refactor: popover to ts 2020-10-20 09:57:09 +08:00
Amour1688 6b80eb72da refactor: modal to ts 2020-10-19 23:09:59 +08:00
tangjinzhou 889ae305df Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-19 22:21:26 +08:00
tangjinzhou bdd569f019 refactor: pagination by ts 2020-10-19 22:19:33 +08:00
Amour1688 6b8cebc25f refactor: pagination to ts 2020-10-19 22:11:45 +08:00
tanjinzhou 48f385556f perf: remove no need file 2020-10-19 17:17:10 +08:00
tanjinzhou d2d613980a chore: update build config 2020-10-19 16:43:10 +08:00
Amour1688 ea67dd5d03 refactor: notification to ts 2020-10-19 09:42:00 +08:00
tangjinzhou 4cff2a81a6 fix: tooltip position not correct 2020-10-18 22:58:37 +08:00
Amour1688 a62a0296e7 refactor: page-header to ts 2020-10-18 22:30:06 +08:00
Amour1688 2c60a2c5aa refactor: slider to ts 2020-10-18 22:16:36 +08:00
Amour1688 7a7b9f25cc refactor: tooltip to ts 2020-10-18 22:14:39 +08:00
Amour1688 7642bbafe4 refactor: skeleton to ts 2020-10-18 22:04:20 +08:00
tangjinzhou 057b80fedd fix: space not update 2020-10-18 21:49:37 +08:00
tangjinzhou 2c36bf0323 perf: update virtuallist 2020-10-18 17:37:52 +08:00
Amour1688 3223d43ffb refactor: result to ts 2020-10-18 00:36:04 +08:00
tangjinzhou 4692aad2c3 fix: select not support slots 2020-10-17 22:36:53 +08:00
tangjinzhou dbb67a7b81 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-17 22:22:44 +08:00
tangjinzhou 46149b660b feat: select auto-complete support virtual list 2020-10-17 22:19:52 +08:00
Amour1688 90476bb1c5 fix: message unit test 2020-10-17 20:53:38 +08:00
Amour1688 c97af1ac18 refactor: progress to ts 2020-10-17 20:52:58 +08:00
Amour1688 4fc1a3cd78 fix: virtual list ts error 2020-10-17 12:14:13 +08:00
Amour1688 df771a8fc6 chore: refactor space 2020-10-17 12:13:55 +08:00
Amour1688 49fda0f7c8 fix: refactor statistic to ts 2020-10-17 11:51:17 +08:00
Amour1688 8eb6afb9b0 fix: unit test 2020-10-17 11:24:06 +08:00
孙运天 01096b556d
refactor: statistic and countdown to ts (#2997) 2020-10-17 11:23:31 +08:00
tanjinzhou 4d63b7cab6 refactor: select by vc-select2 2020-10-16 18:47:28 +08:00
tanjinzhou f3c12b0323 style: update comment 2020-10-16 14:26:04 +08:00
tanjinzhou 6cb52efbc8 refactor: input by ts 2020-10-16 14:24:14 +08:00
Amour1688 20f54950a9 chore: date-picker types 2020-10-16 10:18:25 +08:00
tangjinzhou 8f581de762 refactor: input-number 2020-10-15 22:38:48 +08:00
tanjinzhou 2fdfa2b662 refactor: button date-picker drawer dropdown form by ts 2020-10-15 17:58:05 +08:00
tanjinzhou 34b3e6366f Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-10-15 17:57:02 +08:00
John60676 e95bac3d87
refactor(layout): layout to ts (#2991)
* refactor(layout): layout to ts

* refactor(layout): update types

* refactor: update code style

* refactor(vue-types): fix PropTypes looseBool types error

* refactor: remove BasicProps types

* refactor(layout): extends component types
2020-10-15 15:54:52 +08:00
tanjinzhou de81c7c1d9 fix: date-picker ts error 2020-10-15 13:39:17 +08:00
John60676 147845b55f
fix(date-picker): import path (#2992) 2020-10-15 12:33:51 +08:00
Amour1688 b331753d31 refactor: mentions to ts 2020-10-15 09:48:43 +08:00
tangjinzhou 54ca9021c3 refactor: date-picker by ts 2020-10-14 23:12:51 +08:00
tanjinzhou db31c526d9 refactor: cascader checkbox collapse comment description divider by ts 2020-10-14 17:57:38 +08:00
Amour1688 c732d09745 refactor: message to ts 2020-10-14 11:41:21 +08:00
tanjinzhou bae31bc9a2 fix: props-util error 2020-10-14 10:28:46 +08:00
tangjinzhou dd249789ec Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-13 23:12:19 +08:00
tangjinzhou 90059e6b45 refactor: carousel by ts 2020-10-13 23:12:07 +08:00
Amour1688 c959476265 refactor: row slider spin by ts 2020-10-13 22:59:55 +08:00
Amour1688 88d3b6010b chore: initDefaultProps type 2020-10-13 22:59:55 +08:00
tangjinzhou 93b64061db refactor: some util by ts 2020-10-13 22:26:56 +08:00
tanjinzhou ac863a6a11 fix: use support chain operate 2020-10-13 19:14:56 +08:00
tanjinzhou efc7db1b69 refactor: calendar by ts 2020-10-13 19:02:03 +08:00
tanjinzhou 8e1678cc70 Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-10-13 18:04:22 +08:00
tanjinzhou d7426e11d4 refactor: breadcrumb button by ts 2020-10-13 18:04:02 +08:00
Amour1688 ce7ca6895b fix: lint error 2020-10-13 17:46:52 +08:00
Amour1688 dc4f2b2dcb refactor: tabs to ts 2020-10-13 17:46:31 +08:00
tanjinzhou 1503364d6b perf: update ts types 2020-10-13 15:39:08 +08:00
tanjinzhou b817873c15 refactor: avatar anchor badge to ts 2020-10-13 15:02:35 +08:00
tanjinzhou c2994a6629 perf: update ts types 2020-10-13 10:43:39 +08:00
Amour1688 748f8d526d chore: webpack to 5.x 2020-10-13 09:37:40 +08:00
Amour1688 382e9b5de0 chore: vue-types add `style` and `VNodeChild` 2020-10-12 19:20:13 +08:00
Amour1688 3f31590ad4 refactor: card to ts 2020-10-12 19:20:13 +08:00
tanjinzhou 712f2b1599 refactor: auto-complete by ts 2020-10-12 18:46:05 +08:00
tanjinzhou 64fef377c0 refactor: anchor by ts 2020-10-12 17:54:43 +08:00
tanjinzhou 21cd0ae5cb Merge branches 'next' and 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-10-12 16:10:31 +08:00
tanjinzhou 043f401636 refactor: alert by ts 2020-10-12 16:06:49 +08:00
Amour1688 9214632841 fix: config-provider renderEmpty 2020-10-12 15:47:32 +08:00
tanjinzhou 642ed2fcce Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-10-12 15:47:23 +08:00
tanjinzhou 2185458744 refactor: affix by ts 2020-10-12 15:45:52 +08:00
Amour1688 c04b9a0267 fix: config-provider renderEmpty 2020-10-12 15:39:11 +08:00
tanjinzhou f48ccdac01 perf: add defineComponent 2020-10-12 13:27:16 +08:00
tangjinzhou 3c20fc9f69 chore: remove old vue-types 2020-10-11 23:14:38 +08:00
tangjinzhou 95eaf941d7 fix: proptypes.bool default value error 2020-10-11 21:31:57 +08:00
Amour1688 4c9d3161fd fix: ts error 2020-10-10 20:53:50 +08:00
tanjinzhou 61ef8e6883 chore: PropTypes.bool to PropTypes.looseBool 2020-10-10 18:16:28 +08:00
tanjinzhou 7fe34def78 fix: types error 2020-10-10 17:01:39 +08:00
tanjinzhou 103a05a471 perf: perf animation 2020-10-10 13:57:37 +08:00
tangjinzhou 22b72855e5 perf: trigger animation 2020-10-10 06:58:19 +08:00
tanjinzhou dcb71b06b2 Merge branch 'next' of https://github.com/vueComponent/ant-design-vue into next 2020-10-09 18:19:51 +08:00
tanjinzhou a095728a46 perf: perf transtion 2020-10-09 17:37:04 +08:00
Amour1688 c90b88d701 chore: this enables stricter inference for data properties on `this` 2020-10-09 17:15:40 +08:00
tangjinzhou bd138a8711 fix: select2 bug 2020-10-08 22:51:09 +08:00
tangjinzhou b786f6bba6 feat: refactor vc-select 2020-10-07 22:49:01 +08:00
tangjinzhou 72b1c0b539 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-07 22:48:23 +08:00
Amour1688 1bcd4e27c1 fix: grid props 2020-10-05 09:53:22 +08:00
Amour1688 183be1ba38 fix: tag props 2020-10-04 22:08:12 +08:00
tangjinzhou 157d0e72e9 docs: update readme 2020-10-04 20:38:35 +08:00
good luck 0bdaf14d1e
docs: update vue-admin-beautiful backer (#2938) 2020-10-04 20:34:01 +08:00
Amour1688 4446a77784 fix: declare tag props 2020-10-04 18:38:44 +08:00
tangjinzhou 13413df0d1 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-03 17:19:13 +08:00
tangjinzhou 6ea812737f chore: update vue-types 2020-10-03 17:16:34 +08:00
Amour1688 104a034e74 chore: update vue-types types 2020-10-03 16:24:38 +08:00
tangjinzhou 4b4fc9266c style: vc-select2 to ts 2020-10-03 15:54:52 +08:00
Amour1688 47e5df9103 fix: eslint error 2020-10-02 22:28:41 +08:00
Amour1688 51e03f3edd chore: empty props add `class` and `style` 2020-10-02 22:20:02 +08:00
Amour1688 f3c5166197 chore: update demo 2020-10-02 22:03:33 +08:00
tangjinzhou aa07504e31 revert: vc-xxx ts to js 2020-10-02 21:59:53 +08:00
undefined b1c4013cee fix: empty support htmlattributes 2020-10-02 21:39:54 +08:00
undefined acc3b7e8e4 fix: remove image-style  at empty root dom 2020-10-02 21:21:09 +08:00
undefined c0bbbfaa4a chore: udpate ts 2020-10-02 21:16:05 +08:00
undefined b7db5b31ba chore: rever util to js 2020-10-02 15:44:10 +08:00
undefined 609de24f19 refactor: revert vc-xxx 2020-10-02 15:39:36 +08:00
Amour1688 8124653d07 fix: grid props 2020-10-02 12:14:28 +08:00
Amour1688 5832a70644 fix: tag props 2020-10-01 23:01:31 +08:00
Amour1688 347f69fa66 fix: empty type 2020-10-01 22:48:33 +08:00
undefined 8cb7c65684 Merge branch 'next' of github.com:vueComponent/ant-design-vue into next 2020-10-01 21:47:03 +08:00
undefined b856166520 chore: update to ts 2020-10-01 21:45:52 +08:00
Amour1688 2fd04595bf fix: ts error 2020-10-01 20:57:03 +08:00
Amour1688 81e15834c2 chore: ts-jest 2020-10-01 20:56:26 +08:00
Amour1688 150ebf15a5 chore: refactor virtual list 2020-10-01 17:20:10 +08:00
Amour1688 b19ca0aaaf fix: tag 2020-10-01 17:19:53 +08:00
Amour1688 dffb0cce52 chore: update types 2020-09-30 18:20:08 +08:00
tanjinzhou 5526e19349 chore: update eslint 2020-09-30 18:17:04 +08:00
tanjinzhou f8334fc42a chore: update vue-types 2020-09-30 18:14:33 +08:00
tanjinzhou dbaf8bc7ef chore: update ts 2020-09-30 17:35:51 +08:00
tanjinzhou d459c8dabe chore: update eslint 2020-09-30 17:15:17 +08:00
tanjinzhou a892a8908b Merge branch 'feat-virtual-list' into next 2020-09-30 16:47:14 +08:00
tanjinzhou f6752899e2 feat: update vittual-list 2020-09-30 16:21:04 +08:00
John60676 a1a4fdbd21
refactor(divider): refactor with ts (#2928)
* refactor(divider): refactor with ts

* refactor(divider): add default value for dashed prop

* style(divider): remove unuse import
2020-09-30 12:11:23 +08:00
Amour1688 28111e7f34 chore: rename `ConfigConsumerProps` to `defaultConfigProvider` 2020-09-30 10:47:18 +08:00
Amour1688 64dc5e69b7 feat: dark them 2020-09-30 10:46:22 +08:00
Amour1688 604b7fe670 chore: empty dark theme 2020-09-30 10:45:50 +08:00
Amour1688 f875b3add1 chore: ts type 2020-09-30 09:24:59 +08:00
John60676 ca2c77e4bd
refactor(input): update input style (#2876)
* refactor(input): update input style

* refactor(form): update form style about input component

* refactor(input): update clearable icon style
Modify the clearable icon style to prevent the width of the input box from changing due to the insertion of the icon
2020-09-29 22:11:06 +08:00
zkwolf 51fb7cd888
feat: tree support global tree slot (#2904) 2020-09-29 22:09:29 +08:00
Amour1688 6e6fd3af79 chore: config-provider 2020-09-29 22:06:01 +08:00
John60676 caea1acfbe
fix(select): click on the selected item can deselect (#2920) 2020-09-29 18:30:39 +08:00
tanjinzhou b9f9dad4c7 perf: virtual list remove eventListener 2020-09-29 16:11:05 +08:00
tanjinzhou c579bb0ad5 fix: scroll error 2020-09-29 15:16:56 +08:00
tanjinzhou 0de3e6b716 fix: scroller 2020-09-28 21:21:43 +08:00
tanjinzhou 3844466ff2 feat: add virtual-list 2020-09-28 19:14:00 +08:00
Amour1688 22cad37729 chore: refactor with ts 2020-09-28 11:47:35 +08:00
undefined f96895c17c Merge branch 'feat-vue3' into next 2020-09-27 22:31:32 +08:00
tanjinzhou ab80874fa5 feat: update virtuallist 2020-09-27 16:05:53 +08:00
John60676 ad6b5ae520
fix(types): textarea props types (#2900) 2020-09-27 11:06:02 +08:00
Amour1688 0d34f45895 feat: virtual list 2020-09-26 22:52:40 +08:00
tanjinzhou 950fd00529 chore: update qiniu 2020-09-26 18:01:37 +08:00
tangjinzhou b36043c241 bump 2.0.0-beta.10 2020-09-24 21:54:39 +08:00
tanjinzhou b154eeed28 style: format code 2020-09-24 13:29:24 +08:00
星火燎原 d3d787e2b0
fix: a-directory-tree error when use replaceFields (#2869) 2020-09-24 13:28:04 +08:00
Amour1688 993ca4c799 Merge branch 'feat-vue3' into next 2020-09-24 09:50:33 +08:00
tangjinzhou 8b3023e01f fix: select input not trigger change event 2020-09-23 22:58:48 +08:00
tanjinzhou ecc755b084 chore: update workflow 2020-09-23 19:47:22 +08:00
tanjinzhou c325f246cf test: update snap 2020-09-23 19:36:45 +08:00
Amour1688 eabad90b3d chore: refactor tag 2020-09-23 17:51:02 +08:00
tanjinzhou 6197d60d9a test: update test config 2020-09-23 17:32:53 +08:00
tanjinzhou c6c0ebc670 fix: upload open when trigger hidden label 2020-09-23 14:06:42 +08:00
tanjinzhou 61e1f2414e fix: upload custom method not work #2837 2020-09-23 14:05:36 +08:00
John60676 12afa05aee
fix(types): input prefix prop types (#2880) 2020-09-23 10:35:42 +08:00
John60676 0367f3e57e
fix(types): checkbox and checkbox-group props types (#2882) 2020-09-23 10:34:55 +08:00
John60676 f942d5b1a6
fix(upload): button will disappear when count meets limitation (#2884) 2020-09-23 10:33:02 +08:00
tangjinzhou 7ea8de4b7e fix: input compositionend not trigger change 2020-09-22 07:25:44 +08:00
tangjinzhou 122e374224 perf: remove syncWatch 2020-09-21 21:48:12 +08:00
tanjinzhou 7719c65169 fix: input not trigger change compositionStart 2020-09-21 18:45:27 +08:00
tangjinzhou 7f7511bf61 test: update test 2020-09-20 23:04:37 +08:00
tangjinzhou f99200c966 test: update snap 2020-09-19 23:36:48 +08:00
tangjinzhou df942fb245 chore: update to vue to 3.0.0 2020-09-18 23:42:12 +08:00
John60676 efdb38d9f2
update the props types of some components (#2860)
* chore(types): update tags props types
remove afterClose prop types and add onClose prop types

* chore(types): update input props types

* chore(types): update card props types

* chore(types): update page-header props types

Co-authored-by: tangjinzhou <415800467@qq.com>
2020-09-18 23:00:27 +08:00
zkwolf 47c5191b8c
chore: update tooltip type (#2862) 2020-09-18 22:53:33 +08:00
zkwolf 490aacb7dc
chore: update card type (#2863) 2020-09-18 22:52:54 +08:00
John60676 675dff92c1
fix(vc-tabs): tabs vue warning (#2865) 2020-09-18 22:52:17 +08:00
Amour1688 dea4866177 chore: refactor comment and icon 2020-09-18 12:15:01 +08:00
John60676 be480a89c0
fix(types): button type prop missing link (#2856) 2020-09-17 15:14:44 +08:00
zkwolf 6a910de636
chore: add size type to progress (#2854) 2020-09-17 14:52:10 +08:00
John60676 c1cfabb20e
fix: menu cannot be collapsed by the Layout (#2819) 2020-09-17 14:51:32 +08:00
tanjinzhou c78e9418a4 fix: layout vue warning #2817 2020-09-17 14:09:33 +08:00
Amour1688 b5dd6c69b3 fix: empty duplicate class 2020-09-16 12:54:54 +08:00
Amour1688 7cec8614b0 chore: classNames es 2020-09-16 12:45:04 +08:00
Amour1688 87aa5ecbd8 fix: merge conflict 2020-09-12 11:34:18 +08:00
tanjinzhou 2b422dd17b fix: table rowselection type error 2020-09-11 16:02:14 +08:00
tanjinzhou 4afb93e7fb chore: update vue-loader version 2020-09-10 16:39:02 +08:00
tanjinzhou 5991cf776b chore: update use version 2020-09-10 11:27:34 +08:00
zkwolf 19c4ec819a
chore: add menu onClick ts type (#2758)
* chore: add menu click type

* chore: change menu onClick definition

* chore: update menu onClick type
2020-09-10 10:34:41 +08:00
Amour1688 a5eda35693 Merge branch feat-vue3 into next 2020-09-10 10:01:32 +08:00
tanjinzhou 05a6f82644 chore: add @ant-design-vue/use 2020-09-09 18:42:00 +08:00
tanjinzhou f38979f5ba chore: udpate type 2020-09-09 16:40:28 +08:00
tanjinzhou ca2bfbd3ef fix: modal icons type error 2020-09-08 14:26:39 +08:00
tanjinzhou f84065dcd3 bump 2.0.0-beta.8
fix: types error
2020-09-08 13:33:55 +08:00
tanjinzhou b25eb6742a bump 2.0.0-beta.7 2020-09-08 10:16:42 +08:00
undefined cf4edceca6 chore: update to @vue/babel-plugin-jsx 2020-09-07 22:28:29 +08:00
tanjinzhou 56ffcc6619 test: update snap 2020-09-07 18:28:03 +08:00
tanjinzhou 5f68ab9181 perf: add radio event declar 2020-09-07 18:27:49 +08:00
tanjinzhou 7ec5dac844 perf: add checkbox event declar 2020-09-07 17:19:28 +08:00
tanjinzhou ec73097d9b fix: steps v-model can not click 2020-09-07 17:18:50 +08:00
tanjinzhou 9257c1ea68 fix: modal loading button not work 2020-09-07 13:49:12 +08:00
tanjinzhou b616823353 fix: Descriptions Item support v-for #2793 2020-09-07 13:26:22 +08:00
tanjinzhou 8024469b88 fix: types error 2020-09-07 12:45:01 +08:00
Carter Li fb52b36067
chore: use `lodash-es` to support vite (#2777)
To fix error: `Uncaught (in promise) SyntaxError: The requested module
'/@modules/lodash/isPlainObject.js' does not provide an export named
'default'`
2020-09-02 22:44:16 +08:00
tanjinzhou 58b66daa1e bump 2.0.0-beta.6 2020-09-02 12:54:47 +08:00
tanjinzhou 8dd2c5b751 fix: tree-select-node not registered 2020-09-02 12:54:24 +08:00
tangjinzhou fbcf0bff9d chore: update moment to support vite 2020-08-31 22:25:47 +08:00
tanjinzhou 695607bbf3 chore: remove not use package 2020-08-31 18:37:11 +08:00
tanjinzhou 1f6accba22 test: update snap 2020-08-31 17:16:16 +08:00
tanjinzhou 06b7e33cc0 chore: remove classnames 2020-08-31 16:53:19 +08:00
tanjinzhou c36a984b1b bump 2.0.0-beta.4 2020-08-31 15:18:53 +08:00
tanjinzhou 5b6a9f93ef chore: remove not use package 2020-08-31 15:11:17 +08:00
tanjinzhou 5b5beb5942 chore: update types 2020-08-31 14:59:56 +08:00
tangjinzhou 382f603301 style: pretty-quick 2020-08-30 22:59:47 +08:00
tangjinzhou 83f7c6ed41 fix: modal afterClose trigger twice 2020-08-30 22:56:15 +08:00
tangjinzhou 2cbc72f617 chore: remove require 2020-08-30 22:23:36 +08:00
undefined d57a2acd87 perf: update tree 2020-08-30 15:10:11 +08:00
undefined 3d17d5f26e perf: update lazyload 2020-08-27 22:38:56 +08:00
tanjinzhou 2b1e972803 perf: update propssymbol 2020-08-27 18:34:23 +08:00
tanjinzhou 29d681ff52 style: remove not use file 2020-08-27 17:40:29 +08:00
tanjinzhou 4770ed4708 perf: update tabs 2020-08-27 17:28:18 +08:00
tanjinzhou 5e3d9fe5a3 fix: upload not support css scope 2020-08-27 16:03:42 +08:00
tanjinzhou 8ac75e4a73 test: update snap 2020-08-25 14:24:56 +08:00
tanjinzhou 37ddc96666 Merge branch 'feat-vue3' of https://github.com/vueComponent/ant-design-vue into feat-vue3 2020-08-25 14:17:23 +08:00
tanjinzhou 6fa4f9cd23 bump 2.0.0-beta.3 2020-08-25 14:17:00 +08:00
zkwolf 0e0ad463c7
feat: badge text support vnode (#2750)
* feat: badge text support vnode

* test: update badge test
2020-08-25 13:51:01 +08:00
Amour1688 09eb71d5fb chore: refactor tag 2020-08-23 19:33:01 +08:00
Amour1688 be8faa5190 chore(deps): update vue to 3.0.0-rc.7 2020-08-23 19:29:08 +08:00
Amour1688 91fe27d12c chore: update empty and space 2020-08-23 16:45:55 +08:00
Amour1688 2397fb931c chore(deps): update typescript to 4.0.0 2020-08-22 14:38:29 +08:00
Amour1688 4af81c412c chore: refactor space 2020-08-22 14:38:29 +08:00
Amour1688 07d27b057a chore: remove render in empty 2020-08-22 14:37:39 +08:00
Amour1688 632da57962 chore: refactor empty 2020-08-22 14:37:39 +08:00
Amour1688 34ac8444f4 chore: migrate local from js to ts 2020-08-22 14:37:38 +08:00
Amour1688 0728c900af chore: update upload typo 2020-08-22 13:55:40 +08:00
undefined 9a100b04c2 Merge remote-tracking branch 'origin/master' into feat-vue3 2020-08-22 10:49:44 +08:00
undefined 01c0a03ac8 chore: update types 2020-08-22 10:21:34 +08:00
undefined 4636463fde Merge branch 'feat-vue3' of github.com:vueComponent/ant-design-vue into feat-vue3 2020-08-22 09:19:11 +08:00
undefined 6f17c87005 chore: update icons-vue 2020-08-22 09:18:57 +08:00
binhaoCen e2e0eb32a8
chore: update type upload (#2743) 2020-08-22 09:14:00 +08:00
undefined 9eebd8da23 Merge branch 'feat-vue3' of github.com:vueComponent/ant-design-vue into feat-vue3 2020-08-21 23:08:57 +08:00
binhaoCen 32bedc9a9d
chore: update type tabs (#2740) 2020-08-21 22:12:55 +08:00
binhaoCen 8694abf14b
chore: update type tooltip & TooltipCommon (#2742) 2020-08-21 22:10:10 +08:00
Amour1688 16575da13c chore(types): card typo 2020-08-21 10:46:56 +08:00
undefined da09b87548 style: update name key 2020-08-20 22:18:18 +08:00
言肆 1f73e1f026
chore: update Skeleton type (#2735) 2020-08-20 21:28:11 +08:00
言肆 42cda6f5ac
chore: update ConfigProvider type (#2734) 2020-08-20 21:27:28 +08:00
言肆 2b557452bd
chore: update Carousel, Button type (#2733) 2020-08-20 21:26:45 +08:00
言肆 796b660e2e
chore: update DatePicker types (#2730) 2020-08-20 21:23:43 +08:00
言肆 90de3f357b
chore: update Calendar type (#2731) 2020-08-20 18:54:19 +08:00
tanjinzhou 03a42a5b35 fix: list meta name not correct 2020-08-20 18:05:12 +08:00
tanjinzhou 4bdb241aa6 fix: some component not support css scoped 2020-08-20 17:56:49 +08:00
renovate[bot] 648b026166
chore(deps): update dependency mini-css-extract-plugin to ^0.10.0 (#2666)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-20 11:13:09 +08:00
言肆 63e87471d6
fix: slider, time-picker typo (#2726) 2020-08-19 23:03:32 +08:00
binhaoCen 941ebc2b66
chore: update type Cascader (#2725) 2020-08-19 22:59:41 +08:00
undefined 716f32d608 fix: fixed column height not correct #1493 #2632 2020-08-19 22:54:52 +08:00
binhaoCen 4063fe6627
chore: update type menu (#2717) 2020-08-19 21:47:08 +08:00
言肆 13b01d7a70
chore: update form type (#2724)
* chore: update form type

* fix: form-item name type
2020-08-19 21:46:01 +08:00
binhaoCen a60c0d37bc
Type col (#2722)
* chore: update type col

* fix(textarea type):autosize to autoSize
2020-08-19 21:44:47 +08:00
undefined bd71e3806b fix: button lineheight 2020-08-19 21:26:49 +08:00
binhaoCen e3c38b68f8
chore: update type dropdown (#2721) 2020-08-19 21:02:18 +08:00
binhaoCen 6681b50892
chore: update type input (#2720) 2020-08-19 21:01:12 +08:00
binhaoCen 45562123d4
chore: update type message (#2718)
* chore: update type message

* chore: update type input-number
2020-08-19 18:55:32 +08:00
tanjinzhou 23f6116610 fix: form type 2020-08-19 18:09:17 +08:00
tanjinzhou aa7d2d92d1 Merge branches 'feat-vue3' and 'feat-vue3' of https://github.com/vueComponent/ant-design-vue into feat-vue3 2020-08-19 15:27:49 +08:00
binhaoCen 5d14259e7a
chore: update type mentions (#2716) 2020-08-19 15:25:36 +08:00
Amour1688 ec024c8371
chore: table props (#2713)
* chore: table props

* fix: table props
2020-08-19 15:24:55 +08:00
tanjinzhou 44882ed4cc test: update snap 2020-08-19 15:24:18 +08:00
tanjinzhou c5c822f467 fix: space not work 2020-08-19 15:23:50 +08:00
tanjinzhou 8ed937344a fix: tabs change trigger 2020-08-19 15:23:26 +08:00
tanjinzhou 67464fdd4b chore: update types 2020-08-19 11:40:33 +08:00
Jingsong Gao 1294220965
chore(types): update Layout types (#2705) 2020-08-19 10:38:09 +08:00
binhaoCen 69509e9c38
chore: update type modal (#2711) 2020-08-19 10:08:24 +08:00
binhaoCen 0c15958484
chore: update type notification (#2710)
* chore: update type Notification
2020-08-18 22:05:01 +08:00
tanjinzhou b2d7ace9ff feat: update less 2020-08-18 17:50:36 +08:00
tanjinzhou 6b2764c3c8 fix: update select type 2020-08-18 10:14:23 +08:00
binhaoCen c75582b4b6
chror : Fix types popconfirm , page-header ... (#2692)
* chore: update type popconfirm

* chore: update type page-header

* chore: update type popover

* chore: update type progress

* chore: update type radio

* chore: update type rate

* chore: update type row

* fix: remove string type

* chore: update type Select

* fix:add $props

* chore: update type spin

* chore: update type statistic

* chore: update type step

* fix : add $props

* fix:popconfirm add  $props

* fix: page-header types

* fix: add onChange

* fix : select type

* fix: add  type

* fix: defined PaginationRenderProps
2020-08-18 10:12:57 +08:00
jawn-ha 79bb979daa
chore: update type drawer (#2697) 2020-08-18 09:37:54 +08:00
言肆 f099848461
fix: update tree-select types (#2698)
* fix: update tree-select typo

* fix: tree-select prop typo
2020-08-17 21:35:38 +08:00
言肆 fd1554eacc
fix: update transfer, tree types (#2696)
* fix: update transfer, tree types

* fix: update typo CSSProperties
2020-08-17 21:30:14 +08:00
言肆 54d2418249
chore: update table, list types (#2694)
* fix: table typo

* fix: list typo

* fix: update table, list return JSX.Element typo

* fix: xxxRender merge params

* fix: change table event return type `void`
2020-08-17 21:12:17 +08:00
jawn-ha 17456b68fc
chore: update comment and timeline type (#2701) 2020-08-17 19:21:58 +08:00
Amour1688 1d8341bbee chore(types): button 2020-08-17 18:41:55 +08:00
jawn-ha 50ae500253
chore: update Affix and Tag type (#2700) 2020-08-17 18:15:52 +08:00
binhaoCen 203e8c6b92
chore: update type switch (#2695) 2020-08-17 18:13:39 +08:00
tanjinzhou f34a5d962f refactor: update itemRender & dropdownRender 2020-08-17 18:02:28 +08:00
xrkffgg 06c8623db0
chore: update type badge (#2693)
* chore: update type badge

* Update types/badge.d.ts
2020-08-17 17:10:11 +08:00
xrkffgg 8b19623ca1
chore: update type backtop (#2691) 2020-08-17 17:09:28 +08:00
xrkffgg 10ca7ae8b2
chore: update type divider (#2687) 2020-08-17 13:54:25 +08:00
xrkffgg 0587798674
chore: update type avatar (#2689) 2020-08-17 13:53:47 +08:00
xrkffgg 25a97ec5ce
chore: update type descriptions (#2686)
* chore: update type descriptions

* fix: object

* fix: add pub
2020-08-17 13:52:44 +08:00
xrkffgg 61ec4adafa
chore: update type alert (#2688) 2020-08-17 13:51:44 +08:00
xrkffgg 9f90d4cc55
chore: update type empty (#2685)
* chore: update type empty
2020-08-17 11:35:29 +08:00
xrkffgg 2b53c74f3a
chore: update type result (#2684)
* chore: update type result
2020-08-17 11:34:36 +08:00
Amour1688 74fe24b77f chore(types): anchor type 2020-08-17 10:57:35 +08:00
言肆 254a663d16
fix: install types (#2682)
* chore: compatible types with jsx

* fix: install types

* fix: anchor, breadcrumb, button, checkbox types

Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
2020-08-16 20:00:45 +08:00
tangjinzhou 2891168a0f chore: update webpack config 2020-08-14 22:58:13 +08:00
Amour1688 be7de76abd fix: eslint error 2020-08-14 19:38:58 +08:00
tanjinzhou 5a2c88ef7f test: update transfer snap 2020-08-14 18:27:54 +08:00
tanjinzhou 07476d43db perf: update shallowequal 2020-08-14 18:24:30 +08:00
tanjinzhou d592854c73 fix: first trigger v-model change 2020-08-14 18:19:35 +08:00
tanjinzhou 8907a9990c fix: form trigger 2020-08-14 18:11:30 +08:00
tanjinzhou 050867348e test: update test 2020-08-14 17:04:45 +08:00
tanjinzhou 84fb8168f0 fix: radio focus blur not work 2020-08-14 17:04:32 +08:00
tanjinzhou db7826ba64 fix: upload preview not work 2020-08-14 15:55:16 +08:00
tanjinzhou 0eb257b321 test: update snap 2020-08-14 15:25:17 +08:00
tanjinzhou 07fe94d0a4 test: update drawer snap 2020-08-14 14:53:07 +08:00
tanjinzhou 9c3e9f3d18 fix: remove dir attr 2020-08-14 14:15:22 +08:00
tanjinzhou 7796894e01 fix: comment actions not work 2020-08-14 14:00:25 +08:00
tanjinzhou d3d631b862 Merge branch 'feat-vue3' of https://github.com/vueComponent/ant-design-vue into feat-vue3 2020-08-14 13:44:45 +08:00
tanjinzhou 0344484d43 test: update menu snap 2020-08-14 13:43:20 +08:00
Amour1688 b26c493a3a test: update popover snap 2020-08-14 13:32:25 +08:00
Amour1688 43c6528bed test: update popconfirm snap 2020-08-14 13:31:47 +08:00
Amour1688 acb4f7b8dd test: update pagination snap 2020-08-14 13:30:46 +08:00
Amour1688 2ccb5d1fea test: update notification snap 2020-08-14 13:22:36 +08:00
Amour1688 c0ed6b26cc feat: update message snap 2020-08-14 13:20:27 +08:00
Amour1688 889830c38f test: update list snap 2020-08-14 13:14:03 +08:00
Amour1688 a7706841ce test: update layout snap 2020-08-14 13:10:55 +08:00
Amour1688 1dfde69372 test: update input snap 2020-08-14 13:10:22 +08:00
Amour1688 eef839a5a0 test: update grid snap 2020-08-14 13:09:41 +08:00
Amour1688 ee7eb8d68e test: update empty snap 2020-08-14 13:09:08 +08:00
Amour1688 3c44bf37a3 test: update dropdown snap 2020-08-14 13:08:32 +08:00
Amour1688 f917321c84 test: update divider snap 2020-08-14 13:05:51 +08:00
Amour1688 1613b04dd0 test: update descriptions snap 2020-08-14 13:05:16 +08:00
Amour1688 fea034987c test: update date-picker snap 2020-08-14 13:04:39 +08:00
Amour1688 8afa0bc23f test: update comment snap 2020-08-14 13:03:25 +08:00
Amour1688 f75b154016 test: update avatar snap 2020-08-14 13:02:06 +08:00
tanjinzhou e98e9d1153 test: message snap 2020-08-14 11:16:18 +08:00
tanjinzhou 1425de31b7 test: update modal snap 2020-08-14 11:15:10 +08:00
tanjinzhou 9e4b2f4655 test: update notification 2020-08-14 11:10:37 +08:00
tanjinzhou 9d403d121f test: update page-header snap 2020-08-14 11:09:05 +08:00
tanjinzhou c0191c736f test: update pagination 2020-08-14 11:07:38 +08:00
tanjinzhou 0b12e2cf06 test: update popconfirm 2020-08-14 11:04:29 +08:00
tanjinzhou 637b31b4ff test: update popover 2020-08-14 10:57:28 +08:00
tanjinzhou 6a4ca0c7cd test: update progress snap 2020-08-14 10:54:28 +08:00
tanjinzhou 12b2e67d16 feat: remove old form 2020-08-14 10:48:22 +08:00
tanjinzhou b7f0667638 test: update radio 2020-08-14 10:38:07 +08:00
tanjinzhou 3ef1ca37e5 test: update rate snap 2020-08-14 10:27:06 +08:00
tanjinzhou a13434f792 test: update result snap 2020-08-14 10:25:46 +08:00
tanjinzhou f4ffe3cf6a test: update avatar 2020-08-14 10:02:52 +08:00
Amour1688 4f3e307f12 test: update collapse snap 2020-08-14 09:31:36 +08:00
Amour1688 b249e4e6fe test: update checkbox snap 2020-08-14 09:30:42 +08:00
Amour1688 6bdd01f121 test: update cascader snap 2020-08-14 09:29:56 +08:00
Amour1688 249f69da11 test: update carousel snap 2020-08-14 09:28:09 +08:00
Amour1688 bf5aa4ab28 test: update card snap 2020-08-14 09:28:08 +08:00
Amour1688 2fc5aafbc6 test: update calendar snap 2020-08-14 09:28:08 +08:00
Amour1688 46adc443a0 test: update button snap 2020-08-14 09:28:08 +08:00
Amour1688 cae0675285 test: update breadcrumb snap 2020-08-14 09:28:08 +08:00
Amour1688 b64668f304 test: update badeg snap 2020-08-14 09:28:08 +08:00
Amour1688 487c7d96f6 test: update back-top snap 2020-08-14 09:28:08 +08:00
tangjinzhou 4da81eb01a fix: select placeholder not work 2020-08-13 22:57:30 +08:00
tangjinzhou be9a8471ff test: update skeleton snap 2020-08-13 22:28:22 +08:00
tangjinzhou 87fb0e2c23 fix: slider id not work 2020-08-13 22:27:11 +08:00
tangjinzhou e78501f922 test: update space snap 2020-08-13 22:20:32 +08:00
tangjinzhou 31b7772d85 test: update snap 2020-08-13 22:19:29 +08:00
tangjinzhou 1a6075b121 test: update statistic snap 2020-08-13 22:14:01 +08:00
tangjinzhou dc949aba31 test: update steps snap 2020-08-13 22:12:58 +08:00
tangjinzhou 272a31f347 test: update switch snap 2020-08-13 22:11:35 +08:00
tangjinzhou 52968b9616 test: update table snap 2020-08-13 22:09:56 +08:00
tangjinzhou 7a4206cc23 test: update tabs snap 2020-08-13 22:05:32 +08:00
tangjinzhou 5570e6b383 test: update tag snap 2020-08-13 22:01:00 +08:00
tanjinzhou ae1a032462 test: update time-picker snap 2020-08-13 18:05:14 +08:00
tanjinzhou 1390638ab1 test: update timeline snap 2020-08-13 17:55:12 +08:00
tanjinzhou adcdd159e6 test: update tooltip snap 2020-08-13 17:52:41 +08:00
tanjinzhou 1850d04eed test: update transfer snap 2020-08-13 17:46:44 +08:00
tanjinzhou ae0acb73ea test: update snap 2020-08-13 15:14:39 +08:00
tanjinzhou 76f6e470e2 test: update upload tree-select snap 2020-08-13 15:11:41 +08:00
xrkffgg a4574c8a69
style: optimize zh_TW (#2679) 2020-08-13 14:17:30 +08:00
Amour1688 4231b68ba7 test: anchor and auto-complete snapshot 2020-08-13 11:02:52 +08:00
Amour1688 c4594058c6 test: alert snapshot 2020-08-13 10:59:13 +08:00
Amour1688 21af824ad1 test: affix snapshot 2020-08-13 10:51:53 +08:00
tangjinzhou 2b5d587a00 feat: space support vue3 2020-08-12 22:08:06 +08:00
tangjinzhou 21d95e7ef9 Merge remote-tracking branch 'origin/master' into feat-vue3 2020-08-12 21:42:11 +08:00
tangjinzhou 8cea617319 perf: update tree-select 2020-08-12 21:35:45 +08:00
Amour1688 e03d442542 fix: can not genrate snapshot 2020-08-12 20:26:45 +08:00
言肆 65298635d7
feat: add component Space (#2669) 2020-08-12 18:22:21 +08:00
tanjinzhou fb845f2b72 fix: tree support v-model 2020-08-12 18:07:41 +08:00
tanjinzhou f1e24fef9c fix: table columns not update 2020-08-12 16:30:13 +08:00
tanjinzhou e054bf6a5f Merge branch 'feat-vue3' of https://github.com/vueComponent/ant-design-vue into feat-vue3 2020-08-12 15:08:32 +08:00
Amour1688 8d5762066b chore: update compile scripts 2020-08-11 19:56:28 +08:00
tanjinzhou 7197bbffad fix: update input not trigger change event 2020-08-11 18:26:09 +08:00
tanjinzhou aa8e176fc7 fix: table loop render 2020-08-10 18:36:55 +08:00
Amour1688 011c839987
fix: stop measure when pressing enter with empty result (#2662) 2020-08-10 14:16:24 +08:00
ken 4331a577ec
validate callback 返回类型错误 (#2650)
如果返回的是 Boolean 类型,做 if 判断的时候,结果会被认为永远是 true
2020-08-10 14:01:54 +08:00
Amour1688 a43655b0b5 feat: table customRender multiple params 2020-08-09 18:46:11 +08:00
Amour1688 f0337cebde fix: table expandedRowRender 2020-08-08 16:03:28 +08:00
Amour1688 b6a15f5930 chore(deps): update jsx 2020-08-05 19:16:45 +08:00
tanjinzhou 532f51fc90 perf: add event props 2020-08-05 17:17:07 +08:00
tanjinzhou 36ee580f72 fix: form trigger twice validate 2020-08-05 15:44:52 +08:00
tangjinzhou 15300a958e perf: upload 2020-08-04 23:00:11 +08:00
tanjinzhou 91ae204342 test: update tiiltip 2020-08-04 18:13:51 +08:00
tanjinzhou cf24871d8d fix: timeline loading not work 2020-08-04 18:00:09 +08:00
tanjinzhou 61337aecef test: update time-picker test 2020-08-04 17:50:19 +08:00
tanjinzhou 3e2fe2a924 fix: tabs next arrow not work 2020-08-04 17:30:31 +08:00
tanjinzhou 6a608c9204 fix: select focus not work 2020-08-04 14:39:23 +08:00
tangjinzhou a15dd7bea0 test: update tag 2020-08-03 23:25:50 +08:00
tangjinzhou 31e62985b0 test: update snap 2020-08-03 22:45:58 +08:00
tangjinzhou 0a728ff8d3 fix: slider marks class error 2020-08-03 22:38:35 +08:00
tanjinzhou 64147e7744 fix: spin classname undefined 2020-08-03 18:20:16 +08:00
tanjinzhou ed1c0147d4 fix: skeleton error 2020-08-03 17:52:03 +08:00
tanjinzhou 8f19769cce test: update result 2020-08-03 17:35:34 +08:00
tanjinzhou 769f9b794e test: update radio 2020-08-03 16:47:12 +08:00
tanjinzhou 6e2667a7ee test: update progress snap 2020-08-03 14:05:40 +08:00
tanjinzhou 2975bcfac1 test: update popover snap 2020-08-03 13:54:38 +08:00
tanjinzhou 758937bd7c perf: remove event warning 2020-08-03 13:03:59 +08:00
tanjinzhou bb39dc31f5 fix: page-header onBack not work 2020-08-03 11:41:42 +08:00
tanjinzhou c758d88aba fix: notification throw error 2020-08-03 11:22:52 +08:00
tanjinzhou 925b2a8261 fix: message warning when not set icon 2020-08-03 11:04:02 +08:00
Amour1688 1836f83730 chore(deps): update vue-antd-md-loader 2020-08-02 23:58:55 +08:00
Amour1688 26fc05cb99 fix: changelog invalid tag 2020-08-02 22:36:30 +08:00
tangjinzhou 9f5ee0615f Merge branch 'feat-vue3' of github.com:vueComponent/ant-design-vue into feat-vue3 2020-08-02 22:27:31 +08:00
tangjinzhou 5ea198452c fix: menu id not work 2020-08-02 22:27:22 +08:00
Amour1688 9aa54239af chore: update site 2020-08-02 19:20:37 +08:00
Amour1688 c430ef9e2f chore: update site 2020-08-01 22:40:13 +08:00
tangjinzhou 94d355aba7 fix: mentions keydown keyup not work 2020-08-01 16:37:06 +08:00
tangjinzhou 1eb76e2300 fix: modal update config not work 2020-08-01 16:06:13 +08:00
tangjinzhou 515d90513c fix: empty default component 2020-08-01 11:27:51 +08:00
tangjinzhou 841391019b fix: list not render children 2020-07-31 23:40:06 +08:00
tanjinzhou 85fcb138a2 fix: layout provide not work 2020-07-31 18:19:50 +08:00
tanjinzhou a19beced12 fix: input-number uphandle cannot click 2020-07-31 15:05:58 +08:00
tanjinzhou 8370c16df9 chore: update package files 2020-07-31 12:44:07 +08:00
tanjinzhou 1b16c104d9 fix: textarea cannot resize 2020-07-31 12:43:01 +08:00
tangjinzhou 3a15d62536 perf: remove not use attr 2020-07-30 23:38:34 +08:00
tanjinzhou cbef867da8 fix: input clear not focus 2020-07-30 18:41:38 +08:00
tanjinzhou d58a0f21df fix: slider v-model not work 2020-07-30 16:51:14 +08:00
tanjinzhou 0c32d1679d fix: cascader popup width not correct 2020-07-30 16:26:28 +08:00
tanjinzhou d7354af9ec perf: empty img to functional component 2020-07-30 15:56:10 +08:00
tanjinzhou 60541d7d1b fix: menu parentMenu error 2020-07-30 15:41:54 +08:00
tanjinzhou d6a7c041b5 perf: drawer 2020-07-29 20:57:32 +08:00
tanjinzhou fc82e7c536 fix: list actions not work 2020-07-29 20:56:55 +08:00
tanjinzhou 72668faa25 perf: divider 2020-07-29 17:13:29 +08:00
tanjinzhou 4320e8dc76 fix: descriptions label not work 2020-07-29 17:05:59 +08:00
tanjinzhou cde476a1f7 test: update date-picker & config-provider 2020-07-29 15:34:19 +08:00
tangjinzhou 8ae91150aa fix: date-picker throw class error 2020-07-28 23:48:15 +08:00
tanjinzhou d7c4377551 fix: confirm throw error & renderEmpty error 2020-07-28 18:37:07 +08:00
tanjinzhou df83968de4 test: update comment test 2020-07-28 17:10:59 +08:00
tanjinzhou 6f2fc69e1e feat: change formmodel to form 2020-07-28 17:10:06 +08:00
tanjinzhou ed3c4edf72 fix: collapse controller mode 2020-07-28 16:31:13 +08:00
tanjinzhou 777d1d5dda fix: checkbox focus & blur not work 2020-07-28 16:04:12 +08:00
tanjinzhou 42431d39a2 perf: remove cascader events warning 2020-07-28 15:23:56 +08:00
tangjinzhou 7e15533f52 refactor: use findDomNode instead $el 2020-07-27 22:36:56 +08:00
tangjinzhou 45c899dab1 fix: carousel slick ref not work 2020-07-27 22:25:09 +08:00
tanjinzhou 3ca47f078c perf: remove card warning 2020-07-27 18:23:36 +08:00
tanjinzhou dbac632fc3 fix: calendar v-model not work 2020-07-27 16:04:37 +08:00
tanjinzhou bea9c5f1ef perf: button add onClick props 2020-07-27 13:50:57 +08:00
tangjinzhou 05e34009e6 chore: update config 2020-07-26 21:35:41 +08:00
tangjinzhou 735183f8c6 fix: breadcrumb paths not correct 2020-07-26 21:34:32 +08:00
tangjinzhou 93cb7b2f00 fix: badge custom class not work 2020-07-26 16:30:14 +08:00
Tom Gao cd467abf18
fix: breadcrumb duplicate keys detected #2505 (#2599) 2020-07-26 15:49:11 +08:00
tangjinzhou 72da2b8997 perf: remove not use module base 2020-07-25 22:00:10 +08:00
tangjinzhou 4d7cac609c fix: back-top trigger two click event 2020-07-25 21:57:06 +08:00
tangjinzhou 792d2af69b test: update listeners style 2020-07-25 21:46:52 +08:00
tangjinzhou 9ab1644e1e fix: backtop transition not work 2020-07-25 21:46:25 +08:00
tangjinzhou 1a18238d97 test: update auto-complete test 2020-07-25 21:27:58 +08:00
tangjinzhou ed2a8d6cef test: update some not support props 2020-07-25 15:46:49 +08:00
tangjinzhou 5624f92a33 fix: remove alert close warning 2020-07-25 14:47:38 +08:00
tangjinzhou 3880d6027c chore: update test config 2020-07-25 14:34:22 +08:00
tanjinzhou ddb1b7eb4d test: update test config 2020-07-24 18:46:45 +08:00
tanjinzhou 29366a251f perf: trigger event 2020-07-24 14:30:52 +08:00
tanjinzhou a50dba12aa perf: update vc-xxx $emit to __emit 2020-07-24 14:23:14 +08:00
tanjinzhou f2a0feebee merge master 2020-07-24 11:34:01 +08:00
tangjinzhou efb714e572 feat: update table 2020-07-23 22:52:04 +08:00
tanjinzhou b4980867f4 feat: update table 2020-07-23 18:34:24 +08:00
tanjinzhou 98733252c1 feat: update date-picker 2020-07-23 15:15:38 +08:00
tanjinzhou a3a53613c5 feat: update date-picker 2020-07-22 17:47:08 +08:00
tanjinzhou 88d3fc18c6 feat: update calendar 2020-07-22 15:33:57 +08:00
tangjinzhou afd13f908f chore: update @vue/test-utils 2020-07-21 22:43:14 +08:00
tangjinzhou 02cf80bb18 feat: update vc-calendar 2020-07-21 22:29:54 +08:00
tanjinzhou f6e2e54f65 feat: update vc-calendar 2020-07-21 18:36:27 +08:00
tanjinzhou 6ab243ffaa feat: update time-picker 2020-07-21 16:46:39 +08:00
tanjinzhou 471a81beda release 1.6.4 2020-07-21 14:34:46 +08:00
erguotou f886f04634
fix: [component:vc-pagination]emit change.current before change (#2567)
It's better to emit 'change.current' before 'change' event, so that onChange handler can use v-model value correctly.
2020-07-21 11:29:59 +08:00
tanjinzhou 922bcb05e7 fix: resize height not correct #2465
close #2465
2020-07-21 11:27:58 +08:00
renovate[bot] 98628ae986
chore(deps): update dependency js-base64 to v3 (#2582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 11:14:06 +08:00
tangjinzhou cd80ce622b Merge branch 'feat-vue3' of github.com:vueComponent/ant-design-vue into feat-vue3 2020-07-20 22:48:24 +08:00
tangjinzhou 2c3492face feat: update slider 2020-07-20 22:47:06 +08:00
tanjinzhou 0faded160b feat: update carousel 2020-07-20 16:29:46 +08:00
tangjinzhou a3592033be fix: getComponentFromProp to getComponent 2020-07-19 23:02:34 +08:00
tangjinzhou a194bbdf43 feat: update transfer 2020-07-19 22:40:35 +08:00
tangjinzhou 9cf6fe1c4e feat: update lazyload 2020-07-18 21:54:46 +08:00
tangjinzhou 1abc37403d revert: tree watch logic 2020-07-18 21:44:16 +08:00
tangjinzhou 61b5bfa0f6 feat: tree-select 2020-07-18 21:40:26 +08:00
tanjinzhou b442cc0553 docs: update breakChangeLog 2020-07-17 17:46:44 +08:00
tanjinzhou 566bbb4873 refactor: autoFocus to autofocus 2020-07-17 17:36:58 +08:00
tanjinzhou 00069605c0 refactor: change dom attribute maxLength to maxlength 2020-07-17 17:26:04 +08:00
tanjinzhou 248b7bbed2 refactor: change dom attribute autoComplete to autocomplete 2020-07-17 17:25:23 +08:00
tanjinzhou d67afec16a refactor: tabIndex to tabindex, readOnly to readonly 2020-07-17 17:13:30 +08:00
tanjinzhou f35ae0efae feat: update tree 2020-07-17 16:50:22 +08:00
xrk 745b2983ba
feat: add col `flex` (#2562)
* feat: add col `flex`

* feat: add types
2020-07-17 13:31:53 +08:00
tangjinzhou 8ca8fbd453 feat: update tree 2020-07-16 22:44:00 +08:00
tanjinzhou 61500001df feat: update tree 2020-07-16 18:31:20 +08:00
tanjinzhou 10b25b0ec7 feat: update collapse 2020-07-16 16:24:44 +08:00
tangjinzhou cc1f21845a feat: update list 2020-07-15 22:39:16 +08:00
tanjinzhou 7a23858cd5 chore: update jsx plugin 2020-07-15 18:23:15 +08:00
tanjinzhou d530e65f3c fix: menu cannot get refs.innerMenu 2020-07-15 18:22:32 +08:00
zkwolf 41e3630f8d
feat: update collapse (#2539) 2020-07-15 15:27:35 +08:00
逆寒 80599668df
feat(list): update to vue3 (#2513)
* feat(list): update to vue3

* feat(list): refactor meta to functional

* feat(list): code review
2020-07-15 15:05:33 +08:00
tangjinzhou 6c77afec12 chore: update babel 2020-07-14 23:10:22 +08:00
tangjinzhou 2ff8ba05a4 feat: update pagination 2020-07-14 23:09:32 +08:00
逆寒 a760a10676
feat(pagination): upgrade to v3 (#2541)
* feat(pagination): upgrade to v3

* feat(pagination): code review
2020-07-14 21:51:48 +08:00
tanjinzhou c469853733 feat: update form 2020-07-14 18:39:43 +08:00
tangjinzhou f3a9b7b616 fix: update form validate 2020-07-13 23:55:46 +08:00
tanjinzhou 346ab47eb6 refactor: form 2020-07-13 18:56:31 +08:00
tangjinzhou e79bfd8c96 refactor: form 2020-07-12 16:13:59 +08:00
tanjinzhou 130982a037 refactor: form 2020-07-10 18:26:35 +08:00
shanyuhai123 39541875ff
fix: 处理在 manjaro 下 colorful 样式无法生效 (#2538) 2020-07-10 13:28:44 +08:00
undefined 97aeaf74b4 feat: update cascader 2020-07-08 22:28:09 +08:00
tanjinzhou e191921413 feat: update cascader 2020-07-08 18:37:44 +08:00
xrk b741931401
style: add @select-item-selected-color (#2531) 2020-07-08 15:49:38 +08:00
xrk 63082f52da
fix: input textarea hadle when affix (#2530) 2020-07-08 15:45:38 +08:00
tanjinzhou 4e5d26ffb3 fix: switch not update 2020-07-07 16:01:12 +08:00
tanjinzhou 52ffcdacc9 chore: update webpack config 2020-07-07 16:00:49 +08:00
tanjinzhou 11d700ca9d feat: update badge 2020-07-07 15:43:02 +08:00
tanjinzhou 469702da3e Merge branch 'feat-vue3' of https://github.com/vueComponent/ant-design-vue into feat-vue3 2020-07-07 14:19:17 +08:00
Albert Liu b32f34b6c9
feat: update Badge (#2419)
Co-authored-by: tangjinzhou <415800467@qq.com>
2020-07-07 14:19:04 +08:00
tanjinzhou ad371c20b6 fix: input & textarea autofocus 2020-07-07 13:57:11 +08:00
xrkffgg a4389ca193
fix: menu Item title setting (#2528) 2020-07-07 13:52:54 +08:00
undefined 6cad9c3cc0 feat: udpate formmodel 2020-07-06 22:31:07 +08:00
tanjinzhou a3c8930b39 style: format 2020-07-06 17:57:55 +08:00
tanjinzhou 660ead3271 Merge remote-tracking branch 'origin/master' into feat-vue3 2020-07-06 17:57:25 +08:00
tanjinzhou 38ab3d5307 fix: auto-complete custom input 2020-07-06 17:45:23 +08:00
tanjinzhou bbc25ad258 fix: input trigger twice event 2020-07-06 17:44:52 +08:00
undefined 9195ba5fa9 docs: update changelog 2020-07-05 13:52:53 +08:00
tangjinzhou 5ade9604d4 docs: update changelog 2020-07-05 11:10:48 +08:00
tangjinzhou fa06586070 fix: breadcrumb duplicate keys detected #2505
close #2505
2020-07-05 11:08:03 +08:00
tangjinzhou 89c9e81433 fix: select input width 2020-07-03 22:53:50 +08:00
tanjinzhou fff8d6ca4a release 1.6.3 2020-07-03 18:31:52 +08:00
tanjinzhou 5ff4355f86 test: update snap 2020-07-03 18:13:38 +08:00
tanjinzhou 1a3a022bb5 feat: remove colorpicker 2020-07-03 18:12:44 +08:00
tanjinzhou 535fb55ac9 fix: datepicker header error #2488 2020-07-03 15:19:19 +08:00
tanjinzhou 71bf529688 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-07-02 15:06:30 +08:00
binhaoCen 71e5f5976c
feat:add color-picker component (#2305)
* feat:add color-picker component

* fix:update pickr version

* style : fix style issue

* feat:add disabled props

* style:fix style issues

* feat:add config and format props

* style:fix code style issues

* feat:add i18n

* feat:add type

* feat:add opacity and hue props

* feat:add test

* feat(color-picker): add tests
2020-07-02 15:05:23 +08:00
tanjinzhou 1cf4e29594 fix: dropdown position not correct #2359 2020-07-02 14:48:42 +08:00
tangjinzhou ad6f343376 feat: update autocomplete 2020-07-02 00:24:44 +08:00
tanjinzhou 82fb9905b3 chore: update webpack config 2020-07-01 18:25:01 +08:00
tanjinzhou 6420443466 style: format code 2020-07-01 18:24:38 +08:00
tanjinzhou 5a4d5ff6a7 perf: menu transition 2020-07-01 18:23:50 +08:00
tanjinzhou ad71c1a32a Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-07-01 15:00:41 +08:00
XcrossD 61eeb14859
feat: date picker custom format (#2276)
* Add function support for format

* Add function proptype support for format in date-picker

* Handle format not returning a string

* Add function support to formatDate in vc-calendar

* Add PropType.func to format props

Co-authored-by: Herbert Lin <herbert.lin.7@gmail.com>
2020-07-01 15:00:21 +08:00
tanjinzhou 8aea76b831 feat: icon support custom icon #2245 2020-07-01 14:35:05 +08:00
tanjinzhou 5e80e8019e chore: update vue to 3.0 beta17 2020-07-01 14:13:03 +08:00
zkwolf 3f66cf4044
fix: remove undefined class (#2504) 2020-06-30 22:16:51 +08:00
tangjinzhou 16e6118deb test: update button snap 2020-06-30 21:39:00 +08:00
tanjinzhou 7eeee692e7 perf: flatten children 2020-06-30 18:31:58 +08:00
tangjinzhou dd68c0d314 fix: vc-select 2020-06-29 22:22:25 +08:00
tanjinzhou 106b82ca67 feat: select 2020-06-29 18:43:43 +08:00
zkwolf 5a0bb6d50e
test: update grid (#2502) 2020-06-29 09:54:03 +08:00
tangjinzhou 0c851369e0 Merge remote-tracking branch 'origin/master' into feat-vue3
# Conflicts:
#	antdv-demo
#	components/_util/store/connect.jsx
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	package.json
2020-06-28 23:11:31 +08:00
tanjinzhou 19e4e27814 feat: update vc-menu 2020-06-28 17:50:33 +08:00
tangjinzhou 93bde3fb67 feat: update inputnumber 2020-06-27 22:17:48 +08:00
tangjinzhou a0c08a599a Merge branch 'feat-vue3' of github.com:vueComponent/ant-design-vue into feat-vue3 2020-06-27 14:02:42 +08:00
tangjinzhou 69f7573fe5 feat: update input 2020-06-27 14:02:30 +08:00
Amour1688 7308d63e6b
chore: jsx use PatchFlags (#2498) 2020-06-27 13:27:36 +08:00
tangjinzhou e00637f76c feat: update rate 2020-06-26 12:57:05 +08:00
tangjinzhou 1f09c6e41f feat: update progress 2020-06-26 10:08:47 +08:00
tangjinzhou e623fc12cd fix: some upload issue 2020-06-25 22:21:23 +08:00
Amour1688 a325bf2319
feat: update upload (#2494)
* feat: update upload

* chore: cache babel

* chore: make run dev faster
2020-06-25 21:23:39 +08:00
tangjinzhou 23358dba44 Merge remote-tracking branch 'origin/master' into feat-vue3 2020-06-25 19:46:56 +08:00
tangjinzhou 1adb927f73 test: update snap 2020-06-25 17:10:46 +08:00
tangjinzhou 35f529bc9a chore: update issue and workfolw 2020-06-25 12:05:00 +08:00
tangjinzhou 4cb214917f refactor: createrefHooks to ref 2020-06-24 23:45:36 +08:00
tanjinzhou da207c8d9b fix: card 2020-06-24 17:25:47 +08:00
tanjinzhou 60cd5475c1 fix: tabs 2020-06-24 16:07:03 +08:00
tangjinzhou 8ce8e9a821 feat: update tabs 2020-06-23 22:34:08 +08:00
tanjinzhou 132a1e58bf feat: update vc-tabs 2020-06-23 17:34:41 +08:00
tanjinzhou 7661eafe9c fix: refhooks 2020-06-23 16:50:02 +08:00
zkwolf 6f903c3a75
feat: update switch (#2439)
* feat: update switch

* fix: avoid bind attrs to root

* test: update switch

* docs: update switch breakchange

* style: remove unused import

Co-authored-by: tangjinzhou <415800467@qq.com>
2020-06-23 15:45:30 +08:00
tangjinzhou 6abca32bd5
Update FUNDING.yml 2020-06-23 14:15:33 +08:00
tangjinzhou ae7e792f0a feat: update card 2020-06-22 23:22:52 +08:00
tangjinzhou 196acac2ba feat: update locale-provider 2020-06-22 23:16:47 +08:00
tangjinzhou a25e76a314 feat: update layout 2020-06-22 23:07:54 +08:00
tangjinzhou a8ceef5c7d fix: result default icon 2020-06-22 22:50:10 +08:00
tangjinzhou 3d6bffb067 fix: checkbox 2020-06-22 22:27:40 +08:00
tanjinzhou cdefb49580 perf: udpate breadcrumb 2020-06-22 18:25:57 +08:00
tanjinzhou e6b182474d perf: update statistic 2020-06-22 17:56:03 +08:00
孙运天 6fb936d985
feat: update Statistic (#2386)
Co-authored-by: tangjinzhou <415800467@qq.com>
2020-06-22 17:50:38 +08:00
Amour1688 1dd43884d7
feat: mentions (#2468) 2020-06-22 17:02:11 +08:00
易良 d6cdd2ea85
fix(table): typo (#2463)
* fix(table): typo

* fix: indent of package.json
2020-06-22 16:44:39 +08:00
tanjinzhou 923e6231e4 fix: steps not fire some event 2020-06-22 16:26:10 +08:00
zkwolf 65f49b97d7
feat: update step (#2379)
* feat: update step

* fix: step use v-model can't click

* fix: avoid step auto mount attrs

* chore: use props to transfer event

* docs: add steps breakchange
2020-06-22 14:21:40 +08:00
Amour1688 36bec7eb5a chore: upgrade jsx to alpha.6 2020-06-21 23:52:58 +08:00
tangjinzhou a0e637da9c feat: update dropdown 2020-06-21 22:45:30 +08:00
tangjinzhou 96ba93cf9b fix: menu animation 2020-06-21 15:59:38 +08:00
tangjinzhou 35018fcac1 fix: menu 2020-06-21 11:28:07 +08:00
逆寒 c2a59f7f8b
feat(checkbox): update checkbox (#2376)
* feat(checkbox): update checkbox

* feat(checkbox): code review

* feat(checkbox): code review

* feat(checkbox): fix lint
2020-06-20 22:22:00 +08:00
tangjinzhou 0413bcf58a test: update 2020-06-20 21:45:08 +08:00
tangjinzhou e60d535884 fix: menu 2020-06-20 15:14:51 +08:00
Amour1688 a53768fa9a feat: mentions 2020-06-20 10:08:45 +08:00
tangjinzhou 0910df5a95 perf: menu 2020-06-18 23:50:02 +08:00
tanjinzhou 82bb43bbe8 fix: menu 2020-06-18 18:51:56 +08:00
tangjinzhou 5c425cec90 fix: menu 2020-06-18 00:19:14 +08:00
tanjinzhou adad60e933 fix: menu 2020-06-17 19:50:22 +08:00
Amour1688 de922bebba chore: upgrade jsx to alpha.5 2020-06-16 23:59:02 +08:00
tangjinzhou 4311c15755 feat: update menu 2020-06-16 22:55:02 +08:00
tangjinzhou 75e1661c16 feat: update modal 2020-06-15 23:47:49 +08:00
tanjinzhou e2a7165508 feat: update vc-dialog 2020-06-15 18:55:12 +08:00
tanjinzhou 733c8fce8e perf: update affix 2020-06-15 18:25:44 +08:00
tangjinzhou e2c86fe21e feat: update message notification popover popconfirm 2020-06-14 21:41:29 +08:00
tangjinzhou 48dda04b75 feat: update radio 2020-06-13 22:49:32 +08:00
Amour1688 109a386c22
feat: update radio (#2374)
* feat: update radio

* chore: add @babel/plugin-proposal-optional-chaining
2020-06-13 22:32:10 +08:00
tangjinzhou 5c811049f3 chore: update vue to 3.0.0-beta.15 2020-06-13 18:22:01 +08:00
tangjinzhou ae6a3b0c0d Merge remote-tracking branch 'origin/master' into feat-vue3 2020-06-13 18:05:14 +08:00
tangjinzhou 6c71de6e70 chore: update package.json 2020-06-13 16:46:05 +08:00
tangjinzhou 65ea66da36 fix: drawer maskstyle not work #2407 2020-06-13 14:35:47 +08:00
Albert Liu c6e22ce8ab
feat: update BackTop (#2415)
Co-authored-by: tangjinzhou <415800467@qq.com>
2020-06-12 22:05:56 +08:00
孙运天 413793234b
fix: input-password prevent caret position (#2420) 2020-06-12 22:02:11 +08:00
tanjinzhou f4c1c4569d fix: get options props 2020-06-12 18:27:07 +08:00
tanjinzhou 41129be9b6 feat: update tag 2020-06-12 13:50:59 +08:00
孙运天 ee3a7179f6
Feat Tag CheckableTag (#2400)
* feat: update Tag CheckableTag

* fix:  merge event handler

* fix: merge event handler

* fix: delete dubugger

* fix: configProvider inject
2020-06-12 12:54:21 +08:00
tangjinzhou 237d55aa3e feat: update descriptions 2020-06-11 23:07:48 +08:00
言肆 e5924d5ded
feat: update descriptions (#2385)
* feat: update descriptions

* fix: merge Col props
2020-06-11 22:35:09 +08:00
tanjinzhou e2ce58fa7a feat: update transition util 2020-06-11 18:27:27 +08:00
zkwolf f2af8d248e
feat: update grid (#2377)
* feat: update grid

* fix: row can't provide rowContext to col

Co-authored-by: tangjinzhou <415800467@qq.com>
2020-06-11 18:03:09 +08:00
tanjinzhou 585bb7495b chore: update destory to unmount 2020-06-11 16:13:09 +08:00
tanjinzhou 7555f2c65b test: config test and update button test 2020-06-11 15:58:41 +08:00
tangjinzhou 36673e3d03 fix: page-header 2020-06-10 23:06:43 +08:00
tanjinzhou 723bd2832f feat: update util 2020-06-10 18:21:16 +08:00
tanjinzhou 905bfd586f feat: update tooltip 2020-06-10 18:20:57 +08:00
tanjinzhou 69a53b303d feat: update tooltip 2020-06-09 18:30:18 +08:00
tanjinzhou 24ef11afb9 fix: update util 2020-06-09 18:29:34 +08:00
tanjinzhou 51b2d2f5ad fix: jsx throw error 2020-06-09 15:54:11 +08:00
xrkffgg 1884a7c4c6
feat: update breadcrumb (#2389)
* feat: update breadcrumb

* fix: slots
2020-06-09 12:54:37 +08:00
xrkffgg 1ca13ac166
feat: update pageheader (#2365)
* feat: update pageheader

* fix: error

* fix: index

Co-authored-by: tangjinzhou <415800467@qq.com>
2020-06-08 22:00:59 +08:00
tanjinzhou f099d5de8e chore: update some util function 2020-06-08 18:26:25 +08:00
tanjinzhou 8d9534559f chore: update package.json 2020-06-08 17:44:35 +08:00
tanjinzhou 424c880fbf fix: affix $refs.placeholderNode cannot get 2020-06-08 17:43:10 +08:00
tanjinzhou 8b4c55c75f fix: anchor provide not work 2020-06-08 17:42:35 +08:00
tanjinzhou c0adff7695 style: avatar 2020-06-08 17:42:08 +08:00
tanjinzhou 3a13c60d59 fix: comment empty children 2020-06-08 17:41:29 +08:00
tanjinzhou 1e35976bd1 perf: update result 2020-06-08 17:40:47 +08:00
tanjinzhou b65494c518 perf: update skeleton 2020-06-08 17:40:27 +08:00
tanjinzhou df9ae4891a perf: update timeline 2020-06-08 17:39:59 +08:00
tanjinzhou e454b6029b docs: add breakChange 2020-06-08 17:39:06 +08:00
xrkffgg c1331ccc43
feat: update skeleton (#2371) 2020-06-08 17:31:13 +08:00
xrkffgg d591e4b298
feat: update anchor (#2373) 2020-06-08 15:45:14 +08:00
xrkffgg 4ef17f8144
feat: update avatar (#2372) 2020-06-08 15:38:07 +08:00
xrkffgg d00a971341
feat: update comment (#2366)
* feat: update comment

* fix: children
2020-06-08 15:24:40 +08:00
zkwolf 3975cdea78
feat: update timeline (#2364)
* feat: update timeline

* style: lower import path
2020-06-08 15:02:43 +08:00
xrkffgg 19e999a1b5
feat: update result (#2362)
* feat: update result

* fix: upate

* fix: default
2020-06-08 14:53:35 +08:00
tangjinzhou 4dc73e9b83 feat: update icon 2020-06-07 22:26:28 +08:00
tangjinzhou 8d2d659d6f fix: function default value 2020-06-07 09:24:44 +08:00
zkwolf 0935262334
feat: update divider (#2357)
* feat: update divider

* chore: remove base import

* style: move up slot.default() judge
2020-06-06 14:51:12 +08:00
tangjinzhou 5568be2fcb feat: update empty 2020-06-05 09:07:53 +08:00
xrkffgg 5a627b3d8b
feat: update empty (#2360)
* feat: update empty

* Update index.js
2020-06-05 09:04:34 +08:00
tanjinzhou 9063d17f8b feat: update spin 2020-06-04 18:35:33 +08:00
xrkffgg de834ce265
feat: update spin (#2351) 2020-06-04 15:04:39 +08:00
zkwolf 5417d929d7
fix: configProvider is not a function (#2355) 2020-06-04 14:50:33 +08:00
tangjinzhou 44c048580b feat: update alert 2020-06-03 22:46:20 +08:00
tanjinzhou 4682cccc4a feat: update affix 2020-06-03 18:36:18 +08:00
tangjinzhou 8cbd2c0035 feat: update drawer 2020-06-02 23:21:24 +08:00
zdw 3642b09db8
feat: update drawer (#2324) 2020-06-02 22:09:34 +08:00
tanjinzhou 5108f67c11 release 1.6.2 2020-06-02 13:48:05 +08:00
tangjinzhou 717f9e16c5 fix: rangeCalendar panel error #2318 2020-05-31 15:10:27 +08:00
tanjinzhou 3c292a51e1 fix: wave configprovide 2020-05-29 18:36:50 +08:00
tangjinzhou ec4d6597d1 fix: update button 2020-05-28 23:36:43 +08:00
tanjinzhou 242b5a3d99 feat: update configprovider 2020-05-28 19:45:50 +08:00
tangjinzhou cfe61108c5 chore: update some util 2020-05-27 23:56:00 +08:00
Amour1688 adee8604b2 chore: upgrade to vue3 2020-05-27 19:11:46 +08:00
tangjinzhou 5acc7671a3 test: update snap 2020-05-26 23:38:15 +08:00
tanjinzhou 6069a254db Merge remote-tracking branch 'origin/master' into 2.0
# Conflicts:
#	antdv-demo
#	components/auto-complete/__tests__/__snapshots__/demo.test.js.snap
#	components/avatar/__tests__/__snapshots__/demo.test.js.snap
#	components/button/__tests__/__snapshots__/demo.test.js.snap
#	components/collapse/__tests__/__snapshots__/demo.test.js.snap
#	components/date-picker/__tests__/__snapshots__/demo.test.js.snap
#	components/form/__tests__/__snapshots__/demo.test.js.snap
#	components/input/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/select/__tests__/__snapshots__/demo.test.js.snap
#	components/tag/__tests__/__snapshots__/demo.test.js.snap
#	components/vc-dialog/Dialog.jsx
2020-05-26 17:49:55 +08:00
tanjinzhou 889e145ed0 fix: dialogClass string type #2298 2020-05-26 15:18:34 +08:00
tanjinzhou 970a72fca8 release 1.6.1 2020-05-25 14:35:24 +08:00
shudingbo 9e88a997c9
perf: table filter perf 2020-05-24 22:31:09 +08:00
Jy 59da3e54e3
fix: CalendarPart dateInputElement has two onChange handler , remove the previous (#2289) 2020-05-24 22:24:09 +08:00
Jy ebb882c129
fix: RangeCalendar getEndValue adjust month if date not align condition incorrect, #2256 (#2288) 2020-05-24 22:21:25 +08:00
bgpo e11d04e76e
style: fix dropdown vertical padding variable substitution (#2287)
Co-authored-by: honglian <honglian@gaoding.com>
2020-05-24 22:15:37 +08:00
tangjinzhou bc5626e096 fix: modal update ts types 2020-05-24 22:08:32 +08:00
tangjinzhou 1410dee61f fix: modal add dialogStyle dialogClass #2285 2020-05-24 22:06:26 +08:00
tangjinzhou ffc002f094 fix: submenu active class not work when click 2020-05-24 17:07:55 +08:00
tangjinzhou 4187ea6149 fix: subMenu active class not work 2020-05-21 23:11:20 +08:00
tanjinzhou 52a611dde4 test: update snap 2020-05-20 17:30:17 +08:00
tanjinzhou 0d7900e305 fix: table infinite update #2270 2020-05-20 17:30:00 +08:00
tanjinzhou 1e86019ceb fix: menu trigger twice click #2266 2020-05-20 17:29:06 +08:00
tanjinzhou 4cc762d6cb feat: treeSelect add replaceFields #2253 2020-05-19 14:40:41 +08:00
tanjinzhou 0466a39b5a test: update snap 2020-05-19 11:33:00 +08:00
tangjinzhou ea0f436eac fix: collapsed menu wrong mode responsively #2265 2020-05-19 07:36:19 +08:00
tangjinzhou a53ebca41d fix: drawer throw error when destroy #2254 2020-05-18 22:22:27 +08:00
tangjinzhou be8db722b9 fix: drawer throw warning #2264 2020-05-18 22:21:38 +08:00
tangjinzhou 1a595d5568 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-05-17 22:41:38 +08:00
tangjinzhou 02f6fda430 fix: drawer throw error when use v-if #2254 2020-05-17 22:31:35 +08:00
super918180 55bbf94040
fix: removeTab support 0 as key
fix: removeTab support 0 as key
2020-05-17 11:25:36 +08:00
tangjinzhou ca36ffdb42 fix: date-picker input string not correct #2246 2020-05-16 22:20:26 +08:00
tangjinzhou af69044a67 style: rename getDerivedStateFromProps to getDerivedState 2020-05-16 22:18:53 +08:00
tangjinzhou 04b7d3a934 docs: update backer 2020-05-16 15:50:50 +08:00
tanjinzhou d499fe031e release 1.6.0 2020-05-15 14:11:58 +08:00
Amour1688 1d3fe0f307
chore: eslint for markdown (#2145)
Co-authored-by: 天泽 <linchengzhang@cai-inc.com>
2020-05-15 11:18:05 +08:00
tangjinzhou 741897be67 feat: custom component support tooltip 2020-05-14 22:30:46 +08:00
tanjinzhou 529f81cb54 refactor: portal 2020-05-13 18:36:53 +08:00
xrkffgg 8d050f1f49
style: fix select focused in input group (#2224) 2020-05-11 21:49:50 +08:00
xrkffgg 181d6adf6d
style: fix cascader icon disabled color (#2223) 2020-05-11 21:49:27 +08:00
xrkffgg 1d446c3c3e
style: fix datepicker disabled color (#2222) 2020-05-11 21:49:02 +08:00
tanjinzhou 90bfd4fc6a fix: missing files in dist #2219 2020-05-09 10:02:33 +08:00
tanjinzhou cb36507d41 chore: update workfolw 2020-05-08 18:10:58 +08:00
tanjinzhou 2c92cfa3ed release 1.5.5 2020-05-08 18:00:38 +08:00
tanjinzhou 96fb014b15 test: update snapshot 2020-05-08 18:00:03 +08:00
tangjinzhou c167740f63 fix: input not work at firefox #2151 #2215 2020-05-08 17:36:24 +08:00
tanjinzhou abd1b7f499 fix: input not work at firefox && sogou #2151 2020-05-08 14:24:44 +08:00
tanjinzhou 352eb84eff fix: input box cursor error #2207 2020-05-08 14:03:07 +08:00
Ozan Barsal 90131e93d9
feat(style): add @modal-header-border-color-split variable (#2179)
* add @modal-footer-border-color-split to modal.less

* add @modal-header-border-color-split to default.less
2020-05-07 13:46:35 +08:00
tanjinzhou 668f93a508 fix: tabs cannot be displayed in Safari 13 #2199 2020-05-06 18:06:03 +08:00
tanjinzhou aa63a8b68d fix: firefox trigger input change when reflow #2151 2020-05-06 18:02:30 +08:00
tangjinzhou e5391de807 fix: input trigger change at ie #2203 2020-05-06 15:05:08 +08:00
Pocholo Pantoja 7557ac9dad
fix: compile error when updating less-loader to v6 (#2194) 2020-05-06 11:09:24 +08:00
tanjinzhou eddabaf598 release 1.5.4 2020-04-30 16:16:51 +08:00
tanjinzhou 25a14d6dba test: udpate snap 2020-04-30 16:16:28 +08:00
tanjinzhou 0c8951ab5a feat: date-picker ok calendar support string value 2020-04-30 16:16:07 +08:00
tanjinzhou ff07ecd3e7 feat: cascader add search event 2020-04-30 16:15:05 +08:00
Jerik Chan 0d84ed1534
fix: table-prefix-cls is not work in class 'ant-table-thead' (#2166) 2020-04-30 10:52:53 +08:00
tanjinzhou ed528e68b7 feat: datepicker timepicker calendar support string value #718 2020-04-29 18:44:11 +08:00
tanjinzhou a28962bfe7 fix: tabs key support 0 as key #2167 2020-04-29 11:35:25 +08:00
PanStar fd28043172
fix: renderTabBar not work #2157 (#2158)
close #2157
2020-04-27 13:52:11 +08:00
tanjinzhou 5aad5681e5 test: update snap 2020-04-26 16:37:33 +08:00
tanjinzhou 138eae594d feat: date-picker add inputreadonly 2020-04-26 16:37:15 +08:00
tanjinzhou c4a72238c0 Merge remote-tracking branch 'origin/master' into 2.0 2020-04-23 15:45:01 +08:00
tanjinzhou b55fa75b93 feat: table add transformCellText for custom render cell #2109 2020-04-23 15:40:17 +08:00
tanjinzhou dd83049170 chore: update workflows 2020-04-23 15:38:51 +08:00
tanjinzhou a9bcdc4c94 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-04-23 11:45:28 +08:00
tanjinzhou c018b7ec06 fix: badge dot status position not correct #2121 2020-04-23 11:45:05 +08:00
Baran 18ca95d031
feat: add createForm return ts type (#2116) 2020-04-22 14:57:36 +08:00
varHarrie 39bf296b7a
feat: form-model add validateMessages prop (#2130)
close #2130
2020-04-22 11:52:24 +08:00
tanjinzhou bf52f73c5c perf: trigger animation 2020-04-21 16:13:17 +08:00
tanjinzhou f9b233f39d fix: treeNode cannot get origin column 2020-04-21 16:11:43 +08:00
tanjinzhou 7f1072aa3d test: update table 2020-04-21 16:10:37 +08:00
tangjinzhou 3995f25484 fix: select-tree throw error when showSearch #2082 2020-04-18 13:53:46 +08:00
tanjinzhou 4a0d35fb92 fix: treeNode customTitle cannot get selected state #2006 2020-04-17 18:29:44 +08:00
cubemoon 32f669bd48
fix: treeNode customTitle cannot get selected prop
* Tree组件中,treeNode配置scopedSlots: {title: 'customeTitle' },无法获取title插槽的slot-scope值

需要定制tree的title时,具体的值在treeNode的数据上,但现在无法获取title处的插槽参数。经过查看ant-design-vue源码,发现TreeNode.jsx文件在title处配置错误,希望能尽快修复

* Update TreeNode.jsx
2020-04-17 18:27:51 +08:00
tanjinzhou 1112f2f791 feat: date-picker support align 2020-04-17 17:26:32 +08:00
tanjinzhou 41a37f238c fix: slider style error #2097
close #2097
2020-04-16 16:44:54 +08:00
tangjinzhou 594256558a chore: update getSlot 2020-04-15 22:56:58 +08:00
tangjinzhou 1836b2e7f4 Merge branch 'master' into 2.0 2020-04-15 22:05:10 +08:00
tangjinzhou 13b678d68c test: update snap 2020-04-15 21:59:55 +08:00
zkwolf dc8306bea9
fix: input search style bug #2077 (#2081)
close #2077
2020-04-15 20:38:58 +08:00
baojie223 603dcec087
fix: tabBarGutter not work
* fix: #2083

* fix: #2083

Co-authored-by: baojie <baojie223@qq.com>
2020-04-15 20:26:17 +08:00
tanjinzhou 39cf47a9d8 release 1.5.3 2020-04-13 12:11:30 +08:00
tanjinzhou 81eb401a88 fix: dropdown not update when slot change 2020-04-10 18:32:20 +08:00
tangjinzhou 503d358188 chore: update octokit/rest 2020-04-09 23:11:01 +08:00
tangjinzhou dd5df852ef feat: update skeleton support multiple chilren 2020-04-09 22:53:53 +08:00
tangjinzhou d10ae9c533 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-04-09 22:40:59 +08:00
tangjinzhou 62d79aa594 release 1.5.2 2020-04-09 22:40:41 +08:00
tangjinzhou e0bf26182b test: update snap 2020-04-09 22:40:06 +08:00
wangxueliang 62828bc2f6 fix: skeketon components show error when multiple children 2020-04-09 22:35:56 +08:00
tanjinzhou 4826104ea8 fix: table resize throw error #2033 2020-04-09 18:33:00 +08:00
tanjinzhou 2b37a8762b fix: weekpicker ts type error
close #2044
2020-04-09 18:30:29 +08:00
tangjinzhou a683b12f1e fix: FormModel miss ts type #1996 2020-04-08 23:06:18 +08:00
tangjinzhou 4446dec9a6 fix: tabClick not work #2030 2020-04-08 22:58:20 +08:00
tangjinzhou 60c248d1cb style: format FolderOutlined 2020-04-06 11:18:26 +08:00
tangjinzhou 60dff2b528 Merge branch 'master' into 2.0 2020-04-05 22:44:37 +08:00
tangjinzhou 602c879879 test: update sanp 2020-04-05 22:23:19 +08:00
tangjinzhou 721ae4a547 Merge branch 'master' into 2.0 2020-04-05 21:42:06 +08:00
tangjinzhou 2b3b4868a8 style: update lint config 2020-04-05 21:38:32 +08:00
tangjinzhou 518cc852af Merge remote-tracking branch 'origin/master' into 2.0
# Conflicts:
#	antdv-demo
#	components/alert/__tests__/__snapshots__/demo.test.js.snap
#	components/auto-complete/__tests__/__snapshots__/demo.test.js.snap
#	components/avatar/__tests__/__snapshots__/demo.test.js.snap
#	components/badge/__tests__/__snapshots__/demo.test.js.snap
#	components/calendar/__tests__/__snapshots__/demo.test.js.snap
#	components/calendar/__tests__/__snapshots__/index.test.js.snap
#	components/card/__tests__/__snapshots__/demo.test.js.snap
#	components/cascader/__tests__/__snapshots__/demo.test.js.snap
#	components/cascader/__tests__/__snapshots__/index.test.js.snap
#	components/collapse/__tests__/__snapshots__/demo.test.js.snap
#	components/date-picker/__tests__/__snapshots__/DatePicker.test.js.snap
#	components/date-picker/__tests__/__snapshots__/demo.test.js.snap
#	components/date-picker/__tests__/__snapshots__/other.test.js.snap
#	components/dropdown/__tests__/__snapshots__/demo.test.js.snap
#	components/empty/__tests__/__snapshots__/demo.test.js.snap
#	components/form-model/__tests__/__snapshots__/demo.test.js.snap
#	components/form/__tests__/__snapshots__/demo.test.js.snap
#	components/icon/__tests__/__snapshots__/index.test.js.snap
#	components/icon/index.js
#	components/input-number/__tests__/__snapshots__/demo.test.js.snap
#	components/input/__tests__/__snapshots__/demo.test.js.snap
#	components/input/__tests__/__snapshots__/index.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/modal/__tests__/__snapshots__/Modal.test.js.snap
#	components/page-header/__tests__/__snapshots__/demo.test.js.snap
#	components/page-header/index.jsx
#	components/pagination/__tests__/__snapshots__/demo.test.js.snap
#	components/rate/__tests__/__snapshots__/demo.test.js.snap
#	components/select/__tests__/__snapshots__/demo.test.js.snap
#	components/select/__tests__/__snapshots__/index.test.js.snap
#	components/slider/__tests__/__snapshots__/demo.test.js.snap
#	components/spin/__tests__/__snapshots__/demo.test.js.snap
#	components/steps/__tests__/__snapshots__/demo.test.js.snap
#	components/switch/__tests__/__snapshots__/demo.test.js.snap
#	components/table/__tests__/__snapshots__/Table.filter.test.js.snap
#	components/table/__tests__/__snapshots__/Table.sorter.test.js.snap
#	components/table/__tests__/__snapshots__/demo.test.js.snap
#	components/tabs/__tests__/__snapshots__/demo.test.js.snap
#	components/tabs/__tests__/__snapshots__/index.test.js.snap
#	components/time-picker/__tests__/__snapshots__/demo.test.js.snap
#	components/time-picker/__tests__/__snapshots__/index.test.js.snap
#	components/timeline/__tests__/__snapshots__/demo.test.js.snap
#	components/tree-select/__tests__/__snapshots__/demo.test.js.snap
#	components/tree/__tests__/__snapshots__/demo.test.js.snap
#	components/upload/__tests__/__snapshots__/demo.test.js.snap
#	components/upload/__tests__/__snapshots__/uploadlist.test.js.snap
#	types/message.d.ts
2020-04-05 15:09:21 +08:00
tangjinzhou 6925c92212 test: update snapshot 2020-04-05 14:19:12 +08:00
tangjinzhou 35433667d4 feat: update icon 2020-04-04 22:03:18 +08:00
tangjinzhou 8af7a84328 chore: update workflow 2020-04-04 15:18:53 +08:00
Jy 94b701c077
fix: defaultActiveFirstOption is true and activeKey is Falsy will ret… (#1979)
* fix: defaultActiveFirstOption is true and activeKey is Falsy will return the next child key #1727

* fix: defaultActiveFirstOption is true and activeKey is undefined #1727
2020-04-04 15:07:59 +08:00
tangjinzhou 082dc2ade0
fix(types): update [FormModel] types
fix(types): update [FormModel] types
2020-04-04 15:04:17 +08:00
tangjinzhou c9f5ee6095 chore: update workflow 2020-04-04 14:57:20 +08:00
hawk 8278590677 fix(types): update [FormModel] types
(cherry picked from commit 9ae3d0e375a7a266575804b5d369c3cb66531e64)
2020-04-03 22:58:53 +08:00
tangjinzhou 8466ee816e
feat: update table icon
feat: update table icon
2020-04-03 17:09:28 +08:00
tangjinzhou 06573dd5d4
feat: switch steps tabs icon
Feat switch steps icon
2020-04-03 17:06:50 +08:00
tangjinzhou 9ba5201228
feat:update page-header, pagination, popconfirm, progress icon
feat:update page-header, pagination, popconfirm, progress icon
2020-04-03 17:02:40 +08:00
tangjinzhou d05c9dfc93
chore: update package.json script
docs: fix package.json start
2020-04-03 16:54:05 +08:00
xrkffgg 366343e03b docs: fix package.json start 2020-04-03 15:56:30 +08:00
tangjinzhou 4314d97632 release 1.5.1 2020-04-02 22:32:47 +08:00
tangjinzhou 34ab34a135 fix: table customRender set class and style not work #2004 2020-04-02 22:09:26 +08:00
tangjinzhou 0b7481e8ab fix: textarea shake #2005 #1964 2020-04-02 21:20:52 +08:00
cydiacen 576851da85 feat:update progress icon 2020-04-02 14:42:50 +08:00
cydiacen 108447e801 feat:update popconfirm icon 2020-04-02 12:01:54 +08:00
cydiacen c5e71f3c63 feat:update pagination icon 2020-04-02 11:57:56 +08:00
cydiacen ec50149085 feat:update page-header icon 2020-04-02 11:50:30 +08:00
tanjinzhou 3d3884bef3 fix: form.create lose slots #1998 2020-04-01 12:08:53 +08:00
tanjinzhou 33175eca19 fix: tree-select placeholder not hide when composing #1994 2020-04-01 10:48:25 +08:00
tanjinzhou 34bd7ef76d fix: formmodel add ts types #1996 2020-04-01 10:11:44 +08:00
tangjinzhou c66177be6a
fix: page-header backIcon not hide when set false
fix: page-header组件设置backIcon为false,隐藏backIcon失败问题
2020-03-31 15:28:29 +08:00
tanjinzhou 5c3d7329e1 fix: remove warning 2020-03-31 15:11:55 +08:00
tangjinzhou 5533c5a879
fix: destroyAll missing from modal.d.ts (#1993) 2020-03-31 13:51:59 +08:00
tanjinzhou 73fce5fc88 fix: pagnitation not work when total change #1989 2020-03-31 13:48:01 +08:00
Amour1688 0af02a7895 fix: destroyAll missing from modal.d.ts 2020-03-31 12:00:36 +08:00
wangxueliang 4868da0564 feat: update switch steps icon 2020-03-31 00:02:28 +08:00
wangxueliang 035e152292 feat: update tabs icon 2020-03-30 23:43:35 +08:00
mingtianyihou33 f8dbe516d9 fix: page-header组件设置backIcon为false,隐藏backIcon失败问题 2020-03-30 17:43:56 +08:00
wangxueliang 687e65d04b feat: update table icon 2020-03-29 23:54:24 +08:00
tangjinzhou caa0a6489a release 1.5.0 2020-03-29 17:41:43 +08:00
tangjinzhou f087f9d4af docs: update backers 2020-03-29 17:19:21 +08:00
tangjinzhou 41ad4c2ada test: update mentions test 2020-03-29 16:08:39 +08:00
tangjinzhou 1b60606832 fix: form-model throw error when use v-model and change at the same time #1971 2020-03-29 16:07:02 +08:00
三点包子 b7b8b01434
feat: update timer-picker tag icon (#1977) 2020-03-29 13:17:25 +08:00
三点包子 55e85a9f50
feat: feat upload new icon (#1953)
* feat: feat upload new icon

* fix: format code

* fix: upload icon code

* fix: upload bug

* test: update snapshots

* fix: gitignore
2020-03-29 13:16:41 +08:00
tangjinzhou 2dcaf5d4ab test: update snap 2020-03-28 17:52:57 +08:00
tangjinzhou fd87f77d7b Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-03-28 17:09:56 +08:00
tangjinzhou 7cbe6b4a78 docs: update readme 2020-03-28 17:09:41 +08:00
三点包子 eb67050e6d
feat: update timeline icon (#1970) 2020-03-28 15:54:31 +08:00
三点包子 2f4281a227
feat: update transfer icon (#1969) 2020-03-28 15:52:26 +08:00
三点包子 3950bdae8d
feat: update tree icon (#1963) 2020-03-28 15:50:01 +08:00
三点包子 b30faf8520
feat: tree-select icon (#1962) 2020-03-28 15:47:48 +08:00
zkwolf abeb7cfa67
feat: datepicker use new icon (#1961) 2020-03-28 15:45:37 +08:00
Amour1688 4e26496697
feat: avatar, breadcrumb and cascader use new icon (#1943)
* feat: avatar, breadcrumb and cascader use new icon

* feat: avatar icon string --> VNode | slot
2020-03-28 15:28:06 +08:00
renovate[bot] 37441a9d8d
chore(deps): update dependency vue-virtual-scroller to v1 (#1965)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-28 15:24:22 +08:00
Hawk 63eabbbb7f
fix(types): update [Column] types (#1974) 2020-03-28 15:22:45 +08:00
tangjinzhou 3e0344d543 docs: update readme 2020-03-28 15:00:38 +08:00
tangjinzhou 8319e03026 chore: update workflow codecov 2020-03-28 14:42:02 +08:00
tangjinzhou ab29a0ebe4 bump 1.5.0-rc.7 2020-03-27 20:10:02 +08:00
tangjinzhou ac94df285c chore: add actions 2020-03-27 18:17:08 +08:00
tanjinzhou 80ca9b0644 fix: textarea scroll at firfox 2020-03-26 18:32:42 +08:00
tanjinzhou 700427d1ae Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2020-03-26 17:30:16 +08:00
tanjinzhou d46d79b93b docs: update demo 2020-03-26 17:29:20 +08:00
tanjinzhou caabe4208f test: update snapshots 2020-03-26 17:26:53 +08:00
tanjinzhou e5f0a5f7e1 fix: countdown remove cloneElement 2020-03-26 17:26:23 +08:00
tanjinzhou e249b085d2 refactor: icon to normal component #1947 2020-03-26 17:25:10 +08:00
tanjinzhou ff9f408879 fix: tabs keydown event trigger twice #1947 2020-03-26 17:24:13 +08:00
zkwolf b21ec4f4dc
feat: drawer use new icon (#1955) 2020-03-26 12:39:39 +08:00
言肆 36812371a8
feat: notification use new icon (#1952)
* feat: notification use new icon

* fix: notification jest use new icon
2020-03-26 12:00:35 +08:00
言肆 88dd13dc98
feat: layout use new icon (#1951) 2020-03-26 11:59:35 +08:00
zkwolf 3d3d3bf19e
feat: update dropdown to new icon (#1950) 2020-03-26 11:58:48 +08:00
zkwolf 1631271e23
feat: form, input-number use new icon (#1949) 2020-03-26 11:56:16 +08:00
言肆 4a75cdcdf7
feat: input new icon (#1948) 2020-03-26 11:53:51 +08:00
XiongAmao 0036db2ea6
fix(types): update [message] types (#1933) 2020-03-26 11:46:59 +08:00
zkwolf 42f01c52c8
feat: collapse use new icon (#1938) 2020-03-25 14:52:12 +08:00
tanjinzhou 185241472a chore: update dev config 2020-03-24 18:33:19 +08:00
tanjinzhou ff812128e5 style: scripts eslint 2020-03-24 17:48:41 +08:00
tanjinzhou 4f4f2a62db fix: table expandIcon not work #1937 2020-03-24 17:48:04 +08:00
tanjinzhou 98929ee742 docs: update 2020-03-24 17:14:52 +08:00
tanjinzhou 45bf561d18 test: update model message snap 2020-03-24 17:13:44 +08:00
Amour1688 15daa48f7d
feat: modal, alert and message use new icon (#1932)
* feat: modal and alert use new icon

* chore: icons without treeShaking

* chore: message icon support h => VNode;
remove warning in ConfirmDialog
2020-03-24 16:58:53 +08:00
tanjinzhou a61d4b30bb test: update button test 2020-03-24 15:49:14 +08:00
tanjinzhou bb59d121c3 feat: button use newicon 2020-03-23 18:42:39 +08:00
Amour1688 60bb3ae50c
chore: simple demo (#1918) 2020-03-23 11:00:24 +08:00
tangjinzhou 36d95b18fd fix: input-search custom button not work #1916 2020-03-21 17:29:53 +08:00
tangjinzhou a87f5564cc fix: weekpicker can not custom trigger picker #1915 2020-03-21 16:14:33 +08:00
tanjinzhou 749d74e21f fix: table error when use template #1914 2020-03-20 18:38:47 +08:00
tanjinzhou 6289705e73 fix: directory throw error 2020-03-20 12:52:41 +08:00
tangjinzhou 2aa2094bee docs: update 1.5.0-rc.5 2020-03-19 22:56:22 +08:00
tangjinzhou 78f3531beb style: format slider 2020-03-19 22:53:19 +08:00
Amour1688 615b460ee4
chore: enhance eslint (#1890)
* perf: enhance eslint

* perf: remove props in progress
2020-03-18 14:52:02 +08:00
tanjinzhou e654713290 Merge branch 'EmiyaYang-master' 2020-03-18 11:08:56 +08:00
tanjinzhou 4c17169436 feat: update checkbox 2020-03-18 11:08:39 +08:00
tanjinzhou 1a61d1fa32 fix: tree custom icon not work 2020-03-17 18:11:01 +08:00
tangjinzhou 43c961c971 fix: table customRow events not work #1881 2020-03-16 21:12:11 +08:00
tanjinzhou eac21b49fc update to 1.5.0 rc3 2020-03-16 13:29:46 +08:00
tanjinzhou 7cf72d9bf1 fix: formmodal layout not work 2020-03-16 13:27:38 +08:00
tanjinzhou 3a16bb3ad4 chore: update n-form to form-model 2020-03-16 12:06:55 +08:00
tangjinzhou 6c4b8ec187 chore: update to ssh 2020-03-15 15:20:25 +08:00
tangjinzhou 21fffe10bf rc 1.5.0 2020-03-15 14:53:16 +08:00
tangjinzhou 8e16df90f9 docs: update readme 2020-03-15 14:43:20 +08:00
tangjinzhou 689921fe91 fix: badge animation and other style 2020-03-15 14:02:16 +08:00
tangjinzhou 9e33ed9db1 fix: modal animation 2020-03-15 13:40:58 +08:00
tangjinzhou b0296407cf docs: update demo 2020-03-15 13:15:04 +08:00
tangjinzhou e1b51e9c78
feat: add new form support v-model
* chore: update site

* chore: update submodule

* docs: update

* docs: update doc

* docs: update

* test: update snap

* docs: update

* feat: add new form support v-model

* feat: add new form

* docs: update changelog

* chore: update webpack

* test: update snap
2020-03-15 13:12:47 +08:00
itmajing 4f49338f76
feat: add name definition for create form option (#1869) 2020-03-13 09:48:38 +08:00
Amour1688 8bb978debe
Perf: highlight.js --> prism (#1865)
* perf: highlight.js --> prism

* fix: wrong mentions route
2020-03-12 22:49:03 +08:00
Amour1688 9670ecb6b1
docs: mod changelog (#1855) 2020-03-09 12:49:55 +08:00
tangjinzhou 8ebfb5c38f test: update snapshot 2020-03-08 14:43:21 +08:00
tangjinzhou 21fafe5e10 chore: update ci 2020-03-08 14:29:55 +08:00
tangjinzhou 73bef787cd
Feat 1.5.0 (#1853)
* feat: add Result component

* fix: update md template tag html>tpl
- fix `result` typo
- update jest `result` snapshots

* refactor: svg file to functional component icon
- update jest snapshot

* feat: add result

* Feat descriptions (#1251)

* feat: add descriptions

* fix: add descriptions types and fix docs

* fix: lint change code

* fix: demo warning

* fix: update demo, snapshot and remove classnames

* test: add descriptions test

* fix: descriptions demo (#1498)

* feat: add page header (#1250)

* feat: add page-header component

* update site: page-header

* ts definition update: page-header

* get page-header props with getComponentFromProp func

* optimize page-header

* doc: add page-header actions.md responsive.md

* breadcrumb itemRender add pure function support

* style: format code

* feat: update style to 3.23.6 from 2.13.6

* feat: update style to 3.26.8 from 3.23.6

* chore: update util

* chore: update util

* feat: update affix

* feat: update alert

* feat: update anchor

* feat: update auto-complete

* feat: update avatar

* feat: update back-top

* feat: update badge

* feat: update button

* feat: update breadcrumb

* feat: update ts

* docs: update doc

* feat: update calendat

* feat: update card

* feat: update carousel

* feat: update carousel

* feat: update checkbox

* feat: update comment

* feat: update config-provider

* docs: update doc

* feat: update collapse

* feat: update locale

* feat: update date-picker

* feat: update divider

* feat: update drawer

* feat: update dropdown

* feat: update rc-trigger

* feat: update dropdown

* feat: update empty

* test: add empty test

* feat: update form

* feat: update form

* feat: update spin

* feat: update grid

* docs: update grid doc

* feat: update icon

* feat: update slider

* feat: update textarea

* feat: update input-number

* feat: update layout

* feat: update list

* feat: update menu

* feat: meaage add key for update content

* feat: modal add closeIcon support

* feat: update notification

* feat: add pagination disabled support

* feat: popconfirm add disabled support

* test: update popover

* feat: progress support custom line-gradiend

* feat: update radio

* test: update radio test

* docs: update rate demo

* feat: skeleton add avatar support number type

* test: add switch test

* test: update statistic test

* fix: input clear icon event

* feat: steps add type、 v-model、subTitle

* feat: delete typography component

* feat: delete Typography style

* perf: update select

* feat: add download transformFile previewFile actio

* docs: update upload

* feat: update  tree-select

* docs: update tree-select

* feat: tree add blockNode selectable

* docs: add tree demo

* test: update snap

* docs: updatedoc

* feat: update tag

* docs: update ad doc

* feat: update tooltip

* feat: update timeline

* feat: time-picker add clearIcon

* docs: update tabs

* feat: transfer support custom children

* test: update transfer test

* feat: update table

* test: update table test

* test: update test

* feat: calendar update locale

* test: update test snap

* feat: add mentions (#1790)

* feat: mentions style

* feat: theme default

* feat: add mentions component

* feat: mentions API

* feat: add unit test for mentions

* feat: update mentions demo

* perf: model and inheritAttrs for mentions

* perf: use getComponentFromProp instead of this.$props

* perf: mentions rm defaultProps

* feat: rm rows in mentionsProps

* fix: mentions keyDown didn't work

* docs: update mentions api

* perf: mentions code

* feat: update mentions

* bump 1.5.0-alpha.1

* feat: pageheader add ghost prop

* docs: update descriptions demo

* chore: page-header add ghost type

* fix: color error

* feat: update to 3.26.12

* fix: some prop default value

* fix(typo): form, carousel, upload. duplicate identifier (#1848)

* Add Mentions Type (#1845)

* feat: add mentions type

* feat: add mentions in ant-design-vue.d.ts

* docs: update doc

* docs: add changelog

* fix: mentions getPopupCotainer value (#1850)

* docs: update doc

* docs: uptate demo

* docs: update demo

* docs: delete demo

* docs: delete doc

* test: update snapshots

* style: format code

* chore: update travis

* docs: update demo

Co-authored-by: Sendya <18x@loacg.com>
Co-authored-by: zkwolf <chenhao5866@gmail.com>
Co-authored-by: drafish <xwlyy1991@163.com>
Co-authored-by: Amour1688 <31695475+Amour1688@users.noreply.github.com>
2020-03-07 19:45:13 +08:00
Morphling ae0590d794
fix: list wrong locale variable (#1851)
fix wrong locale variable
2020-03-06 18:46:13 +08:00
Darin Kolev b685f113d0
fix: bg_BG fiterReset (#1849) 2020-03-06 11:50:57 +08:00
tangjinzhou e7ff6d6602 docs: update doc 2020-03-03 21:49:34 +08:00
tangjinzhou b2b500f70e bump 1.4.12 2020-03-03 13:39:34 +08:00
Yoshimasa Obayashi 51812566ba
docs: update introduce of en-US, syncing with zh-CN (#1802) 2020-03-03 13:30:41 +08:00
Morphling f564f6d0dc
fix: nativeEvent is not a complete Event object (#1811)
* fix: nativeEvent is not a complete Event object

The Spread syntax is only get own property of a Object,but many properties of Event is on it's prototypes chains, so the result is that the passed nativeEvent only has two property: isTrutsed  and shiftKey

* fix semicolon
2020-02-23 10:40:39 +08:00
Yoshimasa Obayashi a47b2bfc6e
docs: update faq of en-US, syncing with zh-CN (#1801) 2020-02-21 14:50:06 +08:00
Yoshimasa Obayashi 2beccb5db7
docs: update vue-cli of en-US, syncing with zh-CN (#1799) 2020-02-21 14:49:23 +08:00
Simon Garner ff995a744e
fix: Make parentContext optional in ModalOptions type (#1784)
* Make parentContext optional in ModalOptions type

* Use non-primitive object type for parentContext
2020-02-16 13:11:31 +08:00
tangjinzhou f5902ec954 update site 2020-02-12 13:33:11 +08:00
tangjinzhou f16bde4bb1 bump 1.4.11 2020-02-12 12:36:38 +08:00
tangjinzhou 7a40031955 fix: config-provider error when change prop 2020-02-12 10:38:15 +08:00
wangxueliang 84165c4f98 doc: update timeline doc #1767 2020-02-10 19:37:49 +08:00
Amour1688 c8cc30beb0
perf: find parent component when only secondary component used in demo (#1680)
* perf: set demo id with component name when run dev

* perf: find parent component when only secondary component used in demo
2020-02-07 14:29:17 +08:00
hebingchang ae505396cb
fix: statistic countdown not trigger "finish" event (#1731)
* fix: fix the "finish" event of statistic countdown

* fix: update the fix of "finish" event of statistic countdown

* fix: update the fix of "finish" event of statistic countdown
2020-02-07 10:03:25 +08:00
tangjinzhou cda69c6663 fix: auto-complete placeholder issue #1761 2020-02-07 09:59:40 +08:00
renovate[bot] 5fb7ac8b58
chore(deps): update dependency husky to v4 (#1693)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 17:05:04 +08:00
renovate[bot] 564a72b302
fix(deps): update dependency dom-scroll-into-view to v2 (#1575)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 16:58:39 +08:00
tangjinzhou 4e6a3196e9 fix: directoryTree support switcherIcon #1743 2020-02-06 15:08:14 +08:00
Zhixing Zhang 2a304e0fbb
fix: Adding ant-upload-btn class to the upload component (#1742)
* adding ant-upload-btn class

* fix: update tests

* fix: apply ant-upload-btn to dragging uploads only
2020-02-01 19:32:39 +08:00
renovate[bot] e264a169b0 chore(deps): update dependency cross-env to v7 (#1747)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-26 11:17:48 +08:00
renovate[bot] b8cd2b5edc chore(deps): update dependency lint-staged to v10 (#1741)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-20 10:57:54 +08:00
tanjinzhou 9e97b5ce78 style: prettier code 2020-01-19 17:01:41 +08:00
tanjinzhou 4e65ae0e0a perf: update listeners 2020-01-19 16:58:38 +08:00
tangjinzhou 20ff3419e7 perf: update listeners 2020-01-18 21:44:13 +08:00
tangjinzhou 594dc07dff perf: update listeners 2020-01-18 21:34:23 +08:00
tangjinzhou 8b6b506110 perf: update some attrs 2020-01-18 17:06:09 +08:00
tangjinzhou 3cb68f5ec6 perf: table rerender #1705 2020-01-18 16:14:42 +08:00
PanStar 2501ac3a0e docs: carousel add dotsClass and other doc update (#1732) 2020-01-16 16:40:54 +08:00
shanyuhai123 e63f9ea671 docs: update card tabs demo (#1685) 2020-01-15 21:11:16 +08:00
tangjinzhou b8a0195379 feat: add parentContext for api modal #1709 2020-01-15 21:03:36 +08:00
tangjinzhou dc454ff943 fix: some props error 2020-01-15 20:18:28 +08:00
edifierx666 fa19a565c2 fix: subMenu some props not work (#1668)
* fix: [subMenu]props

* fix: [subMenu]props

* fix: [subMenu]props
2020-01-15 20:13:03 +08:00
tangjinzhou f3185a3cf9 chore: update build config 2020-01-15 19:37:53 +08:00
tangjinzhou 6186c7e83d chore: update build config 2020-01-15 19:16:56 +08:00
tangjinzhou 8785179b22 chore: update dev config 2020-01-15 16:19:58 +08:00
tangjinzhou 22f7d26872 docs: update readme 2020-01-15 14:52:17 +08:00
tangjinzhou 42787664ab fix: drawer wrapStyle position is incorrect and add drawerStyle #1699 2020-01-15 14:32:24 +08:00
梁鑫辉 0dbea62fdf fix: table demo bug #1700
fix #1700
https://github.com/vueComponent/ant-design-vue/issues/1700
2020-01-15 10:57:59 +08:00
renovate[bot] 0244d215ad chore(deps): update dependency stylelint to v13 (#1710)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 10:08:03 +08:00
Wenson Smith 7383fd8934 fix: [TreeSelect] type check failed when value is number (#1551)
* fix: type check failed when value is number

* fix: type tree-select type check
2020-01-15 10:04:19 +08:00
biterabbit e0d5f078f9 fix:Tree scopedSlots icon no work (#1712) 2020-01-13 19:46:05 +08:00
wangxueliang a8e83b7241 fix: spellcheck no work #1707 2020-01-12 20:19:28 +08:00
wangxueliang 0834d52626 fix: merge 2020-01-09 23:00:27 +08:00
wangxueliang e5c6140a74 fix: cascader empty data does not work #1701 2020-01-09 22:56:50 +08:00
Amour1688 2d545c6096 feat: make run dev more faster and modify some dependencies (#1671) 2019-12-30 17:11:03 +08:00
renovate[bot] c8574d18aa chore(deps): update dependency babel-plugin-istanbul to v6 (#1638) 2019-12-24 21:56:58 +08:00
renovate[bot] ee76b2cad3 chore(deps): update dependency marked to v0.3.18 [security] (#1642) 2019-12-24 21:54:07 +08:00
tanjinzhou 7cda44ba31 update site 2019-12-24 14:49:30 +08:00
tanjinzhou b275ada48f update site 2019-12-24 14:44:41 +08:00
tangjinzhou 1c9e9e2418 docs: add resize table demo 2019-12-23 22:12:13 +08:00
tangjinzhou d7561734ea style: format code 2019-12-21 18:37:33 +08:00
renovate[bot] d038b90f4d chore(deps): update dependency gulp-babel to v8 (#1611) 2019-12-21 17:53:06 +08:00
renovate[bot] 379fd9b04f chore(deps): update dependency style-loader to v1 (#1625) 2019-12-21 17:48:17 +08:00
renovate[bot] b107d5ec45 chore(deps): update dependency jest-serializer-vue to v2 (#1613) 2019-12-21 17:47:56 +08:00
renovate[bot] 9d998cd312 chore(deps): update dependency lint-staged to v9 (#1616) 2019-12-21 17:47:45 +08:00
renovate[bot] 0b99fe26b9 chore(deps): update dependency mini-css-extract-plugin to ^0.9.0 (#1634) 2019-12-21 17:47:27 +08:00
renovate[bot] 564c62a8ff chore(deps): update dependency vue-eslint-parser to v7 (#1633) 2019-12-21 17:47:13 +08:00
renovate[bot] d575ce698c chore(deps): update dependency url-loader to v3 (#1631) 2019-12-21 17:46:54 +08:00
renovate[bot] d38e045f4c chore(deps): update dependency stylelint-config-prettier to v8 (#1627) 2019-12-21 17:46:42 +08:00
renovate[bot] ab37191c9a chore(deps): update dependency semver to v7 (#1624) 2019-12-21 17:46:22 +08:00
renovate[bot] b4ea7fb18e chore(deps): update dependency raw-loader to v4 (#1622) 2019-12-21 17:44:28 +08:00
renovate[bot] 4cc20195ad chore(deps): update dependency pretty-quick to v2 (#1621) 2019-12-21 17:44:11 +08:00
renovate[bot] 003481f298 chore(deps): update dependency markdown-it to v10 (#1619) 2019-12-21 17:26:33 +08:00
renovate[bot] e97008bd0e chore(deps): update dependency webpackbar to v4 (#1636) 2019-12-21 17:24:14 +08:00
renovate[bot] 4784b412fd chore(deps): update dependency through2 to v3 (#1630) 2019-12-20 22:32:24 +08:00
renovate[bot] 1b3edf0db0 chore(deps): update dependency markdown-it-anchor to v5 (#1620) 2019-12-20 22:28:53 +08:00
renovate[bot] f37d39df7e chore(deps): update dependency less-loader to v5 (#1615) 2019-12-20 22:27:18 +08:00
renovate[bot] 890d4057a1 chore(deps): update dependency rimraf to v3 (#1623) 2019-12-20 22:26:09 +08:00
Amour1688 7d25d84ba4 feat: remove unit test commit hooks (#1618) 2019-12-20 22:25:08 +08:00
renovate[bot] 228a6c4dee chore(deps): update dependency fs-extra to v8 (#1610) 2019-12-20 22:23:53 +08:00
renovate[bot] b73cd0e16d chore(deps): update dependency stylelint to v12 (#1626) 2019-12-20 22:21:59 +08:00
renovate[bot] ef7fc6b54d chore(deps): update dependency stylelint-config-standard to v19 (#1628) 2019-12-20 22:20:43 +08:00
renovate[bot] 8ee56de702 chore(deps): update dependency @octokit/rest to v16 (#1595) 2019-12-20 13:01:58 +08:00
renovate[bot] 2184e911ab chore(deps): update commitlint monorepo to v8 (#1594) 2019-12-20 12:57:36 +08:00
renovate[bot] 8c6691e9ca chore(deps): update dependency style-loader to ^0.23.0 (#1593) 2019-12-20 12:56:58 +08:00
renovate[bot] 98d7d1c593 chore(deps): update dependency mini-css-extract-plugin to ^0.8.0 (#1592) 2019-12-20 12:56:32 +08:00
renovate[bot] fff744cbd5 fix(deps): update dependency warning to v4 (#1577) 2019-12-20 12:55:20 +08:00
renovate[bot] edc6089df8 chore(deps): update dependency css-loader to v3 (#1604) 2019-12-20 12:54:26 +08:00
renovate[bot] f85a9f40c6 chore(deps): update dependency eslint to v6 (#1606) 2019-12-20 12:53:54 +08:00
renovate[bot] 33cc558669 chore(deps): update dependency eslint-config-prettier to v6 (#1607) 2019-12-20 12:52:54 +08:00
renovate[bot] 53e88f2107 chore(deps): update dependency vue-clipboard2 to v0.3.1 (#1573) 2019-12-20 12:51:28 +08:00
renovate[bot] 6ae576de67 chore(deps): update dependency eslint-plugin-html to v6 (#1608) 2019-12-20 12:44:22 +08:00
renovate[bot] 5eb19b4ba9 chore(deps): update dependency eslint-plugin-vue to v6 (#1609) 2019-12-20 12:40:32 +08:00
renovate[bot] 4c31abe021 fix(deps): update dependency ismobilejs to v1 (#1576) 2019-12-20 12:38:53 +08:00
tangjinzhou b3b6a0dc09
Merge pull request #1603 from vueComponent/renovate/cross-env-6.x
chore(deps): update dependency cross-env to v6
2019-12-20 12:38:10 +08:00
tangjinzhou 9fc92161d9
Merge pull request #1591 from vueComponent/renovate/marked-0.x
chore(deps): update dependency marked to ^0.8.0
2019-12-20 11:51:48 +08:00
tangjinzhou 685ae1b894
Merge pull request #1596 from vueComponent/renovate/major-vue-cli-monorepo
chore(deps): update dependency @vue/cli-plugin-eslint to v4
2019-12-20 11:51:13 +08:00
tangjinzhou 8f9ffaebd4
chore(deps): update dependency acorn to v7 (#1597) 2019-12-20 11:50:18 +08:00
renovate[bot] 9e091a30fe chore(deps): update dependency babel-plugin-istanbul to v5 (#1600) 2019-12-20 11:49:50 +08:00
renovate[bot] 7d8fba2ae3 chore(deps): update dependency commander to v4 (#1602) 2019-12-20 11:49:33 +08:00
renovate[bot] e510945e6d chore(deps): update dependency chalk to v3 (#1601) 2019-12-20 11:48:16 +08:00
renovate[bot] 9b095be6c5 chore(deps): update dependency axios to ^0.19.0 (#1590) 2019-12-20 11:48:03 +08:00
Renovate Bot 23295cfc0b
chore(deps): update dependency cross-env to v6 2019-12-20 03:25:34 +00:00
Renovate Bot 4262ddc173
chore(deps): update dependency acorn to v7 2019-12-20 03:25:01 +00:00
Renovate Bot aa23708d1e
chore(deps): update dependency @vue/cli-plugin-eslint to v4 2019-12-20 03:24:55 +00:00
Renovate Bot e779a19a46
chore(deps): update dependency marked to ^0.8.0 2019-12-20 03:24:48 +00:00
tanjinzhou 88f49db317 chore: update devDependencies 2019-12-20 11:02:21 +08:00
tanjinzhou 56c4f3d778 chore: update renovate config 2019-12-19 19:26:40 +08:00
wangxueliang 6cc28eeb62 fix: animation no work #1540 2019-12-18 19:06:38 +08:00
zkwolf a66ff7deb0 fix: timepicker non-unique id (#1566) 2019-12-18 13:05:59 +08:00
renovate[bot] a14ea591dd chore(deps): add renovate.json (#1564) 2019-12-18 13:02:57 +08:00
wangxueliang 84c95cd524 fix: avoid dead loop upload 2019-12-17 19:26:52 +08:00
三点包子 7464bddedd
Merge pull request #1554 from clys/master
fix:picture is not rendered
2019-12-16 16:18:58 +08:00
陈李雨声 f744690e92
fix:picture is not rendered
get the picture base64 asynchronously, resulting in no rendering
2019-12-14 18:26:25 +08:00
tangjinzhou c835bb8f9e bump 1.4.10 2019-12-11 21:04:11 +08:00
tangjinzhou 5220dd8089 docs: update doc 2019-12-11 21:03:52 +08:00
tangjinzhou c14d7357b8 fix: left and right arrows of MonthPicker cannot be worked #1543 2019-12-11 21:02:31 +08:00
tanjinzhou 9dcc648378 docs: update doc 2019-12-10 17:48:08 +08:00
tanjinzhou 2d5da3ea51 bump 1.4.9 2019-12-10 17:29:26 +08:00
tanjinzhou 1f7ae756fc docs: update docs 2019-12-10 17:28:57 +08:00
tanjinzhou dfbd183429 test: update input test 2019-12-10 17:15:36 +08:00
tanjinzhou fd319389a7 docs: add 1.4.9 changelog 2019-12-10 17:14:57 +08:00
Eric Tian 50299632cc fix: select empty not center (#1445)
* 修复select组件在mode为multiple或tags时,下拉选项为空时样式没有居中问题

外层的.ant-select-dropdown-menu-item样式设置了padding-right:@control-padding-horizontal + 20,得到padding的值为5px 32px 5px 12px,所以里层的.ant-empty-small的样式margin-left不需要加上@control-padding-horizontal

* 添加px单位
2019-12-10 15:04:25 +08:00
Reson-a d6234307d2 fix: memory leak of Trigger (#1483) 2019-12-10 14:53:15 +08:00
tanjinzhou 79438a8543 fix: menu error in edge #1492 2019-12-10 13:17:17 +08:00
tanjinzhou cdc0e1a5f6 test: update upload test 2019-12-10 13:16:16 +08:00
tangjinzhou 843d9dc82f fix: password add focus blur methods #1485 2019-12-09 22:44:52 +08:00
tangjinzhou d294328319 feat: add modal not scroll to focus position when close #1320 2019-12-09 22:34:45 +08:00
tangjinzhou e4f83939b9 fix: body scroll when open modal #1472 2019-12-09 22:23:40 +08:00
tanjinzhou c86a261bca fix: tooltip throws exception in some cases #1519 2019-12-06 18:18:52 +08:00
tanjinzhou 9723a6253e fix: autoComplete placeholder not hide #1506 2019-12-06 17:11:17 +08:00
tanjinzhou 197cad6c5f fix: MonthPicker value can not change when open #1510 2019-12-06 17:09:27 +08:00
Valeriy 1b78a10ee6 Push column argument to cell's customRender function call. (#1513) 2019-12-04 22:26:29 +08:00
tangjinzhou 6362bf9edb chore: vue instance 2019-12-04 22:12:38 +08:00
言肆 b2717bccda fix: tabs trigger nextClick event (#1489) 2019-12-02 14:11:02 +08:00
wangxueliang 82ea4bbb82 fix: inputNumber props id name no work #1477 2019-11-30 11:49:27 +08:00
wangxueliang 024698d5c1 fix: drawer props wrapStyle no work #1481 2019-11-30 10:52:15 +08:00
EmiyaYang d757ac68e2 docs(table): complement params (#1486) 2019-11-29 18:37:21 +08:00
tanjinzhou 1f429c1e88 fix: body scroll when open modal #1472 2019-11-29 18:34:41 +08:00
tanjinzhou 31dda9e9ce update site 2019-11-29 16:36:31 +08:00
tanjinzhou 42a75f8244 bump 1.4.8 2019-11-28 17:35:22 +08:00
tanjinzhou 586dc46d90 fix: menu click not trigger #1470 2019-11-28 17:32:46 +08:00
tanjinzhou 16ec40a012 fix: tooltip not hide in keep-alive 2019-11-28 17:32:27 +08:00
tanjinzhou 273b2f505d bump 1.4.7 2019-11-27 13:57:17 +08:00
tanjinzhou 76c6ce6f3d feat: dialog add getDialogWrap 2019-11-27 13:55:32 +08:00
tanjinzhou 97dce9db99 docs: add hotjar 2019-11-27 13:54:11 +08:00
tanjinzhou 89d09b3862 docs: update download doc 2019-11-27 13:53:44 +08:00
tangjinzhou 7a3c881075 feat: config-provider getPopupContainer add dialogContext 2019-11-26 22:00:30 +08:00
tanjinzhou 74f5d9f10b Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-11-26 15:59:45 +08:00
tanjinzhou 5e409fdb10 fix: select input width and placeholder Incorrect When typing Chinese #1458 2019-11-26 15:59:29 +08:00
tanjinzhou 309baa138a fix: config-provider throw error when use vue@2.5 2019-11-26 15:57:22 +08:00
doublehell 58c9095772 docs: Menu API Document Update (#1460)
* Update index.zh-CN.md

补充Menu文件overflowedIndicator说明

* Update index.en-US.md

补充Menu文件overflowedIndicator说明
2019-11-24 11:01:13 +00:00
tanjinzhou 910a62eb4a fix: submenu trigger double click event #1450 2019-11-21 10:49:41 +00:00
Justin-lu 5d17c7f435 fix: export Comment component (#1453) 2019-11-21 18:47:09 +08:00
tangjinzhou a527f6073e bump 1.4.6 2019-11-20 21:26:07 +08:00
tanjinzhou e3f867b6b1 fix: update dbclick to dblclick #1437 2019-11-20 15:49:31 +08:00
tanjinzhou cece7332cb fix: AutoComplete can not delete last character #1429 2019-11-20 15:37:47 +08:00
Sven Reber 59dc98dbd1 fix: add typings for Empty component (#1439) 2019-11-20 14:37:41 +08:00
zkwolf d52ed02a18 fix: cascader input space bug (#1431) 2019-11-19 16:21:19 +08:00
Amour1688 4fa8055933 remove "。" in TreeSelect doc (#1433) 2019-11-19 16:05:46 +08:00
tangjinzhou 930e875228 bump 1.4.5 2019-11-16 17:23:37 +08:00
tangjinzhou 07c8dc2c69 docs: update doc 2019-11-16 17:23:03 +08:00
tanjinzhou 85774fb921 fix: password ts types #1424 2019-11-15 18:25:17 +08:00
tanjinzhou a857c253c9 fix: ie trigger input when set placeholder 2019-11-15 18:21:50 +08:00
tanjinzhou 6c05e25f23 feat: input not trigger input event when chinese not complete #1281 2019-11-15 16:56:28 +08:00
tanjinzhou bad8cc0626 revert: radio style 2019-11-15 15:12:31 +08:00
PanStar ae6aee6ce4 feat: From 组件新增 labelCol、wrapperCol (#1365)
* From 组件新增 labelCol、wrapperCol

* 1 Form 组件 types 补充
2 Button 组件 文档优化
3 Radio 组件 样式优化
2019-11-15 15:10:33 +08:00
张晨成 3136e5964f feat(tree): 添加form-props-'replaceFields'字段 (#1395)
* feat(tree): 添加form-props-'replaceFields'字段

* test: add test file

* docs: 修改实例名称
2019-11-15 15:05:38 +08:00
tanjinzhou 5e27ff8da4 feat: update tree doubleclick to dbclick 2019-11-15 13:03:59 +08:00
tanjinzhou b552450d9a docs: update table doubleclick to dbclick #1397 2019-11-15 12:59:29 +08:00
tanjinzhou cdcae1b39f fix: input bug at ie9 #1421 2019-11-14 19:19:24 +08:00
hzGotB 45eb4be22a fix: table style (#1370) 2019-11-12 11:50:18 +08:00
tanjinzhou 12302b7ae7 fix: dropdown disabled not work #1400 2019-11-12 11:16:49 +08:00
言肆 d8ac932947 fix: select `labelInValue` validator prop type error (#1393) 2019-11-08 11:13:59 +08:00
tanjinzhou 4687bf1066 update site 2019-11-07 19:05:33 +08:00
tanjinzhou 90ba73da7a Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-11-07 17:49:57 +08:00
tanjinzhou c4bac70e9b update site 2019-11-07 17:49:17 +08:00
zkwolf 094f0325d9 fix: comment render nest style bug (#1389) 2019-11-07 11:30:26 +08:00
Lukinoh 548f10d357 fix: statistic countdown typings (#1375) 2019-11-04 16:53:34 +08:00
tanjinzhou 1fd1735cb7 update site 2019-10-31 19:42:49 +08:00
tanjinzhou 52b66db19a bump 1.4.4 2019-10-30 17:08:35 +08:00
tanjinzhou d6bf99b279 test: update snap 2019-10-30 16:55:01 +08:00
tanjinzhou a8ff2ed73e fix: set icon focusable="false" #1358 2019-10-30 16:42:01 +08:00
tanjinzhou dce2dea234 site: add google ads 2019-10-30 16:38:51 +08:00
tanjinzhou e7c71dc0b2 feat: progress format support v-slot #1348 2019-10-30 16:38:15 +08:00
tanjinzhou c33965d6e6 fix: CheckBox.Group throw error when update value to undefined #1360 2019-10-30 16:37:19 +08:00
tanjinzhou 2e9b3000ac fix: type check failed #1356 2019-10-30 16:36:23 +08:00
tanjinzhou af666b8bce perf: optimization menu 2019-10-30 16:34:41 +08:00
wangweijun0418 e1b126cbdd 间距margin重置的bug (#1353) #873
* 间距margin重置的bug

* Update index.less

解决margin重合问题,overflow方式会有副作用,采用padding解决margin重合现象。
2019-10-30 11:13:06 +08:00
tanjinzhou 46644ff435 update site 2019-10-29 14:44:06 +08:00
tanjinzhou 755517eb80 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-10-25 19:38:29 +08:00
tanjinzhou a4c2a0e020 fix: Auto complete dropdown flickers #1327 2019-10-25 19:38:04 +08:00
wangxueliang 7c9fc40cde fix: loading icon not center #1337 2019-10-25 10:39:20 +08:00
tangjinzhou 1208649a9e fix: Auto complete dropdown flickers #1327 2019-10-25 00:04:47 +08:00
tanjinzhou 88a9845ddc fix: simple Pagination input not work #1333 2019-10-24 18:50:51 +08:00
wangxueliang 24fd488b56 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-10-22 15:11:04 +08:00
wangxueliang 3d8d78eea6 fix: item not active when set mode year #1321 2019-10-22 15:08:43 +08:00
tanjinzhou 89b6647d66 bump 1.4.3 2019-10-22 12:48:39 +08:00
tanjinzhou 041839b901 fix: throw error when use slot at template 2019-10-22 12:45:30 +08:00
tanjinzhou 600f2db48a bump 1.4.3 2019-10-22 11:46:58 +08:00
zkwolf 5d3353be6b fix: input style bug (#1322) 2019-10-22 10:57:20 +08:00
tanjinzhou a9622bd21a bump 1.4.2 2019-10-21 19:03:22 +08:00
tanjinzhou 8be7ec96a2 fix: pagination keyup enter not work #1316 2019-10-21 17:36:06 +08:00
tanjinzhou b5cd32aa1a fix: Radio.Group triggers multiple change callback issues #1280 2019-10-18 13:05:35 +08:00
言肆 a0c887479a fix: pretter Line progress style (#1310) (#1311) 2019-10-18 10:21:04 +08:00
tanjinzhou 5a94354e73 bump 1.4.1 2019-10-17 19:27:45 +08:00
tanjinzhou 5e4df25ee1 test: update table test 2019-10-17 19:27:21 +08:00
tanjinzhou 723b6c6cf6 feat: input add focus when click clear button 2019-10-17 19:26:58 +08:00
tanjinzhou 8820a184e2 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-10-17 18:55:37 +08:00
zkwolf c4f668b402 fix: input clear style (#1297) 2019-10-17 18:52:10 +08:00
tanjinzhou 6893848eb0 style: format password 2019-10-17 18:49:33 +08:00
wangxueliang 725a7f516f test: update snapshots 2019-10-17 18:03:52 +08:00
wangxueliang 536887a7a7 fix: input-password input-search no work 2019-10-17 17:59:23 +08:00
wangxueliang 5178480d13 fix: table demo & update snapshots 2019-10-17 13:42:03 +08:00
tangjinzhou 8a363ca654 fix: progress strokeWidth not work 2019-10-16 23:33:38 +08:00
tangjinzhou 35a65bc74c fix: form initialValue is not defined #1291 2019-10-16 23:08:29 +08:00
tanjinzhou b6656797fc fix: radio emit two change event #1280 2019-10-16 14:47:49 +08:00
tanjinzhou 4218f19021 bump 1.4.0 2019-10-14 17:00:59 +08:00
tanjinzhou 3b45c7e128 fix: browser suspended when form-item is slot #1271 2019-10-14 15:49:40 +08:00
liufushihai af33c68f0c docs: update colspan-rowspan.md (#1272) 2019-10-13 20:08:19 +08:00
tangjinzhou dcdbe358c6 docs: add en changelog 2019-10-11 22:05:32 +08:00
tangjinzhou f7a57fe170 feat: add link button 2019-10-11 22:05:02 +08:00
tanjinzhou 6c9de7146c fix: table warning #1267 2019-10-11 18:25:23 +08:00
tangjinzhou ef16772a80 doc: update changelog 2019-10-09 22:27:11 +08:00
tangjinzhou 850daec6ea
Merge pull request #1255 from vueComponent/feat-1.4.0
Feat 1.4.0
2019-10-09 21:51:08 +08:00
zkwolf 598f41f098 fix: get slot bug (#1256) 2019-10-09 19:07:35 +08:00
tanjinzhou 6b3de60163 doc: add faq about date-picker mode="year" 2019-10-09 19:03:53 +08:00
tanjinzhou d2784465c2 fix: carousel type error warning 2019-10-09 18:39:09 +08:00
tanjinzhou b5d4dfd30f style: format demo 2019-10-09 18:32:23 +08:00
tangjinzhou d18944d8eb
Merge branch 'master' into feat-1.4.0 2019-10-08 18:25:44 +08:00
tangjinzhou 0fb52376a9 bump 1.3.17 2019-09-29 21:16:22 +08:00
tangjinzhou 6f05a983c4 Merge branch 'master' into feat-1.4.0 2019-09-29 20:47:05 +08:00
zkwolf 495db37086 fix: Select OptGroup title slot bug (#1236)
* fix: Select OptGroup title slot bug

* test: update snapshot
2019-09-29 18:24:15 +08:00
zkwolf c897d32a00 fix: time-picker bug (#1176)
当使用backspace删除所有字符后,输入第一个字符控制台报错,并无字符显示
2019-09-29 18:10:23 +08:00
tanjinzhou a678e3b550 fix: add comment ts types 2019-09-29 17:42:17 +08:00
tanjinzhou c89d19e6e1 feat: Carousel support responsive #1230 2019-09-29 17:22:11 +08:00
tanjinzhou b4fe21139a fix: tooltip defaultVisible not work #1232 2019-09-29 17:04:19 +08:00
tangjinzhou 31522c953d test: update snapshots 2019-09-28 21:02:32 +08:00
tangjinzhou 4cd44aea3d style: format code 2019-09-28 20:45:07 +08:00
tangjinzhou d419f9c0d9 style: update prettier 2019-09-28 19:20:26 +08:00
tangjinzhou de01b413db Merge remote-tracking branch 'origin/master' into feat-1.4.0 2019-09-28 19:19:49 +08:00
tangjinzhou 6dd61cdb76 style: format code 2019-09-28 18:00:24 +08:00
tangjinzhou c638f2adbd Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-09-27 18:44:47 +08:00
tangjinzhou 48fda08795 fix: ie select open bug #1223 2019-09-27 18:44:11 +08:00
tangjinzhou b2e9baa22f fix: update ts 2019-09-26 22:05:24 +08:00
tangjinzhou 2c63715c5a Merge remote-tracking branch 'origin/master' into feat-1.4.0 2019-09-26 21:57:48 +08:00
singlebyte 1ad01d23be fix: no ConfigProvider's TypeScript definition (#1143) 2019-09-26 21:46:38 +08:00
zkwolf fe5ec9cd53 fix: statistic ts type import path (#1234) 2019-09-26 21:44:34 +08:00
tangjinzhou ae6a183f00 docs: update changelog time 2019-09-23 21:37:31 +08:00
tangjinzhou e859cdfd76 docs: update changelog 2019-09-23 21:34:15 +08:00
tangjinzhou a3ab0c26f2 Merge remote-tracking branch 'origin/master' into feat-1.4.0
# Conflicts:
#	components/vc-form/src/createBaseForm.jsx
2019-09-23 20:54:44 +08:00
tangjinzhou e214277022 update RadioButton 2019-09-23 20:45:58 +08:00
tanjinzhou f58cea1dff fix: add tree-select types 2019-09-23 19:06:38 +08:00
zkwolf 03d8e528de docs: add two props of treeselect (#1210)
- maxTagCount
- maxTagPlaceholder
2019-09-23 19:02:08 +08:00
zkwolf f3d0e23987 feat: select add maxTagTextLength prop (#1217)
* feat: select add maxTagTextLenth prop

* fix: add select maxTagTextLength prop ts type
2019-09-23 10:56:25 +08:00
tangjinzhou d42300bb88 cr table & tabs 2019-09-23 08:38:54 +08:00
tanjinzhou f5a340c306 cr tabs & tag & time-picker & slider 2019-09-20 19:19:59 +08:00
tanjinzhou c015c8d34c cr pxxx to sxxx and tree 2019-09-18 20:03:13 +08:00
tangjinzhou 4ce99b91e1 update configProvider 2019-09-11 22:51:52 +08:00
tangjinzhou a47a820a29 cr pagination & popover & popconfirm & tree-select 2019-09-11 22:33:36 +08:00
tanjinzhou f94f50f326 cr exxx to nxxx 2019-09-11 18:11:48 +08:00
tangjinzhou 4c58c52b21 cr grid & icon & upload 2019-09-10 21:54:22 +08:00
tanjinzhou 927a0a6c81 cr cxxx- exxx 2019-09-10 18:57:08 +08:00
tangjinzhou c31aab0685 cr button 2019-09-08 20:16:17 +08:00
zkwolf 5a0290af98 fix: docs typo (#1162) 2019-09-08 10:52:14 +08:00
tanjinzhou ae5a5878d5 cr anchor & avatar 2019-09-06 19:01:49 +08:00
tangjinzhou 8de01cf07e cr util & config-provider & affix & alert 2019-09-05 22:18:27 +08:00
tangjinzhou 0eef790e6b update vc-align to 2.4.5 2019-09-03 22:59:41 +08:00
tangjinzhou 508bc33cfa Merge branch 'feat-1.4.0' of https://github.com/vueComponent/ant-design-vue into feat-1.4.0 2019-09-03 22:49:37 +08:00
tangjinzhou dd3bde664f cr vc-calendar 2019-09-03 22:49:21 +08:00
zkwolf 1469f03011 fix: cascader prop notFoundContent type typo (#1150) 2019-09-03 17:36:50 +08:00
tangjinzhou 6ae2a193f6 update vc-cascader to 0.17.4 2019-09-02 22:49:34 +08:00
tangjinzhou feb9d178a9 update vc-checkbox to 2.1.7 2019-09-02 22:07:37 +08:00
tangjinzhou 43cbdb5659 cr vc-collapse and update to 1.11.7 2019-09-02 22:07:10 +08:00
tanjinzhou c9107da055 fix: select not hide when use keydown 2019-08-30 18:48:51 +08:00
tanjinzhou ae905df339 bump 1.3.17-beta.1 2019-08-30 14:43:21 +08:00
tanjinzhou c80e54ba78 feat: form add selfUpdate #1049 2019-08-30 14:07:32 +08:00
tanjinzhou 0a419dac6a fix: switch tabIndex not work 2019-08-30 12:55:45 +08:00
tangjinzhou acbc6158b8 update dialog to 7.5.5 2019-08-29 22:50:53 +08:00
tangjinzhou 154e24687c update util 2019-08-28 22:56:51 +08:00
tangjinzhou da0f17d1b6 Merge remote-tracking branch 'origin/master' into feat-1.4.0
# Conflicts:
#	components/affix/index.jsx
#	components/alert/index.jsx
#	components/back-top/index.jsx
#	components/carousel/index.jsx
#	components/cascader/index.jsx
#	components/comment/index.jsx
#	components/config-provider/index.jsx
#	components/divider/index.jsx
#	components/drawer/index.jsx
#	components/form/Form.jsx
#	components/input-number/index.jsx
#	components/menu/index.jsx
#	components/modal/confirm.js
#	components/modal/index.js
#	components/popconfirm/index.jsx
#	components/popover/index.jsx
#	components/rate/index.jsx
#	components/steps/index.jsx
#	components/switch/index.jsx
#	components/time-picker/index.jsx
#	components/tree-select/index.jsx
#	site/components.js
2019-08-28 22:36:44 +08:00
tanjinzhou c9f1c26693 chore: add base.vue inconsistent vue version 2019-08-28 10:50:19 +08:00
tangjinzhou 2852ea295a update vc-pagination to 1.20.5 2019-08-27 23:14:19 +08:00
tangjinzhou 445c21d9fd cr dropdown 2019-08-27 21:57:27 +08:00
tangjinzhou 1e53fc85b3 update snapshots and prettier 2019-08-26 22:47:19 +08:00
tangjinzhou 6ea8f071f9 update vc-form to 2.4.8 2019-08-26 22:46:44 +08:00
tangjinzhou b6a7f49c0d cr vc-progress 2019-08-26 21:12:11 +08:00
tangjinzhou 89601b5b8c update style 2019-08-26 21:11:46 +08:00
tangjinzhou 18005cc97c update package.json 2019-08-25 22:12:00 +08:00
tangjinzhou 2349348de0 Merge branch 'master' into feat-1.4.0
# Conflicts:
#	components/button/__tests__/__snapshots__/demo.test.js.snap
#	components/button/buttonTypes.js
#	components/button/demo/basic.md
#	components/button/style/index.less
#	components/button/style/mixin.less
#	components/form/__tests__/__snapshots__/demo.test.js.snap
#	components/input/__tests__/__snapshots__/demo.test.js.snap
#	components/select/__tests__/__snapshots__/demo.test.js.snap
#	components/select/__tests__/__snapshots__/index.test.js.snap
#	components/tabs/__tests__/__snapshots__/demo.test.js.snap
#	components/vc-collapse/src/Collapse.jsx
#	package.json
2019-08-25 22:09:55 +08:00
tangjinzhou d459b20b20 bump 1.3.16 2019-08-25 21:56:51 +08:00
tangjinzhou abc151252c Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-08-25 21:56:10 +08:00
Pythonfo 3d6fb50eee add upload dragger ts type (#1032) 2019-08-25 21:54:57 +08:00
tangjinzhou c539568b76 doc: update doc 2019-08-25 20:58:10 +08:00
tanjinzhou 85702bb98f update site 2019-08-23 17:58:46 +08:00
tanjinzhou 8796c94315 update site 2019-08-22 18:29:50 +08:00
三点包子 f12d53bfc4
Merge pull request #1111 from zkwolf/fix-tree-select-dataRef-undefined
fix: treeNode dataRef is undefined
2019-08-22 17:31:17 +08:00
刘彦博 f32771d281 doc: [Transfer] basic demo codes issue (#1112)
* fix transfer basic demo issue

* typo
2019-08-22 13:55:56 +08:00
ly303550688 62e3c4b73a fix: throw exception when has none collapse-panel in default slot (#1116) 2019-08-22 13:51:47 +08:00
zkwolf 5f9ebe8b45 fix: treeNode dataRef is undefined 2019-08-21 15:17:21 +08:00
Alireza Valizade 095406eea6 fix: select error on unmounting component (#1091) 2019-08-20 10:39:05 +08:00
tanjinzhou 53e73ab6f8 bump 1.3.15 2019-08-17 17:39:55 +08:00
tangjinzhou 0eab2424d5 style: update prettier 2019-08-15 22:24:53 +08:00
tangjinzhou 4d1a4c9d33 fix: form validator number error #1090 2019-08-15 22:14:59 +08:00
tangjinzhou 9734ec0993 fix: form warning #1076 2019-08-15 22:12:50 +08:00
tangjinzhou 259f16b145 fix: ie scrollerbar trigger blur event #999 2019-08-14 18:41:49 +08:00
undefined 2964d2977f update site 2019-08-13 14:47:57 +08:00
tanjinzhou e94a0f0eb7 update node to 12.4.0 2019-08-12 21:25:21 +08:00
tanjinzhou 3b1e49fc3b bump 1.3.14 2019-08-12 20:38:50 +08:00
tanjinzhou d232bf65f3 doc: update doc 2019-08-12 20:38:09 +08:00
言肆 ad81186ec5 feat: button support `link` type (#1077) 2019-08-12 11:30:32 +08:00
wangxueliang 8e80e13d17 style: update code style 2019-08-08 19:04:21 +08:00
wangxueliang f66fae47e3 feat: merge master 2019-08-08 19:02:54 +08:00
tangjinzhou 6d1a385fad feat: modal.confirm content ant title support function #824 2019-08-07 22:17:21 +08:00
tangjinzhou f5d1fa6a9f fix: support v-slot #1058 2019-08-07 21:56:30 +08:00
Plane-walker 3406cecbd8 fix: '{' and ')' are not match (#1062)
* fix: '{' doesn't match

* fix: '}' doesn't match
2019-08-07 10:06:08 +08:00
tangjinzhou 9d78a27030 doc: update site image 2019-08-05 22:03:48 +08:00
tanjinzhou d60d549f04 update site 2019-08-05 16:53:48 +08:00
Tudero Li 949cb6bdcc fix: error doc file in form components #1054 (#1055) 2019-08-04 21:21:36 +08:00
tangjinzhou 6064b97367 doc: add geektime ad 2019-08-04 21:14:08 +08:00
zkwolf b3b4831c1a fix: input allowClear icon (#1040) 2019-07-31 22:11:03 +08:00
wangxueliang 71b7c9d338 fix: dropdown-button size not take effect 2019-07-31 11:22:47 +08:00
tangjinzhou 55a59f207f fix: ie scrollerbar trigger blur event #999 2019-07-30 19:51:49 +08:00
tangjinzhou da92d8543f fix: tooltip builtinPlacements default value 2019-07-29 22:43:03 +08:00
Morphling ef07315dc8 add builtinPlacements prop in shared props (#1021)
* add builtinPlacements prop in shared props

add builtinPlacements prop in shared props

* fix lint
2019-07-26 16:29:16 +08:00
tanjinzhou 7b3897305b fix: git ci error 2019-07-24 19:24:16 +08:00
tanjinzhou 80ebc2840a fix: cannot find module node-emoji #997 2019-07-24 19:23:47 +08:00
tanjinzhou 5be307bc71 fix: array class error #1009 2019-07-24 19:21:27 +08:00
tanjinzhou c8d80d0cc8 bump 1.3.13 2019-07-22 12:39:29 +08:00
tanjinzhou 8352df87a3 bump 3.1.12 2019-07-22 11:56:13 +08:00
binhaoCen 34343b2e8b 给分页器的配置项添加非必填标识 (#987) 2019-07-22 11:12:07 +08:00
言肆 7287e12a9b fix: column[align] should not override custom cell style #973 (#983) 2019-07-22 11:11:20 +08:00
tanjinzhou 2ba8c2b1a8 bump 1.3.11 2019-07-22 11:03:16 +08:00
tangjinzhou 624816aae2 fix: dropdown menu flashing #975 2019-07-21 21:53:30 +08:00
wangxueliang d47907bc27 style: format code 2019-07-16 22:34:25 +08:00
SnowWinterMaye 68c212df65 datePicker 添加默认渲染slot支持 (#957)
* datePicker  添加默认渲染slot支持

* 功能优化
2019-07-16 21:19:47 +08:00
tanjinzhou 6f6cce482a fix: custom form warning error #915 2019-07-16 18:10:38 +08:00
wapznw 60a7927b0c dropdown添加minOverlayWidthMatchTrigger属性 (#954)
* Update getDropdownProps.js

dropdown组件增加minOverlayWidthMatchTrigger属性

* dropdown组件增加minOverlayWidthMatchTrigger属性
2019-07-16 15:39:53 +08:00
wangxueliang 9d3188a525 fix: select drop-down option displays an exception for #970 2019-07-16 01:08:14 +08:00
tanjinzhou 75dd9f6ceb update gulp script 2019-07-10 18:14:41 +08:00
binhaoCen 44d587483c 列表配置项改为全非必填 (#948) 2019-07-10 11:15:51 +08:00
tangjinzhou ecf7c8b42c fix: update icon focusable="false" #924 2019-07-07 21:27:16 +08:00
luichooy ea744664a7 fix: sFileList will be 'undefined' when run `form.resetFields()` (#929) 2019-07-07 20:57:39 +08:00
José Silva 2043203a11 update table documentation (#800)
* added index parameter on function of rowKey

* update size doc in table
2019-07-07 20:54:07 +08:00
drafish b0c95d36ae fix issue #930 (#931) 2019-07-05 09:44:12 +08:00
tanjinzhou 1af8c07e89 site update & icons update 2019-07-04 18:28:37 +08:00
tanjinzhou 57a9eafcc6 site update & icons update 2019-07-04 18:28:27 +08:00
tanjinzhou ba93c49f25 style: format and update test 2019-07-04 18:21:43 +08:00
tanjinzhou d4f23cec69 fix: datepicker not open when placeholder is chinese at ie 10 and 11 #865 2019-07-04 18:17:15 +08:00
tanjinzhou f9373e44ce feat: add popup ref 2019-07-04 18:12:52 +08:00
tangjinzhou 5f41fa5e99 cr vc-rate 2019-07-03 21:56:30 +08:00
skyline-123 3239117b70 fix: submenu disalbed style (#921) 2019-07-02 10:15:01 +08:00
tangjinzhou 413b9b19bd cr vc-select 2019-06-30 21:56:24 +08:00
tangjinzhou e444ca1c7e cr vc-switch 2019-06-30 20:43:46 +08:00
tangjinzhou b380b30e90 cr vc-tabs 2019-06-30 20:33:43 +08:00
skyline-123 0d67fc1966 fix: dropdown button disable style (#912) 2019-06-30 09:44:46 +08:00
tangjinzhou 718f30e486
Update FUNDING.yml 2019-06-30 09:27:30 +08:00
tangjinzhou 8f29e5e594 cr vc-time-picker 2019-06-27 22:00:08 +08:00
tangjinzhou 82b4715e95 cr vc-tree 2019-06-26 22:08:50 +08:00
tangjinzhou 673081274f cr tree-select 2019-06-26 08:28:17 +08:00
tangjinzhou adbd82b910 Merge branch 'master' into feat-1.4.0
# Conflicts:
#	components/table/interface.js
#	components/vc-upload/demo/simple.jsx
2019-06-24 21:47:23 +08:00
tangjinzhou d0cf9fd5cd update site 2019-06-18 22:05:23 +08:00
tangjinzhou ba42f255e5 bump 1.3.10 2019-06-11 21:51:08 +08:00
tangjinzhou c0989ec63e fix: Remove useless `module.export` of package. #850 2019-06-11 21:44:50 +08:00
tangjinzhou 748d001ead
Update FUNDING.yml 2019-06-08 11:32:18 +08:00
blackywkl 4cc05d24ba docs(form-cn): Remove duplicate brace (#844) 2019-06-07 11:14:19 +08:00
wangxueliang 76d8491b66 style: fix code format 2019-05-28 11:37:38 +08:00
wangxueliang f5471713f2 docs: fix statistic demo 2019-05-28 11:10:38 +08:00
三点包子 15c645fea1
Merge pull request #802 from attacking/feat-1.4.0
Statistic Component
2019-05-28 10:11:48 +08:00
mingyan.yu 1b16a4321d feat: countdown结束事件名称 2019-05-28 09:08:26 +08:00
tangjinzhou 1234627881 bump 1.3.9 2019-05-26 15:58:51 +08:00
tangjinzhou 056ef16f58 docs: update form demo 2019-05-26 15:30:55 +08:00
tangjinzhou 0596aaf781 fix: DirectoryTree props expandAction doesn't work for "doubleclick" #745 2019-05-26 14:19:59 +08:00
tangjinzhou 974e7c0365
Update FUNDING.yml 2019-05-26 14:08:59 +08:00
tangjinzhou efb8e0a39b
Create FUNDING.yml 2019-05-26 14:07:28 +08:00
tangjinzhou 63fbed0d76 style: prettier 2019-05-26 13:58:06 +08:00
tangjinzhou 0a0a6a6103 fix: icon extraCommonProps not work #737 2019-05-26 13:57:43 +08:00
tangjinzhou 378241192e fix: vnode 传递函数式组件事件 2019-05-26 12:13:30 +08:00
mingyan.yu 200f9204e9 feat: test 2019-05-25 23:15:01 +08:00
mingyan.yu f4c0384d97 feat: prefixCls 2019-05-25 22:43:44 +08:00
tangjinzhou 1704ce4282 fix: table custom expandIcon function not work #751 2019-05-25 21:59:08 +08:00
tangjinzhou 1790dab16b docs: update upload demo #753 2019-05-25 18:24:22 +08:00
mingyan.yu 04ac500c2e feat: statistic.ts 2019-05-25 18:02:44 +08:00
mingyan.yu 14d4b7745d feat: add statistic 2019-05-25 17:18:04 +08:00
wangxueliang 00f104757c feat: merge master 2019-05-25 16:36:25 +08:00
tangjinzhou a5bb1918e5 fix: search input component replicating id attribute #726 2019-05-25 15:10:28 +08:00
tangjinzhou e9f2858ae0 fix: ie9 remove dom error #705 2019-05-25 13:57:53 +08:00
tangjinzhou 49d60f759c fix: select dropdownRender not close #644 2019-05-25 13:45:50 +08:00
Yuga Sun 00656b5ce9 feat: add closable option for confirm dialog (#798) 2019-05-23 22:09:49 +08:00
wangxueliang 5d8d9248a3 test: update snapshots 2019-05-18 15:49:50 +08:00
wangxueliang 5b4d30ceae docs: add docs and demo 2019-05-18 15:44:54 +08:00
tangjinzhou d478653673 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-05-14 22:16:51 +08:00
tangjinzhou faa4c1c5d9 docs: opt doc #767 [update site] 2019-05-14 22:16:44 +08:00
tangjinzhou 28b7a68dc4 fix: moment locale change 2019-05-14 22:15:24 +08:00
wangxueliang 89de910478 fix: update modal 2019-05-13 19:09:21 +08:00
nicoklaxit ec0ff990d5 Update dropdown-button.md (#742) 2019-05-06 23:02:52 +08:00
Early fa46767472 fix(ContainerRender): memory leak when invoke removeContainer (#734) 2019-05-06 09:52:24 +08:00
wangxueliang 68df93c316 docs: update table doc 2019-04-30 18:27:47 +08:00
wangxueliang 3e704f9e2f feat: update table 2019-04-30 16:59:53 +08:00
wangxueliang e411d42d47 fix: update progress api and test 2019-04-30 13:31:21 +08:00
wangxueliang 7d8068be5e fix: dynamically setting src error 2019-04-25 20:39:00 +08:00
wangxueliang 798aadcc91 feat: update progress 2019-04-25 20:23:14 +08:00
Early d970f47b35 Fix tooltip destroy tooltip on hide (#727)
* fix: add destroyTooltipOnHide prop

* doc: destroyTooltipOnHide
2019-04-24 23:52:43 +08:00
wangxueliang 4193d246ba feat: update select 2019-04-20 16:23:50 +08:00
wangxueliang 3c4cc8ea77 feat: update icon 2019-04-20 16:03:57 +08:00
wangxueliang 3a2977a2ed feat: update form 2019-04-20 14:19:13 +08:00
wangxueliang 300fc9a2bc feat: update date-picker 2019-04-20 12:34:24 +08:00
tangjinzhou e5020f7eb8 fix: treeSelect not support dataRef #712 2019-04-19 21:30:58 +08:00
wangxueliang 103293aa8f feat: update modal 2019-04-17 10:21:28 +08:00
wangxueliang a8424d271f feat: update tabs 2019-04-17 09:21:35 +08:00
wangxueliang 48f2facb44 feat: update time-picker 2019-04-17 09:00:27 +08:00
三点包子 9837004222
Merge pull request #683 from silverlovesl/hot/issue-682
add type definition for Form
2019-04-11 20:16:53 +08:00
maple326 2d3a01cd41 Update customize-theme.zh-CN.md (#686) 2019-04-10 22:05:24 +08:00
tangjinzhou 219982e927 update site 2019-04-10 21:58:12 +08:00
wangxueliang e6754c5c52 Merge branch 'feat-1.4.0' of https://github.com/vueComponent/ant-design into feat-1.4.0 2019-04-10 15:42:00 +08:00
wangxueliang c114301b72 test: update snapshots 2019-04-10 15:41:46 +08:00
wangxueliang 3da747eadc feat: update tree 2019-04-10 13:28:07 +08:00
wangxueliang 0b03957ebe feat: update tree-select 2019-04-10 11:54:42 +08:00
wangxueliang 5a627fc5f3 feat: update tooltips 2019-04-10 10:14:12 +08:00
wangxueliang 05907aaff9 update dropdown 2019-04-10 10:09:00 +08:00
wangxueliang b22dfe297b feat: update menu 2019-04-10 09:41:02 +08:00
XY ebd6cde2e1 add type definition for Form 2019-04-10 10:31:43 +09:00
wangxueliang c54a20301a feat: update popover 2019-04-10 09:23:53 +08:00
wangxueliang 81e80bfaed feat: popconfirm 2019-04-10 09:20:22 +08:00
wangxueliang fa41d5b205 feat: update layout 2019-04-10 09:08:29 +08:00
wangxueliang b14988d769 feat: update input-number 2019-04-10 08:51:42 +08:00
三点包子 c483390dbc
Merge pull request #666 from ariesjia/feat-1.4.0
add reject event for drag not accepted files to upload component
2019-04-10 08:44:26 +08:00
wangxueliang 0566ae23e1 test: update snapshots 2019-04-09 20:39:49 +08:00
wangxueliang 190d70e6f5 fix: update input demo 2019-04-09 19:53:11 +08:00
wangxueliang 22b051f0a5 update input 2019-04-07 17:19:18 +08:00
wangxueliang ca7a4becbc feat: update drawer 2019-04-07 11:46:22 +08:00
wangxueliang 7d6678265e feat: merge master 2019-04-07 09:05:54 +08:00
wangxueliang b9aa4aec0c Merge branch 'master' of https://github.com/vueComponent/ant-design 2019-04-07 08:40:29 +08:00
tangjinzhou 2b1039f6be bump 1.3.8 2019-04-04 23:42:38 +08:00
tangjinzhou 791783344a feat: add custom handle 2019-04-04 23:28:50 +08:00
wangxueliang b02226bea2 docs: fix list api doc 2019-04-04 18:11:44 +08:00
atzcl 995469eb9b fix(typings): update form typings (#662) 2019-04-04 15:15:57 +08:00
areschen ee2d047d1f feat: add reject event for not drop not accept files to upload 2019-04-03 15:53:04 +08:00
wangxueliang 341374c44e feat: update style to 3.13.6 2019-03-30 16:06:06 +08:00
wangxueliang 26ea8409e1 feat: update transfer 2019-03-28 20:56:06 +08:00
wangxueliang 4f1e2768b0 feat: update upload 2019-03-28 19:51:27 +08:00
言肆 8fbeed1e44 fix: table head does not align under firefox #579 (#627) 2019-03-25 09:28:39 +08:00
wangxueliang 4410f770f0 fix: Not show spining mask in ie <= 10 #504 2019-03-22 14:37:50 +08:00
tangjinzhou 4c92b78b1f update site 2019-03-19 15:35:51 +08:00
HelloMoli 9f9ab21ff3 Update edit-cell.md (#605) 2019-03-19 10:36:46 +08:00
wangxueliang 69f5487fd1 feat: update list & pagination 2019-03-19 10:02:14 +08:00
wangxueliang 1713581576 feat: switch && timeline && skeleton 2019-03-18 20:35:24 +08:00
wangxueliang 1af8349504 feat: radio && rate && spin 2019-03-18 20:00:00 +08:00
tangjinzhou 82081f1d82 update site 2019-03-18 17:27:45 +08:00
tangjinzhou f671810c31 update site 2019-03-18 17:09:41 +08:00
Early 3698c022ec fix: typo (#601) 2019-03-18 15:10:20 +08:00
tangjinzhou e10d2edf0a bump 1.3.7 2019-03-18 10:35:47 +08:00
tangjinzhou 799e0d4209 update ts 2019-03-18 10:35:24 +08:00
tangjinzhou bd298802e6 fix: `Select` `selectedKeys` type validation error [#597] 2019-03-18 10:35:13 +08:00
tangjinzhou 5c7a79fff7 bump 1.3.6 2019-03-17 14:42:59 +08:00
tangjinzhou dbc0b2eaeb fix: `Cascader` `option.value` supports `String` `Number` type 2019-03-17 14:42:15 +08:00
tangjinzhou dfc46a0de7 fix: select title error #588 2019-03-16 09:14:55 +08:00
tangjinzhou faf9ba0033 fix: input repeat classname 2019-03-15 23:11:25 +08:00
tangjinzhou 4ff2a10848 style: prettier 2019-03-15 22:56:22 +08:00
tangjinzhou 72202591a5 fix: input-search support addonAfter and addonBefore slot #581 2019-03-15 22:56:05 +08:00
tangjinzhou fc72620bea feat: upload add ico type 2019-03-15 22:55:15 +08:00
milkmeowo c2d5eae95b supprot icon preview (#592) 2019-03-15 22:48:48 +08:00
wangxueliang 16409c6ed1 feat: update comment、divider、grid 2019-03-15 15:12:28 +08:00
wangxueliang 52b3883cf2 feat: update checkbox && collapse 2019-03-15 11:20:37 +08:00
wangxueliang 64b3ab1a55 fix: config-provider bug 2019-03-15 10:04:14 +08:00
wangxueliang b84a86bb40 feat: update carousel 2019-03-14 21:21:58 +08:00
wangxueliang 9bcb12e611 feat: update card 2019-03-13 21:32:14 +08:00
wangxueliang 5f09422d87 feat: udpate calendar 2019-03-13 13:34:40 +08:00
wangxueliang 9b5082fee9 feat: update breadcrumb && button 2019-03-13 09:38:54 +08:00
wangxueliang 40ddc851bc feat: update back-top && badge 2019-03-12 12:04:40 +08:00
wangxueliang 3eb046f10a test: update snapshots 2019-03-11 21:06:53 +08:00
wangxueliang 9051cd3822 feat: update auto-complete && avatar 2019-03-11 19:58:32 +08:00
wangxueliang 08821561ab feat: update alert && update anchor 2019-03-11 14:43:23 +08:00
hongfei hu aac5e5677a Update list-item.d.ts (#569) 2019-03-11 14:40:59 +08:00
Rone Sam ff8eb937a9 docs: update vue-cli3 doc (#512) 2019-03-11 14:40:13 +08:00
tangjinzhou ccd5d64982 update site add sponsor 2019-03-11 13:07:29 +08:00
wangxueliang 75cc96eefd feat: update affix 2019-03-11 11:54:14 +08:00
tangjinzhou d112e2d9a2 cr vc-upload and vc-progress 2019-03-10 22:10:58 +08:00
wangxueliang 08aef845d1 feat: update config-provider && empty demo 2019-03-08 13:48:55 +08:00
wangxueliang 995db39fa5 feat: add empty components && update locale-provider 2019-03-07 13:26:03 +08:00
wangxueliang 0a1a4458e6 feat: update style to 3.13.6 2019-03-07 09:37:54 +08:00
tangjinzhou 5dc6ad7957 docs: update button doc 2019-03-06 10:52:22 +08:00
tangjinzhou bdda185974 fix: message support function bug #554 2019-03-06 10:51:52 +08:00
wangxueliang a4d415392f feat: update style css to 3.13.6 2019-03-05 13:16:32 +08:00
wangxueliang e6d5999528 feat: update vc-time-picker to 3.6.2 2019-03-04 21:00:08 +08:00
wangxueliang 019650db05 feat: update vc-tree-select to 2.5.4 2019-03-04 19:42:40 +08:00
wangxueliang 9b1fba6650 feat: update vc-tree to 1.14.10 2019-03-04 15:51:25 +08:00
wangxueliang 1a1411b1d3 feat: update vc-select to 8.9.0 2019-03-04 15:45:21 +08:00
wangxueliang 8713210000 feat: update vc-tabs to 9.6.1 2019-03-04 14:57:51 +08:00
wangxueliang 0593665d7c feat: update vc-notification to 3.3.1 2019-03-04 12:12:50 +08:00
wangxueliang d2ce2e50f0 feat: update vc-dropdown to 2.4.1 2019-03-02 12:53:22 +08:00
wangxueliang a04d8a56f4 feat: update vc-switch to 1.9.0 2019-03-02 11:21:00 +08:00
wangxueliang 015fca4e1b feat: update vc-calendar to 9.10.10 2019-03-02 11:12:36 +08:00
wangxueliang 2d2bd79f82 feat: update vc-upload to 2.6.3 2019-03-01 23:19:20 +08:00
wangxueliang 4926130aff docs: update version to 8.6.6 2019-03-01 23:01:25 +08:00
wangxueliang 9fa5f1c415 feat: update vc-slider to 8.6.6 2019-03-01 22:58:46 +08:00
wangxueliang f94a380aee feat: update vc-rate to 2.5.0 2019-03-01 22:25:03 +08:00
wangxueliang 21eed858fa feat: update rc-input-number to 4.4.0 2019-03-01 20:46:26 +08:00
三点包子 4a31fd381e
Merge pull request #538 from pumano/master
fix: update form validation typings #526
2019-02-28 19:54:18 +08:00
wangxueliang 2f81ea75c5 style: fix code conflict 2019-02-28 19:54:10 +08:00
wangxueliang 9a073953ee style: fix code format 2019-02-28 19:51:05 +08:00
wangxueliang 96afcdf30f test: update snapshots 2019-02-28 19:46:40 +08:00
pumano 89875fde06 fix: update form validation typings #526 2019-02-27 12:57:51 +03:00
tangjinzhou b1465635e9 bump 1.3.5 2019-02-23 19:00:40 +08:00
tangjinzhou 04501dec3d docs: udpate 2019-02-23 18:53:02 +08:00
tangjinzhou 5db345b248 docs: add netlify.toml and update site-dist to _site 2019-02-23 12:12:44 +08:00
tangjinzhou 89c3a56362 docs: update demo 2019-02-23 12:11:54 +08:00
tangjinzhou c47582a93e docs: update demo 2019-02-22 22:23:37 +08:00
tangjinzhou 8a173180fd docs: update form doc 2019-02-22 21:58:03 +08:00
tangjinzhou f4615c8c0a docs: update tree dragxxx #467 2019-02-22 21:49:06 +08:00
tangjinzhou 9cf8d18e6a update slider ts 2019-02-22 21:36:10 +08:00
tangjinzhou 27bd5c3da3 fix: tree dragover not work #469 2019-02-22 21:35:46 +08:00
tangjinzhou 28d7194c94 fix: tree growing space #502 2019-02-22 21:34:58 +08:00
tangjinzhou b1d23c516c optimize the style of the popover component 2019-02-22 21:32:08 +08:00
Orange 86d1e77fd9 docs: update icon demo (#510) 2019-02-22 21:02:51 +08:00
tangjinzhou 0bcf061766 fix: update modal ts 2019-02-21 22:16:21 +08:00
tangjinzhou b14ae3dd96 docs: update menu doc 2019-02-21 17:49:21 +08:00
tangjinzhou 27773fae20 fix: tree style #502 2019-02-21 17:48:45 +08:00
wangxueliang 1e1b869166 feat: update rc-collapse to 1.11.1 2019-02-21 14:31:35 +08:00
wangxueliang 487fe2a268 feat: update vc-progress to 2.3.0 2019-02-19 22:35:03 +08:00
wangxueliang 511d76074a feat: update site 2019-02-19 18:37:10 +08:00
偏右 dc7a86d1c1 docs: Change a new logo (#489)
close #412
2019-02-19 12:17:28 +08:00
wangxueliang a10711d9ae feat: vc-upload to 2.6.2 2019-02-18 23:33:39 +08:00
tangjinzhou 9e9339c3b3 feat: update rc-cascader to 0.17.1 2019-02-18 22:13:29 +08:00
tangjinzhou f2fba47e4d Merge branch 'master' into feat-1.4.0 2019-02-18 21:44:51 +08:00
tangjinzhou 61cf8a4857 docs: add CNAME 2019-02-16 22:47:08 +08:00
tangjinzhou be12d2eee9 test: update snapshots 2019-02-16 22:46:47 +08:00
tangjinzhou e8f2613c68 update site 2019-02-16 21:20:12 +08:00
tangjinzhou 26598ea40a docs: update logo 2019-02-16 19:17:29 +08:00
tangjinzhou 4fb1165a7d update site 2019-02-16 17:45:34 +08:00
tangjinzhou ccbb887e18 docs: update hm 2019-02-16 17:16:59 +08:00
tangjinzhou 805d4e3295 docs: update url path 2019-02-16 16:51:21 +08:00
tangjinzhou 86c069ce4e docs: update new logo 2019-02-16 14:32:46 +08:00
tangjinzhou 1871308920 docs: add pr template 2019-02-16 14:31:34 +08:00
skadoodle 82447803ac fix: modal confirm class not work (#475) 2019-02-16 11:04:14 +08:00
tangjinzhou 1d80cec3d7 style: format vc-calendar 2019-02-13 22:12:00 +08:00
tangjinzhou 4df4424570 perf: update to vue 2.6.x 2019-02-13 22:11:27 +08:00
tangjinzhou 629d4c44d2 Merge branch 'master' into feat-1.4.0 2019-02-13 21:02:38 +08:00
Owen Melbourne 312691dd1f Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-02-12 19:55:40 +08:00
tangjinzhou 8692336547 update site 2019-02-11 22:22:46 +08:00
tangjinzhou 7ddc17b3bd docs: add form vuex demo close #465 2019-02-11 22:22:15 +08:00
tangjinzhou e60122a9f4 revert: lint format vue/prop-name-casing 2019-02-11 22:17:23 +08:00
tangjinzhou 350b941e83 update site 2019-02-02 17:38:59 +08:00
tangjinzhou a0be4e43ad Merge branch 'master' into feat-1.4.0 2019-02-02 16:19:18 +08:00
tangjinzhou 9a463899fb perf: avoid multiple decorator when FormItem is nested 2019-02-02 15:25:43 +08:00
tangjinzhou 55a8dca9e7 style: update lint and format code 2019-02-01 17:23:00 +08:00
tangjinzhou a9f7963c0c bump 1.3.4 2019-01-31 17:37:01 +08:00
tangjinzhou 980bcb70d9 fix: Add the `BreadcrmbItem` ts type file #452 2019-01-31 17:31:55 +08:00
tangjinzhou fff0d5bf85 fix: AutoComplete placeholder not display when disabled #402 2019-01-31 10:28:30 +08:00
tangjinzhou beef6c6662 perf: update formItem give some tip 2019-01-30 21:31:36 +08:00
tangjinzhou cf81f54a96 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-01-29 22:59:15 +08:00
tangjinzhou 041cca740d test: avoid test error 2019-01-29 22:58:52 +08:00
tangjinzhou c34a446f73 fix: avoid update when formitem from slot 2019-01-29 22:58:28 +08:00
wangxueliang 2fe68c0967 fix: add breadcrmb-item.d.ts 2019-01-29 12:20:14 +08:00
tangjinzhou de68d08798 perf: inject default 2019-01-28 21:09:13 +08:00
tangjinzhou c9d3f7b79c fix: formItem not update when a-form-item in child component #446 2019-01-27 21:47:27 +08:00
tangjinzhou 56e68f19a7 fix: remove duplicate ts type 2019-01-27 21:22:41 +08:00
tangjinzhou f516fdaaae update site 2019-01-27 11:43:55 +08:00
tangjinzhou 3e68a244b2 docs: update doc #445 2019-01-27 11:43:08 +08:00
tangjinzhou 6be6034fc8 update site 2019-01-26 18:12:49 +08:00
tangjinzhou 72d04b1e24 bump 1.3.3 2019-01-26 16:40:50 +08:00
tangjinzhou 9fbab5ddb8 bump 1.3.3 2019-01-26 16:06:26 +08:00
tangjinzhou 58794aaba9 docs: update docs 2019-01-26 16:04:32 +08:00
tangjinzhou 78c1023785 test: update test 2019-01-25 18:00:36 +08:00
tangjinzhou 8bec6708d6 feat: update vc-calendar 2019-01-23 22:47:44 +08:00
tangjinzhou d0ae9ccaeb docs: update icon doc 2019-01-23 12:43:45 +08:00
tangjinzhou 1aa42dfe18 feat: anchor add wrapperClass and wrapperStyle 2019-01-23 12:43:15 +08:00
三点包子 e0a9209b6a test: add comment test and update snapshots (#429) 2019-01-23 09:46:04 +08:00
weifu2 159c54973d fix: modify message maxcount bug (#428)
when set maxcount, message not close
2019-01-23 09:43:29 +08:00
tangjinzhou 181399624a feat: update vc-xxx 2019-01-21 22:14:30 +08:00
tangjinzhou 56315994d6 feat: update vc-xxx 2019-01-21 21:59:13 +08:00
tangjinzhou 663d00f5ab docs: delete test code 2019-01-20 21:16:36 +08:00
tangjinzhou c351cba0e7
update webpack to 4.x (#425)
* update webpack to 4.x
2019-01-20 21:13:55 +08:00
Pythonfo 0e78eedbfb fix: Button, DatePicker, Layout d.ts (#422)
* fix: Button, DatePicker, Layout d.ts

* fix: sub component can be class cannot be instance
2019-01-19 18:56:33 +08:00
tangjinzhou cf444416cf update site 2019-01-19 17:54:15 +08:00
tangjinzhou ad0325a11e docs: form add preserve 2019-01-19 17:53:55 +08:00
tangjinzhou 19effd0885 update site 2019-01-18 10:18:57 +08:00
tangjinzhou 466ea96f86 bump 1.3.2 2019-01-17 12:02:51 +08:00
tangjinzhou 73f9b23f8b fix: Slider error when clicking mark #407 2019-01-17 12:00:07 +08:00
tangjinzhou 99bf3044d6 docs: update ad 2019-01-17 11:59:21 +08:00
tangjinzhou f05387d372 update site 2019-01-16 13:24:47 +08:00
tangjinzhou d41c7dbbcd update site 2019-01-16 11:26:56 +08:00
tangjinzhou 782eebccee fix: remove autoFormCreate 2019-01-16 11:22:58 +08:00
tangjinzhou 0f7d77830a bump 1.3.1 2019-01-15 10:14:36 +08:00
tangjinzhou 67c31867d2 style: prettier code 2019-01-15 09:41:07 +08:00
tangjinzhou 754c220eab fix: ie table scroll not work #390 2019-01-15 09:40:24 +08:00
tangjinzhou c924f4ca82 perf: form 2019-01-14 22:42:04 +08:00
tangjinzhou f686674dfc update site 2019-01-12 18:52:58 +08:00
tangjinzhou 1a6ba14d59 bump 1.3.0 2019-01-12 18:01:02 +08:00
tangjinzhou 8b3f7d2f4a style: delete console 2019-01-12 17:23:44 +08:00
tangjinzhou 074aaafea9 docs: update docs 2019-01-12 17:19:57 +08:00
tangjinzhou ffb2a593b1 style: lint add semi and prettier 2019-01-12 12:46:29 +08:00
tangjinzhou b4d9bfd8d9
Merge pull request #398 from vueComponent/feat-1.3.0
Feat 1.3.0
2019-01-12 11:03:36 +08:00
tangjinzhou e43c0c3bcc docs: add changelog 2019-01-12 10:55:25 +08:00
wangxueliang 661f8a2209 docs: update README 2019-01-11 13:24:16 +08:00
tangjinzhou eee43a34cc docs: add 1.3.0 zh changelog 2019-01-10 22:36:43 +08:00
tangjinzhou eba3547c4b docs: udpate demo 2019-01-10 21:43:01 +08:00
tangjinzhou dcefca22a4 Merge branch 'master' into feat-1.3.0 2019-01-10 20:47:35 +08:00
tangjinzhou 95a22158ad fix: tooltip disabled button style error #389 2019-01-10 20:38:36 +08:00
三点包子 1642358e35 docs: add ecosystem in README.md (#388) 2019-01-10 09:54:54 +08:00
xindongdong 7764700052 style: remove repeated attribute
remove repeated attribute
2019-01-09 22:03:04 +08:00
tangjinzhou 8a9964d1cc feat: update vc-tabs vc-steps 2019-01-09 21:49:33 +08:00
wangxueliang 22cf0b56d0 docs: fix progress docs 2019-01-09 13:54:03 +08:00
tangjinzhou eb35c684ed test: update snapshots 2019-01-09 10:14:34 +08:00
tangjinzhou 6f15a470eb feat: update vc-menu vc-select 2019-01-08 23:03:13 +08:00
wangxueliang 51cc269b31 docs: fix compoments docs 2019-01-08 19:00:39 +08:00
wangxueliang 981a889098 docs: update calendar doc 2019-01-08 14:45:11 +08:00
tangjinzhou ac88e4949b refactor: tag 2019-01-08 13:17:46 +08:00
tangjinzhou 98eb6b2a04 test: update snapshots 2019-01-07 21:17:16 +08:00
tangjinzhou 1fb3ce30d2 Merge branch 'master' into feat-1.3.0
# Conflicts:
#	components/table/__tests__/__snapshots__/Table.test.js.snap
2019-01-07 21:10:25 +08:00
agoni1212 5c3b77f5c3 Update table.d.ts (#377)
change interface customSelction to customSelection
2019-01-07 21:06:44 +08:00
tangjinzhou b5ca022375 perf: tree 2019-01-07 21:04:55 +08:00
tangjinzhou e67fc35d4a update ts 2019-01-07 21:04:35 +08:00
tangjinzhou 7a279f6651 docs: update upload doc 2019-01-07 20:59:57 +08:00
tangjinzhou cfe002191b feat: tree-select support searchValue 2019-01-07 20:59:18 +08:00
tangjinzhou 41ee8ea046 feat: transfer change `searchChange` to `search` 2019-01-07 20:58:18 +08:00
tangjinzhou 948499a730 fix: input trigger multiple change event 2019-01-07 20:56:32 +08:00
tangjinzhou b2d6577b76 feat: time-picker and tooltip support configProvider.getPopupContainer 2019-01-07 20:53:42 +08:00
tangjinzhou 06fe9ec935 feat: tabs activeKey support number 2019-01-07 20:51:57 +08:00
tangjinzhou 0e36ee1e41 bump 1.2.5 2019-01-06 21:22:10 +08:00
tangjinzhou b87d722143 fix: support staticClass and dynamic class #371 2019-01-06 21:14:14 +08:00
tangjinzhou 4055a23c50 docs: update demo 2019-01-06 19:24:32 +08:00
tangjinzhou fc206c7e55 chore: fix isValidElement 2019-01-06 18:28:16 +08:00
tangjinzhou bbc6c29e69 feat: table sortTitle opt 2019-01-06 18:11:50 +08:00
tangjinzhou 8340a0b684 feat: table add expandIcon 2019-01-05 18:09:27 +08:00
tangjinzhou ad0727898e test: update snapshots 2019-01-05 16:24:52 +08:00
tangjinzhou c0947907c0 feat: select add dropdownRender removeIcon clearIcon menuItemSelectedIcon 2019-01-05 16:22:25 +08:00
tangjinzhou b955d50b0c feat: update ts types 2019-01-05 11:24:56 +08:00
tangjinzhou 380e4cd53d perf: some code 2019-01-05 11:24:25 +08:00
tangjinzhou 439d9cfa5a feat: slider add tooltipVisible and optimize experience 2019-01-05 11:23:34 +08:00
tangjinzhou 032655f097 feat: slider add tooltipVisible and optimize experience 2019-01-05 11:22:53 +08:00
tangjinzhou 0d49773553 feat: notification add onClick 2019-01-05 10:55:03 +08:00
tangjinzhou 8933cc524e feat: menu add title 2019-01-05 10:54:18 +08:00
tangjinzhou 7b5fb53dfe fix: update list `pagination` props type 2019-01-05 10:53:40 +08:00
tangjinzhou 6a0f93486e feat: local add da_DK he_IL hu_HU id_ID ne-NP 2019-01-05 10:40:34 +08:00
tangjinzhou b698d74fd0 docs: update layout doc 2019-01-05 10:38:14 +08:00
tangjinzhou 30af93b7b8 feat: update vc-select 2019-01-04 23:01:46 +08:00
tangjinzhou 435b8a19e6 feat: update vc-select 2019-01-04 23:00:09 +08:00
tangjinzhou e706170669 test: update snapshots 2019-01-03 21:03:39 +08:00
tangjinzhou 0178c35de9 perf: input icon grid 2019-01-03 20:51:56 +08:00
tangjinzhou 4d6627dcd4 docs: update form demo 2019-01-03 20:48:09 +08:00
tangjinzhou 3a49503baa feat: cascader support limit 2019-01-03 20:47:39 +08:00
tangjinzhou 843b074fed feat: badge support slot type count 2019-01-03 20:46:53 +08:00
tangjinzhou 27880b0110 feat: optimize the display of the button icon 2019-01-03 13:06:27 +08:00
tangjinzhou 27d8caa4d9 test: update snapshots 2019-01-02 22:00:06 +08:00
tangjinzhou 5a9eb8880b fix: drawer style to wrapStyle 2019-01-02 21:59:35 +08:00
tangjinzhou 14dfebab0b feat: update style to 3.11.6 2019-01-02 21:01:56 +08:00
tangjinzhou 9eb923c0f8 feat: update 2019-01-02 20:56:06 +08:00
tangjinzhou daccfd19d1 fix: fixed the issue that when the Alert is in closable, the icon will be covered by the text. 2019-01-02 20:55:00 +08:00
tangjinzhou 43a503fc9e feat: avatar add srcSet 2019-01-02 20:53:52 +08:00
tangjinzhou 8eaf6da73a feat: dropdown add overlayClassName overlayStyle, 2019-01-02 20:33:06 +08:00
tangjinzhou 9252b652c9 feat: calendar add da_DK he_IL hu_HU id_ID 2019-01-02 20:23:28 +08:00
tangjinzhou 5cd17e0388 feat: update ts 2019-01-02 20:22:45 +08:00
tangjinzhou 3534e7d1d3 fix: drawer style to wrapStyle 2019-01-02 20:22:19 +08:00
tangjinzhou 9ecc5e1855 feat: checkbox group support custom label 2019-01-02 20:21:01 +08:00
tangjinzhou e13f4c566e fix: DatePicker
Fixed the issue where the component lost focus after selecting the date.
Fixed the issue that cause Safari to unresponsive.
Fixed the issue where WeekPicker's date selection box was not aligned with the input box.
add da_DK he_IL hu_HU id_ID
2019-01-02 20:20:02 +08:00
tangjinzhou 7422026674 fix: button
Fixed the issue that when the href property is undefined, the Button will also be rendered as a anchor.
Fixed the issue that Edge throws an error when setting the loading property.
2019-01-02 20:18:13 +08:00
tangjinzhou 7dbf5ed4d7 feat: add config-provider 2019-01-02 20:13:25 +08:00
wangxueliang ba4992b412 docs: update doc 2019-01-02 16:12:48 +08:00
tangjinzhou 05deb537f6 test: update datepicker test 2019-01-02 11:47:35 +08:00
tangjinzhou 1ba0b84cdd fix: drawer class 2019-01-02 11:04:38 +08:00
tangjinzhou f59777501f feat: update comment 2019-01-02 11:03:46 +08:00
tangjinzhou 75e5f04d1e feat: update vc-table vc-upload 2019-01-01 22:30:06 +08:00
tangjinzhou 639547953c feat: update vc-notification vc-pagination 2019-01-01 21:19:50 +08:00
tangjinzhou 0aa764df51 feat: update form ts 2019-01-01 16:44:48 +08:00
tangjinzhou 6799f17070 Merge branch 'master' into feat-1.3.0 2019-01-01 16:40:39 +08:00
tangjinzhou c4f08e49e2 Merge branch 'feat-1.3.0' of https://github.com/vueComponent/ant-design-vue into feat-1.3.0 2019-01-01 16:27:40 +08:00
tangjinzhou 754d897393 feat: update vc-drawer vc-form 2019-01-01 16:25:50 +08:00
wangxueliang 13b78b9543 docs: comment doc 2019-01-01 15:37:10 +08:00
wangxueliang 429e7f4b72 feat: add comment 2019-01-01 15:33:43 +08:00
tangjinzhou 15d42deb96 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2019-01-01 12:52:19 +08:00
tangjinzhou 11f5efcc66 fix: ts types error 2019-01-01 12:45:43 +08:00
tangjinzhou fa110de4eb fix: ts types error 2019-01-01 12:39:29 +08:00
Akshay Jat 0e499ee908 feat: typescript support (#359)
* feat: typescript support

Added typing files for better support in Typescript

* feat: typescript support

Adding declare keywords left in last commit

* feat: typescript support

Added support to add Ant Design globally (Vue.use(Antd))

* feat: typescript support

Fix wrong import file

* fix: typescript support

changed aobject[] to object[]

* feat: typescript support

Removed Library version from comments & corrected few incorrect types

* fix: typescript support

Tree : xxxKeys should support number[]

* fix: typescript support

table: updated return type for customXXX

* fix: typescript support

Fix spelling mistake (plcement => placement)
2019-01-01 12:13:51 +08:00
tangjinzhou d805107543 feat: update vc-cascaser vc-checkbox vc-collapse 2018-12-31 22:08:27 +08:00
tangjinzhou 94d2515c80 docs: update api doc 2018-12-31 21:43:57 +08:00
tangjinzhou 5ff56d033b bump 1.2.4 2018-12-29 22:08:44 +08:00
tangjinzhou 7a1a1c837a fix: select not emit popupScroll event #350 2018-12-28 13:00:18 +08:00
tangjinzhou 707e1a44ea fix: custom icon not support class #351 2018-12-28 12:15:22 +08:00
tangjinzhou 20c0cf4dc5 Merge branch 'feat-1.3.0' of https://github.com/vueComponent/ant-design-vue into feat-1.3.0 2018-12-28 10:35:45 +08:00
tangjinzhou 87ad915520 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-12-28 10:28:31 +08:00
tangjinzhou a47c6ef75b feat: add multiFormats 2018-12-27 22:14:32 +08:00
tangjinzhou 2596c9732c
Merge pull request #344 from vueComponent/feat-tree
Feat tree
2018-12-27 21:24:16 +08:00
tangjinzhou 48ebca7e6f update scripts 2018-12-26 21:23:51 +08:00
tangjinzhou 31862e1112 fix: avoid page scrolling when treeSelect is first opened 2018-12-26 20:43:13 +08:00
tangjinzhou 793a5ac97e feat: tree and treeSelect support number key #343 2018-12-26 20:41:01 +08:00
tangjinzhou 1393563c9b fix: avoid window scrolling to the top when treeSelect input first focus 2018-12-26 18:11:06 +08:00
tangjinzhou 983318b985 feat: treeSelect `treeExpandedKeys` support `.sync` modifier 2018-12-26 18:09:10 +08:00
tangjinzhou 6373ce8e92 feat: tree selectedKeys & selectedKeys support `.sync` modifier 2018-12-26 18:07:50 +08:00
tangjinzhou af361f7123 fix: tree and tree-select support number key #343 2018-12-26 16:33:24 +08:00
tangjinzhou 14b8d672c2 test: update snapshots 2018-12-25 22:23:56 +08:00
tangjinzhou 47f2ec4a67 fix: don't show transition on first rendering #338 2018-12-25 22:17:45 +08:00
tangjinzhou cd2a5d74c3
Delete PropTypes.js 2018-12-25 19:46:08 +08:00
tangjinzhou 6587ced474 bump 1.2.3 2018-12-25 12:07:05 +08:00
tangjinzhou bb549d52ab Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-12-25 12:01:39 +08:00
tangjinzhou e23265c74c
Refactor tree select (#335)
* refactor: tree-select
2018-12-25 12:00:39 +08:00
tangjinzhou e3b593b6e9 fix: remove Christmas egg 2018-12-25 11:58:32 +08:00
tangjinzhou ff7a426d55
Update issue-close-app.yml 2018-12-25 09:52:01 +08:00
tangjinzhou 0ed12c48c5 add issue-close-app config file 2018-12-24 18:30:37 +08:00
Jackyzm b965d8979c docs: update to vue-cli3 (#304) 2018-12-20 09:34:11 +08:00
tangjinzhou 68ca7b907b update issue template 2018-12-20 09:26:48 +08:00
tangjinzhou ae1f924c70 fix: support for array type `class` #322 2018-12-19 22:57:56 +08:00
tangjinzhou 6d32836fd8 bump 1.2.2 2018-12-19 22:11:39 +08:00
tangjinzhou f1e130bdc0 fix: Upload thumbnail icon broken styles 2018-12-19 21:43:09 +08:00
tangjinzhou 81e8495941 test: update snapshots 2018-12-19 21:30:49 +08:00
tangjinzhou d55d1f54d2 fix: form validateStatus icon not work #321 2018-12-19 21:26:32 +08:00
tangjinzhou 3393f0e151 fix: `Menu` flashing problem when change collapse = true and change openKeys = [] 2018-12-19 20:51:26 +08:00
tangjinzhou cffef392e5 fix: icon support native event 2018-12-19 20:48:42 +08:00
tangjinzhou d63935e506 fix: menu first expand not animation in `inline` mode 2018-12-19 12:22:55 +08:00
tangjinzhou aa1b2462cb fix: menu automatically close up to fit width in `horizontal` mode 2018-12-19 09:29:09 +08:00
tangjinzhou 6ec6e38a52 fix: datepicker render footer twice question #315 2018-12-18 21:28:21 +08:00
tangjinzhou 34d5df2fcd bump 1.2.1 2018-12-17 21:38:56 +08:00
tangjinzhou e78ca51604 docs: add 1.2.1 changelog 2018-12-17 21:18:54 +08:00
tangjinzhou 9d35d80ca0 fix: `Menu` flashing problem when scaling under `Layout` 2018-12-17 21:16:40 +08:00
tangjinzhou b905d4f588 bump 1.2.0 2018-12-16 17:03:43 +08:00
tangjinzhou 8bf2d2511e docs: update changelog 2018-12-16 15:22:07 +08:00
tangjinzhou eb355b97a6 fix: icon style not work 2018-12-16 14:22:18 +08:00
tangjinzhou daa5322898 Merge branch 'feat-3.10.3'
# Conflicts:
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
2018-12-16 13:27:42 +08:00
tangjinzhou 97b524f3c1 test: update snapshots 2018-12-15 22:16:54 +08:00
tangjinzhou 63122f5ed4 feat: update slider to 8.6.4 2018-12-15 22:11:21 +08:00
tangjinzhou c36f435769 feat: update collapse 2018-12-15 21:51:17 +08:00
tangjinzhou e1cd139e8b docs: update demo 2018-12-15 21:50:43 +08:00
wangxueliang fb3df9e9d0 fix: radio demo 2018-12-15 16:54:26 +08:00
wangxueliang 2a64547d26 fix: vc-steps icon 2018-12-15 16:06:00 +08:00
wangxueliang 20a6973178 fix: menu demo 2018-12-15 15:47:44 +08:00
wangxueliang 6fa835161f feat: update dropdown 2018-12-15 15:22:33 +08:00
wangxueliang 7fc512406e feat: update dingding group 2018-12-15 11:57:45 +08:00
wangxueliang 96ce207484 feat: add dingding 2018-12-15 11:44:33 +08:00
tangjinzhou d4c388f564 feat: update vc-tabs to 9.5.7 2018-12-14 23:31:02 +08:00
tangjinzhou c8ae767594 docs: add sponsor and faq 2018-12-14 21:35:19 +08:00
tangjinzhou 24549cfbbb style: lint 2018-12-14 09:56:40 +08:00
tangjinzhou 31581dcc95 test: uptate snapshots 2018-12-14 09:30:00 +08:00
tangjinzhou 326d5b9d12 test: update snapshots 2018-12-14 09:22:58 +08:00
tangjinzhou 56de87724d test: update snapshots 2018-12-13 23:02:06 +08:00
tangjinzhou 42510d6efc docs: add changelog 2018-12-13 22:47:23 +08:00
tangjinzhou 0d3821910f feat: update to 3.10.9 2018-12-13 21:26:21 +08:00
tangjinzhou 6b55bf4289 docs: update changelog 2018-12-13 18:30:06 +08:00
tangjinzhou ea5b60dace test: update snapshots 2018-12-13 10:08:44 +08:00
tangjinzhou 0c0ddf3e17 Merge branch 'master' into feat-3.10.3
# Conflicts:
#	components/menu/__tests__/__snapshots__/demo.test.js.snap
2018-12-13 10:06:41 +08:00
tangjinzhou 7747a3f149 docs: update menu demo 2018-12-13 09:40:41 +08:00
tangjinzhou d0612fdfb9 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-12-13 09:24:27 +08:00
tangjinzhou 458cffb13f docs: update menu template demo 2018-12-13 09:24:07 +08:00
tangjinzhou aba16db339 feat: update css-animation 2018-12-12 22:09:30 +08:00
tangjinzhou 34876b5b61 fix 2018-12-12 21:42:22 +08:00
tangjinzhou 592d2b3c29
Delete tabBar.jsx 2018-12-12 21:32:56 +08:00
tangjinzhou 6f71252753 test: update snapshots 2018-12-12 21:31:18 +08:00
tangjinzhou 51ce40cc5e Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design-vue into feat-3.10.3 2018-12-12 21:25:56 +08:00
tangjinzhou ca81ab3a46 feat: update tree-select 2018-12-12 21:24:12 +08:00
wangxueliang 444c2ecba9 test: update snapshots 2018-12-12 20:48:20 +08:00
wangxueliang 9e370e2226 fix: vc-tabs vertical actived 2018-12-12 20:01:26 +08:00
tangjinzhou 0a1c680996 feat: update table 2018-12-12 10:15:00 +08:00
tangjinzhou 091c8d5976 docs: update form doc 2018-12-11 22:26:03 +08:00
tangjinzhou e464fa5f9f Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design into feat-3.10.3 2018-12-11 20:59:32 +08:00
tangjinzhou 4bc2c5ccd2 feat: update table 2018-12-11 20:59:23 +08:00
wangxueliang 2fb1de4e29 feat: update tabs 2018-12-11 20:53:56 +08:00
tangjinzhou f38a45ff2c feat: update tree 2018-12-11 20:33:37 +08:00
tangjinzhou 4e0d5ce4b7 feat: update select 2018-12-11 11:40:27 +08:00
tangjinzhou 0eafff36d8 update switch 2018-12-10 22:51:42 +08:00
tangjinzhou e7319f3987 feat: update rate 2018-12-10 22:38:49 +08:00
tangjinzhou 1d72ddf6bc feat: update progress & radio 2018-12-10 22:25:16 +08:00
tangjinzhou 0bb79c27a6 feat: update popconfirm and tooltip 2018-12-10 21:44:14 +08:00
tangjinzhou 23fd134f90 feat: update pagination 2018-12-10 21:06:42 +08:00
wangxueliang d43c7e098d test: update snapshots 2018-12-10 13:42:19 +08:00
三点包子 296720c4e4
Merge pull request #296 from wangxueliang/master
feat: add skeleton
2018-12-10 12:21:57 +08:00
wangxueliang 1859364a8a feat: add skeleton 2018-12-10 11:34:51 +08:00
tangjinzhou 1e80e6c83f feat: update menu 2018-12-09 20:04:00 +08:00
tangjinzhou da2011e86b update style to 3.10.9 2018-12-09 19:30:35 +08:00
tangjinzhou 01fab00cac feat: update message 2018-12-09 18:37:41 +08:00
tangjinzhou 4608fa546c feat: update notification 2018-12-09 18:08:47 +08:00
tangjinzhou f692f191f6 feat: update time-picker modal locale-provider 2018-12-09 17:34:27 +08:00
tangjinzhou ca249252b7 feat: update time-picker 2018-12-09 12:50:26 +08:00
tangjinzhou e2cc5eb252 feat: locale-provider 2018-12-09 12:07:12 +08:00
tangjinzhou dfa632ef1c docs: update list 2018-12-09 12:01:27 +08:00
tangjinzhou 0b17ebbb19 feat: update layout 2018-12-09 11:53:32 +08:00
tangjinzhou cb0a927273 feat: update input-number 2018-12-09 11:49:18 +08:00
tangjinzhou 71300d0c00 feat: update input 2018-12-09 11:43:27 +08:00
tangjinzhou 6d2c5950f9 feat: update grid 2018-12-09 10:58:50 +08:00
tangjinzhou c37f1c9f5c feat: update form 2018-12-08 19:24:30 +08:00
tangjinzhou 6d05993377 test: update snapshots 2018-12-08 19:07:40 +08:00
tangjinzhou 3ca22aa070 feat: update drawer 2018-12-08 19:07:04 +08:00
tangjinzhou 3fb4067d1a feat: update date-picker 2018-12-08 16:47:05 +08:00
tangjinzhou d98abf4b11 test: update snapshots 2018-12-08 12:05:42 +08:00
tangjinzhou dae7de95db test: update spin slider transfer demo and test 2018-12-08 12:05:10 +08:00
tangjinzhou 7aa46bbdf8 Merge branch 'master' into feat-3.10.3
# Conflicts:
#	components/form/__tests__/__snapshots__/demo.test.js.snap
#	components/timeline/__tests__/__snapshots__/demo.test.js.snap
2018-12-08 09:35:55 +08:00
tangjinzhou a04bdc6acf fix: timeline mode defaultvalue type error 2018-12-07 21:59:26 +08:00
undefined 3465b28a72 bump 1.1.10 2018-12-07 21:28:45 +08:00
tangjinzhou f4f5fef450
1.1.10 (#291)
* feat: update form

* docs: update form demo

* fix: update vue-ref to 1.0.3 & update form demo

* feat: update form demo

* feat: update form demo

* docs: add 1.1.10 changelog
2018-12-07 21:27:47 +08:00
wangxueliang 86bbeff161 feat: upadate transfer 2018-12-05 20:00:13 +08:00
wangxueliang 44d55b329d feat: update upload 2018-12-05 18:31:58 +08:00
tangjinzhou 65311fb0fb
fix: tree expandedKeys push #239 (#287) 2018-12-05 14:57:45 +08:00
tangjinzhou 8e37cd89f9 fix: timeline style error and add `reverse` `mode` 2018-12-05 12:32:46 +08:00
tangjinzhou e51a6e9691 Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design into feat-3.10.3 2018-12-04 09:45:10 +08:00
wangxueliang 69a9649e92 fix: treeDefaultExpandedKeys问题 #284 2018-12-03 10:47:40 +08:00
tangjinzhou 380331df80 feat: update checkbox divider dropdown 2018-11-30 22:58:46 +08:00
tangjinzhou 6b5c0a404b fix: update spin steps 2018-11-30 19:58:45 +08:00
wangxueliang ac7cf55bcf feat: update switch 2018-11-30 13:18:59 +08:00
wangxueliang 918cde803f feat: update spin 2018-11-30 11:56:41 +08:00
wangxueliang 3d41b55ba3 feat: update steps 2018-11-30 10:50:26 +08:00
wangxueliang e8743ec48d fix: update vc-slider 2018-11-30 09:30:43 +08:00
tangjinzhou 752c82df21 feat: update cascader 2018-11-29 22:20:17 +08:00
wangxueliang 1d340a9154 docs: add vc-slick base version 2018-11-29 16:58:40 +08:00
wangxueliang b5a63e6ddf rge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design into feat-3.10.3 2018-11-29 16:42:43 +08:00
wangxueliang 8e533e6b8e fix: vc-slider Range 2018-11-29 16:41:11 +08:00
tangjinzhou b3a050a35d docs: add hm script 2018-11-29 09:20:17 +08:00
tangjinzhou b36c663274 fix: steps labelPlacement not work #281 2018-11-29 09:01:53 +08:00
tangjinzhou 9f3cefcbfb docs: update docs 2018-11-29 08:52:27 +08:00
tangjinzhou 5331d2ca9a docs: update doc 2018-11-28 22:34:33 +08:00
tangjinzhou 0ce9d646a7 feat: update back-top badge breadcrumb button calendar card carousel cascader collapse 2018-11-28 21:58:42 +08:00
wangxueliang e825830079 feat: update vc-slider to 8.6.3 2018-11-28 18:28:58 +08:00
tangjinzhou 6e5e8a972e feat: update anchor auto-complete avatar 2018-11-28 10:35:37 +08:00
tangjinzhou 9fed6f99c2 test: update icon snapshots 2018-11-27 22:30:30 +08:00
tangjinzhou 8c91e3696e feat: update icon 2018-11-27 18:25:38 +08:00
tangjinzhou 2ff52a4e11 Merge branch 'master' into feat-3.10.3 2018-11-27 09:27:11 +08:00
tangjinzhou bc4990833a bump 1.1.9 2018-11-26 22:36:36 +08:00
tangjinzhou 0c9e4df4fc chore: use vue-ref 2018-11-26 21:49:05 +08:00
tangjinzhou c41cf5b4d7 fix: tree-select getPopupContainer doesn't work #265 2018-11-26 21:14:40 +08:00
tangjinzhou c0d2233f2b chore: update babel-plugin-add-module-exports to 1.0.0 fix require(...).default #271 2018-11-22 10:49:16 +08:00
許吖多 c478ec949e Update components.js (#263) 2018-11-20 17:41:28 +08:00
Ulysse Buonomo 4bb9e75875 Change vue cli 3 way of doing things (#264) 2018-11-20 17:40:44 +08:00
tangjinzhou 6da26a9bc4 feat: update icon 2018-11-17 15:57:38 +08:00
wangxueliang 1542d118e4 test: update Snapshots 2018-11-16 11:35:58 +08:00
wangxueliang ba26eff2c9 fix: update remove property of upload #259 2018-11-16 10:32:11 +08:00
tangjinzhou 02a0012dcb feat: update alert 2018-11-15 22:27:31 +08:00
tangjinzhou 6de4c38a5f update wave 2018-11-14 21:54:13 +08:00
tangjinzhou 519c744ec7 Merge branch 'master' into feat-3.10.3 2018-11-14 21:39:06 +08:00
tangjinzhou 116e58bcf4 feat: update 3.10.7 style 2018-11-14 21:35:02 +08:00
tangjinzhou d59d6ee5ad feat: update 3.10.7 style 2018-11-14 21:33:56 +08:00
wangxueliang d2c037a7a3 feat: 代码规范修改 2018-11-14 20:43:20 +08:00
tangjinzhou 1dbb9c1490 bump 1.1.8 2018-11-11 19:05:38 +08:00
tangjinzhou fc4ea7e118 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-11-10 22:59:29 +08:00
tangjinzhou 34c880f8d0 feat: tooltip add align #252 2018-11-10 22:35:03 +08:00
tangjinzhou e450e9272f feat: progress status add `normal` type #254 2018-11-10 22:27:12 +08:00
tangjinzhou 51ac45a537 fix: Cascader getPopupContainer not work #257 2018-11-10 22:17:09 +08:00
tangjinzhou cfc7e15fdf feat: update vc-tabs to 9.4.8 and vc-time-picker to 3.4.0 2018-11-10 22:03:00 +08:00
tangjinzhou 8f1ea64c35 feat: update vc-table to 6.4.0 2018-11-09 18:57:25 +08:00
wangxueliang 3ed9fc811d Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design into feat-3.10.3 2018-11-09 17:52:58 +08:00
wangxueliang 4f48dccb01 feat: update steps 2018-11-09 17:51:56 +08:00
tangjinzhou 7d2e9969ea Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design into feat-3.10.3 2018-11-09 14:23:31 +08:00
tangjinzhou 56b06b71e1 feat: update vc-select to 8.4.4 2018-11-09 14:23:19 +08:00
wangxueliang ad47206792 Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design into feat-3.10.3 2018-11-08 20:48:16 +08:00
wangxueliang 4badf03a2f test: update test 2018-11-08 20:47:21 +08:00
tangjinzhou 9ed79212e0 feat: update vc-notification & vc-pagination & vc-progress & vc-rate & vc-tree 2018-11-08 19:59:09 +08:00
tangjinzhou 1976e1254e test: update snapshots 2018-11-06 11:59:20 +08:00
tangjinzhou 4d206886c5 feat: update vc-menu 2018-11-06 11:59:01 +08:00
tangjinzhou 4d86a61e4d feat: update vc-menu 2018-11-06 10:05:23 +08:00
tangjinzhou 2cce6a5f55 feat: update vc-menu to 7.4.19 2018-11-05 21:03:25 +08:00
tangjinzhou 2bf65a4828 feat: update m-feedback to 2.0.0 2018-11-02 21:45:11 +08:00
tangjinzhou bbff1e56b5 feat: update input-number to 4.3.1 2018-11-02 21:23:29 +08:00
tangjinzhou 6ab4c3db68 feat: update vc-tooltip to 3.7.3 2018-11-02 21:04:23 +08:00
tangjinzhou 8d51e59112 feat: update vc-trigger to 2.6.2 2018-11-02 21:00:17 +08:00
tangjinzhou ca48b2f905 refactor: rename align to vc-align and trigger to vc-trigger 2018-11-02 20:39:54 +08:00
tangjinzhou 0c788b084c t Merge branch 'feat-3.10.3' of https://github.com/vueComponent/ant-design-vue into feat-3.10.3 2018-10-31 21:39:43 +08:00
tangjinzhou 66fca3829f feat: update form to 2.2.6 2018-10-31 21:39:12 +08:00
wangxueliang 1370d4b7e9 feat: update switch to 1.8.0 2018-10-31 19:28:53 +08:00
wangxueliang ef31389965 feat: update upload to 2.6.0 2018-10-31 19:06:21 +08:00
tangjinzhou 2b3d0a72d9 test: update snapshots 2018-10-30 21:19:31 +08:00
tangjinzhou b755860ebc feat: update dropdown to 2.2.1 2018-10-30 21:10:00 +08:00
wangxueliang 83d18c1ac8 fix: round progress support strokeColor #238 2018-10-30 15:10:16 +08:00
tangjinzhou 26186d7aad feat: update dialog from 7.1.8 to 7.2.1 2018-10-29 20:49:38 +08:00
tangjinzhou be5be9b775 feat: update cascader from 0.14.0 to 0.16.0 2018-10-29 20:48:58 +08:00
tangjinzhou f24d5efb2b feat: update calendar from 9.6.2 to 9.7.9 2018-10-29 20:48:23 +08:00
tangjinzhou 75ca6435aa bump 1.1.7 2018-10-27 17:36:03 +08:00
tangjinzhou d0dda4838e docs: add 1.1.7 changelog 2018-10-27 17:33:32 +08:00
tangjinzhou 9481958119 docs: add single file recursive menu demo 2018-10-24 19:20:14 +08:00
tangjinzhou 4b24c13544 fix: table ssr has invaild style #231 2018-10-24 16:34:12 +08:00
tangjinzhou 90d33b019b fix: slider position error when zoom is not 1 #227 2018-10-24 15:55:40 +08:00
tangjinzhou 46b71b2e0a fix: radioGroup not take effect when value is the number 0 #226 2018-10-24 12:51:46 +08:00
tangjinzhou 1ab2e106bf fix: tabs scrollToActiveTab no work when add tab #215 2018-10-23 14:45:05 +08:00
tangjinzhou 9f70380bd8 fix: table pagination trigger multiple change events when `showSizeChanger=true` #228 2018-10-23 12:49:40 +08:00
tangjinzhou 9638e018b3 fix: tree custom icon auguments error #223 2018-10-22 21:24:38 +08:00
jeffjing 3c59eb995f docs: Update checkbox doc (#225)
* Update index.en-US.md

* Update index.zh-CN.md
2018-10-22 20:04:57 +08:00
tangjinzhou 7082d6f805 fix: Cascader item key type error #219 2018-10-12 19:22:01 +08:00
tangjinzhou 0db7b0a4fd bump 1.1.6 2018-10-10 15:12:59 +08:00
tangjinzhou 164d74768a test: update snapshots 2018-10-10 15:01:36 +08:00
tangjinzhou de8cee6caf bump 1.1.5 2018-10-10 14:26:30 +08:00
tangjinzhou 952dc99399 docs: add 1.1.5 changelog 2018-10-10 14:21:23 +08:00
tangjinzhou 0983a0f83f fix: select onKeyDown error #217 2018-10-10 14:09:13 +08:00
tangjinzhou 4ebcc99055 fix: drawer children update issue #209 2018-10-10 13:43:10 +08:00
tangjinzhou 328cdc853d bump 1.1.4 2018-09-29 15:26:05 +08:00
tangjinzhou 097064a65d docs: add 1.1.4 changelog 2018-09-29 15:24:47 +08:00
tangjinzhou d50fad7f6d feat: update table 2018-09-29 15:08:24 +08:00
tangjinzhou 213706c185 fix: connect do not update issue, close #202 2018-09-29 15:07:37 +08:00
tangjinzhou f597b7ece3 fix: tabs tabBarGutter no work, close #205 2018-09-28 21:43:21 +08:00
tangjinzhou 6c3e3d3c3d docs: update tree doc 2018-09-28 21:31:58 +08:00
tangjinzhou c7ab23c4ce feat: update tree 2018-09-28 14:35:26 +08:00
tangjinzhou 90960e026f fix: update load 2018-09-27 21:44:44 +08:00
tangjinzhou 3dc6b0745c feat: update tree and vc-tree 2018-09-26 22:57:01 +08:00
tangjinzhou 2fb6667593 docs: add SeedAndDew 2018-09-24 15:37:36 +08:00
tangjinzhou b7b362210a bump 1.1.3 2018-09-22 21:36:47 +08:00
tangjinzhou 5829a477d3 docs: add baidu hm 2018-09-22 21:36:07 +08:00
tangjinzhou f13046b61b docs: add 1.1.3 changelog 2018-09-22 21:29:00 +08:00
tangjinzhou c2a5c8fe8c docs: update docs 2018-09-22 21:28:36 +08:00
tangjinzhou 9b7e441e2c docs: add backers info 2018-09-21 22:13:04 +08:00
tangjinzhou 944d0dad4f test: update snapshot 2018-09-21 22:12:11 +08:00
tangjinzhou a9f31fc477 fix: menu trigger inlineCollapsed not have animation #200 2018-09-21 21:46:42 +08:00
tangjinzhou b604fd5c0a fix: layout sider trigger width error, close #201 2018-09-21 20:56:25 +08:00
tangjinzhou 9fd97fccfa docs: update notification demo 2018-09-21 10:00:52 +08:00
tangjinzhou 1ce29343b4 fix: select trigger error 2018-09-21 10:00:13 +08:00
tangjinzhou 1910f4bea1 fix: steps dot style, close #199 2018-09-21 09:23:41 +08:00
tangjinzhou a6620cbbe5
feat: add component Vue.use method (#197)
* feat: add Vue.use feat

* feat: Vue.use method

* docs: update docs
2018-09-19 13:21:57 +08:00
tangjinzhou 2ed0d62fcf fix: select option value support number 0 2018-09-19 13:14:46 +08:00
tangjinzhou c4c75bab0f docs: update customize theme docs 2018-09-18 10:31:35 +08:00
tangjinzhou 27357d5fed docs: update customize theme docs 2018-09-18 10:18:52 +08:00
tangjinzhou 895d741760 bump 1.1.2 2018-09-17 21:31:04 +08:00
tangjinzhou fc400a9405 docs: add 1.1.2 changelog 2018-09-17 21:30:37 +08:00
tangjinzhou 459b1677c0 revert: tabs style 2018-09-17 21:30:08 +08:00
tangjinzhou 9be0909031 fix: cascader active item not expand 2018-09-17 21:17:44 +08:00
tangjinzhou df5db65397 update wave & tag & tag snapshots 2018-09-17 13:17:13 +08:00
tangjinzhou 12918ae619 feat: update antd3.8.4 2018-09-16 21:36:22 +08:00
tangjinzhou 702fbc8119 docs: update vue cli to vue cli 3 2018-09-14 10:04:08 +08:00
tangjinzhou 48a8867448 bump 1.1.1 2018-09-13 22:11:12 +08:00
tangjinzhou 5a74043551 docs: add 1.1.1 changelog 2018-09-13 22:10:35 +08:00
undefined 2a26caab83 fix: slider marks support function #171 2018-09-13 22:00:32 +08:00
undefined 647214c513 fix: modal confirm centered not work 2018-09-13 21:28:02 +08:00
undefined 3a6e2f9b2a fix: add tabs listeners #189 2018-09-13 21:23:13 +08:00
tangjinzhou bf161d4035 test: update snapshots 2018-09-13 14:02:18 +08:00
tangjinzhou 3bebbb2aab fix: dropdown position incorrect caused by window size change #184 2018-09-13 12:19:03 +08:00
tangjinzhou d9690435c7 docs: update changelog 2018-09-12 09:33:58 +08:00
Sy f42d1ea3ff Update docs for supporting vue cli 3 (#176)
* update: vue-cli-3

* chore: update vue-cli-3 for use-with-vue-cli
2018-09-11 21:39:00 +08:00
zeratul1 8a45202d91 add 'danger' type to dropdown-button (#179) 2018-09-11 21:38:22 +08:00
tangjinzhou 79f4cafeba Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-09-11 21:30:39 +08:00
tangjinzhou 4115f3fe75 bump 1.1.0 2018-09-11 21:30:24 +08:00
tangjinzhou ef37ffa6c0 docs: add 1.1.0 changelog 2018-09-11 21:30:07 +08:00
tangjinzhou 4df8e3743f fix: dialog call `mounted` multiple times #152 2018-09-11 12:23:44 +08:00
wangxueliang 85a9aca492 fix: the spin component loads for the first time #174 2018-09-11 09:14:57 +08:00
João Ferreira 9d3c448279 Fix typo on form's index.en-US.md (#165) 2018-09-07 07:47:22 +08:00
tangjinzhou 7c1d009c93 docs: update readme 2018-09-06 20:15:36 +08:00
tangjinzhou 4c84051b02 docs: add sponsors info 2018-09-06 20:11:10 +08:00
tangjinzhou 8ca22e0d20 docs: update docs 2018-09-05 22:43:26 +08:00
tangjinzhou 839a7f640c Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-09-05 22:16:07 +08:00
undefined 054a8ceb6f test: update snapshots 2018-09-05 21:58:32 +08:00
tangjinzhou 65262cb835 test: update snapshots 2018-09-05 21:58:32 +08:00
tangjinzhou ff25efe185
update to antd3.8.3 (#159)
* refactor: align

* feat:  update align to 2.4.3

* feat: update trigger 2.5.4

* feat: update tooltip 3.7.2

* fix: align

* feat: update vc-calendar to 9.6.2

* feat: update vc-checkbox to 2.1.5

* feat: update vc-dialog to 7.1.8

* feat: update vc-from to 2.2.1

* feat: update vc-notification to 3.1.1

* test: update snapshots

* feat: update vc-tree to 1.12.6

* feat: update vc-table to 6.2.8

* feat: update vc-upload to 2.5.1

* feat: update vc-input-number to 4.0.12

* feat: update vc-tabs to 9.2.6

* refactor: vc-menu

* refactor: update vc-menu to 7.0.5

* style: remove unused

* feat: update pagination to 1.16.5

* feat: add vc-progress 2.2.5 tag

* feat: add vc-rate 2.4.0 tag

* feat: update vc-slider to 8.6.1

* fix: tooltip error

* style: delete conosle

* feat: update vc-steps to 3.1.1

* add vc-switch tag 1.6.0

* feat: update upload to 2.5.1

* fix: update vc-menu

* fix: update store

* fix: add ref dir

* fix: trigger mock shouldComponentUpdate

* fix: update vc-select

* revert: trigger lazyrenderbox

* fix: update vc-select

* fix: update vc-select

* fix: update vc-select

* fix: update vc-menu

* fix: update vc-slick ref

* update style to 3.8.2

* test: update snapshots

* update vc-select

* update util & affix

* feat: add drawer

* fix: support title add slot mode

* test: update affix test

* update alert

* update anchor

* update snapshots

* fix: doc and vc-drawer

* update select & auto-complete

* update back-top & grid

* feractor: avatar

* test: add drawer test

* update badge

* update button

* update card

* update divider

* feat: update vc-tabs to 9.3.6 and tabs

* add afterEnter callback

* update form

* fix: update drawer

* test: update snapshots

* update modal & notification

* test: update snapshots

* update message

* update locale-provider

* update dropdown

* update layout popconfirm popover

* update time-picker

* update menu

* update date-picker

* docs: update input docs

* update input

* update snapshots

* update table

* update test snapshots

* feat: update progress

* update checkbox

* feat: update spin

* update radio

* docs: slider steps timeline

* update list

* update transfer

* update collapse

* update cascader

* update upload
2018-09-05 21:28:54 +08:00
tangjinzhou 5b55bac064 update to antd3.8.3 (#159)
* refactor: align

* feat:  update align to 2.4.3

* feat: update trigger 2.5.4

* feat: update tooltip 3.7.2

* fix: align

* feat: update vc-calendar to 9.6.2

* feat: update vc-checkbox to 2.1.5

* feat: update vc-dialog to 7.1.8

* feat: update vc-from to 2.2.1

* feat: update vc-notification to 3.1.1

* test: update snapshots

* feat: update vc-tree to 1.12.6

* feat: update vc-table to 6.2.8

* feat: update vc-upload to 2.5.1

* feat: update vc-input-number to 4.0.12

* feat: update vc-tabs to 9.2.6

* refactor: vc-menu

* refactor: update vc-menu to 7.0.5

* style: remove unused

* feat: update pagination to 1.16.5

* feat: add vc-progress 2.2.5 tag

* feat: add vc-rate 2.4.0 tag

* feat: update vc-slider to 8.6.1

* fix: tooltip error

* style: delete conosle

* feat: update vc-steps to 3.1.1

* add vc-switch tag 1.6.0

* feat: update upload to 2.5.1

* fix: update vc-menu

* fix: update store

* fix: add ref dir

* fix: trigger mock shouldComponentUpdate

* fix: update vc-select

* revert: trigger lazyrenderbox

* fix: update vc-select

* fix: update vc-select

* fix: update vc-select

* fix: update vc-menu

* fix: update vc-slick ref

* update style to 3.8.2

* test: update snapshots

* update vc-select

* update util & affix

* feat: add drawer

* fix: support title add slot mode

* test: update affix test

* update alert

* update anchor

* update snapshots

* fix: doc and vc-drawer

* update select & auto-complete

* update back-top & grid

* feractor: avatar

* test: add drawer test

* update badge

* update button

* update card

* update divider

* feat: update vc-tabs to 9.3.6 and tabs

* add afterEnter callback

* update form

* fix: update drawer

* test: update snapshots

* update modal & notification

* test: update snapshots

* update message

* update locale-provider

* update dropdown

* update layout popconfirm popover

* update time-picker

* update menu

* update date-picker

* docs: update input docs

* update input

* update snapshots

* update table

* update test snapshots

* feat: update progress

* update checkbox

* feat: update spin

* update radio

* docs: slider steps timeline

* update list

* update transfer

* update collapse

* update cascader

* update upload
2018-09-05 21:28:54 +08:00
tangjinzhou 5fe053d222 fix: Nesting tabs of different sizes, the style does not take effect #144 2018-08-29 09:39:36 +08:00
tangjinzhou 0b31163a6a fix: Nesting tabs of different sizes, the style does not take effect #144 2018-08-29 09:39:36 +08:00
tangjinzhou b7366928f7 test: update snapshots 2018-08-24 10:16:04 +08:00
tangjinzhou f157298323 test: update snapshots 2018-08-24 10:16:04 +08:00
Alrik Olson 1f856f8c24 Add documentation for "rowKey" property of List component (#139) 2018-08-24 09:56:44 +08:00
Alrik Olson 16b2ca3c75 Add documentation for "rowKey" property of List component (#139) 2018-08-24 09:56:44 +08:00
tangjinzhou 757d09ded6 docs: udpate site 2018-08-19 15:57:58 +08:00
tangjinzhou 15c1490287 docs: udpate site 2018-08-19 15:57:58 +08:00
tangjinzhou a07f50c31a fix: tree-select searchPlaceholder incorrect #125 2018-08-19 13:21:56 +08:00
tangjinzhou 5c2522615d fix: tree-select searchPlaceholder incorrect #125 2018-08-19 13:21:56 +08:00
tangjinzhou 6cd609c7d8
Add blanks 2018-08-13 22:20:01 +08:00
tangjinzhou c0796f3cca Add blanks 2018-08-13 22:20:01 +08:00
偏右 6517560ef9
Add blanks 2018-08-13 21:10:20 +08:00
偏右 48c1456f4f Add blanks 2018-08-13 21:10:20 +08:00
tangjinzhou 579295b108 bump 1.0.3 2018-08-11 12:52:30 +08:00
tangjinzhou 1ddf5a44ca bump 1.0.3 2018-08-11 12:52:30 +08:00
tangjinzhou 19cb9aa6fc docs: add 1.0.3 changelog 2018-08-11 12:40:53 +08:00
tangjinzhou bd058a3613 docs: add 1.0.3 changelog 2018-08-11 12:40:53 +08:00
tangjinzhou 1ca0bcc81c docs: update site #117 2018-08-11 10:54:00 +08:00
tangjinzhou d3db0558c1 docs: update site #117 2018-08-11 10:54:00 +08:00
tangjinzhou 6f055ead6c docs: optimize site #118 2018-08-10 14:52:58 +08:00
tangjinzhou c9431d12bf docs: optimize site #118 2018-08-10 14:52:58 +08:00
tangjinzhou 59c8e11e11 docs: optimize site #117 2018-08-10 14:52:26 +08:00
tangjinzhou 2b821d1586 docs: optimize site #117 2018-08-10 14:52:26 +08:00
tangjinzhou ff35898774 fix: remove form checkbox-group defaultValue warning#110 2018-08-09 09:41:54 +08:00
tangjinzhou 237cb55f12 fix: remove form checkbox-group defaultValue warning#110 2018-08-09 09:41:54 +08:00
tangjinzhou b908088d1f fix: add avatar support event listeners #102 2018-08-08 10:18:37 +08:00
tangjinzhou 02860a1d24 fix: add avatar support event listeners #102 2018-08-08 10:18:37 +08:00
tangjinzhou 4af03c4ab9 fix: grid.row gutter proptype error 2018-08-08 10:13:28 +08:00
tangjinzhou 0deb58a2dc fix: grid.row gutter proptype error 2018-08-08 10:13:28 +08:00
tangjinzhou 65a4eb5a25 fix: unnecessary input event on input tag placeholder in IE #92 2018-08-08 10:04:46 +08:00
tangjinzhou 95c9d6403f fix: unnecessary input event on input tag placeholder in IE #92 2018-08-08 10:04:46 +08:00
tangjinzhou e6054ff4e8 fix: badge offset x y axis order error and support number type #99 2018-08-08 09:44:00 +08:00
tangjinzhou 4021693893 fix: badge offset x y axis order error and support number type #99 2018-08-08 09:44:00 +08:00
tangjinzhou becdaf289e fix: Avoid children not updating #106 2018-08-08 09:38:32 +08:00
tangjinzhou f31043a3b3 fix: Avoid children not updating #106 2018-08-08 09:38:32 +08:00
tangjinzhou 20590c834c docs: update mobile site 2018-08-05 23:19:36 +08:00
tangjinzhou 7dcf1b8c12 docs: update mobile site 2018-08-05 23:19:36 +08:00
tangjinzhou 6e31e46290 docs: update site #101 2018-08-05 22:25:51 +08:00
tangjinzhou 49e2e5f51f docs: update site #101 2018-08-05 22:25:51 +08:00
tangjinzhou 84466afe93 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-08-05 12:30:14 +08:00
tangjinzhou d298225e19 Merge branch 'master' of https://github.com/vueComponent/ant-design-vue 2018-08-05 12:30:14 +08:00
tangjinzhou 3d0259dc95 docs: update link error 2018-08-05 12:30:04 +08:00
tangjinzhou 3c63fa7da4 docs: update link error 2018-08-05 12:30:04 +08:00
tangjinzhou 69cfd41761 docs: update logo 2018-08-05 11:51:39 +08:00
tangjinzhou f41d628f39 docs: update logo 2018-08-05 11:51:39 +08:00
tangjinzhou 50b0241d6a docs: update logo 2018-08-05 10:25:49 +08:00
tangjinzhou 252d46e070 docs: update logo 2018-08-05 10:25:49 +08:00
undefined 8227faed3e docs: update header title 2018-08-04 20:20:21 +08:00
tangjinzhou d081a54118 docs: update header title 2018-08-04 20:20:21 +08:00
tangjinzhou 9348400663 bump 1.0.2 2018-08-04 18:29:00 +08:00
tangjinzhou 729098412d bump 1.0.2 2018-08-04 18:29:00 +08:00
tangjinzhou e4c01d870a docs: add 1.0.2 changelog 2018-08-04 18:24:31 +08:00
tangjinzhou 3ab4e539bd docs: add 1.0.2 changelog 2018-08-04 18:24:31 +08:00
tangjinzhou 746fc9a792 chore: rename vue-antd-ui to ant-design-vue 2018-08-04 17:52:11 +08:00
tangjinzhou 2beed39569 chore: rename vue-antd-ui to ant-design-vue 2018-08-04 17:52:11 +08:00
tangjinzhou 81b36bddc4 docs: update docs 2018-08-03 21:50:39 +08:00
tangjinzhou 20648c892c docs: update docs 2018-08-03 21:50:39 +08:00
tangjinzhou 8449c71e12 test: update snapshots 2018-07-29 21:31:15 +08:00
tangjinzhou 3b1cf275a1 test: update snapshots 2018-07-29 21:31:15 +08:00
tangjinzhou da1b924cba fix: select label not update 2018-07-29 19:47:48 +08:00
tangjinzhou a8ca321823 fix: select label not update 2018-07-29 19:47:48 +08:00
tangjinzhou b48bbac695 chore: update classname 2018-07-29 19:33:41 +08:00
tangjinzhou e4b4aba25e chore: update classname 2018-07-29 19:33:41 +08:00
tangjinzhou e8cbe7d1df fix: update export props #87 2018-07-29 19:33:02 +08:00
tangjinzhou a3f61ef00a fix: update export props #87 2018-07-29 19:33:02 +08:00
tangjinzhou a8a5f854c3 docs: support ie9 2018-07-28 13:43:23 +08:00
tangjinzhou bf5a893551 docs: support ie9 2018-07-28 13:43:23 +08:00
tangjinzhou 4a4396033d update tag script 2018-07-27 21:42:45 +08:00
tangjinzhou 25b9e67f04 update tag script 2018-07-27 21:42:45 +08:00
tjz ad2ee7d175 bump 1.0.1 2018-07-27 21:05:51 +08:00
tjz 10c807ffc0 bump 1.0.1 2018-07-27 21:05:51 +08:00
tjz 328ed632de docs: add 1.0.1 cahngelog & update menu doc 2018-07-27 20:59:59 +08:00
tjz 366ded6a90 docs: add 1.0.1 cahngelog & update menu doc 2018-07-27 20:59:59 +08:00
tjz 02ab242197 fix: dataPicker dropdownClassName not wroking 2018-07-27 20:37:02 +08:00
tjz c71be7990e fix: dataPicker dropdownClassName not wroking 2018-07-27 20:37:02 +08:00
三点包子 8560f0eb48
Merge pull request #84 from wangxueliang/master
fix: support card description and title slot
2018-07-27 18:35:40 +08:00
三点包子 94b507b6da Merge pull request #84 from wangxueliang/master
fix: support card description and title slot
2018-07-27 18:35:40 +08:00
tangjinzhou 5a96e78c22 test: update jest config 2018-07-27 18:31:34 +08:00
tangjinzhou b6da432f39 test: update jest config 2018-07-27 18:31:34 +08:00
wangxueliang 84a9d1d5c2 fix: support card description and title slot 2018-07-27 15:30:24 +08:00
wangxueliang b7396dc602 fix: support card description and title slot 2018-07-27 15:30:24 +08:00
tangjinzhou 34f162b513 fix: calendar change event call twice #82 2018-07-27 10:12:56 +08:00
tangjinzhou ac9259251d fix: calendar change event call twice #82 2018-07-27 10:12:56 +08:00
tangjinzhou 4a51544bd6 feat: optimize Chinese input(just support v-model) 2018-07-27 09:18:31 +08:00
tangjinzhou aa074df796 feat: optimize Chinese input(just support v-model) 2018-07-27 09:18:31 +08:00
tjz 1367cfc70a fix: treeSelect treeData[i].children support null #81 2018-07-25 22:21:19 +08:00
tjz cc613c9012 fix: treeSelect treeData[i].children support null #81 2018-07-25 22:21:19 +08:00
tangjinzhou 675f918149 chore: add cross-env and update ci config 2018-07-24 18:27:16 +08:00
tangjinzhou e6eeb7e02a chore: add cross-env and update ci config 2018-07-24 18:27:16 +08:00
tangjinzhou 6047181fbd
Create .gitattributes 2018-07-24 10:03:15 +08:00
tangjinzhou 59103b110a Create .gitattributes 2018-07-24 10:03:15 +08:00
wangxueliang b65e061535 fix: update carousel test 2018-07-23 17:38:19 +08:00
wangxueliang d49504f929 fix: update carousel test 2018-07-23 17:38:19 +08:00
wangxueliang 214347aa8f fix: carousel customArrows demo 2018-07-23 17:23:25 +08:00
wangxueliang 02084cd22d fix: carousel customArrows demo 2018-07-23 17:23:25 +08:00
wangxueliang 5f53be8042 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-07-23 16:28:40 +08:00
wangxueliang 78e156f65a Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-07-23 16:28:40 +08:00
wangxueliang 9e4c2116c1 feat: add carousel customArrows demo 2018-07-23 16:27:50 +08:00
wangxueliang c4ee9b7cc4 feat: add carousel customArrows demo 2018-07-23 16:27:50 +08:00
tangjinzhou a60eb60c92
Update BACKERS.md 2018-07-21 20:01:08 +08:00
tangjinzhou 02dbdd0fff Update BACKERS.md 2018-07-21 20:01:08 +08:00
tangjinzhou 567fc4f4b7 chore: update travis config 2018-07-21 16:28:08 +08:00
tangjinzhou 6d7e48f04d chore: update travis config 2018-07-21 16:28:08 +08:00
tangjinzhou 9145d50b0f chore: update travis config 2018-07-21 16:13:54 +08:00
tangjinzhou da57566533 chore: update travis config 2018-07-21 16:13:54 +08:00
tangjinzhou 79fa471a2a bump 1.0.0 2018-07-21 14:24:55 +08:00
tangjinzhou 427edd610e bump 1.0.0 2018-07-21 14:24:55 +08:00
tangjinzhou e0bedd4f69 docs: add 1.0.0 changelog 2018-07-21 14:10:26 +08:00
tangjinzhou 3e4c87f510 docs: add 1.0.0 changelog 2018-07-21 14:10:26 +08:00
tangjinzhou c8eccdc605 docs: update form docs 2018-07-21 14:09:22 +08:00
tangjinzhou 1ea4784688 docs: update form docs 2018-07-21 14:09:22 +08:00
tangjinzhou 834d7fcb5f docs: add Donation 2018-07-21 13:53:19 +08:00
tangjinzhou 8875673aed docs: add Donation 2018-07-21 13:53:19 +08:00
tangjinzhou 42f79ecb23 chore: update npm publish script 2018-07-21 12:36:49 +08:00
tangjinzhou dc6acbb271 chore: update npm publish script 2018-07-21 12:36:49 +08:00
tangjinzhou 47da43b9c9 docs: update site 2018-07-20 18:29:04 +08:00
tangjinzhou 68a9472ac1 docs: update site 2018-07-20 18:29:04 +08:00
wangxueliang d2f411a862 fix: carousel customPaging demo 2018-07-20 18:24:22 +08:00
wangxueliang e7d82d3b60 fix: carousel customPaging demo 2018-07-20 18:24:22 +08:00
wangxueliang edddbd982a feat: add carousel 2018-07-20 16:13:21 +08:00
wangxueliang dcf2048231 feat: add carousel 2018-07-20 16:13:21 +08:00
tangjinzhou 617cbdccd0 perf: update buttongroup style 2018-07-20 10:25:33 +08:00
tangjinzhou e6367f26cb perf: update buttongroup style 2018-07-20 10:25:33 +08:00
tangjinzhou 38b18d3d2e fix: buttongroup style bug 2018-07-18 09:39:57 +08:00
tangjinzhou c9c53bab04 fix: buttongroup style bug 2018-07-18 09:39:57 +08:00
tjz 0b249a0baa bump 0.7.1 2018-07-17 22:11:46 +08:00
tjz 321918461d bump 0.7.1 2018-07-17 22:11:46 +08:00
tjz 28b5193b84 revert: enterButton type 2018-07-17 22:05:18 +08:00
tjz e7817c5ffa revert: enterButton type 2018-07-17 22:05:18 +08:00
tjz b771fd1508 feat: add card tablist support custom tab 2018-07-17 22:04:32 +08:00
tjz 0a5dd6f89b feat: add card tablist support custom tab 2018-07-17 22:04:32 +08:00
tjz 4d7b9bd58d docs: update docs #71 2018-07-17 21:29:19 +08:00
tjz a4cc00b7a9 docs: update docs #71 2018-07-17 21:29:19 +08:00
tjz b464c6f6ee fix: table pagination deep watch 2018-07-17 21:22:48 +08:00
tjz c65e1def1b fix: table pagination deep watch 2018-07-17 21:22:48 +08:00
tjz 323c534aa2 fix: Tooltip containing disabled button does not show #73 2018-07-17 21:16:22 +08:00
tjz 2e1c19471e fix: Tooltip containing disabled button does not show #73 2018-07-17 21:16:22 +08:00
tjz 9e499e2cc6 docs: site add progress status 2018-07-14 17:59:25 +08:00
tjz 2d23f276ca docs: site add progress status 2018-07-14 17:59:25 +08:00
tjz fd0790695f fix: anchorlink not update links 2018-07-14 17:11:53 +08:00
tjz e9cd89f36f fix: anchorlink not update links 2018-07-14 17:11:53 +08:00
tjz fdd9c3fda8 docs: update site 2018-07-14 17:10:50 +08:00
tjz 863066a1c2 docs: update site 2018-07-14 17:10:50 +08:00
tjz 0778cc098e docs: update site 2018-07-13 21:55:29 +08:00
tjz 1627a8fc4e docs: update site 2018-07-13 21:55:29 +08:00
tangjinzhou e7a05154a9
Delete contributors.md 2018-07-13 10:06:44 +08:00
tangjinzhou 4798700ce2 Delete contributors.md 2018-07-13 10:06:44 +08:00
tangjinzhou 3a7eda0cf0 bump 0.7.0 2018-07-11 18:37:57 +08:00
tangjinzhou 31569a6e9d bump 0.7.0 2018-07-11 18:37:57 +08:00
tangjinzhou f3791aaafe feat: select add `options` prop 2018-07-11 18:35:27 +08:00
tangjinzhou ca7e3eb22b feat: select add `options` prop 2018-07-11 18:35:27 +08:00
tangjinzhou 7cd4f39756 feat: add tree-select 2018-07-11 17:51:20 +08:00
tangjinzhou e78acf7ae1 feat: add tree-select 2018-07-11 17:51:20 +08:00
tangjinzhou c0fb36468f fix: trigger missing callback parameters for some events 2018-07-11 17:47:26 +08:00
tangjinzhou f5e10aabe4 fix: trigger missing callback parameters for some events 2018-07-11 17:47:26 +08:00
wangxueliang ce8d09c3b5 fix: update upload action of props #66 2018-07-11 12:03:19 +08:00
wangxueliang 2ff7471966 fix: update upload action of props #66 2018-07-11 12:03:19 +08:00
wangxueliang bdb6ada30b fix: update upload action of props
resolved #66
2018-07-11 11:47:18 +08:00
wangxueliang f5da675432 fix: update upload action of props
resolved #66
2018-07-11 11:47:18 +08:00
tjz fe30ba63da bump 0.6.8 2018-07-05 21:08:49 +08:00
tjz 25575b0f7b bump 0.6.8 2018-07-05 21:08:49 +08:00
tjz 4f45916601 fix: transfer locale-provider miss titles 2018-07-05 21:03:15 +08:00
tjz 7d3d74448b fix: transfer locale-provider miss titles 2018-07-05 21:03:15 +08:00
tjz ebe942dd76 fix: notification error #63 2018-07-05 21:01:43 +08:00
tjz 50a5365479 fix: notification error #63 2018-07-05 21:01:43 +08:00
tangjinzhou e4d0a12839 bump 0.6.7 2018-07-03 14:07:56 +08:00
tangjinzhou 26a66d42cc bump 0.6.7 2018-07-03 14:07:56 +08:00
tangjinzhou c463649b4c fix: form templateContext error #62 2018-07-03 14:04:17 +08:00
tangjinzhou 6e147b97b4 fix: form templateContext error #62 2018-07-03 14:04:17 +08:00
tangjinzhou 71db14053b docs: add issue helper 2018-07-03 10:48:50 +08:00
tangjinzhou b649f6b848 docs: add issue helper 2018-07-03 10:48:50 +08:00
tangjinzhou 132a9c214b bump 0.6.6 2018-07-03 10:29:43 +08:00
tangjinzhou 5e8266c25d bump 0.6.6 2018-07-03 10:29:43 +08:00
tangjinzhou dc94eeaefa test: update datepicker test 2018-07-03 10:24:17 +08:00
tangjinzhou add35b78f0 test: update datepicker test 2018-07-03 10:24:17 +08:00
tangjinzhou 1584b3839e fix: upload thumbUrl preview not work 2018-07-03 10:22:03 +08:00
tangjinzhou 9f7df84af0 fix: upload thumbUrl preview not work 2018-07-03 10:22:03 +08:00
wangxueliang 19698a7c33 fix: upload type and demo 2018-07-02 16:24:19 +08:00
wangxueliang 1f77ee65ed fix: upload type and demo 2018-07-02 16:24:19 +08:00
tjz d9edfc3961 bump 0.6.5 2018-07-01 17:41:11 +08:00
tjz a5beecb37a bump 0.6.5 2018-07-01 17:41:11 +08:00
tjz b444761e51 docs: update table ajax demo 2018-07-01 17:33:24 +08:00
tjz 981b089ed4 docs: update table ajax demo 2018-07-01 17:33:24 +08:00
tjz 8254f783a3 fix: trigger forceAlign cannot call 2018-07-01 17:13:31 +08:00
tjz e570fbef73 fix: trigger forceAlign cannot call 2018-07-01 17:13:31 +08:00
tjz 3250302d9e fix: trigger getPopupContainer not working 2018-07-01 17:12:24 +08:00
tjz 993636b344 fix: trigger getPopupContainer not working 2018-07-01 17:12:24 +08:00
tjz 8da76cebec fix: delete form export warning #52 2018-06-28 22:22:56 +08:00
tjz 1345d13df3 fix: delete form export warning #52 2018-06-28 22:22:56 +08:00
tjz dd155569af bump 0.6.4 2018-06-28 22:17:51 +08:00
tjz f2b6455b09 bump 0.6.4 2018-06-28 22:17:51 +08:00
tjz 079f82d66e fix: InputSearch return wrong value #53 2018-06-28 22:17:08 +08:00
tjz 0c1b74504f fix: InputSearch return wrong value #53 2018-06-28 22:17:08 +08:00
tjz 5130f7353f test: update table test 2018-06-28 22:08:13 +08:00
tjz 49101c7066 test: update table test 2018-06-28 22:08:13 +08:00
tjz bcf12eddbe test: add form test 2018-06-28 21:41:02 +08:00
tjz 2dd02eec75 test: add form test 2018-06-28 21:41:02 +08:00
tjz 15dee742d8 test: update menu test 2018-06-28 21:22:25 +08:00
tjz d6371261d3 test: update menu test 2018-06-28 21:22:25 +08:00
tjz ae9ef1dfb8 bump 0.6.3 2018-06-26 21:57:04 +08:00
tjz f37431a3a9 bump 0.6.3 2018-06-26 21:57:04 +08:00
tjz cd5701fc0f docs: add 0.6.3 changelog 2018-06-26 21:56:42 +08:00
tjz cd078592d0 docs: add 0.6.3 changelog 2018-06-26 21:56:42 +08:00
tjz b10a027426 docs: fix word misspellings 2018-06-26 21:56:09 +08:00
tjz 48038d6875 docs: fix word misspellings 2018-06-26 21:56:09 +08:00
tjz 70f8c560b3 test: update menu test 2018-06-26 21:47:15 +08:00
tjz 67042c90dd test: update menu test 2018-06-26 21:47:15 +08:00
tjz cc0387b425 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-06-26 21:38:42 +08:00
tjz be1ceadee7 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-06-26 21:38:42 +08:00
tangjinzhou 8057c64cf3 fix: popover v-model not work #49 2018-06-26 10:17:30 +08:00
tangjinzhou 52fb87058c fix: popover v-model not work #49 2018-06-26 10:17:30 +08:00
tangjinzhou 61dbd6001f docs: update form api example link 2018-06-26 09:14:43 +08:00
tangjinzhou 6c9e6db7e3 docs: update form api example link 2018-06-26 09:14:43 +08:00
tjz 9b1b9de890 test: add menu test 2018-06-25 22:15:17 +08:00
tjz 0cdd077ee5 test: add menu test 2018-06-25 22:15:17 +08:00
tangjinzhou b0d1c71c32 docs: update demo code style 2018-06-25 10:17:57 +08:00
tangjinzhou d530d932ba docs: update demo code style 2018-06-25 10:17:57 +08:00
tjz fbaa7ad028 bump 0.6.2 2018-06-24 22:37:15 +08:00
tjz 61d951920e bump 0.6.2 2018-06-24 22:37:15 +08:00
tjz c72b36d710 docs: add 0.6.2 changelog 2018-06-24 22:36:25 +08:00
tjz 914530992e docs: add 0.6.2 changelog 2018-06-24 22:36:25 +08:00
tjz 7c923278b3 Merge branch 'feat-form-template' 2018-06-24 22:23:59 +08:00
tjz d718914fa7 Merge branch 'feat-form-template' 2018-06-24 22:23:59 +08:00
tjz fdce1ce6b7 feat: update form 2018-06-24 22:22:43 +08:00
tjz 5836adbb50 feat: update form 2018-06-24 22:22:43 +08:00
tangjinzhou 868ee1ebaf feat: support form template 2018-06-23 17:17:45 +08:00
tangjinzhou e77b78b809 feat: support form template 2018-06-23 17:17:45 +08:00
tjz 090f9cba5d feat: add form support template 2018-06-22 21:35:14 +08:00
tjz b7789c9907 feat: add form support template 2018-06-22 21:35:14 +08:00
tangjinzhou 3dbca1800a
Update ISSUE_TEMPLATE.md 2018-06-22 20:04:51 +08:00
tangjinzhou 61193eeb47 Update ISSUE_TEMPLATE.md 2018-06-22 20:04:51 +08:00
tangjinzhou 95db3f81aa
Update ISSUE_TEMPLATE.md 2018-06-22 20:04:08 +08:00
tangjinzhou 19b95dfff9 Update ISSUE_TEMPLATE.md 2018-06-22 20:04:08 +08:00
tjz 51718d7ffc test: add select test 2018-06-21 22:28:10 +08:00
tjz 2e24936508 test: add select test 2018-06-21 22:28:10 +08:00
tjz 52f6f50dbe fix: add select focus and blur events 2018-06-21 22:27:48 +08:00
tjz 2a31e08d8b fix: add select focus and blur events 2018-06-21 22:27:48 +08:00
tjz 33da99cf21 test: update `radio` & `group` path 2018-06-17 18:00:43 +08:00
tjz be90aa925b test: update `radio` & `group` path 2018-06-17 18:00:43 +08:00
tjz 9df74bedd7 fix: update disabled radiogroup's classname 2018-06-17 17:46:09 +08:00
tjz 67eec7c617 fix: update disabled radiogroup's classname 2018-06-17 17:46:09 +08:00
tjz 9f307fd25d test: add radio & tabs tests 2018-06-17 17:25:54 +08:00
tjz 5192859bb2 test: add radio & tabs tests 2018-06-17 17:25:54 +08:00
tjz 90634d19b3 fix: add radioGroup mouse event & radio name inherit radioGroup name 2018-06-17 17:22:26 +08:00
tjz 00f2054783 fix: add radioGroup mouse event & radio name inherit radioGroup name 2018-06-17 17:22:26 +08:00
tjz f7886c7203 fix: radio `focus` `blur` `autofocus` `mouseenter` `mouseleave` not working 2018-06-17 16:14:49 +08:00
tjz 6a7dacf9a2 fix: radio `focus` `blur` `autofocus` `mouseenter` `mouseleave` not working 2018-06-17 16:14:49 +08:00
tjz cb2c71bd2f test: add dropdown 、popover、 tag、 time-picker tests 2018-06-17 15:57:09 +08:00
tjz 8dd123dbf9 test: add dropdown 、popover、 tag、 time-picker tests 2018-06-17 15:57:09 +08:00
tjz 28d009d3ce fix: time-picker focus blur autoFocus not work 2018-06-17 15:56:12 +08:00
tjz d0d5552f50 fix: time-picker focus blur autoFocus not work 2018-06-17 15:56:12 +08:00
tjz d6aeb976b1 docs: update changelog 2018-06-17 11:47:37 +08:00
tjz 92c8a05a49 docs: update changelog 2018-06-17 11:47:37 +08:00
tjz 4f169cf5b0 bump 0.6.1 2018-06-17 11:23:06 +08:00
tjz 7dfccb7102 bump 0.6.1 2018-06-17 11:23:06 +08:00
tjz 20fc959e8f docs: add 0.6.1 changelog 2018-06-17 11:20:54 +08:00
tjz a13980f368 docs: add 0.6.1 changelog 2018-06-17 11:20:54 +08:00
tjz ba8b73aa66 feat: update spin class 2018-06-17 10:49:56 +08:00
tjz 53334ff491 feat: update spin class 2018-06-17 10:49:56 +08:00
tjz 36db114621 test: update table 2018-06-16 23:05:15 +08:00
tjz ffef54ce3e test: update table 2018-06-16 23:05:15 +08:00
tjz 1c63ab9bd8 test: update list & spin snapshots 2018-06-16 23:00:59 +08:00
tjz 3810b0b01c test: update list & spin snapshots 2018-06-16 23:00:59 +08:00
tjz 532b1d0c48 test: add list test & update spin 2018-06-16 22:57:11 +08:00
tjz 6aa8d3effd test: add list test & update spin 2018-06-16 22:57:11 +08:00
tjz 29a9fcd2ca test: update upload action 2018-06-16 22:11:34 +08:00
tjz e7ab83cd86 test: update upload action 2018-06-16 22:11:34 +08:00
tjz d132738f67 docs: update list demo 2018-06-16 21:54:01 +08:00
tjz c2a2ded9ca docs: update list demo 2018-06-16 21:54:01 +08:00
tjz 482ce65589 perf: update dev env 2018-06-16 21:47:32 +08:00
tjz d356e4dcc6 perf: update dev env 2018-06-16 21:47:32 +08:00
tjz 90f5c8a9a9 feat: add list component 2018-06-16 21:30:41 +08:00
tjz 5cca28a8d0 feat: add list component 2018-06-16 21:30:41 +08:00
tjz abbfb50f56 test: add popconfirm test 2018-06-12 21:16:49 +08:00
tjz 4d881ac83b test: add popconfirm test 2018-06-12 21:16:49 +08:00
tjz d9c6c76429 perf: update table 2018-06-12 21:03:54 +08:00
tjz ed80df3af1 perf: update table 2018-06-12 21:03:54 +08:00
tangjinzhou 2d5b60d653 fix: popconfirm failure due to tooltip api changes(change to visibleChange) #34 2018-06-12 17:53:06 +08:00
tangjinzhou 91e02498bb fix: popconfirm failure due to tooltip api changes(change to visibleChange) #34 2018-06-12 17:53:06 +08:00
tjz 59c06d04b3 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-06-11 22:27:24 +08:00
tjz 32d9232c08 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-06-11 22:27:24 +08:00
tjz e629c8f89a fix: table update height error #33 2018-06-11 22:26:27 +08:00
tjz 97b86bd19c fix: table update height error #33 2018-06-11 22:26:27 +08:00
tjz 0fae2bdcfa fix: table update height error #13 2018-06-11 22:23:10 +08:00
tjz a39b86698e fix: table update height error #13 2018-06-11 22:23:10 +08:00
tjz c0457ef4a8 docs: update tooltip visible(v-model) 2018-06-10 21:57:44 +08:00
tjz 17e0962d08 docs: update tooltip visible(v-model) 2018-06-10 21:57:44 +08:00
tjz 0771acb193 test: add tooltip test 2018-06-10 21:53:52 +08:00
tjz f28363f3e9 test: add tooltip test 2018-06-10 21:53:52 +08:00
tjz d5baf1bfb1 fix: change `change` to `visibleChange` 2018-06-10 21:32:24 +08:00
tjz 77f101ca3e fix: change `change` to `visibleChange` 2018-06-10 21:32:24 +08:00
tjz 78f7c2e4b1 test: add Cascader test 2018-06-10 20:42:59 +08:00
tjz 1a7936c35d test: add Cascader test 2018-06-10 20:42:59 +08:00
tjz 5f06942217 test: add notification test 2018-06-10 16:02:12 +08:00
tjz 2f2c7f92fb test: add notification test 2018-06-10 16:02:12 +08:00
tjz c93c18e74e test: update transition-group and relative snapshots 2018-06-10 15:45:06 +08:00
tjz d7b144ba64 test: update transition-group and relative snapshots 2018-06-10 15:45:06 +08:00
tjz f355e084cc test: add message test 2018-06-10 15:42:38 +08:00
tjz 6e7dd9ba6b test: add message test 2018-06-10 15:42:38 +08:00
tjz 9ab215c2f3 test: update input test 2018-06-10 14:31:24 +08:00
tjz 6cabf31791 test: update input test 2018-06-10 14:31:24 +08:00
tjz 9f35881221 test: lock @vue/server-test-utils and @vue/test-utils version 2018-06-10 14:15:06 +08:00
tjz 83501bab00 test: lock @vue/server-test-utils and @vue/test-utils version 2018-06-10 14:15:06 +08:00
tjz a58c1e2415 test: update input demo snapshots 2018-06-10 13:52:20 +08:00
tjz 7f90a5f9fa test: update input demo snapshots 2018-06-10 13:52:20 +08:00
tjz 08018525b8 test: add input test 2018-06-10 10:26:24 +08:00
tjz f3b370acf6 test: add input test 2018-06-10 10:26:24 +08:00
tjz 7879279123 fix: add textarea autofocus 2018-06-10 10:26:03 +08:00
tjz abd5ff9043 fix: add textarea autofocus 2018-06-10 10:26:03 +08:00
tjz 3cff62997d fix: add input search focus & blur methods 2018-06-10 09:29:18 +08:00
tjz 1297dac4c9 fix: add input search focus & blur methods 2018-06-10 09:29:18 +08:00
tjz 88f165edb5 fix: input-number autoFocus not work 2018-06-09 15:48:34 +08:00
tjz cec59f2c97 fix: input-number autoFocus not work 2018-06-09 15:48:34 +08:00
tjz a8dcabb1a0 test: add date-picker 2018-06-09 15:28:15 +08:00
tjz 8c671fee94 test: add date-picker 2018-06-09 15:28:15 +08:00
tjz 264abff597 fix: date-picker `autoFocus` not work 2018-06-09 11:46:03 +08:00
tjz 100d606aa0 fix: date-picker `autoFocus` not work 2018-06-09 11:46:03 +08:00
tjz 7ed6885ec6 test: update table test 2018-06-08 22:38:25 +08:00
tjz f2fa197cb0 test: update table test 2018-06-08 22:38:25 +08:00
tjz ec1999dea4 fix: table defaultChecked not work 2018-06-08 22:30:25 +08:00
tjz 0879463995 fix: table defaultChecked not work 2018-06-08 22:30:25 +08:00
tjz dc0f0b967c fix: table check 2018-06-08 18:50:18 +08:00
tjz 695f4bbbb3 fix: table check 2018-06-08 18:50:18 +08:00
tjz acd7a96f68 style: change checkbox props verify 2018-06-08 18:37:03 +08:00
tjz 00a933d25f style: change checkbox props verify 2018-06-08 18:37:03 +08:00
tangjinzhou be69bd9af1 fix: cascader autoFocus not work 2018-06-07 15:03:53 +08:00
tangjinzhou 2c7aa93bd6 fix: cascader autoFocus not work 2018-06-07 15:03:53 +08:00
tjz 62b698c007 test: update table test 2018-06-06 22:33:09 +08:00
tjz 7bfdb9aed7 test: update table test 2018-06-06 22:33:09 +08:00
tjz 9b7f5c2f81 fix: table add support number key 2018-06-06 22:02:31 +08:00
tjz c0a80f258a fix: table add support number key 2018-06-06 22:02:31 +08:00
tangjinzhou dd907abbc0 test: add demo destroy 2018-06-06 13:46:19 +08:00
tangjinzhou 92f1fcd0ff test: add demo destroy 2018-06-06 13:46:19 +08:00
tangjinzhou 34230dd40e style: delete Trailing spaces 2018-06-06 11:01:02 +08:00
tangjinzhou 2f972821d4 style: delete Trailing spaces 2018-06-06 11:01:02 +08:00
tangjinzhou ed9de47851 test: add progress & rate & slider & spin & table test 2018-06-06 10:48:15 +08:00
tangjinzhou f04e8865b0 test: add progress & rate & slider & spin & table test 2018-06-06 10:48:15 +08:00
tangjinzhou c2c9841eb9 fix: rate `autoFocus` not work and `blur` error 2018-06-06 10:46:54 +08:00
tangjinzhou 15f36f344a fix: rate `autoFocus` not work and `blur` error 2018-06-06 10:46:54 +08:00
tangjinzhou 228f4478a5 fix: rangePicker validator check failed for prop value is [undefined, undefined] 2018-06-05 10:49:51 +08:00
tangjinzhou c1b353bee1 fix: rangePicker validator check failed for prop value is [undefined, undefined] 2018-06-05 10:49:51 +08:00
tjz b8b0604622 bump 0.6.0 2018-06-04 21:56:15 +08:00
tjz 2a372acf42 bump 0.6.0 2018-06-04 21:56:15 +08:00
tjz 1f0e30a788 docs: add 0.6.0 changelog 2018-06-04 21:53:49 +08:00
tjz fd312b6db0 docs: add 0.6.0 changelog 2018-06-04 21:53:49 +08:00
tangjinzhou bc780db039 fix: anchor mount to mounted 2018-06-04 18:37:23 +08:00
tangjinzhou 169d35dbc2 fix: anchor mount to mounted 2018-06-04 18:37:23 +08:00
tangjinzhou 46b4cd5d43 docs: update customize-theme 2018-06-04 18:36:46 +08:00
tangjinzhou 5b269cb875 docs: update customize-theme 2018-06-04 18:36:46 +08:00
tangjinzhou b72bbe8fc7
Merge pull request #31 from vueComponent/feature-anchor
feat: add anchor component
2018-06-04 17:46:53 +08:00
tangjinzhou 4b8bdc85d2 Merge pull request #31 from vueComponent/feature-anchor
feat: add anchor component
2018-06-04 17:46:53 +08:00
tangjinzhou a1448e06d9 feat: add anchor component docs & test 2018-06-04 17:09:01 +08:00
tangjinzhou 4e2163363d feat: add anchor component docs & test 2018-06-04 17:09:01 +08:00
wangxueliang 30fa4dbee3 fix: add document title 2018-06-04 14:58:02 +08:00
wangxueliang c111330baf fix: add document title 2018-06-04 14:58:02 +08:00
tangjinzhou c578278500
Merge pull request #30 from slertness/master
fix:  table header style
2018-06-04 11:13:54 +08:00
tangjinzhou 3d24b72bb4 Merge pull request #30 from slertness/master
fix:  table header style
2018-06-04 11:13:54 +08:00
set.zhao ec97a308b6 fix table header style 2018-06-03 23:35:19 +08:00
set.zhao 5ac461df07 fix table header style 2018-06-03 23:35:19 +08:00
tangjinzhou 018cc4fa0a feat: add anchor component 2018-06-02 18:11:50 +08:00
tangjinzhou b883cc7ab2 feat: add anchor component 2018-06-02 18:11:50 +08:00
wangxueliang a7f194dfe5 test: upload uploadList 2018-06-02 15:12:53 +08:00
wangxueliang 012b68f990 test: upload uploadList 2018-06-02 15:12:53 +08:00
tangjinzhou 1673785a80 docs: add gitter badge 2018-06-02 14:28:51 +08:00
tangjinzhou 87b3855feb docs: add gitter badge 2018-06-02 14:28:51 +08:00
tangjinzhou 725545dc76
Merge pull request #29 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2018-06-02 14:19:32 +08:00
tangjinzhou 847bf88a45 Merge pull request #29 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2018-06-02 14:19:32 +08:00
The Gitter Badger 165d26e6be Add Gitter badge 2018-06-02 06:15:06 +00:00
The Gitter Badger 43de543a90 Add Gitter badge 2018-06-02 06:15:06 +00:00
tjz b7636a7f63 test: add table selectionbox test 2018-06-01 21:25:16 +08:00
tjz 6b47fae034 test: add table selectionbox test 2018-06-01 21:25:16 +08:00
tjz 539d838607 test: add more table filter test 2018-05-31 22:53:14 +08:00
tjz e410dd4a90 test: add more table filter test 2018-05-31 22:53:14 +08:00
wangxueliang 1fc1100a22 test: update __snapshots__ 2018-05-31 16:58:48 +08:00
wangxueliang ab00840d2f test: update __snapshots__ 2018-05-31 16:58:48 +08:00
wangxueliang ce39dc3506 fix: inputnumber placeholder 2018-05-31 16:36:59 +08:00
wangxueliang 98a8e5db8f fix: inputnumber placeholder 2018-05-31 16:36:59 +08:00
tangjinzhou 81ab829b1d fix: datepicker event repeatedly called when showTime 2018-05-30 17:44:20 +08:00
tangjinzhou aca6682b73 fix: datepicker event repeatedly called when showTime 2018-05-30 17:44:20 +08:00
tangjinzhou 119e987353 Merge branch 'master' of https://github.com/vueComponent/ant-design
# Conflicts:
#	components/trigger/Trigger.jsx
2018-05-30 16:42:43 +08:00
tangjinzhou 7b87c65a91 Merge branch 'master' of https://github.com/vueComponent/ant-design
# Conflicts:
#	components/trigger/Trigger.jsx
2018-05-30 16:42:43 +08:00
tangjinzhou 1cadd1a53b fix: refactor trigger bug 2018-05-30 16:38:15 +08:00
tangjinzhou 0a79a0e45d fix: refactor trigger bug 2018-05-30 16:38:15 +08:00
tangjinzhou e841c4fbd8 fix: refactor trigger bug 2018-05-30 15:43:31 +08:00
tangjinzhou b51d1e3beb fix: refactor trigger bug 2018-05-30 15:43:31 +08:00
tangjinzhou 0a4193f054 test: update snapshots & some test 2018-05-30 14:12:43 +08:00
tangjinzhou c6a8727d2b test: update snapshots & some test 2018-05-30 14:12:43 +08:00
tangjinzhou eae92d8718 refactor: trigger 2018-05-30 14:11:36 +08:00
tangjinzhou 56e00adb6e refactor: trigger 2018-05-30 14:11:36 +08:00
tjz d35e6fb334 test: add table sorter & filter test 2018-05-27 14:01:18 +08:00
tjz 4e60734212 test: add table sorter & filter test 2018-05-27 14:01:18 +08:00
tjz 07150c0965 test: add table test 2018-05-26 22:48:16 +08:00
tjz 31155384a4 test: add table test 2018-05-26 22:48:16 +08:00
tjz 24f3005562 docs: update table docs 2018-05-26 22:47:54 +08:00
tjz 72506e1092 docs: update table docs 2018-05-26 22:47:54 +08:00
tjz 17b9dc14f5 fix: table emptyText not work 2018-05-26 22:47:19 +08:00
tjz 4ef08a6cc2 fix: table emptyText not work 2018-05-26 22:47:19 +08:00
tjz e998b59e7d bump 0.5.4 2018-05-26 10:19:52 +08:00
tjz 717ba47726 bump 0.5.4 2018-05-26 10:19:52 +08:00
tjz ca084b9e6f build: fix miss antd.less file 2018-05-26 10:15:20 +08:00
tjz e9d084576b build: fix miss antd.less file 2018-05-26 10:15:20 +08:00
tjz 3e13e6fc41 bump 0.5.3 2018-05-25 22:05:35 +08:00
tjz 4cdb4d8dc7 bump 0.5.3 2018-05-25 22:05:35 +08:00
tjz 24def982ac docs: add 0.5.3 changelog 2018-05-25 22:05:10 +08:00
tjz c1e76e5fcf docs: add 0.5.3 changelog 2018-05-25 22:05:10 +08:00
tjz 90583a3c42 fix: build antd-with-locales.js error 2018-05-25 22:00:30 +08:00
tjz 74bf272200 fix: build antd-with-locales.js error 2018-05-25 22:00:30 +08:00
tangjinzhou 800fcfff15 bump 0.5.2 2018-05-25 19:28:23 +08:00
tangjinzhou b9073fefb3 bump 0.5.2 2018-05-25 19:28:23 +08:00
tangjinzhou 933d9667c1 docs: add 0.5.2 changelog 2018-05-25 19:27:59 +08:00
tangjinzhou 309de74f12 docs: add 0.5.2 changelog 2018-05-25 19:27:59 +08:00
tangjinzhou c5e421cdb2 fix: add form wrappedComponentRef feature 2018-05-25 11:27:54 +08:00
tangjinzhou 5694d72e5f fix: add form wrappedComponentRef feature 2018-05-25 11:27:54 +08:00
tjz 098e7ea156 test: add confirm & layout test 2018-05-24 23:04:41 +08:00
tjz 7da455d72b test: add confirm & layout test 2018-05-24 23:04:41 +08:00
tangjinzhou 141bff70f1 test: update snap 2018-05-24 19:33:09 +08:00
tangjinzhou f639e95a29 test: update snap 2018-05-24 19:33:09 +08:00
tangjinzhou e9b6914282 fix: date-picker keydown event not work 2018-05-24 18:49:04 +08:00
tangjinzhou 684271b3e6 fix: date-picker keydown event not work 2018-05-24 18:49:04 +08:00
wangxueliang 7b55c0d2fb fix: tranfer test 2018-05-23 16:48:45 +08:00
wangxueliang 277f94af9d fix: tranfer test 2018-05-23 16:48:45 +08:00
wangxueliang 4afcd45d2b test: add tranfer test 2018-05-23 16:07:46 +08:00
wangxueliang 18b55d153f test: add tranfer test 2018-05-23 16:07:46 +08:00
wangxueliang a00f9e5c30 test: add tranfer test 2018-05-23 16:07:02 +08:00
wangxueliang e74d3495d1 test: add tranfer test 2018-05-23 16:07:02 +08:00
wangxueliang 8246c12e9b test: add tranfer test 2018-05-23 12:11:41 +08:00
wangxueliang 3e22aab799 test: add tranfer test 2018-05-23 12:11:41 +08:00
tjz f3ae72831a test: add calendar test 2018-05-21 22:59:04 +08:00
tjz 5219812274 test: add calendar test 2018-05-21 22:59:04 +08:00
tangjinzhou bfee6a9206
Merge pull request #22 from Instanced/master
fix: avatar autoset font size
2018-05-21 13:34:42 +08:00
tangjinzhou c6216c2757 Merge pull request #22 from Instanced/master
fix: avatar autoset font size
2018-05-21 13:34:42 +08:00
Instanced b2fbad28ee fix: avatar autoset font size 2018-05-21 12:40:05 +08:00
Instanced 5132f85e8d fix: avatar autoset font size 2018-05-21 12:40:05 +08:00
tangjinzhou f503ca6e04 ci: update validate-commit-msg to commitlint 2018-05-21 10:13:25 +08:00
tangjinzhou a689634384 ci: update validate-commit-msg to commitlint 2018-05-21 10:13:25 +08:00
tjz d027cc0376 delete never used variable 2018-05-20 22:30:48 +08:00
tjz c67ddb4640 delete never used variable 2018-05-20 22:30:48 +08:00
tjz d16f27e820 docs: update checkbox api 2018-05-20 22:05:31 +08:00
tjz 9d372fd5c8 docs: update checkbox api 2018-05-20 22:05:31 +08:00
tjz 7df963aac7 test: add checkbox & switch test 2018-05-20 21:42:23 +08:00
tjz 3d83df36af test: add checkbox & switch test 2018-05-20 21:42:23 +08:00
tjz 14e7805af1 fix: checkbox add focus blur events & autoFocus 2018-05-20 21:41:40 +08:00
tjz c8167d6b36 fix: checkbox add focus blur events & autoFocus 2018-05-20 21:41:40 +08:00
tjz 0a0f2e240b docs: update readme badge 2018-05-20 12:54:55 +08:00
tjz f62e2cc103 docs: update readme badge 2018-05-20 12:54:55 +08:00
tangjinzhou 54c695a7f4 test: add grid test 2018-05-19 17:50:22 +08:00
tangjinzhou 809b750521 test: add grid test 2018-05-19 17:50:22 +08:00
tangjinzhou a39aada80a test: add card test 2018-05-19 17:46:03 +08:00
tangjinzhou 50f5ae5d85 test: add card test 2018-05-19 17:46:03 +08:00
tangjinzhou f6148387ba test: add breadcrumb test 2018-05-19 17:37:24 +08:00
tangjinzhou 8f9cef2793 test: add breadcrumb test 2018-05-19 17:37:24 +08:00
tangjinzhou f8caf137b6 test: add back-top test 2018-05-19 17:20:30 +08:00
tangjinzhou b3dbb6d89e test: add back-top test 2018-05-19 17:20:30 +08:00
tangjinzhou 931495768f fix: 优化 select title 2018-05-19 14:07:35 +08:00
tangjinzhou eadb117298 fix: 优化 select title 2018-05-19 14:07:35 +08:00
tangjinzhou 117599646e test: add local-provider test 2018-05-19 12:53:37 +08:00
tangjinzhou 00ea4cb4f2 test: add local-provider test 2018-05-19 12:53:37 +08:00
tjz d4865223b6 test: add from test 2018-05-18 22:52:45 +08:00
tjz f099fcd675 test: add from test 2018-05-18 22:52:45 +08:00
tjz ba688ce190 test: add from test 2018-05-18 22:52:24 +08:00
tjz 2226712463 test: add from test 2018-05-18 22:52:24 +08:00
tjz eac84f2d2c test: update demotest to async 2018-05-18 22:04:10 +08:00
tjz 4d7f41f761 test: update demotest to async 2018-05-18 22:04:10 +08:00
tjz 0920d23f12 refactor: update transfer watch props 2018-05-18 21:57:40 +08:00
tjz 8d29619871 refactor: update transfer watch props 2018-05-18 21:57:40 +08:00
tjz 4582da3725 fix: transfer handleClear not work 2018-05-18 21:21:31 +08:00
tjz f5471cc977 fix: transfer handleClear not work 2018-05-18 21:21:31 +08:00
tjz d148108be3 docs: update tabs & menu demo 2018-05-18 21:15:46 +08:00
tjz 9c70e45e8c docs: update tabs & menu demo 2018-05-18 21:15:46 +08:00
tjz a965fb1ac0 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-05-18 21:10:11 +08:00
tjz c78db866d3 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-05-18 21:10:11 +08:00
tjz b2d330894a test: add auto-complate test 2018-05-18 21:09:52 +08:00
tjz c0a22f5876 test: add auto-complate test 2018-05-18 21:09:52 +08:00
tangjinzhou 6cdc08102f test: update modal test 2018-05-18 14:30:17 +08:00
tangjinzhou faf55f7c03 test: update modal test 2018-05-18 14:30:17 +08:00
tangjinzhou 9f08fdb856 test: update modal test 2018-05-18 11:31:06 +08:00
tangjinzhou 5c64faa485 test: update modal test 2018-05-18 11:31:06 +08:00
tangjinzhou 3d94b10f09 test: add avatar badge icon modal unit test 2018-05-18 10:10:17 +08:00
tangjinzhou 196c0c6ac3 test: add avatar badge icon modal unit test 2018-05-18 10:10:17 +08:00
tangjinzhou 09e25a2889 test: add affix unit test 2018-05-17 10:40:50 +08:00
tangjinzhou a1cd7c2268 test: add affix unit test 2018-05-17 10:40:50 +08:00
wangxueliang f01840f307 fix: timeline test 2018-05-15 10:59:33 +08:00
wangxueliang 9be36a0fe0 fix: timeline test 2018-05-15 10:59:33 +08:00
wangxueliang 6ddc53ba53 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-05-15 10:23:51 +08:00
wangxueliang 3a7d7add3e Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-05-15 10:23:51 +08:00
wangxueliang fa5141bd00 fix: timeline component 2018-05-15 10:22:42 +08:00
wangxueliang 29328a58ae fix: timeline component 2018-05-15 10:22:42 +08:00
tangjinzhou e003a735b8 delete unnecessary ant-ref directive 2018-05-15 10:09:25 +08:00
tangjinzhou f4aad43206 delete unnecessary ant-ref directive 2018-05-15 10:09:25 +08:00
tangjinzhou 86a8c76bfb fix: form ant-ref directive bug(#20) 2018-05-15 10:08:14 +08:00
tangjinzhou 26ec36e126 fix: form ant-ref directive bug(#20) 2018-05-15 10:08:14 +08:00
tangjinzhou 21a6bbed9b docs: add codecov badge 2018-05-15 10:03:56 +08:00
tangjinzhou 96469261f3 docs: add codecov badge 2018-05-15 10:03:56 +08:00
tangjinzhou 7bf21fe51f test: add snapshot 2018-05-15 09:52:44 +08:00
tangjinzhou a584b1f8ce test: add snapshot 2018-05-15 09:52:44 +08:00
tangjinzhou f94eb62811 test: update snapshot 2018-05-14 11:24:09 +08:00
tangjinzhou b81e26fd9e test: update snapshot 2018-05-14 11:24:09 +08:00
tangjinzhou 8f7b46d0d2 fix: delete console 2018-05-14 11:02:03 +08:00
tangjinzhou 9ff6a58ed6 fix: delete console 2018-05-14 11:02:03 +08:00
tangjinzhou 1be9f56f48 docs: update avatar demo 2018-05-14 10:58:46 +08:00
tangjinzhou d4334af499 docs: update avatar demo 2018-05-14 10:58:46 +08:00
tangjinzhou 57d0b27f6a test: add affix avatar back-top breadcrumb snapshots 2018-05-14 10:56:24 +08:00
tangjinzhou fcecf2c70f test: add affix avatar back-top breadcrumb snapshots 2018-05-14 10:56:24 +08:00
tangjinzhou cbfa43e897 test: add ignore file 2018-05-14 10:20:05 +08:00
tangjinzhou 576688c11b test: add ignore file 2018-05-14 10:20:05 +08:00
tangjinzhou 893be89412 test: update button test 2018-05-14 09:49:26 +08:00
tangjinzhou 524cfe7e01 test: update button test 2018-05-14 09:49:26 +08:00
tjz 615e3bbe8a fix: build site bug 2018-05-13 23:19:12 +08:00
tjz fe8351e288 fix: build site bug 2018-05-13 23:19:12 +08:00
tjz 059b928b09 test: change karma to jest 2018-05-13 23:11:51 +08:00
tjz e166855e9c test: change karma to jest 2018-05-13 23:11:51 +08:00
tjz d86e333491 test: add button test 2018-05-13 12:01:52 +08:00
tjz e9f0bc9c27 test: add button test 2018-05-13 12:01:52 +08:00
tangjinzhou d0c5a708cf add codecov 2018-05-12 14:10:40 +08:00
tangjinzhou 4341d5a13a add codecov 2018-05-12 14:10:40 +08:00
tangjinzhou 3ce207fe93 travis add before_script 2018-05-12 13:53:38 +08:00
tangjinzhou 5604dc9a2f travis add before_script 2018-05-12 13:53:38 +08:00
tangjinzhou 72fde617a3 test: open autowatch 2018-05-12 13:08:35 +08:00
tangjinzhou a04637ec9f test: open autowatch 2018-05-12 13:08:35 +08:00
tangjinzhou 037b6674ba move vue dependence to peerDependence 2018-05-12 12:59:10 +08:00
tangjinzhou 7b8118e662 move vue dependence to peerDependence 2018-05-12 12:59:10 +08:00
tangjinzhou 7ba682d768 Ignore test/coverage 2018-05-12 12:54:20 +08:00
tangjinzhou 1686e7d6ce Ignore test/coverage 2018-05-12 12:54:20 +08:00
tangjinzhou dbddc35924 Merge branch 'master' into unit-test 2018-05-12 11:27:21 +08:00
tangjinzhou 74b5d13b87 Merge branch 'master' into unit-test 2018-05-12 11:27:21 +08:00
tangjinzhou 23991c50a0 Ignore package-lock.json 2018-05-12 11:21:06 +08:00
tangjinzhou 0f3a0b3970 Ignore package-lock.json 2018-05-12 11:21:06 +08:00
tangjinzhou 0c11e6baca Merge branch 'master' into unit-test
# Conflicts:
#	package-lock.json
#	package.json
2018-05-12 11:14:22 +08:00
tangjinzhou c4c01bd959 Merge branch 'master' into unit-test
# Conflicts:
#	package-lock.json
#	package.json
2018-05-12 11:14:22 +08:00
tangjinzhou df6604fcfc bump 0.5.1 2018-05-10 19:23:28 +08:00
tangjinzhou becad46d43 bump 0.5.1 2018-05-10 19:23:28 +08:00
tangjinzhou 9a6e8e7ff1 docs: add 0.5.1 2018-05-10 19:20:54 +08:00
tangjinzhou 8d1d3e8257 docs: add 0.5.1 2018-05-10 19:20:54 +08:00
tangjinzhou 1c0752c27a fix: customRow events (#16) 2018-05-10 19:15:43 +08:00
tangjinzhou 872f69c161 fix: customRow events (#16) 2018-05-10 19:15:43 +08:00
tangjinzhou d5cc03c5c9
Update README.md 2018-05-10 11:17:07 +08:00
tangjinzhou 00b91b9dac Update README.md 2018-05-10 11:17:07 +08:00
tangjinzhou 18e16806ee bump 0.5.0 2018-05-08 11:53:14 +08:00
tangjinzhou 3bde45c73f docs: add 0.5.0 changelog 2018-05-08 11:49:56 +08:00
tangjinzhou f22a930d8a docs: update local-provider doc 2018-05-08 11:33:58 +08:00
tangjinzhou c50e0e04cd Merge branch 'feature-form' 2018-05-08 11:30:44 +08:00
tangjinzhou 4c37abf8b5 feat: add form doc 2018-05-08 11:20:07 +08:00
tjz c9006ec372 feat: update form demo 2018-05-07 22:51:10 +08:00
tangjinzhou 39dc1803fd feat: form 2018-05-07 18:40:25 +08:00
wangxueliang d8c4d580b6 fix: add props of vc-upload 2018-05-07 10:30:23 +08:00
tjz 72b9d175ba feat: add form demo 2018-05-06 21:53:00 +08:00
tjz d959c04a0c refactor: modify upload dragger name from 'ADragger' to 'AUploadDragger' 2018-05-06 21:52:16 +08:00
tjz 3837493567 chore: fix getProps bug 2018-05-06 21:50:05 +08:00
tjz 57698010f7 feat: forbid inheritAttrs 2018-05-06 20:37:39 +08:00
tjz 138274f9c6 feat: add form 2018-05-06 18:32:40 +08:00
tjz 790fe9c4b9 feat: add form demo 2018-05-05 21:38:03 +08:00
tjz 28468968c9 fix: radio bug 2018-05-05 17:46:04 +08:00
tjz f9a26e654d fix: checkbox target bug 2018-05-05 17:42:33 +08:00
tjz 87216c5527 fix: checkbox type 2018-05-05 17:39:56 +08:00
tjz dc9446fa19 refactor: vc-checkbox 2018-05-05 17:19:28 +08:00
tjz d1f017954e feat: add form 2018-05-05 17:00:51 +08:00
tjz 9c9b039421 feat: add vc-form demo 2018-05-04 22:41:32 +08:00
tangjinzhou 824666852d feat: add vc-form demo 2018-05-04 19:11:42 +08:00
tangjinzhou 0658674d3f feat: add vc-form demo 2018-05-04 16:02:31 +08:00
tangjinzhou 4f0c5b8ce1 feat: add vc-form demo 2018-05-04 12:16:17 +08:00
tjz c0bf96fccd feat: vc-form 2018-05-03 22:53:17 +08:00
tangjinzhou 07b0d46864 feat: update vc-form 2018-05-03 19:10:43 +08:00
tjz b5cd8f5714 feat: init vc-form component 2018-05-02 21:35:42 +08:00
tangjinzhou c04144afd9 docs: add 官网国内镜像 2018-05-02 16:47:36 +08:00
tangjinzhou fca425f720 fix: build scripts gulp task bug 2018-05-02 13:31:58 +08:00
tangjinzhou fb5c66d007 bump 0.4.3 2018-05-02 10:15:08 +08:00
tangjinzhou 6a9072d17f docs: add 0.4.3 changelog 2018-05-02 10:13:46 +08:00
tangjinzhou 9368c0886c docs: add site babel-polyfill 2018-05-02 09:59:42 +08:00
tangjinzhou 8457b670ca
Merge pull request #14 from lokyoung/fix/remove-vscode-config
fix: remove vscode config
2018-05-02 09:10:59 +08:00
lokyoung 16f6a644bb fix: remove vscode config 2018-04-27 14:06:26 +08:00
wangxueliang 104c7134dd fix: 更新文件后缀 2018-04-25 11:30:47 +08:00
tjz e71bb0375d bump 0.4.2 2018-04-24 22:59:02 +08:00
tjz 4221b0b9aa docs: add 0.4.2 changelog 2018-04-24 22:56:57 +08:00
tjz 3694ad80c7 fix: menu click bug 2018-04-24 22:52:16 +08:00
tangjinzhou 3d0e0b19a9 test: add snapshot support 2018-04-24 18:46:06 +08:00
tangjinzhou 2c62563d8a test: add snapshot support 2018-04-24 18:46:06 +08:00
tangjinzhou d2e484ddfa test: update button test 2018-04-23 18:46:11 +08:00
tangjinzhou 5f9e8cc59d test: update button test 2018-04-23 18:46:11 +08:00
tangjinzhou 09b7d87877 test: add codecov 2018-04-23 13:18:11 +08:00
tangjinzhou 4659dda09e test: add codecov 2018-04-23 13:18:11 +08:00
tangjinzhou 6cdb94af8b merge from master 2018-04-23 12:10:01 +08:00
tangjinzhou 0caf0dbeac merge from master 2018-04-23 12:10:01 +08:00
tangjinzhou a0cc30bf0e docs: add ISSUE_TEMPLATE 2018-04-23 09:42:15 +08:00
tjz 336142cfac test: button 2018-04-22 19:54:01 +08:00
tjz d6a3208c06 test: button 2018-04-22 19:54:01 +08:00
tjz 19546ffc07 bump 0.4.1 2018-04-22 18:13:00 +08:00
tjz 7fff8ccab9 chore: Transfer Vue's dependencies to devDependencies
将Vue依赖转移到devDependencies,避免与业务版本不一致导致的不稳定bug
2018-04-22 18:00:27 +08:00
tjz 5bc6a464d5 test: add unit test 2018-04-21 22:31:16 +08:00
tjz a471c1c7cf test: add unit test 2018-04-21 22:31:16 +08:00
tjz 97b2041fa5 docs: update docs build scripts 2018-04-21 19:01:52 +08:00
tjz 57be6c1947 docs: update use guard docs 2018-04-21 18:52:10 +08:00
tjz f186fe47b4 docs: add changelog docs 2018-04-21 18:50:10 +08:00
tjz f957193931 chore: add publish scripts 2018-04-21 18:41:13 +08:00
tjz e5f766cbca style: eslint fix .js .jsx .vue 2018-04-21 12:51:56 +08:00
tjz ebf031893f chore: add commit message validate 2018-04-21 12:34:57 +08:00
tangjinzhou 5974c09824 add fully import doc 2018-04-20 18:24:52 +08:00
tangjinzhou c1811d73db bump 0.4.0 2018-04-20 18:18:19 +08:00
tangjinzhou f3441ef8d4 add changelog 2018-04-20 18:05:32 +08:00
tangjinzhou ad6374236f add site iframe support 2018-04-20 17:07:41 +08:00
tangjinzhou 7fa005dbe6 add layout demo and doc 2018-04-20 16:58:40 +08:00
tangjinzhou 7f7e708987 add layout 2018-04-20 12:52:31 +08:00
tangjinzhou 89a29529eb delete full import doc 2018-04-20 10:33:47 +08:00
tangjinzhou cfcf04a474
Merge pull request #4 from lokyoung/feature/use-vue-install
feat: use vue install to setup the library
2018-04-19 17:16:48 +08:00
lokyoung 1138a256a1 doc: update related doc 2018-04-19 16:58:03 +08:00
lokyoung a8beca9c66 feat: export default for vue antd 2018-04-19 16:42:55 +08:00
lokyoung ee163becdb fix: fix export issue 2018-04-19 16:18:18 +08:00
lokyoung fc4e678616 fix: remove unused variable 2018-04-19 10:33:04 +08:00
wangxueliang cc2d9c4015 完善upload demo 2018-04-19 10:32:11 +08:00
lokyoung eba3acf503 style: fix style according to eslint 2018-04-19 10:31:12 +08:00
wangxueliang 3969bb49f5 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-19 10:28:13 +08:00
wangxueliang 881476b0f7 fix vc-upload 2018-04-19 10:26:58 +08:00
lokyoung 740abe9cd0 feat: use vue install to setup the library 2018-04-18 22:02:43 +08:00
tangjinzhou 36a11952dc bump 0.3.1 2018-04-17 12:18:22 +08:00
tangjinzhou 6c52417925 site support mobile 2018-04-17 10:57:54 +08:00
tjz 1a12427bfb add popover doc 2018-04-16 21:54:37 +08:00
tjz 35f9b02039 fix tree demo 2018-04-16 21:38:28 +08:00
tangjinzhou 3d228f019d Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-16 18:39:07 +08:00
tangjinzhou 28f63f538b fix select PropTypes 2018-04-16 18:39:00 +08:00
wangxueliang 7da09de27c fix vc-upload propstype 2018-04-16 15:14:30 +08:00
tjz dce6d138e7 fix doc 2018-04-14 21:49:27 +08:00
tjz 4d7364fe1a add local-provider transfer demo 2018-04-14 21:38:57 +08:00
tjz c2ab98a101 add datepicker support v-model 2018-04-14 21:22:09 +08:00
tjz 950365b3d2 add tree doc 2018-04-14 21:09:35 +08:00
tjz 7563a81642 fix slider 2018-04-14 17:27:50 +08:00
tjz 6aa1966af0 fix slider 2018-04-14 16:38:08 +08:00
tjz 01570ca308 fix tooltip bug 2018-04-13 22:41:20 +08:00
tangjinzhou ce191c946c merge 2018-04-13 19:01:33 +08:00
tangjinzhou c7e83d6142 add tree 2018-04-13 18:58:58 +08:00
wangxueliang 5eca7c4304 merge 2018-04-13 16:20:45 +08:00
wangxueliang b20dd51562 add upload 2018-04-13 16:19:50 +08:00
tjz 8eb563435b add vc-tree demo 2018-04-12 22:04:55 +08:00
wangxueliang dbb28903f2 add vc-upload demo 2018-04-12 14:37:22 +08:00
tjz a670a5e718 fix 2018-04-11 21:58:52 +08:00
tjz 8aa56f7dad fix vc-tree 2018-04-11 21:36:35 +08:00
tjz 8e6dd94107 add vc-tree 2018-04-11 21:25:16 +08:00
wangxueliang 388adbac35 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-11 15:17:47 +08:00
wangxueliang 6f3abfce42 add vc-upload 2018-04-11 15:17:34 +08:00
tangjinzhou 654f364acd add site search 2018-04-11 13:32:18 +08:00
tjz 8a4bdad9d3 fix docs 2018-04-10 21:44:45 +08:00
tangjinzhou ed664a06c3 fix docs 2018-04-10 13:37:06 +08:00
tangjinzhou 0ada8e7f47 fix docs 2018-04-10 12:08:41 +08:00
tjz f0123e89bf fix routers 2018-04-09 22:58:37 +08:00
tjz 963a7204a1 add docs 2018-04-09 22:49:58 +08:00
wangxueliang 6a2f865b7c Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-09 17:01:50 +08:00
wangxueliang 20e2273ae7 fix badge 2018-04-09 17:01:34 +08:00
tjz 528d61c7cd fix 2018-04-08 21:23:50 +08:00
tjz 008b01d250 fix components name 2018-04-08 21:17:20 +08:00
tjz 7e32edc649 fix site subnav 2018-04-07 19:16:21 +08:00
tjz 83e91585ea delete examples 2018-04-07 19:11:10 +08:00
tjz a8d1a90bf5 fix docs href 2018-04-07 19:10:34 +08:00
tjz bad5c96430 fix 2018-04-07 18:54:00 +08:00
tjz 4ab5cf70d8 update vc-tabs 2018-04-07 18:52:02 +08:00
tjz b7027ca779 fix md render 2018-04-07 17:38:39 +08:00
tjz 3e540df657 fix site 2018-04-07 15:22:47 +08:00
tjz 56312870e4 add icon 2018-04-07 14:37:52 +08:00
tjz d2b27ae364 fix type 2018-04-07 14:31:41 +08:00
tjz 07b992094c Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-07 14:30:20 +08:00
tjz 86af76b048 update to 3.4.0 2018-04-07 14:29:59 +08:00
wangxueliang 389bcf6de3 fix 2018-04-07 10:41:09 +08:00
wangxueliang ffc48c72af fix doc 2018-04-07 10:32:13 +08:00
wangxueliang 8e7ec3200e merge 2018-04-07 00:26:30 +08:00
wangxueliang 39f54ac1af add vc-lazy-load transfer 2018-04-07 00:20:45 +08:00
tjz 9f9599b32f update 3.4.0 2018-04-06 20:56:19 +08:00
tjz 777b51c392 fix 2018-04-06 18:02:59 +08:00
tjz 035f7a3f08 add api nav 2018-04-05 00:07:04 +08:00
tjz 024bd35c0f update site 2018-04-04 23:59:38 +08:00
tangjinzhou faf9b9b97d fix 2018-04-04 18:51:50 +08:00
tangjinzhou 44b2c3a477 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-04 18:39:41 +08:00
tangjinzhou 71db98cf63 update site 2018-04-04 18:39:21 +08:00
wangxueliang 751780cb75 add inputNumber 2018-04-04 13:57:23 +08:00
wangxueliang a70ea799fa merge 2018-04-04 12:05:40 +08:00
wangxueliang 460fa4b642 add vc-input-number 2018-04-04 12:04:49 +08:00
tangjinzhou 74266492c9 merge 2018-04-04 11:58:58 +08:00
tangjinzhou 5169b62458 update table doc 2018-04-04 10:29:42 +08:00
wangxueliang 94e76c2226 merge 2018-04-04 09:45:15 +08:00
wangxueliang 3578f9774e add vc-m-feedback 2018-04-04 09:44:19 +08:00
tjz 5d2271a131 add table demo 2018-04-03 22:18:18 +08:00
tjz 714f15ff7e fix timeline 2018-04-03 21:01:05 +08:00
tangjinzhou b228ac22dc Merge branches 'master' and 'master' of https://github.com/vueComponent/ant-design 2018-04-03 18:37:34 +08:00
wangxueliang 0794519184 fix grid demo 2018-04-03 17:09:25 +08:00
wangxueliang 254b8ba78f add grid demo 2018-04-03 17:03:32 +08:00
wangxueliang 7e397f8db5 add timeline 2018-04-03 15:51:44 +08:00
tangjinzhou 814e65429d add table demo 2018-04-03 14:34:54 +08:00
wangxueliang 2cee6f9bef add progress 2018-04-03 14:14:38 +08:00
wangxueliang 0d6a7a0a0f Merge branches 'master' and 'master' of https://github.com/vueComponent/ant-design 2018-04-03 11:01:36 +08:00
wangxueliang 045f95201d add vc-progress 2018-04-03 11:00:05 +08:00
tjz 8a7abeb934 add table demo 2018-04-02 22:13:11 +08:00
tangjinzhou 9d45f7a8dc add table edit-row demo 2018-04-02 18:35:35 +08:00
tangjinzhou ab1ff471c1 fix table api 2018-04-02 09:48:03 +08:00
tjz 849d7b9bf1 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-04-01 22:34:43 +08:00
tjz c74523aa66 add table demo 2018-04-01 22:33:01 +08:00
wangxueliang 73965dcaea fix 2018-04-01 20:18:33 +08:00
wangxueliang 0f0fdfaa5f merge 2018-04-01 19:25:02 +08:00
wangxueliang cdd3cda787 add slider v0.0.1 2018-04-01 19:23:56 +08:00
tjz a79400fc1d add table demo 2018-04-01 16:50:31 +08:00
tjz 19ce259981 fix render to customRender 2018-04-01 12:52:27 +08:00
tjz f1e62240e0 add table demo 2018-03-31 21:11:02 +08:00
tjz 846c2119e3 fix vc-table 2018-03-31 17:46:35 +08:00
tjz 50261e0236 update table 2018-03-30 22:00:55 +08:00
tangjinzhou a3c1d235a1 fix 2018-03-30 10:25:34 +08:00
tangjinzhou 591f286618 fix 2018-03-30 10:02:22 +08:00
tjz c376d5e79f add table 2018-03-29 22:08:04 +08:00
tangjinzhou b14152e69b Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-29 18:18:53 +08:00
tangjinzhou b2d5503768 done vc-table 2018-03-29 18:18:41 +08:00
wangxueliang 1096cae0a6 add vc-slider-demo 2018-03-29 14:32:43 +08:00
wangxueliang 12bd8af6fc add vc-slider-demo 2018-03-28 11:51:27 +08:00
tjz d3a59a5aae add vc-table demo 2018-03-27 22:41:41 +08:00
tangjinzhou b4526f8d1a add vc-table demo 2018-03-27 19:43:22 +08:00
tjz 6d5f04233d fix 2018-03-26 23:06:58 +08:00
tjz 29eceaf8f1 update vc-table 2018-03-26 23:05:29 +08:00
tangjinzhou d508fb1fbd Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-26 19:07:08 +08:00
tangjinzhou b25dfe8099 fix vc-table 2018-03-26 19:05:40 +08:00
wangxueliang ad98dc1ee7 fix 2018-03-26 12:18:06 +08:00
wangxueliang e61ba20af2 merge master 2018-03-26 10:10:12 +08:00
wangxueliang 7a7fbd59ef fix slider 2018-03-26 10:08:36 +08:00
tjz 0cdf29011d update tooltip demo 2018-03-25 22:24:57 +08:00
tjz 0c2ff441a7 fix vc-table 2018-03-25 22:23:04 +08:00
tjz 063078b42c add vc-table 2018-03-25 18:07:04 +08:00
tjz e95c22b681 add vc-table 2018-03-24 22:02:24 +08:00
tjz dd73d412e5 fix 2018-03-24 22:00:49 +08:00
tjz 53ed4f9a91 add vc-table 2018-03-24 21:55:00 +08:00
tjz 2ae63c13df add vc-tree 2018-03-24 17:12:22 +08:00
tjz ecc8dd4c7d add tree 2018-03-23 21:30:20 +08:00
wangxueliang 263dd3a520 add vc-slider v0.1 2018-03-23 18:37:32 +08:00
wangxueliang 847bed5bca update vc-slider 2018-03-23 11:06:50 +08:00
tjz 3bd916b73e fix readme 2018-03-22 22:20:04 +08:00
tjz b3c750d8ce add tabs and tag docs 2018-03-22 22:17:35 +08:00
tangjinzhou ea23f5841f Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-22 18:45:45 +08:00
wangxueliang ce7ca6c939 fix popconfirm 文档 2018-03-22 18:29:53 +08:00
wangxueliang 75356da275 add tooltip demo 2018-03-22 18:19:12 +08:00
tangjinzhou 2e587708d2 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-22 17:25:29 +08:00
tangjinzhou 3a51f27e43 add logo and update vc-XXX 2018-03-22 17:23:51 +08:00
wangxueliang eddff353fc add popconfirm demo 2018-03-22 16:19:02 +08:00
tjz af93808b70 add version 2018-03-21 21:16:11 +08:00
wangxueliang b3ed6ddd9c Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-21 15:46:09 +08:00
wangxueliang 9704271514 add rate demo 2018-03-21 15:45:01 +08:00
tangjinzhou 489b6a4324 fix site style 2018-03-21 14:40:36 +08:00
tangjinzhou 59503a064e update site 2018-03-21 13:52:06 +08:00
tangjinzhou e8c47ee5c5 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-21 13:32:05 +08:00
tangjinzhou 2efba66274 update docs 2018-03-21 13:31:55 +08:00
wangxueliang f8b519ea6c add vc-rate 2018-03-21 13:06:19 +08:00
tjz 82d4a580e9 update demo 2018-03-20 21:48:01 +08:00
tangjinzhou 273889fa70 update license and add input doc locale doc 2018-03-20 19:06:04 +08:00
tjz cef16b096f add date-picker doc 2018-03-20 09:10:56 +08:00
tjz def0f5678f add date-picker 2018-03-19 23:05:49 +08:00
tjz 48a1d430ec fix readme 2018-03-19 21:52:57 +08:00
tjz 338c92b1b4 fix readme 2018-03-19 21:43:04 +08:00
tjz e7ecf56ff9 fix compile config 2018-03-19 21:23:38 +08:00
tangjinzhou f7e163f7bc fix babelconfig 2018-03-19 19:09:30 +08:00
tangjinzhou 349488027c fix antd-tools 2018-03-19 17:51:47 +08:00
tangjinzhou 1a4c5f50c3 fix 2018-03-19 13:21:39 +08:00
tangjinzhou 7c8450a2a4 lint jsx 2018-03-19 10:47:23 +08:00
tangjinzhou 0d3ff16090 fix fime name 2018-03-19 10:27:03 +08:00
tangjinzhou 9c94a6947d fix alias to relative path 2018-03-19 10:25:42 +08:00
tangjinzhou e7f5342862 change .vue to .jsx 2018-03-19 10:16:27 +08:00
tangjinzhou 4984be5e4f fix template to jsx 2018-03-19 09:43:31 +08:00
tjz eb041a8b2d update date-picker demo 2018-03-18 22:05:55 +08:00
tjz a9d9fceafd fix 2018-03-18 20:26:15 +08:00
tjz bbb46d3de3 fix 2018-03-18 20:24:44 +08:00
tjz 20bbe12219 update pkgname 2018-03-18 20:21:15 +08:00
tjz f030f3a136 add publish sh 2018-03-18 19:59:38 +08:00
tjz 8aa92d4b48 add date-picker demo 2018-03-17 21:38:29 +08:00
tangjinzhou 536e7978e1 fix date-picker 2018-03-16 11:19:02 +08:00
tjz ef9a36f77f fix local 2018-03-15 22:21:25 +08:00
tjz 78d7fc8df6 add local 2018-03-15 21:57:42 +08:00
tjz 93fdc1d985 add local 2018-03-15 21:52:58 +08:00
tjz 0a923aff7b add date-picker 2018-03-15 21:40:34 +08:00
tjz 91ae0d546a fix calendar demo 2018-03-14 22:03:53 +08:00
tjz ca11705ef0 add calendar doc 2018-03-14 22:00:43 +08:00
wangxueliang 4b67c794d1 提取 vc-tooltip 2018-03-14 14:28:54 +08:00
tangjinzhou 80311825c0 update vc-xxx 2018-03-14 10:36:52 +08:00
tjz 2cdffdc6b4 add calendar 2018-03-13 22:40:13 +08:00
wangxueliang cee7acf327 merge master 2018-03-13 10:17:25 +08:00
tangjinzhou a8fa9d81be update vc-xxx 2018-03-13 10:19:00 +08:00
wangxueliang 1d12f17f79 add 2018-03-13 10:16:06 +08:00
tjz df32966897 add vc-calendar demo 2018-03-12 22:13:59 +08:00
tjz 2fd9588afc add vc-calendar 2018-03-11 21:28:13 +08:00
tjz 09a0ba91c9 update pagination 2018-03-11 19:01:53 +08:00
tjz d5462827fd update demo style 2018-03-11 15:27:34 +08:00
tjz 8df7d846a2 update pagination 2018-03-11 13:47:42 +08:00
tjz 830006fe03 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-11 12:48:16 +08:00
tjz 23225430c3 update steps 2018-03-11 12:48:04 +08:00
wangxueliang 80ea759117 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-10 22:39:30 +08:00
wangxueliang 9f8d77d3c8 add pagination demo 2018-03-10 22:39:12 +08:00
tjz 04e7d12d6b Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-03-10 22:10:40 +08:00
tjz 4d7f786035 add vc-calendar 2018-03-10 22:10:13 +08:00
wangxueliang e488cecdf3 fix steps demo 2018-03-10 20:59:15 +08:00
wangxueliang c0ef57df8e merge 2018-03-10 20:51:40 +08:00
wangxueliang 30218db8c1 add steps demo 2018-03-10 20:46:57 +08:00
tjz db0e49e5bc update breadcrumb 2018-03-10 13:34:26 +08:00
wangxueliang 861c11c537 merge 2018-03-09 18:56:06 +08:00
wangxueliang 4912ba5aa9 add vc-steps demo 2018-03-09 18:52:31 +08:00
tangjinzhou c1954e3ba1 fix badge and add doc 2018-03-09 17:50:33 +08:00
tangjinzhou 8e411d8c77 Merge branch 'lynn_branch' 2018-03-09 13:55:17 +08:00
赵丽 ff47347cf1 add page file 2018-03-09 13:26:34 +08:00
tangjinzhou 4775dc34b7 update vc-xxx 2018-03-09 12:20:21 +08:00
tangjinzhou 412bdc567a fix tag demo 2018-03-09 10:25:30 +08:00
tangjinzhou 62136faa44 add timepicker doc 2018-03-09 10:19:00 +08:00
tjz bf6cbd56eb add time-picker demo 2018-03-08 23:02:04 +08:00
tangjinzhou f0a9c28ebc update grid 2018-03-08 13:55:49 +08:00
tjz 615c72091e add time picker 2018-03-07 22:21:55 +08:00
tjz 816fe56d5f add modal doc and alert 2018-03-07 21:36:15 +08:00
wangxueliang 64a350bf38 merge 2018-03-07 10:51:40 +08:00
wangxueliang 705ece64bc add vc-steps 2018-03-07 10:50:11 +08:00
tangjinzhou 73597a19e5 fix pagination 2018-03-07 10:48:33 +08:00
tjz fab5c432ca add modal confirm 2018-03-06 22:53:32 +08:00
tangjinzhou e7834f972a merge pagination 2018-03-06 19:16:08 +08:00
tangjinzhou 61e9675608 add modal 2018-03-06 19:14:41 +08:00
wangxueliang c3e3c2f803 fix pagination 2018-03-06 15:40:42 +08:00
tjz 7d9ebee578 add dialog demo 2018-03-05 22:50:25 +08:00
wangxueliang 9ea479f200 merge 2018-03-05 19:07:48 +08:00
wangxueliang f34ccdbd0b add vc-pagination 2018-03-05 19:06:44 +08:00
tangjinzhou bc581e9ca1 add backtop 2018-03-05 19:05:23 +08:00
tjz a59063a320 fix 2018-03-04 23:04:29 +08:00
tjz b830a0395a add cascader doc 2018-03-04 17:11:32 +08:00
tjz 5cef22dbaa add cascader demo 2018-03-04 16:02:46 +08:00
tjz 6e8b5b9a20 add cascader 2018-03-03 19:14:03 +08:00
tjz de23e4de11 add vc-cascader 2018-03-02 22:12:52 +08:00
tangjinzhou dd1266ee61 add affix demo 2018-03-02 16:54:22 +08:00
tjz 08f9f6afbb add Affix 2018-03-01 22:47:08 +08:00
tangjinzhou 62a9a075b1 fix 2018-03-01 19:13:08 +08:00
tangjinzhou 72102ede33 fix 2018-03-01 19:09:45 +08:00
tangjinzhou 1a2b9228e5 delete donot use file 2018-03-01 14:24:02 +08:00
tangjinzhou 96c523b40e fix 2018-03-01 14:06:30 +08:00
tangjinzhou 88a2ac7eb7 add autocomplete 2018-03-01 12:34:31 +08:00
tangjinzhou 724d53b907 fix 2018-03-01 10:27:39 +08:00
tangjinzhou 222551e232 fix 2018-03-01 10:21:06 +08:00
tjz 44cae3f86d fix select custom event bug 2018-02-28 23:30:40 +08:00
tangjinzhou 5ef851def4 add autocomplete 2018-02-28 19:07:04 +08:00
tjz 8b95d85af9 优化 2018-02-27 21:58:55 +08:00
tangjinzhou 8dfeda8089 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-02-27 19:10:02 +08:00
tangjinzhou 100a3b39ef add auto-complete 2018-02-27 19:08:49 +08:00
wangxueliang 28e3a0424e fix switch 2018-02-27 18:00:11 +08:00
tangjinzhou 8faa2c85f6 fix switch 2018-02-27 15:28:30 +08:00
tangjinzhou bfe0e93c0b Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-02-27 14:08:29 +08:00
tangjinzhou 9b5b1cfd6f fix input 2018-02-27 14:08:15 +08:00
wangxueliang 027f5cc1e9 fix switch doc 2018-02-27 13:51:25 +08:00
wangxueliang 05eb16c18b merge 2018-02-27 13:37:57 +08:00
wangxueliang 4349a25304 merge 2018-02-27 13:02:44 +08:00
tangjinzhou 28672f9ee1 fix 2018-02-27 12:18:12 +08:00
tangjinzhou 8c48838692 add input demo and local provider 2018-02-27 12:17:53 +08:00
wangxueliang 06cf31cd60 add switch fix spin demo 2018-02-27 12:14:29 +08:00
tjz 5471f29705 fix demo style 2018-02-26 22:24:12 +08:00
tjz 841bf5fd18 delete console 2018-02-26 22:21:59 +08:00
tjz 93b2398682 done select 2018-02-26 22:19:48 +08:00
tangjinzhou 8e265996c7 update select demo 2018-02-26 18:44:06 +08:00
tjz 83c6483655 add select demo 2018-02-25 16:48:19 +08:00
tjz 64935c292f fix singleMode click 2018-02-24 20:54:55 +08:00
tjz 3c68faea28 add select basic demo 2018-02-24 19:53:21 +08:00
tjz 0eb2ba5864 update 2018-02-24 18:12:24 +08:00
tangjinzhou 1197d88798 add 国际化 2018-02-23 16:14:59 +08:00
tangjinzhou 4669e50827 fix 2018-02-23 11:28:43 +08:00
tjz d3c374c900 fix 2018-02-22 22:10:55 +08:00
tjz 69166f5fb5 fix 2018-02-22 22:09:03 +08:00
tangjinzhou 59c194853b update label title 2018-02-22 18:36:35 +08:00
tangjinzhou e2709d809e fix 2018-02-22 17:19:47 +08:00
tangjinzhou 0cf88eeae3 fix 2018-02-22 15:13:41 +08:00
tangjinzhou 1ec7df4a85 fix menu 2018-02-22 15:10:38 +08:00
tangjinzhou 655fca1a14 update 2018-02-22 15:09:03 +08:00
tangjinzhou 6d2e05f1e0 fix 2018-02-22 12:07:37 +08:00
tangjinzhou d87bb03b07 fix 2018-02-12 18:16:26 +08:00
tangjinzhou fcb3f8c5f0 add select demo 2018-02-12 18:10:51 +08:00
tangjinzhou 6ee21bcfd3 add select animate 2018-02-12 14:45:26 +08:00
tangjinzhou a88f5579b1 fix 2018-02-12 12:13:37 +08:00
tangjinzhou 6f2a45376d update select 2018-02-12 11:47:57 +08:00
tangjinzhou 88d7924d88 fix 2018-02-11 18:50:23 +08:00
tangjinzhou c44c425a67 fix select 2018-02-11 18:04:31 +08:00
tangjinzhou 832d13eb0c fix spin 2018-02-11 11:15:12 +08:00
tangjinzhou bd41173688 fix 2018-02-09 18:42:56 +08:00
tangjinzhou 702a22b227 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-02-09 18:42:36 +08:00
tangjinzhou 0197506b25 fix select 2018-02-09 18:42:19 +08:00
wangxueliang 1db0f4f0c6 fix spin demo css 2018-02-09 17:18:51 +08:00
wangxueliang 4e4695e985 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-02-09 17:10:07 +08:00
wangxueliang f410612fe1 add spin 2018-02-09 17:09:50 +08:00
tjz e836f1d3b8 fix 2018-02-08 21:58:43 +08:00
tangjinzhou eb82bae9af fix 2018-02-08 18:56:58 +08:00
tjz eaaa0a1bab fix select 2018-02-07 23:03:47 +08:00
tangjinzhou ce7f9850dd add select 2018-02-07 18:56:58 +08:00
赵丽 d736aec108 page for badge 2018-02-07 18:44:11 +08:00
tjz 493d37ad8e fix 2018-02-06 21:27:23 +08:00
tjz 1681033ceb fix 2018-02-06 21:07:43 +08:00
tangjinzhou 62adeccd94 add vc-select 2018-02-06 19:00:34 +08:00
tangjinzhou c258047c98 change path 2018-02-06 17:22:36 +08:00
tangjinzhou 7e102bfa3e fix docs 2018-02-06 16:53:30 +08:00
tangjinzhou 8de3527c11 add message 2018-02-06 16:43:59 +08:00
tangjinzhou dc4de421c5 change notification path 2018-02-06 15:32:32 +08:00
tangjinzhou cebce088c6 add notification 2018-02-06 15:21:13 +08:00
tjz aa62123899 add notification 2018-02-05 21:06:39 +08:00
tangjinzhou 1e6f60d8d2 add notification and fix tag bug 2018-02-05 19:12:41 +08:00
tangjinzhou 1906809049 update collapse animation 2018-02-05 15:07:21 +08:00
tangjinzhou c0f3169072 fix 2018-02-05 14:16:55 +08:00
tangjinzhou 4058e7dcae update components 2018-02-05 13:50:04 +08:00
tangjinzhou 93c3a70056 fix clone events 2018-02-05 11:18:50 +08:00
tjz 2df0dec687 fix mobile 2018-02-04 15:02:57 +08:00
tjz b12ce05ab2 add touch 2018-02-04 14:01:14 +08:00
tjz d9f31c1722 fix 2018-02-04 13:12:54 +08:00
tjz 6a1a12be66 fix chrome scroll _debounceScrollEnded 2018-02-04 11:08:04 +08:00
tjz 5c472615c2 fix 2018-02-03 22:06:18 +08:00
tjz ca4a6b9160 fix 2018-02-03 19:48:03 +08:00
tjz b88193e31d fix 2018-02-03 11:20:05 +08:00
tangjinzhou 35a8c72c0c fix 2018-02-02 19:09:38 +08:00
tangjinzhou b2394d66b7 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-02-02 17:42:20 +08:00
tangjinzhou 0c4c3100f6 fix 2018-02-02 17:42:05 +08:00
wangxueliang 553037d161 add collapse header slot 2018-02-02 17:19:42 +08:00
wangxueliang 1b50707da8 fix collapse 2018-02-02 16:34:27 +08:00
wangxueliang aa519f6014 fix 格式化 2018-02-01 18:32:17 +08:00
wangxueliang fdc40264b4 add collapse and demo 2018-02-01 18:18:05 +08:00
tangjinzhou 8401441e4e fix chrome bug 2018-02-01 17:07:44 +08:00
tangjinzhou 9f6e4b11e8 fix 2018-02-01 14:23:59 +08:00
tangjinzhou 12035c048c fix 2018-01-31 11:38:31 +08:00
tangjinzhou 9b2669ba99 fix 2018-01-31 10:30:09 +08:00
tangjinzhou 5cf383987c add divider 2018-01-30 18:22:41 +08:00
tangjinzhou 94311c3b48 fix 2018-01-30 17:59:34 +08:00
tangjinzhou bd0e0b4653 fix 2018-01-30 17:17:40 +08:00
tangjinzhou 6b7b035a84 fix 2018-01-30 17:13:44 +08:00
tangjinzhou d01d6eac06 update style 2018-01-30 16:52:56 +08:00
tangjinzhou 7da25d6075 fix 2018-01-29 19:05:36 +08:00
tangjinzhou bbc4a235a2 fix 2018-01-29 19:02:18 +08:00
tangjinzhou 804a1eba18 add dropdown 2018-01-29 18:57:20 +08:00
wangxueliang aa1bcfe5db fix card dynamic demo 2018-01-29 09:55:57 +08:00
wangxueliang 8a91d4a17b fix card dynamic 2018-01-28 20:30:25 +08:00
wangxueliang 4042b51761 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-01-26 14:29:32 +08:00
wangxueliang 33b936bc9c card demo 2018-01-26 13:48:20 +08:00
tangjinzhou 8135892318 fix 2018-01-25 18:27:41 +08:00
tangjinzhou f8cc3fbc92 fix 2018-01-25 18:25:23 +08:00
tangjinzhou d6a0c48383 fix 2018-01-25 18:23:40 +08:00
tangjinzhou 17373b2578 fix 2018-01-25 17:51:23 +08:00
tangjinzhou fd31801281 fix 2018-01-25 17:40:46 +08:00
tangjinzhou ebc5d64604 Merge branch 'master' of https://github.com/vueComponent/ant-design 2018-01-25 16:29:40 +08:00
tangjinzhou 5cfc8d4ece add theme 2018-01-25 16:29:23 +08:00
wangxueliang 004764b5f8 merge 2018-01-25 15:29:34 +08:00
wangxueliang eb86d20fde fix card and routes.js 2018-01-25 15:26:10 +08:00
tangjinzhou 9d905d8443 fix 2018-01-25 11:02:36 +08:00
tangjinzhou ffa18fa7ef fix 2018-01-25 11:02:07 +08:00
tjz 46ba224658 fix button demo 2018-01-24 22:53:45 +08:00
tangjinzhou db3f11bfd8 fix 2018-01-24 19:00:57 +08:00
tangjinzhou 3be8b0d654 fix 2018-01-24 19:00:40 +08:00
tangjinzhou 7295fd0d79 fix 2018-01-24 18:51:01 +08:00
tangjinzhou 9e4a6a4d14 fix 2018-01-24 15:40:09 +08:00
tangjinzhou 3bd2eb0b8e fix md 2018-01-24 15:39:21 +08:00
tangjinzhou cf9c8e585c fix demo 2018-01-23 19:00:20 +08:00
tangjinzhou 864118b47c fix site 2018-01-23 18:55:39 +08:00
tjz 2244a5e550 add 2018-01-22 21:27:37 +08:00
tjz 4d4caa3bc4 fix 2018-01-22 21:26:23 +08:00
tangjinzhou 1ed718b67f
Delete tooltip.vue 2018-01-22 21:24:07 +08:00
tangjinzhou b15c4c9779
Delete pagination.vue 2018-01-22 21:23:38 +08:00
4274 changed files with 607735 additions and 118457 deletions

36
.antd-tools.config.js Normal file
View File

@ -0,0 +1,36 @@
const fs = require('fs');
const path = require('path');
const restCssPath = path.join(process.cwd(), 'components', 'style', 'reset.css');
const tokenStatisticPath = path.join(process.cwd(), 'components', 'version', 'token.json');
const tokenMetaPath = path.join(process.cwd(), 'components', 'version', 'token-meta.json');
function finalizeCompile() {
if (fs.existsSync(path.join(__dirname, './es'))) {
fs.copyFileSync(restCssPath, path.join(process.cwd(), 'es', 'style', 'reset.css'));
fs.copyFileSync(tokenStatisticPath, path.join(process.cwd(), 'es', 'version', 'token.json'));
fs.copyFileSync(tokenMetaPath, path.join(process.cwd(), 'es', 'version', 'token-meta.json'));
}
if (fs.existsSync(path.join(__dirname, './lib'))) {
fs.copyFileSync(restCssPath, path.join(process.cwd(), 'lib', 'style', 'reset.css'));
fs.copyFileSync(tokenStatisticPath, path.join(process.cwd(), 'lib', 'version', 'token.json'));
fs.copyFileSync(tokenMetaPath, path.join(process.cwd(), 'lib', 'version', 'token-meta.json'));
}
}
function finalizeDist() {
if (fs.existsSync(path.join(__dirname, './dist'))) {
fs.copyFileSync(restCssPath, path.join(process.cwd(), 'dist', 'reset.css'));
}
}
module.exports = {
compile: {
finalize: finalizeCompile,
},
dist: {
finalize: finalizeDist,
},
bail: true,
};

2
.codecov.yml Normal file
View File

@ -0,0 +1,2 @@
codecov:
branch: master

View File

@ -1,9 +1,11 @@
# 🎨 editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
insert_final_newline = true

View File

@ -1 +1,13 @@
node_modules/
**/*.spec.*
**/style/
*.html
/components/test/*
es/
lib/
_site/
dist/
site/dist/
components/version/version.ts
site/src/router/demoRoutes.js
locale/

View File

@ -1,10 +0,0 @@
{
"parser": "babel-eslint",
"extends": ["plugin:vue-libs/recommended"],
"rules": {
"comma-dangle": [2, "always-multiline"],
"no-var": "error",
"no-unused-vars": "warn",
"camelcase": "off"
}
}

112
.eslintrc.js Normal file
View File

@ -0,0 +1,112 @@
module.exports = {
root: true,
env: {
browser: true,
node: true,
jasmine: true,
jest: true,
es6: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
parser: 'babel-eslint',
},
extends: [
'plugin:vue/vue3-recommended',
'plugin:import/recommended',
'plugin:import/typescript',
'@vue/typescript/recommended',
'@vue/prettier',
// 'prettier',
],
// extends: [
// 'eslint:recommended',
// 'plugin:vue/vue3-recommended',
// '@vue/typescript/recommended',
// '@vue/prettier',
// ],
plugins: ['markdown', 'jest', '@typescript-eslint', 'import'],
globals: {
h: true,
defineProps: 'readonly',
},
overrides: [
{
files: ['*.md'],
processor: 'markdown/markdown',
rules: {
'no-console': 'off',
},
},
{
files: ['*.ts', '*.tsx'],
// extends: ['@vue/typescript/recommended', '@vue/prettier'],
parserOptions: {
project: './tsconfig.json',
},
rules: {
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-unused-vars': [
'error',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },
],
'@typescript-eslint/ban-ts-comment': 0,
},
},
{
files: ['*.vue'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2021,
},
rules: {
'no-console': 'off',
'vue/no-reserved-component-names': 'off',
},
},
],
rules: {
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-unused-vars': [
'error',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true, argsIgnorePattern: '^_' },
],
'import/no-named-as-default': 'off',
'import/namespace': [2, { allowComputed: true }],
'import/no-named-as-default-member': 'off',
'import/no-unresolved': [2, { ignore: ['ant-design-vue'] }],
'comma-dangle': [2, 'always-multiline'],
'no-var': 'error',
'no-console': [2, { allow: ['warn', 'error'] }],
'object-shorthand': 2,
'no-unused-vars': [2, { ignoreRestSiblings: true, argsIgnorePattern: '^_' }],
'no-undef': 2,
camelcase: 'off',
'no-extra-boolean-cast': 'off',
semi: ['error', 'always'],
'vue/no-v-html': 'off',
'vue/require-explicit-emits': 'off',
'vue/require-prop-types': 'off',
'vue/require-default-prop': 'off',
'vue/no-reserved-keys': 'off',
'vue/comment-directive': 'off',
'vue/prop-name-casing': 'off',
'vue/one-component-per-file': 'off',
'vue/custom-event-name-casing': 'off',
'vue/v-on-event-hyphenation': 'off',
'vue/max-attributes-per-line': [
2,
{
singleline: 20,
multiline: 1,
},
],
'vue/multi-word-component-names': 'off',
},
};

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
*.jsx linguist-language=Vue
*.tsx linguist-language=Vue

5
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,5 @@
# These are supported funding model platforms
github: # [tangjinzhou]
open_collective: ant-design-vue
patreon: tangjinzhou

View File

@ -1,22 +0,0 @@
- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design/issues) of this repository and believe that this is not a duplicate.
### Version
...
### Environment
...
### Reproduction link
[example](https://codesandbox.io/s/2wpk21kzvr)
### Steps to reproduce
..
### What is expected?
...
### What is actually happening?
...
---
...

17
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,17 @@
blank_issues_enabled: true
contact_links:
- name: Create new issue
url: https://vuecomponent.github.io/issue-helper/
about: Please use the following link to create a new issue.
- name: Patreon
url: https://www.patreon.com/tangjinzhou
about: Love Ant Design Vue? Please consider supporting us via Patreon.
- name: Open Collective
url: https://opencollective.com/ant-design-vue/donate
about: Love Ant Design Vue? Please consider supporting us via Open Collective.
- name: Paypal
url: https://www.paypal.me/tangjinzhou
about: Love Ant Design Vue? Please consider supporting us via Paypal.
- name: 支付宝/微信 赞助
url: https://aliyuncdn.antdv.com/alipay-and-wechat.png
about: Ant Design Vue 的健康持续发展需要您的支持,🙏

50
.github/PULL_REQUEST_TEMPLATE/pr_cn.md vendored Normal file
View File

@ -0,0 +1,50 @@
首先,感谢你的贡献! 😄
新特性请提交至 feature 分支,其余可提交至 main 分支。在一个维护者审核通过后合并。请确保填写以下 pull request 的信息,谢谢!~
[[English Template / 英文模板](./pr_en.md)]
### 这个变动的性质是
- [ ] 新特性提交
- [ ] 日常 bug 修复
- [ ] 站点、文档改进
- [ ] 组件样式改进
- [ ] TypeScript 定义更新
- [ ] 重构
- [ ] 代码风格优化
- [ ] 分支合并
- [ ] 其他改动(是关于什么的改动?)
### 需求背景
> 1. 描述相关需求的来源。
> 2. 要解决的问题。
> 3. 相关的 issue 讨论链接。
### 实现方案和 API非新功能可选
> 1. 基本的解决思路和其他可选方案。
> 2. 列出最终的 API 实现和用法。
> 3. 涉及 UI/交互变动需要有截图或 GIF。
### 对用户的影响和可能的风险(非新功能可选)
> 1. 这个改动对用户端是否有影响?影响的方面有哪些?
> 2. 是否有可能隐含的 break change 和其他风险?
### Changelog 描述(非新功能可选)
> 1. 英文描述
> 2. 中文描述(可选)
### 请求合并前的自查清单
- [ ] 文档已补充或无须补充
- [ ] 代码演示已提供或无须提供
- [ ] TypeScript 定义已补充或无须补充
- [ ] Changelog 已提供或无须提供
### 后续计划(非新功能可选)
> 如果这个提交后面还有相关的其他提交和跟进信息,可以写在这里。

51
.github/PULL_REQUEST_TEMPLATE/pr_en.md vendored Normal file
View File

@ -0,0 +1,51 @@
First of all, thank you for your contribution! 😄
New feature please send pull request to feature branch, and rest to main branch. Pull request will be merged after one of collaborators approve. Please makes sure that these form are filled before submitting your pull request, thank you!
[[中文版模板 / Chinese template](./pr_cn.md)]
### This is a ...
- [ ] New feature
- [ ] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Branch merge
- [ ] Other (about what?)
### What's the background?
> 1. Describe the source of requirement.
> 2. Resolve what problem.
> 3. Related issue link.
### API Realization (Optional if not new feature)
> 1. Basic thought of solution and other optional proposal.
> 2. List final API realization and usage sample.
> 3. GIF or snapshot should be provided if includes UI/interactive modification.
### What's the effect? (Optional if not new feature)
> 1. Does this PR affect user? Which part will be affected?
> 2. What will say in changelog?
> 3. Does this PR contains potential break change or other risk?
### Changelog description (Optional if not new feature)
> 1. English description
> 2. Chinese description (optional)
### Self Check before Merge
- [ ] Doc is updated/provided or not needed
- [ ] Demo is updated/provided or not needed
- [ ] TypeScript definition is updated/provided or not needed
- [ ] Changelog is provided or not needed
### Additional Plan? (Optional if not new feature)
> If this PR related with other PR or following info. You can type here.

14
.github/issue-close-app.yml vendored Normal file
View File

@ -0,0 +1,14 @@
comment: "Your issue has been closed because it does not conform to our issue requirements. Please use the [Issue Helper](https://vuecomponent.github.io/issue-helper/) to create an issue, thank you! <br/><br/> 为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](https://vuecomponent.github.io/issue-helper/) 来创建 issue 以方便我们定位错误。谢谢配合!"
issueConfigs:
- content:
- "<!-- generated by issue-helper. DO NOT REMOVE -->"
- content:
- "Version"
- "Environment"
- "Reproduction link"
- "Steps to reproduce"
- "What is expected"
- "What is actually happening"
- content:
- "What problem does this feature solve"
- "What does the proposed API look like"

76
.github/workflows/codecov.yml vendored Normal file
View File

@ -0,0 +1,76 @@
name: codecov
on: [push]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: cache package-lock.json
uses: actions/cache@v1
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: create package-lock.json
run: npm i --package-lock-only --ignore-scripts
- name: hack for singe file
run: |
if [ ! -d "package-temp-dir" ]; then
mkdir package-temp-dir
fi
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v1
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: install
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: npm ci
node:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
# with:
# token: ${{ secrets.ACCESS_TOKEN }}
# - name: Checkout submodules
# uses: actions/checkout@v2
# with:
# repository: tangjinzhou/antdv-demo
# token: ${{ secrets.ACCESS_TOKEN }}
# path: antdv-demo
# submodules: true
- name: restore cache from package-lock.json
uses: actions/cache@v1
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
uses: actions/cache@v1
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: Generate coverage report
run: npm test
env:
COVERAGE: "true"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
needs: setup

14
.github/workflows/emoji-helper.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Emoji Helper
on:
release:
types: [published]
jobs:
emoji:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/emoji-helper@v1.0.0
with:
type: 'release'
emoji: '+1, laugh, heart, hooray, rocket, eyes'

View File

@ -0,0 +1,23 @@
name: Issue Close Require
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- name: need reproduce
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: '🤔 Need Reproduce'
inactive-day: 7
body: |
Since the issue was labeled with `Need Reproduce`, but no response in 7 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要复现信息,却 7 天未收到回应。现关闭 issue若有任何问题可评论回复。

76
.github/workflows/issue-labeled.yml vendored Normal file
View File

@ -0,0 +1,76 @@
name: Issue Labeled
on:
issues:
types: [labeled]
permissions:
contents: read
jobs:
issue-labeled:
permissions:
issues: write # for actions-cool/issues-helper to update issues
pull-requests: write # for actions-cool/issues-helper to update PRs
runs-on: ubuntu-latest
steps:
- name: Need Reproduce
if: github.event.label.name == '🤔 Need Reproduce'
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking this [link for vue2](https://codesandbox.io/s/2wpk21kzvr)、 [link for vue3](https://codesandbox.io/s/agitated-franklin-1w72v) or a minimal GitHub repository. Make sure to choose the correct version.
你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处 for vue2](https://codesandbox.io/s/2wpk21kzvr)、 [此处 for vue3](https://codesandbox.io/s/agitated-franklin-1w72v) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。
- name: help wanted
if: github.event.label.name == 'help wanted'
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch, fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
你好 @${{ github.event.issue.user.login }},我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支,务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review提前感谢和期待您的贡献。
- name: Usage
if: github.event.label.name == 'Usage'
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment, close-issue'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}, we use GitHub issues to trace bugs or discuss plans of Ant Design Vue. So, please don't ask usage questions here. You can try to open a new discussion in [antdv discussions](https://github.com/vueComponent/ant-design-vue/discussions), select `Q&A` to ask questions, also can ask questions on [Stack Overflow](http://stackoverflow.com/questions/) or [Segment Fault](https://segmentfault.com).
你好 @${{ github.event.issue.user.login }}Ant Design Vue Issue 板块是用于 bug 反馈与需求讨论的地方。请勿询问如何使用的问题,你可以试着在 [antdv discussions](https://github.com/vueComponent/ant-design-vue/discussions) 新开一个 discussion选择 `Q&A` 类别进行提问,也可以在 [Stack Overflow](http://stackoverflow.com/questions/) 或者 [Segment Fault](https://segmentfault.com/) 中提问。
- name: 1.x
if: github.event.label.name == '1.x'
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment,close-issue'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hi @${{ github.event.issue.user.login }}. Current version (1.x) is off the maintenance period. We may not accept pull request or fix bug with it anymore. This topic will be auto closed.
你好 @${{ github.event.issue.user.login }}当前版本1.x已经过了维护期。我们不会再接受对其的相关 PR 与 issue。当前 topic 会被自动关闭。
- name: 2.x
if: github.event.label.name == '2.x'
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment,close-issue'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hi @${{ github.event.issue.user.login }}. Current version (2.x) is off the maintenance period. We may not accept pull request or fix bug with it anymore. This topic will be auto closed.
你好 @${{ github.event.issue.user.login }}当前版本2.x已经过了维护期。我们不会再接受对其的相关 PR 与 issue。当前 topic 会被自动关闭。

34
.github/workflows/issue-open-check.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Issue Open Check
on:
issues:
types: [opened]
permissions:
contents: read
jobs:
issue-open-check:
permissions:
contents: read # for visiky/dingtalk-release-notify to get latest release
issues: write # for actions-cool/issues-helper to update issues
pull-requests: write # for actions-cool/issues-helper to update PRs
runs-on: ubuntu-latest
steps:
- uses: actions-cool/check-user-permission@v1.0.0
id: checkUser
with:
require: 'write'
- name: check invalid
if: (contains(github.event.issue.body, 'issue-helper') == false) && (steps.checkUser.outputs.result == 'false')
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment,add-labels,close-issue'
issue-number: ${{ github.event.issue.number }}
labels: 'Invalid'
body: |
Hello @${{ github.event.issue.user.login }}, your issue has been closed because it does not conform to our issue requirements. Please use the [Issue Helper](https://vuecomponent.github.io/issue-helper/) to create an issue, thank you!
你好 @${{ github.event.issue.user.login }},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](https://vuecomponent.github.io/issue-helper/) 来创建 issue 以方便我们定位错误。谢谢配合!

23
.github/workflows/lock-issue.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: 'Lock threads'
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '365'
issue-lock-labels: 'outdated'
issue-lock-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-lock-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

19
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: "Close stale issues"
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
exempt-issue-labels: 'bug,enhancement'
days-before-stale: 60
days-before-close: 7

115
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,115 @@
name: test
on: [push, pull_request]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: cache package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: create package-lock.json
run: npm i --package-lock-only --ignore-scripts
- name: hack for singe file
run: |
if [ ! -d "package-temp-dir" ]; then
mkdir package-temp-dir
fi
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: install
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: npm ci
compile:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: cache lib
uses: actions/cache@v2
with:
path: lib
key: lib-${{ github.sha }}
- name: cache es
uses: actions/cache@v2
with:
path: es
key: es-${{ github.sha }}
- name: compile
run: npm run compile
needs: setup
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: lint
run: npm run lint
needs: setup
node:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: test
run: npm test
needs: setup

26
.gitignore vendored
View File

@ -36,9 +36,6 @@ build/Release
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
@ -62,7 +59,28 @@ typings/
dist
lib
es
site-dist
/locale
_site
yarn.lock
package-lock.json
pnpm-lock.yaml
/coverage
# 备份文件
/components/test/*
list.txt
site/dev.js
# IDE 语法提示临时文件
vetur/
report.html
site/src/router/demoRoutes.js
components/version/version.ts
components/version/version.tsx
components/version/token.json
components/version/token-meta.json
~component-api.json

1
.husky/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_

4
.husky/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install pretty-quick --staged

7
.huskyrc Normal file
View File

@ -0,0 +1,7 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-publish": "npm run lint",
"commit-msg": "commitlint -x @commitlint/config-conventional -e $GIT_PARAMS"
}
}

60
.jest.js Normal file
View File

@ -0,0 +1,60 @@
const libDir = process.env.LIB_DIR;
const transformIgnorePatterns = [
'/dist/',
// Ignore modules without es dir.
// Update: @babel/runtime should also be transformed
// 'node_modules/(?!.*(@babel|lodash-es))',
'node_modules/(?!@ant-design/icons-vue|@ant-design/icons-svg|lodash-es)/',
];
const testPathIgnorePatterns = ['/node_modules/', 'node'];
function getTestRegex(libDir) {
if (libDir === 'dist') {
return 'demo\\.test\\.js$';
}
return '.*\\.test\\.(j|t)sx?$';
}
module.exports = {
verbose: true,
setupFiles: ['./tests/setup.js'],
setupFilesAfterEnv: ['./tests/setupAfterEnv.ts'],
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'vue', 'md', 'jpg'],
modulePathIgnorePatterns: ['/_site/'],
testPathIgnorePatterns: testPathIgnorePatterns,
transform: {
'\\.(vue|md)$': '<rootDir>/node_modules/@vue/vue3-jest',
'\\.(js|jsx)$': '<rootDir>/node_modules/babel-jest',
'\\.(ts|tsx)$': '<rootDir>/node_modules/ts-jest',
'\\.svg$': '<rootDir>/node_modules/jest-transform-stub',
},
testRegex: getTestRegex(libDir),
moduleNameMapper: {
'^@/(.*)$/': '<rootDir>/$1',
'^ant-design-vue$': '<rootDir>/components/index',
'^ant-design-vue/es/(.*)$': '<rootDir>/components/$1',
},
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],
collectCoverage: process.env.COVERAGE === 'true',
collectCoverageFrom: [
'components/**/*.{js,jsx,vue}',
'!components/*/__tests__/**/type.{js,jsx}',
'!components/vc-*/**/*',
'!components/*/demo/**/*',
'!components/_util/**/*',
'!components/align/**/*',
'!components/trigger/**/*',
'!**/node_modules/**',
],
testEnvironment: 'jsdom',
testEnvironmentOptions: {
url: 'http://localhost',
customExportConditions: ['node', 'node-addons'],
},
transformIgnorePatterns,
globals: {
'ts-jest': {
babelConfig: true,
},
},
};

1
.npmrc Normal file
View File

@ -0,0 +1 @@
enable-pre-post-scripts=true

31
.prettierignore Normal file
View File

@ -0,0 +1,31 @@
**/*.svg
lib/
es/
dist/
_site/
coverage/
CNAME
LICENSE
yarn.lock
netlify.toml
yarn-error.log
*.sh
*.snap
.gitignore
.npmignore
.prettierignore
.DS_Store
.editorconfig
.eslintignore
**/*.yml
**/assets
.gitattributes
.stylelintrc
.vcmrc
.png
.npmrc.template
.huskyrc
.gitmodules
*.png
v2-doc/

17
.prettierrc Normal file
View File

@ -0,0 +1,17 @@
{
"singleQuote": true,
"trailingComma": "all",
"endOfLine": "lf",
"printWidth": 100,
"proseWrap": "never",
"arrowParens": "avoid",
"htmlWhitespaceSensitivity": "ignore",
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
}
]
}

View File

@ -1,6 +1,5 @@
{
"extends": "stylelint-config-standard",
"ignoreFiles": "./components/**",
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"rules": {
"comment-empty-line-before": null,
"declaration-empty-line-before": null,

43
.stylelintrc.json Normal file
View File

@ -0,0 +1,43 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-rational-order",
"stylelint-config-prettier"
],
"customSyntax": "postcss-less",
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
"rules": {
"function-name-case": ["lower"],
"function-no-unknown": [
true,
{
"ignoreFunctions": [
"fade",
"fadeout",
"tint",
"darken",
"ceil",
"fadein",
"floor",
"unit",
"shade",
"lighten",
"percentage",
"-"
]
}
],
"import-notation": null,
"no-descending-specificity": null,
"no-invalid-position-at-import-rule": null,
"declaration-empty-line-before": null,
"keyframes-name-pattern": null,
"custom-property-pattern": null,
"number-max-precision": 8,
"alpha-value-notation": "number",
"color-function-notation": "legacy",
"selector-class-pattern": null,
"selector-id-pattern": null,
"selector-not-notation": null
}
}

View File

@ -1,9 +0,0 @@
language: node_js
sudo: required
node_js:
- 8.2.1
script:
- bash ./scripts/deploy-to-gh-pages.sh
env:
matrix:
secure: PBbJaS48HA/mkj9PuGuRxs00DEJR77XfuPdSlTvCq0QxLIR6wIO+t3LLJdOQctZIX6KWBR/Zq3zSn5bRxgPIaRcoyuEU25ga4cexJMEh1ymE23uTiDcnWwWN0X1jZKGuHPvqVKjyToAv6XW24mTXNvEAqD2uL101JxBseoWJ/2VtyOjJFJwcGbw+MTLymWCZiAF10w+k0SyigawaxZLlYL9LZXv4w3oCjCwuiTD/T6rvyT3wGQzXx7/P7XQGL4el4lE7leuK5m2PhWvX2S3t2FRpoZPw0DINJu5XzuBr3DSMErQjCrP4Ep8iqW8pGGLkoXbcxK3/K+uSy0k+DdBN7jRgnnOeLpqeVUSMaM6LRnl2XyDWL3dKpVbEzZaFkRTmAwdbgYjI+7Enn3/GtseMASo/gK47m2k+kE/msoqwpTGLC5DBOBKxdNShdFnEbOxLUUiVNgoZRXbj6VhdueqK89LsMDsnxzmFtrU8Ytgv8wJsFd5IkIhCStmQ9bdTqER659hd1Qqdh6Qe36AfpZcetOLr86Z++CSwA/pZbLPeEVrfCHDh6V3DPQXG+Zlf/m60OAmhosJ+4dxZwRnR8LnaDFZ+uLYMz+vJGeOtFHvczz7TW4mznjguLE51crG+mkBGT2dx1UUg7zs41lz3GtH9WY8cSG4y5ryjDl6YkXwoiZI=

3
.vcmrc
View File

@ -9,7 +9,8 @@
"perf",
"test",
"chore",
"revert"
"revert",
"ci"
],
"warnOnFail": false,
"autoFix": false

55
BACKERS.md Normal file
View File

@ -0,0 +1,55 @@
<h1 align="center">Sponsors &amp; Backers</h1>
<br><br>
<h2 align="center">企业赞助</h2>
<p align="center">
<a href="http://www.powerproject.com.cn/" target="_blank"><img width="193" src="http://www.powerproject.com.cn/wp-content/uploads/2019/08/2019080215041192.png" title="donation by wechat"></a>
</p>
<h2 align="center">Sponsors</h2>
<p align="center">
<a href="https://opencollective.com/ant-design-vue/sponsor/0/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/1/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/2/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/3/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/4/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/5/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/6/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/7/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/8/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/9/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/sponsor/10/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/10/avatar.svg"></a>
</p>
<h2 align="center">Backers</h2>
<p align="center">
<a href="https://github.com/chuzhixin/vue-admin-beautiful" target="_blank"><img width="64" style="border-radius: 50%;" src="https://gitee.com/chu1204505056/image/raw/master/vue-admin-beautiful.png" title="vue-admin-beautiful"></a>
<a href="https://github.com/limichange" target="_blank"><img width="64" style="border-radius: 50%;" src="https://avatars0.githubusercontent.com/u/1947344?s=400&v=4" title="limichange donation total 24$ by qq from 2018.9"></a>
<a href="https://opencollective.com/ant-design-vue/backer/0/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/1/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/2/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/3/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/4/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/5/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/6/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/7/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/8/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/9/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/ant-design-vue/backer/10/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/10/avatar.svg"></a>
</p>
<h2 align="center">Patreon</h2>
<p align="center">
<a href="https://www.mokeyjay.com" target="_blank"><img width="64" style="border-radius: 50%;" src="https://www.mokeyjay.com/headimg.png" title="donation by Patreon"></a>
</p>
<h2 align="center">支付宝/微信</h2>
### 使用支付宝/微信的赞助的用户,如需要添加名单,赞助后可发 github 账号到邮箱(antdv@foxmail.com)
- [fastgoo](https://github.com/fastgoo)
- [sendya](https://github.com/sendya)
- [limichange](https://github.com/limichange)
- [LvHang](https://github.com/184005306)

View File

@ -1,47 +1,239 @@
# Change Log
# Change Log (The following content is translated by Google)
`ant-design-vue` strictly follows [Semantic Versioning 2.0.0](http://semver.org/).
#### Release Schedule
- Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
- Monthly release: minor version at the end of every month for new features.
- Major version release is not included in this schedule for breaking change and new features.
---
## 0.5.0
## 4.2.6
`2018-05-08`
- 🐞 Fix Modal component aria-hidden error problem under chrome [#7823](https://github.com/vueComponent/ant-design-vue/issues/7823)
- 🐞 Fix the problem that the built-in input method of Safari automatically fills in the decimal point when inputting Chinese [#7918](https://github.com/vueComponent/ant-design-vue/issues/7918)
- 🐞 Fix InputNumber component disabled style problem [#7776](https://github.com/vueComponent/ant-design-vue/issues/7776)
- 🐞 Fix Select cannot lose focus problem [#7819](https://github.com/vueComponent/ant-design-vue/issues/7819)
- 🌟 `Form`: add Form component
- 💄 `Upload.Dragger`: Modify `name` name to `a-upload-dragger`
- 🐞 `Upload`: Fix `name` prop not working
## 4.2.5
## 0.4.3
- 🐞 Fix Empty component memory leak problem
- 🐞 Fix Image width & height property not working problem
`2018-05-02`
## 4.2.4
- 🐞 Fix component style loss problem
- 🌟 site add babel-polyfill
- 🐞 Fix Wave memory leak problem
## 0.4.2
## 4.2.3
`2018-04-24`
- 🌟 TourStep custom Button, support function children [#7628](https://github.com/vueComponent/ant-design-vue/pull/7628)
- 🐞 Fix the problem that the input value is hidden in Select and Cascader search multi-select mode [#7640](https://github.com/vueComponent/ant-design-vue/issues/7640)
- 🐞 fix menu click bug
## 4.2.2
## 0.4.1
- 🐞 Fix TreeSelect placeholder slot invalid [#7545](https://github.com/vueComponent/ant-design-vue/issues/7545)
- 🐞 Fix Tree slot responsive invalid issue [40ad45](https://github.com/vueComponent/ant-design-vue/commit/40ad45bc05b2bf9d0a2445d9f6ff365468ba90b7)
- 🐞 Fix FloatButton target type error issue [#7576](https://github.com/vueComponent/ant-design-vue/issues/7576)
- 🐞 Fix FormItem className error issue [#7582](https://github.com/vueComponent/ant-design-vue/issues/7582)
- 🐞 Fix Input Cannot input problem under lazy [#7543](https://github.com/vueComponent/ant-design-vue/issues/7543)
- 🐞 Fix the problem that placeholder is not hidden when inputting Chinese in Select [#7611](https://github.com/vueComponent/ant-design-vue/issues/7611)
- 🐞 Fix the problem that the pop-up window flashes when clicking the preset option in DatePicker [#7550](https://github.com/vueComponent/ant-design-vue/issues/7550)
#### bug
## 4.2.1
- Transfer Vue's dependencies to devDependencies to avoid unstable bugs caused by inconsistency with business versions
- 🐞 fix Input clear action error [#7523](https://github.com/vueComponent/ant-design-vue/issues/7523)
## 0.4.0
## 4.2.0
#### Layout
- 🌟 Optimize the textColor change when the layout component switches to dark mode [#7498](https://github.com/vueComponent/ant-design-vue/issues/7498)
- 🌟 Tooltip added arrow hidden configuration [#7459](https://github.com/vueComponent/ant-design-vue/issues/7459)
- 🌟 Optimize Table hover performance [#7451](https://github.com/vueComponent/ant-design-vue/issues/7451)
- 🐞 Fixed the problem of changing the model during useForm verification, resulting in verification errors [#ffd4d8](https://github.com/vueComponent/ant-design-vue/commit/ffd4d8fe927f9ea40cbb6358ad997c447bd9a74e)
- 🐞 Fix Tabs folding calculation error issue [#7491](https://github.com/vueComponent/ant-design-vue/issues/7491)
- 🐞 Fix Qrcode missing type hint issue [#7502](https://github.com/vueComponent/ant-design-vue/issues/7502)
- 🐞 Fix Menu rendering error under SSR [#7349](https://github.com/vueComponent/ant-design-vue/issues/7349)
- 🐞 Fix Select and Cascader rendering errors under SSR [#7377](https://github.com/vueComponent/ant-design-vue/issues/7377)
- 🐞 Fix AutoComplete missing option slot declaration issue [#7396](https://github.com/vueComponent/ant-design-vue/issues/7396)
- 🐞 Fix Textarea autoSize not taking effect [#7478](https://github.com/vueComponent/ant-design-vue/issues/7478)
- 🐞 Fix Paginations Enter key triggering two page turns [#7368](https://github.com/vueComponent/ant-design-vue/issues/7368)
- 🐞 Fix the problem of Chinese input in the input box [#7391](https://github.com/vueComponent/ant-design-vue/issues/7391)[#7516](https://github.com/vueComponent/ant- design-vue/issues/7516)
- 🐞 Fix Carousel beforeChange current parameter error issue [#7419](https://github.com/vueComponent/ant-design-vue/issues/7419)
- add `layout` component
## 4.1.2
#### Others
- 🐞 Fix table resize error reporting under vue 3.4 [#7291](https://github.com/vueComponent/ant-design-vue/issues/7291)
- 🐞 Fix the problem that the Segmented title attribute is not displayed [#7302](https://github.com/vueComponent/ant-design-vue/issues/7302)
- support use [Vue.use(antd)](https://github.com/vueComponent/ant-design/issues/3)
## 4.1.1
- 🌟 QRcode adds scanned status [#7242](https://github.com/vueComponent/ant-design-vue/issues/7242)
- 🐞 Fix css prefix issue in nuxt [#7256](https://github.com/vueComponent/ant-design-vue/issues/7256)
- 🐞 Fix dropdown closing issue [#7246](https://github.com/vueComponent/ant-design-vue/issues/7246)
- 🐞 Fix divider vertical dashed not display issue [#7218](https://github.com/vueComponent/ant-design-vue/issues/7218)
- 🐞 Fix hook mode message console warning issue [#7281](https://github.com/vueComponent/ant-design-vue/issues/7281)
- 🐞 Fix table expansion error reporting under vue 3.4 [#7265](https://github.com/vueComponent/ant-design-vue/issues/7265)
- 🐞 Fix table group filter status error issue [#7233](https://github.com/vueComponent/ant-design-vue/issues/7233)
## 0.3.1
## 4.1.0
#### Features
- 🐞 support vue 3.4 [#7239](https://github.com/vueComponent/ant-design-vue/issues/7239)
- first version, provide 45 [components](https://github.com/vueComponent/ant-design/blob/c7e83d6142f0c5e72ef8fe794620478e69a50a8e/site/components.js)
## 4.0.8
- 🐞 Fix theme responsiveness failure issue under Nuxt [#7180](https://github.com/vueComponent/ant-design-vue/issues/7180)
- 🐞 Fix error reporting caused by Wave [#7108](https://github.com/vueComponent/ant-design-vue/issues/7108)
- 🐞 Fix Upload disabled inheritance issue [#7110](https://github.com/vueComponent/ant-design-vue/issues/7110)
- 🐞 Fix Tooltip popupAlign not taking effect [#7112](https://github.com/vueComponent/ant-design-vue/issues/7112)
- 🐞 Fix Typography flashing problem [#7146](https://github.com/vueComponent/ant-design-vue/issues/7146)
- 🐞 Fix the issue that RangePicker prevIcon nextIcon does not take effect [#7127](https://github.com/vueComponent/ant-design-vue/issues/7127)
- 🐞 Fixed the issue of watermark not monitoring child element changes [#7149](https://github.com/vueComponent/ant-design-vue/issues/7149)
- 🐞 Fix Menu animation missing issue [#7130](https://github.com/vueComponent/ant-design-vue/issues/7130)
- 🐞 Fix the cursor change issue when TextArea autosize [#7121](https://github.com/vueComponent/ant-design-vue/issues/7121)
## 4.0.7
- 🌟 Added Flex component [#7052](https://github.com/vueComponent/ant-design-vue/issues/7052)
- 🌟 ConfigProvider adds wave configuration [#7036](https://github.com/vueComponent/ant-design-vue/issues/7036)
- 🌟 Watermark supports dark mode [#7067](https://github.com/vueComponent/ant-design-vue/issues/7067)
- 🐞 Fix Space duplicate Key problem [#7048](https://github.com/vueComponent/ant-design-vue/issues/7048)
- 🐞 Fix Upload disabled priority error issue [#7047](https://github.com/vueComponent/ant-design-vue/issues/7047)
- 🐞 Fix Carousel rendering error in jsx [#7077](https://github.com/vueComponent/ant-design-vue/issues/7077)
- 🐞 Fix Message offset position problem [#7093](https://github.com/vueComponent/ant-design-vue/issues/7093)
- 🐞 Fix the problem of animation failure when using Collapse custom prefix [#7074](https://github.com/vueComponent/ant-design-vue/issues/7074)
## 4.0.6
- 🐞 Fix the Dropdown onVisibleChange failure issue introduced in 4.0.4 [#7031](https://github.com/vueComponent/ant-design-vue/issues/7031)
## 4.0.5
- 🐞 Fix cssinjs performance issue [#7023](https://github.com/vueComponent/ant-design-vue/issues/7023)
## 4.0.4
- 🌟 Added esm target file
- 🌟 Added tooltip attribute to FormItem [#7014](https://github.com/vueComponent/ant-design-vue/issues/7014)
- 🐞 Fix useMessage getContainer not taking effect [#6942](https://github.com/vueComponent/ant-design-vue/issues/6942)
- 🐞 Fix the problem of Image triggering onPreviewVisibleChange event multiple times [#6945](https://github.com/vueComponent/ant-design-vue/issues/6945)
- 🐞 Fix the problem that Checkbox global disabled does not take effect [#6970](https://github.com/vueComponent/ant-design-vue/issues/6970)
- 🐞 Fix Drawer contentWrapperStyle not taking effect [#6983](https://github.com/vueComponent/ant-design-vue/issues/6983)
- 🐞 Optimize Select Dropdown and other drop-down list scroll bar display hidden logic [#6987](https://github.com/vueComponent/ant-design-vue/issues/6987)
- 🐞 Fix the problem of hiding when there are components such as input in the drop-down list such as Select Dropdown [#7020](https://github.com/vueComponent/ant-design-vue/issues/7020)
## 4.0.3
- 🐞 Fix the problem of style loss under shadow Dom [#6912](https://github.com/vueComponent/ant-design-vue/issues/6912)
- 🐞 Upgrade Icon dependency and fix icon css missing problem under shadow Dom [#6914](https://github.com/vueComponent/ant-design-vue/issues/6914)
## 4.0.2
- 🐞 Fix useMessage causing body to be removed [#6880](https://github.com/vueComponent/ant-design-vue/issues/6880)
- 🐞 Fix the problem that the water ripple effect does not disappear after Button loading is switched [#6895](https://github.com/vueComponent/ant-design-vue/issues/6895)
- 🐞 Fixed the problem that flip does not reset after Image is closed [#6913](https://github.com/vueComponent/ant-design-vue/issues/6913)
- 🐞 Fix ImageGroup animation effect loss problem [#6898](https://github.com/vueComponent/ant-design-vue/issues/6898)
- 🐞 Fix Modal missing onUpdate:open attribute declaration [#6876](https://github.com/vueComponent/ant-design-vue/issues/6876)
- 🐞 Fixed the issue of multiple clicks being triggered at the edge of Transfer's Checkbox [#6902](https://github.com/vueComponent/ant-design-vue/issues/6902)
## 4.0.1
- 🌟 FloatButton add Badge support [#6738](https://github.com/vueComponent/ant-design-vue/issues/6738)
- 🌟 Image preview zoom in and out sensitivity adjustment [#6784](https://github.com/vueComponent/ant-design-vue/issues/6784)
- 🌟 Add flip feature to Image [#6785](https://github.com/vueComponent/ant-design-vue/issues/6785)
- 🌟 Add App component to provide context [#6735](https://github.com/vueComponent/ant-design-vue/issues/6735)
- 🌟 Style extraction feature for SSR [#6757](https://github.com/vueComponent/ant-design-vue/issues/6757)
- 🌟 Support px2rem [#6817](https://github.com/vueComponent/ant-design-vue/issues/6817)
- 🌟 Tag supports borderless mode [#6819](https://github.com/vueComponent/ant-design-vue/issues/6819)
- 🌟 Avatar group mode supports shape [#6822](https://github.com/vueComponent/ant-design-vue/issues/6822)
- 🌟 AutoComplete supports borderless and custom clearIcon [#6829](https://github.com/vueComponent/ant-design-vue/issues/6829)
- 🌟 InputPassword supports controlled visible [#6863](https://github.com/vueComponent/ant-design-vue/issues/6863)
- 🐞 Fix the style misalignment problem when InputGroup is large [#6866](https://github.com/vueComponent/ant-design-vue/issues/6866)
- 🐞 Fix the problem that Checkable Tag cannot customize class [#6854](https://github.com/vueComponent/ant-design-vue/issues/6854)
- 🐞 Fix the rendering problem in Tabs animation mode [#6855](https://github.com/vueComponent/ant-design-vue/issues/6855)
- 🐞 Fix the problem that the Image height attribute does not take effect [#6840](https://github.com/vueComponent/ant-design-vue/issues/6840)
- 🐞 Fix InputNumber trigger mouseup event [#6772](https://github.com/vueComponent/ant-design-vue/issues/6772)
- 🐞 Fix the Dropdown style problem when Tabs are collapsed [#6757](https://github.com/vueComponent/ant-design-vue/issues/6757)
- 🐞 Fix Table expandedRowRender property does not take effect [#6783](https://github.com/vueComponent/ant-design-vue/issues/6783)
- 🐞 Fix dayjs not packaged into dist [#6767](https://github.com/vueComponent/ant-design-vue/issues/6767)
- 🐞 Fix clipPath browser compatibility issue [#6770](https://github.com/vueComponent/ant-design-vue/issues/6770)
- 🐞 Fix Carousel autoplay responsive problem [#6768](https://github.com/vueComponent/ant-design-vue/issues/6768)
- 🐞 Fix PageHeader ghost style problem [#6761](https://github.com/vueComponent/ant-design-vue/issues/6761)
- 🐞 Fix Checkbox not triggering Form validation [#6741](https://github.com/vueComponent/ant-design-vue/issues/6741)
- 🐞 Fix the problem that the Input prefix attribute does not take effect [#6810](https://github.com/vueComponent/ant-design-vue/issues/6810)
- 🐞 Fix Badge style problem in Avatar [#6874](https://github.com/vueComponent/ant-design-vue/issues/6874)
## 4.0
### 🔥🔥🔥 4.0 official version released 🔥🔥🔥
### Design specification adjustment
- Basic rounded corner adjustment, changed from unified `2px` to four-level rounded corners, which are `2px` `4px` `6px` `8px` respectively, which are applied to different scenarios, for example, the rounded corners of the default size Button are adjusted to `6px`.
- Main color adjustment, changed from `#1890ff` to `#1677ff`.
- Overall shadow adjustment, from the original three-level shadow adjustment to two levels, which are used for resident page components (such as Card) and interactive feedback (such as Dropdown).
- Adjust the internal spacing of some components.
- Overall de-wireframing.
### Add 5 new components
- Segmented segment controller
- WaterMark watermark
- QrCode QR code
- FloatButton floating button
- Tour roaming guide
### Technical adjustments
- Deprecated less and adopted CSS-in-JS to better support dynamic themes.
- All less files are removed, and less variables no longer support leaking.
- css files are no longer included in the product. Since CSS-in-JS supports importing on demand, the original `ant-design-vue/dist/antd.css` has also been removed. If you need to reset some basic styles, please import `ant-design-vue/dist/reset .css`.
- If you need to reset the style of the component and don't want to introduce `ant-design-vue/dist/reset.css` to pollute the global style, you can try to use [App component](/components/app), to solve the problem that native elements do not have ant-design-vue specification style.
- Removed css variables and dynamic theme schemes built on top of it.
- LocaleProvider has been deprecated in 3.x (use `<ConfigProvider locale />` instead), we have completely removed the related directories `ant-design-vue/es/locale-provider`, `ant- design-vue/lib/locale-provider`.
- `babel-plugin-import` is no longer supported, CSS-in-JS itself has the ability to load on demand, no longer need plug-in support.
#### Component API adjustments
- The classname API of the component popup is unified to `popupClassName`, and similar APIs such as `dropdownClassName` will be replaced.
- AutoComplete component
- Cascader component
- Select component
- TreeSelect component
- TimePicker component
- DatePicker component
- Mentions component
- The controlled visibility API of the component popup is unified as `open`, and `visible` and other similar APIs will be replaced.
- Drawer component `visible` becomes `open`.
- Modal component `visible` becomes `open`.
- Dropdown component `visible` becomes `open`.
- Tooltip component `visible` becomes `open`.
- Tag component `visible` has been removed.
- Slider component `tooltip` related API converges to `tooltip` property.
- Table component `filterDropdownVisible` changed to `filterDropdownOpen`.
- `getPopupContainer`: All `getPopupContainer` needs to ensure that the returned div is unique.
- Drawer `style` and `class` are migrated to the Drawer popup area, and the original attributes are replaced by `rootClassName` and `rootStyle`.
#### Component refactoring and removal
- Remove the `locale-provider` directory. `LocaleProvider` has been removed in v4, please use `ConfigProvider` instead.
- Remove `xxxl` breakpoint attribute in grid layout. `xxxl` attribute has been removed in v4, you can use [theme customization](/docs/vue/customize-theme) to modify `screen[XS|SM|MD|LG|XL|XXL]` to modify the break Point value achieved.
- The BackTop component was deprecated in `4.0.0` and moved to the FloatButton floating button. If needed, it can be imported from FloatButton.
### [Upgrade Guide](/docs/vue/migration-v4)
## 3.x
Visit [GitHub](https://github.com/vueComponent/ant-design-vue/blob/3.x/CHANGELOG.zh-CN.md) `3.x` Change Log。
## 2.x
Visit [GitHub](https://github.com/vueComponent/ant-design-vue/blob/2.x/CHANGELOG.zh-CN.md) `2.x` Change Log。
## 1.x
Visit [GitHub](https://github.com/vueComponent/ant-design-vue/blob/1.x/CHANGELOG.en-US.md) to read change logs from `0.x` to `1.x`.

View File

@ -1,49 +1,239 @@
# 更新日志
`ant-design-vue` 严格遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。
#### 发布周期
- 修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix则任何时候都可发布
- 次版本号:每月发布一个带有新特性的向下兼容的版本。
- 主版本号:含有破坏性更新和新特性,不在发布周期内。
---
## 0.5.0
## 4.2.6
`2018-05-08`
- 🐞 修复 Modal 组件在 chrome 下aria-hidden 报错问题 [#7823](https://github.com/vueComponent/ant-design-vue/issues/7823)
- 🐞 修复 Safari 下自带输入法 input 组件输入中文时,自动填写小数点问题 [#7918](https://github.com/vueComponent/ant-design-vue/issues/7918)
- 🐞 修复 InputNumber 组件 disabled 样式问题 [#7776](https://github.com/vueComponent/ant-design-vue/issues/7776)
- 🐞 修复 Select 无法失焦问题 [#7819](https://github.com/vueComponent/ant-design-vue/issues/7819)
- 🌟 `Form `新增Form表单组件
- 💄 `Upload.Dragger`: 修改组件name名称为`a-upload-dragger`
- 🐞 `Upload`: 修复Upload name属性失效问题
## 4.2.5
- 🐞 修复 Empty 组件内存泄漏问题
- 🐞 修复 Image width & height 属性不生效问题
## 0.4.3
## 4.2.4
`2018-05-02`
- 🐞 修复 Wave 内存泄漏问题
- 🐞 修复组件样式丢失问题
- 🌟 站点添加babel-polyfill
## 4.2.3
## 0.4.2
- 🌟 TourStep 自定义 Button支持函数 children [#7628](https://github.com/vueComponent/ant-design-vue/pull/7628)
- 🐞 修复 Select 和 Cascader 搜索多选模式下,输入值被隐藏问题 [#7640](https://github.com/vueComponent/ant-design-vue/issues/7640)
`2018-04-24`
## 4.2.2
- 🐞 修复menu 非 inline 模式下的 click bug
- 🐞 修复 TreeSelect placeholder 插槽无效 [#7545](https://github.com/vueComponent/ant-design-vue/issues/7545)
- 🐞 修复 Tree 插槽响应式无效问题 [40ad45](https://github.com/vueComponent/ant-design-vue/commit/40ad45bc05b2bf9d0a2445d9f6ff365468ba90b7)
- 🐞 修复 FloatButton target 类型错误问题 [#7576](https://github.com/vueComponent/ant-design-vue/issues/7576)
- 🐞 修复 FormItem className 错误问题 [#7582](https://github.com/vueComponent/ant-design-vue/issues/7582)
- 🐞 修复 Input lazy 下无法输入问题 [#7543](https://github.com/vueComponent/ant-design-vue/issues/7543)
- 🐞 修复 Select 输入中文时placeholder 未隐藏问题 [#7611](https://github.com/vueComponent/ant-design-vue/issues/7611)
- 🐞 修复 DatePicker 点击预设选项时,弹窗闪动问题 [#7550](https://github.com/vueComponent/ant-design-vue/issues/7550)
## 0.4.1
## 4.2.1
#### bug
- 🐞 修复 Input 清空操作才报错问题 [#7523](https://github.com/vueComponent/ant-design-vue/issues/7523)
- 将Vue依赖转移到devDependencies避免与业务版本不一致导致的不稳定bug
## 4.2.0
## 0.4.0
- 🌟 优化 layout 组件切换 dark 模式时 textColor 变化 [#7498](https://github.com/vueComponent/ant-design-vue/issues/7498)
- 🌟 Tooltip 新增 arrow 隐藏配置 [#7459](https://github.com/vueComponent/ant-design-vue/issues/7459)
- 🌟 优化 Table hover 性能 [#7451](https://github.com/vueComponent/ant-design-vue/issues/7451)
- 🐞 修复 useForm 校验时更改 model导致校验错误问题 [#ffd4d8](https://github.com/vueComponent/ant-design-vue/commit/ffd4d8fe927f9ea40cbb6358ad997c447bd9a74e)
- 🐞 修复 Tabs 折叠计算错误问题 [#7491](https://github.com/vueComponent/ant-design-vue/issues/7491)
- 🐞 修复 Qrcode 缺少类型提示问题 [#7502](https://github.com/vueComponent/ant-design-vue/issues/7502)
- 🐞 修复 Menu 在 SSR 下渲染错误问题 [#7349](https://github.com/vueComponent/ant-design-vue/issues/7349)
- 🐞 修复 Select、Cascader 在 SSR 下渲染错误问题 [#7377](https://github.com/vueComponent/ant-design-vue/issues/7377)
- 🐞 修复 AutoComplete 缺少 option slot 声明问题 [#7396](https://github.com/vueComponent/ant-design-vue/issues/7396)
- 🐞 修复 Textarea autoSize 不生效问题 [#7478](https://github.com/vueComponent/ant-design-vue/issues/7478)
- 🐞 修复 Pagination 回车键触发两次翻页问题 [#7368](https://github.com/vueComponent/ant-design-vue/issues/7368)
- 🐞 修复输入框输入中文问题 [#7391](https://github.com/vueComponent/ant-design-vue/issues/7391)[#7516](https://github.com/vueComponent/ant-design-vue/issues/7516)
- 🐞 修复 Carousel beforeChange current 参数错误问题 [#7419](https://github.com/vueComponent/ant-design-vue/issues/7419)
#### Layout
## 4.1.2
- 新增 Layout 组件
- 🐞 修复 table resize 在 vue 3.4 下报错问题 [#7291](https://github.com/vueComponent/ant-design-vue/issues/7291)
- 🐞 修复 Segmented title 属性不显示问题 [#7302](https://github.com/vueComponent/ant-design-vue/issues/7302)
#### 其它
## 4.1.1
- 支持导入所有组件[Vue.use(antd)](https://github.com/vueComponent/ant-design/issues/3)
- 🌟 QRcode 新增 scanned 状态 [#7242](https://github.com/vueComponent/ant-design-vue/issues/7242)
- 🐞 修复 css prefix 在 nuxt 问题 [#7256](https://github.com/vueComponent/ant-design-vue/issues/7256)
- 🐞 修复 dropdown 关闭问题 [#7246](https://github.com/vueComponent/ant-design-vue/issues/7246)
- 🐞 修复 divider vertical dashed 不显示问题 [#7218](https://github.com/vueComponent/ant-design-vue/issues/7218)
- 🐞 修复 hook 模式 message 控制台 warning 问题 [#7281](https://github.com/vueComponent/ant-design-vue/issues/7281)
- 🐞 修复 table 展开在 vue 3.4 下报错问题 [#7265](https://github.com/vueComponent/ant-design-vue/issues/7265)
- 🐞 修复 table group 过滤状态错误问题 [#7233](https://github.com/vueComponent/ant-design-vue/issues/7233)
## 4.1.0
## 0.3.1
- 🐞 适配 vue 3.4 [#7239](https://github.com/vueComponent/ant-design-vue/issues/7239)
#### Features
## 4.0.8
- 对外第一个版本提供常用45个[组件](https://github.com/vueComponent/ant-design/blob/c7e83d6142f0c5e72ef8fe794620478e69a50a8e/site/components.js)
- 🐞 修复在 Nuxt 下 theme 响应式失效问题 [#7180](https://github.com/vueComponent/ant-design-vue/issues/7180)
- 🐞 修复 Wave 引起的报错问题 [#7108](https://github.com/vueComponent/ant-design-vue/issues/7108)
- 🐞 修复 Upload disabled 继承问题 [#7110](https://github.com/vueComponent/ant-design-vue/issues/7110)
- 🐞 修复 Tooltip popupAlign 未生效问题 [#7112](https://github.com/vueComponent/ant-design-vue/issues/7112)
- 🐞 修复 Typography 闪动问题 [#7146](https://github.com/vueComponent/ant-design-vue/issues/7146)
- 🐞 修复 RangePicker prevIcon nextIcon 未生效问题 [#7127](https://github.com/vueComponent/ant-design-vue/issues/7127)
- 🐞 修复 watermark 未监听子元素变动问题 [#7149](https://github.com/vueComponent/ant-design-vue/issues/7149)
- 🐞 修复 Menu 动画丢失问题 [#7130](https://github.com/vueComponent/ant-design-vue/issues/7130)
- 🐞 修复 TextArea autosize 时光标变化问题 [#7121](https://github.com/vueComponent/ant-design-vue/issues/7121)
## 4.0.7
- 🌟 新增 Flex 组件 [#7052](https://github.com/vueComponent/ant-design-vue/issues/7052)
- 🌟 ConfigProvider 新增 wave 配置 [#7036](https://github.com/vueComponent/ant-design-vue/issues/7036)
- 🌟 Watermark 支持暗黑模式 [#7067](https://github.com/vueComponent/ant-design-vue/issues/7067)
- 🐞 修复 Space 重复 Key 问题 [#7048](https://github.com/vueComponent/ant-design-vue/issues/7048)
- 🐞 修复 Upload disabled 优先级错误问题 [#7047](https://github.com/vueComponent/ant-design-vue/issues/7047)
- 🐞 修复 Carousel 在 jsx 中渲染错误问题 [#7077](https://github.com/vueComponent/ant-design-vue/issues/7077)
- 🐞 修复 Message 偏移位置问题 [#7093](https://github.com/vueComponent/ant-design-vue/issues/7093)
- 🐞 修复 Collapse 自定义 prefix 时动画失效问题 [#7074](https://github.com/vueComponent/ant-design-vue/issues/7074)
## 4.0.6
- 🐞 修复 4.0.4 引入的 Dropdown onVisibleChange 失效问题 [#7031](https://github.com/vueComponent/ant-design-vue/issues/7031)
## 4.0.5
- 🐞 修复 cssinjs 性能问题 [#7023](https://github.com/vueComponent/ant-design-vue/issues/7023)
## 4.0.4
- 🌟 新增 esm 目标文件
- 🌟 FormItem 新增 tooltip 属性 [#7014](https://github.com/vueComponent/ant-design-vue/issues/7014)
- 🐞 修复 useMessage getContainer 不生效问题 [#6942](https://github.com/vueComponent/ant-design-vue/issues/6942)
- 🐞 修复 Image 多次触发 onPreviewVisibleChange 事件问题 [#6945](https://github.com/vueComponent/ant-design-vue/issues/6945)
- 🐞 修复 Checkbox 全局 disabled 不生效问题 [#6970](https://github.com/vueComponent/ant-design-vue/issues/6970)
- 🐞 修复 Drawer contentWrapperStyle 不生效问题 [#6983](https://github.com/vueComponent/ant-design-vue/issues/6983)
- 🐞 优化 Select Dropdown 等下拉列表滚动条显示隐藏逻辑 [#6987](https://github.com/vueComponent/ant-design-vue/issues/6987)
- 🐞 修复 Select Dropdown 等下拉列表中有 input 等组件时,隐藏问题 [#7020](https://github.com/vueComponent/ant-design-vue/issues/7020)
## 4.0.3
- 🐞 修复 shadow Dom 下样式丢失问题 [#6912](https://github.com/vueComponent/ant-design-vue/issues/6912)
- 🐞 升级 Icon 依赖,修复 shadow Dom 下 icon css 丢失问题 [#6914](https://github.com/vueComponent/ant-design-vue/issues/6914)
## 4.0.2
- 🐞 修复 useMessage 导致 body 被移除问题 [#6880](https://github.com/vueComponent/ant-design-vue/issues/6880)
- 🐞 修复 Button loading 切换后,水波纹效果不消失问题 [#6895](https://github.com/vueComponent/ant-design-vue/issues/6895)
- 🐞 修复 Image 关闭后 flip 没有重置问题 [#6913](https://github.com/vueComponent/ant-design-vue/issues/6913)
- 🐞 修复 ImageGroup 动画效果丢失问题 [#6898](https://github.com/vueComponent/ant-design-vue/issues/6898)
- 🐞 修复 Modal 缺少 onUpdate:open 属性声明 [#6876](https://github.com/vueComponent/ant-design-vue/issues/6876)
- 🐞 修复 Transfer 的 Checkbox 边缘处会触发多次 click 问题 [#6902](https://github.com/vueComponent/ant-design-vue/issues/6902)
## 4.0.1
- 🌟 FloatButton 添加 Badge 支持 [#6738](https://github.com/vueComponent/ant-design-vue/issues/6738)
- 🌟 Image 预览放大缩小灵敏度调整 [#6784](https://github.com/vueComponent/ant-design-vue/issues/6784)
- 🌟 Image 新增翻转特性 [#6785](https://github.com/vueComponent/ant-design-vue/issues/6785)
- 🌟 新增 App 组件,用于提供上下文 [#6735](https://github.com/vueComponent/ant-design-vue/issues/6735)
- 🌟 样式抽离特性用于 SSR [#6757](https://github.com/vueComponent/ant-design-vue/issues/6757)
- 🌟 支持 px2rem [#6817](https://github.com/vueComponent/ant-design-vue/issues/6817)
- 🌟 Tag 支持无边框模式 [#6819](https://github.com/vueComponent/ant-design-vue/issues/6819)
- 🌟 Avatar group 模式支持 shape [#6822](https://github.com/vueComponent/ant-design-vue/issues/6822)
- 🌟 AutoComplete 支持无边框和自定义 clearIcon [#6829](https://github.com/vueComponent/ant-design-vue/issues/6829)
- 🌟 InputPassword 支持受控 visible [#6863](https://github.com/vueComponent/ant-design-vue/issues/6863)
- 🐞 修复 InputGroup 在 large 时样式错位问题 [#6866](https://github.com/vueComponent/ant-design-vue/issues/6866)
- 🐞 修复 Checkable Tag 无法自定义 class 问题 [#6854](https://github.com/vueComponent/ant-design-vue/issues/6854)
- 🐞 修复 Tabs 动画模式下渲染问题 [#6855](https://github.com/vueComponent/ant-design-vue/issues/6855)
- 🐞 修复 Image height 属性不生效问题 [#6840](https://github.com/vueComponent/ant-design-vue/issues/6840)
- 🐞 修复 InputNumber 触发 mouseup 事件问题 [#6772](https://github.com/vueComponent/ant-design-vue/issues/6772)
- 🐞 修复 Tabs 折叠时 Dropdown 样式问题 [#6757](https://github.com/vueComponent/ant-design-vue/issues/6757)
- 🐞 修复 Table expandedRowRender 属性不生效 [#6783](https://github.com/vueComponent/ant-design-vue/issues/6783)
- 🐞 修复 dayjs 未打包进 dist 问题 [#6767](https://github.com/vueComponent/ant-design-vue/issues/6767)
- 🐞 解决 clipPath 浏览器兼容问题 [#6770](https://github.com/vueComponent/ant-design-vue/issues/6770)
- 🐞 修复 Carousel autoplay 响应式问题 [#6768](https://github.com/vueComponent/ant-design-vue/issues/6768)
- 🐞 修复 PageHeader ghost 样式问题 [#6761](https://github.com/vueComponent/ant-design-vue/issues/6761)
- 🐞 修复 Checkbox 没有触发 Form 校验问题 [#6741](https://github.com/vueComponent/ant-design-vue/issues/6741)
- 🐞 修复 Input prefix 属性未生效问题 [#6810](https://github.com/vueComponent/ant-design-vue/issues/6810)
- 🐞 修复 Badge 在 Avatar 中样式问题 [#6874](https://github.com/vueComponent/ant-design-vue/issues/6874)
## 4.0
### 🔥🔥🔥 4.0 正式版发布 🔥🔥🔥
### 设计规范调整
- 基础圆角调整,由统一的 `2px` 改为四级圆角,分别为 `2px` `4px` `6px` `8px`,分别应用于不同场景,比如默认尺寸的 Button 的圆角调整为了 `6px`
- 主色调整,由 `#1890ff` 改为 `#1677ff`
- 整体阴影调整,由原本的三级阴影调整为两级,分别用于常驻页面的组件(如 Card和交互反馈如 Dropdown
- 部分组件内间距调整。
- 整体去线框化。
### 新增 5 个组件
- Segmented 分段控制器
- WaterMark 水印
- QrCode 二维码
- FloatButton 悬浮按钮
- Tour 漫游式引导
### 技术调整
- 弃用 less采用 CSS-in-JS更好地支持动态主题。
- 所有 less 文件全部移除less 变量不再支持透出。
- 产物中不再包含 css 文件。由于 CSS-in-JS 支持按需引入,原本的 `ant-design-vue/dist/antd.css` 也已经移除,如果需要重置一些基本样式请引入 `ant-design-vue/dist/reset.css`
- 如果需要组件重置样式,又不想引入 `ant-design-vue/dist/reset.css` 从而导致污染全局样式的话,可以尝试在应用最外层使用[App 组件](/components/app-cn),解决原生元素没有 ant-design-vue 规范样式的问题。
- 移除 css variables 以及在此之上构筑的动态主题方案。
- LocaleProvider 在 3.x 中已经废弃(使用 `<ConfigProvider locale />` 替代),我们在 4.x 里彻底移除了相关目录 `ant-design-vue/es/locale-provider`、`ant-design-vue/lib/locale-provider`。
- 不再支持 `babel-plugin-import`CSS-in-JS 本身具有按需加载的能力,不再需要插件支持。
#### 组件 API 调整
- 组件弹框的 classname API 统一为 `popupClassName``dropdownClassName` 等类似 API 都会被替换。
- AutoComplete 组件
- Cascader 组件
- Select 组件
- TreeSelect 组件
- TimePicker 组件
- DatePicker 组件
- Mentions 组件
- 组件弹框的受控可见 API 统一为 `open``visible` 等类似 API 都会被替换。
- Drawer 组件 `visible` 变为 `open`
- Modal 组件 `visible` 变为 `open`
- Dropdown 组件 `visible` 变为 `open`
- Tooltip 组件 `visible` 变为 `open`
- Tag 组件 `visible` 已移除。
- Slider 组件 `tooltip` 相关 API 收敛到 `tooltip` 属性中。
- Table 组件 `filterDropdownVisible` 变为 `filterDropdownOpen`
- `getPopupContainer`: 所有的 `getPopupContainer` 都需要保证返回的是唯一的 div。
- Drawer `style``class` 迁移至 Drawer 弹层区域上,原属性替换为 `rootClassName``rootStyle`
#### 组件重构与移除
- 移除 `locale-provider` 目录。`LocaleProvider` 在 v4 中已移除,请使用 `ConfigProvider` 替代。
- 移除栅格布局中的`xxxl`断点属性。 `xxxl`属性已经在 v4 被移除,您可以使用 [主题定制](/docs/vue/customize-theme-cn) 修改 `screen[XS|SM|MD|LG|XL|XXL]` 来修改断点值实现。
- BackTop 组件在 `4.0.0` 中废弃,移至 FloatButton 悬浮按钮中。如需使用,可以从 FloatButton 中引入。
### [升级指南](/docs/vue/migration-v4-cn)
## 3.x
去 [GitHub](https://github.com/vueComponent/ant-design-vue/blob/3.x/CHANGELOG.zh-CN.md) 查看 `3.x` 的 Change Log。
## 2.x
去 [GitHub](https://github.com/vueComponent/ant-design-vue/blob/2.x/CHANGELOG.zh-CN.md) 查看 `2.x` 的 Change Log。
## 1.x
去 [GitHub](https://github.com/vueComponent/ant-design-vue/blob/1.x/CHANGELOG.zh-CN.md) 查看 `0.x``1.x` 的 Change Log。

24
LICENSE
View File

@ -1,7 +1,7 @@
MIT License
Copyright (c) 2017-present vue-antd-ui
Copyright (c) 2017-present ant-design-vue
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -44,3 +44,25 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
MIT License
Copyright (c) 2019-PRESENT Anthony Fu<https://github.com/antfu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,46 +1,120 @@
<p align="center">
<a href="https://vuecomponent.github.io/ant-design/">
<img width="230" src="https://raw.githubusercontent.com/vueComponent/ant-design/master/logo.png">
<a href="https://www.antdv.com/">
<img width="200" src="https://aliyuncdn.antdv.com/logo.png">
</a>
</p>
# [Ant Design Vue](https://vuecomponent.github.io/ant-design/)
[![Travis branch](https://api.travis-ci.org/vueComponent/ant-design.svg?branch=master)](https://travis-ci.org/vueComponent/ant-design)
[![Dependency Status](https://beta.gemnasium.com/badges/github.com/vueComponent/ant-design.svg)](https://beta.gemnasium.com/projects/github.com/vueComponent/ant-design)
[![npm package](https://img.shields.io/npm/v/vue-antd-ui.svg?style=flat)](https://www.npmjs.org/package/vue-antd-ui)
[![NPM downloads](http://img.shields.io/npm/dm/vue-antd-ui.svg?style=flat)](http://www.npmtrends.com/vue-antd-ui)
<h1 align="center">
<a href="https://www.antdv.com/" target="_blank">Ant Design Vue</a>
</h1>
<div align="center">
Ant Design 3.X 的 Vue 实现,开发和服务于企业级后台产品
基于 Ant Design 和 Vue 3 的企业级 UI 组件库
[官网国内镜像](http://tangjinzhou.gitee.io/ant-design/docs/vue/introduce-cn/)
![test](https://github.com/vueComponent/ant-design-vue/workflows/test/badge.svg) [![codecov](https://img.shields.io/codecov/c/github/vueComponent/ant-design-vue/master.svg?style=flat-square)](https://codecov.io/gh/vueComponent/ant-design-vue) [![npm package](https://img.shields.io/npm/v/ant-design-vue.svg?style=flat-square)](https://www.npmjs.org/package/ant-design-vue) [![NPM downloads](http://img.shields.io/npm/dm/ant-design-vue.svg?style=flat-square)](http://www.npmtrends.com/ant-design-vue) [![backers](https://opencollective.com/ant-design-vue/backers/badge.svg)](#backers) [![sponsors](https://opencollective.com/ant-design-vue/sponsors/badge.svg)](#sponsors) [![extension-for-VSCode](https://img.shields.io/badge/extension%20for-VSCode-blue.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=ant-design-vue.vscode-ant-design-vue-helper) [![issues-helper](https://img.shields.io/badge/Issues%20Manage%20By-issues--helper-orange?style=flat-square)](https://github.com/actions-cool/issues-helper)
[README in English](README.md)
</div>
[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://www.antdv.com/)
[English](./README.md) | 简体中文
## 特性
- 提炼自企业级中后台产品的交互语言和视觉风格。
- 开箱即用的高质量 Vue 组件。
- 共享[Ant Design of React](http://ant-design.gitee.io/docs/spec/introduce-cn)设计工具体系。
- 共享 [Ant Design of React](http://ant-design.gitee.io/docs/spec/introduce-cn) 设计工具体系。
## 关注我们
收藏加关注,第一时间获取更新动态!
![star us](https://user-images.githubusercontent.com/6937879/261937060-e0501ab3-9388-4712-a25d-3f2ba2271865.gif)
## 支持环境
- 现代浏览器。1.x 版本支持 IE 9+(需要 [polyfills](https://www.antdv.com/docs/vue/getting-started-cn/#兼容性)
- 支持服务端渲染。
- [Electron](https://electronjs.org/)
- 支持 Vue 2 和 Vue 3
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
| --- | --- | --- | --- | --- | --- |
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
## 安装
### 使用 npm 或 yarn 安装
```bash
$ npm install vue-antd-ui --save
$ npm install ant-design-vue --save
```
```bash
$ yarn add vue-antd-ui
$ yarn add ant-design-vue
```
如果你的网络环境不佳,推荐使用 [cnpm](https://github.com/cnpm/cnpm)。
## 链接
- [首页](https://vuecomponent.github.io/ant-design/)
- [Vue官方文档](https://cn.vuejs.org/)
- [Antd React](http://ant.design/)
- [首页](https://www.antdv.com/)
- [Vue 官方文档](https://cn.vuejs.org/)
- [Ant Design Of React](http://ant.design/)
## 生态
| Project | Description |
| --- | --- |
| [vue-ref](https://github.com/vueComponent/vue-ref) | 您可以使用回调来获取组件的引用,类似 react |
| [ant-design-vue-helper](https://marketplace.visualstudio.com/items?itemName=ant-design-vue.vscode-ant-design-vue-helper) | ant-design-vue 的 vscode 扩展 |
| [vue-cli-plugin-ant-design](https://github.com/vueComponent/vue-cli-plugin-ant-design) | 使用 vue-cli3 快速使用 ant-design-vue 组件库 |
| [vue-dash-event](https://github.com/vueComponent/vue-dash-event) | 在 DOM 模板中,您可以使用 ant-design-vue 组件的自定义事件camelCase |
| [@formily/antdv](https://github.com/formilyjs/antdv) | 这是一个结合了 Formily 和 ant-design-vue 的组件库 |
| [@ant-design-vue/nuxt](https://github.com/vueComponent/ant-design-vue-nuxt) | ant-design-vue 的 nuxt 模块扩展 |
| [ant-design-x-vue](https://github.com/wzc520pyfm/ant-design-x-vue) | 基于 Ant Design X 设计规范的 Vue AI 界面解决方案 |
## 问答
> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。
[![Let's fund issues in this repository](https://issuehunt.io/static/embed/issuehunt-button-v1.svg)](https://issuehunt.io/repos/104172832)
## 赞助
ant-design-vue 是 MIT 协议的开源项目。为了项目能够更好的持续的发展,我们期望获得更多的[支持者](https://github.com/vueComponent/ant-design-vue/blob/master/BACKERS.md),你可以通过如下任何一种方式支持我们:
- [Patreon](https://www.patreon.com/tangjinzhou)
- [opencollective](https://opencollective.com/ant-design-vue)
- [paypal](https://www.paypal.me/tangjinzhou)
- [支付宝或微信](https://aliyuncdn.antdv.com/alipay-and-wechat.png)
- ETH: 0x30cc48515d8ae9fefa20ab87226ad7e8ab9c3bc2
## 赞助商
成为赞助商,并在 Github 上的自述文件上获得您的徽标,并链接到您的网站。 [[成为赞助商](https://opencollective.com/ant-design-vue#sponsor)]
<a href="http://www.jeecg.com/" target="_blank"><img src="https://aliyuncdn.antdv.com/jeecg-logo.png" height="64"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/0/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/1/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/2/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/3/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/3/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/4/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/5/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/6/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/7/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/7/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/8/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/9/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/9/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/10/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/10/avatar.svg"></a>
## 支持者
每月捐款支持我们,帮助我们继续我们的活动。 [[成为支持者](https://opencollective.com/ant-design-vue#backer)]
<a href="https://github.com/chuzhixin/vue-admin-beautiful" target="_blank"><img width="64" style="border-radius: 50%;" src="https://gitee.com/chu1204505056/image/raw/master/vue-admin-beautiful.png" title="vue-admin-beautiful"></a> <a href="https://opencollective.com/ant-design-vue/backer/0/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/0/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/1/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/1/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/2/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/2/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/3/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/3/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/4/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/4/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/5/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/5/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/6/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/6/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/7/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/7/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/8/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/8/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/9/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/9/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/backer/10/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/backer/10/avatar.svg"></a>
## Patreon
每月捐款支持我们,帮助我们继续我们的活动。 [[成为支持者](https://www.patreon.com/tangjinzhou)]
<a href="https://www.mokeyjay.com" target="_blank"><img width="64" style="border-radius: 50%;" src="https://www.mokeyjay.com/headimg.png" title="donation by Patreon"></a>
## [更多赞助者 (通过 Patreon、支付宝、微信、paypal 等等)](https://github.com/vueComponent/ant-design-vue/blob/master/BACKERS.md)
## 贡献者
感谢所有为 ant-design-vue 做出贡献的人!
<a href="https://github.com/vueComponent/ant-design-vue/graphs/contributors">
<img src="https://contrib.rocks/image?repo=vueComponent/ant-design-vue&max=100&columns=15" />
</a>

View File

@ -1,48 +1,106 @@
<p align="center">
<a href="https://vuecomponent.github.io/ant-design/">
<img width="230" src="https://raw.githubusercontent.com/vueComponent/ant-design/master/logo.png">
<a href="https://www.antdv.com/">
<img width="200" src="https://aliyuncdn.antdv.com/logo.png">
</a>
</p>
# [Ant Design Vue](https://vuecomponent.github.io/ant-design/)
[![Travis branch](https://api.travis-ci.org/vueComponent/ant-design.svg?branch=master)](https://travis-ci.org/vueComponent/ant-design)
[![Dependency Status](https://beta.gemnasium.com/badges/github.com/vueComponent/ant-design.svg)](https://beta.gemnasium.com/projects/github.com/vueComponent/ant-design)
[![npm package](https://img.shields.io/npm/v/vue-antd-ui.svg?style=flat)](https://www.npmjs.org/package/vue-antd-ui)
[![NPM downloads](http://img.shields.io/npm/dm/vue-antd-ui.svg?style=flat)](http://www.npmtrends.com/vue-antd-ui)
<h1 align="center">
<a href="https://www.antdv.com/" target="_blank">Ant Design Vue</a>
</h1>
<div align="center">
An enterprise-class UI components based on Ant Design and Vue.
An enterprise-class UI components based on Ant Design 3.X and Vue.
![test](https://github.com/vueComponent/ant-design-vue/workflows/test/badge.svg) [![codecov](https://img.shields.io/codecov/c/github/vueComponent/ant-design-vue/master.svg?style=flat-square)](https://codecov.io/gh/vueComponent/ant-design-vue) [![npm package](https://img.shields.io/npm/v/ant-design-vue.svg?style=flat-square)](https://www.npmjs.org/package/ant-design-vue) [![NPM downloads](http://img.shields.io/npm/dm/ant-design-vue.svg?style=flat-square)](http://www.npmtrends.com/ant-design-vue) [![backers](https://opencollective.com/ant-design-vue/backers/badge.svg)](#backers) [![sponsors](https://opencollective.com/ant-design-vue/sponsors/badge.svg)](#sponsors) [![extension-for-VSCode](https://img.shields.io/badge/extension%20for-VSCode-blue.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=ant-design-vue.vscode-ant-design-vue-helper) [![issues-helper](https://img.shields.io/badge/Issues%20Manage%20By-issues--helper-orange?style=flat-square)](https://github.com/actions-cool/issues-helper)
[官网国内镜像](http://tangjinzhou.gitee.io/ant-design/docs/vue/introduce-cn/)
</div>
[中文 README](README-zh_CN.md)
[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://www.antdv.com/)
English | [简体中文](./README-zh_CN.md)
## Features
- An enterprise-class UI design system for desktop applications.
- A set of high-quality React components out of the box.
- A set of high-quality Vue components out of the box.
- Shared [Ant Design of React](https://ant.design/docs/spec/introduce) design resources.
## Getting started & staying tuned with us.
Star us, and you will receive all releases notifications from GitHub without any delay!
![star us](https://user-images.githubusercontent.com/6937879/261937060-e0501ab3-9388-4712-a25d-3f2ba2271865.gif)
## Environment Support
- Modern browsers. v1.x support Internet Explorer 9+ (with [polyfills](https://www.antdv.com/docs/vue/getting-started/#compatibility))
- Server-side Rendering
- Support Vue 2 & Vue 3
- [Electron](https://electronjs.org/)
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
| --- | --- | --- | --- | --- | --- |
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
## Using npm or yarn
**We recommend using npm or yarn to install**it not only makes development easierbut also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
**We recommend using npm or yarn to install**, it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
```bash
$ npm install vue-antd-ui --save
$ npm install ant-design-vue --save
```
```bash
$ yarn add vue-antd-ui
$ yarn add ant-design-vue
```
If you are in a bad network environmentyou can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).
If you are in a bad network environment, you can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).
## Links
- [Home page](https://vuecomponent.github.io/ant-design/)
- [Home page](https://www.antdv.com/)
- [Vue](https://vuejs.org/)
- [Ant Design React](http://ant.design/)
- [Ant Design Of React](http://ant.design/)
## Ecosystem
| Project | Description |
| --- | --- |
| [vue-ref](https://github.com/vueComponent/vue-ref) | You can use the callback to get a reference like react |
| [ant-design-vue-helper](https://marketplace.visualstudio.com/items?itemName=ant-design-vue.vscode-ant-design-vue-helper) | A vscode extension for ant-design-vue |
| [vue-cli-plugin-ant-design](https://github.com/vueComponent/vue-cli-plugin-ant-design) | Vue-cli 3 plugin to add ant-design-vue |
| [vue-dash-event](https://github.com/vueComponent/vue-dash-event) | The library function, implemented in the DOM template, can use the custom event of the ant-design-vue component (camelCase) |
| [@formily/antdv](https://github.com/formilyjs/antdv) | The Library with Formily and ant-design-vue |
| [@ant-design-vue/nuxt](https://github.com/vueComponent/ant-design-vue-nuxt) | A nuxt module for ant-design-vue |
| [ant-design-x-vue](https://github.com/wzc520pyfm/ant-design-x-vue) | A Vue AI interface solutions base on the Ant Design X design specification |
## Donation
ant-design-vue is an MIT-licensed open source project. In order to achieve better and sustainable development of the project, we expect to gain more [backers](https://github.com/vueComponent/ant-design-vue/blob/master/BACKERS.md). You can support us in any of the following ways:
- [Patreon](https://www.patreon.com/tangjinzhou)
- [opencollective](https://opencollective.com/ant-design-vue)
- [paypal](https://www.paypal.me/tangjinzhou)
- [支付宝或微信](https://aliyuncdn.antdv.com/alipay-and-wechat.png)
- ETH: 0x30cc48515d8ae9fefa20ab87226ad7e8ab9c3bc2
## Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/ant-design-vue#sponsor)]
<a href="http://www.jeecg.com/" target="_blank"><img src="https://aliyuncdn.antdv.com/jeecg-logo.png" height="64"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/0/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/1/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/2/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/3/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/3/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/4/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/5/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/6/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/7/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/7/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/8/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/9/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/9/avatar.svg"></a> <a href="https://opencollective.com/ant-design-vue/sponsor/10/website" target="_blank"><img src="https://opencollective.com/ant-design-vue/sponsor/10/avatar.svg"></a>
## [More Sponsor (From Patreon、alipay、wechat、paypal...)](https://github.com/vueComponent/ant-design-vue/blob/master/BACKERS.md)
## Contributors
Thank you to all the people who already contributed to ant-design-vue!
<a href="https://github.com/vueComponent/ant-design-vue/graphs/contributors">
<img src="https://contrib.rocks/image?repo=vueComponent/ant-design-vue&max=100&columns=15" />
</a>
[![Let's fund issues in this repository](https://issuehunt.io/static/embed/issuehunt-button-v1.svg)](https://issuehunt.io/repos/104172832)
This project is tested with BrowserStack.

17
SECURITY.md Normal file
View File

@ -0,0 +1,17 @@
# Security Policy
## Supported Versions
Use this section to tell people about which versions of your project are currently being supported with security updates.
| Version | Supported |
| ------- | ------------------ |
| 1.x | :white_check_mark: |
| 2.x | :x: |
| 3.x | :white_check_mark: |
## Reporting a Vulnerability
Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a reported vulnerability, what to expect if the vulnerability is accepted or declined, etc.

View File

@ -0,0 +1,68 @@
// Read all the api from current documents
const glob = require('glob');
const fs = require('fs');
const COMPONENT_NAME = /components\/([^/]*)/;
const PROP_NAME = /^\s*\|\s*([^\s|]*)/;
const components = {};
function mappingPropLine(component, line) {
const propMatch = line.match(PROP_NAME);
if (!propMatch) return;
const propName = propMatch[1];
if (!/^[a-z]/.test(propName)) return;
components[component] = Array.from(new Set([...(components[component] || []), propName]));
}
function apiReport(entities) {
const apis = {};
Object.keys(entities).forEach(component => {
const apiList = entities[component];
apiList.forEach(api => {
if (typeof apis[api] === 'function') {
apis[api] = [];
}
apis[api] = [...(apis[api] || []), component];
});
});
return apis;
}
function printReport(apis) {
const apiList = Object.keys(apis).map(api => ({
name: api,
componentList: apis[api],
}));
apiList.sort((a, b) => b.componentList.length - a.componentList.length);
// eslint-disable-next-line no-console
console.log('| name | components | comments |');
// eslint-disable-next-line no-console
console.log('| ---- | ---------- | -------- |');
apiList.forEach(({ name, componentList }) => {
// eslint-disable-next-line no-console
console.log('|', name, '|', componentList.join(', '), '| |');
});
}
module.exports = () => {
glob('components/*/*.md', (error, files) => {
files.forEach(filePath => {
// Read md file to parse content
const content = fs.readFileSync(filePath, 'utf8');
const component = filePath.match(COMPONENT_NAME)[1];
// Parse lines to get API
const lines = content.split(/[\r\n]+/);
lines.forEach(line => {
mappingPropLine(component, line);
});
});
printReport(apiReport(components));
});
};

View File

@ -1,27 +1,27 @@
#!/usr/bin/env node
'use strict'
'use strict';
require('colorful').colorful()
require('colorful').colorful();
const program = require('commander')
const packageInfo = require('../../package.json')
const program = require('commander');
const packageInfo = require('../../package.json');
program
.version(packageInfo.version)
.command('run [name]', 'run specified task')
.parse(process.argv)
.parse(process.argv);
// https://github.com/tj/commander.js/pull/260
const proc = program.runningCommand
const proc = program.runningCommand;
if (proc) {
proc.on('close', process.exit.bind(process))
proc.on('close', process.exit.bind(process));
proc.on('error', () => {
process.exit(1)
})
process.exit(1);
});
}
const subCmd = program.args[0]
const subCmd = program.args[0];
if (!subCmd || subCmd !== 'run') {
program.help()
program.help();
}

View File

@ -1,26 +1,51 @@
#!/usr/bin/env node
/* eslint-disable no-console */
'use strict'
'use strict';
require('colorful').colorful()
const gulp = require('gulp')
const program = require('commander')
require('colorful').colorful();
const gulp = require('gulp');
const program = require('commander');
program.option('-c --npm-tag <type>', 'add --npm-tag=xxx');
program.on('--help', () => {
console.log(' Usage:'.to.bold.blue.color)
console.log()
})
console.log(' Usage:'.to.bold.blue.color);
console.log();
});
program.parse(process.argv)
program.parse(process.argv);
const task = program.args[0]
function runTask(toRun) {
const metadata = { task: toRun };
// Gulp >= 4.0.0 (doesn't support events)
const taskInstance = gulp.task(toRun);
if (taskInstance === undefined) {
gulp.emit('task_not_found', metadata);
return;
}
const start = process.hrtime();
gulp.emit('task_start', metadata);
try {
taskInstance.apply(gulp);
metadata.hrDuration = process.hrtime(start);
gulp.emit('task_stop', metadata);
gulp.emit('stop');
} catch (err) {
err.hrDuration = process.hrtime(start);
err.task = metadata.task;
gulp.emit('task_err', err);
}
}
const task = program.args[0];
if (!task) {
program.help()
program.help();
} else {
console.log('antd-tools run', task)
console.log('antd-tools run', task);
require('../gulpfile')
require('../gulpfile');
gulp.start(task)
runTask(task);
}

View File

@ -0,0 +1 @@
fork github.com/youzan/vant packages/generator-types

View File

@ -0,0 +1,23 @@
const path = require('path');
const pkg = require('../../package.json');
const { parseAndWrite } = require('./lib/index.js');
const rootPath = path.resolve(__dirname, '../../');
parseAndWrite({
version: pkg.version,
name: 'ant-design-vue',
path: path.resolve(rootPath, './components'),
typingsPath: path.resolve(rootPath, './typings/global.d.ts'),
// default match lang
test: /en-US\.md/,
outputDir: path.resolve(rootPath, './vetur'),
tagPrefix: 'a-',
})
.then(result => {
// eslint-disable-next-line no-console
console.log(`generator types success: ${result} tags generated`);
})
.catch(error => {
console.error('generator types error', error);
return Promise.reject(error);
});

View File

@ -0,0 +1,128 @@
import type { Articals } from './parser';
import { formatType, removeVersion, toKebabCase } from './utils';
import type { VueTag } from './type';
function getComponentName(name: string, tagPrefix: string) {
if (name) {
return tagPrefix + toKebabCase(name.split(' ')[0]);
}
return '';
}
function parserProps(tag: VueTag, line: any) {
const [name, desc, type, defaultVal] = line;
if (
type &&
(type.includes('v-slot') ||
type.includes('slot') ||
type.includes('slots') ||
type.includes('slot-scoped'))
) {
tag.slots!.push({
name: removeVersion(name),
description: desc,
});
}
tag.attributes!.push({
name: removeVersion(name),
default: defaultVal,
description: desc,
value: {
type: formatType(type || ''),
kind: 'expression',
},
});
}
export function formatter(
articals: Articals,
componentName: string,
kebabComponentName: string,
tagPrefix = '',
) {
if (!articals.length) {
return;
}
const tags: VueTag[] = [];
const tag: VueTag = {
name: kebabComponentName,
slots: [],
events: [],
attributes: [],
};
tags.push(tag);
const tables = articals.filter(artical => artical.type === 'table');
tables.forEach(item => {
const { table } = item;
const prevIndex = articals.indexOf(item) - 1;
const prevArtical = articals[prevIndex];
if (!prevArtical || !prevArtical.content || !table || !table.body) {
return;
}
const tableTitle = prevArtical.content;
if (tableTitle.includes('API')) {
table.body.forEach(line => {
parserProps(tag, line);
});
return;
}
if (tableTitle.includes('events') && !tableTitle.includes(componentName)) {
table.body.forEach(line => {
const [name, desc] = line;
tag.events!.push({
name: removeVersion(name),
description: desc,
});
});
return;
}
// 额外的子组件
if (
tableTitle.includes(componentName) &&
!tableTitle.includes('events') &&
!tableTitle.includes('()')
) {
const childTag: VueTag = {
name: getComponentName(tableTitle.replace(/\.|\//g, ''), tagPrefix),
slots: [],
events: [],
attributes: [],
};
table.body.forEach(line => {
parserProps(childTag, line);
});
tags.push(childTag);
return;
}
// 额外的子组件事件
if (tableTitle.includes(componentName) && tableTitle.includes('events')) {
const childTagName = getComponentName(
tableTitle.replace('.', '').replace('events', ''),
tagPrefix,
);
const childTag: VueTag | undefined = tags.find(item => item.name === childTagName.trim());
if (!childTag) {
return;
}
table.body.forEach(line => {
const [name, desc] = line;
childTag.events!.push({
name: removeVersion(name),
description: desc,
});
});
return;
}
});
return tags;
}

View File

@ -0,0 +1,84 @@
import glob from 'fast-glob';
import { dirname, join } from 'path';
import { mdParser } from './parser';
import { formatter } from './formatter';
import { genWebTypes } from './web-types';
import { outputFileSync, readFileSync } from 'fs-extra';
import type { Options, VueTag } from './type';
import { getComponentName, normalizePath, toKebabCase } from './utils';
import { flatMap } from 'lodash';
async function readMarkdown(options: Options): Promise<Map<String, VueTag>> {
const mdPaths = await glob(normalizePath(`${options.path}/**/*.md`));
const data = mdPaths
.filter(md => options.test.test(md))
.map(path => {
const docPath = dirname(path);
const kebabComponentName =
options.tagPrefix + docPath.substring(docPath.lastIndexOf('/') + 1) || '';
const componentName = getComponentName(docPath.substring(docPath.lastIndexOf('/') + 1) || '');
const fileContent = readFileSync(path, 'utf-8');
return formatter(mdParser(fileContent), componentName, kebabComponentName, options.tagPrefix);
})
.filter(item => item) as VueTag[][];
const tags = new Map<String, VueTag>();
flatMap(data, item => item).forEach(mergedTag => mergeTag(tags, mergedTag));
return tags;
}
function readTypings(options: Options): Map<String, VueTag> {
const tags = new Map<String, VueTag>();
const fileContent = readFileSync(options.typingsPath, 'utf-8');
fileContent
.split('\n')
.filter(line => line && line.includes('typeof'))
.map(line => {
const l = line.trim();
return toKebabCase(l.substring(0, l.indexOf(':')));
})
.forEach(tagName =>
tags.set(tagName, {
name: tagName,
slots: [],
events: [],
attributes: [],
}),
);
return tags;
}
function mergeTag(tags: Map<String, VueTag>, mergedTag: VueTag) {
const tagName = mergedTag.name;
const vueTag = tags.get(tagName);
if (vueTag) {
vueTag.slots = [...vueTag.slots, ...mergedTag.slots];
vueTag.events = [...vueTag.events, ...mergedTag.events];
vueTag.attributes = [...vueTag.attributes, ...mergedTag.attributes];
} else {
tags.set(tagName, mergedTag);
}
}
function mergeTags(mergedTagsArr: Map<String, VueTag>[]): VueTag[] {
if (mergedTagsArr.length === 1) return [...mergedTagsArr[0].values()];
const tags = new Map<String, VueTag>();
if (mergedTagsArr.length === 0) return [];
mergedTagsArr.forEach(mergedTags => {
mergedTags.forEach(mergedTag => mergeTag(tags, mergedTag));
});
return [...tags.values()];
}
export async function parseAndWrite(options: Options): Promise<Number> {
if (!options.outputDir) {
throw new Error('outputDir can not be empty.');
}
const tagsFromMarkdown = await readMarkdown(options);
const tagsFromTypings = await readTypings(options);
const tags = mergeTags([tagsFromMarkdown, tagsFromTypings]);
const webTypes = genWebTypes(tags, options);
outputFileSync(join(options.outputDir, 'web-types.json'), JSON.stringify(webTypes, null, 2));
return tags.length;
}
export default { parseAndWrite };

View File

@ -0,0 +1,107 @@
/* eslint-disable no-cond-assign */
const TITLE_REG = /^(#+)\s+([^\n]*)/;
const TABLE_REG = /^\|.+\r?\n\|\s*-+/;
const TD_REG = /\s*`[^`]+`\s*|([^|`]+)/g;
const TABLE_SPLIT_LINE_REG = /^\|\s*-/;
type TableContent = {
head: string[];
body: string[][];
};
export type Artical = {
type: string;
content?: string;
table?: TableContent;
level?: number;
};
export type Articals = Artical[];
function readLine(input: string) {
const end = input.indexOf('\n');
return input.substring(0, end !== -1 ? end : input.length);
}
function splitTableLine(line: string) {
line = line.replace(/\\\|/g, 'JOIN');
const items = line.split('|').map(item => item.trim().replace(/JOIN/g, '|'));
// remove pipe character on both sides
items.pop();
items.shift();
return items;
}
function tableParse(input: string) {
let start = 0;
let isHead = true;
const end = input.length;
const table: TableContent = {
head: [],
body: [],
};
while (start < end) {
const target = input.substring(start);
const line = readLine(target);
if (!/^\|/.test(target)) {
break;
}
if (TABLE_SPLIT_LINE_REG.test(target)) {
isHead = false;
} else if (!isHead && line.includes('|')) {
const matched = line.trim().match(TD_REG);
if (matched) {
table.body.push(splitTableLine(line));
}
}
start += line.length + 1;
}
return {
table,
usedLength: start,
};
}
export function mdParser(input: string): Articals {
const artical = [];
let start = 0;
const end = input.length;
while (start < end) {
const target = input.substring(start);
let match;
if ((match = TITLE_REG.exec(target))) {
artical.push({
type: 'title',
content: match[2].replace('\r', ''),
level: match[1].length,
});
start += match.index + match[0].length;
} else if ((match = TABLE_REG.exec(target))) {
const { table, usedLength } = tableParse(target.substring(match.index));
artical.push({
type: 'table',
table,
});
start += match.index + usedLength;
} else {
start += readLine(target).length + 1;
}
}
return artical;
}

View File

@ -0,0 +1,45 @@
import type { PathLike } from 'fs';
export type VueSlot = {
name: string;
description: string;
};
export type VueEventArgument = {
name: string;
type: string;
};
export type VueEvent = {
name: string;
description?: string;
arguments?: VueEventArgument[];
};
export type VueAttribute = {
name: string;
default: string;
description: string;
value: {
kind: 'expression';
type: string;
};
};
export type VueTag = {
name: string;
slots: VueSlot[];
events: VueEvent[];
attributes: VueAttribute[];
description?: string;
};
export type Options = {
name: string;
path: PathLike;
typingsPath: PathLike;
test: RegExp;
version: string;
outputDir?: string;
tagPrefix?: string;
};

View File

@ -0,0 +1,30 @@
// myName -> my-name
export function toKebabCase(camel: string): string {
return camel.replace(/((?<=[a-z\d])[A-Z]|(?<=[A-Z\d])[A-Z](?=[a-z]))/g, '-$1').toLowerCase();
}
// name `v2.0.0` -> name
export function removeVersion(str: string) {
return str.replace(/`(\w|\.)+`/g, '').trim();
}
// *boolean* -> boolean
// _boolean_ -> boolean
export function formatType(type: string) {
return type
.replace(/(^(\*|_))|((\*|_)$)/g, '')
.replace('\\', '')
.replace('\\', '');
}
export function getComponentName(name: string) {
const title = name
.split('-')
.map(it => it.substring(0, 1) + it.substring(1))
.join('');
return title.substring(0, 1).toUpperCase() + title.substring(1);
}
export function normalizePath(path: string): string {
return path.replace(/\\/g, '/');
}

View File

@ -0,0 +1,18 @@
import type { VueTag, Options } from './type';
// create web-types.json to provide autocomplete in JetBrains IDEs
export function genWebTypes(tags: VueTag[], options: Options) {
return {
$schema: 'https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json',
framework: 'vue',
name: options.name,
version: options.version,
contributions: {
html: {
tags,
attributes: [],
'types-syntax': 'typescript',
},
},
};
}

View File

@ -0,0 +1,13 @@
{
"compilerOptions": {
"target": "ES2017",
"outDir": "./lib",
"module": "commonjs",
"strict": true,
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"lib": ["esnext"]
},
"include": ["src/**/*"]
}

View File

@ -1,33 +1,57 @@
'use strict'
const { resolve, isThereHaveBrowserslistConfig } = require('./utils/projectHelper');
module.exports = function (modules) {
const plugins = [
require.resolve('babel-plugin-transform-vue-jsx'),
require.resolve('babel-plugin-transform-es3-member-expression-literals'),
require.resolve('babel-plugin-transform-es3-property-literals'),
require.resolve('babel-plugin-transform-object-assign'),
require.resolve('babel-plugin-transform-object-rest-spread'),
require.resolve('babel-plugin-transform-class-properties'),
]
plugins.push([require.resolve('babel-plugin-transform-runtime'), {
polyfill: false,
}])
[
resolve('@babel/plugin-transform-typescript'),
{
isTSX: true,
},
],
[resolve('@vue/babel-plugin-jsx'), { mergeProps: false, enableObjectSlots: false }],
resolve('@babel/plugin-proposal-optional-chaining'),
resolve('@babel/plugin-transform-object-assign'),
resolve('@babel/plugin-proposal-object-rest-spread'),
resolve('@babel/plugin-proposal-export-default-from'),
resolve('@babel/plugin-proposal-export-namespace-from'),
resolve('@babel/plugin-proposal-class-properties'),
resolve('@babel/plugin-syntax-dynamic-import'),
[
resolve('@babel/plugin-transform-runtime'),
{
useESModules: modules === false,
version:
require(`${process.cwd()}/package.json`).dependencies['@babel/runtime'] || '^7.10.4',
},
],
// resolve('babel-plugin-inline-import-data-uri'),
// resolve('@babel/plugin-transform-member-expression-literals'),
// resolve('@babel/plugin-transform-property-literals'),
// resolve('@babel/plugin-proposal-export-default-from'),
// resolve('@babel/plugin-transform-object-assign'),
// resolve('@babel/plugin-transform-template-literals'),
// resolve('@babel/plugin-proposal-object-rest-spread'),
// resolve('@babel/plugin-proposal-class-properties'),
];
return {
presets: [
[require.resolve('babel-preset-env'), {
[
resolve('@babel/preset-env'),
{
modules,
targets: {
browsers: [
'last 2 versions',
'Firefox ESR',
'> 1%',
'ie >= 9',
'iOS >= 8',
'Android >= 4',
],
targets: isThereHaveBrowserslistConfig()
? undefined
: {
browsers: ['last 2 versions', 'Firefox ESR', '> 1%', 'ie >= 11'],
},
}],
},
],
],
plugins,
}
}
env: {
test: {
plugins: [resolve('babel-plugin-istanbul')],
},
},
};
};

17
antd-tools/getNpm.js Normal file
View File

@ -0,0 +1,17 @@
'use strict';
const runCmd = require('./runCmd');
module.exports = function (done) {
if (process.env.NPM_CLI) {
done(process.env.NPM_CLI);
return;
}
runCmd('which', ['tnpm'], code => {
let npm = 'npm';
if (!code) {
npm = 'tnpm';
}
done(npm);
});
};

View File

@ -0,0 +1,24 @@
'use strict';
const fs = require('fs');
const { getProjectPath } = require('./utils/projectHelper');
module.exports = function () {
let my = {};
if (fs.existsSync(getProjectPath('tsconfig.json'))) {
my = require(getProjectPath('tsconfig.json'));
}
return Object.assign(
{
noUnusedParameters: true,
noUnusedLocals: true,
strictNullChecks: true,
target: 'es6',
jsx: 'preserve',
moduleResolution: 'node',
declaration: true,
allowSyntheticDefaultImports: true,
},
my.compilerOptions,
);
};

View File

@ -1,54 +1,70 @@
const path = require('path')
const webpack = require('webpack')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin')
const deepAssign = require('deep-assign')
const chalk = require('chalk')
const postcssConfig = require('./postcssConfig')
const distFileBaseName = 'antd'
module.exports = function (modules) {
const pkg = require(path.join(process.cwd(), 'package.json'))
const babelConfig = require('./getBabelCommonConfig')(modules || false)
const { getProjectPath, resolve } = require('./utils/projectHelper');
const path = require('path');
const webpack = require('webpack');
const WebpackBar = require('webpackbar');
const { merge } = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const CleanUpStatsPlugin = require('./utils/CleanUpStatsPlugin');
// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const pluginImportOptions = [
{
const distFileBaseName = 'antd';
const svgRegex = /\.svg(\?v=\d+\.\d+\.\d+)?$/;
const svgOptions = {
limit: 10000,
minetype: 'image/svg+xml',
};
const imageOptions = {
limit: 10000,
};
function getWebpackConfig(modules, esm = false) {
const pkg = require(getProjectPath('package.json'));
const babelConfig = require('./getBabelCommonConfig')(modules || false);
const pluginImportOptions = {
style: true,
libraryName: 'antd',
libraryName: distFileBaseName,
libraryDirectory: 'components',
},
]
};
babelConfig.plugins.push([resolve('babel-plugin-import'), pluginImportOptions]);
// if (distFileBaseName !== 'antd') {
// pluginImportOptions.push({
// style: 'css',
// libraryDirectory: 'components',
// libraryName: 'antd',
// })
// }
babelConfig.plugins.push([
require.resolve('babel-plugin-import'),
pluginImportOptions,
])
if (modules === false) {
babelConfig.plugins.push(require.resolve('./replaceLib'));
}
/** @type {import('webpack').Configuration} */
const config = {
devtool: 'source-map',
output: {
path: path.join(process.cwd(), './dist/'),
path: getProjectPath('./dist/'),
filename: '[name].js',
},
resolve: {
modules: ['node_modules', path.join(__dirname, '../node_modules')],
extensions: ['.js', '.jsx', '.vue', '.md', '.json'],
extensions: [
'.web.tsx',
'.web.ts',
'.web.jsx',
'.web.js',
'.ts',
'.tsx',
'.js',
'.jsx',
'.vue',
'.md',
'.json',
],
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': process.cwd(),
},
},
node: [
fallback: [
'child_process',
'cluster',
'dgram',
@ -60,9 +76,9 @@ module.exports = function (modules) {
'repl',
'tls',
].reduce((acc, name) => Object.assign({}, acc, { [name]: 'empty' }), {}),
},
module: {
noParse: [/moment.js/],
rules: [
{
test: /\.vue$/,
@ -73,14 +89,19 @@ module.exports = function (modules) {
options: {
loaders: {
js: [
{ loader: 'babel-loader',
{
loader: 'babel-loader',
options: {
presets: ['env'],
presets: [resolve('@babel/preset-env')],
plugins: [
'transform-vue-jsx',
'transform-object-rest-spread',
[
resolve('@vue/babel-plugin-jsx'),
{ mergeProps: false, enableObjectSlots: false },
],
}},
resolve('@babel/plugin-proposal-object-rest-spread'),
],
},
},
],
},
},
@ -89,13 +110,29 @@ module.exports = function (modules) {
},
{
test: /\.(js|jsx)$/,
loader: 'babel-loader', exclude: /node_modules/,
loader: 'babel-loader',
exclude: /node_modules/,
options: babelConfig,
},
{
test: /\.tsx?$/,
use: [
{
loader: 'babel-loader',
options: babelConfig,
},
{
loader: 'ts-loader',
options: {
transpileOnly: true,
},
},
],
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {
@ -104,118 +141,133 @@ module.exports = function (modules) {
},
{
loader: 'postcss-loader',
options: Object.assign(
{},
postcssConfig,
{ sourceMap: true }
),
},
],
}),
},
{
test: /\.less$/,
use: ExtractTextPlugin.extract({
use: [
{
loader: 'css-loader',
options: {
sourceMap: true,
postcssOptions: {
plugins: ['autoprefixer'],
},
},
{
loader: 'postcss-loader',
options: Object.assign(
{},
postcssConfig,
{ sourceMap: true }
),
},
{
loader: 'less-loader',
options: {
sourceMap: true,
},
},
],
}),
},
// Images
{
test: svgRegex,
loader: 'url-loader',
options: svgOptions,
},
{
test: /\.(png|jpg|jpeg|gif)(\?v=\d+\.\d+\.\d+)?$/i,
loader: 'url-loader',
options: imageOptions,
},
],
},
plugins: [
new ExtractTextPlugin({
filename: '[name].css',
disable: false,
allChunks: true,
}),
// new BundleAnalyzerPlugin(),
new CaseSensitivePathsPlugin(),
new webpack.BannerPlugin(`
${distFileBaseName} v${pkg.version}
${pkg.name} v${pkg.version}
Copyright 2017-present, vue-antd-ui.
Copyright 2017-present, Ant Design Vue.
All rights reserved.
`),
new webpack.ProgressPlugin((percentage, msg, addInfo) => {
const stream = process.stderr
if (stream.isTTY && percentage < 0.71) {
stream.cursorTo(0)
stream.write(`📦 ${chalk.magenta(msg)} (${chalk.magenta(addInfo)})`)
stream.clearLine(1)
} else if (percentage === 1) {
console.log(chalk.green('\nwebpack: bundle build is now finished.'))
}
new WebpackBar({
name: '🚚 Ant Design Vue Tools',
color: '#2f54eb',
}),
new CleanUpStatsPlugin(),
],
}
performance: {
hints: false,
},
};
if (process.env.RUN_ENV === 'PRODUCTION') {
const entry = ['./index']
config.entry = {
[`${distFileBaseName}.min`]: entry,
}
config.externals = {
let entry = ['./index'];
config.externals = [
{
vue: {
root: 'Vue',
commonjs2: 'vue',
commonjs: 'vue',
amd: 'vue',
module: 'vue',
},
},
];
if (esm) {
entry = ['./index.esm'];
config.experiments = {
...config.experiments,
outputModule: true,
};
config.output.chunkFormat = 'module';
config.output.library = {
type: 'module',
};
config.target = 'es2019';
} else {
config.output.libraryTarget = 'umd';
config.output.library = distFileBaseName;
config.output.globalObject = 'this';
}
config.output.library = distFileBaseName
config.output.libraryTarget = 'umd'
const uncompressedConfig = deepAssign({}, config)
const entryName = esm ? `${distFileBaseName}.esm` : distFileBaseName;
config.plugins = config.plugins.concat([
new webpack.optimize.UglifyJsPlugin({
sourceMap: true,
output: {
ascii_only: true,
},
compress: {
config.optimization = {
minimizer: [
new TerserPlugin({
parallel: true,
terserOptions: {
warnings: false,
},
}),
new webpack.optimize.ModuleConcatenationPlugin(),
],
};
// Development
const uncompressedConfig = merge({}, config, {
entry: {
[entryName]: entry,
},
mode: 'development',
plugins: [
new MiniCssExtractPlugin({
filename: '[name].css',
}),
],
});
// Production
const prodConfig = merge({}, config, {
entry: {
[`${entryName}.min`]: entry,
},
mode: 'production',
plugins: [
new webpack.LoaderOptionsPlugin({
minimize: true,
}),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'),
new MiniCssExtractPlugin({
filename: '[name].css',
}),
])
],
optimization: {
minimize: true,
minimizer: [new CssMinimizerPlugin({})],
},
});
uncompressedConfig.entry = {
[distFileBaseName]: entry,
return [prodConfig, uncompressedConfig];
}
uncompressedConfig.plugins.push(new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('development'),
}))
return [config, uncompressedConfig]
}
return config
return [config];
}
getWebpackConfig.webpack = webpack;
getWebpackConfig.svgRegex = svgRegex;
getWebpackConfig.svgOptions = svgOptions;
getWebpackConfig.imageOptions = imageOptions;
module.exports = getWebpackConfig;

View File

@ -1,56 +1,74 @@
'use strict'
/* eslint-disable no-console */
const { getProjectPath, getConfig } = require('./utils/projectHelper');
const runCmd = require('./runCmd');
const getBabelCommonConfig = require('./getBabelCommonConfig');
const merge2 = require('merge2');
const { execSync } = require('child_process');
const through2 = require('through2');
const webpack = require('webpack');
const babel = require('gulp-babel');
const argv = require('minimist')(process.argv.slice(2));
const { Octokit } = require('@octokit/rest');
// const install = require('./install')
const runCmd = require('./runCmd')
const getBabelCommonConfig = require('./getBabelCommonConfig')
const merge2 = require('merge2')
const { execSync } = require('child_process')
const through2 = require('through2')
const transformLess = require('./transformLess')
const webpack = require('webpack')
const babel = require('gulp-babel')
const argv = require('minimist')(process.argv.slice(2))
const GitHub = require('@octokit/rest')
const packageJson = require(`${process.cwd()}/package.json`)
// const getNpm = require('./getNpm')
// const selfPackage = require('../package.json')
const chalk = require('chalk')
const getNpmArgs = require('./utils/get-npm-args')
const getChangelog = require('./utils/getChangelog')
const path = require('path')
const chalk = require('chalk');
const getNpmArgs = require('./utils/get-npm-args');
const getChangelog = require('./utils/getChangelog');
const path = require('path');
// const watch = require('gulp-watch')
const gulp = require('gulp')
const fs = require('fs')
const rimraf = require('rimraf')
const replaceLib = require('./replaceLib')
const stripCode = require('gulp-strip-code')
const ts = require('gulp-typescript');
const gulp = require('gulp');
const fs = require('fs');
const rimraf = require('rimraf');
const stripCode = require('gulp-strip-code');
const compareVersions = require('compare-versions');
const getTSCommonConfig = require('./getTSCommonConfig');
const replaceLib = require('./replaceLib');
const sortApiTable = require('./sortApiTable');
const { glob } = require('glob');
const cwd = process.cwd()
const libDir = path.join(cwd, 'lib')
const esDir = path.join(cwd, 'es')
const packageJson = require(getProjectPath('package.json'));
const tsDefaultReporter = ts.reporter.defaultReporter();
const cwd = process.cwd();
const libDir = getProjectPath('lib');
const esDir = getProjectPath('es');
const localeDir = getProjectPath('locale');
function dist (done) {
rimraf.sync(path.join(cwd, 'dist'))
process.env.RUN_ENV = 'PRODUCTION'
const webpackConfig = require(path.join(cwd, 'webpack.build.config.js'))
const tsConfig = getTSCommonConfig();
// FIXME: hard code, not find typescript can modify the path resolution
const localeDts = `import type { Locale } from '../lib/locale-provider';
declare const localeValues: Locale;
export default localeValues;`;
function dist(done) {
rimraf.sync(path.join(cwd, 'dist'));
process.env.RUN_ENV = 'PRODUCTION';
const webpackConfig = require(getProjectPath('webpack.build.conf.js'));
webpack(webpackConfig, (err, stats) => {
if (err) {
console.error(err.stack || err)
console.error(err.stack || err);
if (err.details) {
console.error(err.details)
console.error(err.details);
}
return
return;
}
const info = stats.toJson()
const info = stats.toJson();
const { dist: { finalize } = {}, bail } = getConfig();
if (stats.hasErrors()) {
console.error(info.errors)
(info.errors || []).forEach(error => {
console.error(error);
});
// https://github.com/ant-design/ant-design/pull/31662
if (bail) {
process.exit(1);
}
}
if (stats.hasWarnings()) {
console.warn(info.warnings)
console.warn(info.warnings);
}
const buildInfo = stats.toString({
@ -61,105 +79,207 @@ function dist (done) {
chunkModules: false,
hash: false,
version: false,
})
console.log(buildInfo)
done(0)
})
});
console.log(buildInfo);
// Additional process of dist finalize
if (finalize) {
console.log('[Dist] Finalization...');
finalize();
}
done(0);
});
}
function babelify (js, modules) {
const babelConfig = getBabelCommonConfig(modules)
delete babelConfig.cacheDirectory
if (modules === false) {
babelConfig.plugins.push(replaceLib)
} else {
babelConfig.plugins.push(require.resolve('babel-plugin-add-module-exports'))
}
let stream = js.pipe(babel(babelConfig))
.pipe(through2.obj(function z (file, encoding, next) {
this.push(file.clone())
if (file.path.match(/\/style\/index\.(js|jsx)$/)) {
const content = file.contents.toString(encoding)
file.contents = Buffer.from(content
.replace(/\/style\/?'/g, '/style/css\'')
.replace(/\.less/g, '.css'))
file.path = file.path.replace(/index\.(js|jsx)$/, 'css.js')
this.push(file)
next()
} else {
next()
}
}))
if (modules === false) {
stream = stream.pipe(stripCode({
start_comment: '@remove-on-es-build-begin',
end_comment: '@remove-on-es-build-end',
}))
}
return stream.pipe(gulp.dest(modules === false ? esDir : libDir))
const tsFiles = ['**/*.ts', '**/*.tsx', '!node_modules/**/*.*', 'typings/**/*.d.ts'];
function compileTs(stream) {
return stream
.pipe(ts(tsConfig))
.js.pipe(
through2.obj(function (file, encoding, next) {
// console.log(file.path, file.base);
file.path = file.path.replace(/\.[jt]sx$/, '.js');
this.push(file);
next();
}),
)
.pipe(gulp.dest(process.cwd()));
}
function compile (modules) {
rimraf.sync(modules !== false ? libDir : esDir)
const less = gulp.src(['components/**/*.less'])
.pipe(through2.obj(function (file, encoding, next) {
this.push(file.clone())
if (file.path.match(/\/style\/index\.less$/) || file.path.match(/\/style\/v2-compatible-reset\.less$/)) {
transformLess(file.path).then((css) => {
file.contents = Buffer.from(css)
file.path = file.path.replace(/\.less$/, '.css')
this.push(file)
next()
}).catch((e) => {
console.error(e)
})
} else {
next()
}
}))
.pipe(gulp.dest(modules === false ? esDir : libDir))
const assets = gulp.src(['components/**/*.@(png|svg)']).pipe(gulp.dest(modules === false ? esDir : libDir))
gulp.task('tsc', () =>
compileTs(
gulp.src(tsFiles, {
base: cwd,
}),
),
);
gulp.task('clean', () => {
rimraf.sync(getProjectPath('_site'));
rimraf.sync(getProjectPath('_data'));
});
function babelify(js, modules) {
const babelConfig = getBabelCommonConfig(modules);
babelConfig.babelrc = false;
delete babelConfig.cacheDirectory;
if (modules === false) {
babelConfig.plugins.push(replaceLib);
}
const stream = js.pipe(babel(babelConfig)).pipe(
through2.obj(function z(file, encoding, next) {
this.push(file.clone());
if (modules !== false) {
const content = file.contents.toString(encoding);
file.contents = Buffer.from(
content
.replace(/lodash-es/g, 'lodash')
.replace(/@ant-design\/icons-vue/g, '@ant-design/icons-vue/lib/icons'),
);
this.push(file);
}
next();
}),
);
return stream.pipe(gulp.dest(modules === false ? esDir : libDir));
}
function compile(modules) {
const { compile: { transformTSFile, transformFile } = {} } = getConfig();
rimraf.sync(modules !== false ? libDir : esDir);
const assets = gulp
.src(['components/**/*.@(png|svg)'])
.pipe(gulp.dest(modules === false ? esDir : libDir));
let error = 0;
// =============================== FILE ===============================
let transformFileStream;
if (transformFile) {
transformFileStream = gulp
.src(['components/**/*.tsx'])
.pipe(
through2.obj(function (file, encoding, next) {
let nextFile = transformFile(file) || file;
nextFile = Array.isArray(nextFile) ? nextFile : [nextFile];
nextFile.forEach(f => this.push(f));
next();
}),
)
.pipe(gulp.dest(modules === false ? esDir : libDir));
}
// ================================ TS ================================
const source = [
'components/**/*.js',
'components/**/*.jsx',
]
const jsFilesStream = babelify(gulp.src(source), modules)
return merge2([less, jsFilesStream, assets])
'components/**/*.tsx',
'components/**/*.ts',
'typings/**/*.d.ts',
'!components/*/__tests__/*',
];
// Strip content if needed
let sourceStream = gulp.src(source);
if (modules === false) {
sourceStream = sourceStream.pipe(
stripCode({
start_comment: '@remove-on-es-build-begin',
end_comment: '@remove-on-es-build-end',
}),
);
}
if (transformTSFile) {
sourceStream = sourceStream.pipe(
through2.obj(function (file, encoding, next) {
let nextFile = transformTSFile(file) || file;
nextFile = Array.isArray(nextFile) ? nextFile : [nextFile];
nextFile.forEach(f => this.push(f));
next();
}),
);
}
const tsResult = sourceStream.pipe(
ts(tsConfig, {
error(e) {
tsDefaultReporter.error(e);
error = 1;
},
finish: tsDefaultReporter.finish,
}),
);
function check() {
if (error && !argv['ignore-error']) {
process.exit(1);
}
}
tsResult.on('finish', check);
tsResult.on('end', check);
const tsFilesStream = babelify(tsResult.js, modules);
const tsd = tsResult.dts.pipe(gulp.dest(modules === false ? esDir : libDir));
return merge2([tsFilesStream, tsd, assets, transformFileStream].filter(s => s));
}
function tag () {
console.log('tagging')
const { version } = packageJson
execSync(`git tag ${version}`)
execSync(`git push origin ${version}:${version}`)
execSync('git push origin master:master')
console.log('tagged')
function generateLocale() {
if (!fs.existsSync(localeDir)) {
fs.mkdirSync(localeDir);
}
const localeFiles = glob.sync('components/locale/*.ts?(x)');
localeFiles.forEach(item => {
const match = item.match(/components\/locale\/(.*)\.tsx?/);
if (match) {
const locale = match[1];
fs.writeFileSync(
path.join(localeDir, `${locale}.js`),
`module.exports = require('../lib/locale/${locale}');`,
);
fs.writeFileSync(path.join(localeDir, `${locale}.d.ts`), localeDts);
}
});
}
function githubRelease () {
function tag() {
console.log('tagging');
const { version } = packageJson;
execSync(`git config --global user.email ${process.env.GITHUB_USER_EMAIL}`);
execSync(`git config --global user.name ${process.env.GITHUB_USER_NAME}`);
execSync(`git tag ${version}`);
execSync(
`git push https://${process.env.GITHUB_TOKEN}@github.com/vueComponent/ant-design-vue.git ${version}:${version}`,
);
execSync(
`git push https://${process.env.GITHUB_TOKEN}@github.com/vueComponent/ant-design-vue.git master:master`,
);
console.log('tagged');
}
function githubRelease(done) {
const changlogFiles = [
path.join(cwd, 'CHANGELOG.en-US.md'),
path.join(cwd, 'CHANGELOG.zh-CN.md'),
]
console.log('creating release on GitHub')
];
console.log('creating release on GitHub');
if (!process.env.GITHUB_TOKEN) {
console.log('no GitHub token found, skip')
return
console.log('no GitHub token found, skip');
return;
}
if (!changlogFiles.every(file => fs.existsSync(file))) {
console.log('no changelog found, skip')
return
console.log('no changelog found, skip');
return;
}
const github = new GitHub()
github.authenticate({
type: 'oauth',
token: process.env.GITHUB_TOKEN,
})
const date = new Date()
const { version } = packageJson
const enChangelog = getChangelog(changlogFiles[0], version)
const cnChangelog = getChangelog(changlogFiles[1], version)
const github = new Octokit({
auth: process.env.GITHUB_TOKEN,
});
const date = new Date();
const { version } = packageJson;
const enChangelog = getChangelog(changlogFiles[0], version);
const cnChangelog = getChangelog(changlogFiles[1], version);
const changelog = [
`\`${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}\``,
enChangelog,
@ -167,116 +287,213 @@ function githubRelease () {
'---',
'\n',
cnChangelog,
].join('\n')
].join('\n');
const [_, owner, repo] = execSync('git remote get-url origin') // eslint-disable-line
.toString()
.match(/github.com[:/](.+)\/(.+)\.git/)
github.repos.createRelease({
.match(/github.com[:/](.+)\/(.+)\.git/);
github.repos
.createRelease({
owner,
repo,
tag_name: version,
name: version,
body: changelog,
})
.then(() => {
done();
})
.catch(err => {
console.log(err);
});
}
gulp.task('check-git', (done) => {
gulp.task(
'tag',
gulp.series(done => {
tag();
githubRelease(done);
}),
);
gulp.task(
'check-git',
gulp.series(done => {
runCmd('git', ['status', '--porcelain'], (code, result) => {
if (/^\?\?/m.test(result)) {
return done(`There are untracked files in the working tree.\n${result}
`)
`);
}
if (/^([ADRM]| [ADRM])/m.test(result)) {
return done(`There are uncommitted changes in the working tree.\n${result}
`)
`);
}
return done()
})
})
return done();
});
}),
);
function publish (tagString, done) {
let args = ['publish', '--with-antd-tools']
function publish(tagString, done) {
let args = ['publish', '--with-antd-tools'];
if (tagString) {
args = args.concat(['--tag', tagString])
args = args.concat(['--tag', tagString]);
}
const publishNpm = process.env.PUBLISH_NPM_CLI || 'npm'
runCmd(publishNpm, args, (code) => {
tag()
githubRelease()
done(code)
})
const publishNpm = process.env.PUBLISH_NPM_CLI || 'npm';
runCmd(publishNpm, args, code => {
tag();
githubRelease(() => {
done(code);
});
});
}
function pub (done) {
dist((code) => {
if (code) {
done(code)
return
}
const notOk = !packageJson.version.match(/^\d+\.\d+\.\d+$/)
let tagString
function pub(done) {
const notOk = !packageJson.version.match(/^\d+\.\d+\.\d+$/);
let tagString;
if (argv['npm-tag']) {
tagString = argv['npm-tag']
tagString = argv['npm-tag'];
}
if (!tagString && notOk) {
tagString = 'next'
tagString = 'next';
}
if (packageJson.scripts['pre-publish']) {
runCmd('npm', ['run', 'pre-publish'], (code2) => {
runCmd('npm', ['run', 'pre-publish'], code2 => {
if (code2) {
done(code2)
return
done(code2);
return;
}
publish(tagString, done)
})
publish(tagString, done);
});
} else {
publish(tagString, done)
publish(tagString, done);
}
})
}
gulp.task('dist', ['compile'], (done) => {
dist(done)
})
gulp.task('compile', ['compile-with-es'], (done) => {
compile()
.on('finish', function () {
done()
})
})
gulp.task('compile-with-es', (done) => {
compile(false)
.on('finish', function () {
done()
})
})
const startTime = new Date();
gulp.task('compile-with-es', done => {
console.log('start compile at ', startTime);
console.log('[Parallel] Compile to es...');
compile(false).on('finish', done);
});
gulp.task('pub', ['check-git', 'compile'], (done) => {
if (!process.env.GITHUB_TOKEN) {
console.log('no GitHub token found, skip')
} else {
pub(done)
gulp.task('compile-with-lib', done => {
console.log('[Parallel] Compile to js...');
compile().on('finish', () => {
generateLocale();
done();
});
});
gulp.task('compile-finalize', done => {
// Additional process of compile finalize
const { compile: { finalize } = {} } = getConfig();
if (finalize) {
console.log('[Compile] Finalization...');
finalize();
}
})
done();
});
function reportError () {
console.log(chalk.bgRed('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'))
console.log(chalk.bgRed('!! `npm publish` is forbidden for this package. !!'))
console.log(chalk.bgRed('!! Use `npm run pub` instead. !!'))
console.log(chalk.bgRed('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'))
}
gulp.task(
'compile',
gulp.series(gulp.parallel('compile-with-es', 'compile-with-lib'), 'compile-finalize', done => {
console.log('end compile at ', new Date());
console.log('compile time ', (new Date() - startTime) / 1000, 's');
done();
}),
);
gulp.task('guard', (done) => {
const npmArgs = getNpmArgs()
gulp.task(
'dist',
gulp.series(done => {
dist(done);
}),
);
gulp.task(
'pub',
gulp.series('check-git', 'compile', 'dist', done => {
// if (!process.env.GITHUB_TOKEN) {
// console.log('no GitHub token found, skip');
// } else {
// pub(done);
// }
pub(done);
}),
);
gulp.task(
'pub-with-ci',
gulp.series(done => {
if (!process.env.NPM_TOKEN) {
console.log('no NPM token found, skip');
} else {
const github = new Octokit({
auth: process.env.GITHUB_TOKEN,
});
const [_, owner, repo] = execSync('git remote get-url origin') // eslint-disable-line
.toString()
.match(/github.com[:/](.+)\/(.+)\.git/);
const getLatestRelease = github.repos.getLatestRelease({
owner,
repo,
});
const listCommits = github.repos.listCommits({
owner,
repo,
per_page: 1,
});
Promise.all([getLatestRelease, listCommits]).then(([latestRelease, commits]) => {
const preVersion = latestRelease.data.tag_name;
const { version } = packageJson;
const [_, newVersion] = commits.data[0].commit.message.trim().match(/bump (.+)/) || []; // eslint-disable-line
if (
compareVersions(version, preVersion) === 1 &&
newVersion &&
newVersion.trim() === version
) {
// eslint-disable-next-line no-unused-vars
runCmd('npm', ['run', 'pub'], _code => {
done();
});
} else {
console.log('donot need publish' + version);
}
});
}
}),
);
gulp.task(
'guard',
gulp.series(done => {
function reportError() {
console.log(chalk.bgRed('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'));
console.log(chalk.bgRed('!! `npm publish` is forbidden for this package. !!'));
console.log(chalk.bgRed('!! Use `npm run pub` instead. !!'));
console.log(chalk.bgRed('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'));
}
const npmArgs = getNpmArgs();
if (npmArgs) {
for (let arg = npmArgs.shift(); arg; arg = npmArgs.shift()) {
if (/^pu(b(l(i(sh?)?)?)?)?$/.test(arg) && npmArgs.indexOf('--with-antd-tools') < 0) {
reportError()
done(1)
return
if (
/^pu(b(l(i(sh?)?)?)?)?$/.test(arg) &&
npmArgs.indexOf('--with-antd-tools') < 0 &&
!process.env.npm_config_with_antd_tools
) {
reportError();
done(1);
return;
}
}
}
done()
})
done();
}),
);
gulp.task(
'sort-api-table',
gulp.series(done => {
sortApiTable();
done();
}),
);

View File

@ -1,18 +0,0 @@
const rucksack = require('rucksack-css')
const autoprefixer = require('autoprefixer')
module.exports = {
plugins: [
rucksack(),
autoprefixer({
browsers: [
'last 2 versions',
'Firefox ESR',
'> 1%',
'ie >= 9',
'iOS >= 8',
'Android >= 4',
],
}),
],
}

View File

@ -1,27 +1,39 @@
'use strict'
'use strict';
const { join, dirname } = require('path')
const fs = require('fs')
const { dirname } = require('path');
const fs = require('fs');
const { getProjectPath } = require('./utils/projectHelper');
const cwd = process.cwd()
function replacePath (path) {
function replacePath(path) {
if (path.node.source && /\/lib\//.test(path.node.source.value)) {
const esModule = path.node.source.value.replace('/lib/', '/es/')
const esPath = dirname(join(cwd, `node_modules/${esModule}`))
const esModule = path.node.source.value.replace('/lib/', '/es/');
const esPath = dirname(getProjectPath('node_modules', esModule));
if (fs.existsSync(esPath)) {
path.node.source.value = esModule
path.node.source.value = esModule;
}
}
// @ant-design/icons-vue/xxx => @ant-design/icons-vue/es/icons/xxx
const antdIconMatcher = /@ant-design\/icons-vue\/([^/]*)$/;
if (path.node.source && antdIconMatcher.test(path.node.source.value)) {
const esModule = path.node.source.value.replace(
antdIconMatcher,
(_, iconName) => `@ant-design/icons-vue/es/icons/${iconName}`,
);
const esPath = dirname(getProjectPath('node_modules', esModule));
if (fs.existsSync(esPath)) {
path.node.source.value = esModule;
}
}
}
function replaceLib () {
function replaceLib() {
return {
visitor: {
ImportDeclaration: replacePath,
ExportNamedDeclaration: replacePath,
},
}
};
}
module.exports = replaceLib
module.exports = replaceLib;

View File

@ -1,20 +1,28 @@
'use strict'
'use strict';
const getRunCmdEnv = require('./utils/getRunCmdEnv')
const isWindows = require('is-windows');
const getRunCmdEnv = require('./utils/getRunCmdEnv');
function runCmd(cmd, _args, fn) {
const args = _args || [];
if (isWindows()) {
args.unshift(cmd);
args.unshift('/c');
cmd = process.env.ComSpec;
}
function runCmd (cmd, _args, fn) {
const args = _args || []
const runner = require('child_process').spawn(cmd, args, {
// keep color
stdio: 'inherit',
env: getRunCmdEnv(),
})
});
runner.on('close', (code) => {
runner.on('close', code => {
if (fn) {
fn(code)
fn(code);
}
})
});
}
module.exports = runCmd
module.exports = runCmd;

165
antd-tools/sortApiTable.js Normal file
View File

@ -0,0 +1,165 @@
const program = require('commander');
const majo = require('majo');
const fs = require('fs');
const path = require('path');
const chalk = require('chalk');
const unified = require('unified');
const parse = require('remark-parse');
const stringify = require('remark-stringify');
const yamlConfig = require('remark-yaml-config');
const frontmatter = require('remark-frontmatter');
let fileAPIs = {};
const remarkWithYaml = unified()
.use(parse)
.use(stringify, {
paddedTable: false,
listItemIndent: 1,
stringLength: () => 3,
})
.use(frontmatter)
.use(yamlConfig);
const stream = majo.majo();
function getCellValue(node) {
return node.children[0].children[0].value;
}
// from small to large
const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
const whiteMethodList = ['afterChange', 'beforeChange'];
const groups = {
isDynamic: val => /^on[A-Z]/.test(val) || whiteMethodList.indexOf(val) > -1,
isSize: val => sizeBreakPoints.indexOf(val) > -1,
};
function asciiSort(prev, next) {
if (prev > next) {
return 1;
}
if (prev < next) {
return -1;
}
return 0;
}
// follow the alphabet order
function alphabetSort(nodes) {
// use toLowerCase to keep `case insensitive`
return nodes.sort((...comparison) =>
asciiSort(...comparison.map(val => getCellValue(val).toLowerCase())),
);
}
function sizeSort(nodes) {
return nodes.sort((...comparison) =>
asciiSort(...comparison.map(val => sizeBreakPoints.indexOf(getCellValue(val).toLowerCase()))),
);
}
function sort(ast, filename) {
const nameMatch = filename.match(/^components\/([^/]*)\//);
const componentName = nameMatch[1];
fileAPIs[componentName] = fileAPIs[componentName] || {
static: new Set(),
size: new Set(),
dynamic: new Set(),
};
ast.children.forEach(child => {
const staticProps = [];
// prefix with `on`
const dynamicProps = [];
// one of ['xs', 'sm', 'md', 'lg', 'xl']
const sizeProps = [];
// find table markdown type
if (child.type === 'table') {
// slice will create new array, so sort can affect the original array.
// slice(1) cut down the thead
child.children.slice(1).forEach(node => {
const value = getCellValue(node);
if (groups.isDynamic(value)) {
dynamicProps.push(node);
fileAPIs[componentName].dynamic.add(value);
} else if (groups.isSize(value)) {
sizeProps.push(node);
fileAPIs[componentName].size.add(value);
} else {
staticProps.push(node);
fileAPIs[componentName].static.add(value);
}
});
// eslint-disable-next-line
child.children = [
child.children[0],
...alphabetSort(staticProps),
...sizeSort(sizeProps),
...alphabetSort(dynamicProps),
];
}
});
return ast;
}
function sortAPI(md, filename) {
return remarkWithYaml.stringify(sort(remarkWithYaml.parse(md), filename));
}
function sortMiddleware(ctx) {
Object.keys(ctx.files).forEach(filename => {
const content = ctx.fileContents(filename);
ctx.writeContents(filename, sortAPI(content, filename));
});
}
module.exports = () => {
fileAPIs = {};
program
.version('0.1.0')
.option(
'-f, --file [file]',
'Specify which file to be transformed',
// default value
'components/**/index.+(zh-CN|en-US).md',
)
.option('-o, --output [output]', 'Specify component api output path', '~component-api.json')
.parse(process.argv);
// Get the markdown file all need to be transformed
/* eslint-disable no-console */
stream
.source(program.file)
.use(sortMiddleware)
.dest('.')
.then(() => {
if (program.output) {
const data = {};
Object.keys(fileAPIs).forEach(componentName => {
data[componentName] = {
static: [...fileAPIs[componentName].static],
size: [...fileAPIs[componentName].size],
dynamic: [...fileAPIs[componentName].dynamic],
};
});
const reportPath = path.resolve(program.output);
fs.writeFileSync(reportPath, JSON.stringify(data, null, 2), 'utf8');
console.log(chalk.cyan(`API list file: ${reportPath}`));
}
})
.then(() => {
console.log(chalk.green(`sort ant-design-vue api successfully!`));
});
/* eslint-enable no-console */
};

View File

@ -1,33 +0,0 @@
const less = require('less')
const { readFileSync } = require('fs')
const path = require('path')
const postcss = require('postcss')
const NpmImportPlugin = require('less-plugin-npm-import')
const postcssConfig = require('./postcssConfig')
function transformLess (lessFile, config = {}) {
const { cwd = process.cwd() } = config
const resolvedLessFile = path.resolve(cwd, lessFile)
let data = readFileSync(resolvedLessFile, 'utf-8')
data = data.replace(/^\uFEFF/, '')
// Do less compile
const lessOpts = {
paths: [path.dirname(resolvedLessFile)],
filename: resolvedLessFile,
plugins: [
new NpmImportPlugin({ prefix: '~' }),
],
}
return less.render(data, lessOpts)
.then((result) => {
const source = result.css
return postcss(postcssConfig.plugins).process(source)
})
.then((r) => {
return r.css
})
}
module.exports = transformLess

View File

@ -0,0 +1,38 @@
// We should use `stats` props of webpack. But it not work in v4.
class CleanUpStatsPlugin {
constructor(option) {
this.option = {
MiniCSSExtractPlugin: true,
tsLoader: true,
...option,
};
}
shouldPickStatChild(child) {
const { MiniCSSExtractPlugin } = this.option;
if (MiniCSSExtractPlugin && child.name.includes('mini-css-extract-plugin')) return false;
return true;
}
shouldPickWarning(message) {
const { tsLoader } = this.option;
if (tsLoader && /export .* was not found in .*/.test(message)) {
return false;
}
return true;
}
apply(compiler) {
compiler.hooks.done.tap('CleanUpStatsPlugin', stats => {
const { children, warnings } = stats.compilation;
if (Array.isArray(children)) {
stats.compilation.children = children.filter(child => this.shouldPickStatChild(child));
}
if (Array.isArray(warnings)) {
stats.compilation.warnings = warnings.filter(message => this.shouldPickWarning(message));
}
});
}
}
module.exports = CleanUpStatsPlugin;

View File

@ -1,18 +1,23 @@
'use strict'
'use strict';
// NOTE: the following code was partially adopted from https://github.com/iarna/in-publish
module.exports = function getNpmArgs () {
let npmArgv = null
module.exports = function getNpmArgs() {
// https://github.com/iarna/in-publish/pull/14
if (process.env.npm_command) {
return [process.env.npm_command];
}
let npmArgv = null;
try {
npmArgv = JSON.parse(process.env.npm_config_argv)
npmArgv = JSON.parse(process.env.npm_config_argv);
} catch (err) {
return null
return null;
}
if (typeof npmArgv !== 'object' || !npmArgv.cooked || !Array.isArray(npmArgv.cooked)) {
return null
return null;
}
return npmArgv.cooked
}
return npmArgv.cooked;
};

View File

@ -1,23 +1,23 @@
const fs = require('fs')
const fs = require('fs');
module.exports = function getChangelog (file, version) {
const lines = fs.readFileSync(file).toString().split('\n')
const changeLog = []
const startPattern = new RegExp(`^## ${version}`)
const stopPattern = /^## / // 前一个版本
const skipPattern = /^`/ // 日期
let begin = false
module.exports = function getChangelog(file, version) {
const lines = fs.readFileSync(file).toString().split('\n');
const changeLog = [];
const startPattern = new RegExp(`^## ${version}`);
const stopPattern = /^## /; // 前一个版本
const skipPattern = /^`/; // 日期
let begin = false;
for (let i = 0; i < lines.length; i += 1) {
const line = lines[i]
const line = lines[i];
if (begin && stopPattern.test(line)) {
break
break;
}
if (begin && line && !skipPattern.test(line)) {
changeLog.push(line)
changeLog.push(line);
}
if (!begin) {
begin = startPattern.test(line)
begin = startPattern.test(line);
}
}
return changeLog.join('\n')
}
return changeLog.join('\n');
};

View File

@ -1,14 +1,23 @@
'use strict'
'use strict';
const path = require('path')
const path = require('path');
const isWindows = require('is-windows');
module.exports = function getRunCmdEnv () {
const env = {}
Object.keys(process.env).forEach((key) => {
env[key] = process.env[key]
})
module.exports = function getRunCmdEnv() {
const env = {};
Object.keys(process.env).forEach(key => {
env[key] = process.env[key];
});
// make sure `antd-tools/node_modules/.bin` in the PATH env
const nodeModulesBinDir = path.join(__dirname, '../../node_modules/.bin')
env.PATH = env.PATH ? `${nodeModulesBinDir}:${env.PATH}` : nodeModulesBinDir
return env
}
const nodeModulesBinDir = path.join(__dirname, '../../node_modules/.bin');
Object.entries(env)
.filter(v => v.slice(0, 1).pop().toLowerCase() === 'path')
.forEach(v => {
const key = v.slice(0, 1).pop();
env[key] = env[key]
? `${nodeModulesBinDir}${isWindows() ? ';' : ':'}${env[key]}`
: nodeModulesBinDir;
});
return env;
};

View File

@ -0,0 +1,80 @@
const fs = require('fs');
const path = require('path');
const cwd = process.cwd();
function getProjectPath(...filePath) {
return path.join(cwd, ...filePath);
}
function resolve(moduleName) {
return require.resolve(moduleName);
}
// We need hack the require to ensure use package module first
// For example, `typescript` is required by `gulp-typescript` but provided by `antd`
// we do not need for ant-design-vue
let injected = false;
function injectRequire() {
if (injected) return;
const Module = require('module');
const oriRequire = Module.prototype.require;
Module.prototype.require = function (...args) {
const moduleName = args[0];
try {
return oriRequire.apply(this, args);
} catch (err) {
const newArgs = [...args];
if (moduleName[0] !== '/') {
newArgs[0] = getProjectPath('node_modules', moduleName);
}
return oriRequire.apply(this, newArgs);
}
};
injected = true;
}
function getConfig() {
const configPath = getProjectPath('.antd-tools.config.js');
if (fs.existsSync(configPath)) {
return require(configPath);
}
return {};
}
/**
* 是否存在可用的browserslist config
* https://github.com/browserslist/browserslist#queries
* @returns
*/
function isThereHaveBrowserslistConfig() {
try {
const packageJson = require(getProjectPath('package.json'));
if (packageJson.browserslist) {
return true;
}
} catch (e) {
//
}
if (fs.existsSync(getProjectPath('.browserslistrc'))) {
return true;
}
if (fs.existsSync(getProjectPath('browserslist'))) {
return true;
}
// parent项目的配置支持需要再补充
// ROWSERSLIST ROWSERSLIST_ENV 变量的形式,需要再补充。
return false;
}
module.exports = {
getProjectPath,
resolve,
injectRequire,
getConfig,
isThereHaveBrowserslistConfig,
};

19
babel.config.js Normal file
View File

@ -0,0 +1,19 @@
module.exports = {
env: {
test: {
presets: [['@babel/preset-env']],
plugins: [
['@vue/babel-plugin-jsx', { mergeProps: false, enableObjectSlots: false }],
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-transform-object-assign',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-transform-runtime',
'transform-require-context',
],
},
},
};

View File

@ -0,0 +1,58 @@
const __NULL__ = { notExist: true };
export function spyElementPrototypes(Element, properties) {
const propNames = Object.keys(properties);
const originDescriptors = {};
propNames.forEach(propName => {
const originDescriptor = Object.getOwnPropertyDescriptor(Element.prototype, propName);
originDescriptors[propName] = originDescriptor || __NULL__;
const spyProp = properties[propName];
if (typeof spyProp === 'function') {
// If is a function
Element.prototype[propName] = function spyFunc(...args) {
return spyProp.call(this, originDescriptor, ...args);
};
} else {
// Otherwise tread as a property
Object.defineProperty(Element.prototype, propName, {
...spyProp,
set(value) {
if (spyProp.set) {
return spyProp.set.call(this, originDescriptor, value);
}
return originDescriptor.set(value);
},
get() {
if (spyProp.get) {
return spyProp.get.call(this, originDescriptor);
}
return originDescriptor.get();
},
});
}
});
return {
mockRestore() {
propNames.forEach(propName => {
const originDescriptor = originDescriptors[propName];
if (originDescriptor === __NULL__) {
delete Element.prototype[propName];
} else if (typeof originDescriptor === 'function') {
Element.prototype[propName] = originDescriptor;
} else {
Object.defineProperty(Element.prototype, propName, originDescriptor);
}
});
},
};
}
export function spyElementPrototype(Element, propName, property) {
return spyElementPrototypes(Element, {
[propName]: property,
});
}

View File

@ -0,0 +1,123 @@
import type { ExtractPropTypes, PropType } from 'vue';
import { shallowRef, onMounted, defineComponent, onBeforeUnmount } from 'vue';
import Button from '../button';
import type { ButtonProps } from '../button';
import type { LegacyButtonType } from '../button/buttonTypes';
import { convertLegacyProps } from '../button/buttonTypes';
import useDestroyed from './hooks/useDestroyed';
import { objectType } from './type';
import { findDOMNode } from './props-util';
const actionButtonProps = {
type: {
type: String as PropType<LegacyButtonType>,
},
actionFn: Function as PropType<(...args: any[]) => any | PromiseLike<any>>,
close: Function,
autofocus: Boolean,
prefixCls: String,
buttonProps: objectType<ButtonProps>(),
emitEvent: Boolean,
quitOnNullishReturnValue: Boolean,
};
export type ActionButtonProps = ExtractPropTypes<typeof actionButtonProps>;
function isThenable<T>(thing?: PromiseLike<T>): boolean {
return !!(thing && thing.then);
}
export default defineComponent({
compatConfig: { MODE: 3 },
name: 'ActionButton',
props: actionButtonProps,
setup(props, { slots }) {
const clickedRef = shallowRef<boolean>(false);
const buttonRef = shallowRef();
const loading = shallowRef(false);
let timeoutId: any;
const isDestroyed = useDestroyed();
onMounted(() => {
if (props.autofocus) {
timeoutId = setTimeout(() => findDOMNode(buttonRef.value)?.focus?.());
}
});
onBeforeUnmount(() => {
clearTimeout(timeoutId);
});
const onInternalClose = (...args: any[]) => {
props.close?.(...args);
};
const handlePromiseOnOk = (returnValueOfOnOk?: PromiseLike<any>) => {
if (!isThenable(returnValueOfOnOk)) {
return;
}
loading.value = true;
returnValueOfOnOk!.then(
(...args: any[]) => {
if (!isDestroyed.value) {
loading.value = false;
}
onInternalClose(...args);
clickedRef.value = false;
},
(e: Error) => {
// See: https://github.com/ant-design/ant-design/issues/6183
if (!isDestroyed.value) {
loading.value = false;
}
clickedRef.value = false;
return Promise.reject(e);
},
);
};
const onClick = (e: MouseEvent) => {
const { actionFn } = props;
if (clickedRef.value) {
return;
}
clickedRef.value = true;
if (!actionFn) {
onInternalClose();
return;
}
let returnValueOfOnOk: PromiseLike<any>;
if (props.emitEvent) {
returnValueOfOnOk = actionFn(e);
if (props.quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) {
clickedRef.value = false;
onInternalClose(e);
return;
}
} else if (actionFn.length) {
returnValueOfOnOk = actionFn(props.close);
// https://github.com/ant-design/ant-design/issues/23358
clickedRef.value = false;
} else {
returnValueOfOnOk = actionFn();
if (!returnValueOfOnOk) {
onInternalClose();
return;
}
}
handlePromiseOnOk(returnValueOfOnOk);
};
return () => {
const { type, prefixCls, buttonProps } = props;
return (
<Button
{...convertLegacyProps(type)}
onClick={onClick}
loading={loading.value}
prefixCls={prefixCls}
{...buttonProps}
ref={buttonRef}
v-slots={slots}
></Button>
);
};
},
});

View File

@ -0,0 +1,168 @@
import type { PropType } from 'vue';
import { computed, defineComponent, shallowRef, ref, watch } from 'vue';
import PropTypes from './vue-types';
import type { BaseInputInnerExpose } from './BaseInputInner';
import BaseInputInner from './BaseInputInner';
import { styleObjectToString } from '../vc-util/Dom/css';
export interface BaseInputExpose {
focus: () => void;
blur: () => void;
input: HTMLInputElement | HTMLTextAreaElement | null;
setSelectionRange: (
start: number,
end: number,
direction?: 'forward' | 'backward' | 'none',
) => void;
select: () => void;
getSelectionStart: () => number | null;
getSelectionEnd: () => number | null;
getScrollTop: () => number | null;
setScrollTop: (scrollTop: number) => void;
}
const BaseInput = defineComponent({
compatConfig: { MODE: 3 },
inheritAttrs: false,
props: {
disabled: PropTypes.looseBool,
type: PropTypes.string,
value: PropTypes.any,
lazy: PropTypes.bool.def(true),
tag: {
type: String as PropType<'input' | 'textarea'>,
default: 'input',
},
size: PropTypes.string,
style: PropTypes.oneOfType([String, Object]),
class: PropTypes.string,
},
emits: [
'change',
'input',
'blur',
'keydown',
'focus',
'compositionstart',
'compositionend',
'keyup',
'paste',
'mousedown',
],
setup(props, { emit, attrs, expose }) {
const inputRef = shallowRef<BaseInputInnerExpose>(null);
const renderValue = ref();
const isComposing = ref(false);
watch(
[() => props.value, isComposing],
() => {
if (isComposing.value) return;
renderValue.value = props.value;
},
{ immediate: true },
);
const handleChange = (e: Event) => {
emit('change', e);
};
const onCompositionstart = (e: CompositionEvent) => {
isComposing.value = true;
(e.target as any).composing = true;
emit('compositionstart', e);
};
const onCompositionend = (e: CompositionEvent) => {
isComposing.value = false;
(e.target as any).composing = false;
emit('compositionend', e);
const event = document.createEvent('HTMLEvents');
event.initEvent('input', true, true);
e.target.dispatchEvent(event);
handleChange(e);
};
const handleInput = (e: Event) => {
if (isComposing.value && props.lazy) {
renderValue.value = (e.target as HTMLInputElement).value;
return;
}
emit('input', e);
};
const handleBlur = (e: Event) => {
emit('blur', e);
};
const handleFocus = (e: Event) => {
emit('focus', e);
};
const focus = () => {
if (inputRef.value) {
inputRef.value.focus();
}
};
const blur = () => {
if (inputRef.value) {
inputRef.value.blur();
}
};
const handleKeyDown = (e: KeyboardEvent) => {
emit('keydown', e);
};
const handleKeyUp = (e: KeyboardEvent) => {
emit('keyup', e);
};
const setSelectionRange = (
start: number,
end: number,
direction?: 'forward' | 'backward' | 'none',
) => {
inputRef.value?.setSelectionRange(start, end, direction);
};
const select = () => {
inputRef.value?.select();
};
expose({
focus,
blur,
input: computed(() => inputRef.value?.input),
setSelectionRange,
select,
getSelectionStart: () => inputRef.value?.getSelectionStart(),
getSelectionEnd: () => inputRef.value?.getSelectionEnd(),
getScrollTop: () => inputRef.value?.getScrollTop(),
});
const handleMousedown = (e: MouseEvent) => {
emit('mousedown', e);
};
const handlePaste = (e: ClipboardEvent) => {
emit('paste', e);
};
const styleString = computed(() => {
return props.style && typeof props.style !== 'string'
? styleObjectToString(props.style)
: props.style;
});
return () => {
const { style, lazy, ...restProps } = props;
return (
<BaseInputInner
{...restProps}
{...attrs}
style={styleString.value}
onInput={handleInput}
onChange={handleChange}
onBlur={handleBlur}
onFocus={handleFocus}
ref={inputRef}
value={renderValue.value}
onCompositionstart={onCompositionstart}
onCompositionend={onCompositionend}
onKeyup={handleKeyUp}
onKeydown={handleKeyDown}
onPaste={handlePaste}
onMousedown={handleMousedown}
/>
);
};
},
});
export default BaseInput;

View File

@ -0,0 +1,96 @@
import type { PropType } from 'vue';
import { defineComponent, shallowRef } from 'vue';
import PropTypes from './vue-types';
export interface BaseInputInnerExpose {
focus: () => void;
blur: () => void;
input: HTMLInputElement | HTMLTextAreaElement | null;
setSelectionRange: (
start: number,
end: number,
direction?: 'forward' | 'backward' | 'none',
) => void;
select: () => void;
getSelectionStart: () => number | null;
getSelectionEnd: () => number | null;
getScrollTop: () => number | null;
setScrollTop: (scrollTop: number) => void;
}
const BaseInputInner = defineComponent({
compatConfig: { MODE: 3 },
// inheritAttrs: false,
props: {
disabled: PropTypes.looseBool,
type: PropTypes.string,
value: PropTypes.any,
tag: {
type: String as PropType<'input' | 'textarea'>,
default: 'input',
},
size: PropTypes.string,
onChange: Function as PropType<(e: Event) => void>,
onInput: Function as PropType<(e: Event) => void>,
onBlur: Function as PropType<(e: Event) => void>,
onFocus: Function as PropType<(e: Event) => void>,
onKeydown: Function as PropType<(e: Event) => void>,
onCompositionstart: Function as PropType<(e: Event) => void>,
onCompositionend: Function as PropType<(e: Event) => void>,
onKeyup: Function as PropType<(e: Event) => void>,
onPaste: Function as PropType<(e: Event) => void>,
onMousedown: Function as PropType<(e: Event) => void>,
},
emits: [
'change',
'input',
'blur',
'keydown',
'focus',
'compositionstart',
'compositionend',
'keyup',
'paste',
'mousedown',
],
setup(props, { expose }) {
const inputRef = shallowRef(null);
const focus = () => {
if (inputRef.value) {
inputRef.value.focus();
}
};
const blur = () => {
if (inputRef.value) {
inputRef.value.blur();
}
};
const setSelectionRange = (
start: number,
end: number,
direction?: 'forward' | 'backward' | 'none',
) => {
inputRef.value?.setSelectionRange(start, end, direction);
};
const select = () => {
inputRef.value?.select();
};
expose({
focus,
blur,
input: inputRef,
setSelectionRange,
select,
getSelectionStart: () => inputRef.value?.selectionStart,
getSelectionEnd: () => inputRef.value?.selectionEnd,
getScrollTop: () => inputRef.value?.scrollTop,
});
return () => {
const { tag: Tag, value, ...restProps } = props;
return <Tag {...restProps} ref={inputRef} value={value} />;
};
},
});
export default BaseInputInner;

View File

@ -1,22 +0,0 @@
export default {
methods: {
setState (state, callback) {
Object.assign(this.$data, typeof state === 'function' ? state(this.$data) : state)
this.$nextTick(() => {
callback && callback()
})
},
__emit () { // 直接调用listeners底层组件不需要vueTool记录events
const args = [].slice.call(arguments, 0)
const filterEvent = []
const eventName = args[0]
if (args.length && this.$listeners[eventName]) {
if (filterEvent.includes(eventName)) {
this.$emit(eventName, ...args.slice(1))
} else {
this.$listeners[eventName](...args.slice(1))
}
}
},
},
}

View File

@ -0,0 +1,45 @@
import { nextTick } from 'vue';
import { getOptionProps } from './props-util';
export default {
methods: {
setState(state = {}, callback: () => any) {
let newState = typeof state === 'function' ? state(this.$data, this.$props) : state;
if (this.getDerivedStateFromProps) {
const s = this.getDerivedStateFromProps(getOptionProps(this), {
...this.$data,
...newState,
});
if (s === null) {
return;
} else {
newState = { ...newState, ...(s || {}) };
}
}
Object.assign(this.$data, newState);
if (this._.isMounted) {
this.$forceUpdate();
}
nextTick(() => {
callback && callback();
});
},
__emit() {
// 直接调用事件底层组件不需要vueTool记录events
// eslint-disable-next-line prefer-rest-params
const args = [].slice.call(arguments, 0);
let eventName = args[0];
eventName = `on${eventName[0].toUpperCase()}${eventName.substring(1)}`;
const event = this.$props[eventName] || this.$attrs[eventName];
if (args.length && event) {
if (Array.isArray(event)) {
for (let i = 0, l = event.length; i < l; i++) {
event[i](...args.slice(1));
}
} else {
event(...args.slice(1));
}
}
},
},
};

View File

@ -1,89 +0,0 @@
import Vue from 'vue'
import PropTypes from './vue-types'
import antRefDirective from './antRefDirective'
Vue.use(antRefDirective)
export default {
props: {
autoMount: PropTypes.bool.def(true),
autoDestroy: PropTypes.bool.def(true),
visible: PropTypes.bool,
forceRender: PropTypes.bool.def(false),
parent: PropTypes.any,
getComponent: PropTypes.func.isRequired,
getContainer: PropTypes.func.isRequired,
children: PropTypes.func.isRequired,
},
mounted () {
if (this.autoMount) {
this.renderComponent()
}
},
updated () {
if (this.autoMount) {
this.renderComponent()
}
},
beforeDestroy () {
if (this.autoDestroy) {
this.removeContainer()
}
},
methods: {
removeContainer () {
if (this.container) {
this._component && this._component.$destroy()
this.container.parentNode.removeChild(this.container)
this.container = null
}
},
renderComponent (props = {}, ready) {
const { visible, getComponent, forceRender, getContainer, parent } = this
const self = this
if (visible || parent.$refs._component || forceRender) {
let el = this.componentEl
if (!this.container) {
this.container = getContainer()
el = document.createElement('div')
this.componentEl = el
this.container.appendChild(el)
}
if (!this._component) {
this._component = new Vue({
data: {
comProps: props,
},
parent: self.parent,
el: el,
mounted () {
this.$nextTick(() => {
if (ready) {
ready.call(self)
}
})
},
render () {
return getComponent(this.comProps)
},
})
} else {
this._component.comProps = props
}
}
},
},
render () {
return this.children({
renderComponent: this.renderComponent,
removeContainer: this.removeContainer,
})
},
}

View File

@ -1,5 +0,0 @@
import addDOMEventListener from 'add-dom-event-listener'
export default function addEventListenerWrap (target, eventType, cb) {
return addDOMEventListener(target, eventType, cb)
}

View File

@ -1,61 +0,0 @@
/* @flow */
/**
* Add class with compatibility for SVG since classList is not supported on
* SVG elements in IE
*/
export function addClass (el, cls) {
/* istanbul ignore if */
if (!cls || !(cls = cls.trim())) {
return
}
/* istanbul ignore else */
if (el.classList) {
if (cls.indexOf(' ') > -1) {
cls.split(/\s+/).forEach(c => el.classList.add(c))
} else {
el.classList.add(cls)
}
} else {
const cur = ` ${el.getAttribute('class') || ''} `
if (cur.indexOf(' ' + cls + ' ') < 0) {
el.setAttribute('class', (cur + cls).trim())
}
}
}
/**
* Remove class with compatibility for SVG since classList is not supported on
* SVG elements in IE
*/
export function removeClass (el, cls) {
/* istanbul ignore if */
if (!cls || !(cls = cls.trim())) {
return
}
/* istanbul ignore else */
if (el.classList) {
if (cls.indexOf(' ') > -1) {
cls.split(/\s+/).forEach(c => el.classList.remove(c))
} else {
el.classList.remove(cls)
}
if (!el.classList.length) {
el.removeAttribute('class')
}
} else {
let cur = ` ${el.getAttribute('class') || ''} `
const tar = ' ' + cls + ' '
while (cur.indexOf(tar) >= 0) {
cur = cur.replace(tar, ' ')
}
cur = cur.trim()
if (cur) {
el.setAttribute('class', cur)
} else {
el.removeAttribute('class')
}
}
}

View File

@ -1,11 +0,0 @@
export default function contains (root, n) {
let node = n
while (node) {
if (node === root) {
return true
}
node = node.parentNode
}
return false
}

View File

@ -0,0 +1,19 @@
export type FocusEventHandler = (e: FocusEvent) => void;
export type MouseEventHandler = (e: MouseEvent) => void;
export type KeyboardEventHandler = (e: KeyboardEvent) => void;
export type CompositionEventHandler = (e: CompositionEvent) => void;
export type ClipboardEventHandler = (e: ClipboardEvent) => void;
export type ChangeEventHandler = (e: ChangeEvent) => void;
export type WheelEventHandler = (e: WheelEvent) => void;
export type ChangeEvent = Event & {
target: {
value?: string | undefined;
};
};
export type CheckboxChangeEvent = Event & {
target: {
checked?: boolean;
};
};
export type EventHandler = (...args: any[]) => void;

View File

@ -1,521 +0,0 @@
/**
* @ignore
* some key-codes definition and utils from closure-library
* @author yiminghe@gmail.com
*/
const KeyCode = {
/**
* MAC_ENTER
*/
MAC_ENTER: 3,
/**
* BACKSPACE
*/
BACKSPACE: 8,
/**
* TAB
*/
TAB: 9,
/**
* NUMLOCK on FF/Safari Mac
*/
NUM_CENTER: 12, // NUMLOCK on FF/Safari Mac
/**
* ENTER
*/
ENTER: 13,
/**
* SHIFT
*/
SHIFT: 16,
/**
* CTRL
*/
CTRL: 17,
/**
* ALT
*/
ALT: 18,
/**
* PAUSE
*/
PAUSE: 19,
/**
* CAPS_LOCK
*/
CAPS_LOCK: 20,
/**
* ESC
*/
ESC: 27,
/**
* SPACE
*/
SPACE: 32,
/**
* PAGE_UP
*/
PAGE_UP: 33, // also NUM_NORTH_EAST
/**
* PAGE_DOWN
*/
PAGE_DOWN: 34, // also NUM_SOUTH_EAST
/**
* END
*/
END: 35, // also NUM_SOUTH_WEST
/**
* HOME
*/
HOME: 36, // also NUM_NORTH_WEST
/**
* LEFT
*/
LEFT: 37, // also NUM_WEST
/**
* UP
*/
UP: 38, // also NUM_NORTH
/**
* RIGHT
*/
RIGHT: 39, // also NUM_EAST
/**
* DOWN
*/
DOWN: 40, // also NUM_SOUTH
/**
* PRINT_SCREEN
*/
PRINT_SCREEN: 44,
/**
* INSERT
*/
INSERT: 45, // also NUM_INSERT
/**
* DELETE
*/
DELETE: 46, // also NUM_DELETE
/**
* ZERO
*/
ZERO: 48,
/**
* ONE
*/
ONE: 49,
/**
* TWO
*/
TWO: 50,
/**
* THREE
*/
THREE: 51,
/**
* FOUR
*/
FOUR: 52,
/**
* FIVE
*/
FIVE: 53,
/**
* SIX
*/
SIX: 54,
/**
* SEVEN
*/
SEVEN: 55,
/**
* EIGHT
*/
EIGHT: 56,
/**
* NINE
*/
NINE: 57,
/**
* QUESTION_MARK
*/
QUESTION_MARK: 63, // needs localization
/**
* A
*/
A: 65,
/**
* B
*/
B: 66,
/**
* C
*/
C: 67,
/**
* D
*/
D: 68,
/**
* E
*/
E: 69,
/**
* F
*/
F: 70,
/**
* G
*/
G: 71,
/**
* H
*/
H: 72,
/**
* I
*/
I: 73,
/**
* J
*/
J: 74,
/**
* K
*/
K: 75,
/**
* L
*/
L: 76,
/**
* M
*/
M: 77,
/**
* N
*/
N: 78,
/**
* O
*/
O: 79,
/**
* P
*/
P: 80,
/**
* Q
*/
Q: 81,
/**
* R
*/
R: 82,
/**
* S
*/
S: 83,
/**
* T
*/
T: 84,
/**
* U
*/
U: 85,
/**
* V
*/
V: 86,
/**
* W
*/
W: 87,
/**
* X
*/
X: 88,
/**
* Y
*/
Y: 89,
/**
* Z
*/
Z: 90,
/**
* META
*/
META: 91, // WIN_KEY_LEFT
/**
* WIN_KEY_RIGHT
*/
WIN_KEY_RIGHT: 92,
/**
* CONTEXT_MENU
*/
CONTEXT_MENU: 93,
/**
* NUM_ZERO
*/
NUM_ZERO: 96,
/**
* NUM_ONE
*/
NUM_ONE: 97,
/**
* NUM_TWO
*/
NUM_TWO: 98,
/**
* NUM_THREE
*/
NUM_THREE: 99,
/**
* NUM_FOUR
*/
NUM_FOUR: 100,
/**
* NUM_FIVE
*/
NUM_FIVE: 101,
/**
* NUM_SIX
*/
NUM_SIX: 102,
/**
* NUM_SEVEN
*/
NUM_SEVEN: 103,
/**
* NUM_EIGHT
*/
NUM_EIGHT: 104,
/**
* NUM_NINE
*/
NUM_NINE: 105,
/**
* NUM_MULTIPLY
*/
NUM_MULTIPLY: 106,
/**
* NUM_PLUS
*/
NUM_PLUS: 107,
/**
* NUM_MINUS
*/
NUM_MINUS: 109,
/**
* NUM_PERIOD
*/
NUM_PERIOD: 110,
/**
* NUM_DIVISION
*/
NUM_DIVISION: 111,
/**
* F1
*/
F1: 112,
/**
* F2
*/
F2: 113,
/**
* F3
*/
F3: 114,
/**
* F4
*/
F4: 115,
/**
* F5
*/
F5: 116,
/**
* F6
*/
F6: 117,
/**
* F7
*/
F7: 118,
/**
* F8
*/
F8: 119,
/**
* F9
*/
F9: 120,
/**
* F10
*/
F10: 121,
/**
* F11
*/
F11: 122,
/**
* F12
*/
F12: 123,
/**
* NUMLOCK
*/
NUMLOCK: 144,
/**
* SEMICOLON
*/
SEMICOLON: 186, // needs localization
/**
* DASH
*/
DASH: 189, // needs localization
/**
* EQUALS
*/
EQUALS: 187, // needs localization
/**
* COMMA
*/
COMMA: 188, // needs localization
/**
* PERIOD
*/
PERIOD: 190, // needs localization
/**
* SLASH
*/
SLASH: 191, // needs localization
/**
* APOSTROPHE
*/
APOSTROPHE: 192, // needs localization
/**
* SINGLE_QUOTE
*/
SINGLE_QUOTE: 222, // needs localization
/**
* OPEN_SQUARE_BRACKET
*/
OPEN_SQUARE_BRACKET: 219, // needs localization
/**
* BACKSLASH
*/
BACKSLASH: 220, // needs localization
/**
* CLOSE_SQUARE_BRACKET
*/
CLOSE_SQUARE_BRACKET: 221, // needs localization
/**
* WIN_KEY
*/
WIN_KEY: 224,
/**
* MAC_FF_META
*/
MAC_FF_META: 224, // Firefox (Gecko) fires this for the meta key instead of 91
/**
* WIN_IME
*/
WIN_IME: 229,
}
/*
whether text and modified key is entered at the same time.
*/
KeyCode.isTextModifyingKeyEvent = function isTextModifyingKeyEvent (e) {
const keyCode = e.keyCode
if (e.altKey && !e.ctrlKey || e.metaKey ||
// Function keys don't generate text
keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {
return false
}
// The following keys are quite harmless, even in combination with
// CTRL, ALT or SHIFT.
switch (keyCode) {
case KeyCode.ALT:
case KeyCode.CAPS_LOCK:
case KeyCode.CONTEXT_MENU:
case KeyCode.CTRL:
case KeyCode.DOWN:
case KeyCode.END:
case KeyCode.ESC:
case KeyCode.HOME:
case KeyCode.INSERT:
case KeyCode.LEFT:
case KeyCode.MAC_FF_META:
case KeyCode.META:
case KeyCode.NUMLOCK:
case KeyCode.NUM_CENTER:
case KeyCode.PAGE_DOWN:
case KeyCode.PAGE_UP:
case KeyCode.PAUSE:
case KeyCode.PRINT_SCREEN:
case KeyCode.RIGHT:
case KeyCode.SHIFT:
case KeyCode.UP:
case KeyCode.WIN_KEY:
case KeyCode.WIN_KEY_RIGHT:
return false
default:
return true
}
}
/*
whether character is entered.
*/
KeyCode.isCharacterKey = function isCharacterKey (keyCode) {
if (keyCode >= KeyCode.ZERO &&
keyCode <= KeyCode.NINE) {
return true
}
if (keyCode >= KeyCode.NUM_ZERO &&
keyCode <= KeyCode.NUM_MULTIPLY) {
return true
}
if (keyCode >= KeyCode.A &&
keyCode <= KeyCode.Z) {
return true
}
// Safari sends zero key code for non-latin characters.
if (window.navigation.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {
return true
}
switch (keyCode) {
case KeyCode.SPACE:
case KeyCode.QUESTION_MARK:
case KeyCode.NUM_PLUS:
case KeyCode.NUM_MINUS:
case KeyCode.NUM_PERIOD:
case KeyCode.NUM_DIVISION:
case KeyCode.SEMICOLON:
case KeyCode.DASH:
case KeyCode.EQUALS:
case KeyCode.COMMA:
case KeyCode.PERIOD:
case KeyCode.SLASH:
case KeyCode.APOSTROPHE:
case KeyCode.SINGLE_QUOTE:
case KeyCode.OPEN_SQUARE_BRACKET:
case KeyCode.BACKSLASH:
case KeyCode.CLOSE_SQUARE_BRACKET:
return true
default:
return false
}
}
export default KeyCode

522
components/_util/KeyCode.ts Normal file
View File

@ -0,0 +1,522 @@
/**
* @ignore
* some key-codes definition and utils from closure-library
* @author yiminghe@gmail.com
*/
const KeyCode = {
/**
* MAC_ENTER
*/
MAC_ENTER: 3,
/**
* BACKSPACE
*/
BACKSPACE: 8,
/**
* TAB
*/
TAB: 9,
/**
* NUMLOCK on FF/Safari Mac
*/
NUM_CENTER: 12, // NUMLOCK on FF/Safari Mac
/**
* ENTER
*/
ENTER: 13,
/**
* SHIFT
*/
SHIFT: 16,
/**
* CTRL
*/
CTRL: 17,
/**
* ALT
*/
ALT: 18,
/**
* PAUSE
*/
PAUSE: 19,
/**
* CAPS_LOCK
*/
CAPS_LOCK: 20,
/**
* ESC
*/
ESC: 27,
/**
* SPACE
*/
SPACE: 32,
/**
* PAGE_UP
*/
PAGE_UP: 33, // also NUM_NORTH_EAST
/**
* PAGE_DOWN
*/
PAGE_DOWN: 34, // also NUM_SOUTH_EAST
/**
* END
*/
END: 35, // also NUM_SOUTH_WEST
/**
* HOME
*/
HOME: 36, // also NUM_NORTH_WEST
/**
* LEFT
*/
LEFT: 37, // also NUM_WEST
/**
* UP
*/
UP: 38, // also NUM_NORTH
/**
* RIGHT
*/
RIGHT: 39, // also NUM_EAST
/**
* DOWN
*/
DOWN: 40, // also NUM_SOUTH
/**
* PRINT_SCREEN
*/
PRINT_SCREEN: 44,
/**
* INSERT
*/
INSERT: 45, // also NUM_INSERT
/**
* DELETE
*/
DELETE: 46, // also NUM_DELETE
/**
* ZERO
*/
ZERO: 48,
/**
* ONE
*/
ONE: 49,
/**
* TWO
*/
TWO: 50,
/**
* THREE
*/
THREE: 51,
/**
* FOUR
*/
FOUR: 52,
/**
* FIVE
*/
FIVE: 53,
/**
* SIX
*/
SIX: 54,
/**
* SEVEN
*/
SEVEN: 55,
/**
* EIGHT
*/
EIGHT: 56,
/**
* NINE
*/
NINE: 57,
/**
* QUESTION_MARK
*/
QUESTION_MARK: 63, // needs localization
/**
* A
*/
A: 65,
/**
* B
*/
B: 66,
/**
* C
*/
C: 67,
/**
* D
*/
D: 68,
/**
* E
*/
E: 69,
/**
* F
*/
F: 70,
/**
* G
*/
G: 71,
/**
* H
*/
H: 72,
/**
* I
*/
I: 73,
/**
* J
*/
J: 74,
/**
* K
*/
K: 75,
/**
* L
*/
L: 76,
/**
* M
*/
M: 77,
/**
* N
*/
N: 78,
/**
* O
*/
O: 79,
/**
* P
*/
P: 80,
/**
* Q
*/
Q: 81,
/**
* R
*/
R: 82,
/**
* S
*/
S: 83,
/**
* T
*/
T: 84,
/**
* U
*/
U: 85,
/**
* V
*/
V: 86,
/**
* W
*/
W: 87,
/**
* X
*/
X: 88,
/**
* Y
*/
Y: 89,
/**
* Z
*/
Z: 90,
/**
* META
*/
META: 91, // WIN_KEY_LEFT
/**
* WIN_KEY_RIGHT
*/
WIN_KEY_RIGHT: 92,
/**
* CONTEXT_MENU
*/
CONTEXT_MENU: 93,
/**
* NUM_ZERO
*/
NUM_ZERO: 96,
/**
* NUM_ONE
*/
NUM_ONE: 97,
/**
* NUM_TWO
*/
NUM_TWO: 98,
/**
* NUM_THREE
*/
NUM_THREE: 99,
/**
* NUM_FOUR
*/
NUM_FOUR: 100,
/**
* NUM_FIVE
*/
NUM_FIVE: 101,
/**
* NUM_SIX
*/
NUM_SIX: 102,
/**
* NUM_SEVEN
*/
NUM_SEVEN: 103,
/**
* NUM_EIGHT
*/
NUM_EIGHT: 104,
/**
* NUM_NINE
*/
NUM_NINE: 105,
/**
* NUM_MULTIPLY
*/
NUM_MULTIPLY: 106,
/**
* NUM_PLUS
*/
NUM_PLUS: 107,
/**
* NUM_MINUS
*/
NUM_MINUS: 109,
/**
* NUM_PERIOD
*/
NUM_PERIOD: 110,
/**
* NUM_DIVISION
*/
NUM_DIVISION: 111,
/**
* F1
*/
F1: 112,
/**
* F2
*/
F2: 113,
/**
* F3
*/
F3: 114,
/**
* F4
*/
F4: 115,
/**
* F5
*/
F5: 116,
/**
* F6
*/
F6: 117,
/**
* F7
*/
F7: 118,
/**
* F8
*/
F8: 119,
/**
* F9
*/
F9: 120,
/**
* F10
*/
F10: 121,
/**
* F11
*/
F11: 122,
/**
* F12
*/
F12: 123,
/**
* NUMLOCK
*/
NUMLOCK: 144,
/**
* SEMICOLON
*/
SEMICOLON: 186, // needs localization
/**
* DASH
*/
DASH: 189, // needs localization
/**
* EQUALS
*/
EQUALS: 187, // needs localization
/**
* COMMA
*/
COMMA: 188, // needs localization
/**
* PERIOD
*/
PERIOD: 190, // needs localization
/**
* SLASH
*/
SLASH: 191, // needs localization
/**
* APOSTROPHE
*/
APOSTROPHE: 192, // needs localization
/**
* SINGLE_QUOTE
*/
SINGLE_QUOTE: 222, // needs localization
/**
* OPEN_SQUARE_BRACKET
*/
OPEN_SQUARE_BRACKET: 219, // needs localization
/**
* BACKSLASH
*/
BACKSLASH: 220, // needs localization
/**
* CLOSE_SQUARE_BRACKET
*/
CLOSE_SQUARE_BRACKET: 221, // needs localization
/**
* WIN_KEY
*/
WIN_KEY: 224,
/**
* MAC_FF_META
*/
MAC_FF_META: 224, // Firefox (Gecko) fires this for the meta key instead of 91
/**
* WIN_IME
*/
WIN_IME: 229,
// ======================== Function ========================
/**
* whether text and modified key is entered at the same time.
*/
isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e: KeyboardEvent) {
const { keyCode } = e;
if (
(e.altKey && !e.ctrlKey) ||
e.metaKey ||
// Function keys don't generate text
(keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12)
) {
return false;
}
// The following keys are quite harmless, even in combination with
// CTRL, ALT or SHIFT.
switch (keyCode) {
case KeyCode.ALT:
case KeyCode.CAPS_LOCK:
case KeyCode.CONTEXT_MENU:
case KeyCode.CTRL:
case KeyCode.DOWN:
case KeyCode.END:
case KeyCode.ESC:
case KeyCode.HOME:
case KeyCode.INSERT:
case KeyCode.LEFT:
case KeyCode.MAC_FF_META:
case KeyCode.META:
case KeyCode.NUMLOCK:
case KeyCode.NUM_CENTER:
case KeyCode.PAGE_DOWN:
case KeyCode.PAGE_UP:
case KeyCode.PAUSE:
case KeyCode.PRINT_SCREEN:
case KeyCode.RIGHT:
case KeyCode.SHIFT:
case KeyCode.UP:
case KeyCode.WIN_KEY:
case KeyCode.WIN_KEY_RIGHT:
return false;
default:
return true;
}
},
/**
* whether character is entered.
*/
isCharacterKey: function isCharacterKey(keyCode: number) {
if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {
return true;
}
if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {
return true;
}
if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {
return true;
}
// Safari sends zero key code for non-latin characters.
if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {
return true;
}
switch (keyCode) {
case KeyCode.SPACE:
case KeyCode.QUESTION_MARK:
case KeyCode.NUM_PLUS:
case KeyCode.NUM_MINUS:
case KeyCode.NUM_PERIOD:
case KeyCode.NUM_DIVISION:
case KeyCode.SEMICOLON:
case KeyCode.DASH:
case KeyCode.EQUALS:
case KeyCode.COMMA:
case KeyCode.PERIOD:
case KeyCode.SLASH:
case KeyCode.APOSTROPHE:
case KeyCode.SINGLE_QUOTE:
case KeyCode.OPEN_SQUARE_BRACKET:
case KeyCode.BACKSLASH:
case KeyCode.CLOSE_SQUARE_BRACKET:
return true;
default:
return false;
}
},
};
export default KeyCode;

View File

@ -0,0 +1,72 @@
import PropTypes from './vue-types';
import {
defineComponent,
nextTick,
onBeforeMount,
onMounted,
onUpdated,
Teleport,
watch,
} from 'vue';
import { useInjectPortal } from '../vc-trigger/context';
export default defineComponent({
compatConfig: { MODE: 3 },
name: 'Portal',
inheritAttrs: false,
props: {
getContainer: PropTypes.func.isRequired,
didUpdate: Function,
},
setup(props, { slots }) {
let isSSR = true;
// getContainer
let container: HTMLElement;
const { shouldRender } = useInjectPortal();
function setContainer() {
if (shouldRender.value) {
container = props.getContainer();
}
}
onBeforeMount(() => {
isSSR = false;
// drawer
setContainer();
});
onMounted(() => {
if (container) return;
// https://github.com/vueComponent/ant-design-vue/issues/6937
setContainer();
});
const stopWatch = watch(shouldRender, () => {
if (shouldRender.value && !container) {
container = props.getContainer();
}
if (container) {
stopWatch();
}
});
onUpdated(() => {
nextTick(() => {
if (shouldRender.value) {
props.didUpdate?.(props);
}
});
});
// onBeforeUnmount(() => {
// if (container && container.parentNode) {
// container.parentNode.removeChild(container);
// }
// });
return () => {
if (!shouldRender.value) return null;
if (isSSR) {
return slots.default?.();
}
return container ? <Teleport to={container} v-slots={slots}></Teleport> : null;
};
},
});

View File

@ -0,0 +1,191 @@
import PropTypes from './vue-types';
import Portal from './Portal';
import {
defineComponent,
shallowRef,
watch,
onMounted,
onBeforeUnmount,
onUpdated,
nextTick,
computed,
} from 'vue';
import canUseDom from './canUseDom';
import raf from './raf';
import { booleanType } from './type';
import useScrollLocker from './hooks/useScrollLocker';
let openCount = 0;
const supportDom = canUseDom();
/** @private Test usage only */
export function getOpenCount() {
return process.env.NODE_ENV === 'test' ? openCount : 0;
}
const getParent = (getContainer: GetContainer) => {
if (!supportDom) {
return null;
}
if (getContainer) {
if (typeof getContainer === 'string') {
return document.querySelectorAll(getContainer)[0] as HTMLElement;
}
if (typeof getContainer === 'function') {
return getContainer();
}
if (typeof getContainer === 'object' && getContainer instanceof window.HTMLElement) {
return getContainer;
}
}
return document.body;
};
export type GetContainer = string | HTMLElement | (() => HTMLElement);
export default defineComponent({
compatConfig: { MODE: 3 },
name: 'PortalWrapper',
inheritAttrs: false,
props: {
wrapperClassName: String,
forceRender: { type: Boolean, default: undefined },
getContainer: PropTypes.any,
visible: { type: Boolean, default: undefined },
autoLock: booleanType(),
didUpdate: Function,
},
setup(props, { slots }) {
const container = shallowRef<HTMLElement>();
const componentRef = shallowRef();
const rafId = shallowRef<number>();
const triggerUpdate = shallowRef(1);
const defaultContainer = canUseDom() && document.createElement('div');
const removeCurrentContainer = () => {
// Portal will remove from `parentNode`.
// Let's handle this again to avoid refactor issue.
if (container.value === defaultContainer) {
container.value?.parentNode?.removeChild(container.value);
}
container.value = null;
};
let parent: HTMLElement = null;
const attachToParent = (force = false) => {
if (force || (container.value && !container.value.parentNode)) {
parent = getParent(props.getContainer);
if (parent) {
parent.appendChild(container.value);
return true;
}
return false;
}
return true;
};
const getContainer = () => {
if (!supportDom) {
return null;
}
if (!container.value) {
container.value = defaultContainer;
attachToParent(true);
}
setWrapperClassName();
return container.value;
};
const setWrapperClassName = () => {
const { wrapperClassName } = props;
if (container.value && wrapperClassName && wrapperClassName !== container.value.className) {
container.value.className = wrapperClassName;
}
};
onUpdated(() => {
setWrapperClassName();
attachToParent();
});
useScrollLocker(
computed(() => {
return (
props.autoLock &&
props.visible &&
canUseDom() &&
(container.value === document.body || container.value === defaultContainer)
);
}),
);
onMounted(() => {
let init = false;
watch(
[() => props.visible, () => props.getContainer],
([visible, getContainer], [prevVisible, prevGetContainer]) => {
// Update count
if (supportDom) {
parent = getParent(props.getContainer);
if (parent === document.body) {
if (visible && !prevVisible) {
openCount += 1;
} else if (init) {
openCount -= 1;
}
}
}
if (init) {
// Clean up container if needed
const getContainerIsFunc =
typeof getContainer === 'function' && typeof prevGetContainer === 'function';
if (
getContainerIsFunc
? getContainer.toString() !== prevGetContainer.toString()
: getContainer !== prevGetContainer
) {
removeCurrentContainer();
}
}
init = true;
},
{ immediate: true, flush: 'post' },
);
nextTick(() => {
if (!attachToParent()) {
rafId.value = raf(() => {
triggerUpdate.value += 1;
});
}
});
});
onBeforeUnmount(() => {
const { visible } = props;
if (supportDom && parent === document.body) {
// render func
openCount = visible && openCount ? openCount - 1 : openCount;
}
removeCurrentContainer();
raf.cancel(rafId.value);
});
return () => {
const { forceRender, visible } = props;
let portal = null;
const childProps = {
getOpenCount: () => openCount,
getContainer,
};
if (triggerUpdate.value && (forceRender || visible || componentRef.value)) {
portal = (
<Portal
getContainer={getContainer}
ref={componentRef}
didUpdate={props.didUpdate}
v-slots={{ default: () => slots.default?.(childProps) }}
></Portal>
);
}
return portal;
};
},
});

View File

@ -1,10 +0,0 @@
export default {
methods: {
setState (state, callback) {
Object.assign(this.$data, state)
this.$nextTick(() => {
callback && callback()
})
},
},
}

View File

@ -0,0 +1,13 @@
import { defineComponent } from 'vue';
export default defineComponent({
compatConfig: { MODE: 3 },
name: 'Portal',
inheritAttrs: false,
props: ['getContainer'],
setup(_props, { slots }) {
return () => {
return slots.default?.();
};
},
});

View File

@ -0,0 +1,11 @@
import { defineComponent } from 'vue';
import { customRenderSlot } from '../vnode';
export default defineComponent({
name: 'RenderSlot',
setup(_props, { slots }) {
return () => {
return customRenderSlot(slots, 'default', {}, () => ['default value']);
};
},
});

View File

@ -0,0 +1,13 @@
import { easeInOutCubic } from '../easings';
describe('Test easings', () => {
it('easeInOutCubic return value', () => {
const nums = [];
// eslint-disable-next-line no-plusplus
for (let index = 0; index < 5; index++) {
nums.push(easeInOutCubic(index, 1, 5, 4));
}
expect(nums).toEqual([1, 1.25, 3, 4.75, 5]);
});
});

View File

@ -0,0 +1,56 @@
import scrollTo from '../scrollTo';
describe('Test ScrollTo function', () => {
let dateNowMock;
beforeAll(() => {
jest.useFakeTimers();
});
afterAll(() => {
jest.useRealTimers();
});
beforeEach(() => {
dateNowMock = jest
.spyOn(Date, 'now')
.mockImplementationOnce(() => 0)
.mockImplementationOnce(() => 1000);
});
afterEach(() => {
dateNowMock.mockRestore();
});
it('test scrollTo', async () => {
const scrollToSpy = jest.spyOn(window, 'scrollTo').mockImplementation((x, y) => {
window.scrollY = y;
window.pageYOffset = y;
});
scrollTo(1000);
jest.runAllTimers();
expect(window.pageYOffset).toBe(1000);
scrollToSpy.mockRestore();
});
it('test callback - option', async () => {
const cbMock = jest.fn();
scrollTo(1000, {
callback: cbMock,
});
jest.runAllTimers();
expect(cbMock).toHaveBeenCalledTimes(1);
});
it('test getContainer - option', async () => {
const div = document.createElement('div');
scrollTo(1000, {
getContainer: () => div,
});
jest.runAllTimers();
expect(div.scrollTop).toBe(1000);
});
});

View File

@ -0,0 +1,8 @@
import UnreachableException from '../unreachableException';
describe('UnreachableException', () => {
it('error thrown matches snapshot', () => {
const exception = new UnreachableException('some value');
expect(exception.error.message).toMatchInlineSnapshot(`"unreachable case: \\"some value\\""`);
});
});

View File

@ -0,0 +1,26 @@
import RenderSlot from '../__mocks__/RenderSlot';
import { mount } from '@vue/test-utils';
import { nextTick } from 'vue';
describe('render slot content', () => {
it('renders slot content', () => {
const wrapper = mount(RenderSlot, {
slots: {
default: () => 'This is slot content',
},
});
expect(wrapper.html()).toContain('This is slot content');
});
it('render default value when slot is fragment', async () => {
const wrapper = mount(RenderSlot, {
slots: {
default: () => <></>,
},
});
await nextTick();
expect(wrapper.html()).toContain('default value');
});
});

View File

@ -1,12 +0,0 @@
export default {
install: (Vue, options) => {
Vue.directive('ant-ref', {
bind: function (el, binding, vnode) {
binding.value(vnode)
},
unbind: function (el, binding, vnode) {
binding.value()
},
})
},
}

View File

@ -1,4 +0,0 @@
// https://github.com/moment/moment/issues/3650
export default function callMoment (moment, ...args) {
return (moment.default || moment)(...args)
}

View File

@ -0,0 +1,5 @@
function canUseDom() {
return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
}
export default canUseDom;

View File

@ -0,0 +1,27 @@
import { isArray, isString, isObject } from './util';
function classNames(...args: any[]) {
const classes = [];
for (let i = 0; i < args.length; i++) {
const value = args[i];
if (!value) continue;
if (isString(value)) {
classes.push(value);
} else if (isArray(value)) {
for (let i = 0; i < value.length; i++) {
const inner = classNames(value[i]);
if (inner) {
classes.push(inner);
}
}
} else if (isObject(value)) {
for (const name in value) {
if (value[name]) {
classes.push(name);
}
}
}
}
return classes.join(' ');
}
export default classNames;

View File

@ -0,0 +1,50 @@
import { nextTick } from 'vue';
import { addClass, removeClass } from '../vc-util/Dom/class';
import type { CSSMotionProps } from './transition';
const collapseMotion = (name = 'ant-motion-collapse', appear = true): CSSMotionProps => {
return {
name,
appear,
css: true,
onBeforeEnter: (node: HTMLDivElement) => {
node.style.height = '0px';
node.style.opacity = '0';
addClass(node, name);
},
onEnter: (node: HTMLDivElement) => {
nextTick(() => {
node.style.height = `${node.scrollHeight}px`;
node.style.opacity = '1';
});
},
onAfterEnter: (node: HTMLDivElement) => {
if (node) {
removeClass(node, name);
node.style.height = null;
node.style.opacity = null;
}
},
onBeforeLeave: (node: HTMLDivElement) => {
addClass(node, name);
node.style.height = `${node.offsetHeight}px`;
node.style.opacity = null;
},
onLeave: (node: HTMLDivElement) => {
setTimeout(() => {
node.style.height = '0px';
node.style.opacity = '0';
});
},
onAfterLeave: (node: HTMLDivElement) => {
if (node) {
removeClass(node, name);
if (node.style) {
node.style.height = null;
node.style.opacity = null;
}
}
},
};
};
export default collapseMotion;

View File

@ -0,0 +1,34 @@
import type { PresetColorKey } from '../theme/interface';
import { PresetColors } from '../theme/interface';
type InverseColor = `${PresetColorKey}-inverse`;
const inverseColors = PresetColors.map<InverseColor>(color => `${color}-inverse`);
export const PresetStatusColorTypes = [
'success',
'processing',
'error',
'default',
'warning',
] as const;
export type PresetColorType = PresetColorKey | InverseColor;
export type PresetStatusColorType = (typeof PresetStatusColorTypes)[number];
/**
* determine if the color keyword belongs to the `Ant Design` {@link PresetColors}.
* @param color color to be judged
* @param includeInverse whether to include reversed colors
*/
export function isPresetColor(color?: any, includeInverse = true) {
if (includeInverse) {
return [...inverseColors, ...PresetColors].includes(color);
}
return PresetColors.includes(color);
}
export function isPresetStatusColor(color?: any): color is PresetStatusColorType {
return PresetStatusColorTypes.includes(color);
}

View File

@ -0,0 +1,168 @@
/**
* source by `component-classes`
* https://github.com/component/classes.git
*/
import indexOf from 'lodash-es/indexOf';
/**
* Whitespace regexp.
*/
const re = /\s+/;
export class ClassList {
el: Element;
list: DOMTokenList;
constructor(el: Element) {
if (!el || !el.nodeType) {
throw new Error('A DOM element reference is required');
}
this.el = el;
this.list = el.classList;
}
array() {
const className = this.el.getAttribute('class') || '';
const str = className.replace(/^\s+|\s+$/g, '');
const arr = str.split(re);
if ('' === arr[0]) arr.shift();
return arr;
}
/**
* Add class `name` if not already present.
*
* @param {String} name
* @return {ClassList}
* @api public
*/
add(name: string): ClassList {
// classList
if (this.list) {
this.list.add(name);
return this;
}
// fallback
const arr = this.array();
const i = indexOf(arr, name);
if (!~i) arr.push(name);
this.el.className = arr.join(' ');
return this;
}
/**
* Remove class `name` when present, or
* pass a regular expression to remove
* any which match.
*
* @param {String|RegExp} name
* @return {ClassList}
* @api public
*/
remove(name: string | RegExp): ClassList {
if ('[object RegExp]' === toString.call(name)) {
return this._removeMatching(name as RegExp);
}
// classList
if (this.list) {
this.list.remove(name as string);
return this;
}
// fallback
const arr = this.array();
const i = indexOf(arr, name);
if (~i) arr.splice(i, 1);
this.el.className = arr.join(' ');
return this;
}
/**
* Remove all classes matching `re`.
*
* @param {RegExp} re
* @return {ClassList}
* @api private
*/
_removeMatching(re: RegExp): ClassList {
const arr = this.array();
for (let i = 0; i < arr.length; i++) {
if (re.test(arr[i])) {
this.remove(arr[i]);
}
}
return this;
}
/**
* Toggle class `name`, can force state via `force`.
*
* For browsers that support classList, but do not support `force` yet,
* the mistake will be detected and corrected.
*
* @param {String} name
* @param {Boolean} force
* @return {ClassList}
* @api public
*/
toggle(name: string, force: boolean): ClassList {
// classList
if (this.list) {
if ('undefined' !== typeof force) {
if (force !== this.list.toggle(name, force)) {
this.list.toggle(name); // toggle again to correct
}
} else {
this.list.toggle(name);
}
return this;
}
// fallback
if ('undefined' !== typeof force) {
if (!force) {
this.remove(name);
} else {
this.add(name);
}
} else {
if (this.has(name)) {
this.remove(name);
} else {
this.add(name);
}
}
return this;
}
/**
* Check if class `name` is present.
*
* @param {String} name
* @api public
*/
has(name: string) {
return this.list ? this.list.contains(name) : !!~indexOf(this.array(), name);
}
/**
* Check if class `name` is present.
*
* @param {String} name
* @api public
*/
contains(name: string) {
return this.has(name);
}
}
/**
* Wrap `el` in a `ClassList`.
*
* @param {Element} el
* @return {ClassList}
* @api public
*/
export default function (el: Element): ClassList {
return new ClassList(el);
}

View File

@ -0,0 +1,120 @@
import deselectCurrent from './toggle-selection';
interface Options {
debug?: boolean;
message?: string;
format?: string; // MIME type
onCopy?: (clipboardData: object) => void;
}
const clipboardToIE11Formatting = {
'text/plain': 'Text',
'text/html': 'Url',
default: 'Text',
};
const defaultMessage = 'Copy to clipboard: #{key}, Enter';
function format(message: string) {
const copyKey = (/mac os x/i.test(navigator.userAgent) ? '⌘' : 'Ctrl') + '+C';
return message.replace(/#{\s*key\s*}/g, copyKey);
}
function copy(text: string, options?: Options): boolean {
let message,
reselectPrevious,
range,
selection,
mark,
success = false;
if (!options) {
options = {};
}
const debug = options.debug || false;
try {
reselectPrevious = deselectCurrent();
range = document.createRange();
selection = document.getSelection();
mark = document.createElement('span');
mark.textContent = text;
// reset user styles for span element
mark.style.all = 'unset';
// prevents scrolling to the end of the page
mark.style.position = 'fixed';
mark.style.top = 0;
mark.style.clip = 'rect(0, 0, 0, 0)';
// used to preserve spaces and line breaks
mark.style.whiteSpace = 'pre';
// do not inherit user-select (it may be `none`)
mark.style.webkitUserSelect = 'text';
mark.style.MozUserSelect = 'text';
mark.style.msUserSelect = 'text';
mark.style.userSelect = 'text';
mark.addEventListener('copy', function (e) {
e.stopPropagation();
if (options.format) {
e.preventDefault();
if (typeof e.clipboardData === 'undefined') {
// IE 11
debug && console.warn('unable to use e.clipboardData');
debug && console.warn('trying IE specific stuff');
(window as any).clipboardData.clearData();
const format =
clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting['default'];
(window as any).clipboardData.setData(format, text);
} else {
// all other browsers
e.clipboardData.clearData();
e.clipboardData.setData(options.format, text);
}
}
if (options.onCopy) {
e.preventDefault();
options.onCopy(e.clipboardData);
}
});
document.body.appendChild(mark);
range.selectNodeContents(mark);
selection.addRange(range);
const successful = document.execCommand('copy');
if (!successful) {
throw new Error('copy command was unsuccessful');
}
success = true;
} catch (err) {
debug && console.error('unable to copy using execCommand: ', err);
debug && console.warn('trying IE specific stuff');
try {
(window as any).clipboardData.setData(options.format || 'text', text);
options.onCopy && options.onCopy((window as any).clipboardData);
success = true;
} catch (err) {
debug && console.error('unable to copy using clipboardData: ', err);
debug && console.error('falling back to prompt');
message = format('message' in options ? options.message : defaultMessage);
window.prompt(message, text);
}
} finally {
if (selection) {
if (typeof selection.removeRange == 'function') {
selection.removeRange(range);
} else {
selection.removeAllRanges();
}
}
if (mark) {
document.body.removeChild(mark);
}
reselectPrevious();
}
return success;
}
export default copy;

View File

@ -0,0 +1,41 @@
// copy from https://github.com/sudodoki/toggle-selection
// refactor to esm
const deselectCurrent = (): (() => void) => {
const selection = document.getSelection();
if (!selection.rangeCount) {
return function () {};
}
let active = document.activeElement as any;
const ranges = [];
for (let i = 0; i < selection.rangeCount; i++) {
ranges.push(selection.getRangeAt(i));
}
switch (
active.tagName.toUpperCase() // .toUpperCase handles XHTML
) {
case 'INPUT':
case 'TEXTAREA':
active.blur();
break;
default:
active = null;
break;
}
selection.removeAllRanges();
return function () {
selection.type === 'Caret' && selection.removeAllRanges();
if (!selection.rangeCount) {
ranges.forEach(function (range) {
selection.addRange(range);
});
}
active && active.focus();
};
};
export default deselectCurrent;

View File

@ -1,22 +0,0 @@
/**
* Safe chained function
*
* Will only create a new function if needed,
* otherwise will pass back existing functions or null.
*
* @returns {function|null}
*/
export default function createChainedFunction () {
const args = [].slice.call(arguments, 0)
if (args.length === 1) {
return args[0]
}
return function chainedFunction () {
for (let i = 0; i < args.length; i++) {
if (args[i] && args[i].apply) {
args[i].apply(this, arguments)
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More