Commit Graph

241 Commits (d315b6141848d5cbc0e435099cd973f93459f393)

Author SHA1 Message Date
tangjinzhou 5bdd6f4007 fix: filter invalid form items #4435 2021-07-31 22:41:36 +08:00
tangjinzhou b5ab14df8d fix: formitem error when use native tag #4383
close #4383
2021-07-17 21:19:10 +08:00
tangjinzhou 2dc5bbbf43 fix: useForm type error #4372
close #4372
2021-07-15 21:20:00 +08:00
tangjinzhou 39c866eb02 feat: useForm ts type 2021-07-12 10:00:10 +08:00
tangjinzhou cdbe8eea6b feat: add useForm 2021-06-28 16:01:47 +08:00
tangjinzhou 5f8d8a555b fix: form validateFirst not reject #4273 2021-06-28 11:21:23 +08:00
tangjinzhou 4a0fce5a0a release 2.2.0-beta.6 2021-06-26 14:27:26 +08:00
ajuner d028cce23f
chore: use type import (#4260) 2021-06-26 09:35:40 +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 116c8e4cef test: update snap 2021-06-20 22:53:42 +08:00
tangjinzhou 0dcdd92ba2 release 2.2.0-beta.3 2021-06-11 22:07:59 +08:00
tanjinzhou 791ae38bf8 fix: form-item expose some method #4183 2021-06-09 11:33:08 +08:00
tanjinzhou 617e534fda fix: form-item class not work 2021-06-09 10:31:56 +08:00
tangjinzhou b65a8672a4 fix: form class style not work 2021-06-07 22:54:58 +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
tangjinzhou a1e180da8c fix: inline-form span layout not work #3862 2021-04-17 08:42:18 +08:00
John d8628ce66a
feat(form): `scrollToFirstError` supports passing in options (#3918) 2021-04-10 22:11:11 +08:00
John c1102df3f0
refactor: update select style (#3781) 2021-03-12 14:16:58 +08:00
zkwolf 20cd96e400
fix: improve form type definition #3638 (#3669) 2021-02-07 18:32:29 +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
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
tangjinzhou adc6afb8fd
chore: support less4 (#3449) 2020-12-27 14:50:32 +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
Jason e29ad47995
fix(form): form rules type error (#3150) 2020-11-12 15:21:16 +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 19d5e7a14a fix: lint error 2020-11-07 22:43:31 +08:00
tangjinzhou a13dd20f58 style: format file 2020-11-07 15:37:17 +08:00
tangjinzhou 26779d6367 fix: input style issue #3089 2020-11-02 22:37:24 +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
undefined 5696b19081 chore: fix css error #3069 2020-10-31 14:09:09 +08:00
tanjinzhou 016c711cf1 fix: file path error 2020-10-28 17:09:25 +08:00
tanjinzhou 789647c604 test: update test & ts 2020-10-28 15:31:45 +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 40893681c5 test: update grid snap 2020-10-24 21:36:05 +08:00
tangjinzhou 86a90468ba perf: update transition 2020-10-22 22:45:21 +08:00
tanjinzhou d2d613980a chore: update build config 2020-10-19 16:43:10 +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 ac863a6a11 fix: use support chain operate 2020-10-13 19:14:56 +08:00
tanjinzhou 712f2b1599 refactor: auto-complete by ts 2020-10-12 18:46:05 +08:00
tanjinzhou 61ef8e6883 chore: PropTypes.bool to PropTypes.looseBool 2020-10-10 18:16:28 +08:00
undefined c0bbbfaa4a chore: udpate ts 2020-10-02 21:16:05 +08:00
Amour1688 28111e7f34 chore: rename `ConfigConsumerProps` to `defaultConfigProvider` 2020-09-30 10:47:18 +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
tangjinzhou f99200c966 test: update snap 2020-09-19 23:36:48 +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 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 6fa4f9cd23 bump 2.0.0-beta.3 2020-08-25 14:17:00 +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 0eb257b321 test: update snap 2020-08-14 15:25:17 +08:00
tanjinzhou 36ee580f72 fix: form trigger twice validate 2020-08-05 15:44:52 +08:00
tanjinzhou 6f2fc69e1e feat: change formmodel to form 2020-07-28 17:10:06 +08:00
tangjinzhou 72da2b8997 perf: remove not use module base 2020-07-25 22:00:10 +08:00
tangjinzhou ed2a8d6cef test: update some not support props 2020-07-25 15:46:49 +08:00
undefined 6cad9c3cc0 feat: udpate formmodel 2020-07-06 22:31:07 +08:00
tanjinzhou 585bb7495b chore: update destory to unmount 2020-06-11 16:13:09 +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
tangjinzhou 741897be67 feat: custom component support tooltip 2020-05-14 22:30:46 +08:00
tangjinzhou e0bf26182b test: update snap 2020-04-09 22:40:06 +08:00
tangjinzhou 6925c92212 test: update snapshot 2020-04-05 14:19:12 +08:00
tanjinzhou caabe4208f test: update snapshots 2020-03-26 17:26:53 +08:00
zkwolf 1631271e23
feat: form, input-number use new icon (#1949) 2020-03-26 11:56:16 +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 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
tangjinzhou cda69c6663 fix: auto-complete placeholder issue #1761 2020-02-07 09:59:40 +08:00
tanjinzhou 4e65ae0e0a perf: update listeners 2020-01-19 16:58:38 +08:00
tangjinzhou d7561734ea style: format code 2019-12-21 18:37:33 +08:00
zkwolf a66ff7deb0 fix: timepicker non-unique id (#1566) 2019-12-18 13:05:59 +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
tanjinzhou d6bf99b279 test: update snap 2019-10-30 16:55:01 +08:00
zkwolf 5d3353be6b fix: input style bug (#1322) 2019-10-22 10:57:20 +08:00
tanjinzhou 3b45c7e128 fix: browser suspended when form-item is slot #1271 2019-10-14 15:49:40 +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 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 4ce99b91e1 update configProvider 2019-09-11 22:51:52 +08:00
tanjinzhou f94f50f326 cr exxx to nxxx 2019-09-11 18:11:48 +08:00
tangjinzhou c31aab0685 cr button 2019-09-08 20:16:17 +08:00
tanjinzhou c80e54ba78 feat: form add selfUpdate #1049 2019-08-30 14:07:32 +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 1e53fc85b3 update snapshots and prettier 2019-08-26 22:47:19 +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 259f16b145 fix: ie scrollerbar trigger blur event #999 2019-08-14 18:41:49 +08:00
wangxueliang f66fae47e3 feat: merge master 2019-08-08 19:02:54 +08:00
Tudero Li 949cb6bdcc fix: error doc file in form components #1054 (#1055) 2019-08-04 21:21:36 +08:00
tangjinzhou 55a59f207f fix: ie scrollerbar trigger blur event #999 2019-07-30 19:51:49 +08:00
tangjinzhou ecf7c8b42c fix: update icon focusable="false" #924 2019-07-07 21:27:16 +08:00
drafish b0c95d36ae fix issue #930 (#931) 2019-07-05 09:44:12 +08:00
tangjinzhou 5f41fa5e99 cr vc-rate 2019-07-03 21:56:30 +08:00