Commit Graph

116 Commits

Author SHA1 Message Date
Bintel
bb700cd7cc feat(module: menu): expose SubMenu's Placement (#921)
* Expose SubMenu's Placement

The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.

* Try fix #922

I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.

* Just optimize code style
2020-12-25 13:28:17 +08:00
笨木头
cdffbaf587 fix(module: menu): submenu couldn't auto close (#852) 2020-12-05 17:23:54 +08:00
James Yeung
df99bad7e5 chore: sync ant-design v4.9.0 (#842) 2020-12-01 11:02:28 +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
James Yeung
af862ae537 fix(module: menu): menulink active incorrectly (#784) 2020-11-12 22:52:27 +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
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
笨木头
feef9f7863 fix(module: menu): rendering for lv >1 submenu is invalid (#634)
* fix: subMenu of subMenu rendering is invalid

* feat: add demo for 2 level submenu

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-21 01:01:14 +08:00
James Yeung
a8d04b6237 chore: sync ant-design v4.6.5 (#633) 2020-09-20 14:53:20 +08:00
James Yeung
20c1197793 docs: follow up the .net 5 docs and fix the culture issue (#615) 2020-09-17 16:42:23 +08:00
James Yeung
2d03d7fa53 fix(module: menu): the selected menu item would unselect itself (#611) 2020-09-17 11:10:44 +08:00
TimChen
cbc5e823f0 refactor(module: all): separate the normal and template parameters (#552)
* fix: card title template

* fix: template:badge,collapse

* fix: comment refactor template

* fix: ribbonTests

* feat: descriptions refactor template

* feat: empty refactor template

* feat: list refactor template

* feat: menu refactor template

* feat: confirm add question icon

* feat: pageHeader and statistic refactor template

* feat: popconfirm refactor template

* feat: popver refactor template

* feat: result refactor template

* feat: step refactor template

* feat: switch refactor template

* feat: table refactor template

* feat: transfer refactor template

* feat: optimized code

* fix: pageheader

* refactor(module: empty): remove empty image constant images

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 13:58:16 +08:00
Micah Osborne
1fb8e2f244 fix(module: menu): initial state of being collapsed not reflected in menu
When Menu is in Sider, Initial state of being collapsed not reflected in menu.

Co-authored-by: Micah Osborne <micah@blockarray.com>
Co-authored-by: Diego Frata <d@frata.io>
2020-09-10 19:39:24 +01:00
James Yeung
a6219ab0bd fix(module: menu): can't open submenu while sider is collapsed (#539) 2020-08-28 13:51:01 +08:00
bingbingtalk
6ce885667e fix(module: menu): submenu was closed when router active (#535)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-26 23:18:49 +08:00
James Yeung
a91a5d6644 fix(module: sider): can't collapse in demo (#513) 2020-08-18 18:05:44 +08:00
James Yeung
c18d61df72 chore: sync ant-design v4.5.3 (#480) 2020-08-10 11:28:52 +08:00
James Yeung
4c4f9b085c chore: sync ant-design v4.5.1 (#433) 2020-08-02 15:13:53 +08:00
James Yeung
337afae0bb docs: add home page (#427) 2020-07-26 19:20:16 +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
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
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
60ac146ba8 chore: sync ant-design v4.4.1 (#314) 2020-07-06 14:12:11 +08:00
James Yeung
2de927a0d1 refactor: reduce dependence (#301) 2020-07-03 13:37:40 +08:00
James Yeung
30dc4db99b chore: sync ant-design v4.4.0 (#277) 2020-07-01 21:38:23 +08:00
James Yeung
b9f8da09ae chore: sync ant-design v4.3.5 (#240) 2020-06-21 23:15:22 +08:00
James Yeung
9809718fca chore: sync ant-design v4.3.3 (#200) 2020-06-08 00:25:46 +08:00
James Yeung
757dd369f2 fix: menu title padding and layout demo (#186) 2020-06-04 14:48:13 +08:00
James Yeung
6680fcb3da refactor: layout and mock-browser (#184) 2020-06-03 23:11:02 +08:00
James Yeung
8a2fdd5e06 chore: sync ant-design v4.3.0 (#169) 2020-05-31 16:00:40 +08:00
James Yeung
d16144ece0 refactor: remove the 'ant' prefix for some components that is already in demos (#162)
* refactor: button

* refactor: avatar

* refactor: alert

* fix: input group compact
2020-05-29 12:55:15 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
James Yeung
69c9f044ef chore: sync ant-design v4.2.5 (#149) 2020-05-25 12:38:07 +08:00
James Yeung
90690fba01 docs: add some of layout demos (#138)
* feat: add layout demo

* feat: add some of layout demos
2020-05-22 00:05:26 +08:00
笨木头
b24def25a3 refactor: overlay and tooltip (#135)
* refactor: overlay and tooltip

* refactor: getOverlayTop/getOverlayLeft
2020-05-21 12:21:22 +08:00
笨木头
7f8d65062b feat: add SubMenuTrigger(internal component) (#127)
* feat: add SubMenuTrigger(internal component)

* refactor: delete redundant comments

* feat(module: sub-menu): fix animation

* refactor: delete debug code

* refactor: delete debug code

* fix: style of menu

* fix(module: overlay): delete element error on dispose

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-19 20:35:48 +08:00
James Yeung
4d2c77fec7 refactor: dropdown and menu (#126)
* feat: add mock browser

* docs: add mock browser

* docs: rename menu

* fix: style for submenu

* docs: add two menu demo

* fix: some errors

* fix(module:menu): openkeys

* docs: add switch-mode demo for menu

* docs(module:menu): finish demos

* docs(module: menu): add router demo

* docs: add new demos (#111)

* feat(module: datepicker): remove ant prefix

* feat(module: dropdown): remove ant prefix

* feat(module: empty): remove ant prefix

* feat(module: timepicker): remove ant prefix

* docs(module: datepicker): add new demos

* docs(module: dropdown): add new demos

* docs(module: empty): add new demos

* docs(module: timepicker): add new demos

* docs: remove old demo

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>

* refactor(module: dropdown): add overlay (#122)

* feat(module: dropdown): support left/right popup

* feat(module: submenu): use dropdown to popup

* feat: add overlay and trigger class(not complete yet)

* feat: add OverlayTrigger.cs

* feat: submenu support dropdown

* feat(module: overlay): prevent hide when child is showing

* fix(module: menu): prefixCls error

* feat(module: overlay-trigger): change function to virtual

* feat(module: dropdown): remove unuse class

* feat(module: sub-menu): set IsOpen to Visible

* refactor: change namespace

* refactor: use smartEnum

* fix: menu json

* fix: submenu open state

Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-18 14:46:42 +08:00
James Yeung
063f2759bd chore: sync ant-design v4.2.3 (#120) 2020-05-16 23:21:59 +08:00
ElderJames
994aed2a7a docs: fix error in for silder demo pages 2020-05-13 13:45:49 +08:00
James Yeung
a4fe7f8ea7 chore: sync ant-design v4.2.2 (#109) 2020-05-12 10:03:34 +08:00
James Yeung
6789f28400 chore: sync ant-design v4.2.1 (#104) 2020-05-11 21:47:35 +08:00
James Yeung
9351a35072 docs: refactor the layout closer to the official document (#100)
* docs: add cli for building demo structured file

* docs: cli improvement

* docs: generate demo page

* fix: style of components page

* docs: add prism to mack source code highlight

* feat: add menu2json command for cli

* fix: markdown highlight

* feat: fetch menu data from cli output files

* fix: cli

* docs: add avatar demo

* docs: add button demos

* docs: add component-scope style

* docs: fix style

* docs: add badge demos

* fix: rebase conflict

* docs: refactor layout

* docs: fix navigation

* docs: fix rebase conflict

* docs: add AntAffix for sider menu

* docs: fix affix error

* docs: fix rebase confilct
2020-05-10 15:42:02 +08:00
笨木头
b1c9783edb feat: add Dropdown (#93)
* feat: add onmouseleave/onmouseenter event

* feat: add js function

* feat: add dropdown

* feat(module: menu): support set PrefixCls from parent

* docs: add dropdown demo

* refactor(module: dropdown): remove log code

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-09 11:09:07 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +08:00
James Yeung
374929d16d chore: sync ant-design v4.1.5 (#84) 2020-04-26 10:41:53 +08:00
ElderJames
8257c759bb fix: clean many warnings 2020-04-24 18:32:50 +08:00
James Yeung
cc9e2df41c refactor: standardized code specification (#82)
* refactor: standardized code specification

* fix: rebase conflict
2020-04-23 17:13:56 +08:00
James Yeung
25baec2cf8 chore: sync ant-design v4.1.4 (#77) 2020-04-20 10:04:24 +08:00
James Yeung
9c3eb1e8cd chore: sync ant-design v4.1.2 (#70) 2020-04-10 17:44:53 +08:00
James Yeung
510a3f8c80 chore: sync ant-design v4.1.1 (#65) 2020-04-06 17:35:04 +08:00
ElderJames
bf70deccb2 feat: add router-based localization (#57) 2020-03-30 14:33:39 +08:00
James Yeung
e4253622bd chore: sync ant-design v4.1.0 (#58) 2020-03-30 09:53:10 +08:00
James Yeung
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +08:00
ElderJames
2087205bfc docs: dynaimc route for markdown docs 2020-03-17 13:42:54 +08:00
James Yeung
7c92f8eb14 chore: sync ant-design v4.0.3 (#23) 2020-03-16 12:37:25 +08:00
ElderJames
1978214151 fix(module:layout & menu): style and dropdown 2020-03-12 14:34:01 +08:00
ElderJames
f6bf7da144 feat(module:menu): add menu-item-group 2020-03-11 14:00:18 +08:00
ElderJames
e23e50f48d fix: opening state of menu and layout 2020-03-10 17:38:25 +08:00
ElderJames
e8ddcf1278 feat: add gulp task for typescript 2020-03-10 15:25:45 +08:00
James Yeung
7e0a6ffc36 chore: sync ant-design v4.0.2 (#4) 2020-03-09 00:09:32 +08:00
James Yeung
84ca70e8b7 chore: sync ant-design v4.0.1 (#2)
fixed #1
2020-03-08 15:12:21 +08:00
ElderJames
47b2b86265 add gulp to complie less 2020-03-07 16:40:38 +08:00
ElderJames
7d15f20674 refactor: refactor the directory structure to match ant-design 2020-03-05 12:17:50 +08:00