* fix(module: tabs): draggable and context menu
* update position after exchange
* only update scroll list position when active tab is not the last one
* refactor navigate
* update doc
* fix test
* Fix the issue where the Tabs under the Card cannot remember the input status
* optimize performance
* Simplified writing style
* Revert "Simplified writing style"
This reverts commit 44ce256b0c.
* Simplified writing style
* Fix test case(Card.Render.Tests.razor)
* 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>
* feat(module: upload): Disable the tooltip of the input component inside UpdateButton.
* fix test
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: form): validation attribute transfer
* add missing required parameter to rules
* fix enum validate messages
* fix test
* fix field type
* fix test
* fix test
* fix test
* feat(module: form): add locale for validation message
* replace the placeholder
* replace the validation message with localization
* fix test
* allow user defind attributes
* Revert "fix(module: modal): stete updating (#4022)"
This reverts commit 8e119a9bf5.
Revert "fix(module: modal): throwing exceprion when navigation after open (#4015)"
This reverts commit 49cadeebca.
* fix navigating excepition
* fix some issue again
* fix confirm
* makes deleting the dom safer
* fix test
* fix test
* fix lint
This commit adds the AntInputComponentBase.OnValueChangeAsync method and updates the Select module to use OnParametersSetAsync instead of OnParametersSet with the new OnValueChangeAsync. This change ensures that exceptions thrown from user event callback handlers will be caught as they now have an ambient Task instance to report the exceptions on.
* fix(module: InputNumber): Fix nullable floating types not round with "Precision" set
* test(module: InputNumber): Add test for nullable floating types with Precision
* feat(module: EnumSelect): Support using 'bind-Value' to get or set multiple enumeration values with the Flags attribute. (#3842)
* refactor
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor: Update TextArea.razor.cs
Updated TextAreaInfo to be a public class so that JSInterop calls can be setup for unit tests.
Closes#3714
* refactor: Update TextArea.razor.cs
Remove TextAreaInfo class from TextArea.razor.cs and define in new file with namespace AntDesign.Internal
* refactor: Create TextAreaInfo.cs
Remove TextAreaInfo class from TextArea.razor.cs and define in new file with namespace AntDesign.Internal
* refactor: Update TextArea.razor.cs
Add AntDesign.Internal using statement for TextAreaInfo class
* refactor: Update TextAreaTests.razor
Use the AntDesign.Internal namespace for TextAreaInfo
* Add FilterExpression on select for customize how to filter when searching
* Remove CultureInfo as parameter for filter.
Update example and documentation.
* Change FilterExpression to send the SelectOptionItem instead of the label to have more options to make the search.
* Add test for filterExpression to check is working fine with the default and custom.
When the parent Form has ValidateOnChange = true the OnValueChange method needs to be executed
when OnParametersSet executes in order to set the newly selected
option.
* fix(module: select):add parameter for SelectOption component which should be used when SelectOption was created directly and TItem is different with TItemValue
* feat(module: select): add parameter that support use delegate to set option label and value
* rename XXXGetter to OptionXXXExpression
* rename OptionXXXExpression to OptionXXXProperty
* refactor
* fix tests
* fix test
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>