James Yeung
15f36f2a3c
fix(module: tabs): TabTemplate can't display in the overflow dropdown ( #2320 )
2022-03-03 23:09:52 +08:00
oemil
a4a90d20b6
fix(module: upload): Fix center layout of upload ( #2267 )
...
* fix the layout of upload for drag'n'drop scenarios to center the icon and text across the whole element
* Rework test to reflect changes in upload component.
Closes #1969
2022-01-25 18:13:59 +08:00
LeaFrock
399bd3495e
fix(module: radio): RadioGroup won't sync Disabled
value of radioes which is disabled before adding ( #2197 )
2021-12-24 10:28:37 +08:00
zxyao
5e55979887
fix(module: modal): error width for disable body scroll ( #2163 )
...
* fix: error width for disableBodyScroll
* test: add some test for manipulationHelper
* test: unit test ifx
* fix: code format
* chore: code format
2021-12-14 18:04:42 +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
James Yeung
783fddf4ef
feat(module: tabs): add context menu and page config for ReuseTabs ( #2075 )
...
* feat(module: tabs): add context menu
* fix missing body
* remove icon
* add context menu de
2021-11-04 00:46:20 +08:00
Andrzej Bakun
a05ab64035
fix(module: select): Select with group refresh on datasource change ( #2048 )
...
* test: fix net6 tests
* fix(module:select): group refresh on option change
2021-10-29 22:48:18 +08:00
Andrzej Bakun
217fdaca80
fix(module: select): Null option shows in SelectContent ( #2023 )
...
* fix(module:select): loads null in SelectOption into SelectContent
fix: adds ValueOnClear
tests
* docs(module:select): add ValueOnChange
* Update components/select/SelectBase.cs
Co-authored-by: Hao Sun <54608128+anranruye@users.noreply.github.com>
* other: clean-up warnings & add .Net foundation header
Co-authored-by: Hao Sun <54608128+anranruye@users.noreply.github.com>
2021-10-29 22:43:46 +08:00
Hao Sun
961a5ca02b
fix(module: textarea): fix style string format and auto-size issues ( #2001 )
...
* fix(module:textarea): fix style string format
* seprate inner and outer style
* fix AutoSize
* fix custom style
* Update site/AntDesign.Docs/Demos/Components/Input/demo/Area.md
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Move SetStyle to styleHelper
* Update TextArea.razor
* Update TextArea.cs
* fix unit test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-10-29 13:30:52 +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
Andrzej Bakun
1d8e923c17
fix(module: tabs): support tabs in a card ( #2053 )
...
* fix(module:tabs): support tabs in a card
* tests
2021-10-23 16:03:06 +08:00
Andrzej Bakun
d843898cb8
tests: clean-up ( #2050 )
...
* tests: clean-up
* tests: missed warnings & exceptions fix
* build: comments fix
* docs: xml comments fixed to stop warnings
2021-10-22 12:45:00 +08:00
Andrzej Bakun
28a159501d
fix(module: list): dynamic response to changes in Grid parameter ( #2014 )
2021-10-13 11:27:05 +08:00
Guyiming
cc836bcf10
feat(module: tabs): Add AuthorizeReuseTabsRouteView ( #1910 )
...
* 使MenItem同时支持Icon和IconFont,解决当使用iconfont.cn图标后,缩起内嵌菜单导致按钮样式不统一的问题。
* 空值判断
* add IconTemplate in MenuItem
* code format
* Add AuthorizeReuseTabsRouteView
* add readme.md
* remove comments
* Add AuthorizeResuseTabsRouteView test demo
* save
* save
* done
* refactor the test app
* fix test app
* debug
* debug
* fix tab render
* fix the copyright
* fix package infomation
* fix tab display order
* fix content focerender
Co-authored-by: BG345554 <ymgu@best-inc.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-10-11 23:01:27 +08:00
Andrzej Bakun
5c2f48f718
fix(module: select): arrow down click does not auto close ( #1977 )
...
* fix(module:select): arrow down click does not auto close
* test case added
2021-10-11 22:17:14 +08:00
James Yeung
5875929a89
refactor(module: tabs): improve rendering ( #1970 )
...
* refactor(module: tabs): improve rendering
* fix ForceRender & change constants to enums
* fix animated
* fix left extra content
* add Centered feature
* fix scroll distance
* fix scroll gap
* fix index out of range
* fix tests
* fix scroll distance
* fix dropdown button position
* fix ping left & right
* hide the dropdown button
2021-10-08 14:25:41 +08:00
Andrzej Bakun
c099874086
fix(module: menu): Overlay bug fix & menu renering optimization ( #1949 )
...
* 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
2021-09-16 22:46:45 +08:00
anranruye
915d35a513
Merge 0.9.4 to feature
2021-09-14 21:57:15 +08:00
James Yeung
de794eae9b
fix(module: timeline): label missing ( #1941 )
2021-09-13 22:04:47 +08:00
Andrzej Bakun
713eb6fd94
chore: test cs project to include test runner adapter ( #1939 )
...
test: add general overlay disposal method mock
2021-09-13 10:37:16 +08:00
anranruye
97cc7d2636
fix(module: select): fix data source of type IEnumerable<object> ( #1932 )
...
* fix(module:select): fix data source of type IEnumerable<object>
* Update Select.razor.cs
* Update Select.OnDataSourceChangeTests.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-09-12 13:55:01 +08:00
Andrzej Bakun
3d4f7adaaf
perf(module: overlay): positioning moved to js ( #1848 )
...
* fix(module:overlay): move postion calculation to js
fixes #1836
* docs: TriggerBoundaryAdjustMode explanation
* docs: select & datepicker got BoundaryAdjustmetMode
cleanup
* test: fixes
optimization & cleanup
* fix(module:overlay): recalculate overlay position when trigger resizes
* Minor clean-up
* fix(module:overlay): wait for Show to finish in Hide
* fix: prevent vertical scrollbar on overlay adding
* fix: extract waiting function
* fix: overlay not to repostion when trigger vanishes (menu issue)
* fix: scroll adjustment for position: fixed
* fix: on menu mode change, keep
* merge conflict fix
* fix: nominal calculation reset on failed adjustment
* fix: bugs
* test: exclude log method from test coverage in overlay.ts
2021-09-10 19:06:50 +08:00
Andrzej Bakun
e7f6a0529e
tests(module: textarea): include js function mock to avoid bunit exceptions ( #1930 )
2021-09-10 10:05:01 +08:00
Tony Yip
4b04f09832
perf: avoid memory leak issue of event listener ( #1857 )
...
* 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>
2021-09-09 12:56:11 +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
SmallY
b74aeef85a
test(module: select): Add some unit tests for Select ( #1891 )
...
* Add Select clear tests
* Add Select DataSource to null test
* Change the implement of Throw tests
* Change int to int?
2021-09-07 10:49:50 +00:00
Andrzej Bakun
6bc277c623
fix(module: textarea): add rows parameter ( #1920 )
...
doc: adjust to match antD
tests: sizing tests
2021-09-07 13:46:34 +08:00
Andrzej Bakun
de69cc5dd5
fix(module: select): value no longer reset on datasource set ( #1906 )
...
* fix(module:select): value no longer reset on datasource set
* fix(module:select): dataSource change detection
* fix: improve datasource detection
add item & set value in SelectOption
* tests: scenario from issue #1207
* fix: DataSourceEqualityComparer default
2021-09-05 18:13:38 +08:00
Maksim
cddfca399d
feat(module: breadcrumb): add Href
parameter and overlay dropdown ( #1859 )
...
* Setup breadcrumb dropdown
* Setup breadcrumb href
* fix dropdown style
* fix dropdown trigger class
* fix tests
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-28 03:07:46 +00:00
Stefano Driussi
ce7b60b3eb
fix(module: tag): rename CheckedChange
to CheckedChanged
( #1876 )
...
* Update Tag compliance with Blazor conventions
Add the missing 'd' to CheckedChanged callback in order to properly support two ways binding on the Checked property
* Fix references to renamed method in Tag component
* Update tests for Tag
Co-authored-by: Stefano Drussi <stefano.driussi@hotmail.it>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-27 06:51:18 +00:00
Noah Potash
9925cf288b
feat(module: upload): add method parameter ( #1853 )
...
* add method parameter to upload component
* update documentation
* add test
Co-authored-by: Noah Potash <noah.potash@outbreaklabs.com>
2021-08-21 01:25:38 +08:00
JohnHao421
53027c0221
fix(module: tag): Tag component style parameters are not rendered ( #1847 )
...
* fix(module: tag): Tag component style parameters are not rendered (#1846 )
* fix(module: tag): change call GetStyle in OnParameterSet
Co-authored-by: haojiajun <haojiajun@vanelink.net>
2021-08-17 22:15:17 +08:00
Andrzej Bakun
29e3ce3583
refactor(interop): reorganization into classes and typescript tests ( #1791 )
...
* fix(module:interop): reorganization into classes
* comments clean-up
* Add typescript test project
* fix: sync with pull request #1765 : support drag
* github test action fix attempt
* tests: jsinterop test mock fix
* codecov added to ts tests
* add generated split js to gitignore
* fix: coverage github action
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-29 22:45:47 +08:00
Andrzej Bakun
1ac305a41e
fix(module: select): MaxTagCount behaves properly for non-responsive scenarios ( #1776 )
...
* fix(module:select) MaxTagCount behaves property for non-responsive scenarios
docs: added XML comments
fixed order in English docs
redid Chinese docs (missing translations)
test: add scenario for MaxTagCount when non-responsive
* merge with changes coming from feature branch
* docs: example of MaxTagCount change
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-28 14:40:37 +00:00
James Yeung
64f8061a0b
Merge feature into master ( #1775 )
...
* refactor: replace PropertyAccessHelper to PathHelper (#1386 )
* feat(module: core): add member path helper
* refactor(module: table): replace PropertyAccessHelper to PathHelper
* docs: replace path-based-property-access to member-path-helper
* refactor(module: select): replace SelectItemPropertyHelper to PathHelper
* feat(module: table): add pagination template (#1409 )
* feat(module: table): add Hidden for columns (#1410 )
* feat(module: form): expose EditContext (#1464 )
* feat(module:form): allow access to validation messages
* feat(module:form): expose EditContext as readonly property
* feat(module: table): add built-in filter for enum types, support null value for List filter type (#1439 )
* feat(module:table): add built-in filter for not composable enum types, support null value for List filter type
* feat(module:table): throw an exception for composable enum types when use built-in filter
* Revert "feat(module:table): throw an exception for composable enum types when use built-in filter"
This reverts commit 0e04ed91f58e23b93a441ac2aa00a794ae1a9b46.
* feat(module:table): add support for null value localization
* docs(module: table): update for enum build-in filter
* feat(module:table): add built-in filter for composable enum types
* docs(module: table): update for enum built-in filter
* feat(module: table): add enum built-in filter
* feat: add static constructor to EnumHelper
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
* fix(module: form): expose LabelStyle property (#1503 )
* feat:(module: form): edit context dynamic change (#1504 )
* tests: project up to standards
* fix(module:form): allow EditContext change
* feat(module: notification): add NotificationRef support (#1498 )
* feat: add NotificationRef support
* docs: update docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* 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>
* chore: sync ant-design v4.16.0 (#1569 )
* feat(i18n): Add French short week days (#1521 )
* feat(module: form): support set validation rules on FormItem (#1516 )
* feat(module: form): support set validation rules on FormItem(not complete yet)
* refactor(module: form): optimized code
* feat(module: form): support Whitespace rule
* feat(module: form): support [message、pattern、transform、validator、whitespace] rules
* feat(module: form): support type rule
* feat(module: form): support [defaultField、oneOf、fields、type] rules
* feat(module: form): support custome validate messages(without test)
* test(module: form): complete RuleValidate_ValidateMessages test
* feat(module: form): complete DynamicRule demo, refactor code, fix bugs
* feat(module: form): support ValidateMessages param
* doc(module: form): add "Rules" and "ValidateMessages" docs
* fix: Rule.Max's errorMessage is wrong
* refactor: rename Rule to FormValidationRule
* test: rename Rule to FormValidationRule
* chore: refactor code and rename classes
* Update ValidateMode.razor
* Update FormValidateErrorMessages.cs
* Update FormValidateHelper.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: table): filter enhancement (#1563 )
* feat(module: table): allow access to filter operator and condition
* feat(module: table): allow access to filter operator and condition
* feat(module:table): allow remove the first filter
* Update Column.razor
* feat(module:table): modify closing button position
* feat(module:table): match new style
* feat(module:table): add header column divider
* fix(module:table): apply filter when close the filter panel by clicking the filter icon
* Update Column.razor
* style(module:table): trim Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* fix(module:overlaytrigger): fix overlay not close after overlay size changes
* unify muiltiple filter popup containers to one
* refactor(module: table): optimize render fragments (#1597 )
* refactor(module: table): restore Table.Filters to IEnumerable<TableFilter<TData>> type (#1608 )
* feat(module: select): support simple data source (#1541 )
* feat(module: select): support simple data source
* remove judgement for type of item and value
* Update Select.razor.cs
* fix(module: table): add RemoteDataSource (#1558 )
* feat(module:table): add PaginationMode parameter
* fix(module:table): fix pagination
* docs(module:table): add doc for PaginationMode attribute
* add a demo file
* docs(module:table): add demo for pagination mode
* feat(module:table): add RemoteDataSource property
* delete the demo for PaginationMode
* Update Table.razor.cs
* add `ajax` demo
* Update ajax.md
* Update Ajax.razor
* fix demo
* clear demo
* fotmat demo
* delete StateHasChanged
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* add Visible back to Tag.razor.cs
* Update SearchLoading.razor and idnex.en-US.md
* Update index.zh-CN.md
* feat(module: DatePicker): support disable one of range-picker inputs (#1648 )
* feat(module: rangepicker): support disable one of inputs
* doc: update doc
* feat(module: dropdown): each button customization (#1659 )
* feat(module:dropdownbutton): each button customization
* fix: Tag tests
* feat(module: tabs): add OnClose event and TabTemplate (#1698 )
* feat(module: tab): add onclose event and tabtemplate
* add tests
* feat(module: tabs): add reuse tabs routeview (#1704 )
* fix(module: tabs): Exception caused by cascade assignment to TabTemplate (#1708 )
* feat(module: tree): support check all from code (#1722 )
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
* refactor(module: tree): add draggable, fix default value binding (#1517 )
* delete demo docs
* fix tree default value and dnd
* fix tree line and keys
* fix switcher icon and line
* fix line demo
* fix switcher
* add DirectoryTree demo
* fix draggable demo
* clean code
* clean code
* clean up the classmapper call
* update docs
* fix the docs
* fix comment
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: dialog): click dialog cause the mask click event triggered (#1727 )
* docs: update recommend (#1755 )
* docs: update recommend
* fix test
* refactor(module: table): remove the breaking change for pagination mode (#1754 )
* docs: fix encoding error (#1760 )
* fixed. Fix network error when requesting contributor list in local development environment
* fixed. Fix Chinese garbled code
* Update Dynamic.razor
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: upload): support drag (#1765 )
* feat(module: upload): support drag
* fix button text
* add tests
* delete useless field
* feat(module: select): add EnumSelect for select componet with enum (#1759 )
* feat(module: select): add EnumSelect for select componet with enum
* refactor: extract EnumLabelValue to the core directory
* feat: add enum select demo
* refactor: extracts the GetLabelValueList method to EnumHelper
* refactor: refactor EnumSelect with simple data source
* feat: add enum DisplayName support
* fix: modify the reflection of the enum get attribute with field
* add test
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* 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>
* feat(module: table): add guid built-in filter (#1756 )
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: MihailsKuzmins <47413092+MihailsKuzmins@users.noreply.github.com>
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Maksim <maksalmak@gmail.com>
Co-authored-by: Ivan Ocoka <ocokanet@gmail.com>
Co-authored-by: Ocoka <somewhere@network>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: Romain J <dust63@hotmail.fr>
Co-authored-by: anranruye <hehewewe@hotmail.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: black-snake <black-snake@users.noreply.github.com>
Co-authored-by: Gregory Loones <40325447+gregloones@users.noreply.github.com>
Co-authored-by: Razvan Predescu <rzvdaniel@gmail.com>
Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com>
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
Co-authored-by: 琢磨先生 <308360781@qq.com>
Co-authored-by: gmij <gmij@qq.com>
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: 王俊 <wang_j90@hotmail.com>
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: boukenka <mbogais@free.fr>
2021-07-26 20:54:59 +08: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
王俊
5b3e89a07a
feat(module: select): add EnumSelect for select componet with enum ( #1759 )
...
* feat(module: select): add EnumSelect for select componet with enum
* refactor: extract EnumLabelValue to the core directory
* feat: add enum select demo
* refactor: extracts the GetLabelValueList method to EnumHelper
* refactor: refactor EnumSelect with simple data source
* feat: add enum DisplayName support
* fix: modify the reflection of the enum get attribute with field
* add test
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-26 05:16:19 +00:00
James Yeung
11bfaef22e
feat(module: upload): support drag ( #1765 )
...
* feat(module: upload): support drag
* fix button text
* add tests
* delete useless field
2021-07-24 21:29:31 +08:00
Andrzej Bakun
361054ee15
fix(module: select): duplicated tags ( #1766 )
2021-07-23 22:48:14 +08:00
James Yeung
095fd1bae2
docs: update recommend ( #1755 )
...
* docs: update recommend
* fix test
2021-07-21 00:47:23 +08:00
anranruye
16654f5b51
Merge 0.8.4 to feature
2021-07-18 00:04:11 +08:00
ElderJames
8fe830dc8b
fix build process for static web assets
2021-07-14 15:42:06 +08:00
James Yeung
1bc79e2539
fix(module: checkbox): fix the test following up PR #1689 ( #1699 )
...
* fix(module: checkbox): fix tests
* fix testkit package
2021-07-02 12:44:39 +08:00
James Yeung
3a295f5c54
feat(module: tabs): add OnClose event and TabTemplate ( #1698 )
...
* feat(module: tab): add onclose event and tabtemplate
* add tests
2021-07-02 01:16:53 +08:00
Andrzej Bakun
24d081ea8c
fix(module: date-picker): Date picker blur/focus & regression tests ( #1681 )
...
* fix(module:datepicker): locale & blur issue fix
* tests(module:datepicker): add regression tests
* fix: focus is kept on picker false click & blur is applied when needed
* fix: tests
2021-06-28 11:28:18 +08:00
Andrzej Bakun
1d3a13e57e
feat(module: dropdown): each button customization ( #1659 )
...
* feat(module:dropdownbutton): each button customization
* fix: Tag tests
2021-06-22 23:55:14 +08:00
anranruye
b8658549e6
Merge 0.8.2 to feature
2021-06-18 16:09:13 +08:00
Andrzej Bakun
cee5d6914c
fix(module: tag): Issue solved & align with react antd & tests ( #1631 )
...
* fix(module:tag): close does not trigger onclick
add custom color handling
add animation handling
add status tags
* docs(module:tag): align with react antd
* tests(module:tag): add basic tests
* fix: style fixes
* fix: remove default animation; add custom animation demo
* fix: remove ExtraCls and use Class from base
* Update components/tag/Tag.razor
* clear the open animate after tag opened
* translate demo docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-16 13:49:46 +08:00
笨木头
ec45abc4d7
feat(module: form): support set validation rules on FormItem ( #1516 )
...
* feat(module: form): support set validation rules on FormItem(not complete yet)
* refactor(module: form): optimized code
* feat(module: form): support Whitespace rule
* feat(module: form): support [message、pattern、transform、validator、whitespace] rules
* feat(module: form): support type rule
* feat(module: form): support [defaultField、oneOf、fields、type] rules
* feat(module: form): support custome validate messages(without test)
* test(module: form): complete RuleValidate_ValidateMessages test
* feat(module: form): complete DynamicRule demo, refactor code, fix bugs
* feat(module: form): support ValidateMessages param
* doc(module: form): add "Rules" and "ValidateMessages" docs
* fix: Rule.Max's errorMessage is wrong
* refactor: rename Rule to FormValidationRule
* test: rename Rule to FormValidationRule
* chore: refactor code and rename classes
* Update ValidateMode.razor
* Update FormValidateErrorMessages.cs
* Update FormValidateHelper.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-28 09:08:42 +00:00
Andrzej Bakun
2d693740c6
fix(module: input): fix & feat & docs & tests: Input general fixes ( #1530 )
...
* docs(module:input): api correction & comments
* fix(module:input): clear icon in sync with antD
* fix(module:input): add parameter bordered
* fix(module:textarea): add parameter ShowCounter
* fix(module:input): Focus with behaviors
* docs: add missing docs, rearrange order
* fix(module:search): update to match new standard look
doc(module:search): add API & demos
* fix(module:inputgroup): override style to remove whitespace\
docs: same as react
* fix(module:inputpassword): support custom icon
docs: same as react
* fix(module:input): add blur method
docs: add blur method
* fix(module:input): add readonly parameter
* tests
* fix
* fix(module:input): sequence correction
* Update components/core/Base/AntComponentBase.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* review fixes
* fix: clean-up
* tests: fix missing mock
* fix: focus
* fix(module:input): bind clear button to _inputValue
* tests: clear button show/hide
* tests: package update
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-27 18:13:26 +08:00