Commit Graph

351 Commits

Author SHA1 Message Date
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
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
zxyao
503415ea07 feat(module: form): add Required paramater (#353) 2020-07-13 20:37:06 +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
Meeleem
dcbb3d8fbd fix(module: upload) : determine success based on status==200 (#351) 2020-07-13 11:54:53 +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
笨木头
4d6c279e80 fix: input unusual by chance (#340)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 00:28:10 +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
zxyao
cd2901fa7b fix: enable scroll breaking custom style (#337) (#339)
* fix: enable scroll breaking custom style (#337)

* fix: indent to 2 spaces

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-11 23:41:27 +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
James Yeung
4d2b192115 chore: sync ant-design v4.4.2 (#346) 2020-07-11 22:52:35 +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
Dylan R. E. Moonfire
a2711efb8a fix(module: grid): fixed using size (xs, sm, etc) span with offset (#343)
- Spans were not use emitting when using `Xs={ Span = 3 }`.
2020-07-10 17:35:07 +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
Kieran Coldron
daf05d6832 DocScrape action (#328)
* Create docsearch.yml

* Create algolia-config.json

* Update docsearch.yml

* Update docsearch.yml

* change action on schedule

Would end up being ran multiple times on push, algolia scrapes once a day so makes more sense
2020-07-09 10:33:26 +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
Brian Ding
b9e719db04 fix(module: slider): event OnAfterChange fires incorrectly (#303) 2020-07-07 22:30:58 +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
Meeleem
bef19775a8 fix(module: table): crush without selection column (#316) 2020-07-06 19:21:03 +08:00
Kieran Coldron
d97e26ffce feat: allow clearing datepicker view (#313)
* feat: allow clearing date view
fix: some styling regarding range pickers

* fix: remove typo from overlay class
2020-07-06 19:09:01 +08:00
TimChen
88860d3702 fix: input and textarea bug (#308) 2020-07-06 14:33:28 +08:00
James Yeung
60ac146ba8 chore: sync ant-design v4.4.1 (#314) 2020-07-06 14:12:11 +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
笨木头
50cff77019 feat: improve range picker (#306)
* feat: improve range picker

* fix: error style when selecting two dates in the same month
2020-07-05 00:06:34 +08:00
James Yeung
2de927a0d1 refactor: reduce dependence (#301) 2020-07-03 13:37:40 +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