Commit Graph

6 Commits

Author SHA1 Message Date
James Yeung
ba1e5e407a
docs: fix demo name (#4174)
* docs: fix demo name

* update the radio translate

* add doc files back

* add the markdown description back
2024-09-09 00:50:28 +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
kooliokey
f9c5f5cdf3
test(module: badge): Test Badge component, format document, fix small bug with class name (#2830)
* Add tests for Badge component. Format component file to editorconfig settings. Small bug fix for invalid class showing when custom color is set.

* Fix bug where Title parameter was not being used. Update tests. Update documentation
2022-10-22 16:24:23 +08:00
Patrick
ea43ee7555 feat(module: tag): Add custom colors and Enum of Preset Colors (#1514)
* merge

* feat(tag): add custom colors and enum presets

* Update package.json

fix: remove vscode rubbish

* feat: add global PresetColor, and new PresetColor param

* feat: add preset color to Badge

* feat: tag style calcuated on setter

* fix: user style is appended to stringbuilder

* empty commit

Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
2021-05-17 00:40:52 +08:00
James Yeung
ca4dfaaf04 fix(module: badge): color behavior (#1216)
* fix(module: badge): color behaviour

* fix sup refleshing
2021-03-07 17:54:40 +08:00
ElderJames
7e80607ff0 rename the docs project 2021-02-06 20:15:46 +08:00