Commit Graph

10 Commits

Author SHA1 Message Date
Weihan Li
9fa391449a
chore: Enable some code analyze rules (#4126)
* style: update editorconfig

- update editorconfig encoding to utf8
- add CA1852 and IDE0005 rules

* style: apply dotnet-format

* style: add IDE0040 rule

* style: apply dotnet-format

* refactor: sealed SimpleEmbeddedJsonLocalizerFactory

* style: add style rule for modifiers

* fix: resolve dotnet-format unmerged issue

* fix: add back translation

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-28 00:54:33 +08:00
Key Roche
4ad8e7ceab
docs: enhance documentation automation (#3013)
* Documentation automation. Build will generate documentation based on XML comments and attributes in the library. Translation will be done where necessary to generate the Chineese site.

Did some small code clean up on the way.
Removed or removed from public APIs:

AnchorLink.LinkDom
Button.RemoveAnimationAfter
Button.Icons - never used
Calendar.PrefixCls
All date pickers - method OnOkClick
Descriptions.Items
ListItem.PrefixName
AntList.PrefixName
ListItemMeta.PrefixName
Menu.Submenus
Menu.MenuItems
Transfer.ChildContent
Table.ColumnContext
Space.SetClass
Steps.Handler
Radio.OnClick

* Add Azure translation service. Requires adding your own key to a private appsettings JSON file to translate locally with it.

* Make translation services return null when unable to translate, have cache not cache it and return text asked to translate.

* Update documentation markdown file for new translation service

* Update DOCUMENTATION.md

* fix datepickerbase

* fix tree-select

* add docs for Flex and Watermark

* add zh

* add UserSecrets

* fix keywords

* fix button doc

* fix page

* fix internals visible to

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-25 14:37:41 +08:00
LeaFrock
ba47536474
feat(module: button): Add DownloadButton (#2819)
* Add `DownloadButton`

* Add doc for `DownloadButton`

* Remove an unnecessary file

* impore doc

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-10-21 12:48:59 +08:00
James Yeung
01a618a5de
fix(module: select): change events from Action to EventCallback (#2601)
* fix(module: select): change events from `Action` to `EventCallback`

* fix test
2022-08-09 14:21:25 +08:00
Brian Weiss
14e5d36b3a feat(module: button): add AriaLabel Parameter (#2278)
* feat(module:button) Adds AriaLabel Parameter

Adds in a Parameter for AriaLabel that's used as the value for the aria-label attribute on the button.

* feat(module:button) Adds AriaLabel Parameter

Updates zh-CN documentation and removes blank line.
2022-05-28 13:41:01 +08:00
Hao Sun
2abb96980b fix(module: typography): fix copy (#2118)
* fix(module:typography): fix copy

* fix unit tests
2021-11-22 00:18:40 +08:00
Andrzej Bakun
58c5f2b6cc tests: added tests for Button, Checkbox & DateHelper to increase the coverage (#2060)
* tests: added

* missed scenarios for Button and ButtonGroup
2021-10-28 11:21:10 +08:00
Maksim
fae8cf5178 fix(module: button): loading icon styles (#1902)
* Fix loading icon styles

* Fix button render test
2021-09-07 13:36:24 +00:00
boukenka
fcd594fbe5 feat(module: button): add colors (#1774)
* add color property for button

* separate the color

* fix tests

* fix typo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-26 10:20:23 +00:00
Patrick
ba2c5e51d8 test: add TestKit for public tests (#1248)
* 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>
2021-04-04 21:37:06 +08:00