Commit Graph

15 Commits

Author SHA1 Message Date
Andrzej Bakun
b22f9495f4 feat: use ResizeObserver Api instead of window.resize (#1392)
* feat: use ResizeObserver Api instead of window.resize

* fix(module:select): fall back to window.resize in IE11.

* fix(module:domEventService): switch from IsIE11 to IsResizeObserverSupported

* fix: Console.WriteLine removed

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-27 06:03:39 +00:00
Patrick
f20d863bc3 test: Add ability to use OverlayTrigger in tests (#1227)
* Add TestDomEventService to TestBase

* chore(tests): update to net5

* feat(testdomeventservice): override eventdomservice to null

* fix(AddEventListener): make AddEventListener virtual

* feat(test): add basic overlay test

* fix(name): make name .cs
2021-03-09 13:54:30 +00:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
James Yeung
2e668e1b54 docs: fix header breakpoint (#938) 2020-12-29 23:35:03 +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
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
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +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
笨木头
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
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
ElderJames
7d15f20674 refactor: refactor the directory structure to match ant-design 2020-03-05 12:17:50 +08:00