Commit Graph

423 Commits

Author SHA1 Message Date
zxyao
84a3b742c2 feat(module: modal): support getting the result from confirm (#476)
* feat(module: confirm): support blocking to get the result of confirm

* refactor: change modalservice Confirm return value,add ConfirmAsync FUNC

* feat: add ConfirmService

* fix: button text

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-22 09:24:55 +08:00
alec ji
37a3f45766 docs: fix vs version (#519) 2020-08-21 00:21:08 +08:00
James Yeung
a91a5d6644 fix(module: sider): can't collapse in demo (#513) 2020-08-18 18:05:44 +08:00
Henry.zhang
2a60383a93 feat: add more demo on area chart (#488)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-17 00:22:50 +08:00
Henry.zhang
4e0a3028bb fix: get the icon list of application icons from existed IconServices (#506)
* feat: get the icon list of application icons from existed IconServices

* fix:  iconlist always is loading issue
2020-08-16 22:51:24 +08:00
笨木头
e42aa8aeb7 feat(module: range-picker): support form (#496)
* feat(module: range-picker): support form

* fix(module: range-picker): has no default value in from

* fix: picker's close behaviour and range arrow's style is wrong

* feat(module: datepicker): change placeholder on mouse over

* style(module: datepicker): adjust range arrow

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-14 12:43:48 +08:00
Henry.zhang
7b31935f74 docs: add icon list (#478)
* feat: add icon list for demo page of icon

* feat: add copy function for icon list

* feat: get existed icon

* feat: remove some blanks in list.razor

* feat: remove some blanks

* fix: default value is outline for icon list

* fix: click to copy for icon list

* feat: add async to load icon list

* feat: update iconlistService

* chore: update icons

* fix: icon load async

* feat: add application icons in IconlistServices

* fix: remove the exist icon from existed catogory if duplicated

* fix: add @key for list items

* fix: revert the change

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-14 07:13:28 +08:00
James Yeung
81cce2a2d5 fix(module: radio): disabled in radio group doesn't work (#503) 2020-08-13 23:32:51 +08:00
James Yeung
9b0f95ef3a fix(module: alert): close motion 'Smoothly Unmount' (#502)
* fix(module: alert): close motion

* fix: add de
2020-08-13 16:04:58 +08:00
James Yeung
13ee3634a0 chore: sync ant-design v4.5.4 (#499) 2020-08-13 06:43:07 +08:00
chaldea
ce50786311 fix(module: sider): cannot update theme dynamically (#498)
* fix(module: sider): cannot update theme dynamically

* fix(module: sider): update theme dynamically
2020-08-12 14:59:56 +08:00
James Yeung
a4823c49d8 fix(module: tabs): missing evnet callbacks (#497) 2020-08-11 22:26:49 +08:00
James Yeung
bc0f6e7efc fix(module: typography): missing Style property (#494) 2020-08-11 17:30:14 +08:00
James Yeung
7e4fb7405b fix(module: table): empty column count and formatter (#493) 2020-08-11 15:27:15 +08:00
Kieran Coldron
32b82fe356 chore: add format hook (#477)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-11 05:41:46 +08:00
James Yeung
914421651b feat(module: list): add OnItemClick event callback for list items (#489)
* feat(module: list): add event callback for list items

* docs: add onitemclick in doc
2020-08-10 23:58:17 +08:00
James Yeung
22bb2b4f25 fix: ignore wwwroot for copying .less source files (#490) 2020-08-10 23:38:26 +08:00
James Yeung
d84300651d fix(module: table): formatting with nullable type for table column (#487) 2020-08-10 16:05:50 +08:00
James Yeung
e2470e73cc chore: update license 3rd party (#486) 2020-08-10 14:24:23 +08:00
Kieran Coldron
853ba18649 feat(module: badge): add badge ribbon (#484)
* feat: badge ribbon

* fix: demo for ribbon

* docs: add chinese api doc for ribbon

* fix: scroll number style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-10 14:21:24 +08:00
Kieran Coldron
0d7aeca3a0 chore: remove mention of typescript in PR template (#485) 2020-08-10 13:23:24 +08:00
James Yeung
c18d61df72 chore: sync ant-design v4.5.3 (#480) 2020-08-10 11:28:52 +08:00
Kieran Coldron
0420ae26dd feat(module: steps): add progress step (#468)
* feat: add progress step

* docs: add demos

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-08 11:44:21 +08:00
Diego Frata
7016ce53c3 fix(docs): handles fallback to en-US if resources are not available (#470)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-07 06:52:37 +08:00
zxyao
79b3440a41 fix(module: message): remove the last message DOM after message disappears (#467) 2020-08-06 23:14:41 +08:00
Dragos Morar
e713b6e9c1 feat(module: carousel): add slick navigation methods (#461) (#462)
* feat(module:carousel): add new methods (#461)

* feat(module:carousel): add demo (#461)

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-06 13:45:42 +08:00
Kieran Coldron
05a736f2d3 chore: Add missing "run" from wasm start command (#465) 2020-08-06 13:14:44 +08:00
James Yeung
045c5582c9 chore: add codecov step for actions (#463)
* chore: add codecov step for actions

* fix: missing token

* docs: fix image
2020-08-05 22:36:52 +08:00
Diego Frata
15f9d942df build(gulp): add .less source files as part of the output (#457)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-05 17:57:06 +08:00
Diego Frata
6662870ac8 test(button): add some button tests (#460)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-05 17:06:14 +08:00
ElderJames
c0ebae4407 docs: add charts demo (#449)
* docs: add charts demo

* refactor: directory and doc cli

* fix: component name

* fix: rebase conflict

* refactor: clean up

* fix: remove @page attributes

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-05 11:13:04 +08:00
Diego Frata
4ced9a3d16 fix(module:date-picker): fix inability to select new start date (#458) (#459) 2020-08-05 07:47:32 +08:00
chaldea
e6edefebc0 feat(module: drawer): add parameter handler (#455) 2020-08-04 18:49:04 +08:00
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