Commit Graph

50 Commits

Author SHA1 Message Date
James Yeung
698ae84ab1
feat(module: checkbox): support generic value (#3715)
* feat(module: checkbox): support generic value

* fix tests

* fix test

* fix name

* fix tests

* fix tests
2024-04-02 22:15:48 +08:00
James Yeung
8e2ee560b5
feat(moduel: checkbox): fix ssr style (#3535) 2023-12-01 00:29:49 +08:00
James Yeung
f301bea650
fix(module: table): avoid selection disabled at the time that there are no rows (#3436) 2023-09-21 07:33:54 +08:00
James Yeung
9826983a8f
fix(module: checkbox): passing disabled value to templated options from checkbox group (#3365)
* fix(module: checkbox): passing disabled value to templated options from checkbox group

* fix tests
2023-07-27 22:48:11 +08:00
张晓栋
c192eece54
fix(module: checkbox): CheckboxGroup will report an error when the internal Checkbox is null (#3162) 2023-03-08 22:00:54 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 (#2877) 2022-11-24 23:11:02 +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
264bfedbeb feat(module: checkbox): add ADA support (#2296)
* feat(module:checkbox) Adds For/Id attrs

Moves the Id attr from the label to the input and
adds the For attr to the label for ADA.

* feat(module:checkbox) Remove blank line

Remove blank line from Button

* Updates CheckboxGroup unit tests.

* Updates case of for attr.
2022-05-28 13:41:01 +08:00
James Yeung
6fcdbb9ad5 fix(module: checkbox): value binding for checkbox group (#2173)
* fix(module: checkbox): value binding for checkbox group
2021-12-16 18:59:30 +08:00
Andrzej Bakun
58c5f2b6cc tests: added tests for Button, Checkbox & DateHelper to increase the coverage (#2060)
* tests: added

* missed scenarios for Button and ButtonGroup
2021-10-28 11:21:10 +08:00
James Yeung
29a5c26142 chore: sync ant-design v4.16.13 (#1862) 2021-09-14 20:21:39 +08:00
Andrzej Bakun
d858b7e23d fix(module: checkbox): option change does not lock checkboxes (#1863) 2021-08-23 21:20:39 +08:00
James Yeung
5b4b49a7bc fix(module: checkbox): checked state didn't follow the value change (#1841) 2021-08-15 01:18:47 +08:00
anranruye
16654f5b51 Merge 0.8.4 to feature 2021-07-18 00:04:11 +08:00
Zonciu Liang
d22dae465f fix(module: checkbox): remove redundant class (#1689)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-30 15:01:58 +08:00
anranruye
b8658549e6 Merge 0.8.2 to feature 2021-06-18 16:09:13 +08:00
anranruye
be1f432217 fix(module: checkbox): fix checkbox group in-form behavior (#1637) 2021-06-16 10:07:28 +08:00
James Yeung
c181916dea chore: sync ant-design v4.16.0 (#1569) 2021-05-25 10:01:53 +08:00
Andrzej Bakun
f23f5088dc fix(module: checkbox): remove Value initialization blocking (#1459)
* fix(module:checkbox): remove Value initialization blocking

* Update CheckboxTests.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 05:23:19 +00:00
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
68359f5c6f chore: sync ant-design v4.15.0 (#1281) 2021-03-31 19:23:31 +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
TimChen
6200953db5 refactor(module: checkbox): optimize code (#687) 2020-10-25 23:01:54 +08:00
James Yeung
e3bb43a3ff fix(module: checkbox): options.value works incorrectly (#554) 2020-08-31 23:41:33 +08:00
James Yeung
b2231305f2 fix(module: checkbox): default value for options (#525) 2020-08-23 14:38:24 +08:00
James Yeung
afcc3c088c fix(module: table): clear cached items that are not on current page (#442) 2020-08-01 23:45:48 +08:00
James Yeung
1f76b2afc5 fix(module: checkbox): default value binding (#437)
* fix(module: checkbox): default value binding

* fix: default value for select-group
2020-07-30 23:54:31 +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
b9f8da09ae chore: sync ant-design v4.3.5 (#240) 2020-06-21 23:15:22 +08:00
笨木头
c3fc31c9b0 fix: input component bug (#182) 2020-06-03 20:29:28 +08:00
笨木头
a6596b15dd fix: input error without form (#179)
* fix: input error without form

* refactor: optimize code
2020-06-03 09:58:11 +08:00
笨木头
f29ca64372 feat(module: checkbox): support form (#161) 2020-06-02 20:27:53 +08:00
笨木头
c3b0b114e6 feat: add form(basic features) (#168)
* feat: add form(not complete yet)

* feat: add form(basic)

* refactor: change namespace

* feat(module: form): add onFinish, onFinishFailed, reset

* feat(module: form): add layout demo

* feat(module: form): update doc

* refactor: basic form

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-01 14:09:28 +08:00
Alsein
82ef62b7a7 feat: add simple table component (#86)
* fix: add @commitlint/config-conventional to devDependencies

* feat: add basic table implementation

* feat: continue adding definitions

* feat: end of work in 20200414

* fix: add readonly to csssizelength

* fix: warnings from table

* fix: add ignorecase to csssizelength

* feat: refactor table

* feat: add simple table

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-30 01:46:41 +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
颢源
a2787f5673 feat: add transfer (#148)
* transfer_brancn

* fix: transfer demos and empty status

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-26 15:21:47 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +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
9c3eb1e8cd chore: sync ant-design v4.1.2 (#70) 2020-04-10 17:44:53 +08:00
Zhuangkh
4bdfe9bf0b feat: add component Checkbox (#69)
* feat(module: checkbox): add AntCheckbox

* fix(module: checkbox): fix click bug
2020-04-10 16:05: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
James Yeung
7c92f8eb14 chore: sync ant-design v4.0.3 (#23) 2020-03-16 12:37:25 +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