* Add support multiple date formats for DatePickerBase
* Fix test
* Extend docs
* Fix merge
* Revert "Add support multiple date formats for DatePickerBase"
This reverts commit 9021dcdd
* Refactoring. Add mask property for DatePickerBase. For input value constraint.
* Some fixes
* Refactoring
* Add value converter for MaskInput
* Some fix
* fix Chinese
* Refactoring
* Fix tests
* Fix tests
* clean up
* Fix tests
* Pass mask to RangePicker
* Fix AvatarTests
* Fix merge
* Stage
* Stabilized tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Add OnClick parameter to BreadcrumbItem. Add tests for Breadcrumb and BreadcrumbItem. Remove unused and unreachable code until needed at a later date. Documented parameters not in use, but left to avoid breaking the existing public API.
* Fix whitespace
* Update signature of OnClick for BreadcrumbItem to pass a Tuple<MouseEventArgs, BreadcrumbItem> giving access to the click arguments and the item clicked.
* Add ExludeFromCodeCoverage to POCO
* Update HTML markup for Breadcrumbs to match React Ant.Design (use nav, ol and li elements instead of div and spans only)
* fix naming
* fix error
* fix test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:overlay): submenu causing crash
* fix(module:overlay): submenu causing crash
* fix(module:menu): show missing chevron
mark top menu as selected on init
do not render non-active overlay submenus
* tests: common js mock extracted
nullable enabled for test project
* tests: menu
* fix(module:menu): incorrect behavior in layout
* perf: avoid memory leak #1834
Avoid memory leak by remove the exclusive parameter and logic in the code block on AddEventListener method in DomEventService class.
The following are the components affected:
components/affix/Affix.razor.cs
components/anchor/Anchor.razor.cs
components/carousel/Carousel.razor.cs
components/core/Component/Overlay/Overlay.razor.cs
components/core/Component/Overlay/OverlayTrigger.razor.cs
components/core/JsInterop/DomEventService.cs
components/descriptions/Descriptions.razor.cs
components/dropdown/DropdownButton.cs
components/grid/Row.razor.cs
components/input/Input.cs
components/input/TextArea.razor.cs
components/layout/Sider.razor.cs
components/list/ListItem.razor.cs
components/select/Select.razor.cs
components/select/internal/SelectContent.razor.cs
components/slider/Slider.razor.cs
components/table/Table.razor.cs
components/tabs/Tabs.razor.cs
* fix override AddEventListener method in AntDesign.TestKit project
* add register/remove event listerner for exclusive use in DomEventService class
* move _dotNetObjects to DomEventListerner class/service, so that users not required to maintain it in each component.
* * move share/reuse dom event listerner methods to DomEventListerner class
* remove method 'AddEventListener' that no longer exists in DomEventService class in AntDesign.TestKit project
* * change the component referring to an IDomEventListerner interface instead of a concrete class,
so that the component can be tested via a mock TestDomEventListerner.
* introduce DisposeShared and Dispose method in DomEventListerner to ease user remove callback from DomEventListerner
* register IDomEventListerner into DI container instead of create manually
* fix FormatKey
* fix FormatKey
* fix tests
* fix test
* fix test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* test: change folder structure and add new TestKit csproj for public testing of AntDesign-based applications
* docs: added CN and EN docs about TestKit
* fix doc translate
* change the directory structure
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: James Yeung <shunjiey@hotmail.com>