Commit Graph

27 Commits

Author SHA1 Message Date
Key Roche
4ad8e7ceab
docs: enhance documentation automation (#3013)
* Documentation automation. Build will generate documentation based on XML comments and attributes in the library. Translation will be done where necessary to generate the Chineese site.

Did some small code clean up on the way.
Removed or removed from public APIs:

AnchorLink.LinkDom
Button.RemoveAnimationAfter
Button.Icons - never used
Calendar.PrefixCls
All date pickers - method OnOkClick
Descriptions.Items
ListItem.PrefixName
AntList.PrefixName
ListItemMeta.PrefixName
Menu.Submenus
Menu.MenuItems
Transfer.ChildContent
Table.ColumnContext
Space.SetClass
Steps.Handler
Radio.OnClick

* Add Azure translation service. Requires adding your own key to a private appsettings JSON file to translate locally with it.

* Make translation services return null when unable to translate, have cache not cache it and return text asked to translate.

* Update documentation markdown file for new translation service

* Update DOCUMENTATION.md

* fix datepickerbase

* fix tree-select

* add docs for Flex and Watermark

* add zh

* add UserSecrets

* fix keywords

* fix button doc

* fix page

* fix internals visible to

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-25 14:37:41 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 (#2877) 2022-11-24 23:11:02 +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
3ac7701da4 merge master to feature 2022-08-21 22:53:33 +08:00
lukblazewicz
506f8ca953
feat(module: tooltip): enable setting TabIndex via parameter (#2567)
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
2022-07-14 12:11:27 +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
Brian Weiss
6d9b248161 fix(module: tooltip): add tabindex attribute for triggering the tooltip with tab key (#2404)
Applies a tabindex to the wrapping div to help with focus driven from tabbing.
2022-04-30 18:35:57 +08:00
anranruye
915d35a513 Merge 0.9.4 to feature 2021-09-14 21:57:15 +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
077f857cc0 chore: sync ant-design v4.16.9 (#1782) 2021-07-27 23:44:51 +08:00
anranruye
65857a63b7 fix(module: overlay): better judge whether mouse is inside the trigger when click (#1692)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-05 13:45:59 +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
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
笨木头
34fff47114 fix(overlay): bugs when overlay is nested (#681) 2020-10-14 17:24:26 +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
笨木头
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
笨木头
3243011e6b fix(module: tooltip): arrow does not appear (#265) 2020-06-29 00:15:37 +08:00
大风
96fc45f4ae feat: add Rate (#166)
* feat: add Rate

* fix: fix two-way binding

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-05-31 22:26:33 +08:00
James Yeung
8a2fdd5e06 chore: sync ant-design v4.3.0 (#169) 2020-05-31 16:00:40 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
笨木头
b24def25a3 refactor: overlay and tooltip (#135)
* refactor: overlay and tooltip

* refactor: getOverlayTop/getOverlayLeft
2020-05-21 12:21:22 +08:00
Zhuangkh
3e86809a9c feat:Add component Tooltip (#131)
* feat:Add AntTooltip

* Update Tooltip.razor.cs

Co-authored-by: 笨木头 <musicvs@163.com>
2020-05-19 22:34:09 +08:00
James Yeung
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +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