Commit Graph

161 Commits

Author SHA1 Message Date
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
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
tangjinzhou
5376014b33 docs: update doc anchor 2023-04-21 22:29:04 +08:00
luoawai
84037f8eef
fix(Modal): fix modal locale (#6423) 2023-04-06 10:56:10 +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
d95861aa90 fix: motion not work 2023-03-16 14:41:44 +08:00
tangjinzhou
516b2e5a0c refactor: rename _style to style 2023-02-27 16:00:05 +08:00
tangjinzhou
f3ffcdbc7e doc: update cover 2023-02-23 12:21:23 +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
221b203cbb refactor: modal 2023-01-28 10:02:40 +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
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
tangjinzhou
9d210e3a30 fix: remove mock transition when test env #4565 2022-07-06 18:21:16 +08:00
tangjinzhou
646f0c69b2 fix: modal method wrapClassName not work, close #5550 2022-04-26 17:14:03 +08:00
tangjinzhou
04752880af doc: update drag demo 2022-04-25 14:24:03 +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
bqy_fe
d645ad6eda
docs(modal): update type definition (#5478) 2022-04-10 09:36:03 +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
85197c4b50 feat: pagination add responsive 2022-03-17 13:51:08 +08:00
bqy
eb6711f4f9
feat(components): [modal] export modalProps (#5340) 2022-03-15 23:02:49 +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
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
ce767f2e0d doc: update demo ts type 2022-01-11 23:30:47 +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
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
a6d9d36343 fix: api components support locale, close #4780 2021-10-26 16:12:56 +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
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
沈青川
7236fc253b
fix: ModalFuncProps types which can be string text (#4664) 2021-09-17 16:13:26 +08:00
叡山电车
a4d907a1bf
fix(Modal): type-definition error (#4632) 2021-09-09 17:02:02 +08:00
undefined
11498add8e fix: appcontext not work & function support #4627 2021-09-08 17:12:11 +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
d5952c060f fix: modal ts error for parentContext #4305
close #4305
2021-07-01 21:45:35 +08:00
tangjinzhou
2c2726c827 style: lint code 2021-06-30 14:45:05 +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
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
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
116c8e4cef test: update snap 2021-06-20 22:53:42 +08:00
zkwolf
731a58d518
fix: add loose to PropTypes.shape (#4001) 2021-04-27 22:11:31 +08:00
Amour1688
1504e2ba33
chore: webpack 5 (#3894) 2021-04-09 11:00:41 +08:00
zkwolf
73c71e19a2
fix: modal.confirm closable invalid #3844 (#3845) 2021-03-27 22:03:23 +08:00