Commit Graph

116 Commits

Author SHA1 Message Date
James Yeung
8726233478
fix(module: menu): wrong judge (#3614) 2024-01-07 22:03:31 +08:00
James Yeung
b5bd1893a8
feat(module: menu): add submenu collapse montion (#3395)
* feat(module: menu): add submenu collapse montion

* add Animation parameter
2023-12-24 23:58:16 +08:00
James Yeung
a5db6629da
fix(module: menu): missing null check (#3368)
* fix(module: menu): missing null check

* fix null check
2023-07-26 23:35:31 +08:00
James Yeung
79f1e8ea0e
fix(module: menu): MenuItem unselect incorrectly when menu was inline and collapsed (#3338) 2023-07-02 23:48:42 +08:00
James Yeung
08b162059f
merge feature to master 2023-05-12 07:45:25 +08:00
huangjia2107
2c72002a2e
fix(module: menu): fix not hiding after clicking the selected menuitem in Dropdown (#3231)
* fix(module:menu): fix not hiding after clicking the selected menuitem

* remove try-finally and use if-else

* refactor

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-04-27 21:49:05 +08:00
James Yeung
3760fd83ec
feat(module: menu): add ShowCollapsedTooltip parameter to handle tooltip display (#3226) 2023-04-17 22:36:58 +08:00
James Yeung
d3f9596201
Revert "feat(module: overlay): support avoid show/hide in OnVisibleChange (#3094)" (#3112)
This reverts commit 0289f1433b.
2023-02-18 11:12:35 +08:00
James Yeung
0289f1433b
feat(module: overlay): support avoid show/hide in OnVisibleChange (#3094) 2023-02-13 23:08:16 +08:00
James Yeung
881f66d402
fix(module: menu): title padding direction in RTL language (#3080) 2023-02-09 12:13:57 +08:00
James Yeung
3f28c85d7b
fix(module: menu): incorrect submenu styles in RTL language (#3065) 2023-02-04 00:29:34 +08:00
James Yeung
c56873aac2 merge feature to master 2023-01-20 15:57:43 +08:00
James Yeung
bec3f840d2
feat(module:menu): Add PopupClassName Property For SubMenu (#3027)
Co-authored-by: JustGentle <justgentle@sina.com>
2023-01-19 18:12:25 +08:00
James Yeung
06d5169bc9
fix(module: menu): submenu montion & style (#3024)
* fix(module: menu): submenu open montion & style

* fix test
2023-01-18 18:44:57 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 (#2877) 2022-11-24 23:11:02 +08:00
James Yeung
ff7031ffec merge master into feature 2022-11-14 17:43:54 +08:00
王俊
0995fb0f0c
fix(module: menu): the arrow of submenu has no animation effect when it is expanded and collapsed (#2876)
* Fix: no animation effect when the secondary menu is expanded and collapsed

* fix test

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-14 12:06:09 +08:00
James Yeung
fecea3eed0
fix(module: menu): wrong class name of the expand icon for submenu (#2796) 2022-10-13 12:59:42 +08:00
Maksim
2324347ce4
feature(module: tooltip): use TitleTemplate in Tooltip (#2711)
* Use TitleTemplate in Tooltip

* optimize demo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-09-16 14:17:30 +08:00
James Yeung
1659aef02d
chore: sync ant-design v4.20.7 (#2497)
* chore: sync ant-design v4.20.7

* fix style build

* clean the style

* fix dropdown overlay

* remove cdk styles

* fix dropdown overwrite styles

* fix doc styles
2022-06-04 00:44:34 +08:00
James Yeung
7800740329
fix(module: menu): IconTemplate does not work in MenuItem of SubMenu (#2449) 2022-05-15 12:45:14 +08:00
Baltermia
efc0093dfd refactor: Remove 'Console.WriteLine' calls in code (#2268)
* Remove 'Console.WriteLine' calls

* Remove if block
2022-02-08 12:52:51 +08:00
James Yeung
d23375fb49 fix(module: menu): make router match defaualt to all. 2021-10-17 22:07:28 +08:00
Daniel Matthews
b623c8a7e4 fix(module: menu): Wrap IconTemplate in corrected span (#2006)
* fix(module:menu): Wrap IconTemplate in corrected span
* wrap IconTemplate using span created by Icon component so InlineCollapse properly displays IconTemplate

*docs: Added missing docs for IconTemplate

* Update icontemplate.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-10-08 15:38:46 +00:00
Andrzej Bakun
c099874086 fix(module: menu): Overlay bug fix & menu renering optimization (#1949)
* fix(module:overlay): submenu causing crash

* fix(module:overlay): submenu causing crash

* fix(module:menu): show missing chevron

mark top menu as selected on init
do not render non-active overlay submenus

* tests: common js mock extracted

nullable enabled for test project

* tests: menu

* fix(module:menu): incorrect behavior in layout
2021-09-16 22:46:45 +08:00
anranruye
915d35a513 Merge 0.9.4 to feature 2021-09-14 21:57:15 +08:00
James Yeung
a226f18077 fix(module: menu): collapsed menu title can't hide while use router link (#1934) 2021-09-12 01:13:48 +08:00
Andrzej Bakun
3d4f7adaaf perf(module: overlay): positioning moved to js (#1848)
* fix(module:overlay): move postion calculation to js

fixes #1836

* docs: TriggerBoundaryAdjustMode explanation

* docs: select & datepicker got BoundaryAdjustmetMode

cleanup

* test: fixes

optimization & cleanup

* fix(module:overlay): recalculate overlay position when trigger resizes

* Minor clean-up

* fix(module:overlay): wait for Show to finish in Hide

* fix: prevent vertical scrollbar on overlay adding

* fix: extract waiting function

* fix: overlay not to repostion when trigger vanishes (menu issue)

* fix: scroll adjustment for position: fixed

* fix: on menu mode change, keep

* merge conflict fix

* fix: nominal calculation reset on failed adjustment

* fix: bugs

* test: exclude log method from test coverage in overlay.ts
2021-09-10 19:06:50 +08:00
James Yeung
3a6902a2c9 merge 0.9.3 to feature 2021-08-29 15:32:27 +08:00
Guyiming
a9e0feb3b6 feat(module: menu): Add IconTemplate for menu item (#1879) 2021-08-27 22:13:43 +08:00
James Yeung
992e911b50 fix(module: menu): menu item click event should be triggered when menu selectable is false (#1843) 2021-08-15 23:03:29 +08:00
James Yeung
077f857cc0 chore: sync ant-design v4.16.9 (#1782) 2021-07-27 23:44:51 +08:00
anranruye
477c57f9db feat(module: table): filter enhancement (#1563)
* feat(module: table): allow access to filter operator and condition

* feat(module: table): allow access to filter operator and condition

* feat(module:table): allow remove the first filter

* Update Column.razor

* feat(module:table): modify closing button position

* feat(module:table): match new style

* feat(module:table): add header column divider

* fix(module:table): apply filter when close the filter panel by clicking the filter icon

* Update Column.razor

* style(module:table): trim Column.razor

* Update Column.razor

* Update Column.razor

* Update Column.razor

* Update Column.razor

* fix(module:overlaytrigger): fix overlay not close after overlay size changes

* unify muiltiple filter popup containers to one
2021-06-03 18:54:41 +08:00
James Yeung
c181916dea chore: sync ant-design v4.16.0 (#1569) 2021-05-25 10:01:53 +08:00
笨木头
ece46d4759 fix(module: overlay): issues in boundaryAdjustMode (#1420)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-28 12:44:23 +00:00
James Yeung
d4cbc6d4e0 feat: add element component (#1378)
* refactor: rename `HtmlElement` property case

* rename the directory name for overlay

* add element component
2021-04-17 22:14:01 +08:00
James Yeung
d2e9c4b247 feat(module: config-provider): support RTL (#1238)
* feat(module: config-provider): support RTL

* add rtl for each component

* fix rtl for pagination

* add rtl for overlay
2021-03-31 19:23:26 +08:00
Zonciu Liang
da55e9e7e8 fix(animation): missing prefix (#1243)
* fix: add class name prefix for zoom and slide-up animations.

* fix(module: popconfirm): fix animation

* fix(module: popover): correct animation, sync de
2021-03-12 15:46:48 +08:00
James Yeung
4065869806 feat(module: table): add filters (#1178)
* feat: add table filter

* add filter buttons

* fix filter menu

* make filter work

* support multiple filters

* delete the old files

* support single select
2021-02-27 23:55:48 +08:00
笨木头
febccb3a05 fix(module: menu): Nav Menu Collapse Unresponsive (#1144) 2021-02-19 11:35:06 +08:00
Andrzej Bakun
954461119e fix(module: menu): active parent menu for routed links (#1134) 2021-02-14 17:26:54 +08:00
笨木头
314b07daf9 feat(model: overlay): add boundary detection adjustment (#1109)
* feat(model: overlay): add boundary detection and orientation adjustment

* feat: suport inview and inscroll mode
2021-02-09 10:01:42 +08:00
James Yeung
e6076271c0 feat(module: menu): add menu item tooltip and submenu trigger type (#1082)
* feat(module: menu): add menuitem tooltip and submenu trigger type

* add the doc
2021-02-04 16:21:56 +08:00
James Yeung
436917ff9b feat(module: menu): add inline indent parameter (#1076) 2021-02-03 23:32:17 +08:00
James Yeung
5b14e8e975 fix(menu): collapsed follow sider (#1069)
* fix(menu): collapsed follow sider

* clean the code

* fix DefaultOpenKeys

* refactor the updae mode method
2021-02-03 14:38:59 +08:00
James Yeung
d65ffabdc7 chore: sync ant-design v4.11.1 (#1039) 2021-01-25 08:31:53 +08:00
Andrzej Bakun
990646b964 fix(module: menu): fix loop on same route & performance & duplicate highlight (#1027)
* fix(module:menu): fix loop on same route & performance

fix duplicate highlight
fixes 737
fixes 833
fixes 919
fixes 1014

* fix(module:menu): optimization and fix #8
2021-01-22 10:15:24 +08:00
Andrzej Bakun
ea46422738 feat(module: menu): Add Menu divider (#1017)
* feat(module:menudivider): new component

* docs(module:dropdown): dropdown with tooltip and menudivider

* docs(module:menu): menudivider for horizontal demo

* feat(module:menudivider): remove unnecessary method
2021-01-22 08:59:05 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
James Yeung
56dfae7f62 chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00