Commit Graph

26 Commits

Author SHA1 Message Date
Andrzej Bakun
555fdb9a43 fix(module: checkbox & switch): Checked parameter binding (#1394)
* fix(module:checkbox): allow binding to Checked parameter

* fix(module:switch): allow binding to Checked parameter

* fix(modules): checkbox & switch get AntInputBoolComponentBase class

* test(module:switch): add tests

* test(module:checkbox): add tests

* test(module:divider): simplify by using id:ignore

* docs(module:checkbox): bind example

* docs(module:switch): bind example

* fix(module:switch): add Control + docs + tests

* feat(module:checkboxgroup): add layout and mixed mode

* fix: review comments + tests

* fix(module:checkboxgroup): parameter name should be MixedMode

added more tests

* fix demo

* fix(module:checkboxgroup): allow toggling between modes

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-25 01:04:21 +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
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
James Yeung
df99bad7e5 chore: sync ant-design v4.9.0 (#842) 2020-12-01 11:02:28 +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
James Yeung
9f6af264d0 fix(module: switch): two-way binding and loading (#358) 2020-07-14 17:07:50 +08:00
TimChen
a7253af7c8 fix: fix the form binding value bug (#324) 2020-07-07 19:13:34 +08:00
James Yeung
30dc4db99b chore: sync ant-design v4.4.0 (#277) 2020-07-01 21:38:23 +08:00
Henry.zhang
ab19703301 refactor: demos of icon, steps , tabs (#199)
* refactor: remove md of tabs demo

* feat: add demos of steps

* refactor: tabs demo

* fix: icon

* refactor: tag

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-10 21:44:21 +08:00
笨木头
78a08fbd3d feat(module: input components): support set size by form (#191)
* feat(module: input components): support set size by form

* fix: rebase conflict

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-07 00:47:18 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
Henry.zhang
826df9d055 feat: new demo for switch, radio, slider and inputnumber (#155)
* feat: new demo for switch, radio, slider and inputnumber

* fix: remove some blank in demo doc api section

* fix: format the code in demo

* fix: checkbox and switch

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-28 16:56:52 +08:00
James Yeung
61ee7f4192 refactor: badge (#160) 2020-05-28 15:44:07 +08:00
James Yeung
69c9f044ef chore: sync ant-design v4.2.5 (#149) 2020-05-25 12:38:07 +08:00
James Yeung
e13544c244 chore: sync ant-design v4.2.4 (#125) 2020-05-18 14:49:23 +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
James Yeung
6789f28400 chore: sync ant-design v4.2.1 (#104) 2020-05-11 21:47:35 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +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
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +08:00
ElderJames
2bdeb7f670 feat(module:switch): add switch 2020-03-12 18:23:38 +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