Commit Graph

595 Commits

Author SHA1 Message Date
Zonciu Liang
23fc9b0ed3 refactor(module: input-number): support all numeric types (#850) 2020-12-07 22:43:43 +08:00
Elliot
4ba4a301fb feat(module: table): add TitleTemplate for column title (#857)
* feat(module: table): add TitleTemplate for column title

* fix: action column templated title and add a demo

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-05 18:44:38 +08:00
笨木头
cdffbaf587 fix(module: menu): submenu couldn't auto close (#852) 2020-12-05 17:23:54 +08:00
James Yeung
4440ef061b fix(module: tabs): ink malposition and card tabs didn't active (#848)
* fix(module: tab): ink position

* fix(module: tabs): ink malposition and card tabs didn't active by default
2020-12-03 13:44:49 +08:00
Zonciu Liang
d62d23257b fix(module: select): the behavior when Overlay is disabled. Remove clear icon when Select is disabled (#847)
* fix(module: core-overlay): 'disabled' class will be removed correctly

* fix(module: select): remove the clear icon if selector is disabled
2020-12-03 12:28:02 +08:00
ElderJames
52bebaab3f docs: update news 2020-12-02 15:29:48 +08:00
Zonciu Liang
d11dad8a45 feat(module: form): make the form validator customizable (#841)
* feat(module: form): make the form validator customizable

* docs: simplify form custom validators demo

* modify the demo

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-01 19:07:14 +08:00
James Yeung
2bf199d91c Update FUNDING.yml 2020-12-01 14:35:49 +08:00
James Yeung
df99bad7e5 chore: sync ant-design v4.9.0 (#842) 2020-12-01 11:02:28 +08:00
James Yeung
a7c8835087 refactor(module: tabs): separate the TabPane component (#839)
* refactor(module: tabs): separate the TabPane component

* test: fix button to div
2020-11-30 10:53:41 +08:00
Zonciu Liang
3d28e1c58c fix(module: locale-provider): change SetLocale to public method (#838)
change LocaleProvider.SetLocale from private to public
2020-11-28 17:53:06 +08:00
James Yeung
2e31f47cee docs: cname to antblazor.com (#837) 2020-11-28 15:36:48 +08:00
James Yeung
09fcbc8e3d feat(module: select): add a simple select with string type (#836) 2020-11-28 10:02:35 +08:00
TimChen
7ae4c559be feat(module: form): simplify ColLayout (#830) 2020-11-27 16:41:26 +08:00
ElDiddi
41077bc2fb refactor(module: select): completely new (#800)
* select-rewritten

select-rewritten

* modul: select - update 1

* select-update2

* select-update3

* select-update 4

* feat: append label tag & auto tokenization

* fix: conflict in drpdown demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-27 13:13:26 +08:00
Nino Padrutt
5809c80011 feat(module: date-picker): support localization (#803)
* start trying to add a different first day of the week based on localization.

* add first day of week parameter and get weekday local  from .net

* fix some issues

* extend demo

* remove no longed needed Locale parameter

* fix range for selection

* add german localization

* add entry for API section

* remove obsolet things from the react ant documentation

* add description to chart documentation

* translate general configuration to english.

* code cleanup

* use LocalProvider to get first day of week.

* use localeprovider instead of date picker localization

* remove no longer used parameter

* delete no longer used interface

* change from enum to string due to parsing issue.

* add missing formats and use culture info from localprovider

* correct locales

* us Sunday as a default

* remove no longer used culture info parameter

* adjust locales

* add parameter for Locale instead of directly accessing it.

* add inheritance to access locale

* typo

* readd culture info parameter

* fixes for locale jsons

* adjust demo and api

* small adjustments on docs, set monday in chinese as first day of the week.

* use locale in calendar as well.

* adjust docs

* use enum

* adjust demo

* adjust for different starting date.

* add defaults for DatePickerLocale

* add short week days to locale files

* use days from locale file

* code cleanup

use consts instead of magic numbers, add code comment and use dayOfWeek As param instead of the whole locale object. Remove no longed used method.

* not sure about the chinese translation so I remove them

* Revert "not sure about the chinese translation so I remove them"

This reverts commit 54017513c7b684494cf06184b4051a4dcfc43850.
2020-11-25 11:08:12 +08:00
Diego Frata
cd7ff7d9f8 fix(module: tabs): stops tabs buttons from flickering when icons are present (#822) 2020-11-24 18:47:52 +08:00
笨木头
82a5326df1 docs(module: drawer): add dropdown in drawer demo (#819) 2020-11-24 12:19:55 +08:00
笨木头
405f4b153e fix(module: date-picker): ExtraFooter disappear in month mode (#820) 2020-11-23 23:09:04 +08:00
笨木头
b5a18f5caa fix(module: calendar): method or operation is not implemented (#821) 2020-11-23 23:00:24 +08:00
笨木头
2d28ca9cb6 feat(module: dropdown): support context menu in net5 (#815)
* feat(module: dropdown): ContextMenu support offsetX/offsetY in net5

* fix: demo

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-23 13:34:27 +08:00
zxyao
66a1169307 fix(module: modal): throw error when using ModalService if not set ModalOptions.AfterClose (#807) (#809)
* fix(module: modal): throw error when using ModalService (#807)

If ModalOptions.AfterClose is null, the exception will be thrown: delegate to an instance method cannot have null 'this'

* refactor: use automatic properties for  ModalOptions
2020-11-22 21:33:07 +08:00
James Yeung
6fb6463da1 docs: add template badges (#811) 2020-11-20 12:52:12 +08:00
Ajit Kumar Goel
b97d01607d docs: make the registration way more explicit (#708) 2020-11-20 12:40:06 +08:00
ElDiddi
ca35485370 fix(module: avatar): code cleaning, doc update (#808)
Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-11-19 23:05:38 +08:00
ElDiddi
221ff173c2 fix(module: alert): code cleaning, doc update (#806)
Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-11-19 18:39:14 +08:00
CYTings
e7ace7ab1e Origin/doc/api (#796)
* Affix、AlertAPI文档

完善Affix、Alert的API文档

* anchor、autocomplete api

Complete the anchor component and autoconplete component api document

* Attribute initials capitalized

Completed Attribute initials capitalized

* avatar api

conpleted avatar api document

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-11-19 18:22:09 +08:00
Nino Padrutt
7c433d7b08 docs: translate for chart doc (#804)
* add description to chart documentation

* translate general configuration to English.

* delete empty files

* delete default description line.

* translate description to English

* translate Chinese texts to English

* correct and add translations

* add documentation to change data at runtime.
2020-11-19 17:15:47 +08:00
ElDiddi
4a1caf6c40 fix(module: affix): code cleaning, doc update (#805)
Co-authored-by: Lars Diederich <diederich@evodata.de>
2020-11-19 16:19:50 +08:00
Alex Friedman
456c0819ba feat(module: table): add OnRowClick to Table component (#785)
* Add OnRowClick to Table component

This adds a new Parameter to the Table component called OnRowClick that will trigger whenever a user clicks on any of the rows in the table.

* Updated Table row click to pass RowData

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-18 17:10:35 +08:00
zxyao
4f4b8ea767 fix(module: modal): dom cannot be destroyed when the page changed on DestroyOnClose is false (#799)
* fix(module: modal): dom cannot be destroyed when the page changed

* chore: remove console.log info of debug
2020-11-18 16:01:31 +08:00
笨木头
353876cb43 fix(module: date-picker): bind-value is useless without form (#798) 2020-11-18 10:43:47 +08:00
abdelkrim boutkhil
6b0e9cb153 fix(module: badge): preset color of ribbon (#791)
* Fix ribbon syle

Text color was same as background color.

* Ribbon documentation

Added two ribbon examples with color set (preset and custom)

* fix : badgeribbon html content

Html content must be the same as in the react version

* revert changes

We don't change less files. They are copied from react version.

* revert

* tests: fix badgeribbon unit tests

Modified expected html to match markup from react version.

* Update tests/badge/RibbonTests.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-11-17 16:38:32 +08:00
James Yeung
ab1d3cc2b1 chore: sync ant-design v4.8.4 (#792) 2020-11-16 22:44:31 +08:00
ElDiddi
f710fdae11 feat(module: menu): Menu Multiple and Menu-Item Title (#787)
* fix(module: menu): multiple and accordion demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-16 12:57:42 +08:00
James Yeung
9d6c31ccf4 chore: sync ant-design v4.8.3 (#789) 2020-11-16 10:20:32 +08:00
James Yeung
93c85d54dc chore: sync ant-design v4.8.2 (#770) 2020-11-15 17:03:30 +08:00
ElderJames
ffca0f1edb fix: missing net 3.1 sdk for master action 2020-11-15 13:19:30 +08:00
Huei Feng
e672e4f363 chore: add .NET 5 target framework to all projects (#758)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-14 23:44:48 +08:00
笨木头
a6d38a6faf fix(module: autocomplete): overlay couldn't close (#783) 2020-11-13 00:22:41 +08:00
James Yeung
af862ae537 fix(module: menu): menulink active incorrectly (#784) 2020-11-12 22:52:27 +08:00
ElderJames
20406e6e22 chore: fix build cmd for release action 2020-11-12 19:56:51 +08:00
ElderJames
5b711fadc0 chore: fix the release action 2020-11-12 17:38:05 +08:00
Micah Osborne
6b21265ae1 fix: absolute positioning before doesn't take the scroll position into account (#744) 2020-11-12 16:53:14 +08:00
Henry.zhang
d3f3d795dd fix(module: switch): loading icon has a little shift (#766)
* fix:  the issue #762 switch loading icon has a little shift

* test: comment the table tests provisionally

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-12 15:39:58 +08:00
James Yeung
a23e431d3c fix(module: menu): mark state has changed after menu items were deselect (#779) 2020-11-12 14:05:22 +08:00
James Yeung
7fb7d36873 fix(module: progress): single stroke color (#776)
* fix(module: progress): single stroke color

* fix: change value type
2020-11-10 22:40:00 +08:00
James Yeung
fcd8393742 feat(module: table): support for tree data (#771)
* feat(module: table): support for tree data

* feat(module: table): support for tree data

* fix: tests
2020-11-09 22:17:27 +08:00
James Yeung
fec86ed11b feat(module: table): support for expand row (#768)
* feat(module: table): support for expand row

* feat(module: table): add RowExpandable
2020-11-08 23:29:05 +08:00
James Yeung
c3484dd846 fix(module: table): pagination didn't change while pageindex was changed (#767) 2020-11-08 16:55:34 +08:00