Commit Graph

51 Commits

Author SHA1 Message Date
Andrzej Bakun
dffe33aed4 fix(module: overlay): getFirstChildDomInfo when firstElementChild is null (#989)
getFirstChildDomInfo returns passed domInfo when dom.firstElementChild is null
fixes #837
2021-01-17 15:41:28 +08:00
James Yeung
43664736f7 feat(module: table): fixed header & columns (#954)
* feat(module: table): support fixed header & columns

* fix layout of the fixed columns & header

* fix scrollbar hidding

* header and body sync scroll

* fix column width calc

* fix demo pagesize

* fix docs
2021-01-09 23:57:31 +08:00
James Yeung
2e668e1b54 docs: fix header breakpoint (#938) 2020-12-29 23:35:03 +08:00
zxyao
ef4701b6ed refactor(module: modal): refactor the code of Modal, Confirm (#914)
* refactor(module: modal): refactor the code of Modal, Confirm and Dialog

refactor details:
- Add DialogWrapper compontent to control the logic of dialog removal from DOM
- Add the appropriate folders for Dialog, Modal, and Confirm
- Remove methods with the same logic but different names in ConfirmService
- Split Title into Title (string) and Titletemplate (renderfragment)
- Add comments to code
- Rename ConfirmDialog to Confirm
- Specification of method name in ConfirmService
- Adjust the time of throttle function for draggabe modal
- Extract the common part of ModalOptions, ConfirmOptions and DialogOptions as DialogOptionsBase

* refactor: move DefaultCloseIcon etc. static members to DialogOptionsBase

* docs(module: modal): update docs

* fix: dialog incorrect waiting

* fix: pickup missing pr/7
2020-12-26 21:39:04 +08:00
Zonciu Liang
d62d23257b fix(module: select): the behavior when Overlay is disabled. Remove clear icon when Select is disabled (#847)
* fix(module: core-overlay): 'disabled' class will be removed correctly

* fix(module: select): remove the clear icon if selector is disabled
2020-12-03 12:28:02 +08:00
ElDiddi
41077bc2fb refactor(module: select): completely new (#800)
* select-rewritten

select-rewritten

* modul: select - update 1

* select-update2

* select-update3

* select-update 4

* feat: append label tag & auto tokenization

* fix: conflict in drpdown demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-27 13:13:26 +08:00
zxyao
4f4b8ea767 fix(module: modal): dom cannot be destroyed when the page changed on DestroyOnClose is false (#799)
* fix(module: modal): dom cannot be destroyed when the page changed

* chore: remove console.log info of debug
2020-11-18 16:01:31 +08:00
Micah Osborne
6b21265ae1 fix: absolute positioning before doesn't take the scroll position into account (#744) 2020-11-12 16:53:14 +08:00
zxyao
86942d7e18 fix: modal box randomly closed when multiple mouse click performed within it (#696) (#715)
* fix: invalid type mapping

* fix: frequent click results in modal self-closing (#696)

* fix(module: radio): the onclick event is repeatedly triggered
2020-10-25 19:21:36 +08:00
笨木头
34fff47114 fix(overlay): bugs when overlay is nested (#681) 2020-10-14 17:24:26 +08:00
James Yeung
66f6183e0f feat(module: avatar): add avatar group (#677)
feat: add max count style

feat(module: avatar): add avatar group
2020-10-14 13:56:59 +08:00
TimChen
914dfed427 feat: complete backtop (#660)
* feat: complete backtop

* fix: backtop

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-09 10:59:52 +08:00
Brian Ding
62c84aa84f fix(module: slider): cannot slide (#653)
* feat: deserialize event listner args

* fix(module: slider): update ts method

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-28 16:44:11 +08:00
James Yeung
360fe0d3c0 fix(hosting): server prerendering issue (#583)
* refactor: rename JSInterop constants

* docs: fix typo

* fix: server prerendering issue
2020-09-09 00:52:14 +08:00
zxyao
88a26ac583 fix(module: modal&drawer): body scroll bar does not respond correctly (#573) 2020-09-05 16:09:58 +08:00
James Yeung
716785b6b2 fix(module: upload): fileList can't be refreshed while it was changed (#561) 2020-09-02 15:15:59 +08:00
Brian Ding
77af5a3dc7 refactor(JS Interop): reuse the global event listener (#466)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 11:13:36 +08:00
zxyao
ec6886ae24 feat(module: modal): support draggable (#523)
* feat(module: modal): allow drag Modal

* feat(module: demo): add draggable modal demo

* fix(module: modal): support reset position on show in draggable mode

* fix: width error when modal close immediately after opening

* docs: change demo order of Modal compontent

* fix: modal reset to antd style when close immediately after opening

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 07:28:44 +08:00
笨木头
7a4ab2a302 fix(module: dropdown): couldn't auto close menu (#394)
* fix(module: dropdown): couldn't auto close menu

* refactor(module: overlay): change public function to internal

* fix(module: dropdown): couldn't close in modal
2020-07-23 22:51:02 +08:00
zxyao
20b5bb5e7d fix(module:modal): the width will be added when there is no scroll bar (#408) 2020-07-22 22:24:58 +08:00
zxyao
871a955872 fix: drawer, modal and confirm multi level open scroll bar bug (#401)
fixed #393
2020-07-21 22:32:54 +08:00
Meeleem
914f9eff1f fix(module: upload): Upload with other form parameters (#398) 2020-07-21 15:50:38 +08:00
Meeleem
93045f5162 feat(module: upload): add support for fileList, pictureStyle and avatar (#391)
* feat (module: upload): FileList, PictureStyle, Avatar

* fix: adding eventlistener

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 00:16:02 +08:00
Meeleem
dcbb3d8fbd fix(module: upload) : determine success based on status==200 (#351) 2020-07-13 11:54:53 +08:00
zxyao
cd2901fa7b fix: enable scroll breaking custom style (#337) (#339)
* fix: enable scroll breaking custom style (#337)

* fix: indent to 2 spaces

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-11 23:41:27 +08:00
Henry.zhang
ef22dd5a1b feat: add mentions component (#286)
* feat: add mentions component

* fix: update with z-index

* feat: new mention components (unfinished)

* fix: show chinese letter for affix and tree

* refactor: clean code

* fix: the display position of the dropdown is consistent with the cursor

* fix: mistakes

Co-authored-by: ElderJames <shunjiey@hotmail.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
2020-07-11 01:46:35 +08:00
Meeleem
bd9d06b7be fix(module: upload) : upload crush in firefox (#296)
* fix (module: upload): firefox upload

* fix (module: upload): firefox upload

* fix(module: upload): button ref

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-02 14:08:51 +08:00
Meeleem
1c90ee0333 feat: add upload component (#276)
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-01 06:49:51 +08:00
XuRui
6a52961487 feat: add select component (#222)
* fix: other values may exist in FileAttributes

* feat: add javascript interop for select component

* feat: init select component

* docs: add menu item to select docs

* feat: implement dropdownRender for select component

* docs: init select docs

* fix: remove 3.0 iframe

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-14 18:54:14 +08:00
Henry.zhang
ab19703301 refactor: demos of icon, steps , tabs (#199)
* refactor: remove md of tabs demo

* feat: add demos of steps

* refactor: tabs demo

* fix: icon

* refactor: tag

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-10 21:44:21 +08:00
zxyao
bda4388b96 fix: drawer and modal bug (#177)
* fix: drawer animation transition

* fix: when modal is opening, body scroll bar dispaly

* fix: scroll bar is not hidden when drawer is displayed

* fix: rebase conflict

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-04 17:03:13 +08:00
James Yeung
6680fcb3da refactor: layout and mock-browser (#184) 2020-06-03 23:11:02 +08:00
zxyao
6db07ad916 feat: add component modal (#167)
* feat: add component modal

* fix: adjust namespace and fix TAB keyboard bug

* fix: reset package.json to cuueernt head

* fix: remove antblazor.sln

* refactor: using c# to control the display and hiding of modal
2020-06-02 14:25:44 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
James Yeung
29c965f78d docs: add demo code copy (#121) 2020-05-16 23:27:40 +08:00
zxyao
68d9743fe3 refactor(notification): using a common global container (#116)
* refactor: using a common global container

* refactor: notification remove instance
2020-05-16 16:52:44 +08:00
zxyao
cd73cf1cdd feat: add component notification (#99)
* feat: add notification

* fix: onclick event trigger on onclise on server rendering

* fix: notification no longer requires container

* fix: convert OnClick and OnClose type to event
2020-05-10 22:43:58 +08:00
Brian Ding
0e8669a982 feat: add component affix (#98)
* feat(module: affix): add component affix

* feat(module: affix): implement container target
2020-05-10 01:35:22 +08:00
笨木头
b1c9783edb feat: add Dropdown (#93)
* feat: add onmouseleave/onmouseenter event

* feat: add js function

* feat: add dropdown

* feat(module: menu): support set PrefixCls from parent

* docs: add dropdown demo

* refactor(module: dropdown): remove log code

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-09 11:09:07 +08:00
笨木头
5e1c2f21e5 feat: add js methods (#92)
* feat: add js methods

* style: formatting
2020-05-03 17:22:33 +08:00
James Yeung
cc9e2df41c refactor: standardized code specification (#82)
* refactor: standardized code specification

* fix: rebase conflict
2020-04-23 17:13:56 +08:00
Brian Ding
035e418072 fix: AddEventListener method (#81)
* chore: update js addEventListener & stringify event args

* two blanks indent
2020-04-22 19:37:06 +08:00
GarvinTan
cf2a0785d6 feat: add back-top (#53)
* feat : add back to top

* Feat: update back-to-top onclick interop

* feat: append back-top class setter

* feat: update back-tp classMapper

* feat: update back-top dom architecture
2020-03-27 17:24:16 +08:00
James Yeung
2d801c6c53 feat: add component radio (#36)
* feat: add component radio

* feat: add radio-group
2020-03-25 00:32:26 +08:00
ElderJames
21c008690b feat: add grid 2020-03-15 23:54:48 +08:00
Bin Dong
46ca380a11 feat(typography): polish typograph copy related functions. (#16)
* doct: Add DemoCard component

* doc: Update Button demo page.

* doct: Add DemoCard component

* feat:(typography)( Add copyable icon render and corresponding trial functions.
Add a console.log() wrap up for jsinterop testing.
Temporarily use log instead of copy before copy is implemented.
Add copyable demo in demo project.

* feat (typography): polish typograph copy related functions.

* doct: Add DemoCard component

* feat:(typography)( Add copyable icon render and corresponding trial functions.
Add a console.log() wrap up for jsinterop testing.
Temporarily use log instead of copy before copy is implemented.
Add copyable demo in demo project.

* feat (typography): polish typograph copy related functions.
2020-03-12 16:35:23 +08:00
Bin Dong
73d323e428 feat(module:paragraph): add paragraph copy feature (#14)
* doct: Add DemoCard component

* doc: Update Button demo page.

* doct: Add DemoCard component

* feat:(typography)( Add copyable icon render and corresponding trial functions.
Add a console.log() wrap up for jsinterop testing.
Temporarily use log instead of copy before copy is implemented.
Add copyable demo in demo project.
2020-03-12 13:00:54 +08:00
ElderJames
ea7b14d658 refactor: getDom funciton 2020-03-11 16:49:25 +08:00
ElderJames
2823e82f45 refactor: domEventService 2020-03-11 16:40:07 +08:00
ElderJames
e8ddcf1278 feat: add gulp task for typescript 2020-03-10 15:25:45 +08:00