Commit Graph

196 Commits

Author SHA1 Message Date
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
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
xrkffgg
1d446c3c3e
style: fix datepicker disabled color (#2222) 2020-05-11 21:49:02 +08:00
tanjinzhou
0c8951ab5a feat: date-picker ok calendar support string value 2020-04-30 16:16:07 +08:00
tanjinzhou
ed528e68b7 feat: datepicker timepicker calendar support string value #718 2020-04-29 18:44: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
1112f2f791 feat: date-picker support align 2020-04-17 17:26: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
zkwolf
abeb7cfa67
feat: datepicker use new icon (#1961) 2020-03-28 15:45:37 +08:00
tanjinzhou
caabe4208f test: update snapshots 2020-03-26 17:26:53 +08:00
tangjinzhou
a87f5564cc fix: weekpicker can not custom trigger picker #1915 2020-03-21 16:14:33 +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
tangjinzhou
689921fe91 fix: badge animation and other style 2020-03-15 14:02:16 +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
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
tanjinzhou
4e65ae0e0a perf: update listeners 2020-01-19 16:58:38 +08:00
tangjinzhou
594dc07dff perf: update listeners 2020-01-18 21:34:23 +08:00
tangjinzhou
d7561734ea style: format code 2019-12-21 18:37:33 +08:00
tanjinzhou
1f7ae756fc docs: update docs 2019-12-10 17:28:57 +08:00
tanjinzhou
d6bf99b279 test: update snap 2019-10-30 16:55:01 +08:00
tanjinzhou
6b3de60163 doc: add faq about date-picker mode="year" 2019-10-09 19:03:53 +08:00
tanjinzhou
b5d4dfd30f style: format demo 2019-10-09 18:32:23 +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
4ce99b91e1 update configProvider 2019-09-11 22:51:52 +08:00
tanjinzhou
927a0a6c81 cr cxxx- exxx 2019-09-10 18:57:08 +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
wangxueliang
f66fae47e3 feat: merge master 2019-08-08 19:02:54 +08:00
tangjinzhou
55a59f207f fix: ie scrollerbar trigger blur event #999 2019-07-30 19:51:49 +08:00
SnowWinterMaye
68c212df65 datePicker 添加默认渲染slot支持 (#957)
* datePicker  添加默认渲染slot支持

* 功能优化
2019-07-16 21:19:47 +08:00
tangjinzhou
ecf7c8b42c fix: update icon focusable="false" #924 2019-07-07 21:27:16 +08:00
tanjinzhou
f9373e44ce feat: add popup ref 2019-07-04 18:12:52 +08:00
wangxueliang
76d8491b66 style: fix code format 2019-05-28 11:37:38 +08:00
wangxueliang
5d8d9248a3 test: update snapshots 2019-05-18 15:49:50 +08:00
wangxueliang
300fc9a2bc feat: update date-picker 2019-04-20 12:34:24 +08:00
wangxueliang
341374c44e feat: update style to 3.13.6 2019-03-30 16:06:06 +08:00
wangxueliang
3eb046f10a test: update snapshots 2019-03-11 21:06:53 +08:00
tangjinzhou
f2fba47e4d Merge branch 'master' into feat-1.4.0 2019-02-18 21:44:51 +08:00
tangjinzhou
805d4e3295 docs: update url path 2019-02-16 16:51:21 +08:00
tangjinzhou
a0be4e43ad Merge branch 'master' into feat-1.4.0 2019-02-02 16:19:18 +08:00
tangjinzhou
55a8dca9e7 style: update lint and format code 2019-02-01 17:23:00 +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
0f7d77830a bump 1.3.1 2019-01-15 10:14:36 +08:00
tangjinzhou
ffb2a593b1 style: lint add semi and prettier 2019-01-12 12:46:29 +08:00
tangjinzhou
ac88e4949b refactor: tag 2019-01-08 13:17:46 +08:00
tangjinzhou
14dfebab0b feat: update style to 3.11.6 2019-01-02 21:01:56 +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
05deb537f6 test: update datepicker test 2019-01-02 11:47:35 +08:00
tangjinzhou
94d2515c80 docs: update api doc 2018-12-31 21:43:57 +08:00
tangjinzhou
d63935e506 fix: menu first expand not animation in inline mode 2018-12-19 12:22:55 +08:00
tangjinzhou
6ec6e38a52 fix: datepicker render footer twice question #315 2018-12-18 21:28:21 +08:00
tangjinzhou
0d3821910f feat: update to 3.10.9 2018-12-13 21:26:21 +08:00
tangjinzhou
4e0d5ce4b7 feat: update select 2018-12-11 11:40:27 +08:00
tangjinzhou
1d72ddf6bc feat: update progress & radio 2018-12-10 22:25:16 +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
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
0ce9d646a7 feat: update back-top badge breadcrumb button calendar card carousel cascader collapse 2018-11-28 21:58:42 +08:00
tangjinzhou
d59d6ee5ad feat: update 3.10.7 style 2018-11-14 21:33:56 +08:00
tangjinzhou
2b3d0a72d9 test: update snapshots 2018-10-30 21:19:31 +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
df5db65397 update wave & tag & tag snapshots 2018-09-17 13:17:13 +08:00
undefined
054a8ceb6f 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
746fc9a792 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
8449c71e12 test: update snapshots 2018-07-29 21:31:15 +08:00
tangjinzhou
dc94eeaefa test: update datepicker test 2018-07-03 10:24:17 +08:00
tjz
a8dcabb1a0 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
tangjinzhou
228f4478a5 fix: rangePicker validator check failed for prop value is [undefined, undefined] 2018-06-05 10:49:51 +08:00
tangjinzhou
81ab829b1d fix: datepicker event repeatedly called when showTime 2018-05-30 17:44:20 +08:00
tangjinzhou
e9b6914282 fix: date-picker keydown event not work 2018-05-24 18:49:04 +08:00
tjz
eac84f2d2c test: update demotest to async 2018-05-18 22:04:10 +08:00
tangjinzhou
7bf21fe51f test: add snapshot 2018-05-15 09:52:44 +08:00
tjz
e5f766cbca style: eslint fix .js .jsx .vue 2018-04-21 12:51:56 +08:00
tjz
c2ab98a101 add datepicker support v-model 2018-04-14 21:22:09 +08:00
tjz
008b01d250 fix components name 2018-04-08 21:17:20 +08:00
tjz
86af76b048 update to 3.4.0 2018-04-07 14:29:59 +08:00
tangjinzhou
2efba66274 update docs 2018-03-21 13:31:55 +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
tangjinzhou
e7f5342862 change .vue to .jsx 2018-03-19 10:16:27 +08:00
tjz
eb041a8b2d update date-picker demo 2018-03-18 22:05:55 +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
0a923aff7b add date-picker 2018-03-15 21:40:34 +08:00
tjz
ca11705ef0 add calendar doc 2018-03-14 22:00:43 +08:00