Commit Graph

390 Commits

Author SHA1 Message Date
James Yeung
6b50a4b35f docs: fix styles (#454) 2020-08-04 15:10:29 +08:00
James Yeung
ce6ac9c2d6 chore: sync ant-design v4.5.2 (#451) 2020-08-03 12:42:59 +08:00
James Yeung
e9fed3ea00 feat(module: table): add router pagging demo (#450)
* feat(module: table): support router pagging

* fix: selection
2020-08-02 22:10:47 +08:00
James Yeung
378e8370b0 fix(module: form): null check for submit (#448) 2020-08-02 16:34:34 +08:00
James Yeung
4c4f9b085c chore: sync ant-design v4.5.1 (#433) 2020-08-02 15:13:53 +08:00
James Yeung
fd19b97285 chore: prepare for 0.3.0 version (#444) 2020-08-02 15:07:17 +08:00
James Yeung
db103a6242 chore: add npm release action (#443) 2020-08-01 23:48:26 +08:00
James Yeung
afcc3c088c fix(module: table): clear cached items that are not on current page (#442) 2020-08-01 23:45:48 +08:00
TimChen
4a7099e6a0 fix: autoComplete bind-value bug (#440)
* fix: autoComplete bind-value bug

* fix: currentValue

* fix: autoComplete

* fix: arrowDown

* fix: select bug

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-31 12:43:46 +08:00
Zhiyuan Zheng
5a7a5d7ac6 docs(button): use Task.Delay instead Thread.Sleep (#439)
**Problem:**
According to the current implementation of Blazor(dotnet/aspnetcore#16213 (comment)), it runs in single-thread mode. Thus the call to `System.Threading.Thread.Sleep` will block the UI thread as well. It means when clicking the button, the UI freezes.
For example, in button component, the UI will freeze of 500ms. It's a relatively small time, however Chrome do give a warning to this:
*[Violation] 'setTimeout' handler took 500ms*
**Changes:**
Use `Task.Delay` which is a kind of built-in timer from dotnet. It won't block the UI thread.

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-31 01:12:54 +08:00
Meeleem
8829a233be feat(module: upload): support picture card (#438)
* feat(module: upload): Picture card demo

* fix: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-31 00:46:46 +08:00
James Yeung
1f76b2afc5 fix(module: checkbox): default value binding (#437)
* fix(module: checkbox): default value binding

* fix: default value for select-group
2020-07-30 23:54:31 +08:00
James Yeung
feae8a07f5 fix(module: input): incorrect OnPressEnter (#435)
* fix(module: input): incorrect OnPressEnter

* fix: can't fire onSearch event when search button is clicked

* fix: mack input value generic

Co-authored-by: 笨木头 <musicvs@163.com>
2020-07-30 09:06:56 +08:00
Zhiyuan Zheng
45c05ad1a4 docs: update the demo code for Loading Button (#436)
**Problem:**
According to the current implementation of Blazor(https://github.com/dotnet/aspnetcore/issues/16213#issuecomment-381124723), it runs in single-thread mode. Thus the call to `System.Threading.Thread.Sleep` will block the UI thread as well. It means when clicking the loading button, the UI freezes. 
**Changes:**
Use `Task.Delay` which is a kind of built-in timer from dotnet. It won't block the UI thread.

*If we need to make more changes to make it happen in demo page, please let me know.*
2020-07-30 00:18:30 +08:00
liuhai
5fd4aa9a7d fix(module: select): two-way binding #305 (#320)
* feat: add auto-complete component

* Select 组件
1. 组件支持双向绑定
2. 优化效率
3. 修复多选模式点击时下拉面板折叠问题

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-29 12:44:16 +08:00
James Yeung
0fa6c5eea9 fix(module: upload): add OnRemove delegate (#434) 2020-07-29 11:26:20 +08:00
Brian Ding
1883c52098 fix: missing language resources for 'Examples' (#432) 2020-07-28 16:26:43 +08:00
Henry.zhang
ceb95bbe69 feat: add overview (#425)
* feat: add overview page

* feat: update language changed in overview

* fix: add cover in demo

* fix: overview

* fix: width of docsearch inputbox

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-28 11:15:41 +08:00
ElderJames
afa1cf2d06 chore: publish assets to npm (#428) 2020-07-27 14:24:26 +08:00
James Yeung
337afae0bb docs: add home page (#427) 2020-07-26 19:20:16 +08:00
zxyao
506dded208 fix(module: AntInputComponentBase ): always triggers statehaschanged (#426)
* fix(module: antinputcomponentbase): always trigger statehaschanged

* refactor: modify the judgment of value change

* refactor: modify the judgment of CurrentValue change
2020-07-26 13:45:43 +08:00
zxyao
5b328dbdc6 Issue 406 (#420)
* feat(module: tooltip): support markupstring rendering

* docs(module: tooltip): change JSX type to C# type

* fix(module: tooltip): change MarkupString rendering mothod

* refactor(module: tooltip): redundant code deleted

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-24 23:05:38 +08:00
Bishnu Rawal
8a9ab57bb1 refactor : replace system.tuple with value tuples (#412) 2020-07-24 20:20:29 +08:00
James Yeung
2351cb7097 fix(module: timeline): missing default constructor (#424) 2020-07-24 17:17:06 +08:00
Meeleem
7a37da6ca3 feat(module: upload): add directory upload demo (#422) 2020-07-24 17:11:13 +08:00
笨木头
7a4ab2a302 fix(module: dropdown): couldn't auto close menu (#394)
* fix(module: dropdown): couldn't auto close menu

* refactor(module: overlay): change public function to internal

* fix(module: dropdown): couldn't close in modal
2020-07-23 22:51:02 +08:00
Brian Ding
fa60c9c8bf fix(module: slider): not working under wasm (#415)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-23 15:49:23 +08:00
James Yeung
0ca5698620 docs: add guides (#414) 2020-07-23 14:44:33 +08:00
Bishnu Rawal
b54b7ab913 docs: fix typo on table sizes demo (#411) 2020-07-23 00:48:25 +08:00
James Yeung
0f1c7eb41e docs: fix menu order and demo rendering (#410) 2020-07-23 00:19:48 +08:00
zxyao
20b5bb5e7d fix(module:modal): the width will be added when there is no scroll bar (#408) 2020-07-22 22:24:58 +08:00
TimChen
1e02c38d97 fix(module: form): OnFinishEvent is null (#407) 2020-07-22 16:58:47 +08:00
James Yeung
04fc69fd4b feat(module: tabs): two-way binding for ActiveKey (#402) 2020-07-22 00:30:31 +08:00
LI ZICHAO
71bac2e85d fix: children components dispose (#399)
* Children components using CascadingParameter add itself to parent component.However, when children components disposed, they are not remove from parent component. For example, when items in checkgroup have changed , it may causes Index was outside the bounds of the array at AntDesign.CheckboxGroup.OnCheckboxChange.To fix these bug, Adding remove function in dispose process is the solution of this commit.

* fix: some exception

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-21 23:48:43 +08:00
zxyao
871a955872 fix: drawer, modal and confirm multi level open scroll bar bug (#401)
fixed #393
2020-07-21 22:32:54 +08:00
Meeleem
914f9eff1f fix(module: upload): Upload with other form parameters (#398) 2020-07-21 15:50:38 +08:00
Brian Ding
dce779b46b docs: add id to api header (#397) 2020-07-21 14:48:17 +08:00
James Yeung
0d9c2024a9 Update FUNDING.yml 2020-07-21 14:14:45 +08:00
Meeleem
32794af9a0 fix(module: upload): fix event listener (#395)
* fix(module: upload): fix event listener

* fix(module: upload): add dispose method

* Update components/upload/Upload.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 12:53:56 +08:00
James Yeung
0557633da0 chore: sync ant-design v4.4.3 (#392) 2020-07-21 00:19:16 +08:00
Meeleem
93045f5162 feat(module: upload): add support for fileList, pictureStyle and avatar (#391)
* feat (module: upload): FileList, PictureStyle, Avatar

* fix: adding eventlistener

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 00:16:02 +08:00
Mei
f9051fcf09 fix(module: modal): button text for confirm dialog (#389)
Co-authored-by: meijinyi <meijinyi@gloudtek.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-20 22:49:53 +08:00
James Yeung
9c484d379d [WIP] docs: refactor layout (#64)
* feat: use generated menu

* fix: layout

* fix: repeated menu item (#381)

* fix: 菜单重复的问题

* fix: adjust the order of menu item

* fix: adjust divider to layout

* fix: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>

* fix: clean code

* fix: clean code

* fix: docs rendering

* feat: add prev-next nav

Co-authored-by: Henry.zhang <53967483+1002527441@users.noreply.github.com>
2020-07-20 22:28:09 +08:00
James Yeung
79d8a24aae fix(module: avatar): dead-loop rendering (#378) 2020-07-17 13:45:19 +08:00
James Yeung
01394b356f fix(module: icon): put spin class on outside (#372)
* fix(module: icon): put spin class on outside

* fix: make rotate style outside
2020-07-16 18:26:39 +08:00
zxyao
a30dc39314 fix(module: modal): crashes when DestroyOnClose is set to true (#373)
fixed #373
2020-07-16 16:57:13 +08:00
TimChen
2a8827f565 fix(module: descriptions): responsive issue (#370)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 14:28:42 +08:00
Brian Ding
e6f8ce66c7 feat(docs): add affixed demo anchor (#366)
* feat(module: anchor): update rendering when childcontent changed

* feat: add affixed demo list

* fix(module: affix): offsettop does not work until scroll to the top

* fix: display title

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-16 13:59:56 +08:00
TimChen
4cb0df719f fix(module: auto-complete): select menu offset and binding issue
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 13:00:23 +08:00
笨木头
78abff551d feat(module: form): add form-context demo, support FormProvider (#362)
* feat(module: form): add form-context demo, support FormProvider

* refactor: remove debug code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 08:56:15 +08:00