Commit Graph

609 Commits

Author SHA1 Message Date
James Yeung
28a2148fa7
docs(module: table): add a search box in the filter & sorter demo (#2955) 2022-12-29 17:55:06 +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
dedce443a4
fix(module: table): Hidden parameter for ActionColumn doesn't work (#2946) 2022-12-15 16:19:31 +08:00
James Yeung
fb720ae96c
docs: remove useless dependencies (#2923) 2022-12-01 20:16:21 +08:00
James Yeung
f55ad090a6
docs: fix BlazorPolyfill error on .net7 (#2907) 2022-11-29 11:10:37 +08:00
berkerdong
4af0a1ccfe
docs: add a product showcase - certsvc (#2890)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-21 05:02:50 +00:00
James Yeung
7dec9ff806
docs: add a link in homepage - how to contribute ant design blazor (#2894) 2022-11-21 11:17:05 +08: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
18ff8e3dee docs: fix Globalization crash 2022-11-16 17:44:09 +08:00
James Yeung
671d61aec3 docs(module: table): add demo for odata (#2861) 2022-11-15 16:30:03 +08:00
kooliokey
1cb64a8e2d
docs(module: anchor): Fix demos due to case sensitive anchors (#2826)
* Fix anchor demo links because there is a capital in the real anchors but not the demos and it is case sensitive

* Remove commented code in demos

* fix demo link

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-15 12:09:32 +08:00
James Yeung
ff7031ffec merge master into feature 2022-11-14 17:43:54 +08:00
zxyao
3b5070a053
feat(module: modal): add only OK footer and only Cancel footer template (#2812)
* feat(modal): add only one OK footer and onlt one Cancel footer

* docs: update demo
2022-11-14 16:38:45 +08:00
zxyao
0ed2da0f29
feat(module: modal): support the maximization of Modal initialization (#2834)
* feat: support the maximization of Modal initialization (#2823)

* fix: the lifecycle of MaximizationOnInit

* rename to DefaultMaximized

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-14 15:28:20 +08:00
dingyanwu
7ad15664fe
refactor(module: mentions): refactor and fixed positioning and display issues (#2874)
* refactor mentions

* 修复:定位和隐藏的问题。

* fix: 修复定位和显示的一些bug

* fix:手误

Co-authored-by: 丁某 <dingyanwu518@hotmail.com>
2022-11-13 13:57:41 +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
CareyYang
97fcd5bfb7
fix(module: table): when HidePagination is true, PageSize is implicitly the total number of rows for the data source (#2476)
* Change set HidePagination‘s Location

Change set PageSize Method when HidePagination is true.

if HidePagination is true,set PagSize value is DataSource Count

if HidePagination is true,set PagSize value is DataSource Count

if HidePagination is true,set PagSize value is DataSource Count

* refactor

* update demo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-08 12:56:05 +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
594c5f3061
feat(module: datepicker): add OnOk event, rename OnClearClick to OnClear (#2840)
* feat:(module: datepicker): add OnOk event

* refactor: (module: datepicker): rename OnClearClick to OnClear

* chore: (module: datepicker): update docs

* refactor:(module: datepicker): keep OnClearClick [Obsolete]

* fix docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-10-31 13:52:23 +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
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
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
Daniel Freyr Sigurdsson
99ff161de7
feat(module: drawer): add property HeaderStyle to Drawer component (#2809)
* feat(module:drawer): add property HeaderStyle to Drawer component

a property for modifying the style of the header in the drawer component

* feat(docs): add property HeaderStyle to Drawer api

Add HeaderStyle to DrawerOptions and update docs

* fix missing HeaderStyle for drawer servcie

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-10-20 13:55:35 +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
James Yeung
421b76e00d
feat(module: dropdown): support arrow parameter (#2795)
* feat(module: dropdown): support arrow parameter

* fix document
2022-10-13 13:38:46 +08:00
James Yeung
f7c1e5fe5e
fix(module: segmented): The Disabled parameter does not work on items and cannot be dynamically toggled (#2778) 2022-10-11 09:21:46 +08:00
YongQuan
91e12f27a4
feat(module: InputNumber): support parameter Precision (#2774) 2022-10-09 19:30:10 +08:00
Dmitry Pavlov (aka Coding Machine)
6606034a22
docs: Fix typo in Steps demo docs (#2764)
Dtatus -> Status
2022-10-05 23:04:55 +08:00
zxyao
726f10aa35
fix(module: modal): maximizable not work when using Title (#2749) (#2750)
* fix(module: modal): maximizable not work when using Title

* docs: update demo text
2022-09-29 17:15:01 +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
Maksim
2324347ce4
feature(module: tooltip): use TitleTemplate in Tooltip (#2711)
* Use TitleTemplate in Tooltip

* optimize demo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-16 14:17:30 +08:00
m-khrapunov
3d760446d2 feat(module: select): add virtualization support (#2654)
* add virtualization support

* fix doc

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-16 13:50:26 +08:00
YongQuan
96c0e9ecf4
docs: update recommend link for new post (#2716) 2022-09-16 11:46:07 +08:00
James Yeung
29bbbc9909
docs: add Notification Error Handling demo (#2706) 2022-09-13 12:23:49 +08:00
Magehernan
7f9365d71f
fix(module TreeSelect): search not working on TreeSelect (#2686)
* Added the implementation like select to use tree search funcionality. Trying to change minimum posible to make it work.

Add ignoreCase for search on tree and fix display of match to respect the original value.

* Add a example of search.
2022-09-13 08:57:23 +08:00
YongQuan
c8496a3d9d
feat(module: grid): create Row alias GridRow to be consistent with GridCol (#2690)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-13 00:09:20 +08:00
James Yeung
4b4028c9c1
fix(module: segmentd): default value binding incorrectly (#2699) 2022-09-12 23:41:15 +08:00
James Yeung
62116f377d
docs: add error boundary demos for Alert and Result (#2703) 2022-09-12 19:09:40 +08:00
James Yeung
08f1ba4cb9
fix(module: table): exception cause by reload data with state and the table has an ActionColumn (#2683) 2022-09-06 20:50:10 +08:00
kooliokey
83c2cea2f7
docs: Update OnClick signature in documentation (#2669)
* Update OnClick signature in documentation

* fix event type

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-04 07:38:28 +00: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
ed83e4d2fc
docs: fix demo & document edit url (#2661) 2022-09-04 02:24:14 +08:00
James Yeung
149ff3ae06
docs: fix the presetted ranges demo of datepicker which would casuse the doc crash (#2659) 2022-09-02 12:41:13 +08:00