Commit Graph

132 Commits

Author SHA1 Message Date
James Yeung
1b3625e1bc
fix(module: tabs): animated cause display incorrectly (#3177)
* fix(module: tabs): animated cause display incorrectly

* fix test

* fix test
2023-04-09 16:23:26 +08:00
Key Roche - WSS
9c69ef4061
feat(module: mentions): Add ability to customize the rendering (#3178)
* feat(module: mentions): Add ability to customize the rendering of the textarea. This allows using the TextArea component if you want its extended functionality. Add tests. Update demos.

* fix test

* fix test

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-04-08 14:23:20 +08:00
James Yeung
ab3e3c0844
feat(module: typography): refactor & support editable (#3173)
* feat(module: typography): support editable

* fix tests
2023-04-06 23:14:27 +08:00
Alex Kryvdyk
478420714c
fix(module: datepicker): DisabledDate does not affect keyboard input (#3134) 2023-02-26 21:57:01 +08:00
James Yeung
d3f9596201
Revert "feat(module: overlay): support avoid show/hide in OnVisibleChange (#3094)" (#3112)
This reverts commit 0289f1433b.
2023-02-18 11:12:35 +08:00
Key Roche - WSS
bcd2c57004
fix(module: Textarea): Fix Textarea not rendering maxlength on textarea (#3108) 2023-02-16 18:46:45 +08:00
James Yeung
fdd52e43a0
fix(module: radio): can't selected radio while radio list and value was changed at the same time (#3098)
* fix(module: radio): can't selected radio while radio list and value was changed at the same time

* add tests
2023-02-13 23:20:11 +08:00
James Yeung
0289f1433b
feat(module: overlay): support avoid show/hide in OnVisibleChange (#3094) 2023-02-13 23:08:16 +08:00
agolub-s
323efdea76
fix(module: calendar): wrong selected date (#3069) 2023-02-07 00:03:32 +08:00
Key Roche
b00d055045
tests(module: Link, Paragraph, Text, Title): Add tests for typography components (#3067) 2023-02-06 13:53:56 +08:00
zxyao
2ee386b30a
fix(module: drawer): mask not disappear (#3059)
* fix(module: drawer): mask not disappear

* fix: unit test

* fix: remove lut config
2023-02-03 14:51:56 +08:00
Leon
33cf431548
fix(module: select): Protected selected items' selection sequences; (#3037)
* Protected selected items' selection sequences;

* Modify;

* fix tests
2023-01-30 18:36:30 +08:00
James Yeung
ec25f008ee
fix(module: ResizeObserver): work incorrectly cause by wrong key type (#3030)
* fix(module: ResizeObserver): work incorrectly cause by wrong key type

* fix test

* fix build
2023-01-20 00:28:13 +08:00
James Yeung
b56515f2aa
fix(module: Overlay): overlay show after mouse leave trigger (#3025)
* fix(module:OverlayTrigger): overlay show after mouse leave trigger(#2107)

* fix test

Co-authored-by: JustGentle <justgentle@sina.com>
2023-01-19 12:00:16 +08:00
James Yeung
06d5169bc9
fix(module: menu): submenu montion & style (#3024)
* fix(module: menu): submenu open montion & style

* fix test
2023-01-18 18:44:57 +08:00
Key Roche - WSS
2013477f66
fix(module:select): Fix bug where selected options will display even with HideSelected set to true when searching or clearing search (#3010) 2023-01-14 00:08:01 +08:00
James Yeung
95c4f13aa4
fix(module: form): validation status styles (#3005)
* fix(module: form): validation status styles

* fix validation change for input

* fix count

* add test
2023-01-13 23:27:35 +08:00
wss-javeney
ae84b5e444
fix(module: select): add tags when datasource is empty (#2986) 2023-01-08 22:54:00 +08:00
James Yeung
da86abdaa5
fix(module: input): OnChange would trigger three times and clear icon would cover the suffix (#2970)
* fix(module: input): `OnChange` would trigger three times and clear icon would cover the suffix

* fix test
2022-12-31 15:28:03 +08:00
wss-javeney
9067a68161
refactor(module: notification): update NotificationService to use interface (#2948)
* refactor(notification): update NotificationService to use interface

* Add example unit test
2022-12-29 17:29:00 +08:00
wss-javeney
eb1ac6b06e
feat(module: datepicker): support for custom suffix icon (#2935)
* feat(module: datepicker): use custom suffix icon in RangePicker component

* fix whitespace in test file

* Update suffix-icon.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-12-16 00:49:34 +08:00
Key Roche - WSS
67eff2b4e8
feat(module: Form): Add RequiredMark to Form (#2930)
* Add RequiredMark to Form

* Add localization for form optional label

* fix locales

* fix test

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-12-15 14:02:45 +00:00
James Yeung
f14c3c3954
refactor(module: input): rename ChangeOnInput to BindOnInput (#2891)
* refactor(module: input): rename BindOnInput

* fix doc
2022-11-20 23:00:23 +08:00
James Yeung
ff7031ffec merge master into feature 2022-11-14 17:43:54 +08:00
王俊
0995fb0f0c
fix(module: menu): the arrow of submenu has no animation effect when it is expanded and collapsed (#2876)
* Fix: no animation effect when the secondary menu is expanded and collapsed

* fix test

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-14 12:06:09 +08:00
James Yeung
e4834ed1da
add target to .NET 7 (#2810)
* docs: update .NET7 RC2

* fix target framework

* update to .net 7 GA

* update yaml

* fix wasmhost

* update document
2022-11-10 16:00:11 +08:00
James Yeung
6760a41806
fix(module: segmented): binding value type causes an incorrect initialization selection (#2869)
* fix(module: segmented): binding value type causes an incorrect initialization selection

* add tests
2022-11-09 17:40:16 +08:00
James Yeung
609f14b2dc
fix(module: datepicker): wrong day order and fallback to use globalization libaray when there is no day locale (#2855)
* fix(module: datepicker): wrong day order and fallback to use globalization libaray when there is no day locale

* fix date locale

* refactor the scroll method

* fix ShortestDayNames

* update the doc
2022-11-04 13:46:24 +08:00
Alex Kryvdyk
29143db2a8
fix(module: datepicker): tab key does not confirm the value (#2847)
* fix:(module: datepicker): tab key does not confirm the value

* fix:(module: datepicker): bad value when click on panel after key input

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-01 04:14:27 +00:00
James Yeung
1828406dec
fix(module: input): convert error status work incorrectly (#2846)
* fix(module: input): convert error status work incorrectly

* add test
2022-10-31 20:16:37 +08:00
ldsenow
fc91fb9b2c
fix(module: tabs): Added support of tab bar css style and class (#2844)
* feat: #2372 Added support of tab bar css style and class

* add tests

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-10-31 17:07:49 +08:00
James Yeung
2a59463f8e
feat(module: input): add ChangeOnInput, modify the default binding behavior to bind value in the onchange event (#2838)
* feat(module: input): add ChangeOnInput, modify the default binding behavior to bind in the onchange event

* fix can't change immediately when debounce milliseconds is 0

* add tests
2022-10-26 22:41:13 +08:00
James Yeung
97fdc2a1dc
fix(module: backtop): doesn't remove the dom when it's invisible (#2831)
* fix(module: backtop): doesn't remove the dom when visible is false

* fix animation

* add basic tests
2022-10-24 13:29:47 +08:00
James Yeung
47c07b858f
feat(module: cascader): add Disabled parameter (#2835) 2022-10-24 13:28:20 +08:00
kooliokey
d58bcc22f7
test(module: drawer): Test, refactor and document Drawer (#2833)
* Drawer Tests

* Remove code that doesn't appear to be needed. If you set Placement to be null or empty the drawer closes with or without this code in place.

* Documentation update

* Doc update

* Docs update...including chinese
2022-10-24 07:47:40 +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
LeaFrock
9dcfb2898d
test(module: core): Add unit tests (#2821)
* Add tests for `StyleHelperTests`&`EnumHelperTests`

* Add tests for `ClassMapper`

* Add tests for `MomentHelper`

* Code style fixes for `JsonElementHelper`

* Code style fixes for `THelper`

* Roll back some break changes
2022-10-21 13:01:25 +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
kooliokey
75d108e686
test(module: slider): Add tests and refactor. (#2818) 2022-10-20 17:27:37 +08:00
kooliokey
b5ad920450
fix(module: tag): incorrect default color and add tests (#2816)
* Update tag tests and mark a couple parameters as obsolete. Documentation updates.

* Update documentation demos for Tags to remove usage of PresetColor
2022-10-20 13:50:50 +08:00
LeaFrock
0de1573011
perf: Optimize CssSizeLength & CssStyleBuilder (#2803)
* Optimize `CssStyleBuilder`

* Optimize `CssSizeLength`

* Fix unit error

* Add a test case

* Improve the test cover

* Improve a test
2022-10-18 13:30:37 +08:00
YongQuan
91e12f27a4
feat(module: InputNumber): support parameter Precision (#2774) 2022-10-09 19:30:10 +08:00
Alex Kryvdyk
3b45058a34
fix(module: datepicker): OnChange event behavior is incorrect (#2741)
* refactor:(module:datepicker): DatePickerBase should be abstract

* fix:(module:datepicker): date not highlighted in range picker after ok

* fix:(module:datepicker): OnChange event behavior is incorrect

* fix:(module:datepicker): wrong input panels when start/end same period

* fix:(module:datepicker): ending week is not highlighted correctly

* fix:(module:datepicker): cannot switch year/month in RangePicker header
2022-09-27 14:41:02 +08:00
James Yeung
7e051c022c
fix(module: radio): the disabled parameter for RadioGroup with RadioOption<TValue> options doesn't work (#2744)
* fix(module: radio): the disabled parameter for RadioGroup with `RadioOption<TValue>` options doesn't work

* add test
2022-09-25 17:05:02 +08:00
Alex Kryvdyk
11dc934d45
fix(module: datepicker): correct culture not applied when manual input (#2715)
* fix:(module:datepicker): correct culture not applied when manual input

* fix:(module:datepicker): adjust FormatAnalyzer property access modifier
2022-09-16 11:40:56 +08:00
James Yeung
9805945f35
fix(module: tabs): panel without animated display incorrectly (#2677)
* fix(module: tabs): panel without animated display incorrectly

* add test
2022-09-05 17:13:06 +08:00
kooliokey
40e7aa71d0
refactor(module: icon)Add missing ZoomOut icon to static class. Refactor IconStore. Add tests for IconService. (#2667)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-04 14:28:03 +08:00
James Yeung
7385f6a8a5
refactor(module: icon): fix two-tone icon state update & first rendering (#2666)
* refactor(module: icon): fix two-tone icon state update & first rendering

* refactor smell code

* fix test packages

* fix smell code
2022-09-04 10:51:32 +08:00
kooliokey
27b3e8ad5e
feat(module: breadcrumb): Add OnClick parameter to BreadcrumbItem, Add Tests, Remove unusable code (#2655)
* 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>
2022-09-04 02:33:10 +08:00
James Yeung
c8b52156a0
fix(module: avatar): make size parameter support more length unit (#2653) 2022-09-01 12:00:28 +08:00