Commit Graph

202 Commits

Author SHA1 Message Date
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
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
James Yeung
337afae0bb docs: add home page (#427) 2020-07-26 19:20:16 +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
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
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
James Yeung
04fc69fd4b feat(module: tabs): two-way binding for ActiveKey (#402) 2020-07-22 00:30:31 +08:00
Brian Ding
dce779b46b docs: add id to api header (#397) 2020-07-21 14:48:17 +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
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
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
笨木头
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
Brian Ding
1fa3652d26 feat(module: slider): implement two-way binding (#329)
* feat(module: slider): implement two-way binding

* feat(module: slider): remove mouseup handler

* feat(module: slider): inherits from AntInputComponentBase

* fix(module: slider): onclick will be fired with onmouseup

* feat(module: slider): move convert method to public extensions

* feat(module: slider): update to fit form component

* fix(module: slider): two-way binding does not notify value change

* feat(module: slider): update input demo with two-way binding

* feat(module: slider): remove OnProertyChanged
2020-07-15 20:02:39 +08:00
James Yeung
e2de356301 fix(module: layout): missing OnCollapse event (#363) 2020-07-15 13:26:40 +08:00
James Yeung
8878b4a6f9 fix(module: menu): submenu can't open after collapsed recover (#361) 2020-07-15 01:00:06 +08:00
James Yeung
8a689ed837 feat(module: menu): add internal router link (#359) 2020-07-14 22:32:12 +08:00
James Yeung
9f6af264d0 fix(module: switch): two-way binding and loading (#358) 2020-07-14 17:07:50 +08:00
TimChen
c1f3371f9c docs: fix model and drawer documentation errors (#355)
* docs: fix model and drawer documentation errors

* feat: add expand button

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-14 13:46:53 +08:00
笨木头
04d0066d75 feat(module: form): add customized-form-controls demo (#354)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-13 23:27:33 +08:00
zxyao
3464d26003 fix(module: avatar): string content centered (#352)
* fix(module: avatar): string content centered

* fix: yml eol

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-13 23:13:25 +08:00
笨木头
0da743fab2 feat(module: form): add complex form control (#349)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-13 12:26:09 +08:00
TimChen
1877592211 feat(module: modal): support template component (#345)
* feat: modal support template

* feat: modal update

* feat: modal update

* feat: modal update

* feat: modal update

* docs: fix ci

* fix: demo title

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 23:19:55 +08:00
RVS
04166ba276 feat(module: form): add IsModified property (#327)
* feat: is form modified property and method exposed
subject: new method for form context, Is form modified

* fix: interface and doc

Co-authored-by: Ratomir Vukadin <ratomirvu@maestralsolutions.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 00:17:02 +08:00
笨木头
7d9d6fc89d fix(module: form): value not change when model change (#333)
* feat(module: datepicker): support nullable type

* fix(module: cascader): displaytext did not change when bind-value change

* fix(module: form): can not change layout

* docs(module: form): add 'new model' test button

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-11 23:03:13 +08:00
Henry.zhang
ef22dd5a1b feat: add mentions component (#286)
* feat: add mentions component

* fix: update with z-index

* feat: new mention components (unfinished)

* fix: show chinese letter for affix and tree

* refactor: clean code

* fix: the display position of the dropdown is consistent with the cursor

* fix: mistakes

Co-authored-by: ElderJames <shunjiey@hotmail.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
2020-07-11 01:46:35 +08:00
chaldea
b8715bdd55 feat(module: step): support for template (#342) 2020-07-11 00:23:17 +08:00
James Yeung
726cff7a72 feat(module: table): support paging selection (#341)
* refactor: selection

* feat: add table datasource cache

* feat: support paging selection

* refactor: clean code

* fix: two-way binding for selecteditems
2020-07-10 17:57:20 +08:00
James Yeung
e9fb85175b docs: replace algolia config items (#338) 2020-07-09 16:13:09 +08:00
Kieran Coldron
37be19ffea feat: add algolia search (#271)
* feat: add algolia search
fix: component url with # at the end causing a crash

* refactor:  seperate docsearch to seperate js file for code reuse

* fix: reorder css stylesheet so that search style is overwritten
fix: clean up mainlayout a bit
2020-07-09 14:20:29 +08:00
Henry.zhang
ff048780fa fix(module: tabs) failure of the activekey (#332)
* fix:  bugs in tabs, which set activekey invaild

* fix: udpate the demo with activekey
2020-07-08 23:01:00 +08:00
James Yeung
715149e21f feat(module: table): sortable (#319)
* feat(module: table): add sorter

* feat: add sorter tooltip

* feat: add table change event
2020-07-08 16:12:49 +08:00
Henry.zhang
5f4af8fce8 fix(module: button): click animating (#310)
* feat: add animating for button component when mouseup event fired

* refactor: animating ? true : false replaced

* fix: wrong color of animating in danger mode for button component

* fix:  reload timer when DelayElapsed。

* fix: replace timer with Task.run

* fix: bugs in button demo

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-07 22:45:13 +08:00
TimChen
a7253af7c8 fix: fix the form binding value bug (#324) 2020-07-07 19:13:34 +08:00
笨木头
f11fd0e103 refactor: improve input and textarea (#317) 2020-07-07 12:44:10 +08:00
James Yeung
e19d09fd96 feat(module: table): support string formatting for field columns (#311) 2020-07-05 00:09:53 +08:00
James Yeung
169b91e7d5 refactor(module: statistic): simplify format string for countdown (#309)
* refactor(module: statistic): simplify format string for countdown

* fix: wrong namespace
2020-07-05 00:08:33 +08:00
Henry.zhang
e5fb98d09f fix(module: button): styles and demos (#300)
* fix: bugs in button, it dimension will be chaned when click on it

* fix: button style and demos

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-02 23:20:16 +08:00